mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
refactor(data-table): co-locate DataTableSkeleton with DataTable
This commit is contained in:
parent
fa9168ee5a
commit
cf1deb14d2
7 changed files with 91 additions and 91 deletions
|
@ -2709,6 +2709,94 @@
|
|||
],
|
||||
"rest_props": { "type": "InlineComponent", "name": "TableContainer" }
|
||||
},
|
||||
{
|
||||
"moduleName": "DataTableSkeleton",
|
||||
"filePath": "/src/DataTable/DataTableSkeleton.svelte",
|
||||
"props": [
|
||||
{
|
||||
"name": "columns",
|
||||
"kind": "let",
|
||||
"description": "Specify the number of columns\nSuperseded by `headers` if `headers` is a non-empty array",
|
||||
"type": "number",
|
||||
"value": "5",
|
||||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "rows",
|
||||
"kind": "let",
|
||||
"description": "Specify the number of rows",
|
||||
"type": "number",
|
||||
"value": "5",
|
||||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "size",
|
||||
"kind": "let",
|
||||
"description": "Set the size of the data table",
|
||||
"type": "\"compact\" | \"short\" | \"tall\"",
|
||||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "zebra",
|
||||
"kind": "let",
|
||||
"description": "Set to `true` to apply zebra styles to the datatable rows",
|
||||
"type": "boolean",
|
||||
"value": "false",
|
||||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "showHeader",
|
||||
"kind": "let",
|
||||
"description": "Set to `false` to hide the header",
|
||||
"type": "boolean",
|
||||
"value": "true",
|
||||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "headers",
|
||||
"kind": "let",
|
||||
"description": "Set the column headers\nSupersedes `columns` if value is a non-empty array",
|
||||
"type": "string[] | Partial<DataTableHeader>[]",
|
||||
"value": "[]",
|
||||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "showToolbar",
|
||||
"kind": "let",
|
||||
"description": "Set to `false` to hide the toolbar",
|
||||
"type": "boolean",
|
||||
"value": "true",
|
||||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
}
|
||||
],
|
||||
"slots": [],
|
||||
"events": [
|
||||
{ "type": "forwarded", "name": "click", "element": "table" },
|
||||
{ "type": "forwarded", "name": "mouseover", "element": "table" },
|
||||
{ "type": "forwarded", "name": "mouseenter", "element": "table" },
|
||||
{ "type": "forwarded", "name": "mouseleave", "element": "table" }
|
||||
],
|
||||
"typedefs": [],
|
||||
"rest_props": { "type": "Element", "name": "div" },
|
||||
"extends": {
|
||||
"interface": "DataTableHeader",
|
||||
"import": "\"../DataTable/DataTable\""
|
||||
}
|
||||
},
|
||||
{
|
||||
"moduleName": "Toolbar",
|
||||
"filePath": "/src/DataTable/Toolbar.svelte",
|
||||
|
@ -3316,94 +3404,6 @@
|
|||
"import": "\"../OverflowMenu/OverflowMenuItem\""
|
||||
}
|
||||
},
|
||||
{
|
||||
"moduleName": "DataTableSkeleton",
|
||||
"filePath": "/src/DataTableSkeleton/DataTableSkeleton.svelte",
|
||||
"props": [
|
||||
{
|
||||
"name": "columns",
|
||||
"kind": "let",
|
||||
"description": "Specify the number of columns\nSuperseded by `headers` if `headers` is a non-empty array",
|
||||
"type": "number",
|
||||
"value": "5",
|
||||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "rows",
|
||||
"kind": "let",
|
||||
"description": "Specify the number of rows",
|
||||
"type": "number",
|
||||
"value": "5",
|
||||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "size",
|
||||
"kind": "let",
|
||||
"description": "Set the size of the data table",
|
||||
"type": "\"compact\" | \"short\" | \"tall\"",
|
||||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "zebra",
|
||||
"kind": "let",
|
||||
"description": "Set to `true` to apply zebra styles to the datatable rows",
|
||||
"type": "boolean",
|
||||
"value": "false",
|
||||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "showHeader",
|
||||
"kind": "let",
|
||||
"description": "Set to `false` to hide the header",
|
||||
"type": "boolean",
|
||||
"value": "true",
|
||||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "headers",
|
||||
"kind": "let",
|
||||
"description": "Set the column headers\nSupersedes `columns` if value is a non-empty array",
|
||||
"type": "string[] | Partial<DataTableHeader>[]",
|
||||
"value": "[]",
|
||||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "showToolbar",
|
||||
"kind": "let",
|
||||
"description": "Set to `false` to hide the toolbar",
|
||||
"type": "boolean",
|
||||
"value": "true",
|
||||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
}
|
||||
],
|
||||
"slots": [],
|
||||
"events": [
|
||||
{ "type": "forwarded", "name": "click", "element": "table" },
|
||||
{ "type": "forwarded", "name": "mouseover", "element": "table" },
|
||||
{ "type": "forwarded", "name": "mouseenter", "element": "table" },
|
||||
{ "type": "forwarded", "name": "mouseleave", "element": "table" }
|
||||
],
|
||||
"typedefs": [],
|
||||
"rest_props": { "type": "Element", "name": "div" },
|
||||
"extends": {
|
||||
"interface": "DataTableHeader",
|
||||
"import": "\"../DataTable/DataTable\""
|
||||
}
|
||||
},
|
||||
{
|
||||
"moduleName": "DatePicker",
|
||||
"filePath": "/src/DatePicker/DatePicker.svelte",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue