@usalyt/ui 0.0.0-stage → 0.0.2
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 +34 -0
- package/LICENSE +21 -0
- package/NOTICE +31 -0
- package/README.md +147 -2
- package/THIRD_PARTY_NOTICES.md +446 -0
- package/dist/app-shell-layout-BwhU0DNY.cjs +120 -0
- package/dist/app-shell-layout-Dpl6jPni.mjs +115 -0
- package/dist/app-shell-layout-Dpl6jPni.mjs.map +1 -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/color-palette-sheet/index.cjs +191 -0
- package/dist/blocks/color-palette-sheet/index.d.cts +42 -0
- package/dist/blocks/color-palette-sheet/index.d.cts.map +1 -0
- package/dist/blocks/color-palette-sheet/index.d.mts +42 -0
- package/dist/blocks/color-palette-sheet/index.d.mts.map +1 -0
- package/dist/blocks/color-palette-sheet/index.mjs +190 -0
- package/dist/blocks/color-palette-sheet/index.mjs.map +1 -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 +87 -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 +86 -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 +122 -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 +120 -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/instrument-metrics-grid/index.cjs +225 -0
- package/dist/blocks/instrument-metrics-grid/index.d.cts +32 -0
- package/dist/blocks/instrument-metrics-grid/index.d.cts.map +1 -0
- package/dist/blocks/instrument-metrics-grid/index.d.mts +32 -0
- package/dist/blocks/instrument-metrics-grid/index.d.mts.map +1 -0
- package/dist/blocks/instrument-metrics-grid/index.mjs +224 -0
- package/dist/blocks/instrument-metrics-grid/index.mjs.map +1 -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/schedule-timeline-board/index.cjs +327 -0
- package/dist/blocks/schedule-timeline-board/index.d.cts +51 -0
- package/dist/blocks/schedule-timeline-board/index.d.cts.map +1 -0
- package/dist/blocks/schedule-timeline-board/index.d.mts +51 -0
- package/dist/blocks/schedule-timeline-board/index.d.mts.map +1 -0
- package/dist/blocks/schedule-timeline-board/index.mjs +326 -0
- package/dist/blocks/schedule-timeline-board/index.mjs.map +1 -0
- package/dist/blocks/stats-card-grid/index.cjs +55 -0
- package/dist/blocks/stats-card-grid/index.d.cts +22 -0
- package/dist/blocks/stats-card-grid/index.d.cts.map +1 -0
- package/dist/blocks/stats-card-grid/index.d.mts +22 -0
- package/dist/blocks/stats-card-grid/index.d.mts.map +1 -0
- package/dist/blocks/stats-card-grid/index.mjs +54 -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-BO-k0fqo.mjs +113 -0
- package/dist/collaboration-chat-panel-BO-k0fqo.mjs.map +1 -0
- package/dist/collaboration-chat-panel-CR14FNw6.cjs +118 -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 +46 -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 +42 -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 +38 -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 +36 -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 +100 -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 +98 -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 +65 -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 +58 -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 +68 -0
- package/dist/components/dialog/index.d.cts +24 -0
- package/dist/components/dialog/index.d.cts.map +1 -0
- package/dist/components/dialog/index.d.mts +24 -0
- package/dist/components/dialog/index.d.mts.map +1 -0
- package/dist/components/dialog/index.mjs +58 -0
- package/dist/components/dialog/index.mjs.map +1 -0
- package/dist/components/drawer/index.cjs +61 -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 +51 -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 +33 -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 +31 -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 +94 -0
- package/dist/components/progress/index.d.cts +20 -0
- package/dist/components/progress/index.d.cts.map +1 -0
- package/dist/components/progress/index.d.mts +20 -0
- package/dist/components/progress/index.d.mts.map +1 -0
- package/dist/components/progress/index.mjs +91 -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 +54 -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 +46 -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 +69 -0
- package/dist/components/sheet/index.d.cts +27 -0
- package/dist/components/sheet/index.d.cts.map +1 -0
- package/dist/components/sheet/index.d.mts +27 -0
- package/dist/components/sheet/index.d.mts.map +1 -0
- package/dist/components/sheet/index.mjs +61 -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 +36 -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 +32 -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 +92 -0
- package/dist/components/toast/index.d.cts +27 -0
- package/dist/components/toast/index.d.cts.map +1 -0
- package/dist/components/toast/index.d.mts +27 -0
- package/dist/components/toast/index.d.mts.map +1 -0
- package/dist/components/toast/index.mjs +80 -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-DlccTgvo.mjs +53 -0
- package/dist/empty-state-block-DlccTgvo.mjs.map +1 -0
- package/dist/empty-state-block-rrYF_ai9.cjs +58 -0
- package/dist/evaluation-summary-report-CIa4moWm.cjs +245 -0
- package/dist/evaluation-summary-report-COZZFLS6.mjs +240 -0
- package/dist/evaluation-summary-report-COZZFLS6.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-CeJzuzuN.cjs +153 -0
- package/dist/heuristic-finding-card-hlDwM_of.mjs +148 -0
- package/dist/heuristic-finding-card-hlDwM_of.mjs.map +1 -0
- package/dist/index-2Vh9mMtN.d.mts +12 -0
- package/dist/index-2Vh9mMtN.d.mts.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-B6epY4xT.d.cts +18 -0
- package/dist/index-B6epY4xT.d.cts.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-B_JrTcxF.d.cts +31 -0
- package/dist/index-B_JrTcxF.d.cts.map +1 -0
- package/dist/index-C3V4MOJH.d.mts +18 -0
- package/dist/index-C3V4MOJH.d.mts.map +1 -0
- package/dist/index-C3ol_8Kk.d.cts +31 -0
- package/dist/index-C3ol_8Kk.d.cts.map +1 -0
- package/dist/index-C5ugjRen.d.cts +25 -0
- package/dist/index-C5ugjRen.d.cts.map +1 -0
- package/dist/index-C5ugjRen.d.mts +25 -0
- package/dist/index-C5ugjRen.d.mts.map +1 -0
- package/dist/index-CI5EwPm7.d.cts +39 -0
- package/dist/index-CI5EwPm7.d.cts.map +1 -0
- package/dist/index-CI5EwPm7.d.mts +39 -0
- package/dist/index-CI5EwPm7.d.mts.map +1 -0
- package/dist/index-CU-siW-K.d.mts +46 -0
- package/dist/index-CU-siW-K.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-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-D5_0x-hC.d.cts +12 -0
- package/dist/index-D5_0x-hC.d.cts.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-DeDN45Ha.d.mts +31 -0
- package/dist/index-DeDN45Ha.d.mts.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-DtPmPGcN.d.cts +27 -0
- package/dist/index-DtPmPGcN.d.cts.map +1 -0
- package/dist/index-DtPmPGcN.d.mts +27 -0
- package/dist/index-DtPmPGcN.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-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-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-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-o7W0pKFo.d.mts +31 -0
- package/dist/index-o7W0pKFo.d.mts.map +1 -0
- package/dist/index-y8s6jpSR.d.cts +46 -0
- package/dist/index-y8s6jpSR.d.cts.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 +363 -0
- package/dist/index.d.cts +83 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +83 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +80 -0
- package/dist/input-otp-C7O7AtXb.cjs +67 -0
- package/dist/input-otp-CFNLnAuu.mjs +44 -0
- package/dist/input-otp-CFNLnAuu.mjs.map +1 -0
- package/dist/inspector-split-view-Cwsvl3-m.cjs +150 -0
- package/dist/inspector-split-view-D5tX9P5r.mjs +145 -0
- package/dist/inspector-split-view-D5tX9P5r.mjs.map +1 -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-BHLRHooH.mjs +138 -0
- package/dist/project-kanban-board-BHLRHooH.mjs.map +1 -0
- package/dist/project-kanban-board-DUaDiHZC.cjs +143 -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-5OWUc6Ib.cjs +126 -0
- package/dist/team-members-table-DW52BAKr.mjs +121 -0
- package/dist/team-members-table-DW52BAKr.mjs.map +1 -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-CZG8xQeG.cjs +48 -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/toggle-CpsU8EEk.mjs +37 -0
- package/dist/toggle-CpsU8EEk.mjs.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 +873 -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/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/color-palette-sheet/color-palette-sheet.stories.tsx +161 -0
- package/src/blocks/color-palette-sheet/color-palette-sheet.test.tsx +45 -0
- package/src/blocks/color-palette-sheet/color-palette-sheet.tsx +287 -0
- package/src/blocks/color-palette-sheet/index.ts +1 -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 +88 -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 +83 -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 +87 -0
- package/src/blocks/evaluation-summary-report/evaluation-summary-report.tsx +291 -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 +218 -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/instrument-metrics-grid/index.ts +1 -0
- package/src/blocks/instrument-metrics-grid/instrument-metrics-grid.stories.tsx +41 -0
- package/src/blocks/instrument-metrics-grid/instrument-metrics-grid.test.tsx +17 -0
- package/src/blocks/instrument-metrics-grid/instrument-metrics-grid.tsx +277 -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/schedule-timeline-board/index.ts +1 -0
- package/src/blocks/schedule-timeline-board/schedule-timeline-board.stories.tsx +202 -0
- package/src/blocks/schedule-timeline-board/schedule-timeline-board.test.tsx +67 -0
- package/src/blocks/schedule-timeline-board/schedule-timeline-board.tsx +495 -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 +127 -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 +118 -0
- package/src/components/alert/alert.tsx +72 -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 +58 -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 +192 -0
- package/src/components/button/button.tsx +140 -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 +98 -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 +97 -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 +99 -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 +39 -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 +172 -0
- package/src/components/progress/progress.test.tsx +68 -0
- package/src/components/progress/progress.tsx +156 -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 +89 -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 +119 -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 +58 -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 +136 -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 +77 -0
- package/src/lib/utils.ts +38 -0
- package/src/test/contrast.ts +139 -0
- package/src/test/palette-contract.test.ts +697 -0
- package/src/test/public-entries.test.ts +118 -0
- package/src/test/setup.ts +94 -0
- package/src/test/sidebar-contract.test.ts +196 -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 +430 -0
- package/tsconfig.json +11 -0
- package/tsdown.config.ts +34 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
|
+
import { ProjectKanbanBoard, type KanbanColumnId, type KanbanTask } from "./project-kanban-board";
|
|
4
|
+
|
|
5
|
+
const meta: Meta<typeof ProjectKanbanBoard> = {
|
|
6
|
+
title: "Blocks/ProjectKanbanBoard",
|
|
7
|
+
component: ProjectKanbanBoard,
|
|
8
|
+
tags: ["autodocs"],
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
|
|
14
|
+
const defaultTasks: KanbanTask[] = [
|
|
15
|
+
{
|
|
16
|
+
id: "task-01",
|
|
17
|
+
title: "Adjust contrast ratio on secondary actions",
|
|
18
|
+
status: "TODO",
|
|
19
|
+
heuristicTag: "H1",
|
|
20
|
+
severity: "CRITICAL",
|
|
21
|
+
assigneeName: "Lucas",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
id: "task-02",
|
|
25
|
+
title: "Replace technical error code with human-readable text",
|
|
26
|
+
status: "IN_PROGRESS",
|
|
27
|
+
heuristicTag: "H9",
|
|
28
|
+
severity: "MEDIUM",
|
|
29
|
+
assigneeName: "Elena",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
id: "task-03",
|
|
33
|
+
title: "Verify undo/redo keyboard shortcuts in evaluation form",
|
|
34
|
+
status: "REVIEW",
|
|
35
|
+
heuristicTag: "H3",
|
|
36
|
+
severity: "GOOD",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
id: "task-04",
|
|
40
|
+
title: "Implement consistent button hover tokens",
|
|
41
|
+
status: "DONE",
|
|
42
|
+
heuristicTag: "H4",
|
|
43
|
+
severity: "GOOD",
|
|
44
|
+
assigneeName: "Alex",
|
|
45
|
+
},
|
|
46
|
+
];
|
|
47
|
+
|
|
48
|
+
export const Interactive: Story = {
|
|
49
|
+
render: () => {
|
|
50
|
+
const [tasks, setTasks] = React.useState<KanbanTask[]>(defaultTasks);
|
|
51
|
+
|
|
52
|
+
const moveTask = (taskId: string, targetStatus: KanbanColumnId) => {
|
|
53
|
+
setTasks((prev) =>
|
|
54
|
+
prev.map((task) =>
|
|
55
|
+
task.id === taskId ? { ...task, status: targetStatus } : task
|
|
56
|
+
)
|
|
57
|
+
);
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
return (
|
|
61
|
+
<ProjectKanbanBoard
|
|
62
|
+
tasks={tasks}
|
|
63
|
+
onTaskMove={moveTask}
|
|
64
|
+
onTaskClick={() => {}}
|
|
65
|
+
onAddTask={() => {}}
|
|
66
|
+
/>
|
|
67
|
+
);
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
export const Default: Story = {
|
|
72
|
+
args: {
|
|
73
|
+
tasks: [
|
|
74
|
+
{
|
|
75
|
+
id: "task-01",
|
|
76
|
+
title: "Adjust contrast ratio on secondary actions",
|
|
77
|
+
status: "TODO",
|
|
78
|
+
heuristicTag: "H1",
|
|
79
|
+
severity: "CRITICAL",
|
|
80
|
+
assigneeName: "Lucas",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
id: "task-02",
|
|
84
|
+
title: "Replace technical error code with human-readable text",
|
|
85
|
+
status: "IN_PROGRESS",
|
|
86
|
+
heuristicTag: "H9",
|
|
87
|
+
severity: "MEDIUM",
|
|
88
|
+
assigneeName: "Elena",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
id: "task-03",
|
|
92
|
+
title: "Verify undo/redo keyboard shortcuts in evaluation form",
|
|
93
|
+
status: "REVIEW",
|
|
94
|
+
heuristicTag: "H3",
|
|
95
|
+
severity: "GOOD",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
id: "task-04",
|
|
99
|
+
title: "Implement consistent button hover tokens",
|
|
100
|
+
status: "DONE",
|
|
101
|
+
heuristicTag: "H4",
|
|
102
|
+
severity: "GOOD",
|
|
103
|
+
assigneeName: "Alex",
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
},
|
|
107
|
+
};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { render, screen } from "@testing-library/react";
|
|
3
|
+
import userEvent from "@testing-library/user-event";
|
|
4
|
+
import { describe, expect, it, vi } from "vitest";
|
|
5
|
+
import {
|
|
6
|
+
ProjectKanbanBoard,
|
|
7
|
+
type KanbanTask,
|
|
8
|
+
} from "./project-kanban-board";
|
|
9
|
+
|
|
10
|
+
const sampleTasks: KanbanTask[] = [
|
|
11
|
+
{
|
|
12
|
+
id: "task-101",
|
|
13
|
+
title: "Fix low contrast on checkout label",
|
|
14
|
+
status: "TODO",
|
|
15
|
+
heuristicTag: "H1",
|
|
16
|
+
severity: "CRITICAL",
|
|
17
|
+
assigneeName: "David",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
id: "task-102",
|
|
21
|
+
title: "Add error boundary for payment retry",
|
|
22
|
+
status: "IN_PROGRESS",
|
|
23
|
+
heuristicTag: "H9",
|
|
24
|
+
severity: "MEDIUM",
|
|
25
|
+
},
|
|
26
|
+
];
|
|
27
|
+
|
|
28
|
+
describe("ProjectKanbanBoard Block", () => {
|
|
29
|
+
it("renders 4 columns and displays tasks in their corresponding status", () => {
|
|
30
|
+
render(<ProjectKanbanBoard tasks={sampleTasks} />);
|
|
31
|
+
|
|
32
|
+
expect(screen.getByText("To Do")).toBeInTheDocument();
|
|
33
|
+
expect(screen.getByText("In Progress")).toBeInTheDocument();
|
|
34
|
+
expect(screen.getByText("In Review")).toBeInTheDocument();
|
|
35
|
+
expect(screen.getByText("Done")).toBeInTheDocument();
|
|
36
|
+
|
|
37
|
+
expect(
|
|
38
|
+
screen.getByText("Fix low contrast on checkout label")
|
|
39
|
+
).toBeInTheDocument();
|
|
40
|
+
expect(
|
|
41
|
+
screen.getByText("Add error boundary for payment retry")
|
|
42
|
+
).toBeInTheDocument();
|
|
43
|
+
expect(screen.getByText("H1")).toBeInTheDocument();
|
|
44
|
+
expect(screen.getByText("CRITICAL")).toBeInTheDocument();
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
it("triggers onTaskClick and onAddTask callbacks", async () => {
|
|
48
|
+
const user = userEvent.setup();
|
|
49
|
+
const handleTaskClick = vi.fn();
|
|
50
|
+
const handleAddTask = vi.fn();
|
|
51
|
+
|
|
52
|
+
render(
|
|
53
|
+
<ProjectKanbanBoard
|
|
54
|
+
tasks={sampleTasks}
|
|
55
|
+
onTaskClick={handleTaskClick}
|
|
56
|
+
onAddTask={handleAddTask}
|
|
57
|
+
/>
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
const taskCard = screen.getByText("Fix low contrast on checkout label");
|
|
61
|
+
await user.click(taskCard);
|
|
62
|
+
expect(handleTaskClick).toHaveBeenCalledWith(sampleTasks[0]);
|
|
63
|
+
|
|
64
|
+
const addBtn = screen.getByRole("button", { name: /add task to to do/i });
|
|
65
|
+
await user.click(addBtn);
|
|
66
|
+
expect(handleAddTask).toHaveBeenCalledWith("TODO");
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
it("activates task details with Enter and Space", async () => {
|
|
70
|
+
const user = userEvent.setup();
|
|
71
|
+
const handleTaskClick = vi.fn();
|
|
72
|
+
|
|
73
|
+
render(
|
|
74
|
+
<ProjectKanbanBoard tasks={sampleTasks} onTaskClick={handleTaskClick} />
|
|
75
|
+
);
|
|
76
|
+
|
|
77
|
+
const taskButton = screen.getByRole("button", {
|
|
78
|
+
name: /open task fix low contrast on checkout label/i,
|
|
79
|
+
});
|
|
80
|
+
taskButton.focus();
|
|
81
|
+
|
|
82
|
+
await user.keyboard("{Enter}");
|
|
83
|
+
expect(handleTaskClick).toHaveBeenCalledWith(sampleTasks[0]);
|
|
84
|
+
|
|
85
|
+
handleTaskClick.mockClear();
|
|
86
|
+
await user.keyboard(" ");
|
|
87
|
+
expect(handleTaskClick).toHaveBeenCalledWith(sampleTasks[0]);
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
it("moves tasks through a keyboard-accessible menu action", async () => {
|
|
91
|
+
const user = userEvent.setup();
|
|
92
|
+
const handleTaskMove = vi.fn();
|
|
93
|
+
|
|
94
|
+
render(
|
|
95
|
+
<ProjectKanbanBoard
|
|
96
|
+
tasks={sampleTasks}
|
|
97
|
+
onTaskMove={handleTaskMove}
|
|
98
|
+
/>
|
|
99
|
+
);
|
|
100
|
+
|
|
101
|
+
await user.click(
|
|
102
|
+
screen.getByRole("button", {
|
|
103
|
+
name: /move task fix low contrast on checkout label/i,
|
|
104
|
+
})
|
|
105
|
+
);
|
|
106
|
+
await user.click(
|
|
107
|
+
await screen.findByRole("menuitem", { name: /in progress/i })
|
|
108
|
+
);
|
|
109
|
+
|
|
110
|
+
expect(handleTaskMove).toHaveBeenCalledWith("task-101", "IN_PROGRESS");
|
|
111
|
+
});
|
|
112
|
+
});
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import {
|
|
5
|
+
Plus,
|
|
6
|
+
CheckCircle2,
|
|
7
|
+
Clock,
|
|
8
|
+
Eye,
|
|
9
|
+
AlertCircle,
|
|
10
|
+
MoreHorizontal,
|
|
11
|
+
} from "lucide-react";
|
|
12
|
+
import { cn } from "../../lib/utils";
|
|
13
|
+
import { Card } from "../../components/card";
|
|
14
|
+
import { Badge } from "../../components/badge";
|
|
15
|
+
import { Avatar, AvatarFallback, AvatarImage } from "../../components/avatar";
|
|
16
|
+
import { Button } from "../../components/button";
|
|
17
|
+
import {
|
|
18
|
+
DropdownMenu,
|
|
19
|
+
DropdownMenuContent,
|
|
20
|
+
DropdownMenuGroup,
|
|
21
|
+
DropdownMenuItem,
|
|
22
|
+
DropdownMenuLabel,
|
|
23
|
+
DropdownMenuTrigger,
|
|
24
|
+
} from "../../components/dropdown-menu";
|
|
25
|
+
|
|
26
|
+
export type KanbanColumnId = "TODO" | "IN_PROGRESS" | "REVIEW" | "DONE";
|
|
27
|
+
|
|
28
|
+
export interface KanbanTask {
|
|
29
|
+
id: string;
|
|
30
|
+
title: string;
|
|
31
|
+
status: KanbanColumnId;
|
|
32
|
+
heuristicTag?: string;
|
|
33
|
+
severity?: "CRITICAL" | "MEDIUM" | "GOOD";
|
|
34
|
+
assigneeName?: string;
|
|
35
|
+
assigneeAvatar?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface ProjectKanbanBoardProps
|
|
39
|
+
extends React.HTMLAttributes<HTMLDivElement> {
|
|
40
|
+
tasks?: KanbanTask[];
|
|
41
|
+
onTaskMove?: (taskId: string, targetStatus: KanbanColumnId) => void;
|
|
42
|
+
onTaskClick?: (task: KanbanTask) => void;
|
|
43
|
+
onAddTask?: (status: KanbanColumnId) => void;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
const COLUMNS: Array<{
|
|
47
|
+
id: KanbanColumnId;
|
|
48
|
+
title: string;
|
|
49
|
+
icon: React.ReactNode;
|
|
50
|
+
}> = [
|
|
51
|
+
{
|
|
52
|
+
id: "TODO",
|
|
53
|
+
title: "To Do",
|
|
54
|
+
icon: <AlertCircle className="h-4 w-4 text-muted-foreground" />,
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
id: "IN_PROGRESS",
|
|
58
|
+
title: "In Progress",
|
|
59
|
+
icon: <Clock className="h-4 w-4 text-signal-teal-foreground" />,
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
id: "REVIEW",
|
|
63
|
+
title: "In Review",
|
|
64
|
+
icon: <Eye className="h-4 w-4 text-iris-violet-foreground" />,
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
id: "DONE",
|
|
68
|
+
title: "Done",
|
|
69
|
+
icon: <CheckCircle2 className="h-4 w-4 text-pulse-green-foreground" />,
|
|
70
|
+
},
|
|
71
|
+
];
|
|
72
|
+
|
|
73
|
+
export function ProjectKanbanBoard({
|
|
74
|
+
tasks = [],
|
|
75
|
+
onTaskMove,
|
|
76
|
+
onTaskClick,
|
|
77
|
+
onAddTask,
|
|
78
|
+
className,
|
|
79
|
+
...props
|
|
80
|
+
}: ProjectKanbanBoardProps) {
|
|
81
|
+
const getTasksByStatus = (status: KanbanColumnId) =>
|
|
82
|
+
tasks.filter((t) => t.status === status);
|
|
83
|
+
|
|
84
|
+
return (
|
|
85
|
+
<div
|
|
86
|
+
className={cn(
|
|
87
|
+
"grid grid-cols-1 gap-4 md:grid-cols-4 md:gap-5 w-full",
|
|
88
|
+
className
|
|
89
|
+
)}
|
|
90
|
+
{...props}
|
|
91
|
+
>
|
|
92
|
+
{COLUMNS.map((column) => {
|
|
93
|
+
const columnTasks = getTasksByStatus(column.id);
|
|
94
|
+
|
|
95
|
+
return (
|
|
96
|
+
<section
|
|
97
|
+
key={column.id}
|
|
98
|
+
aria-label={column.title}
|
|
99
|
+
className="flex min-h-0 flex-col rounded-lg border border-border bg-surface-raised p-4 md:h-full md:min-h-[480px]"
|
|
100
|
+
>
|
|
101
|
+
<div className="flex items-center justify-between gap-2 pb-3.5 border-b border-border">
|
|
102
|
+
<div className="flex items-center gap-2.5">
|
|
103
|
+
{column.icon}
|
|
104
|
+
<span className="text-xs font-semibold text-foreground">
|
|
105
|
+
{column.title}
|
|
106
|
+
</span>
|
|
107
|
+
<Badge
|
|
108
|
+
variant="neutral"
|
|
109
|
+
className="h-5 px-2 text-[11px] font-mono text-muted-foreground border-border tabular-nums"
|
|
110
|
+
>
|
|
111
|
+
{columnTasks.length}
|
|
112
|
+
</Badge>
|
|
113
|
+
</div>
|
|
114
|
+
|
|
115
|
+
{onAddTask && (
|
|
116
|
+
<Button
|
|
117
|
+
variant="ghost"
|
|
118
|
+
size="icon"
|
|
119
|
+
className="h-7 w-7 text-muted-foreground hover:text-foreground"
|
|
120
|
+
onClick={() => onAddTask(column.id)}
|
|
121
|
+
aria-label={`Add task to ${column.title}`}
|
|
122
|
+
>
|
|
123
|
+
<Plus className="h-3.5 w-3.5" />
|
|
124
|
+
</Button>
|
|
125
|
+
)}
|
|
126
|
+
</div>
|
|
127
|
+
|
|
128
|
+
<div className="flex flex-col gap-3.5 pt-4 md:flex-1 md:overflow-y-auto">
|
|
129
|
+
{columnTasks.length === 0 && (
|
|
130
|
+
<p className="rounded-md border border-dashed border-border/70 px-4 py-8 text-center text-xs text-muted-foreground">
|
|
131
|
+
No tasks in this column.
|
|
132
|
+
</p>
|
|
133
|
+
)}
|
|
134
|
+
|
|
135
|
+
{columnTasks.map((task) => (
|
|
136
|
+
<Card
|
|
137
|
+
key={task.id}
|
|
138
|
+
className="p-4 border border-border bg-card hover:border-hairline-strong transition-colors"
|
|
139
|
+
>
|
|
140
|
+
<div className="flex items-center justify-between gap-2 mb-3">
|
|
141
|
+
{task.heuristicTag && (
|
|
142
|
+
<Badge
|
|
143
|
+
variant="neutral"
|
|
144
|
+
className="font-mono text-[10px] px-1.5 py-0 border-border"
|
|
145
|
+
>
|
|
146
|
+
{task.heuristicTag}
|
|
147
|
+
</Badge>
|
|
148
|
+
)}
|
|
149
|
+
{task.severity && (
|
|
150
|
+
<Badge
|
|
151
|
+
variant={
|
|
152
|
+
task.severity === "CRITICAL"
|
|
153
|
+
? "coral-red"
|
|
154
|
+
: task.severity === "GOOD"
|
|
155
|
+
? "pulse-green"
|
|
156
|
+
: "signal-teal"
|
|
157
|
+
}
|
|
158
|
+
className="text-[10px] px-1.5 py-0"
|
|
159
|
+
>
|
|
160
|
+
{task.severity}
|
|
161
|
+
</Badge>
|
|
162
|
+
)}
|
|
163
|
+
</div>
|
|
164
|
+
|
|
165
|
+
{onTaskClick ? (
|
|
166
|
+
<button
|
|
167
|
+
type="button"
|
|
168
|
+
onClick={() => onTaskClick(task)}
|
|
169
|
+
aria-label={`Open task ${task.title}`}
|
|
170
|
+
className="block w-full rounded-sm text-left text-xs font-medium text-card-foreground leading-snug line-clamp-2 mb-3 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-card"
|
|
171
|
+
>
|
|
172
|
+
{task.title}
|
|
173
|
+
</button>
|
|
174
|
+
) : (
|
|
175
|
+
<p className="text-xs font-medium text-card-foreground leading-snug line-clamp-2 mb-3">
|
|
176
|
+
{task.title}
|
|
177
|
+
</p>
|
|
178
|
+
)}
|
|
179
|
+
|
|
180
|
+
<div className="flex items-center justify-between text-xs text-muted-foreground pt-2.5 border-t border-border/50">
|
|
181
|
+
<span className="text-[10px] font-mono text-muted-foreground">
|
|
182
|
+
#{task.id}
|
|
183
|
+
</span>
|
|
184
|
+
<div className="flex items-center gap-1.5">
|
|
185
|
+
{task.assigneeName && (
|
|
186
|
+
<>
|
|
187
|
+
<span className="text-[10px] truncate max-w-[80px] text-muted-foreground">
|
|
188
|
+
{task.assigneeName}
|
|
189
|
+
</span>
|
|
190
|
+
<Avatar className="h-4 w-4 border border-border">
|
|
191
|
+
{task.assigneeAvatar && (
|
|
192
|
+
<AvatarImage src={task.assigneeAvatar} />
|
|
193
|
+
)}
|
|
194
|
+
<AvatarFallback className="text-[8px] bg-muted text-foreground">
|
|
195
|
+
{task.assigneeName.slice(0, 2).toUpperCase()}
|
|
196
|
+
</AvatarFallback>
|
|
197
|
+
</Avatar>
|
|
198
|
+
</>
|
|
199
|
+
)}
|
|
200
|
+
{onTaskMove && (
|
|
201
|
+
<DropdownMenu>
|
|
202
|
+
<DropdownMenuTrigger
|
|
203
|
+
render={
|
|
204
|
+
<Button
|
|
205
|
+
variant="ghost"
|
|
206
|
+
size="icon"
|
|
207
|
+
className="h-6 w-6 text-muted-foreground hover:text-foreground"
|
|
208
|
+
aria-label={`Move task ${task.title}`}
|
|
209
|
+
>
|
|
210
|
+
<MoreHorizontal className="h-3.5 w-3.5" />
|
|
211
|
+
</Button>
|
|
212
|
+
}
|
|
213
|
+
/>
|
|
214
|
+
<DropdownMenuContent align="end">
|
|
215
|
+
<DropdownMenuGroup>
|
|
216
|
+
<DropdownMenuLabel>Move to</DropdownMenuLabel>
|
|
217
|
+
{COLUMNS.filter(
|
|
218
|
+
(target) => target.id !== task.status
|
|
219
|
+
).map((target) => (
|
|
220
|
+
<DropdownMenuItem
|
|
221
|
+
key={target.id}
|
|
222
|
+
onClick={() =>
|
|
223
|
+
onTaskMove(task.id, target.id)
|
|
224
|
+
}
|
|
225
|
+
>
|
|
226
|
+
{target.title}
|
|
227
|
+
</DropdownMenuItem>
|
|
228
|
+
))}
|
|
229
|
+
</DropdownMenuGroup>
|
|
230
|
+
</DropdownMenuContent>
|
|
231
|
+
</DropdownMenu>
|
|
232
|
+
)}
|
|
233
|
+
</div>
|
|
234
|
+
</div>
|
|
235
|
+
</Card>
|
|
236
|
+
))}
|
|
237
|
+
</div>
|
|
238
|
+
</section>
|
|
239
|
+
);
|
|
240
|
+
})}
|
|
241
|
+
</div>
|
|
242
|
+
);
|
|
243
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./schedule-timeline-board";
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
|
+
import {
|
|
4
|
+
ScheduleTimelineBoard,
|
|
5
|
+
type ScheduleEventItem,
|
|
6
|
+
type ScheduleResource,
|
|
7
|
+
} from "./schedule-timeline-board";
|
|
8
|
+
|
|
9
|
+
const meta: Meta<typeof ScheduleTimelineBoard> = {
|
|
10
|
+
title: "Blocks/ScheduleTimelineBoard",
|
|
11
|
+
component: ScheduleTimelineBoard,
|
|
12
|
+
tags: ["autodocs"],
|
|
13
|
+
parameters: {
|
|
14
|
+
layout: "fullscreen",
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export default meta;
|
|
19
|
+
type Story = StoryObj<typeof meta>;
|
|
20
|
+
|
|
21
|
+
const SAMPLE_RESOURCES: ScheduleResource[] = [
|
|
22
|
+
{ id: "r1", name: "Marisol Quintanar", meta: "Lead · 7.5 h", initials: "MQ" },
|
|
23
|
+
{ id: "r2", name: "Abena Ofori", meta: "Senior · 4.5 h", initials: "AO" },
|
|
24
|
+
{ id: "r3", name: "Davi Monteiro", meta: "Design · 8.0 h", initials: "DM" },
|
|
25
|
+
{ id: "r4", name: "Noemi Castellano", meta: "QA · 6.0 h", initials: "NC" },
|
|
26
|
+
{ id: "r5", name: "Hana Morikawa", meta: "Systems · 4.5 h", initials: "HM" },
|
|
27
|
+
{ id: "r6", name: "Emil Haddad", meta: "Frontend · 8.0 h", initials: "EH" },
|
|
28
|
+
];
|
|
29
|
+
|
|
30
|
+
const SAMPLE_EVENTS: ScheduleEventItem[] = [
|
|
31
|
+
{
|
|
32
|
+
id: "e1",
|
|
33
|
+
resourceId: "r1",
|
|
34
|
+
title: "Checkout Audit",
|
|
35
|
+
subtitle: "Web Portal · Core Flow",
|
|
36
|
+
owner: "Marisol Quintanar",
|
|
37
|
+
timeRange: "7:30 – 9:00",
|
|
38
|
+
startCol: 0,
|
|
39
|
+
spanCols: 2,
|
|
40
|
+
status: "confirmed",
|
|
41
|
+
verification: "WCAG AA verified · 0 contrast errors",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
id: "e2",
|
|
45
|
+
resourceId: "r1",
|
|
46
|
+
title: "Token Sync Review",
|
|
47
|
+
subtitle: "Design Review · Theme Studio",
|
|
48
|
+
owner: "Marisol Quintanar",
|
|
49
|
+
timeRange: "10:00 AM to 12:00 PM",
|
|
50
|
+
startCol: 3,
|
|
51
|
+
spanCols: 3,
|
|
52
|
+
status: "completed",
|
|
53
|
+
verification: "Verified · 77 items aligned",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: "e3",
|
|
57
|
+
resourceId: "r1",
|
|
58
|
+
title: "CLI Export",
|
|
59
|
+
subtitle: "Preset · Linear Craft",
|
|
60
|
+
owner: "Marisol Quintanar",
|
|
61
|
+
timeRange: "2:30 – 4:30",
|
|
62
|
+
startCol: 7,
|
|
63
|
+
spanCols: 2,
|
|
64
|
+
status: "confirmed",
|
|
65
|
+
verification: "Registry schema valid",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
id: "e4",
|
|
69
|
+
resourceId: "r2",
|
|
70
|
+
title: "Form States",
|
|
71
|
+
subtitle: "Validation · Focus Ring",
|
|
72
|
+
owner: "Abena Ofori",
|
|
73
|
+
timeRange: "7:00 – 9:00",
|
|
74
|
+
startCol: 0,
|
|
75
|
+
spanCols: 2,
|
|
76
|
+
status: "confirmed",
|
|
77
|
+
verification: "Keyboard trap verified",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
id: "e5",
|
|
81
|
+
resourceId: "r2",
|
|
82
|
+
title: "Docs Polish",
|
|
83
|
+
subtitle: "Theme Studio · Palette Sheet",
|
|
84
|
+
owner: "Abena Ofori",
|
|
85
|
+
timeRange: "3:30 – 5:30",
|
|
86
|
+
startCol: 8,
|
|
87
|
+
spanCols: 3,
|
|
88
|
+
status: "confirmed",
|
|
89
|
+
verification: "Playwright snapshots clean",
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
id: "e6",
|
|
93
|
+
resourceId: "r3",
|
|
94
|
+
title: "Sidebar Rail",
|
|
95
|
+
subtitle: "Collapsed Icon Layout",
|
|
96
|
+
owner: "Davi Monteiro",
|
|
97
|
+
timeRange: "8:00 – 10:00",
|
|
98
|
+
startCol: 1,
|
|
99
|
+
spanCols: 2,
|
|
100
|
+
status: "confirmed",
|
|
101
|
+
verification: "Sidebar contract green",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
id: "e7",
|
|
105
|
+
resourceId: "r3",
|
|
106
|
+
title: "Density Scale",
|
|
107
|
+
subtitle: "Tailwind v4 --spacing",
|
|
108
|
+
owner: "Davi Monteiro",
|
|
109
|
+
timeRange: "2:00 – 4:00",
|
|
110
|
+
startCol: 7,
|
|
111
|
+
spanCols: 2,
|
|
112
|
+
status: "confirmed",
|
|
113
|
+
verification: "90% / 100% / 110% tested",
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
id: "e8",
|
|
117
|
+
resourceId: "r4",
|
|
118
|
+
title: "Dialog Guard",
|
|
119
|
+
subtitle: "Base UI Focus Trap",
|
|
120
|
+
owner: "Noemi Castellano",
|
|
121
|
+
timeRange: "9:00 – 11:00",
|
|
122
|
+
startCol: 2,
|
|
123
|
+
spanCols: 2,
|
|
124
|
+
status: "confirmed",
|
|
125
|
+
verification: "Axe audit 0 violations",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
id: "e9",
|
|
129
|
+
resourceId: "r5",
|
|
130
|
+
title: "Release Pipeline",
|
|
131
|
+
subtitle: "Live Release Check",
|
|
132
|
+
owner: "Hana Morikawa",
|
|
133
|
+
timeRange: "1:00 – 3:00",
|
|
134
|
+
startCol: 6,
|
|
135
|
+
spanCols: 2,
|
|
136
|
+
status: "in-progress",
|
|
137
|
+
verification: "CI build green",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
id: "e10",
|
|
141
|
+
resourceId: "r6",
|
|
142
|
+
title: "Registry Diff",
|
|
143
|
+
subtitle: "CLI Drift Check",
|
|
144
|
+
owner: "Emil Haddad",
|
|
145
|
+
timeRange: "11:00 – 1:00",
|
|
146
|
+
startCol: 4,
|
|
147
|
+
spanCols: 2,
|
|
148
|
+
status: "attention",
|
|
149
|
+
verification: "Needs review before tag",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
id: "e11",
|
|
153
|
+
resourceId: "r6",
|
|
154
|
+
title: "Staging Deploy",
|
|
155
|
+
subtitle: "Production Preview",
|
|
156
|
+
owner: "Emil Haddad",
|
|
157
|
+
timeRange: "1:00 – 3:00",
|
|
158
|
+
startCol: 6,
|
|
159
|
+
spanCols: 3,
|
|
160
|
+
status: "in-progress",
|
|
161
|
+
verification: "Live on staging",
|
|
162
|
+
},
|
|
163
|
+
];
|
|
164
|
+
|
|
165
|
+
export const Default: Story = {
|
|
166
|
+
render: () => (
|
|
167
|
+
<div className="mx-auto w-full max-w-6xl p-8 sm:p-12">
|
|
168
|
+
<ScheduleTimelineBoard
|
|
169
|
+
resources={SAMPLE_RESOURCES}
|
|
170
|
+
events={SAMPLE_EVENTS}
|
|
171
|
+
onOpenDetail={() => {}}
|
|
172
|
+
onSecondaryDetail={() => {}}
|
|
173
|
+
/>
|
|
174
|
+
</div>
|
|
175
|
+
),
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
export const Unselected: Story = {
|
|
179
|
+
render: () => (
|
|
180
|
+
<div className="mx-auto w-full max-w-6xl p-8 sm:p-12">
|
|
181
|
+
<ScheduleTimelineBoard
|
|
182
|
+
resources={SAMPLE_RESOURCES.slice(0, 4)}
|
|
183
|
+
events={SAMPLE_EVENTS.filter((e) =>
|
|
184
|
+
["r1", "r2", "r3", "r4"].includes(e.resourceId)
|
|
185
|
+
)}
|
|
186
|
+
defaultSelectedEventId={null}
|
|
187
|
+
/>
|
|
188
|
+
</div>
|
|
189
|
+
),
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
export const Empty: Story = {
|
|
193
|
+
render: () => (
|
|
194
|
+
<div className="mx-auto w-full max-w-4xl p-8 sm:p-12">
|
|
195
|
+
<ScheduleTimelineBoard
|
|
196
|
+
resources={[]}
|
|
197
|
+
events={[]}
|
|
198
|
+
onPrimaryAction={() => {}}
|
|
199
|
+
/>
|
|
200
|
+
</div>
|
|
201
|
+
),
|
|
202
|
+
};
|