@elaraai/east-ui 1.0.4 → 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
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* JSX runtime for east-ui — author `UIComponentType` trees with JSX syntax
|
|
7
|
+
* (`<Box>…</Box>`) that desugar to the east-ui component factories.
|
|
8
|
+
*
|
|
9
|
+
* A JSX element here is **not** a React element: it evaluates to a built
|
|
10
|
+
* east-ui value (`ExprType<UIComponentType>`), exactly what `Box.Root(…)`
|
|
11
|
+
* returns. The IR/renderer split is preserved — JSX is pure authoring sugar
|
|
12
|
+
* that produces serializable East IR.
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* This module is the compiler-facing runtime; you never import it by hand.
|
|
16
|
+
* Point the compiler at it per file with a pragma:
|
|
17
|
+
*
|
|
18
|
+
* ```tsx
|
|
19
|
+
* /** @jsxImportSource @elaraai/east-ui *\/
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* or project-wide in `tsconfig.json`:
|
|
23
|
+
*
|
|
24
|
+
* ```json
|
|
25
|
+
* { "compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "@elaraai/east-ui" } }
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* The capitalized component tags (`Box`, `VStack`, `Text`, …) live in
|
|
29
|
+
* `@elaraai/east-ui`. JSX only works in `.tsx` files — the `.ts` parser
|
|
30
|
+
* reads `<Box>` as a type assertion, so there is no pragma that enables it in
|
|
31
|
+
* `.ts`.
|
|
32
|
+
*
|
|
33
|
+
* @packageDocumentation
|
|
34
|
+
*/
|
|
35
|
+
import type { ExprType } from "@elaraai/east";
|
|
36
|
+
import type { UIComponentType } from "../component.js";
|
|
37
|
+
/** A built east-ui element — what every JSX element expression evaluates to. */
|
|
38
|
+
export type UIElement = ExprType<UIComponentType>;
|
|
39
|
+
/** A JSX component: a function from a single props object to a built element. */
|
|
40
|
+
export type Component<P> = (props: P) => UIElement;
|
|
41
|
+
/**
|
|
42
|
+
* Fragment marker. `<>…</>` collects its children with no wrapper element;
|
|
43
|
+
* the enclosing container coalesces them into its own child list.
|
|
44
|
+
*/
|
|
45
|
+
export declare const Fragment: unique symbol;
|
|
46
|
+
export type Fragment = typeof Fragment;
|
|
47
|
+
/**
|
|
48
|
+
* Automatic-runtime entry point. The compiler emits calls to this (and to
|
|
49
|
+
* {@link jsxs}) when `jsxImportSource` is `@elaraai/east-ui`.
|
|
50
|
+
*
|
|
51
|
+
* `props.children` carries the nested elements; each component function does
|
|
52
|
+
* its own child normalization (see `@elaraai/east-ui`). A fragment is
|
|
53
|
+
* routed through the shared child coalescer so it yields a well-typed children
|
|
54
|
+
* value independent of the enclosing tag.
|
|
55
|
+
*/
|
|
56
|
+
export declare function jsx(type: Component<unknown> | Fragment, props: {
|
|
57
|
+
children?: unknown;
|
|
58
|
+
} | null): UIElement;
|
|
59
|
+
/** Static-children variant — identical behaviour for this runtime. */
|
|
60
|
+
export declare const jsxs: typeof jsx;
|
|
61
|
+
/** Development entry point — same behaviour, extra compiler args ignored. */
|
|
62
|
+
export declare function jsxDEV(type: Component<unknown> | Fragment, props: {
|
|
63
|
+
children?: unknown;
|
|
64
|
+
} | null): UIElement;
|
|
65
|
+
/**
|
|
66
|
+
* Classic-runtime factory (`@jsxFactory h`). Folds positional children into
|
|
67
|
+
* `props.children` and delegates to {@link jsx}, so both runtimes share one
|
|
68
|
+
* code path.
|
|
69
|
+
*/
|
|
70
|
+
export declare function h(type: Component<unknown> | Fragment, props: Record<string, unknown> | null, ...children: unknown[]): UIElement;
|
|
71
|
+
/**
|
|
72
|
+
* JSX type contract consumed by the compiler under
|
|
73
|
+
* `jsxImportSource: "@elaraai/east-ui"`.
|
|
74
|
+
*
|
|
75
|
+
* A `namespace` is the only shape the compiler accepts for the `JSX` type
|
|
76
|
+
* contract, so the module-syntax lint rule is disabled here intentionally.
|
|
77
|
+
*/
|
|
78
|
+
export declare namespace JSX {
|
|
79
|
+
/** Every JSX element expression evaluates to a built `UIComponentType`. */
|
|
80
|
+
type Element = UIElement;
|
|
81
|
+
/** Names the prop (`children`) that carries nested elements. */
|
|
82
|
+
interface ElementChildrenAttribute {
|
|
83
|
+
children: object;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* No intrinsic (lowercase) tags: `<div>` is not an east-ui component.
|
|
87
|
+
* Only the capitalized component tags are valid.
|
|
88
|
+
*/
|
|
89
|
+
interface IntrinsicElements {
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=runtime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../src/runtime/runtime.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGvD,gFAAgF;AAChF,MAAM,MAAM,SAAS,GAAG,QAAQ,CAAC,eAAe,CAAC,CAAC;AAElD,iFAAiF;AACjF,MAAM,MAAM,SAAS,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,SAAS,CAAC;AAEnD;;;GAGG;AACH,eAAO,MAAM,QAAQ,eAA0C,CAAC;AAChE,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC;AAEvC;;;;;;;;GAQG;AACH,wBAAgB,GAAG,CACf,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,QAAQ,EACnC,KAAK,EAAE;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,IAAI,GACrC,SAAS,CAOX;AAED,sEAAsE;AACtE,eAAO,MAAM,IAAI,EAAE,OAAO,GAAS,CAAC;AAEpC,6EAA6E;AAC7E,wBAAgB,MAAM,CAClB,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,QAAQ,EACnC,KAAK,EAAE;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,IAAI,GACrC,SAAS,CAEX;AAED;;;;GAIG;AACH,wBAAgB,CAAC,CACb,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,QAAQ,EACnC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,EACrC,GAAG,QAAQ,EAAE,OAAO,EAAE,GACvB,SAAS,CAKX;AAED;;;;;;GAMG;AAEH,yBAAiB,GAAG,CAAC;IACjB,2EAA2E;IAC3E,KAAY,OAAO,GAAG,SAAS,CAAC;IAChC,gEAAgE;IAChE,UAAiB,wBAAwB;QACrC,QAAQ,EAAE,MAAM,CAAC;KACpB;IACD;;;OAGG;IAEH,UAAiB,iBAAiB;KAAG;CACxC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
import { coalesceChildren } from "./children.js";
|
|
6
|
+
/**
|
|
7
|
+
* Fragment marker. `<>…</>` collects its children with no wrapper element;
|
|
8
|
+
* the enclosing container coalesces them into its own child list.
|
|
9
|
+
*/
|
|
10
|
+
export const Fragment = Symbol("@elaraai/east-ui.jsx.Fragment");
|
|
11
|
+
/**
|
|
12
|
+
* Automatic-runtime entry point. The compiler emits calls to this (and to
|
|
13
|
+
* {@link jsxs}) when `jsxImportSource` is `@elaraai/east-ui`.
|
|
14
|
+
*
|
|
15
|
+
* `props.children` carries the nested elements; each component function does
|
|
16
|
+
* its own child normalization (see `@elaraai/east-ui`). A fragment is
|
|
17
|
+
* routed through the shared child coalescer so it yields a well-typed children
|
|
18
|
+
* value independent of the enclosing tag.
|
|
19
|
+
*/
|
|
20
|
+
export function jsx(type, props) {
|
|
21
|
+
if (type === Fragment) {
|
|
22
|
+
// A fragment yields its coalesced children (a JS array or an East array
|
|
23
|
+
// expression); the enclosing container re-coalesces it into place.
|
|
24
|
+
return coalesceChildren(props?.children);
|
|
25
|
+
}
|
|
26
|
+
return type((props ?? {}));
|
|
27
|
+
}
|
|
28
|
+
/** Static-children variant — identical behaviour for this runtime. */
|
|
29
|
+
export const jsxs = jsx;
|
|
30
|
+
/** Development entry point — same behaviour, extra compiler args ignored. */
|
|
31
|
+
export function jsxDEV(type, props) {
|
|
32
|
+
return jsx(type, props);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Classic-runtime factory (`@jsxFactory h`). Folds positional children into
|
|
36
|
+
* `props.children` and delegates to {@link jsx}, so both runtimes share one
|
|
37
|
+
* code path.
|
|
38
|
+
*/
|
|
39
|
+
export function h(type, props, ...children) {
|
|
40
|
+
const merged = { ...(props ?? {}) };
|
|
41
|
+
if (children.length === 1)
|
|
42
|
+
merged.children = children[0];
|
|
43
|
+
else if (children.length > 1)
|
|
44
|
+
merged.children = children;
|
|
45
|
+
return jsx(type, merged);
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=runtime.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../../src/runtime/runtime.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmCH,OAAO,EAAE,gBAAgB,EAA8B,MAAM,eAAe,CAAC;AAQ7E;;;GAGG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,MAAM,CAAC,+BAA+B,CAAC,CAAC;AAGhE;;;;;;;;GAQG;AACH,MAAM,UAAU,GAAG,CACf,IAAmC,EACnC,KAAoC;IAEpC,IAAI,IAAI,KAAK,QAAQ,EAAE,CAAC;QACpB,wEAAwE;QACxE,mEAAmE;QACnE,OAAO,gBAAgB,CAAC,KAAK,EAAE,QAAiC,CAAyB,CAAC;IAC9F,CAAC;IACD,OAAQ,IAA2B,CAAC,CAAC,KAAK,IAAI,EAAE,CAAY,CAAC,CAAC;AAClE,CAAC;AAED,sEAAsE;AACtE,MAAM,CAAC,MAAM,IAAI,GAAe,GAAG,CAAC;AAEpC,6EAA6E;AAC7E,MAAM,UAAU,MAAM,CAClB,IAAmC,EACnC,KAAoC;IAEpC,OAAO,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5B,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,CAAC,CACb,IAAmC,EACnC,KAAqC,EACrC,GAAG,QAAmB;IAEtB,MAAM,MAAM,GAA4B,EAAE,GAAG,CAAC,KAAK,IAAI,EAAE,CAAC,EAAE,CAAC;IAC7D,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,MAAM,CAAC,QAAQ,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;SACpD,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC;QAAE,MAAM,CAAC,QAAQ,GAAG,QAAQ,CAAC;IACzD,OAAO,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AAC7B,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* The `<Slice.*>` tag namespace — a family of slice-bound controls that read
|
|
7
|
+
* and write one shared narrowing state, plus the platform that creates and
|
|
8
|
+
* applies it. A *slice* is a typed view over a row collection: a range, a set
|
|
9
|
+
* of filter predicates, a search, a breakdown dimension, and saved cohorts.
|
|
10
|
+
* You build it with the platform members (`Slice.config` declares the fields,
|
|
11
|
+
* `Slice.bind` binds rows + initial `Slice.state` under a stable id) and then
|
|
12
|
+
* drop in whichever `<Slice.*>` controls a surface needs — they all stay in
|
|
13
|
+
* sync because they target the same bound handle.
|
|
14
|
+
*
|
|
15
|
+
* Component tags fall into three roles:
|
|
16
|
+
* - **Controls** (`<Slice.Summary>`, `<Slice.Range>`, `<Slice.Filter>`,
|
|
17
|
+
* `<Slice.Breakdown>`, `<Slice.Legend>`, `<Slice.Search>`, `<Slice.Cohort>`)
|
|
18
|
+
* — self-driving widgets that mutate the bound state on interaction; each
|
|
19
|
+
* takes a flat options bag whose only required prop is `slice`.
|
|
20
|
+
* - **Strip** (`<Slice.Rail>`) — the affordance cluster standalone; components
|
|
21
|
+
* with the `slice` chrome option mount the same cluster in their own header.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```tsx
|
|
25
|
+
* // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
|
|
26
|
+
* import { East, StructType, StringType, IntegerType, ArrayType, none } from "@elaraai/east";
|
|
27
|
+
* import { Reactive, Slice, Table, UIComponentType } from "@elaraai/east-ui";
|
|
28
|
+
*
|
|
29
|
+
* const view = East.function([], UIComponentType, _$ => {
|
|
30
|
+
* const EventType = StructType({ scenario: StringType, sessions: IntegerType });
|
|
31
|
+
* const cfg = Slice.config(EventType, {
|
|
32
|
+
* fields: { scenario: { label: "Scenario" }, sessions: { label: "Sessions" } },
|
|
33
|
+
* searchFieldIds: ["scenario"],
|
|
34
|
+
* });
|
|
35
|
+
* return (
|
|
36
|
+
* <Reactive>{$ => {
|
|
37
|
+
* const data = $.const([{ scenario: "v3", sessions: 42n }], ArrayType(EventType));
|
|
38
|
+
* const slice = $.let(Slice.bind([EventType], "ex.slice", cfg, Slice.state(), data, none));
|
|
39
|
+
* const filtered = $.let(Slice.apply.where([EventType], slice.read(), cfg, data));
|
|
40
|
+
* return (
|
|
41
|
+
* <Slice.Frame slice={slice} affordances={["filter", "search"]}>
|
|
42
|
+
* <Table data={filtered} columns={{ scenario: { header: "Scenario" }, sessions: { header: "Sessions" } }} />
|
|
43
|
+
* </Slice.Frame>
|
|
44
|
+
* );
|
|
45
|
+
* }}</Reactive>
|
|
46
|
+
* );
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
* Carries the slice platform alongside the tags: `Slice.config` (declares the
|
|
52
|
+
* fields), `Slice.bind` (binds rows + initial state under a stable id),
|
|
53
|
+
* `Slice.state` (the initial-state builder), `Slice.apply` (the pure
|
|
54
|
+
* narrowing — `Slice.apply.where`, `.breakdown`, …), and `Slice.Types` (every
|
|
55
|
+
* East type: `State`, `Predicate`, `Range`, `Breakdown`, `Cohort`,
|
|
56
|
+
* `SearchMatch`, …). One import from `@elaraai/east-ui` wires the whole
|
|
57
|
+
* surface.
|
|
58
|
+
*/
|
|
59
|
+
import { Slice as SliceFactory } from "../slice/index.js";
|
|
60
|
+
import { type OptionsProps, type JsxTag } from "./combinators.js";
|
|
61
|
+
/** The `<Slice.*>` tag namespace: component tags + the carried platform API. */
|
|
62
|
+
type SliceTags = {
|
|
63
|
+
Summary: JsxTag<OptionsProps<typeof SliceFactory.Summary.Root>>;
|
|
64
|
+
Range: JsxTag<OptionsProps<typeof SliceFactory.Range.Root>>;
|
|
65
|
+
Filter: JsxTag<OptionsProps<typeof SliceFactory.Filter.Root>>;
|
|
66
|
+
Breakdown: JsxTag<OptionsProps<typeof SliceFactory.Breakdown.Root>>;
|
|
67
|
+
Legend: JsxTag<OptionsProps<typeof SliceFactory.Legend.Root>>;
|
|
68
|
+
Search: JsxTag<OptionsProps<typeof SliceFactory.Search.Root>>;
|
|
69
|
+
Cohort: JsxTag<OptionsProps<typeof SliceFactory.Cohort.Root>>;
|
|
70
|
+
Rail: JsxTag<OptionsProps<typeof SliceFactory.Rail.Root>>;
|
|
71
|
+
config: typeof SliceFactory.config;
|
|
72
|
+
bind: typeof SliceFactory.bind;
|
|
73
|
+
rows: typeof SliceFactory.rows;
|
|
74
|
+
state: typeof SliceFactory.state;
|
|
75
|
+
apply: typeof SliceFactory.apply;
|
|
76
|
+
Types: typeof SliceFactory.Types;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* The slice-bound component family + the slice platform. See the namespace
|
|
80
|
+
* doc above for the full surface; each tag below carries its own TypeDoc.
|
|
81
|
+
*/
|
|
82
|
+
export declare const Slice: SliceTags;
|
|
83
|
+
export {};
|
|
84
|
+
//# sourceMappingURL=slice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../src/runtime/slice.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AAEH,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAc,KAAK,YAAY,EAAE,KAAK,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE9E,gFAAgF;AAChF,KAAK,SAAS,GAAG;IACb,OAAO,EAAE,MAAM,CAAC,YAAY,CAAC,OAAO,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;IAChE,KAAK,EAAE,MAAM,CAAC,YAAY,CAAC,OAAO,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;IAC5D,MAAM,EAAE,MAAM,CAAC,YAAY,CAAC,OAAO,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;IAC9D,SAAS,EAAE,MAAM,CAAC,YAAY,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;IACpE,MAAM,EAAE,MAAM,CAAC,YAAY,CAAC,OAAO,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;IAC9D,MAAM,EAAE,MAAM,CAAC,YAAY,CAAC,OAAO,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;IAC9D,MAAM,EAAE,MAAM,CAAC,YAAY,CAAC,OAAO,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;IAC9D,IAAI,EAAE,MAAM,CAAC,YAAY,CAAC,OAAO,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC1D,MAAM,EAAE,OAAO,YAAY,CAAC,MAAM,CAAC;IACnC,IAAI,EAAE,OAAO,YAAY,CAAC,IAAI,CAAC;IAC/B,IAAI,EAAE,OAAO,YAAY,CAAC,IAAI,CAAC;IAC/B,KAAK,EAAE,OAAO,YAAY,CAAC,KAAK,CAAC;IACjC,KAAK,EAAE,OAAO,YAAY,CAAC,KAAK,CAAC;IACjC,KAAK,EAAE,OAAO,YAAY,CAAC,KAAK,CAAC;CACpC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,EAAE,SAyTnB,CAAC"}
|
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* The `<Slice.*>` tag namespace — a family of slice-bound controls that read
|
|
7
|
+
* and write one shared narrowing state, plus the platform that creates and
|
|
8
|
+
* applies it. A *slice* is a typed view over a row collection: a range, a set
|
|
9
|
+
* of filter predicates, a search, a breakdown dimension, and saved cohorts.
|
|
10
|
+
* You build it with the platform members (`Slice.config` declares the fields,
|
|
11
|
+
* `Slice.bind` binds rows + initial `Slice.state` under a stable id) and then
|
|
12
|
+
* drop in whichever `<Slice.*>` controls a surface needs — they all stay in
|
|
13
|
+
* sync because they target the same bound handle.
|
|
14
|
+
*
|
|
15
|
+
* Component tags fall into three roles:
|
|
16
|
+
* - **Controls** (`<Slice.Summary>`, `<Slice.Range>`, `<Slice.Filter>`,
|
|
17
|
+
* `<Slice.Breakdown>`, `<Slice.Legend>`, `<Slice.Search>`, `<Slice.Cohort>`)
|
|
18
|
+
* — self-driving widgets that mutate the bound state on interaction; each
|
|
19
|
+
* takes a flat options bag whose only required prop is `slice`.
|
|
20
|
+
* - **Strip** (`<Slice.Rail>`) — the affordance cluster standalone; components
|
|
21
|
+
* with the `slice` chrome option mount the same cluster in their own header.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```tsx
|
|
25
|
+
* // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
|
|
26
|
+
* import { East, StructType, StringType, IntegerType, ArrayType, none } from "@elaraai/east";
|
|
27
|
+
* import { Reactive, Slice, Table, UIComponentType } from "@elaraai/east-ui";
|
|
28
|
+
*
|
|
29
|
+
* const view = East.function([], UIComponentType, _$ => {
|
|
30
|
+
* const EventType = StructType({ scenario: StringType, sessions: IntegerType });
|
|
31
|
+
* const cfg = Slice.config(EventType, {
|
|
32
|
+
* fields: { scenario: { label: "Scenario" }, sessions: { label: "Sessions" } },
|
|
33
|
+
* searchFieldIds: ["scenario"],
|
|
34
|
+
* });
|
|
35
|
+
* return (
|
|
36
|
+
* <Reactive>{$ => {
|
|
37
|
+
* const data = $.const([{ scenario: "v3", sessions: 42n }], ArrayType(EventType));
|
|
38
|
+
* const slice = $.let(Slice.bind([EventType], "ex.slice", cfg, Slice.state(), data, none));
|
|
39
|
+
* const filtered = $.let(Slice.apply.where([EventType], slice.read(), cfg, data));
|
|
40
|
+
* return (
|
|
41
|
+
* <Slice.Frame slice={slice} affordances={["filter", "search"]}>
|
|
42
|
+
* <Table data={filtered} columns={{ scenario: { header: "Scenario" }, sessions: { header: "Sessions" } }} />
|
|
43
|
+
* </Slice.Frame>
|
|
44
|
+
* );
|
|
45
|
+
* }}</Reactive>
|
|
46
|
+
* );
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
* Carries the slice platform alongside the tags: `Slice.config` (declares the
|
|
52
|
+
* fields), `Slice.bind` (binds rows + initial state under a stable id),
|
|
53
|
+
* `Slice.state` (the initial-state builder), `Slice.apply` (the pure
|
|
54
|
+
* narrowing — `Slice.apply.where`, `.breakdown`, …), and `Slice.Types` (every
|
|
55
|
+
* East type: `State`, `Predicate`, `Range`, `Breakdown`, `Cohort`,
|
|
56
|
+
* `SearchMatch`, …). One import from `@elaraai/east-ui` wires the whole
|
|
57
|
+
* surface.
|
|
58
|
+
*/
|
|
59
|
+
import { Slice as SliceFactory } from "../slice/index.js";
|
|
60
|
+
import { optionsTag } from "./combinators.js";
|
|
61
|
+
/**
|
|
62
|
+
* The slice-bound component family + the slice platform. See the namespace
|
|
63
|
+
* doc above for the full surface; each tag below carries its own TypeDoc.
|
|
64
|
+
*/
|
|
65
|
+
export const Slice = {
|
|
66
|
+
/**
|
|
67
|
+
* One-line `N results · M filters · clear all` status bar bound to a
|
|
68
|
+
* slice. Reach for it as the unobtrusive footer of a slice surface — the
|
|
69
|
+
* result count comes from the rows bound at `Slice.bind`, the filter count
|
|
70
|
+
* from the bound state, and `clear all` resets every predicate. Props are
|
|
71
|
+
* flat ({@link SliceSummaryOptions}); the only required one is `slice`.
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* ```tsx
|
|
75
|
+
* // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
|
|
76
|
+
* import { East, StructType, StringType, IntegerType, ArrayType, variant, none } from "@elaraai/east";
|
|
77
|
+
* import { Reactive, Slice, UIComponentType } from "@elaraai/east-ui";
|
|
78
|
+
*
|
|
79
|
+
* const view = East.function([], UIComponentType, _$ => {
|
|
80
|
+
* const EventType = StructType({ country: StringType, sessions: IntegerType });
|
|
81
|
+
* const cfg = Slice.config(EventType, { fields: { country: { label: "Country" }, sessions: { label: "Sessions" } } });
|
|
82
|
+
* return (
|
|
83
|
+
* <Reactive>{$ => {
|
|
84
|
+
* const data = $.const([{ country: "US", sessions: 42n }], ArrayType(EventType));
|
|
85
|
+
* const slice = $.let(Slice.bind([EventType], "ex.slice.summary", cfg, Slice.state({
|
|
86
|
+
* filters: [variant("integer", { fieldId: "sessions", op: variant("gte", 10n) })],
|
|
87
|
+
* }), data, none));
|
|
88
|
+
* return <Slice.Summary slice={slice} />;
|
|
89
|
+
* }}</Reactive>
|
|
90
|
+
* );
|
|
91
|
+
* });
|
|
92
|
+
* ```
|
|
93
|
+
*
|
|
94
|
+
* @remarks
|
|
95
|
+
* Carries `Slice.Summary.Types` (the `Summary` East type). Desugars to
|
|
96
|
+
* `Slice.Summary.Root(options)`.
|
|
97
|
+
*/
|
|
98
|
+
Summary: optionsTag(SliceFactory.Summary.Root),
|
|
99
|
+
/**
|
|
100
|
+
* A single time-range pill bound to a slice. Click it to open the picker
|
|
101
|
+
* popover with presets (`Today / 7d / 30d / 90d / YTD / Custom…`), an
|
|
102
|
+
* optional compare row, and the resolved window. Use it wherever a surface
|
|
103
|
+
* narrows by a `DateTime` field (the slice's `rangeFieldId`). Props are
|
|
104
|
+
* flat ({@link SliceRangeOptions}); the only required one is `slice`.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* ```tsx
|
|
108
|
+
* // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
|
|
109
|
+
* import { East, StructType, DateTimeType, IntegerType, ArrayType, variant, some, none } from "@elaraai/east";
|
|
110
|
+
* import { Reactive, Slice, UIComponentType } from "@elaraai/east-ui";
|
|
111
|
+
*
|
|
112
|
+
* const view = East.function([], UIComponentType, _$ => {
|
|
113
|
+
* const EventType = StructType({ timestamp: DateTimeType, sessions: IntegerType });
|
|
114
|
+
* const cfg = Slice.config(EventType, {
|
|
115
|
+
* fields: { timestamp: { label: "Time" }, sessions: { label: "Sessions" } },
|
|
116
|
+
* rangeFieldId: "timestamp",
|
|
117
|
+
* });
|
|
118
|
+
* return (
|
|
119
|
+
* <Reactive>{$ => {
|
|
120
|
+
* const data = $.const([{ timestamp: new Date(), sessions: 42n }], ArrayType(EventType));
|
|
121
|
+
* const slice = $.let(Slice.bind([EventType], "ex.slice.range", cfg, Slice.state({
|
|
122
|
+
* range: some(variant("datetimePreset", variant("last30d", null))),
|
|
123
|
+
* }), data, none));
|
|
124
|
+
* return <Slice.Range slice={slice} />;
|
|
125
|
+
* }}</Reactive>
|
|
126
|
+
* );
|
|
127
|
+
* });
|
|
128
|
+
* ```
|
|
129
|
+
*
|
|
130
|
+
* @remarks
|
|
131
|
+
* Carries `Slice.Range.Types` (the `Range` picker East type). Desugars to
|
|
132
|
+
* `Slice.Range.Root(options)`.
|
|
133
|
+
*/
|
|
134
|
+
Range: optionsTag(SliceFactory.Range.Root),
|
|
135
|
+
/**
|
|
136
|
+
* Faceted predicate chips bound to a slice. Each filter in the bound state
|
|
137
|
+
* renders as a chip (field · operator · value) with a remove `×`; the
|
|
138
|
+
* built-in `+ add filter` builder (driven by the slice's fields) appends
|
|
139
|
+
* new predicates with no host wiring. Reach for it as the primary
|
|
140
|
+
* narrowing control of a table surface. Props are flat
|
|
141
|
+
* ({@link SliceFilterOptions}); `density` defaults from the surrounding rail.
|
|
142
|
+
*
|
|
143
|
+
* @example
|
|
144
|
+
* ```tsx
|
|
145
|
+
* // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
|
|
146
|
+
* import { East, StructType, StringType, IntegerType, ArrayType, variant, none } from "@elaraai/east";
|
|
147
|
+
* import { Reactive, Slice, UIComponentType } from "@elaraai/east-ui";
|
|
148
|
+
*
|
|
149
|
+
* const view = East.function([], UIComponentType, _$ => {
|
|
150
|
+
* const EventType = StructType({ scenario: StringType, sessions: IntegerType });
|
|
151
|
+
* const cfg = Slice.config(EventType, {
|
|
152
|
+
* fields: { scenario: { label: "Scenario" }, sessions: { label: "Sessions" } },
|
|
153
|
+
* searchFieldIds: ["scenario"],
|
|
154
|
+
* });
|
|
155
|
+
* return (
|
|
156
|
+
* <Reactive>{$ => {
|
|
157
|
+
* const data = $.const([{ scenario: "v3", sessions: 42n }], ArrayType(EventType));
|
|
158
|
+
* const slice = $.let(Slice.bind([EventType], "ex.slice.filter", cfg, Slice.state({
|
|
159
|
+
* filters: [variant("string", { fieldId: "scenario", op: variant("eq", "v3") })],
|
|
160
|
+
* }), data, none));
|
|
161
|
+
* return <Slice.Filter slice={slice} unit="events" density="compact" />;
|
|
162
|
+
* }}</Reactive>
|
|
163
|
+
* );
|
|
164
|
+
* });
|
|
165
|
+
* ```
|
|
166
|
+
*
|
|
167
|
+
* @remarks
|
|
168
|
+
* Carries `Slice.Filter.Types` (the `Filter` East type). Desugars to
|
|
169
|
+
* `Slice.Filter.Root(options)`.
|
|
170
|
+
*/
|
|
171
|
+
Filter: optionsTag(SliceFactory.Filter.Root),
|
|
172
|
+
/**
|
|
173
|
+
* Split-by-dimension picker bound to a slice. Dimension chips (the fields
|
|
174
|
+
* declared as `breakdownFieldIds`) set the active breakdown — the chosen
|
|
175
|
+
* one is brand-tinted with a remove `×` — and a preview of the resulting
|
|
176
|
+
* series is rendered from the platform-computed groups. Pair it with a
|
|
177
|
+
* a `Chart.Series` layer / `Slice.Legend` to split a chart into series. Props are
|
|
178
|
+
* flat ({@link SliceBreakdownOptions}); `density` defaults from the
|
|
179
|
+
* surrounding `Slice.Frame`.
|
|
180
|
+
*
|
|
181
|
+
* @example
|
|
182
|
+
* ```tsx
|
|
183
|
+
* // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
|
|
184
|
+
* import { East, StructType, StringType, IntegerType, ArrayType, some, none } from "@elaraai/east";
|
|
185
|
+
* import { Reactive, Slice, UIComponentType } from "@elaraai/east-ui";
|
|
186
|
+
*
|
|
187
|
+
* const view = East.function([], UIComponentType, _$ => {
|
|
188
|
+
* const EventType = StructType({ country: StringType, sessions: IntegerType });
|
|
189
|
+
* const cfg = Slice.config(EventType, {
|
|
190
|
+
* fields: { country: { label: "Country" }, sessions: { label: "Sessions" } },
|
|
191
|
+
* breakdownFieldIds: ["country"],
|
|
192
|
+
* });
|
|
193
|
+
* return (
|
|
194
|
+
* <Reactive>{$ => {
|
|
195
|
+
* const data = $.const([{ country: "US", sessions: 12n }], ArrayType(EventType));
|
|
196
|
+
* const slice = $.let(Slice.bind([EventType], "ex.slice.breakdown", cfg, Slice.state({
|
|
197
|
+
* breakdown: some({ fieldId: "country", limit: none }),
|
|
198
|
+
* }), data, none));
|
|
199
|
+
* return <Slice.Breakdown slice={slice} density="compact" />;
|
|
200
|
+
* }}</Reactive>
|
|
201
|
+
* );
|
|
202
|
+
* });
|
|
203
|
+
* ```
|
|
204
|
+
*
|
|
205
|
+
* @remarks
|
|
206
|
+
* Carries `Slice.Breakdown.Types` (the `Breakdown` picker East type).
|
|
207
|
+
* Desugars to `Slice.Breakdown.Root(options)`.
|
|
208
|
+
*/
|
|
209
|
+
Breakdown: optionsTag(SliceFactory.Breakdown.Root),
|
|
210
|
+
/**
|
|
211
|
+
* Inline `swatch · label · count · toggle` rail over the slice's active
|
|
212
|
+
* breakdown series. Toggling a chip flips that group's visibility in the
|
|
213
|
+
* bound state (none hidden ⇒ all visible), and its colours match whatever
|
|
214
|
+
* `Chart.Series` is rendering the same series. Drop it beneath a slice
|
|
215
|
+
* chart to label and gate the series. Props are flat
|
|
216
|
+
* ({@link SliceLegendOptions}); the only required one is `slice`.
|
|
217
|
+
*
|
|
218
|
+
* @example
|
|
219
|
+
* ```tsx
|
|
220
|
+
* // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
|
|
221
|
+
* import { East, StructType, StringType, IntegerType, ArrayType, some, none } from "@elaraai/east";
|
|
222
|
+
* import { Reactive, Slice, UIComponentType } from "@elaraai/east-ui";
|
|
223
|
+
*
|
|
224
|
+
* const view = East.function([], UIComponentType, _$ => {
|
|
225
|
+
* const EventType = StructType({ region: StringType, sessions: IntegerType });
|
|
226
|
+
* const cfg = Slice.config(EventType, {
|
|
227
|
+
* fields: { region: { label: "Region" }, sessions: { label: "Sessions" } },
|
|
228
|
+
* breakdownFieldIds: ["region"],
|
|
229
|
+
* });
|
|
230
|
+
* return (
|
|
231
|
+
* <Reactive>{$ => {
|
|
232
|
+
* const data = $.const([{ region: "EU", sessions: 12n }], ArrayType(EventType));
|
|
233
|
+
* const slice = $.let(Slice.bind([EventType], "ex.slice.legend", cfg, Slice.state({
|
|
234
|
+
* breakdown: some({ fieldId: "region", limit: none }),
|
|
235
|
+
* }), data, none));
|
|
236
|
+
* return <Slice.Legend slice={slice} />;
|
|
237
|
+
* }}</Reactive>
|
|
238
|
+
* );
|
|
239
|
+
* });
|
|
240
|
+
* ```
|
|
241
|
+
*
|
|
242
|
+
* @remarks
|
|
243
|
+
* Carries `Slice.Legend.Types` (the `Legend` East type). Desugars to
|
|
244
|
+
* `Slice.Legend.Root(options)`.
|
|
245
|
+
*/
|
|
246
|
+
Legend: optionsTag(SliceFactory.Legend.Root),
|
|
247
|
+
/**
|
|
248
|
+
* Combobox typeahead over a slice dimension. Typing drives the bound
|
|
249
|
+
* search state; suggestions come from the rows the bind projects through
|
|
250
|
+
* its `toMatch` function (so this control needs a slice bound with a
|
|
251
|
+
* `toMatch`), and selecting a suggestion commits it. Use it for
|
|
252
|
+
* find-by-id / find-by-name narrowing. Props are flat
|
|
253
|
+
* ({@link SliceSearchOptions}); `density` defaults from the surrounding rail.
|
|
254
|
+
*
|
|
255
|
+
* @example
|
|
256
|
+
* ```tsx
|
|
257
|
+
* // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
|
|
258
|
+
* import { East, StructType, StringType, ArrayType, some } from "@elaraai/east";
|
|
259
|
+
* import { Reactive, Slice, UIComponentType } from "@elaraai/east-ui";
|
|
260
|
+
*
|
|
261
|
+
* const view = East.function([], UIComponentType, _$ => {
|
|
262
|
+
* const EventType = StructType({ sku: StringType, name: StringType, note: StringType });
|
|
263
|
+
* const cfg = Slice.config(EventType, {
|
|
264
|
+
* fields: { sku: { label: "SKU" }, name: { label: "Name" }, note: { label: "Note" } },
|
|
265
|
+
* searchFieldIds: ["sku"],
|
|
266
|
+
* });
|
|
267
|
+
* return (
|
|
268
|
+
* <Reactive>{$ => {
|
|
269
|
+
* const data = $.const([{ sku: "SKU-001", name: "Industrial fan", note: "spike" }], ArrayType(EventType));
|
|
270
|
+
* const toMatch = $.const(East.function([EventType], Slice.Types.SearchMatch, ($, r) =>
|
|
271
|
+
* ({ id: r.sku, label: r.name, meta: some(r.note) })));
|
|
272
|
+
* const slice = $.let(Slice.bind([EventType], "ex.slice.search", cfg, Slice.state({
|
|
273
|
+
* search: some("SKU-001"),
|
|
274
|
+
* }), data, some(toMatch)));
|
|
275
|
+
* return <Slice.Search slice={slice} density="compact" />;
|
|
276
|
+
* }}</Reactive>
|
|
277
|
+
* );
|
|
278
|
+
* });
|
|
279
|
+
* ```
|
|
280
|
+
*
|
|
281
|
+
* @remarks
|
|
282
|
+
* Carries `Slice.Search.Types` (`Search`, the `Match` row-projection
|
|
283
|
+
* struct, and the `Matches` array). Desugars to
|
|
284
|
+
* `Slice.Search.Root(options)`.
|
|
285
|
+
*/
|
|
286
|
+
Search: optionsTag(SliceFactory.Search.Root),
|
|
287
|
+
/**
|
|
288
|
+
* Saved-segment chips bound to a slice. Each cohort in the bound state is a
|
|
289
|
+
* named bundle of AND-ed predicates rendered as a chip (active ones
|
|
290
|
+
* brand-tinted with a remove `×`); toggling one applies it. The focused
|
|
291
|
+
* cohort's clauses expand into a detail block with Edit / Apply / Remove,
|
|
292
|
+
* captioned with the author / freshness / re-evaluation meta you pass.
|
|
293
|
+
* Use it to let people save and recall named segments. Props are flat
|
|
294
|
+
* ({@link SliceCohortOptions}); the only required one is `slice`.
|
|
295
|
+
*
|
|
296
|
+
* @example
|
|
297
|
+
* ```tsx
|
|
298
|
+
* // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
|
|
299
|
+
* import { East, StructType, StringType, IntegerType, ArrayType, variant, none } from "@elaraai/east";
|
|
300
|
+
* import { Reactive, Slice, UIComponentType } from "@elaraai/east-ui";
|
|
301
|
+
*
|
|
302
|
+
* const view = East.function([], UIComponentType, _$ => {
|
|
303
|
+
* const EventType = StructType({ sessions: IntegerType, plan_tier: StringType });
|
|
304
|
+
* const cfg = Slice.config(EventType, {
|
|
305
|
+
* fields: { sessions: { label: "Sessions" }, plan_tier: { label: "Plan tier" } },
|
|
306
|
+
* searchFieldIds: ["plan_tier"],
|
|
307
|
+
* });
|
|
308
|
+
* return (
|
|
309
|
+
* <Reactive>{$ => {
|
|
310
|
+
* const data = $.const([{ sessions: 18n, plan_tier: "pro" }], ArrayType(EventType));
|
|
311
|
+
* const slice = $.let(Slice.bind([EventType], "ex.slice.cohort", cfg, Slice.state({
|
|
312
|
+
* cohorts: [{ id: "power-users", name: "Power users", filters: [
|
|
313
|
+
* variant("integer", { fieldId: "sessions", op: variant("gte", 10n) }),
|
|
314
|
+
* ] }],
|
|
315
|
+
* activeCohorts: new Set(["power-users"]),
|
|
316
|
+
* }), data, none));
|
|
317
|
+
* return <Slice.Cohort slice={slice} createdBy="d.park" reevaluateEvery="every 10 min" />;
|
|
318
|
+
* }}</Reactive>
|
|
319
|
+
* );
|
|
320
|
+
* });
|
|
321
|
+
* ```
|
|
322
|
+
*
|
|
323
|
+
* @remarks
|
|
324
|
+
* Carries `Slice.Cohort.Types` (the `Cohort` picker East type). Desugars
|
|
325
|
+
* to `Slice.Cohort.Root(options)`.
|
|
326
|
+
*/
|
|
327
|
+
Cohort: optionsTag(SliceFactory.Cohort.Root),
|
|
328
|
+
/**
|
|
329
|
+
* The slice affordance cluster as a standalone strip — one row that never
|
|
330
|
+
* wraps, compressing along the chip ladder (whole chips → `+M more` within
|
|
331
|
+
* a family → family count chips → one `N narrowed` chip); under
|
|
332
|
+
* compression every chip opens the sectioned `Slice.Edit` popover floating
|
|
333
|
+
* over whatever sits below. Place it above components reading
|
|
334
|
+
* `Slice.rows([RowType], slice)` and the rail narrows them all — the new
|
|
335
|
+
* composition model: data flows explicitly, chrome sits where the author
|
|
336
|
+
* puts it. Props are flat ({@link SliceRailOptions}).
|
|
337
|
+
*
|
|
338
|
+
* @example
|
|
339
|
+
* ```tsx
|
|
340
|
+
* // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
|
|
341
|
+
* import { East, StructType, StringType, IntegerType, ArrayType, none } from "@elaraai/east";
|
|
342
|
+
* import { Reactive, Slice, Table, UIComponentType, VStack } from "@elaraai/east-ui";
|
|
343
|
+
*
|
|
344
|
+
* const view = East.function([], UIComponentType, _$ => {
|
|
345
|
+
* const EventType = StructType({ scenario: StringType, sessions: IntegerType });
|
|
346
|
+
* const cfg = Slice.config(EventType, {
|
|
347
|
+
* fields: { scenario: { label: "Scenario" }, sessions: { label: "Sessions" } },
|
|
348
|
+
* searchFieldIds: ["scenario"],
|
|
349
|
+
* });
|
|
350
|
+
* return (
|
|
351
|
+
* <Reactive>{$ => {
|
|
352
|
+
* const data = $.const([{ scenario: "v3", sessions: 42n }], ArrayType(EventType));
|
|
353
|
+
* const slice = $.let(Slice.bind([EventType], "ex.slice.rail", cfg, Slice.state(), data, none));
|
|
354
|
+
* const narrowed = $.let(Slice.rows([EventType], slice));
|
|
355
|
+
* return (
|
|
356
|
+
* <VStack gap="3" align="stretch">
|
|
357
|
+
* <Slice.Rail slice={slice} affordances={["filter", "search"]} />
|
|
358
|
+
* <Table data={narrowed} columns={{ scenario: { header: "Scenario" }, sessions: { header: "Sessions" } }} />
|
|
359
|
+
* </VStack>
|
|
360
|
+
* );
|
|
361
|
+
* }}</Reactive>
|
|
362
|
+
* );
|
|
363
|
+
* });
|
|
364
|
+
* ```
|
|
365
|
+
*
|
|
366
|
+
* @remarks
|
|
367
|
+
* Desugars to `Slice.Rail.Root(options)`. Components that take a `slice`
|
|
368
|
+
* chrome option mount this same rail inside their own header.
|
|
369
|
+
*/
|
|
370
|
+
Rail: optionsTag(SliceFactory.Rail.Root),
|
|
371
|
+
config: SliceFactory.config,
|
|
372
|
+
bind: SliceFactory.bind,
|
|
373
|
+
/** Narrowed rows for a bound slice — the typed data feed (`Slice.rows([RowType], slice)`). */
|
|
374
|
+
rows: SliceFactory.rows,
|
|
375
|
+
state: SliceFactory.state,
|
|
376
|
+
apply: SliceFactory.apply,
|
|
377
|
+
Types: SliceFactory.Types,
|
|
378
|
+
};
|
|
379
|
+
//# sourceMappingURL=slice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slice.js","sourceRoot":"","sources":["../../../src/runtime/slice.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AAEH,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAkC,MAAM,kBAAkB,CAAC;AAoB9E;;;GAGG;AACH,MAAM,CAAC,MAAM,KAAK,GAAc;IAC5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;IACH,OAAO,EAAE,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC;IAC9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,KAAK,EAAE,UAAU,CAAC,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;IACH,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC;IAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,SAAS,EAAE,UAAU,CAAC,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC;IAClD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;IACH,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC;IAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsCG;IACH,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC;IAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IACH,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC;IAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyCG;IACH,IAAI,EAAE,UAAU,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC;IACxC,MAAM,EAAE,YAAY,CAAC,MAAM;IAC3B,IAAI,EAAE,YAAY,CAAC,IAAI;IACvB,8FAA8F;IAC9F,IAAI,EAAE,YAAY,CAAC,IAAI;IACvB,KAAK,EAAE,YAAY,CAAC,KAAK;IACzB,KAAK,EAAE,YAAY,CAAC,KAAK;IACzB,KAAK,EAAE,YAAY,CAAC,KAAK;CAC5B,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Typography tag for a fenced, multi-line code block — a self-contained
|
|
7
|
+
* source listing with optional syntax highlighting, line numbers, line
|
|
8
|
+
* emphasis, and a scroll cap. For a short inline span use `<Code>`.
|
|
9
|
+
*/
|
|
10
|
+
import { CodeBlock as CodeBlockFactory } from "../../typography/code-block/index.js";
|
|
11
|
+
import { type ContentProps, type JsxTag } from "../combinators.js";
|
|
12
|
+
/**
|
|
13
|
+
* Fenced code block — a multi-line source listing. The code string is the
|
|
14
|
+
* single child; set `language` for syntax highlighting, `showLineNumbers`,
|
|
15
|
+
* `highlightLines` to emphasise rows, `title`, and `maxHeight` to make it
|
|
16
|
+
* scrollable, all via flat props ({@link CodeBlockStyle}).
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```tsx
|
|
20
|
+
* // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
|
|
21
|
+
* import { East } from "@elaraai/east";
|
|
22
|
+
* import { CodeBlock, UIComponentType } from "@elaraai/east-ui";
|
|
23
|
+
*
|
|
24
|
+
* const listing = East.function([], UIComponentType, _$ => (
|
|
25
|
+
* <CodeBlock language="typescript" showLineNumbers highlightLines={[4n]}>
|
|
26
|
+
* {"function calculate() {\n\tconst a = 10;\n\tconst b = 20;\n\treturn a + b;\n}"}
|
|
27
|
+
* </CodeBlock>
|
|
28
|
+
* ));
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
* Carries `CodeBlock.Types` — the East data type and style struct.
|
|
33
|
+
* Desugars to `CodeBlock.Root(code, options)`.
|
|
34
|
+
*/
|
|
35
|
+
export declare const CodeBlock: JsxTag<ContentProps<typeof CodeBlockFactory.Root>> & {
|
|
36
|
+
Types: typeof CodeBlockFactory.Types;
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=code-block.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code-block.d.ts","sourceRoot":"","sources":["../../../../src/runtime/typography/code-block.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;GAIG;AAEH,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACrF,OAAO,EAAW,KAAK,YAAY,EAAE,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE5E;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,YAAY,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,CAAC,GAAG;IAAE,KAAK,EAAE,OAAO,gBAAgB,CAAC,KAAK,CAAA;CAC/B,CAAC"}
|