@datum-cloud/datum-ui 1.3.2 → 1.5.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/README.md +54 -46
- package/dist/_shadcn/hooks/use-mobile.d.ts +0 -1
- package/dist/_shadcn/hooks/use-theme.d.ts +0 -1
- package/dist/_shadcn/lib/utils.d.ts +1 -6
- package/dist/_shadcn/ui/alert.d.ts +2 -3
- package/dist/_shadcn/ui/avatar.d.ts +4 -5
- package/dist/_shadcn/ui/badge.d.ts +1 -2
- package/dist/_shadcn/ui/breadcrumb.d.ts +9 -10
- package/dist/_shadcn/ui/button-group.d.ts +1 -2
- package/dist/_shadcn/ui/button.d.ts +1 -2
- package/dist/_shadcn/ui/card.d.ts +7 -8
- package/dist/_shadcn/ui/chart.d.ts +8 -9
- package/dist/_shadcn/ui/checkbox.d.ts +0 -1
- package/dist/_shadcn/ui/collapsible.d.ts +1 -2
- package/dist/_shadcn/ui/command.d.ts +12 -13
- package/dist/_shadcn/ui/dialog.d.ts +10 -11
- package/dist/_shadcn/ui/dropdown-menu.d.ts +5 -6
- package/dist/_shadcn/ui/hover-card.d.ts +1 -2
- package/dist/_shadcn/ui/input-group.d.ts +2 -3
- package/dist/_shadcn/ui/input.d.ts +4 -5
- package/dist/_shadcn/ui/label.d.ts +1 -2
- package/dist/_shadcn/ui/map/controls.d.ts +20 -0
- package/dist/_shadcn/ui/map/draw.d.ts +15 -0
- package/dist/_shadcn/ui/map/hooks.d.ts +7 -0
- package/dist/_shadcn/ui/map/layers.d.ts +45 -0
- package/dist/_shadcn/ui/map/lazy.d.ts +20 -0
- package/dist/_shadcn/ui/map/primitives.d.ts +36 -0
- package/dist/_shadcn/ui/map/shared.d.ts +5 -0
- package/dist/_shadcn/ui/map-leaflet-imports.d.ts +0 -1
- package/dist/_shadcn/ui/map.d.ts +6 -115
- package/dist/_shadcn/ui/place-autocomplete.d.ts +0 -1
- package/dist/_shadcn/ui/popover.d.ts +5 -6
- package/dist/_shadcn/ui/radio-group.d.ts +0 -1
- package/dist/_shadcn/ui/select.d.ts +10 -11
- package/dist/_shadcn/ui/separator.d.ts +1 -2
- package/dist/_shadcn/ui/sheet.d.ts +11 -12
- package/dist/_shadcn/ui/skeleton.d.ts +0 -1
- package/dist/_shadcn/ui/sonner.d.ts +1 -2
- package/dist/_shadcn/ui/spinner.d.ts +0 -1
- package/dist/_shadcn/ui/switch.d.ts +0 -1
- package/dist/_shadcn/ui/table.d.ts +9 -10
- package/dist/_shadcn/ui/tabs.d.ts +1 -2
- package/dist/_shadcn/ui/textarea.d.ts +0 -1
- package/dist/_shadcn/ui/tooltip.d.ts +5 -6
- package/dist/_shadcn/ui/visuallyhidden.d.ts +0 -1
- package/dist/{action-row-BhMyMSep.mjs → action-row-DTvs91_3.mjs} +1 -1
- package/dist/alert/index.mjs +1 -1
- package/dist/{alert-o1rpjbOJ.mjs → alert-SAPwee1h.mjs} +3 -3
- package/dist/app-navigation/index.mjs +3 -4
- package/dist/app-navigation--mry98XV.mjs +576 -0
- package/dist/assistant/index.mjs +987 -0
- package/dist/autocomplete/index.mjs +1 -1
- package/dist/{autocomplete-Bg187x6x.mjs → autocomplete-G24AgvxU.mjs} +20 -29
- package/dist/autosearch/index.mjs +14 -21
- package/dist/avatar/index.mjs +27 -1
- package/dist/avatar-stack/index.mjs +1 -1
- package/dist/{avatar-stack-dsUoEFWs.mjs → avatar-stack-D1-BA7hA.mjs} +3 -3
- package/dist/badge/index.mjs +1 -1
- package/dist/{badge-DO2_XsXD.mjs → badge-BTNW_FEU.mjs} +1 -1
- package/dist/breadcrumb/index.mjs +1 -1
- package/dist/{breadcrumb-2S5MuWmM.mjs → breadcrumb-DmdhC8bE.mjs} +14 -14
- package/dist/button/index.mjs +2 -2
- package/dist/{button-B_N7A8gv.mjs → button-A1qTjZ8U.mjs} +25 -11
- package/dist/{button-BLYlDzP-.mjs → button-H_8dI-Ib.mjs} +3 -9
- package/dist/button-group/index.mjs +1 -1
- package/dist/{button-group-B5s-1BCV.mjs → button-group-DFrTH4L8.mjs} +1 -1
- package/dist/calendar/index.mjs +110 -1
- package/dist/{calendar-date-picker-DAVXW7Jg.mjs → calendar-date-picker-C52Y05ZN.mjs} +4 -4
- package/dist/card/index.mjs +1 -1
- package/dist/{card-C5ykfNwX.mjs → card-Cphn2nA3.mjs} +10 -11
- package/dist/chart/index.mjs +1 -1
- package/dist/{chart-CyOC7Ha-.mjs → chart-DeCrbcpY.mjs} +3 -3
- package/dist/checkbox/index.mjs +1 -1
- package/dist/{checkbox-BZr9bkke.mjs → checkbox-C6P12fio.mjs} +2 -3
- package/dist/{close.icon-ClpRDt_H.mjs → close.icon-DdXKQ4m0.mjs} +1 -1
- package/dist/code-editor/index.mjs +1 -1
- package/dist/{col-DlpHgWOq.mjs → col-BYGWTB4j.mjs} +17 -4
- package/dist/collapsible/index.mjs +6 -1
- package/dist/command/index.mjs +1 -1
- package/dist/{command-B1sx-XVY.mjs → command-C0aGIYnQ.mjs} +19 -19
- package/dist/components/base/alert/alert.d.ts +2 -2
- package/dist/components/base/alert/index.d.ts +0 -1
- package/dist/components/base/avatar/index.d.ts +0 -1
- package/dist/components/base/badge/badge.d.ts +0 -1
- package/dist/components/base/badge/index.d.ts +0 -1
- package/dist/components/base/breadcrumb/index.d.ts +0 -1
- package/dist/components/base/button/button.d.ts +0 -1
- package/dist/components/base/button/icon-only.d.ts +14 -0
- package/dist/components/base/button/index.d.ts +0 -1
- package/dist/components/base/button/link-button.d.ts +0 -1
- package/dist/components/base/button-group/index.d.ts +0 -1
- package/dist/components/base/calendar/calendar.d.ts +0 -1
- package/dist/components/base/calendar/index.d.ts +0 -1
- package/dist/components/base/card/card.d.ts +0 -1
- package/dist/components/base/card/index.d.ts +0 -1
- package/dist/components/base/chart/index.d.ts +0 -1
- package/dist/components/base/checkbox/checkbox.d.ts +0 -1
- package/dist/components/base/checkbox/index.d.ts +0 -1
- package/dist/components/base/collapsible/index.d.ts +0 -1
- package/dist/components/base/command/index.d.ts +0 -1
- package/dist/components/base/date-picker/index.d.ts +0 -1
- package/dist/components/base/date-picker/types.d.ts +0 -1
- package/dist/components/base/date-picker/use-date-constraints.d.ts +0 -1
- package/dist/components/base/dialog/dialog.d.ts +0 -1
- package/dist/components/base/dialog/index.d.ts +0 -1
- package/dist/components/base/hooks/index.d.ts +2 -0
- package/dist/components/base/hooks/use-controllable-state.d.ts +10 -0
- package/dist/components/base/hover-card/index.d.ts +0 -1
- package/dist/components/base/index.d.ts +1 -1
- package/dist/components/base/input/index.d.ts +0 -1
- package/dist/components/base/input/input.d.ts +0 -1
- package/dist/components/base/input-group/index.d.ts +0 -1
- package/dist/components/base/label/index.d.ts +0 -1
- package/dist/components/base/label/label.d.ts +0 -1
- package/dist/components/base/loader-overlay/index.d.ts +1 -0
- package/dist/components/base/loader-overlay/loader-overlay.d.ts +4 -0
- package/dist/components/base/map/index.d.ts +0 -1
- package/dist/components/base/mobile-sheet/context.d.ts +0 -1
- package/dist/components/base/mobile-sheet/index.d.ts +1 -1
- package/dist/components/base/mobile-sheet/mobile-sheet.d.ts +0 -1
- package/dist/components/base/mobile-sheet/responsive-sheet-trigger.d.ts +25 -0
- package/dist/components/base/option-picker/index.d.ts +0 -1
- package/dist/components/base/option-picker/option-list.d.ts +0 -1
- package/dist/components/base/option-picker/types.d.ts +28 -1
- package/dist/components/base/option-picker/use-option-picker.d.ts +0 -1
- package/dist/components/base/place-autocomplete/index.d.ts +0 -1
- package/dist/components/base/popover/index.d.ts +0 -1
- package/dist/components/base/radio-group/index.d.ts +0 -1
- package/dist/components/base/radio-group/radio-group.d.ts +0 -1
- package/dist/components/base/responsive-dropdown/index.d.ts +0 -1
- package/dist/components/base/responsive-dropdown/responsive-dropdown.d.ts +0 -1
- package/dist/components/base/responsive-popover/index.d.ts +0 -1
- package/dist/components/base/responsive-popover/responsive-popover.d.ts +4 -3
- package/dist/components/base/select/index.d.ts +0 -1
- package/dist/components/base/select/select.d.ts +3 -4
- package/dist/components/base/separator/index.d.ts +0 -1
- package/dist/components/base/sheet/index.d.ts +0 -1
- package/dist/components/base/sheet/sheet.d.ts +0 -1
- package/dist/components/base/sidebar/context.d.ts +32 -0
- package/dist/components/base/sidebar/group.d.ts +10 -0
- package/dist/components/base/sidebar/index.d.ts +0 -1
- package/dist/components/base/sidebar/menu.d.ts +33 -0
- package/dist/components/base/sidebar/shell.d.ts +18 -0
- package/dist/components/base/sidebar/sidebar.d.ts +4 -84
- package/dist/components/base/skeleton/index.d.ts +0 -1
- package/dist/components/base/skeleton/skeleton.d.ts +0 -1
- package/dist/components/base/spinner/index.d.ts +0 -1
- package/dist/components/base/switch/index.d.ts +0 -1
- package/dist/components/base/switch/switch.d.ts +0 -1
- package/dist/components/base/table/index.d.ts +0 -1
- package/dist/components/base/tabs/index.d.ts +0 -1
- package/dist/components/base/tabs/tabs.d.ts +0 -1
- package/dist/components/base/textarea/index.d.ts +0 -1
- package/dist/components/base/textarea/textarea.d.ts +0 -1
- package/dist/components/base/tooltip/index.d.ts +0 -1
- package/dist/components/base/tooltip/tooltip.d.ts +0 -1
- package/dist/components/base/typography/index.d.ts +0 -1
- package/dist/components/base/typography/typography.d.ts +0 -1
- package/dist/components/base/visuallyhidden/index.d.ts +0 -1
- package/dist/components/features/_shared/index.d.ts +2 -0
- package/dist/components/features/_shared/timezone.d.ts +13 -0
- package/dist/components/features/_shared/use-deprecation-warning.d.ts +8 -0
- package/dist/components/features/app-navigation/app-navigation.d.ts +1 -2
- package/dist/components/features/app-navigation/index.d.ts +0 -1
- package/dist/components/features/app-navigation/nav-menu/active-path.d.ts +33 -0
- package/dist/components/features/app-navigation/nav-menu/index.d.ts +4 -0
- package/dist/components/features/app-navigation/nav-menu/nav-menu-context.d.ts +47 -0
- package/dist/components/features/app-navigation/nav-menu/nav-menu-item.d.ts +13 -0
- package/dist/components/features/app-navigation/{nav-menu.d.ts → nav-menu/nav-menu.d.ts} +7 -20
- package/dist/components/features/app-navigation/nav-menu/parts.d.ts +31 -0
- package/dist/components/features/app-navigation/nav-menu/types.d.ts +18 -0
- package/dist/components/features/assistant/components/assistant-workspace.d.ts +48 -0
- package/dist/components/features/assistant/components/brain-glyph.d.ts +8 -0
- package/dist/components/features/assistant/components/composer/equalizer.d.ts +6 -0
- package/dist/components/features/assistant/components/composer/index.d.ts +3 -0
- package/dist/components/features/assistant/components/composer/model-selector.d.ts +10 -0
- package/dist/components/features/assistant/components/composer/prompt-card.d.ts +21 -0
- package/dist/components/features/assistant/components/conversation/conversation.d.ts +15 -0
- package/dist/components/features/assistant/components/conversation/index.d.ts +3 -0
- package/dist/components/features/assistant/components/conversation/scroll-to-bottom-button.d.ts +5 -0
- package/dist/components/features/assistant/components/conversation/turn-rail.d.ts +12 -0
- package/dist/components/features/assistant/components/empty-state.d.ts +10 -0
- package/dist/components/features/assistant/components/message/assistant-message.d.ts +9 -0
- package/dist/components/features/assistant/components/message/index.d.ts +4 -0
- package/dist/components/features/assistant/components/message/loading-dots.d.ts +4 -0
- package/dist/components/features/assistant/components/message/thinking-block.d.ts +4 -0
- package/dist/components/features/assistant/components/message/user-message.d.ts +4 -0
- package/dist/components/features/assistant/components/sidebar/chat-rail.d.ts +7 -0
- package/dist/components/features/assistant/components/sidebar/history-panel.d.ts +9 -0
- package/dist/components/features/assistant/components/sidebar/index.d.ts +2 -0
- package/dist/components/features/assistant/context/assistant-config.d.ts +19 -0
- package/dist/components/features/assistant/context/index.d.ts +1 -0
- package/dist/components/features/assistant/hooks/index.d.ts +1 -0
- package/dist/components/features/assistant/hooks/use-turn-rail.d.ts +16 -0
- package/dist/components/features/assistant/index.d.ts +11 -0
- package/dist/components/features/assistant/types.d.ts +59 -0
- package/dist/components/features/assistant/utils/format-relative-time.d.ts +2 -0
- package/dist/components/features/assistant/utils/index.d.ts +2 -0
- package/dist/components/features/assistant/utils/sanitize-html.d.ts +2 -0
- package/dist/components/features/autocomplete/autocomplete.d.ts +0 -1
- package/dist/components/features/autocomplete/autocomplete.types.d.ts +0 -1
- package/dist/components/features/autocomplete/index.d.ts +0 -1
- package/dist/components/features/autocomplete/trigger.d.ts +6 -2
- package/dist/components/features/autosearch/autosearch.d.ts +0 -1
- package/dist/components/features/autosearch/autosearch.types.d.ts +1 -2
- package/dist/components/features/autosearch/index.d.ts +0 -1
- package/dist/components/features/avatar-stack/avatar-stack.d.ts +0 -1
- package/dist/components/features/avatar-stack/index.d.ts +0 -1
- package/dist/components/features/calendar-date-picker/calendar-date-picker.d.ts +0 -1
- package/dist/components/features/calendar-date-picker/index.d.ts +0 -1
- package/dist/components/features/calendar-date-picker/types.d.ts +3 -8
- package/dist/components/features/code-editor/code-editor-tabs.d.ts +0 -1
- package/dist/components/features/code-editor/code-editor.d.ts +0 -1
- package/dist/components/features/code-editor/index.d.ts +0 -1
- package/dist/components/features/code-editor/lib/editor.d.ts +0 -1
- package/dist/components/features/code-editor/types.d.ts +0 -1
- package/dist/components/features/data-table/adapters/nuqs-adapter.d.ts +0 -1
- package/dist/components/features/data-table/columns/selection-column.d.ts +2 -3
- package/dist/components/features/data-table/components/active-filters.d.ts +0 -1
- package/dist/components/features/data-table/components/bulk-actions.d.ts +0 -1
- package/dist/components/features/data-table/components/column-header.d.ts +0 -1
- package/dist/components/features/data-table/components/content.d.ts +0 -1
- package/dist/components/features/data-table/components/inline-content.d.ts +0 -1
- package/dist/components/features/data-table/components/loading.d.ts +0 -1
- package/dist/components/features/data-table/components/pagination.d.ts +0 -1
- package/dist/components/features/data-table/components/row-actions.d.ts +0 -1
- package/dist/components/features/data-table/components/search.d.ts +0 -1
- package/dist/components/features/data-table/constants.d.ts +0 -1
- package/dist/components/features/data-table/core/client-provider.d.ts +0 -1
- package/dist/components/features/data-table/core/data-table-context.d.ts +0 -1
- package/dist/components/features/data-table/core/filter-engine.d.ts +1 -3
- package/dist/components/features/data-table/core/server-provider.d.ts +0 -1
- package/dist/components/features/data-table/core/store.d.ts +0 -1
- package/dist/components/features/data-table/data-table.d.ts +0 -1
- package/dist/components/features/data-table/filters/checkbox-filter.d.ts +0 -1
- package/dist/components/features/data-table/filters/date-picker-filter.d.ts +0 -1
- package/dist/components/features/data-table/filters/select-filter.d.ts +0 -1
- package/dist/components/features/data-table/hooks/index.d.ts +0 -1
- package/dist/components/features/data-table/hooks/use-data-table-client.d.ts +2 -3
- package/dist/components/features/data-table/hooks/use-data-table-server.d.ts +2 -3
- package/dist/components/features/data-table/hooks/use-selectors.d.ts +1 -1
- package/dist/components/features/data-table/index.d.ts +1 -2
- package/dist/components/features/data-table/types.d.ts +36 -19
- package/dist/components/features/date-picker/index.d.ts +0 -1
- package/dist/components/features/date-time-picker/date-time-picker.d.ts +0 -1
- package/dist/components/features/date-time-picker/index.d.ts +0 -1
- package/dist/components/features/date-time-picker/types.d.ts +0 -1
- package/dist/components/features/date-time-picker/utils/format.d.ts +0 -1
- package/dist/components/features/date-time-picker/utils/index.d.ts +0 -1
- package/dist/components/features/date-time-picker/utils/timezone.d.ts +1 -5
- package/dist/components/features/dropdown/dropdown.d.ts +0 -1
- package/dist/components/features/dropdown/index.d.ts +0 -1
- package/dist/components/features/dropzone/dropzone.d.ts +0 -1
- package/dist/components/features/dropzone/index.d.ts +0 -1
- package/dist/components/features/empty-content/empty-content.d.ts +1 -2
- package/dist/components/features/empty-content/index.d.ts +0 -1
- package/dist/components/features/file-input-button/file-input-button.d.ts +0 -1
- package/dist/components/features/file-input-button/index.d.ts +0 -1
- package/dist/components/features/form/adapter-context.d.ts +0 -1
- package/dist/components/features/form/adapter-types.d.ts +0 -1
- package/dist/components/features/form/adapters/conform/conform-adapter.d.ts +13 -1
- package/dist/components/features/form/adapters/conform/conform-provider.d.ts +0 -1
- package/dist/components/features/form/adapters/conform/index.d.ts +0 -1
- package/dist/components/features/form/adapters/rhf/index.d.ts +0 -1
- package/dist/components/features/form/adapters/rhf/rhf-adapter.d.ts +0 -1
- package/dist/components/features/form/adapters/rhf/rhf-provider.d.ts +0 -1
- package/dist/components/features/form/components/form-autocomplete.d.ts +1 -2
- package/dist/components/features/form/components/form-autosearch.d.ts +0 -1
- package/dist/components/features/form/components/form-button.d.ts +0 -1
- package/dist/components/features/form/components/form-checkbox.d.ts +0 -1
- package/dist/components/features/form/components/form-combobox.d.ts +1 -2
- package/dist/components/features/form/components/form-copy-box.d.ts +0 -1
- package/dist/components/features/form/components/form-custom.d.ts +0 -1
- package/dist/components/features/form/components/form-date-picker.d.ts +0 -1
- package/dist/components/features/form/components/form-date-time-picker.d.ts +0 -1
- package/dist/components/features/form/components/form-description.d.ts +0 -1
- package/dist/components/features/form/components/form-dialog.d.ts +0 -1
- package/dist/components/features/form/components/form-error.d.ts +0 -1
- package/dist/components/features/form/components/form-field-array.d.ts +0 -1
- package/dist/components/features/form/components/form-field.d.ts +0 -1
- package/dist/components/features/form/components/form-input-group.d.ts +0 -1
- package/dist/components/features/form/components/form-input.d.ts +0 -1
- package/dist/components/features/form/components/form-radio-group.d.ts +0 -1
- package/dist/components/features/form/components/form-root.d.ts +0 -1
- package/dist/components/features/form/components/form-select.d.ts +0 -1
- package/dist/components/features/form/components/form-submit.d.ts +0 -1
- package/dist/components/features/form/components/form-switch.d.ts +0 -1
- package/dist/components/features/form/components/form-textarea.d.ts +0 -1
- package/dist/components/features/form/components/form-time-picker.d.ts +0 -1
- package/dist/components/features/form/components/form-transfer.d.ts +0 -1
- package/dist/components/features/form/components/form-when.d.ts +0 -1
- package/dist/components/features/form/components/index.d.ts +0 -1
- package/dist/components/features/form/components/stepper/form-step.d.ts +0 -1
- package/dist/components/features/form/components/stepper/form-stepper.d.ts +0 -1
- package/dist/components/features/form/components/stepper/index.d.ts +0 -1
- package/dist/components/features/form/components/stepper/stepper-controls.d.ts +0 -1
- package/dist/components/features/form/components/stepper/stepper-navigation.d.ts +0 -1
- package/dist/components/features/form/context/field-context.d.ts +0 -1
- package/dist/components/features/form/context/form-context.d.ts +0 -1
- package/dist/components/features/form/context/index.d.ts +0 -1
- package/dist/components/features/form/hooks/index.d.ts +0 -1
- package/dist/components/features/form/hooks/use-display-touched.d.ts +0 -1
- package/dist/components/features/form/hooks/use-field-context.d.ts +0 -1
- package/dist/components/features/form/hooks/use-field.d.ts +0 -1
- package/dist/components/features/form/hooks/use-form-context.d.ts +0 -1
- package/dist/components/features/form/hooks/use-form-state.d.ts +0 -1
- package/dist/components/features/form/hooks/use-stepper.d.ts +0 -1
- package/dist/components/features/form/hooks/use-watch.d.ts +0 -1
- package/dist/components/features/form/index.d.ts +0 -1
- package/dist/components/features/form/stepper/index.d.ts +0 -1
- package/dist/components/features/form/types/context.d.ts +18 -0
- package/dist/components/features/form/types/core.d.ts +20 -0
- package/dist/components/features/form/types/dialog.d.ts +83 -0
- package/dist/components/features/form/types/field.d.ts +113 -0
- package/dist/components/features/form/types/index.d.ts +9 -651
- package/dist/components/features/form/types/inputs.d.ts +157 -0
- package/dist/components/features/form/types/root.d.ts +86 -0
- package/dist/components/features/form/types/stepper.d.ts +98 -0
- package/dist/components/features/form/types/telemetry.d.ts +44 -0
- package/dist/components/features/form/utils/get-field-constraints.d.ts +0 -1
- package/dist/components/features/form/utils/get-schema-defaults.d.ts +0 -1
- package/dist/components/features/form/utils/zod-helpers.d.ts +0 -1
- package/dist/components/features/grid/components/col.d.ts +0 -1
- package/dist/components/features/grid/components/index.d.ts +0 -1
- package/dist/components/features/grid/components/row.d.ts +0 -1
- package/dist/components/features/grid/constants/grid.constants.d.ts +0 -1
- package/dist/components/features/grid/index.d.ts +0 -1
- package/dist/components/features/grid/types/grid.types.d.ts +0 -1
- package/dist/components/features/grid/utils/responsive.d.ts +9 -1
- package/dist/components/features/grouped-table/components/grouped-skeleton.d.ts +0 -1
- package/dist/components/features/grouped-table/components/grouped-toolbar.d.ts +0 -1
- package/dist/components/features/grouped-table/grouped-table.d.ts +0 -1
- package/dist/components/features/grouped-table/index.d.ts +0 -1
- package/dist/components/features/grouped-table/lib/bucket-rows.d.ts +0 -1
- package/dist/components/features/grouped-table/lib/compose-columns.d.ts +3 -4
- package/dist/components/features/grouped-table/lib/sort-rows.d.ts +0 -1
- package/dist/components/features/grouped-table/lib/use-controllable-state.d.ts +7 -6
- package/dist/components/features/grouped-table/types.d.ts +3 -4
- package/dist/components/features/grouped-table/use-grouped-expansion.d.ts +0 -1
- package/dist/components/features/index.d.ts +6 -1
- package/dist/components/features/input-number/index.d.ts +0 -1
- package/dist/components/features/input-number/input-number.d.ts +0 -1
- package/dist/components/features/input-with-addons/index.d.ts +0 -1
- package/dist/components/features/input-with-addons/input-with-addons.d.ts +0 -1
- package/dist/components/features/loader-overlay/index.d.ts +0 -1
- package/dist/components/features/loader-overlay/loader-overlay.d.ts +6 -5
- package/dist/components/features/logo/index.d.ts +0 -1
- package/dist/components/features/logo/logo-flat.d.ts +0 -1
- package/dist/components/features/logo/logo-icon.d.ts +0 -1
- package/dist/components/features/logo/logo-stacked.d.ts +0 -1
- package/dist/components/features/logo/logo-text.d.ts +0 -1
- package/dist/components/features/logo/logo.d.ts +0 -1
- package/dist/components/features/logo/logo.styles.d.ts +0 -1
- package/dist/components/features/logo/themed/index.d.ts +0 -1
- package/dist/components/features/logo/themed/logo-themed.d.ts +0 -1
- package/dist/components/features/more-actions/action-row.d.ts +0 -1
- package/dist/components/features/more-actions/index.d.ts +0 -1
- package/dist/components/features/more-actions/more-actions.d.ts +14 -3
- package/dist/components/features/more-actions/types.d.ts +0 -1
- package/dist/components/features/multi-select/index.d.ts +0 -1
- package/dist/components/features/multi-select/multi-select-options.d.ts +21 -0
- package/dist/components/features/multi-select/multi-select-shared.d.ts +21 -0
- package/dist/components/features/multi-select/multi-select.d.ts +6 -19
- package/dist/components/features/multi-select/selected-badge-list.d.ts +29 -0
- package/dist/components/features/nprogress/index.d.ts +0 -1
- package/dist/components/features/page-title/index.d.ts +0 -1
- package/dist/components/features/page-title/page-title.d.ts +0 -1
- package/dist/components/features/picker/components/calendar.d.ts +0 -1
- package/dist/components/features/picker/components/content.d.ts +0 -1
- package/dist/components/features/picker/components/context.d.ts +0 -1
- package/dist/components/features/picker/components/footer.d.ts +0 -1
- package/dist/components/features/picker/components/index.d.ts +0 -1
- package/dist/components/features/picker/components/presets.d.ts +0 -1
- package/dist/components/features/picker/components/root.d.ts +0 -1
- package/dist/components/features/picker/components/time-input-field.d.ts +0 -1
- package/dist/components/features/picker/components/time-input.d.ts +0 -1
- package/dist/components/features/picker/components/timezone-indicator.d.ts +0 -1
- package/dist/components/features/picker/components/timezone-select.d.ts +0 -1
- package/dist/components/features/picker/components/trigger.d.ts +0 -1
- package/dist/components/features/picker/hooks/index.d.ts +0 -1
- package/dist/components/features/picker/hooks/use-keyboard-shortcuts.d.ts +16 -10
- package/dist/components/features/picker/hooks/use-picker-state.d.ts +0 -1
- package/dist/components/features/picker/hooks/use-presets.d.ts +0 -1
- package/dist/components/features/picker/hooks/use-time-slots.d.ts +0 -1
- package/dist/components/features/picker/index.d.ts +0 -1
- package/dist/components/features/picker/internal/use-deprecation-warning.d.ts +1 -9
- package/dist/components/features/picker/presets/defaults.d.ts +0 -1
- package/dist/components/features/picker/presets/index.d.ts +0 -1
- package/dist/components/features/picker/types.d.ts +0 -1
- package/dist/components/features/picker/utils/commit.d.ts +0 -1
- package/dist/components/features/picker/utils/compare.d.ts +0 -1
- package/dist/components/features/picker/utils/format-value.d.ts +0 -1
- package/dist/components/features/picker/utils/format.d.ts +0 -1
- package/dist/components/features/picker/utils/index.d.ts +0 -1
- package/dist/components/features/picker/utils/range.d.ts +0 -1
- package/dist/components/features/picker/utils/timezone.d.ts +7 -3
- package/dist/components/features/picker/wrappers/date-picker.d.ts +0 -1
- package/dist/components/features/picker/wrappers/date-range-picker.d.ts +0 -1
- package/dist/components/features/picker/wrappers/date-range-time-picker.d.ts +0 -1
- package/dist/components/features/picker/wrappers/date-time-picker.d.ts +0 -1
- package/dist/components/features/picker/wrappers/date-time-range-picker.d.ts +0 -1
- package/dist/components/features/picker/wrappers/index.d.ts +0 -1
- package/dist/components/features/picker/wrappers/internal/default-footer.d.ts +0 -1
- package/dist/components/features/picker/wrappers/time-picker.d.ts +0 -1
- package/dist/components/features/picker/wrappers/time-range-picker.d.ts +0 -1
- package/dist/components/features/picker/wrappers/types.d.ts +0 -1
- package/dist/components/features/rich-text-editor/index.d.ts +0 -1
- package/dist/components/features/rich-text-editor/rich-text-content.d.ts +0 -1
- package/dist/components/features/rich-text-editor/rich-text-editor.d.ts +0 -1
- package/dist/components/features/rich-text-editor/toolbar/bold-toolbar.d.ts +0 -1
- package/dist/components/features/rich-text-editor/toolbar/italic-toolbar.d.ts +0 -1
- package/dist/components/features/rich-text-editor/toolbar/link-toolbar.d.ts +0 -1
- package/dist/components/features/rich-text-editor/toolbar/strike-toolbar.d.ts +0 -1
- package/dist/components/features/rich-text-editor/toolbar/toolbar-button.d.ts +0 -1
- package/dist/components/features/rich-text-editor/toolbar/toolbar.d.ts +0 -1
- package/dist/components/features/rich-text-editor/toolbar/underline-toolbar.d.ts +0 -1
- package/dist/components/features/rich-text-editor/types.d.ts +0 -1
- package/dist/components/features/stepper/index.d.ts +0 -1
- package/dist/components/features/stepper/parts.d.ts +25 -0
- package/dist/components/features/stepper/stepper.d.ts +0 -7
- package/dist/components/features/stepper/utils.d.ts +8 -0
- package/dist/components/features/tag-input/index.d.ts +0 -1
- package/dist/components/features/tag-input/parse.d.ts +56 -0
- package/dist/components/features/tag-input/tag-input-field.d.ts +16 -0
- package/dist/components/features/tag-input/tag-input.d.ts +3 -3
- package/dist/components/features/tag-input/use-tags-input.d.ts +38 -0
- package/dist/components/features/task-queue/constants.d.ts +0 -1
- package/dist/components/features/task-queue/core/index.d.ts +0 -1
- package/dist/components/features/task-queue/core/task-panel-actions.d.ts +0 -1
- package/dist/components/features/task-queue/core/task-panel-counter.d.ts +0 -1
- package/dist/components/features/task-queue/core/task-panel-header.d.ts +0 -1
- package/dist/components/features/task-queue/core/task-panel-item.d.ts +0 -1
- package/dist/components/features/task-queue/core/task-panel.d.ts +0 -1
- package/dist/components/features/task-queue/core/task-queue-dropdown.d.ts +0 -1
- package/dist/components/features/task-queue/core/task-queue-trigger.d.ts +0 -1
- package/dist/components/features/task-queue/core/task-summary-dialog.d.ts +0 -1
- package/dist/components/features/task-queue/engine/executor.d.ts +2 -3
- package/dist/components/features/task-queue/engine/index.d.ts +0 -1
- package/dist/components/features/task-queue/engine/queue.d.ts +52 -8
- package/dist/components/features/task-queue/engine/storage/detect-storage.d.ts +0 -1
- package/dist/components/features/task-queue/engine/storage/index.d.ts +0 -1
- package/dist/components/features/task-queue/engine/storage/local-storage.d.ts +9 -5
- package/dist/components/features/task-queue/engine/storage/memory-storage.d.ts +0 -1
- package/dist/components/features/task-queue/engine/storage/redis-storage.d.ts +11 -6
- package/dist/components/features/task-queue/engine/storage/serialize.d.ts +12 -0
- package/dist/components/features/task-queue/engine/storage/storage.d.ts +0 -1
- package/dist/components/features/task-queue/engine/summary-store.d.ts +17 -0
- package/dist/components/features/task-queue/hooks/index.d.ts +0 -1
- package/dist/components/features/task-queue/hooks/use-task-queue.d.ts +0 -1
- package/dist/components/features/task-queue/hooks/use-task-scope.d.ts +0 -1
- package/dist/components/features/task-queue/index.d.ts +0 -1
- package/dist/components/features/task-queue/provider/index.d.ts +0 -1
- package/dist/components/features/task-queue/provider/task-queue-provider.d.ts +0 -1
- package/dist/components/features/task-queue/types.d.ts +66 -25
- package/dist/components/features/task-queue/utils/index.d.ts +0 -1
- package/dist/components/features/time-picker/index.d.ts +0 -1
- package/dist/components/features/time-picker/time-picker.d.ts +0 -1
- package/dist/components/features/time-picker/types.d.ts +0 -1
- package/dist/components/features/time-range-picker/components/absolute-range-panel.d.ts +0 -1
- package/dist/components/features/time-range-picker/components/index.d.ts +0 -1
- package/dist/components/features/time-range-picker/components/quick-ranges-panel.d.ts +0 -1
- package/dist/components/features/time-range-picker/components/timezone-selector.d.ts +0 -1
- package/dist/components/features/time-range-picker/index.d.ts +0 -1
- package/dist/components/features/time-range-picker/presets.d.ts +0 -1
- package/dist/components/features/time-range-picker/time-range-picker.d.ts +0 -1
- package/dist/components/features/time-range-picker/types.d.ts +0 -1
- package/dist/components/features/time-range-picker/utils/format-display.d.ts +0 -1
- package/dist/components/features/time-range-picker/utils/index.d.ts +0 -1
- package/dist/components/features/time-range-picker/utils/timezone.d.ts +2 -15
- package/dist/components/features/time-range-picker/utils/to-api-format.d.ts +0 -1
- package/dist/components/features/toast/headless-toast.d.ts +7 -2
- package/dist/components/features/toast/index.d.ts +0 -1
- package/dist/components/features/toast/toast.d.ts +0 -1
- package/dist/components/features/toast/toaster.d.ts +0 -1
- package/dist/components/features/toast/types.d.ts +7 -3
- package/dist/components/features/toast/use-toast.d.ts +0 -1
- package/dist/components/features/transfer/components/index.d.ts +0 -1
- package/dist/components/features/transfer/components/transfer-group.d.ts +0 -1
- package/dist/components/features/transfer/components/transfer-item.d.ts +0 -1
- package/dist/components/features/transfer/components/transfer-panel.d.ts +0 -1
- package/dist/components/features/transfer/components/transfer-search.d.ts +0 -1
- package/dist/components/features/transfer/hooks/use-transfer-state.d.ts +0 -1
- package/dist/components/features/transfer/index.d.ts +0 -1
- package/dist/components/features/transfer/transfer.d.ts +0 -1
- package/dist/components/features/transfer/types.d.ts +0 -1
- package/dist/components/icons/close.icon.d.ts +0 -1
- package/dist/components/icons/icon-wrapper.d.ts +0 -1
- package/dist/components/icons/index.d.ts +0 -1
- package/dist/components/icons/spinner.icon.d.ts +0 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/themes/client-only.d.ts +0 -1
- package/dist/components/themes/index.d.ts +0 -1
- package/dist/components/themes/script.d.ts +0 -1
- package/dist/components/themes/theme-script.d.ts +0 -1
- package/dist/components/themes/theme.provider.d.ts +0 -1
- package/dist/components/themes/types.d.ts +0 -1
- package/dist/components/toast.d.ts +0 -1
- package/dist/data-table/index.mjs +1 -1
- package/dist/{data-table-BYhWsINw.mjs → data-table-CfeovSJV.mjs} +35 -42
- package/dist/date-picker/index.mjs +3 -2
- package/dist/date-time-picker/index.mjs +1 -1
- package/dist/{date-time-picker-BWrS9k-c.mjs → date-time-picker-BbtA6JJJ.mjs} +2 -2
- package/dist/dialog/index.mjs +1 -1
- package/dist/{dialog-Lg6iiEcv.mjs → dialog-CmkrpaYy.mjs} +20 -20
- package/dist/{dialog-ZmYSe4-x.mjs → dialog-N2pkQIc4.mjs} +4 -4
- package/dist/dropdown/index.mjs +1 -1
- package/dist/{dropdown-DIeMiG4G.mjs → dropdown-B0znsOlu.mjs} +1 -1
- package/dist/dropdown-menu-b8zY5Cs6.mjs +82 -0
- package/dist/dropzone/index.mjs +1 -1
- package/dist/{dropzone-ZJhq4Ec9.mjs → dropzone-C_vA4q0u.mjs} +11 -11
- package/dist/empty-content/index.mjs +1 -1
- package/dist/{empty-content-C4Z0QVfg.mjs → empty-content-BpS0PONb.mjs} +7 -7
- package/dist/exports/map.d.ts +0 -1
- package/dist/form/adapters/conform/index.mjs +73 -17
- package/dist/form/adapters/rhf/index.mjs +24 -9
- package/dist/form/index.mjs +1 -1
- package/dist/form/stepper/index.mjs +34 -15
- package/dist/{form-JM1Rqh6g.mjs → form-2pTdgtYr.mjs} +57 -41
- package/dist/grid/index.mjs +1 -1
- package/dist/grouped-table/index.mjs +1 -351
- package/dist/grouped-table-CPF8Jijv.mjs +342 -0
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +3 -2
- package/dist/hooks/use-breakpoint.d.ts +0 -1
- package/dist/hooks/use-copy-to-clipboard.d.ts +0 -1
- package/dist/hooks/use-debounce.d.ts +0 -1
- package/dist/hooks/use-debounced-search-input.d.ts +16 -0
- package/dist/hooks/use-theme.d.ts +0 -1
- package/dist/icons/index.mjs +2 -2
- package/dist/index.d.ts +0 -1
- package/dist/index.mjs +75 -66
- package/dist/input/index.mjs +1 -1
- package/dist/{input-BJBQxFli.mjs → input-DR-XbgpD.mjs} +2 -2
- package/dist/input-group/index.mjs +1 -1
- package/dist/{input-group-Cr_BOTbn.mjs → input-group-DieA8aBt.mjs} +3 -3
- package/dist/{input-DBzgl-pN.mjs → input-j4tbmYYz.mjs} +2 -2
- package/dist/input-number/index.mjs +1 -1
- package/dist/{input-number-BSRdHUdT.mjs → input-number-TXmW-X9o.mjs} +38 -23
- package/dist/input-with-addons/index.mjs +1 -1
- package/dist/label/index.mjs +1 -1
- package/dist/{label-CiVSCTp9.mjs → label-Bk6FXsju.mjs} +4 -5
- package/dist/{map-_GaPwJUi.mjs → layers-DJYz6fyE.mjs} +334 -357
- package/dist/loader-overlay/index.mjs +1 -1
- package/dist/{loader-overlay-CumsP4Xh.mjs → loader-overlay-DD94azZX.mjs} +3 -3
- package/dist/logo/index.mjs +2 -2
- package/dist/logo/themed/index.mjs +2 -2
- package/dist/{logo-BhV6hnzH.mjs → logo-C3FxD7jb.mjs} +1 -1
- package/dist/{logo-text-DMp3dH-h.mjs → logo-text-Dpm5O6Kg.mjs} +1 -1
- package/dist/map/index.mjs +1 -1
- package/dist/mobile-sheet/index.mjs +2 -2
- package/dist/{mobile-sheet-Cx8B89jB.mjs → mobile-sheet-D9L-JOee.mjs} +40 -5
- package/dist/more-actions/index.mjs +2 -2
- package/dist/{more-actions-B6sw_I8O.mjs → more-actions-G9hs0rpJ.mjs} +9 -6
- package/dist/multi-select/index.mjs +1 -1
- package/dist/multi-select-DIWTdi0i.mjs +310 -0
- package/dist/page-title/index.mjs +1 -1
- package/dist/{page-title-Wj1lF0BP.mjs → page-title-ipRWEOeM.mjs} +1 -1
- package/dist/picker/index.mjs +1 -272
- package/dist/picker-CRUSdzpo.mjs +1945 -0
- package/dist/popover/index.mjs +33 -1
- package/dist/radio-group/index.mjs +1 -1
- package/dist/{radio-group-kjKWAwdr.mjs → radio-group-LduBVTnh.mjs} +3 -4
- package/dist/responsive-dropdown/index.mjs +1 -1
- package/dist/responsive-dropdown-fCmduKaz.mjs +35 -0
- package/dist/responsive-popover/index.mjs +1 -1
- package/dist/responsive-popover-DJZgXWIE.mjs +42 -0
- package/dist/rich-text-editor/index.mjs +1 -1
- package/dist/{rich-text-editor-B3i5csUE.mjs → rich-text-editor-DRIwcleW.mjs} +89 -48
- package/dist/select/index.mjs +1 -1
- package/dist/{select-DNnPDWSW.mjs → select-DCU44UO6.mjs} +2 -2
- package/dist/{select-B8z0c7UD.mjs → select-daE2Nn0Z.mjs} +20 -20
- package/dist/separator/index.mjs +1 -1
- package/dist/{separator-BONRV3sq.mjs → separator-vbPD_WFQ.mjs} +2 -2
- package/dist/sheet/index.mjs +2 -2
- package/dist/{sheet-C6-WAHk2.mjs → sheet-BZViad2U.mjs} +3 -3
- package/dist/{sheet-CIdmO-NE.mjs → sheet-DXCZyMHI.mjs} +18 -18
- package/dist/sidebar/index.mjs +1 -1
- package/dist/{sidebar-DPQbMC3f.mjs → sidebar-Df6Po0K8.mjs} +184 -177
- package/dist/skeleton/index.mjs +25 -1
- package/dist/{spinner.icon-DSvVwPjx.mjs → spinner.icon-BYUMQ8H-.mjs} +1 -1
- package/dist/stepper/index.mjs +1 -1
- package/dist/{stepper-DV9FH5Cy.mjs → stepper-DJkYcilu.mjs} +175 -156
- package/dist/styles/root.css +4 -0
- package/dist/styles/shadcn/shadcn.css +212 -212
- package/dist/styles/shadcn/style.css +2 -0
- package/dist/switch/index.mjs +1 -1
- package/dist/switch-DPHr3TcN.mjs +28 -0
- package/dist/table/index.mjs +65 -1
- package/dist/tabs/index.mjs +1 -1
- package/dist/tag-input/index.mjs +1 -1
- package/dist/tag-input-CSav22U5.mjs +433 -0
- package/dist/task-queue/index.mjs +1 -1
- package/dist/{task-queue-dropdown-B63xh0f-.mjs → task-queue-dropdown-DfdGiyfA.mjs} +451 -147
- package/dist/textarea/index.mjs +1 -1
- package/dist/{textarea-BzQxX-oL.mjs → textarea-B6YhjFVC.mjs} +1 -1
- package/dist/theme/index.mjs +1 -1
- package/dist/{themes-CAmRnjUM.mjs → themes-BK5atywZ.mjs} +61 -23
- package/dist/time-picker/index.mjs +1 -1
- package/dist/{time-picker-B52KLKGe.mjs → time-picker-Bgt6R1fU.mjs} +2 -2
- package/dist/{to-api-format-tidT5mxa.mjs → to-api-format-CgKtSuWO.mjs} +68 -94
- package/dist/toast/index.mjs +2 -2
- package/dist/{toast-qSJgeN-g.mjs → toast-BUPlDkN3.mjs} +47 -10
- package/dist/tooltip/index.mjs +1 -1
- package/dist/{tooltip-BqrOCH8l.mjs → tooltip-BhatUaar.mjs} +10 -11
- package/dist/transfer/index.mjs +1 -1
- package/dist/{transfer-Dp6tTYeN.mjs → transfer-CEq9AhL7.mjs} +13 -6
- package/dist/{types-B7jxIH5I.mjs → types-DrN0rei5.mjs} +48 -22
- package/dist/typography/index.mjs +1 -1
- package/dist/{typography-Bcq9Tkwi.mjs → typography-BXIBvq3-.mjs} +1 -1
- package/dist/use-controllable-state-Dna7u3r9.mjs +26 -0
- package/dist/{use-copy-to-clipboard-BOCe6C1j.mjs → use-copy-to-clipboard-DZDq_85T.mjs} +8 -2
- package/dist/use-debounced-search-input-yu_F0QBt.mjs +37 -0
- package/dist/{use-deprecation-warning-BjKiPZ98.mjs → use-deprecation-warning-DXrGc0jX.mjs} +1 -1
- package/dist/{use-display-touched-B31H1Ziq.mjs → use-display-touched-CMEEv7aT.mjs} +2 -27
- package/dist/{use-option-picker-Cqzcr5f2.mjs → use-option-picker-CV-9CyBV.mjs} +46 -24
- package/dist/{toast-0C5jhuto.mjs → use-toast-Bpq0yJIT.mjs} +10 -3
- package/dist/utils/cn.d.ts +1 -3
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.mjs +2 -2
- package/dist/utils/timezone.d.ts +0 -1
- package/dist/zod-helpers-YEhVo2S-.mjs +27 -0
- package/package.json +68 -45
- package/dist/_shadcn/hooks/use-mobile.d.ts.map +0 -1
- package/dist/_shadcn/hooks/use-theme.d.ts.map +0 -1
- package/dist/_shadcn/lib/utils.d.ts.map +0 -1
- package/dist/_shadcn/ui/alert.d.ts.map +0 -1
- package/dist/_shadcn/ui/avatar.d.ts.map +0 -1
- package/dist/_shadcn/ui/badge.d.ts.map +0 -1
- package/dist/_shadcn/ui/breadcrumb.d.ts.map +0 -1
- package/dist/_shadcn/ui/button-group.d.ts.map +0 -1
- package/dist/_shadcn/ui/button.d.ts.map +0 -1
- package/dist/_shadcn/ui/card.d.ts.map +0 -1
- package/dist/_shadcn/ui/chart.d.ts.map +0 -1
- package/dist/_shadcn/ui/checkbox.d.ts.map +0 -1
- package/dist/_shadcn/ui/collapsible.d.ts.map +0 -1
- package/dist/_shadcn/ui/command.d.ts.map +0 -1
- package/dist/_shadcn/ui/dialog.d.ts.map +0 -1
- package/dist/_shadcn/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/_shadcn/ui/hover-card.d.ts.map +0 -1
- package/dist/_shadcn/ui/input-group.d.ts.map +0 -1
- package/dist/_shadcn/ui/input.d.ts.map +0 -1
- package/dist/_shadcn/ui/label.d.ts.map +0 -1
- package/dist/_shadcn/ui/map-leaflet-imports.d.ts.map +0 -1
- package/dist/_shadcn/ui/map.d.ts.map +0 -1
- package/dist/_shadcn/ui/place-autocomplete.d.ts.map +0 -1
- package/dist/_shadcn/ui/popover.d.ts.map +0 -1
- package/dist/_shadcn/ui/radio-group.d.ts.map +0 -1
- package/dist/_shadcn/ui/select.d.ts.map +0 -1
- package/dist/_shadcn/ui/separator.d.ts.map +0 -1
- package/dist/_shadcn/ui/sheet.d.ts.map +0 -1
- package/dist/_shadcn/ui/skeleton.d.ts.map +0 -1
- package/dist/_shadcn/ui/sonner.d.ts.map +0 -1
- package/dist/_shadcn/ui/spinner.d.ts.map +0 -1
- package/dist/_shadcn/ui/switch.d.ts.map +0 -1
- package/dist/_shadcn/ui/table.d.ts.map +0 -1
- package/dist/_shadcn/ui/tabs.d.ts.map +0 -1
- package/dist/_shadcn/ui/textarea.d.ts.map +0 -1
- package/dist/_shadcn/ui/tooltip.d.ts.map +0 -1
- package/dist/_shadcn/ui/visuallyhidden.d.ts.map +0 -1
- package/dist/app-navigation-D2EAiTGO.mjs +0 -482
- package/dist/avatar-DbTh2mk4.mjs +0 -28
- package/dist/calendar-BQF1XDjq.mjs +0 -77
- package/dist/calendar-ByqfbFGx.mjs +0 -111
- package/dist/cn-dlASUkDY.mjs +0 -8
- package/dist/collapsible-BeCdkxTJ.mjs +0 -7
- package/dist/components/base/alert/alert.d.ts.map +0 -1
- package/dist/components/base/alert/index.d.ts.map +0 -1
- package/dist/components/base/avatar/index.d.ts.map +0 -1
- package/dist/components/base/badge/badge.d.ts.map +0 -1
- package/dist/components/base/badge/index.d.ts.map +0 -1
- package/dist/components/base/breadcrumb/index.d.ts.map +0 -1
- package/dist/components/base/button/button.d.ts.map +0 -1
- package/dist/components/base/button/index.d.ts.map +0 -1
- package/dist/components/base/button/link-button.d.ts.map +0 -1
- package/dist/components/base/button-group/index.d.ts.map +0 -1
- package/dist/components/base/calendar/calendar.d.ts.map +0 -1
- package/dist/components/base/calendar/index.d.ts.map +0 -1
- package/dist/components/base/card/card.d.ts.map +0 -1
- package/dist/components/base/card/index.d.ts.map +0 -1
- package/dist/components/base/chart/index.d.ts.map +0 -1
- package/dist/components/base/checkbox/checkbox.d.ts.map +0 -1
- package/dist/components/base/checkbox/index.d.ts.map +0 -1
- package/dist/components/base/collapsible/index.d.ts.map +0 -1
- package/dist/components/base/command/index.d.ts.map +0 -1
- package/dist/components/base/date-picker/index.d.ts.map +0 -1
- package/dist/components/base/date-picker/types.d.ts.map +0 -1
- package/dist/components/base/date-picker/use-date-constraints.d.ts.map +0 -1
- package/dist/components/base/dialog/dialog.d.ts.map +0 -1
- package/dist/components/base/dialog/index.d.ts.map +0 -1
- package/dist/components/base/hover-card/index.d.ts.map +0 -1
- package/dist/components/base/index.d.ts.map +0 -1
- package/dist/components/base/input/index.d.ts.map +0 -1
- package/dist/components/base/input/input.d.ts.map +0 -1
- package/dist/components/base/input-group/index.d.ts.map +0 -1
- package/dist/components/base/label/index.d.ts.map +0 -1
- package/dist/components/base/label/label.d.ts.map +0 -1
- package/dist/components/base/map/index.d.ts.map +0 -1
- package/dist/components/base/mobile-sheet/context.d.ts.map +0 -1
- package/dist/components/base/mobile-sheet/index.d.ts.map +0 -1
- package/dist/components/base/mobile-sheet/mobile-sheet.d.ts.map +0 -1
- package/dist/components/base/option-picker/index.d.ts.map +0 -1
- package/dist/components/base/option-picker/option-list.d.ts.map +0 -1
- package/dist/components/base/option-picker/types.d.ts.map +0 -1
- package/dist/components/base/option-picker/use-option-picker.d.ts.map +0 -1
- package/dist/components/base/place-autocomplete/index.d.ts.map +0 -1
- package/dist/components/base/popover/index.d.ts.map +0 -1
- package/dist/components/base/radio-group/index.d.ts.map +0 -1
- package/dist/components/base/radio-group/radio-group.d.ts.map +0 -1
- package/dist/components/base/responsive-dropdown/index.d.ts.map +0 -1
- package/dist/components/base/responsive-dropdown/responsive-dropdown.d.ts.map +0 -1
- package/dist/components/base/responsive-popover/index.d.ts.map +0 -1
- package/dist/components/base/responsive-popover/responsive-popover.d.ts.map +0 -1
- package/dist/components/base/select/index.d.ts.map +0 -1
- package/dist/components/base/select/select.d.ts.map +0 -1
- package/dist/components/base/separator/index.d.ts.map +0 -1
- package/dist/components/base/sheet/index.d.ts.map +0 -1
- package/dist/components/base/sheet/sheet.d.ts.map +0 -1
- package/dist/components/base/sidebar/index.d.ts.map +0 -1
- package/dist/components/base/sidebar/sidebar.d.ts.map +0 -1
- package/dist/components/base/skeleton/index.d.ts.map +0 -1
- package/dist/components/base/skeleton/skeleton.d.ts.map +0 -1
- package/dist/components/base/spinner/index.d.ts.map +0 -1
- package/dist/components/base/switch/index.d.ts.map +0 -1
- package/dist/components/base/switch/switch.d.ts.map +0 -1
- package/dist/components/base/table/index.d.ts.map +0 -1
- package/dist/components/base/tabs/index.d.ts.map +0 -1
- package/dist/components/base/tabs/tabs.d.ts.map +0 -1
- package/dist/components/base/textarea/index.d.ts.map +0 -1
- package/dist/components/base/textarea/textarea.d.ts.map +0 -1
- package/dist/components/base/tooltip/index.d.ts.map +0 -1
- package/dist/components/base/tooltip/tooltip.d.ts.map +0 -1
- package/dist/components/base/typography/index.d.ts.map +0 -1
- package/dist/components/base/typography/typography.d.ts.map +0 -1
- package/dist/components/base/visuallyhidden/index.d.ts.map +0 -1
- package/dist/components/features/app-navigation/app-navigation.d.ts.map +0 -1
- package/dist/components/features/app-navigation/index.d.ts.map +0 -1
- package/dist/components/features/app-navigation/nav-menu.d.ts.map +0 -1
- package/dist/components/features/autocomplete/autocomplete.d.ts.map +0 -1
- package/dist/components/features/autocomplete/autocomplete.types.d.ts.map +0 -1
- package/dist/components/features/autocomplete/index.d.ts.map +0 -1
- package/dist/components/features/autocomplete/trigger.d.ts.map +0 -1
- package/dist/components/features/autosearch/autosearch.d.ts.map +0 -1
- package/dist/components/features/autosearch/autosearch.types.d.ts.map +0 -1
- package/dist/components/features/autosearch/index.d.ts.map +0 -1
- package/dist/components/features/avatar-stack/avatar-stack.d.ts.map +0 -1
- package/dist/components/features/avatar-stack/index.d.ts.map +0 -1
- package/dist/components/features/calendar-date-picker/calendar-date-picker.d.ts.map +0 -1
- package/dist/components/features/calendar-date-picker/calendar-header.d.ts +0 -13
- package/dist/components/features/calendar-date-picker/calendar-header.d.ts.map +0 -1
- package/dist/components/features/calendar-date-picker/calendar-presets.d.ts +0 -9
- package/dist/components/features/calendar-date-picker/calendar-presets.d.ts.map +0 -1
- package/dist/components/features/calendar-date-picker/date-trigger.d.ts +0 -24
- package/dist/components/features/calendar-date-picker/date-trigger.d.ts.map +0 -1
- package/dist/components/features/calendar-date-picker/index.d.ts.map +0 -1
- package/dist/components/features/calendar-date-picker/types.d.ts.map +0 -1
- package/dist/components/features/calendar-date-picker/use-calendar-date-picker.d.ts +0 -48
- package/dist/components/features/calendar-date-picker/use-calendar-date-picker.d.ts.map +0 -1
- package/dist/components/features/code-editor/code-editor-tabs.d.ts.map +0 -1
- package/dist/components/features/code-editor/code-editor.d.ts.map +0 -1
- package/dist/components/features/code-editor/index.d.ts.map +0 -1
- package/dist/components/features/code-editor/lib/editor.d.ts.map +0 -1
- package/dist/components/features/code-editor/types.d.ts.map +0 -1
- package/dist/components/features/data-table/adapters/nuqs-adapter.d.ts.map +0 -1
- package/dist/components/features/data-table/columns/selection-column.d.ts.map +0 -1
- package/dist/components/features/data-table/components/active-filters.d.ts.map +0 -1
- package/dist/components/features/data-table/components/bulk-actions.d.ts.map +0 -1
- package/dist/components/features/data-table/components/column-header.d.ts.map +0 -1
- package/dist/components/features/data-table/components/content.d.ts.map +0 -1
- package/dist/components/features/data-table/components/inline-content.d.ts.map +0 -1
- package/dist/components/features/data-table/components/loading.d.ts.map +0 -1
- package/dist/components/features/data-table/components/pagination.d.ts.map +0 -1
- package/dist/components/features/data-table/components/row-actions.d.ts.map +0 -1
- package/dist/components/features/data-table/components/search.d.ts.map +0 -1
- package/dist/components/features/data-table/constants.d.ts.map +0 -1
- package/dist/components/features/data-table/core/client-provider.d.ts.map +0 -1
- package/dist/components/features/data-table/core/data-table-context.d.ts.map +0 -1
- package/dist/components/features/data-table/core/filter-engine.d.ts.map +0 -1
- package/dist/components/features/data-table/core/server-provider.d.ts.map +0 -1
- package/dist/components/features/data-table/core/store.d.ts.map +0 -1
- package/dist/components/features/data-table/data-table.d.ts.map +0 -1
- package/dist/components/features/data-table/filters/checkbox-filter.d.ts.map +0 -1
- package/dist/components/features/data-table/filters/date-picker-filter.d.ts.map +0 -1
- package/dist/components/features/data-table/filters/select-filter.d.ts.map +0 -1
- package/dist/components/features/data-table/hooks/index.d.ts.map +0 -1
- package/dist/components/features/data-table/hooks/use-data-table-client.d.ts.map +0 -1
- package/dist/components/features/data-table/hooks/use-data-table-server.d.ts.map +0 -1
- package/dist/components/features/data-table/hooks/use-selectors.d.ts.map +0 -1
- package/dist/components/features/data-table/index.d.ts.map +0 -1
- package/dist/components/features/data-table/types.d.ts.map +0 -1
- package/dist/components/features/date-picker/index.d.ts.map +0 -1
- package/dist/components/features/date-time-picker/date-time-picker.d.ts.map +0 -1
- package/dist/components/features/date-time-picker/index.d.ts.map +0 -1
- package/dist/components/features/date-time-picker/types.d.ts.map +0 -1
- package/dist/components/features/date-time-picker/utils/format.d.ts.map +0 -1
- package/dist/components/features/date-time-picker/utils/index.d.ts.map +0 -1
- package/dist/components/features/date-time-picker/utils/timezone.d.ts.map +0 -1
- package/dist/components/features/dropdown/dropdown.d.ts.map +0 -1
- package/dist/components/features/dropdown/index.d.ts.map +0 -1
- package/dist/components/features/dropzone/dropzone.d.ts.map +0 -1
- package/dist/components/features/dropzone/index.d.ts.map +0 -1
- package/dist/components/features/empty-content/empty-content.d.ts.map +0 -1
- package/dist/components/features/empty-content/index.d.ts.map +0 -1
- package/dist/components/features/file-input-button/file-input-button.d.ts.map +0 -1
- package/dist/components/features/file-input-button/index.d.ts.map +0 -1
- package/dist/components/features/form/adapter-context.d.ts.map +0 -1
- package/dist/components/features/form/adapter-types.d.ts.map +0 -1
- package/dist/components/features/form/adapters/conform/conform-adapter.d.ts.map +0 -1
- package/dist/components/features/form/adapters/conform/conform-provider.d.ts.map +0 -1
- package/dist/components/features/form/adapters/conform/index.d.ts.map +0 -1
- package/dist/components/features/form/adapters/rhf/index.d.ts.map +0 -1
- package/dist/components/features/form/adapters/rhf/rhf-adapter.d.ts.map +0 -1
- package/dist/components/features/form/adapters/rhf/rhf-provider.d.ts.map +0 -1
- package/dist/components/features/form/components/form-autocomplete.d.ts.map +0 -1
- package/dist/components/features/form/components/form-autosearch.d.ts.map +0 -1
- package/dist/components/features/form/components/form-button.d.ts.map +0 -1
- package/dist/components/features/form/components/form-checkbox.d.ts.map +0 -1
- package/dist/components/features/form/components/form-combobox.d.ts.map +0 -1
- package/dist/components/features/form/components/form-copy-box.d.ts.map +0 -1
- package/dist/components/features/form/components/form-custom.d.ts.map +0 -1
- package/dist/components/features/form/components/form-date-picker.d.ts.map +0 -1
- package/dist/components/features/form/components/form-date-time-picker.d.ts.map +0 -1
- package/dist/components/features/form/components/form-description.d.ts.map +0 -1
- package/dist/components/features/form/components/form-dialog.d.ts.map +0 -1
- package/dist/components/features/form/components/form-error.d.ts.map +0 -1
- package/dist/components/features/form/components/form-field-array.d.ts.map +0 -1
- package/dist/components/features/form/components/form-field.d.ts.map +0 -1
- package/dist/components/features/form/components/form-input-group.d.ts.map +0 -1
- package/dist/components/features/form/components/form-input.d.ts.map +0 -1
- package/dist/components/features/form/components/form-radio-group.d.ts.map +0 -1
- package/dist/components/features/form/components/form-root.d.ts.map +0 -1
- package/dist/components/features/form/components/form-select.d.ts.map +0 -1
- package/dist/components/features/form/components/form-submit.d.ts.map +0 -1
- package/dist/components/features/form/components/form-switch.d.ts.map +0 -1
- package/dist/components/features/form/components/form-textarea.d.ts.map +0 -1
- package/dist/components/features/form/components/form-time-picker.d.ts.map +0 -1
- package/dist/components/features/form/components/form-transfer.d.ts.map +0 -1
- package/dist/components/features/form/components/form-when.d.ts.map +0 -1
- package/dist/components/features/form/components/index.d.ts.map +0 -1
- package/dist/components/features/form/components/stepper/form-step.d.ts.map +0 -1
- package/dist/components/features/form/components/stepper/form-stepper.d.ts.map +0 -1
- package/dist/components/features/form/components/stepper/index.d.ts.map +0 -1
- package/dist/components/features/form/components/stepper/stepper-controls.d.ts.map +0 -1
- package/dist/components/features/form/components/stepper/stepper-navigation.d.ts.map +0 -1
- package/dist/components/features/form/context/field-context.d.ts.map +0 -1
- package/dist/components/features/form/context/form-context.d.ts.map +0 -1
- package/dist/components/features/form/context/index.d.ts.map +0 -1
- package/dist/components/features/form/hooks/index.d.ts.map +0 -1
- package/dist/components/features/form/hooks/use-display-touched.d.ts.map +0 -1
- package/dist/components/features/form/hooks/use-field-context.d.ts.map +0 -1
- package/dist/components/features/form/hooks/use-field.d.ts.map +0 -1
- package/dist/components/features/form/hooks/use-form-context.d.ts.map +0 -1
- package/dist/components/features/form/hooks/use-form-state.d.ts.map +0 -1
- package/dist/components/features/form/hooks/use-stepper.d.ts.map +0 -1
- package/dist/components/features/form/hooks/use-watch.d.ts.map +0 -1
- package/dist/components/features/form/index.d.ts.map +0 -1
- package/dist/components/features/form/stepper/index.d.ts.map +0 -1
- package/dist/components/features/form/types/index.d.ts.map +0 -1
- package/dist/components/features/form/utils/get-field-constraints.d.ts.map +0 -1
- package/dist/components/features/form/utils/get-schema-defaults.d.ts.map +0 -1
- package/dist/components/features/form/utils/zod-helpers.d.ts.map +0 -1
- package/dist/components/features/grid/components/col.d.ts.map +0 -1
- package/dist/components/features/grid/components/index.d.ts.map +0 -1
- package/dist/components/features/grid/components/row.d.ts.map +0 -1
- package/dist/components/features/grid/constants/grid.constants.d.ts.map +0 -1
- package/dist/components/features/grid/index.d.ts.map +0 -1
- package/dist/components/features/grid/types/grid.types.d.ts.map +0 -1
- package/dist/components/features/grid/utils/responsive.d.ts.map +0 -1
- package/dist/components/features/grouped-table/components/grouped-skeleton.d.ts.map +0 -1
- package/dist/components/features/grouped-table/components/grouped-toolbar.d.ts.map +0 -1
- package/dist/components/features/grouped-table/grouped-table.d.ts.map +0 -1
- package/dist/components/features/grouped-table/index.d.ts.map +0 -1
- package/dist/components/features/grouped-table/lib/bucket-rows.d.ts.map +0 -1
- package/dist/components/features/grouped-table/lib/compose-columns.d.ts.map +0 -1
- package/dist/components/features/grouped-table/lib/sort-rows.d.ts.map +0 -1
- package/dist/components/features/grouped-table/lib/use-controllable-state.d.ts.map +0 -1
- package/dist/components/features/grouped-table/types.d.ts.map +0 -1
- package/dist/components/features/grouped-table/use-grouped-expansion.d.ts.map +0 -1
- package/dist/components/features/index.d.ts.map +0 -1
- package/dist/components/features/input-number/index.d.ts.map +0 -1
- package/dist/components/features/input-number/input-number.d.ts.map +0 -1
- package/dist/components/features/input-with-addons/index.d.ts.map +0 -1
- package/dist/components/features/input-with-addons/input-with-addons.d.ts.map +0 -1
- package/dist/components/features/loader-overlay/index.d.ts.map +0 -1
- package/dist/components/features/loader-overlay/loader-overlay.d.ts.map +0 -1
- package/dist/components/features/logo/index.d.ts.map +0 -1
- package/dist/components/features/logo/logo-flat.d.ts.map +0 -1
- package/dist/components/features/logo/logo-icon.d.ts.map +0 -1
- package/dist/components/features/logo/logo-stacked.d.ts.map +0 -1
- package/dist/components/features/logo/logo-text.d.ts.map +0 -1
- package/dist/components/features/logo/logo.d.ts.map +0 -1
- package/dist/components/features/logo/logo.styles.d.ts.map +0 -1
- package/dist/components/features/logo/themed/index.d.ts.map +0 -1
- package/dist/components/features/logo/themed/logo-themed.d.ts.map +0 -1
- package/dist/components/features/more-actions/action-row.d.ts.map +0 -1
- package/dist/components/features/more-actions/index.d.ts.map +0 -1
- package/dist/components/features/more-actions/more-actions.d.ts.map +0 -1
- package/dist/components/features/more-actions/types.d.ts.map +0 -1
- package/dist/components/features/multi-select/index.d.ts.map +0 -1
- package/dist/components/features/multi-select/multi-select.d.ts.map +0 -1
- package/dist/components/features/nprogress/index.d.ts.map +0 -1
- package/dist/components/features/page-title/index.d.ts.map +0 -1
- package/dist/components/features/page-title/page-title.d.ts.map +0 -1
- package/dist/components/features/picker/components/calendar.d.ts.map +0 -1
- package/dist/components/features/picker/components/content.d.ts.map +0 -1
- package/dist/components/features/picker/components/context.d.ts.map +0 -1
- package/dist/components/features/picker/components/footer.d.ts.map +0 -1
- package/dist/components/features/picker/components/index.d.ts.map +0 -1
- package/dist/components/features/picker/components/presets.d.ts.map +0 -1
- package/dist/components/features/picker/components/root.d.ts.map +0 -1
- package/dist/components/features/picker/components/time-input-field.d.ts.map +0 -1
- package/dist/components/features/picker/components/time-input.d.ts.map +0 -1
- package/dist/components/features/picker/components/timezone-indicator.d.ts.map +0 -1
- package/dist/components/features/picker/components/timezone-select.d.ts.map +0 -1
- package/dist/components/features/picker/components/trigger.d.ts.map +0 -1
- package/dist/components/features/picker/hooks/index.d.ts.map +0 -1
- package/dist/components/features/picker/hooks/use-keyboard-shortcuts.d.ts.map +0 -1
- package/dist/components/features/picker/hooks/use-picker-state.d.ts.map +0 -1
- package/dist/components/features/picker/hooks/use-presets.d.ts.map +0 -1
- package/dist/components/features/picker/hooks/use-time-slots.d.ts.map +0 -1
- package/dist/components/features/picker/index.d.ts.map +0 -1
- package/dist/components/features/picker/internal/use-deprecation-warning.d.ts.map +0 -1
- package/dist/components/features/picker/presets/defaults.d.ts.map +0 -1
- package/dist/components/features/picker/presets/index.d.ts.map +0 -1
- package/dist/components/features/picker/types.d.ts.map +0 -1
- package/dist/components/features/picker/utils/commit.d.ts.map +0 -1
- package/dist/components/features/picker/utils/compare.d.ts.map +0 -1
- package/dist/components/features/picker/utils/format-value.d.ts.map +0 -1
- package/dist/components/features/picker/utils/format.d.ts.map +0 -1
- package/dist/components/features/picker/utils/index.d.ts.map +0 -1
- package/dist/components/features/picker/utils/range.d.ts.map +0 -1
- package/dist/components/features/picker/utils/timezone.d.ts.map +0 -1
- package/dist/components/features/picker/wrappers/date-picker.d.ts.map +0 -1
- package/dist/components/features/picker/wrappers/date-range-picker.d.ts.map +0 -1
- package/dist/components/features/picker/wrappers/date-range-time-picker.d.ts.map +0 -1
- package/dist/components/features/picker/wrappers/date-time-picker.d.ts.map +0 -1
- package/dist/components/features/picker/wrappers/date-time-range-picker.d.ts.map +0 -1
- package/dist/components/features/picker/wrappers/index.d.ts.map +0 -1
- package/dist/components/features/picker/wrappers/internal/default-footer.d.ts.map +0 -1
- package/dist/components/features/picker/wrappers/time-picker.d.ts.map +0 -1
- package/dist/components/features/picker/wrappers/time-range-picker.d.ts.map +0 -1
- package/dist/components/features/picker/wrappers/types.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/index.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/rich-text-content.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/rich-text-editor.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/toolbar/bold-toolbar.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/toolbar/italic-toolbar.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/toolbar/link-toolbar.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/toolbar/strike-toolbar.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/toolbar/toolbar-button.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/toolbar/toolbar.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/toolbar/underline-toolbar.d.ts.map +0 -1
- package/dist/components/features/rich-text-editor/types.d.ts.map +0 -1
- package/dist/components/features/stepper/index.d.ts.map +0 -1
- package/dist/components/features/stepper/stepper.d.ts.map +0 -1
- package/dist/components/features/tag-input/index.d.ts.map +0 -1
- package/dist/components/features/tag-input/tag-input.d.ts.map +0 -1
- package/dist/components/features/task-queue/constants.d.ts.map +0 -1
- package/dist/components/features/task-queue/core/index.d.ts.map +0 -1
- package/dist/components/features/task-queue/core/task-panel-actions.d.ts.map +0 -1
- package/dist/components/features/task-queue/core/task-panel-counter.d.ts.map +0 -1
- package/dist/components/features/task-queue/core/task-panel-header.d.ts.map +0 -1
- package/dist/components/features/task-queue/core/task-panel-item.d.ts.map +0 -1
- package/dist/components/features/task-queue/core/task-panel.d.ts.map +0 -1
- package/dist/components/features/task-queue/core/task-queue-dropdown.d.ts.map +0 -1
- package/dist/components/features/task-queue/core/task-queue-trigger.d.ts.map +0 -1
- package/dist/components/features/task-queue/core/task-summary-dialog.d.ts.map +0 -1
- package/dist/components/features/task-queue/engine/executor.d.ts.map +0 -1
- package/dist/components/features/task-queue/engine/index.d.ts.map +0 -1
- package/dist/components/features/task-queue/engine/queue.d.ts.map +0 -1
- package/dist/components/features/task-queue/engine/storage/detect-storage.d.ts.map +0 -1
- package/dist/components/features/task-queue/engine/storage/index.d.ts.map +0 -1
- package/dist/components/features/task-queue/engine/storage/local-storage.d.ts.map +0 -1
- package/dist/components/features/task-queue/engine/storage/memory-storage.d.ts.map +0 -1
- package/dist/components/features/task-queue/engine/storage/redis-storage.d.ts.map +0 -1
- package/dist/components/features/task-queue/engine/storage/storage.d.ts.map +0 -1
- package/dist/components/features/task-queue/hooks/index.d.ts.map +0 -1
- package/dist/components/features/task-queue/hooks/use-task-queue.d.ts.map +0 -1
- package/dist/components/features/task-queue/hooks/use-task-scope.d.ts.map +0 -1
- package/dist/components/features/task-queue/index.d.ts.map +0 -1
- package/dist/components/features/task-queue/provider/index.d.ts.map +0 -1
- package/dist/components/features/task-queue/provider/task-queue-provider.d.ts.map +0 -1
- package/dist/components/features/task-queue/types.d.ts.map +0 -1
- package/dist/components/features/task-queue/utils/index.d.ts.map +0 -1
- package/dist/components/features/time-picker/index.d.ts.map +0 -1
- package/dist/components/features/time-picker/time-picker.d.ts.map +0 -1
- package/dist/components/features/time-picker/types.d.ts.map +0 -1
- package/dist/components/features/time-picker/use-time-slots.d.ts +0 -10
- package/dist/components/features/time-picker/use-time-slots.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/components/absolute-range-panel.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/components/index.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/components/quick-ranges-panel.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/components/timezone-selector.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/index.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/presets.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/time-range-picker.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/types.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/utils/format-display.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/utils/index.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/utils/timezone.d.ts.map +0 -1
- package/dist/components/features/time-range-picker/utils/to-api-format.d.ts.map +0 -1
- package/dist/components/features/toast/headless-toast.d.ts.map +0 -1
- package/dist/components/features/toast/index.d.ts.map +0 -1
- package/dist/components/features/toast/toast.d.ts.map +0 -1
- package/dist/components/features/toast/toaster.d.ts.map +0 -1
- package/dist/components/features/toast/types.d.ts.map +0 -1
- package/dist/components/features/toast/use-toast.d.ts.map +0 -1
- package/dist/components/features/transfer/components/index.d.ts.map +0 -1
- package/dist/components/features/transfer/components/transfer-group.d.ts.map +0 -1
- package/dist/components/features/transfer/components/transfer-item.d.ts.map +0 -1
- package/dist/components/features/transfer/components/transfer-panel.d.ts.map +0 -1
- package/dist/components/features/transfer/components/transfer-search.d.ts.map +0 -1
- package/dist/components/features/transfer/hooks/use-transfer-dnd.d.ts +0 -26
- package/dist/components/features/transfer/hooks/use-transfer-dnd.d.ts.map +0 -1
- package/dist/components/features/transfer/hooks/use-transfer-state.d.ts.map +0 -1
- package/dist/components/features/transfer/index.d.ts.map +0 -1
- package/dist/components/features/transfer/transfer.d.ts.map +0 -1
- package/dist/components/features/transfer/types.d.ts.map +0 -1
- package/dist/components/icons/close.icon.d.ts.map +0 -1
- package/dist/components/icons/icon-wrapper.d.ts.map +0 -1
- package/dist/components/icons/index.d.ts.map +0 -1
- package/dist/components/icons/spinner.icon.d.ts.map +0 -1
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/themes/client-only.d.ts.map +0 -1
- package/dist/components/themes/index.d.ts.map +0 -1
- package/dist/components/themes/script.d.ts.map +0 -1
- package/dist/components/themes/theme-script.d.ts.map +0 -1
- package/dist/components/themes/theme.provider.d.ts.map +0 -1
- package/dist/components/themes/types.d.ts.map +0 -1
- package/dist/components/toast.d.ts.map +0 -1
- package/dist/date-range-picker-CuU5mdxt.mjs +0 -77
- package/dist/date-time-picker-BczLnnE6.mjs +0 -109
- package/dist/date-time-range-picker-DHItep1U.mjs +0 -82
- package/dist/default-footer-DzYzX_OT.mjs +0 -1037
- package/dist/exports/map.d.ts.map +0 -1
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/use-breakpoint.d.ts.map +0 -1
- package/dist/hooks/use-copy-to-clipboard.d.ts.map +0 -1
- package/dist/hooks/use-debounce.d.ts.map +0 -1
- package/dist/hooks/use-theme.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/multi-select-C9ocz07C.mjs +0 -235
- package/dist/popover-CBXjbpUR.mjs +0 -34
- package/dist/responsive-dropdown-Hxq7qwAW.mjs +0 -54
- package/dist/responsive-popover-CVFh3i33.mjs +0 -61
- package/dist/skeleton-CGU89HPB.mjs +0 -26
- package/dist/switch-Doft2t6-.mjs +0 -29
- package/dist/table-BR3mwU8X.mjs +0 -66
- package/dist/tag-input-DZJUc1hL.mjs +0 -297
- package/dist/time-input-DI8l2oeN.mjs +0 -196
- package/dist/time-picker-Dm7jOOcX.mjs +0 -45
- package/dist/timezone-indicator-B4GVkwmg.mjs +0 -27
- package/dist/utils/cn.d.ts.map +0 -1
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/timezone.d.ts.map +0 -1
- package/dist/{utils-BAytYO8b.mjs → utils-U06Eu2KT.mjs} +1 -1
|
@@ -0,0 +1,576 @@
|
|
|
1
|
+
import { t as cn } from "./utils-Bu32wN-x.mjs";
|
|
2
|
+
import { t as Icon } from "./icon-wrapper-DKfJlJd0.mjs";
|
|
3
|
+
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./collapsible/index.mjs";
|
|
4
|
+
import { S as SidebarGroupLabel, c as SidebarSeparator, g as SidebarMenuSub, h as SidebarMenuSkeleton, i as SidebarHeader, l as SidebarTrigger, m as SidebarMenuItem, n as SidebarContent, p as SidebarMenuButton, r as SidebarFooter, t as Sidebar, u as SidebarMenu, w as useSidebar, x as SidebarGroupContent, y as SidebarGroup } from "./sidebar-Df6Po0K8.mjs";
|
|
5
|
+
import { ChevronRight, ExternalLinkIcon } from "lucide-react";
|
|
6
|
+
import { createContext, memo, use, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
7
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { motion } from "motion/react";
|
|
9
|
+
//#region src/components/features/app-navigation/nav-menu/active-path.ts
|
|
10
|
+
/**
|
|
11
|
+
* Pure active-path predicates for the nav menu.
|
|
12
|
+
*
|
|
13
|
+
* These were previously trapped as closures inside the `NavMenu` render
|
|
14
|
+
* function. Extracted here as plain functions of `(item, currentPath)` so the
|
|
15
|
+
* routing logic can be unit-tested without rendering React.
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Normalise a pathname for comparison: ensure a leading slash and strip a
|
|
19
|
+
* trailing slash (except for the root path itself).
|
|
20
|
+
*/
|
|
21
|
+
function normalizePath(p) {
|
|
22
|
+
let result = p.startsWith("/") ? p : `/${p}`;
|
|
23
|
+
if (result !== "/" && result.endsWith("/")) result = result.slice(0, -1);
|
|
24
|
+
return result;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Whether `item` itself should be rendered as the active nav entry for the
|
|
28
|
+
* given `currentPath`.
|
|
29
|
+
*
|
|
30
|
+
* Rules:
|
|
31
|
+
* - An item with no href is never directly active.
|
|
32
|
+
* - The root item (`/`) is active only on the exact root path.
|
|
33
|
+
* - A parent with children is active only on an exact match AND only when none
|
|
34
|
+
* of its descendants match (the deepest match wins).
|
|
35
|
+
* - A leaf is active on exact match or a non-excluded sub-path, or when the
|
|
36
|
+
* path matches one of its `tabChildLinks`.
|
|
37
|
+
*/
|
|
38
|
+
function isNavItemActive(item, currentPath) {
|
|
39
|
+
const cleanCurrentPath = normalizePath(currentPath);
|
|
40
|
+
if (!item.href) return false;
|
|
41
|
+
const cleanNavPath = normalizePath(item.href);
|
|
42
|
+
if (cleanNavPath === "/") return cleanCurrentPath === "/";
|
|
43
|
+
const anyDescendantMatches = (navItem) => {
|
|
44
|
+
if (!navItem.children || navItem.children.length === 0) return false;
|
|
45
|
+
return navItem.children.some((child) => {
|
|
46
|
+
if (!child.href) return anyDescendantMatches(child);
|
|
47
|
+
const cleanChildPath = normalizePath(child.href);
|
|
48
|
+
if (cleanCurrentPath === cleanChildPath || cleanCurrentPath.startsWith(`${cleanChildPath}/`)) return true;
|
|
49
|
+
return anyDescendantMatches(child);
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
if ((item.children || []).length > 0) {
|
|
53
|
+
if (anyDescendantMatches(item)) return false;
|
|
54
|
+
return cleanCurrentPath === cleanNavPath;
|
|
55
|
+
}
|
|
56
|
+
const isExcluded = item.excludePaths?.some((excludePath) => {
|
|
57
|
+
const cleanExcludePath = normalizePath(excludePath);
|
|
58
|
+
return cleanCurrentPath === cleanExcludePath || cleanCurrentPath.startsWith(`${cleanExcludePath}/`);
|
|
59
|
+
}) ?? false;
|
|
60
|
+
const isDirectMatch = cleanCurrentPath === cleanNavPath || !isExcluded && cleanCurrentPath.startsWith(`${cleanNavPath}/`);
|
|
61
|
+
const isTabChildMatch = item.tabChildLinks?.some((childPath) => {
|
|
62
|
+
const cleanChildPath = normalizePath(childPath);
|
|
63
|
+
return cleanCurrentPath === cleanChildPath || cleanCurrentPath.startsWith(`${cleanChildPath}/`);
|
|
64
|
+
}) ?? false;
|
|
65
|
+
return isDirectMatch || isTabChildMatch;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Whether `item` or any of its descendants is active for `currentPath`. Used to
|
|
69
|
+
* decide which collapsible groups should be expanded / kept open.
|
|
70
|
+
*/
|
|
71
|
+
function hasActiveDescendant(item, currentPath) {
|
|
72
|
+
if (isNavItemActive(item, currentPath)) return true;
|
|
73
|
+
if (item.children) return item.children.some((child) => hasActiveDescendant(child, currentPath));
|
|
74
|
+
return false;
|
|
75
|
+
}
|
|
76
|
+
/** Depth-first search for the first item whose href matches `href` exactly. */
|
|
77
|
+
function findItemByHref(items, href) {
|
|
78
|
+
for (const item of items) {
|
|
79
|
+
if (item.href === href) return item;
|
|
80
|
+
if (item.children) {
|
|
81
|
+
const found = findItemByHref(item.children, href);
|
|
82
|
+
if (found) return found;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return null;
|
|
86
|
+
}
|
|
87
|
+
//#endregion
|
|
88
|
+
//#region src/components/features/app-navigation/nav-menu/nav-menu-context.ts
|
|
89
|
+
const NavMenuContext = createContext(null);
|
|
90
|
+
const NavMenuProvider = NavMenuContext.Provider;
|
|
91
|
+
function useNavMenuContext() {
|
|
92
|
+
const ctx = use(NavMenuContext);
|
|
93
|
+
if (!ctx) throw new Error("NavMenuItem must be rendered within a NavMenu");
|
|
94
|
+
return ctx;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Stable identity key for a nav item's open/closed state.
|
|
98
|
+
* Uses type + title + href + level (not href alone) so that collapsible groups
|
|
99
|
+
* with href:null can still be toggled and duplicate hrefs never collide.
|
|
100
|
+
*/
|
|
101
|
+
function getNavItemKey(item, level) {
|
|
102
|
+
return `${item.type}:${item.title}:${item.href ?? ""}:${level}`;
|
|
103
|
+
}
|
|
104
|
+
//#endregion
|
|
105
|
+
//#region src/components/features/app-navigation/nav-menu/parts.tsx
|
|
106
|
+
const NAV_STYLES = {
|
|
107
|
+
menuButton: "rounded-xl h-8 font-normal text-xs transition-all px-2 py-1 data-[active=true]:bg-sidebar data-[active=true]:text-foreground data-[active=true]:text-sidebar-primary data-[active=true]:[&>svg]:text-primary hover:bg-sidebar hover:text-sidebar-primary hover:[&>svg]:text-sidebar-primary hover:bg-sidebar-accent data-[active=true]:bg-sidebar-accent hover:font-semibold data-[active=true]:hover:[&>svg]:text-sidebar-primary transition-colors duration-300 gap-2.5 text-foreground [&>svg]:text-icon-primary",
|
|
108
|
+
disabled: "pointer-events-none opacity-50",
|
|
109
|
+
icon: "duration-300 transition-all",
|
|
110
|
+
iconSmall: "size-4 duration-300 transition-all"
|
|
111
|
+
};
|
|
112
|
+
function NavIcon({ icon: IconComponent, className, size = "default" }) {
|
|
113
|
+
if (!IconComponent) return null;
|
|
114
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
115
|
+
icon: IconComponent,
|
|
116
|
+
className: cn(size === "small" ? NAV_STYLES.iconSmall : NAV_STYLES.icon, className)
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
NavIcon.displayName = "NavIcon";
|
|
120
|
+
function NavSidebarMenuButton({ ref, item, isActive, disableTooltip, className, activeClassName, children, asChild, ...props }) {
|
|
121
|
+
return /* @__PURE__ */ jsx(SidebarMenuButton, {
|
|
122
|
+
ref,
|
|
123
|
+
tooltip: disableTooltip ? void 0 : item.title,
|
|
124
|
+
isActive,
|
|
125
|
+
disabled: item.disabled,
|
|
126
|
+
asChild,
|
|
127
|
+
className: cn(NAV_STYLES.menuButton, item.disabled && NAV_STYLES.disabled, className, isActive && activeClassName),
|
|
128
|
+
...props,
|
|
129
|
+
children: asChild ? children : /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(NavIcon, { icon: item.icon }), children] })
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
NavSidebarMenuButton.displayName = "NavSidebarMenuButton";
|
|
133
|
+
//#endregion
|
|
134
|
+
//#region src/components/features/app-navigation/nav-menu/nav-menu-item.tsx
|
|
135
|
+
/** Stable React key for a rendered nav item at a given depth. */
|
|
136
|
+
function itemKeyOf(item, level) {
|
|
137
|
+
return `${item.title}-${item.href || ""}-${level}`;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Recursive nav row. Dispatches to the correct presentational part based on the
|
|
141
|
+
* item type and the current sidebar state, and renders itself for children.
|
|
142
|
+
* Memoized so unchanged subtrees skip re-rendering when their props are stable.
|
|
143
|
+
*/
|
|
144
|
+
const NavMenuItem = memo(({ item, level = 0 }) => {
|
|
145
|
+
const { state, isMobile } = useNavMenuContext();
|
|
146
|
+
if (item.hidden) return null;
|
|
147
|
+
if (item.type === "group") return /* @__PURE__ */ jsx(NavGroup, {
|
|
148
|
+
item,
|
|
149
|
+
level
|
|
150
|
+
});
|
|
151
|
+
const hasChildren = (item.children || []).length > 0;
|
|
152
|
+
if (state === "collapsed" && !isMobile && level <= 2 && hasChildren) return /* @__PURE__ */ jsx(NavCollapsedItem, {
|
|
153
|
+
item,
|
|
154
|
+
level
|
|
155
|
+
});
|
|
156
|
+
if (hasChildren) return /* @__PURE__ */ jsx(NavCollapsibleItem, {
|
|
157
|
+
item,
|
|
158
|
+
level
|
|
159
|
+
});
|
|
160
|
+
return /* @__PURE__ */ jsx(NavLeafItem, {
|
|
161
|
+
item,
|
|
162
|
+
level
|
|
163
|
+
});
|
|
164
|
+
});
|
|
165
|
+
NavMenuItem.displayName = "NavMenuItem";
|
|
166
|
+
/** A labelled group of nav items (recurses into `NavMenuItem` for children). */
|
|
167
|
+
function NavGroup({ item, level }) {
|
|
168
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs(SidebarGroup, {
|
|
169
|
+
className: "mb-2 p-0! px-2",
|
|
170
|
+
children: [item.title && /* @__PURE__ */ jsx(SidebarGroupLabel, {
|
|
171
|
+
className: "lowercase group-data-[state=collapsed]:hidden first-letter:uppercase",
|
|
172
|
+
children: item.title
|
|
173
|
+
}), /* @__PURE__ */ jsx(SidebarGroupContent, {
|
|
174
|
+
className: "flex flex-col gap-1",
|
|
175
|
+
children: (item.children || []).map((child) => /* @__PURE__ */ jsx(NavMenuItem, {
|
|
176
|
+
item: child,
|
|
177
|
+
level: level + 1
|
|
178
|
+
}, itemKeyOf(child, level + 1)))
|
|
179
|
+
})]
|
|
180
|
+
}), /* @__PURE__ */ jsx(SidebarSeparator, { className: "my-2 hidden group-data-[state=collapsed]:block" })] });
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Collapsed-sidebar rendering for an item with children: the parent button
|
|
184
|
+
* expands the sidebar, and active descendants are represented as dots.
|
|
185
|
+
*/
|
|
186
|
+
function NavCollapsedItem({ item, level }) {
|
|
187
|
+
const ctx = useNavMenuContext();
|
|
188
|
+
const { pathname, getLinkProps, handleNavigation } = ctx;
|
|
189
|
+
const stateKey = getNavItemKey(item, level);
|
|
190
|
+
const isActive = isNavItemActive(item, pathname);
|
|
191
|
+
const hasActiveChild = (item.children?.filter((child) => hasActiveDescendant(child, pathname)) || []).length > 0;
|
|
192
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
193
|
+
item.showSeparatorAbove && /* @__PURE__ */ jsx(SidebarSeparator, { className: "my-1" }),
|
|
194
|
+
/* @__PURE__ */ jsx(SidebarMenu, { children: /* @__PURE__ */ jsxs("div", {
|
|
195
|
+
className: "flex flex-col px-2",
|
|
196
|
+
children: [/* @__PURE__ */ jsx(NavSidebarMenuButton, {
|
|
197
|
+
item,
|
|
198
|
+
isActive,
|
|
199
|
+
disableTooltip: ctx.disableTooltip,
|
|
200
|
+
className: ctx.itemClassName,
|
|
201
|
+
activeClassName: ctx.activeItemClassName,
|
|
202
|
+
onClick: () => {
|
|
203
|
+
ctx.setOpen(true);
|
|
204
|
+
ctx.setOpenItems((prev) => ({
|
|
205
|
+
...prev,
|
|
206
|
+
[stateKey]: true
|
|
207
|
+
}));
|
|
208
|
+
}
|
|
209
|
+
}), hasActiveChild && /* @__PURE__ */ jsx(motion.div, {
|
|
210
|
+
variants: {
|
|
211
|
+
hidden: { opacity: 0 },
|
|
212
|
+
visible: {
|
|
213
|
+
opacity: 1,
|
|
214
|
+
transition: {
|
|
215
|
+
staggerChildren: .05,
|
|
216
|
+
delayChildren: .1
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
initial: "hidden",
|
|
221
|
+
animate: "visible",
|
|
222
|
+
className: "flex flex-col gap-0.5",
|
|
223
|
+
children: item.children?.map((subItem) => {
|
|
224
|
+
const isSubItemActive = isNavItemActive(subItem, pathname);
|
|
225
|
+
return /* @__PURE__ */ jsx(motion.div, {
|
|
226
|
+
variants: {
|
|
227
|
+
hidden: { opacity: 0 },
|
|
228
|
+
visible: {
|
|
229
|
+
opacity: 1,
|
|
230
|
+
transition: {
|
|
231
|
+
duration: .2,
|
|
232
|
+
ease: "easeOut"
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
children: /* @__PURE__ */ jsx(SidebarMenuButton, {
|
|
237
|
+
tooltip: subItem.title,
|
|
238
|
+
isActive: isSubItemActive,
|
|
239
|
+
className: "h-6 p-0 group-data-[collapsible=icon]:h-6! group-data-[collapsible=icon]:p-0!",
|
|
240
|
+
asChild: true,
|
|
241
|
+
children: /* @__PURE__ */ jsx(ctx.linkComponent, {
|
|
242
|
+
className: "flex items-center justify-center",
|
|
243
|
+
...getLinkProps(subItem.href || ""),
|
|
244
|
+
onClick: () => {
|
|
245
|
+
handleNavigation();
|
|
246
|
+
},
|
|
247
|
+
children: /* @__PURE__ */ jsx("span", { className: cn("size-1 rounded-full", isSubItemActive ? "bg-primary" : "bg-sidebar-primary-foreground") })
|
|
248
|
+
})
|
|
249
|
+
})
|
|
250
|
+
}, `collapsed-dot-${subItem.href}-${level}`);
|
|
251
|
+
})
|
|
252
|
+
})]
|
|
253
|
+
}) }),
|
|
254
|
+
item.showSeparatorBelow && /* @__PURE__ */ jsx(SidebarSeparator, { className: "my-2" })
|
|
255
|
+
] });
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* Expanded-sidebar rendering for an item with children: a collapsible section
|
|
259
|
+
* whose contents recurse into `NavMenuItem`.
|
|
260
|
+
*/
|
|
261
|
+
function NavCollapsibleItem({ item, level }) {
|
|
262
|
+
const ctx = useNavMenuContext();
|
|
263
|
+
const { pathname, state, openItems, isInitialMount, previousOpenItems, previousState, previousPathname } = ctx;
|
|
264
|
+
const stateKey = getNavItemKey(item, level);
|
|
265
|
+
const isActive = isNavItemActive(item, pathname);
|
|
266
|
+
const hasActiveChild = (item.children?.filter((child) => hasActiveDescendant(child, pathname)) || []).length > 0;
|
|
267
|
+
const isOpen = openItems[stateKey] !== void 0 ? openItems[stateKey] : hasActiveChild;
|
|
268
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
269
|
+
item.showSeparatorAbove && /* @__PURE__ */ jsx(SidebarSeparator, { className: "my-2" }),
|
|
270
|
+
/* @__PURE__ */ jsx(SidebarMenu, {
|
|
271
|
+
className: "px-2",
|
|
272
|
+
children: /* @__PURE__ */ jsx(Collapsible, {
|
|
273
|
+
asChild: true,
|
|
274
|
+
open: isOpen,
|
|
275
|
+
onOpenChange: (open) => {
|
|
276
|
+
ctx.setOpenItems((prev) => ({
|
|
277
|
+
...prev,
|
|
278
|
+
[stateKey]: open
|
|
279
|
+
}));
|
|
280
|
+
},
|
|
281
|
+
className: "group/collapsible",
|
|
282
|
+
children: /* @__PURE__ */ jsxs(SidebarMenuItem, {
|
|
283
|
+
className: "[&>*:first-child]:w-full",
|
|
284
|
+
children: [/* @__PURE__ */ jsx(CollapsibleTrigger, {
|
|
285
|
+
asChild: true,
|
|
286
|
+
className: "w-full",
|
|
287
|
+
children: /* @__PURE__ */ jsxs(NavSidebarMenuButton, {
|
|
288
|
+
item,
|
|
289
|
+
isActive,
|
|
290
|
+
disableTooltip: ctx.disableTooltip,
|
|
291
|
+
className: ctx.itemClassName,
|
|
292
|
+
activeClassName: ctx.activeItemClassName,
|
|
293
|
+
children: [/* @__PURE__ */ jsx("span", { children: item.title }), /* @__PURE__ */ jsx(Icon, {
|
|
294
|
+
icon: ChevronRight,
|
|
295
|
+
className: "ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90"
|
|
296
|
+
})]
|
|
297
|
+
})
|
|
298
|
+
}), /* @__PURE__ */ jsx(CollapsibleContent, {
|
|
299
|
+
className: "data-[state=open]:animate-collapsible-down data-[state=closed]:animate-collapsible-up overflow-hidden",
|
|
300
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
301
|
+
style: {
|
|
302
|
+
minHeight: 0,
|
|
303
|
+
overflow: "hidden"
|
|
304
|
+
},
|
|
305
|
+
children: /* @__PURE__ */ jsx(motion.div, {
|
|
306
|
+
variants: {
|
|
307
|
+
hidden: { opacity: 0 },
|
|
308
|
+
visible: {
|
|
309
|
+
opacity: 1,
|
|
310
|
+
transition: {
|
|
311
|
+
staggerChildren: .05,
|
|
312
|
+
delayChildren: .1
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
initial: isInitialMount.current || previousOpenItems.current[stateKey] === openItems[stateKey] && previousState.current === state && previousPathname.current === pathname && !hasActiveChild ? "visible" : "hidden",
|
|
317
|
+
animate: isOpen ? "visible" : "hidden",
|
|
318
|
+
children: /* @__PURE__ */ jsx(SidebarMenuSub, {
|
|
319
|
+
className: cn(level >= 1 ? "mr-0 pr-[.1rem]" : "", level === 2 ? "pl-4" : "", level === 3 ? "pl-6" : "", "mr-0 gap-0.5 pr-0"),
|
|
320
|
+
children: item.children?.map((subItem, index) => /* @__PURE__ */ jsx(motion.div, {
|
|
321
|
+
variants: {
|
|
322
|
+
hidden: { opacity: 0 },
|
|
323
|
+
visible: {
|
|
324
|
+
opacity: 1,
|
|
325
|
+
transition: {
|
|
326
|
+
duration: .2,
|
|
327
|
+
ease: "easeOut"
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
children: /* @__PURE__ */ jsx(NavMenuItem, {
|
|
332
|
+
item: subItem,
|
|
333
|
+
level: level + 1
|
|
334
|
+
})
|
|
335
|
+
}, `${subItem.href}-${level}-${index}`))
|
|
336
|
+
})
|
|
337
|
+
}, `collapsible-${stateKey}-${isOpen}`)
|
|
338
|
+
})
|
|
339
|
+
})]
|
|
340
|
+
})
|
|
341
|
+
}, `collapsed-item-drop-down-item-${item.title}-${level}`)
|
|
342
|
+
}),
|
|
343
|
+
item.showSeparatorBelow && /* @__PURE__ */ jsx(SidebarSeparator, { className: "my-2" })
|
|
344
|
+
] });
|
|
345
|
+
}
|
|
346
|
+
/** A leaf nav item: an internal router link or an external link. */
|
|
347
|
+
function NavLeafItem({ item, level }) {
|
|
348
|
+
const ctx = useNavMenuContext();
|
|
349
|
+
const { pathname, getLinkProps, handleNavigation } = ctx;
|
|
350
|
+
const isActive = isNavItemActive(item, pathname);
|
|
351
|
+
const hasActiveChild = (item.children?.filter((child) => hasActiveDescendant(child, pathname)) || []).length > 0;
|
|
352
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
353
|
+
item.showSeparatorAbove && /* @__PURE__ */ jsx(SidebarSeparator, { className: "my-2" }),
|
|
354
|
+
/* @__PURE__ */ jsx(SidebarMenu, {
|
|
355
|
+
className: cn(`level_${level} px-2`),
|
|
356
|
+
children: /* @__PURE__ */ jsx(SidebarMenuItem, {
|
|
357
|
+
className: "[&>*:first-child]:w-full",
|
|
358
|
+
children: /* @__PURE__ */ jsx(NavSidebarMenuButton, {
|
|
359
|
+
asChild: true,
|
|
360
|
+
item,
|
|
361
|
+
isActive: isActive && !hasActiveChild,
|
|
362
|
+
disableTooltip: ctx.disableTooltip,
|
|
363
|
+
className: cn(level >= 1 && "h-6", ctx.itemClassName),
|
|
364
|
+
activeClassName: ctx.activeItemClassName,
|
|
365
|
+
children: item.type === "externalLink" ? /* @__PURE__ */ jsxs("a", {
|
|
366
|
+
href: item.href || "",
|
|
367
|
+
target: "_blank",
|
|
368
|
+
rel: "noopener noreferrer",
|
|
369
|
+
className: "flex items-center justify-between",
|
|
370
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
371
|
+
className: "flex items-center gap-2",
|
|
372
|
+
children: [item?.icon && /* @__PURE__ */ jsx(Icon, {
|
|
373
|
+
icon: item.icon,
|
|
374
|
+
className: "size-4 transition-all duration-300"
|
|
375
|
+
}), /* @__PURE__ */ jsx("span", { children: item.title })]
|
|
376
|
+
}), /* @__PURE__ */ jsx(Icon, {
|
|
377
|
+
icon: ExternalLinkIcon,
|
|
378
|
+
className: "ml-auto size-4"
|
|
379
|
+
})]
|
|
380
|
+
}) : /* @__PURE__ */ jsxs(ctx.linkComponent, {
|
|
381
|
+
...getLinkProps(item.href || ""),
|
|
382
|
+
onClick: handleNavigation,
|
|
383
|
+
onMouseEnter: () => item.onPrefetch?.(),
|
|
384
|
+
children: [item?.icon && /* @__PURE__ */ jsx(Icon, {
|
|
385
|
+
icon: item.icon,
|
|
386
|
+
className: "text-sidebar-primary transition-all duration-300"
|
|
387
|
+
}), /* @__PURE__ */ jsx("span", { children: item.title })]
|
|
388
|
+
})
|
|
389
|
+
})
|
|
390
|
+
})
|
|
391
|
+
}),
|
|
392
|
+
item.showSeparatorBelow && /* @__PURE__ */ jsx(SidebarSeparator, { className: "my-2" })
|
|
393
|
+
] });
|
|
394
|
+
}
|
|
395
|
+
//#endregion
|
|
396
|
+
//#region src/components/features/app-navigation/nav-menu/nav-menu.tsx
|
|
397
|
+
function NavMenu({ ref, className, items, currentPath, linkComponent: LinkComp = "a", overrideState, itemClassName, activeItemClassName, disableTooltip, closeOnNavigation, ...props }) {
|
|
398
|
+
const pathname = currentPath;
|
|
399
|
+
const { state: sidebarState, isMobile, closeForNavigation, setOpen } = useSidebar();
|
|
400
|
+
const [openItems, setOpenItems] = useState({});
|
|
401
|
+
const isInitialMount = useRef(true);
|
|
402
|
+
const previousOpenItems = useRef({});
|
|
403
|
+
const previousPathname = useRef(pathname);
|
|
404
|
+
const state = overrideState ?? sidebarState;
|
|
405
|
+
const previousState = useRef(state);
|
|
406
|
+
useEffect(() => {
|
|
407
|
+
previousOpenItems.current = openItems;
|
|
408
|
+
if (isInitialMount.current) isInitialMount.current = false;
|
|
409
|
+
}, [openItems]);
|
|
410
|
+
useEffect(() => {
|
|
411
|
+
previousPathname.current = pathname;
|
|
412
|
+
}, [pathname]);
|
|
413
|
+
useEffect(() => {
|
|
414
|
+
if (previousState.current === "expanded" && state === "collapsed") setOpenItems((prev) => {
|
|
415
|
+
const newOpenItems = {};
|
|
416
|
+
const keepActive = (navItems, level) => {
|
|
417
|
+
navItems.forEach((navItem) => {
|
|
418
|
+
const key = getNavItemKey(navItem, level);
|
|
419
|
+
if (prev[key] && hasActiveDescendant(navItem, pathname)) newOpenItems[key] = true;
|
|
420
|
+
if (navItem.children) keepActive(navItem.children, level + 1);
|
|
421
|
+
});
|
|
422
|
+
};
|
|
423
|
+
keepActive(items, 0);
|
|
424
|
+
return newOpenItems;
|
|
425
|
+
});
|
|
426
|
+
previousState.current = state;
|
|
427
|
+
}, [
|
|
428
|
+
state,
|
|
429
|
+
items,
|
|
430
|
+
pathname
|
|
431
|
+
]);
|
|
432
|
+
const getLinkProps = useCallback((href) => LinkComp === "a" ? { href } : {
|
|
433
|
+
to: href,
|
|
434
|
+
href
|
|
435
|
+
}, [LinkComp]);
|
|
436
|
+
const handleNavigation = useCallback(() => {
|
|
437
|
+
if (closeOnNavigation && !isMobile) closeForNavigation();
|
|
438
|
+
}, [
|
|
439
|
+
closeOnNavigation,
|
|
440
|
+
isMobile,
|
|
441
|
+
closeForNavigation
|
|
442
|
+
]);
|
|
443
|
+
return /* @__PURE__ */ jsx(NavMenuProvider, {
|
|
444
|
+
value: useMemo(() => ({
|
|
445
|
+
pathname,
|
|
446
|
+
state,
|
|
447
|
+
isMobile,
|
|
448
|
+
openItems,
|
|
449
|
+
setOpenItems,
|
|
450
|
+
setOpen,
|
|
451
|
+
disableTooltip,
|
|
452
|
+
itemClassName,
|
|
453
|
+
activeItemClassName,
|
|
454
|
+
linkComponent: LinkComp,
|
|
455
|
+
getLinkProps,
|
|
456
|
+
handleNavigation,
|
|
457
|
+
isInitialMount,
|
|
458
|
+
previousOpenItems,
|
|
459
|
+
previousState,
|
|
460
|
+
previousPathname
|
|
461
|
+
}), [
|
|
462
|
+
pathname,
|
|
463
|
+
state,
|
|
464
|
+
isMobile,
|
|
465
|
+
openItems,
|
|
466
|
+
setOpen,
|
|
467
|
+
disableTooltip,
|
|
468
|
+
itemClassName,
|
|
469
|
+
activeItemClassName,
|
|
470
|
+
LinkComp,
|
|
471
|
+
getLinkProps,
|
|
472
|
+
handleNavigation
|
|
473
|
+
]),
|
|
474
|
+
children: /* @__PURE__ */ jsx("ul", {
|
|
475
|
+
ref,
|
|
476
|
+
"data-sidebar": "menu",
|
|
477
|
+
className: cn("flex h-full w-full min-w-0 flex-col gap-0.5 py-2", className),
|
|
478
|
+
...props,
|
|
479
|
+
children: (items || []).map((item) => /* @__PURE__ */ jsx(NavMenuItem, {
|
|
480
|
+
item,
|
|
481
|
+
level: 0
|
|
482
|
+
}, itemKeyOf(item, 0)))
|
|
483
|
+
})
|
|
484
|
+
});
|
|
485
|
+
}
|
|
486
|
+
NavMenu.displayName = "NavMenu";
|
|
487
|
+
//#endregion
|
|
488
|
+
//#region src/components/features/app-navigation/app-navigation.tsx
|
|
489
|
+
/** Skeleton that mirrors the project nav layout: Home, separator, 6 items, separator, Project Settings */
|
|
490
|
+
function NavSkeleton() {
|
|
491
|
+
return /* @__PURE__ */ jsxs("ul", {
|
|
492
|
+
className: "flex h-full w-full min-w-0 flex-col gap-0.5 py-2",
|
|
493
|
+
"data-sidebar": "menu",
|
|
494
|
+
children: [
|
|
495
|
+
/* @__PURE__ */ jsx(SidebarMenu, {
|
|
496
|
+
className: "px-2",
|
|
497
|
+
children: /* @__PURE__ */ jsx(SidebarMenuItem, {
|
|
498
|
+
className: "[&>*:first-child]:w-full",
|
|
499
|
+
children: /* @__PURE__ */ jsx(SidebarMenuSkeleton, {
|
|
500
|
+
showIcon: true,
|
|
501
|
+
className: "bg-sidebar-accent/60 h-8 rounded-xl **:data-[sidebar=menu-skeleton-text]:max-w-12"
|
|
502
|
+
})
|
|
503
|
+
})
|
|
504
|
+
}),
|
|
505
|
+
/* @__PURE__ */ jsx(SidebarSeparator, { className: "my-2" }),
|
|
506
|
+
[
|
|
507
|
+
1,
|
|
508
|
+
2,
|
|
509
|
+
3,
|
|
510
|
+
4,
|
|
511
|
+
5,
|
|
512
|
+
6
|
|
513
|
+
].map((i) => /* @__PURE__ */ jsx(SidebarMenu, {
|
|
514
|
+
className: "px-2",
|
|
515
|
+
children: /* @__PURE__ */ jsx(SidebarMenuItem, {
|
|
516
|
+
className: "[&>*:first-child]:w-full",
|
|
517
|
+
children: /* @__PURE__ */ jsx(SidebarMenuSkeleton, {
|
|
518
|
+
showIcon: true,
|
|
519
|
+
className: "h-8 rounded-xl"
|
|
520
|
+
})
|
|
521
|
+
})
|
|
522
|
+
}, i)),
|
|
523
|
+
/* @__PURE__ */ jsx(SidebarSeparator, { className: "my-2" }),
|
|
524
|
+
/* @__PURE__ */ jsx(SidebarMenu, {
|
|
525
|
+
className: "px-2",
|
|
526
|
+
children: /* @__PURE__ */ jsx(SidebarMenuItem, {
|
|
527
|
+
className: "[&>*:first-child]:w-full",
|
|
528
|
+
children: /* @__PURE__ */ jsx(SidebarMenuSkeleton, {
|
|
529
|
+
showIcon: true,
|
|
530
|
+
className: "h-8 rounded-xl [&_[data-sidebar=menu-skeleton-text]]:max-w-28"
|
|
531
|
+
})
|
|
532
|
+
})
|
|
533
|
+
})
|
|
534
|
+
]
|
|
535
|
+
});
|
|
536
|
+
}
|
|
537
|
+
function AppNavigation({ navItems, title, closeOnNavigation, defaultOpen, currentPath, linkComponent, loading = false, itemClassName, activeItemClassName, ...props }) {
|
|
538
|
+
const { setOpen } = useSidebar();
|
|
539
|
+
useEffect(() => {
|
|
540
|
+
if (defaultOpen === false) setOpen(false);
|
|
541
|
+
}, [defaultOpen, setOpen]);
|
|
542
|
+
return /* @__PURE__ */ jsx(Sidebar, {
|
|
543
|
+
collapsible: props.collapsible ?? "offcanvas",
|
|
544
|
+
...props,
|
|
545
|
+
children: /* @__PURE__ */ jsxs(SidebarContent, {
|
|
546
|
+
className: "gap-0",
|
|
547
|
+
children: [
|
|
548
|
+
title && /* @__PURE__ */ jsx(SidebarHeader, {
|
|
549
|
+
className: "px-4 pt-4 pb-0",
|
|
550
|
+
children: title
|
|
551
|
+
}),
|
|
552
|
+
loading ? /* @__PURE__ */ jsx(SidebarGroup, {
|
|
553
|
+
className: "mb-2 p-0! px-0",
|
|
554
|
+
children: /* @__PURE__ */ jsx(SidebarGroupContent, {
|
|
555
|
+
className: "flex flex-col gap-0 py-0",
|
|
556
|
+
children: /* @__PURE__ */ jsx(NavSkeleton, {})
|
|
557
|
+
})
|
|
558
|
+
}) : navItems.length > 0 && /* @__PURE__ */ jsx(NavMenu, {
|
|
559
|
+
className: "h-fit py-2",
|
|
560
|
+
items: navItems,
|
|
561
|
+
currentPath,
|
|
562
|
+
linkComponent,
|
|
563
|
+
closeOnNavigation,
|
|
564
|
+
itemClassName,
|
|
565
|
+
activeItemClassName
|
|
566
|
+
}),
|
|
567
|
+
props.collapsible !== "none" && /* @__PURE__ */ jsx(SidebarFooter, {
|
|
568
|
+
className: "mt-auto p-2",
|
|
569
|
+
children: /* @__PURE__ */ jsx(SidebarTrigger, {})
|
|
570
|
+
})
|
|
571
|
+
]
|
|
572
|
+
})
|
|
573
|
+
});
|
|
574
|
+
}
|
|
575
|
+
//#endregion
|
|
576
|
+
export { hasActiveDescendant as a, findItemByHref as i, NavMenu as n, isNavItemActive as o, NavMenuItem as r, normalizePath as s, AppNavigation as t };
|