@accelint/design-toolkit 9.10.0 → 9.11.1
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/context.d.ts +3 -3
- package/dist/components/accordion/context.js.map +1 -1
- package/dist/components/accordion/group.d.ts +2 -2
- package/dist/components/accordion/group.js +2 -1
- package/dist/components/accordion/group.js.map +1 -1
- package/dist/components/accordion/header.d.ts +2 -2
- package/dist/components/accordion/header.js +2 -1
- package/dist/components/accordion/header.js.map +1 -1
- package/dist/components/accordion/index.d.ts +2 -2
- package/dist/components/accordion/index.js +3 -1
- package/dist/components/accordion/index.js.map +1 -1
- package/dist/components/accordion/panel.d.ts +2 -2
- package/dist/components/accordion/panel.js +2 -1
- package/dist/components/accordion/panel.js.map +1 -1
- package/dist/components/accordion/trigger.d.ts +2 -2
- package/dist/components/accordion/trigger.js +4 -3
- package/dist/components/accordion/trigger.js.map +1 -1
- package/dist/components/accordion/types.d.ts +3 -1
- package/dist/components/action-bar/index.d.ts +2 -2
- package/dist/components/action-bar/index.js +1 -1
- package/dist/components/action-bar/index.js.map +1 -1
- package/dist/components/audio/index.d.ts +2 -2
- package/dist/components/avatar/context.d.ts +5 -5
- package/dist/components/avatar/context.js.map +1 -1
- package/dist/components/avatar/index.d.ts +2 -2
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/avatar/index.js.map +1 -1
- package/dist/components/badge/context.d.ts +5 -5
- package/dist/components/badge/context.js.map +1 -1
- package/dist/components/badge/index.d.ts +2 -2
- package/dist/components/badge/index.js +1 -1
- package/dist/components/badge/index.js.map +1 -1
- package/dist/components/breadcrumbs/index.d.ts +3 -3
- package/dist/components/breadcrumbs/index.js +1 -1
- package/dist/components/breadcrumbs/index.js.map +1 -1
- package/dist/components/breadcrumbs/item.d.ts +2 -2
- package/dist/components/breadcrumbs/item.js +3 -1
- package/dist/components/breadcrumbs/item.js.map +1 -1
- package/dist/components/breadcrumbs/types.d.ts +2 -1
- package/dist/components/button/__internal__/clear.js +2 -1
- package/dist/components/button/__internal__/clear.js.map +1 -1
- package/dist/components/button/context.d.ts +10 -10
- package/dist/components/button/context.js.map +1 -1
- package/dist/components/button/index.d.ts +2 -2
- package/dist/components/button/index.js +3 -1
- package/dist/components/button/index.js.map +1 -1
- package/dist/components/button/link.d.ts +2 -2
- package/dist/components/button/link.js +3 -1
- package/dist/components/button/link.js.map +1 -1
- package/dist/components/button/toggle.d.ts +2 -2
- package/dist/components/button/toggle.js +3 -1
- package/dist/components/button/toggle.js.map +1 -1
- package/dist/components/button/types.d.ts +3 -1
- package/dist/components/carousel/context.d.ts +4 -4
- package/dist/components/carousel/gallery.d.ts +2 -2
- package/dist/components/carousel/index.d.ts +2 -2
- package/dist/components/carousel/navigation.d.ts +3 -3
- package/dist/components/carousel/position.d.ts +2 -2
- package/dist/components/carousel/select.d.ts +2 -2
- package/dist/components/carousel/select.js.map +1 -1
- package/dist/components/carousel/viewer.d.ts +2 -2
- package/dist/components/checkbox/context.d.ts +5 -5
- package/dist/components/checkbox/context.js.map +1 -1
- package/dist/components/checkbox/group.d.ts +2 -2
- package/dist/components/checkbox/group.js +5 -3
- package/dist/components/checkbox/group.js.map +1 -1
- package/dist/components/checkbox/index.d.ts +2 -2
- package/dist/components/checkbox/index.js +3 -1
- package/dist/components/checkbox/index.js.map +1 -1
- package/dist/components/checkbox/types.d.ts +4 -3
- package/dist/components/chip/context.d.ts +5 -5
- package/dist/components/chip/context.js.map +1 -1
- package/dist/components/chip/deletable.d.ts +2 -2
- package/dist/components/chip/deletable.js +5 -3
- package/dist/components/chip/deletable.js.map +1 -1
- package/dist/components/chip/index.d.ts +2 -2
- package/dist/components/chip/index.js +2 -1
- package/dist/components/chip/index.js.map +1 -1
- package/dist/components/chip/list.d.ts +4 -4
- package/dist/components/chip/list.js +3 -1
- package/dist/components/chip/list.js.map +1 -1
- package/dist/components/chip/selectable.d.ts +2 -2
- package/dist/components/chip/selectable.js +3 -1
- package/dist/components/chip/selectable.js.map +1 -1
- package/dist/components/chip/types.d.ts +3 -2
- package/dist/components/classification-badge/context.d.ts +5 -5
- package/dist/components/classification-badge/context.js.map +1 -1
- package/dist/components/classification-badge/index.d.ts +2 -2
- package/dist/components/classification-badge/index.js +1 -1
- package/dist/components/classification-badge/index.js.map +1 -1
- package/dist/components/classification-banner/context.d.ts +5 -5
- package/dist/components/classification-banner/context.js.map +1 -1
- package/dist/components/classification-banner/index.d.ts +2 -2
- package/dist/components/classification-banner/index.js +1 -1
- package/dist/components/classification-banner/index.js.map +1 -1
- package/dist/components/clock/index.d.ts +2 -2
- package/dist/components/color-picker/index.d.ts +2 -2
- package/dist/components/color-picker/index.js +4 -3
- package/dist/components/color-picker/index.js.map +1 -1
- package/dist/components/color-picker/types.d.ts +2 -1
- package/dist/components/combobox-field/context.d.ts +5 -5
- package/dist/components/combobox-field/context.js.map +1 -1
- package/dist/components/combobox-field/index.d.ts +2 -2
- package/dist/components/combobox-field/index.js +11 -11
- package/dist/components/combobox-field/index.js.map +1 -1
- package/dist/components/combobox-field/styles.module.css +11 -2
- package/dist/components/combobox-field/types.d.ts +8 -4
- package/dist/components/coordinate-field/context.d.ts +7 -7
- package/dist/components/coordinate-field/context.js.map +1 -1
- package/dist/components/coordinate-field/coordinate-utils.js +2 -0
- package/dist/components/coordinate-field/coordinate-utils.js.map +1 -1
- package/dist/components/coordinate-field/index.d.ts +2 -2
- package/dist/components/coordinate-field/index.js +29 -23
- package/dist/components/coordinate-field/index.js.map +1 -1
- package/dist/components/coordinate-field/segment.d.ts +2 -2
- package/dist/components/coordinate-field/types.d.ts +3 -1
- package/dist/components/coordinate-field/types.js.map +1 -1
- package/dist/components/date-field/index.d.ts +2 -2
- package/dist/components/date-field/index.js +4 -3
- package/dist/components/date-field/index.js.map +1 -1
- package/dist/components/date-field/types.d.ts +1 -1
- package/dist/components/deferred-collection/index.d.ts +2 -2
- package/dist/components/details-list/context.d.ts +3 -3
- package/dist/components/details-list/context.js.map +1 -1
- package/dist/components/details-list/index.d.ts +2 -2
- package/dist/components/details-list/index.js +2 -1
- package/dist/components/details-list/index.js.map +1 -1
- package/dist/components/details-list/label.d.ts +2 -2
- package/dist/components/details-list/label.js +1 -1
- package/dist/components/details-list/label.js.map +1 -1
- package/dist/components/details-list/types.d.ts +1 -1
- package/dist/components/details-list/value.d.ts +2 -2
- package/dist/components/details-list/value.js +1 -1
- package/dist/components/details-list/value.js.map +1 -1
- package/dist/components/dialog/content.d.ts +2 -2
- package/dist/components/dialog/context.d.ts +3 -3
- package/dist/components/dialog/context.js.map +1 -1
- package/dist/components/dialog/footer.d.ts +2 -2
- package/dist/components/dialog/footer.js +1 -1
- package/dist/components/dialog/footer.js.map +1 -1
- package/dist/components/dialog/index.d.ts +2 -2
- package/dist/components/dialog/index.js +3 -1
- package/dist/components/dialog/index.js.map +1 -1
- package/dist/components/dialog/title.d.ts +3 -3
- package/dist/components/dialog/title.js +1 -1
- package/dist/components/dialog/title.js.map +1 -1
- package/dist/components/dialog/trigger.d.ts +1 -1
- package/dist/components/dialog/trigger.js +1 -1
- package/dist/components/dialog/trigger.js.map +1 -1
- package/dist/components/dialog/types.d.ts +1 -1
- package/dist/components/divider/context.d.ts +5 -5
- package/dist/components/divider/context.js.map +1 -1
- package/dist/components/divider/index.d.ts +2 -2
- package/dist/components/divider/index.js +1 -1
- package/dist/components/divider/index.js.map +1 -1
- 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-title.js +1 -1
- package/dist/components/drawer/header-title.js.map +1 -1
- package/dist/components/drawer/header.d.ts +2 -2
- package/dist/components/drawer/header.js +3 -3
- package/dist/components/drawer/header.js.map +1 -1
- 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-item.js +7 -7
- package/dist/components/drawer/menu-item.js.map +1 -1
- 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 +60 -113
- package/dist/components/drawer/trigger.d.ts +2 -2
- package/dist/components/drawer/trigger.js +1 -1
- package/dist/components/drawer/trigger.js.map +1 -1
- package/dist/components/drawer/types.d.ts +3 -3
- package/dist/components/drawer/view.d.ts +2 -2
- package/dist/components/flashcard/index.d.ts +9 -9
- package/dist/components/flashcard/index.js +2 -1
- package/dist/components/flashcard/index.js.map +1 -1
- package/dist/components/floating-card/context.d.ts +4 -29
- package/dist/components/floating-card/context.js.map +1 -1
- package/dist/components/floating-card/index.d.ts +3 -48
- package/dist/components/floating-card/index.js.map +1 -1
- package/dist/components/floating-card/provider.d.ts +5 -84
- package/dist/components/floating-card/provider.js +6 -41
- package/dist/components/floating-card/provider.js.map +1 -1
- package/dist/components/floating-card/styles.module.css +15 -2
- package/dist/components/floating-card/types.d.ts +161 -0
- package/dist/components/floating-card/types.js +12 -0
- package/dist/components/floating-card/utils.d.ts +104 -0
- package/dist/components/floating-card/utils.js +60 -0
- package/dist/components/floating-card/utils.js.map +1 -0
- package/dist/components/gantt/components/base-elements/point.d.ts +2 -2
- package/dist/components/gantt/components/base-elements/range.d.ts +2 -2
- package/dist/components/gantt/components/containers/external/gantt-content-container/index.d.ts +2 -2
- package/dist/components/gantt/components/containers/external/gantt-panel-container/index.d.ts +2 -2
- package/dist/components/gantt/components/containers/internal/index.d.ts +2 -2
- package/dist/components/gantt/components/containers/internal/layout-container/index.d.ts +2 -2
- package/dist/components/gantt/components/containers/internal/virtualized-content-height-container/index.d.ts +2 -2
- package/dist/components/gantt/components/content-row/block.d.ts +2 -2
- package/dist/components/gantt/components/content-row/bracket.d.ts +3 -3
- package/dist/components/gantt/components/content-row/icon-marker.d.ts +2 -2
- package/dist/components/gantt/components/content-row/index.d.ts +2 -2
- package/dist/components/gantt/components/content-row/marker.d.ts +2 -2
- package/dist/components/gantt/components/content-row/spacer.d.ts +2 -2
- package/dist/components/gantt/components/current-time/index.d.ts +2 -2
- package/dist/components/gantt/components/header/index.d.ts +3 -3
- package/dist/components/gantt/components/panel-row/index.d.ts +2 -2
- package/dist/components/gantt/components/rows-virtualizer/index.d.ts +3 -3
- package/dist/components/gantt/components/timeline/index.d.ts +2 -2
- package/dist/components/gantt/components/timeline-chunk/index.d.ts +3 -3
- package/dist/components/gantt/context/index.d.ts +4 -4
- package/dist/components/gantt/context/store/index.d.ts +4 -4
- package/dist/components/gantt/context/temporal-data/index.d.ts +4 -4
- package/dist/components/hero/context.d.ts +3 -3
- package/dist/components/hero/context.js.map +1 -1
- package/dist/components/hero/index.d.ts +2 -2
- package/dist/components/hero/index.js +4 -1
- package/dist/components/hero/index.js.map +1 -1
- package/dist/components/hero/subtitle.d.ts +3 -3
- package/dist/components/hero/subtitle.js +1 -1
- package/dist/components/hero/subtitle.js.map +1 -1
- package/dist/components/hero/title.d.ts +3 -3
- package/dist/components/hero/title.js +1 -1
- package/dist/components/hero/title.js.map +1 -1
- package/dist/components/hotkey/context.d.ts +5 -5
- package/dist/components/hotkey/context.js.map +1 -1
- package/dist/components/hotkey/index.d.ts +2 -2
- package/dist/components/hotkey/index.js +2 -1
- package/dist/components/hotkey/index.js.map +1 -1
- package/dist/components/hotkey/set.d.ts +2 -2
- package/dist/components/icon/context.d.ts +5 -5
- package/dist/components/icon/context.js.map +1 -1
- package/dist/components/icon/index.d.ts +2 -2
- package/dist/components/icon/index.js +1 -1
- package/dist/components/icon/index.js.map +1 -1
- package/dist/components/input/context.d.ts +4 -4
- package/dist/components/input/context.js.map +1 -1
- package/dist/components/input/index.d.ts +2 -2
- package/dist/components/input/index.js +4 -2
- package/dist/components/input/index.js.map +1 -1
- package/dist/components/input/types.d.ts +3 -3
- 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.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-title.js +1 -1
- package/dist/components/kanban/header-title.js.map +1 -1
- package/dist/components/kanban/header.d.ts +2 -2
- package/dist/components/kanban/kanban.d.ts +4 -4
- package/dist/components/label/context.d.ts +6 -6
- package/dist/components/label/context.js.map +1 -1
- package/dist/components/label/index.d.ts +2 -2
- package/dist/components/label/index.js +2 -1
- package/dist/components/label/index.js.map +1 -1
- package/dist/components/label/types.d.ts +1 -1
- package/dist/components/lines/index.d.ts +2 -2
- package/dist/components/link/context.d.ts +2 -2
- package/dist/components/link/context.js +1 -1
- package/dist/components/link/context.js.map +1 -1
- package/dist/components/link/index.d.ts +2 -2
- package/dist/components/link/index.js +3 -1
- package/dist/components/link/index.js.map +1 -1
- package/dist/components/link/types.d.ts +1 -1
- package/dist/components/list/context.d.ts +3 -3
- package/dist/components/list/context.js.map +1 -1
- package/dist/components/list/index.d.ts +2 -2
- package/dist/components/list/index.js +3 -1
- package/dist/components/list/index.js.map +1 -1
- 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/list/item.js +2 -1
- package/dist/components/list/item.js.map +1 -1
- package/dist/components/list/types.d.ts +1 -1
- 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/mute-button.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 +4 -4
- package/dist/components/menu/context.js.map +1 -1
- package/dist/components/menu/index.d.ts +2 -2
- package/dist/components/menu/index.js +4 -1
- package/dist/components/menu/index.js.map +1 -1
- package/dist/components/menu/item-description.d.ts +3 -3
- package/dist/components/menu/item-description.js +1 -1
- package/dist/components/menu/item-description.js.map +1 -1
- package/dist/components/menu/item-label.d.ts +3 -3
- package/dist/components/menu/item-label.js +1 -1
- package/dist/components/menu/item-label.js.map +1 -1
- package/dist/components/menu/item.d.ts +2 -2
- package/dist/components/menu/item.js +5 -1
- package/dist/components/menu/item.js.map +1 -1
- package/dist/components/menu/section.d.ts +2 -2
- package/dist/components/menu/section.js +1 -1
- package/dist/components/menu/section.js.map +1 -1
- package/dist/components/menu/separator.d.ts +3 -3
- package/dist/components/menu/separator.js +1 -1
- package/dist/components/menu/separator.js.map +1 -1
- package/dist/components/menu/submenu.d.ts +3 -3
- package/dist/components/menu/submenu.js +1 -1
- package/dist/components/menu/submenu.js.map +1 -1
- package/dist/components/menu/trigger.d.ts +1 -1
- package/dist/components/menu/trigger.js +1 -1
- package/dist/components/menu/trigger.js.map +1 -1
- package/dist/components/menu/types.d.ts +1 -1
- package/dist/components/notice/index.d.ts +2 -2
- package/dist/components/notice/index.js +5 -5
- package/dist/components/notice/index.js.map +1 -1
- package/dist/components/notice/list.d.ts +2 -2
- package/dist/components/notice/list.js +7 -6
- package/dist/components/notice/list.js.map +1 -1
- package/dist/components/notice/notice-icon.d.ts +2 -2
- package/dist/components/notice/types.d.ts +4 -4
- package/dist/components/options/context.d.ts +3 -3
- package/dist/components/options/context.js.map +1 -1
- package/dist/components/options/index.d.ts +2 -2
- package/dist/components/options/index.js +3 -1
- package/dist/components/options/index.js.map +1 -1
- package/dist/components/options/item-content.d.ts +3 -3
- package/dist/components/options/item-content.js.map +1 -1
- package/dist/components/options/item-description.d.ts +3 -3
- package/dist/components/options/item-description.js +1 -1
- package/dist/components/options/item-description.js.map +1 -1
- package/dist/components/options/item-label.d.ts +3 -3
- package/dist/components/options/item-label.js +2 -1
- package/dist/components/options/item-label.js.map +1 -1
- package/dist/components/options/item.d.ts +2 -2
- package/dist/components/options/item.js +2 -1
- package/dist/components/options/item.js.map +1 -1
- package/dist/components/options/section.d.ts +2 -2
- package/dist/components/options/section.js +1 -1
- package/dist/components/options/section.js.map +1 -1
- package/dist/components/options/types.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/index.js +1 -1
- package/dist/components/pagination/index.js.map +1 -1
- package/dist/components/pagination/next.d.ts +2 -2
- package/dist/components/pagination/next.js +3 -3
- package/dist/components/pagination/next.js.map +1 -1
- package/dist/components/pagination/pages.d.ts +2 -2
- package/dist/components/pagination/pages.js +3 -3
- package/dist/components/pagination/pages.js.map +1 -1
- package/dist/components/pagination/prev.d.ts +2 -2
- package/dist/components/pagination/prev.js +3 -3
- package/dist/components/pagination/prev.js.map +1 -1
- 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/index.js +1 -1
- package/dist/components/popover/index.js.map +1 -1
- package/dist/components/popover/title.d.ts +3 -3
- package/dist/components/popover/title.js +1 -1
- package/dist/components/popover/title.js.map +1 -1
- package/dist/components/popover/trigger.d.ts +2 -2
- package/dist/components/popover/trigger.js +3 -3
- package/dist/components/popover/trigger.js.map +1 -1
- package/dist/components/popover/types.d.ts +1 -1
- 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/value-editor.d.ts +2 -2
- package/dist/components/query-builder/value-selector.d.ts +2 -2
- package/dist/components/radio/context.d.ts +5 -5
- package/dist/components/radio/context.js.map +1 -1
- package/dist/components/radio/group.d.ts +2 -2
- package/dist/components/radio/group.js +5 -3
- package/dist/components/radio/group.js.map +1 -1
- package/dist/components/radio/index.d.ts +2 -2
- package/dist/components/radio/index.js +3 -1
- package/dist/components/radio/index.js.map +1 -1
- package/dist/components/radio/types.d.ts +3 -3
- package/dist/components/search-field/context.d.ts +6 -6
- package/dist/components/search-field/context.js.map +1 -1
- package/dist/components/search-field/index.d.ts +2 -2
- package/dist/components/search-field/index.js +3 -1
- package/dist/components/search-field/index.js.map +1 -1
- package/dist/components/search-field/types.d.ts +3 -3
- package/dist/components/select-field/context.d.ts +5 -5
- package/dist/components/select-field/context.js.map +1 -1
- package/dist/components/select-field/index.d.ts +2 -2
- package/dist/components/select-field/index.js +6 -3
- package/dist/components/select-field/index.js.map +1 -1
- package/dist/components/select-field/types.d.ts +8 -5
- package/dist/components/sidenav/avatar.d.ts +2 -2
- package/dist/components/sidenav/avatar.js +3 -1
- package/dist/components/sidenav/avatar.js.map +1 -1
- package/dist/components/sidenav/content.d.ts +2 -2
- package/dist/components/sidenav/content.js +1 -1
- package/dist/components/sidenav/content.js.map +1 -1
- 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/header.js +3 -1
- package/dist/components/sidenav/header.js.map +1 -1
- package/dist/components/sidenav/index.d.ts +2 -2
- package/dist/components/sidenav/index.js +2 -1
- package/dist/components/sidenav/index.js.map +1 -1
- package/dist/components/sidenav/item.d.ts +2 -2
- package/dist/components/sidenav/item.js +8 -5
- package/dist/components/sidenav/item.js.map +1 -1
- package/dist/components/sidenav/link.d.ts +2 -2
- package/dist/components/sidenav/link.js +8 -5
- package/dist/components/sidenav/link.js.map +1 -1
- package/dist/components/sidenav/menu-item.d.ts +2 -2
- package/dist/components/sidenav/menu-item.js +2 -1
- package/dist/components/sidenav/menu-item.js.map +1 -1
- package/dist/components/sidenav/menu.d.ts +2 -2
- package/dist/components/sidenav/menu.js +10 -5
- package/dist/components/sidenav/menu.js.map +1 -1
- package/dist/components/sidenav/trigger.d.ts +2 -2
- package/dist/components/sidenav/trigger.js +1 -1
- package/dist/components/sidenav/trigger.js.map +1 -1
- package/dist/components/sidenav/types.d.ts +6 -1
- package/dist/components/skeleton/index.d.ts +2 -2
- package/dist/components/slider/index.d.ts +2 -2
- package/dist/components/slider/index.js +9 -6
- package/dist/components/slider/index.js.map +1 -1
- package/dist/components/slider/types.d.ts +1 -1
- package/dist/components/status-indicator/index.d.ts +2 -2
- package/dist/components/switch/context.d.ts +6 -6
- package/dist/components/switch/context.js.map +1 -1
- package/dist/components/switch/index.d.ts +2 -2
- package/dist/components/switch/index.js +3 -1
- package/dist/components/switch/index.js.map +1 -1
- package/dist/components/switch/types.d.ts +1 -1
- 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 +2 -2
- package/dist/components/table/index.js +2 -2
- package/dist/components/table/index.js.map +1 -1
- package/dist/components/table/row.d.ts +2 -2
- package/dist/components/tabs/context.d.ts +8 -8
- package/dist/components/tabs/context.js.map +1 -1
- package/dist/components/tabs/index.d.ts +2 -2
- package/dist/components/tabs/index.js +3 -1
- package/dist/components/tabs/index.js.map +1 -1
- package/dist/components/tabs/list.d.ts +3 -3
- package/dist/components/tabs/list.js +2 -1
- package/dist/components/tabs/list.js.map +1 -1
- package/dist/components/tabs/panel.d.ts +3 -3
- package/dist/components/tabs/panel.js +2 -1
- package/dist/components/tabs/panel.js.map +1 -1
- package/dist/components/tabs/tab.d.ts +2 -2
- package/dist/components/tabs/tab.js +3 -1
- package/dist/components/tabs/tab.js.map +1 -1
- package/dist/components/tabs/types.d.ts +1 -1
- package/dist/components/text-area-field/context.d.ts +5 -5
- package/dist/components/text-area-field/context.js.map +1 -1
- package/dist/components/text-area-field/index.d.ts +2 -2
- package/dist/components/text-area-field/index.js +8 -3
- package/dist/components/text-area-field/index.js.map +1 -1
- package/dist/components/text-area-field/types.d.ts +3 -1
- package/dist/components/text-field/context.d.ts +6 -6
- package/dist/components/text-field/context.js.map +1 -1
- package/dist/components/text-field/index.d.ts +2 -2
- package/dist/components/text-field/index.js +9 -5
- package/dist/components/text-field/index.js.map +1 -1
- package/dist/components/text-field/types.d.ts +7 -6
- package/dist/components/time-field/index.d.ts +3 -3
- package/dist/components/time-field/index.js +4 -3
- package/dist/components/time-field/index.js.map +1 -1
- package/dist/components/time-field/types.d.ts +1 -1
- package/dist/components/tooltip/context.d.ts +3 -3
- package/dist/components/tooltip/context.js.map +1 -1
- package/dist/components/tooltip/index.d.ts +2 -2
- package/dist/components/tooltip/index.js +3 -2
- package/dist/components/tooltip/index.js.map +1 -1
- package/dist/components/tooltip/trigger.d.ts +2 -2
- package/dist/components/tooltip/trigger.js +6 -3
- package/dist/components/tooltip/trigger.js.map +1 -1
- package/dist/components/tooltip/types.d.ts +8 -3
- package/dist/components/tree/context.d.ts +3 -3
- package/dist/components/tree/index.d.ts +4 -2
- package/dist/components/tree/index.js +11 -6
- 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 +7 -7
- package/dist/components/tree/item-content.js.map +1 -1
- package/dist/components/tree/item-description.d.ts +3 -3
- package/dist/components/tree/item-description.js +1 -1
- package/dist/components/tree/item-description.js.map +1 -1
- package/dist/components/tree/item-label.d.ts +3 -3
- package/dist/components/tree/item-label.js +1 -1
- package/dist/components/tree/item-label.js.map +1 -1
- package/dist/components/tree/item-prefix-icon.d.ts +2 -2
- package/dist/components/tree/item.d.ts +2 -2
- package/dist/components/tree/item.js +14 -7
- package/dist/components/tree/item.js.map +1 -1
- package/dist/components/tree/lines.d.ts +2 -2
- package/dist/components/tree/types.d.ts +30 -16
- 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/trigger.js +1 -1
- package/dist/components/view-stack/trigger.js.map +1 -1
- package/dist/components/view-stack/types.d.ts +1 -1
- package/dist/components/view-stack/view.d.ts +2 -2
- package/dist/hooks/coordinate-field/use-coordinate-field-state.d.ts +2 -0
- package/dist/hooks/coordinate-field/use-coordinate-field-state.js +15 -2
- package/dist/hooks/coordinate-field/use-coordinate-field-state.js.map +1 -1
- package/dist/hooks/coordinate-field/use-coordinate-field.d.ts +1 -1
- package/dist/hooks/coordinate-field/use-coordinate-field.js +1 -1
- package/dist/hooks/coordinate-field/use-coordinate-field.js.map +1 -1
- package/dist/hooks/coordinate-field/use-coordinate-paste.js +27 -4
- package/dist/hooks/coordinate-field/use-coordinate-paste.js.map +1 -1
- package/dist/hooks/use-tree/actions/cache.d.ts +390 -18
- package/dist/hooks/use-tree/actions/cache.js +382 -18
- package/dist/hooks/use-tree/actions/cache.js.map +1 -1
- package/dist/hooks/use-tree/actions/index.d.ts +34 -21
- package/dist/hooks/use-tree/actions/index.js +34 -26
- package/dist/hooks/use-tree/actions/index.js.map +1 -1
- package/dist/hooks/use-tree/state/index.d.ts +5 -1
- package/dist/hooks/use-tree/state/index.js +5 -1
- package/dist/hooks/use-tree/state/index.js.map +1 -1
- package/dist/hooks/use-tree/state/utils.d.ts +28 -0
- package/dist/hooks/use-tree/state/utils.js +29 -1
- package/dist/hooks/use-tree/state/utils.js.map +1 -1
- package/dist/hooks/use-tree/types.d.ts +52 -24
- package/dist/index.d.ts +5 -4
- package/dist/lib/utils.d.ts +1 -1
- package/dist/lib/utils.js.map +1 -1
- package/dist/providers/portal.d.ts +2 -2
- package/dist/providers/portal.js +2 -2
- package/dist/providers/portal.js.map +1 -1
- package/dist/providers/theme-provider.d.ts +4 -4
- package/dist/providers/theme-provider.js +6 -7
- package/dist/providers/theme-provider.js.map +1 -1
- package/package.json +22 -39
- package/dist/node_modules/.pnpm/@react-aria_collections@3.0.0-rc.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@react-aria/collections/dist/BaseCollection.js +0 -134
- package/dist/node_modules/.pnpm/@react-aria_collections@3.0.0-rc.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@react-aria/collections/dist/BaseCollection.js.map +0 -1
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { LinesProps } from "./types.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime146 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/lines/index.d.ts
|
|
17
17
|
|
|
@@ -38,7 +38,7 @@ declare function Lines({
|
|
|
38
38
|
size,
|
|
39
39
|
variant,
|
|
40
40
|
isVisible
|
|
41
|
-
}: LinesProps):
|
|
41
|
+
}: LinesProps): react_jsx_runtime146.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { Lines };
|
|
44
44
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import { ProviderProps } from "../../lib/types.js";
|
|
14
14
|
import { LinkProps } from "./types.js";
|
|
15
15
|
import "client-only";
|
|
16
|
-
import * as
|
|
16
|
+
import * as react_jsx_runtime148 from "react/jsx-runtime";
|
|
17
17
|
|
|
18
18
|
//#region src/components/link/context.d.ts
|
|
19
19
|
|
|
@@ -38,7 +38,7 @@ import * as react_jsx_runtime113 from "react/jsx-runtime";
|
|
|
38
38
|
declare function LinkProvider({
|
|
39
39
|
children,
|
|
40
40
|
...props
|
|
41
|
-
}: ProviderProps<LinkProps>):
|
|
41
|
+
}: ProviderProps<LinkProps>): react_jsx_runtime148.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { LinkProvider };
|
|
44
44
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
'use client';
|
|
15
15
|
|
|
16
16
|
import "client-only";
|
|
17
|
-
import { LinkContext } from "react-aria-components";
|
|
18
17
|
import { jsx } from "react/jsx-runtime";
|
|
18
|
+
import { LinkContext } from "react-aria-components/Link";
|
|
19
19
|
|
|
20
20
|
//#region src/components/link/context.tsx
|
|
21
21
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","names":[],"sources":["../../../src/components/link/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'use client';\n\nimport 'client-only';\nimport { LinkContext } from 'react-aria-components';\nimport type { ProviderProps } from '@/lib/types';\nimport type { LinkProps } from './types';\n\n/**\n * LinkProvider - Context provider for setting default Link props.\n *\n * Use this to configure shared allowsVisited and className across\n * multiple Link components.\n *\n * @param props - ProviderProps<LinkProps>\n * @param props.children - Child components to receive context.\n * @returns The rendered LinkProvider component.\n *\n * @example\n * ```tsx\n * <LinkProvider allowsVisited className=\"visited:underline\">\n * <Link href=\"/link1\">Link One</Link>\n * <Link href=\"/link2\">Link Two</Link>\n * </LinkProvider>\n * ```\n */\nexport function LinkProvider({ children, ...props }: ProviderProps<LinkProps>) {\n return <LinkContext.Provider value={props}>{children}</LinkContext.Provider>;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAgB,aAAa,EAAE,UAAU,GAAG,SAAmC;AAC7E,QAAO,oBAAC,YAAY;EAAS,OAAO;EAAQ;GAAgC"}
|
|
1
|
+
{"version":3,"file":"context.js","names":[],"sources":["../../../src/components/link/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'use client';\n\nimport 'client-only';\nimport { LinkContext } from 'react-aria-components/Link';\nimport type { ProviderProps } from '@/lib/types';\nimport type { LinkProps } from './types';\n\n/**\n * LinkProvider - Context provider for setting default Link props.\n *\n * Use this to configure shared allowsVisited and className across\n * multiple Link components.\n *\n * @param props - ProviderProps<LinkProps>\n * @param props.children - Child components to receive context.\n * @returns The rendered LinkProvider component.\n *\n * @example\n * ```tsx\n * <LinkProvider allowsVisited className=\"visited:underline\">\n * <Link href=\"/link1\">Link One</Link>\n * <Link href=\"/link2\">Link Two</Link>\n * </LinkProvider>\n * ```\n */\nexport function LinkProvider({ children, ...props }: ProviderProps<LinkProps>) {\n return <LinkContext.Provider value={props}>{children}</LinkContext.Provider>;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAgB,aAAa,EAAE,UAAU,GAAG,SAAmC;AAC7E,QAAO,oBAAC,YAAY;EAAS,OAAO;EAAQ;GAAgC"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { LinkProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime149 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/link/index.d.ts
|
|
18
18
|
|
|
@@ -37,7 +37,7 @@ import * as react_jsx_runtime116 from "react/jsx-runtime";
|
|
|
37
37
|
declare function Link({
|
|
38
38
|
ref,
|
|
39
39
|
...props
|
|
40
|
-
}: LinkProps):
|
|
40
|
+
}: LinkProps): react_jsx_runtime149.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { Link };
|
|
43
43
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -15,8 +15,10 @@
|
|
|
15
15
|
|
|
16
16
|
import "client-only";
|
|
17
17
|
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
18
|
-
import {
|
|
18
|
+
import { composeRenderProps } from "react-aria-components/composeRenderProps";
|
|
19
19
|
import { jsx } from "react/jsx-runtime";
|
|
20
|
+
import { useContextProps } from "react-aria-components/slots";
|
|
21
|
+
import { Link as Link$1, LinkContext } from "react-aria-components/Link";
|
|
20
22
|
import styles from "./styles.module.css";
|
|
21
23
|
|
|
22
24
|
//#region src/components/link/index.tsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["AriaLink","className"],"sources":["../../../src/components/link/index.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'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport {
|
|
1
|
+
{"version":3,"file":"index.js","names":["AriaLink","className"],"sources":["../../../src/components/link/index.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'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { Link as AriaLink, LinkContext } from 'react-aria-components/Link';\nimport { composeRenderProps } from 'react-aria-components/composeRenderProps';\nimport { useContextProps } from 'react-aria-components/slots';\nimport styles from './styles.module.css';\nimport type { LinkProps } from './types';\n\n/**\n * Link - Accessible anchor/link component with optional visited state\n *\n * A flexible link component that handles visited state, external anchors, and\n * icon integration while providing ARIA-compatible behavior.\n *\n * @param props - {@link LinkProps}\n * @param props.ref - Ref to the anchor element.\n * @param props.allowsVisited - Whether the link shows visited styling when visited.\n * @param props.className - Optional CSS class name.\n * @param props.isVisited - Whether the link is in a visited state.\n * @returns The rendered Link component.\n *\n * @example\n * ```tsx\n * <Link href=\"/dashboard\">Go to Dashboard</Link>\n * ```\n */\nexport function Link({ ref, ...props }: LinkProps) {\n [props, ref] = useContextProps(props, ref ?? null, LinkContext);\n\n const {\n allowsVisited = false,\n className,\n isVisited = false,\n ...rest\n } = props;\n\n return (\n <AriaLink\n {...rest}\n ref={ref}\n className={composeRenderProps(className, (className) =>\n clsx(styles.link, className),\n )}\n data-visited={(allowsVisited && isVisited) || null}\n />\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,SAAgB,KAAK,EAAE,KAAK,GAAG,SAAoB;AACjD,EAAC,OAAO,OAAO,gBAAgB,OAAO,OAAO,MAAM,YAAY;CAE/D,MAAM,EACJ,gBAAgB,OAChB,WACA,YAAY,OACZ,GAAG,SACD;AAEJ,QACE,oBAACA;EACC,GAAI;EACC;EACL,WAAW,mBAAmB,YAAY,gBACxC,KAAK,OAAO,MAAMC,YAAU,CAC7B;EACD,gBAAe,iBAAiB,aAAc;GAC9C"}
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
|
|
13
13
|
import { ListItemVariant, ListProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
16
|
-
import { ContextValue } from "react-aria-components";
|
|
15
|
+
import * as react38 from "react";
|
|
16
|
+
import { ContextValue } from "react-aria-components/slots";
|
|
17
17
|
|
|
18
18
|
//#region src/components/list/context.d.ts
|
|
19
19
|
/**
|
|
20
20
|
* Context for sharing List variant across component tree.
|
|
21
21
|
*/
|
|
22
|
-
declare const ListContext:
|
|
22
|
+
declare const ListContext: react38.Context<ContextValue<ListProps<object>, HTMLDivElement>>;
|
|
23
23
|
/**
|
|
24
24
|
* Hook to get the current list item variant from context.
|
|
25
25
|
* Used internally by ListItemTitle and ListItemDescription for sizing.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","names":[],"sources":["../../../src/components/list/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'use client';\n\nimport 'client-only';\nimport { createContext, useContext } from 'react';\nimport type { ContextValue } from 'react-aria-components';\nimport type { ListProps } from './types';\n\nconst ListStylesDefaults = {\n variant: 'cozy',\n} as const;\n\n/**\n * Context for sharing List variant across component tree.\n */\nexport const ListContext = createContext<\n ContextValue<ListProps<object>, HTMLDivElement>\n>({ variant: ListStylesDefaults.variant });\n\n/**\n * Hook to get the current list item variant from context.\n * Used internally by ListItemTitle and ListItemDescription for sizing.\n *\n * @returns The current list item variant from context, or 'cozy' as the default.\n */\nexport const useListItemVariant = () => {\n const context = useContext(ListContext);\n\n if (typeof context === 'object' && context !== null) {\n if ('variant' in context && context.variant) {\n return context.variant;\n }\n }\n\n return ListStylesDefaults.variant;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAkBA,MAAM,qBAAqB,EACzB,SAAS,QACV;;;;AAKD,MAAa,cAAc,cAEzB,EAAE,SAAS,mBAAmB,SAAS,CAAC;;;;;;;AAQ1C,MAAa,2BAA2B;CACtC,MAAM,UAAU,WAAW,YAAY;AAEvC,KAAI,OAAO,YAAY,YAAY,YAAY,MAC7C;MAAI,aAAa,WAAW,QAAQ,QAClC,QAAO,QAAQ;;AAInB,QAAO,mBAAmB"}
|
|
1
|
+
{"version":3,"file":"context.js","names":[],"sources":["../../../src/components/list/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'use client';\n\nimport 'client-only';\nimport { createContext, useContext } from 'react';\nimport type { ContextValue } from 'react-aria-components/slots';\nimport type { ListProps } from './types';\n\nconst ListStylesDefaults = {\n variant: 'cozy',\n} as const;\n\n/**\n * Context for sharing List variant across component tree.\n */\nexport const ListContext = createContext<\n ContextValue<ListProps<object>, HTMLDivElement>\n>({ variant: ListStylesDefaults.variant });\n\n/**\n * Hook to get the current list item variant from context.\n * Used internally by ListItemTitle and ListItemDescription for sizing.\n *\n * @returns The current list item variant from context, or 'cozy' as the default.\n */\nexport const useListItemVariant = () => {\n const context = useContext(ListContext);\n\n if (typeof context === 'object' && context !== null) {\n if ('variant' in context && context.variant) {\n return context.variant;\n }\n }\n\n return ListStylesDefaults.variant;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAkBA,MAAM,qBAAqB,EACzB,SAAS,QACV;;;;AAKD,MAAa,cAAc,cAEzB,EAAE,SAAS,mBAAmB,SAAS,CAAC;;;;;;;AAQ1C,MAAa,2BAA2B;CACtC,MAAM,UAAU,WAAW,YAAY;AAEvC,KAAI,OAAO,YAAY,YAAY,YAAY,MAC7C;MAAI,aAAa,WAAW,QAAQ,QAClC,QAAO,QAAQ;;AAInB,QAAO,mBAAmB"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { ListProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime150 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/list/index.d.ts
|
|
18
18
|
|
|
@@ -47,7 +47,7 @@ import * as react_jsx_runtime110 from "react/jsx-runtime";
|
|
|
47
47
|
declare function List<T extends object>({
|
|
48
48
|
ref,
|
|
49
49
|
...props
|
|
50
|
-
}: ListProps<T>):
|
|
50
|
+
}: ListProps<T>): react_jsx_runtime150.JSX.Element;
|
|
51
51
|
//#endregion
|
|
52
52
|
export { List };
|
|
53
53
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -17,8 +17,10 @@ import { IconProvider } from "../icon/context.js";
|
|
|
17
17
|
import { ListContext } from "./context.js";
|
|
18
18
|
import "client-only";
|
|
19
19
|
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
20
|
-
import {
|
|
20
|
+
import { composeRenderProps } from "react-aria-components/composeRenderProps";
|
|
21
21
|
import { jsx } from "react/jsx-runtime";
|
|
22
|
+
import { useContextProps } from "react-aria-components/slots";
|
|
23
|
+
import { GridList } from "react-aria-components/GridList";
|
|
22
24
|
import styles from "./styles.module.css";
|
|
23
25
|
|
|
24
26
|
//#region src/components/list/index.tsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["className"],"sources":["../../../src/components/list/index.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'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport {
|
|
1
|
+
{"version":3,"file":"index.js","names":["className"],"sources":["../../../src/components/list/index.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'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { GridList } from 'react-aria-components/GridList';\nimport { composeRenderProps } from 'react-aria-components/composeRenderProps';\nimport { useContextProps } from 'react-aria-components/slots';\nimport { IconProvider } from '../icon/context';\nimport { ListContext } from './context';\nimport styles from './styles.module.css';\nimport type { ListProps } from './types';\n\n/**\n * List - A flexible grid list component for selectable items with rich content\n *\n * Provides accessible grid list functionality with support for selection,\n * and rich item content including labels, descriptions, icons, and actions. Perfect for\n * data tables, file lists, or any selectable grid interface.\n *\n * @example\n * ```tsx\n * // Basic list view with sizing\n * <div className='h-[400px] w-[300px]'>\n * <List className='h-full' aria-label='Items'>\n * <ListItem>\n * <ListItemContent>\n * <ListItemTitle>Item 1</ListItemTitle>\n * </ListItemContent>\n * </ListItem>\n * </List>\n * </div>\n * ```\n *\n * @param props - {@link ListProps}\n * @param props.ref - Forwarded ref to the underlying GridList element.\n * @param props.children - List item elements to render.\n * @param props.className - Optional CSS class name.\n * @param props.variant - Visual density variant for list items.\n * @returns The rendered List component.\n */\nexport function List<T extends object>({ ref, ...props }: ListProps<T>) {\n [props, ref] = useContextProps(props, ref ?? null, ListContext);\n\n const { children, className, variant, ...rest } = props;\n\n return (\n <ListContext.Provider value={{ variant }}>\n <IconProvider size={variant === 'cozy' ? 'large' : 'small'}>\n <GridList<T>\n {...rest}\n ref={ref}\n className={composeRenderProps(className, (className) =>\n clsx('group/list', styles.list, className),\n )}\n >\n {children}\n </GridList>\n </IconProvider>\n </ListContext.Provider>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmDA,SAAgB,KAAuB,EAAE,KAAK,GAAG,SAAuB;AACtE,EAAC,OAAO,OAAO,gBAAgB,OAAO,OAAO,MAAM,YAAY;CAE/D,MAAM,EAAE,UAAU,WAAW,SAAS,GAAG,SAAS;AAElD,QACE,oBAAC,YAAY;EAAS,OAAO,EAAE,SAAS;YACtC,oBAAC;GAAa,MAAM,YAAY,SAAS,UAAU;aACjD,oBAAC;IACC,GAAI;IACC;IACL,WAAW,mBAAmB,YAAY,gBACxC,KAAK,cAAc,OAAO,MAAMA,YAAU,CAC3C;IAEA;KACQ;IACE;GACM"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { ListItemContentProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime151 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/list/item-content.d.ts
|
|
18
18
|
|
|
@@ -37,7 +37,7 @@ import * as react_jsx_runtime112 from "react/jsx-runtime";
|
|
|
37
37
|
declare function ListItemContent({
|
|
38
38
|
className,
|
|
39
39
|
...rest
|
|
40
|
-
}: ListItemContentProps):
|
|
40
|
+
}: ListItemContentProps): react_jsx_runtime151.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { ListItemContent };
|
|
43
43
|
//# sourceMappingURL=item-content.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { ListItemDescriptionProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime167 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/list/item-description.d.ts
|
|
18
18
|
/**
|
|
@@ -35,7 +35,7 @@ declare function ListItemDescription({
|
|
|
35
35
|
children,
|
|
36
36
|
className,
|
|
37
37
|
...rest
|
|
38
|
-
}: ListItemDescriptionProps):
|
|
38
|
+
}: ListItemDescriptionProps): react_jsx_runtime167.JSX.Element;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { ListItemDescription };
|
|
41
41
|
//# sourceMappingURL=item-description.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { ListItemTitleProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime152 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/list/item-title.d.ts
|
|
18
18
|
/**
|
|
@@ -35,7 +35,7 @@ declare function ListItemTitle({
|
|
|
35
35
|
children,
|
|
36
36
|
className,
|
|
37
37
|
...rest
|
|
38
|
-
}: ListItemTitleProps):
|
|
38
|
+
}: ListItemTitleProps): react_jsx_runtime152.JSX.Element;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { ListItemTitle };
|
|
41
41
|
//# sourceMappingURL=item-title.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { ListItemProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime153 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/list/item.d.ts
|
|
18
18
|
|
|
@@ -46,7 +46,7 @@ declare function ListItem<T extends object>({
|
|
|
46
46
|
classNames,
|
|
47
47
|
textValue,
|
|
48
48
|
...rest
|
|
49
|
-
}: ListItemProps<T>):
|
|
49
|
+
}: ListItemProps<T>): react_jsx_runtime153.JSX.Element;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { ListItem };
|
|
52
52
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -16,8 +16,9 @@
|
|
|
16
16
|
import { ListItemTitle } from "./item-title.js";
|
|
17
17
|
import "client-only";
|
|
18
18
|
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
19
|
-
import {
|
|
19
|
+
import { composeRenderProps } from "react-aria-components/composeRenderProps";
|
|
20
20
|
import { jsx } from "react/jsx-runtime";
|
|
21
|
+
import { GridListItem } from "react-aria-components/GridList";
|
|
21
22
|
import styles from "./styles.module.css";
|
|
22
23
|
|
|
23
24
|
//#region src/components/list/item.tsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.js","names":["children"],"sources":["../../../src/components/list/item.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'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport {
|
|
1
|
+
{"version":3,"file":"item.js","names":["children"],"sources":["../../../src/components/list/item.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'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { GridListItem } from 'react-aria-components/GridList';\nimport { composeRenderProps } from 'react-aria-components/composeRenderProps';\nimport { ListItemTitle } from './item-title';\nimport styles from './styles.module.css';\nimport type { ListItemProps } from './types';\n\n/**\n * ListItem - Individual selectable item within a List\n *\n * Represents a single row in the grid list with full interaction support including\n * selection, hover states, and keyboard navigation. Can contain icons, content,\n * indicators, and action elements. If children is a string, it will be automatically\n * wrapped in a ListItemTitle.\n *\n * @example\n * ```tsx\n * <ListItem textValue=\"User item\">\n * <Icon><Avatar /></Icon>\n * <ListItemContent>\n * <ListItemTitle>John Doe</ListItemTitle>\n * <ListItemDescription>Software Engineer</ListItemDescription>\n * </ListItemContent>\n * </ListItem>\n * ```\n *\n * @param props - {@link ListItemProps}\n * @param props.children - Content to render inside the list item.\n * @param props.classNames - CSS class names for list item elements.\n * @param props.textValue - Accessible text value for the item.\n * @returns The rendered ListItem component.\n */\nexport function ListItem<T extends object>({\n children,\n classNames,\n textValue = typeof children === 'string' ? children : '',\n ...rest\n}: ListItemProps<T>) {\n return (\n <GridListItem\n className={composeRenderProps(classNames?.item, (className) =>\n clsx('group/list-item', styles.item, className),\n )}\n textValue={textValue}\n {...rest}\n >\n {composeRenderProps(children, (children) =>\n typeof children === 'string' ? (\n <ListItemTitle>{children}</ListItemTitle>\n ) : (\n children\n ),\n )}\n </GridListItem>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CA,SAAgB,SAA2B,EACzC,UACA,YACA,YAAY,OAAO,aAAa,WAAW,WAAW,IACtD,GAAG,QACgB;AACnB,QACE,oBAAC;EACC,WAAW,mBAAmB,YAAY,OAAO,cAC/C,KAAK,mBAAmB,OAAO,MAAM,UAAU,CAChD;EACU;EACX,GAAI;YAEH,mBAAmB,WAAW,eAC7B,OAAOA,eAAa,WAClB,oBAAC,2BAAeA,aAAyB,GAEzCA,WAEH;GACY"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { IconProps } from "../icon/types.js";
|
|
14
14
|
import { ComponentPropsWithRef, RefAttributes } from "react";
|
|
15
|
-
import { GridListItemProps, GridListProps } from "react-aria-components";
|
|
15
|
+
import { GridListItemProps, GridListProps } from "react-aria-components/GridList";
|
|
16
16
|
|
|
17
17
|
//#region src/components/list/types.d.ts
|
|
18
18
|
/**
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
|
|
13
13
|
import { MediaControlsContextValue } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react39 from "react";
|
|
16
16
|
import { PropsWithChildren } from "react";
|
|
17
|
-
import * as
|
|
17
|
+
import * as react_jsx_runtime154 from "react/jsx-runtime";
|
|
18
18
|
|
|
19
19
|
//#region src/components/media-controls/context.d.ts
|
|
20
20
|
/**
|
|
@@ -22,7 +22,7 @@ import * as react_jsx_runtime131 from "react/jsx-runtime";
|
|
|
22
22
|
*
|
|
23
23
|
* Provides shared configuration values (isDisabled) to all child controls.
|
|
24
24
|
*/
|
|
25
|
-
declare const MediaControlsContext:
|
|
25
|
+
declare const MediaControlsContext: react39.Context<MediaControlsContextValue>;
|
|
26
26
|
/**
|
|
27
27
|
* Validates that media-chrome's MediaProvider is present.
|
|
28
28
|
*
|
|
@@ -60,7 +60,7 @@ declare function useMediaControlsDisabled(propIsDisabled?: boolean): boolean;
|
|
|
60
60
|
declare function MediaControlsProvider({
|
|
61
61
|
children,
|
|
62
62
|
isDisabled
|
|
63
|
-
}: PropsWithChildren<Partial<MediaControlsContextValue>>):
|
|
63
|
+
}: PropsWithChildren<Partial<MediaControlsContextValue>>): react_jsx_runtime154.JSX.Element;
|
|
64
64
|
//#endregion
|
|
65
65
|
export { MediaControlsContext, MediaControlsProvider, useMediaControlsDisabled, useMediaProviderGuard };
|
|
66
66
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { FullscreenButtonProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime155 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/media-controls/fullscreen-button.d.ts
|
|
18
18
|
|
|
@@ -49,7 +49,7 @@ declare function FullscreenButton({
|
|
|
49
49
|
isDisabled: isDisabledProp,
|
|
50
50
|
ref,
|
|
51
51
|
...rest
|
|
52
|
-
}: FullscreenButtonProps):
|
|
52
|
+
}: FullscreenButtonProps): react_jsx_runtime155.JSX.Element;
|
|
53
53
|
//#endregion
|
|
54
54
|
export { FullscreenButton };
|
|
55
55
|
//# sourceMappingURL=fullscreen-button.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { MediaControlsProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime156 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/media-controls/index.d.ts
|
|
18
18
|
|
|
@@ -62,7 +62,7 @@ declare function MediaControls({
|
|
|
62
62
|
children,
|
|
63
63
|
isDisabled,
|
|
64
64
|
...rest
|
|
65
|
-
}: MediaControlsProps):
|
|
65
|
+
}: MediaControlsProps): react_jsx_runtime156.JSX.Element;
|
|
66
66
|
//#endregion
|
|
67
67
|
export { MediaControls };
|
|
68
68
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { MuteButtonProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime157 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/media-controls/mute-button.d.ts
|
|
18
18
|
|
|
@@ -41,7 +41,7 @@ declare function MuteButton({
|
|
|
41
41
|
isDisabled: isDisabledProp,
|
|
42
42
|
ref,
|
|
43
43
|
...rest
|
|
44
|
-
}: MuteButtonProps):
|
|
44
|
+
}: MuteButtonProps): react_jsx_runtime157.JSX.Element;
|
|
45
45
|
//#endregion
|
|
46
46
|
export { MuteButton };
|
|
47
47
|
//# sourceMappingURL=mute-button.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { PlayButtonProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime158 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/media-controls/play-button.d.ts
|
|
18
18
|
|
|
@@ -41,7 +41,7 @@ declare function PlayButton({
|
|
|
41
41
|
isDisabled: isDisabledProp,
|
|
42
42
|
ref,
|
|
43
43
|
...rest
|
|
44
|
-
}: PlayButtonProps):
|
|
44
|
+
}: PlayButtonProps): react_jsx_runtime158.JSX.Element;
|
|
45
45
|
//#endregion
|
|
46
46
|
export { PlayButton };
|
|
47
47
|
//# sourceMappingURL=play-button.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { PlaybackRateButtonProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime159 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/media-controls/playback-rate.d.ts
|
|
18
18
|
|
|
@@ -52,7 +52,7 @@ declare function PlaybackRateButton({
|
|
|
52
52
|
isDisabled: isDisabledProp,
|
|
53
53
|
ref,
|
|
54
54
|
...rest
|
|
55
|
-
}: PlaybackRateButtonProps):
|
|
55
|
+
}: PlaybackRateButtonProps): react_jsx_runtime159.JSX.Element;
|
|
56
56
|
//#endregion
|
|
57
57
|
export { PlaybackRateButton };
|
|
58
58
|
//# sourceMappingURL=playback-rate.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { SeekButtonProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime161 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/media-controls/seek-button.d.ts
|
|
18
18
|
|
|
@@ -54,7 +54,7 @@ declare function SeekButton({
|
|
|
54
54
|
isDisabled: isDisabledProp,
|
|
55
55
|
ref,
|
|
56
56
|
...rest
|
|
57
|
-
}: SeekButtonProps):
|
|
57
|
+
}: SeekButtonProps): react_jsx_runtime161.JSX.Element;
|
|
58
58
|
//#endregion
|
|
59
59
|
export { SeekButton };
|
|
60
60
|
//# sourceMappingURL=seek-button.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { TimeDisplayProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime160 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/media-controls/time-display.d.ts
|
|
18
18
|
|
|
@@ -63,7 +63,7 @@ declare function TimeDisplay({
|
|
|
63
63
|
isDisabled: isDisabledProp,
|
|
64
64
|
mode,
|
|
65
65
|
ref
|
|
66
|
-
}: TimeDisplayProps):
|
|
66
|
+
}: TimeDisplayProps): react_jsx_runtime160.JSX.Element;
|
|
67
67
|
//#endregion
|
|
68
68
|
export { TimeDisplay };
|
|
69
69
|
//# sourceMappingURL=time-display.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { TimeRangeProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime162 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/media-controls/time-range.d.ts
|
|
18
18
|
|
|
@@ -40,7 +40,7 @@ declare function TimeRange({
|
|
|
40
40
|
className,
|
|
41
41
|
isDisabled: isDisabledProp,
|
|
42
42
|
ref
|
|
43
|
-
}: TimeRangeProps):
|
|
43
|
+
}: TimeRangeProps): react_jsx_runtime162.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { TimeRange };
|
|
46
46
|
//# sourceMappingURL=time-range.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { VolumeSliderProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime163 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/media-controls/volume-slider.d.ts
|
|
18
18
|
|
|
@@ -48,7 +48,7 @@ declare function VolumeSlider({
|
|
|
48
48
|
showLabel,
|
|
49
49
|
isDisabled: isDisabledProp,
|
|
50
50
|
ref
|
|
51
|
-
}: VolumeSliderProps):
|
|
51
|
+
}: VolumeSliderProps): react_jsx_runtime163.JSX.Element;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { VolumeSlider };
|
|
54
54
|
//# sourceMappingURL=volume-slider.d.ts.map
|
|
@@ -10,17 +10,17 @@
|
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import { MenuProps
|
|
13
|
+
import { MenuProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
16
|
-
import { ContextValue } from "react-aria-components";
|
|
15
|
+
import * as react40 from "react";
|
|
16
|
+
import { ContextValue } from "react-aria-components/slots";
|
|
17
17
|
|
|
18
18
|
//#region src/components/menu/context.d.ts
|
|
19
19
|
/**
|
|
20
20
|
* Context for sharing Menu props across component tree.
|
|
21
21
|
* Used internally by Menu subcomponents for variant and state coordination.
|
|
22
22
|
*/
|
|
23
|
-
declare const MenuContext:
|
|
23
|
+
declare const MenuContext: react40.Context<ContextValue<MenuProps<unknown>, HTMLDivElement>>;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { MenuContext };
|
|
26
26
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","names":[],"sources":["../../../src/components/menu/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 } from 'react';\nimport type { ContextValue } from 'react-aria-components';\nimport type { MenuProps } from './types';\n\n/**\n * Context for sharing Menu props across component tree.\n * Used internally by Menu subcomponents for variant and state coordination.\n */\nexport const MenuContext =\n createContext<ContextValue<MenuProps<unknown>, HTMLDivElement>>(null);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAuBA,MAAa,cACX,cAAgE,KAAK"}
|
|
1
|
+
{"version":3,"file":"context.js","names":[],"sources":["../../../src/components/menu/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 } from 'react';\nimport type { ContextValue } from 'react-aria-components/slots';\nimport type { MenuProps } from './types';\n\n/**\n * Context for sharing Menu props across component tree.\n * Used internally by Menu subcomponents for variant and state coordination.\n */\nexport const MenuContext =\n createContext<ContextValue<MenuProps<unknown>, HTMLDivElement>>(null);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAuBA,MAAa,cACX,cAAgE,KAAK"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { MenuProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime165 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/menu/index.d.ts
|
|
18
18
|
|
|
@@ -126,7 +126,7 @@ import * as react_jsx_runtime118 from "react/jsx-runtime";
|
|
|
126
126
|
declare function Menu<T extends object>({
|
|
127
127
|
ref,
|
|
128
128
|
...props
|
|
129
|
-
}: MenuProps<T>):
|
|
129
|
+
}: MenuProps<T>): react_jsx_runtime165.JSX.Element;
|
|
130
130
|
//#endregion
|
|
131
131
|
export { Menu };
|
|
132
132
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -16,8 +16,11 @@
|
|
|
16
16
|
import { MenuContext } from "./context.js";
|
|
17
17
|
import "client-only";
|
|
18
18
|
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
19
|
-
import {
|
|
19
|
+
import { composeRenderProps } from "react-aria-components/composeRenderProps";
|
|
20
20
|
import { jsx } from "react/jsx-runtime";
|
|
21
|
+
import { useContextProps } from "react-aria-components/slots";
|
|
22
|
+
import { Popover } from "react-aria-components/Popover";
|
|
23
|
+
import { Menu as Menu$1 } from "react-aria-components/Menu";
|
|
21
24
|
import styles from "./styles.module.css";
|
|
22
25
|
|
|
23
26
|
//#region src/components/menu/index.tsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["AriaMenu"],"sources":["../../../src/components/menu/index.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 { clsx } from '@accelint/design-foundation/lib/utils';\nimport {
|
|
1
|
+
{"version":3,"file":"index.js","names":["AriaMenu"],"sources":["../../../src/components/menu/index.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 { clsx } from '@accelint/design-foundation/lib/utils';\nimport { Menu as AriaMenu } from 'react-aria-components/Menu';\nimport { Popover } from 'react-aria-components/Popover';\nimport { composeRenderProps } from 'react-aria-components/composeRenderProps';\nimport { useContextProps } from 'react-aria-components/slots';\nimport { MenuContext } from './context';\nimport styles from './styles.module.css';\nimport type { MenuProps } from './types';\n\n/**\n * Menu - A dropdown menu component with keyboard navigation and selection\n *\n * Provides accessible dropdown menu functionality with support for single and\n * multiple selection modes. Includes sections, separators, and submenu support\n * with comprehensive keyboard navigation and ARIA compliance.\n *\n * IMPORTANT: Menu includes its own internal Popover. Do NOT wrap Menu in a\n * Popover component. Use the `popoverProps` prop to configure placement and\n * other popover settings.\n *\n * @example\n * ```tsx\n * // Basic menu with trigger\n * <MenuTrigger>\n * <Button>Open Menu</Button>\n * <Menu>\n * <MenuItem>Edit</MenuItem>\n * <MenuItem>Copy</MenuItem>\n * <MenuItem>Delete</MenuItem>\n * </Menu>\n * </MenuTrigger>\n * ```\n\n * @example\n * ```tsx\n * // Menu with custom placement\n * <MenuTrigger>\n * <Button>Open Menu</Button>\n * <Menu popoverProps={{ placement: 'top end' }}>\n * <MenuItem>Edit</MenuItem>\n * <MenuItem>Copy</MenuItem>\n * </Menu>\n * </MenuTrigger>\n * ```\n *\n * @example\n * ```tsx\n * // Menu with action handler\n * <MenuTrigger>\n * <Button>Actions</Button>\n * <Menu onAction={(key) => console.log(key)}>\n * <MenuItem id=\"edit\">Edit</MenuItem>\n * <MenuItem id=\"delete\">Delete</MenuItem>\n * </Menu>\n * </MenuTrigger>\n * ```\n *\n * @example\n * ```tsx\n * // Menu with sections and separators\n * <MenuTrigger>\n * <Button>Open</Button>\n * <Menu>\n * <MenuSection>\n * <MenuItem>New File</MenuItem>\n * <MenuItem>Open File</MenuItem>\n * </MenuSection>\n *\n * <MenuSeparator />\n *\n * <MenuItem>Settings</MenuItem>\n * </Menu>\n * </MenuTrigger>\n * ```\n *\n * @example\n * ```tsx\n * // Menu with selection\n * <MenuTrigger>\n * <Button>Group</Button>\n * <Menu selectionMode='multiple'>\n * <MenuItem>Option 1</MenuItem>\n * <MenuItem>Option 2</MenuItem>\n * </Menu>\n * </MenuTrigger>\n * ```\n *\n * @example\n * ```tsx\n * // Menu with submenu\n * <MenuTrigger>\n * <Button>Actions</Button>\n * <Menu>\n * <MenuItem>New File</MenuItem>\n * <MenuSubmenu>\n * <MenuItem>Export</MenuItem>\n * <Menu>\n * <MenuItem>Export as PDF</MenuItem>\n * <MenuItem>Export as CSV</MenuItem>\n * <MenuItem>Export as JSON</MenuItem>\n * </Menu>\n * </MenuSubmenu>\n * <MenuItem>Delete</MenuItem>\n * </Menu>\n * </MenuTrigger>\n * ```\n *\n * @param props - {@link MenuProps}\n * @param props.ref - Forwarded ref to the underlying Menu element.\n * @param props.children - Menu items and sections to render.\n * @param props.classNames - CSS class names for menu elements.\n * @param props.popoverProps - Props passed to the internal Popover component.\n * @param props.selectionMode - Selection mode for menu items.\n * @param props.variant - Visual density variant for the menu.\n * @returns The rendered Menu component.\n */\nexport function Menu<T extends object>({ ref, ...props }: MenuProps<T>) {\n [props, ref] = useContextProps(props, ref ?? null, MenuContext);\n\n const {\n children,\n classNames,\n popoverProps,\n selectionMode = 'single',\n variant = 'cozy',\n ...rest\n } = props;\n\n return (\n <Popover\n {...popoverProps}\n className={composeRenderProps(classNames?.popover, (className) =>\n clsx(styles.popover, className),\n )}\n >\n <MenuContext.Provider value={{ variant }}>\n <AriaMenu\n {...rest}\n ref={ref}\n className={composeRenderProps(classNames?.menu, (className) =>\n clsx('group/menu', styles.menu, styles[variant], className),\n )}\n selectionMode={selectionMode}\n >\n {children}\n </AriaMenu>\n </MenuContext.Provider>\n </Popover>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmIA,SAAgB,KAAuB,EAAE,KAAK,GAAG,SAAuB;AACtE,EAAC,OAAO,OAAO,gBAAgB,OAAO,OAAO,MAAM,YAAY;CAE/D,MAAM,EACJ,UACA,YACA,cACA,gBAAgB,UAChB,UAAU,QACV,GAAG,SACD;AAEJ,QACE,oBAAC;EACC,GAAI;EACJ,WAAW,mBAAmB,YAAY,UAAU,cAClD,KAAK,OAAO,SAAS,UAAU,CAChC;YAED,oBAAC,YAAY;GAAS,OAAO,EAAE,SAAS;aACtC,oBAACA;IACC,GAAI;IACC;IACL,WAAW,mBAAmB,YAAY,OAAO,cAC/C,KAAK,cAAc,OAAO,MAAM,OAAO,UAAU,UAAU,CAC5D;IACc;IAEd;KACQ;IACU;GACf"}
|