@datum-cloud/datum-ui 1.3.2 → 1.4.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/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/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/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-CGp0ceSG.mjs} +438 -385
- 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 +48 -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
|
@@ -1,297 +0,0 @@
|
|
|
1
|
-
import { t as cn } from "./cn-dlASUkDY.mjs";
|
|
2
|
-
import { t as Badge } from "./badge-DO2_XsXD.mjs";
|
|
3
|
-
import { t as Icon } from "./icon-wrapper-DKfJlJd0.mjs";
|
|
4
|
-
import { t as Input } from "./input-DBzgl-pN.mjs";
|
|
5
|
-
import { X } from "lucide-react";
|
|
6
|
-
import * as React from "react";
|
|
7
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import { z } from "zod";
|
|
9
|
-
//#region src/components/features/tag-input/tag-input.tsx
|
|
10
|
-
/**
|
|
11
|
-
* Used for identifying split characters when pasting
|
|
12
|
-
* Splits on: newlines, tabs, semicolons, commas, and pipes
|
|
13
|
-
* Does NOT split on dots (.) or slashes (/) to preserve email addresses and URLs
|
|
14
|
-
*/
|
|
15
|
-
const SPLITTER_REGEX = /[\n\t;,|]+/;
|
|
16
|
-
/**
|
|
17
|
-
* Used for trimming leading/trailing whitespace and special characters
|
|
18
|
-
* Preserves alphanumeric characters, dots, @, hyphens, and underscores
|
|
19
|
-
*/
|
|
20
|
-
const FORMATTING_REGEX = /^[\s"'<>]+|[\s"'<>]+$/g;
|
|
21
|
-
/** Default keys that confirm the current input as a tag */
|
|
22
|
-
const DEFAULT_DELIMITERS = ["Enter", ","];
|
|
23
|
-
const TagInputContext = React.createContext(null);
|
|
24
|
-
function TagsInput({ ref, value, onValueChange, placeholder, maxItems, minItems, className, dir, delimiters = DEFAULT_DELIMITERS, normalizer, validator, onValidationError, error, showValidationErrors = true, name, key, ...props }) {
|
|
25
|
-
const [activeIndex, setActiveIndex] = React.useState(-1);
|
|
26
|
-
const [inputValue, setInputValue] = React.useState("");
|
|
27
|
-
const [disableInput, setDisableInput] = React.useState(false);
|
|
28
|
-
const [disableButton, setDisableButton] = React.useState(false);
|
|
29
|
-
const [isValueSelected, setIsValueSelected] = React.useState(false);
|
|
30
|
-
const [selectedValue, setSelectedValue] = React.useState("");
|
|
31
|
-
const [validationError, setValidationError] = React.useState(null);
|
|
32
|
-
const parseMinItems = minItems ?? 0;
|
|
33
|
-
const parseMaxItems = maxItems ?? Infinity;
|
|
34
|
-
const onValueChangeHandler = React.useCallback((val) => {
|
|
35
|
-
const setError = (errorMessage) => {
|
|
36
|
-
setValidationError(errorMessage);
|
|
37
|
-
if (onValidationError) onValidationError(errorMessage);
|
|
38
|
-
};
|
|
39
|
-
setError(null);
|
|
40
|
-
const trimmed = val.trim();
|
|
41
|
-
const normalized = normalizer ? normalizer(trimmed) : trimmed;
|
|
42
|
-
if (!normalized) return;
|
|
43
|
-
if (value.includes(normalized)) {
|
|
44
|
-
setError("This tag already exists");
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
if (value.length >= parseMaxItems) {
|
|
48
|
-
setError(`Maximum of ${parseMaxItems} tags allowed`);
|
|
49
|
-
return;
|
|
50
|
-
}
|
|
51
|
-
if (validator) try {
|
|
52
|
-
validator.parse(normalized);
|
|
53
|
-
onValueChange([...value, normalized]);
|
|
54
|
-
} catch (error) {
|
|
55
|
-
if (error instanceof z.ZodError) setError(error.issues[0]?.message || "Invalid input");
|
|
56
|
-
else setError("Validation failed");
|
|
57
|
-
}
|
|
58
|
-
else onValueChange([...value, normalized]);
|
|
59
|
-
}, [
|
|
60
|
-
value,
|
|
61
|
-
validator,
|
|
62
|
-
parseMaxItems,
|
|
63
|
-
normalizer
|
|
64
|
-
]);
|
|
65
|
-
const RemoveValue = React.useCallback((val) => {
|
|
66
|
-
if (value.includes(val) && value.length > parseMinItems) onValueChange(value.filter((item) => item !== val));
|
|
67
|
-
}, [value]);
|
|
68
|
-
const handlePaste = React.useCallback((e) => {
|
|
69
|
-
e.preventDefault();
|
|
70
|
-
const pastedText = e.clipboardData.getData("text");
|
|
71
|
-
if (!pastedText) return;
|
|
72
|
-
const values = pastedText.split(SPLITTER_REGEX).map((val) => val.trim()).filter(Boolean).map((val) => val.replace(FORMATTING_REGEX, ""));
|
|
73
|
-
if (values.length === 0) return;
|
|
74
|
-
if (values.length === 1) {
|
|
75
|
-
onValueChangeHandler(values[0]);
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
78
|
-
const validValues = [];
|
|
79
|
-
let hasError = false;
|
|
80
|
-
for (const val of values) {
|
|
81
|
-
if (value.includes(val) || validValues.includes(val)) continue;
|
|
82
|
-
if (value.length + validValues.length >= parseMaxItems) break;
|
|
83
|
-
if (validator) try {
|
|
84
|
-
validator.parse(val);
|
|
85
|
-
validValues.push(val);
|
|
86
|
-
} catch {
|
|
87
|
-
hasError = true;
|
|
88
|
-
continue;
|
|
89
|
-
}
|
|
90
|
-
else validValues.push(val);
|
|
91
|
-
}
|
|
92
|
-
if (validValues.length > 0) onValueChange([...value, ...validValues]);
|
|
93
|
-
if (hasError && validator) {
|
|
94
|
-
setValidationError("Some pasted values were invalid and skipped");
|
|
95
|
-
if (onValidationError) onValidationError("Some pasted values were invalid and skipped");
|
|
96
|
-
setTimeout(() => {
|
|
97
|
-
setValidationError(null);
|
|
98
|
-
if (onValidationError) onValidationError(null);
|
|
99
|
-
}, 3e3);
|
|
100
|
-
}
|
|
101
|
-
}, [
|
|
102
|
-
value,
|
|
103
|
-
onValueChangeHandler,
|
|
104
|
-
validator,
|
|
105
|
-
parseMaxItems,
|
|
106
|
-
onValidationError
|
|
107
|
-
]);
|
|
108
|
-
const handleSelect = React.useCallback((e) => {
|
|
109
|
-
const target = e.target;
|
|
110
|
-
const selection = inputValue.substring(target.selectionStart ?? 0, target.selectionEnd ?? 0);
|
|
111
|
-
setSelectedValue(selection);
|
|
112
|
-
setIsValueSelected(selection === inputValue);
|
|
113
|
-
}, [inputValue]);
|
|
114
|
-
React.useEffect(() => {
|
|
115
|
-
const VerifyDisable = () => {
|
|
116
|
-
if (value.length - 1 >= parseMinItems) setDisableButton(false);
|
|
117
|
-
else setDisableButton(true);
|
|
118
|
-
if (value.length + 1 <= parseMaxItems) setDisableInput(false);
|
|
119
|
-
else setDisableInput(true);
|
|
120
|
-
};
|
|
121
|
-
VerifyDisable();
|
|
122
|
-
}, [
|
|
123
|
-
value,
|
|
124
|
-
parseMinItems,
|
|
125
|
-
parseMaxItems
|
|
126
|
-
]);
|
|
127
|
-
const handleKeyDown = React.useCallback(async (e) => {
|
|
128
|
-
e.stopPropagation();
|
|
129
|
-
const moveNext = () => {
|
|
130
|
-
setActiveIndex(activeIndex + 1 > value.length - 1 ? -1 : activeIndex + 1);
|
|
131
|
-
};
|
|
132
|
-
const movePrev = () => {
|
|
133
|
-
setActiveIndex(activeIndex - 1 < 0 ? value.length - 1 : activeIndex - 1);
|
|
134
|
-
};
|
|
135
|
-
const moveCurrent = () => {
|
|
136
|
-
setActiveIndex(activeIndex - 1 <= 0 ? value.length - 1 === 0 ? -1 : 0 : activeIndex - 1);
|
|
137
|
-
};
|
|
138
|
-
const target = e.currentTarget;
|
|
139
|
-
switch (e.key) {
|
|
140
|
-
case "ArrowLeft":
|
|
141
|
-
if (dir === "rtl") {
|
|
142
|
-
if (value.length > 0 && activeIndex !== -1) moveNext();
|
|
143
|
-
} else if (value.length > 0 && target.selectionStart === 0) movePrev();
|
|
144
|
-
break;
|
|
145
|
-
case "ArrowRight":
|
|
146
|
-
if (dir === "rtl") {
|
|
147
|
-
if (value.length > 0 && target.selectionStart === 0) movePrev();
|
|
148
|
-
} else if (value.length > 0 && activeIndex !== -1) moveNext();
|
|
149
|
-
break;
|
|
150
|
-
case "Backspace":
|
|
151
|
-
case "Delete":
|
|
152
|
-
if (value.length > 0) {
|
|
153
|
-
if (activeIndex !== -1 && activeIndex < value.length) {
|
|
154
|
-
RemoveValue(value[activeIndex]);
|
|
155
|
-
moveCurrent();
|
|
156
|
-
} else if (target.selectionStart === 0) {
|
|
157
|
-
if (selectedValue === inputValue || isValueSelected) RemoveValue(value[value.length - 1]);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
break;
|
|
161
|
-
case "Escape":
|
|
162
|
-
setActiveIndex(activeIndex === -1 ? value.length - 1 : -1);
|
|
163
|
-
break;
|
|
164
|
-
case "Tab":
|
|
165
|
-
if (inputValue.trim() !== "") {
|
|
166
|
-
e.preventDefault();
|
|
167
|
-
onValueChangeHandler(inputValue);
|
|
168
|
-
setInputValue("");
|
|
169
|
-
}
|
|
170
|
-
break;
|
|
171
|
-
default:
|
|
172
|
-
if (delimiters.includes(e.key) && inputValue.trim() !== "") {
|
|
173
|
-
e.preventDefault();
|
|
174
|
-
onValueChangeHandler(inputValue);
|
|
175
|
-
setInputValue("");
|
|
176
|
-
}
|
|
177
|
-
break;
|
|
178
|
-
}
|
|
179
|
-
}, [
|
|
180
|
-
activeIndex,
|
|
181
|
-
value,
|
|
182
|
-
inputValue,
|
|
183
|
-
RemoveValue,
|
|
184
|
-
dir,
|
|
185
|
-
selectedValue,
|
|
186
|
-
isValueSelected,
|
|
187
|
-
onValueChangeHandler,
|
|
188
|
-
delimiters
|
|
189
|
-
]);
|
|
190
|
-
const mousePreventDefault = React.useCallback((e) => {
|
|
191
|
-
e.preventDefault();
|
|
192
|
-
e.stopPropagation();
|
|
193
|
-
}, []);
|
|
194
|
-
const handleChange = React.useCallback((e) => {
|
|
195
|
-
setInputValue(e.currentTarget.value);
|
|
196
|
-
}, []);
|
|
197
|
-
const handleBlur = React.useCallback((e) => {
|
|
198
|
-
if (inputValue.trim() === "") return;
|
|
199
|
-
onValueChangeHandler(inputValue);
|
|
200
|
-
setInputValue("");
|
|
201
|
-
const relatedTarget = e.relatedTarget;
|
|
202
|
-
const submitButton = relatedTarget?.getAttribute("type") === "submit" ? relatedTarget : relatedTarget?.closest("button[type=\"submit\"]");
|
|
203
|
-
if (submitButton) requestAnimationFrame(() => {
|
|
204
|
-
submitButton.click();
|
|
205
|
-
});
|
|
206
|
-
}, [inputValue, onValueChangeHandler]);
|
|
207
|
-
return /* @__PURE__ */ jsxs(TagInputContext, {
|
|
208
|
-
value: React.useMemo(() => ({
|
|
209
|
-
value,
|
|
210
|
-
onValueChange,
|
|
211
|
-
inputValue,
|
|
212
|
-
setInputValue,
|
|
213
|
-
activeIndex,
|
|
214
|
-
setActiveIndex,
|
|
215
|
-
validator,
|
|
216
|
-
validationError,
|
|
217
|
-
setValidationError
|
|
218
|
-
}), [
|
|
219
|
-
value,
|
|
220
|
-
onValueChange,
|
|
221
|
-
inputValue,
|
|
222
|
-
activeIndex,
|
|
223
|
-
validator,
|
|
224
|
-
validationError
|
|
225
|
-
]),
|
|
226
|
-
children: [/* @__PURE__ */ jsxs("div", {
|
|
227
|
-
...props,
|
|
228
|
-
ref,
|
|
229
|
-
dir,
|
|
230
|
-
className: cn("border-input-border bg-input-background/50 text-input-foreground flex min-h-10 flex-wrap items-center gap-1 overflow-hidden rounded-lg border px-3 py-2 transition-all", activeIndex === -1 ? "focus-within:border-input-focus-border focus-within:shadow-(--input-focus-shadow) focus-within:ring-0 focus-within:ring-offset-0 focus-within:outline-hidden" : "focus-within:ring-0 focus-within:ring-offset-0 focus-within:outline-hidden", className),
|
|
231
|
-
suppressHydrationWarning: true,
|
|
232
|
-
children: [
|
|
233
|
-
(showValidationErrors && validationError || error) && /* @__PURE__ */ jsx("div", {
|
|
234
|
-
className: "mb-1 w-full text-sm text-red-500",
|
|
235
|
-
children: error ? Array.isArray(error) ? error[0] : error : validationError
|
|
236
|
-
}),
|
|
237
|
-
value.map((item, index) => /* @__PURE__ */ jsxs(Badge, {
|
|
238
|
-
tabIndex: activeIndex !== -1 ? 0 : activeIndex,
|
|
239
|
-
"aria-disabled": disableButton,
|
|
240
|
-
"data-active": activeIndex === index,
|
|
241
|
-
className: cn("data-[active='true']:ring-muted-foreground relative flex items-center gap-1 truncate rounded px-1 aria-disabled:cursor-not-allowed aria-disabled:opacity-50 data-[active='true']:ring-2"),
|
|
242
|
-
type: "secondary",
|
|
243
|
-
children: [/* @__PURE__ */ jsx("span", {
|
|
244
|
-
className: "text-xs",
|
|
245
|
-
children: item
|
|
246
|
-
}), /* @__PURE__ */ jsxs("button", {
|
|
247
|
-
type: "button",
|
|
248
|
-
"aria-label": `Remove ${item} option`,
|
|
249
|
-
"aria-roledescription": "button to remove option",
|
|
250
|
-
disabled: disableButton,
|
|
251
|
-
onMouseDown: mousePreventDefault,
|
|
252
|
-
onClick: () => RemoveValue(item),
|
|
253
|
-
className: "disabled:cursor-not-allowed",
|
|
254
|
-
children: [/* @__PURE__ */ jsxs("span", {
|
|
255
|
-
className: "sr-only",
|
|
256
|
-
children: [
|
|
257
|
-
"Remove",
|
|
258
|
-
item,
|
|
259
|
-
" ",
|
|
260
|
-
"option"
|
|
261
|
-
]
|
|
262
|
-
}), /* @__PURE__ */ jsx(Icon, {
|
|
263
|
-
icon: X,
|
|
264
|
-
className: "hover:stroke-destructive h-4 w-4"
|
|
265
|
-
})]
|
|
266
|
-
})]
|
|
267
|
-
}, item)),
|
|
268
|
-
/* @__PURE__ */ jsx(Input, {
|
|
269
|
-
tabIndex: 0,
|
|
270
|
-
"aria-label": "input tag",
|
|
271
|
-
disabled: disableInput,
|
|
272
|
-
onKeyDown: handleKeyDown,
|
|
273
|
-
onPaste: handlePaste,
|
|
274
|
-
onBlur: handleBlur,
|
|
275
|
-
value: inputValue,
|
|
276
|
-
onSelect: handleSelect,
|
|
277
|
-
onChange: activeIndex === -1 ? handleChange : void 0,
|
|
278
|
-
placeholder,
|
|
279
|
-
onClick: () => setActiveIndex(-1),
|
|
280
|
-
className: cn("text-input-foreground h-6 min-w-fit flex-1 border-0 bg-transparent p-0 py-1 shadow-none", "placeholder:text-input-placeholder", "focus-visible:border-transparent focus-visible:shadow-none focus-visible:ring-0 focus-visible:ring-offset-0", activeIndex !== -1 && "caret-transparent")
|
|
281
|
-
})
|
|
282
|
-
]
|
|
283
|
-
}), /* @__PURE__ */ jsxs("select", {
|
|
284
|
-
name,
|
|
285
|
-
id: props.id,
|
|
286
|
-
multiple: true,
|
|
287
|
-
value,
|
|
288
|
-
defaultValue: void 0,
|
|
289
|
-
className: "absolute top-0 left-0 h-0 w-0",
|
|
290
|
-
onChange: () => void 0,
|
|
291
|
-
children: [/* @__PURE__ */ jsx("option", { value: "" }), value.map((option, idx) => /* @__PURE__ */ jsx("option", { value: option }, `${option}-${idx}`))]
|
|
292
|
-
}, key)]
|
|
293
|
-
});
|
|
294
|
-
}
|
|
295
|
-
TagsInput.displayName = "TagsInput";
|
|
296
|
-
//#endregion
|
|
297
|
-
export { TagsInput as t };
|
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
import { t as cn } from "./cn-dlASUkDY.mjs";
|
|
2
|
-
import { t as Button } from "./button-CsdF61EI.mjs";
|
|
3
|
-
import { t as ResponsivePopover } from "./responsive-popover-CVFh3i33.mjs";
|
|
4
|
-
import { n as OptionList, t as useOptionPicker } from "./use-option-picker-Cqzcr5f2.mjs";
|
|
5
|
-
import { A as zonedDateToIso, _ as formatTimeLabel, h as dateToHHmm, k as isoToZonedDate, w as usePickerContext, y as parseTimeString } from "./default-footer-DzYzX_OT.mjs";
|
|
6
|
-
import { Clock } from "lucide-react";
|
|
7
|
-
import { useMemo, useState } from "react";
|
|
8
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
//#region src/components/features/picker/hooks/use-time-slots.ts
|
|
10
|
-
function timeToMinutes(t) {
|
|
11
|
-
const parsed = parseTimeString(t);
|
|
12
|
-
return parsed ? parsed.h * 60 + parsed.m : null;
|
|
13
|
-
}
|
|
14
|
-
function minutesToTime(total) {
|
|
15
|
-
const h = Math.floor(total / 60);
|
|
16
|
-
const m = total % 60;
|
|
17
|
-
return `${String(h).padStart(2, "0")}:${String(m).padStart(2, "0")}`;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Generate an `OptionPickerOption[]` of HH:mm slots for the slot-dropdown UI.
|
|
21
|
-
*
|
|
22
|
-
* Slots are produced in pure minute arithmetic — DST is not considered (slots
|
|
23
|
-
* are wall-clock times of day, independent of any specific calendar date).
|
|
24
|
-
*/
|
|
25
|
-
function useTimeSlots({ min, max, step = 15, hourCycle = "24" }) {
|
|
26
|
-
return useMemo(() => {
|
|
27
|
-
const minMinutes = min ? timeToMinutes(min) ?? 0 : 0;
|
|
28
|
-
const maxMinutes = max ? timeToMinutes(max) ?? 1439 : 1439;
|
|
29
|
-
const slots = [];
|
|
30
|
-
for (let m = minMinutes; m <= maxMinutes; m += step) {
|
|
31
|
-
if (m >= 1440) break;
|
|
32
|
-
const value = minutesToTime(m);
|
|
33
|
-
slots.push({
|
|
34
|
-
value,
|
|
35
|
-
label: formatTimeLabel(value, hourCycle)
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
return slots;
|
|
39
|
-
}, [
|
|
40
|
-
min,
|
|
41
|
-
max,
|
|
42
|
-
step,
|
|
43
|
-
hourCycle
|
|
44
|
-
]);
|
|
45
|
-
}
|
|
46
|
-
//#endregion
|
|
47
|
-
//#region src/components/features/picker/components/time-input.tsx
|
|
48
|
-
function combineDateAndTime(dateIso, time, timezone) {
|
|
49
|
-
const d = isoToZonedDate(dateIso, timezone);
|
|
50
|
-
const parsed = parseTimeString(time);
|
|
51
|
-
if (!parsed) return dateIso;
|
|
52
|
-
d.setHours(parsed.h, parsed.m, 0, 0);
|
|
53
|
-
return zonedDateToIso(d, timezone);
|
|
54
|
-
}
|
|
55
|
-
function PickerTimeInput({ target, min, max, className }) {
|
|
56
|
-
const { mode, timezone, hourCycle, step, state, actions } = usePickerContext();
|
|
57
|
-
let effectiveMin = min;
|
|
58
|
-
if (target === "range-to" && mode === "time-range") {
|
|
59
|
-
const fromValue = state.pendingValue?.from;
|
|
60
|
-
if (fromValue) effectiveMin = min && min > fromValue ? min : fromValue;
|
|
61
|
-
}
|
|
62
|
-
const slots = useTimeSlots({
|
|
63
|
-
min: effectiveMin,
|
|
64
|
-
max,
|
|
65
|
-
step,
|
|
66
|
-
hourCycle
|
|
67
|
-
});
|
|
68
|
-
let currentValue;
|
|
69
|
-
let embeddedDisabled = false;
|
|
70
|
-
if (target === "single" && mode === "time") currentValue = state.pendingValue ?? void 0;
|
|
71
|
-
else if ((target === "range-from" || target === "range-to") && mode === "time-range") {
|
|
72
|
-
const v = state.pendingValue;
|
|
73
|
-
currentValue = target === "range-from" ? v?.from : v?.to;
|
|
74
|
-
} else if (target === "embedded-from" || target === "embedded-to") {
|
|
75
|
-
if (mode === "datetime-range" || mode === "date-range-time") {
|
|
76
|
-
const v = state.pendingValue;
|
|
77
|
-
const iso = target === "embedded-from" ? v?.from : v?.to;
|
|
78
|
-
currentValue = iso ? dateToHHmm(isoToZonedDate(iso, timezone)) : void 0;
|
|
79
|
-
embeddedDisabled = v === null;
|
|
80
|
-
} else if (mode === "datetime") {
|
|
81
|
-
const iso = state.pendingValue;
|
|
82
|
-
currentValue = iso ? dateToHHmm(isoToZonedDate(iso, timezone)) : void 0;
|
|
83
|
-
embeddedDisabled = iso === null;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
const handleSelect = (newTime) => {
|
|
87
|
-
if (target === "single" && mode === "time") {
|
|
88
|
-
actions.setSingleTime(newTime);
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
if (mode === "time-range") {
|
|
92
|
-
const v = state.pendingValue ?? {
|
|
93
|
-
from: "00:00",
|
|
94
|
-
to: "23:59"
|
|
95
|
-
};
|
|
96
|
-
const next = target === "range-from" ? {
|
|
97
|
-
from: newTime,
|
|
98
|
-
to: v.to
|
|
99
|
-
} : {
|
|
100
|
-
from: v.from,
|
|
101
|
-
to: newTime
|
|
102
|
-
};
|
|
103
|
-
actions.setTimeRange(next);
|
|
104
|
-
return;
|
|
105
|
-
}
|
|
106
|
-
if (mode === "datetime-range" || mode === "date-range-time") {
|
|
107
|
-
const v = state.pendingValue;
|
|
108
|
-
if (!v) return;
|
|
109
|
-
const next = target === "embedded-from" ? {
|
|
110
|
-
from: combineDateAndTime(v.from, newTime, timezone),
|
|
111
|
-
to: v.to
|
|
112
|
-
} : {
|
|
113
|
-
from: v.from,
|
|
114
|
-
to: combineDateAndTime(v.to, newTime, timezone)
|
|
115
|
-
};
|
|
116
|
-
actions.setDatetimeRange(next);
|
|
117
|
-
return;
|
|
118
|
-
}
|
|
119
|
-
if (mode === "datetime" && (target === "embedded-from" || target === "embedded-to")) {
|
|
120
|
-
const v = state.pendingValue;
|
|
121
|
-
if (!v) return;
|
|
122
|
-
actions.setSingleDatetime(combineDateAndTime(v, newTime, timezone));
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
if (target === "single" || target === "range-from" || target === "range-to") return /* @__PURE__ */ jsx(InlineSlotList, {
|
|
126
|
-
slots,
|
|
127
|
-
value: currentValue,
|
|
128
|
-
onSelect: handleSelect,
|
|
129
|
-
className
|
|
130
|
-
});
|
|
131
|
-
return /* @__PURE__ */ jsx(EmbeddedSlotInput, {
|
|
132
|
-
label: currentValue ? formatTimeLabel(currentValue, hourCycle) : "— : —",
|
|
133
|
-
slots,
|
|
134
|
-
value: currentValue,
|
|
135
|
-
onSelect: handleSelect,
|
|
136
|
-
disabled: embeddedDisabled,
|
|
137
|
-
className
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
PickerTimeInput.displayName = "Picker.TimeInput";
|
|
141
|
-
function InlineSlotList({ slots, value, onSelect, className }) {
|
|
142
|
-
const [open, setOpen] = useState(true);
|
|
143
|
-
return /* @__PURE__ */ jsx(OptionList, {
|
|
144
|
-
picker: useOptionPicker({
|
|
145
|
-
multiple: false,
|
|
146
|
-
options: slots,
|
|
147
|
-
value,
|
|
148
|
-
onValueChange: (next) => {
|
|
149
|
-
if (typeof next === "string") onSelect(next);
|
|
150
|
-
},
|
|
151
|
-
open,
|
|
152
|
-
onOpenChange: setOpen
|
|
153
|
-
}),
|
|
154
|
-
disableSearch: slots.length <= 48,
|
|
155
|
-
searchPlaceholder: "Search time...",
|
|
156
|
-
listClassName: cn("max-h-[240px]", className)
|
|
157
|
-
});
|
|
158
|
-
}
|
|
159
|
-
function EmbeddedSlotInput({ label, slots, value, onSelect, disabled = false, className }) {
|
|
160
|
-
const [open, setOpen] = useState(false);
|
|
161
|
-
const picker = useOptionPicker({
|
|
162
|
-
multiple: false,
|
|
163
|
-
options: slots,
|
|
164
|
-
value,
|
|
165
|
-
onValueChange: (next) => {
|
|
166
|
-
if (typeof next === "string") {
|
|
167
|
-
onSelect(next);
|
|
168
|
-
setOpen(false);
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
open,
|
|
172
|
-
onOpenChange: disabled ? () => {} : setOpen
|
|
173
|
-
});
|
|
174
|
-
return /* @__PURE__ */ jsx(ResponsivePopover, {
|
|
175
|
-
open,
|
|
176
|
-
onOpenChange: disabled ? () => {} : setOpen,
|
|
177
|
-
sheetTitle: "Select time",
|
|
178
|
-
trigger: /* @__PURE__ */ jsxs(Button, {
|
|
179
|
-
type: "button",
|
|
180
|
-
variant: "outline",
|
|
181
|
-
disabled,
|
|
182
|
-
className: cn("h-8 gap-1.5 px-2 text-xs font-normal", className),
|
|
183
|
-
children: [/* @__PURE__ */ jsx(Clock, { className: "size-3.5 opacity-60" }), /* @__PURE__ */ jsx("span", { children: label })]
|
|
184
|
-
}),
|
|
185
|
-
align: "start",
|
|
186
|
-
contentClassName: "w-[200px]",
|
|
187
|
-
children: /* @__PURE__ */ jsx(OptionList, {
|
|
188
|
-
picker,
|
|
189
|
-
disableSearch: slots.length <= 48,
|
|
190
|
-
searchPlaceholder: "Search time...",
|
|
191
|
-
listClassName: "max-h-[240px]"
|
|
192
|
-
})
|
|
193
|
-
});
|
|
194
|
-
}
|
|
195
|
-
//#endregion
|
|
196
|
-
export { useTimeSlots as n, PickerTimeInput as t };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { S as PickerContent, c as PickerTrigger, l as Picker, s as formatPickerValue, t as DefaultFooter } from "./default-footer-DzYzX_OT.mjs";
|
|
2
|
-
import { t as PickerTimeInput } from "./time-input-DI8l2oeN.mjs";
|
|
3
|
-
import { Clock } from "lucide-react";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
//#region src/components/features/picker/wrappers/time-picker.tsx
|
|
6
|
-
const DEFAULT_TIME_ICON = /* @__PURE__ */ jsx(Clock, { className: "text-muted-foreground size-4 shrink-0" });
|
|
7
|
-
function TimePicker({ value, onChange, placeholder = "Pick a time", clearable = true, responsive = true, sheetTitle = "Pick a time", step = 15, hourCycle, minTime, maxTime, timeFormat, triggerLabel, icon, disabled, className, triggerClassName, popoverClassName, id, sheetDescription, modal, commit }) {
|
|
8
|
-
return /* @__PURE__ */ jsx(Picker.Root, {
|
|
9
|
-
mode: "time",
|
|
10
|
-
value,
|
|
11
|
-
onChange,
|
|
12
|
-
commit,
|
|
13
|
-
responsive,
|
|
14
|
-
step,
|
|
15
|
-
hourCycle,
|
|
16
|
-
children: /* @__PURE__ */ jsx(PickerContent, {
|
|
17
|
-
trigger: /* @__PURE__ */ jsx(PickerTrigger, {
|
|
18
|
-
placeholder,
|
|
19
|
-
clearable,
|
|
20
|
-
disabled,
|
|
21
|
-
className,
|
|
22
|
-
triggerClassName,
|
|
23
|
-
id,
|
|
24
|
-
icon: icon ?? DEFAULT_TIME_ICON,
|
|
25
|
-
children: (v) => triggerLabel ? triggerLabel(v) : formatPickerValue(v, "time", {
|
|
26
|
-
hourCycle,
|
|
27
|
-
timeFormat
|
|
28
|
-
})
|
|
29
|
-
}),
|
|
30
|
-
sheetTitle,
|
|
31
|
-
sheetDescription,
|
|
32
|
-
modal,
|
|
33
|
-
contentClassName: popoverClassName,
|
|
34
|
-
footer: /* @__PURE__ */ jsx(DefaultFooter, {}),
|
|
35
|
-
children: /* @__PURE__ */ jsx(PickerTimeInput, {
|
|
36
|
-
target: "single",
|
|
37
|
-
min: minTime,
|
|
38
|
-
max: maxTime
|
|
39
|
-
})
|
|
40
|
-
})
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
TimePicker.displayName = "TimePicker";
|
|
44
|
-
//#endregion
|
|
45
|
-
export { TimePicker as t };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { t as cn } from "./cn-dlASUkDY.mjs";
|
|
2
|
-
import { E as formatTimezoneLabel, L as isTimeBearingMode, w as usePickerContext } from "./default-footer-DzYzX_OT.mjs";
|
|
3
|
-
import { Globe } from "lucide-react";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
//#region src/components/features/picker/components/timezone-indicator.tsx
|
|
6
|
-
function PickerTimezoneIndicator({ className, variant = "full" }) {
|
|
7
|
-
const { mode, timezone, hideTimezone } = usePickerContext();
|
|
8
|
-
if (hideTimezone) return null;
|
|
9
|
-
if (!isTimeBearingMode(mode)) return null;
|
|
10
|
-
if (variant === "compact") return /* @__PURE__ */ jsx("span", {
|
|
11
|
-
"data-slot": "picker-tz-indicator",
|
|
12
|
-
className: cn("text-muted-foreground text-xs", className),
|
|
13
|
-
children: timezone
|
|
14
|
-
});
|
|
15
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
16
|
-
"data-slot": "picker-tz-indicator",
|
|
17
|
-
className: cn("text-muted-foreground bg-muted/30 flex items-center gap-2 px-3 py-2 text-xs", className),
|
|
18
|
-
children: [/* @__PURE__ */ jsx(Globe, { className: "size-3.5" }), /* @__PURE__ */ jsxs("span", { children: [
|
|
19
|
-
"Times shown in",
|
|
20
|
-
" ",
|
|
21
|
-
formatTimezoneLabel(timezone)
|
|
22
|
-
] })]
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
PickerTimezoneIndicator.displayName = "Picker.TimezoneIndicator";
|
|
26
|
-
//#endregion
|
|
27
|
-
export { PickerTimezoneIndicator as t };
|
package/dist/utils/cn.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../src/utils/cn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAItC,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAElD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA;AACzB,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"timezone.d.ts","sourceRoot":"","sources":["../../src/utils/timezone.ts"],"names":[],"mappings":"AASA;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAK7E;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAK3E"}
|