@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,143 @@
|
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-D6vf50IK.cjs");
|
|
2
|
+
const require_utils = require("./utils-YZxtPI0Y.cjs");
|
|
3
|
+
const require_components_button_index = require("./components/button/index.cjs");
|
|
4
|
+
const require_components_badge_index = require("./components/badge/index.cjs");
|
|
5
|
+
const require_components_dropdown_menu_index = require("./components/dropdown-menu/index.cjs");
|
|
6
|
+
const require_components_avatar_index = require("./components/avatar/index.cjs");
|
|
7
|
+
const require_components_card_index = require("./components/card/index.cjs");
|
|
8
|
+
let react = require("react");
|
|
9
|
+
react = require_rolldown_runtime.__toESM(react, 1);
|
|
10
|
+
let lucide_react = require("lucide-react");
|
|
11
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
12
|
+
//#region src/blocks/project-kanban-board/project-kanban-board.tsx
|
|
13
|
+
const COLUMNS = [
|
|
14
|
+
{
|
|
15
|
+
id: "TODO",
|
|
16
|
+
title: "To Do",
|
|
17
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.AlertCircle, { className: "h-4 w-4 text-muted-foreground" })
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
id: "IN_PROGRESS",
|
|
21
|
+
title: "In Progress",
|
|
22
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Clock, { className: "h-4 w-4 text-signal-teal-foreground" })
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
id: "REVIEW",
|
|
26
|
+
title: "In Review",
|
|
27
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Eye, { className: "h-4 w-4 text-iris-violet-foreground" })
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
id: "DONE",
|
|
31
|
+
title: "Done",
|
|
32
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.CheckCircle2, { className: "h-4 w-4 text-pulse-green-foreground" })
|
|
33
|
+
}
|
|
34
|
+
];
|
|
35
|
+
function ProjectKanbanBoard({ tasks = [], onTaskMove, onTaskClick, onAddTask, className, ...props }) {
|
|
36
|
+
const getTasksByStatus = (status) => tasks.filter((t) => t.status === status);
|
|
37
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
38
|
+
className: require_utils.cn("grid grid-cols-1 gap-4 md:grid-cols-4 md:gap-5 w-full", className),
|
|
39
|
+
...props,
|
|
40
|
+
children: COLUMNS.map((column) => {
|
|
41
|
+
const columnTasks = getTasksByStatus(column.id);
|
|
42
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
43
|
+
"aria-label": column.title,
|
|
44
|
+
className: "flex min-h-0 flex-col rounded-lg border border-border bg-surface-raised p-4 md:h-full md:min-h-[480px]",
|
|
45
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
46
|
+
className: "flex items-center justify-between gap-2 pb-3.5 border-b border-border",
|
|
47
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
48
|
+
className: "flex items-center gap-2.5",
|
|
49
|
+
children: [
|
|
50
|
+
column.icon,
|
|
51
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
52
|
+
className: "text-xs font-semibold text-foreground",
|
|
53
|
+
children: column.title
|
|
54
|
+
}),
|
|
55
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_badge_index.Badge, {
|
|
56
|
+
variant: "neutral",
|
|
57
|
+
className: "h-5 px-2 text-[11px] font-mono text-muted-foreground border-border tabular-nums",
|
|
58
|
+
children: columnTasks.length
|
|
59
|
+
})
|
|
60
|
+
]
|
|
61
|
+
}), onAddTask && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_button_index.Button, {
|
|
62
|
+
variant: "ghost",
|
|
63
|
+
size: "icon",
|
|
64
|
+
className: "h-7 w-7 text-muted-foreground hover:text-foreground",
|
|
65
|
+
onClick: () => onAddTask(column.id),
|
|
66
|
+
"aria-label": `Add task to ${column.title}`,
|
|
67
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Plus, { className: "h-3.5 w-3.5" })
|
|
68
|
+
})]
|
|
69
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
70
|
+
className: "flex flex-col gap-3.5 pt-4 md:flex-1 md:overflow-y-auto",
|
|
71
|
+
children: [columnTasks.length === 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
72
|
+
className: "rounded-md border border-dashed border-border/70 px-4 py-8 text-center text-xs text-muted-foreground",
|
|
73
|
+
children: "No tasks in this column."
|
|
74
|
+
}), columnTasks.map((task) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_components_card_index.Card, {
|
|
75
|
+
className: "p-4 border border-border bg-card hover:border-hairline-strong transition-colors",
|
|
76
|
+
children: [
|
|
77
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
78
|
+
className: "flex items-center justify-between gap-2 mb-3",
|
|
79
|
+
children: [task.heuristicTag && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_badge_index.Badge, {
|
|
80
|
+
variant: "neutral",
|
|
81
|
+
className: "font-mono text-[10px] px-1.5 py-0 border-border",
|
|
82
|
+
children: task.heuristicTag
|
|
83
|
+
}), task.severity && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_badge_index.Badge, {
|
|
84
|
+
variant: task.severity === "CRITICAL" ? "coral-red" : task.severity === "GOOD" ? "pulse-green" : "signal-teal",
|
|
85
|
+
className: "text-[10px] px-1.5 py-0",
|
|
86
|
+
children: task.severity
|
|
87
|
+
})]
|
|
88
|
+
}),
|
|
89
|
+
onTaskClick ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
90
|
+
type: "button",
|
|
91
|
+
onClick: () => onTaskClick(task),
|
|
92
|
+
"aria-label": `Open task ${task.title}`,
|
|
93
|
+
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",
|
|
94
|
+
children: task.title
|
|
95
|
+
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
96
|
+
className: "text-xs font-medium text-card-foreground leading-snug line-clamp-2 mb-3",
|
|
97
|
+
children: task.title
|
|
98
|
+
}),
|
|
99
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
100
|
+
className: "flex items-center justify-between text-xs text-muted-foreground pt-2.5 border-t border-border/50",
|
|
101
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
102
|
+
className: "text-[10px] font-mono text-muted-foreground",
|
|
103
|
+
children: ["#", task.id]
|
|
104
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
105
|
+
className: "flex items-center gap-1.5",
|
|
106
|
+
children: [task.assigneeName && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
107
|
+
className: "text-[10px] truncate max-w-[80px] text-muted-foreground",
|
|
108
|
+
children: task.assigneeName
|
|
109
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_components_avatar_index.Avatar, {
|
|
110
|
+
className: "h-4 w-4 border border-border",
|
|
111
|
+
children: [task.assigneeAvatar && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_avatar_index.AvatarImage, { src: task.assigneeAvatar }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_avatar_index.AvatarFallback, {
|
|
112
|
+
className: "text-[8px] bg-muted text-foreground",
|
|
113
|
+
children: task.assigneeName.slice(0, 2).toUpperCase()
|
|
114
|
+
})]
|
|
115
|
+
})] }), onTaskMove && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_components_dropdown_menu_index.DropdownMenu, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_dropdown_menu_index.DropdownMenuTrigger, { render: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_button_index.Button, {
|
|
116
|
+
variant: "ghost",
|
|
117
|
+
size: "icon",
|
|
118
|
+
className: "h-6 w-6 text-muted-foreground hover:text-foreground",
|
|
119
|
+
"aria-label": `Move task ${task.title}`,
|
|
120
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.MoreHorizontal, { className: "h-3.5 w-3.5" })
|
|
121
|
+
}) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_dropdown_menu_index.DropdownMenuContent, {
|
|
122
|
+
align: "end",
|
|
123
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_components_dropdown_menu_index.DropdownMenuGroup, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_dropdown_menu_index.DropdownMenuLabel, { children: "Move to" }), COLUMNS.filter((target) => target.id !== task.status).map((target) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_dropdown_menu_index.DropdownMenuItem, {
|
|
124
|
+
onClick: () => onTaskMove(task.id, target.id),
|
|
125
|
+
children: target.title
|
|
126
|
+
}, target.id))] })
|
|
127
|
+
})] })]
|
|
128
|
+
})]
|
|
129
|
+
})
|
|
130
|
+
]
|
|
131
|
+
}, task.id))]
|
|
132
|
+
})]
|
|
133
|
+
}, column.id);
|
|
134
|
+
})
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
//#endregion
|
|
138
|
+
Object.defineProperty(exports, "ProjectKanbanBoard", {
|
|
139
|
+
enumerable: true,
|
|
140
|
+
get: function() {
|
|
141
|
+
return ProjectKanbanBoard;
|
|
142
|
+
}
|
|
143
|
+
});
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-D6vf50IK.cjs");
|
|
2
|
+
const require_utils = require("./utils-YZxtPI0Y.cjs");
|
|
3
|
+
let react = require("react");
|
|
4
|
+
react = require_rolldown_runtime.__toESM(react, 1);
|
|
5
|
+
let lucide_react = require("lucide-react");
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
+
//#region src/components/rating/rating.tsx
|
|
8
|
+
const Rating = react.forwardRef(({ value: valueProp, defaultValue = 0, max = 5, readOnly = false, onChange, className, onKeyDown, ...props }, ref) => {
|
|
9
|
+
const [hoverValue, setHoverValue] = react.useState(null);
|
|
10
|
+
const [internalValue, setInternalValue] = react.useState(defaultValue);
|
|
11
|
+
const radioRefs = react.useRef([]);
|
|
12
|
+
const isControlled = valueProp !== void 0;
|
|
13
|
+
const value = isControlled ? valueProp : internalValue;
|
|
14
|
+
const handleSelect = (val) => {
|
|
15
|
+
if (readOnly) return;
|
|
16
|
+
if (!isControlled) setInternalValue(val);
|
|
17
|
+
onChange?.(val);
|
|
18
|
+
};
|
|
19
|
+
const handleKeyDown = (e) => {
|
|
20
|
+
onKeyDown?.(e);
|
|
21
|
+
if (readOnly) return;
|
|
22
|
+
const { key } = e;
|
|
23
|
+
if (key !== "ArrowRight" && key !== "ArrowUp" && key !== "ArrowLeft" && key !== "ArrowDown" && key !== "Home" && key !== "End") return;
|
|
24
|
+
e.preventDefault();
|
|
25
|
+
const current = value >= 1 ? value : 1;
|
|
26
|
+
let next = current;
|
|
27
|
+
if (key === "ArrowRight" || key === "ArrowUp") next = Math.min(max, current + 1);
|
|
28
|
+
else if (key === "ArrowLeft" || key === "ArrowDown") next = Math.max(1, current - 1);
|
|
29
|
+
else if (key === "Home") next = 1;
|
|
30
|
+
else if (key === "End") next = max;
|
|
31
|
+
if (next !== value) handleSelect(next);
|
|
32
|
+
radioRefs.current[next - 1]?.focus();
|
|
33
|
+
};
|
|
34
|
+
const tabbableValue = value >= 1 && value <= max ? value : 1;
|
|
35
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
36
|
+
ref,
|
|
37
|
+
role: "radiogroup",
|
|
38
|
+
"aria-label": "Rating",
|
|
39
|
+
"data-valuenow": value,
|
|
40
|
+
className: require_utils.cn("inline-flex items-center gap-1", className),
|
|
41
|
+
onKeyDown: handleKeyDown,
|
|
42
|
+
...props,
|
|
43
|
+
children: Array.from({ length: max }, (_, index) => {
|
|
44
|
+
const starNumber = index + 1;
|
|
45
|
+
const isFilled = (hoverValue ?? value) >= starNumber;
|
|
46
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
47
|
+
ref: (node) => {
|
|
48
|
+
radioRefs.current[index] = node;
|
|
49
|
+
},
|
|
50
|
+
type: "button",
|
|
51
|
+
disabled: readOnly,
|
|
52
|
+
"aria-label": `${starNumber} of ${max} stars`,
|
|
53
|
+
"aria-checked": value === starNumber,
|
|
54
|
+
role: "radio",
|
|
55
|
+
tabIndex: readOnly || starNumber !== tabbableValue ? -1 : 0,
|
|
56
|
+
onMouseEnter: () => !readOnly && setHoverValue(starNumber),
|
|
57
|
+
onMouseLeave: () => !readOnly && setHoverValue(null),
|
|
58
|
+
onClick: () => handleSelect(starNumber),
|
|
59
|
+
className: require_utils.cn("rounded-xs p-0.5 transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring", readOnly ? "cursor-default pointer-events-none" : "cursor-pointer hover:scale-110 transition-transform"),
|
|
60
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Star, { className: require_utils.cn("h-4 w-4 transition-colors", isFilled ? "fill-pulse-green-foreground text-pulse-green-foreground" : "fill-transparent text-muted-foreground/40") })
|
|
61
|
+
}, starNumber);
|
|
62
|
+
})
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
Rating.displayName = "Rating";
|
|
66
|
+
//#endregion
|
|
67
|
+
Object.defineProperty(exports, "Rating", {
|
|
68
|
+
enumerable: true,
|
|
69
|
+
get: function() {
|
|
70
|
+
return Rating;
|
|
71
|
+
}
|
|
72
|
+
});
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { t as cn } from "./utils-BVF9WCwH.mjs";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { Star } from "lucide-react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/rating/rating.tsx
|
|
6
|
+
const Rating = React.forwardRef(({ value: valueProp, defaultValue = 0, max = 5, readOnly = false, onChange, className, onKeyDown, ...props }, ref) => {
|
|
7
|
+
const [hoverValue, setHoverValue] = React.useState(null);
|
|
8
|
+
const [internalValue, setInternalValue] = React.useState(defaultValue);
|
|
9
|
+
const radioRefs = React.useRef([]);
|
|
10
|
+
const isControlled = valueProp !== void 0;
|
|
11
|
+
const value = isControlled ? valueProp : internalValue;
|
|
12
|
+
const handleSelect = (val) => {
|
|
13
|
+
if (readOnly) return;
|
|
14
|
+
if (!isControlled) setInternalValue(val);
|
|
15
|
+
onChange?.(val);
|
|
16
|
+
};
|
|
17
|
+
const handleKeyDown = (e) => {
|
|
18
|
+
onKeyDown?.(e);
|
|
19
|
+
if (readOnly) return;
|
|
20
|
+
const { key } = e;
|
|
21
|
+
if (key !== "ArrowRight" && key !== "ArrowUp" && key !== "ArrowLeft" && key !== "ArrowDown" && key !== "Home" && key !== "End") return;
|
|
22
|
+
e.preventDefault();
|
|
23
|
+
const current = value >= 1 ? value : 1;
|
|
24
|
+
let next = current;
|
|
25
|
+
if (key === "ArrowRight" || key === "ArrowUp") next = Math.min(max, current + 1);
|
|
26
|
+
else if (key === "ArrowLeft" || key === "ArrowDown") next = Math.max(1, current - 1);
|
|
27
|
+
else if (key === "Home") next = 1;
|
|
28
|
+
else if (key === "End") next = max;
|
|
29
|
+
if (next !== value) handleSelect(next);
|
|
30
|
+
radioRefs.current[next - 1]?.focus();
|
|
31
|
+
};
|
|
32
|
+
const tabbableValue = value >= 1 && value <= max ? value : 1;
|
|
33
|
+
return /* @__PURE__ */ jsx("div", {
|
|
34
|
+
ref,
|
|
35
|
+
role: "radiogroup",
|
|
36
|
+
"aria-label": "Rating",
|
|
37
|
+
"data-valuenow": value,
|
|
38
|
+
className: cn("inline-flex items-center gap-1", className),
|
|
39
|
+
onKeyDown: handleKeyDown,
|
|
40
|
+
...props,
|
|
41
|
+
children: Array.from({ length: max }, (_, index) => {
|
|
42
|
+
const starNumber = index + 1;
|
|
43
|
+
const isFilled = (hoverValue ?? value) >= starNumber;
|
|
44
|
+
return /* @__PURE__ */ jsx("button", {
|
|
45
|
+
ref: (node) => {
|
|
46
|
+
radioRefs.current[index] = node;
|
|
47
|
+
},
|
|
48
|
+
type: "button",
|
|
49
|
+
disabled: readOnly,
|
|
50
|
+
"aria-label": `${starNumber} of ${max} stars`,
|
|
51
|
+
"aria-checked": value === starNumber,
|
|
52
|
+
role: "radio",
|
|
53
|
+
tabIndex: readOnly || starNumber !== tabbableValue ? -1 : 0,
|
|
54
|
+
onMouseEnter: () => !readOnly && setHoverValue(starNumber),
|
|
55
|
+
onMouseLeave: () => !readOnly && setHoverValue(null),
|
|
56
|
+
onClick: () => handleSelect(starNumber),
|
|
57
|
+
className: cn("rounded-xs p-0.5 transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring", readOnly ? "cursor-default pointer-events-none" : "cursor-pointer hover:scale-110 transition-transform"),
|
|
58
|
+
children: /* @__PURE__ */ jsx(Star, { className: cn("h-4 w-4 transition-colors", isFilled ? "fill-pulse-green-foreground text-pulse-green-foreground" : "fill-transparent text-muted-foreground/40") })
|
|
59
|
+
}, starNumber);
|
|
60
|
+
})
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
Rating.displayName = "Rating";
|
|
64
|
+
//#endregion
|
|
65
|
+
export { Rating as t };
|
|
66
|
+
|
|
67
|
+
//# sourceMappingURL=rating-pFb5zNn2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rating-pFb5zNn2.mjs","names":[],"sources":["../src/components/rating/rating.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Star } from \"lucide-react\";\nimport { cn } from \"../../lib/utils\";\n\nexport interface RatingProps\n extends Omit<React.HTMLAttributes<HTMLDivElement>, \"onChange\"> {\n value?: number;\n defaultValue?: number;\n max?: number;\n readOnly?: boolean;\n onChange?: (value: number) => void;\n}\n\nexport const Rating = React.forwardRef<HTMLDivElement, RatingProps>(\n (\n {\n value: valueProp,\n defaultValue = 0,\n max = 5,\n readOnly = false,\n onChange,\n className,\n onKeyDown,\n ...props\n },\n ref\n ) => {\n const [hoverValue, setHoverValue] = React.useState<number | null>(null);\n const [internalValue, setInternalValue] = React.useState(defaultValue);\n const radioRefs = React.useRef<Array<HTMLButtonElement | null>>([]);\n\n const isControlled = valueProp !== undefined;\n const value = isControlled ? valueProp : internalValue;\n\n const handleSelect = (val: number) => {\n if (readOnly) return;\n if (!isControlled) {\n setInternalValue(val);\n }\n onChange?.(val);\n };\n\n const handleKeyDown = (e: React.KeyboardEvent<HTMLDivElement>) => {\n onKeyDown?.(e);\n\n if (readOnly) return;\n\n const { key } = e;\n if (\n key !== \"ArrowRight\" &&\n key !== \"ArrowUp\" &&\n key !== \"ArrowLeft\" &&\n key !== \"ArrowDown\" &&\n key !== \"Home\" &&\n key !== \"End\"\n ) {\n return;\n }\n\n e.preventDefault();\n\n const current = value >= 1 ? value : 1;\n let next = current;\n\n if (key === \"ArrowRight\" || key === \"ArrowUp\") {\n next = Math.min(max, current + 1);\n } else if (key === \"ArrowLeft\" || key === \"ArrowDown\") {\n next = Math.max(1, current - 1);\n } else if (key === \"Home\") {\n next = 1;\n } else if (key === \"End\") {\n next = max;\n }\n\n if (next !== value) {\n handleSelect(next);\n }\n radioRefs.current[next - 1]?.focus();\n };\n\n const tabbableValue = value >= 1 && value <= max ? value : 1;\n\n return (\n <div\n ref={ref}\n role=\"radiogroup\"\n aria-label=\"Rating\"\n data-valuenow={value}\n className={cn(\"inline-flex items-center gap-1\", className)}\n onKeyDown={handleKeyDown}\n {...props}\n >\n {Array.from({ length: max }, (_, index) => {\n const starNumber = index + 1;\n const isFilled = (hoverValue ?? value) >= starNumber;\n\n return (\n <button\n key={starNumber}\n ref={(node) => {\n radioRefs.current[index] = node;\n }}\n type=\"button\"\n disabled={readOnly}\n aria-label={`${starNumber} of ${max} stars`}\n aria-checked={value === starNumber}\n role=\"radio\"\n tabIndex={readOnly || starNumber !== tabbableValue ? -1 : 0}\n onMouseEnter={() => !readOnly && setHoverValue(starNumber)}\n onMouseLeave={() => !readOnly && setHoverValue(null)}\n onClick={() => handleSelect(starNumber)}\n className={cn(\n \"rounded-xs p-0.5 transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring\",\n readOnly\n ? \"cursor-default pointer-events-none\"\n : \"cursor-pointer hover:scale-110 transition-transform\"\n )}\n >\n <Star\n className={cn(\n \"h-4 w-4 transition-colors\",\n isFilled\n ? \"fill-pulse-green-foreground text-pulse-green-foreground\"\n : \"fill-transparent text-muted-foreground/40\"\n )}\n />\n </button>\n );\n })}\n </div>\n );\n }\n);\nRating.displayName = \"Rating\";\n"],"mappings":";;;;;AAaA,MAAa,SAAS,MAAM,YAExB,EACE,OAAO,WACP,eAAe,GACf,MAAM,GACN,WAAW,OACX,UACA,WACA,WACA,GAAG,SAEL,QACG;CACH,MAAM,CAAC,YAAY,iBAAiB,MAAM,SAAwB,IAAI;CACtE,MAAM,CAAC,eAAe,oBAAoB,MAAM,SAAS,YAAY;CACrE,MAAM,YAAY,MAAM,OAAwC,CAAC,CAAC;CAElE,MAAM,eAAe,cAAc,KAAA;CACnC,MAAM,QAAQ,eAAe,YAAY;CAEzC,MAAM,gBAAgB,QAAgB;EACpC,IAAI,UAAU;EACd,IAAI,CAAC,cACH,iBAAiB,GAAG;EAEtB,WAAW,GAAG;CAChB;CAEA,MAAM,iBAAiB,MAA2C;EAChE,YAAY,CAAC;EAEb,IAAI,UAAU;EAEd,MAAM,EAAE,QAAQ;EAChB,IACE,QAAQ,gBACR,QAAQ,aACR,QAAQ,eACR,QAAQ,eACR,QAAQ,UACR,QAAQ,OAER;EAGF,EAAE,eAAe;EAEjB,MAAM,UAAU,SAAS,IAAI,QAAQ;EACrC,IAAI,OAAO;EAEX,IAAI,QAAQ,gBAAgB,QAAQ,WAClC,OAAO,KAAK,IAAI,KAAK,UAAU,CAAC;OAC3B,IAAI,QAAQ,eAAe,QAAQ,aACxC,OAAO,KAAK,IAAI,GAAG,UAAU,CAAC;OACzB,IAAI,QAAQ,QACjB,OAAO;OACF,IAAI,QAAQ,OACjB,OAAO;EAGT,IAAI,SAAS,OACX,aAAa,IAAI;EAEnB,UAAU,QAAQ,OAAO,EAAE,EAAE,MAAM;CACrC;CAEA,MAAM,gBAAgB,SAAS,KAAK,SAAS,MAAM,QAAQ;CAE3D,OACE,oBAAC,OAAD;EACO;EACL,MAAK;EACL,cAAW;EACX,iBAAe;EACf,WAAW,GAAG,kCAAkC,SAAS;EACzD,WAAW;EACX,GAAI;EAEH,UAAA,MAAM,KAAK,EAAE,QAAQ,IAAI,IAAI,GAAG,UAAU;GACzC,MAAM,aAAa,QAAQ;GAC3B,MAAM,YAAY,cAAc,UAAU;GAE1C,OACE,oBAAC,UAAD;IAEE,MAAM,SAAS;KACb,UAAU,QAAQ,SAAS;IAC7B;IACA,MAAK;IACL,UAAU;IACV,cAAY,GAAG,WAAW,MAAM,IAAI;IACpC,gBAAc,UAAU;IACxB,MAAK;IACL,UAAU,YAAY,eAAe,gBAAgB,KAAK;IAC1D,oBAAoB,CAAC,YAAY,cAAc,UAAU;IACzD,oBAAoB,CAAC,YAAY,cAAc,IAAI;IACnD,eAAe,aAAa,UAAU;IACtC,WAAW,GACT,8GACA,WACI,uCACA,qDACN;IAEA,UAAA,oBAAC,MAAD,EACE,WAAW,GACT,6BACA,WACI,4DACA,2CACN,EACD,CAAA;GACK,GA5BD,UA4BC;EAEZ,CAAC;CACE,CAAA;AAET,CACF;AACA,OAAO,cAAc"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { t as cn } from "./utils-BVF9WCwH.mjs";
|
|
2
|
+
import "react";
|
|
3
|
+
import { GripVertical } from "lucide-react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import * as ResizablePrimitive from "react-resizable-panels";
|
|
6
|
+
//#region src/components/resizable/resizable.tsx
|
|
7
|
+
const ResizablePanelGroup = ({ className, ...props }) => /* @__PURE__ */ jsx(ResizablePrimitive.PanelGroup, {
|
|
8
|
+
className: cn("flex h-full w-full data-[panel-group-direction=vertical]:flex-col", className),
|
|
9
|
+
...props
|
|
10
|
+
});
|
|
11
|
+
const ResizablePanel = ResizablePrimitive.Panel;
|
|
12
|
+
const ResizableHandle = ({ withHandle, className, ...props }) => /* @__PURE__ */ jsx(ResizablePrimitive.PanelResizeHandle, {
|
|
13
|
+
className: cn("relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90", className),
|
|
14
|
+
...props,
|
|
15
|
+
children: withHandle && /* @__PURE__ */ jsx("div", {
|
|
16
|
+
className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border border-border bg-background",
|
|
17
|
+
children: /* @__PURE__ */ jsx(GripVertical, { className: "h-2.5 w-2.5 text-muted-foreground" })
|
|
18
|
+
})
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { ResizablePanel as n, ResizablePanelGroup as r, ResizableHandle as t };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=resizable-DrJqbD5t.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resizable-DrJqbD5t.mjs","names":[],"sources":["../src/components/resizable/resizable.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { GripVertical } from \"lucide-react\";\nimport * as ResizablePrimitive from \"react-resizable-panels\";\nimport { cn } from \"../../lib/utils\";\n\nexport const ResizablePanelGroup = ({\n className,\n ...props\n}: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => (\n <ResizablePrimitive.PanelGroup\n className={cn(\n \"flex h-full w-full data-[panel-group-direction=vertical]:flex-col\",\n className\n )}\n {...props}\n />\n);\n\nexport const ResizablePanel = ResizablePrimitive.Panel;\n\nexport const ResizableHandle = ({\n withHandle,\n className,\n ...props\n}: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {\n withHandle?: boolean;\n}) => (\n <ResizablePrimitive.PanelResizeHandle\n className={cn(\n \"relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90\",\n className\n )}\n {...props}\n >\n {withHandle && (\n <div className=\"z-10 flex h-4 w-3 items-center justify-center rounded-sm border border-border bg-background\">\n <GripVertical className=\"h-2.5 w-2.5 text-muted-foreground\" />\n </div>\n )}\n </ResizablePrimitive.PanelResizeHandle>\n);\n"],"mappings":";;;;;;AAOA,MAAa,uBAAuB,EAClC,WACA,GAAG,YAEH,oBAAC,mBAAmB,YAApB;CACE,WAAW,GACT,qEACA,SACF;CACA,GAAI;AACL,CAAA;AAGH,MAAa,iBAAiB,mBAAmB;AAEjD,MAAa,mBAAmB,EAC9B,YACA,WACA,GAAG,YAIH,oBAAC,mBAAmB,mBAApB;CACE,WAAW,GACT,2oBACA,SACF;CACA,GAAI;CAEH,UAAA,cACC,oBAAC,OAAD;EAAK,WAAU;EACb,UAAA,oBAAC,cAAD,EAAc,WAAU,oCAAqC,CAAA;CAC1D,CAAA;AAE6B,CAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-D6vf50IK.cjs");
|
|
2
|
+
const require_utils = require("./utils-YZxtPI0Y.cjs");
|
|
3
|
+
let react = require("react");
|
|
4
|
+
react = require_rolldown_runtime.__toESM(react, 1);
|
|
5
|
+
let lucide_react = require("lucide-react");
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
+
let react_resizable_panels = require("react-resizable-panels");
|
|
8
|
+
react_resizable_panels = require_rolldown_runtime.__toESM(react_resizable_panels, 1);
|
|
9
|
+
//#region src/components/resizable/resizable.tsx
|
|
10
|
+
const ResizablePanelGroup = ({ className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_resizable_panels.PanelGroup, {
|
|
11
|
+
className: require_utils.cn("flex h-full w-full data-[panel-group-direction=vertical]:flex-col", className),
|
|
12
|
+
...props
|
|
13
|
+
});
|
|
14
|
+
const ResizablePanel = react_resizable_panels.Panel;
|
|
15
|
+
const ResizableHandle = ({ withHandle, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_resizable_panels.PanelResizeHandle, {
|
|
16
|
+
className: require_utils.cn("relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90", className),
|
|
17
|
+
...props,
|
|
18
|
+
children: withHandle && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
19
|
+
className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border border-border bg-background",
|
|
20
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.GripVertical, { className: "h-2.5 w-2.5 text-muted-foreground" })
|
|
21
|
+
})
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
Object.defineProperty(exports, "ResizableHandle", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function() {
|
|
27
|
+
return ResizableHandle;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "ResizablePanel", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function() {
|
|
33
|
+
return ResizablePanel;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "ResizablePanelGroup", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function() {
|
|
39
|
+
return ResizablePanelGroup;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
10
|
+
key = keys[i];
|
|
11
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
12
|
+
get: ((k) => from[k]).bind(null, key),
|
|
13
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
19
|
+
value: mod,
|
|
20
|
+
enumerable: true
|
|
21
|
+
}) : target, mod));
|
|
22
|
+
//#endregion
|
|
23
|
+
Object.defineProperty(exports, "__toESM", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function() {
|
|
26
|
+
return __toESM;
|
|
27
|
+
}
|
|
28
|
+
});
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import { t as cn } from "./utils-BVF9WCwH.mjs";
|
|
2
|
+
import { Button } from "./components/button/index.mjs";
|
|
3
|
+
import { Sheet, SheetContent } from "./components/sheet/index.mjs";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { cva } from "class-variance-authority";
|
|
6
|
+
import { PanelLeft } from "lucide-react";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
//#region src/components/sidebar/sidebar.tsx
|
|
9
|
+
const SIDEBAR_WIDTH = "16rem";
|
|
10
|
+
const SIDEBAR_WIDTH_MOBILE = "18rem";
|
|
11
|
+
const SIDEBAR_WIDTH_ICON = "3rem";
|
|
12
|
+
const SIDEBAR_KEYBOARD_SHORTCUT = "b";
|
|
13
|
+
const SidebarContext = React.createContext(null);
|
|
14
|
+
function useSidebar() {
|
|
15
|
+
const context = React.useContext(SidebarContext);
|
|
16
|
+
if (!context) throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
17
|
+
return context;
|
|
18
|
+
}
|
|
19
|
+
const SidebarProvider = React.forwardRef(({ defaultOpen = true, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }, ref) => {
|
|
20
|
+
const [isMobile, setIsMobile] = React.useState(false);
|
|
21
|
+
const [openMobile, setOpenMobile] = React.useState(false);
|
|
22
|
+
const [_open, _setOpen] = React.useState(defaultOpen);
|
|
23
|
+
const open = openProp !== void 0 ? openProp : _open;
|
|
24
|
+
const setOpen = React.useCallback((value) => {
|
|
25
|
+
const openState = typeof value === "function" ? value(open) : value;
|
|
26
|
+
if (setOpenProp) setOpenProp(openState);
|
|
27
|
+
else _setOpen(openState);
|
|
28
|
+
}, [setOpenProp, open]);
|
|
29
|
+
React.useEffect(() => {
|
|
30
|
+
const checkMobile = () => {
|
|
31
|
+
setIsMobile(window.innerWidth < 768);
|
|
32
|
+
};
|
|
33
|
+
checkMobile();
|
|
34
|
+
window.addEventListener("resize", checkMobile);
|
|
35
|
+
return () => window.removeEventListener("resize", checkMobile);
|
|
36
|
+
}, []);
|
|
37
|
+
const toggleSidebar = React.useCallback(() => {
|
|
38
|
+
if (isMobile) setOpenMobile((prev) => !prev);
|
|
39
|
+
else setOpen((prev) => !prev);
|
|
40
|
+
}, [isMobile, setOpen]);
|
|
41
|
+
React.useEffect(() => {
|
|
42
|
+
const handleKeyDown = (event) => {
|
|
43
|
+
if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
|
|
44
|
+
event.preventDefault();
|
|
45
|
+
toggleSidebar();
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
window.addEventListener("keydown", handleKeyDown);
|
|
49
|
+
return () => window.removeEventListener("keydown", handleKeyDown);
|
|
50
|
+
}, [toggleSidebar]);
|
|
51
|
+
const state = open ? "expanded" : "collapsed";
|
|
52
|
+
const contextValue = React.useMemo(() => ({
|
|
53
|
+
state,
|
|
54
|
+
open,
|
|
55
|
+
setOpen,
|
|
56
|
+
isMobile,
|
|
57
|
+
openMobile,
|
|
58
|
+
setOpenMobile,
|
|
59
|
+
toggleSidebar
|
|
60
|
+
}), [
|
|
61
|
+
state,
|
|
62
|
+
open,
|
|
63
|
+
setOpen,
|
|
64
|
+
isMobile,
|
|
65
|
+
openMobile,
|
|
66
|
+
setOpenMobile,
|
|
67
|
+
toggleSidebar
|
|
68
|
+
]);
|
|
69
|
+
return /* @__PURE__ */ jsx(SidebarContext.Provider, {
|
|
70
|
+
value: contextValue,
|
|
71
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
72
|
+
style: {
|
|
73
|
+
"--sidebar-width": SIDEBAR_WIDTH,
|
|
74
|
+
"--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
|
|
75
|
+
...style
|
|
76
|
+
},
|
|
77
|
+
className: cn("group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar", className),
|
|
78
|
+
ref,
|
|
79
|
+
...props,
|
|
80
|
+
children
|
|
81
|
+
})
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
SidebarProvider.displayName = "SidebarProvider";
|
|
85
|
+
const Sidebar = React.forwardRef(({ side = "left", variant = "sidebar", collapsible = "offcanvas", className, children, ...props }, ref) => {
|
|
86
|
+
const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
|
|
87
|
+
if (collapsible === "none") return /* @__PURE__ */ jsx("div", {
|
|
88
|
+
className: cn("flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground border-r border-border", className),
|
|
89
|
+
ref,
|
|
90
|
+
...props,
|
|
91
|
+
children
|
|
92
|
+
});
|
|
93
|
+
if (isMobile) return /* @__PURE__ */ jsx(Sheet, {
|
|
94
|
+
open: openMobile,
|
|
95
|
+
onOpenChange: setOpenMobile,
|
|
96
|
+
children: /* @__PURE__ */ jsx(SheetContent, {
|
|
97
|
+
side,
|
|
98
|
+
className: "w-(--sidebar-width-mobile) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",
|
|
99
|
+
style: { "--sidebar-width-mobile": SIDEBAR_WIDTH_MOBILE },
|
|
100
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
101
|
+
className: "flex h-full w-full flex-col",
|
|
102
|
+
children
|
|
103
|
+
})
|
|
104
|
+
})
|
|
105
|
+
});
|
|
106
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
107
|
+
ref,
|
|
108
|
+
className: "group peer hidden md:block text-sidebar-foreground",
|
|
109
|
+
"data-state": state,
|
|
110
|
+
"data-collapsible": state === "collapsed" ? collapsible : "",
|
|
111
|
+
"data-variant": variant,
|
|
112
|
+
"data-side": side,
|
|
113
|
+
children: [/* @__PURE__ */ jsx("div", { className: cn("duration-200 relative h-svh w-(--sidebar-width) bg-transparent transition-[width] ease-linear", "group-data-[collapsible=offcanvas]:w-0", "group-data-[side=right]:rotate-180", variant === "floating" || variant === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+calc(var(--spacing)*4))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)") }), /* @__PURE__ */ jsx("div", {
|
|
114
|
+
className: cn("duration-200 fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] ease-linear md:flex flex-col border-r border-border bg-background", side === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]", variant === "floating" || variant === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+calc(var(--spacing)*4)+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l", className),
|
|
115
|
+
...props,
|
|
116
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
117
|
+
"data-sidebar": "sidebar",
|
|
118
|
+
className: "flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow-xl",
|
|
119
|
+
children
|
|
120
|
+
})
|
|
121
|
+
})]
|
|
122
|
+
});
|
|
123
|
+
});
|
|
124
|
+
Sidebar.displayName = "Sidebar";
|
|
125
|
+
const SidebarTrigger = React.forwardRef(({ className, onClick, ...props }, ref) => {
|
|
126
|
+
const { toggleSidebar } = useSidebar();
|
|
127
|
+
return /* @__PURE__ */ jsxs(Button, {
|
|
128
|
+
ref,
|
|
129
|
+
"data-sidebar": "trigger",
|
|
130
|
+
variant: "ghost",
|
|
131
|
+
size: "icon",
|
|
132
|
+
className: cn("h-7 w-7", className),
|
|
133
|
+
onClick: (event) => {
|
|
134
|
+
onClick?.(event);
|
|
135
|
+
toggleSidebar();
|
|
136
|
+
},
|
|
137
|
+
...props,
|
|
138
|
+
children: [/* @__PURE__ */ jsx(PanelLeft, { className: "h-4 w-4" }), /* @__PURE__ */ jsx("span", {
|
|
139
|
+
className: "sr-only",
|
|
140
|
+
children: "Toggle Sidebar"
|
|
141
|
+
})]
|
|
142
|
+
});
|
|
143
|
+
});
|
|
144
|
+
SidebarTrigger.displayName = "SidebarTrigger";
|
|
145
|
+
const SidebarHeader = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", {
|
|
146
|
+
ref,
|
|
147
|
+
"data-sidebar": "header",
|
|
148
|
+
className: cn("flex flex-col gap-2 p-2", className),
|
|
149
|
+
...props
|
|
150
|
+
}));
|
|
151
|
+
SidebarHeader.displayName = "SidebarHeader";
|
|
152
|
+
const SidebarContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", {
|
|
153
|
+
ref,
|
|
154
|
+
"data-sidebar": "content",
|
|
155
|
+
className: cn("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden p-2", className),
|
|
156
|
+
...props
|
|
157
|
+
}));
|
|
158
|
+
SidebarContent.displayName = "SidebarContent";
|
|
159
|
+
const SidebarFooter = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", {
|
|
160
|
+
ref,
|
|
161
|
+
"data-sidebar": "footer",
|
|
162
|
+
className: cn("flex flex-col gap-2 p-2", className),
|
|
163
|
+
...props
|
|
164
|
+
}));
|
|
165
|
+
SidebarFooter.displayName = "SidebarFooter";
|
|
166
|
+
const SidebarGroup = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", {
|
|
167
|
+
ref,
|
|
168
|
+
"data-sidebar": "group",
|
|
169
|
+
className: cn("relative flex w-full min-w-0 flex-col p-2 group-data-[collapsible=icon]:p-0", className),
|
|
170
|
+
...props
|
|
171
|
+
}));
|
|
172
|
+
SidebarGroup.displayName = "SidebarGroup";
|
|
173
|
+
const SidebarGroupLabel = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", {
|
|
174
|
+
ref,
|
|
175
|
+
"data-sidebar": "group-label",
|
|
176
|
+
className: cn("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-muted-foreground outline-none transition-[margin,opa] ease-linear", "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0", className),
|
|
177
|
+
...props
|
|
178
|
+
}));
|
|
179
|
+
SidebarGroupLabel.displayName = "SidebarGroupLabel";
|
|
180
|
+
const SidebarMenu = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("ul", {
|
|
181
|
+
ref,
|
|
182
|
+
"data-sidebar": "menu",
|
|
183
|
+
className: cn("flex w-full min-w-0 flex-col gap-1", className),
|
|
184
|
+
...props
|
|
185
|
+
}));
|
|
186
|
+
SidebarMenu.displayName = "SidebarMenu";
|
|
187
|
+
const SidebarMenuItem = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", {
|
|
188
|
+
ref,
|
|
189
|
+
"data-sidebar": "menu-item",
|
|
190
|
+
className: cn("group/menu-item relative", className),
|
|
191
|
+
...props
|
|
192
|
+
}));
|
|
193
|
+
SidebarMenuItem.displayName = "SidebarMenuItem";
|
|
194
|
+
const sidebarMenuButtonVariants = cva("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0 [&>span:last-child]:truncate group-data-[collapsible=icon]:size-8 group-data-[collapsible=icon]:justify-center group-data-[collapsible=icon]:p-0 group-data-[collapsible=icon]:[&>span:last-child]:hidden", {
|
|
195
|
+
variants: {
|
|
196
|
+
variant: {
|
|
197
|
+
default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
|
|
198
|
+
outline: "bg-background shadow-[0_0_0_1px_var(--color-sidebar-border)] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_var(--color-sidebar-accent)]"
|
|
199
|
+
},
|
|
200
|
+
size: {
|
|
201
|
+
default: "h-8 text-sm",
|
|
202
|
+
sm: "h-7 text-xs",
|
|
203
|
+
lg: "h-12 text-sm"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
defaultVariants: {
|
|
207
|
+
variant: "default",
|
|
208
|
+
size: "default"
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
const SidebarMenuButton = React.forwardRef(({ className, variant, size, isActive = false, ...props }, ref) => /* @__PURE__ */ jsx("button", {
|
|
212
|
+
ref,
|
|
213
|
+
"data-sidebar": "menu-button",
|
|
214
|
+
"data-size": size,
|
|
215
|
+
"data-active": isActive,
|
|
216
|
+
className: cn(sidebarMenuButtonVariants({
|
|
217
|
+
variant,
|
|
218
|
+
size
|
|
219
|
+
}), className),
|
|
220
|
+
...props
|
|
221
|
+
}));
|
|
222
|
+
SidebarMenuButton.displayName = "SidebarMenuButton";
|
|
223
|
+
const SidebarInset = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("main", {
|
|
224
|
+
ref,
|
|
225
|
+
className: cn("relative flex min-h-svh flex-1 flex-col bg-background", "peer-data-[variant=inset]:min-h-[calc(100svh-calc(var(--spacing)*4))] md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-xl", className),
|
|
226
|
+
...props
|
|
227
|
+
}));
|
|
228
|
+
SidebarInset.displayName = "SidebarInset";
|
|
229
|
+
//#endregion
|
|
230
|
+
export { SidebarGroupLabel as a, SidebarMenu as c, SidebarProvider as d, SidebarTrigger as f, SidebarGroup as i, SidebarMenuButton as l, SidebarContent as n, SidebarHeader as o, useSidebar as p, SidebarFooter as r, SidebarInset as s, Sidebar as t, SidebarMenuItem as u };
|
|
231
|
+
|
|
232
|
+
//# sourceMappingURL=sidebar-BCBtb6sS.mjs.map
|