mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 11:59:34 +00:00
Run "yarn build:docs"
This commit is contained in:
parent
698db1a6e6
commit
a1b43801c9
3 changed files with 38 additions and 0 deletions
|
@ -967,6 +967,8 @@ export interface DataTableCell {
|
||||||
| selectable | No | <code>let</code> | Yes | <code>boolean</code> | <code>false</code> | Set to `true` for the selectable variant<br />Automatically set to `true` if `radio` or `batchSelection` are `true` |
|
| selectable | No | <code>let</code> | Yes | <code>boolean</code> | <code>false</code> | Set to `true` for the selectable variant<br />Automatically set to `true` if `radio` or `batchSelection` are `true` |
|
||||||
| expandedRowIds | No | <code>let</code> | Yes | <code>ReadonlyArray<DataTableRowId></code> | <code>[]</code> | Specify the row ids to be expanded |
|
| expandedRowIds | No | <code>let</code> | Yes | <code>ReadonlyArray<DataTableRowId></code> | <code>[]</code> | Specify the row ids to be expanded |
|
||||||
| expandable | No | <code>let</code> | Yes | <code>boolean</code> | <code>false</code> | Set to `true` for the expandable variant<br />Automatically set to `true` if `batchExpansion` is `true` |
|
| expandable | No | <code>let</code> | Yes | <code>boolean</code> | <code>false</code> | Set to `true` for the expandable variant<br />Automatically set to `true` if `batchExpansion` is `true` |
|
||||||
|
| sortDirection | No | <code>let</code> | Yes | <code>"none" | "ascending" | "descending"</code> | <code>"none"</code> | Specify the sort direction |
|
||||||
|
| sortKey | No | <code>let</code> | Yes | <code>DataTableKey</code> | <code>null</code> | Specify the header key to sort by |
|
||||||
| headers | No | <code>let</code> | No | <code>ReadonlyArray<DataTableHeader></code> | <code>[]</code> | Specify the data table headers |
|
| headers | No | <code>let</code> | No | <code>ReadonlyArray<DataTableHeader></code> | <code>[]</code> | Specify the data table headers |
|
||||||
| rows | No | <code>let</code> | No | <code>ReadonlyArray<DataTableRow></code> | <code>[]</code> | Specify the rows the data table should render<br />keys defined in `headers` are used for the row ids |
|
| rows | No | <code>let</code> | No | <code>ReadonlyArray<DataTableRow></code> | <code>[]</code> | Specify the rows the data table should render<br />keys defined in `headers` are used for the row ids |
|
||||||
| size | No | <code>let</code> | No | <code>"compact" | "short" | "medium" | "tall"</code> | <code>undefined</code> | Set the size of the data table |
|
| size | No | <code>let</code> | No | <code>"compact" | "short" | "medium" | "tall"</code> | <code>undefined</code> | Set the size of the data table |
|
||||||
|
|
|
@ -2421,6 +2421,30 @@
|
||||||
"constant": false,
|
"constant": false,
|
||||||
"reactive": false
|
"reactive": false
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "sortKey",
|
||||||
|
"kind": "let",
|
||||||
|
"description": "Specify the header key to sort by",
|
||||||
|
"type": "DataTableKey",
|
||||||
|
"value": "null",
|
||||||
|
"isFunction": false,
|
||||||
|
"isFunctionDeclaration": false,
|
||||||
|
"isRequired": false,
|
||||||
|
"constant": false,
|
||||||
|
"reactive": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "sortDirection",
|
||||||
|
"kind": "let",
|
||||||
|
"description": "Specify the sort direction",
|
||||||
|
"type": "\"none\" | \"ascending\" | \"descending\"",
|
||||||
|
"value": "\"none\"",
|
||||||
|
"isFunction": false,
|
||||||
|
"isFunctionDeclaration": false,
|
||||||
|
"isRequired": false,
|
||||||
|
"constant": false,
|
||||||
|
"reactive": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "expandable",
|
"name": "expandable",
|
||||||
"kind": "let",
|
"kind": "let",
|
||||||
|
|
12
types/DataTable/DataTable.svelte.d.ts
vendored
12
types/DataTable/DataTable.svelte.d.ts
vendored
|
@ -85,6 +85,18 @@ export interface DataTableProps
|
||||||
*/
|
*/
|
||||||
sortable?: boolean;
|
sortable?: boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Specify the header key to sort by
|
||||||
|
* @default null
|
||||||
|
*/
|
||||||
|
sortKey?: DataTableKey;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Specify the sort direction
|
||||||
|
* @default "none"
|
||||||
|
*/
|
||||||
|
sortDirection?: "none" | "ascending" | "descending";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set to `true` for the expandable variant
|
* Set to `true` for the expandable variant
|
||||||
* Automatically set to `true` if `batchExpansion` is `true`
|
* Automatically set to `true` if `batchExpansion` is `true`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue