@rockshin/tao-ui 0.0.37 → 0.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/component-manifest.json +4 -2
- package/dist/components/table/table-icons.d.ts +5 -0
- package/dist/components/table/table-icons.js +24 -1
- package/dist/components/table/table-summary.d.ts +38 -0
- package/dist/components/table/table-summary.js +90 -0
- package/dist/components/table/table-types.d.ts +20 -1
- package/dist/components/table/table.css +140 -19
- package/dist/components/table/table.d.ts +7 -2
- package/dist/components/table/table.js +410 -270
- package/dist/docs/components/table.doc.js +3 -1
- package/dist/index.d.ts +1 -1
- package/llms.txt +2 -2
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ const tableDoc = {
|
|
|
2
2
|
name: 'table',
|
|
3
3
|
displayName: 'Table',
|
|
4
4
|
category: 'Data Display',
|
|
5
|
-
description: 'Displays structured row and column data with selection, sorting, filtering, and pagination hooks.',
|
|
5
|
+
description: 'Displays structured row and column data with selection, sorting, filtering, expandable rows, summary rows, a pinned header, and pagination hooks.',
|
|
6
6
|
exports: [
|
|
7
7
|
'Table'
|
|
8
8
|
],
|
|
@@ -23,6 +23,8 @@ const tableDoc = {
|
|
|
23
23
|
'body.row',
|
|
24
24
|
'body.cell',
|
|
25
25
|
'selection.cell',
|
|
26
|
+
'expandedRow',
|
|
27
|
+
'summary',
|
|
26
28
|
'empty',
|
|
27
29
|
'pagination'
|
|
28
30
|
],
|
package/dist/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export { Spinner, type SpinnerProps, type SpinnerSemanticPart, } from './compone
|
|
|
29
29
|
export { Splitter, type SplitterPanelProps, type SplitterProps, type SplitterSemanticPart, } from './components/splitter/splitter';
|
|
30
30
|
export { type StepItem, Steps, type StepsIconComponent, type StepsIconRender, type StepsIconRenderInfo, type StepsItemSemanticPart, type StepsOrientation, type StepsProps, type StepsSemanticPart, type StepsSize, type StepsStatus, type StepsTitlePlacement, type StepsType, type StepsVariant, } from './components/steps/steps';
|
|
31
31
|
export { Switch, type SwitchProps, type SwitchSemanticPart, } from './components/switch/switch';
|
|
32
|
-
export { type SorterResult, type SortOrder, Table, type TableColumn, type TableFilterItem, type TablePagination, type TableProps, type TableRowSelection, type TableSemanticPart, type TableVariant, } from './components/table/table';
|
|
32
|
+
export { type SorterResult, type SortOrder, Table, type TableColumn, type TableExpandable, type TableFilterItem, type TablePagination, type TableProps, type TableRowSelection, type TableSemanticPart, type TableSummaryCellProps, type TableSummaryProps, type TableSummaryRowProps, type TableVariant, } from './components/table/table';
|
|
33
33
|
export { type TabItem, Tabs, type TabsProps, type TabsSemanticPart, } from './components/tabs/tabs';
|
|
34
34
|
export { CheckableTag, type CheckableTagProps, Tag, type TagColor, type TagProps, type TagSemanticPart, type TagVariant, } from './components/tag/tag';
|
|
35
35
|
export { type AutoSizeOptions, Textarea, type TextareaProps, type TextareaSemanticPart, } from './components/textarea/textarea';
|
package/llms.txt
CHANGED
|
@@ -437,14 +437,14 @@ Use Switch for settings that take effect immediately.
|
|
|
437
437
|
|
|
438
438
|
### Table
|
|
439
439
|
|
|
440
|
-
Displays structured row and column data with selection, sorting, filtering, and pagination hooks.
|
|
440
|
+
Displays structured row and column data with selection, sorting, filtering, expandable rows, summary rows, a pinned header, and pagination hooks.
|
|
441
441
|
|
|
442
442
|
- Category: Data Display
|
|
443
443
|
- Exports: `Table`
|
|
444
444
|
- Source: `src/components/table/table.tsx`
|
|
445
445
|
- Storybook: `stories/table.stories.tsx`
|
|
446
446
|
- Tests: `tests/table/table.test.tsx`
|
|
447
|
-
- Semantic parts: `root`, `scroll`, `table`, `header.wrapper`, `header.row`, `header.cell`, `header.content`, `header.title`, `body.row`, `body.cell`, `selection.cell`, `empty`, `pagination`
|
|
447
|
+
- Semantic parts: `root`, `scroll`, `table`, `header.wrapper`, `header.row`, `header.cell`, `header.content`, `header.title`, `body.row`, `body.cell`, `selection.cell`, `expandedRow`, `summary`, `empty`, `pagination`
|
|
448
448
|
|
|
449
449
|
Use Table for dense, comparable records that benefit from aligned columns.
|
|
450
450
|
|
package/package.json
CHANGED