@accelint/design-toolkit 9.9.1 → 9.10.0
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/catalog-info.yaml +3 -3
- package/dist/components/accordion/group.d.ts +2 -2
- package/dist/components/accordion/header.d.ts +2 -2
- package/dist/components/accordion/index.d.ts +2 -2
- package/dist/components/accordion/panel.d.ts +2 -2
- package/dist/components/accordion/styles.module.css +19 -3
- package/dist/components/accordion/trigger.d.ts +2 -2
- package/dist/components/action-bar/index.d.ts +2 -2
- package/dist/components/audio/index.d.ts +2 -2
- package/dist/components/avatar/context.d.ts +4 -4
- package/dist/components/avatar/index.d.ts +2 -2
- package/dist/components/badge/context.d.ts +4 -4
- package/dist/components/badge/index.d.ts +2 -2
- package/dist/components/breadcrumbs/index.d.ts +2 -2
- package/dist/components/breadcrumbs/item.d.ts +2 -2
- package/dist/components/button/context.d.ts +8 -8
- package/dist/components/button/index.d.ts +2 -2
- package/dist/components/button/link.d.ts +2 -2
- package/dist/components/button/styles.module.css +16 -0
- package/dist/components/button/toggle.d.ts +2 -2
- package/dist/components/carousel/context.d.ts +40 -0
- package/dist/components/carousel/context.js +55 -0
- package/dist/components/carousel/context.js.map +1 -0
- package/dist/components/carousel/gallery.d.ts +38 -0
- package/dist/components/carousel/gallery.js +84 -0
- package/dist/components/carousel/gallery.js.map +1 -0
- package/dist/components/carousel/index.d.ts +56 -0
- package/dist/components/carousel/index.js +66 -0
- package/dist/components/carousel/index.js.map +1 -0
- package/dist/components/carousel/navigation.d.ts +51 -0
- package/dist/components/carousel/navigation.js +82 -0
- package/dist/components/carousel/navigation.js.map +1 -0
- package/dist/components/carousel/position.d.ts +33 -0
- package/dist/components/carousel/position.js +48 -0
- package/dist/components/carousel/position.js.map +1 -0
- package/dist/components/carousel/select.d.ts +38 -0
- package/dist/components/carousel/select.js +69 -0
- package/dist/components/carousel/select.js.map +1 -0
- package/dist/components/carousel/style.module.css +62 -0
- package/dist/components/carousel/types.d.ts +87 -0
- package/dist/components/carousel/types.js +12 -0
- package/dist/components/carousel/viewer.d.ts +40 -0
- package/dist/components/carousel/viewer.js +75 -0
- package/dist/components/carousel/viewer.js.map +1 -0
- package/dist/components/checkbox/context.d.ts +3 -3
- package/dist/components/checkbox/group.d.ts +2 -2
- package/dist/components/checkbox/group.js +1 -1
- package/dist/components/checkbox/index.d.ts +2 -2
- package/dist/components/chip/context.d.ts +4 -4
- package/dist/components/chip/deletable.d.ts +2 -2
- package/dist/components/chip/index.d.ts +2 -2
- package/dist/components/chip/list.d.ts +4 -4
- package/dist/components/chip/selectable.d.ts +2 -2
- package/dist/components/classification-badge/context.d.ts +4 -4
- package/dist/components/classification-badge/index.d.ts +2 -2
- package/dist/components/classification-banner/context.d.ts +4 -4
- package/dist/components/classification-banner/index.d.ts +2 -2
- package/dist/components/clock/index.d.ts +2 -2
- package/dist/components/color-picker/index.d.ts +2 -2
- package/dist/components/combobox-field/context.d.ts +4 -4
- package/dist/components/combobox-field/index.d.ts +2 -2
- package/dist/components/combobox-field/index.js +1 -1
- package/dist/components/combobox-field/styles.module.css +12 -0
- package/dist/components/coordinate-field/context.d.ts +6 -6
- package/dist/components/coordinate-field/index.d.ts +2 -2
- package/dist/components/coordinate-field/segment.d.ts +2 -2
- package/dist/components/date-field/index.d.ts +2 -2
- package/dist/components/deferred-collection/index.d.ts +2 -2
- package/dist/components/details-list/context.d.ts +4 -4
- package/dist/components/details-list/index.d.ts +2 -2
- package/dist/components/details-list/label.d.ts +2 -2
- package/dist/components/details-list/value.d.ts +2 -2
- package/dist/components/dialog/content.d.ts +2 -2
- package/dist/components/dialog/context.d.ts +2 -2
- package/dist/components/dialog/footer.d.ts +2 -2
- package/dist/components/dialog/index.d.ts +2 -2
- package/dist/components/dialog/styles.module.css +23 -0
- package/dist/components/dialog/title.d.ts +2 -2
- package/dist/components/divider/context.d.ts +4 -4
- package/dist/components/divider/index.d.ts +2 -2
- package/dist/components/drawer/back.d.ts +2 -2
- package/dist/components/drawer/close.d.ts +2 -2
- package/dist/components/drawer/content.d.ts +2 -2
- package/dist/components/drawer/context.d.ts +2 -2
- package/dist/components/drawer/footer.d.ts +2 -2
- package/dist/components/drawer/header-title.d.ts +2 -2
- package/dist/components/drawer/header.d.ts +2 -2
- package/dist/components/drawer/index.d.ts +2 -2
- package/dist/components/drawer/layout-main.d.ts +2 -2
- package/dist/components/drawer/layout.d.ts +2 -2
- package/dist/components/drawer/menu-item.d.ts +2 -2
- package/dist/components/drawer/menu.d.ts +2 -2
- package/dist/components/drawer/panel.d.ts +2 -2
- package/dist/components/drawer/styles.module.css +54 -2
- package/dist/components/drawer/trigger.d.ts +2 -2
- package/dist/components/drawer/view.d.ts +2 -2
- package/dist/components/flashcard/index.d.ts +9 -9
- package/dist/components/floating-card/context.d.ts +37 -5
- package/dist/components/floating-card/context.js +18 -3
- package/dist/components/floating-card/context.js.map +1 -1
- package/dist/components/floating-card/index.d.ts +53 -3
- package/dist/components/floating-card/index.js +41 -11
- package/dist/components/floating-card/index.js.map +1 -1
- package/dist/components/floating-card/provider.d.ts +94 -17
- package/dist/components/floating-card/provider.js +116 -20
- package/dist/components/floating-card/provider.js.map +1 -1
- package/dist/components/floating-card/styles.module.css +5 -0
- package/dist/components/gantt/components/base-elements/point.d.ts +28 -0
- package/dist/components/gantt/components/base-elements/point.js +44 -0
- package/dist/components/gantt/components/base-elements/point.js.map +1 -0
- package/dist/components/gantt/components/base-elements/range.d.ts +30 -0
- package/dist/components/gantt/components/base-elements/range.js +51 -0
- package/dist/components/gantt/components/base-elements/range.js.map +1 -0
- package/dist/components/gantt/components/base-elements/use-point-element-layout/index.d.ts +12 -0
- package/dist/components/gantt/components/base-elements/use-point-element-layout/index.js +42 -0
- package/dist/components/gantt/components/base-elements/use-point-element-layout/index.js.map +1 -0
- package/dist/components/gantt/components/base-elements/use-range-element-layout/index.d.ts +23 -0
- package/dist/components/gantt/components/base-elements/use-range-element-layout/index.js +50 -0
- package/dist/components/gantt/components/base-elements/use-range-element-layout/index.js.map +1 -0
- package/dist/components/gantt/components/containers/external/gantt-content-container/index.d.ts +23 -0
- package/dist/components/gantt/components/containers/external/gantt-content-container/index.js +40 -0
- package/dist/components/gantt/components/containers/external/gantt-content-container/index.js.map +1 -0
- package/dist/components/gantt/components/containers/external/gantt-panel-container/index.d.ts +23 -0
- package/dist/components/gantt/components/containers/external/gantt-panel-container/index.js +33 -0
- package/dist/components/gantt/components/containers/external/gantt-panel-container/index.js.map +1 -0
- package/dist/components/gantt/components/containers/external/styles.module.css +32 -0
- package/dist/components/gantt/components/containers/internal/index.d.ts +22 -0
- package/dist/components/gantt/components/containers/internal/index.js +35 -0
- package/dist/components/gantt/components/containers/internal/index.js.map +1 -0
- package/dist/components/gantt/components/containers/internal/layout-container/index.d.ts +22 -0
- package/dist/components/gantt/components/containers/internal/layout-container/index.js +27 -0
- package/dist/components/gantt/components/containers/internal/layout-container/index.js.map +1 -0
- package/dist/components/gantt/components/containers/internal/styles.module.css +35 -0
- package/dist/components/gantt/components/containers/internal/virtualized-content-height-container/index.d.ts +22 -0
- package/dist/components/gantt/components/containers/internal/virtualized-content-height-container/index.js +38 -0
- package/dist/components/gantt/components/containers/internal/virtualized-content-height-container/index.js.map +1 -0
- package/dist/components/gantt/components/content-row/block.d.ts +27 -0
- package/dist/components/gantt/components/content-row/block.js +39 -0
- package/dist/components/gantt/components/content-row/block.js.map +1 -0
- package/dist/components/gantt/components/content-row/bracket.d.ts +23 -0
- package/dist/components/gantt/components/content-row/bracket.js +48 -0
- package/dist/components/gantt/components/content-row/bracket.js.map +1 -0
- package/dist/components/gantt/components/content-row/icon-marker.d.ts +27 -0
- package/dist/components/gantt/components/content-row/icon-marker.js +41 -0
- package/dist/components/gantt/components/content-row/icon-marker.js.map +1 -0
- package/dist/components/gantt/components/content-row/index.d.ts +24 -0
- package/dist/components/gantt/components/content-row/index.js +32 -0
- package/dist/components/gantt/components/content-row/index.js.map +1 -0
- package/dist/components/gantt/components/content-row/marker.d.ts +21 -0
- package/dist/components/gantt/components/content-row/marker.js +35 -0
- package/dist/components/gantt/components/content-row/marker.js.map +1 -0
- package/dist/components/gantt/components/content-row/spacer.d.ts +23 -0
- package/dist/components/gantt/components/content-row/spacer.js +35 -0
- package/dist/components/gantt/components/content-row/spacer.js.map +1 -0
- package/dist/components/gantt/components/content-row/styles.module.css +198 -0
- package/dist/components/gantt/components/content-row/use-elapsed-percentage/index.d.ts +19 -0
- package/dist/components/gantt/components/content-row/use-elapsed-percentage/index.js +27 -0
- package/dist/components/gantt/components/content-row/use-elapsed-percentage/index.js.map +1 -0
- package/dist/components/gantt/components/content-row/use-is-elapsed/index.d.ts +10 -0
- package/dist/components/gantt/components/content-row/use-is-elapsed/index.js +24 -0
- package/dist/components/gantt/components/content-row/use-is-elapsed/index.js.map +1 -0
- package/dist/components/gantt/components/current-time/index.d.ts +28 -0
- package/dist/components/gantt/components/current-time/index.js +63 -0
- package/dist/components/gantt/components/current-time/index.js.map +1 -0
- package/dist/components/gantt/components/current-time/styles.module.css +42 -0
- package/dist/components/gantt/components/current-time/use-current-time-layout/index.d.ts +31 -0
- package/dist/components/gantt/components/current-time/use-current-time-layout/index.js +58 -0
- package/dist/components/gantt/components/current-time/use-current-time-layout/index.js.map +1 -0
- package/dist/components/gantt/components/header/index.d.ts +25 -0
- package/dist/components/gantt/components/header/index.js +41 -0
- package/dist/components/gantt/components/header/index.js.map +1 -0
- package/dist/components/gantt/components/header/styles.module.css +23 -0
- package/dist/components/gantt/components/panel-row/index.d.ts +24 -0
- package/dist/components/gantt/components/panel-row/index.js +33 -0
- package/dist/components/gantt/components/panel-row/index.js.map +1 -0
- package/dist/components/gantt/components/panel-row/styles.module.css +24 -0
- package/dist/components/gantt/components/rows-virtualizer/index.d.ts +25 -0
- package/dist/components/gantt/components/rows-virtualizer/index.js +67 -0
- package/dist/components/gantt/components/rows-virtualizer/index.js.map +1 -0
- package/dist/components/gantt/components/rows-virtualizer/styles.module.css +30 -0
- package/dist/components/gantt/components/rows-virtualizer/use-rendered-rows/index.d.ts +29 -0
- package/dist/components/gantt/components/rows-virtualizer/use-rendered-rows/index.js +57 -0
- package/dist/components/gantt/components/rows-virtualizer/use-rendered-rows/index.js.map +1 -0
- package/dist/components/gantt/components/rows-virtualizer/use-scroll-sync/index.d.ts +10 -0
- package/dist/components/gantt/components/rows-virtualizer/use-scroll-sync/index.js +58 -0
- package/dist/components/gantt/components/rows-virtualizer/use-scroll-sync/index.js.map +1 -0
- package/dist/components/gantt/components/styles.module.css +46 -0
- package/dist/components/gantt/components/timeline/index.d.ts +19 -0
- package/dist/components/gantt/components/timeline/index.js +45 -0
- package/dist/components/gantt/components/timeline/index.js.map +1 -0
- package/dist/components/gantt/components/timeline/use-timeline-transform/index.d.ts +29 -0
- package/dist/components/gantt/components/timeline/use-timeline-transform/index.js +33 -0
- package/dist/components/gantt/components/timeline/use-timeline-transform/index.js.map +1 -0
- package/dist/components/gantt/components/timeline-chunk/index.d.ts +25 -0
- package/dist/components/gantt/components/timeline-chunk/index.js +43 -0
- package/dist/components/gantt/components/timeline-chunk/index.js.map +1 -0
- package/dist/components/gantt/constants.d.ts +31 -0
- package/dist/components/gantt/constants.js +57 -0
- package/dist/components/gantt/constants.js.map +1 -0
- package/dist/components/gantt/context/index.d.ts +60 -0
- package/dist/components/gantt/context/index.js +78 -0
- package/dist/components/gantt/context/index.js.map +1 -0
- package/dist/components/gantt/context/store/index.d.ts +45 -0
- package/dist/components/gantt/context/store/index.js +42 -0
- package/dist/components/gantt/context/store/index.js.map +1 -0
- package/dist/components/gantt/context/temporal-data/index.d.ts +48 -0
- package/dist/components/gantt/context/temporal-data/index.js +80 -0
- package/dist/components/gantt/context/temporal-data/index.js.map +1 -0
- package/dist/components/gantt/gantt.d.ts +50 -0
- package/dist/components/gantt/gantt.js +51 -0
- package/dist/components/gantt/gantt.js.map +1 -0
- package/dist/components/gantt/hooks/use-horizontal-scroll-update/index.d.ts +22 -0
- package/dist/components/gantt/hooks/use-horizontal-scroll-update/index.js +36 -0
- package/dist/components/gantt/hooks/use-horizontal-scroll-update/index.js.map +1 -0
- package/dist/components/gantt/hooks/use-layout-subscription/index.d.ts +26 -0
- package/dist/components/gantt/hooks/use-layout-subscription/index.js +45 -0
- package/dist/components/gantt/hooks/use-layout-subscription/index.js.map +1 -0
- package/dist/components/gantt/hooks/use-resize-intersection-effect/index.d.ts +26 -0
- package/dist/components/gantt/hooks/use-resize-intersection-effect/index.js +50 -0
- package/dist/components/gantt/hooks/use-resize-intersection-effect/index.js.map +1 -0
- package/dist/components/gantt/hooks/use-root-element-height/index.d.ts +5 -0
- package/dist/components/gantt/hooks/use-root-element-height/index.js +24 -0
- package/dist/components/gantt/hooks/use-root-element-height/index.js.map +1 -0
- package/dist/components/gantt/hooks/use-scrollbar-height/index.d.ts +5 -0
- package/dist/components/gantt/hooks/use-scrollbar-height/index.js +40 -0
- package/dist/components/gantt/hooks/use-scrollbar-height/index.js.map +1 -0
- package/dist/components/gantt/hooks/use-total-data-region-thresholds/index.d.ts +19 -0
- package/dist/components/gantt/hooks/use-total-data-region-thresholds/index.js +87 -0
- package/dist/components/gantt/hooks/use-total-data-region-thresholds/index.js.map +1 -0
- package/dist/components/gantt/hooks/use-vertical-scroll-update/index.d.ts +22 -0
- package/dist/components/gantt/hooks/use-vertical-scroll-update/index.js +38 -0
- package/dist/components/gantt/hooks/use-vertical-scroll-update/index.js.map +1 -0
- package/dist/components/gantt/public-types.d.ts +31 -0
- package/dist/components/gantt/public-types.js +12 -0
- package/dist/components/gantt/store.d.ts +51 -0
- package/dist/components/gantt/store.js +46 -0
- package/dist/components/gantt/store.js.map +1 -0
- package/dist/components/gantt/styles.module.css +30 -0
- package/dist/components/gantt/types.d.ts +67 -0
- package/dist/components/gantt/types.js +12 -0
- package/dist/components/gantt/utils/conversions.d.ts +23 -0
- package/dist/components/gantt/utils/conversions.js +34 -0
- package/dist/components/gantt/utils/conversions.js.map +1 -0
- package/dist/components/gantt/utils/dates.d.ts +11 -0
- package/dist/components/gantt/utils/dates.js +41 -0
- package/dist/components/gantt/utils/dates.js.map +1 -0
- package/dist/components/gantt/utils/formatting.d.ts +5 -0
- package/dist/components/gantt/utils/formatting.js +54 -0
- package/dist/components/gantt/utils/formatting.js.map +1 -0
- package/dist/components/gantt/utils/generation.d.ts +19 -0
- package/dist/components/gantt/utils/generation.js +37 -0
- package/dist/components/gantt/utils/generation.js.map +1 -0
- package/dist/components/gantt/utils/helpers.d.ts +26 -0
- package/dist/components/gantt/utils/helpers.js +55 -0
- package/dist/components/gantt/utils/helpers.js.map +1 -0
- package/dist/components/gantt/utils/layout.d.ts +32 -0
- package/dist/components/gantt/utils/layout.js +55 -0
- package/dist/components/gantt/utils/layout.js.map +1 -0
- package/dist/components/gantt/utils/thresholds.d.ts +52 -0
- package/dist/components/gantt/utils/thresholds.js +116 -0
- package/dist/components/gantt/utils/thresholds.js.map +1 -0
- package/dist/components/hero/context.d.ts +2 -2
- package/dist/components/hero/index.d.ts +2 -2
- package/dist/components/hero/subtitle.d.ts +3 -3
- package/dist/components/hero/title.d.ts +2 -2
- package/dist/components/hotkey/context.d.ts +4 -4
- package/dist/components/hotkey/index.d.ts +2 -2
- package/dist/components/hotkey/set.d.ts +2 -2
- package/dist/components/icon/context.d.ts +4 -4
- package/dist/components/icon/index.d.ts +2 -2
- package/dist/components/input/context.d.ts +2 -2
- package/dist/components/input/index.d.ts +2 -2
- package/dist/components/kanban/card-body.d.ts +2 -2
- package/dist/components/kanban/card-header-actions.d.ts +2 -2
- package/dist/components/kanban/card-header-title.d.ts +2 -2
- package/dist/components/kanban/card-header.d.ts +2 -2
- package/dist/components/kanban/card.d.ts +2 -2
- package/dist/components/kanban/column-actions.d.ts +2 -2
- package/dist/components/kanban/column-container.d.ts +2 -2
- package/dist/components/kanban/column-content.d.ts +2 -2
- package/dist/components/kanban/column-header-actions.d.ts +2 -2
- package/dist/components/kanban/column-header-drag-handle.d.ts +2 -2
- package/dist/components/kanban/column-header-title.d.ts +2 -2
- package/dist/components/kanban/column-header.d.ts +2 -2
- package/dist/components/kanban/column.d.ts +2 -2
- package/dist/components/kanban/context.d.ts +2 -2
- package/dist/components/kanban/header-actions.d.ts +2 -2
- package/dist/components/kanban/header-search.d.ts +2 -2
- package/dist/components/kanban/header-title.d.ts +2 -2
- package/dist/components/kanban/header.d.ts +2 -2
- package/dist/components/kanban/kanban.d.ts +4 -4
- package/dist/components/kanban/styles.module.css +5 -0
- package/dist/components/label/context.d.ts +4 -4
- package/dist/components/label/index.d.ts +2 -2
- package/dist/components/lines/index.d.ts +2 -2
- package/dist/components/link/context.d.ts +2 -2
- package/dist/components/link/index.d.ts +2 -2
- package/dist/components/list/context.d.ts +2 -2
- package/dist/components/list/index.d.ts +2 -2
- package/dist/components/list/item-content.d.ts +2 -2
- package/dist/components/list/item-description.d.ts +2 -2
- package/dist/components/list/item-title.d.ts +2 -2
- package/dist/components/list/item.d.ts +2 -2
- package/dist/components/media-controls/context.d.ts +4 -4
- package/dist/components/media-controls/fullscreen-button.d.ts +2 -2
- package/dist/components/media-controls/index.d.ts +2 -2
- package/dist/components/media-controls/play-button.d.ts +2 -2
- package/dist/components/media-controls/playback-rate.d.ts +2 -2
- package/dist/components/media-controls/seek-button.d.ts +2 -2
- package/dist/components/media-controls/time-display.d.ts +2 -2
- package/dist/components/media-controls/time-range.d.ts +2 -2
- package/dist/components/media-controls/volume-slider.d.ts +2 -2
- package/dist/components/menu/context.d.ts +2 -2
- package/dist/components/menu/index.d.ts +2 -2
- package/dist/components/menu/item-description.d.ts +2 -2
- package/dist/components/menu/item-label.d.ts +2 -2
- package/dist/components/menu/item.d.ts +2 -2
- package/dist/components/menu/section.d.ts +2 -2
- package/dist/components/menu/separator.d.ts +2 -2
- package/dist/components/menu/styles.module.css +12 -0
- package/dist/components/menu/submenu.d.ts +3 -3
- package/dist/components/notice/index.d.ts +2 -2
- package/dist/components/notice/index.js +1 -0
- package/dist/components/notice/index.js.map +1 -1
- package/dist/components/notice/list.js +10 -1
- package/dist/components/notice/list.js.map +1 -1
- package/dist/components/notice/styles.module.css +27 -0
- package/dist/components/options/context.d.ts +2 -2
- package/dist/components/options/index.d.ts +2 -2
- package/dist/components/options/item-content.d.ts +2 -2
- package/dist/components/options/item-description.d.ts +2 -2
- package/dist/components/options/item-label.d.ts +2 -2
- package/dist/components/options/item.d.ts +2 -2
- package/dist/components/options/section.d.ts +2 -2
- package/dist/components/pagination/context.d.ts +2 -2
- package/dist/components/pagination/index.d.ts +2 -2
- package/dist/components/pagination/next.d.ts +2 -2
- package/dist/components/pagination/pages.d.ts +2 -2
- package/dist/components/pagination/prev.d.ts +2 -2
- package/dist/components/popover/content.d.ts +2 -2
- package/dist/components/popover/footer.d.ts +2 -2
- package/dist/components/popover/index.d.ts +2 -2
- package/dist/components/popover/styles.module.css +34 -0
- package/dist/components/popover/title.d.ts +2 -2
- package/dist/components/popover/trigger.d.ts +2 -2
- package/dist/components/query-builder/action-element.d.ts +2 -2
- package/dist/components/query-builder/actions.d.ts +4 -4
- package/dist/components/query-builder/combinator-selector.d.ts +2 -2
- package/dist/components/query-builder/index.d.ts +2 -2
- package/dist/components/query-builder/rule-group.d.ts +4 -4
- package/dist/components/query-builder/rule.d.ts +2 -2
- package/dist/components/query-builder/styles.module.css +4 -1
- package/dist/components/query-builder/value-editor.d.ts +2 -2
- package/dist/components/query-builder/value-editor.js +1 -1
- package/dist/components/query-builder/value-editor.js.map +1 -1
- package/dist/components/query-builder/value-selector.d.ts +2 -2
- package/dist/components/query-builder/value-selector.js +1 -1
- package/dist/components/radio/context.d.ts +3 -3
- package/dist/components/radio/group.d.ts +2 -2
- package/dist/components/radio/index.d.ts +2 -2
- package/dist/components/search-field/context.d.ts +4 -4
- package/dist/components/search-field/index.d.ts +2 -2
- package/dist/components/select-field/context.d.ts +4 -4
- package/dist/components/select-field/index.d.ts +2 -2
- package/dist/components/sidenav/avatar.d.ts +2 -2
- package/dist/components/sidenav/content.d.ts +2 -2
- package/dist/components/sidenav/context.d.ts +2 -2
- package/dist/components/sidenav/footer.d.ts +2 -2
- package/dist/components/sidenav/header.d.ts +2 -2
- package/dist/components/sidenav/index.d.ts +2 -2
- package/dist/components/sidenav/item.d.ts +2 -2
- package/dist/components/sidenav/link.d.ts +2 -2
- package/dist/components/sidenav/menu-item.d.ts +2 -2
- package/dist/components/sidenav/menu.d.ts +2 -2
- package/dist/components/sidenav/styles.module.css +30 -10
- package/dist/components/sidenav/trigger.d.ts +2 -2
- package/dist/components/skeleton/index.d.ts +2 -2
- package/dist/components/slider/index.d.ts +2 -2
- package/dist/components/status-indicator/index.d.ts +2 -2
- package/dist/components/switch/context.d.ts +4 -4
- package/dist/components/switch/index.d.ts +2 -2
- package/dist/components/switch/styles.module.css +8 -0
- package/dist/components/table/body.d.ts +2 -2
- package/dist/components/table/cell.d.ts +2 -2
- package/dist/components/table/header-cell.d.ts +2 -2
- package/dist/components/table/header.d.ts +2 -2
- package/dist/components/table/index.d.ts +6 -2
- package/dist/components/table/index.js +19 -6
- package/dist/components/table/index.js.map +1 -1
- package/dist/components/table/row.d.ts +2 -2
- package/dist/components/table/types.d.ts +17 -0
- package/dist/components/tabs/context.d.ts +6 -6
- package/dist/components/tabs/index.d.ts +2 -2
- package/dist/components/tabs/list.d.ts +2 -2
- package/dist/components/tabs/panel.d.ts +2 -2
- package/dist/components/tabs/tab.d.ts +2 -2
- package/dist/components/text-area-field/context.d.ts +4 -4
- package/dist/components/text-area-field/index.d.ts +2 -2
- package/dist/components/text-field/context.d.ts +4 -4
- package/dist/components/text-field/index.d.ts +2 -2
- package/dist/components/time-field/index.d.ts +2 -2
- package/dist/components/tooltip/context.d.ts +2 -2
- package/dist/components/tooltip/index.d.ts +2 -2
- package/dist/components/tooltip/styles.module.css +35 -0
- package/dist/components/tooltip/trigger.d.ts +2 -2
- package/dist/components/tree/context.d.ts +3 -3
- package/dist/components/tree/index.d.ts +2 -2
- package/dist/components/tree/index.js +20 -10
- package/dist/components/tree/index.js.map +1 -1
- package/dist/components/tree/item-actions.d.ts +2 -2
- package/dist/components/tree/item-content.d.ts +2 -2
- package/dist/components/tree/item-content.js +3 -2
- package/dist/components/tree/item-content.js.map +1 -1
- package/dist/components/tree/item-description.d.ts +2 -2
- package/dist/components/tree/item-label.d.ts +2 -2
- package/dist/components/tree/item-prefix-icon.d.ts +2 -2
- package/dist/components/tree/item.d.ts +2 -2
- package/dist/components/tree/lines.d.ts +2 -2
- package/dist/components/tree/types.d.ts +1 -0
- package/dist/components/video/index.d.ts +2 -2
- package/dist/components/view-stack/context.d.ts +2 -2
- package/dist/components/view-stack/index.d.ts +2 -2
- package/dist/components/view-stack/trigger.d.ts +2 -2
- package/dist/components/view-stack/view.d.ts +2 -2
- package/dist/hooks/use-tree/actions/cache.d.ts +20 -3
- package/dist/hooks/use-tree/actions/cache.js +110 -2
- package/dist/hooks/use-tree/actions/cache.js.map +1 -1
- package/dist/hooks/use-tree/actions/index.d.ts +2 -1
- package/dist/hooks/use-tree/actions/index.js +70 -11
- package/dist/hooks/use-tree/actions/index.js.map +1 -1
- package/dist/hooks/use-tree/state/index.d.ts +20 -1
- package/dist/hooks/use-tree/state/index.js +22 -2
- package/dist/hooks/use-tree/state/index.js.map +1 -1
- package/dist/hooks/use-tree/types.d.ts +14 -0
- package/dist/index.d.ts +24 -5
- package/dist/index.js +27 -10
- package/dist/providers/theme-provider.d.ts +2 -2
- package/package.json +68 -10
package/catalog-info.yaml
CHANGED
|
@@ -12,15 +12,15 @@ metadata:
|
|
|
12
12
|
Dependencies:
|
|
13
13
|
|
|
14
14
|
accelint_biome-config@1.1.0, accelint_bus@4.0.0, accelint_converters@1.0.1,
|
|
15
|
-
accelint_core@0.6.0, accelint_design-foundation@3.0
|
|
16
|
-
accelint_icons@
|
|
15
|
+
accelint_core@0.6.0, accelint_design-foundation@3.1.0, accelint_geo@0.6.0,
|
|
16
|
+
accelint_icons@3.0.0, accelint_logger@1.1.0,
|
|
17
17
|
accelint_postcss-tailwind-css-modules@1.0.1, accelint_predicates@0.5.2,
|
|
18
18
|
accelint_prettier-config@0.2.1, accelint_temporal@0.1.4,
|
|
19
19
|
accelint_typescript-config@0.1.4, accelint_vitest-config@0.1.6
|
|
20
20
|
annotations:
|
|
21
21
|
backstage.io/edit-url: https://github.com/gohypergiant/standard-toolkit/blob/main/packages/design-toolkit/catalog-info.yaml
|
|
22
22
|
backstage.io/techdocs-ref: dir:.
|
|
23
|
-
package/version: 9.
|
|
23
|
+
package/version: 9.10.0
|
|
24
24
|
github.com/project-slug: gohypergiant/standard-toolkit
|
|
25
25
|
links:
|
|
26
26
|
- url: https://github.com/gohypergiant/standard-toolkit/tree/main/packages/design-toolkit
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { AccordionGroupProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime120 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/accordion/group.d.ts
|
|
18
18
|
|
|
@@ -57,7 +57,7 @@ declare function AccordionGroup({
|
|
|
57
57
|
variant,
|
|
58
58
|
isDisabled,
|
|
59
59
|
...rest
|
|
60
|
-
}: AccordionGroupProps):
|
|
60
|
+
}: AccordionGroupProps): react_jsx_runtime120.JSX.Element;
|
|
61
61
|
//#endregion
|
|
62
62
|
export { AccordionGroup };
|
|
63
63
|
//# sourceMappingURL=group.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { AccordionHeaderProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/accordion/header.d.ts
|
|
18
18
|
|
|
@@ -44,7 +44,7 @@ declare function AccordionHeader({
|
|
|
44
44
|
ref,
|
|
45
45
|
children,
|
|
46
46
|
className
|
|
47
|
-
}: AccordionHeaderProps):
|
|
47
|
+
}: AccordionHeaderProps): react_jsx_runtime1.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { AccordionHeader };
|
|
50
50
|
//# sourceMappingURL=header.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { AccordionProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/accordion/index.d.ts
|
|
18
18
|
|
|
@@ -75,7 +75,7 @@ import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
|
75
75
|
declare function Accordion({
|
|
76
76
|
ref,
|
|
77
77
|
...props
|
|
78
|
-
}: AccordionProps):
|
|
78
|
+
}: AccordionProps): react_jsx_runtime4.JSX.Element;
|
|
79
79
|
//#endregion
|
|
80
80
|
export { Accordion };
|
|
81
81
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { AccordionPanelProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/accordion/panel.d.ts
|
|
18
18
|
|
|
@@ -47,7 +47,7 @@ declare function AccordionPanel({
|
|
|
47
47
|
children,
|
|
48
48
|
className,
|
|
49
49
|
...rest
|
|
50
|
-
}: AccordionPanelProps):
|
|
50
|
+
}: AccordionPanelProps): react_jsx_runtime3.JSX.Element;
|
|
51
51
|
//#endregion
|
|
52
52
|
export { AccordionPanel };
|
|
53
53
|
//# sourceMappingURL=panel.d.ts.map
|
|
@@ -46,10 +46,21 @@
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.panel {
|
|
49
|
-
@apply
|
|
49
|
+
@apply grid overflow-hidden;
|
|
50
|
+
grid-template-rows: 1fr;
|
|
50
51
|
|
|
51
52
|
@variant aria-hidden {
|
|
52
|
-
|
|
53
|
+
grid-template-rows: 0fr;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
& > * {
|
|
57
|
+
min-height: 0;
|
|
58
|
+
@apply p-s;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@variant motion-safe {
|
|
62
|
+
transition: grid-template-rows var(--animation-duration-normal)
|
|
63
|
+
var(--animation-easing-standard);
|
|
53
64
|
}
|
|
54
65
|
}
|
|
55
66
|
|
|
@@ -59,6 +70,11 @@
|
|
|
59
70
|
@variant group-expanded/accordion {
|
|
60
71
|
@apply rotate-180;
|
|
61
72
|
}
|
|
73
|
+
|
|
74
|
+
@variant motion-safe {
|
|
75
|
+
transition: transform var(--animation-duration-normal)
|
|
76
|
+
var(--animation-easing-standard);
|
|
77
|
+
}
|
|
62
78
|
}
|
|
63
79
|
}
|
|
64
80
|
|
|
@@ -70,7 +86,7 @@
|
|
|
70
86
|
}
|
|
71
87
|
|
|
72
88
|
.trigger {
|
|
73
|
-
@apply w-full justify-start px-0 select-none;
|
|
89
|
+
@apply w-full justify-start px-0 transition-none select-none;
|
|
74
90
|
|
|
75
91
|
&.cozy {
|
|
76
92
|
@apply gap-s text-header-m;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { AccordionTriggerProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime183 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/accordion/trigger.d.ts
|
|
18
18
|
|
|
@@ -42,7 +42,7 @@ declare function AccordionTrigger({
|
|
|
42
42
|
ref,
|
|
43
43
|
children,
|
|
44
44
|
classNames
|
|
45
|
-
}: AccordionTriggerProps):
|
|
45
|
+
}: AccordionTriggerProps): react_jsx_runtime183.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { AccordionTrigger };
|
|
48
48
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { ActionBarProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime182 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/action-bar/index.d.ts
|
|
18
18
|
|
|
@@ -59,7 +59,7 @@ declare function ActionBar({
|
|
|
59
59
|
elevation,
|
|
60
60
|
size,
|
|
61
61
|
...rest
|
|
62
|
-
}: ActionBarProps):
|
|
62
|
+
}: ActionBarProps): react_jsx_runtime182.JSX.Element;
|
|
63
63
|
//#endregion
|
|
64
64
|
export { ActionBar };
|
|
65
65
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { AudioProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/audio/index.d.ts
|
|
18
18
|
|
|
@@ -98,7 +98,7 @@ declare function Audio({
|
|
|
98
98
|
noMutedPref,
|
|
99
99
|
lang,
|
|
100
100
|
...rest
|
|
101
|
-
}: AudioProps):
|
|
101
|
+
}: AudioProps): react_jsx_runtime7.JSX.Element;
|
|
102
102
|
//#endregion
|
|
103
103
|
export { Audio };
|
|
104
104
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
import { ProviderProps } from "../../lib/types.js";
|
|
14
14
|
import { AvatarProps } from "./types.js";
|
|
15
15
|
import "client-only";
|
|
16
|
-
import * as
|
|
16
|
+
import * as react2 from "react";
|
|
17
17
|
import { ContextValue } from "react-aria-components";
|
|
18
|
-
import * as
|
|
18
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
19
19
|
|
|
20
20
|
//#region src/components/avatar/context.d.ts
|
|
21
21
|
/**
|
|
22
22
|
* React context for sharing avatar configuration across components.
|
|
23
23
|
*/
|
|
24
|
-
declare const AvatarContext:
|
|
24
|
+
declare const AvatarContext: react2.Context<ContextValue<AvatarProps, HTMLSpanElement>>;
|
|
25
25
|
/**
|
|
26
26
|
* Context provider for setting default props across multiple Avatar components.
|
|
27
27
|
*
|
|
@@ -40,7 +40,7 @@ declare const AvatarContext: react6.Context<ContextValue<AvatarProps, HTMLSpanEl
|
|
|
40
40
|
declare function AvatarProvider({
|
|
41
41
|
children,
|
|
42
42
|
...props
|
|
43
|
-
}: ProviderProps<AvatarProps>):
|
|
43
|
+
}: ProviderProps<AvatarProps>): react_jsx_runtime9.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { AvatarContext, AvatarProvider };
|
|
46
46
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { AvatarProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/avatar/index.d.ts
|
|
18
18
|
|
|
@@ -55,7 +55,7 @@ import * as react_jsx_runtime30 from "react/jsx-runtime";
|
|
|
55
55
|
declare function Avatar({
|
|
56
56
|
ref,
|
|
57
57
|
...props
|
|
58
|
-
}: AvatarProps):
|
|
58
|
+
}: AvatarProps): react_jsx_runtime11.JSX.Element;
|
|
59
59
|
//#endregion
|
|
60
60
|
export { Avatar };
|
|
61
61
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
import { ProviderProps } from "../../lib/types.js";
|
|
14
14
|
import { BadgeProps } from "./types.js";
|
|
15
15
|
import "client-only";
|
|
16
|
-
import * as
|
|
16
|
+
import * as react3 from "react";
|
|
17
17
|
import { ContextValue } from "react-aria-components";
|
|
18
|
-
import * as
|
|
18
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
19
19
|
|
|
20
20
|
//#region src/components/badge/context.d.ts
|
|
21
21
|
/**
|
|
22
22
|
* React context for sharing badge configuration across components.
|
|
23
23
|
*/
|
|
24
|
-
declare const BadgeContext:
|
|
24
|
+
declare const BadgeContext: react3.Context<ContextValue<BadgeProps, HTMLSpanElement>>;
|
|
25
25
|
/**
|
|
26
26
|
* Context provider for setting default props across multiple Badge components.
|
|
27
27
|
*
|
|
@@ -40,7 +40,7 @@ declare const BadgeContext: react7.Context<ContextValue<BadgeProps, HTMLSpanElem
|
|
|
40
40
|
declare function BadgeProvider({
|
|
41
41
|
children,
|
|
42
42
|
...props
|
|
43
|
-
}: ProviderProps<BadgeProps>):
|
|
43
|
+
}: ProviderProps<BadgeProps>): react_jsx_runtime13.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { BadgeContext, BadgeProvider };
|
|
46
46
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { BadgeProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/badge/index.d.ts
|
|
18
18
|
|
|
@@ -57,7 +57,7 @@ import * as react_jsx_runtime38 from "react/jsx-runtime";
|
|
|
57
57
|
declare function Badge({
|
|
58
58
|
ref,
|
|
59
59
|
...props
|
|
60
|
-
}: BadgeProps):
|
|
60
|
+
}: BadgeProps): react_jsx_runtime14.JSX.Element;
|
|
61
61
|
//#endregion
|
|
62
62
|
export { Badge };
|
|
63
63
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
14
|
import { BreadcrumbProps, BreadcrumbsProps } from "react-aria-components";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/breadcrumbs/index.d.ts
|
|
18
18
|
|
|
@@ -38,7 +38,7 @@ import * as react_jsx_runtime35 from "react/jsx-runtime";
|
|
|
38
38
|
declare function Breadcrumbs({
|
|
39
39
|
children,
|
|
40
40
|
className
|
|
41
|
-
}: BreadcrumbsProps<BreadcrumbProps>):
|
|
41
|
+
}: BreadcrumbsProps<BreadcrumbProps>): react_jsx_runtime16.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { Breadcrumbs };
|
|
44
44
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { BreadcrumbItemProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/breadcrumbs/item.d.ts
|
|
18
18
|
|
|
@@ -43,7 +43,7 @@ declare function BreadcrumbItem({
|
|
|
43
43
|
classNames,
|
|
44
44
|
linkProps,
|
|
45
45
|
...rest
|
|
46
|
-
}: BreadcrumbItemProps):
|
|
46
|
+
}: BreadcrumbItemProps): react_jsx_runtime18.JSX.Element;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { BreadcrumbItem };
|
|
49
49
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
import { ProviderProps } from "../../lib/types.js";
|
|
14
14
|
import { ButtonProps as ButtonProps$1, LinkButtonProps, ToggleButtonProps as ToggleButtonProps$1 } from "./types.js";
|
|
15
15
|
import "client-only";
|
|
16
|
-
import * as
|
|
16
|
+
import * as react5 from "react";
|
|
17
17
|
import { ContextValue } from "react-aria-components";
|
|
18
|
-
import * as
|
|
18
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
19
19
|
|
|
20
20
|
//#region src/components/button/context.d.ts
|
|
21
21
|
/**
|
|
22
22
|
* React context for sharing Button configuration across components.
|
|
23
23
|
*/
|
|
24
|
-
declare const ButtonContext:
|
|
24
|
+
declare const ButtonContext: react5.Context<ContextValue<ButtonProps$1, HTMLButtonElement>>;
|
|
25
25
|
/**
|
|
26
26
|
* Context provider for setting default props across multiple Button components.
|
|
27
27
|
*
|
|
@@ -40,11 +40,11 @@ declare const ButtonContext: react9.Context<ContextValue<ButtonProps$1, HTMLButt
|
|
|
40
40
|
declare function ButtonProvider({
|
|
41
41
|
children,
|
|
42
42
|
...props
|
|
43
|
-
}: ProviderProps<ButtonProps$1>):
|
|
43
|
+
}: ProviderProps<ButtonProps$1>): react_jsx_runtime20.JSX.Element;
|
|
44
44
|
/**
|
|
45
45
|
* React context for sharing LinkButton configuration across components.
|
|
46
46
|
*/
|
|
47
|
-
declare const LinkButtonContext:
|
|
47
|
+
declare const LinkButtonContext: react5.Context<ContextValue<LinkButtonProps, HTMLAnchorElement>>;
|
|
48
48
|
/**
|
|
49
49
|
* Context provider for setting default props across multiple LinkButton components.
|
|
50
50
|
*
|
|
@@ -63,11 +63,11 @@ declare const LinkButtonContext: react9.Context<ContextValue<LinkButtonProps, HT
|
|
|
63
63
|
declare function LinkButtonProvider({
|
|
64
64
|
children,
|
|
65
65
|
...props
|
|
66
|
-
}: ProviderProps<LinkButtonProps>):
|
|
66
|
+
}: ProviderProps<LinkButtonProps>): react_jsx_runtime20.JSX.Element;
|
|
67
67
|
/**
|
|
68
68
|
* React context for sharing ToggleButton configuration across components.
|
|
69
69
|
*/
|
|
70
|
-
declare const ToggleButtonContext:
|
|
70
|
+
declare const ToggleButtonContext: react5.Context<ContextValue<ToggleButtonProps$1, HTMLButtonElement>>;
|
|
71
71
|
/**
|
|
72
72
|
* Context provider for setting default props across multiple ToggleButton components.
|
|
73
73
|
*
|
|
@@ -86,7 +86,7 @@ declare const ToggleButtonContext: react9.Context<ContextValue<ToggleButtonProps
|
|
|
86
86
|
declare function ToggleButtonProvider({
|
|
87
87
|
children,
|
|
88
88
|
...props
|
|
89
|
-
}: ProviderProps<ToggleButtonProps$1>):
|
|
89
|
+
}: ProviderProps<ToggleButtonProps$1>): react_jsx_runtime20.JSX.Element;
|
|
90
90
|
//#endregion
|
|
91
91
|
export { ButtonContext, ButtonProvider, LinkButtonContext, LinkButtonProvider, ToggleButtonContext, ToggleButtonProvider };
|
|
92
92
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { ButtonProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/button/index.d.ts
|
|
18
18
|
|
|
@@ -72,7 +72,7 @@ import * as react_jsx_runtime44 from "react/jsx-runtime";
|
|
|
72
72
|
declare function Button({
|
|
73
73
|
ref,
|
|
74
74
|
...props
|
|
75
|
-
}: ButtonProps):
|
|
75
|
+
}: ButtonProps): react_jsx_runtime25.JSX.Element;
|
|
76
76
|
//#endregion
|
|
77
77
|
export { Button };
|
|
78
78
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { LinkButtonProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime26 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/button/link.d.ts
|
|
18
18
|
|
|
@@ -73,7 +73,7 @@ import * as react_jsx_runtime45 from "react/jsx-runtime";
|
|
|
73
73
|
declare function LinkButton({
|
|
74
74
|
ref,
|
|
75
75
|
...props
|
|
76
|
-
}: LinkButtonProps):
|
|
76
|
+
}: LinkButtonProps): react_jsx_runtime26.JSX.Element;
|
|
77
77
|
//#endregion
|
|
78
78
|
export { LinkButton };
|
|
79
79
|
//# sourceMappingURL=link.d.ts.map
|
|
@@ -16,6 +16,14 @@
|
|
|
16
16
|
.button {
|
|
17
17
|
@apply rounded-medium flex w-fit shrink-0 cursor-pointer items-center justify-center outline outline-transparent select-none;
|
|
18
18
|
|
|
19
|
+
@variant motion-safe {
|
|
20
|
+
transition:
|
|
21
|
+
background-color var(--animation-duration-normal)
|
|
22
|
+
var(--animation-easing-standard),
|
|
23
|
+
outline-color var(--animation-duration-normal)
|
|
24
|
+
var(--animation-easing-standard);
|
|
25
|
+
}
|
|
26
|
+
|
|
19
27
|
@variant size-large {
|
|
20
28
|
@apply gap-xs px-l py-s text-button-l;
|
|
21
29
|
min-width: 96px;
|
|
@@ -404,6 +412,14 @@
|
|
|
404
412
|
}
|
|
405
413
|
|
|
406
414
|
.toggle {
|
|
415
|
+
@variant motion-safe {
|
|
416
|
+
transition:
|
|
417
|
+
background-color var(--animation-duration-normal)
|
|
418
|
+
var(--animation-easing-standard),
|
|
419
|
+
outline-color var(--animation-duration-normal)
|
|
420
|
+
var(--animation-easing-standard);
|
|
421
|
+
}
|
|
422
|
+
|
|
407
423
|
&.flat {
|
|
408
424
|
@variant color-mono-muted {
|
|
409
425
|
@apply fg-primary-muted bg-transparent;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { ToggleButtonProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/button/toggle.d.ts
|
|
18
18
|
|
|
@@ -76,7 +76,7 @@ import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
|
76
76
|
declare function ToggleButton({
|
|
77
77
|
ref,
|
|
78
78
|
...props
|
|
79
|
-
}: ToggleButtonProps):
|
|
79
|
+
}: ToggleButtonProps): react_jsx_runtime28.JSX.Element;
|
|
80
80
|
//#endregion
|
|
81
81
|
export { ToggleButton };
|
|
82
82
|
//# sourceMappingURL=toggle.d.ts.map
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { ProviderProps } from "../../lib/types.js";
|
|
14
|
+
import { CarouselProps } from "./types.js";
|
|
15
|
+
import "client-only";
|
|
16
|
+
import * as react10 from "react";
|
|
17
|
+
import * as react_jsx_runtime30 from "react/jsx-runtime";
|
|
18
|
+
|
|
19
|
+
//#region src/components/carousel/context.d.ts
|
|
20
|
+
/** React context providing carousel state to sub-components. */
|
|
21
|
+
declare const CarouselContext: react10.Context<CarouselProps>;
|
|
22
|
+
/**
|
|
23
|
+
* Provides carousel state to child components via CarouselContext.
|
|
24
|
+
*
|
|
25
|
+
* @param props - The provider props.
|
|
26
|
+
* @param props.children - Child components that consume carousel context.
|
|
27
|
+
* @param props.items - The carousel data items.
|
|
28
|
+
* @param props.currentPosition - Zero-based index of the active item.
|
|
29
|
+
* @param props.setCurrentPosition - Callback to update the active item.
|
|
30
|
+
* @returns The context provider wrapping children.
|
|
31
|
+
*/
|
|
32
|
+
declare function CarouselProvider({
|
|
33
|
+
children,
|
|
34
|
+
items,
|
|
35
|
+
currentPosition,
|
|
36
|
+
setCurrentPosition
|
|
37
|
+
}: ProviderProps<CarouselProps>): react_jsx_runtime30.JSX.Element;
|
|
38
|
+
//#endregion
|
|
39
|
+
export { CarouselContext, CarouselProvider };
|
|
40
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
'use client';
|
|
15
|
+
|
|
16
|
+
import "client-only";
|
|
17
|
+
import { createContext, useMemo } from "react";
|
|
18
|
+
import { jsx } from "react/jsx-runtime";
|
|
19
|
+
|
|
20
|
+
//#region src/components/carousel/context.tsx
|
|
21
|
+
/** React context providing carousel state to sub-components. */
|
|
22
|
+
const CarouselContext = createContext({
|
|
23
|
+
currentPosition: 0,
|
|
24
|
+
items: [],
|
|
25
|
+
setCurrentPosition: () => void 0
|
|
26
|
+
});
|
|
27
|
+
/**
|
|
28
|
+
* Provides carousel state to child components via CarouselContext.
|
|
29
|
+
*
|
|
30
|
+
* @param props - The provider props.
|
|
31
|
+
* @param props.children - Child components that consume carousel context.
|
|
32
|
+
* @param props.items - The carousel data items.
|
|
33
|
+
* @param props.currentPosition - Zero-based index of the active item.
|
|
34
|
+
* @param props.setCurrentPosition - Callback to update the active item.
|
|
35
|
+
* @returns The context provider wrapping children.
|
|
36
|
+
*/
|
|
37
|
+
function CarouselProvider({ children, items, currentPosition, setCurrentPosition }) {
|
|
38
|
+
const value = useMemo(() => ({
|
|
39
|
+
currentPosition,
|
|
40
|
+
items,
|
|
41
|
+
setCurrentPosition
|
|
42
|
+
}), [
|
|
43
|
+
currentPosition,
|
|
44
|
+
items,
|
|
45
|
+
setCurrentPosition
|
|
46
|
+
]);
|
|
47
|
+
return /* @__PURE__ */ jsx(CarouselContext.Provider, {
|
|
48
|
+
value,
|
|
49
|
+
children
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
//#endregion
|
|
54
|
+
export { CarouselContext, CarouselProvider };
|
|
55
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","names":[],"sources":["../../../src/components/carousel/context.tsx"],"sourcesContent":["/*\n * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n'use client';\n\nimport 'client-only';\nimport { createContext, useMemo } from 'react';\nimport type { ProviderProps } from '@/lib/types';\nimport type { CarouselProps } from './types';\n\n/** React context providing carousel state to sub-components. */\nexport const CarouselContext = createContext<CarouselProps>({\n currentPosition: 0,\n items: [],\n setCurrentPosition: () => undefined,\n});\n\n/**\n * Provides carousel state to child components via CarouselContext.\n *\n * @param props - The provider props.\n * @param props.children - Child components that consume carousel context.\n * @param props.items - The carousel data items.\n * @param props.currentPosition - Zero-based index of the active item.\n * @param props.setCurrentPosition - Callback to update the active item.\n * @returns The context provider wrapping children.\n */\nexport function CarouselProvider({\n children,\n items,\n currentPosition,\n setCurrentPosition,\n}: ProviderProps<CarouselProps>) {\n const value = useMemo(\n () => ({ currentPosition, items, setCurrentPosition }),\n [currentPosition, items, setCurrentPosition],\n );\n\n return (\n <CarouselContext.Provider value={value}>\n {children}\n </CarouselContext.Provider>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAoBA,MAAa,kBAAkB,cAA6B;CAC1D,iBAAiB;CACjB,OAAO,EAAE;CACT,0BAA0B;CAC3B,CAAC;;;;;;;;;;;AAYF,SAAgB,iBAAiB,EAC/B,UACA,OACA,iBACA,sBAC+B;CAC/B,MAAM,QAAQ,eACL;EAAE;EAAiB;EAAO;EAAoB,GACrD;EAAC;EAAiB;EAAO;EAAmB,CAC7C;AAED,QACE,oBAAC,gBAAgB;EAAgB;EAC9B;GACwB"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { CarouselGalleryProps } from "./types.js";
|
|
14
|
+
import "client-only";
|
|
15
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
16
|
+
|
|
17
|
+
//#region src/components/carousel/gallery.d.ts
|
|
18
|
+
/**
|
|
19
|
+
* Renders a horizontally-scrolling strip of thumbnail buttons for carousel navigation.
|
|
20
|
+
*
|
|
21
|
+
* Automatically scrolls to keep the selected thumbnail visible. Clicking a
|
|
22
|
+
* thumbnail navigates the carousel to that item. Note that it relies on the <Carousel/>
|
|
23
|
+
* component to supply context and must be used as a child of that component.
|
|
24
|
+
*
|
|
25
|
+
* @param props - The gallery props.
|
|
26
|
+
* @param props.classNames - Custom class names for gallery elements.
|
|
27
|
+
* @param props.classNames.container - Class name for the gallery container.
|
|
28
|
+
* @param props.classNames.item - Class name for individual gallery items.
|
|
29
|
+
* @returns The carousel gallery component.
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
declare function CarouselGallery({
|
|
33
|
+
classNames,
|
|
34
|
+
...rest
|
|
35
|
+
}: CarouselGalleryProps): react_jsx_runtime31.JSX.Element;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { CarouselGallery };
|
|
38
|
+
//# sourceMappingURL=gallery.d.ts.map
|