@accelint/design-toolkit 9.10.0 → 9.11.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/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.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/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/index.d.ts +2 -2
- package/dist/components/coordinate-field/index.js +28 -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 +5 -5
- 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 +4 -4
- 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/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 +5 -50
- 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-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-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-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/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 +1 -1
- 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 +3 -3
- package/dist/components/select-field/context.js.map +1 -1
- 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 +5 -5
- 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/context.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.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/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.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 +16 -33
- 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
|
@@ -16,8 +16,10 @@
|
|
|
16
16
|
import { OptionsContext } 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 { ListBox } from "react-aria-components/ListBox";
|
|
21
23
|
import styles from "./styles.module.css";
|
|
22
24
|
|
|
23
25
|
//#region src/components/options/index.tsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["className"],"sources":["../../../src/components/options/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/options/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 { ListBox } from 'react-aria-components/ListBox';\nimport { composeRenderProps } from 'react-aria-components/composeRenderProps';\nimport { useContextProps } from 'react-aria-components/slots';\nimport { OptionsContext } from './context';\nimport styles from './styles.module.css';\nimport type { OptionsDataItem, OptionsProps } from './types';\n\n/**\n * Options - A flexible list component for selectable items with rich content\n *\n * Provides accessible list functionality with support for selection, sections,\n * and rich item content including labels, descriptions, and icons. Perfect for\n * dropdown lists, menu items, or any selectable list interface.\n *\n * @example\n * ```tsx\n * // Basic options list\n * <Options>\n * <OptionsItem>\n * <OptionsItemLabel>Option 1</OptionsItemLabel>\n * </OptionsItem>\n * <OptionsItem>\n * <OptionsItemLabel>Option 2</OptionsItemLabel>\n * </OptionsItem>\n * </Options>\n * ```\n *\n * @example\n * ```tsx\n * // Options with descriptions and icons\n * <Options>\n * <OptionsItem>\n * <Icon><User /></Icon>\n * <OptionsItemContent>\n * <OptionsItemLabel>John Doe</OptionsItemLabel>\n * <OptionsItemDescription>Senior Developer</OptionsItemDescription>\n * </OptionsItemContent>\n * </OptionsItem>\n * </Options>\n * ```\n *\n * @example\n * ```tsx\n * // Sectioned options\n * <Options>\n * <OptionsSection header=\"Recent\">\n * <OptionsItem>Recent Item 1</OptionsItem>\n * </OptionsSection>\n * <OptionsSection header=\"All Items\">\n * <OptionsItem>All Items 1</OptionsItem>\n * </OptionsSection>\n * </Options>\n * ```\n *\n * @param props - {@link OptionsProps}\n * @param props.ref - Forwarded ref to the underlying ListBox element.\n * @param props.children - Options items and sections to render.\n * @param props.className - Optional CSS class name.\n * @param props.size - Size variant for the options list.\n * @returns The rendered Options component.\n */\nexport function Options<T extends OptionsDataItem>({\n ref,\n ...props\n}: OptionsProps<T>) {\n [props, ref] = useContextProps(props, ref ?? null, OptionsContext);\n\n const { children, className, size, ...rest } = props;\n\n return (\n <ListBox<T>\n {...rest}\n ref={ref}\n className={composeRenderProps(className, (className) =>\n clsx('group/options', styles.list, className),\n )}\n data-size={size}\n >\n {children}\n </ListBox>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4EA,SAAgB,QAAmC,EACjD,KACA,GAAG,SACe;AAClB,EAAC,OAAO,OAAO,gBAAgB,OAAO,OAAO,MAAM,eAAe;CAElE,MAAM,EAAE,UAAU,WAAW,MAAM,GAAG,SAAS;AAE/C,QACE,oBAAC;EACC,GAAI;EACC;EACL,WAAW,mBAAmB,YAAY,gBACxC,KAAK,iBAAiB,OAAO,MAAMA,YAAU,CAC9C;EACD,aAAW;EAEV;GACO"}
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import
|
|
14
|
-
import
|
|
13
|
+
import * as react_jsx_runtime130 from "react/jsx-runtime";
|
|
14
|
+
import { TextProps } from "react-aria-components/Text";
|
|
15
15
|
|
|
16
16
|
//#region src/components/options/item-content.d.ts
|
|
17
17
|
|
|
@@ -37,7 +37,7 @@ import * as react_jsx_runtime125 from "react/jsx-runtime";
|
|
|
37
37
|
declare function OptionsItemContent({
|
|
38
38
|
className,
|
|
39
39
|
...rest
|
|
40
|
-
}: TextProps):
|
|
40
|
+
}: TextProps): react_jsx_runtime130.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { OptionsItemContent };
|
|
43
43
|
//# sourceMappingURL=item-content.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-content.js","names":[],"sources":["../../../src/components/options/item-content.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 */\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport styles from './styles.module.css';\nimport type { TextProps } from 'react-aria-components';\n\n/**\n * OptionsItemContent - Container for label and description within an item\n *\n * Use when an item needs both a label and description.\n *\n * @example\n * ```tsx\n * <OptionsItem>\n * <OptionsItemContent>\n * <OptionsItemLabel>Option Name</OptionsItemLabel>\n * <OptionsItemDescription>Description text</OptionsItemDescription>\n * </OptionsItemContent>\n * </OptionsItem>\n * ```\n *\n * @param props - TextProps from react-aria-components.\n * @param props.className - Optional CSS class name.\n * @returns The rendered OptionsItemContent component.\n */\nexport function OptionsItemContent({ className, ...rest }: TextProps) {\n return <div {...rest} className={clsx(styles.content, className)} />;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,SAAgB,mBAAmB,EAAE,WAAW,GAAG,QAAmB;AACpE,QAAO,oBAAC;EAAI,GAAI;EAAM,WAAW,KAAK,OAAO,SAAS,UAAU;GAAI"}
|
|
1
|
+
{"version":3,"file":"item-content.js","names":[],"sources":["../../../src/components/options/item-content.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 */\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport styles from './styles.module.css';\nimport type { TextProps } from 'react-aria-components/Text';\n\n/**\n * OptionsItemContent - Container for label and description within an item\n *\n * Use when an item needs both a label and description.\n *\n * @example\n * ```tsx\n * <OptionsItem>\n * <OptionsItemContent>\n * <OptionsItemLabel>Option Name</OptionsItemLabel>\n * <OptionsItemDescription>Description text</OptionsItemDescription>\n * </OptionsItemContent>\n * </OptionsItem>\n * ```\n *\n * @param props - TextProps from react-aria-components.\n * @param props.className - Optional CSS class name.\n * @returns The rendered OptionsItemContent component.\n */\nexport function OptionsItemContent({ className, ...rest }: TextProps) {\n return <div {...rest} className={clsx(styles.content, className)} />;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,SAAgB,mBAAmB,EAAE,WAAW,GAAG,QAAmB;AACpE,QAAO,oBAAC;EAAI,GAAI;EAAM,WAAW,KAAK,OAAO,SAAS,UAAU;GAAI"}
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import
|
|
14
|
-
import
|
|
13
|
+
import * as react_jsx_runtime131 from "react/jsx-runtime";
|
|
14
|
+
import { TextProps } from "react-aria-components/Text";
|
|
15
15
|
|
|
16
16
|
//#region src/components/options/item-description.d.ts
|
|
17
17
|
/**
|
|
@@ -29,7 +29,7 @@ import * as react_jsx_runtime127 from "react/jsx-runtime";
|
|
|
29
29
|
declare function OptionsItemDescription({
|
|
30
30
|
className,
|
|
31
31
|
...rest
|
|
32
|
-
}: TextProps):
|
|
32
|
+
}: TextProps): react_jsx_runtime131.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { OptionsItemDescription };
|
|
35
35
|
//# sourceMappingURL=item-description.d.ts.map
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
15
|
-
import { Text } from "react-aria-components";
|
|
16
15
|
import { jsx } from "react/jsx-runtime";
|
|
16
|
+
import { Text } from "react-aria-components/Text";
|
|
17
17
|
import styles from "./styles.module.css";
|
|
18
18
|
|
|
19
19
|
//#region src/components/options/item-description.tsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-description.js","names":[],"sources":["../../../src/components/options/item-description.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\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { Text } from 'react-aria-components';\nimport styles from './styles.module.css';\
|
|
1
|
+
{"version":3,"file":"item-description.js","names":[],"sources":["../../../src/components/options/item-description.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\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { Text, type TextProps } from 'react-aria-components/Text';\nimport styles from './styles.module.css';\n\n/**\n * OptionsItemDescription - Secondary text description for an options item\n *\n * @example\n * ```tsx\n * <OptionsItemDescription>Additional details about this option</OptionsItemDescription>\n * ```\n *\n * @param props - TextProps from react-aria-components.\n * @param props.className - Optional CSS class name.\n * @returns The rendered OptionsItemDescription component.\n */\nexport function OptionsItemDescription({ className, ...rest }: TextProps) {\n return (\n <Text\n {...rest}\n slot='description'\n className={clsx(styles.description, className)}\n />\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA,SAAgB,uBAAuB,EAAE,WAAW,GAAG,QAAmB;AACxE,QACE,oBAAC;EACC,GAAI;EACJ,MAAK;EACL,WAAW,KAAK,OAAO,aAAa,UAAU;GAC9C"}
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import
|
|
14
|
-
import
|
|
13
|
+
import * as react_jsx_runtime132 from "react/jsx-runtime";
|
|
14
|
+
import { TextProps } from "react-aria-components/Text";
|
|
15
15
|
|
|
16
16
|
//#region src/components/options/item-label.d.ts
|
|
17
17
|
/**
|
|
@@ -30,7 +30,7 @@ declare function OptionsItemLabel({
|
|
|
30
30
|
className,
|
|
31
31
|
children,
|
|
32
32
|
...rest
|
|
33
|
-
}: TextProps):
|
|
33
|
+
}: TextProps): react_jsx_runtime132.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { OptionsItemLabel };
|
|
36
36
|
//# sourceMappingURL=item-label.d.ts.map
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
import { useContext } from "react";
|
|
15
15
|
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
16
|
-
import { ComboBoxStateContext, Text } from "react-aria-components";
|
|
17
16
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
+
import { ComboBoxStateContext } from "react-aria-components/ComboBox";
|
|
18
|
+
import { Text } from "react-aria-components/Text";
|
|
18
19
|
import styles from "./styles.module.css";
|
|
19
20
|
|
|
20
21
|
//#region src/components/options/item-label.tsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-label.js","names":[],"sources":["../../../src/components/options/item-label.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\nimport { useContext } from 'react';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { ComboBoxStateContext
|
|
1
|
+
{"version":3,"file":"item-label.js","names":[],"sources":["../../../src/components/options/item-label.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\nimport { useContext } from 'react';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { ComboBoxStateContext } from 'react-aria-components/ComboBox';\nimport { Text } from 'react-aria-components/Text';\nimport styles from './styles.module.css';\nimport type { ReactNode } from 'react';\nimport type { TextProps } from 'react-aria-components/Text';\n\n/**\n * OptionsItemLabel - Primary text label for an options item\n *\n * @example\n * ```tsx\n * <OptionsItemLabel>Option Name</OptionsItemLabel>\n * ```\n *\n * @param props - TextProps from react-aria-components.\n * @param props.className - Optional CSS class name.\n * @returns The rendered OptionsItemLabel component.\n */\nexport function OptionsItemLabel({ className, children, ...rest }: TextProps) {\n const comboBoxState = useContext(ComboBoxStateContext);\n const inputValue = comboBoxState?.inputValue ?? '';\n\n const highlighted =\n typeof children === 'string' && inputValue\n ? highlightMatch(children, inputValue)\n : children;\n\n return (\n <Text {...rest} slot='label' className={clsx(styles.label, className)}>\n {highlighted}\n </Text>\n );\n}\n\nfunction highlightMatch(text: string, query: string): ReactNode {\n const index = text.toLowerCase().indexOf(query.toLowerCase());\n if (index === -1) {\n return text;\n }\n\n return (\n <>\n {text.slice(0, index)}\n <mark className={styles.highlight}>\n {text.slice(index, index + query.length)}\n </mark>\n {text.slice(index + query.length)}\n </>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,SAAgB,iBAAiB,EAAE,WAAW,UAAU,GAAG,QAAmB;CAE5E,MAAM,aADgB,WAAW,qBAAqB,EACpB,cAAc;CAEhD,MAAM,cACJ,OAAO,aAAa,YAAY,aAC5B,eAAe,UAAU,WAAW,GACpC;AAEN,QACE,oBAAC;EAAK,GAAI;EAAM,MAAK;EAAQ,WAAW,KAAK,OAAO,OAAO,UAAU;YAClE;GACI;;AAIX,SAAS,eAAe,MAAc,OAA0B;CAC9D,MAAM,QAAQ,KAAK,aAAa,CAAC,QAAQ,MAAM,aAAa,CAAC;AAC7D,KAAI,UAAU,GACZ,QAAO;AAGT,QACE;EACG,KAAK,MAAM,GAAG,MAAM;EACrB,oBAAC;GAAK,WAAW,OAAO;aACrB,KAAK,MAAM,OAAO,QAAQ,MAAM,OAAO;IACnC;EACN,KAAK,MAAM,QAAQ,MAAM,OAAO;KAChC"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { OptionsDataItem, OptionsItemProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime133 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/options/item.d.ts
|
|
18
18
|
|
|
@@ -43,7 +43,7 @@ declare function OptionsItem<T extends OptionsDataItem>({
|
|
|
43
43
|
color,
|
|
44
44
|
textValue,
|
|
45
45
|
...rest
|
|
46
|
-
}: OptionsItemProps<T>):
|
|
46
|
+
}: OptionsItemProps<T>): react_jsx_runtime133.JSX.Element;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { OptionsItem };
|
|
49
49
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -17,8 +17,9 @@ import { IconProvider } from "../icon/context.js";
|
|
|
17
17
|
import { OptionsItemLabel } from "./item-label.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 { ListBoxItem } from "react-aria-components/ListBox";
|
|
22
23
|
import styles from "./styles.module.css";
|
|
23
24
|
|
|
24
25
|
//#region src/components/options/item.tsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.js","names":["children"],"sources":["../../../src/components/options/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/options/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 { ListBoxItem } from 'react-aria-components/ListBox';\nimport { composeRenderProps } from 'react-aria-components/composeRenderProps';\nimport { IconProvider } from '../icon/context';\nimport { OptionsItemLabel } from './item-label';\nimport styles from './styles.module.css';\nimport type { OptionsDataItem, OptionsItemProps } from './types';\n\n/**\n * OptionsItem - Individual selectable item within an Options list\n *\n * Supports icons, labels, descriptions, and color variants.\n * String children are automatically wrapped in OptionsItemLabel.\n *\n * @example\n * ```tsx\n * <OptionsItem textValue=\"Edit\">\n * <Icon><Edit /></Icon>\n * <OptionsItemLabel>Edit</OptionsItemLabel>\n * </OptionsItem>\n * ```\n *\n * @param props - {@link OptionsItemProps}\n * @param props.children - Content to render inside the item.\n * @param props.classNames - CSS class names for item elements.\n * @param props.color - Color variant for the item.\n * @param props.textValue - Accessible text value for the item.\n * @returns The rendered OptionsItem component.\n */\nexport function OptionsItem<T extends OptionsDataItem>({\n children,\n classNames,\n color = 'info',\n textValue = typeof children === 'string' ? children : '',\n ...rest\n}: OptionsItemProps<T>) {\n return (\n <ListBoxItem\n {...rest}\n className={composeRenderProps(classNames?.item, (className) =>\n clsx('group/options-item', styles.item, className),\n )}\n textValue={textValue}\n data-color={color}\n >\n {composeRenderProps(children, (children) => (\n <IconProvider\n className={clsx(styles.icon, classNames?.icon)}\n size='small'\n >\n {typeof children === 'string' ? (\n <OptionsItemLabel>{children}</OptionsItemLabel>\n ) : (\n children\n )}\n </IconProvider>\n ))}\n </ListBoxItem>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2CA,SAAgB,YAAuC,EACrD,UACA,YACA,QAAQ,QACR,YAAY,OAAO,aAAa,WAAW,WAAW,IACtD,GAAG,QACmB;AACtB,QACE,oBAAC;EACC,GAAI;EACJ,WAAW,mBAAmB,YAAY,OAAO,cAC/C,KAAK,sBAAsB,OAAO,MAAM,UAAU,CACnD;EACU;EACX,cAAY;YAEX,mBAAmB,WAAW,eAC7B,oBAAC;GACC,WAAW,KAAK,OAAO,MAAM,YAAY,KAAK;GAC9C,MAAK;aAEJ,OAAOA,eAAa,WACnB,oBAAC,8BAAkBA,aAA4B,GAE/CA;IAEW,CACf;GACU"}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { OptionsDataItem, OptionsSectionProps } from "./types.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react_jsx_runtime134 from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
//#region src/components/options/section.d.ts
|
|
17
17
|
|
|
@@ -38,7 +38,7 @@ declare function OptionsSection<T extends OptionsDataItem>({
|
|
|
38
38
|
classNames,
|
|
39
39
|
header,
|
|
40
40
|
items
|
|
41
|
-
}: OptionsSectionProps<T>):
|
|
41
|
+
}: OptionsSectionProps<T>): react_jsx_runtime134.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { OptionsSection };
|
|
44
44
|
//# sourceMappingURL=section.d.ts.map
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
15
|
-
import { Collection, Header, ListBoxSection } from "react-aria-components";
|
|
16
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
|
+
import { Collection, Header, ListBoxSection } from "react-aria-components/ListBox";
|
|
17
17
|
import styles from "./styles.module.css";
|
|
18
18
|
|
|
19
19
|
//#region src/components/options/section.tsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"section.js","names":[],"sources":["../../../src/components/options/section.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\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport {
|
|
1
|
+
{"version":3,"file":"section.js","names":[],"sources":["../../../src/components/options/section.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\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport {\n Collection,\n Header,\n ListBoxSection,\n} from 'react-aria-components/ListBox';\nimport styles from './styles.module.css';\nimport type { OptionsDataItem, OptionsSectionProps } from './types';\n\n/**\n * OptionsSection - Groups related options with an optional header\n *\n * @example\n * ```tsx\n * <OptionsSection header=\"Recent\">\n * <OptionsItem>Item 1</OptionsItem>\n * <OptionsItem>Item 2</OptionsItem>\n * </OptionsSection>\n * ```\n *\n * @param props - {@link OptionsSectionProps}\n * @param props.children - Options items to render in the section.\n * @param props.classNames - CSS class names for section elements.\n * @param props.header - Header text for the section.\n * @param props.items - Collection of items for dynamic rendering.\n * @returns The rendered OptionsSection component.\n */\nexport function OptionsSection<T extends OptionsDataItem>({\n children,\n classNames,\n header,\n items,\n}: OptionsSectionProps<T>) {\n return (\n <ListBoxSection\n id={header}\n className={clsx(styles.section, classNames?.section)}\n >\n <Header className={clsx(styles.header, classNames?.header)}>\n {header}\n </Header>\n <Collection items={items}>{children}</Collection>\n </ListBoxSection>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,SAAgB,eAA0C,EACxD,UACA,YACA,QACA,SACyB;AACzB,QACE,qBAAC;EACC,IAAI;EACJ,WAAW,KAAK,OAAO,SAAS,YAAY,QAAQ;aAEpD,oBAAC;GAAO,WAAW,KAAK,OAAO,QAAQ,YAAY,OAAO;aACvD;IACM,EACT,oBAAC;GAAkB;GAAQ;IAAsB;GAClC"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { IconProps } from "../icon/types.js";
|
|
14
14
|
import { RefAttributes } from "react";
|
|
15
|
-
import { Key, ListBoxItemProps, ListBoxProps, ListBoxSectionProps } from "react-aria-components";
|
|
15
|
+
import { Key, ListBoxItemProps, ListBoxProps, ListBoxSectionProps } from "react-aria-components/ListBox";
|
|
16
16
|
|
|
17
17
|
//#region src/components/options/types.d.ts
|
|
18
18
|
/**
|
|
@@ -29,7 +29,7 @@ type OptionsDataItem = {
|
|
|
29
29
|
/**
|
|
30
30
|
* Props for the OptionsItem component.
|
|
31
31
|
*/
|
|
32
|
-
type OptionsItemProps<T extends OptionsDataItem> = Omit<ListBoxItemProps<T>, 'className'> & RefAttributes<
|
|
32
|
+
type OptionsItemProps<T extends OptionsDataItem> = Omit<ListBoxItemProps<T>, 'className'> & RefAttributes<HTMLDivElement> & {
|
|
33
33
|
/** CSS class names for item elements. */
|
|
34
34
|
classNames?: {
|
|
35
35
|
/** Class name for the item container. */
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
|
|
13
13
|
import { PaginationContextValue } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react36 from "react";
|
|
16
16
|
|
|
17
17
|
//#region src/components/pagination/context.d.ts
|
|
18
18
|
/** Context for sharing pagination state with sub-components */
|
|
19
|
-
declare const PaginationContext:
|
|
19
|
+
declare const PaginationContext: react36.Context<PaginationContextValue>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { PaginationContext };
|
|
22
22
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { PaginationProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime136 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/pagination/index.d.ts
|
|
18
18
|
|
|
@@ -46,7 +46,7 @@ declare function Pagination({
|
|
|
46
46
|
isLoading,
|
|
47
47
|
onChange,
|
|
48
48
|
...rest
|
|
49
|
-
}: PaginationProps):
|
|
49
|
+
}: PaginationProps): react_jsx_runtime136.JSX.Element;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { Pagination };
|
|
52
52
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -20,7 +20,7 @@ import { PaginationPrev } from "./prev.js";
|
|
|
20
20
|
import "client-only";
|
|
21
21
|
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
22
22
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
23
|
-
import { useControlledState } from "
|
|
23
|
+
import { useControlledState } from "react-stately/useControlledState";
|
|
24
24
|
import styles from "./styles.module.css";
|
|
25
25
|
|
|
26
26
|
//#region src/components/pagination/index.tsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/pagination/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 { useControlledState } from '
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/pagination/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 { useControlledState } from 'react-stately/useControlledState';\nimport { PaginationContext } from './context';\nimport { PaginationNext } from './next';\nimport { PaginationPages } from './pages';\nimport { PaginationPrev } from './prev';\nimport styles from './styles.module.css';\nimport type { PaginationProps } from './types';\n\n/**\n * Pagination - Lightweight page navigation with prev/next controls\n *\n * Displays up to 5 page numbers at a time, automatically adjusting\n * the visible range as the user navigates.\n *\n * @example\n * ```tsx\n * <Pagination value={1} total={10} onChange={setPage} />\n * ```\n *\n * @param props - {@link PaginationProps}\n * @param props.children - Custom pagination content (overrides default layout).\n * @param props.classNames - CSS class names for pagination elements.\n * @param props.defaultValue - Default page number for uncontrolled mode.\n * @param props.total - Total number of pages.\n * @param props.value - Current page number for controlled mode (1-indexed).\n * @param props.isLoading - Whether the pagination is in a loading state.\n * @param props.onChange - Handler called when the page changes.\n * @returns The rendered Pagination component.\n */\nexport function Pagination({\n children,\n classNames,\n defaultValue = 1,\n total = 0,\n value,\n isLoading,\n onChange,\n ...rest\n}: PaginationProps) {\n const [page, setPage] = useControlledState(value, defaultValue, onChange);\n\n return (\n <PaginationContext.Provider value={{ page, total, isLoading, setPage }}>\n <nav\n {...rest}\n className={clsx(styles.container, classNames?.container)}\n aria-label={`Page ${page} of ${total}`}\n >\n {children || (\n <>\n <PaginationPrev className={classNames?.prev} />\n <PaginationPages className={classNames?.pages} />\n <PaginationNext className={classNames?.next} />\n </>\n )}\n </nav>\n </PaginationContext.Provider>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,SAAgB,WAAW,EACzB,UACA,YACA,eAAe,GACf,QAAQ,GACR,OACA,WACA,UACA,GAAG,QACe;CAClB,MAAM,CAAC,MAAM,WAAW,mBAAmB,OAAO,cAAc,SAAS;AAEzE,QACE,oBAAC,kBAAkB;EAAS,OAAO;GAAE;GAAM;GAAO;GAAW;GAAS;YACpE,oBAAC;GACC,GAAI;GACJ,WAAW,KAAK,OAAO,WAAW,YAAY,UAAU;GACxD,cAAY,QAAQ,KAAK,MAAM;aAE9B,YACC;IACE,oBAAC,kBAAe,WAAW,YAAY,OAAQ;IAC/C,oBAAC,mBAAgB,WAAW,YAAY,QAAS;IACjD,oBAAC,kBAAe,WAAW,YAAY,OAAQ;OAC9C;IAED;GACqB"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { PaginationNextProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime137 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/pagination/next.d.ts
|
|
18
18
|
/**
|
|
@@ -33,7 +33,7 @@ import * as react_jsx_runtime160 from "react/jsx-runtime";
|
|
|
33
33
|
declare function PaginationNext({
|
|
34
34
|
className,
|
|
35
35
|
onPress
|
|
36
|
-
}: PaginationNextProps):
|
|
36
|
+
}: PaginationNextProps): react_jsx_runtime137.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { PaginationNext };
|
|
39
39
|
//# sourceMappingURL=next.d.ts.map
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
'use client';
|
|
15
15
|
|
|
16
16
|
import { Icon } from "../icon/index.js";
|
|
17
|
-
import { Button
|
|
17
|
+
import { Button } from "../button/index.js";
|
|
18
18
|
import { PaginationContext } from "./context.js";
|
|
19
19
|
import { isNavigationDisabled } from "./utils.js";
|
|
20
20
|
import "client-only";
|
|
21
21
|
import { useContext } from "react";
|
|
22
22
|
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
23
|
-
import { composeRenderProps } from "react-aria-components";
|
|
23
|
+
import { composeRenderProps } from "react-aria-components/composeRenderProps";
|
|
24
24
|
import { jsx } from "react/jsx-runtime";
|
|
25
25
|
import ChevronRight from "@accelint/icons/chevron-right";
|
|
26
26
|
import styles from "./styles.module.css";
|
|
@@ -43,7 +43,7 @@ import styles from "./styles.module.css";
|
|
|
43
43
|
*/
|
|
44
44
|
function PaginationNext({ className, onPress }) {
|
|
45
45
|
const { page, total, setPage } = useContext(PaginationContext);
|
|
46
|
-
return /* @__PURE__ */ jsx(Button
|
|
46
|
+
return /* @__PURE__ */ jsx(Button, {
|
|
47
47
|
className: composeRenderProps(className, (className$1) => clsx(styles.button, className$1)),
|
|
48
48
|
color: "mono-bold",
|
|
49
49
|
variant: "icon",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"next.js","names":["
|
|
1
|
+
{"version":3,"file":"next.js","names":["className"],"sources":["../../../src/components/pagination/next.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 ChevronRight from '@accelint/icons/chevron-right';\nimport { useContext } from 'react';\nimport { composeRenderProps } from 'react-aria-components/composeRenderProps';\nimport { Button } from '../button';\nimport { Icon } from '../icon';\nimport { PaginationContext } from './context';\nimport styles from './styles.module.css';\nimport { isNavigationDisabled } from './utils';\nimport type { PaginationNextProps } from './types';\n\n/**\n * PaginationNext - Next page navigation button\n *\n * @example\n * ```tsx\n * <Pagination page={1} total={10}>\n * <PaginationNext onPress={(page) => console.log('Next page:', page)} />\n * </Pagination>\n * ```\n *\n * @param props - {@link PaginationNextProps}\n * @param props.className - Optional CSS class name.\n * @param props.onPress - Handler called when the next button is pressed.\n * @returns The rendered PaginationNext component.\n */\nexport function PaginationNext({ className, onPress }: PaginationNextProps) {\n const { page, total, setPage } = useContext(PaginationContext);\n\n return (\n <Button\n className={composeRenderProps(className, (className) =>\n clsx(styles.button, className),\n )}\n color='mono-bold'\n variant='icon'\n isDisabled={page >= total || isNavigationDisabled(total, page)}\n onPress={() => {\n setPage(page + 1);\n onPress?.(page + 1);\n }}\n aria-label='Next page'\n >\n <Icon>\n <ChevronRight />\n </Icon>\n </Button>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCA,SAAgB,eAAe,EAAE,WAAW,WAAgC;CAC1E,MAAM,EAAE,MAAM,OAAO,YAAY,WAAW,kBAAkB;AAE9D,QACE,oBAAC;EACC,WAAW,mBAAmB,YAAY,gBACxC,KAAK,OAAO,QAAQA,YAAU,CAC/B;EACD,OAAM;EACN,SAAQ;EACR,YAAY,QAAQ,SAAS,qBAAqB,OAAO,KAAK;EAC9D,eAAe;AACb,WAAQ,OAAO,EAAE;AACjB,aAAU,OAAO,EAAE;;EAErB,cAAW;YAEX,oBAAC,kBACC,oBAAC,iBAAe,GACX;GACA"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { PaginationPagesProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime138 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/pagination/pages.d.ts
|
|
18
18
|
|
|
@@ -37,7 +37,7 @@ import * as react_jsx_runtime158 from "react/jsx-runtime";
|
|
|
37
37
|
declare function PaginationPages({
|
|
38
38
|
className,
|
|
39
39
|
onPress
|
|
40
|
-
}: PaginationPagesProps):
|
|
40
|
+
}: PaginationPagesProps): react_jsx_runtime138.JSX.Element[] | null;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { PaginationPages };
|
|
43
43
|
//# sourceMappingURL=pages.d.ts.map
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
'use client';
|
|
15
15
|
|
|
16
|
-
import { ToggleButton
|
|
16
|
+
import { ToggleButton } from "../button/toggle.js";
|
|
17
17
|
import { PaginationContext } from "./context.js";
|
|
18
18
|
import { getPaginationRange, range } from "./utils.js";
|
|
19
19
|
import "client-only";
|
|
20
20
|
import { useContext, useMemo } from "react";
|
|
21
21
|
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
22
|
-
import { composeRenderProps } from "react-aria-components";
|
|
22
|
+
import { composeRenderProps } from "react-aria-components/composeRenderProps";
|
|
23
23
|
import { jsx } from "react/jsx-runtime";
|
|
24
24
|
import styles from "./styles.module.css";
|
|
25
25
|
|
|
@@ -47,7 +47,7 @@ function PaginationPages({ className, onPress }) {
|
|
|
47
47
|
const { minRange, maxRange } = useMemo(() => getPaginationRange(total, page), [total, page]);
|
|
48
48
|
const pages = useMemo(() => range(minRange, maxRange), [minRange, maxRange]);
|
|
49
49
|
if (minRange === 0 || maxRange === 0 || isLoading) return null;
|
|
50
|
-
return pages.map((number) => /* @__PURE__ */ jsx(ToggleButton
|
|
50
|
+
return pages.map((number) => /* @__PURE__ */ jsx(ToggleButton, {
|
|
51
51
|
className: composeRenderProps(className, (className$1) => clsx(styles.button, className$1)),
|
|
52
52
|
color: "accent",
|
|
53
53
|
variant: "flat",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pages.js","names":["
|
|
1
|
+
{"version":3,"file":"pages.js","names":["className"],"sources":["../../../src/components/pagination/pages.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 { useContext, useMemo } from 'react';\nimport { composeRenderProps } from 'react-aria-components/composeRenderProps';\nimport { ToggleButton } from '../button/toggle';\nimport { PaginationContext } from './context';\nimport styles from './styles.module.css';\nimport { getPaginationRange, range } from './utils';\nimport type { PaginationPagesProps } from './types';\n\n/**\n * PaginationPages - Page number toggle buttons\n *\n * Renders up to 5 page numbers, automatically adjusting the\n * visible range based on current page position.\n *\n * @example\n * ```tsx\n * <Pagination page={3} total={20}>\n * <PaginationPages onPress={(page) => console.log('Go to page:', page)} />\n * </Pagination>\n * ```\n *\n * @param props - {@link PaginationPagesProps}\n * @param props.className - Optional CSS class name.\n * @param props.onPress - Handler called when a page button is pressed.\n * @returns The rendered PaginationPages component, or null if invalid state.\n */\nexport function PaginationPages({ className, onPress }: PaginationPagesProps) {\n const { page, total, isLoading, setPage } = useContext(PaginationContext);\n const { minRange, maxRange } = useMemo(\n () => getPaginationRange(total, page),\n [total, page],\n );\n const pages = useMemo(() => range(minRange, maxRange), [minRange, maxRange]);\n\n // No display for invalid props.\n if (minRange === 0 || maxRange === 0 || isLoading) {\n return null;\n }\n\n return pages.map((number) => (\n <ToggleButton\n key={`page-${number}`}\n className={composeRenderProps(className, (className) =>\n clsx(styles.button, className),\n )}\n color='accent'\n variant='flat'\n isSelected={number === page}\n onPress={() => {\n setPage(number);\n onPress?.(number);\n }}\n aria-current={number === page ? 'page' : undefined}\n >\n {number}\n </ToggleButton>\n ));\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA,SAAgB,gBAAgB,EAAE,WAAW,WAAiC;CAC5E,MAAM,EAAE,MAAM,OAAO,WAAW,YAAY,WAAW,kBAAkB;CACzE,MAAM,EAAE,UAAU,aAAa,cACvB,mBAAmB,OAAO,KAAK,EACrC,CAAC,OAAO,KAAK,CACd;CACD,MAAM,QAAQ,cAAc,MAAM,UAAU,SAAS,EAAE,CAAC,UAAU,SAAS,CAAC;AAG5E,KAAI,aAAa,KAAK,aAAa,KAAK,UACtC,QAAO;AAGT,QAAO,MAAM,KAAK,WAChB,oBAAC;EAEC,WAAW,mBAAmB,YAAY,gBACxC,KAAK,OAAO,QAAQA,YAAU,CAC/B;EACD,OAAM;EACN,SAAQ;EACR,YAAY,WAAW;EACvB,eAAe;AACb,WAAQ,OAAO;AACf,aAAU,OAAO;;EAEnB,gBAAc,WAAW,OAAO,SAAS;YAExC;IAbI,QAAQ,SAcA,CACf"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { PaginationPrevProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime139 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/pagination/prev.d.ts
|
|
18
18
|
/**
|
|
@@ -33,7 +33,7 @@ import * as react_jsx_runtime166 from "react/jsx-runtime";
|
|
|
33
33
|
declare function PaginationPrev({
|
|
34
34
|
className,
|
|
35
35
|
onPress
|
|
36
|
-
}: PaginationPrevProps):
|
|
36
|
+
}: PaginationPrevProps): react_jsx_runtime139.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { PaginationPrev };
|
|
39
39
|
//# sourceMappingURL=prev.d.ts.map
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
'use client';
|
|
15
15
|
|
|
16
16
|
import { Icon } from "../icon/index.js";
|
|
17
|
-
import { Button
|
|
17
|
+
import { Button } from "../button/index.js";
|
|
18
18
|
import { PaginationContext } from "./context.js";
|
|
19
19
|
import { isNavigationDisabled } from "./utils.js";
|
|
20
20
|
import "client-only";
|
|
21
21
|
import { useContext } from "react";
|
|
22
22
|
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
23
|
-
import { composeRenderProps } from "react-aria-components";
|
|
23
|
+
import { composeRenderProps } from "react-aria-components/composeRenderProps";
|
|
24
24
|
import { jsx } from "react/jsx-runtime";
|
|
25
25
|
import ChevronLeft from "@accelint/icons/chevron-left";
|
|
26
26
|
import styles from "./styles.module.css";
|
|
@@ -43,7 +43,7 @@ import styles from "./styles.module.css";
|
|
|
43
43
|
*/
|
|
44
44
|
function PaginationPrev({ className, onPress }) {
|
|
45
45
|
const { page, total, setPage } = useContext(PaginationContext);
|
|
46
|
-
return /* @__PURE__ */ jsx(Button
|
|
46
|
+
return /* @__PURE__ */ jsx(Button, {
|
|
47
47
|
className: composeRenderProps(className, (className$1) => clsx(styles.button, className$1)),
|
|
48
48
|
color: "mono-bold",
|
|
49
49
|
variant: "icon",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prev.js","names":["
|
|
1
|
+
{"version":3,"file":"prev.js","names":["className"],"sources":["../../../src/components/pagination/prev.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 ChevronLeft from '@accelint/icons/chevron-left';\nimport { useContext } from 'react';\nimport { composeRenderProps } from 'react-aria-components/composeRenderProps';\nimport { Button } from '../button';\nimport { Icon } from '../icon';\nimport { PaginationContext } from './context';\nimport styles from './styles.module.css';\nimport { isNavigationDisabled } from './utils';\nimport type { PaginationPrevProps } from './types';\n\n/**\n * PaginationPrev - Previous page navigation button\n *\n * @example\n * ```tsx\n * <Pagination page={5} total={10}>\n * <PaginationPrev onPress={(page) => console.log('Previous page:', page)} />\n * </Pagination>\n * ```\n *\n * @param props - {@link PaginationPrevProps}\n * @param props.className - Optional CSS class name.\n * @param props.onPress - Handler called when the previous button is pressed.\n * @returns The rendered PaginationPrev component.\n */\nexport function PaginationPrev({ className, onPress }: PaginationPrevProps) {\n const { page, total, setPage } = useContext(PaginationContext);\n\n return (\n <Button\n className={composeRenderProps(className, (className) =>\n clsx(styles.button, className),\n )}\n color='mono-bold'\n variant='icon'\n isDisabled={page === 1 || isNavigationDisabled(total, page)}\n onPress={() => {\n setPage(page - 1);\n onPress?.(page - 1);\n }}\n aria-label='Previous page'\n >\n <Icon>\n <ChevronLeft />\n </Icon>\n </Button>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCA,SAAgB,eAAe,EAAE,WAAW,WAAgC;CAC1E,MAAM,EAAE,MAAM,OAAO,YAAY,WAAW,kBAAkB;AAE9D,QACE,oBAAC;EACC,WAAW,mBAAmB,YAAY,gBACxC,KAAK,OAAO,QAAQA,YAAU,CAC/B;EACD,OAAM;EACN,SAAQ;EACR,YAAY,SAAS,KAAK,qBAAqB,OAAO,KAAK;EAC3D,eAAe;AACb,WAAQ,OAAO,EAAE;AACjB,aAAU,OAAO,EAAE;;EAErB,cAAW;YAEX,oBAAC,kBACC,oBAAC,gBAAc,GACV;GACA"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
14
|
import { ComponentPropsWithRef } from "react";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime140 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/popover/content.d.ts
|
|
18
18
|
|
|
@@ -36,7 +36,7 @@ import * as react_jsx_runtime167 from "react/jsx-runtime";
|
|
|
36
36
|
declare function PopoverContent({
|
|
37
37
|
className,
|
|
38
38
|
...rest
|
|
39
|
-
}: ComponentPropsWithRef<'div'>):
|
|
39
|
+
}: ComponentPropsWithRef<'div'>): react_jsx_runtime140.JSX.Element;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { PopoverContent };
|
|
42
42
|
//# sourceMappingURL=content.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import "client-only";
|
|
14
14
|
import { ComponentPropsWithRef } from "react";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime141 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/popover/footer.d.ts
|
|
18
18
|
|
|
@@ -38,7 +38,7 @@ import * as react_jsx_runtime169 from "react/jsx-runtime";
|
|
|
38
38
|
declare function PopoverFooter({
|
|
39
39
|
children,
|
|
40
40
|
className
|
|
41
|
-
}: ComponentPropsWithRef<'footer'>):
|
|
41
|
+
}: ComponentPropsWithRef<'footer'>): react_jsx_runtime141.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { PopoverFooter };
|
|
44
44
|
//# sourceMappingURL=footer.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { PopoverProps } from "./types.js";
|
|
14
14
|
import "client-only";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react_jsx_runtime142 from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/popover/index.d.ts
|
|
18
18
|
|
|
@@ -58,7 +58,7 @@ declare function Popover({
|
|
|
58
58
|
classNames,
|
|
59
59
|
dialogProps,
|
|
60
60
|
...rest
|
|
61
|
-
}: PopoverProps):
|
|
61
|
+
}: PopoverProps): react_jsx_runtime142.JSX.Element;
|
|
62
62
|
//#endregion
|
|
63
63
|
export { Popover };
|
|
64
64
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
|
|
16
16
|
import "client-only";
|
|
17
17
|
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
18
|
-
import { Dialog, Popover as Popover$1 } from "react-aria-components";
|
|
19
18
|
import { jsx } from "react/jsx-runtime";
|
|
19
|
+
import { Dialog, Popover as Popover$1 } from "react-aria-components/Popover";
|
|
20
20
|
import styles from "./styles.module.css";
|
|
21
21
|
|
|
22
22
|
//#region src/components/popover/index.tsx
|