@usalyt/ui 0.0.1 → 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 +19 -0
- package/LICENSE +21 -674
- package/NOTICE +7 -8
- package/README.md +6 -7
- package/THIRD_PARTY_NOTICES.md +1 -1
- package/dist/{app-shell-layout-S_85mtFG.cjs → app-shell-layout-BwhU0DNY.cjs} +8 -8
- package/dist/{app-shell-layout-C63PPxCb.mjs → app-shell-layout-Dpl6jPni.mjs} +9 -9
- package/dist/app-shell-layout-Dpl6jPni.mjs.map +1 -0
- package/dist/blocks/app-shell-layout/index.cjs +1 -1
- package/dist/blocks/app-shell-layout/index.mjs +1 -1
- package/dist/blocks/auth-form/index.cjs +4 -4
- package/dist/blocks/auth-form/index.mjs +4 -4
- package/dist/blocks/auth-form/index.mjs.map +1 -1
- package/dist/blocks/collaboration-chat-panel/index.cjs +1 -1
- package/dist/blocks/collaboration-chat-panel/index.mjs +1 -1
- 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 +1 -1
- package/dist/blocks/dashboard-header/index.mjs +1 -1
- package/dist/blocks/dashboard-header/index.mjs.map +1 -1
- package/dist/blocks/data-table-with-filters/index.cjs +4 -3
- package/dist/blocks/data-table-with-filters/index.d.cts.map +1 -1
- package/dist/blocks/data-table-with-filters/index.d.mts.map +1 -1
- package/dist/blocks/data-table-with-filters/index.mjs +4 -3
- package/dist/blocks/data-table-with-filters/index.mjs.map +1 -1
- package/dist/blocks/empty-state-block/index.cjs +1 -1
- package/dist/blocks/empty-state-block/index.mjs +1 -1
- package/dist/blocks/evaluation-summary-report/index.cjs +1 -1
- package/dist/blocks/evaluation-summary-report/index.mjs +1 -1
- package/dist/blocks/form-with-validation/index.cjs +57 -54
- package/dist/blocks/form-with-validation/index.d.cts +2 -2
- package/dist/blocks/form-with-validation/index.d.mts +2 -2
- package/dist/blocks/form-with-validation/index.mjs +57 -54
- package/dist/blocks/form-with-validation/index.mjs.map +1 -1
- package/dist/blocks/heuristic-finding-card/index.cjs +1 -1
- package/dist/blocks/heuristic-finding-card/index.mjs +1 -1
- package/dist/blocks/inspector-split-view/index.cjs +1 -1
- package/dist/blocks/inspector-split-view/index.mjs +1 -1
- 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 +1 -1
- package/dist/blocks/project-kanban-board/index.mjs +1 -1
- 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 +11 -10
- package/dist/blocks/stats-card-grid/index.d.cts +2 -0
- package/dist/blocks/stats-card-grid/index.d.cts.map +1 -1
- package/dist/blocks/stats-card-grid/index.d.mts +2 -0
- package/dist/blocks/stats-card-grid/index.d.mts.map +1 -1
- package/dist/blocks/stats-card-grid/index.mjs +11 -10
- package/dist/blocks/stats-card-grid/index.mjs.map +1 -1
- package/dist/blocks/team-members-table/index.cjs +1 -1
- package/dist/blocks/team-members-table/index.mjs +1 -1
- package/dist/{collaboration-chat-panel-DuIoQQ6W.mjs → collaboration-chat-panel-BO-k0fqo.mjs} +10 -10
- package/dist/collaboration-chat-panel-BO-k0fqo.mjs.map +1 -0
- package/dist/{collaboration-chat-panel-D-o2i4-Y.cjs → collaboration-chat-panel-CR14FNw6.cjs} +9 -9
- package/dist/components/accordion/index.cjs +2 -2
- package/dist/components/accordion/index.mjs +2 -2
- package/dist/components/accordion/index.mjs.map +1 -1
- package/dist/components/alert/index.cjs +8 -4
- package/dist/components/alert/index.d.cts +4 -4
- package/dist/components/alert/index.d.cts.map +1 -1
- package/dist/components/alert/index.d.mts +4 -4
- package/dist/components/alert/index.d.mts.map +1 -1
- package/dist/components/alert/index.mjs +8 -4
- package/dist/components/alert/index.mjs.map +1 -1
- package/dist/components/alert-dialog/index.cjs +2 -2
- package/dist/components/alert-dialog/index.mjs +2 -2
- package/dist/components/alert-dialog/index.mjs.map +1 -1
- package/dist/components/avatar/index.cjs +1 -1
- package/dist/components/avatar/index.mjs +1 -1
- package/dist/components/avatar/index.mjs.map +1 -1
- package/dist/components/badge/index.cjs +3 -1
- package/dist/components/badge/index.d.cts +1 -1
- package/dist/components/badge/index.d.cts.map +1 -1
- package/dist/components/badge/index.d.mts +1 -1
- package/dist/components/badge/index.d.mts.map +1 -1
- package/dist/components/badge/index.mjs +3 -1
- package/dist/components/badge/index.mjs.map +1 -1
- package/dist/components/button/index.cjs +50 -15
- package/dist/components/button/index.d.cts +1 -1
- package/dist/components/button/index.d.mts +1 -1
- package/dist/components/button/index.mjs +50 -15
- package/dist/components/button/index.mjs.map +1 -1
- package/dist/components/calendar/index.cjs +5 -5
- package/dist/components/calendar/index.mjs +5 -5
- package/dist/components/calendar/index.mjs.map +1 -1
- package/dist/components/card/index.cjs +9 -7
- package/dist/components/card/index.d.cts +1 -1
- package/dist/components/card/index.d.cts.map +1 -1
- package/dist/components/card/index.d.mts +1 -1
- package/dist/components/card/index.d.mts.map +1 -1
- package/dist/components/card/index.mjs +9 -7
- package/dist/components/card/index.mjs.map +1 -1
- package/dist/components/carousel/index.d.cts +1 -1
- package/dist/components/carousel/index.d.mts +1 -1
- package/dist/components/chart/index.cjs +1 -1
- package/dist/components/chart/index.mjs +1 -1
- package/dist/components/chart/index.mjs.map +1 -1
- package/dist/components/combobox/index.cjs +1 -1
- package/dist/components/combobox/index.mjs +1 -1
- package/dist/components/combobox/index.mjs.map +1 -1
- package/dist/components/command/index.d.cts +11 -11
- package/dist/components/command/index.d.cts.map +1 -1
- package/dist/components/command/index.d.mts +11 -11
- package/dist/components/command/index.d.mts.map +1 -1
- package/dist/components/context-menu/index.cjs +2 -2
- package/dist/components/context-menu/index.mjs +2 -2
- package/dist/components/context-menu/index.mjs.map +1 -1
- package/dist/components/copy-button/index.d.cts +1 -1
- package/dist/components/copy-button/index.d.mts +1 -1
- package/dist/components/data-table/index.cjs +1 -1
- package/dist/components/data-table/index.mjs +1 -1
- package/dist/components/data-table/index.mjs.map +1 -1
- package/dist/components/dialog/index.cjs +8 -7
- package/dist/components/dialog/index.d.cts +3 -1
- package/dist/components/dialog/index.d.cts.map +1 -1
- package/dist/components/dialog/index.d.mts +3 -1
- package/dist/components/dialog/index.d.mts.map +1 -1
- package/dist/components/dialog/index.mjs +8 -7
- package/dist/components/dialog/index.mjs.map +1 -1
- package/dist/components/drawer/index.cjs +5 -3
- package/dist/components/drawer/index.d.cts.map +1 -1
- package/dist/components/drawer/index.d.mts.map +1 -1
- package/dist/components/drawer/index.mjs +5 -3
- package/dist/components/drawer/index.mjs.map +1 -1
- package/dist/components/dropdown-menu/index.cjs +3 -3
- package/dist/components/dropdown-menu/index.mjs +3 -3
- package/dist/components/dropdown-menu/index.mjs.map +1 -1
- package/dist/components/file-input/index.cjs +1 -1
- package/dist/components/file-input/index.mjs +1 -1
- package/dist/components/file-input/index.mjs.map +1 -1
- package/dist/components/hover-card/index.cjs +1 -1
- package/dist/components/hover-card/index.d.cts +1 -1
- package/dist/components/hover-card/index.d.mts +1 -1
- package/dist/components/hover-card/index.mjs +1 -1
- package/dist/components/hover-card/index.mjs.map +1 -1
- package/dist/components/input/index.cjs +5 -4
- package/dist/components/input/index.mjs +5 -4
- package/dist/components/input/index.mjs.map +1 -1
- package/dist/components/input-otp/index.cjs +1 -1
- package/dist/components/input-otp/index.d.cts +1 -1
- package/dist/components/input-otp/index.d.mts +1 -1
- package/dist/components/input-otp/index.mjs +1 -1
- package/dist/components/navigation-menu/index.cjs +2 -2
- package/dist/components/navigation-menu/index.d.cts +1 -1
- package/dist/components/navigation-menu/index.d.mts +1 -1
- package/dist/components/navigation-menu/index.mjs +2 -2
- package/dist/components/navigation-menu/index.mjs.map +1 -1
- package/dist/components/number-field/index.cjs +1 -1
- package/dist/components/number-field/index.mjs +1 -1
- package/dist/components/number-field/index.mjs.map +1 -1
- package/dist/components/pagination/index.d.cts +1 -1
- package/dist/components/pagination/index.d.mts +1 -1
- package/dist/components/popover/index.cjs +1 -1
- package/dist/components/popover/index.mjs +1 -1
- package/dist/components/popover/index.mjs.map +1 -1
- package/dist/components/progress/index.cjs +63 -15
- package/dist/components/progress/index.d.cts +3 -1
- package/dist/components/progress/index.d.cts.map +1 -1
- package/dist/components/progress/index.d.mts +3 -1
- package/dist/components/progress/index.d.mts.map +1 -1
- package/dist/components/progress/index.mjs +63 -15
- package/dist/components/progress/index.mjs.map +1 -1
- package/dist/components/resizable/index.d.cts +1 -1
- package/dist/components/resizable/index.d.mts +1 -1
- package/dist/components/select/index.cjs +5 -4
- package/dist/components/select/index.d.cts.map +1 -1
- package/dist/components/select/index.d.mts.map +1 -1
- package/dist/components/select/index.mjs +5 -4
- package/dist/components/select/index.mjs.map +1 -1
- package/dist/components/separator/index.cjs +1 -1
- package/dist/components/separator/index.mjs +1 -1
- package/dist/components/separator/index.mjs.map +1 -1
- package/dist/components/sheet/index.cjs +8 -6
- package/dist/components/sheet/index.d.cts +3 -1
- package/dist/components/sheet/index.d.cts.map +1 -1
- package/dist/components/sheet/index.d.mts +3 -1
- package/dist/components/sheet/index.d.mts.map +1 -1
- package/dist/components/sheet/index.mjs +8 -6
- package/dist/components/sheet/index.mjs.map +1 -1
- package/dist/components/sidebar/index.d.cts +1 -1
- package/dist/components/sidebar/index.d.mts +1 -1
- package/dist/components/spinner/index.d.cts +1 -1
- package/dist/components/spinner/index.d.mts +1 -1
- package/dist/components/stepper/index.d.cts +1 -1
- package/dist/components/stepper/index.d.mts +1 -1
- package/dist/components/switch/index.cjs +1 -1
- package/dist/components/switch/index.mjs +1 -1
- package/dist/components/switch/index.mjs.map +1 -1
- package/dist/components/table/index.cjs +2 -2
- package/dist/components/table/index.mjs +2 -2
- package/dist/components/table/index.mjs.map +1 -1
- package/dist/components/tabs/index.cjs +6 -3
- package/dist/components/tabs/index.d.cts.map +1 -1
- package/dist/components/tabs/index.d.mts.map +1 -1
- package/dist/components/tabs/index.mjs +6 -3
- package/dist/components/tabs/index.mjs.map +1 -1
- package/dist/components/textarea/index.cjs +1 -1
- package/dist/components/textarea/index.mjs +1 -1
- package/dist/components/textarea/index.mjs.map +1 -1
- package/dist/components/toast/index.cjs +8 -7
- package/dist/components/toast/index.d.cts +3 -1
- package/dist/components/toast/index.d.cts.map +1 -1
- package/dist/components/toast/index.d.mts +3 -1
- package/dist/components/toast/index.d.mts.map +1 -1
- package/dist/components/toast/index.mjs +8 -7
- package/dist/components/toast/index.mjs.map +1 -1
- package/dist/components/toggle/index.cjs +1 -1
- package/dist/components/toggle/index.mjs +1 -1
- package/dist/components/toggle-group/index.cjs +1 -1
- package/dist/components/toggle-group/index.mjs +1 -1
- package/dist/{empty-state-block-DePTPvzM.mjs → empty-state-block-DlccTgvo.mjs} +8 -7
- package/dist/empty-state-block-DlccTgvo.mjs.map +1 -0
- package/dist/{empty-state-block-CW1vdx89.cjs → empty-state-block-rrYF_ai9.cjs} +7 -6
- 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/{heuristic-finding-card-B5zpJp27.cjs → heuristic-finding-card-CeJzuzuN.cjs} +63 -40
- package/dist/{heuristic-finding-card-BFwXci2U.mjs → heuristic-finding-card-hlDwM_of.mjs} +64 -41
- package/dist/heuristic-finding-card-hlDwM_of.mjs.map +1 -0
- package/dist/{index-ClitDRHg.d.mts → index-2Vh9mMtN.d.mts} +2 -2
- package/dist/{index-ClitDRHg.d.mts.map → index-2Vh9mMtN.d.mts.map} +1 -1
- package/dist/index-B6epY4xT.d.cts +18 -0
- package/dist/index-B6epY4xT.d.cts.map +1 -0
- package/dist/index-B8Z5coVq.d.cts.map +1 -1
- package/dist/index-B8Z5coVq.d.mts.map +1 -1
- package/dist/{index-DCrV07Ko.d.cts → index-B_JrTcxF.d.cts} +2 -2
- package/dist/{index-DCrV07Ko.d.cts.map → index-B_JrTcxF.d.cts.map} +1 -1
- package/dist/index-C3V4MOJH.d.mts +18 -0
- package/dist/index-C3V4MOJH.d.mts.map +1 -0
- package/dist/{index-N-mHPudY.d.mts → index-C3ol_8Kk.d.cts} +2 -2
- package/dist/{index-DISRvpYF.d.cts.map → index-C3ol_8Kk.d.cts.map} +1 -1
- package/dist/{index-BfHoUosL.d.cts → index-C5ugjRen.d.cts} +2 -2
- package/dist/{index-BfHoUosL.d.cts.map → index-C5ugjRen.d.cts.map} +1 -1
- package/dist/{index-BfHoUosL.d.mts → index-C5ugjRen.d.mts} +2 -2
- package/dist/{index-BfHoUosL.d.mts.map → index-C5ugjRen.d.mts.map} +1 -1
- package/dist/{index-bO8Bd2qN.d.cts → index-CI5EwPm7.d.cts} +3 -3
- package/dist/{index-bO8Bd2qN.d.cts.map → index-CI5EwPm7.d.cts.map} +1 -1
- package/dist/{index-bO8Bd2qN.d.mts → index-CI5EwPm7.d.mts} +3 -3
- package/dist/{index-bO8Bd2qN.d.mts.map → index-CI5EwPm7.d.mts.map} +1 -1
- package/dist/{index-CxCGf9_1.d.mts → index-CU-siW-K.d.mts} +2 -2
- package/dist/{index-CTCm9Rd3.d.cts.map → index-CU-siW-K.d.mts.map} +1 -1
- package/dist/index-CsF26Fe8.d.cts.map +1 -1
- package/dist/index-CsF26Fe8.d.mts.map +1 -1
- package/dist/{index-D0R6bxY7.d.cts → index-D5_0x-hC.d.cts} +2 -2
- package/dist/{index-D0R6bxY7.d.cts.map → index-D5_0x-hC.d.cts.map} +1 -1
- package/dist/{index-Wut4L1Y4.d.mts → index-DeDN45Ha.d.mts} +2 -2
- package/dist/{index-Wut4L1Y4.d.mts.map → index-DeDN45Ha.d.mts.map} +1 -1
- package/dist/{index-CY6x-q24.d.cts → index-DtPmPGcN.d.cts} +2 -2
- package/dist/index-DtPmPGcN.d.cts.map +1 -0
- package/dist/{index-CY6x-q24.d.mts → index-DtPmPGcN.d.mts} +2 -2
- package/dist/index-DtPmPGcN.d.mts.map +1 -0
- package/dist/{index-DISRvpYF.d.cts → index-o7W0pKFo.d.mts} +2 -2
- package/dist/{index-N-mHPudY.d.mts.map → index-o7W0pKFo.d.mts.map} +1 -1
- package/dist/{index-CTCm9Rd3.d.cts → index-y8s6jpSR.d.cts} +2 -2
- package/dist/{index-CxCGf9_1.d.mts.map → index-y8s6jpSR.d.cts.map} +1 -1
- package/dist/index.cjs +16 -10
- package/dist/index.d.cts +12 -9
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +12 -9
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +14 -11
- package/dist/{input-otp-DyBlKPGM.cjs → input-otp-C7O7AtXb.cjs} +1 -1
- package/dist/{input-otp-CXy8gtKM.mjs → input-otp-CFNLnAuu.mjs} +2 -2
- package/dist/input-otp-CFNLnAuu.mjs.map +1 -0
- package/dist/{inspector-split-view-CSPoFJJC.cjs → inspector-split-view-Cwsvl3-m.cjs} +33 -27
- package/dist/{inspector-split-view-CQeClX4k.mjs → inspector-split-view-D5tX9P5r.mjs} +34 -28
- package/dist/inspector-split-view-D5tX9P5r.mjs.map +1 -0
- package/dist/{project-kanban-board-TUeAebbI.mjs → project-kanban-board-BHLRHooH.mjs} +13 -13
- package/dist/project-kanban-board-BHLRHooH.mjs.map +1 -0
- package/dist/{project-kanban-board-BGypLhTA.cjs → project-kanban-board-DUaDiHZC.cjs} +12 -12
- package/dist/styles.css +1 -1
- package/dist/{team-members-table-Cu5gCqMg.cjs → team-members-table-5OWUc6Ib.cjs} +5 -5
- package/dist/{team-members-table-ChWMZMYw.mjs → team-members-table-DW52BAKr.mjs} +6 -6
- package/dist/team-members-table-DW52BAKr.mjs.map +1 -0
- package/dist/{toggle-BjthGxVv.cjs → toggle-CZG8xQeG.cjs} +1 -1
- package/dist/{toggle-C2RktAMd.mjs → toggle-CpsU8EEk.mjs} +2 -2
- package/dist/toggle-CpsU8EEk.mjs.map +1 -0
- package/package.json +34 -4
- package/scripts/verify-artifacts.mjs +2 -2
- package/src/blocks/app-shell-layout/app-shell-layout.tsx +8 -8
- package/src/blocks/auth-form/auth-form.tsx +4 -4
- package/src/blocks/collaboration-chat-panel/collaboration-chat-panel.tsx +9 -9
- 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.tsx +1 -1
- package/src/blocks/data-table-with-filters/data-table-with-filters.tsx +4 -3
- package/src/blocks/empty-state-block/empty-state-block.tsx +9 -8
- package/src/blocks/evaluation-summary-report/evaluation-summary-report.test.tsx +16 -8
- package/src/blocks/evaluation-summary-report/evaluation-summary-report.tsx +161 -78
- package/src/blocks/form-with-validation/form-with-validation.tsx +5 -5
- package/src/blocks/heuristic-finding-card/heuristic-finding-card.stories.tsx +1 -1
- package/src/blocks/heuristic-finding-card/heuristic-finding-card.tsx +110 -64
- package/src/blocks/inspector-split-view/inspector-split-view.tsx +15 -15
- 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/project-kanban-board.tsx +12 -12
- 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/stats-card-grid.tsx +36 -10
- package/src/blocks/team-members-table/team-members-table.tsx +5 -5
- package/src/components/accordion/accordion.tsx +2 -2
- package/src/components/alert/alert.test.tsx +15 -1
- package/src/components/alert/alert.tsx +13 -9
- package/src/components/alert-dialog/alert-dialog.tsx +2 -2
- package/src/components/avatar/avatar.tsx +1 -1
- package/src/components/badge/badge.tsx +4 -1
- package/src/components/button/button.test.tsx +15 -6
- package/src/components/button/button.tsx +63 -13
- package/src/components/calendar/calendar.tsx +5 -5
- package/src/components/card/card.stories.tsx +1 -1
- package/src/components/card/card.tsx +11 -7
- package/src/components/chart/chart.tsx +1 -1
- package/src/components/combobox/combobox.tsx +1 -1
- package/src/components/context-menu/context-menu.tsx +2 -2
- package/src/components/data-table/data-table.tsx +1 -1
- package/src/components/dialog/dialog.tsx +10 -7
- package/src/components/drawer/drawer.tsx +5 -3
- package/src/components/dropdown-menu/dropdown-menu.tsx +3 -3
- package/src/components/file-input/file-input.tsx +1 -1
- package/src/components/hover-card/hover-card.tsx +1 -1
- package/src/components/input/input.tsx +5 -4
- package/src/components/input-otp/input-otp.tsx +1 -1
- package/src/components/navigation-menu/navigation-menu.tsx +2 -2
- package/src/components/number-field/number-field.tsx +1 -1
- package/src/components/popover/popover.tsx +1 -1
- package/src/components/progress/progress.stories.tsx +39 -0
- package/src/components/progress/progress.tsx +110 -18
- package/src/components/select/select.tsx +5 -4
- package/src/components/separator/separator.tsx +1 -1
- package/src/components/sheet/sheet.tsx +10 -7
- package/src/components/switch/switch.tsx +1 -1
- package/src/components/table/table.tsx +2 -2
- package/src/components/tabs/tabs.tsx +6 -3
- package/src/components/textarea/textarea.tsx +1 -1
- package/src/components/toast/toast.tsx +11 -8
- package/src/components/toggle/toggle.tsx +1 -1
- package/src/index.ts +3 -0
- package/src/test/palette-contract.test.ts +24 -21
- package/src/test/sidebar-contract.test.ts +8 -6
- package/styles/theme.css +279 -191
- package/dist/app-shell-layout-C63PPxCb.mjs.map +0 -1
- package/dist/collaboration-chat-panel-DuIoQQ6W.mjs.map +0 -1
- package/dist/empty-state-block-DePTPvzM.mjs.map +0 -1
- package/dist/evaluation-summary-report-Bx2iT1Pd.cjs +0 -212
- package/dist/evaluation-summary-report-CbaikB0Q.mjs +0 -207
- package/dist/evaluation-summary-report-CbaikB0Q.mjs.map +0 -1
- package/dist/heuristic-finding-card-BFwXci2U.mjs.map +0 -1
- package/dist/index-CY6x-q24.d.cts.map +0 -1
- package/dist/index-CY6x-q24.d.mts.map +0 -1
- package/dist/index-jYLDWfZc.d.cts +0 -15
- package/dist/index-jYLDWfZc.d.cts.map +0 -1
- package/dist/index-jYLDWfZc.d.mts +0 -15
- package/dist/index-jYLDWfZc.d.mts.map +0 -1
- package/dist/input-otp-CXy8gtKM.mjs.map +0 -1
- package/dist/inspector-split-view-CQeClX4k.mjs.map +0 -1
- package/dist/project-kanban-board-TUeAebbI.mjs.map +0 -1
- package/dist/team-members-table-ChWMZMYw.mjs.map +0 -1
- package/dist/toggle-C2RktAMd.mjs.map +0 -1
- package/src/__tests__/storybook-preview.test.tsx +0 -164
- package/src/test/docs-component-usability.test.tsx +0 -98
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
|
+
import {
|
|
4
|
+
ScheduleTimelineBoard,
|
|
5
|
+
type ScheduleEventItem,
|
|
6
|
+
type ScheduleResource,
|
|
7
|
+
} from "./schedule-timeline-board";
|
|
8
|
+
|
|
9
|
+
const meta: Meta<typeof ScheduleTimelineBoard> = {
|
|
10
|
+
title: "Blocks/ScheduleTimelineBoard",
|
|
11
|
+
component: ScheduleTimelineBoard,
|
|
12
|
+
tags: ["autodocs"],
|
|
13
|
+
parameters: {
|
|
14
|
+
layout: "fullscreen",
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export default meta;
|
|
19
|
+
type Story = StoryObj<typeof meta>;
|
|
20
|
+
|
|
21
|
+
const SAMPLE_RESOURCES: ScheduleResource[] = [
|
|
22
|
+
{ id: "r1", name: "Marisol Quintanar", meta: "Lead · 7.5 h", initials: "MQ" },
|
|
23
|
+
{ id: "r2", name: "Abena Ofori", meta: "Senior · 4.5 h", initials: "AO" },
|
|
24
|
+
{ id: "r3", name: "Davi Monteiro", meta: "Design · 8.0 h", initials: "DM" },
|
|
25
|
+
{ id: "r4", name: "Noemi Castellano", meta: "QA · 6.0 h", initials: "NC" },
|
|
26
|
+
{ id: "r5", name: "Hana Morikawa", meta: "Systems · 4.5 h", initials: "HM" },
|
|
27
|
+
{ id: "r6", name: "Emil Haddad", meta: "Frontend · 8.0 h", initials: "EH" },
|
|
28
|
+
];
|
|
29
|
+
|
|
30
|
+
const SAMPLE_EVENTS: ScheduleEventItem[] = [
|
|
31
|
+
{
|
|
32
|
+
id: "e1",
|
|
33
|
+
resourceId: "r1",
|
|
34
|
+
title: "Checkout Audit",
|
|
35
|
+
subtitle: "Web Portal · Core Flow",
|
|
36
|
+
owner: "Marisol Quintanar",
|
|
37
|
+
timeRange: "7:30 – 9:00",
|
|
38
|
+
startCol: 0,
|
|
39
|
+
spanCols: 2,
|
|
40
|
+
status: "confirmed",
|
|
41
|
+
verification: "WCAG AA verified · 0 contrast errors",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
id: "e2",
|
|
45
|
+
resourceId: "r1",
|
|
46
|
+
title: "Token Sync Review",
|
|
47
|
+
subtitle: "Design Review · Theme Studio",
|
|
48
|
+
owner: "Marisol Quintanar",
|
|
49
|
+
timeRange: "10:00 AM to 12:00 PM",
|
|
50
|
+
startCol: 3,
|
|
51
|
+
spanCols: 3,
|
|
52
|
+
status: "completed",
|
|
53
|
+
verification: "Verified · 77 items aligned",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: "e3",
|
|
57
|
+
resourceId: "r1",
|
|
58
|
+
title: "CLI Export",
|
|
59
|
+
subtitle: "Preset · Linear Craft",
|
|
60
|
+
owner: "Marisol Quintanar",
|
|
61
|
+
timeRange: "2:30 – 4:30",
|
|
62
|
+
startCol: 7,
|
|
63
|
+
spanCols: 2,
|
|
64
|
+
status: "confirmed",
|
|
65
|
+
verification: "Registry schema valid",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
id: "e4",
|
|
69
|
+
resourceId: "r2",
|
|
70
|
+
title: "Form States",
|
|
71
|
+
subtitle: "Validation · Focus Ring",
|
|
72
|
+
owner: "Abena Ofori",
|
|
73
|
+
timeRange: "7:00 – 9:00",
|
|
74
|
+
startCol: 0,
|
|
75
|
+
spanCols: 2,
|
|
76
|
+
status: "confirmed",
|
|
77
|
+
verification: "Keyboard trap verified",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
id: "e5",
|
|
81
|
+
resourceId: "r2",
|
|
82
|
+
title: "Docs Polish",
|
|
83
|
+
subtitle: "Theme Studio · Palette Sheet",
|
|
84
|
+
owner: "Abena Ofori",
|
|
85
|
+
timeRange: "3:30 – 5:30",
|
|
86
|
+
startCol: 8,
|
|
87
|
+
spanCols: 3,
|
|
88
|
+
status: "confirmed",
|
|
89
|
+
verification: "Playwright snapshots clean",
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
id: "e6",
|
|
93
|
+
resourceId: "r3",
|
|
94
|
+
title: "Sidebar Rail",
|
|
95
|
+
subtitle: "Collapsed Icon Layout",
|
|
96
|
+
owner: "Davi Monteiro",
|
|
97
|
+
timeRange: "8:00 – 10:00",
|
|
98
|
+
startCol: 1,
|
|
99
|
+
spanCols: 2,
|
|
100
|
+
status: "confirmed",
|
|
101
|
+
verification: "Sidebar contract green",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
id: "e7",
|
|
105
|
+
resourceId: "r3",
|
|
106
|
+
title: "Density Scale",
|
|
107
|
+
subtitle: "Tailwind v4 --spacing",
|
|
108
|
+
owner: "Davi Monteiro",
|
|
109
|
+
timeRange: "2:00 – 4:00",
|
|
110
|
+
startCol: 7,
|
|
111
|
+
spanCols: 2,
|
|
112
|
+
status: "confirmed",
|
|
113
|
+
verification: "90% / 100% / 110% tested",
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
id: "e8",
|
|
117
|
+
resourceId: "r4",
|
|
118
|
+
title: "Dialog Guard",
|
|
119
|
+
subtitle: "Base UI Focus Trap",
|
|
120
|
+
owner: "Noemi Castellano",
|
|
121
|
+
timeRange: "9:00 – 11:00",
|
|
122
|
+
startCol: 2,
|
|
123
|
+
spanCols: 2,
|
|
124
|
+
status: "confirmed",
|
|
125
|
+
verification: "Axe audit 0 violations",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
id: "e9",
|
|
129
|
+
resourceId: "r5",
|
|
130
|
+
title: "Release Pipeline",
|
|
131
|
+
subtitle: "Live Release Check",
|
|
132
|
+
owner: "Hana Morikawa",
|
|
133
|
+
timeRange: "1:00 – 3:00",
|
|
134
|
+
startCol: 6,
|
|
135
|
+
spanCols: 2,
|
|
136
|
+
status: "in-progress",
|
|
137
|
+
verification: "CI build green",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
id: "e10",
|
|
141
|
+
resourceId: "r6",
|
|
142
|
+
title: "Registry Diff",
|
|
143
|
+
subtitle: "CLI Drift Check",
|
|
144
|
+
owner: "Emil Haddad",
|
|
145
|
+
timeRange: "11:00 – 1:00",
|
|
146
|
+
startCol: 4,
|
|
147
|
+
spanCols: 2,
|
|
148
|
+
status: "attention",
|
|
149
|
+
verification: "Needs review before tag",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
id: "e11",
|
|
153
|
+
resourceId: "r6",
|
|
154
|
+
title: "Staging Deploy",
|
|
155
|
+
subtitle: "Production Preview",
|
|
156
|
+
owner: "Emil Haddad",
|
|
157
|
+
timeRange: "1:00 – 3:00",
|
|
158
|
+
startCol: 6,
|
|
159
|
+
spanCols: 3,
|
|
160
|
+
status: "in-progress",
|
|
161
|
+
verification: "Live on staging",
|
|
162
|
+
},
|
|
163
|
+
];
|
|
164
|
+
|
|
165
|
+
export const Default: Story = {
|
|
166
|
+
render: () => (
|
|
167
|
+
<div className="mx-auto w-full max-w-6xl p-8 sm:p-12">
|
|
168
|
+
<ScheduleTimelineBoard
|
|
169
|
+
resources={SAMPLE_RESOURCES}
|
|
170
|
+
events={SAMPLE_EVENTS}
|
|
171
|
+
onOpenDetail={() => {}}
|
|
172
|
+
onSecondaryDetail={() => {}}
|
|
173
|
+
/>
|
|
174
|
+
</div>
|
|
175
|
+
),
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
export const Unselected: Story = {
|
|
179
|
+
render: () => (
|
|
180
|
+
<div className="mx-auto w-full max-w-6xl p-8 sm:p-12">
|
|
181
|
+
<ScheduleTimelineBoard
|
|
182
|
+
resources={SAMPLE_RESOURCES.slice(0, 4)}
|
|
183
|
+
events={SAMPLE_EVENTS.filter((e) =>
|
|
184
|
+
["r1", "r2", "r3", "r4"].includes(e.resourceId)
|
|
185
|
+
)}
|
|
186
|
+
defaultSelectedEventId={null}
|
|
187
|
+
/>
|
|
188
|
+
</div>
|
|
189
|
+
),
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
export const Empty: Story = {
|
|
193
|
+
render: () => (
|
|
194
|
+
<div className="mx-auto w-full max-w-4xl p-8 sm:p-12">
|
|
195
|
+
<ScheduleTimelineBoard
|
|
196
|
+
resources={[]}
|
|
197
|
+
events={[]}
|
|
198
|
+
onPrimaryAction={() => {}}
|
|
199
|
+
/>
|
|
200
|
+
</div>
|
|
201
|
+
),
|
|
202
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { render, screen, fireEvent } from "@testing-library/react";
|
|
3
|
+
import { describe, expect, it, vi } from "vitest";
|
|
4
|
+
import {
|
|
5
|
+
ScheduleTimelineBoard,
|
|
6
|
+
type ScheduleEventItem,
|
|
7
|
+
type ScheduleResource,
|
|
8
|
+
} from "./schedule-timeline-board";
|
|
9
|
+
|
|
10
|
+
const RESOURCES: ScheduleResource[] = [
|
|
11
|
+
{ id: "r1", name: "Marisol Quintanar", meta: "Lead · 7.5 h", initials: "MQ" },
|
|
12
|
+
{ id: "r2", name: "Abena Ofori", meta: "Senior · 4.5 h", initials: "AO" },
|
|
13
|
+
];
|
|
14
|
+
|
|
15
|
+
const EVENTS: ScheduleEventItem[] = [
|
|
16
|
+
{
|
|
17
|
+
id: "e1",
|
|
18
|
+
resourceId: "r1",
|
|
19
|
+
title: "Checkout Audit",
|
|
20
|
+
subtitle: "Web Portal",
|
|
21
|
+
owner: "Marisol Quintanar",
|
|
22
|
+
timeRange: "7:30 – 9:00",
|
|
23
|
+
startCol: 0,
|
|
24
|
+
spanCols: 2,
|
|
25
|
+
status: "confirmed",
|
|
26
|
+
verification: "WCAG AA verified",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
id: "e2",
|
|
30
|
+
resourceId: "r2",
|
|
31
|
+
title: "Token Sync Review",
|
|
32
|
+
subtitle: "Theme Studio",
|
|
33
|
+
owner: "Abena Ofori",
|
|
34
|
+
timeRange: "10:00 – 12:00",
|
|
35
|
+
startCol: 3,
|
|
36
|
+
spanCols: 2,
|
|
37
|
+
status: "in-progress",
|
|
38
|
+
verification: "77 items aligned",
|
|
39
|
+
},
|
|
40
|
+
];
|
|
41
|
+
|
|
42
|
+
describe("ScheduleTimelineBoard", () => {
|
|
43
|
+
it("renders resources, schedule blocks, and updates the inspector on selection", () => {
|
|
44
|
+
const onOpenDetail = vi.fn();
|
|
45
|
+
render(
|
|
46
|
+
<ScheduleTimelineBoard
|
|
47
|
+
resources={RESOURCES}
|
|
48
|
+
events={EVENTS}
|
|
49
|
+
onOpenDetail={onOpenDetail}
|
|
50
|
+
/>
|
|
51
|
+
);
|
|
52
|
+
|
|
53
|
+
expect(screen.getByText("Marisol Quintanar")).toBeInTheDocument();
|
|
54
|
+
expect(screen.getByRole("region", { name: /Token Sync Review/i })).toBeInTheDocument();
|
|
55
|
+
|
|
56
|
+
fireEvent.click(screen.getByRole("button", { name: /Checkout Audit/i }));
|
|
57
|
+
expect(screen.getByRole("region", { name: /Checkout Audit/i })).toBeInTheDocument();
|
|
58
|
+
|
|
59
|
+
fireEvent.click(screen.getByRole("button", { name: /Open audit/i }));
|
|
60
|
+
expect(onOpenDetail).toHaveBeenCalledWith(EVENTS[0]);
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
it("renders an explicit empty state when no resources are provided", () => {
|
|
64
|
+
render(<ScheduleTimelineBoard resources={[]} events={[]} />);
|
|
65
|
+
expect(screen.getByText(/No scheduled coordinators yet/i)).toBeInTheDocument();
|
|
66
|
+
});
|
|
67
|
+
});
|