@rockshin/tao-ui 0.0.10 → 0.0.11
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 +764 -0
- package/dist/components/breadcrumb/breadcrumb.css +4 -0
- package/dist/components/breadcrumb/breadcrumb.js +8 -6
- package/dist/components/checkbox/checkbox.js +4 -0
- package/dist/components/date-picker/calendar/calendar-grid.js +21 -17
- package/dist/components/date-picker/calendar/calendar-header.js +8 -0
- package/dist/components/date-picker/calendar/month-grid.js +1 -1
- package/dist/components/date-picker/calendar/time-panel.js +36 -41
- package/dist/components/date-picker/date-picker.css +30 -16
- package/dist/components/date-picker/date-picker.js +240 -223
- package/dist/components/date-picker/range-picker.js +25 -2
- package/dist/components/drawer/drawer.js +2 -0
- package/dist/components/dropdown/dropdown.js +2 -1
- package/dist/components/menu/menu-render.js +6 -3
- package/dist/components/modal/confirm-dialog.js +9 -1
- package/dist/components/modal/modal.js +2 -0
- package/dist/components/pagination/pagination.js +56 -64
- package/dist/components/scroll-area/scroll-area.css +3 -0
- package/dist/components/scroll-area/scroll-area.js +6 -2
- package/dist/components/select/mobile-select.css +4 -0
- package/dist/components/select/mobile-select.js +9 -4
- package/dist/components/select/select.js +6 -0
- package/dist/components/spinner/spinner.js +2 -1
- package/dist/components/splitter/splitter.js +165 -149
- package/dist/components/switch/switch.js +2 -0
- package/dist/components/table/table.css +14 -0
- package/dist/components/table/table.js +14 -14
- package/dist/components/tabs/tabs.js +84 -87
- package/dist/components/tag/tag.js +1 -0
- package/dist/components/textarea/textarea.css +21 -3
- package/dist/docs/component-doc.d.ts +28 -0
- package/dist/docs/component-doc.js +0 -0
- package/dist/docs/component-docs.d.ts +147 -0
- package/dist/docs/component-docs.js +70 -0
- package/dist/docs/components/breadcrumb.doc.d.ts +23 -0
- package/dist/docs/components/breadcrumb.doc.js +53 -0
- package/dist/docs/components/button.doc.d.ts +29 -0
- package/dist/docs/components/button.doc.js +62 -0
- package/dist/docs/components/checkbox.doc.d.ts +23 -0
- package/dist/docs/components/checkbox.doc.js +60 -0
- package/dist/docs/components/collapsible.doc.d.ts +18 -0
- package/dist/docs/components/collapsible.doc.js +39 -0
- package/dist/docs/components/context-menu.doc.d.ts +18 -0
- package/dist/docs/components/context-menu.doc.js +40 -0
- package/dist/docs/components/date-picker.doc.d.ts +18 -0
- package/dist/docs/components/date-picker.doc.js +43 -0
- package/dist/docs/components/drawer.doc.d.ts +18 -0
- package/dist/docs/components/drawer.doc.js +42 -0
- package/dist/docs/components/dropdown.doc.d.ts +18 -0
- package/dist/docs/components/dropdown.doc.js +42 -0
- package/dist/docs/components/form-actions.doc.d.ts +17 -0
- package/dist/docs/components/form-actions.doc.js +35 -0
- package/dist/docs/components/form-field.doc.d.ts +17 -0
- package/dist/docs/components/form-field.doc.js +39 -0
- package/dist/docs/components/form-layout.doc.d.ts +16 -0
- package/dist/docs/components/form-layout.doc.js +31 -0
- package/dist/docs/components/form-section.doc.d.ts +17 -0
- package/dist/docs/components/form-section.doc.js +38 -0
- package/dist/docs/components/headless-input-number.doc.d.ts +16 -0
- package/dist/docs/components/headless-input-number.doc.js +36 -0
- package/dist/docs/components/input-number.doc.d.ts +18 -0
- package/dist/docs/components/input-number.doc.js +41 -0
- package/dist/docs/components/input.doc.d.ts +17 -0
- package/dist/docs/components/input.doc.js +38 -0
- package/dist/docs/components/modal.doc.d.ts +18 -0
- package/dist/docs/components/modal.doc.js +43 -0
- package/dist/docs/components/pagination.doc.d.ts +17 -0
- package/dist/docs/components/pagination.doc.js +37 -0
- package/dist/docs/components/radio.doc.d.ts +18 -0
- package/dist/docs/components/radio.doc.js +43 -0
- package/dist/docs/components/range-picker.doc.d.ts +17 -0
- package/dist/docs/components/range-picker.doc.js +39 -0
- package/dist/docs/components/scroll-area.doc.d.ts +17 -0
- package/dist/docs/components/scroll-area.doc.js +36 -0
- package/dist/docs/components/select.doc.d.ts +18 -0
- package/dist/docs/components/select.doc.js +43 -0
- package/dist/docs/components/spinner.doc.d.ts +18 -0
- package/dist/docs/components/spinner.doc.js +36 -0
- package/dist/docs/components/splitter.doc.d.ts +17 -0
- package/dist/docs/components/splitter.doc.js +36 -0
- package/dist/docs/components/stack.doc.d.ts +16 -0
- package/dist/docs/components/stack.doc.js +31 -0
- package/dist/docs/components/switch.doc.d.ts +17 -0
- package/dist/docs/components/switch.doc.js +35 -0
- package/dist/docs/components/table.doc.d.ts +18 -0
- package/dist/docs/components/table.doc.js +46 -0
- package/dist/docs/components/tabs.doc.d.ts +18 -0
- package/dist/docs/components/tabs.doc.js +39 -0
- package/dist/docs/components/tag.doc.d.ts +18 -0
- package/dist/docs/components/tag.doc.js +41 -0
- package/dist/docs/components/tao-provider.doc.d.ts +22 -0
- package/dist/docs/components/tao-provider.doc.js +60 -0
- package/dist/docs/components/textarea.doc.d.ts +17 -0
- package/dist/docs/components/textarea.doc.js +35 -0
- package/dist/docs/index.d.ts +2 -0
- package/dist/docs/index.js +1 -0
- package/dist/index.d.ts +35 -33
- package/dist/index.js +2 -0
- package/dist/provider/tao-provider.js +92 -49
- package/dist/theme/theme.css +46 -46
- package/dist/theme/tokens.d.ts +4 -0
- package/dist/theme/tokens.js +108 -0
- package/llms.txt +402 -45
- package/package.json +4 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const stackDoc = {
|
|
2
|
+
name: 'stack',
|
|
3
|
+
displayName: 'Stack',
|
|
4
|
+
category: 'Layout',
|
|
5
|
+
description: 'Composes children in a flex row or column with consistent spacing.',
|
|
6
|
+
exports: [
|
|
7
|
+
'Stack'
|
|
8
|
+
],
|
|
9
|
+
source: 'src/layouts/stack/stack.tsx',
|
|
10
|
+
story: 'stories/stack.stories.tsx',
|
|
11
|
+
tests: [
|
|
12
|
+
'tests/layouts/stack/stack.test.tsx'
|
|
13
|
+
],
|
|
14
|
+
keywords: [
|
|
15
|
+
'layout',
|
|
16
|
+
'flex',
|
|
17
|
+
'spacing'
|
|
18
|
+
],
|
|
19
|
+
related: [
|
|
20
|
+
'Splitter',
|
|
21
|
+
'FormLayout'
|
|
22
|
+
],
|
|
23
|
+
usage: {
|
|
24
|
+
description: 'Use Stack for simple one-dimensional layout and spacing.',
|
|
25
|
+
bestPractices: [
|
|
26
|
+
'Prefer Stack over one-off margin rules for repeated spacing.',
|
|
27
|
+
'Use semantic containers when the layout has richer meaning.'
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
export { stackDoc };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const switchDoc: {
|
|
2
|
+
name: string;
|
|
3
|
+
displayName: string;
|
|
4
|
+
category: "Data Entry";
|
|
5
|
+
description: string;
|
|
6
|
+
exports: string[];
|
|
7
|
+
source: string;
|
|
8
|
+
story: string;
|
|
9
|
+
tests: string[];
|
|
10
|
+
semanticParts: string[];
|
|
11
|
+
keywords: string[];
|
|
12
|
+
related: string[];
|
|
13
|
+
usage: {
|
|
14
|
+
description: string;
|
|
15
|
+
bestPractices: string[];
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const switchDoc = {
|
|
2
|
+
name: 'switch',
|
|
3
|
+
displayName: 'Switch',
|
|
4
|
+
category: 'Data Entry',
|
|
5
|
+
description: 'Toggles a setting on or off with immediate effect.',
|
|
6
|
+
exports: [
|
|
7
|
+
'Switch'
|
|
8
|
+
],
|
|
9
|
+
source: 'src/components/switch/switch.tsx',
|
|
10
|
+
story: 'stories/switch.stories.tsx',
|
|
11
|
+
tests: [
|
|
12
|
+
'tests/switch/switch.test.tsx'
|
|
13
|
+
],
|
|
14
|
+
semanticParts: [
|
|
15
|
+
'root',
|
|
16
|
+
'thumb',
|
|
17
|
+
'label'
|
|
18
|
+
],
|
|
19
|
+
keywords: [
|
|
20
|
+
'toggle',
|
|
21
|
+
'setting',
|
|
22
|
+
'boolean'
|
|
23
|
+
],
|
|
24
|
+
related: [
|
|
25
|
+
'Checkbox'
|
|
26
|
+
],
|
|
27
|
+
usage: {
|
|
28
|
+
description: 'Use Switch for settings that take effect immediately.',
|
|
29
|
+
bestPractices: [
|
|
30
|
+
'Use labels that describe the enabled state.',
|
|
31
|
+
'Use Checkbox when the value is submitted with a form.'
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
export { switchDoc };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const tableDoc: {
|
|
2
|
+
name: string;
|
|
3
|
+
displayName: string;
|
|
4
|
+
category: "Data Display";
|
|
5
|
+
description: string;
|
|
6
|
+
exports: string[];
|
|
7
|
+
source: string;
|
|
8
|
+
story: string;
|
|
9
|
+
tests: string[];
|
|
10
|
+
semanticParts: string[];
|
|
11
|
+
keywords: string[];
|
|
12
|
+
related: string[];
|
|
13
|
+
usage: {
|
|
14
|
+
description: string;
|
|
15
|
+
bestPractices: string[];
|
|
16
|
+
avoid: string[];
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
const tableDoc = {
|
|
2
|
+
name: 'table',
|
|
3
|
+
displayName: 'Table',
|
|
4
|
+
category: 'Data Display',
|
|
5
|
+
description: 'Displays structured row and column data with selection, sorting, filtering, and pagination hooks.',
|
|
6
|
+
exports: [
|
|
7
|
+
'Table'
|
|
8
|
+
],
|
|
9
|
+
source: 'src/components/table/table.tsx',
|
|
10
|
+
story: 'stories/table.stories.tsx',
|
|
11
|
+
tests: [
|
|
12
|
+
'tests/table/table.test.tsx'
|
|
13
|
+
],
|
|
14
|
+
semanticParts: [
|
|
15
|
+
'root',
|
|
16
|
+
'table',
|
|
17
|
+
'header',
|
|
18
|
+
'header.cell',
|
|
19
|
+
'body',
|
|
20
|
+
'row',
|
|
21
|
+
'cell',
|
|
22
|
+
'pagination'
|
|
23
|
+
],
|
|
24
|
+
keywords: [
|
|
25
|
+
'data grid',
|
|
26
|
+
'rows',
|
|
27
|
+
'columns',
|
|
28
|
+
'sorting'
|
|
29
|
+
],
|
|
30
|
+
related: [
|
|
31
|
+
'Pagination',
|
|
32
|
+
'ScrollArea'
|
|
33
|
+
],
|
|
34
|
+
usage: {
|
|
35
|
+
description: 'Use Table for dense, comparable records that benefit from aligned columns.',
|
|
36
|
+
bestPractices: [
|
|
37
|
+
'Keep columns focused on the task.',
|
|
38
|
+
'Use stable row keys.',
|
|
39
|
+
'Control sorting and pagination when data is remote.'
|
|
40
|
+
],
|
|
41
|
+
avoid: [
|
|
42
|
+
'Do not use Table for card-like content where comparison is not important.'
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
export { tableDoc };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const tabsDoc: {
|
|
2
|
+
name: string;
|
|
3
|
+
displayName: string;
|
|
4
|
+
category: "Navigation";
|
|
5
|
+
description: string;
|
|
6
|
+
exports: string[];
|
|
7
|
+
source: string;
|
|
8
|
+
story: string;
|
|
9
|
+
tests: string[];
|
|
10
|
+
semanticParts: string[];
|
|
11
|
+
keywords: string[];
|
|
12
|
+
related: string[];
|
|
13
|
+
usage: {
|
|
14
|
+
description: string;
|
|
15
|
+
bestPractices: string[];
|
|
16
|
+
avoid: string[];
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
const tabsDoc = {
|
|
2
|
+
name: 'tabs',
|
|
3
|
+
displayName: 'Tabs',
|
|
4
|
+
category: 'Navigation',
|
|
5
|
+
description: 'Switches between peer panels within the same page context.',
|
|
6
|
+
exports: [
|
|
7
|
+
'Tabs'
|
|
8
|
+
],
|
|
9
|
+
source: 'src/components/tabs/tabs.tsx',
|
|
10
|
+
story: 'stories/tabs.stories.tsx',
|
|
11
|
+
tests: [
|
|
12
|
+
'tests/tabs/tabs.test.tsx'
|
|
13
|
+
],
|
|
14
|
+
semanticParts: [
|
|
15
|
+
'root',
|
|
16
|
+
'list',
|
|
17
|
+
'tab',
|
|
18
|
+
'panel'
|
|
19
|
+
],
|
|
20
|
+
keywords: [
|
|
21
|
+
'tabs',
|
|
22
|
+
'sections',
|
|
23
|
+
'navigation'
|
|
24
|
+
],
|
|
25
|
+
related: [
|
|
26
|
+
'Breadcrumb'
|
|
27
|
+
],
|
|
28
|
+
usage: {
|
|
29
|
+
description: 'Use Tabs to separate peer views without navigating away from the current task.',
|
|
30
|
+
bestPractices: [
|
|
31
|
+
'Use short tab labels.',
|
|
32
|
+
'Keep tab panels at comparable hierarchy.'
|
|
33
|
+
],
|
|
34
|
+
avoid: [
|
|
35
|
+
'Do not use Tabs for sequential steps.'
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
export { tabsDoc };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const tagDoc: {
|
|
2
|
+
name: string;
|
|
3
|
+
displayName: string;
|
|
4
|
+
category: "Data Display";
|
|
5
|
+
description: string;
|
|
6
|
+
exports: string[];
|
|
7
|
+
source: string;
|
|
8
|
+
story: string;
|
|
9
|
+
tests: string[];
|
|
10
|
+
semanticParts: string[];
|
|
11
|
+
keywords: string[];
|
|
12
|
+
related: string[];
|
|
13
|
+
usage: {
|
|
14
|
+
description: string;
|
|
15
|
+
bestPractices: string[];
|
|
16
|
+
avoid: string[];
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
const tagDoc = {
|
|
2
|
+
name: 'tag',
|
|
3
|
+
displayName: 'Tag',
|
|
4
|
+
category: 'Data Display',
|
|
5
|
+
description: 'Displays compact labels, statuses, categories, or checkable chips.',
|
|
6
|
+
exports: [
|
|
7
|
+
'Tag',
|
|
8
|
+
'CheckableTag'
|
|
9
|
+
],
|
|
10
|
+
source: 'src/components/tag/tag.tsx',
|
|
11
|
+
story: 'stories/tag.stories.tsx',
|
|
12
|
+
tests: [
|
|
13
|
+
'tests/tag/tag.test.tsx'
|
|
14
|
+
],
|
|
15
|
+
semanticParts: [
|
|
16
|
+
'root',
|
|
17
|
+
'icon',
|
|
18
|
+
'close'
|
|
19
|
+
],
|
|
20
|
+
keywords: [
|
|
21
|
+
'badge',
|
|
22
|
+
'chip',
|
|
23
|
+
'status',
|
|
24
|
+
'label'
|
|
25
|
+
],
|
|
26
|
+
related: [
|
|
27
|
+
'Checkbox',
|
|
28
|
+
'Table'
|
|
29
|
+
],
|
|
30
|
+
usage: {
|
|
31
|
+
description: 'Use Tag for lightweight metadata or status markers. Use CheckableTag for compact filter choices.',
|
|
32
|
+
bestPractices: [
|
|
33
|
+
'Use semantic colors consistently.',
|
|
34
|
+
'Keep tag text short.'
|
|
35
|
+
],
|
|
36
|
+
avoid: [
|
|
37
|
+
'Do not encode critical state by color alone.'
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
export { tagDoc };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const taoProviderDoc: {
|
|
2
|
+
name: string;
|
|
3
|
+
displayName: string;
|
|
4
|
+
category: "Config";
|
|
5
|
+
description: string;
|
|
6
|
+
exports: string[];
|
|
7
|
+
source: string;
|
|
8
|
+
story: string;
|
|
9
|
+
tests: string[];
|
|
10
|
+
keywords: string[];
|
|
11
|
+
related: string[];
|
|
12
|
+
usage: {
|
|
13
|
+
description: string;
|
|
14
|
+
bestPractices: string[];
|
|
15
|
+
avoid: string[];
|
|
16
|
+
};
|
|
17
|
+
props: {
|
|
18
|
+
name: string;
|
|
19
|
+
type: string;
|
|
20
|
+
description: string;
|
|
21
|
+
}[];
|
|
22
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
const taoProviderDoc = {
|
|
2
|
+
name: 'tao-provider',
|
|
3
|
+
displayName: 'TaoProvider',
|
|
4
|
+
category: 'Config',
|
|
5
|
+
description: 'Provides global component defaults, portal scoping, and theme seed token overrides.',
|
|
6
|
+
exports: [
|
|
7
|
+
'TaoProvider',
|
|
8
|
+
'TaoPortalScope'
|
|
9
|
+
],
|
|
10
|
+
source: 'src/provider/tao-provider.tsx',
|
|
11
|
+
story: 'stories/provider.stories.tsx',
|
|
12
|
+
tests: [
|
|
13
|
+
'tests/provider/tao-provider.test.tsx'
|
|
14
|
+
],
|
|
15
|
+
keywords: [
|
|
16
|
+
'provider',
|
|
17
|
+
'theme',
|
|
18
|
+
'tokens',
|
|
19
|
+
'size',
|
|
20
|
+
'disabled'
|
|
21
|
+
],
|
|
22
|
+
related: [
|
|
23
|
+
'Button',
|
|
24
|
+
'Input',
|
|
25
|
+
'tokenVar'
|
|
26
|
+
],
|
|
27
|
+
usage: {
|
|
28
|
+
description: 'Wrap an app or subtree with TaoProvider to set size, disabled, variant, and theme defaults.',
|
|
29
|
+
bestPractices: [
|
|
30
|
+
'Prefer provider-level defaults for app-wide decisions.',
|
|
31
|
+
'Use nested providers for scoped theme overrides.'
|
|
32
|
+
],
|
|
33
|
+
avoid: [
|
|
34
|
+
'Do not override derived CSS variables directly unless a theme token cannot express the change.'
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
props: [
|
|
38
|
+
{
|
|
39
|
+
name: 'size',
|
|
40
|
+
type: 'TaoSize',
|
|
41
|
+
description: 'Default component size for descendants.'
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: 'disabled',
|
|
45
|
+
type: 'boolean',
|
|
46
|
+
description: 'Default disabled state for descendants.'
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: 'variant',
|
|
50
|
+
type: 'TaoVariant',
|
|
51
|
+
description: 'Default field variant for descendants.'
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: 'theme',
|
|
55
|
+
type: 'TaoThemeConfig',
|
|
56
|
+
description: 'Seed token overrides for the provider scope.'
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
};
|
|
60
|
+
export { taoProviderDoc };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const textareaDoc: {
|
|
2
|
+
name: string;
|
|
3
|
+
displayName: string;
|
|
4
|
+
category: "Data Entry";
|
|
5
|
+
description: string;
|
|
6
|
+
exports: string[];
|
|
7
|
+
source: string;
|
|
8
|
+
story: string;
|
|
9
|
+
tests: string[];
|
|
10
|
+
semanticParts: string[];
|
|
11
|
+
keywords: string[];
|
|
12
|
+
related: string[];
|
|
13
|
+
usage: {
|
|
14
|
+
description: string;
|
|
15
|
+
bestPractices: string[];
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const textareaDoc = {
|
|
2
|
+
name: 'textarea',
|
|
3
|
+
displayName: 'Textarea',
|
|
4
|
+
category: 'Data Entry',
|
|
5
|
+
description: 'Multi-line text input with optional auto sizing.',
|
|
6
|
+
exports: [
|
|
7
|
+
'Textarea'
|
|
8
|
+
],
|
|
9
|
+
source: 'src/components/textarea/textarea.tsx',
|
|
10
|
+
story: 'stories/textarea.stories.tsx',
|
|
11
|
+
tests: [
|
|
12
|
+
'tests/textarea/textarea.test.tsx'
|
|
13
|
+
],
|
|
14
|
+
semanticParts: [
|
|
15
|
+
'root',
|
|
16
|
+
'textarea'
|
|
17
|
+
],
|
|
18
|
+
keywords: [
|
|
19
|
+
'textarea',
|
|
20
|
+
'multiline',
|
|
21
|
+
'input'
|
|
22
|
+
],
|
|
23
|
+
related: [
|
|
24
|
+
'Input',
|
|
25
|
+
'FormField'
|
|
26
|
+
],
|
|
27
|
+
usage: {
|
|
28
|
+
description: "Use Textarea for longer freeform content such as descriptions, notes, and comments.",
|
|
29
|
+
bestPractices: [
|
|
30
|
+
'Set rows or autoSize based on expected content length.',
|
|
31
|
+
'Use maxLength when limits are strict.'
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
export { textareaDoc };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { componentDocs, getComponentDoc } from "./component-docs.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,33 +1,35 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
export { Breadcrumb, type BreadcrumbItemType, type BreadcrumbProps, type BreadcrumbSemanticPart, } from
|
|
4
|
-
export { Button, type ButtonProps, type ButtonSemanticPart, } from
|
|
5
|
-
export { Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxOptionType, type CheckboxProps, type CheckboxSemanticPart, } from
|
|
6
|
-
export { Collapsible, type CollapsibleContentProps, type CollapsibleProps, type CollapsibleSemanticPart, type CollapsibleTriggerProps, } from
|
|
7
|
-
export { ContextMenu, type ContextMenuProps, type ContextMenuSemanticPart, } from
|
|
8
|
-
export { DatePicker, type DatePickerProps, } from
|
|
9
|
-
export { RangePicker, type RangePickerProps, } from
|
|
10
|
-
export { Drawer, type DrawerPlacement, type DrawerProps, type DrawerResizableConfig, type DrawerSemanticPart, type DrawerSize, } from
|
|
11
|
-
export { Dropdown, type DropdownButtonProps, type DropdownPlacement, type DropdownProps, type DropdownSemanticPart, type DropdownTrigger, type MenuDividerType, type MenuGroupType, type MenuItem, type MenuItemType, type MenuProps, } from
|
|
12
|
-
export { FormActions, type FormActionsProps, type FormActionsSemanticPart, } from
|
|
13
|
-
export { FormField, type FormFieldProps, type FormFieldSemanticPart, } from
|
|
14
|
-
export { FormSection, type FormSectionProps, type FormSectionSemanticPart, } from
|
|
15
|
-
export { Input, type InputProps, type InputSemanticPart, } from
|
|
16
|
-
export { InputNumber, type InputNumberProps, type InputNumberSemanticPart, } from
|
|
17
|
-
export { type ConfirmType, Modal, type ModalFooterRender, type ModalFuncProps, type ModalFuncReturn, type ModalHookApi, type ModalProps, type ModalSemanticPart, } from
|
|
18
|
-
export { Pagination, type PaginationProps, type PaginationSemanticPart, } from
|
|
19
|
-
export { Radio, RadioGroup, type RadioGroupProps, type RadioOptionType, type RadioProps, type RadioSemanticPart, } from
|
|
20
|
-
export { ScrollArea, type ScrollAreaProps, type ScrollAreaSemanticPart, type ScrollAreaType, } from
|
|
21
|
-
export { ChevronsUpDownIcon, Select, type SelectOption, type SelectPlacement, type SelectProps, type SelectSemanticPart, } from
|
|
22
|
-
export { Spinner, type SpinnerProps, type SpinnerSemanticPart, } from
|
|
23
|
-
export { Splitter, type SplitterPanelProps, type SplitterProps, type SplitterSemanticPart, } from
|
|
24
|
-
export { Switch, type SwitchProps, type SwitchSemanticPart, } from
|
|
25
|
-
export { type SorterResult, type SortOrder, Table, type TableColumn, type TableFilterItem, type TablePagination, type TableProps, type TableRowSelection, type TableSemanticPart, type TableVariant, } from
|
|
26
|
-
export { type TabItem, Tabs, type TabsProps, type TabsSemanticPart, } from
|
|
27
|
-
export { CheckableTag, type CheckableTagProps, Tag, type TagColor, type TagProps, type TagSemanticPart, type TagVariant, } from
|
|
28
|
-
export { type AutoSizeOptions, Textarea, type TextareaProps, type TextareaSemanticPart, } from
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
31
|
-
export {
|
|
32
|
-
export {
|
|
33
|
-
export {
|
|
1
|
+
import './theme/theme.css';
|
|
2
|
+
import './theme/control.css';
|
|
3
|
+
export { Breadcrumb, type BreadcrumbItemType, type BreadcrumbProps, type BreadcrumbSemanticPart, } from './components/breadcrumb/breadcrumb';
|
|
4
|
+
export { Button, type ButtonProps, type ButtonSemanticPart, } from './components/button/button';
|
|
5
|
+
export { Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxOptionType, type CheckboxProps, type CheckboxSemanticPart, } from './components/checkbox/checkbox';
|
|
6
|
+
export { Collapsible, type CollapsibleContentProps, type CollapsibleProps, type CollapsibleSemanticPart, type CollapsibleTriggerProps, } from './components/collapsible/collapsible';
|
|
7
|
+
export { ContextMenu, type ContextMenuProps, type ContextMenuSemanticPart, } from './components/context-menu/context-menu';
|
|
8
|
+
export { DatePicker, type DatePickerProps, } from './components/date-picker/date-picker';
|
|
9
|
+
export { RangePicker, type RangePickerProps, } from './components/date-picker/range-picker';
|
|
10
|
+
export { Drawer, type DrawerPlacement, type DrawerProps, type DrawerResizableConfig, type DrawerSemanticPart, type DrawerSize, } from './components/drawer/drawer';
|
|
11
|
+
export { Dropdown, type DropdownButtonProps, type DropdownPlacement, type DropdownProps, type DropdownSemanticPart, type DropdownTrigger, type MenuDividerType, type MenuGroupType, type MenuItem, type MenuItemType, type MenuProps, } from './components/dropdown/dropdown';
|
|
12
|
+
export { FormActions, type FormActionsProps, type FormActionsSemanticPart, } from './components/form-actions/form-actions';
|
|
13
|
+
export { FormField, type FormFieldProps, type FormFieldSemanticPart, } from './components/form-field/form-field';
|
|
14
|
+
export { FormSection, type FormSectionProps, type FormSectionSemanticPart, } from './components/form-section/form-section';
|
|
15
|
+
export { Input, type InputProps, type InputSemanticPart, } from './components/input/input';
|
|
16
|
+
export { InputNumber, type InputNumberProps, type InputNumberSemanticPart, } from './components/input-number/input-number';
|
|
17
|
+
export { type ConfirmType, Modal, type ModalFooterRender, type ModalFuncProps, type ModalFuncReturn, type ModalHookApi, type ModalProps, type ModalSemanticPart, } from './components/modal';
|
|
18
|
+
export { Pagination, type PaginationProps, type PaginationSemanticPart, } from './components/pagination/pagination';
|
|
19
|
+
export { Radio, RadioGroup, type RadioGroupProps, type RadioOptionType, type RadioProps, type RadioSemanticPart, } from './components/radio/radio';
|
|
20
|
+
export { ScrollArea, type ScrollAreaProps, type ScrollAreaSemanticPart, type ScrollAreaType, } from './components/scroll-area/scroll-area';
|
|
21
|
+
export { ChevronsUpDownIcon, Select, type SelectOption, type SelectPlacement, type SelectProps, type SelectSemanticPart, } from './components/select/select';
|
|
22
|
+
export { Spinner, type SpinnerProps, type SpinnerSemanticPart, } from './components/spinner/spinner';
|
|
23
|
+
export { Splitter, type SplitterPanelProps, type SplitterProps, type SplitterSemanticPart, } from './components/splitter/splitter';
|
|
24
|
+
export { Switch, type SwitchProps, type SwitchSemanticPart, } from './components/switch/switch';
|
|
25
|
+
export { type SorterResult, type SortOrder, Table, type TableColumn, type TableFilterItem, type TablePagination, type TableProps, type TableRowSelection, type TableSemanticPart, type TableVariant, } from './components/table/table';
|
|
26
|
+
export { type TabItem, Tabs, type TabsProps, type TabsSemanticPart, } from './components/tabs/tabs';
|
|
27
|
+
export { CheckableTag, type CheckableTagProps, Tag, type TagColor, type TagProps, type TagSemanticPart, type TagVariant, } from './components/tag/tag';
|
|
28
|
+
export { type AutoSizeOptions, Textarea, type TextareaProps, type TextareaSemanticPart, } from './components/textarea/textarea';
|
|
29
|
+
export { type ComponentDoc, type ComponentDocCategory, type ComponentDocProp, type ComponentDocUsage, componentDocs, getComponentDoc, } from './docs';
|
|
30
|
+
export { FormLayout, type FormLayoutProps, } from './layouts/form-layout/form-layout';
|
|
31
|
+
export { Stack, type StackProps } from './layouts/stack/stack';
|
|
32
|
+
export { type FormatOptions, HeadlessInputNumber, type HeadlessInputNumberProps, NumberInput, type NumberInputProps, type PadDecimalsOnBlur, type UseNumberInputOptions, type UseNumberInputReturn, useNumberInput, } from './number-input';
|
|
33
|
+
export { TaoPortalScope, TaoProvider, type TaoProviderProps, type TaoSeedToken, type TaoSize, type TaoThemeConfig, type TaoVariant, useTaoConfig, } from './provider/tao-provider';
|
|
34
|
+
export { type TaoTokenName, taoTokenNames, taoTokenVars, tokenVar, } from './theme/tokens';
|
|
35
|
+
export { cx, type SemanticClassNames, type SemanticStyles, } from './utils/semantic';
|
package/dist/index.js
CHANGED
|
@@ -26,8 +26,10 @@ export { Table } from "./components/table/table.js";
|
|
|
26
26
|
export { Tabs } from "./components/tabs/tabs.js";
|
|
27
27
|
export { CheckableTag, Tag } from "./components/tag/tag.js";
|
|
28
28
|
export { Textarea } from "./components/textarea/textarea.js";
|
|
29
|
+
export { componentDocs, getComponentDoc } from "./docs/index.js";
|
|
29
30
|
export { FormLayout } from "./layouts/form-layout/form-layout.js";
|
|
30
31
|
export { Stack } from "./layouts/stack/stack.js";
|
|
31
32
|
export { HeadlessInputNumber, NumberInput, useNumberInput } from "./number-input/index.js";
|
|
32
33
|
export { TaoPortalScope, TaoProvider, useTaoConfig } from "./provider/tao-provider.js";
|
|
34
|
+
export { taoTokenNames, taoTokenVars, tokenVar } from "./theme/tokens.js";
|
|
33
35
|
export { cx } from "./utils/semantic.js";
|