@qijenchen/design-system 0.1.0-beta.82 → 0.1.0-beta.84
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/CLAUDE.md +8 -8
- package/README.md +3 -2
- package/dist/components/Alert/alert.js.map +1 -1
- package/dist/components/AppShell/_demo-helpers.d.ts.map +1 -1
- package/dist/components/AppShell/app-shell.d.ts +1 -1
- package/dist/components/AppShell/app-shell.d.ts.map +1 -1
- package/dist/components/AppShell/app-shell.js +22 -2
- package/dist/components/AppShell/app-shell.js.map +1 -1
- package/dist/components/Avatar/avatar.d.ts.map +1 -1
- package/dist/components/Avatar/avatar.js +4 -4
- package/dist/components/Avatar/avatar.js.map +1 -1
- package/dist/components/Breadcrumb/breadcrumb.d.ts.map +1 -1
- package/dist/components/Breadcrumb/breadcrumb.js +1 -1
- package/dist/components/Breadcrumb/breadcrumb.js.map +1 -1
- package/dist/components/Button/button.d.ts +2 -2
- package/dist/components/Button/button.d.ts.map +1 -1
- package/dist/components/Button/button.js +12 -3
- package/dist/components/Button/button.js.map +1 -1
- package/dist/components/Calendar/calendar.d.ts +13 -5
- package/dist/components/Calendar/calendar.d.ts.map +1 -1
- package/dist/components/Calendar/calendar.js +7 -1
- package/dist/components/Calendar/calendar.js.map +1 -1
- package/dist/components/Carousel/carousel.d.ts.map +1 -1
- package/dist/components/Carousel/carousel.js +8 -3
- package/dist/components/Carousel/carousel.js.map +1 -1
- package/dist/components/Chart/chart.d.ts.map +1 -1
- package/dist/components/Chart/chart.js +1 -0
- package/dist/components/Chart/chart.js.map +1 -1
- package/dist/components/Checkbox/checkbox.d.ts +1 -1
- package/dist/components/Checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/Checkbox/checkbox.js +8 -4
- package/dist/components/Checkbox/checkbox.js.map +1 -1
- package/dist/components/Chip/chip.d.ts +1 -1
- package/dist/components/Chip/chip.d.ts.map +1 -1
- package/dist/components/Chip/chip.js.map +1 -1
- package/dist/components/Coachmark/coachmark.d.ts +10 -3
- package/dist/components/Coachmark/coachmark.d.ts.map +1 -1
- package/dist/components/Coachmark/coachmark.js.map +1 -1
- package/dist/components/Combobox/combobox.d.ts +5 -1
- package/dist/components/Combobox/combobox.d.ts.map +1 -1
- package/dist/components/Combobox/combobox.js +30 -13
- package/dist/components/Combobox/combobox.js.map +1 -1
- package/dist/components/DataTable/cell-registry.d.ts.map +1 -1
- package/dist/components/DataTable/cell-registry.js +53 -62
- package/dist/components/DataTable/cell-registry.js.map +1 -1
- package/dist/components/DataTable/column-types.d.ts +10 -4
- package/dist/components/DataTable/column-types.d.ts.map +1 -1
- package/dist/components/DataTable/column-types.js.map +1 -1
- package/dist/components/DataTable/data-table-column-visibility-panel.d.ts +1 -1
- package/dist/components/DataTable/data-table-column-visibility-panel.js +183 -0
- package/dist/components/DataTable/data-table-column-visibility-panel.js.map +1 -0
- package/dist/components/DataTable/data-table-filter-panel.d.ts.map +1 -1
- package/dist/components/DataTable/data-table-filter-panel.js +607 -0
- package/dist/components/DataTable/data-table-filter-panel.js.map +1 -0
- package/dist/components/DataTable/data-table-interaction-layer.d.ts +11 -15
- package/dist/components/DataTable/data-table-interaction-layer.d.ts.map +1 -1
- package/dist/components/DataTable/data-table-interaction-layer.js +1 -3
- package/dist/components/DataTable/data-table-interaction-layer.js.map +1 -1
- package/dist/components/DataTable/data-table-sort-manager.js +140 -0
- package/dist/components/DataTable/data-table-sort-manager.js.map +1 -0
- package/dist/components/DataTable/data-table.d.ts +5 -6
- package/dist/components/DataTable/data-table.d.ts.map +1 -1
- package/dist/components/DataTable/data-table.js +36 -15
- package/dist/components/DataTable/data-table.js.map +1 -1
- package/dist/components/DataTable/filter-operators.js +140 -0
- package/dist/components/DataTable/filter-operators.js.map +1 -0
- package/dist/components/DataTable/filter-tree.js +312 -0
- package/dist/components/DataTable/filter-tree.js.map +1 -0
- package/dist/components/DataTable/index.d.ts +3 -0
- package/dist/components/DataTable/index.d.ts.map +1 -1
- package/dist/components/DataTable/index.js +12 -1
- package/dist/components/DataTable/index.js.map +1 -1
- package/dist/components/DataTable/lib/column-meta.js +25 -0
- package/dist/components/DataTable/lib/column-meta.js.map +1 -0
- package/dist/components/DateGrid/date-grid.d.ts.map +1 -1
- package/dist/components/DateGrid/date-grid.js +3 -1
- package/dist/components/DateGrid/date-grid.js.map +1 -1
- package/dist/components/DatePicker/date-picker.d.ts +7 -1
- package/dist/components/DatePicker/date-picker.d.ts.map +1 -1
- package/dist/components/DatePicker/date-picker.js +105 -74
- package/dist/components/DatePicker/date-picker.js.map +1 -1
- package/dist/components/Dialog/dialog.d.ts +20 -3
- package/dist/components/Dialog/dialog.d.ts.map +1 -1
- package/dist/components/Dialog/dialog.js +38 -20
- package/dist/components/Dialog/dialog.js.map +1 -1
- package/dist/components/DropdownMenu/dropdown-menu.d.ts.map +1 -1
- package/dist/components/DropdownMenu/dropdown-menu.js +3 -1
- package/dist/components/DropdownMenu/dropdown-menu.js.map +1 -1
- package/dist/components/Field/field-context.d.ts +45 -5
- package/dist/components/Field/field-context.d.ts.map +1 -1
- package/dist/components/Field/field-context.js +19 -0
- package/dist/components/Field/field-context.js.map +1 -1
- package/dist/components/Field/field-edit-keys.d.ts +21 -0
- package/dist/components/Field/field-edit-keys.d.ts.map +1 -0
- package/dist/components/Field/field-edit-keys.js +19 -0
- package/dist/components/Field/field-edit-keys.js.map +1 -0
- package/dist/components/Field/field-types.d.ts +20 -1
- package/dist/components/Field/field-types.d.ts.map +1 -1
- package/dist/components/Field/field-types.js.map +1 -1
- package/dist/components/Field/field-wrapper.d.ts +3 -2
- package/dist/components/Field/field-wrapper.d.ts.map +1 -1
- package/dist/components/Field/field-wrapper.js +38 -39
- package/dist/components/Field/field-wrapper.js.map +1 -1
- package/dist/components/Field/field.d.ts +2 -1
- package/dist/components/Field/field.d.ts.map +1 -1
- package/dist/components/Field/field.js.map +1 -1
- package/dist/components/FieldControlGroup/field-control-group.d.ts +1 -1
- package/dist/components/FieldControlGroup/field-control-group.js.map +1 -1
- package/dist/components/FileItem/file-item.d.ts.map +1 -1
- package/dist/components/FileItem/file-item.js +1 -1
- package/dist/components/FileItem/file-item.js.map +1 -1
- package/dist/components/FileUpload/file-upload.d.ts +1 -1
- package/dist/components/FileUpload/file-upload.js.map +1 -1
- package/dist/components/FileViewer/file-viewer.d.ts.map +1 -1
- package/dist/components/FileViewer/file-viewer.js +7 -2
- package/dist/components/FileViewer/file-viewer.js.map +1 -1
- package/dist/components/FileViewer/image-renderer.d.ts.map +1 -1
- package/dist/components/FileViewer/image-renderer.js +22 -1
- package/dist/components/FileViewer/image-renderer.js.map +1 -1
- package/dist/components/HoverCard/hover-card.d.ts.map +1 -1
- package/dist/components/HoverCard/hover-card.js +5 -3
- package/dist/components/HoverCard/hover-card.js.map +1 -1
- package/dist/components/InlineEdit/index.d.ts +2 -0
- package/dist/components/InlineEdit/index.d.ts.map +1 -0
- package/dist/components/InlineEdit/index.js +5 -0
- package/dist/components/InlineEdit/index.js.map +1 -0
- package/dist/components/InlineEdit/inline-edit.d.ts +59 -0
- package/dist/components/InlineEdit/inline-edit.d.ts.map +1 -0
- package/dist/components/InlineEdit/inline-edit.js +164 -0
- package/dist/components/InlineEdit/inline-edit.js.map +1 -0
- package/dist/components/Input/input.d.ts +6 -11
- package/dist/components/Input/input.d.ts.map +1 -1
- package/dist/components/Input/input.js +43 -13
- package/dist/components/Input/input.js.map +1 -1
- package/dist/components/LinkInput/link-input.d.ts +2 -2
- package/dist/components/LinkInput/link-input.d.ts.map +1 -1
- package/dist/components/LinkInput/link-input.js +6 -5
- package/dist/components/LinkInput/link-input.js.map +1 -1
- package/dist/components/Menu/menu-item.d.ts +14 -2
- package/dist/components/Menu/menu-item.d.ts.map +1 -1
- package/dist/components/Menu/menu-item.js +25 -3
- package/dist/components/Menu/menu-item.js.map +1 -1
- package/dist/components/NumberInput/number-input.d.ts +3 -3
- package/dist/components/NumberInput/number-input.d.ts.map +1 -1
- package/dist/components/NumberInput/number-input.js +6 -5
- package/dist/components/NumberInput/number-input.js.map +1 -1
- package/dist/components/OverflowIndicator/overflow-indicator.d.ts.map +1 -1
- package/dist/components/OverflowIndicator/overflow-indicator.js +2 -6
- package/dist/components/OverflowIndicator/overflow-indicator.js.map +1 -1
- package/dist/components/Pagination/pagination.js +1 -1
- package/dist/components/Pagination/pagination.js.map +1 -1
- package/dist/components/PeoplePicker/index.js +7 -1
- package/dist/components/PeoplePicker/index.js.map +1 -1
- package/dist/components/PeoplePicker/people-picker.d.ts +9 -2
- package/dist/components/PeoplePicker/people-picker.d.ts.map +1 -1
- package/dist/components/PeoplePicker/people-picker.js +23 -10
- package/dist/components/PeoplePicker/people-picker.js.map +1 -1
- package/dist/components/PeoplePicker/person-display.d.ts +6 -3
- package/dist/components/PeoplePicker/person-display.d.ts.map +1 -1
- package/dist/components/PeoplePicker/person-display.js +19 -14
- package/dist/components/PeoplePicker/person-display.js.map +1 -1
- package/dist/components/Popover/popover.d.ts.map +1 -1
- package/dist/components/Popover/popover.js +3 -1
- package/dist/components/Popover/popover.js.map +1 -1
- package/dist/components/ProfileCard/profile-card.d.ts +2 -2
- package/dist/components/ProfileCard/profile-card.js +3 -3
- package/dist/components/ProfileCard/profile-card.js.map +1 -1
- package/dist/components/RadioGroup/radio-group.d.ts.map +1 -1
- package/dist/components/RadioGroup/radio-group.js +15 -9
- package/dist/components/RadioGroup/radio-group.js.map +1 -1
- package/dist/components/ScrollArea/scroll-area.d.ts +11 -1
- package/dist/components/ScrollArea/scroll-area.d.ts.map +1 -1
- package/dist/components/ScrollArea/scroll-area.js +6 -3
- package/dist/components/ScrollArea/scroll-area.js.map +1 -1
- package/dist/components/Select/select.d.ts +46 -5
- package/dist/components/Select/select.d.ts.map +1 -1
- package/dist/components/Select/select.js +109 -28
- package/dist/components/Select/select.js.map +1 -1
- package/dist/components/SelectMenu/select-menu.d.ts +3 -1
- package/dist/components/SelectMenu/select-menu.d.ts.map +1 -1
- package/dist/components/SelectMenu/select-menu.js +8 -1
- package/dist/components/SelectMenu/select-menu.js.map +1 -1
- package/dist/components/SelectionControl/boolean-value.d.ts +11 -0
- package/dist/components/SelectionControl/boolean-value.d.ts.map +1 -0
- package/dist/components/SelectionControl/boolean-value.js +23 -0
- package/dist/components/SelectionControl/boolean-value.js.map +1 -0
- package/dist/components/SelectionControl/index.d.ts +1 -0
- package/dist/components/SelectionControl/index.d.ts.map +1 -1
- package/dist/components/SelectionControl/index.js +2 -0
- package/dist/components/SelectionControl/index.js.map +1 -1
- package/dist/components/Sheet/index.js +2 -1
- package/dist/components/Sheet/sheet.d.ts +7 -1
- package/dist/components/Sheet/sheet.d.ts.map +1 -1
- package/dist/components/Sheet/sheet.js +5 -2
- package/dist/components/Sheet/sheet.js.map +1 -1
- package/dist/components/Sidebar/sidebar.d.ts +9 -4
- package/dist/components/Sidebar/sidebar.d.ts.map +1 -1
- package/dist/components/Sidebar/sidebar.js +8 -10
- package/dist/components/Sidebar/sidebar.js.map +1 -1
- package/dist/components/Slider/slider.d.ts.map +1 -1
- package/dist/components/Slider/slider.js.map +1 -1
- package/dist/components/Switch/switch.d.ts +6 -6
- package/dist/components/Switch/switch.d.ts.map +1 -1
- package/dist/components/Switch/switch.js +3 -2
- package/dist/components/Switch/switch.js.map +1 -1
- package/dist/components/Tabs/tabs.d.ts.map +1 -1
- package/dist/components/Tabs/tabs.js +15 -1
- package/dist/components/Tabs/tabs.js.map +1 -1
- package/dist/components/Textarea/textarea.d.ts +2 -2
- package/dist/components/Textarea/textarea.d.ts.map +1 -1
- package/dist/components/Textarea/textarea.js +50 -42
- package/dist/components/Textarea/textarea.js.map +1 -1
- package/dist/components/TimePicker/time-columns.d.ts.map +1 -1
- package/dist/components/TimePicker/time-columns.js +42 -38
- package/dist/components/TimePicker/time-columns.js.map +1 -1
- package/dist/components/TimePicker/time-picker.d.ts.map +1 -1
- package/dist/components/TimePicker/time-picker.js +8 -6
- package/dist/components/TimePicker/time-picker.js.map +1 -1
- package/dist/components/Tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/Tooltip/tooltip.js +7 -5
- package/dist/components/Tooltip/tooltip.js.map +1 -1
- package/dist/components/TreeView/tree-view.d.ts +56 -1
- package/dist/components/TreeView/tree-view.d.ts.map +1 -1
- package/dist/components/TreeView/tree-view.js +211 -12
- package/dist/components/TreeView/tree-view.js.map +1 -1
- package/dist/index.d.ts +115 -58
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +93 -108
- package/dist/index.js.map +1 -1
- package/dist/patterns/element-anatomy/item-anatomy.d.ts +7 -6
- package/dist/patterns/element-anatomy/item-anatomy.d.ts.map +1 -1
- package/dist/patterns/element-anatomy/item-anatomy.js.map +1 -1
- package/dist/tokens/categorical-color.js +15 -0
- package/dist/tokens/categorical-color.js.map +1 -1
- package/dist/tokens/motion/motion.d.ts +7 -6
- package/dist/tokens/motion/motion.d.ts.map +1 -1
- package/dist/tokens/motion/motion.js +6 -6
- package/dist/tokens/motion/motion.js.map +1 -1
- package/dist/tokens/motion/overlay-motion.d.ts +19 -0
- package/dist/tokens/motion/overlay-motion.d.ts.map +1 -0
- package/dist/tokens/motion/overlay-motion.js +9 -0
- package/dist/tokens/motion/overlay-motion.js.map +1 -0
- package/dist/tokens/uiSize/icon-size.js +5 -0
- package/dist/tokens/uiSize/icon-size.js.map +1 -0
- package/ds-canonical/fork/governance.lock +37 -19
- package/ds-canonical/fork/hooks/_log-fire.sh +46 -0
- package/ds-canonical/fork/hooks/block_prototype_imports.py +15 -4
- package/ds-canonical/fork/hooks/check_consumer_app_invariants.sh +145 -13
- package/ds-canonical/fork/hooks/check_ds_anchor_preflight.sh +17 -5
- package/ds-canonical/fork/hooks/check_dynamic_tailwind_class.sh +47 -0
- package/ds-canonical/fork/hooks/check_escape_marker_abuse.sh +27 -0
- package/ds-canonical/fork/hooks/check_field_family_invariants.sh +61 -1
- package/ds-canonical/fork/hooks/check_layout_space_magic_numbers.sh +28 -4
- package/ds-canonical/fork/hooks/check_opacity_token_usage.sh +36 -0
- package/ds-canonical/fork/hooks/check_story_determinism.sh +39 -0
- package/ds-canonical/fork/hooks/check_story_invariants.sh +119 -0
- package/ds-canonical/fork/hooks/check_tabs_content_chrome_body_double_gap.sh +29 -0
- package/ds-canonical/fork/manifest.json +20 -0
- package/ds-canonical/fork/preamble.md +22 -18
- package/ds-canonical/fork/skills/bug-fix-rhythm/SKILL.md +9 -3
- package/ds-canonical/fork/skills/code-quality-audit/SKILL.md +3 -3
- package/ds-canonical/fork/skills/delivery-handoff/SKILL.md +7 -0
- package/ds-canonical/fork/skills/performance-audit/SKILL.md +4 -2
- package/ds-canonical/fork/skills/product-ui-audit/SKILL.md +3 -3
- package/ds-canonical/fork/skills/propose-options/SKILL.md +3 -3
- package/ds-canonical/fork/skills/prototype/SKILL.md +1 -1
- package/ds-canonical/fork/skills/scan-similar-bugs/SKILL.md +2 -2
- package/ds-canonical/fork/skills/visual-audit/SKILL.md +10 -2
- package/ds-canonical/hooks/README.md +1 -1
- package/ds-canonical/hooks/block_prototype_imports.py +15 -4
- package/ds-canonical/hooks/check_audit_post_report_validator.sh +65 -7
- package/ds-canonical/hooks/check_benchmark_citation.sh +5 -3
- package/ds-canonical/hooks/check_codex_brief_invariants.sh +28 -1
- package/ds-canonical/hooks/check_consumer_app_invariants.sh +145 -13
- package/ds-canonical/hooks/check_ds_anchor_preflight.sh +17 -5
- package/ds-canonical/hooks/check_dynamic_tailwind_class.sh +47 -0
- package/ds-canonical/hooks/check_escape_marker_abuse.sh +27 -0
- package/ds-canonical/hooks/check_field_family_invariants.sh +61 -1
- package/ds-canonical/hooks/check_layout_space_magic_numbers.sh +28 -4
- package/ds-canonical/hooks/check_naming_and_abstraction.sh +1 -1
- package/ds-canonical/hooks/check_opacity_token_usage.sh +36 -0
- package/ds-canonical/hooks/check_pixel_quantified_audit.sh +3 -2
- package/ds-canonical/hooks/check_post_main_ssot_propagate.sh +6 -1
- package/ds-canonical/hooks/check_propose_without_benchmark.sh +6 -2
- package/ds-canonical/hooks/check_ssot_header_declaration.sh +55 -0
- package/ds-canonical/hooks/check_story_determinism.sh +39 -0
- package/ds-canonical/hooks/check_substantive_edit_approval_preflight.sh +8 -7
- package/ds-canonical/hooks/check_tabs_content_chrome_body_double_gap.sh +29 -0
- package/ds-canonical/hooks/lib/_story_compile_drift.sh +1 -1
- package/ds-canonical/hooks/lib/_token_hygiene.sh +10 -1
- package/ds-canonical/hooks/stop_self_audit.sh +31 -0
- package/ds-canonical/hooks/tests/test_block_prototype_imports.sh +24 -0
- package/ds-canonical/hooks/tests/test_check_audit_post_report_validator.sh +44 -0
- package/ds-canonical/hooks/tests/test_check_benchmark_citation.sh +3 -3
- package/ds-canonical/hooks/tests/test_check_codex_brief_invariants.sh +43 -2
- package/ds-canonical/hooks/tests/test_check_consumer_ds_primitive_misuse.sh +112 -0
- package/ds-canonical/hooks/tests/test_check_consumer_story_baseline.sh +9 -2
- package/ds-canonical/hooks/tests/test_check_dynamic_tailwind_class.sh +76 -0
- package/ds-canonical/hooks/tests/test_check_escape_marker_abuse.sh +24 -0
- package/ds-canonical/hooks/tests/test_check_field_family_invariants.sh +27 -2
- package/ds-canonical/hooks/tests/test_check_fork_user_plugin_install.sh +3 -1
- package/ds-canonical/hooks/tests/test_check_opacity_token_usage.sh +41 -2
- package/ds-canonical/hooks/tests/test_check_ssot_header_declaration.sh +72 -0
- package/ds-canonical/hooks/tests/test_check_tabs_content_chrome_body_double_gap.sh +76 -0
- package/ds-canonical/references/audit-coverage-vs-24-checklist.md +1 -1
- package/ds-canonical/references/build-ui-canonicals.md +2 -1
- package/ds-canonical/references/failure-class-registry.json +145 -0
- package/ds-canonical/references/governance-audit-coverage.md +33 -0
- package/ds-canonical/references/item-anatomy-recipe.md +2 -2
- package/ds-canonical/references/scenario-definition.md +6 -9
- package/ds-canonical/references/ssot-consultation.md +2 -2
- package/ds-canonical/references/ssot-index.md +5 -4
- package/ds-canonical/references/story-baseline-registry.json +8 -2
- package/ds-canonical/references/structural-token-retention.md +6 -9
- package/ds-canonical/rules/meta-patterns.md +8 -8
- package/ds-canonical/rules/self-verify.md +4 -3
- package/ds-canonical/rules/spec-rules.md +1 -1
- package/ds-canonical/rules/story-rules.md +2 -2
- package/ds-canonical/rules/ui-development.md +4 -2
- package/ds-canonical/skills/bug-fix-rhythm/SKILL.md +9 -3
- package/ds-canonical/skills/code-quality-audit/SKILL.md +3 -3
- package/ds-canonical/skills/codex-collab/SKILL.md +9 -7
- package/ds-canonical/skills/codex-collab/references/brief-template.md +1 -1
- package/ds-canonical/skills/codify-principle/SKILL.md +2 -2
- package/ds-canonical/skills/component-quality-gate/SKILL.md +1 -1
- package/ds-canonical/skills/component-quality-gate/references/checklist.md +2 -2
- package/ds-canonical/skills/deep-audit-cross-codex/SKILL.md +57 -68
- package/ds-canonical/skills/deep-audit-cross-codex/references/phase-a-workflow.md +29 -0
- package/ds-canonical/skills/deep-audit-cross-codex/references/phase-b-codex-brief.md +29 -10
- package/ds-canonical/skills/deep-audit-cross-codex/references/triage-rubric.md +21 -0
- package/ds-canonical/skills/delivery-handoff/SKILL.md +5 -0
- package/ds-canonical/skills/design-system-audit/SKILL.md +27 -26
- package/ds-canonical/skills/design-system-audit/references/audit-prompts.md +13 -1
- package/ds-canonical/skills/design-system-audit/references/rule-placement.md +1 -1
- package/ds-canonical/skills/governance-health/SKILL.md +2 -1
- package/ds-canonical/skills/knowledge-prune/SKILL.md +3 -0
- package/ds-canonical/skills/knowledge-prune/references/prune-dimensions-d5-d10.md +1 -0
- package/ds-canonical/skills/new-component/SKILL.md +7 -5
- package/ds-canonical/skills/new-component/references/new-component-checklist.md +1 -1
- package/ds-canonical/skills/performance-audit/SKILL.md +2 -2
- package/ds-canonical/skills/product-ui-audit/SKILL.md +3 -3
- package/ds-canonical/skills/propose-options/SKILL.md +3 -3
- package/ds-canonical/skills/prototype/SKILL.md +1 -1
- package/ds-canonical/skills/scan-similar-bugs/SKILL.md +2 -2
- package/ds-canonical/skills/story-auto-compile-migrate/SKILL.md +3 -3
- package/ds-canonical/skills/story-writing/SKILL.md +3 -3
- package/ds-canonical/skills/visual-audit/SKILL.md +10 -2
- package/ds-story-manifest.json +29 -20
- package/llms-full.txt +22 -1
- package/llms.txt +5 -4
- package/package.json +7 -3
- package/src/components/Accordion/accordion.principles.stories.tsx +1 -1
- package/src/components/Accordion/accordion.stories.tsx +16 -1
- package/src/components/Alert/alert.principles.stories.tsx +1 -1
- package/src/components/Alert/alert.spec.md +8 -10
- package/src/components/Alert/alert.stories.tsx +28 -28
- package/src/components/Alert/alert.tsx +1 -1
- package/src/components/AppShell/_demo-helpers.tsx +6 -3
- package/src/components/AppShell/app-shell.spec.md +4 -4
- package/src/components/AppShell/app-shell.tsx +28 -2
- package/src/components/AspectRatio/aspect-ratio.spec.md +1 -1
- package/src/components/AspectRatio/aspect-ratio.stories.tsx +7 -89
- package/src/components/Avatar/avatar.anatomy.stories.tsx +7 -3
- package/src/components/Avatar/avatar.principles.stories.tsx +19 -15
- package/src/components/Avatar/avatar.spec.md +2 -2
- package/src/components/Avatar/avatar.stories.tsx +8 -6
- package/src/components/Avatar/avatar.tsx +13 -5
- package/src/components/Badge/badge.principles.stories.tsx +1 -1
- package/src/components/Badge/badge.spec.md +2 -0
- package/src/components/Badge/badge.stories.tsx +4 -2
- package/src/components/Breadcrumb/breadcrumb.principles.stories.tsx +6 -4
- package/src/components/Breadcrumb/breadcrumb.stories.tsx +6 -5
- package/src/components/Breadcrumb/breadcrumb.tsx +3 -2
- package/src/components/BulkActionBar/bulk-action-bar.spec.md +4 -2
- package/src/components/Button/button.principles.stories.tsx +1 -1
- package/src/components/Button/button.spec.md +2 -2
- package/src/components/Button/button.tsx +18 -3
- package/src/components/Calendar/calendar.anatomy.stories.tsx +12 -10
- package/src/components/Calendar/calendar.principles.stories.tsx +14 -6
- package/src/components/Calendar/calendar.spec.md +5 -4
- package/src/components/Calendar/calendar.stories.tsx +7 -4
- package/src/components/Calendar/calendar.tsx +26 -7
- package/src/components/Carousel/carousel.anatomy.stories.tsx +5 -4
- package/src/components/Carousel/carousel.spec.md +2 -2
- package/src/components/Carousel/carousel.tsx +11 -3
- package/src/components/Chart/chart.anatomy.stories.tsx +7 -4
- package/src/components/Chart/chart.principles.stories.tsx +1 -1
- package/src/components/Chart/chart.stories.tsx +2 -8
- package/src/components/Chart/chart.tsx +3 -0
- package/src/components/Checkbox/checkbox.anatomy.stories.tsx +28 -49
- package/src/components/Checkbox/checkbox.principles.stories.tsx +1 -1
- package/src/components/Checkbox/checkbox.spec.md +11 -26
- package/src/components/Checkbox/checkbox.stories.tsx +11 -8
- package/src/components/Checkbox/checkbox.tsx +18 -13
- package/src/components/Chip/chip.anatomy.stories.tsx +44 -24
- package/src/components/Chip/chip.principles.stories.tsx +1 -1
- package/src/components/Chip/chip.spec.md +5 -4
- package/src/components/Chip/chip.tsx +5 -1
- package/src/components/CircularProgress/circular-progress.principles.stories.tsx +7 -4
- package/src/components/CircularProgress/circular-progress.spec.md +3 -3
- package/src/components/CircularProgress/circular-progress.stories.tsx +2 -2
- package/src/components/Coachmark/coachmark.anatomy.stories.tsx +2 -2
- package/src/components/Coachmark/coachmark.principles.stories.tsx +2 -1
- package/src/components/Coachmark/coachmark.spec.md +5 -5
- package/src/components/Coachmark/coachmark.stories.tsx +3 -1
- package/src/components/Coachmark/coachmark.tsx +10 -3
- package/src/components/Combobox/combobox.anatomy.stories.tsx +2 -2
- package/src/components/Combobox/combobox.tsx +53 -19
- package/src/components/Command/command.anatomy.stories.tsx +2 -2
- package/src/components/Command/command.principles.stories.tsx +1 -1
- package/src/components/Command/command.stories.tsx +42 -10
- package/src/components/DataTable/cell-registry.tsx +86 -63
- package/src/components/DataTable/column-types.ts +10 -1
- package/src/components/DataTable/data-table-column-visibility-panel.tsx +1 -1
- package/src/components/DataTable/data-table-filter-panel.tsx +4 -1
- package/src/components/DataTable/data-table-interaction-layer.tsx +15 -19
- package/src/components/DataTable/data-table.anatomy.stories.tsx +15 -13
- package/src/components/DataTable/data-table.principles.stories.tsx +9 -9
- package/src/components/DataTable/data-table.spec.md +32 -12
- package/src/components/DataTable/data-table.stories.tsx +16 -17
- package/src/components/DataTable/data-table.tsx +103 -60
- package/src/components/DataTable/index.ts +3 -0
- package/src/components/DateGrid/date-grid.anatomy.stories.tsx +4 -4
- package/src/components/DateGrid/date-grid.principles.stories.tsx +1 -1
- package/src/components/DateGrid/date-grid.spec.md +1 -1
- package/src/components/DateGrid/date-grid.tsx +3 -1
- package/src/components/DatePicker/date-picker.anatomy.stories.tsx +8 -8
- package/src/components/DatePicker/date-picker.principles.stories.tsx +3 -3
- package/src/components/DatePicker/date-picker.spec.md +3 -3
- package/src/components/DatePicker/date-picker.stories.tsx +4 -5
- package/src/components/DatePicker/date-picker.tsx +99 -45
- package/src/components/DescriptionList/description-list.anatomy.stories.tsx +12 -10
- package/src/components/DescriptionList/description-list.principles.stories.tsx +2 -2
- package/src/components/DescriptionList/description-list.spec.md +3 -3
- package/src/components/DescriptionList/description-list.stories.tsx +7 -6
- package/src/components/Dialog/dialog.anatomy.stories.tsx +1 -0
- package/src/components/Dialog/dialog.spec.md +9 -0
- package/src/components/Dialog/dialog.stories.tsx +66 -5
- package/src/components/Dialog/dialog.tsx +60 -25
- package/src/components/DropdownMenu/dropdown-menu.anatomy.stories.tsx +1 -1
- package/src/components/DropdownMenu/dropdown-menu.principles.stories.tsx +8 -6
- package/src/components/DropdownMenu/dropdown-menu.spec.md +5 -5
- package/src/components/DropdownMenu/dropdown-menu.tsx +18 -9
- package/src/components/Empty/empty.anatomy.stories.tsx +1 -1
- package/src/components/Empty/empty.spec.md +2 -2
- package/src/components/Field/field-context.ts +69 -5
- package/src/components/Field/field-controls.spec.md +62 -8
- package/src/components/Field/field-edit-keys.ts +66 -0
- package/src/components/Field/field-types.ts +58 -9
- package/src/components/Field/field-wrapper.tsx +50 -42
- package/src/components/Field/field.anatomy.stories.tsx +9 -6
- package/src/components/Field/field.spec.md +1 -1
- package/src/components/Field/field.stories.tsx +1 -1
- package/src/components/Field/field.tsx +2 -1
- package/src/components/Field/form-validation.spec.md +3 -3
- package/src/components/FieldControlGroup/field-control-group.principles.stories.tsx +6 -6
- package/src/components/FieldControlGroup/field-control-group.spec.md +9 -4
- package/src/components/FieldControlGroup/field-control-group.tsx +1 -1
- package/src/components/FileItem/file-item.anatomy.stories.tsx +1 -1
- package/src/components/FileItem/file-item.spec.md +14 -8
- package/src/components/FileItem/file-item.stories.tsx +36 -25
- package/src/components/FileItem/file-item.tsx +8 -6
- package/src/components/FileUpload/file-upload.anatomy.stories.tsx +6 -6
- package/src/components/FileUpload/file-upload.principles.stories.tsx +5 -5
- package/src/components/FileUpload/file-upload.spec.md +1 -1
- package/src/components/FileUpload/file-upload.tsx +1 -1
- package/src/components/FileViewer/file-viewer.anatomy.stories.tsx +4 -3
- package/src/components/FileViewer/file-viewer.principles.stories.tsx +3 -3
- package/src/components/FileViewer/file-viewer.spec.md +30 -12
- package/src/components/FileViewer/file-viewer.stories.tsx +1 -2
- package/src/components/FileViewer/file-viewer.tsx +12 -4
- package/src/components/FileViewer/image-renderer.tsx +35 -7
- package/src/components/HoverCard/hover-card.anatomy.stories.tsx +6 -2
- package/src/components/HoverCard/hover-card.principles.stories.tsx +6 -3
- package/src/components/HoverCard/hover-card.spec.md +5 -5
- package/src/components/HoverCard/hover-card.stories.tsx +16 -16
- package/src/components/HoverCard/hover-card.tsx +5 -3
- package/src/components/InlineEdit/index.ts +5 -0
- package/src/components/InlineEdit/inline-edit.spec.md +149 -0
- package/src/components/InlineEdit/inline-edit.stories.tsx +246 -0
- package/src/components/InlineEdit/inline-edit.tsx +287 -0
- package/src/components/Input/input.anatomy.stories.tsx +8 -7
- package/src/components/Input/input.principles.stories.tsx +2 -12
- package/src/components/Input/input.spec.md +13 -18
- package/src/components/Input/input.tsx +69 -22
- package/src/components/LinkInput/link-input.anatomy.stories.tsx +1 -1
- package/src/components/LinkInput/link-input.principles.stories.tsx +2 -2
- package/src/components/LinkInput/link-input.tsx +11 -10
- package/src/components/Menu/menu-item.anatomy.stories.tsx +3 -3
- package/src/components/Menu/menu-item.principles.stories.tsx +1 -1
- package/src/components/Menu/menu-item.spec.md +22 -15
- package/src/components/Menu/menu-item.stories.tsx +39 -11
- package/src/components/Menu/menu-item.tsx +38 -4
- package/src/components/Notice/notice.principles.stories.tsx +1 -1
- package/src/components/Notice/notice.spec.md +16 -3
- package/src/components/NumberInput/number-input.anatomy.stories.tsx +3 -3
- package/src/components/NumberInput/number-input.principles.stories.tsx +1 -1
- package/src/components/NumberInput/number-input.spec.md +4 -4
- package/src/components/NumberInput/number-input.tsx +19 -12
- package/src/components/OverflowIndicator/overflow-indicator.anatomy.stories.tsx +10 -8
- package/src/components/OverflowIndicator/overflow-indicator.principles.stories.tsx +3 -3
- package/src/components/OverflowIndicator/overflow-indicator.spec.md +4 -2
- package/src/components/OverflowIndicator/overflow-indicator.stories.tsx +71 -63
- package/src/components/OverflowIndicator/overflow-indicator.tsx +9 -8
- package/src/components/Pagination/pagination.spec.md +1 -1
- package/src/components/Pagination/pagination.stories.tsx +2 -6
- package/src/components/Pagination/pagination.tsx +1 -1
- package/src/components/PeoplePicker/people-picker.anatomy.stories.tsx +4 -4
- package/src/components/PeoplePicker/people-picker.principles.stories.tsx +2 -2
- package/src/components/PeoplePicker/people-picker.spec.md +6 -6
- package/src/components/PeoplePicker/people-picker.tsx +56 -16
- package/src/components/PeoplePicker/person-display.tsx +32 -16
- package/src/components/Popover/popover.anatomy.stories.tsx +2 -2
- package/src/components/Popover/popover.tsx +3 -1
- package/src/components/ProfileCard/profile-card.anatomy.stories.tsx +12 -23
- package/src/components/ProfileCard/profile-card.spec.md +3 -3
- package/src/components/ProfileCard/profile-card.tsx +6 -6
- package/src/components/ProgressBar/progress-bar.anatomy.stories.tsx +3 -1
- package/src/components/ProgressBar/progress-bar.principles.stories.tsx +1 -1
- package/src/components/ProgressBar/progress-bar.stories.tsx +50 -42
- package/src/components/RadioGroup/radio-group.anatomy.stories.tsx +10 -28
- package/src/components/RadioGroup/radio-group.stories.tsx +29 -32
- package/src/components/RadioGroup/radio-group.tsx +41 -15
- package/src/components/Rating/rating.spec.md +11 -3
- package/src/components/ScrollArea/scroll-area.anatomy.stories.tsx +1 -1
- package/src/components/ScrollArea/scroll-area.principles.stories.tsx +1 -1
- package/src/components/ScrollArea/scroll-area.spec.md +7 -3
- package/src/components/ScrollArea/scroll-area.stories.tsx +1 -1
- package/src/components/ScrollArea/scroll-area.tsx +17 -4
- package/src/components/Select/select.anatomy.stories.tsx +3 -3
- package/src/components/Select/select.spec.md +27 -17
- package/src/components/Select/select.stories.tsx +33 -0
- package/src/components/Select/select.tsx +190 -36
- package/src/components/SelectMenu/select-menu.anatomy.stories.tsx +4 -4
- package/src/components/SelectMenu/select-menu.spec.md +15 -7
- package/src/components/SelectMenu/select-menu.tsx +16 -3
- package/src/components/SelectionControl/boolean-value.tsx +39 -0
- package/src/components/SelectionControl/index.ts +1 -0
- package/src/components/SelectionControl/selection-item.anatomy.stories.tsx +2 -2
- package/src/components/SelectionControl/selection-item.principles.stories.tsx +2 -2
- package/src/components/SelectionControl/selection-item.spec.md +3 -3
- package/src/components/SelectionControl/selection-item.stories.tsx +3 -3
- package/src/components/Separator/separator.spec.md +2 -2
- package/src/components/Separator/separator.stories.tsx +6 -27
- package/src/components/Sheet/sheet.anatomy.stories.tsx +1 -1
- package/src/components/Sheet/sheet.principles.stories.tsx +1 -1
- package/src/components/Sheet/sheet.spec.md +2 -2
- package/src/components/Sheet/sheet.tsx +9 -5
- package/src/components/Sidebar/sidebar.anatomy.stories.tsx +16 -12
- package/src/components/Sidebar/sidebar.principles.stories.tsx +10 -8
- package/src/components/Sidebar/sidebar.spec.md +13 -15
- package/src/components/Sidebar/sidebar.stories.tsx +8 -7
- package/src/components/Sidebar/sidebar.tsx +37 -25
- package/src/components/Skeleton/skeleton.stories.tsx +4 -11
- package/src/components/Slider/slider.anatomy.stories.tsx +3 -3
- package/src/components/Slider/slider.principles.stories.tsx +2 -2
- package/src/components/Slider/slider.spec.md +5 -5
- package/src/components/Slider/slider.tsx +3 -1
- package/src/components/Steps/steps.anatomy.stories.tsx +4 -4
- package/src/components/Steps/steps.principles.stories.tsx +1 -1
- package/src/components/Steps/steps.spec.md +1 -1
- package/src/components/Switch/switch.anatomy.stories.tsx +7 -7
- package/src/components/Switch/switch.principles.stories.tsx +4 -4
- package/src/components/Switch/switch.spec.md +8 -8
- package/src/components/Switch/switch.stories.tsx +9 -24
- package/src/components/Switch/switch.tsx +17 -13
- package/src/components/Tabs/tabs.anatomy.stories.tsx +10 -7
- package/src/components/Tabs/tabs.spec.md +1 -1
- package/src/components/Tabs/tabs.tsx +21 -1
- package/src/components/Textarea/textarea.anatomy.stories.tsx +1 -1
- package/src/components/Textarea/textarea.principles.stories.tsx +1 -1
- package/src/components/Textarea/textarea.spec.md +4 -4
- package/src/components/Textarea/textarea.tsx +72 -46
- package/src/components/TimePicker/time-columns.tsx +6 -2
- package/src/components/TimePicker/time-picker.principles.stories.tsx +1 -1
- package/src/components/TimePicker/time-picker.spec.md +3 -3
- package/src/components/TimePicker/time-picker.tsx +16 -10
- package/src/components/Toast/toast.stories.tsx +7 -4
- package/src/components/Tooltip/tooltip.anatomy.stories.tsx +4 -4
- package/src/components/Tooltip/tooltip.principles.stories.tsx +3 -3
- package/src/components/Tooltip/tooltip.spec.md +1 -1
- package/src/components/Tooltip/tooltip.stories.tsx +4 -39
- package/src/components/Tooltip/tooltip.tsx +8 -6
- package/src/components/TreeView/tree-view.anatomy.stories.tsx +6 -3
- package/src/components/TreeView/tree-view.spec.md +42 -11
- package/src/components/TreeView/tree-view.stories.tsx +1 -0
- package/src/components/TreeView/tree-view.tsx +322 -17
- package/src/index.ts +584 -60
- package/src/patterns/action-bar/action-bar.spec.md +9 -0
- package/src/patterns/action-bar/action-bar.stories.tsx +6 -3
- package/src/patterns/element-anatomy/inline-action.spec.md +2 -0
- package/src/patterns/element-anatomy/item-anatomy.spec.md +14 -5
- package/src/patterns/element-anatomy/item-anatomy.stories.tsx +6 -4
- package/src/patterns/element-anatomy/item-anatomy.tsx +7 -6
- package/src/patterns/header-canonical/header-canonical.spec.md +5 -4
- package/src/patterns/overlay-surface/overlay-surface.spec.md +22 -1
- package/src/styles/tokens.css +3 -0
- package/src/tokens/README.md +1 -1
- package/src/tokens/color/color.spec.md +3 -3
- package/src/tokens/color/color.stories.tsx +3 -3
- package/src/tokens/density/density.stories.tsx +16 -3
- package/src/tokens/layoutSpace/layoutSpace.spec.md +3 -1
- package/src/tokens/motion/motion.css +33 -21
- package/src/tokens/motion/motion.spec.md +32 -15
- package/src/tokens/motion/motion.stories.tsx +58 -5
- package/src/tokens/motion/motion.ts +7 -6
- package/src/tokens/motion/overlay-motion.ts +26 -0
- package/src/tokens/orphan-tokens.spec.md +4 -4
- package/src/tokens/token-system.spec.md +1 -0
- package/src/tokens/uiSize/uiSize.spec.md +1 -1
- package/src/tokens/uiSize/uiSize.stories.tsx +4 -2
- package/src/tokens/utility-registry.json +160 -23
package/src/index.ts
CHANGED
|
@@ -1,67 +1,584 @@
|
|
|
1
1
|
// 2026-05-22 Phase 1 team-distribution-roadmap:barrel auto-generated by scripts/gen-design-system-barrel.mjs
|
|
2
2
|
// Re-export 主元件 / patterns / hooks / lib(consumers can also use subpath imports per package.json exports map)
|
|
3
|
+
// 2026-07-14 API 策展(user 拍板「全部收窄」):components/patterns 改 named re-exports,
|
|
4
|
+
// 全部 `<camel>Meta`(componentMeta 建置/稽核 metadata,非 consumer API)收窄出 front-door。
|
|
5
|
+
// *Meta / internal 仍可經 per-component subpath(components/<Dir> 的 index.ts export *)消費。
|
|
3
6
|
|
|
4
|
-
// ─── Components
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
export
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
export
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
export
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
export
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
export
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
export
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
export
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
export
|
|
59
|
-
|
|
7
|
+
// ─── Components(named re-exports;/Meta$/ 收窄出 front-door)──────────────
|
|
8
|
+
export {
|
|
9
|
+
Accordion,
|
|
10
|
+
AccordionContent,
|
|
11
|
+
AccordionItem,
|
|
12
|
+
AccordionTrigger,
|
|
13
|
+
} from './components/Accordion/index'
|
|
14
|
+
export {
|
|
15
|
+
Alert,
|
|
16
|
+
alertVariants,
|
|
17
|
+
} from './components/Alert/index'
|
|
18
|
+
export type {
|
|
19
|
+
AlertProps,
|
|
20
|
+
} from './components/Alert/index'
|
|
21
|
+
export {
|
|
22
|
+
AppShell,
|
|
23
|
+
AppShellAside,
|
|
24
|
+
useAppShell,
|
|
25
|
+
} from './components/AppShell/index'
|
|
26
|
+
export type {
|
|
27
|
+
AppShellAsideProps,
|
|
28
|
+
AppShellProps,
|
|
29
|
+
} from './components/AppShell/index'
|
|
30
|
+
export {
|
|
31
|
+
AspectRatio,
|
|
32
|
+
} from './components/AspectRatio/index'
|
|
33
|
+
export type {
|
|
34
|
+
AspectRatioProps,
|
|
35
|
+
} from './components/AspectRatio/index'
|
|
36
|
+
export {
|
|
37
|
+
Avatar,
|
|
38
|
+
} from './components/Avatar/index'
|
|
39
|
+
export type {
|
|
40
|
+
AvatarData,
|
|
41
|
+
AvatarProps,
|
|
42
|
+
} from './components/Avatar/index'
|
|
43
|
+
export {
|
|
44
|
+
Badge,
|
|
45
|
+
badgeVariants,
|
|
46
|
+
} from './components/Badge/index'
|
|
47
|
+
export type {
|
|
48
|
+
BadgeCountProps,
|
|
49
|
+
BadgeDotProps,
|
|
50
|
+
BadgeProps,
|
|
51
|
+
} from './components/Badge/index'
|
|
52
|
+
export {
|
|
53
|
+
Breadcrumb,
|
|
54
|
+
BreadcrumbEllipsis,
|
|
55
|
+
BreadcrumbItem,
|
|
56
|
+
BreadcrumbLink,
|
|
57
|
+
BreadcrumbList,
|
|
58
|
+
BreadcrumbPage,
|
|
59
|
+
BreadcrumbSeparator,
|
|
60
|
+
} from './components/Breadcrumb/index'
|
|
61
|
+
export type {
|
|
62
|
+
BreadcrumbEllipsisProps,
|
|
63
|
+
BreadcrumbItemSpec,
|
|
64
|
+
BreadcrumbListProps,
|
|
65
|
+
BreadcrumbSize,
|
|
66
|
+
} from './components/Breadcrumb/index'
|
|
67
|
+
export {
|
|
68
|
+
BULK_ACTION_BAR_DEFAULT_LABELS,
|
|
69
|
+
BulkActionBar,
|
|
70
|
+
} from './components/BulkActionBar/index'
|
|
71
|
+
export type {
|
|
72
|
+
BulkActionBarLabels,
|
|
73
|
+
BulkActionBarProps,
|
|
74
|
+
} from './components/BulkActionBar/index'
|
|
75
|
+
export {
|
|
76
|
+
Button,
|
|
77
|
+
ButtonDivider,
|
|
78
|
+
ButtonGroup,
|
|
79
|
+
ButtonGroupContext,
|
|
80
|
+
buttonVariants,
|
|
81
|
+
} from './components/Button/index'
|
|
82
|
+
export type {
|
|
83
|
+
ButtonProps,
|
|
84
|
+
} from './components/Button/index'
|
|
85
|
+
export {
|
|
86
|
+
Calendar,
|
|
87
|
+
} from './components/Calendar/index'
|
|
88
|
+
export type {
|
|
89
|
+
CalendarEvent,
|
|
90
|
+
CalendarProps,
|
|
91
|
+
CalendarView,
|
|
92
|
+
} from './components/Calendar/index'
|
|
93
|
+
export {
|
|
94
|
+
Carousel,
|
|
95
|
+
CarouselContent,
|
|
96
|
+
CarouselDots,
|
|
97
|
+
CarouselItem,
|
|
98
|
+
CarouselNext,
|
|
99
|
+
CarouselPrevious,
|
|
100
|
+
} from './components/Carousel/index'
|
|
101
|
+
export type {
|
|
102
|
+
CarouselApi,
|
|
103
|
+
} from './components/Carousel/index'
|
|
104
|
+
export {
|
|
105
|
+
ChartContainer,
|
|
106
|
+
ChartLegend,
|
|
107
|
+
ChartLegendContent,
|
|
108
|
+
ChartStyle,
|
|
109
|
+
ChartTooltip,
|
|
110
|
+
ChartTooltipContent,
|
|
111
|
+
} from './components/Chart/index'
|
|
112
|
+
export type {
|
|
113
|
+
ChartConfig,
|
|
114
|
+
} from './components/Chart/index'
|
|
115
|
+
export {
|
|
116
|
+
Checkbox,
|
|
117
|
+
CheckboxGroup,
|
|
118
|
+
CheckboxGroupContext,
|
|
119
|
+
checkboxVariants,
|
|
120
|
+
} from './components/Checkbox/index'
|
|
121
|
+
export type {
|
|
122
|
+
CheckboxGroupProps,
|
|
123
|
+
CheckboxProps,
|
|
124
|
+
} from './components/Checkbox/index'
|
|
125
|
+
export {
|
|
126
|
+
Chip,
|
|
127
|
+
ChipGroup,
|
|
128
|
+
chipVariants,
|
|
129
|
+
} from './components/Chip/index'
|
|
130
|
+
export type {
|
|
131
|
+
ChipGroupLayout,
|
|
132
|
+
ChipGroupProps,
|
|
133
|
+
ChipProps,
|
|
134
|
+
} from './components/Chip/index'
|
|
135
|
+
export {
|
|
136
|
+
CircularProgress,
|
|
137
|
+
} from './components/CircularProgress/index'
|
|
138
|
+
export type {
|
|
139
|
+
CircularProgressProps,
|
|
140
|
+
} from './components/CircularProgress/index'
|
|
141
|
+
export {
|
|
142
|
+
Coachmark,
|
|
143
|
+
} from './components/Coachmark/index'
|
|
144
|
+
export type {
|
|
145
|
+
CoachmarkProps,
|
|
146
|
+
} from './components/Coachmark/index'
|
|
147
|
+
export {
|
|
148
|
+
Combobox,
|
|
149
|
+
} from './components/Combobox/index'
|
|
150
|
+
export type {
|
|
151
|
+
ComboboxOption,
|
|
152
|
+
ComboboxProps,
|
|
153
|
+
} from './components/Combobox/index'
|
|
154
|
+
export {
|
|
155
|
+
DataTable,
|
|
156
|
+
DataTableColumnVisibilityPanel,
|
|
157
|
+
DataTableFilterPanel,
|
|
158
|
+
DataTableSortManager,
|
|
159
|
+
MIN_COLUMN_WIDTH,
|
|
160
|
+
createEmptyFilterTree,
|
|
161
|
+
dataTableFilterMatch,
|
|
162
|
+
dataTableVariants,
|
|
163
|
+
evaluateTree,
|
|
164
|
+
isFilterTreeActive,
|
|
165
|
+
} from './components/DataTable/index'
|
|
166
|
+
export type {
|
|
167
|
+
Conjunction,
|
|
168
|
+
DataTableColumnVisibilityPanelProps,
|
|
169
|
+
DataTableFilterPanelProps,
|
|
170
|
+
DataTablePaginationOptions,
|
|
171
|
+
DataTableProps,
|
|
172
|
+
DataTableSelection,
|
|
173
|
+
DataTableSortManagerProps,
|
|
174
|
+
FilterCondition,
|
|
175
|
+
FilterGroup,
|
|
176
|
+
FilterTree,
|
|
177
|
+
FilterTreeFlat,
|
|
178
|
+
FilterTreeNested,
|
|
179
|
+
} from './components/DataTable/index'
|
|
180
|
+
export {
|
|
181
|
+
DatePicker,
|
|
182
|
+
DatePickerRange,
|
|
183
|
+
formatDate,
|
|
184
|
+
} from './components/DatePicker/index'
|
|
185
|
+
export type {
|
|
186
|
+
DateFormatOptions,
|
|
187
|
+
DatePickerProps,
|
|
188
|
+
DatePickerRangeProps,
|
|
189
|
+
} from './components/DatePicker/index'
|
|
190
|
+
export {
|
|
191
|
+
DescriptionItem,
|
|
192
|
+
DescriptionList,
|
|
193
|
+
} from './components/DescriptionList/index'
|
|
194
|
+
export type {
|
|
195
|
+
DescriptionDirection,
|
|
196
|
+
DescriptionItemProps,
|
|
197
|
+
DescriptionListProps,
|
|
198
|
+
} from './components/DescriptionList/index'
|
|
199
|
+
export {
|
|
200
|
+
Dialog,
|
|
201
|
+
DialogBody,
|
|
202
|
+
DialogClose,
|
|
203
|
+
DialogContent,
|
|
204
|
+
DialogDescription,
|
|
205
|
+
DialogFooter,
|
|
206
|
+
DialogHeader,
|
|
207
|
+
DialogOverlay,
|
|
208
|
+
DialogPortal,
|
|
209
|
+
DialogTitle,
|
|
210
|
+
DialogTrigger,
|
|
211
|
+
} from './components/Dialog/index'
|
|
212
|
+
export type {
|
|
213
|
+
DialogHeaderProps,
|
|
214
|
+
} from './components/Dialog/index'
|
|
215
|
+
export {
|
|
216
|
+
DropdownMenu,
|
|
217
|
+
DropdownMenuCheckboxItem,
|
|
218
|
+
DropdownMenuContent,
|
|
219
|
+
DropdownMenuGroup,
|
|
220
|
+
DropdownMenuItem,
|
|
221
|
+
DropdownMenuLabel,
|
|
222
|
+
DropdownMenuPortal,
|
|
223
|
+
DropdownMenuRadioGroup,
|
|
224
|
+
DropdownMenuRadioItem,
|
|
225
|
+
DropdownMenuSeparator,
|
|
226
|
+
DropdownMenuShortcut,
|
|
227
|
+
DropdownMenuSub,
|
|
228
|
+
DropdownMenuSubContent,
|
|
229
|
+
DropdownMenuSubTrigger,
|
|
230
|
+
DropdownMenuTrigger,
|
|
231
|
+
floatingLayerClass,
|
|
232
|
+
} from './components/DropdownMenu/index'
|
|
233
|
+
export type {
|
|
234
|
+
DropdownMenuItemProps,
|
|
235
|
+
SizeKey,
|
|
236
|
+
} from './components/DropdownMenu/index'
|
|
237
|
+
export {
|
|
238
|
+
Empty,
|
|
239
|
+
} from './components/Empty/index'
|
|
240
|
+
export type {
|
|
241
|
+
EmptyProps,
|
|
242
|
+
} from './components/Empty/index'
|
|
243
|
+
export {
|
|
244
|
+
Field,
|
|
245
|
+
FieldDescription,
|
|
246
|
+
FieldError,
|
|
247
|
+
FieldGroup,
|
|
248
|
+
FieldLabel,
|
|
249
|
+
useFormValidation,
|
|
250
|
+
} from './components/Field/index'
|
|
251
|
+
export type {
|
|
252
|
+
FieldGroupProps,
|
|
253
|
+
FieldLabelProps,
|
|
254
|
+
FieldProps,
|
|
255
|
+
FormFieldInputProps,
|
|
256
|
+
UseFormValidationOptions,
|
|
257
|
+
UseFormValidationReturn,
|
|
258
|
+
} from './components/Field/index'
|
|
259
|
+
export {
|
|
260
|
+
FieldControlGroup,
|
|
261
|
+
} from './components/FieldControlGroup/index'
|
|
262
|
+
export type {
|
|
263
|
+
FieldControlGroupProps,
|
|
264
|
+
} from './components/FieldControlGroup/index'
|
|
265
|
+
export {
|
|
266
|
+
FileItem,
|
|
267
|
+
} from './components/FileItem/index'
|
|
268
|
+
export type {
|
|
269
|
+
FileItemProps,
|
|
270
|
+
} from './components/FileItem/index'
|
|
271
|
+
export {
|
|
272
|
+
FileUpload,
|
|
273
|
+
} from './components/FileUpload/index'
|
|
274
|
+
export type {
|
|
275
|
+
FileUploadProps,
|
|
276
|
+
FileUploadStatus,
|
|
277
|
+
} from './components/FileUpload/index'
|
|
278
|
+
export {
|
|
279
|
+
FileViewer,
|
|
280
|
+
registerFileRenderer,
|
|
281
|
+
} from './components/FileViewer/index'
|
|
282
|
+
export type {
|
|
283
|
+
FileInfo,
|
|
284
|
+
FileRenderer,
|
|
285
|
+
FileRendererCapabilities,
|
|
286
|
+
FileRendererProps,
|
|
287
|
+
FileViewerLabels,
|
|
288
|
+
FileViewerProps,
|
|
289
|
+
} from './components/FileViewer/index'
|
|
290
|
+
export {
|
|
291
|
+
InlineEdit,
|
|
292
|
+
} from './components/InlineEdit/index'
|
|
293
|
+
export type {
|
|
294
|
+
InlineEditProps,
|
|
295
|
+
InlineEditRenderProps,
|
|
296
|
+
} from './components/InlineEdit/index'
|
|
297
|
+
export {
|
|
298
|
+
Input,
|
|
299
|
+
} from './components/Input/index'
|
|
300
|
+
export type {
|
|
301
|
+
InputProps,
|
|
302
|
+
} from './components/Input/index'
|
|
303
|
+
export {
|
|
304
|
+
LinkInput,
|
|
305
|
+
} from './components/LinkInput/index'
|
|
306
|
+
export type {
|
|
307
|
+
LinkInputProps,
|
|
308
|
+
} from './components/LinkInput/index'
|
|
309
|
+
export {
|
|
310
|
+
NumberInput,
|
|
311
|
+
formatNumber,
|
|
312
|
+
} from './components/NumberInput/index'
|
|
313
|
+
export type {
|
|
314
|
+
NumberFormatOptions,
|
|
315
|
+
NumberInputProps,
|
|
316
|
+
} from './components/NumberInput/index'
|
|
317
|
+
export {
|
|
318
|
+
Pagination,
|
|
319
|
+
} from './components/Pagination/index'
|
|
320
|
+
export type {
|
|
321
|
+
PaginationProps,
|
|
322
|
+
} from './components/Pagination/index'
|
|
323
|
+
export {
|
|
324
|
+
MultiPersonDisplay,
|
|
325
|
+
PEOPLE_PICKER_LENGTH1_WRAPPER_CLASS,
|
|
326
|
+
PeoplePicker,
|
|
327
|
+
PersonAvatarTag,
|
|
328
|
+
PersonDisplay,
|
|
329
|
+
buildPersonProfileCard,
|
|
330
|
+
getPeoplePickerTagWrapperClass,
|
|
331
|
+
resolvePerson,
|
|
332
|
+
} from './components/PeoplePicker/index'
|
|
333
|
+
export type {
|
|
334
|
+
PeoplePickerProps,
|
|
335
|
+
PersonData,
|
|
336
|
+
PersonValue,
|
|
337
|
+
} from './components/PeoplePicker/index'
|
|
338
|
+
export {
|
|
339
|
+
Popover,
|
|
340
|
+
PopoverAnchor,
|
|
341
|
+
PopoverBody,
|
|
342
|
+
PopoverClose,
|
|
343
|
+
PopoverContent,
|
|
344
|
+
PopoverFooter,
|
|
345
|
+
PopoverHeader,
|
|
346
|
+
PopoverTitle,
|
|
347
|
+
PopoverTrigger,
|
|
348
|
+
} from './components/Popover/index'
|
|
349
|
+
export {
|
|
350
|
+
NAMECARD_DEFAULT_FIELD_KEYS,
|
|
351
|
+
ProfileCard,
|
|
352
|
+
ProfileCardDefaultActions,
|
|
353
|
+
} from './components/ProfileCard/index'
|
|
354
|
+
export type {
|
|
355
|
+
ProfileCardProps,
|
|
356
|
+
} from './components/ProfileCard/index'
|
|
357
|
+
export {
|
|
358
|
+
ProgressBar,
|
|
359
|
+
} from './components/ProgressBar/index'
|
|
360
|
+
export type {
|
|
361
|
+
ProgressBarProps,
|
|
362
|
+
} from './components/ProgressBar/index'
|
|
363
|
+
export {
|
|
364
|
+
RadioGroup,
|
|
365
|
+
RadioGroupItem,
|
|
366
|
+
radioItemVariants,
|
|
367
|
+
} from './components/RadioGroup/index'
|
|
368
|
+
export type {
|
|
369
|
+
RadioGroupItemProps,
|
|
370
|
+
RadioGroupProps,
|
|
371
|
+
} from './components/RadioGroup/index'
|
|
372
|
+
export {
|
|
373
|
+
Rating,
|
|
374
|
+
} from './components/Rating/index'
|
|
375
|
+
export type {
|
|
376
|
+
RatingProps,
|
|
377
|
+
} from './components/Rating/index'
|
|
378
|
+
export {
|
|
379
|
+
ScrollArea,
|
|
380
|
+
ScrollBar,
|
|
381
|
+
} from './components/ScrollArea/index'
|
|
382
|
+
export {
|
|
383
|
+
SegmentedControl,
|
|
384
|
+
SegmentedControlItem,
|
|
385
|
+
segmentedControlItemVariants,
|
|
386
|
+
segmentedControlVariants,
|
|
387
|
+
} from './components/SegmentedControl/index'
|
|
388
|
+
export type {
|
|
389
|
+
SegmentedControlItemProps,
|
|
390
|
+
SegmentedControlProps,
|
|
391
|
+
SegmentedControlSize,
|
|
392
|
+
} from './components/SegmentedControl/index'
|
|
393
|
+
export {
|
|
394
|
+
Select,
|
|
395
|
+
} from './components/Select/index'
|
|
396
|
+
export type {
|
|
397
|
+
SelectGroupConfig,
|
|
398
|
+
SelectOption,
|
|
399
|
+
SelectProps,
|
|
400
|
+
} from './components/Select/index'
|
|
401
|
+
export {
|
|
402
|
+
Separator,
|
|
403
|
+
} from './components/Separator/index'
|
|
404
|
+
export {
|
|
405
|
+
Sheet,
|
|
406
|
+
SheetBody,
|
|
407
|
+
SheetClose,
|
|
408
|
+
SheetContent,
|
|
409
|
+
SheetDescription,
|
|
410
|
+
SheetFooter,
|
|
411
|
+
SheetHeader,
|
|
412
|
+
SheetOverlay,
|
|
413
|
+
SheetPortal,
|
|
414
|
+
SheetTitle,
|
|
415
|
+
SheetTrigger,
|
|
416
|
+
handleSheetOpenAutoFocus,
|
|
417
|
+
sheetVariants,
|
|
418
|
+
} from './components/Sheet/index'
|
|
419
|
+
export {
|
|
420
|
+
Sidebar,
|
|
421
|
+
SidebarContent,
|
|
422
|
+
SidebarFooter,
|
|
423
|
+
SidebarGroup,
|
|
424
|
+
SidebarGroupAction,
|
|
425
|
+
SidebarGroupContent,
|
|
426
|
+
SidebarGroupLabel,
|
|
427
|
+
SidebarHeader,
|
|
428
|
+
SidebarInput,
|
|
429
|
+
SidebarMenu,
|
|
430
|
+
SidebarMenuAction,
|
|
431
|
+
SidebarMenuBadge,
|
|
432
|
+
SidebarMenuButton,
|
|
433
|
+
SidebarMenuItem,
|
|
434
|
+
SidebarMenuSkeleton,
|
|
435
|
+
SidebarProvider,
|
|
436
|
+
SidebarSeparator,
|
|
437
|
+
SidebarTrigger,
|
|
438
|
+
useSidebar,
|
|
439
|
+
} from './components/Sidebar/index'
|
|
440
|
+
export {
|
|
441
|
+
Skeleton,
|
|
442
|
+
} from './components/Skeleton/index'
|
|
443
|
+
export {
|
|
444
|
+
Slider,
|
|
445
|
+
sliderRootVariants,
|
|
446
|
+
} from './components/Slider/index'
|
|
447
|
+
export type {
|
|
448
|
+
SliderProps,
|
|
449
|
+
} from './components/Slider/index'
|
|
450
|
+
export {
|
|
451
|
+
StepContent,
|
|
452
|
+
StepDescription,
|
|
453
|
+
StepItem,
|
|
454
|
+
StepLabel,
|
|
455
|
+
Steps,
|
|
456
|
+
stepItemVariants,
|
|
457
|
+
stepsRootVariants,
|
|
458
|
+
} from './components/Steps/index'
|
|
459
|
+
export type {
|
|
460
|
+
StepContentProps,
|
|
461
|
+
StepContentState,
|
|
462
|
+
StepDescriptionProps,
|
|
463
|
+
StepItemProps,
|
|
464
|
+
StepLabelProps,
|
|
465
|
+
StepsExpansion,
|
|
466
|
+
StepsOrientation,
|
|
467
|
+
StepsProps,
|
|
468
|
+
StepsSize,
|
|
469
|
+
} from './components/Steps/index'
|
|
470
|
+
export {
|
|
471
|
+
Switch,
|
|
472
|
+
switchVariants,
|
|
473
|
+
} from './components/Switch/index'
|
|
474
|
+
export type {
|
|
475
|
+
SwitchProps,
|
|
476
|
+
} from './components/Switch/index'
|
|
477
|
+
export {
|
|
478
|
+
Tabs,
|
|
479
|
+
TabsContent,
|
|
480
|
+
TabsList,
|
|
481
|
+
TabsTrigger,
|
|
482
|
+
tabsTriggerVariants,
|
|
483
|
+
} from './components/Tabs/index'
|
|
484
|
+
export type {
|
|
485
|
+
TabsListProps,
|
|
486
|
+
TabsSize,
|
|
487
|
+
TabsTriggerProps,
|
|
488
|
+
} from './components/Tabs/index'
|
|
489
|
+
export {
|
|
490
|
+
Tag,
|
|
491
|
+
tagVariants,
|
|
492
|
+
} from './components/Tag/index'
|
|
493
|
+
export type {
|
|
494
|
+
TagProps,
|
|
495
|
+
} from './components/Tag/index'
|
|
496
|
+
export {
|
|
497
|
+
Textarea,
|
|
498
|
+
textareaVariants,
|
|
499
|
+
} from './components/Textarea/index'
|
|
500
|
+
export type {
|
|
501
|
+
TextareaProps,
|
|
502
|
+
} from './components/Textarea/index'
|
|
503
|
+
export {
|
|
504
|
+
TimePicker,
|
|
505
|
+
} from './components/TimePicker/index'
|
|
506
|
+
export type {
|
|
507
|
+
DisabledTimeResult,
|
|
508
|
+
TimeFormatOptions,
|
|
509
|
+
TimePickerProps,
|
|
510
|
+
} from './components/TimePicker/index'
|
|
511
|
+
export {
|
|
512
|
+
Toaster,
|
|
513
|
+
toast,
|
|
514
|
+
} from './components/Toast/index'
|
|
515
|
+
export type {
|
|
516
|
+
ToastOptions,
|
|
517
|
+
ToastVariant,
|
|
518
|
+
ToasterProps,
|
|
519
|
+
} from './components/Toast/index'
|
|
520
|
+
export {
|
|
521
|
+
Tooltip,
|
|
522
|
+
TooltipContent,
|
|
523
|
+
TooltipProvider,
|
|
524
|
+
TooltipTrigger,
|
|
525
|
+
} from './components/Tooltip/index'
|
|
526
|
+
export {
|
|
527
|
+
TreeItem,
|
|
528
|
+
TreeView,
|
|
529
|
+
treeItemVariants,
|
|
530
|
+
} from './components/TreeView/index'
|
|
531
|
+
export type {
|
|
532
|
+
TreeDragEndEvent,
|
|
533
|
+
TreeDropPosition,
|
|
534
|
+
TreeItemProps,
|
|
535
|
+
TreeReorderAnnouncements,
|
|
536
|
+
TreeViewProps,
|
|
537
|
+
} from './components/TreeView/index'
|
|
60
538
|
|
|
61
|
-
// ─── Patterns
|
|
62
|
-
export
|
|
63
|
-
|
|
64
|
-
|
|
539
|
+
// ─── Patterns(named re-exports;/Meta$/ 收窄出 front-door)────────────────
|
|
540
|
+
export {
|
|
541
|
+
AVATAR_SIZE,
|
|
542
|
+
ICON_SIZE,
|
|
543
|
+
INLINE_ACTION_HOVER_BG_SIZE,
|
|
544
|
+
ItemAvatar,
|
|
545
|
+
ItemContent,
|
|
546
|
+
ItemIcon,
|
|
547
|
+
ItemInlineAction,
|
|
548
|
+
ItemInlineActionButton,
|
|
549
|
+
ItemLabel,
|
|
550
|
+
ItemPrefix,
|
|
551
|
+
ItemSuffix,
|
|
552
|
+
ROW_PADDING_BY_SIZE,
|
|
553
|
+
RowSizeProvider,
|
|
554
|
+
getUniformPrefixSlotStyle,
|
|
555
|
+
itemPrefixAlignVariants,
|
|
556
|
+
useRowSize,
|
|
557
|
+
} from './patterns/element-anatomy/index'
|
|
558
|
+
export type {
|
|
559
|
+
InlineActionConfig,
|
|
560
|
+
ItemAvatarProps,
|
|
561
|
+
ItemContentProps,
|
|
562
|
+
ItemIconProps,
|
|
563
|
+
ItemInlineActionButtonProps,
|
|
564
|
+
ItemInlineActionProps,
|
|
565
|
+
ItemSuffixHoverGroup,
|
|
566
|
+
ItemSuffixProps,
|
|
567
|
+
RowSize,
|
|
568
|
+
} from './patterns/element-anatomy/index'
|
|
569
|
+
export {
|
|
570
|
+
ChromeHeader,
|
|
571
|
+
HEADER_TABS_SLOT_WRAPPER_CLASS,
|
|
572
|
+
} from './patterns/header-canonical/index'
|
|
573
|
+
export type {
|
|
574
|
+
ChromeHeaderProps,
|
|
575
|
+
} from './patterns/header-canonical/index'
|
|
576
|
+
export {
|
|
577
|
+
ResizeHandle,
|
|
578
|
+
} from './patterns/resize-handle/index'
|
|
579
|
+
export type {
|
|
580
|
+
ResizeHandleProps,
|
|
581
|
+
} from './patterns/resize-handle/index'
|
|
65
582
|
|
|
66
583
|
// ─── Internal(subpath-only,排除 root front-door per dim-72 SSOT)─────────────
|
|
67
584
|
// 下列 internal 元件/pattern 不在 root barrel front-door;只能 subpath import
|
|
@@ -78,6 +595,13 @@ export * from './patterns/resize-handle/index'
|
|
|
78
595
|
// - patterns/horizontal-overflow
|
|
79
596
|
// - patterns/overlay-surface
|
|
80
597
|
|
|
598
|
+
// ─── Tokens(JS mirrors — token SSOT 程式面)──────────────────────────────
|
|
599
|
+
export * from './tokens/categorical-color'
|
|
600
|
+
export * from './tokens/elevation/overlay-geometry'
|
|
601
|
+
export * from './tokens/motion/motion'
|
|
602
|
+
export * from './tokens/motion/overlay-motion'
|
|
603
|
+
export * from './tokens/uiSize/icon-size'
|
|
604
|
+
|
|
81
605
|
// ─── Hooks ────────────────────────────────────────────────────────────────
|
|
82
606
|
export * from './hooks/use-controllable'
|
|
83
607
|
export * from './hooks/use-is-narrow-viewport'
|
|
@@ -285,6 +285,15 @@ Icon 的目的是幫助辨識,不是視覺對稱。
|
|
|
285
285
|
|
|
286
286
|
**切換按鈕**:`text` + `pressed` toggle——依預設(未啟用)狀態決定位置與分隔線;切為啟用(`pressed=true`)時不移動、不調整分隔線(啟用態不是 variant,見三節)。
|
|
287
287
|
|
|
288
|
+
### 分隔線幾何(2026-07-08 WM 戰役 codify,user 拍板 — **scope 僅限本節語意的「action region 群組分隔線」**)
|
|
289
|
+
|
|
290
|
+
**版面切分的 divider(pane `border-l` / 全高欄界 / 區塊邊界)不適用本段 — 那類是 border,兩側零 gap、貼齊版面。**
|
|
291
|
+
|
|
292
|
+
- **幾何** = `<Separator orientation="vertical" className="h-6 mx-1" />` 於 `gap-2` 容器 → 兩側各 8+4 = 12px 對稱。DS 自家雙錨:ChromeHeader 容器自帶 gap-2(chrome-header.tsx:116)+ FileViewer toolbar(file-viewer.tsx:390,414)/ header-canonical.stories.tsx:68;ButtonGroup 同款幾何 = ButtonDivider `mx-1` 於 gap-2 群組(button-group.tsx:26「8px(gap)+ 4px(自身)= 12px」)。
|
|
293
|
+
- **高度縮短、不 full-height**:`h-6`(24px)配 sm 控件(28px)矮一級;dense 情境(xs 控件 / gap-1 容器)降 `h-5 mx-1`(item-anatomy.stories.tsx inline-action 群先例)。原則:「divider 高 ≈ 相鄰控件內容高,比控件盒矮一級」。
|
|
294
|
+
- **世界級對照**(對稱 + 縮短 = 4/4 共識):Ant Divider vertical 兩側 8px + 高 0.9em(https://github.com/ant-design/ant-design/blob/master/components/divider/style/index.ts)/ MUI toolbar demo `mx:0.5 my:1`(https://github.com/mui/material-ui/blob/master/docs/data/material/components/toggle-button/CustomizedDividers.tsx)/ Radix Toolbar demo `margin: 0 10px`(https://github.com/radix-ui/website/blob/main/components/demos/toolbar/css/styles.css)/ shadcn `h-4 mx-2`(sidebar-02 block)。DS 取自家既有雙錨值(M23 DS canonical 優先)。
|
|
295
|
+
- **禁**:`h-full`(觸頂觸底)/ 單側 margin(不對稱)。
|
|
296
|
+
|
|
288
297
|
---
|
|
289
298
|
|
|
290
299
|
## 六、溢出選單
|