@usalyt/ui 0.0.0-stage → 0.0.1
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/CHANGELOG.md +15 -0
- package/LICENSE +674 -0
- package/NOTICE +32 -0
- package/README.md +148 -2
- package/THIRD_PARTY_NOTICES.md +446 -0
- package/dist/app-shell-layout-C63PPxCb.mjs +115 -0
- package/dist/app-shell-layout-C63PPxCb.mjs.map +1 -0
- package/dist/app-shell-layout-S_85mtFG.cjs +120 -0
- package/dist/aspect-ratio-D-UR6be8.cjs +36 -0
- package/dist/aspect-ratio-DkBx-nZ0.mjs +31 -0
- package/dist/aspect-ratio-DkBx-nZ0.mjs.map +1 -0
- package/dist/blocks/app-shell-layout/index.cjs +4 -0
- package/dist/blocks/app-shell-layout/index.d.cts +2 -0
- package/dist/blocks/app-shell-layout/index.d.mts +2 -0
- package/dist/blocks/app-shell-layout/index.mjs +3 -0
- package/dist/blocks/auth-form/index.cjs +110 -0
- package/dist/blocks/auth-form/index.d.cts +25 -0
- package/dist/blocks/auth-form/index.d.cts.map +1 -0
- package/dist/blocks/auth-form/index.d.mts +25 -0
- package/dist/blocks/auth-form/index.d.mts.map +1 -0
- package/dist/blocks/auth-form/index.mjs +109 -0
- package/dist/blocks/auth-form/index.mjs.map +1 -0
- package/dist/blocks/collaboration-chat-panel/index.cjs +4 -0
- package/dist/blocks/collaboration-chat-panel/index.d.cts +2 -0
- package/dist/blocks/collaboration-chat-panel/index.d.mts +2 -0
- package/dist/blocks/collaboration-chat-panel/index.mjs +3 -0
- package/dist/blocks/dashboard-header/index.cjs +91 -0
- package/dist/blocks/dashboard-header/index.d.cts +19 -0
- package/dist/blocks/dashboard-header/index.d.cts.map +1 -0
- package/dist/blocks/dashboard-header/index.d.mts +19 -0
- package/dist/blocks/dashboard-header/index.d.mts.map +1 -0
- package/dist/blocks/dashboard-header/index.mjs +90 -0
- package/dist/blocks/dashboard-header/index.mjs.map +1 -0
- package/dist/blocks/data-table-with-filters/index.cjs +86 -0
- package/dist/blocks/data-table-with-filters/index.d.cts +19 -0
- package/dist/blocks/data-table-with-filters/index.d.cts.map +1 -0
- package/dist/blocks/data-table-with-filters/index.d.mts +19 -0
- package/dist/blocks/data-table-with-filters/index.d.mts.map +1 -0
- package/dist/blocks/data-table-with-filters/index.mjs +85 -0
- package/dist/blocks/data-table-with-filters/index.mjs.map +1 -0
- package/dist/blocks/empty-state-block/index.cjs +4 -0
- package/dist/blocks/empty-state-block/index.d.cts +2 -0
- package/dist/blocks/empty-state-block/index.d.mts +2 -0
- package/dist/blocks/empty-state-block/index.mjs +3 -0
- package/dist/blocks/evaluation-summary-report/index.cjs +4 -0
- package/dist/blocks/evaluation-summary-report/index.d.cts +2 -0
- package/dist/blocks/evaluation-summary-report/index.d.mts +2 -0
- package/dist/blocks/evaluation-summary-report/index.mjs +3 -0
- package/dist/blocks/form-with-validation/index.cjs +119 -0
- package/dist/blocks/form-with-validation/index.d.cts +27 -0
- package/dist/blocks/form-with-validation/index.d.cts.map +1 -0
- package/dist/blocks/form-with-validation/index.d.mts +27 -0
- package/dist/blocks/form-with-validation/index.d.mts.map +1 -0
- package/dist/blocks/form-with-validation/index.mjs +117 -0
- package/dist/blocks/form-with-validation/index.mjs.map +1 -0
- package/dist/blocks/heuristic-finding-card/index.cjs +4 -0
- package/dist/blocks/heuristic-finding-card/index.d.cts +2 -0
- package/dist/blocks/heuristic-finding-card/index.d.mts +2 -0
- package/dist/blocks/heuristic-finding-card/index.mjs +3 -0
- package/dist/blocks/inspector-split-view/index.cjs +4 -0
- package/dist/blocks/inspector-split-view/index.d.cts +2 -0
- package/dist/blocks/inspector-split-view/index.d.mts +2 -0
- package/dist/blocks/inspector-split-view/index.mjs +3 -0
- package/dist/blocks/project-kanban-board/index.cjs +4 -0
- package/dist/blocks/project-kanban-board/index.d.cts +2 -0
- package/dist/blocks/project-kanban-board/index.d.mts +2 -0
- package/dist/blocks/project-kanban-board/index.mjs +3 -0
- package/dist/blocks/stats-card-grid/index.cjs +54 -0
- package/dist/blocks/stats-card-grid/index.d.cts +20 -0
- package/dist/blocks/stats-card-grid/index.d.cts.map +1 -0
- package/dist/blocks/stats-card-grid/index.d.mts +20 -0
- package/dist/blocks/stats-card-grid/index.d.mts.map +1 -0
- package/dist/blocks/stats-card-grid/index.mjs +53 -0
- package/dist/blocks/stats-card-grid/index.mjs.map +1 -0
- package/dist/blocks/team-members-table/index.cjs +4 -0
- package/dist/blocks/team-members-table/index.d.cts +2 -0
- package/dist/blocks/team-members-table/index.d.mts +2 -0
- package/dist/blocks/team-members-table/index.mjs +3 -0
- package/dist/carousel-BvB82spx.mjs +138 -0
- package/dist/carousel-BvB82spx.mjs.map +1 -0
- package/dist/carousel-DU60VwEf.cjs +174 -0
- package/dist/collaboration-chat-panel-D-o2i4-Y.cjs +118 -0
- package/dist/collaboration-chat-panel-DuIoQQ6W.mjs +113 -0
- package/dist/collaboration-chat-panel-DuIoQQ6W.mjs.map +1 -0
- package/dist/color-swatch-XzO6dwhR.mjs +47 -0
- package/dist/color-swatch-XzO6dwhR.mjs.map +1 -0
- package/dist/color-swatch-nICTKGMP.cjs +58 -0
- package/dist/components/accordion/index.cjs +44 -0
- package/dist/components/accordion/index.d.cts +11 -0
- package/dist/components/accordion/index.d.cts.map +1 -0
- package/dist/components/accordion/index.d.mts +11 -0
- package/dist/components/accordion/index.d.mts.map +1 -0
- package/dist/components/accordion/index.mjs +39 -0
- package/dist/components/accordion/index.mjs.map +1 -0
- package/dist/components/alert/index.cjs +42 -0
- package/dist/components/alert/index.d.cts +14 -0
- package/dist/components/alert/index.d.cts.map +1 -0
- package/dist/components/alert/index.d.mts +14 -0
- package/dist/components/alert/index.d.mts.map +1 -0
- package/dist/components/alert/index.mjs +38 -0
- package/dist/components/alert/index.mjs.map +1 -0
- package/dist/components/alert-dialog/index.cjs +61 -0
- package/dist/components/alert-dialog/index.d.cts +23 -0
- package/dist/components/alert-dialog/index.d.cts.map +1 -0
- package/dist/components/alert-dialog/index.d.mts +23 -0
- package/dist/components/alert-dialog/index.d.mts.map +1 -0
- package/dist/components/alert-dialog/index.mjs +50 -0
- package/dist/components/alert-dialog/index.mjs.map +1 -0
- package/dist/components/aspect-ratio/index.cjs +4 -0
- package/dist/components/aspect-ratio/index.d.cts +2 -0
- package/dist/components/aspect-ratio/index.d.mts +2 -0
- package/dist/components/aspect-ratio/index.mjs +3 -0
- package/dist/components/avatar/index.cjs +42 -0
- package/dist/components/avatar/index.d.cts +14 -0
- package/dist/components/avatar/index.d.cts.map +1 -0
- package/dist/components/avatar/index.d.mts +14 -0
- package/dist/components/avatar/index.d.mts.map +1 -0
- package/dist/components/avatar/index.mjs +38 -0
- package/dist/components/avatar/index.mjs.map +1 -0
- package/dist/components/badge/index.cjs +36 -0
- package/dist/components/badge/index.d.cts +11 -0
- package/dist/components/badge/index.d.cts.map +1 -0
- package/dist/components/badge/index.d.mts +11 -0
- package/dist/components/badge/index.d.mts.map +1 -0
- package/dist/components/badge/index.mjs +34 -0
- package/dist/components/badge/index.mjs.map +1 -0
- package/dist/components/breadcrumb/index.cjs +70 -0
- package/dist/components/breadcrumb/index.d.cts +18 -0
- package/dist/components/breadcrumb/index.d.cts.map +1 -0
- package/dist/components/breadcrumb/index.d.mts +18 -0
- package/dist/components/breadcrumb/index.d.mts.map +1 -0
- package/dist/components/breadcrumb/index.mjs +63 -0
- package/dist/components/breadcrumb/index.mjs.map +1 -0
- package/dist/components/button/index.cjs +65 -0
- package/dist/components/button/index.d.cts +2 -0
- package/dist/components/button/index.d.mts +2 -0
- package/dist/components/button/index.mjs +63 -0
- package/dist/components/button/index.mjs.map +1 -0
- package/dist/components/calendar/index.cjs +125 -0
- package/dist/components/calendar/index.d.cts +12 -0
- package/dist/components/calendar/index.d.cts.map +1 -0
- package/dist/components/calendar/index.d.mts +12 -0
- package/dist/components/calendar/index.d.mts.map +1 -0
- package/dist/components/calendar/index.mjs +124 -0
- package/dist/components/calendar/index.mjs.map +1 -0
- package/dist/components/card/index.cjs +63 -0
- package/dist/components/card/index.d.cts +16 -0
- package/dist/components/card/index.d.cts.map +1 -0
- package/dist/components/card/index.d.mts +16 -0
- package/dist/components/card/index.d.mts.map +1 -0
- package/dist/components/card/index.mjs +56 -0
- package/dist/components/card/index.mjs.map +1 -0
- package/dist/components/carousel/index.cjs +9 -0
- package/dist/components/carousel/index.d.cts +2 -0
- package/dist/components/carousel/index.d.mts +2 -0
- package/dist/components/carousel/index.mjs +3 -0
- package/dist/components/chart/index.cjs +63 -0
- package/dist/components/chart/index.d.cts +21 -0
- package/dist/components/chart/index.d.cts.map +1 -0
- package/dist/components/chart/index.d.mts +21 -0
- package/dist/components/chart/index.d.mts.map +1 -0
- package/dist/components/chart/index.mjs +60 -0
- package/dist/components/chart/index.mjs.map +1 -0
- package/dist/components/checkbox/index.cjs +34 -0
- package/dist/components/checkbox/index.d.cts +10 -0
- package/dist/components/checkbox/index.d.cts.map +1 -0
- package/dist/components/checkbox/index.d.mts +10 -0
- package/dist/components/checkbox/index.d.mts.map +1 -0
- package/dist/components/checkbox/index.mjs +33 -0
- package/dist/components/checkbox/index.mjs.map +1 -0
- package/dist/components/collapsible/index.cjs +22 -0
- package/dist/components/collapsible/index.d.cts +8 -0
- package/dist/components/collapsible/index.d.cts.map +1 -0
- package/dist/components/collapsible/index.d.mts +8 -0
- package/dist/components/collapsible/index.d.mts.map +1 -0
- package/dist/components/collapsible/index.mjs +19 -0
- package/dist/components/collapsible/index.mjs.map +1 -0
- package/dist/components/color-swatch/index.cjs +5 -0
- package/dist/components/color-swatch/index.d.cts +2 -0
- package/dist/components/color-swatch/index.d.mts +2 -0
- package/dist/components/color-swatch/index.mjs +3 -0
- package/dist/components/combobox/index.cjs +192 -0
- package/dist/components/combobox/index.d.cts +27 -0
- package/dist/components/combobox/index.d.cts.map +1 -0
- package/dist/components/combobox/index.d.mts +27 -0
- package/dist/components/combobox/index.d.mts.map +1 -0
- package/dist/components/combobox/index.mjs +191 -0
- package/dist/components/combobox/index.mjs.map +1 -0
- package/dist/components/command/index.cjs +96 -0
- package/dist/components/command/index.d.cts +75 -0
- package/dist/components/command/index.d.cts.map +1 -0
- package/dist/components/command/index.d.mts +75 -0
- package/dist/components/command/index.d.mts.map +1 -0
- package/dist/components/command/index.mjs +88 -0
- package/dist/components/command/index.mjs.map +1 -0
- package/dist/components/context-menu/index.cjs +55 -0
- package/dist/components/context-menu/index.d.cts +19 -0
- package/dist/components/context-menu/index.d.cts.map +1 -0
- package/dist/components/context-menu/index.d.mts +19 -0
- package/dist/components/context-menu/index.d.mts.map +1 -0
- package/dist/components/context-menu/index.mjs +47 -0
- package/dist/components/context-menu/index.mjs.map +1 -0
- package/dist/components/copy-button/index.cjs +4 -0
- package/dist/components/copy-button/index.d.cts +2 -0
- package/dist/components/copy-button/index.d.mts +2 -0
- package/dist/components/copy-button/index.mjs +3 -0
- package/dist/components/data-table/index.cjs +152 -0
- package/dist/components/data-table/index.d.cts +20 -0
- package/dist/components/data-table/index.d.cts.map +1 -0
- package/dist/components/data-table/index.d.mts +20 -0
- package/dist/components/data-table/index.d.mts.map +1 -0
- package/dist/components/data-table/index.mjs +150 -0
- package/dist/components/data-table/index.mjs.map +1 -0
- package/dist/components/date-picker/index.cjs +48 -0
- package/dist/components/date-picker/index.d.cts +13 -0
- package/dist/components/date-picker/index.d.cts.map +1 -0
- package/dist/components/date-picker/index.d.mts +13 -0
- package/dist/components/date-picker/index.d.mts.map +1 -0
- package/dist/components/date-picker/index.mjs +47 -0
- package/dist/components/date-picker/index.mjs.map +1 -0
- package/dist/components/dialog/index.cjs +67 -0
- package/dist/components/dialog/index.d.cts +22 -0
- package/dist/components/dialog/index.d.cts.map +1 -0
- package/dist/components/dialog/index.d.mts +22 -0
- package/dist/components/dialog/index.d.mts.map +1 -0
- package/dist/components/dialog/index.mjs +57 -0
- package/dist/components/dialog/index.mjs.map +1 -0
- package/dist/components/drawer/index.cjs +59 -0
- package/dist/components/drawer/index.d.cts +24 -0
- package/dist/components/drawer/index.d.cts.map +1 -0
- package/dist/components/drawer/index.d.mts +24 -0
- package/dist/components/drawer/index.d.mts.map +1 -0
- package/dist/components/drawer/index.mjs +49 -0
- package/dist/components/drawer/index.mjs.map +1 -0
- package/dist/components/dropdown-menu/index.cjs +58 -0
- package/dist/components/dropdown-menu/index.d.cts +21 -0
- package/dist/components/dropdown-menu/index.d.cts.map +1 -0
- package/dist/components/dropdown-menu/index.d.mts +21 -0
- package/dist/components/dropdown-menu/index.d.mts.map +1 -0
- package/dist/components/dropdown-menu/index.mjs +49 -0
- package/dist/components/dropdown-menu/index.mjs.map +1 -0
- package/dist/components/file-input/index.cjs +60 -0
- package/dist/components/file-input/index.d.cts +11 -0
- package/dist/components/file-input/index.d.cts.map +1 -0
- package/dist/components/file-input/index.d.mts +11 -0
- package/dist/components/file-input/index.d.mts.map +1 -0
- package/dist/components/file-input/index.mjs +59 -0
- package/dist/components/file-input/index.mjs.map +1 -0
- package/dist/components/form/index.cjs +121 -0
- package/dist/components/form/index.d.cts +26 -0
- package/dist/components/form/index.d.cts.map +1 -0
- package/dist/components/form/index.d.mts +26 -0
- package/dist/components/form/index.d.mts.map +1 -0
- package/dist/components/form/index.mjs +113 -0
- package/dist/components/form/index.mjs.map +1 -0
- package/dist/components/hover-card/index.cjs +57 -0
- package/dist/components/hover-card/index.d.cts +43 -0
- package/dist/components/hover-card/index.d.cts.map +1 -0
- package/dist/components/hover-card/index.d.mts +43 -0
- package/dist/components/hover-card/index.d.mts.map +1 -0
- package/dist/components/hover-card/index.mjs +53 -0
- package/dist/components/hover-card/index.mjs.map +1 -0
- package/dist/components/input/index.cjs +32 -0
- package/dist/components/input/index.d.cts +11 -0
- package/dist/components/input/index.d.cts.map +1 -0
- package/dist/components/input/index.d.mts +11 -0
- package/dist/components/input/index.d.mts.map +1 -0
- package/dist/components/input/index.mjs +30 -0
- package/dist/components/input/index.mjs.map +1 -0
- package/dist/components/input-otp/index.cjs +7 -0
- package/dist/components/input-otp/index.d.cts +2 -0
- package/dist/components/input-otp/index.d.mts +2 -0
- package/dist/components/input-otp/index.mjs +3 -0
- package/dist/components/kbd/index.cjs +5 -0
- package/dist/components/kbd/index.d.cts +2 -0
- package/dist/components/kbd/index.d.mts +2 -0
- package/dist/components/kbd/index.mjs +3 -0
- package/dist/components/label/index.cjs +24 -0
- package/dist/components/label/index.d.cts +2 -0
- package/dist/components/label/index.d.mts +2 -0
- package/dist/components/label/index.mjs +22 -0
- package/dist/components/label/index.mjs.map +1 -0
- package/dist/components/menubar/index.cjs +63 -0
- package/dist/components/menubar/index.d.cts +19 -0
- package/dist/components/menubar/index.d.cts.map +1 -0
- package/dist/components/menubar/index.d.mts +19 -0
- package/dist/components/menubar/index.d.mts.map +1 -0
- package/dist/components/menubar/index.mjs +55 -0
- package/dist/components/menubar/index.mjs.map +1 -0
- package/dist/components/navigation-menu/index.cjs +62 -0
- package/dist/components/navigation-menu/index.d.cts +27 -0
- package/dist/components/navigation-menu/index.d.cts.map +1 -0
- package/dist/components/navigation-menu/index.d.mts +27 -0
- package/dist/components/navigation-menu/index.d.mts.map +1 -0
- package/dist/components/navigation-menu/index.mjs +56 -0
- package/dist/components/navigation-menu/index.mjs.map +1 -0
- package/dist/components/number-field/index.cjs +41 -0
- package/dist/components/number-field/index.d.cts +11 -0
- package/dist/components/number-field/index.d.cts.map +1 -0
- package/dist/components/number-field/index.d.mts +11 -0
- package/dist/components/number-field/index.d.mts.map +1 -0
- package/dist/components/number-field/index.mjs +37 -0
- package/dist/components/number-field/index.mjs.map +1 -0
- package/dist/components/pagination/index.cjs +10 -0
- package/dist/components/pagination/index.d.cts +2 -0
- package/dist/components/pagination/index.d.mts +2 -0
- package/dist/components/pagination/index.mjs +3 -0
- package/dist/components/popover/index.cjs +29 -0
- package/dist/components/popover/index.d.cts +14 -0
- package/dist/components/popover/index.d.cts.map +1 -0
- package/dist/components/popover/index.d.mts +14 -0
- package/dist/components/popover/index.d.mts.map +1 -0
- package/dist/components/popover/index.mjs +24 -0
- package/dist/components/popover/index.mjs.map +1 -0
- package/dist/components/progress/index.cjs +46 -0
- package/dist/components/progress/index.d.cts +18 -0
- package/dist/components/progress/index.d.cts.map +1 -0
- package/dist/components/progress/index.d.mts +18 -0
- package/dist/components/progress/index.d.mts.map +1 -0
- package/dist/components/progress/index.mjs +43 -0
- package/dist/components/progress/index.mjs.map +1 -0
- package/dist/components/radio-group/index.cjs +43 -0
- package/dist/components/radio-group/index.d.cts +17 -0
- package/dist/components/radio-group/index.d.cts.map +1 -0
- package/dist/components/radio-group/index.d.mts +17 -0
- package/dist/components/radio-group/index.d.mts.map +1 -0
- package/dist/components/radio-group/index.mjs +41 -0
- package/dist/components/radio-group/index.mjs.map +1 -0
- package/dist/components/rating/index.cjs +4 -0
- package/dist/components/rating/index.d.cts +2 -0
- package/dist/components/rating/index.d.mts +2 -0
- package/dist/components/rating/index.mjs +3 -0
- package/dist/components/resizable/index.cjs +6 -0
- package/dist/components/resizable/index.d.cts +2 -0
- package/dist/components/resizable/index.d.mts +2 -0
- package/dist/components/resizable/index.mjs +3 -0
- package/dist/components/scroll-area/index.cjs +35 -0
- package/dist/components/scroll-area/index.d.cts +9 -0
- package/dist/components/scroll-area/index.d.cts.map +1 -0
- package/dist/components/scroll-area/index.d.mts +9 -0
- package/dist/components/scroll-area/index.d.mts.map +1 -0
- package/dist/components/scroll-area/index.mjs +33 -0
- package/dist/components/scroll-area/index.mjs.map +1 -0
- package/dist/components/select/index.cjs +53 -0
- package/dist/components/select/index.d.cts +17 -0
- package/dist/components/select/index.d.cts.map +1 -0
- package/dist/components/select/index.d.mts +17 -0
- package/dist/components/select/index.d.mts.map +1 -0
- package/dist/components/select/index.mjs +45 -0
- package/dist/components/select/index.mjs.map +1 -0
- package/dist/components/separator/index.cjs +18 -0
- package/dist/components/separator/index.d.cts +6 -0
- package/dist/components/separator/index.d.cts.map +1 -0
- package/dist/components/separator/index.d.mts +6 -0
- package/dist/components/separator/index.d.mts.map +1 -0
- package/dist/components/separator/index.mjs +17 -0
- package/dist/components/separator/index.mjs.map +1 -0
- package/dist/components/sheet/index.cjs +67 -0
- package/dist/components/sheet/index.d.cts +25 -0
- package/dist/components/sheet/index.d.cts.map +1 -0
- package/dist/components/sheet/index.d.mts +25 -0
- package/dist/components/sheet/index.d.mts.map +1 -0
- package/dist/components/sheet/index.mjs +59 -0
- package/dist/components/sheet/index.mjs.map +1 -0
- package/dist/components/sidebar/index.cjs +16 -0
- package/dist/components/sidebar/index.d.cts +2 -0
- package/dist/components/sidebar/index.d.mts +2 -0
- package/dist/components/sidebar/index.mjs +3 -0
- package/dist/components/skeleton/index.cjs +19 -0
- package/dist/components/skeleton/index.d.cts +7 -0
- package/dist/components/skeleton/index.d.cts.map +1 -0
- package/dist/components/skeleton/index.d.mts +7 -0
- package/dist/components/skeleton/index.d.mts.map +1 -0
- package/dist/components/skeleton/index.mjs +18 -0
- package/dist/components/skeleton/index.mjs.map +1 -0
- package/dist/components/slider/index.cjs +30 -0
- package/dist/components/slider/index.d.cts +10 -0
- package/dist/components/slider/index.d.cts.map +1 -0
- package/dist/components/slider/index.d.mts +10 -0
- package/dist/components/slider/index.d.mts.map +1 -0
- package/dist/components/slider/index.mjs +29 -0
- package/dist/components/slider/index.mjs.map +1 -0
- package/dist/components/sonner/index.cjs +6 -0
- package/dist/components/sonner/index.d.cts +2 -0
- package/dist/components/sonner/index.d.mts +2 -0
- package/dist/components/sonner/index.mjs +3 -0
- package/dist/components/spinner/index.cjs +53 -0
- package/dist/components/spinner/index.d.cts +14 -0
- package/dist/components/spinner/index.d.cts.map +1 -0
- package/dist/components/spinner/index.d.mts +14 -0
- package/dist/components/spinner/index.d.mts.map +1 -0
- package/dist/components/spinner/index.mjs +51 -0
- package/dist/components/spinner/index.mjs.map +1 -0
- package/dist/components/stepper/index.cjs +9 -0
- package/dist/components/stepper/index.d.cts +2 -0
- package/dist/components/stepper/index.d.mts +2 -0
- package/dist/components/stepper/index.mjs +3 -0
- package/dist/components/switch/index.cjs +18 -0
- package/dist/components/switch/index.d.cts +8 -0
- package/dist/components/switch/index.d.cts.map +1 -0
- package/dist/components/switch/index.d.mts +8 -0
- package/dist/components/switch/index.d.mts.map +1 -0
- package/dist/components/switch/index.mjs +17 -0
- package/dist/components/switch/index.mjs.map +1 -0
- package/dist/components/table/index.cjs +69 -0
- package/dist/components/table/index.d.cts +13 -0
- package/dist/components/table/index.d.cts.map +1 -0
- package/dist/components/table/index.d.mts +13 -0
- package/dist/components/table/index.d.mts.map +1 -0
- package/dist/components/table/index.mjs +61 -0
- package/dist/components/table/index.mjs.map +1 -0
- package/dist/components/tabs/index.cjs +33 -0
- package/dist/components/tabs/index.d.cts +9 -0
- package/dist/components/tabs/index.d.cts.map +1 -0
- package/dist/components/tabs/index.d.mts +9 -0
- package/dist/components/tabs/index.d.mts.map +1 -0
- package/dist/components/tabs/index.mjs +29 -0
- package/dist/components/tabs/index.mjs.map +1 -0
- package/dist/components/textarea/index.cjs +32 -0
- package/dist/components/textarea/index.d.cts +11 -0
- package/dist/components/textarea/index.d.cts.map +1 -0
- package/dist/components/textarea/index.d.mts +11 -0
- package/dist/components/textarea/index.d.mts.map +1 -0
- package/dist/components/textarea/index.mjs +30 -0
- package/dist/components/textarea/index.mjs.map +1 -0
- package/dist/components/timeline/index.cjs +12 -0
- package/dist/components/timeline/index.d.cts +2 -0
- package/dist/components/timeline/index.d.mts +2 -0
- package/dist/components/timeline/index.mjs +3 -0
- package/dist/components/toast/index.cjs +91 -0
- package/dist/components/toast/index.d.cts +25 -0
- package/dist/components/toast/index.d.cts.map +1 -0
- package/dist/components/toast/index.d.mts +25 -0
- package/dist/components/toast/index.d.mts.map +1 -0
- package/dist/components/toast/index.mjs +79 -0
- package/dist/components/toast/index.mjs.map +1 -0
- package/dist/components/toggle/index.cjs +5 -0
- package/dist/components/toggle/index.d.cts +2 -0
- package/dist/components/toggle/index.d.mts +2 -0
- package/dist/components/toggle/index.mjs +3 -0
- package/dist/components/toggle-group/index.cjs +45 -0
- package/dist/components/toggle-group/index.d.cts +13 -0
- package/dist/components/toggle-group/index.d.cts.map +1 -0
- package/dist/components/toggle-group/index.d.mts +13 -0
- package/dist/components/toggle-group/index.d.mts.map +1 -0
- package/dist/components/toggle-group/index.mjs +43 -0
- package/dist/components/toggle-group/index.mjs.map +1 -0
- package/dist/components/tooltip/index.cjs +29 -0
- package/dist/components/tooltip/index.d.cts +13 -0
- package/dist/components/tooltip/index.d.cts.map +1 -0
- package/dist/components/tooltip/index.d.mts +13 -0
- package/dist/components/tooltip/index.d.mts.map +1 -0
- package/dist/components/tooltip/index.mjs +24 -0
- package/dist/components/tooltip/index.mjs.map +1 -0
- package/dist/components/tree-view/index.cjs +7 -0
- package/dist/components/tree-view/index.d.cts +2 -0
- package/dist/components/tree-view/index.d.mts +2 -0
- package/dist/components/tree-view/index.mjs +3 -0
- package/dist/copy-button-CQR9ba95.cjs +45 -0
- package/dist/copy-button-DebO1rhk.mjs +40 -0
- package/dist/copy-button-DebO1rhk.mjs.map +1 -0
- package/dist/empty-state-block-CW1vdx89.cjs +57 -0
- package/dist/empty-state-block-DePTPvzM.mjs +52 -0
- package/dist/empty-state-block-DePTPvzM.mjs.map +1 -0
- package/dist/evaluation-summary-report-Bx2iT1Pd.cjs +212 -0
- package/dist/evaluation-summary-report-CbaikB0Q.mjs +207 -0
- package/dist/evaluation-summary-report-CbaikB0Q.mjs.map +1 -0
- package/dist/files/Inter-OFL.txt +93 -0
- package/dist/files/inter-cyrillic-ext-wght-normal.woff2 +0 -0
- package/dist/files/inter-cyrillic-wght-normal.woff2 +0 -0
- package/dist/files/inter-greek-ext-wght-normal.woff2 +0 -0
- package/dist/files/inter-greek-wght-normal.woff2 +0 -0
- package/dist/files/inter-latin-ext-wght-normal.woff2 +0 -0
- package/dist/files/inter-latin-wght-normal.woff2 +0 -0
- package/dist/files/inter-vietnamese-wght-normal.woff2 +0 -0
- package/dist/heuristic-finding-card-B5zpJp27.cjs +130 -0
- package/dist/heuristic-finding-card-BFwXci2U.mjs +125 -0
- package/dist/heuristic-finding-card-BFwXci2U.mjs.map +1 -0
- package/dist/index-6OorKnHX.d.cts +21 -0
- package/dist/index-6OorKnHX.d.cts.map +1 -0
- package/dist/index-6OorKnHX.d.mts +21 -0
- package/dist/index-6OorKnHX.d.mts.map +1 -0
- package/dist/index-B8Z5coVq.d.cts +25 -0
- package/dist/index-B8Z5coVq.d.cts.map +1 -0
- package/dist/index-B8Z5coVq.d.mts +25 -0
- package/dist/index-B8Z5coVq.d.mts.map +1 -0
- package/dist/index-BHz32vzo.d.cts +17 -0
- package/dist/index-BHz32vzo.d.cts.map +1 -0
- package/dist/index-BHz32vzo.d.mts +17 -0
- package/dist/index-BHz32vzo.d.mts.map +1 -0
- package/dist/index-BUL5nXfL.d.cts +22 -0
- package/dist/index-BUL5nXfL.d.cts.map +1 -0
- package/dist/index-BUL5nXfL.d.mts +22 -0
- package/dist/index-BUL5nXfL.d.mts.map +1 -0
- package/dist/index-BVVCNb2w.d.cts +29 -0
- package/dist/index-BVVCNb2w.d.cts.map +1 -0
- package/dist/index-BVVCNb2w.d.mts +29 -0
- package/dist/index-BVVCNb2w.d.mts.map +1 -0
- package/dist/index-BfHoUosL.d.cts +25 -0
- package/dist/index-BfHoUosL.d.cts.map +1 -0
- package/dist/index-BfHoUosL.d.mts +25 -0
- package/dist/index-BfHoUosL.d.mts.map +1 -0
- package/dist/index-CTCm9Rd3.d.cts +46 -0
- package/dist/index-CTCm9Rd3.d.cts.map +1 -0
- package/dist/index-CY6x-q24.d.cts +27 -0
- package/dist/index-CY6x-q24.d.cts.map +1 -0
- package/dist/index-CY6x-q24.d.mts +27 -0
- package/dist/index-CY6x-q24.d.mts.map +1 -0
- package/dist/index-ClitDRHg.d.mts +12 -0
- package/dist/index-ClitDRHg.d.mts.map +1 -0
- package/dist/index-CsF26Fe8.d.cts +23 -0
- package/dist/index-CsF26Fe8.d.cts.map +1 -0
- package/dist/index-CsF26Fe8.d.mts +23 -0
- package/dist/index-CsF26Fe8.d.mts.map +1 -0
- package/dist/index-CvHlThTj.d.cts +10 -0
- package/dist/index-CvHlThTj.d.cts.map +1 -0
- package/dist/index-CvHlThTj.d.mts +10 -0
- package/dist/index-CvHlThTj.d.mts.map +1 -0
- package/dist/index-CxCGf9_1.d.mts +46 -0
- package/dist/index-CxCGf9_1.d.mts.map +1 -0
- package/dist/index-D0R6bxY7.d.cts +12 -0
- package/dist/index-D0R6bxY7.d.cts.map +1 -0
- package/dist/index-D56D0Sa2.d.cts +13 -0
- package/dist/index-D56D0Sa2.d.cts.map +1 -0
- package/dist/index-D56D0Sa2.d.mts +13 -0
- package/dist/index-D56D0Sa2.d.mts.map +1 -0
- package/dist/index-D5sQcRHf.d.cts +23 -0
- package/dist/index-D5sQcRHf.d.cts.map +1 -0
- package/dist/index-D5sQcRHf.d.mts +23 -0
- package/dist/index-D5sQcRHf.d.mts.map +1 -0
- package/dist/index-DCrV07Ko.d.cts +31 -0
- package/dist/index-DCrV07Ko.d.cts.map +1 -0
- package/dist/index-DISRvpYF.d.cts +31 -0
- package/dist/index-DISRvpYF.d.cts.map +1 -0
- package/dist/index-DjbxiLM8.d.cts +12 -0
- package/dist/index-DjbxiLM8.d.cts.map +1 -0
- package/dist/index-DjbxiLM8.d.mts +12 -0
- package/dist/index-DjbxiLM8.d.mts.map +1 -0
- package/dist/index-DlP_5d_g.d.cts +21 -0
- package/dist/index-DlP_5d_g.d.cts.map +1 -0
- package/dist/index-DlP_5d_g.d.mts +21 -0
- package/dist/index-DlP_5d_g.d.mts.map +1 -0
- package/dist/index-N-mHPudY.d.mts +31 -0
- package/dist/index-N-mHPudY.d.mts.map +1 -0
- package/dist/index-Q6oL7Ku9.d.cts +8 -0
- package/dist/index-Q6oL7Ku9.d.cts.map +1 -0
- package/dist/index-Q6oL7Ku9.d.mts +8 -0
- package/dist/index-Q6oL7Ku9.d.mts.map +1 -0
- package/dist/index-Wut4L1Y4.d.mts +31 -0
- package/dist/index-Wut4L1Y4.d.mts.map +1 -0
- package/dist/index-Ymzy10FB.d.cts +21 -0
- package/dist/index-Ymzy10FB.d.cts.map +1 -0
- package/dist/index-Ymzy10FB.d.mts +21 -0
- package/dist/index-Ymzy10FB.d.mts.map +1 -0
- package/dist/index-bO8Bd2qN.d.cts +39 -0
- package/dist/index-bO8Bd2qN.d.cts.map +1 -0
- package/dist/index-bO8Bd2qN.d.mts +39 -0
- package/dist/index-bO8Bd2qN.d.mts.map +1 -0
- package/dist/index-bZKcWdNm.d.cts +15 -0
- package/dist/index-bZKcWdNm.d.cts.map +1 -0
- package/dist/index-bZKcWdNm.d.mts +15 -0
- package/dist/index-bZKcWdNm.d.mts.map +1 -0
- package/dist/index-jYLDWfZc.d.cts +15 -0
- package/dist/index-jYLDWfZc.d.cts.map +1 -0
- package/dist/index-jYLDWfZc.d.mts +15 -0
- package/dist/index-jYLDWfZc.d.mts.map +1 -0
- package/dist/index-joP2_4d6.d.cts +11 -0
- package/dist/index-joP2_4d6.d.cts.map +1 -0
- package/dist/index-joP2_4d6.d.mts +11 -0
- package/dist/index-joP2_4d6.d.mts.map +1 -0
- package/dist/index-zlEzdw7N.d.cts +15 -0
- package/dist/index-zlEzdw7N.d.cts.map +1 -0
- package/dist/index-zlEzdw7N.d.mts +15 -0
- package/dist/index-zlEzdw7N.d.mts.map +1 -0
- package/dist/index.cjs +357 -0
- package/dist/index.d.cts +80 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +80 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +77 -0
- package/dist/input-otp-CXy8gtKM.mjs +44 -0
- package/dist/input-otp-CXy8gtKM.mjs.map +1 -0
- package/dist/input-otp-DyBlKPGM.cjs +67 -0
- package/dist/inspector-split-view-CQeClX4k.mjs +139 -0
- package/dist/inspector-split-view-CQeClX4k.mjs.map +1 -0
- package/dist/inspector-split-view-CSPoFJJC.cjs +144 -0
- package/dist/kbd-D9Ymi9Pt.mjs +37 -0
- package/dist/kbd-D9Ymi9Pt.mjs.map +1 -0
- package/dist/kbd-Dhz_xrKs.cjs +48 -0
- package/dist/pagination-B8J2t1Vr.cjs +105 -0
- package/dist/pagination-ivrgsud6.mjs +64 -0
- package/dist/pagination-ivrgsud6.mjs.map +1 -0
- package/dist/project-kanban-board-BGypLhTA.cjs +143 -0
- package/dist/project-kanban-board-TUeAebbI.mjs +138 -0
- package/dist/project-kanban-board-TUeAebbI.mjs.map +1 -0
- package/dist/rating-CtXEsqKU.cjs +72 -0
- package/dist/rating-pFb5zNn2.mjs +67 -0
- package/dist/rating-pFb5zNn2.mjs.map +1 -0
- package/dist/resizable-DrJqbD5t.mjs +23 -0
- package/dist/resizable-DrJqbD5t.mjs.map +1 -0
- package/dist/resizable-VZ7tgMu9.cjs +41 -0
- package/dist/rolldown-runtime-D6vf50IK.cjs +28 -0
- package/dist/sidebar-BCBtb6sS.mjs +232 -0
- package/dist/sidebar-BCBtb6sS.mjs.map +1 -0
- package/dist/sidebar-BilZg_Lv.cjs +309 -0
- package/dist/sonner-Ba68yk7d.mjs +20 -0
- package/dist/sonner-Ba68yk7d.mjs.map +1 -0
- package/dist/sonner-Crak-gYY.cjs +25 -0
- package/dist/stepper-CgBpI7sb.cjs +96 -0
- package/dist/stepper-Dtf208dW.mjs +61 -0
- package/dist/stepper-Dtf208dW.mjs.map +1 -0
- package/dist/styles.css +2 -0
- package/dist/team-members-table-ChWMZMYw.mjs +121 -0
- package/dist/team-members-table-ChWMZMYw.mjs.map +1 -0
- package/dist/team-members-table-Cu5gCqMg.cjs +126 -0
- package/dist/timeline-CAPfreK3.cjs +118 -0
- package/dist/timeline-CBMvtk3M.mjs +65 -0
- package/dist/timeline-CBMvtk3M.mjs.map +1 -0
- package/dist/toggle-BjthGxVv.cjs +48 -0
- package/dist/toggle-C2RktAMd.mjs +37 -0
- package/dist/toggle-C2RktAMd.mjs.map +1 -0
- package/dist/toggle-CpGSEgUK.d.cts +13 -0
- package/dist/toggle-CpGSEgUK.d.cts.map +1 -0
- package/dist/toggle-CpGSEgUK.d.mts +13 -0
- package/dist/toggle-CpGSEgUK.d.mts.map +1 -0
- package/dist/tree-view-BB1ghmfC.mjs +69 -0
- package/dist/tree-view-BB1ghmfC.mjs.map +1 -0
- package/dist/tree-view-BFzVxqkZ.cjs +92 -0
- package/dist/utils-BVF9WCwH.mjs +38 -0
- package/dist/utils-BVF9WCwH.mjs.map +1 -0
- package/dist/utils-YZxtPI0Y.cjs +40 -0
- package/package.json +843 -3
- package/scripts/audit-bundle-size.ts +80 -0
- package/scripts/generate-storybook-stories.ts +79 -0
- package/scripts/postbuild.mjs +132 -0
- package/scripts/public-entries.d.mts +25 -0
- package/scripts/public-entries.mjs +123 -0
- package/scripts/verify-artifacts.mjs +361 -0
- package/scripts/write-all-rich-stories.ts +402 -0
- package/src/__tests__/storybook-preview.test.tsx +164 -0
- package/src/blocks/app-shell-layout/app-shell-layout.stories.tsx +62 -0
- package/src/blocks/app-shell-layout/app-shell-layout.test.tsx +59 -0
- package/src/blocks/app-shell-layout/app-shell-layout.tsx +180 -0
- package/src/blocks/app-shell-layout/index.ts +5 -0
- package/src/blocks/auth-form/auth-form.stories.tsx +36 -0
- package/src/blocks/auth-form/auth-form.test.tsx +72 -0
- package/src/blocks/auth-form/auth-form.tsx +136 -0
- package/src/blocks/auth-form/index.ts +1 -0
- package/src/blocks/collaboration-chat-panel/collaboration-chat-panel.stories.tsx +45 -0
- package/src/blocks/collaboration-chat-panel/collaboration-chat-panel.test.tsx +101 -0
- package/src/blocks/collaboration-chat-panel/collaboration-chat-panel.tsx +180 -0
- package/src/blocks/collaboration-chat-panel/index.ts +5 -0
- package/src/blocks/dashboard-header/dashboard-header.stories.tsx +41 -0
- package/src/blocks/dashboard-header/dashboard-header.test.tsx +76 -0
- package/src/blocks/dashboard-header/dashboard-header.tsx +128 -0
- package/src/blocks/dashboard-header/index.ts +1 -0
- package/src/blocks/data-table-with-filters/data-table-with-filters.stories.tsx +41 -0
- package/src/blocks/data-table-with-filters/data-table-with-filters.test.tsx +40 -0
- package/src/blocks/data-table-with-filters/data-table-with-filters.tsx +87 -0
- package/src/blocks/data-table-with-filters/index.ts +1 -0
- package/src/blocks/empty-state-block/empty-state-block.stories.tsx +39 -0
- package/src/blocks/empty-state-block/empty-state-block.test.tsx +76 -0
- package/src/blocks/empty-state-block/empty-state-block.tsx +82 -0
- package/src/blocks/empty-state-block/index.ts +4 -0
- package/src/blocks/evaluation-summary-report/evaluation-summary-report.stories.tsx +77 -0
- package/src/blocks/evaluation-summary-report/evaluation-summary-report.test.tsx +79 -0
- package/src/blocks/evaluation-summary-report/evaluation-summary-report.tsx +208 -0
- package/src/blocks/evaluation-summary-report/index.ts +5 -0
- package/src/blocks/form-with-validation/form-with-validation.stories.tsx +48 -0
- package/src/blocks/form-with-validation/form-with-validation.test.tsx +95 -0
- package/src/blocks/form-with-validation/form-with-validation.tsx +145 -0
- package/src/blocks/form-with-validation/index.ts +1 -0
- package/src/blocks/heuristic-finding-card/heuristic-finding-card.stories.tsx +125 -0
- package/src/blocks/heuristic-finding-card/heuristic-finding-card.test.tsx +68 -0
- package/src/blocks/heuristic-finding-card/heuristic-finding-card.tsx +172 -0
- package/src/blocks/heuristic-finding-card/index.ts +6 -0
- package/src/blocks/inspector-split-view/index.ts +5 -0
- package/src/blocks/inspector-split-view/inspector-split-view.stories.tsx +99 -0
- package/src/blocks/inspector-split-view/inspector-split-view.test.tsx +96 -0
- package/src/blocks/inspector-split-view/inspector-split-view.tsx +190 -0
- package/src/blocks/project-kanban-board/index.ts +6 -0
- package/src/blocks/project-kanban-board/project-kanban-board.stories.tsx +107 -0
- package/src/blocks/project-kanban-board/project-kanban-board.test.tsx +112 -0
- package/src/blocks/project-kanban-board/project-kanban-board.tsx +243 -0
- package/src/blocks/stats-card-grid/index.ts +1 -0
- package/src/blocks/stats-card-grid/stats-card-grid.stories.tsx +66 -0
- package/src/blocks/stats-card-grid/stats-card-grid.test.tsx +53 -0
- package/src/blocks/stats-card-grid/stats-card-grid.tsx +101 -0
- package/src/blocks/team-members-table/index.ts +6 -0
- package/src/blocks/team-members-table/team-members-table.stories.tsx +41 -0
- package/src/blocks/team-members-table/team-members-table.test.tsx +58 -0
- package/src/blocks/team-members-table/team-members-table.tsx +178 -0
- package/src/components/accordion/accordion.stories.tsx +85 -0
- package/src/components/accordion/accordion.test.tsx +125 -0
- package/src/components/accordion/accordion.tsx +57 -0
- package/src/components/accordion/index.ts +1 -0
- package/src/components/alert/alert.stories.tsx +90 -0
- package/src/components/alert/alert.test.tsx +104 -0
- package/src/components/alert/alert.tsx +68 -0
- package/src/components/alert/index.ts +1 -0
- package/src/components/alert-dialog/alert-dialog.stories.tsx +129 -0
- package/src/components/alert-dialog/alert-dialog.test.tsx +187 -0
- package/src/components/alert-dialog/alert-dialog.tsx +91 -0
- package/src/components/alert-dialog/index.ts +1 -0
- package/src/components/aspect-ratio/aspect-ratio.stories.tsx +22 -0
- package/src/components/aspect-ratio/aspect-ratio.test.tsx +43 -0
- package/src/components/aspect-ratio/aspect-ratio.tsx +39 -0
- package/src/components/aspect-ratio/index.ts +1 -0
- package/src/components/avatar/avatar.stories.tsx +98 -0
- package/src/components/avatar/avatar.test.tsx +72 -0
- package/src/components/avatar/avatar.tsx +63 -0
- package/src/components/avatar/index.ts +1 -0
- package/src/components/badge/badge.stories.tsx +83 -0
- package/src/components/badge/badge.test.tsx +79 -0
- package/src/components/badge/badge.tsx +55 -0
- package/src/components/badge/index.ts +1 -0
- package/src/components/breadcrumb/breadcrumb.stories.tsx +89 -0
- package/src/components/breadcrumb/breadcrumb.test.tsx +132 -0
- package/src/components/breadcrumb/breadcrumb.tsx +115 -0
- package/src/components/breadcrumb/index.ts +1 -0
- package/src/components/button/button.stories.tsx +150 -0
- package/src/components/button/button.test.tsx +183 -0
- package/src/components/button/button.tsx +90 -0
- package/src/components/button/index.ts +1 -0
- package/src/components/calendar/calendar.stories.tsx +64 -0
- package/src/components/calendar/calendar.test.tsx +80 -0
- package/src/components/calendar/calendar.tsx +161 -0
- package/src/components/calendar/index.ts +1 -0
- package/src/components/card/card.stories.tsx +118 -0
- package/src/components/card/card.test.tsx +113 -0
- package/src/components/card/card.tsx +94 -0
- package/src/components/card/index.ts +1 -0
- package/src/components/carousel/carousel.stories.tsx +40 -0
- package/src/components/carousel/carousel.test.tsx +30 -0
- package/src/components/carousel/carousel.tsx +241 -0
- package/src/components/carousel/index.ts +10 -0
- package/src/components/chart/chart.stories.tsx +71 -0
- package/src/components/chart/chart.test.tsx +74 -0
- package/src/components/chart/chart.tsx +96 -0
- package/src/components/chart/index.ts +1 -0
- package/src/components/checkbox/checkbox.stories.tsx +118 -0
- package/src/components/checkbox/checkbox.test.tsx +118 -0
- package/src/components/checkbox/checkbox.tsx +58 -0
- package/src/components/checkbox/index.ts +1 -0
- package/src/components/collapsible/collapsible.stories.tsx +75 -0
- package/src/components/collapsible/collapsible.test.tsx +98 -0
- package/src/components/collapsible/collapsible.tsx +23 -0
- package/src/components/collapsible/index.ts +1 -0
- package/src/components/color-swatch/color-swatch.stories.tsx +28 -0
- package/src/components/color-swatch/color-swatch.test.tsx +86 -0
- package/src/components/color-swatch/color-swatch.tsx +72 -0
- package/src/components/color-swatch/index.ts +5 -0
- package/src/components/combobox/combobox.stories.tsx +72 -0
- package/src/components/combobox/combobox.test.tsx +146 -0
- package/src/components/combobox/combobox.tsx +273 -0
- package/src/components/combobox/index.ts +1 -0
- package/src/components/command/command.stories.tsx +88 -0
- package/src/components/command/command.test.tsx +174 -0
- package/src/components/command/command.tsx +152 -0
- package/src/components/command/index.ts +1 -0
- package/src/components/context-menu/context-menu.stories.tsx +62 -0
- package/src/components/context-menu/context-menu.test.tsx +94 -0
- package/src/components/context-menu/context-menu.tsx +85 -0
- package/src/components/context-menu/index.ts +1 -0
- package/src/components/copy-button/copy-button.stories.tsx +21 -0
- package/src/components/copy-button/copy-button.test.tsx +33 -0
- package/src/components/copy-button/copy-button.tsx +71 -0
- package/src/components/copy-button/index.ts +1 -0
- package/src/components/data-table/data-table.stories.tsx +85 -0
- package/src/components/data-table/data-table.test.tsx +117 -0
- package/src/components/data-table/data-table.tsx +243 -0
- package/src/components/data-table/index.ts +1 -0
- package/src/components/date-picker/date-picker.stories.tsx +49 -0
- package/src/components/date-picker/date-picker.test.tsx +50 -0
- package/src/components/date-picker/date-picker.tsx +78 -0
- package/src/components/date-picker/index.ts +1 -0
- package/src/components/dialog/dialog.stories.tsx +131 -0
- package/src/components/dialog/dialog.test.tsx +197 -0
- package/src/components/dialog/dialog.tsx +94 -0
- package/src/components/dialog/index.ts +1 -0
- package/src/components/drawer/drawer.stories.tsx +158 -0
- package/src/components/drawer/drawer.test.tsx +189 -0
- package/src/components/drawer/drawer.tsx +97 -0
- package/src/components/drawer/index.ts +1 -0
- package/src/components/dropdown-menu/dropdown-menu.stories.tsx +96 -0
- package/src/components/dropdown-menu/dropdown-menu.test.tsx +139 -0
- package/src/components/dropdown-menu/dropdown-menu.tsx +88 -0
- package/src/components/dropdown-menu/index.ts +1 -0
- package/src/components/file-input/file-input.stories.tsx +50 -0
- package/src/components/file-input/file-input.test.tsx +85 -0
- package/src/components/file-input/file-input.tsx +91 -0
- package/src/components/file-input/index.ts +1 -0
- package/src/components/form/form.stories.tsx +86 -0
- package/src/components/form/form.test.tsx +246 -0
- package/src/components/form/form.tsx +210 -0
- package/src/components/form/index.ts +1 -0
- package/src/components/hover-card/hover-card.stories.tsx +74 -0
- package/src/components/hover-card/hover-card.test.tsx +63 -0
- package/src/components/hover-card/hover-card.tsx +85 -0
- package/src/components/hover-card/index.ts +1 -0
- package/src/components/input/index.ts +1 -0
- package/src/components/input/input.stories.tsx +146 -0
- package/src/components/input/input.test.tsx +74 -0
- package/src/components/input/input.tsx +38 -0
- package/src/components/input-otp/index.ts +6 -0
- package/src/components/input-otp/input-otp.stories.tsx +35 -0
- package/src/components/input-otp/input-otp.test.tsx +52 -0
- package/src/components/input-otp/input-otp.tsx +69 -0
- package/src/components/kbd/index.ts +1 -0
- package/src/components/kbd/kbd.stories.tsx +22 -0
- package/src/components/kbd/kbd.test.tsx +25 -0
- package/src/components/kbd/kbd.tsx +41 -0
- package/src/components/label/index.ts +1 -0
- package/src/components/label/label.stories.tsx +44 -0
- package/src/components/label/label.test.tsx +47 -0
- package/src/components/label/label.tsx +31 -0
- package/src/components/menubar/index.ts +1 -0
- package/src/components/menubar/menubar.stories.tsx +70 -0
- package/src/components/menubar/menubar.test.tsx +103 -0
- package/src/components/menubar/menubar.tsx +103 -0
- package/src/components/navigation-menu/index.ts +1 -0
- package/src/components/navigation-menu/navigation-menu.stories.tsx +118 -0
- package/src/components/navigation-menu/navigation-menu.test.tsx +84 -0
- package/src/components/navigation-menu/navigation-menu.tsx +111 -0
- package/src/components/number-field/index.ts +1 -0
- package/src/components/number-field/number-field.stories.tsx +69 -0
- package/src/components/number-field/number-field.test.tsx +76 -0
- package/src/components/number-field/number-field.tsx +48 -0
- package/src/components/pagination/index.ts +10 -0
- package/src/components/pagination/pagination.stories.tsx +46 -0
- package/src/components/pagination/pagination.test.tsx +48 -0
- package/src/components/pagination/pagination.tsx +106 -0
- package/src/components/popover/index.ts +1 -0
- package/src/components/popover/popover.stories.tsx +106 -0
- package/src/components/popover/popover.test.tsx +111 -0
- package/src/components/popover/popover.tsx +30 -0
- package/src/components/progress/index.ts +1 -0
- package/src/components/progress/progress.stories.tsx +133 -0
- package/src/components/progress/progress.test.tsx +68 -0
- package/src/components/progress/progress.tsx +64 -0
- package/src/components/radio-group/index.ts +1 -0
- package/src/components/radio-group/radio-group.stories.tsx +125 -0
- package/src/components/radio-group/radio-group.test.tsx +160 -0
- package/src/components/radio-group/radio-group.tsx +56 -0
- package/src/components/rating/index.ts +1 -0
- package/src/components/rating/rating.stories.tsx +39 -0
- package/src/components/rating/rating.test.tsx +103 -0
- package/src/components/rating/rating.tsx +134 -0
- package/src/components/resizable/index.ts +5 -0
- package/src/components/resizable/resizable.stories.tsx +36 -0
- package/src/components/resizable/resizable.test.tsx +42 -0
- package/src/components/resizable/resizable.tsx +43 -0
- package/src/components/scroll-area/index.ts +1 -0
- package/src/components/scroll-area/scroll-area.stories.tsx +48 -0
- package/src/components/scroll-area/scroll-area.test.tsx +52 -0
- package/src/components/scroll-area/scroll-area.tsx +46 -0
- package/src/components/select/index.ts +1 -0
- package/src/components/select/select.stories.tsx +89 -0
- package/src/components/select/select.test.tsx +162 -0
- package/src/components/select/select.tsx +88 -0
- package/src/components/separator/index.ts +1 -0
- package/src/components/separator/separator.stories.tsx +68 -0
- package/src/components/separator/separator.test.tsx +35 -0
- package/src/components/separator/separator.tsx +25 -0
- package/src/components/sheet/index.ts +1 -0
- package/src/components/sheet/sheet.stories.tsx +164 -0
- package/src/components/sheet/sheet.test.tsx +187 -0
- package/src/components/sheet/sheet.tsx +116 -0
- package/src/components/sidebar/index.ts +18 -0
- package/src/components/sidebar/sidebar.stories.tsx +100 -0
- package/src/components/sidebar/sidebar.test.tsx +108 -0
- package/src/components/sidebar/sidebar.tsx +428 -0
- package/src/components/skeleton/index.ts +1 -0
- package/src/components/skeleton/skeleton.stories.tsx +51 -0
- package/src/components/skeleton/skeleton.test.tsx +41 -0
- package/src/components/skeleton/skeleton.tsx +22 -0
- package/src/components/slider/index.ts +1 -0
- package/src/components/slider/slider.stories.tsx +95 -0
- package/src/components/slider/slider.test.tsx +58 -0
- package/src/components/slider/slider.tsx +34 -0
- package/src/components/sonner/index.ts +1 -0
- package/src/components/sonner/sonner.stories.tsx +34 -0
- package/src/components/sonner/sonner.test.tsx +15 -0
- package/src/components/sonner/sonner.tsx +28 -0
- package/src/components/spinner/index.ts +1 -0
- package/src/components/spinner/spinner.stories.tsx +66 -0
- package/src/components/spinner/spinner.test.tsx +49 -0
- package/src/components/spinner/spinner.tsx +65 -0
- package/src/components/stepper/index.ts +11 -0
- package/src/components/stepper/stepper.stories.tsx +51 -0
- package/src/components/stepper/stepper.test.tsx +50 -0
- package/src/components/stepper/stepper.tsx +129 -0
- package/src/components/switch/index.ts +1 -0
- package/src/components/switch/switch.stories.tsx +81 -0
- package/src/components/switch/switch.test.tsx +81 -0
- package/src/components/switch/switch.tsx +26 -0
- package/src/components/table/index.ts +1 -0
- package/src/components/table/table.stories.tsx +100 -0
- package/src/components/table/table.test.tsx +89 -0
- package/src/components/table/table.tsx +120 -0
- package/src/components/tabs/index.ts +1 -0
- package/src/components/tabs/tabs.stories.tsx +95 -0
- package/src/components/tabs/tabs.test.tsx +175 -0
- package/src/components/tabs/tabs.tsx +55 -0
- package/src/components/textarea/index.ts +1 -0
- package/src/components/textarea/textarea.stories.tsx +103 -0
- package/src/components/textarea/textarea.test.tsx +65 -0
- package/src/components/textarea/textarea.tsx +38 -0
- package/src/components/timeline/index.ts +12 -0
- package/src/components/timeline/timeline.stories.tsx +104 -0
- package/src/components/timeline/timeline.test.tsx +39 -0
- package/src/components/timeline/timeline.tsx +135 -0
- package/src/components/toast/index.ts +1 -0
- package/src/components/toast/toast.stories.tsx +170 -0
- package/src/components/toast/toast.test.tsx +159 -0
- package/src/components/toast/toast.tsx +133 -0
- package/src/components/toggle/index.ts +1 -0
- package/src/components/toggle/toggle.stories.tsx +106 -0
- package/src/components/toggle/toggle.test.tsx +87 -0
- package/src/components/toggle/toggle.tsx +41 -0
- package/src/components/toggle-group/index.ts +1 -0
- package/src/components/toggle-group/toggle-group.stories.tsx +123 -0
- package/src/components/toggle-group/toggle-group.test.tsx +102 -0
- package/src/components/toggle-group/toggle-group.tsx +58 -0
- package/src/components/tooltip/index.ts +1 -0
- package/src/components/tooltip/tooltip.stories.tsx +82 -0
- package/src/components/tooltip/tooltip.test.tsx +103 -0
- package/src/components/tooltip/tooltip.tsx +30 -0
- package/src/components/tree-view/index.ts +8 -0
- package/src/components/tree-view/tree-view.stories.tsx +61 -0
- package/src/components/tree-view/tree-view.test.tsx +36 -0
- package/src/components/tree-view/tree-view.tsx +116 -0
- package/src/index.ts +74 -0
- package/src/lib/utils.ts +38 -0
- package/src/test/contrast.ts +139 -0
- package/src/test/docs-component-usability.test.tsx +98 -0
- package/src/test/palette-contract.test.ts +694 -0
- package/src/test/public-entries.test.ts +118 -0
- package/src/test/setup.ts +94 -0
- package/src/test/sidebar-contract.test.ts +194 -0
- package/src/test/type-contract.test.ts +253 -0
- package/src/test/vitest-axe.d.ts +10 -0
- package/src/typography/typography.stories.tsx +172 -0
- package/styles/compiled.css +19 -0
- package/styles/globals.css +27 -0
- package/styles/theme.css +342 -0
- package/tsconfig.json +11 -0
- package/tsdown.config.ts +34 -0
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
|
|
3
|
+
const meta: Meta = {
|
|
4
|
+
title: "Foundations/Type Scale",
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: "padded",
|
|
7
|
+
docs: {
|
|
8
|
+
description: {
|
|
9
|
+
component:
|
|
10
|
+
"Usalyt's type scale: every `text-*` token carries its own size, line-height and optical tracking (Tailwind v4 text sub-keys), the weight vocabulary is 300/400/510/590, Inter Variable ships via @fontsource-variable/inter, and Berkeley Mono resolves local() first with JetBrains Mono → ui-monospace as the documented substitutes.",
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export default meta;
|
|
17
|
+
type Story = StoryObj<typeof meta>;
|
|
18
|
+
|
|
19
|
+
const SCALE_ROWS: Array<{
|
|
20
|
+
role: string;
|
|
21
|
+
utility: string;
|
|
22
|
+
weight: string;
|
|
23
|
+
metrics: string;
|
|
24
|
+
sample: string;
|
|
25
|
+
}> = [
|
|
26
|
+
{
|
|
27
|
+
role: "micro",
|
|
28
|
+
utility: "text-micro",
|
|
29
|
+
weight: "510",
|
|
30
|
+
metrics: "10px / 1.5 / default tracking",
|
|
31
|
+
sample: "Precision metadata at the smallest readable size",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
role: "label",
|
|
35
|
+
utility: "text-label",
|
|
36
|
+
weight: "400",
|
|
37
|
+
metrics: "12px / 1.4 / default tracking",
|
|
38
|
+
sample: "Form labels and inline metadata",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
role: "caption",
|
|
42
|
+
utility: "text-caption",
|
|
43
|
+
weight: "400",
|
|
44
|
+
metrics: "13px / 1.2 / default tracking",
|
|
45
|
+
sample: "Caption copy stays tight and quiet",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
role: "body-sm",
|
|
49
|
+
utility: "text-body-sm",
|
|
50
|
+
weight: "400",
|
|
51
|
+
metrics: "15px / 1.6 / -0.165px",
|
|
52
|
+
sample: "Dense body text keeps its measure with negative tracking",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
role: "body-lg",
|
|
56
|
+
utility: "text-body-lg",
|
|
57
|
+
weight: "590",
|
|
58
|
+
metrics: "20px / 1.33 / -0.24px",
|
|
59
|
+
sample: "Body emphasis blocks carry weight 590",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
role: "subheading",
|
|
63
|
+
utility: "text-subheading",
|
|
64
|
+
weight: "400",
|
|
65
|
+
metrics: "24px / 1.33 / -0.288px",
|
|
66
|
+
sample: "Subheadings introduce a section without shouting",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
role: "heading-sm",
|
|
70
|
+
utility: "text-heading-sm",
|
|
71
|
+
weight: "400",
|
|
72
|
+
metrics: "32px / 1.13 / -0.704px",
|
|
73
|
+
sample: "Small section headings",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
role: "heading",
|
|
77
|
+
utility: "text-heading",
|
|
78
|
+
weight: "510",
|
|
79
|
+
metrics: "48px / 1.0 / -1.056px",
|
|
80
|
+
sample: "Section headings",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
role: "heading-lg",
|
|
84
|
+
utility: "text-heading-lg",
|
|
85
|
+
weight: "510",
|
|
86
|
+
metrics: "64px / 1.0 / -1.408px",
|
|
87
|
+
sample: "Large headings",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
role: "display",
|
|
91
|
+
utility: "text-display",
|
|
92
|
+
weight: "510",
|
|
93
|
+
metrics: "72px / 1.0 / -1.584px",
|
|
94
|
+
sample: "Display",
|
|
95
|
+
},
|
|
96
|
+
];
|
|
97
|
+
|
|
98
|
+
function ScaleRow({
|
|
99
|
+
role,
|
|
100
|
+
utility,
|
|
101
|
+
weight,
|
|
102
|
+
metrics,
|
|
103
|
+
sample,
|
|
104
|
+
}: (typeof SCALE_ROWS)[number]) {
|
|
105
|
+
return (
|
|
106
|
+
<div className="flex flex-col gap-1 border-t border-graphite py-5 sm:flex-row sm:items-baseline sm:gap-6">
|
|
107
|
+
<div className="font-berkeley-mono text-label w-48 shrink-0 text-fog">
|
|
108
|
+
<span className="text-paper">{utility}</span>
|
|
109
|
+
<span className="block text-fog">
|
|
110
|
+
{metrics} · {weight}
|
|
111
|
+
</span>
|
|
112
|
+
</div>
|
|
113
|
+
<p className={`${utility} font-w${weight} text-mist m-0 min-w-0`}>
|
|
114
|
+
{sample}
|
|
115
|
+
</p>
|
|
116
|
+
</div>
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export const Scale: Story = {
|
|
121
|
+
name: "Type Scale (caption → display)",
|
|
122
|
+
render: () => (
|
|
123
|
+
<div className="max-w-3xl">
|
|
124
|
+
{SCALE_ROWS.map((row) => (
|
|
125
|
+
<ScaleRow key={row.role} {...row} />
|
|
126
|
+
))}
|
|
127
|
+
</div>
|
|
128
|
+
),
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
const WEIGHTS: Array<[string, string]> = [
|
|
132
|
+
["300", "font-light"],
|
|
133
|
+
["400", "font-regular"],
|
|
134
|
+
["510", "font-w510"],
|
|
135
|
+
["590", "font-w590"],
|
|
136
|
+
];
|
|
137
|
+
|
|
138
|
+
export const Weights: Story = {
|
|
139
|
+
name: "Weight Vocabulary (300 / 400 / 510 / 590)",
|
|
140
|
+
render: () => (
|
|
141
|
+
<div className="max-w-3xl">
|
|
142
|
+
{WEIGHTS.map(([value, utility]) => (
|
|
143
|
+
<p
|
|
144
|
+
key={value}
|
|
145
|
+
className={`${utility} text-body-sm text-mist border-t border-graphite py-4`}
|
|
146
|
+
>
|
|
147
|
+
<span className="font-berkeley-mono text-label text-fog">
|
|
148
|
+
{utility} · {value}
|
|
149
|
+
</span>
|
|
150
|
+
<br />
|
|
151
|
+
Inter Variable keeps Linear's precision band — no bold above 590.
|
|
152
|
+
</p>
|
|
153
|
+
))}
|
|
154
|
+
</div>
|
|
155
|
+
),
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
export const Mono: Story = {
|
|
159
|
+
name: "Berkeley Mono + substitution",
|
|
160
|
+
render: () => (
|
|
161
|
+
<div className="max-w-3xl border-t border-graphite pt-5">
|
|
162
|
+
<p className="font-berkeley-mono text-body-sm text-mist m-0">
|
|
163
|
+
ENG-2703 · ⌘K · 402 ms
|
|
164
|
+
</p>
|
|
165
|
+
<p className="text-caption text-fog mt-2 mb-0 max-w-xl">
|
|
166
|
+
Berkeley Mono is commercial and never bundled: the local() source wins
|
|
167
|
+
when the face is installed; otherwise the stack falls back to JetBrains
|
|
168
|
+
Mono, then ui-monospace.
|
|
169
|
+
</p>
|
|
170
|
+
</div>
|
|
171
|
+
),
|
|
172
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* @usalyt/ui compiled stylesheet entry.
|
|
2
|
+
*
|
|
3
|
+
* Compiled by @tailwindcss/cli to dist/styles.css. It imports Tailwind's
|
|
4
|
+
* theme and utilities layers only — Preflight is deliberately excluded so
|
|
5
|
+
* importing this file into a host application does not reset page styles.
|
|
6
|
+
*
|
|
7
|
+
* Fonts: Inter Variable is read from @fontsource-variable/inter and its woff2
|
|
8
|
+
* files are copied next to dist/styles.css by scripts/postbuild.mjs. Berkeley
|
|
9
|
+
* Mono is local()-only in styles/theme.css and never bundled.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
@layer theme, base, components, utilities;
|
|
13
|
+
|
|
14
|
+
@import "tailwindcss/theme.css" layer(theme);
|
|
15
|
+
@import "tailwindcss/utilities.css" layer(utilities);
|
|
16
|
+
@import "./theme.css";
|
|
17
|
+
@import "@fontsource-variable/inter";
|
|
18
|
+
|
|
19
|
+
@source "../src";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
@import "@fontsource-variable/inter";
|
|
2
|
+
@import "tailwindcss";
|
|
3
|
+
@import "./theme.css";
|
|
4
|
+
@source "../src";
|
|
5
|
+
|
|
6
|
+
/* Raw Tailwind entry point for consumers who compile their own theme.
|
|
7
|
+
*
|
|
8
|
+
* This file intentionally imports Tailwind (including Preflight) and is not
|
|
9
|
+
* the published compiled stylesheet. Consumers who want no host-page reset
|
|
10
|
+
* should import `@usalyt/ui/styles.css` (dist/styles.css) instead.
|
|
11
|
+
*
|
|
12
|
+
* The base layer below applies the Usalyt page substrate. It is only part of
|
|
13
|
+
* this raw entry; the compiled stylesheet ships tokens and component
|
|
14
|
+
* utilities without touching host elements. */
|
|
15
|
+
@layer base {
|
|
16
|
+
* {
|
|
17
|
+
border-color: var(--color-border);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
body {
|
|
21
|
+
background-color: var(--color-background);
|
|
22
|
+
color: var(--color-foreground);
|
|
23
|
+
font-family: var(--font-sans);
|
|
24
|
+
font-feature-settings: "cv01" 1, "ss03" 1, "zero" 1;
|
|
25
|
+
-webkit-font-smoothing: antialiased;
|
|
26
|
+
}
|
|
27
|
+
}
|
package/styles/theme.css
ADDED
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
/* Usalyt shared theme layer.
|
|
2
|
+
*
|
|
3
|
+
* This file is the single source of truth for the design tokens. It is
|
|
4
|
+
* imported by both public stylesheets:
|
|
5
|
+
*
|
|
6
|
+
* - styles/globals.css — raw Tailwind source for consumers who compile
|
|
7
|
+
* their own theme (Preflight included there).
|
|
8
|
+
* - styles/compiled.css — the published dist/styles.css entry, which uses
|
|
9
|
+
* Tailwind theme + utilities only (no Preflight).
|
|
10
|
+
*
|
|
11
|
+
* Keeping the tokens here means both paths expose the same palette, type
|
|
12
|
+
* scale, radii, elevations, and light/dark semantics.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/* Berkeley Mono — Substitution Contract (DESIGN.md "Tokens — Typography"):
|
|
16
|
+
* Berkeley Mono is a commercial typeface and is never bundled with the
|
|
17
|
+
* library. The @font-face below declares it local()-only: consumers who own a
|
|
18
|
+
* license get the real face; everyone else falls back to "JetBrains Mono"
|
|
19
|
+
* (the documented substitute — install it as an OS font or self-host it),
|
|
20
|
+
* then ui-monospace. No silent fallback beyond that. */
|
|
21
|
+
@font-face {
|
|
22
|
+
font-family: "Berkeley Mono";
|
|
23
|
+
src: local("Berkeley Mono"), local("Berkeley Mono Variable");
|
|
24
|
+
font-display: swap;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Class-based dark strategy: a host page's explicit `.dark` class wins over
|
|
28
|
+
* the OS preference in both directions. Without this, `dark:` compiles to a
|
|
29
|
+
* prefers-color-scheme media query and leaks dark palettes into light themes
|
|
30
|
+
* on dark-mode machines. */
|
|
31
|
+
@custom-variant dark (&:where(.dark, .dark *));
|
|
32
|
+
|
|
33
|
+
@theme {
|
|
34
|
+
/* Raw Linear Palette */
|
|
35
|
+
--color-void: #08090a;
|
|
36
|
+
--color-carbon: #0f1011;
|
|
37
|
+
--color-obsidian: #161718;
|
|
38
|
+
--color-graphite: #23252a;
|
|
39
|
+
--color-smoke: #383b3f;
|
|
40
|
+
--color-ash: #62666d;
|
|
41
|
+
--color-fog: #8a8f98;
|
|
42
|
+
--color-mist: #d0d6e0;
|
|
43
|
+
--color-bone: #e5e5e6;
|
|
44
|
+
--color-paper: #ffffff;
|
|
45
|
+
--color-acid-lime: #e4f222;
|
|
46
|
+
--color-pulse-green: #27a644;
|
|
47
|
+
--color-coral-red: #eb5757;
|
|
48
|
+
--color-signal-teal: #02b8cc;
|
|
49
|
+
--color-iris-violet: #6366f1;
|
|
50
|
+
--color-lavender: #8b5cf6;
|
|
51
|
+
|
|
52
|
+
/* Chromatic ink tokens — the accessible text/icon color that pairs with
|
|
53
|
+
* each hue's tinted surfaces (per craft-floor: tint secondary text from
|
|
54
|
+
* that hue or the foreground, never gray). Dark-theme inks are the hue
|
|
55
|
+
* (lightened toward paper only where the raw hue falls under the 4.5:1
|
|
56
|
+
* floor on 10% tints); light-theme overrides mix the hue toward void.
|
|
57
|
+
* Values calibrated by WCAG calculation in
|
|
58
|
+
* packages/ui/src/test/palette-contract.test.ts. */
|
|
59
|
+
--color-pulse-green-foreground: color-mix(in oklab, var(--color-pulse-green) 94%, var(--color-paper));
|
|
60
|
+
--color-coral-red-foreground: color-mix(in oklab, var(--color-coral-red) 89%, var(--color-paper));
|
|
61
|
+
--color-signal-teal-foreground: var(--color-signal-teal);
|
|
62
|
+
--color-iris-violet-foreground: color-mix(in oklab, var(--color-iris-violet) 77%, var(--color-paper));
|
|
63
|
+
--color-lavender-foreground: color-mix(in oklab, var(--color-lavender) 79%, var(--color-paper));
|
|
64
|
+
|
|
65
|
+
/* Theme-aware form field fill: white 2% on the dark substrate, black 3%
|
|
66
|
+
* on the light canvas (theme-blind bg-white/[0.02] collapses on white). */
|
|
67
|
+
--color-field: rgb(255 255 255 / 0.02);
|
|
68
|
+
|
|
69
|
+
/* Typography Families */
|
|
70
|
+
--font-sans: "Inter Variable", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
71
|
+
--font-mono: "Berkeley Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
72
|
+
--font-inter-variable: "Inter Variable", ui-sans-serif, system-ui, sans-serif;
|
|
73
|
+
--font-berkeley-mono: "Berkeley Mono", "JetBrains Mono", ui-monospace, monospace;
|
|
74
|
+
|
|
75
|
+
/* Font Weight Caps (Linear Precision Vocabulary: 300, 400, 510, 590).
|
|
76
|
+
* The canonical aliases generate font-light / font-regular / font-w510 /
|
|
77
|
+
* font-w590; the shadcn-style caps remap legacy weight utilities onto the
|
|
78
|
+
* same 300-590 band (the system never exceeds 590). */
|
|
79
|
+
--font-weight-light: 300;
|
|
80
|
+
--font-weight-regular: 400;
|
|
81
|
+
--font-weight-w510: 510;
|
|
82
|
+
--font-weight-w590: 590;
|
|
83
|
+
--font-weight-medium: 510;
|
|
84
|
+
--font-weight-semibold: 590;
|
|
85
|
+
--font-weight-bold: 590;
|
|
86
|
+
--font-weight-extrabold: 590;
|
|
87
|
+
|
|
88
|
+
/* Type Scale — granular tokens (DESIGN.md "Type Scale Detail"). Sizes and
|
|
89
|
+
* per-size leading/tracking from the DESIGN.md contract; caption, label and
|
|
90
|
+
* micro ship default tracking (no --tracking-<name> token by design). */
|
|
91
|
+
--leading-micro: 1.5;
|
|
92
|
+
--leading-label: 1.4;
|
|
93
|
+
--leading-caption: 1.2;
|
|
94
|
+
--leading-body-sm: 1.6;
|
|
95
|
+
--leading-body-lg: 1.33;
|
|
96
|
+
--leading-subheading: 1.33;
|
|
97
|
+
--leading-heading-sm: 1.13;
|
|
98
|
+
--leading-heading: 1;
|
|
99
|
+
--leading-heading-lg: 1;
|
|
100
|
+
--leading-display: 1;
|
|
101
|
+
|
|
102
|
+
--tracking-body-sm: -0.165px;
|
|
103
|
+
--tracking-body-lg: -0.24px;
|
|
104
|
+
--tracking-subheading: -0.288px;
|
|
105
|
+
--tracking-heading-sm: -0.704px;
|
|
106
|
+
--tracking-heading: -1.056px;
|
|
107
|
+
--tracking-heading-lg: -1.408px;
|
|
108
|
+
--tracking-display: -1.584px;
|
|
109
|
+
|
|
110
|
+
/* Type Scale — composed text utilities via Tailwind v4 text sub-keys: each
|
|
111
|
+
* `text-<name>` utility carries size + line-height (+ letter-spacing where
|
|
112
|
+
* the contract defines one). Verified against Tailwind 4.3.3 utility
|
|
113
|
+
* generation. */
|
|
114
|
+
--text-micro: 10px;
|
|
115
|
+
--text-micro--line-height: var(--leading-micro);
|
|
116
|
+
--text-label: 12px;
|
|
117
|
+
--text-label--line-height: var(--leading-label);
|
|
118
|
+
--text-caption: 13px;
|
|
119
|
+
--text-caption--line-height: var(--leading-caption);
|
|
120
|
+
--text-body-sm: 15px;
|
|
121
|
+
--text-body-sm--line-height: var(--leading-body-sm);
|
|
122
|
+
--text-body-sm--letter-spacing: var(--tracking-body-sm);
|
|
123
|
+
--text-body-lg: 20px;
|
|
124
|
+
--text-body-lg--line-height: var(--leading-body-lg);
|
|
125
|
+
--text-body-lg--letter-spacing: var(--tracking-body-lg);
|
|
126
|
+
--text-subheading: 24px;
|
|
127
|
+
--text-subheading--line-height: var(--leading-subheading);
|
|
128
|
+
--text-subheading--letter-spacing: var(--tracking-subheading);
|
|
129
|
+
--text-heading-sm: 32px;
|
|
130
|
+
--text-heading-sm--line-height: var(--leading-heading-sm);
|
|
131
|
+
--text-heading-sm--letter-spacing: var(--tracking-heading-sm);
|
|
132
|
+
--text-heading: 48px;
|
|
133
|
+
--text-heading--line-height: var(--leading-heading);
|
|
134
|
+
--text-heading--letter-spacing: var(--tracking-heading);
|
|
135
|
+
--text-heading-lg: 64px;
|
|
136
|
+
--text-heading-lg--line-height: var(--leading-heading-lg);
|
|
137
|
+
--text-heading-lg--letter-spacing: var(--tracking-heading-lg);
|
|
138
|
+
--text-display: 72px;
|
|
139
|
+
--text-display--line-height: var(--leading-display);
|
|
140
|
+
--text-display--letter-spacing: var(--tracking-display);
|
|
141
|
+
|
|
142
|
+
/* Strict Canonical 5-Tier Radii Scale */
|
|
143
|
+
--radius-xs: 2px;
|
|
144
|
+
--radius-sm: 4px;
|
|
145
|
+
--radius-md: 6px;
|
|
146
|
+
--radius-lg: 12px;
|
|
147
|
+
--radius-full: 9999px;
|
|
148
|
+
|
|
149
|
+
/* Hairline Elevation & Shadow Stack */
|
|
150
|
+
--shadow-sm: rgba(0, 0, 0, 0.4) 0px 2px 4px 0px;
|
|
151
|
+
--shadow-md: rgba(0, 0, 0, 0.2) 0px 0px 12px 0px inset;
|
|
152
|
+
--shadow-subtle: rgb(35, 37, 42) 0px 0px 0px 1px inset;
|
|
153
|
+
--shadow-subtle-1: rgb(35, 37, 42) 0px 0px 0px 1px inset;
|
|
154
|
+
--shadow-subtle-2: rgba(0, 0, 0, 0.2) 0px 0px 0px 1px;
|
|
155
|
+
--shadow-subtle-3: rgba(0, 0, 0, 0.01) 0px 5px 2px 0px, rgba(0, 0, 0, 0.04) 0px 3px 2px 0px, rgba(0, 0, 0, 0.07) 0px 1px 1px 0px, rgba(0, 0, 0, 0.08) 0px 0px 1px 0px;
|
|
156
|
+
--shadow-subtle-4: rgba(255, 255, 255, 0.03) 0px 0px 0px 1px inset, rgba(255, 255, 255, 0.04) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.6) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 0px 4px 4px 0px;
|
|
157
|
+
--shadow-subtle-5: rgba(0, 0, 0, 0.1) 0px 0px 0px 2px;
|
|
158
|
+
--shadow-inset-hairline: rgb(35, 37, 42) 0px 0px 0px 1px inset;
|
|
159
|
+
--shadow-xl: rgba(8, 9, 10, 0.6) 0px 4px 32px 0px;
|
|
160
|
+
|
|
161
|
+
/* Semantic Default Color Layer (Dark-first Midnight Substrate) */
|
|
162
|
+
--color-background: var(--color-void);
|
|
163
|
+
--color-foreground: var(--color-mist);
|
|
164
|
+
--color-primary: var(--color-acid-lime);
|
|
165
|
+
--color-primary-foreground: var(--color-void);
|
|
166
|
+
--color-secondary: var(--color-obsidian);
|
|
167
|
+
--color-secondary-foreground: var(--color-mist);
|
|
168
|
+
--color-muted: var(--color-obsidian);
|
|
169
|
+
--color-muted-foreground: var(--color-fog);
|
|
170
|
+
--color-card: var(--color-carbon);
|
|
171
|
+
--color-card-foreground: var(--color-paper);
|
|
172
|
+
--color-popover: var(--color-obsidian);
|
|
173
|
+
--color-popover-foreground: var(--color-mist);
|
|
174
|
+
--color-accent: var(--color-graphite);
|
|
175
|
+
--color-accent-foreground: var(--color-paper);
|
|
176
|
+
--color-destructive: var(--color-coral-red);
|
|
177
|
+
--color-destructive-foreground: var(--color-void);
|
|
178
|
+
--color-border: var(--color-graphite);
|
|
179
|
+
--color-input: var(--color-graphite);
|
|
180
|
+
--color-ring: var(--color-mist);
|
|
181
|
+
|
|
182
|
+
/* Stepped Surfaces */
|
|
183
|
+
--color-surface-base: var(--color-void);
|
|
184
|
+
--color-surface-raised: var(--color-carbon);
|
|
185
|
+
--color-surface-overlay: var(--color-obsidian);
|
|
186
|
+
--color-surface-inset: var(--color-graphite);
|
|
187
|
+
|
|
188
|
+
/* Sidebar rail — a Carbon navigation container in the dark world
|
|
189
|
+
* (DESIGN.md surfaces: Void → Carbon → Obsidian → Slate). The light block
|
|
190
|
+
* below re-anchors the same six tokens on the light ladder so `bg-sidebar` /
|
|
191
|
+
* `text-sidebar-foreground` / `hover:bg-sidebar-accent` resolve in BOTH
|
|
192
|
+
* themes instead of rendering a transparent surface. */
|
|
193
|
+
--color-sidebar: var(--color-carbon);
|
|
194
|
+
--color-sidebar-foreground: var(--color-mist);
|
|
195
|
+
--color-sidebar-border: var(--color-graphite);
|
|
196
|
+
--color-sidebar-ring: var(--color-mist);
|
|
197
|
+
--color-sidebar-accent: var(--color-graphite);
|
|
198
|
+
--color-sidebar-accent-foreground: var(--color-paper);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
@layer base {
|
|
202
|
+
:root,
|
|
203
|
+
.dark {
|
|
204
|
+
--color-background: var(--color-void);
|
|
205
|
+
--color-foreground: var(--color-mist);
|
|
206
|
+
--color-primary: var(--color-acid-lime);
|
|
207
|
+
--color-primary-foreground: var(--color-void);
|
|
208
|
+
--color-secondary: var(--color-obsidian);
|
|
209
|
+
--color-secondary-foreground: var(--color-mist);
|
|
210
|
+
--color-muted: var(--color-obsidian);
|
|
211
|
+
--color-muted-foreground: var(--color-fog);
|
|
212
|
+
--color-card: var(--color-carbon);
|
|
213
|
+
--color-card-foreground: var(--color-paper);
|
|
214
|
+
--color-popover: var(--color-obsidian);
|
|
215
|
+
--color-popover-foreground: var(--color-mist);
|
|
216
|
+
--color-accent: var(--color-graphite);
|
|
217
|
+
--color-accent-foreground: var(--color-paper);
|
|
218
|
+
--color-destructive: var(--color-coral-red);
|
|
219
|
+
--color-destructive-foreground: var(--color-void);
|
|
220
|
+
--color-border: var(--color-graphite);
|
|
221
|
+
--color-input: var(--color-graphite);
|
|
222
|
+
--color-ring: var(--color-mist);
|
|
223
|
+
|
|
224
|
+
--color-surface-base: var(--color-void);
|
|
225
|
+
--color-surface-raised: var(--color-carbon);
|
|
226
|
+
--color-surface-overlay: var(--color-obsidian);
|
|
227
|
+
--color-surface-inset: var(--color-graphite);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
html[data-theme="light"]:not(.dark) {
|
|
231
|
+
--color-background: #ffffff;
|
|
232
|
+
--color-foreground: var(--color-void);
|
|
233
|
+
--color-primary: var(--color-void);
|
|
234
|
+
--color-primary-foreground: var(--color-paper);
|
|
235
|
+
--color-secondary: #f4f4f5;
|
|
236
|
+
--color-secondary-foreground: var(--color-void);
|
|
237
|
+
--color-muted: #f4f4f5;
|
|
238
|
+
--color-muted-foreground: var(--color-ash);
|
|
239
|
+
--color-card: #ffffff;
|
|
240
|
+
--color-card-foreground: var(--color-void);
|
|
241
|
+
--color-popover: #ffffff;
|
|
242
|
+
--color-popover-foreground: var(--color-void);
|
|
243
|
+
--color-accent: #e5e5e6;
|
|
244
|
+
--color-accent-foreground: var(--color-void);
|
|
245
|
+
--color-destructive: var(--color-coral-red);
|
|
246
|
+
--color-destructive-foreground: var(--color-void);
|
|
247
|
+
--color-border: #e4e4e7;
|
|
248
|
+
--color-input: #e4e4e7;
|
|
249
|
+
--color-ring: var(--color-void);
|
|
250
|
+
|
|
251
|
+
--color-surface-base: #ffffff;
|
|
252
|
+
--color-surface-raised: #f4f4f5;
|
|
253
|
+
--color-surface-overlay: #ffffff;
|
|
254
|
+
--color-surface-inset: #e5e5e6;
|
|
255
|
+
|
|
256
|
+
/* Light-theme chromatic inks: the hue mixed toward void so text holds
|
|
257
|
+
* >= 4.5:1 on tinted surfaces (verified by calculation, see
|
|
258
|
+
* src/test/palette-contract.test.ts). */
|
|
259
|
+
--color-pulse-green-foreground: color-mix(in oklab, var(--color-pulse-green) 57%, var(--color-void));
|
|
260
|
+
--color-coral-red-foreground: color-mix(in oklab, var(--color-coral-red) 60%, var(--color-void));
|
|
261
|
+
--color-signal-teal-foreground: color-mix(in oklab, var(--color-signal-teal) 50%, var(--color-void));
|
|
262
|
+
--color-iris-violet-foreground: color-mix(in oklab, var(--color-iris-violet) 67%, var(--color-void));
|
|
263
|
+
--color-lavender-foreground: color-mix(in oklab, var(--color-lavender) 66%, var(--color-void));
|
|
264
|
+
|
|
265
|
+
--color-field: rgb(0 0 0 / 0.03);
|
|
266
|
+
|
|
267
|
+
/* Sidebar rail on the light ladder: an off-white surface one step below
|
|
268
|
+
* the white canvas, with the same six tokens re-anchored so the rail is
|
|
269
|
+
* never transparent and its foreground holds >= 4.5:1 (verified by
|
|
270
|
+
* calculation in src/test/sidebar-contract.test.ts). */
|
|
271
|
+
--color-sidebar: #fafafa;
|
|
272
|
+
--color-sidebar-foreground: var(--color-void);
|
|
273
|
+
--color-sidebar-border: #e4e4e7;
|
|
274
|
+
--color-sidebar-ring: var(--color-void);
|
|
275
|
+
--color-sidebar-accent: #e5e5e6;
|
|
276
|
+
--color-sidebar-accent-foreground: var(--color-void);
|
|
277
|
+
|
|
278
|
+
/* Overlay elevation softens on the light canvas: the dark 60%-alpha
|
|
279
|
+
* halo reads as a black smear around popovers on white. Surfaces reach
|
|
280
|
+
* this token through `shadow-(--shadow-xl)` — Tailwind inlines the
|
|
281
|
+
* plain `shadow-xl` utility, so the override only applies where the
|
|
282
|
+
* utility keeps a runtime var() reference. */
|
|
283
|
+
--shadow-xl: rgba(8, 9, 10, 0.14) 0px 6px 24px 0px, rgba(8, 9, 10, 0.08) 0px 2px 6px 0px;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/* Optical Tracking Utilities */
|
|
288
|
+
.tracking-tight-linear {
|
|
289
|
+
letter-spacing: -0.011em;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.tracking-display-linear {
|
|
293
|
+
letter-spacing: -0.022em;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/* ─── Motion Layer ─────────────────────────────────────────────────────────
|
|
297
|
+
* One authored motion vocabulary for the overlay/panel state layer:
|
|
298
|
+
* exponential ease-out, 170ms enter / 120ms exit (Linear-quiet).
|
|
299
|
+
* Entrances/exits are wired to the attributes Base UI v1.6.0 actually emits:
|
|
300
|
+
* data-open / data-closed (popup surfaces), data-starting-style /
|
|
301
|
+
* data-ending-style (transitions on toast roots and collapsing panels).
|
|
302
|
+
* ────────────────────────────────────────────────────────────────────────── */
|
|
303
|
+
@theme {
|
|
304
|
+
--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
|
|
305
|
+
--transition-duration-enter: 170ms;
|
|
306
|
+
--transition-duration-exit: 120ms;
|
|
307
|
+
|
|
308
|
+
/* Popup surfaces (dialog, alert-dialog, popover, menus, select, tooltip,
|
|
309
|
+
* drawer): enter plays on data-open, exit plays on data-closed. */
|
|
310
|
+
--animate-overlay-in: overlay-in var(--transition-duration-enter) var(--ease-out-expo) both;
|
|
311
|
+
--animate-overlay-out: overlay-out var(--transition-duration-exit) var(--ease-out-expo) both;
|
|
312
|
+
|
|
313
|
+
/* Scrim backdrops fade without spatial movement. */
|
|
314
|
+
--animate-fade-in: fade-in var(--transition-duration-enter) var(--ease-out-expo) both;
|
|
315
|
+
--animate-fade-out: fade-out var(--transition-duration-exit) var(--ease-out-expo) both;
|
|
316
|
+
|
|
317
|
+
@keyframes overlay-in {
|
|
318
|
+
from {
|
|
319
|
+
opacity: 0;
|
|
320
|
+
transform: translateY(4px) scale(0.97);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
@keyframes overlay-out {
|
|
325
|
+
to {
|
|
326
|
+
opacity: 0;
|
|
327
|
+
transform: translateY(2px) scale(0.98);
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
@keyframes fade-in {
|
|
332
|
+
from {
|
|
333
|
+
opacity: 0;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
@keyframes fade-out {
|
|
338
|
+
to {
|
|
339
|
+
opacity: 0;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
package/tsconfig.json
ADDED
package/tsdown.config.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { existsSync, readdirSync } from "node:fs";
|
|
2
|
+
import path from "node:path";
|
|
3
|
+
import { defineConfig } from "tsdown";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Every directory under `src/<group>` with an `index.ts` is a public entry.
|
|
7
|
+
* Keeping this derived from the tree prevents a component from shipping in the
|
|
8
|
+
* root barrel while silently missing its own subpath artifact.
|
|
9
|
+
*/
|
|
10
|
+
function entryDirectories(group: string): string[] {
|
|
11
|
+
const groupRoot = path.resolve("src", group);
|
|
12
|
+
if (!existsSync(groupRoot)) return [];
|
|
13
|
+
|
|
14
|
+
return readdirSync(groupRoot, { withFileTypes: true })
|
|
15
|
+
.filter(
|
|
16
|
+
(entry) =>
|
|
17
|
+
entry.isDirectory() &&
|
|
18
|
+
existsSync(path.join(groupRoot, entry.name, "index.ts")),
|
|
19
|
+
)
|
|
20
|
+
.map((entry) => `src/${group}/${entry.name}/index.ts`)
|
|
21
|
+
.sort();
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export default defineConfig({
|
|
25
|
+
entry: [
|
|
26
|
+
"src/index.ts",
|
|
27
|
+
...entryDirectories("components"),
|
|
28
|
+
...entryDirectories("blocks"),
|
|
29
|
+
],
|
|
30
|
+
format: ["esm", "cjs"],
|
|
31
|
+
dts: true,
|
|
32
|
+
clean: true,
|
|
33
|
+
external: ["react", "react-dom", "@base-ui/react"]
|
|
34
|
+
});
|