@elaraai/east-ui 1.0.3 → 1.0.5
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/README.md +3 -2
- package/dist/src/buttons/button/index.d.ts +20 -20
- package/dist/src/buttons/button/index.d.ts.map +1 -1
- package/dist/src/buttons/button/index.js +25 -21
- package/dist/src/buttons/button/index.js.map +1 -1
- package/dist/src/buttons/button-group/index.d.ts.map +1 -1
- package/dist/src/buttons/button-group/index.js +3 -1
- package/dist/src/buttons/button-group/index.js.map +1 -1
- package/dist/src/buttons/button-group/types.d.ts +3 -7
- package/dist/src/buttons/button-group/types.d.ts.map +1 -1
- package/dist/src/buttons/close-button/index.d.ts +2 -5
- package/dist/src/buttons/close-button/index.d.ts.map +1 -1
- package/dist/src/buttons/close-button/index.js +10 -9
- package/dist/src/buttons/close-button/index.js.map +1 -1
- package/dist/src/buttons/close-button/types.d.ts +1 -3
- package/dist/src/buttons/close-button/types.d.ts.map +1 -1
- package/dist/src/buttons/copy-button/index.d.ts +3 -7
- package/dist/src/buttons/copy-button/index.d.ts.map +1 -1
- package/dist/src/buttons/copy-button/index.js +11 -11
- package/dist/src/buttons/copy-button/index.js.map +1 -1
- package/dist/src/buttons/copy-button/types.d.ts +1 -3
- package/dist/src/buttons/copy-button/types.d.ts.map +1 -1
- package/dist/src/buttons/icon-button/index.d.ts +23 -29
- package/dist/src/buttons/icon-button/index.d.ts.map +1 -1
- package/dist/src/buttons/icon-button/index.js +31 -33
- package/dist/src/buttons/icon-button/index.js.map +1 -1
- package/dist/src/buttons/icon-button/types.d.ts +16 -7
- package/dist/src/buttons/icon-button/types.d.ts.map +1 -1
- package/dist/src/buttons/icon-button/types.js.map +1 -1
- package/dist/src/buttons/toggle/index.d.ts +13 -14
- package/dist/src/buttons/toggle/index.d.ts.map +1 -1
- package/dist/src/buttons/toggle/index.js +22 -20
- package/dist/src/buttons/toggle/index.js.map +1 -1
- package/dist/src/buttons/toggle/types.d.ts +3 -3
- package/dist/src/buttons/toggle/types.d.ts.map +1 -1
- package/dist/src/charts/chart/index.d.ts +1615 -0
- package/dist/src/charts/chart/index.d.ts.map +1 -0
- package/dist/src/charts/chart/index.js +354 -0
- package/dist/src/charts/chart/index.js.map +1 -0
- package/dist/src/charts/index.d.ts +7 -6724
- package/dist/src/charts/index.d.ts.map +1 -1
- package/dist/src/charts/index.js +7 -1035
- package/dist/src/charts/index.js.map +1 -1
- package/dist/src/charts/spec/index.d.ts +2568 -146
- package/dist/src/charts/spec/index.d.ts.map +1 -1
- package/dist/src/charts/spec/index.js +762 -59
- package/dist/src/charts/spec/index.js.map +1 -1
- package/dist/src/charts/spec/types.d.ts +494 -17
- package/dist/src/charts/spec/types.d.ts.map +1 -1
- package/dist/src/charts/spec/types.js +298 -8
- package/dist/src/charts/spec/types.js.map +1 -1
- package/dist/src/collections/blend/index.d.ts +525 -0
- package/dist/src/collections/blend/index.d.ts.map +1 -0
- package/dist/src/collections/blend/index.js +283 -0
- package/dist/src/collections/blend/index.js.map +1 -0
- package/dist/src/collections/blend/types.d.ts +373 -0
- package/dist/src/collections/blend/types.d.ts.map +1 -0
- package/dist/src/collections/blend/types.js +168 -0
- package/dist/src/collections/blend/types.js.map +1 -0
- package/dist/src/collections/calendar/index.d.ts +211 -0
- package/dist/src/collections/calendar/index.d.ts.map +1 -0
- package/dist/src/collections/calendar/index.js +153 -0
- package/dist/src/collections/calendar/index.js.map +1 -0
- package/dist/src/collections/calendar/types.d.ts +116 -0
- package/dist/src/collections/calendar/types.d.ts.map +1 -0
- package/dist/src/collections/calendar/types.js +81 -0
- package/dist/src/collections/calendar/types.js.map +1 -0
- package/dist/src/collections/data-list/index.d.ts +2 -31666
- package/dist/src/collections/data-list/index.d.ts.map +1 -1
- package/dist/src/collections/gantt/index.d.ts +34 -93
- package/dist/src/collections/gantt/index.d.ts.map +1 -1
- package/dist/src/collections/gantt/index.js +120 -121
- package/dist/src/collections/gantt/index.js.map +1 -1
- package/dist/src/collections/gantt/types.d.ts +149 -58
- package/dist/src/collections/gantt/types.d.ts.map +1 -1
- package/dist/src/collections/gantt/types.js +92 -20
- package/dist/src/collections/gantt/types.js.map +1 -1
- package/dist/src/collections/index.d.ts +5 -0
- package/dist/src/collections/index.d.ts.map +1 -1
- package/dist/src/collections/index.js +5 -0
- package/dist/src/collections/index.js.map +1 -1
- package/dist/src/collections/library/index.d.ts +436 -0
- package/dist/src/collections/library/index.d.ts.map +1 -0
- package/dist/src/collections/library/index.js +284 -0
- package/dist/src/collections/library/index.js.map +1 -0
- package/dist/src/collections/library/types.d.ts +329 -0
- package/dist/src/collections/library/types.d.ts.map +1 -0
- package/dist/src/collections/library/types.js +204 -0
- package/dist/src/collections/library/types.js.map +1 -0
- package/dist/src/collections/matrix/index.d.ts +244 -31884
- package/dist/src/collections/matrix/index.d.ts.map +1 -1
- package/dist/src/collections/matrix/index.js +573 -327
- package/dist/src/collections/matrix/index.js.map +1 -1
- package/dist/src/collections/matrix/types.d.ts +206 -195
- package/dist/src/collections/matrix/types.d.ts.map +1 -1
- package/dist/src/collections/matrix/types.js +113 -135
- package/dist/src/collections/matrix/types.js.map +1 -1
- package/dist/src/collections/pagination/index.d.ts +8 -35
- package/dist/src/collections/pagination/index.d.ts.map +1 -1
- package/dist/src/collections/pagination/index.js +12 -42
- package/dist/src/collections/pagination/index.js.map +1 -1
- package/dist/src/collections/pagination/types.d.ts +34 -1
- package/dist/src/collections/pagination/types.d.ts.map +1 -1
- package/dist/src/collections/pagination/types.js +27 -1
- package/dist/src/collections/pagination/types.js.map +1 -1
- package/dist/src/collections/planner/index.d.ts +428 -257
- package/dist/src/collections/planner/index.d.ts.map +1 -1
- package/dist/src/collections/planner/index.js +557 -717
- package/dist/src/collections/planner/index.js.map +1 -1
- package/dist/src/collections/planner/types.d.ts +346 -339
- package/dist/src/collections/planner/types.d.ts.map +1 -1
- package/dist/src/collections/planner/types.js +238 -185
- package/dist/src/collections/planner/types.js.map +1 -1
- package/dist/src/collections/roster/index.d.ts +396 -0
- package/dist/src/collections/roster/index.d.ts.map +1 -0
- package/dist/src/collections/roster/index.js +227 -0
- package/dist/src/collections/roster/index.js.map +1 -0
- package/dist/src/collections/roster/types.d.ts +240 -0
- package/dist/src/collections/roster/types.d.ts.map +1 -0
- package/dist/src/collections/roster/types.js +113 -0
- package/dist/src/collections/roster/types.js.map +1 -0
- package/dist/src/collections/schematic/index.d.ts +681 -0
- package/dist/src/collections/schematic/index.d.ts.map +1 -0
- package/dist/src/collections/schematic/index.js +365 -0
- package/dist/src/collections/schematic/index.js.map +1 -0
- package/dist/src/collections/schematic/types.d.ts +590 -0
- package/dist/src/collections/schematic/types.d.ts.map +1 -0
- package/dist/src/collections/schematic/types.js +247 -0
- package/dist/src/collections/schematic/types.js.map +1 -0
- package/dist/src/collections/table/index.d.ts +18 -31669
- package/dist/src/collections/table/index.d.ts.map +1 -1
- package/dist/src/collections/table/index.js +13 -0
- package/dist/src/collections/table/index.js.map +1 -1
- package/dist/src/component.d.ts +3959 -22701
- package/dist/src/component.d.ts.map +1 -1
- package/dist/src/component.js +85 -130
- package/dist/src/component.js.map +1 -1
- package/dist/src/container/card/index.d.ts +48 -35
- package/dist/src/container/card/index.d.ts.map +1 -1
- package/dist/src/container/card/index.js +49 -61
- package/dist/src/container/card/index.js.map +1 -1
- package/dist/src/contracts/drag.d.ts +223 -0
- package/dist/src/contracts/drag.d.ts.map +1 -0
- package/dist/src/contracts/drag.js +138 -0
- package/dist/src/contracts/drag.js.map +1 -0
- package/dist/src/contracts/index.d.ts +1 -0
- package/dist/src/contracts/index.d.ts.map +1 -1
- package/dist/src/contracts/index.js +1 -0
- package/dist/src/contracts/index.js.map +1 -1
- package/dist/src/contracts/slice-affordances.d.ts +9 -4
- package/dist/src/contracts/slice-affordances.d.ts.map +1 -1
- package/dist/src/contracts/slice-affordances.js +8 -3
- package/dist/src/contracts/slice-affordances.js.map +1 -1
- package/dist/src/disclosure/accordion/index.d.ts +8 -8
- package/dist/src/disclosure/accordion/index.d.ts.map +1 -1
- package/dist/src/disclosure/accordion/index.js +16 -14
- package/dist/src/disclosure/accordion/index.js.map +1 -1
- package/dist/src/disclosure/accordion/types.d.ts +10 -6
- package/dist/src/disclosure/accordion/types.d.ts.map +1 -1
- package/dist/src/disclosure/carousel/index.d.ts.map +1 -1
- package/dist/src/disclosure/carousel/index.js +16 -12
- package/dist/src/disclosure/carousel/index.js.map +1 -1
- package/dist/src/disclosure/carousel/types.d.ts +1 -3
- package/dist/src/disclosure/carousel/types.d.ts.map +1 -1
- package/dist/src/disclosure/collapsible/index.d.ts +27 -11
- package/dist/src/disclosure/collapsible/index.d.ts.map +1 -1
- package/dist/src/disclosure/collapsible/index.js +15 -16
- package/dist/src/disclosure/collapsible/index.js.map +1 -1
- package/dist/src/disclosure/collapsible/types.d.ts +1 -16
- package/dist/src/disclosure/collapsible/types.d.ts.map +1 -1
- package/dist/src/disclosure/collapsible/types.js +1 -1
- package/dist/src/disclosure/collapsible/types.js.map +1 -1
- package/dist/src/disclosure/option-list/index.d.ts +6 -4
- package/dist/src/disclosure/option-list/index.d.ts.map +1 -1
- package/dist/src/disclosure/option-list/index.js +5 -3
- package/dist/src/disclosure/option-list/index.js.map +1 -1
- package/dist/src/disclosure/segment-group/index.d.ts +27 -19
- package/dist/src/disclosure/segment-group/index.d.ts.map +1 -1
- package/dist/src/disclosure/segment-group/index.js +16 -17
- package/dist/src/disclosure/segment-group/index.js.map +1 -1
- package/dist/src/disclosure/show-more/index.js +3 -3
- package/dist/src/disclosure/show-more/index.js.map +1 -1
- package/dist/src/disclosure/show-more/types.d.ts +1 -3
- package/dist/src/disclosure/show-more/types.d.ts.map +1 -1
- package/dist/src/disclosure/tabs/index.d.ts +9 -10
- package/dist/src/disclosure/tabs/index.d.ts.map +1 -1
- package/dist/src/disclosure/tabs/index.js +15 -14
- package/dist/src/disclosure/tabs/index.js.map +1 -1
- package/dist/src/disclosure/tabs/types.d.ts +4 -6
- package/dist/src/disclosure/tabs/types.d.ts.map +1 -1
- package/dist/src/display/avatar/index.d.ts +6 -0
- package/dist/src/display/avatar/index.d.ts.map +1 -1
- package/dist/src/display/avatar/index.js +8 -1
- package/dist/src/display/avatar/index.js.map +1 -1
- package/dist/src/display/avatar/types.d.ts +15 -2
- package/dist/src/display/avatar/types.d.ts.map +1 -1
- package/dist/src/display/avatar/types.js +3 -1
- package/dist/src/display/avatar/types.js.map +1 -1
- package/dist/src/display/avatar-group/index.d.ts.map +1 -1
- package/dist/src/display/avatar-group/index.js +14 -1
- package/dist/src/display/avatar-group/index.js.map +1 -1
- package/dist/src/display/avatar-group/types.d.ts +21 -2
- package/dist/src/display/avatar-group/types.d.ts.map +1 -1
- package/dist/src/display/avatar-group/types.js +3 -1
- package/dist/src/display/avatar-group/types.js.map +1 -1
- package/dist/src/display/badge/index.d.ts +6 -0
- package/dist/src/display/badge/index.d.ts.map +1 -1
- package/dist/src/display/badge/index.js +8 -1
- package/dist/src/display/badge/index.js.map +1 -1
- package/dist/src/display/badge/types.d.ts +15 -2
- package/dist/src/display/badge/types.d.ts.map +1 -1
- package/dist/src/display/badge/types.js +3 -1
- package/dist/src/display/badge/types.js.map +1 -1
- package/dist/src/display/bar-strip/index.d.ts +3 -1
- package/dist/src/display/bar-strip/index.d.ts.map +1 -1
- package/dist/src/display/bar-strip/index.js +10 -1
- package/dist/src/display/bar-strip/index.js.map +1 -1
- package/dist/src/display/bar-strip/types.d.ts +10 -2
- package/dist/src/display/bar-strip/types.d.ts.map +1 -1
- package/dist/src/display/bar-strip/types.js +1 -1
- package/dist/src/display/bar-strip/types.js.map +1 -1
- package/dist/src/display/chip-rail/index.d.ts +109 -0
- package/dist/src/display/chip-rail/index.d.ts.map +1 -0
- package/dist/src/{layout → display}/chip-rail/index.js +19 -17
- package/dist/src/display/chip-rail/index.js.map +1 -0
- package/dist/src/{layout → display}/chip-rail/types.d.ts +10 -4
- package/dist/src/display/chip-rail/types.d.ts.map +1 -0
- package/dist/src/{layout → display}/chip-rail/types.js +1 -1
- package/dist/src/display/chip-rail/types.js.map +1 -0
- package/dist/src/display/editable-chip/index.d.ts +3 -0
- package/dist/src/display/editable-chip/index.d.ts.map +1 -1
- package/dist/src/display/editable-chip/index.js +10 -1
- package/dist/src/display/editable-chip/index.js.map +1 -1
- package/dist/src/display/editable-chip/types.d.ts +10 -2
- package/dist/src/display/editable-chip/types.d.ts.map +1 -1
- package/dist/src/display/editable-chip/types.js +1 -1
- package/dist/src/display/editable-chip/types.js.map +1 -1
- package/dist/src/display/icon/index.d.ts +5 -8
- package/dist/src/display/icon/index.d.ts.map +1 -1
- package/dist/src/display/icon/index.js +8 -9
- package/dist/src/display/icon/index.js.map +1 -1
- package/dist/src/display/icon/types.d.ts +5 -0
- package/dist/src/display/icon/types.d.ts.map +1 -1
- package/dist/src/display/icon/types.js.map +1 -1
- package/dist/src/display/index.d.ts +2 -0
- package/dist/src/display/index.d.ts.map +1 -1
- package/dist/src/display/index.js +2 -0
- package/dist/src/display/index.js.map +1 -1
- package/dist/src/display/kbd/index.d.ts.map +1 -1
- package/dist/src/display/kbd/index.js +8 -1
- package/dist/src/display/kbd/index.js.map +1 -1
- package/dist/src/display/kbd/types.d.ts +16 -2
- package/dist/src/display/kbd/types.d.ts.map +1 -1
- package/dist/src/display/kbd/types.js +3 -1
- package/dist/src/display/kbd/types.js.map +1 -1
- package/dist/src/display/meter/index.d.ts +3 -0
- package/dist/src/display/meter/index.d.ts.map +1 -1
- package/dist/src/display/meter/index.js +10 -0
- package/dist/src/display/meter/index.js.map +1 -1
- package/dist/src/display/meter/types.d.ts +10 -0
- package/dist/src/display/meter/types.d.ts.map +1 -1
- package/dist/src/display/meter/types.js +1 -0
- package/dist/src/display/meter/types.js.map +1 -1
- package/dist/src/display/metric-chip/index.d.ts +12 -8
- package/dist/src/display/metric-chip/index.d.ts.map +1 -1
- package/dist/src/display/metric-chip/index.js +27 -18
- package/dist/src/display/metric-chip/index.js.map +1 -1
- package/dist/src/display/metric-chip/types.d.ts +16 -5
- package/dist/src/display/metric-chip/types.d.ts.map +1 -1
- package/dist/src/display/metric-chip/types.js +1 -1
- package/dist/src/display/metric-chip/types.js.map +1 -1
- package/dist/src/display/segmented-meter/index.d.ts +3 -0
- package/dist/src/display/segmented-meter/index.d.ts.map +1 -1
- package/dist/src/display/segmented-meter/index.js +10 -0
- package/dist/src/display/segmented-meter/index.js.map +1 -1
- package/dist/src/display/segmented-meter/types.d.ts +10 -0
- package/dist/src/display/segmented-meter/types.d.ts.map +1 -1
- package/dist/src/display/segmented-meter/types.js +1 -0
- package/dist/src/display/segmented-meter/types.js.map +1 -1
- package/dist/src/display/stat/index.d.ts +13 -11
- package/dist/src/display/stat/index.d.ts.map +1 -1
- package/dist/src/display/stat/index.js +34 -23
- package/dist/src/display/stat/index.js.map +1 -1
- package/dist/src/display/stat/types.d.ts +23 -5
- package/dist/src/display/stat/types.d.ts.map +1 -1
- package/dist/src/display/stat/types.js +7 -7
- package/dist/src/display/stat/types.js.map +1 -1
- package/dist/src/display/tag/index.d.ts +5 -0
- package/dist/src/display/tag/index.d.ts.map +1 -1
- package/dist/src/display/tag/index.js +7 -1
- package/dist/src/display/tag/index.js.map +1 -1
- package/dist/src/display/tag/types.d.ts +15 -2
- package/dist/src/display/tag/types.d.ts.map +1 -1
- package/dist/src/display/tag/types.js +3 -1
- package/dist/src/display/tag/types.js.map +1 -1
- package/dist/src/display/trace/index.d.ts +104 -0
- package/dist/src/display/trace/index.d.ts.map +1 -0
- package/dist/src/display/trace/index.js +106 -0
- package/dist/src/display/trace/index.js.map +1 -0
- package/dist/src/display/trace/types.d.ts +140 -0
- package/dist/src/display/trace/types.d.ts.map +1 -0
- package/dist/src/display/trace/types.js +75 -0
- package/dist/src/display/trace/types.js.map +1 -0
- package/dist/src/feedback/banner/index.d.ts +25 -13
- package/dist/src/feedback/banner/index.d.ts.map +1 -1
- package/dist/src/feedback/banner/index.js +26 -22
- package/dist/src/feedback/banner/index.js.map +1 -1
- package/dist/src/feedback/empty-state/index.d.ts +20 -12
- package/dist/src/feedback/empty-state/index.d.ts.map +1 -1
- package/dist/src/feedback/empty-state/index.js +26 -22
- package/dist/src/feedback/empty-state/index.js.map +1 -1
- package/dist/src/feedback/progress/index.d.ts +13 -10
- package/dist/src/feedback/progress/index.d.ts.map +1 -1
- package/dist/src/feedback/progress/index.js +15 -15
- package/dist/src/feedback/progress/index.js.map +1 -1
- package/dist/src/feedback/skeleton/index.d.ts +16 -11
- package/dist/src/feedback/skeleton/index.d.ts.map +1 -1
- package/dist/src/feedback/skeleton/index.js +12 -10
- package/dist/src/feedback/skeleton/index.js.map +1 -1
- package/dist/src/feedback/status/index.d.ts +16 -11
- package/dist/src/feedback/status/index.d.ts.map +1 -1
- package/dist/src/feedback/status/index.js +23 -21
- package/dist/src/feedback/status/index.js.map +1 -1
- package/dist/src/format/index.d.ts +1 -1
- package/dist/src/format/index.d.ts.map +1 -1
- package/dist/src/format/index.js +1 -1
- package/dist/src/format/index.js.map +1 -1
- package/dist/src/format/types.d.ts +736 -0
- package/dist/src/format/types.d.ts.map +1 -0
- package/dist/src/format/types.js +473 -0
- package/dist/src/format/types.js.map +1 -0
- package/dist/src/forms/combobox/index.d.ts +9 -13
- package/dist/src/forms/combobox/index.d.ts.map +1 -1
- package/dist/src/forms/combobox/index.js +9 -12
- package/dist/src/forms/combobox/index.js.map +1 -1
- package/dist/src/forms/combobox/types.d.ts +13 -0
- package/dist/src/forms/combobox/types.d.ts.map +1 -1
- package/dist/src/forms/date-range-input/index.d.ts +6 -7
- package/dist/src/forms/date-range-input/index.d.ts.map +1 -1
- package/dist/src/forms/date-range-input/index.js +34 -34
- package/dist/src/forms/date-range-input/index.js.map +1 -1
- package/dist/src/forms/date-range-input/types.d.ts +4 -0
- package/dist/src/forms/date-range-input/types.d.ts.map +1 -1
- package/dist/src/forms/date-range-input/types.js.map +1 -1
- package/dist/src/forms/field/index.d.ts +8 -0
- package/dist/src/forms/field/index.d.ts.map +1 -1
- package/dist/src/forms/field/types.d.ts +16 -0
- package/dist/src/forms/field/types.d.ts.map +1 -1
- package/dist/src/forms/file-upload/index.d.ts +5 -1
- package/dist/src/forms/file-upload/index.d.ts.map +1 -1
- package/dist/src/forms/file-upload/index.js +9 -2
- package/dist/src/forms/file-upload/index.js.map +1 -1
- package/dist/src/forms/file-upload/types.d.ts +34 -0
- package/dist/src/forms/file-upload/types.d.ts.map +1 -1
- package/dist/src/forms/file-upload/types.js +22 -0
- package/dist/src/forms/file-upload/types.js.map +1 -1
- package/dist/src/forms/index.d.ts +0 -1
- package/dist/src/forms/index.d.ts.map +1 -1
- package/dist/src/forms/index.js +0 -1
- package/dist/src/forms/index.js.map +1 -1
- package/dist/src/forms/input/index.d.ts +5 -0
- package/dist/src/forms/input/index.d.ts.map +1 -1
- package/dist/src/forms/input/index.js +3 -1
- package/dist/src/forms/input/index.js.map +1 -1
- package/dist/src/forms/input/types.d.ts +8 -0
- package/dist/src/forms/input/types.d.ts.map +1 -1
- package/dist/src/forms/input/types.js +2 -0
- package/dist/src/forms/input/types.js.map +1 -1
- package/dist/src/forms/radio-card-group/index.d.ts +12 -12
- package/dist/src/forms/radio-card-group/index.d.ts.map +1 -1
- package/dist/src/forms/radio-card-group/index.js +39 -38
- package/dist/src/forms/radio-card-group/index.js.map +1 -1
- package/dist/src/forms/radio-card-group/types.d.ts +4 -0
- package/dist/src/forms/radio-card-group/types.d.ts.map +1 -1
- package/dist/src/forms/radio-card-group/types.js.map +1 -1
- package/dist/src/forms/radio-group/index.d.ts +12 -12
- package/dist/src/forms/radio-group/index.d.ts.map +1 -1
- package/dist/src/forms/radio-group/index.js +42 -39
- package/dist/src/forms/radio-group/index.js.map +1 -1
- package/dist/src/forms/radio-group/types.d.ts +10 -1
- package/dist/src/forms/radio-group/types.d.ts.map +1 -1
- package/dist/src/forms/radio-group/types.js.map +1 -1
- package/dist/src/forms/select/index.d.ts +9 -13
- package/dist/src/forms/select/index.d.ts.map +1 -1
- package/dist/src/forms/select/index.js +9 -12
- package/dist/src/forms/select/index.js.map +1 -1
- package/dist/src/forms/select/types.d.ts +13 -0
- package/dist/src/forms/select/types.d.ts.map +1 -1
- package/dist/src/forms/time-range-input/index.d.ts +6 -7
- package/dist/src/forms/time-range-input/index.d.ts.map +1 -1
- package/dist/src/forms/time-range-input/index.js +31 -31
- package/dist/src/forms/time-range-input/index.js.map +1 -1
- package/dist/src/forms/time-range-input/types.d.ts +4 -0
- package/dist/src/forms/time-range-input/types.d.ts.map +1 -1
- package/dist/src/forms/time-range-input/types.js.map +1 -1
- package/dist/src/index.d.ts +41 -25
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +38 -24
- package/dist/src/index.js.map +1 -1
- package/dist/src/internal.d.ts +40 -22
- package/dist/src/internal.d.ts.map +1 -1
- package/dist/src/internal.js +44 -34
- package/dist/src/internal.js.map +1 -1
- package/dist/src/layout/box/index.d.ts +4 -0
- package/dist/src/layout/box/index.d.ts.map +1 -1
- package/dist/src/layout/box/index.js +9 -1
- package/dist/src/layout/box/index.js.map +1 -1
- package/dist/src/layout/box/types.d.ts +10 -2
- package/dist/src/layout/box/types.d.ts.map +1 -1
- package/dist/src/layout/box/types.js +1 -1
- package/dist/src/layout/box/types.js.map +1 -1
- package/dist/src/layout/flex/index.d.ts +4 -0
- package/dist/src/layout/flex/index.d.ts.map +1 -1
- package/dist/src/layout/flex/index.js +9 -1
- package/dist/src/layout/flex/index.js.map +1 -1
- package/dist/src/layout/flex/types.d.ts +10 -2
- package/dist/src/layout/flex/types.d.ts.map +1 -1
- package/dist/src/layout/flex/types.js +1 -1
- package/dist/src/layout/flex/types.js.map +1 -1
- package/dist/src/layout/grid/index.d.ts +3 -0
- package/dist/src/layout/grid/index.d.ts.map +1 -1
- package/dist/src/layout/grid/index.js +8 -1
- package/dist/src/layout/grid/index.js.map +1 -1
- package/dist/src/layout/grid/types.d.ts +10 -2
- package/dist/src/layout/grid/types.d.ts.map +1 -1
- package/dist/src/layout/grid/types.js +1 -1
- package/dist/src/layout/grid/types.js.map +1 -1
- package/dist/src/layout/index.d.ts +0 -1
- package/dist/src/layout/index.d.ts.map +1 -1
- package/dist/src/layout/index.js +0 -1
- package/dist/src/layout/index.js.map +1 -1
- package/dist/src/layout/scroll-area/index.d.ts +2 -31666
- package/dist/src/layout/scroll-area/index.d.ts.map +1 -1
- package/dist/src/layout/scroll-area/index.js +11 -11
- package/dist/src/layout/scroll-area/index.js.map +1 -1
- package/dist/src/layout/scroll-area/types.d.ts +1 -3
- package/dist/src/layout/scroll-area/types.d.ts.map +1 -1
- package/dist/src/layout/separator/index.d.ts +2 -31666
- package/dist/src/layout/separator/index.d.ts.map +1 -1
- package/dist/src/layout/splitter/index.d.ts +32 -18
- package/dist/src/layout/splitter/index.d.ts.map +1 -1
- package/dist/src/layout/splitter/index.js +33 -47
- package/dist/src/layout/splitter/index.js.map +1 -1
- package/dist/src/layout/stack/index.d.ts +4 -0
- package/dist/src/layout/stack/index.d.ts.map +1 -1
- package/dist/src/layout/stack/index.js +9 -1
- package/dist/src/layout/stack/index.js.map +1 -1
- package/dist/src/layout/stack/types.d.ts +10 -2
- package/dist/src/layout/stack/types.d.ts.map +1 -1
- package/dist/src/layout/stack/types.js +1 -1
- package/dist/src/layout/stack/types.js.map +1 -1
- package/dist/src/layout/sticky/index.d.ts +2 -31666
- package/dist/src/layout/sticky/index.d.ts.map +1 -1
- package/dist/src/layout/sticky/index.js +4 -4
- package/dist/src/layout/sticky/index.js.map +1 -1
- package/dist/src/layout/sticky/types.d.ts +1 -3
- package/dist/src/layout/sticky/types.d.ts.map +1 -1
- package/dist/src/overlays/dialog/index.d.ts +18 -16
- package/dist/src/overlays/dialog/index.d.ts.map +1 -1
- package/dist/src/overlays/dialog/index.js +31 -60
- package/dist/src/overlays/dialog/index.js.map +1 -1
- package/dist/src/overlays/drawer/index.d.ts +26 -16
- package/dist/src/overlays/drawer/index.d.ts.map +1 -1
- package/dist/src/overlays/drawer/index.js +28 -52
- package/dist/src/overlays/drawer/index.js.map +1 -1
- package/dist/src/overlays/drawer/types.d.ts +3 -0
- package/dist/src/overlays/drawer/types.d.ts.map +1 -1
- package/dist/src/overlays/hover-card/index.d.ts +33 -27
- package/dist/src/overlays/hover-card/index.d.ts.map +1 -1
- package/dist/src/overlays/hover-card/index.js +33 -61
- package/dist/src/overlays/hover-card/index.js.map +1 -1
- package/dist/src/overlays/menu/index.d.ts +114 -42
- package/dist/src/overlays/menu/index.d.ts.map +1 -1
- package/dist/src/overlays/menu/index.js +101 -60
- package/dist/src/overlays/menu/index.js.map +1 -1
- package/dist/src/overlays/menu/types.d.ts +37 -3
- package/dist/src/overlays/menu/types.d.ts.map +1 -1
- package/dist/src/overlays/menu/types.js +18 -4
- package/dist/src/overlays/menu/types.js.map +1 -1
- package/dist/src/overlays/popover/index.d.ts +16 -16
- package/dist/src/overlays/popover/index.d.ts.map +1 -1
- package/dist/src/overlays/popover/index.js +22 -52
- package/dist/src/overlays/popover/index.js.map +1 -1
- package/dist/src/overlays/toggle-tip/index.d.ts +14 -14
- package/dist/src/overlays/toggle-tip/index.d.ts.map +1 -1
- package/dist/src/overlays/toggle-tip/index.js +18 -47
- package/dist/src/overlays/toggle-tip/index.js.map +1 -1
- package/dist/src/overlays/tooltip/index.d.ts +20 -15
- package/dist/src/overlays/tooltip/index.d.ts.map +1 -1
- package/dist/src/overlays/tooltip/index.js +19 -28
- package/dist/src/overlays/tooltip/index.js.map +1 -1
- package/dist/src/platform/hotkey/index.d.ts +3 -30
- package/dist/src/platform/hotkey/index.d.ts.map +1 -1
- package/dist/src/platform/hotkey/index.js +3 -28
- package/dist/src/platform/hotkey/index.js.map +1 -1
- package/dist/src/platform/hotkey/types.d.ts +37 -0
- package/dist/src/platform/hotkey/types.d.ts.map +1 -0
- package/dist/src/platform/hotkey/types.js +36 -0
- package/dist/src/platform/hotkey/types.js.map +1 -0
- package/dist/src/platform/slice/impl.d.ts +3 -2
- package/dist/src/platform/slice/impl.d.ts.map +1 -1
- package/dist/src/platform/slice/impl.js +23 -6
- package/dist/src/platform/slice/impl.js.map +1 -1
- package/dist/src/platform/slice/index.d.ts +1390 -135
- package/dist/src/platform/slice/index.d.ts.map +1 -1
- package/dist/src/platform/slice/index.js +52 -9
- package/dist/src/platform/slice/index.js.map +1 -1
- package/dist/src/runtime/buttons/button-group.d.ts +41 -0
- package/dist/src/runtime/buttons/button-group.d.ts.map +1 -0
- package/dist/src/runtime/buttons/button-group.js +36 -0
- package/dist/src/runtime/buttons/button-group.js.map +1 -0
- package/dist/src/runtime/buttons/button.d.ts +36 -0
- package/dist/src/runtime/buttons/button.d.ts.map +1 -0
- package/dist/src/runtime/buttons/button.js +32 -0
- package/dist/src/runtime/buttons/button.js.map +1 -0
- package/dist/src/runtime/buttons/close-button.d.ts +36 -0
- package/dist/src/runtime/buttons/close-button.d.ts.map +1 -0
- package/dist/src/runtime/buttons/close-button.js +34 -0
- package/dist/src/runtime/buttons/close-button.js.map +1 -0
- package/dist/src/runtime/buttons/copy-button.d.ts +37 -0
- package/dist/src/runtime/buttons/copy-button.d.ts.map +1 -0
- package/dist/src/runtime/buttons/copy-button.js +33 -0
- package/dist/src/runtime/buttons/copy-button.js.map +1 -0
- package/dist/src/runtime/buttons/icon-button.d.ts +40 -0
- package/dist/src/runtime/buttons/icon-button.d.ts.map +1 -0
- package/dist/src/runtime/buttons/icon-button.js +38 -0
- package/dist/src/runtime/buttons/icon-button.js.map +1 -0
- package/dist/src/runtime/buttons/index.d.ts +12 -0
- package/dist/src/runtime/buttons/index.d.ts.map +1 -0
- package/dist/src/runtime/buttons/index.js +12 -0
- package/dist/src/runtime/buttons/index.js.map +1 -0
- package/dist/src/runtime/buttons/toggle.d.ts +45 -0
- package/dist/src/runtime/buttons/toggle.d.ts.map +1 -0
- package/dist/src/runtime/buttons/toggle.js +41 -0
- package/dist/src/runtime/buttons/toggle.js.map +1 -0
- package/dist/src/runtime/charts/chart.d.ts +69 -0
- package/dist/src/runtime/charts/chart.d.ts.map +1 -0
- package/dist/src/runtime/charts/chart.js +66 -0
- package/dist/src/runtime/charts/chart.js.map +1 -0
- package/dist/src/runtime/charts/index.d.ts +8 -0
- package/dist/src/runtime/charts/index.d.ts.map +1 -0
- package/dist/src/runtime/charts/index.js +8 -0
- package/dist/src/runtime/charts/index.js.map +1 -0
- package/dist/src/runtime/charts/sparkline.d.ts +42 -0
- package/dist/src/runtime/charts/sparkline.d.ts.map +1 -0
- package/dist/src/runtime/charts/sparkline.js +40 -0
- package/dist/src/runtime/charts/sparkline.js.map +1 -0
- package/dist/src/runtime/children.d.ts +46 -0
- package/dist/src/runtime/children.d.ts.map +1 -0
- package/dist/src/runtime/children.js +73 -0
- package/dist/src/runtime/children.js.map +1 -0
- package/dist/src/runtime/collections/blend.d.ts +58 -0
- package/dist/src/runtime/collections/blend.d.ts.map +1 -0
- package/dist/src/runtime/collections/blend.js +58 -0
- package/dist/src/runtime/collections/blend.js.map +1 -0
- package/dist/src/runtime/collections/calendar.d.ts +49 -0
- package/dist/src/runtime/collections/calendar.d.ts.map +1 -0
- package/dist/src/runtime/collections/calendar.js +49 -0
- package/dist/src/runtime/collections/calendar.js.map +1 -0
- package/dist/src/runtime/collections/data-list.d.ts +41 -0
- package/dist/src/runtime/collections/data-list.d.ts.map +1 -0
- package/dist/src/runtime/collections/data-list.js +39 -0
- package/dist/src/runtime/collections/data-list.js.map +1 -0
- package/dist/src/runtime/collections/gantt.d.ts +67 -0
- package/dist/src/runtime/collections/gantt.d.ts.map +1 -0
- package/dist/src/runtime/collections/gantt.js +58 -0
- package/dist/src/runtime/collections/gantt.js.map +1 -0
- package/dist/src/runtime/collections/index.d.ts +18 -0
- package/dist/src/runtime/collections/index.d.ts.map +1 -0
- package/dist/src/runtime/collections/index.js +18 -0
- package/dist/src/runtime/collections/index.js.map +1 -0
- package/dist/src/runtime/collections/library.d.ts +56 -0
- package/dist/src/runtime/collections/library.d.ts.map +1 -0
- package/dist/src/runtime/collections/library.js +56 -0
- package/dist/src/runtime/collections/library.js.map +1 -0
- package/dist/src/runtime/collections/matrix.d.ts +71 -0
- package/dist/src/runtime/collections/matrix.d.ts.map +1 -0
- package/dist/src/runtime/collections/matrix.js +66 -0
- package/dist/src/runtime/collections/matrix.js.map +1 -0
- package/dist/src/runtime/collections/pagination.d.ts +44 -0
- package/dist/src/runtime/collections/pagination.d.ts.map +1 -0
- package/dist/src/runtime/collections/pagination.js +42 -0
- package/dist/src/runtime/collections/pagination.js.map +1 -0
- package/dist/src/runtime/collections/planner.d.ts +80 -0
- package/dist/src/runtime/collections/planner.d.ts.map +1 -0
- package/dist/src/runtime/collections/planner.js +76 -0
- package/dist/src/runtime/collections/planner.js.map +1 -0
- package/dist/src/runtime/collections/roster.d.ts +60 -0
- package/dist/src/runtime/collections/roster.d.ts.map +1 -0
- package/dist/src/runtime/collections/roster.js +59 -0
- package/dist/src/runtime/collections/roster.js.map +1 -0
- package/dist/src/runtime/collections/schematic.d.ts +62 -0
- package/dist/src/runtime/collections/schematic.d.ts.map +1 -0
- package/dist/src/runtime/collections/schematic.js +59 -0
- package/dist/src/runtime/collections/schematic.js.map +1 -0
- package/dist/src/runtime/collections/table.d.ts +70 -0
- package/dist/src/runtime/collections/table.d.ts.map +1 -0
- package/dist/src/runtime/collections/table.js +63 -0
- package/dist/src/runtime/collections/table.js.map +1 -0
- package/dist/src/runtime/collections/tree-view.d.ts +49 -0
- package/dist/src/runtime/collections/tree-view.d.ts.map +1 -0
- package/dist/src/runtime/collections/tree-view.js +46 -0
- package/dist/src/runtime/collections/tree-view.js.map +1 -0
- package/dist/src/runtime/combinators.d.ts +111 -0
- package/dist/src/runtime/combinators.d.ts.map +1 -0
- package/dist/src/runtime/combinators.js +106 -0
- package/dist/src/runtime/combinators.js.map +1 -0
- package/dist/src/runtime/container/card.d.ts +54 -0
- package/dist/src/runtime/container/card.d.ts.map +1 -0
- package/dist/src/runtime/container/card.js +51 -0
- package/dist/src/runtime/container/card.js.map +1 -0
- package/dist/src/runtime/container/index.d.ts +7 -0
- package/dist/src/runtime/container/index.d.ts.map +1 -0
- package/dist/src/runtime/container/index.js +7 -0
- package/dist/src/runtime/container/index.js.map +1 -0
- package/dist/src/runtime/disclosure/accordion.d.ts +54 -0
- package/dist/src/runtime/disclosure/accordion.d.ts.map +1 -0
- package/dist/src/runtime/disclosure/accordion.js +51 -0
- package/dist/src/runtime/disclosure/accordion.js.map +1 -0
- package/dist/src/runtime/disclosure/carousel.d.ts +46 -0
- package/dist/src/runtime/disclosure/carousel.d.ts.map +1 -0
- package/dist/src/runtime/disclosure/carousel.js +41 -0
- package/dist/src/runtime/disclosure/carousel.js.map +1 -0
- package/dist/src/runtime/disclosure/collapsible.d.ts +41 -0
- package/dist/src/runtime/disclosure/collapsible.d.ts.map +1 -0
- package/dist/src/runtime/disclosure/collapsible.js +39 -0
- package/dist/src/runtime/disclosure/collapsible.js.map +1 -0
- package/dist/src/runtime/disclosure/index.d.ts +13 -0
- package/dist/src/runtime/disclosure/index.d.ts.map +1 -0
- package/dist/src/runtime/disclosure/index.js +13 -0
- package/dist/src/runtime/disclosure/index.js.map +1 -0
- package/dist/src/runtime/disclosure/option-list.d.ts +58 -0
- package/dist/src/runtime/disclosure/option-list.d.ts.map +1 -0
- package/dist/src/runtime/disclosure/option-list.js +55 -0
- package/dist/src/runtime/disclosure/option-list.js.map +1 -0
- package/dist/src/runtime/disclosure/segment-group.d.ts +52 -0
- package/dist/src/runtime/disclosure/segment-group.d.ts.map +1 -0
- package/dist/src/runtime/disclosure/segment-group.js +49 -0
- package/dist/src/runtime/disclosure/segment-group.js.map +1 -0
- package/dist/src/runtime/disclosure/show-more.d.ts +38 -0
- package/dist/src/runtime/disclosure/show-more.d.ts.map +1 -0
- package/dist/src/runtime/disclosure/show-more.js +36 -0
- package/dist/src/runtime/disclosure/show-more.js.map +1 -0
- package/dist/src/runtime/disclosure/tabs.d.ts +55 -0
- package/dist/src/runtime/disclosure/tabs.d.ts.map +1 -0
- package/dist/src/runtime/disclosure/tabs.js +52 -0
- package/dist/src/runtime/disclosure/tabs.js.map +1 -0
- package/dist/src/runtime/display/avatar-group.d.ts +41 -0
- package/dist/src/runtime/display/avatar-group.d.ts.map +1 -0
- package/dist/src/runtime/display/avatar-group.js +37 -0
- package/dist/src/runtime/display/avatar-group.js.map +1 -0
- package/dist/src/runtime/display/avatar.d.ts +37 -0
- package/dist/src/runtime/display/avatar.d.ts.map +1 -0
- package/dist/src/runtime/display/avatar.js +35 -0
- package/dist/src/runtime/display/avatar.js.map +1 -0
- package/dist/src/runtime/display/badge.d.ts +40 -0
- package/dist/src/runtime/display/badge.d.ts.map +1 -0
- package/dist/src/runtime/display/badge.js +38 -0
- package/dist/src/runtime/display/badge.js.map +1 -0
- package/dist/src/runtime/display/bar-strip.d.ts +46 -0
- package/dist/src/runtime/display/bar-strip.d.ts.map +1 -0
- package/dist/src/runtime/display/bar-strip.js +42 -0
- package/dist/src/runtime/display/bar-strip.js.map +1 -0
- package/dist/src/runtime/display/chip-rail.d.ts +48 -0
- package/dist/src/runtime/display/chip-rail.d.ts.map +1 -0
- package/dist/src/runtime/display/chip-rail.js +43 -0
- package/dist/src/runtime/display/chip-rail.js.map +1 -0
- package/dist/src/runtime/display/editable-chip.d.ts +36 -0
- package/dist/src/runtime/display/editable-chip.d.ts.map +1 -0
- package/dist/src/runtime/display/editable-chip.js +34 -0
- package/dist/src/runtime/display/editable-chip.js.map +1 -0
- package/dist/src/runtime/display/icon.d.ts +36 -0
- package/dist/src/runtime/display/icon.d.ts.map +1 -0
- package/dist/src/runtime/display/icon.js +34 -0
- package/dist/src/runtime/display/icon.js.map +1 -0
- package/dist/src/runtime/display/index.d.ts +20 -0
- package/dist/src/runtime/display/index.d.ts.map +1 -0
- package/dist/src/runtime/display/index.js +20 -0
- package/dist/src/runtime/display/index.js.map +1 -0
- package/dist/src/runtime/display/kbd.d.ts +34 -0
- package/dist/src/runtime/display/kbd.d.ts.map +1 -0
- package/dist/src/runtime/display/kbd.js +32 -0
- package/dist/src/runtime/display/kbd.js.map +1 -0
- package/dist/src/runtime/display/meter.d.ts +36 -0
- package/dist/src/runtime/display/meter.d.ts.map +1 -0
- package/dist/src/runtime/display/meter.js +34 -0
- package/dist/src/runtime/display/meter.js.map +1 -0
- package/dist/src/runtime/display/metric-chip.d.ts +36 -0
- package/dist/src/runtime/display/metric-chip.d.ts.map +1 -0
- package/dist/src/runtime/display/metric-chip.js +34 -0
- package/dist/src/runtime/display/metric-chip.js.map +1 -0
- package/dist/src/runtime/display/segmented-meter.d.ts +43 -0
- package/dist/src/runtime/display/segmented-meter.d.ts.map +1 -0
- package/dist/src/runtime/display/segmented-meter.js +39 -0
- package/dist/src/runtime/display/segmented-meter.js.map +1 -0
- package/dist/src/runtime/display/stat.d.ts +38 -0
- package/dist/src/runtime/display/stat.d.ts.map +1 -0
- package/dist/src/runtime/display/stat.js +36 -0
- package/dist/src/runtime/display/stat.js.map +1 -0
- package/dist/src/runtime/display/tag.d.ts +39 -0
- package/dist/src/runtime/display/tag.d.ts.map +1 -0
- package/dist/src/runtime/display/tag.js +37 -0
- package/dist/src/runtime/display/tag.js.map +1 -0
- package/dist/src/runtime/display/trace.d.ts +50 -0
- package/dist/src/runtime/display/trace.d.ts.map +1 -0
- package/dist/src/runtime/display/trace.js +46 -0
- package/dist/src/runtime/display/trace.js.map +1 -0
- package/dist/src/runtime/feedback/banner.d.ts +44 -0
- package/dist/src/runtime/feedback/banner.d.ts.map +1 -0
- package/dist/src/runtime/feedback/banner.js +42 -0
- package/dist/src/runtime/feedback/banner.js.map +1 -0
- package/dist/src/runtime/feedback/empty-state.d.ts +43 -0
- package/dist/src/runtime/feedback/empty-state.d.ts.map +1 -0
- package/dist/src/runtime/feedback/empty-state.js +41 -0
- package/dist/src/runtime/feedback/empty-state.js.map +1 -0
- package/dist/src/runtime/feedback/index.d.ts +11 -0
- package/dist/src/runtime/feedback/index.d.ts.map +1 -0
- package/dist/src/runtime/feedback/index.js +11 -0
- package/dist/src/runtime/feedback/index.js.map +1 -0
- package/dist/src/runtime/feedback/progress.d.ts +37 -0
- package/dist/src/runtime/feedback/progress.d.ts.map +1 -0
- package/dist/src/runtime/feedback/progress.js +35 -0
- package/dist/src/runtime/feedback/progress.js.map +1 -0
- package/dist/src/runtime/feedback/skeleton.d.ts +39 -0
- package/dist/src/runtime/feedback/skeleton.d.ts.map +1 -0
- package/dist/src/runtime/feedback/skeleton.js +37 -0
- package/dist/src/runtime/feedback/skeleton.js.map +1 -0
- package/dist/src/runtime/feedback/status.d.ts +41 -0
- package/dist/src/runtime/feedback/status.d.ts.map +1 -0
- package/dist/src/runtime/feedback/status.js +39 -0
- package/dist/src/runtime/feedback/status.js.map +1 -0
- package/dist/src/runtime/forms/checkbox.d.ts +34 -0
- package/dist/src/runtime/forms/checkbox.d.ts.map +1 -0
- package/dist/src/runtime/forms/checkbox.js +32 -0
- package/dist/src/runtime/forms/checkbox.js.map +1 -0
- package/dist/src/runtime/forms/combobox.d.ts +50 -0
- package/dist/src/runtime/forms/combobox.d.ts.map +1 -0
- package/dist/src/runtime/forms/combobox.js +47 -0
- package/dist/src/runtime/forms/combobox.js.map +1 -0
- package/dist/src/runtime/forms/date-range-input.d.ts +38 -0
- package/dist/src/runtime/forms/date-range-input.d.ts.map +1 -0
- package/dist/src/runtime/forms/date-range-input.js +36 -0
- package/dist/src/runtime/forms/date-range-input.js.map +1 -0
- package/dist/src/runtime/forms/field.d.ts +77 -0
- package/dist/src/runtime/forms/field.d.ts.map +1 -0
- package/dist/src/runtime/forms/field.js +62 -0
- package/dist/src/runtime/forms/field.js.map +1 -0
- package/dist/src/runtime/forms/file-upload.d.ts +35 -0
- package/dist/src/runtime/forms/file-upload.d.ts.map +1 -0
- package/dist/src/runtime/forms/file-upload.js +33 -0
- package/dist/src/runtime/forms/file-upload.js.map +1 -0
- package/dist/src/runtime/forms/index.d.ts +20 -0
- package/dist/src/runtime/forms/index.d.ts.map +1 -0
- package/dist/src/runtime/forms/index.js +20 -0
- package/dist/src/runtime/forms/index.js.map +1 -0
- package/dist/src/runtime/forms/input.d.ts +57 -0
- package/dist/src/runtime/forms/input.d.ts.map +1 -0
- package/dist/src/runtime/forms/input.js +57 -0
- package/dist/src/runtime/forms/input.js.map +1 -0
- package/dist/src/runtime/forms/radio-card-group.d.ts +44 -0
- package/dist/src/runtime/forms/radio-card-group.d.ts.map +1 -0
- package/dist/src/runtime/forms/radio-card-group.js +42 -0
- package/dist/src/runtime/forms/radio-card-group.js.map +1 -0
- package/dist/src/runtime/forms/radio-group.d.ts +44 -0
- package/dist/src/runtime/forms/radio-group.d.ts.map +1 -0
- package/dist/src/runtime/forms/radio-group.js +42 -0
- package/dist/src/runtime/forms/radio-group.js.map +1 -0
- package/dist/src/runtime/forms/select.d.ts +49 -0
- package/dist/src/runtime/forms/select.d.ts.map +1 -0
- package/dist/src/runtime/forms/select.js +46 -0
- package/dist/src/runtime/forms/select.js.map +1 -0
- package/dist/src/runtime/forms/slider.d.ts +36 -0
- package/dist/src/runtime/forms/slider.d.ts.map +1 -0
- package/dist/src/runtime/forms/slider.js +34 -0
- package/dist/src/runtime/forms/slider.js.map +1 -0
- package/dist/src/runtime/forms/switch.d.ts +34 -0
- package/dist/src/runtime/forms/switch.d.ts.map +1 -0
- package/dist/src/runtime/forms/switch.js +32 -0
- package/dist/src/runtime/forms/switch.js.map +1 -0
- package/dist/src/runtime/forms/tags-input.d.ts +37 -0
- package/dist/src/runtime/forms/tags-input.d.ts.map +1 -0
- package/dist/src/runtime/forms/tags-input.js +35 -0
- package/dist/src/runtime/forms/tags-input.js.map +1 -0
- package/dist/src/runtime/forms/textarea.d.ts +36 -0
- package/dist/src/runtime/forms/textarea.d.ts.map +1 -0
- package/dist/src/runtime/forms/textarea.js +34 -0
- package/dist/src/runtime/forms/textarea.js.map +1 -0
- package/dist/src/runtime/forms/time-range-input.d.ts +38 -0
- package/dist/src/runtime/forms/time-range-input.d.ts.map +1 -0
- package/dist/src/runtime/forms/time-range-input.js +36 -0
- package/dist/src/runtime/forms/time-range-input.js.map +1 -0
- package/dist/src/runtime/index.d.ts +42 -0
- package/dist/src/runtime/index.d.ts.map +1 -0
- package/dist/src/runtime/index.js +41 -0
- package/dist/src/runtime/index.js.map +1 -0
- package/dist/src/runtime/layout/box.d.ts +38 -0
- package/dist/src/runtime/layout/box.d.ts.map +1 -0
- package/dist/src/runtime/layout/box.js +36 -0
- package/dist/src/runtime/layout/box.js.map +1 -0
- package/dist/src/runtime/layout/flex.d.ts +41 -0
- package/dist/src/runtime/layout/flex.d.ts.map +1 -0
- package/dist/src/runtime/layout/flex.js +39 -0
- package/dist/src/runtime/layout/flex.js.map +1 -0
- package/dist/src/runtime/layout/grid.d.ts +52 -0
- package/dist/src/runtime/layout/grid.d.ts.map +1 -0
- package/dist/src/runtime/layout/grid.js +49 -0
- package/dist/src/runtime/layout/grid.js.map +1 -0
- package/dist/src/runtime/layout/index.d.ts +14 -0
- package/dist/src/runtime/layout/index.d.ts.map +1 -0
- package/dist/src/runtime/layout/index.js +14 -0
- package/dist/src/runtime/layout/index.js.map +1 -0
- package/dist/src/runtime/layout/scroll-area.d.ts +44 -0
- package/dist/src/runtime/layout/scroll-area.d.ts.map +1 -0
- package/dist/src/runtime/layout/scroll-area.js +42 -0
- package/dist/src/runtime/layout/scroll-area.js.map +1 -0
- package/dist/src/runtime/layout/separator.d.ts +39 -0
- package/dist/src/runtime/layout/separator.d.ts.map +1 -0
- package/dist/src/runtime/layout/separator.js +37 -0
- package/dist/src/runtime/layout/separator.js.map +1 -0
- package/dist/src/runtime/layout/splitter.d.ts +53 -0
- package/dist/src/runtime/layout/splitter.d.ts.map +1 -0
- package/dist/src/runtime/layout/splitter.js +50 -0
- package/dist/src/runtime/layout/splitter.js.map +1 -0
- package/dist/src/runtime/layout/stack.d.ts +99 -0
- package/dist/src/runtime/layout/stack.d.ts.map +1 -0
- package/dist/src/runtime/layout/stack.js +93 -0
- package/dist/src/runtime/layout/stack.js.map +1 -0
- package/dist/src/runtime/layout/sticky.d.ts +44 -0
- package/dist/src/runtime/layout/sticky.d.ts.map +1 -0
- package/dist/src/runtime/layout/sticky.js +42 -0
- package/dist/src/runtime/layout/sticky.js.map +1 -0
- package/dist/src/runtime/navigation/breadcrumb.d.ts +41 -0
- package/dist/src/runtime/navigation/breadcrumb.d.ts.map +1 -0
- package/dist/src/runtime/navigation/breadcrumb.js +39 -0
- package/dist/src/runtime/navigation/breadcrumb.js.map +1 -0
- package/dist/src/runtime/navigation/index.d.ts +8 -0
- package/dist/src/runtime/navigation/index.d.ts.map +1 -0
- package/dist/src/runtime/navigation/index.js +8 -0
- package/dist/src/runtime/navigation/index.js.map +1 -0
- package/dist/src/runtime/navigation/nav-list.d.ts +54 -0
- package/dist/src/runtime/navigation/nav-list.d.ts.map +1 -0
- package/dist/src/runtime/navigation/nav-list.js +52 -0
- package/dist/src/runtime/navigation/nav-list.js.map +1 -0
- package/dist/src/runtime/overlays/action-bar.d.ts +45 -0
- package/dist/src/runtime/overlays/action-bar.d.ts.map +1 -0
- package/dist/src/runtime/overlays/action-bar.js +43 -0
- package/dist/src/runtime/overlays/action-bar.js.map +1 -0
- package/dist/src/runtime/overlays/command-palette.d.ts +45 -0
- package/dist/src/runtime/overlays/command-palette.d.ts.map +1 -0
- package/dist/src/runtime/overlays/command-palette.js +43 -0
- package/dist/src/runtime/overlays/command-palette.js.map +1 -0
- package/dist/src/runtime/overlays/dialog.d.ts +47 -0
- package/dist/src/runtime/overlays/dialog.d.ts.map +1 -0
- package/dist/src/runtime/overlays/dialog.js +44 -0
- package/dist/src/runtime/overlays/dialog.js.map +1 -0
- package/dist/src/runtime/overlays/drawer.d.ts +46 -0
- package/dist/src/runtime/overlays/drawer.d.ts.map +1 -0
- package/dist/src/runtime/overlays/drawer.js +43 -0
- package/dist/src/runtime/overlays/drawer.js.map +1 -0
- package/dist/src/runtime/overlays/hover-card.d.ts +43 -0
- package/dist/src/runtime/overlays/hover-card.d.ts.map +1 -0
- package/dist/src/runtime/overlays/hover-card.js +41 -0
- package/dist/src/runtime/overlays/hover-card.js.map +1 -0
- package/dist/src/runtime/overlays/index.d.ts +15 -0
- package/dist/src/runtime/overlays/index.d.ts.map +1 -0
- package/dist/src/runtime/overlays/index.js +15 -0
- package/dist/src/runtime/overlays/index.js.map +1 -0
- package/dist/src/runtime/overlays/menu.d.ts +49 -0
- package/dist/src/runtime/overlays/menu.d.ts.map +1 -0
- package/dist/src/runtime/overlays/menu.js +46 -0
- package/dist/src/runtime/overlays/menu.js.map +1 -0
- package/dist/src/runtime/overlays/popover.d.ts +37 -0
- package/dist/src/runtime/overlays/popover.d.ts.map +1 -0
- package/dist/src/runtime/overlays/popover.js +35 -0
- package/dist/src/runtime/overlays/popover.js.map +1 -0
- package/dist/src/runtime/overlays/toggle-tip.d.ts +44 -0
- package/dist/src/runtime/overlays/toggle-tip.d.ts.map +1 -0
- package/dist/src/runtime/overlays/toggle-tip.js +42 -0
- package/dist/src/runtime/overlays/toggle-tip.js.map +1 -0
- package/dist/src/runtime/overlays/tooltip.d.ts +37 -0
- package/dist/src/runtime/overlays/tooltip.d.ts.map +1 -0
- package/dist/src/runtime/overlays/tooltip.js +35 -0
- package/dist/src/runtime/overlays/tooltip.js.map +1 -0
- package/dist/src/runtime/platform-hotkey.d.ts +41 -0
- package/dist/src/runtime/platform-hotkey.d.ts.map +1 -0
- package/dist/src/runtime/platform-hotkey.js +39 -0
- package/dist/src/runtime/platform-hotkey.js.map +1 -0
- package/dist/src/runtime/reactive/index.d.ts +8 -0
- package/dist/src/runtime/reactive/index.d.ts.map +1 -0
- package/dist/src/runtime/reactive/index.js +7 -0
- package/dist/src/runtime/reactive/index.js.map +1 -0
- package/dist/src/runtime/reactive/reactive.d.ts +59 -0
- package/dist/src/runtime/reactive/reactive.d.ts.map +1 -0
- package/dist/src/runtime/reactive/reactive.js +53 -0
- package/dist/src/runtime/reactive/reactive.js.map +1 -0
- package/dist/src/runtime/runtime.d.ts +92 -0
- package/dist/src/runtime/runtime.d.ts.map +1 -0
- package/dist/src/runtime/runtime.js +47 -0
- package/dist/src/runtime/runtime.js.map +1 -0
- package/dist/src/runtime/slice.d.ts +84 -0
- package/dist/src/runtime/slice.d.ts.map +1 -0
- package/dist/src/runtime/slice.js +379 -0
- package/dist/src/runtime/slice.js.map +1 -0
- package/dist/src/runtime/typography/code-block.d.ts +38 -0
- package/dist/src/runtime/typography/code-block.d.ts.map +1 -0
- package/dist/src/runtime/typography/code-block.js +36 -0
- package/dist/src/runtime/typography/code-block.js.map +1 -0
- package/dist/src/runtime/typography/code.d.ts +36 -0
- package/dist/src/runtime/typography/code.d.ts.map +1 -0
- package/dist/src/runtime/typography/code.js +34 -0
- package/dist/src/runtime/typography/code.js.map +1 -0
- package/dist/src/runtime/typography/heading.d.ts +39 -0
- package/dist/src/runtime/typography/heading.d.ts.map +1 -0
- package/dist/src/runtime/typography/heading.js +37 -0
- package/dist/src/runtime/typography/heading.js.map +1 -0
- package/dist/src/runtime/typography/highlight.d.ts +37 -0
- package/dist/src/runtime/typography/highlight.d.ts.map +1 -0
- package/dist/src/runtime/typography/highlight.js +35 -0
- package/dist/src/runtime/typography/highlight.js.map +1 -0
- package/dist/src/runtime/typography/index.d.ts +16 -0
- package/dist/src/runtime/typography/index.d.ts.map +1 -0
- package/dist/src/runtime/typography/index.js +16 -0
- package/dist/src/runtime/typography/index.js.map +1 -0
- package/dist/src/runtime/typography/link.d.ts +37 -0
- package/dist/src/runtime/typography/link.d.ts.map +1 -0
- package/dist/src/runtime/typography/link.js +35 -0
- package/dist/src/runtime/typography/link.js.map +1 -0
- package/dist/src/runtime/typography/list.d.ts +42 -0
- package/dist/src/runtime/typography/list.d.ts.map +1 -0
- package/dist/src/runtime/typography/list.js +40 -0
- package/dist/src/runtime/typography/list.js.map +1 -0
- package/dist/src/runtime/typography/mark.d.ts +35 -0
- package/dist/src/runtime/typography/mark.d.ts.map +1 -0
- package/dist/src/runtime/typography/mark.js +33 -0
- package/dist/src/runtime/typography/mark.js.map +1 -0
- package/dist/src/runtime/typography/note.d.ts +38 -0
- package/dist/src/runtime/typography/note.d.ts.map +1 -0
- package/dist/src/runtime/typography/note.js +36 -0
- package/dist/src/runtime/typography/note.js.map +1 -0
- package/dist/src/runtime/typography/numeric.d.ts +43 -0
- package/dist/src/runtime/typography/numeric.d.ts.map +1 -0
- package/dist/src/runtime/typography/numeric.js +41 -0
- package/dist/src/runtime/typography/numeric.js.map +1 -0
- package/dist/src/runtime/typography/text.d.ts +94 -0
- package/dist/src/runtime/typography/text.d.ts.map +1 -0
- package/dist/src/runtime/typography/text.js +208 -0
- package/dist/src/runtime/typography/text.js.map +1 -0
- package/dist/src/slice/breakdown/index.d.ts +11 -4
- package/dist/src/slice/breakdown/index.d.ts.map +1 -1
- package/dist/src/slice/breakdown/index.js +4 -4
- package/dist/src/slice/breakdown/index.js.map +1 -1
- package/dist/src/slice/breakdown/types.d.ts +6 -1
- package/dist/src/slice/breakdown/types.d.ts.map +1 -1
- package/dist/src/slice/cohort/index.d.ts +12 -5
- package/dist/src/slice/cohort/index.d.ts.map +1 -1
- package/dist/src/slice/cohort/index.js +9 -9
- package/dist/src/slice/cohort/index.js.map +1 -1
- package/dist/src/slice/cohort/types.d.ts +6 -1
- package/dist/src/slice/cohort/types.d.ts.map +1 -1
- package/dist/src/slice/filter/index.d.ts +11 -5
- package/dist/src/slice/filter/index.d.ts.map +1 -1
- package/dist/src/slice/filter/index.js +6 -7
- package/dist/src/slice/filter/index.js.map +1 -1
- package/dist/src/slice/filter/types.d.ts +6 -1
- package/dist/src/slice/filter/types.d.ts.map +1 -1
- package/dist/src/slice/index.d.ts +687 -267
- package/dist/src/slice/index.d.ts.map +1 -1
- package/dist/src/slice/index.js +3 -6
- package/dist/src/slice/index.js.map +1 -1
- package/dist/src/slice/legend/index.d.ts +18 -4
- package/dist/src/slice/legend/index.d.ts.map +1 -1
- package/dist/src/slice/legend/index.js +4 -4
- package/dist/src/slice/legend/index.js.map +1 -1
- package/dist/src/slice/legend/types.d.ts +6 -1
- package/dist/src/slice/legend/types.d.ts.map +1 -1
- package/dist/src/slice/rail/index.d.ts +49 -0
- package/dist/src/slice/rail/index.d.ts.map +1 -0
- package/dist/src/slice/rail/index.js +39 -0
- package/dist/src/slice/rail/index.js.map +1 -0
- package/dist/src/slice/range/index.d.ts +10 -3
- package/dist/src/slice/range/index.d.ts.map +1 -1
- package/dist/src/slice/range/index.js +4 -4
- package/dist/src/slice/range/index.js.map +1 -1
- package/dist/src/slice/range/types.d.ts +6 -1
- package/dist/src/slice/range/types.d.ts.map +1 -1
- package/dist/src/slice/search/index.d.ts +11 -4
- package/dist/src/slice/search/index.d.ts.map +1 -1
- package/dist/src/slice/search/index.js +6 -6
- package/dist/src/slice/search/index.js.map +1 -1
- package/dist/src/slice/search/types.d.ts +6 -1
- package/dist/src/slice/search/types.d.ts.map +1 -1
- package/dist/src/slice/summary/index.d.ts +18 -4
- package/dist/src/slice/summary/index.d.ts.map +1 -1
- package/dist/src/slice/summary/index.js +4 -4
- package/dist/src/slice/summary/index.js.map +1 -1
- package/dist/src/slice/summary/types.d.ts +6 -1
- package/dist/src/slice/summary/types.d.ts.map +1 -1
- package/dist/src/typography/highlight/index.d.ts +13 -13
- package/dist/src/typography/highlight/index.d.ts.map +1 -1
- package/dist/src/typography/highlight/index.js +17 -20
- package/dist/src/typography/highlight/index.js.map +1 -1
- package/dist/src/typography/highlight/types.d.ts +5 -2
- package/dist/src/typography/highlight/types.d.ts.map +1 -1
- package/dist/src/typography/link/index.d.ts +9 -8
- package/dist/src/typography/link/index.d.ts.map +1 -1
- package/dist/src/typography/link/index.js +14 -12
- package/dist/src/typography/link/index.js.map +1 -1
- package/dist/src/typography/link/types.d.ts +4 -2
- package/dist/src/typography/link/types.d.ts.map +1 -1
- package/dist/src/typography/numeric/index.d.ts +1 -1
- package/dist/src/typography/numeric/index.d.ts.map +1 -1
- package/dist/src/typography/numeric/index.js +1 -1
- package/dist/src/typography/numeric/index.js.map +1 -1
- package/dist/src/typography/numeric/types.d.ts +1 -1
- package/dist/src/typography/numeric/types.js +1 -1
- package/dist/test/buttons/button-group.examples.d.ts.map +1 -1
- package/dist/test/buttons/button-group.examples.js +9 -20
- package/dist/test/buttons/button-group.examples.js.map +1 -1
- package/dist/test/buttons/button.examples.d.ts.map +1 -1
- package/dist/test/buttons/button.examples.js +16 -53
- package/dist/test/buttons/button.examples.js.map +1 -1
- package/dist/test/buttons/close-button.examples.d.ts.map +1 -1
- package/dist/test/buttons/close-button.examples.js +10 -24
- package/dist/test/buttons/close-button.examples.js.map +1 -1
- package/dist/test/buttons/copy-button.examples.d.ts.map +1 -1
- package/dist/test/buttons/copy-button.examples.js +7 -18
- package/dist/test/buttons/copy-button.examples.js.map +1 -1
- package/dist/test/buttons/icon-button.examples.d.ts.map +1 -1
- package/dist/test/buttons/icon-button.examples.js +10 -27
- package/dist/test/buttons/icon-button.examples.js.map +1 -1
- package/dist/test/buttons/index.d.ts +12 -0
- package/dist/test/buttons/index.d.ts.map +1 -0
- package/dist/test/buttons/index.js +12 -0
- package/dist/test/buttons/index.js.map +1 -0
- package/dist/test/buttons/toggle.examples.d.ts.map +1 -1
- package/dist/test/buttons/toggle.examples.js +9 -21
- package/dist/test/buttons/toggle.examples.js.map +1 -1
- package/dist/test/charts/chart.examples.d.ts +23 -0
- package/dist/test/charts/chart.examples.d.ts.map +1 -0
- package/dist/test/charts/chart.examples.js +325 -0
- package/dist/test/charts/chart.examples.js.map +1 -0
- package/dist/test/charts/index.d.ts +2 -7
- package/dist/test/charts/index.d.ts.map +1 -1
- package/dist/test/charts/index.js +2 -7
- package/dist/test/charts/index.js.map +1 -1
- package/dist/test/charts/sparkline.examples.d.ts +0 -4
- package/dist/test/charts/sparkline.examples.d.ts.map +1 -1
- package/dist/test/charts/sparkline.examples.js +15 -104
- package/dist/test/charts/sparkline.examples.js.map +1 -1
- package/dist/test/collections/blend.examples.d.ts +5 -0
- package/dist/test/collections/blend.examples.d.ts.map +1 -0
- package/dist/test/collections/blend.examples.js +105 -0
- package/dist/test/collections/blend.examples.js.map +1 -0
- package/dist/test/collections/calendar.examples.d.ts +4 -0
- package/dist/test/collections/calendar.examples.d.ts.map +1 -0
- package/dist/test/collections/calendar.examples.js +84 -0
- package/dist/test/collections/calendar.examples.js.map +1 -0
- package/dist/test/collections/data-list.examples.d.ts.map +1 -1
- package/dist/test/collections/data-list.examples.js +50 -55
- package/dist/test/collections/data-list.examples.js.map +1 -1
- package/dist/test/collections/gantt.examples.d.ts +4 -13
- package/dist/test/collections/gantt.examples.d.ts.map +1 -1
- package/dist/test/collections/gantt.examples.js +203 -465
- package/dist/test/collections/gantt.examples.js.map +1 -1
- package/dist/test/collections/index.d.ts +3 -0
- package/dist/test/collections/index.d.ts.map +1 -1
- package/dist/test/collections/index.js +3 -0
- package/dist/test/collections/index.js.map +1 -1
- package/dist/test/collections/library.examples.d.ts +4 -0
- package/dist/test/collections/library.examples.d.ts.map +1 -0
- package/dist/test/collections/library.examples.js +79 -0
- package/dist/test/collections/library.examples.js.map +1 -0
- package/dist/test/collections/matrix.examples.d.ts +43 -12
- package/dist/test/collections/matrix.examples.d.ts.map +1 -1
- package/dist/test/collections/matrix.examples.js +172 -592
- package/dist/test/collections/matrix.examples.js.map +1 -1
- package/dist/test/collections/pagination.examples.d.ts +0 -4
- package/dist/test/collections/pagination.examples.d.ts.map +1 -1
- package/dist/test/collections/pagination.examples.js +24 -33
- package/dist/test/collections/pagination.examples.js.map +1 -1
- package/dist/test/collections/planner.examples.d.ts +43 -27
- package/dist/test/collections/planner.examples.d.ts.map +1 -1
- package/dist/test/collections/planner.examples.js +149 -596
- package/dist/test/collections/planner.examples.js.map +1 -1
- package/dist/test/collections/roster.examples.d.ts +5 -0
- package/dist/test/collections/roster.examples.d.ts.map +1 -0
- package/dist/test/collections/roster.examples.js +115 -0
- package/dist/test/collections/roster.examples.js.map +1 -0
- package/dist/test/collections/schematic.examples.d.ts +5 -0
- package/dist/test/collections/schematic.examples.d.ts.map +1 -0
- package/dist/test/collections/schematic.examples.js +144 -0
- package/dist/test/collections/schematic.examples.js.map +1 -0
- package/dist/test/collections/table.examples.d.ts +0 -11
- package/dist/test/collections/table.examples.d.ts.map +1 -1
- package/dist/test/collections/table.examples.js +170 -495
- package/dist/test/collections/table.examples.js.map +1 -1
- package/dist/test/collections/tree-view.examples.d.ts.map +1 -1
- package/dist/test/collections/tree-view.examples.js +125 -156
- package/dist/test/collections/tree-view.examples.js.map +1 -1
- package/dist/test/container/card.examples.d.ts.map +1 -1
- package/dist/test/container/card.examples.js +26 -111
- package/dist/test/container/card.examples.js.map +1 -1
- package/dist/test/container/index.d.ts +7 -0
- package/dist/test/container/index.d.ts.map +1 -0
- package/dist/test/container/index.js +7 -0
- package/dist/test/container/index.js.map +1 -0
- package/dist/test/disclosure/accordion.examples.d.ts.map +1 -1
- package/dist/test/disclosure/accordion.examples.js +41 -106
- package/dist/test/disclosure/accordion.examples.js.map +1 -1
- package/dist/test/disclosure/carousel.examples.d.ts.map +1 -1
- package/dist/test/disclosure/carousel.examples.js +14 -104
- package/dist/test/disclosure/carousel.examples.js.map +1 -1
- package/dist/test/disclosure/collapsible.examples.d.ts.map +1 -1
- package/dist/test/disclosure/collapsible.examples.js +10 -22
- package/dist/test/disclosure/collapsible.examples.js.map +1 -1
- package/dist/test/disclosure/index.d.ts +5 -0
- package/dist/test/disclosure/index.d.ts.map +1 -1
- package/dist/test/disclosure/index.js +5 -0
- package/dist/test/disclosure/index.js.map +1 -1
- package/dist/test/disclosure/option-list.examples.d.ts.map +1 -1
- package/dist/test/disclosure/option-list.examples.js +21 -44
- package/dist/test/disclosure/option-list.examples.js.map +1 -1
- package/dist/test/disclosure/segment-group.examples.d.ts.map +1 -1
- package/dist/test/disclosure/segment-group.examples.js +29 -43
- package/dist/test/disclosure/segment-group.examples.js.map +1 -1
- package/dist/test/disclosure/show-more.examples.d.ts.map +1 -1
- package/dist/test/disclosure/show-more.examples.js +8 -8
- package/dist/test/disclosure/show-more.examples.js.map +1 -1
- package/dist/test/disclosure/tabs.examples.d.ts.map +1 -1
- package/dist/test/disclosure/tabs.examples.js +56 -146
- package/dist/test/disclosure/tabs.examples.js.map +1 -1
- package/dist/test/display/avatar-group.examples.d.ts +1 -4
- package/dist/test/display/avatar-group.examples.d.ts.map +1 -1
- package/dist/test/display/avatar-group.examples.js +18 -17
- package/dist/test/display/avatar-group.examples.js.map +1 -1
- package/dist/test/display/avatar.examples.d.ts +1 -0
- package/dist/test/display/avatar.examples.d.ts.map +1 -1
- package/dist/test/display/avatar.examples.js +21 -28
- package/dist/test/display/avatar.examples.js.map +1 -1
- package/dist/test/display/badge.examples.d.ts +1 -0
- package/dist/test/display/badge.examples.d.ts.map +1 -1
- package/dist/test/display/badge.examples.js +26 -64
- package/dist/test/display/badge.examples.js.map +1 -1
- package/dist/test/display/bar-strip.examples.d.ts +1 -4
- package/dist/test/display/bar-strip.examples.d.ts.map +1 -1
- package/dist/test/display/bar-strip.examples.js +41 -18
- package/dist/test/display/bar-strip.examples.js.map +1 -1
- package/dist/test/display/chip-rail.examples.d.ts +7 -0
- package/dist/test/display/chip-rail.examples.d.ts.map +1 -0
- package/dist/test/display/chip-rail.examples.js +59 -0
- package/dist/test/display/chip-rail.examples.js.map +1 -0
- package/dist/test/display/combine.examples.d.ts +2 -0
- package/dist/test/display/combine.examples.d.ts.map +1 -0
- package/dist/test/display/combine.examples.js +174 -0
- package/dist/test/display/combine.examples.js.map +1 -0
- package/dist/test/display/editable-chip.examples.d.ts +1 -4
- package/dist/test/display/editable-chip.examples.d.ts.map +1 -1
- package/dist/test/display/editable-chip.examples.js +22 -18
- package/dist/test/display/editable-chip.examples.js.map +1 -1
- package/dist/test/display/icon.examples.d.ts.map +1 -1
- package/dist/test/display/icon.examples.js +10 -25
- package/dist/test/display/icon.examples.js.map +1 -1
- package/dist/test/display/index.d.ts +11 -0
- package/dist/test/display/index.d.ts.map +1 -1
- package/dist/test/display/index.js +11 -0
- package/dist/test/display/index.js.map +1 -1
- package/dist/test/display/kbd.examples.d.ts +1 -4
- package/dist/test/display/kbd.examples.d.ts.map +1 -1
- package/dist/test/display/kbd.examples.js +18 -8
- package/dist/test/display/kbd.examples.js.map +1 -1
- package/dist/test/display/meter.examples.d.ts +1 -4
- package/dist/test/display/meter.examples.d.ts.map +1 -1
- package/dist/test/display/meter.examples.js +19 -9
- package/dist/test/display/meter.examples.js.map +1 -1
- package/dist/test/display/metric-chip.examples.d.ts +1 -4
- package/dist/test/display/metric-chip.examples.d.ts.map +1 -1
- package/dist/test/display/metric-chip.examples.js +19 -9
- package/dist/test/display/metric-chip.examples.js.map +1 -1
- package/dist/test/display/segmented-meter.examples.d.ts +1 -4
- package/dist/test/display/segmented-meter.examples.d.ts.map +1 -1
- package/dist/test/display/segmented-meter.examples.js +40 -14
- package/dist/test/display/segmented-meter.examples.js.map +1 -1
- package/dist/test/display/stat.examples.d.ts +1 -0
- package/dist/test/display/stat.examples.d.ts.map +1 -1
- package/dist/test/display/stat.examples.js +22 -28
- package/dist/test/display/stat.examples.js.map +1 -1
- package/dist/test/display/tag.examples.d.ts +1 -0
- package/dist/test/display/tag.examples.d.ts.map +1 -1
- package/dist/test/display/tag.examples.js +25 -71
- package/dist/test/display/tag.examples.js.map +1 -1
- package/dist/test/display/trace.examples.d.ts +5 -0
- package/dist/test/display/trace.examples.d.ts.map +1 -0
- package/dist/test/display/trace.examples.js +62 -0
- package/dist/test/display/trace.examples.js.map +1 -0
- package/dist/test/extension.examples.d.ts +1 -27
- package/dist/test/extension.examples.d.ts.map +1 -1
- package/dist/test/extension.examples.js +34 -42
- package/dist/test/extension.examples.js.map +1 -1
- package/dist/test/feedback/banner.examples.d.ts.map +1 -1
- package/dist/test/feedback/banner.examples.js +13 -37
- package/dist/test/feedback/banner.examples.js.map +1 -1
- package/dist/test/feedback/empty-state.examples.d.ts.map +1 -1
- package/dist/test/feedback/empty-state.examples.js +7 -19
- package/dist/test/feedback/empty-state.examples.js.map +1 -1
- package/dist/test/feedback/index.d.ts +5 -0
- package/dist/test/feedback/index.d.ts.map +1 -1
- package/dist/test/feedback/index.js +5 -0
- package/dist/test/feedback/index.js.map +1 -1
- package/dist/test/feedback/progress.examples.d.ts +0 -1
- package/dist/test/feedback/progress.examples.d.ts.map +1 -1
- package/dist/test/feedback/progress.examples.js +13 -55
- package/dist/test/feedback/progress.examples.js.map +1 -1
- package/dist/test/feedback/skeleton.examples.d.ts.map +1 -1
- package/dist/test/feedback/skeleton.examples.js +7 -11
- package/dist/test/feedback/skeleton.examples.js.map +1 -1
- package/dist/test/feedback/status.examples.d.ts.map +1 -1
- package/dist/test/feedback/status.examples.js +8 -17
- package/dist/test/feedback/status.examples.js.map +1 -1
- package/dist/test/forms/checkbox.examples.d.ts.map +1 -1
- package/dist/test/forms/checkbox.examples.js +9 -23
- package/dist/test/forms/checkbox.examples.js.map +1 -1
- package/dist/test/forms/combobox.examples.d.ts.map +1 -1
- package/dist/test/forms/combobox.examples.js +69 -112
- package/dist/test/forms/combobox.examples.js.map +1 -1
- package/dist/test/forms/date-range-input.examples.d.ts.map +1 -1
- package/dist/test/forms/date-range-input.examples.js +16 -34
- package/dist/test/forms/date-range-input.examples.js.map +1 -1
- package/dist/test/forms/field.examples.d.ts.map +1 -1
- package/dist/test/forms/field.examples.js +8 -28
- package/dist/test/forms/field.examples.js.map +1 -1
- package/dist/test/forms/file-upload.examples.d.ts +1 -0
- package/dist/test/forms/file-upload.examples.d.ts.map +1 -1
- package/dist/test/forms/file-upload.examples.js +23 -49
- package/dist/test/forms/file-upload.examples.js.map +1 -1
- package/dist/test/forms/index.d.ts +5 -0
- package/dist/test/forms/index.d.ts.map +1 -1
- package/dist/test/forms/index.js +5 -0
- package/dist/test/forms/index.js.map +1 -1
- package/dist/test/forms/input.examples.d.ts +1 -0
- package/dist/test/forms/input.examples.d.ts.map +1 -1
- package/dist/test/forms/input.examples.js +30 -74
- package/dist/test/forms/input.examples.js.map +1 -1
- package/dist/test/forms/radio-card-group.examples.d.ts.map +1 -1
- package/dist/test/forms/radio-card-group.examples.js +30 -36
- package/dist/test/forms/radio-card-group.examples.js.map +1 -1
- package/dist/test/forms/radio-group.examples.d.ts.map +1 -1
- package/dist/test/forms/radio-group.examples.js +31 -37
- package/dist/test/forms/radio-group.examples.js.map +1 -1
- package/dist/test/forms/select.examples.d.ts.map +1 -1
- package/dist/test/forms/select.examples.js +32 -44
- package/dist/test/forms/select.examples.js.map +1 -1
- package/dist/test/forms/slider.examples.d.ts.map +1 -1
- package/dist/test/forms/slider.examples.js +11 -22
- package/dist/test/forms/slider.examples.js.map +1 -1
- package/dist/test/forms/switch.examples.d.ts.map +1 -1
- package/dist/test/forms/switch.examples.js +9 -23
- package/dist/test/forms/switch.examples.js.map +1 -1
- package/dist/test/forms/tags-input.examples.d.ts.map +1 -1
- package/dist/test/forms/tags-input.examples.js +14 -42
- package/dist/test/forms/tags-input.examples.js.map +1 -1
- package/dist/test/forms/textarea.examples.d.ts.map +1 -1
- package/dist/test/forms/textarea.examples.js +14 -46
- package/dist/test/forms/textarea.examples.js.map +1 -1
- package/dist/test/forms/time-range-input.examples.d.ts.map +1 -1
- package/dist/test/forms/time-range-input.examples.js +20 -38
- package/dist/test/forms/time-range-input.examples.js.map +1 -1
- package/dist/test/layout/box.examples.d.ts.map +1 -1
- package/dist/test/layout/box.examples.js +20 -180
- package/dist/test/layout/box.examples.js.map +1 -1
- package/dist/test/layout/flex.examples.d.ts.map +1 -1
- package/dist/test/layout/flex.examples.js +15 -133
- package/dist/test/layout/flex.examples.js.map +1 -1
- package/dist/test/layout/grid.examples.d.ts.map +1 -1
- package/dist/test/layout/grid.examples.js +66 -105
- package/dist/test/layout/grid.examples.js.map +1 -1
- package/dist/test/layout/index.d.ts +3 -0
- package/dist/test/layout/index.d.ts.map +1 -1
- package/dist/test/layout/index.js +3 -0
- package/dist/test/layout/index.js.map +1 -1
- package/dist/test/layout/scroll-area.examples.d.ts.map +1 -1
- package/dist/test/layout/scroll-area.examples.js +6 -14
- package/dist/test/layout/scroll-area.examples.js.map +1 -1
- package/dist/test/layout/separator.examples.d.ts.map +1 -1
- package/dist/test/layout/separator.examples.js +17 -74
- package/dist/test/layout/separator.examples.js.map +1 -1
- package/dist/test/layout/splitter.examples.d.ts.map +1 -1
- package/dist/test/layout/splitter.examples.js +41 -70
- package/dist/test/layout/splitter.examples.js.map +1 -1
- package/dist/test/layout/stack.examples.d.ts +1 -0
- package/dist/test/layout/stack.examples.d.ts.map +1 -1
- package/dist/test/layout/stack.examples.js +24 -93
- package/dist/test/layout/stack.examples.js.map +1 -1
- package/dist/test/layout/sticky.examples.d.ts.map +1 -1
- package/dist/test/layout/sticky.examples.js +6 -33
- package/dist/test/layout/sticky.examples.js.map +1 -1
- package/dist/test/navigation/breadcrumb.examples.d.ts.map +1 -1
- package/dist/test/navigation/breadcrumb.examples.js +30 -26
- package/dist/test/navigation/breadcrumb.examples.js.map +1 -1
- package/dist/test/navigation/index.d.ts +8 -0
- package/dist/test/navigation/index.d.ts.map +1 -0
- package/dist/test/navigation/index.js +8 -0
- package/dist/test/navigation/index.js.map +1 -0
- package/dist/test/navigation/nav-list.examples.d.ts.map +1 -1
- package/dist/test/navigation/nav-list.examples.js +58 -60
- package/dist/test/navigation/nav-list.examples.js.map +1 -1
- package/dist/test/overlays/command-palette.examples.d.ts.map +1 -1
- package/dist/test/overlays/command-palette.examples.js +45 -47
- package/dist/test/overlays/command-palette.examples.js.map +1 -1
- package/dist/test/overlays/dialog.examples.d.ts.map +1 -1
- package/dist/test/overlays/dialog.examples.js +13 -41
- package/dist/test/overlays/dialog.examples.js.map +1 -1
- package/dist/test/overlays/drawer.examples.d.ts.map +1 -1
- package/dist/test/overlays/drawer.examples.js +15 -39
- package/dist/test/overlays/drawer.examples.js.map +1 -1
- package/dist/test/overlays/hover-card.examples.d.ts.map +1 -1
- package/dist/test/overlays/hover-card.examples.js +13 -32
- package/dist/test/overlays/hover-card.examples.js.map +1 -1
- package/dist/test/overlays/index.d.ts +2 -0
- package/dist/test/overlays/index.d.ts.map +1 -1
- package/dist/test/overlays/index.js +2 -0
- package/dist/test/overlays/index.js.map +1 -1
- package/dist/test/overlays/menu.examples.d.ts.map +1 -1
- package/dist/test/overlays/menu.examples.js +26 -21
- package/dist/test/overlays/menu.examples.js.map +1 -1
- package/dist/test/overlays/popover.examples.d.ts.map +1 -1
- package/dist/test/overlays/popover.examples.js +17 -33
- package/dist/test/overlays/popover.examples.js.map +1 -1
- package/dist/test/overlays/toggle-tip.examples.d.ts.map +1 -1
- package/dist/test/overlays/toggle-tip.examples.js +9 -20
- package/dist/test/overlays/toggle-tip.examples.js.map +1 -1
- package/dist/test/overlays/tooltip.examples.d.ts.map +1 -1
- package/dist/test/overlays/tooltip.examples.js +8 -5
- package/dist/test/overlays/tooltip.examples.js.map +1 -1
- package/dist/test/platform/clipboard.examples.d.ts.map +1 -1
- package/dist/test/platform/clipboard.examples.js +10 -14
- package/dist/test/platform/clipboard.examples.js.map +1 -1
- package/dist/test/platform/download.examples.d.ts.map +1 -1
- package/dist/test/platform/download.examples.js +10 -11
- package/dist/test/platform/download.examples.js.map +1 -1
- package/dist/test/platform/index.d.ts +11 -0
- package/dist/test/platform/index.d.ts.map +1 -0
- package/dist/test/platform/index.js +11 -0
- package/dist/test/platform/index.js.map +1 -0
- package/dist/test/platform/share.examples.d.ts.map +1 -1
- package/dist/test/platform/share.examples.js +7 -6
- package/dist/test/platform/share.examples.js.map +1 -1
- package/dist/test/platform/slice.examples.d.ts.map +1 -1
- package/dist/test/platform/slice.examples.js +211 -214
- package/dist/test/platform/slice.examples.js.map +1 -1
- package/dist/test/platform/state.examples.d.ts.map +1 -1
- package/dist/test/platform/state.examples.js +7 -9
- package/dist/test/platform/state.examples.js.map +1 -1
- package/dist/test/slice/slice.examples.d.ts +10 -17
- package/dist/test/slice/slice.examples.d.ts.map +1 -1
- package/dist/test/slice/slice.examples.js +184 -483
- package/dist/test/slice/slice.examples.js.map +1 -1
- package/dist/test/style.examples.d.ts.map +1 -1
- package/dist/test/style.examples.js +28 -74
- package/dist/test/style.examples.js.map +1 -1
- package/dist/test/typography/code-block.examples.d.ts.map +1 -1
- package/dist/test/typography/code-block.examples.js +16 -43
- package/dist/test/typography/code-block.examples.js.map +1 -1
- package/dist/test/typography/code.examples.d.ts.map +1 -1
- package/dist/test/typography/code.examples.js +14 -30
- package/dist/test/typography/code.examples.js.map +1 -1
- package/dist/test/typography/heading.examples.d.ts.map +1 -1
- package/dist/test/typography/heading.examples.js +15 -52
- package/dist/test/typography/heading.examples.js.map +1 -1
- package/dist/test/typography/highlight.examples.d.ts.map +1 -1
- package/dist/test/typography/highlight.examples.js +14 -16
- package/dist/test/typography/highlight.examples.js.map +1 -1
- package/dist/test/typography/index.d.ts +7 -4
- package/dist/test/typography/index.d.ts.map +1 -1
- package/dist/test/typography/index.js +7 -4
- package/dist/test/typography/index.js.map +1 -1
- package/dist/test/typography/link.examples.d.ts.map +1 -1
- package/dist/test/typography/link.examples.js +14 -30
- package/dist/test/typography/link.examples.js.map +1 -1
- package/dist/test/typography/list.examples.d.ts.map +1 -1
- package/dist/test/typography/list.examples.js +35 -79
- package/dist/test/typography/list.examples.js.map +1 -1
- package/dist/test/typography/mark.examples.d.ts.map +1 -1
- package/dist/test/typography/mark.examples.js +15 -33
- package/dist/test/typography/mark.examples.js.map +1 -1
- package/dist/test/typography/note.examples.d.ts.map +1 -1
- package/dist/test/typography/note.examples.js +8 -10
- package/dist/test/typography/note.examples.js.map +1 -1
- package/dist/test/typography/numeric.examples.d.ts.map +1 -1
- package/dist/test/typography/numeric.examples.js +10 -39
- package/dist/test/typography/numeric.examples.js.map +1 -1
- package/dist/test/typography/text.examples.d.ts.map +1 -1
- package/dist/test/typography/text.examples.js +25 -138
- package/dist/test/typography/text.examples.js.map +1 -1
- package/package.json +23 -15
- package/dist/src/charts/area/index.d.ts +0 -186
- package/dist/src/charts/area/index.d.ts.map +0 -1
- package/dist/src/charts/area/index.js +0 -419
- package/dist/src/charts/area/index.js.map +0 -1
- package/dist/src/charts/area/types.d.ts +0 -1816
- package/dist/src/charts/area/types.d.ts.map +0 -1
- package/dist/src/charts/area/types.js +0 -130
- package/dist/src/charts/area/types.js.map +0 -1
- package/dist/src/charts/bar/index.d.ts +0 -97
- package/dist/src/charts/bar/index.d.ts.map +0 -1
- package/dist/src/charts/bar/index.js +0 -228
- package/dist/src/charts/bar/index.js.map +0 -1
- package/dist/src/charts/bar/types.d.ts +0 -920
- package/dist/src/charts/bar/types.d.ts.map +0 -1
- package/dist/src/charts/bar/types.js +0 -62
- package/dist/src/charts/bar/types.js.map +0 -1
- package/dist/src/charts/composed/index.d.ts +0 -99
- package/dist/src/charts/composed/index.d.ts.map +0 -1
- package/dist/src/charts/composed/index.js +0 -317
- package/dist/src/charts/composed/index.js.map +0 -1
- package/dist/src/charts/composed/types.d.ts +0 -1246
- package/dist/src/charts/composed/types.d.ts.map +0 -1
- package/dist/src/charts/composed/types.js +0 -88
- package/dist/src/charts/composed/types.js.map +0 -1
- package/dist/src/charts/line/index.d.ts +0 -97
- package/dist/src/charts/line/index.d.ts.map +0 -1
- package/dist/src/charts/line/index.js +0 -221
- package/dist/src/charts/line/index.js.map +0 -1
- package/dist/src/charts/line/types.d.ts +0 -964
- package/dist/src/charts/line/types.d.ts.map +0 -1
- package/dist/src/charts/line/types.js +0 -95
- package/dist/src/charts/line/types.js.map +0 -1
- package/dist/src/charts/pie/index.d.ts +0 -36
- package/dist/src/charts/pie/index.d.ts.map +0 -1
- package/dist/src/charts/pie/index.js +0 -58
- package/dist/src/charts/pie/index.js.map +0 -1
- package/dist/src/charts/pie/types.d.ts +0 -129
- package/dist/src/charts/pie/types.d.ts.map +0 -1
- package/dist/src/charts/pie/types.js +0 -58
- package/dist/src/charts/pie/types.js.map +0 -1
- package/dist/src/charts/radar/index.d.ts +0 -44
- package/dist/src/charts/radar/index.d.ts.map +0 -1
- package/dist/src/charts/radar/index.js +0 -85
- package/dist/src/charts/radar/index.js.map +0 -1
- package/dist/src/charts/radar/types.d.ts +0 -144
- package/dist/src/charts/radar/types.d.ts.map +0 -1
- package/dist/src/charts/radar/types.js +0 -36
- package/dist/src/charts/radar/types.js.map +0 -1
- package/dist/src/charts/scatter/index.d.ts +0 -95
- package/dist/src/charts/scatter/index.d.ts.map +0 -1
- package/dist/src/charts/scatter/index.js +0 -167
- package/dist/src/charts/scatter/index.js.map +0 -1
- package/dist/src/charts/scatter/types.d.ts +0 -868
- package/dist/src/charts/scatter/types.d.ts.map +0 -1
- package/dist/src/charts/scatter/types.js +0 -55
- package/dist/src/charts/scatter/types.js.map +0 -1
- package/dist/src/charts/types.d.ts +0 -2476
- package/dist/src/charts/types.d.ts.map +0 -1
- package/dist/src/charts/types.js +0 -1732
- package/dist/src/charts/types.js.map +0 -1
- package/dist/src/forms/time-scale-control/index.d.ts +0 -54
- package/dist/src/forms/time-scale-control/index.d.ts.map +0 -1
- package/dist/src/forms/time-scale-control/index.js +0 -135
- package/dist/src/forms/time-scale-control/index.js.map +0 -1
- package/dist/src/forms/time-scale-control/types.d.ts +0 -206
- package/dist/src/forms/time-scale-control/types.d.ts.map +0 -1
- package/dist/src/forms/time-scale-control/types.js +0 -97
- package/dist/src/forms/time-scale-control/types.js.map +0 -1
- package/dist/src/layout/chip-rail/index.d.ts +0 -31771
- package/dist/src/layout/chip-rail/index.d.ts.map +0 -1
- package/dist/src/layout/chip-rail/index.js.map +0 -1
- package/dist/src/layout/chip-rail/types.d.ts.map +0 -1
- package/dist/src/layout/chip-rail/types.js.map +0 -1
- package/dist/src/slice/chart/index.d.ts +0 -201
- package/dist/src/slice/chart/index.d.ts.map +0 -1
- package/dist/src/slice/chart/index.js +0 -67
- package/dist/src/slice/chart/index.js.map +0 -1
- package/dist/src/slice/frame/index.d.ts +0 -77
- package/dist/src/slice/frame/index.d.ts.map +0 -1
- package/dist/src/slice/frame/index.js +0 -60
- package/dist/src/slice/frame/index.js.map +0 -1
- package/dist/test/charts/area.examples.d.ts +0 -30
- package/dist/test/charts/area.examples.d.ts.map +0 -1
- package/dist/test/charts/area.examples.js +0 -695
- package/dist/test/charts/area.examples.js.map +0 -1
- package/dist/test/charts/bar.examples.d.ts +0 -26
- package/dist/test/charts/bar.examples.d.ts.map +0 -1
- package/dist/test/charts/bar.examples.js +0 -561
- package/dist/test/charts/bar.examples.js.map +0 -1
- package/dist/test/charts/composed.examples.d.ts +0 -25
- package/dist/test/charts/composed.examples.d.ts.map +0 -1
- package/dist/test/charts/composed.examples.js +0 -616
- package/dist/test/charts/composed.examples.js.map +0 -1
- package/dist/test/charts/line.examples.d.ts +0 -29
- package/dist/test/charts/line.examples.d.ts.map +0 -1
- package/dist/test/charts/line.examples.js +0 -657
- package/dist/test/charts/line.examples.js.map +0 -1
- package/dist/test/charts/pie.examples.d.ts +0 -12
- package/dist/test/charts/pie.examples.d.ts.map +0 -1
- package/dist/test/charts/pie.examples.js +0 -137
- package/dist/test/charts/pie.examples.js.map +0 -1
- package/dist/test/charts/radar.examples.d.ts +0 -10
- package/dist/test/charts/radar.examples.d.ts.map +0 -1
- package/dist/test/charts/radar.examples.js +0 -123
- package/dist/test/charts/radar.examples.js.map +0 -1
- package/dist/test/charts/scatter.examples.d.ts +0 -22
- package/dist/test/charts/scatter.examples.d.ts.map +0 -1
- package/dist/test/charts/scatter.examples.js +0 -461
- package/dist/test/charts/scatter.examples.js.map +0 -1
- package/dist/test/forms/time-scale-control.examples.d.ts +0 -6
- package/dist/test/forms/time-scale-control.examples.d.ts.map +0 -1
- package/dist/test/forms/time-scale-control.examples.js +0 -70
- package/dist/test/forms/time-scale-control.examples.js.map +0 -1
- package/dist/test/layout/chip-rail.examples.d.ts +0 -4
- package/dist/test/layout/chip-rail.examples.d.ts.map +0 -1
- package/dist/test/layout/chip-rail.examples.js +0 -48
- package/dist/test/layout/chip-rail.examples.js.map +0 -1
|
@@ -1,623 +1,203 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@elaraai/east-ui/jsx-runtime";
|
|
1
2
|
/**
|
|
2
3
|
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
4
|
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
5
|
*/
|
|
5
|
-
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
], { gap: "0", align: "flex-start" }),
|
|
17
|
-
], { gap: "2", align: "center" })));
|
|
18
|
-
const dayHeader = $.const(East.function([StringType, StringType], UIComponentType, ($, day, date) => Stack.VStack([
|
|
19
|
-
Text.Root(day, { fontWeight: "semibold" }),
|
|
20
|
-
Text.Root(date, { textStyle: "caption", color: "gray.500" }),
|
|
21
|
-
], { gap: "0", align: "center" })));
|
|
22
|
-
return Matrix.Root([
|
|
23
|
-
{ key: "alice", header: userHeader("Alice Chen", "Senior PM"), cells: {
|
|
24
|
-
mon: { segments: [{ category: "booked", weight: 0.8 }, { category: "free", weight: 0.2 }] },
|
|
25
|
-
tue: { segments: [{ category: "booked", weight: 0.4 }, { category: "free", weight: 0.6 }] },
|
|
26
|
-
wed: { segments: [{ category: "booked", weight: 1.0 }] },
|
|
27
|
-
thu: { segments: [{ category: "booked", weight: 0.6 }, { category: "free", weight: 0.4 }] },
|
|
28
|
-
fri: { segments: [{ category: "free", weight: 1.0 }] },
|
|
29
|
-
} },
|
|
30
|
-
{ key: "bob", header: userHeader("Bob Martinez", "Designer"), cells: {
|
|
31
|
-
mon: { segments: [{ category: "booked", weight: 0.5 }, { category: "free", weight: 0.5 }] },
|
|
32
|
-
tue: { segments: [{ category: "booked", weight: 0.9 }, { category: "free", weight: 0.1 }] },
|
|
33
|
-
wed: { segments: [{ category: "booked", weight: 0.3 }, { category: "free", weight: 0.7 }] },
|
|
34
|
-
thu: { segments: [{ category: "booked", weight: 1.0 }] },
|
|
35
|
-
fri: { segments: [{ category: "booked", weight: 0.5 }, { category: "free", weight: 0.5 }] },
|
|
36
|
-
} },
|
|
37
|
-
], [
|
|
38
|
-
{ key: "mon", header: dayHeader("Mon", "Apr 22") },
|
|
39
|
-
{ key: "tue", header: dayHeader("Tue", "Apr 23") },
|
|
40
|
-
{ key: "wed", header: dayHeader("Wed", "Apr 24") },
|
|
41
|
-
{ key: "thu", header: dayHeader("Thu", "Apr 25") },
|
|
42
|
-
{ key: "fri", header: dayHeader("Fri", "Apr 26") },
|
|
43
|
-
], {
|
|
44
|
-
legend: [
|
|
45
|
-
{ category: "booked", color: "blue.400", label: "Booked" },
|
|
46
|
-
{ category: "free", color: "gray.200", label: "Free" },
|
|
47
|
-
],
|
|
48
|
-
rowHeaderWidth: "200px",
|
|
49
|
-
});
|
|
50
|
-
}),
|
|
51
|
-
inputs: [],
|
|
52
|
-
});
|
|
53
|
-
export const matrixMultiSegment = example({
|
|
54
|
-
keywords: ["Matrix", "Root", "segments", "stacked", "multi-category"],
|
|
55
|
-
description: "Multi-segment cells — committed / pending / slack proportional split",
|
|
56
|
-
fn: East.function([], UIComponentType, (_$) => {
|
|
57
|
-
return Matrix.Root([
|
|
58
|
-
{ key: "sprint-1", header: Text.Root("Sprint 1", { fontWeight: "semibold" }), cells: {
|
|
59
|
-
design: { segments: [
|
|
60
|
-
{ category: "committed", weight: 0.6 },
|
|
61
|
-
{ category: "pending", weight: 0.3 },
|
|
62
|
-
{ category: "slack", weight: 0.1 },
|
|
63
|
-
] },
|
|
64
|
-
dev: { segments: [
|
|
65
|
-
{ category: "committed", weight: 0.8 },
|
|
66
|
-
{ category: "pending", weight: 0.2 },
|
|
67
|
-
] },
|
|
68
|
-
qa: { segments: [
|
|
69
|
-
{ category: "committed", weight: 0.3 },
|
|
70
|
-
{ category: "pending", weight: 0.5 },
|
|
71
|
-
{ category: "slack", weight: 0.2 },
|
|
72
|
-
] },
|
|
73
|
-
} },
|
|
74
|
-
{ key: "sprint-2", header: Text.Root("Sprint 2", { fontWeight: "semibold" }), cells: {
|
|
75
|
-
design: { segments: [
|
|
76
|
-
{ category: "committed", weight: 0.4 },
|
|
77
|
-
{ category: "pending", weight: 0.4 },
|
|
78
|
-
{ category: "slack", weight: 0.2 },
|
|
79
|
-
] },
|
|
80
|
-
dev: { segments: [{ category: "committed", weight: 1.0 }] },
|
|
81
|
-
qa: { segments: [{ category: "slack", weight: 1.0 }] },
|
|
82
|
-
} },
|
|
83
|
-
], [
|
|
84
|
-
{ key: "design", header: Text.Root("Design", { fontWeight: "semibold" }) },
|
|
85
|
-
{ key: "dev", header: Text.Root("Development", { fontWeight: "semibold" }) },
|
|
86
|
-
{ key: "qa", header: Text.Root("QA", { fontWeight: "semibold" }) },
|
|
87
|
-
], {
|
|
88
|
-
legend: [
|
|
89
|
-
{ category: "committed", color: "green.400", label: "Committed" },
|
|
90
|
-
{ category: "pending", color: "orange.400", label: "Pending" },
|
|
91
|
-
{ category: "slack", color: "gray.200", label: "Slack" },
|
|
92
|
-
],
|
|
93
|
-
});
|
|
94
|
-
}),
|
|
95
|
-
inputs: [],
|
|
96
|
-
});
|
|
97
|
-
export const matrixWithOverlays = example({
|
|
98
|
-
keywords: ["Matrix", "Root", "overlays", "badge", "icon", "alerts"],
|
|
99
|
-
description: "Cells with rich overlays at different corners — badges, icons, and text",
|
|
100
|
-
fn: East.function([], UIComponentType, ($) => {
|
|
101
|
-
const userHeader = $.const(East.function([StringType, StringType], UIComponentType, ($, name, role) => Stack.HStack([
|
|
102
|
-
Avatar.Root({ name, size: "sm" }),
|
|
103
|
-
Stack.VStack([
|
|
104
|
-
Text.Root(name, { fontWeight: "semibold" }),
|
|
105
|
-
Text.Root(role, { textStyle: "caption", color: "gray.500" }),
|
|
106
|
-
], { gap: "0", align: "flex-start" }),
|
|
107
|
-
], { gap: "2", align: "center" })));
|
|
108
|
-
const dayHeader = $.const(East.function([StringType, StringType], UIComponentType, ($, day, date) => Stack.VStack([
|
|
109
|
-
Text.Root(day, { fontWeight: "semibold" }),
|
|
110
|
-
Text.Root(date, { textStyle: "caption", color: "gray.500" }),
|
|
111
|
-
], { gap: "0", align: "center" })));
|
|
112
|
-
return Matrix.Root([
|
|
113
|
-
{ key: "alice", header: userHeader("Alice Chen", "PM"), cells: {
|
|
114
|
-
mon: {
|
|
115
|
-
segments: [{ category: "booked", weight: 0.8 }, { category: "free", weight: 0.2 }],
|
|
116
|
-
overlays: [
|
|
117
|
-
{ align: "end", verticalAlign: "start", content: Badge.Root("!", { variant: "solid", colorPalette: "red", size: "sm" }) },
|
|
118
|
-
{ align: "start", verticalAlign: "end", content: Text.Root("6.4h", { textStyle: "caption", color: "white", fontWeight: "semibold" }) },
|
|
119
|
-
],
|
|
120
|
-
},
|
|
121
|
-
tue: {
|
|
122
|
-
segments: [{ category: "booked", weight: 0.5 }, { category: "free", weight: 0.5 }],
|
|
123
|
-
overlays: [
|
|
124
|
-
{ align: "start", verticalAlign: "end", content: Text.Root("4h", { textStyle: "caption", color: "white", fontWeight: "semibold" }) },
|
|
125
|
-
{ align: "end", verticalAlign: "start", content: Icon.Root("fas", "users", { color: "gray.600", size: "xs" }) },
|
|
126
|
-
],
|
|
127
|
-
},
|
|
128
|
-
wed: {
|
|
129
|
-
segments: [{ category: "booked", weight: 1.0 }],
|
|
130
|
-
overlays: [
|
|
131
|
-
{ align: "end", verticalAlign: "start", content: Badge.Root("OT", { variant: "solid", colorPalette: "purple", size: "sm" }) },
|
|
132
|
-
{ align: "start", verticalAlign: "end", content: Text.Root("9h", { textStyle: "caption", color: "white", fontWeight: "semibold" }) },
|
|
133
|
-
],
|
|
134
|
-
},
|
|
135
|
-
} },
|
|
136
|
-
], [
|
|
137
|
-
{ key: "mon", header: dayHeader("Mon", "Apr 22") },
|
|
138
|
-
{ key: "tue", header: dayHeader("Tue", "Apr 23") },
|
|
139
|
-
{ key: "wed", header: dayHeader("Wed", "Apr 24") },
|
|
140
|
-
], {
|
|
141
|
-
legend: [{ category: "booked", color: "blue.400", label: "Booked" }, { category: "free", color: "gray.200", label: "Free" }],
|
|
142
|
-
rowHeaderWidth: "200px",
|
|
143
|
-
});
|
|
144
|
-
}),
|
|
145
|
-
inputs: [],
|
|
146
|
-
});
|
|
147
|
-
export const matrixEmphasis = example({
|
|
148
|
-
keywords: ["Matrix", "Root", "emphasis", "emphasisColor", "ring", "at-risk"],
|
|
149
|
-
description: "Emphasis — cells with `emphasisColor` set get a bright ring. Presence of the field implies emphasis (no separate boolean).",
|
|
150
|
-
fn: East.function([], UIComponentType, ($) => {
|
|
151
|
-
const userHeader = $.const(East.function([StringType, StringType], UIComponentType, ($, name, role) => Stack.HStack([
|
|
152
|
-
Avatar.Root({ name, size: "sm" }),
|
|
153
|
-
Stack.VStack([
|
|
154
|
-
Text.Root(name, { fontWeight: "semibold" }),
|
|
155
|
-
Text.Root(role, { textStyle: "caption", color: "gray.500" }),
|
|
156
|
-
], { gap: "0", align: "flex-start" }),
|
|
157
|
-
], { gap: "2", align: "center" })));
|
|
158
|
-
const dayHeader = $.const(East.function([StringType, StringType], UIComponentType, ($, day, date) => Stack.VStack([
|
|
159
|
-
Text.Root(day, { fontWeight: "semibold" }),
|
|
160
|
-
Text.Root(date, { textStyle: "caption", color: "gray.500" }),
|
|
161
|
-
], { gap: "0", align: "center" })));
|
|
162
|
-
return Matrix.Root([
|
|
163
|
-
{ key: "alice", header: userHeader("Alice Chen", "PM"), cells: {
|
|
164
|
-
mon: { segments: [{ category: "booked", weight: 0.6 }, { category: "free", weight: 0.4 }] },
|
|
165
|
-
tue: { segments: [{ category: "booked", weight: 0.6 }, { category: "free", weight: 0.4 }] },
|
|
166
|
-
wed: {
|
|
167
|
-
segments: [{ category: "at-risk", weight: 1.0, color: "red.400" }],
|
|
168
|
-
emphasisColor: "red.500",
|
|
169
|
-
overlays: [
|
|
170
|
-
{ content: Icon.Root("fas", "triangle-exclamation", { color: "white", size: "md" }) },
|
|
171
|
-
],
|
|
172
|
-
},
|
|
173
|
-
thu: { segments: [{ category: "booked", weight: 0.6 }, { category: "free", weight: 0.4 }] },
|
|
174
|
-
} },
|
|
175
|
-
{ key: "bob", header: userHeader("Bob Martinez", "Design"), cells: {
|
|
176
|
-
mon: { segments: [{ category: "booked", weight: 0.4 }, { category: "free", weight: 0.6 }] },
|
|
177
|
-
tue: {
|
|
178
|
-
segments: [{ category: "at-risk", weight: 1.0, color: "red.400" }],
|
|
179
|
-
emphasisColor: "red.500",
|
|
180
|
-
overlays: [
|
|
181
|
-
{ content: Icon.Root("fas", "triangle-exclamation", { color: "white", size: "md" }) },
|
|
182
|
-
],
|
|
183
|
-
},
|
|
184
|
-
wed: { segments: [{ category: "booked", weight: 0.6 }, { category: "free", weight: 0.4 }] },
|
|
185
|
-
thu: { segments: [{ category: "booked", weight: 0.6 }, { category: "free", weight: 0.4 }] },
|
|
186
|
-
} },
|
|
187
|
-
], [
|
|
188
|
-
{ key: "mon", header: dayHeader("Mon", "Apr 22") },
|
|
189
|
-
{ key: "tue", header: dayHeader("Tue", "Apr 23") },
|
|
190
|
-
{ key: "wed", header: dayHeader("Wed", "Apr 24") },
|
|
191
|
-
{ key: "thu", header: dayHeader("Thu", "Apr 25") },
|
|
192
|
-
], {
|
|
193
|
-
legend: [
|
|
194
|
-
{ category: "booked", color: "blue.400", label: "Booked" },
|
|
195
|
-
{ category: "free", color: "gray.200", label: "Free" },
|
|
196
|
-
{ category: "at-risk", color: "red.400", label: "At risk" },
|
|
197
|
-
],
|
|
198
|
-
rowHeaderWidth: "200px",
|
|
199
|
-
});
|
|
200
|
-
}),
|
|
201
|
-
inputs: [],
|
|
202
|
-
});
|
|
203
|
-
export const matrixVerticalOrientation = example({
|
|
204
|
-
keywords: ["Matrix", "Root", "cellOrientation", "vertical", "capacity", "dashboard"],
|
|
205
|
-
description: "Vertical segment orientation — each cell reads as a stacked vertical capacity bar",
|
|
206
|
-
fn: East.function([], UIComponentType, ($) => {
|
|
207
|
-
const dayHeader = $.const(East.function([StringType, StringType], UIComponentType, ($, day, date) => Stack.VStack([
|
|
208
|
-
Text.Root(day, { fontWeight: "semibold" }),
|
|
209
|
-
Text.Root(date, { textStyle: "caption", color: "gray.500" }),
|
|
210
|
-
], { gap: "0", align: "center" })));
|
|
211
|
-
return Matrix.Root([
|
|
212
|
-
{ key: "team-a", header: Text.Root("Team A", { fontWeight: "semibold" }), cells: {
|
|
213
|
-
mon: { segments: [{ category: "used", weight: 0.7 }, { category: "free", weight: 0.3 }] },
|
|
214
|
-
tue: { segments: [{ category: "used", weight: 0.4 }, { category: "free", weight: 0.6 }] },
|
|
215
|
-
wed: { segments: [{ category: "used", weight: 0.9 }, { category: "free", weight: 0.1 }] },
|
|
216
|
-
thu: { segments: [{ category: "used", weight: 0.6 }, { category: "free", weight: 0.4 }] },
|
|
217
|
-
fri: { segments: [{ category: "used", weight: 0.3 }, { category: "free", weight: 0.7 }] },
|
|
218
|
-
} },
|
|
219
|
-
{ key: "team-b", header: Text.Root("Team B", { fontWeight: "semibold" }), cells: {
|
|
220
|
-
mon: { segments: [{ category: "used", weight: 0.5 }, { category: "free", weight: 0.5 }] },
|
|
221
|
-
tue: { segments: [{ category: "used", weight: 0.8 }, { category: "free", weight: 0.2 }] },
|
|
222
|
-
wed: { segments: [{ category: "used", weight: 0.3 }, { category: "free", weight: 0.7 }] },
|
|
223
|
-
thu: { segments: [{ category: "used", weight: 1.0 }] },
|
|
224
|
-
fri: { segments: [{ category: "used", weight: 0.4 }, { category: "free", weight: 0.6 }] },
|
|
225
|
-
} },
|
|
226
|
-
], [
|
|
227
|
-
{ key: "mon", header: dayHeader("Mon", "Apr 22") },
|
|
228
|
-
{ key: "tue", header: dayHeader("Tue", "Apr 23") },
|
|
229
|
-
{ key: "wed", header: dayHeader("Wed", "Apr 24") },
|
|
230
|
-
{ key: "thu", header: dayHeader("Thu", "Apr 25") },
|
|
231
|
-
{ key: "fri", header: dayHeader("Fri", "Apr 26") },
|
|
232
|
-
], {
|
|
233
|
-
cellOrientation: "vertical",
|
|
234
|
-
legend: [
|
|
235
|
-
{ category: "used", color: "blue.400", label: "Used capacity" },
|
|
236
|
-
{ category: "free", color: "gray.200", label: "Available" },
|
|
237
|
-
],
|
|
238
|
-
rowHeaderWidth: "140px",
|
|
239
|
-
columnHeaderHeight: "52px",
|
|
240
|
-
});
|
|
241
|
-
}),
|
|
242
|
-
inputs: [],
|
|
243
|
-
});
|
|
244
|
-
export const matrixBrushSelection = example({
|
|
245
|
-
keywords: ["Matrix", "Root", "brushSelection", "controlled", "Reactive", "State"],
|
|
246
|
-
description: "Controlled brush selection — drag to select cells; `selected` in State drives the highlight, `onChange` syncs back",
|
|
6
|
+
/** @jsxImportSource @elaraai/east-ui */
|
|
7
|
+
import { ArrayType, East, FloatType, NullType, StringType, StructType, example, variant } from "@elaraai/east";
|
|
8
|
+
import { State, UIComponentType } from "@elaraai/east-ui";
|
|
9
|
+
import { Matrix, Reactive, Slider, Text, VStack } from "@elaraai/east-ui";
|
|
10
|
+
/**
|
|
11
|
+
* Heat-grid — rows × days, each cell a booked/free weight bar, rows grouped by
|
|
12
|
+
* team. The base configuration: utilisation read as bar fill, no labels.
|
|
13
|
+
*/
|
|
14
|
+
export const matrixHeatGrid = example({
|
|
15
|
+
keywords: ["Matrix", "heat-grid", "segment", "booked", "free", "group", "groupBy", "utilization", "capacity"],
|
|
16
|
+
description: "Heat-grid: resources × days, each cell a booked/free weight bar; rows grouped by team",
|
|
247
17
|
fn: East.function([], UIComponentType, (_$) => {
|
|
248
|
-
return
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
const onChange = $.const(East.function([ArrayType(Matrix.Types.BrushCoord)], NullType, ($, next) => {
|
|
263
|
-
$(selBind.write(next));
|
|
264
|
-
}));
|
|
265
|
-
return Stack.VStack([
|
|
266
|
-
Matrix.Root([
|
|
267
|
-
{ key: "alice", header: userHeader("Alice Chen", "PM"), cells: {
|
|
268
|
-
mon: { segments: [{ category: "booked", weight: 0.8 }] },
|
|
269
|
-
tue: { segments: [{ category: "booked", weight: 0.5 }] },
|
|
270
|
-
wed: { segments: [{ category: "booked", weight: 0.3 }] },
|
|
271
|
-
thu: { segments: [{ category: "booked", weight: 0.9 }] },
|
|
272
|
-
} },
|
|
273
|
-
{ key: "bob", header: userHeader("Bob Martinez", "Design"), cells: {
|
|
274
|
-
mon: { segments: [{ category: "booked", weight: 0.4 }] },
|
|
275
|
-
tue: { segments: [{ category: "booked", weight: 0.9 }] },
|
|
276
|
-
wed: { segments: [{ category: "booked", weight: 0.6 }] },
|
|
277
|
-
thu: { segments: [{ category: "booked", weight: 0.7 }] },
|
|
278
|
-
} },
|
|
279
|
-
], [
|
|
280
|
-
{ key: "mon", header: dayHeader("Mon", "Apr 22") },
|
|
281
|
-
{ key: "tue", header: dayHeader("Tue", "Apr 23") },
|
|
282
|
-
{ key: "wed", header: dayHeader("Wed", "Apr 24") },
|
|
283
|
-
{ key: "thu", header: dayHeader("Thu", "Apr 25") },
|
|
284
|
-
], {
|
|
285
|
-
brushSelection: { enabled: true, selected, onChange },
|
|
286
|
-
legend: [{ category: "booked", color: "blue.400", label: "Booked" }],
|
|
287
|
-
rowHeaderWidth: "200px",
|
|
288
|
-
}),
|
|
289
|
-
Badge.Root(East.str `Selected: ${East.print(selected.size())} cells`, { variant: "subtle", colorPalette: "blue" }),
|
|
290
|
-
], { gap: "3", align: "stretch" });
|
|
291
|
-
}));
|
|
18
|
+
return (_jsx(Matrix, { data: [
|
|
19
|
+
{ name: "Alice", role: "Senior PM", team: "Web", booked: new Map([["mon", 0.45], ["tue", 0.70], ["wed", 0.85], ["thu", 0.60], ["fri", 0.30]]) },
|
|
20
|
+
{ name: "Bob", role: "Designer", team: "Web", booked: new Map([["mon", 0.35], ["tue", 0.60], ["wed", 0.30], ["thu", 0.75], ["fri", 0.50]]) },
|
|
21
|
+
{ name: "Carol", role: "Engineer", team: "Batch", booked: new Map([["mon", 0.55], ["tue", 0.40], ["wed", 0.90], ["thu", 0.20], ["fri", 0.65]]) },
|
|
22
|
+
], columns: [
|
|
23
|
+
Matrix.column({ key: "mon", label: "Mon" }),
|
|
24
|
+
Matrix.column({ key: "tue", label: "Tue" }),
|
|
25
|
+
Matrix.column({ key: "wed", label: "Wed" }),
|
|
26
|
+
Matrix.column({ key: "thu", label: "Thu" }),
|
|
27
|
+
Matrix.column({ key: "fri", label: "Fri" }),
|
|
28
|
+
], rowKey: r => r.name, rowHeader: "Resource", rowSublabel: r => r.role, groupBy: r => r.team, cell: (r, col) => Matrix.cell({ segments: [
|
|
29
|
+
Matrix.segment({ fill: "brand", weight: r.booked.get(col.key) }),
|
|
30
|
+
Matrix.segment({ fill: "free", weight: East.value(1.0, FloatType).subtract(r.booked.get(col.key)) }),
|
|
31
|
+
] }), legend: [{ fill: "brand", label: "Booked" }, { fill: "free", label: "Free" }] }));
|
|
292
32
|
}),
|
|
293
33
|
inputs: [],
|
|
294
34
|
});
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Multi-segment — three categories per cell (committed / pending / slack) with
|
|
37
|
+
* in-bar % labels, drag-resize handles (via `onSegmentChange`), and labels
|
|
38
|
+
* suppressed under `minLabelSize`.
|
|
39
|
+
*/
|
|
40
|
+
export const matrixSegments = example({
|
|
41
|
+
keywords: ["Matrix", "segment", "committed", "pending", "slack", "drag", "resize", "onSegmentChange", "minLabelSize", "weight", "allocation"],
|
|
42
|
+
description: "Multi-segment cells (committed / pending / slack) with in-bar labels, drag-resize, and minLabelSize suppression",
|
|
298
43
|
fn: East.function([], UIComponentType, (_$) => {
|
|
299
|
-
return
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
],
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
const rowBind = $.let(State.bind([StringType], "matrix_sel_row", ""));
|
|
312
|
-
const colBind = $.let(State.bind([StringType], "matrix_sel_col", ""));
|
|
313
|
-
const countBind = $.let(State.bind([IntegerType], "matrix_click_count", 0n));
|
|
314
|
-
const row = $.let(rowBind.read(), StringType);
|
|
315
|
-
const column = $.let(colBind.read(), StringType);
|
|
316
|
-
const count = $.let(countBind.read(), IntegerType);
|
|
317
|
-
const onCellClick = $.const(East.function([Matrix.Types.BrushCoord], NullType, ($, coord) => {
|
|
318
|
-
const current = $.let(countBind.read(), IntegerType);
|
|
319
|
-
$(rowBind.write(coord.row));
|
|
320
|
-
$(colBind.write(coord.column));
|
|
321
|
-
$(countBind.write(current.add(1n)));
|
|
322
|
-
}));
|
|
323
|
-
return Stack.VStack([
|
|
324
|
-
Matrix.Root([
|
|
325
|
-
{ key: "alice", header: userHeader("Alice Chen", "PM"), cells: {
|
|
326
|
-
mon: { segments: [{ category: "booked", weight: 0.8 }] },
|
|
327
|
-
tue: { segments: [{ category: "booked", weight: 0.5 }] },
|
|
328
|
-
wed: { segments: [{ category: "booked", weight: 0.3 }] },
|
|
329
|
-
} },
|
|
330
|
-
{ key: "bob", header: userHeader("Bob Martinez", "Design"), cells: {
|
|
331
|
-
mon: { segments: [{ category: "booked", weight: 0.4 }] },
|
|
332
|
-
tue: { segments: [{ category: "booked", weight: 0.9 }] },
|
|
333
|
-
wed: { segments: [{ category: "booked", weight: 0.6 }] },
|
|
334
|
-
} },
|
|
335
|
-
], [
|
|
336
|
-
{ key: "mon", header: dayHeader("Mon", "Apr 22") },
|
|
337
|
-
{ key: "tue", header: dayHeader("Tue", "Apr 23") },
|
|
338
|
-
{ key: "wed", header: dayHeader("Wed", "Apr 24") },
|
|
339
|
-
], {
|
|
340
|
-
onCellClick,
|
|
341
|
-
legend: [{ category: "booked", color: "blue.400", label: "Booked" }],
|
|
342
|
-
rowHeaderWidth: "200px",
|
|
343
|
-
}),
|
|
344
|
-
Stack.HStack([
|
|
345
|
-
Badge.Root(East.str `Clicks: ${East.print(count)}`, { variant: "subtle", colorPalette: "gray" }),
|
|
346
|
-
Badge.Root(East.str `Last: ${row}, ${column}`, { variant: "subtle", colorPalette: "blue" }),
|
|
347
|
-
], { gap: "2" }),
|
|
348
|
-
], { gap: "3", align: "stretch" });
|
|
349
|
-
}));
|
|
44
|
+
return (_jsx(Matrix, { data: [
|
|
45
|
+
{ sprint: "Sprint 1", committed: new Map([["design", 0.50], ["dev", 0.70], ["qa", 0.30]]), pending: new Map([["design", 0.30], ["dev", 0.20], ["qa", 0.40]]) },
|
|
46
|
+
{ sprint: "Sprint 2", committed: new Map([["design", 0.45], ["dev", 0.80], ["qa", 0.25]]), pending: new Map([["design", 0.35], ["dev", 0.15], ["qa", 0.35]]) },
|
|
47
|
+
], columns: [
|
|
48
|
+
Matrix.column({ key: "design", label: "Design" }),
|
|
49
|
+
Matrix.column({ key: "dev", label: "Development" }),
|
|
50
|
+
Matrix.column({ key: "qa", label: "QA" }),
|
|
51
|
+
], rowKey: r => r.sprint, rowHeader: "Sprint", minLabelSize: 28.0, cell: (r, col) => Matrix.cell({ segments: [
|
|
52
|
+
Matrix.segment({ fill: "success", weight: r.committed.get(col.key), label: East.str `${r.committed.get(col.key).multiply(100.0)}%`, min: 0.0, max: 1.0, step: 0.05 }),
|
|
53
|
+
Matrix.segment({ fill: "warning", weight: r.pending.get(col.key), label: East.str `${r.pending.get(col.key).multiply(100.0)}%`, min: 0.0, max: 1.0, step: 0.05 }),
|
|
54
|
+
Matrix.segment({ fill: "slack", weight: East.value(1.0, FloatType).subtract(r.committed.get(col.key)).subtract(r.pending.get(col.key)) }),
|
|
55
|
+
] }), legend: [{ fill: "success", label: "Committed" }, { fill: "warning", label: "Pending" }, { fill: "slack", label: "Slack" }], onSegmentChange: East.function([Matrix.Types.SegmentChangeEvent], NullType, _$ => null) }));
|
|
350
56
|
}),
|
|
351
57
|
inputs: [],
|
|
352
58
|
});
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
59
|
+
/**
|
|
60
|
+
* Vertical orientation — each cell a bottom-anchored stacked capacity bar
|
|
61
|
+
* (utilisation by height) instead of a horizontal weight bar.
|
|
62
|
+
*/
|
|
63
|
+
export const matrixVertical = example({
|
|
64
|
+
keywords: ["Matrix", "vertical", "orientation", "capacity", "stacked", "utilization", "bar"],
|
|
65
|
+
description: "Vertical orientation — cells stack bottom-up as capacity bars (height-encoded utilisation)",
|
|
356
66
|
fn: East.function([], UIComponentType, (_$) => {
|
|
357
|
-
return
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
const tueBooked = $.let(State.bind([FloatType], "matrix_edit_tue_booked", 0.5));
|
|
371
|
-
const wedBooked = $.let(State.bind([FloatType], "matrix_edit_wed_booked", 0.9));
|
|
372
|
-
const monW = $.let(monBooked.read(), FloatType);
|
|
373
|
-
const tueW = $.let(tueBooked.read(), FloatType);
|
|
374
|
-
const wedW = $.let(wedBooked.read(), FloatType);
|
|
375
|
-
const monPct = $.let(East.Float.roundHalf(monW.multiply(100.0)), IntegerType);
|
|
376
|
-
const tuePct = $.let(East.Float.roundHalf(tueW.multiply(100.0)), IntegerType);
|
|
377
|
-
const wedPct = $.let(East.Float.roundHalf(wedW.multiply(100.0)), IntegerType);
|
|
378
|
-
const onSegmentChange = $.const(East.function([Matrix.Types.SegmentChangeEvent], NullType, ($, evt) => {
|
|
379
|
-
$.if(evt.column.equals("mon").and(() => evt.category.equals("booked")), $ => {
|
|
380
|
-
$(monBooked.write(evt.weight));
|
|
381
|
-
});
|
|
382
|
-
$.if(evt.column.equals("tue").and(() => evt.category.equals("booked")), $ => {
|
|
383
|
-
$(tueBooked.write(evt.weight));
|
|
384
|
-
});
|
|
385
|
-
$.if(evt.column.equals("wed").and(() => evt.category.equals("booked")), $ => {
|
|
386
|
-
$(wedBooked.write(evt.weight));
|
|
387
|
-
});
|
|
388
|
-
}));
|
|
389
|
-
return Matrix.Root([
|
|
390
|
-
{ key: "alice", header: userHeader("Alice Chen", "PM"), cells: {
|
|
391
|
-
mon: { segments: [
|
|
392
|
-
{ category: "booked", weight: monW, step: 0.05, label: East.str `${East.print(monPct)}%` },
|
|
393
|
-
{ category: "free", weight: East.value(1.0).subtract(monW), label: East.str `${East.print(East.value(100n).subtract(monPct))}%` },
|
|
394
|
-
] },
|
|
395
|
-
tue: { segments: [
|
|
396
|
-
{ category: "booked", weight: tueW, step: 0.05, label: East.str `${East.print(tuePct)}%` },
|
|
397
|
-
{ category: "free", weight: East.value(1.0).subtract(tueW), label: East.str `${East.print(East.value(100n).subtract(tuePct))}%` },
|
|
398
|
-
] },
|
|
399
|
-
wed: { segments: [
|
|
400
|
-
{ category: "booked", weight: wedW, step: 0.05, label: East.str `${East.print(wedPct)}%` },
|
|
401
|
-
{ category: "free", weight: East.value(1.0).subtract(wedW), label: East.str `${East.print(East.value(100n).subtract(wedPct))}%` },
|
|
402
|
-
] },
|
|
403
|
-
} },
|
|
404
|
-
], [
|
|
405
|
-
{ key: "mon", header: dayHeader("Mon", "Apr 22") },
|
|
406
|
-
{ key: "tue", header: dayHeader("Tue", "Apr 23") },
|
|
407
|
-
{ key: "wed", header: dayHeader("Wed", "Apr 24") },
|
|
408
|
-
], {
|
|
409
|
-
onSegmentChange,
|
|
410
|
-
legend: [{ category: "booked", color: "blue.400", label: "Booked" }, { category: "free", color: "gray.200", label: "Free" }],
|
|
411
|
-
rowHeaderWidth: "200px",
|
|
412
|
-
});
|
|
413
|
-
}));
|
|
67
|
+
return (_jsx(Matrix, { data: [
|
|
68
|
+
{ team: "Team A", booked: new Map([["mon", 0.70], ["tue", 0.55], ["wed", 0.90], ["thu", 0.65], ["fri", 0.45]]) },
|
|
69
|
+
{ team: "Team B", booked: new Map([["mon", 0.50], ["tue", 0.75], ["wed", 0.40], ["thu", 0.85], ["fri", 0.60]]) },
|
|
70
|
+
], columns: [
|
|
71
|
+
Matrix.column({ key: "mon", label: "Mon" }),
|
|
72
|
+
Matrix.column({ key: "tue", label: "Tue" }),
|
|
73
|
+
Matrix.column({ key: "wed", label: "Wed" }),
|
|
74
|
+
Matrix.column({ key: "thu", label: "Thu" }),
|
|
75
|
+
Matrix.column({ key: "fri", label: "Fri" }),
|
|
76
|
+
], rowKey: r => r.team, rowHeader: "Team", orientation: "vertical", cell: (r, col) => Matrix.cell({ segments: [
|
|
77
|
+
Matrix.segment({ fill: "brand", weight: r.booked.get(col.key) }),
|
|
78
|
+
Matrix.segment({ fill: "free", weight: East.value(1.0, FloatType).subtract(r.booked.get(col.key)) }),
|
|
79
|
+
] }), legend: [{ fill: "brand", label: "Used capacity" }, { fill: "free", label: "Available" }] }));
|
|
414
80
|
}),
|
|
415
81
|
inputs: [],
|
|
416
82
|
});
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
83
|
+
/**
|
|
84
|
+
* Cell status markers — every cell carries a marker (the Matrix analogue of
|
|
85
|
+
* `Planner.marker`) whose status, corner icon, and hover message follow the
|
|
86
|
+
* booked value: over-capacity cells flag `danger`, near-capacity `warning`, the
|
|
87
|
+
* rest `success`. The marker tints a corner ring over the segment bar.
|
|
88
|
+
*/
|
|
89
|
+
export const matrixMarkers = example({
|
|
90
|
+
keywords: ["Matrix", "marker", "status", "ring", "corner", "tooltip", "danger", "warning", "capacity", "overbooked"],
|
|
91
|
+
description: "Cell status markers (the Matrix analogue of Planner.marker) — status/message follow the booked value, tinting a corner ring",
|
|
420
92
|
fn: East.function([], UIComponentType, (_$) => {
|
|
421
|
-
return
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
const qaC = $.let(qaCommitted.read(), FloatType);
|
|
433
|
-
const qaP = $.let(qaPending.read(), FloatType);
|
|
434
|
-
const designCPct = $.let(East.Float.roundHalf(designC.multiply(100.0)), IntegerType);
|
|
435
|
-
const designPPct = $.let(East.Float.roundHalf(designP.multiply(100.0)), IntegerType);
|
|
436
|
-
const designSPct = $.let(East.value(100n).subtract(designCPct).subtract(designPPct), IntegerType);
|
|
437
|
-
const devCPct = $.let(East.Float.roundHalf(devC.multiply(100.0)), IntegerType);
|
|
438
|
-
const devPPct = $.let(East.Float.roundHalf(devP.multiply(100.0)), IntegerType);
|
|
439
|
-
const devSPct = $.let(East.value(100n).subtract(devCPct).subtract(devPPct), IntegerType);
|
|
440
|
-
const qaCPct = $.let(East.Float.roundHalf(qaC.multiply(100.0)), IntegerType);
|
|
441
|
-
const qaPPct = $.let(East.Float.roundHalf(qaP.multiply(100.0)), IntegerType);
|
|
442
|
-
const qaSPct = $.let(East.value(100n).subtract(qaCPct).subtract(qaPPct), IntegerType);
|
|
443
|
-
const onSegmentChange = $.const(East.function([Matrix.Types.SegmentChangeEvent], NullType, ($, evt) => {
|
|
444
|
-
$.if(evt.column.equals("design").and(() => evt.category.equals("committed")), $ => {
|
|
445
|
-
$(designCommitted.write(evt.weight));
|
|
446
|
-
});
|
|
447
|
-
$.if(evt.column.equals("design").and(() => evt.category.equals("pending")), $ => {
|
|
448
|
-
$(designPending.write(evt.weight));
|
|
449
|
-
});
|
|
450
|
-
$.if(evt.column.equals("dev").and(() => evt.category.equals("committed")), $ => {
|
|
451
|
-
$(devCommitted.write(evt.weight));
|
|
452
|
-
});
|
|
453
|
-
$.if(evt.column.equals("dev").and(() => evt.category.equals("pending")), $ => {
|
|
454
|
-
$(devPending.write(evt.weight));
|
|
455
|
-
});
|
|
456
|
-
$.if(evt.column.equals("qa").and(() => evt.category.equals("committed")), $ => {
|
|
457
|
-
$(qaCommitted.write(evt.weight));
|
|
458
|
-
});
|
|
459
|
-
$.if(evt.column.equals("qa").and(() => evt.category.equals("pending")), $ => {
|
|
460
|
-
$(qaPending.write(evt.weight));
|
|
461
|
-
});
|
|
462
|
-
}));
|
|
463
|
-
return Matrix.Root([
|
|
464
|
-
{ key: "sprint-1", header: Text.Root("Sprint 1", { fontWeight: "semibold" }), cells: {
|
|
465
|
-
design: { segments: [
|
|
466
|
-
{ category: "committed", weight: designC, step: 0.05, min: 0.05, max: 0.9, label: East.str `${East.print(designCPct)}%` },
|
|
467
|
-
{ category: "pending", weight: designP, step: 0.05, min: 0.05, max: 0.9, label: East.str `${East.print(designPPct)}%` },
|
|
468
|
-
{ category: "slack", weight: East.value(1.0).subtract(designC).subtract(designP), label: East.str `${East.print(designSPct)}%` },
|
|
469
|
-
] },
|
|
470
|
-
dev: { segments: [
|
|
471
|
-
{ category: "committed", weight: devC, step: 0.05, min: 0.05, max: 0.9, label: East.str `${East.print(devCPct)}%` },
|
|
472
|
-
{ category: "pending", weight: devP, step: 0.05, min: 0.05, max: 0.9, label: East.str `${East.print(devPPct)}%` },
|
|
473
|
-
{ category: "slack", weight: East.value(1.0).subtract(devC).subtract(devP), label: East.str `${East.print(devSPct)}%` },
|
|
474
|
-
] },
|
|
475
|
-
qa: { segments: [
|
|
476
|
-
{ category: "committed", weight: qaC, step: 0.05, min: 0.05, max: 0.9, label: East.str `${East.print(qaCPct)}%` },
|
|
477
|
-
{ category: "pending", weight: qaP, step: 0.05, min: 0.05, max: 0.9, label: East.str `${East.print(qaPPct)}%` },
|
|
478
|
-
{ category: "slack", weight: East.value(1.0).subtract(qaC).subtract(qaP), label: East.str `${East.print(qaSPct)}%` },
|
|
479
|
-
] },
|
|
480
|
-
} },
|
|
481
|
-
], [
|
|
482
|
-
{ key: "design", header: Text.Root("Design", { fontWeight: "semibold" }) },
|
|
483
|
-
{ key: "dev", header: Text.Root("Development", { fontWeight: "semibold" }) },
|
|
484
|
-
{ key: "qa", header: Text.Root("QA", { fontWeight: "semibold" }) },
|
|
485
|
-
], {
|
|
486
|
-
onSegmentChange,
|
|
487
|
-
legend: [
|
|
488
|
-
{ category: "committed", color: "green.400", label: "Committed" },
|
|
489
|
-
{ category: "pending", color: "orange.400", label: "Pending" },
|
|
490
|
-
{ category: "slack", color: "gray.200", label: "Slack" },
|
|
93
|
+
return (_jsx(Matrix, { data: [
|
|
94
|
+
{ name: "Alice", role: "PM", booked: new Map([["mon", 0.80], ["tue", 0.50], ["wed", 1.00]]) },
|
|
95
|
+
{ name: "Bob", role: "Design", booked: new Map([["mon", 0.35], ["tue", 1.00], ["wed", 0.60]]) },
|
|
96
|
+
], columns: [
|
|
97
|
+
Matrix.column({ key: "mon", label: "Mon" }),
|
|
98
|
+
Matrix.column({ key: "tue", label: "Tue" }),
|
|
99
|
+
Matrix.column({ key: "wed", label: "Wed" }),
|
|
100
|
+
], rowKey: r => r.name, rowHeader: "Resource", rowSublabel: r => r.role, cell: (r, col) => Matrix.cell({
|
|
101
|
+
segments: [
|
|
102
|
+
Matrix.segment({ fill: "brand", weight: r.booked.get(col.key), label: East.str `${r.booked.get(col.key).multiply(8.0)}h` }),
|
|
103
|
+
Matrix.segment({ fill: "free", weight: East.value(1.0, FloatType).subtract(r.booked.get(col.key)) }),
|
|
491
104
|
],
|
|
492
|
-
|
|
493
|
-
|
|
105
|
+
markers: [Matrix.marker({
|
|
106
|
+
status: r.booked.get(col.key).greaterEqual(1.0).ifElse(_$ => variant("danger", null), _$ => r.booked.get(col.key).greaterEqual(0.75).ifElse(_$ => variant("warning", null), _$ => variant("success", null))),
|
|
107
|
+
message: East.str `${r.booked.get(col.key).multiply(100.0)}% booked`,
|
|
108
|
+
at: "tr",
|
|
109
|
+
})],
|
|
110
|
+
}), legend: [{ fill: "brand", label: "Booked" }, { fill: "free", label: "Free" }] }));
|
|
494
111
|
}),
|
|
495
112
|
inputs: [],
|
|
496
113
|
});
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
114
|
+
/**
|
|
115
|
+
* Per-cell click popover — pass a UIComponent into `popover` for rich detail on
|
|
116
|
+
* click (popover-only, like the Planner event — no tooltip).
|
|
117
|
+
*/
|
|
118
|
+
export const matrixPopover = example({
|
|
119
|
+
keywords: ["Matrix", "popover", "click", "detail", "onCellClick"],
|
|
120
|
+
description: "Per-cell click popover with rich content",
|
|
500
121
|
fn: East.function([], UIComponentType, (_$) => {
|
|
501
|
-
return
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
const wedUsed = $.let(State.bind([FloatType], "matrix_vedit_wed_used", 0.9));
|
|
509
|
-
const thuUsed = $.let(State.bind([FloatType], "matrix_vedit_thu_used", 0.6));
|
|
510
|
-
const friUsed = $.let(State.bind([FloatType], "matrix_vedit_fri_used", 0.3));
|
|
511
|
-
const monU = $.let(monUsed.read(), FloatType);
|
|
512
|
-
const tueU = $.let(tueUsed.read(), FloatType);
|
|
513
|
-
const wedU = $.let(wedUsed.read(), FloatType);
|
|
514
|
-
const thuU = $.let(thuUsed.read(), FloatType);
|
|
515
|
-
const friU = $.let(friUsed.read(), FloatType);
|
|
516
|
-
const onSegmentChange = $.const(East.function([Matrix.Types.SegmentChangeEvent], NullType, ($, evt) => {
|
|
517
|
-
$.if(evt.column.equals("mon").and(() => evt.category.equals("used")), $ => {
|
|
518
|
-
$(monUsed.write(evt.weight));
|
|
519
|
-
});
|
|
520
|
-
$.if(evt.column.equals("tue").and(() => evt.category.equals("used")), $ => {
|
|
521
|
-
$(tueUsed.write(evt.weight));
|
|
522
|
-
});
|
|
523
|
-
$.if(evt.column.equals("wed").and(() => evt.category.equals("used")), $ => {
|
|
524
|
-
$(wedUsed.write(evt.weight));
|
|
525
|
-
});
|
|
526
|
-
$.if(evt.column.equals("thu").and(() => evt.category.equals("used")), $ => {
|
|
527
|
-
$(thuUsed.write(evt.weight));
|
|
528
|
-
});
|
|
529
|
-
$.if(evt.column.equals("fri").and(() => evt.category.equals("used")), $ => {
|
|
530
|
-
$(friUsed.write(evt.weight));
|
|
531
|
-
});
|
|
532
|
-
}));
|
|
533
|
-
return Matrix.Root([
|
|
534
|
-
{ key: "team-a", header: Text.Root("Team A", { fontWeight: "semibold" }), cells: {
|
|
535
|
-
mon: { segments: [{ category: "used", weight: monU, step: 0.05 }, { category: "free", weight: East.value(1.0).subtract(monU) }] },
|
|
536
|
-
tue: { segments: [{ category: "used", weight: tueU, step: 0.05 }, { category: "free", weight: East.value(1.0).subtract(tueU) }] },
|
|
537
|
-
wed: { segments: [{ category: "used", weight: wedU, step: 0.05 }, { category: "free", weight: East.value(1.0).subtract(wedU) }] },
|
|
538
|
-
thu: { segments: [{ category: "used", weight: thuU, step: 0.05 }, { category: "free", weight: East.value(1.0).subtract(thuU) }] },
|
|
539
|
-
fri: { segments: [{ category: "used", weight: friU, step: 0.05 }, { category: "free", weight: East.value(1.0).subtract(friU) }] },
|
|
540
|
-
} },
|
|
541
|
-
], [
|
|
542
|
-
{ key: "mon", header: dayHeader("Mon", "Apr 22") },
|
|
543
|
-
{ key: "tue", header: dayHeader("Tue", "Apr 23") },
|
|
544
|
-
{ key: "wed", header: dayHeader("Wed", "Apr 24") },
|
|
545
|
-
{ key: "thu", header: dayHeader("Thu", "Apr 25") },
|
|
546
|
-
{ key: "fri", header: dayHeader("Fri", "Apr 26") },
|
|
547
|
-
], {
|
|
548
|
-
cellOrientation: "vertical",
|
|
549
|
-
onSegmentChange,
|
|
550
|
-
legend: [
|
|
551
|
-
{ category: "used", color: "blue.400", label: "Used capacity" },
|
|
552
|
-
{ category: "free", color: "gray.200", label: "Available" },
|
|
122
|
+
return (_jsx(Matrix, { data: [{ name: "Alice", booked: new Map([["mon", 0.7], ["tue", 0.4]]) }], columns: [
|
|
123
|
+
Matrix.column({ key: "mon", label: "Mon" }),
|
|
124
|
+
Matrix.column({ key: "tue", label: "Tue" }),
|
|
125
|
+
], rowKey: r => r.name, rowHeader: "Resource", cell: (r, col) => Matrix.cell({
|
|
126
|
+
segments: [
|
|
127
|
+
Matrix.segment({ fill: "brand", weight: r.booked.get(col.key) }),
|
|
128
|
+
Matrix.segment({ fill: "free", weight: East.value(1.0, FloatType).subtract(r.booked.get(col.key)) }),
|
|
553
129
|
],
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
});
|
|
557
|
-
}));
|
|
130
|
+
popover: (_jsxs(VStack, { gap: "1", children: [_jsx(Text, { fontWeight: "semibold", children: "Allocation" }), _jsx(Text, { color: "fg.muted", children: East.str `${r.booked.get(col.key).multiply(100.0)}% booked` })] })),
|
|
131
|
+
}), onCellClick: East.function([Matrix.Types.CellClickEvent], NullType, _$ => null) }));
|
|
558
132
|
}),
|
|
559
133
|
inputs: [],
|
|
560
134
|
});
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
], [
|
|
583
|
-
{ key: "mon", header: Text.Root("Mon") },
|
|
584
|
-
{ key: "tue", header: Text.Root("Tue") },
|
|
585
|
-
], {
|
|
586
|
-
legend: [
|
|
587
|
-
{ category: "booked", color: "blue.500", label: "Booked" },
|
|
588
|
-
{ category: "free", color: "green.300", label: "Free" },
|
|
589
|
-
],
|
|
590
|
-
});
|
|
591
|
-
}),
|
|
135
|
+
/**
|
|
136
|
+
* Reactive bound-state edit — dragging the committed segment fires
|
|
137
|
+
* `onSegmentChange`, which writes the new weight to browser-local state; the
|
|
138
|
+
* cell reads that bound value back, so the grid is fully controlled.
|
|
139
|
+
*/
|
|
140
|
+
export const matrixReactiveAdjust = example({
|
|
141
|
+
keywords: ["Matrix", "reactive", "State", "bind", "onSegmentChange", "adjust", "edit", "drag", "controlled"],
|
|
142
|
+
description: "Drag a segment to adjust its weight — onSegmentChange writes the new value to bound State, which the cell reads back",
|
|
143
|
+
fn: East.function([], UIComponentType, (_$) => (_jsx(Reactive, { children: $ => {
|
|
144
|
+
const committedBind = $.let(State.bind([FloatType], "matrix_adjust_committed", 0.5));
|
|
145
|
+
const committed = $.let(committedBind.read());
|
|
146
|
+
const data = $.const([{ team: "Squad", load: committed }], ArrayType(StructType({ team: StringType, load: FloatType })));
|
|
147
|
+
return (_jsx(Matrix, { data: data, columns: [
|
|
148
|
+
Matrix.column({ key: "load", label: "Allocation" }),
|
|
149
|
+
], rowKey: r => r.team, rowHeader: "Squad", cell: (r, _col) => Matrix.cell({ segments: [
|
|
150
|
+
Matrix.segment({ fill: "success", weight: r.load, label: East.str `${r.load.multiply(100.0)}%`, min: 0.0, max: 1.0, step: 0.05 }),
|
|
151
|
+
Matrix.segment({ fill: "slack", weight: East.value(1.0, FloatType).subtract(r.load) }),
|
|
152
|
+
] }), onSegmentChange: East.function([Matrix.Types.SegmentChangeEvent], NullType, ($, e) => {
|
|
153
|
+
$(committedBind.write(e.weight));
|
|
154
|
+
}) }));
|
|
155
|
+
} }))),
|
|
592
156
|
inputs: [],
|
|
593
157
|
});
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
{
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
158
|
+
/**
|
|
159
|
+
* Reactive data-driven pivot — both axes are derived from the cell records, not
|
|
160
|
+
* declared. A flat list of `{ resource, day, load }` bookings is pivoted into a
|
|
161
|
+
* resource × day grid: the distinct days become the `columns` and the distinct
|
|
162
|
+
* resources become the rows, each computed East-side from the data. A bound
|
|
163
|
+
* threshold drops every booking below it, so as you drag the slider whole
|
|
164
|
+
* columns and rows appear and disappear with the surviving cells.
|
|
165
|
+
*/
|
|
166
|
+
export const matrixReactivePivot = example({
|
|
167
|
+
keywords: ["Matrix", "reactive", "pivot", "data-driven", "columns", "rows", "State", "threshold", "filter"],
|
|
168
|
+
description: "Reactive pivot — rows and columns are both derived from the cell records; drag the threshold to drop low bookings and watch whole rows/columns appear and disappear",
|
|
169
|
+
fn: East.function([], UIComponentType, (_$) => (_jsx(Reactive, { children: $ => {
|
|
170
|
+
const BookingArrayType = ArrayType(StructType({ resource: StringType, day: StringType, load: FloatType }));
|
|
171
|
+
const bookings = $.let([
|
|
172
|
+
{ resource: "Alice", day: "Mon", load: 0.90 },
|
|
173
|
+
{ resource: "Alice", day: "Tue", load: 0.30 },
|
|
174
|
+
{ resource: "Alice", day: "Wed", load: 0.60 },
|
|
175
|
+
{ resource: "Bob", day: "Mon", load: 0.20 },
|
|
176
|
+
{ resource: "Bob", day: "Wed", load: 0.80 },
|
|
177
|
+
{ resource: "Carol", day: "Tue", load: 0.50 },
|
|
178
|
+
{ resource: "Carol", day: "Thu", load: 0.95 },
|
|
179
|
+
{ resource: "Dave", day: "Fri", load: 0.15 },
|
|
180
|
+
], BookingArrayType);
|
|
181
|
+
const thresholdBind = $.let(State.bind([FloatType], "matrix_pivot_threshold", 0.0));
|
|
182
|
+
const threshold = $.let(thresholdBind.read());
|
|
183
|
+
const onChange = $.const(East.function([FloatType], NullType, ($, next) => {
|
|
184
|
+
$(thresholdBind.write(next));
|
|
185
|
+
}));
|
|
186
|
+
// Both axes emerge from the surviving cells: keep bookings at or above
|
|
187
|
+
// the threshold, then take the distinct days (columns) and resources (rows).
|
|
188
|
+
const kept = $.let(bookings.filter(($, b) => b.load.greaterEqual(threshold)));
|
|
189
|
+
const dayKeys = $.let(kept.toSet(($, b) => b.day).toArray());
|
|
190
|
+
const resourceKeys = $.let(kept.toSet(($, b) => b.resource).toArray());
|
|
191
|
+
return (_jsxs(VStack, { gap: "3", align: "stretch", children: [_jsx(Slider, { value: threshold, min: 0, max: 1, step: 0.05, onChange: onChange }), _jsx(Text.MonoLabel, { children: East.str `THRESHOLD ${East.print(threshold)} · ${resourceKeys.size()} ROWS × ${dayKeys.size()} COLS` }), _jsx(Matrix, { data: resourceKeys.map(($, name) => ({
|
|
192
|
+
name,
|
|
193
|
+
// Pivot this resource's surviving bookings into a day → load
|
|
194
|
+
// cell, summed per (resource, day) and zero where it has none.
|
|
195
|
+
loads: dayKeys.toDict(($, day) => day, ($, day) => kept.filter(($, b) => b.resource.equal(name).and(() => b.day.equal(day))).sum(($, b) => b.load)),
|
|
196
|
+
})), columns: dayKeys.map(($, day) => Matrix.column({ key: day, label: day })), rowKey: r => r.name, rowHeader: "Resource", cell: (r, col) => Matrix.cell({ segments: [
|
|
197
|
+
Matrix.segment({ fill: "brand", weight: r.loads.get(col.key), label: East.str `${r.loads.get(col.key).multiply(100.0)}%` }),
|
|
198
|
+
Matrix.segment({ fill: "free", weight: East.value(1.0, FloatType).subtract(r.loads.get(col.key)) }),
|
|
199
|
+
] }), legend: [{ fill: "brand", label: "Booked" }, { fill: "free", label: "Free" }] })] }));
|
|
200
|
+
} }))),
|
|
621
201
|
inputs: [],
|
|
622
202
|
});
|
|
623
203
|
//# sourceMappingURL=matrix.examples.js.map
|