@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.
Files changed (104) hide show
  1. package/component-manifest.json +764 -0
  2. package/dist/components/breadcrumb/breadcrumb.css +4 -0
  3. package/dist/components/breadcrumb/breadcrumb.js +8 -6
  4. package/dist/components/checkbox/checkbox.js +4 -0
  5. package/dist/components/date-picker/calendar/calendar-grid.js +21 -17
  6. package/dist/components/date-picker/calendar/calendar-header.js +8 -0
  7. package/dist/components/date-picker/calendar/month-grid.js +1 -1
  8. package/dist/components/date-picker/calendar/time-panel.js +36 -41
  9. package/dist/components/date-picker/date-picker.css +30 -16
  10. package/dist/components/date-picker/date-picker.js +240 -223
  11. package/dist/components/date-picker/range-picker.js +25 -2
  12. package/dist/components/drawer/drawer.js +2 -0
  13. package/dist/components/dropdown/dropdown.js +2 -1
  14. package/dist/components/menu/menu-render.js +6 -3
  15. package/dist/components/modal/confirm-dialog.js +9 -1
  16. package/dist/components/modal/modal.js +2 -0
  17. package/dist/components/pagination/pagination.js +56 -64
  18. package/dist/components/scroll-area/scroll-area.css +3 -0
  19. package/dist/components/scroll-area/scroll-area.js +6 -2
  20. package/dist/components/select/mobile-select.css +4 -0
  21. package/dist/components/select/mobile-select.js +9 -4
  22. package/dist/components/select/select.js +6 -0
  23. package/dist/components/spinner/spinner.js +2 -1
  24. package/dist/components/splitter/splitter.js +165 -149
  25. package/dist/components/switch/switch.js +2 -0
  26. package/dist/components/table/table.css +14 -0
  27. package/dist/components/table/table.js +14 -14
  28. package/dist/components/tabs/tabs.js +84 -87
  29. package/dist/components/tag/tag.js +1 -0
  30. package/dist/components/textarea/textarea.css +21 -3
  31. package/dist/docs/component-doc.d.ts +28 -0
  32. package/dist/docs/component-doc.js +0 -0
  33. package/dist/docs/component-docs.d.ts +147 -0
  34. package/dist/docs/component-docs.js +70 -0
  35. package/dist/docs/components/breadcrumb.doc.d.ts +23 -0
  36. package/dist/docs/components/breadcrumb.doc.js +53 -0
  37. package/dist/docs/components/button.doc.d.ts +29 -0
  38. package/dist/docs/components/button.doc.js +62 -0
  39. package/dist/docs/components/checkbox.doc.d.ts +23 -0
  40. package/dist/docs/components/checkbox.doc.js +60 -0
  41. package/dist/docs/components/collapsible.doc.d.ts +18 -0
  42. package/dist/docs/components/collapsible.doc.js +39 -0
  43. package/dist/docs/components/context-menu.doc.d.ts +18 -0
  44. package/dist/docs/components/context-menu.doc.js +40 -0
  45. package/dist/docs/components/date-picker.doc.d.ts +18 -0
  46. package/dist/docs/components/date-picker.doc.js +43 -0
  47. package/dist/docs/components/drawer.doc.d.ts +18 -0
  48. package/dist/docs/components/drawer.doc.js +42 -0
  49. package/dist/docs/components/dropdown.doc.d.ts +18 -0
  50. package/dist/docs/components/dropdown.doc.js +42 -0
  51. package/dist/docs/components/form-actions.doc.d.ts +17 -0
  52. package/dist/docs/components/form-actions.doc.js +35 -0
  53. package/dist/docs/components/form-field.doc.d.ts +17 -0
  54. package/dist/docs/components/form-field.doc.js +39 -0
  55. package/dist/docs/components/form-layout.doc.d.ts +16 -0
  56. package/dist/docs/components/form-layout.doc.js +31 -0
  57. package/dist/docs/components/form-section.doc.d.ts +17 -0
  58. package/dist/docs/components/form-section.doc.js +38 -0
  59. package/dist/docs/components/headless-input-number.doc.d.ts +16 -0
  60. package/dist/docs/components/headless-input-number.doc.js +36 -0
  61. package/dist/docs/components/input-number.doc.d.ts +18 -0
  62. package/dist/docs/components/input-number.doc.js +41 -0
  63. package/dist/docs/components/input.doc.d.ts +17 -0
  64. package/dist/docs/components/input.doc.js +38 -0
  65. package/dist/docs/components/modal.doc.d.ts +18 -0
  66. package/dist/docs/components/modal.doc.js +43 -0
  67. package/dist/docs/components/pagination.doc.d.ts +17 -0
  68. package/dist/docs/components/pagination.doc.js +37 -0
  69. package/dist/docs/components/radio.doc.d.ts +18 -0
  70. package/dist/docs/components/radio.doc.js +43 -0
  71. package/dist/docs/components/range-picker.doc.d.ts +17 -0
  72. package/dist/docs/components/range-picker.doc.js +39 -0
  73. package/dist/docs/components/scroll-area.doc.d.ts +17 -0
  74. package/dist/docs/components/scroll-area.doc.js +36 -0
  75. package/dist/docs/components/select.doc.d.ts +18 -0
  76. package/dist/docs/components/select.doc.js +43 -0
  77. package/dist/docs/components/spinner.doc.d.ts +18 -0
  78. package/dist/docs/components/spinner.doc.js +36 -0
  79. package/dist/docs/components/splitter.doc.d.ts +17 -0
  80. package/dist/docs/components/splitter.doc.js +36 -0
  81. package/dist/docs/components/stack.doc.d.ts +16 -0
  82. package/dist/docs/components/stack.doc.js +31 -0
  83. package/dist/docs/components/switch.doc.d.ts +17 -0
  84. package/dist/docs/components/switch.doc.js +35 -0
  85. package/dist/docs/components/table.doc.d.ts +18 -0
  86. package/dist/docs/components/table.doc.js +46 -0
  87. package/dist/docs/components/tabs.doc.d.ts +18 -0
  88. package/dist/docs/components/tabs.doc.js +39 -0
  89. package/dist/docs/components/tag.doc.d.ts +18 -0
  90. package/dist/docs/components/tag.doc.js +41 -0
  91. package/dist/docs/components/tao-provider.doc.d.ts +22 -0
  92. package/dist/docs/components/tao-provider.doc.js +60 -0
  93. package/dist/docs/components/textarea.doc.d.ts +17 -0
  94. package/dist/docs/components/textarea.doc.js +35 -0
  95. package/dist/docs/index.d.ts +2 -0
  96. package/dist/docs/index.js +1 -0
  97. package/dist/index.d.ts +35 -33
  98. package/dist/index.js +2 -0
  99. package/dist/provider/tao-provider.js +92 -49
  100. package/dist/theme/theme.css +46 -46
  101. package/dist/theme/tokens.d.ts +4 -0
  102. package/dist/theme/tokens.js +108 -0
  103. package/llms.txt +402 -45
  104. package/package.json +4 -1
@@ -0,0 +1,16 @@
1
+ export declare const headlessInputNumberDoc: {
2
+ name: string;
3
+ displayName: string;
4
+ category: "Headless";
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
+ };
16
+ };
@@ -0,0 +1,36 @@
1
+ const headlessInputNumberDoc = {
2
+ name: 'headless-input-number',
3
+ displayName: 'HeadlessInputNumber',
4
+ category: 'Headless',
5
+ description: 'Headless numeric input primitives and hook for custom number entry experiences.',
6
+ exports: [
7
+ 'HeadlessInputNumber',
8
+ 'NumberInput',
9
+ 'useNumberInput'
10
+ ],
11
+ source: 'src/number-input/number-input.tsx',
12
+ story: 'stories/headless-input-number.stories.tsx',
13
+ tests: [
14
+ 'tests/number-input/headless-input-number.test.tsx',
15
+ 'tests/number-input/use-number-input.test.tsx',
16
+ 'tests/number-input/format.test.ts',
17
+ 'tests/number-input/validate.test.ts'
18
+ ],
19
+ keywords: [
20
+ 'headless',
21
+ 'number',
22
+ 'formatting',
23
+ 'validation'
24
+ ],
25
+ related: [
26
+ 'InputNumber'
27
+ ],
28
+ usage: {
29
+ description: 'Use the headless API when tao-ui styling is not appropriate but number formatting behavior should stay consistent.',
30
+ bestPractices: [
31
+ 'Use useNumberInput for fully custom rendering.',
32
+ 'Reuse the validation helpers for parity with the styled InputNumber.'
33
+ ]
34
+ }
35
+ };
36
+ export { headlessInputNumberDoc };
@@ -0,0 +1,18 @@
1
+ export declare const inputNumberDoc: {
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
+ avoid: string[];
17
+ };
18
+ };
@@ -0,0 +1,41 @@
1
+ const inputNumberDoc = {
2
+ name: 'input-number',
3
+ displayName: 'InputNumber',
4
+ category: 'Data Entry',
5
+ description: 'A styled numeric input built on tao-ui number formatting and validation behavior.',
6
+ exports: [
7
+ 'InputNumber'
8
+ ],
9
+ source: 'src/components/input-number/input-number.tsx',
10
+ story: 'stories/input-number.stories.tsx',
11
+ tests: [
12
+ 'tests/input-number/input-number.test.tsx'
13
+ ],
14
+ semanticParts: [
15
+ 'root',
16
+ 'input',
17
+ 'controls',
18
+ 'increment',
19
+ 'decrement'
20
+ ],
21
+ keywords: [
22
+ 'number',
23
+ 'numeric',
24
+ 'stepper'
25
+ ],
26
+ related: [
27
+ 'HeadlessInputNumber',
28
+ 'Input'
29
+ ],
30
+ usage: {
31
+ description: 'Use InputNumber for numeric values that need min, max, step, precision, or formatted display.',
32
+ bestPractices: [
33
+ 'Set min and max when the domain is bounded.',
34
+ 'Use the headless API when custom rendering is required.'
35
+ ],
36
+ avoid: [
37
+ 'Do not use a numeric input for identifiers such as account numbers.'
38
+ ]
39
+ }
40
+ };
41
+ export { inputNumberDoc };
@@ -0,0 +1,17 @@
1
+ export declare const inputDoc: {
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,38 @@
1
+ const inputDoc = {
2
+ name: 'input',
3
+ displayName: 'Input',
4
+ category: 'Data Entry',
5
+ description: 'Single-line text input for short freeform values.',
6
+ exports: [
7
+ 'Input'
8
+ ],
9
+ source: 'src/components/input/input.tsx',
10
+ story: 'stories/input.stories.tsx',
11
+ tests: [
12
+ 'tests/input/input.test.tsx'
13
+ ],
14
+ semanticParts: [
15
+ 'root',
16
+ 'input',
17
+ 'prefix',
18
+ 'suffix',
19
+ 'clear'
20
+ ],
21
+ keywords: [
22
+ 'text field',
23
+ 'input',
24
+ 'search'
25
+ ],
26
+ related: [
27
+ 'Textarea',
28
+ 'FormField'
29
+ ],
30
+ usage: {
31
+ description: 'Use Input for short text values such as names, filters, search terms, and identifiers.',
32
+ bestPractices: [
33
+ 'Pair with FormField for labels and validation.',
34
+ 'Use type, inputMode, and autoComplete when applicable.'
35
+ ]
36
+ }
37
+ };
38
+ export { inputDoc };
@@ -0,0 +1,18 @@
1
+ export declare const modalDoc: {
2
+ name: string;
3
+ displayName: string;
4
+ category: "Feedback";
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,43 @@
1
+ const modalDoc = {
2
+ name: 'modal',
3
+ displayName: 'Modal',
4
+ category: 'Feedback',
5
+ description: 'Displays a focused dialog for decisions, forms, and interruptive information.',
6
+ exports: [
7
+ 'Modal'
8
+ ],
9
+ source: 'src/components/modal/modal.tsx',
10
+ story: 'stories/modal.stories.tsx',
11
+ tests: [
12
+ 'tests/modal/modal.test.tsx'
13
+ ],
14
+ semanticParts: [
15
+ 'root',
16
+ 'overlay',
17
+ 'content',
18
+ 'header',
19
+ 'body',
20
+ 'footer',
21
+ 'close'
22
+ ],
23
+ keywords: [
24
+ 'dialog',
25
+ 'confirm',
26
+ 'overlay'
27
+ ],
28
+ related: [
29
+ 'Drawer',
30
+ 'Button'
31
+ ],
32
+ usage: {
33
+ description: 'Use Modal for focused tasks or decisions. Static helpers such as Modal.confirm mirror common confirmation flows.',
34
+ bestPractices: [
35
+ 'Prefer Modal.useModal inside React trees so dialogs inherit TaoProvider context.',
36
+ 'Keep modal content short and task-oriented.'
37
+ ],
38
+ avoid: [
39
+ 'Do not use nested modals for multi-step workflows.'
40
+ ]
41
+ }
42
+ };
43
+ export { modalDoc };
@@ -0,0 +1,17 @@
1
+ export declare const paginationDoc: {
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
+ };
17
+ };
@@ -0,0 +1,37 @@
1
+ const paginationDoc = {
2
+ name: 'pagination',
3
+ displayName: 'Pagination',
4
+ category: 'Navigation',
5
+ description: 'Moves through paged data with current page and page-size controls.',
6
+ exports: [
7
+ 'Pagination'
8
+ ],
9
+ source: 'src/components/pagination/pagination.tsx',
10
+ story: 'stories/pagination.stories.tsx',
11
+ tests: [
12
+ 'tests/pagination/pagination.test.tsx'
13
+ ],
14
+ semanticParts: [
15
+ 'root',
16
+ 'item',
17
+ 'prev',
18
+ 'next',
19
+ 'sizeChanger'
20
+ ],
21
+ keywords: [
22
+ 'pages',
23
+ 'table',
24
+ 'navigation'
25
+ ],
26
+ related: [
27
+ 'Table'
28
+ ],
29
+ usage: {
30
+ description: 'Use Pagination when a collection is split into pages rather than infinitely loaded.',
31
+ bestPractices: [
32
+ 'Keep the current page controlled when data is loaded remotely.',
33
+ 'Show total counts when they help users judge scope.'
34
+ ]
35
+ }
36
+ };
37
+ export { paginationDoc };
@@ -0,0 +1,18 @@
1
+ export declare const radioDoc: {
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
+ avoid: string[];
17
+ };
18
+ };
@@ -0,0 +1,43 @@
1
+ const radioDoc = {
2
+ name: 'radio',
3
+ displayName: 'Radio',
4
+ category: 'Data Entry',
5
+ description: 'Selects exactly one option from a mutually exclusive set.',
6
+ exports: [
7
+ 'Radio',
8
+ 'RadioGroup'
9
+ ],
10
+ source: 'src/components/radio/radio.tsx',
11
+ story: 'stories/radio.stories.tsx',
12
+ tests: [
13
+ 'tests/radio/radio.test.tsx'
14
+ ],
15
+ semanticParts: [
16
+ 'root',
17
+ 'input',
18
+ 'indicator',
19
+ 'label',
20
+ 'group',
21
+ 'option'
22
+ ],
23
+ keywords: [
24
+ 'radio',
25
+ 'single choice',
26
+ 'selection'
27
+ ],
28
+ related: [
29
+ 'Checkbox',
30
+ 'SegmentedControl'
31
+ ],
32
+ usage: {
33
+ description: 'Use RadioGroup when every option is visible and only one can be selected.',
34
+ bestPractices: [
35
+ 'Use concise labels.',
36
+ 'Provide a default value when one option is recommended or required.'
37
+ ],
38
+ avoid: [
39
+ 'Do not use RadioGroup for very long option lists; use Select instead.'
40
+ ]
41
+ }
42
+ };
43
+ export { radioDoc };
@@ -0,0 +1,17 @@
1
+ export declare const rangePickerDoc: {
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,39 @@
1
+ const rangePickerDoc = {
2
+ name: 'range-picker',
3
+ displayName: 'RangePicker',
4
+ category: 'Data Entry',
5
+ description: 'Lets users select a start and end date as one range value.',
6
+ exports: [
7
+ 'RangePicker'
8
+ ],
9
+ source: 'src/components/date-picker/range-picker.tsx',
10
+ story: 'stories/date-picker.stories.tsx',
11
+ tests: [
12
+ 'tests/date-picker/range-picker.test.tsx',
13
+ 'tests/date-picker/use-calendar.test.ts'
14
+ ],
15
+ semanticParts: [
16
+ 'root',
17
+ 'input',
18
+ 'popup',
19
+ 'calendar',
20
+ 'cell',
21
+ 'footer'
22
+ ],
23
+ keywords: [
24
+ 'date range',
25
+ 'calendar',
26
+ 'time range'
27
+ ],
28
+ related: [
29
+ 'DatePicker'
30
+ ],
31
+ usage: {
32
+ description: 'Use RangePicker for reporting windows, booking windows, and filters with start/end dates.',
33
+ bestPractices: [
34
+ 'Use presets for common ranges such as today, this week, or last 30 days.',
35
+ 'Make inclusive/exclusive range behavior clear when it matters.'
36
+ ]
37
+ }
38
+ };
39
+ export { rangePickerDoc };
@@ -0,0 +1,17 @@
1
+ export declare const scrollAreaDoc: {
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
+ };
17
+ };
@@ -0,0 +1,36 @@
1
+ const scrollAreaDoc = {
2
+ name: 'scroll-area',
3
+ displayName: 'ScrollArea',
4
+ category: 'Data Display',
5
+ description: 'Provides a styled scroll container for overflow content.',
6
+ exports: [
7
+ 'ScrollArea'
8
+ ],
9
+ source: 'src/components/scroll-area/scroll-area.tsx',
10
+ story: 'stories/scroll-area.stories.tsx',
11
+ tests: [
12
+ 'tests/scroll-area/scroll-area.test.tsx'
13
+ ],
14
+ semanticParts: [
15
+ 'root',
16
+ 'viewport',
17
+ 'scrollbar',
18
+ 'thumb'
19
+ ],
20
+ keywords: [
21
+ 'scroll',
22
+ 'overflow',
23
+ 'viewport'
24
+ ],
25
+ related: [
26
+ 'Table'
27
+ ],
28
+ usage: {
29
+ description: 'Use ScrollArea when a fixed region needs overflow behavior without changing page scroll.',
30
+ bestPractices: [
31
+ 'Constrain height explicitly.',
32
+ 'Avoid hiding important actions below a small scroll region.'
33
+ ]
34
+ }
35
+ };
36
+ export { scrollAreaDoc };
@@ -0,0 +1,18 @@
1
+ export declare const selectDoc: {
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
+ avoid: string[];
17
+ };
18
+ };
@@ -0,0 +1,43 @@
1
+ const selectDoc = {
2
+ name: 'select',
3
+ displayName: 'Select',
4
+ category: 'Data Entry',
5
+ description: 'Chooses one value from a compact list of options.',
6
+ exports: [
7
+ 'Select',
8
+ 'ChevronsUpDownIcon'
9
+ ],
10
+ source: 'src/components/select/select.tsx',
11
+ story: 'stories/select.stories.tsx',
12
+ tests: [
13
+ 'tests/select/select.test.tsx'
14
+ ],
15
+ semanticParts: [
16
+ 'root',
17
+ 'trigger',
18
+ 'value',
19
+ 'content',
20
+ 'item',
21
+ 'empty'
22
+ ],
23
+ keywords: [
24
+ 'select',
25
+ 'combobox',
26
+ 'options'
27
+ ],
28
+ related: [
29
+ 'Dropdown',
30
+ 'Radio'
31
+ ],
32
+ usage: {
33
+ description: 'Use Select when choices are known but too numerous or secondary to show as radios.',
34
+ bestPractices: [
35
+ 'Use RadioGroup when there are only a few important choices.',
36
+ 'Keep option labels stable and easy to scan.'
37
+ ],
38
+ avoid: [
39
+ 'Do not use Select for arbitrary text entry.'
40
+ ]
41
+ }
42
+ };
43
+ export { selectDoc };
@@ -0,0 +1,18 @@
1
+ export declare const spinnerDoc: {
2
+ name: string;
3
+ displayName: string;
4
+ category: "Feedback";
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,36 @@
1
+ const spinnerDoc = {
2
+ name: 'spinner',
3
+ displayName: 'Spinner',
4
+ category: 'Feedback',
5
+ description: 'Indicates indeterminate loading activity.',
6
+ exports: [
7
+ 'Spinner'
8
+ ],
9
+ source: 'src/components/spinner/spinner.tsx',
10
+ story: 'stories/spinner.stories.tsx',
11
+ tests: [
12
+ 'tests/spinner/spinner.test.tsx'
13
+ ],
14
+ semanticParts: [
15
+ 'root'
16
+ ],
17
+ keywords: [
18
+ 'loading',
19
+ 'progress',
20
+ 'busy'
21
+ ],
22
+ related: [
23
+ 'Button'
24
+ ],
25
+ usage: {
26
+ description: 'Use Spinner for short indeterminate waits when progress cannot be measured.',
27
+ bestPractices: [
28
+ 'Prefer inline placement near the content that is loading.',
29
+ 'Use aria labels for standalone spinners.'
30
+ ],
31
+ avoid: [
32
+ 'Do not use Spinner for determinate progress.'
33
+ ]
34
+ }
35
+ };
36
+ export { spinnerDoc };
@@ -0,0 +1,17 @@
1
+ export declare const splitterDoc: {
2
+ name: string;
3
+ displayName: string;
4
+ category: "Layout";
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,36 @@
1
+ const splitterDoc = {
2
+ name: 'splitter',
3
+ displayName: 'Splitter',
4
+ category: 'Layout',
5
+ description: 'Creates resizable panes separated by draggable handles.',
6
+ exports: [
7
+ 'Splitter'
8
+ ],
9
+ source: 'src/components/splitter/splitter.tsx',
10
+ story: 'stories/splitter.stories.tsx',
11
+ tests: [
12
+ 'tests/splitter/splitter.test.tsx'
13
+ ],
14
+ semanticParts: [
15
+ 'root',
16
+ 'panel',
17
+ 'handle'
18
+ ],
19
+ keywords: [
20
+ 'resizable',
21
+ 'panes',
22
+ 'layout'
23
+ ],
24
+ related: [
25
+ 'Stack',
26
+ 'FormLayout'
27
+ ],
28
+ usage: {
29
+ description: 'Use Splitter for work surfaces where users need to allocate space between adjacent panes.',
30
+ bestPractices: [
31
+ 'Set sensible min sizes.',
32
+ 'Persist sizes only when the layout is user-specific.'
33
+ ]
34
+ }
35
+ };
36
+ export { splitterDoc };
@@ -0,0 +1,16 @@
1
+ export declare const stackDoc: {
2
+ name: string;
3
+ displayName: string;
4
+ category: "Layout";
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
+ };
16
+ };