@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,5 +1,5 @@
|
|
|
1
|
-
import { t as cn } from "./
|
|
2
|
-
import { t as Button } from "./button-
|
|
1
|
+
import { t as cn } from "./utils-Bu32wN-x.mjs";
|
|
2
|
+
import { t as Button } from "./button-A1qTjZ8U.mjs";
|
|
3
3
|
import { t as Button$1 } from "./button-CsdF61EI.mjs";
|
|
4
4
|
import { t as Icon } from "./icon-wrapper-DKfJlJd0.mjs";
|
|
5
5
|
import { UploadIcon } from "lucide-react";
|
|
@@ -116,7 +116,6 @@ function Dropzone({ accept, maxFiles = 1, maxSize, minSize, onDrop, onError, dis
|
|
|
116
116
|
if (fileRejections.length > 0) {
|
|
117
117
|
const message = fileRejections.at(0)?.errors.at(0)?.message;
|
|
118
118
|
onError?.(new Error(message));
|
|
119
|
-
return;
|
|
120
119
|
}
|
|
121
120
|
onDrop?.(acceptedFiles, fileRejections, event);
|
|
122
121
|
},
|
|
@@ -155,7 +154,7 @@ function defaultContentLabel(files) {
|
|
|
155
154
|
}
|
|
156
155
|
function DropzoneContent({ children, className, icon, label, description }) {
|
|
157
156
|
const { src } = useDropzoneContext();
|
|
158
|
-
if (!src) return null;
|
|
157
|
+
if (!src || src.length === 0) return null;
|
|
159
158
|
if (children) return children;
|
|
160
159
|
const renderedLabel = typeof label === "function" ? label(src) : label;
|
|
161
160
|
return /* @__PURE__ */ jsxs("div", {
|
|
@@ -179,17 +178,18 @@ function DropzoneContent({ children, className, icon, label, description }) {
|
|
|
179
178
|
}
|
|
180
179
|
function DropzoneEmptyState({ children, className, icon, label, description, showCaption = false }) {
|
|
181
180
|
const { src, accept, maxSize, minSize } = useDropzoneContext();
|
|
182
|
-
if (src) return null;
|
|
181
|
+
if (src && src.length > 0) return null;
|
|
183
182
|
if (children) return children;
|
|
184
183
|
let caption = "";
|
|
185
184
|
if (showCaption) {
|
|
185
|
+
let sizeClause = "";
|
|
186
|
+
if (minSize && maxSize) sizeClause = `between ${renderBytes(minSize)} and ${renderBytes(maxSize)}`;
|
|
187
|
+
else if (minSize) sizeClause = `at least ${renderBytes(minSize)}`;
|
|
188
|
+
else if (maxSize) sizeClause = `less than ${renderBytes(maxSize)}`;
|
|
186
189
|
if (accept) {
|
|
187
|
-
caption
|
|
188
|
-
caption +=
|
|
189
|
-
}
|
|
190
|
-
if (minSize && maxSize) caption += ` between ${renderBytes(minSize)} and ${renderBytes(maxSize)}`;
|
|
191
|
-
else if (minSize) caption += ` at least ${renderBytes(minSize)}`;
|
|
192
|
-
else if (maxSize) caption += ` less than ${renderBytes(maxSize)}`;
|
|
190
|
+
caption = `Accepts ${new Intl.ListFormat("en").format(Object.keys(accept))}`;
|
|
191
|
+
if (sizeClause) caption += ` ${sizeClause}`;
|
|
192
|
+
} else if (sizeClause) caption = `File size must be ${sizeClause}`;
|
|
193
193
|
}
|
|
194
194
|
return /* @__PURE__ */ jsxs("div", {
|
|
195
195
|
className: cn("flex flex-col items-center justify-center", className),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as EmptyContent } from "../empty-content-
|
|
1
|
+
import { t as EmptyContent } from "../empty-content-BpS0PONb.mjs";
|
|
2
2
|
export { EmptyContent };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as cn } from "./
|
|
2
|
-
import { t as Button } from "./button-
|
|
3
|
-
import { t as Tooltip } from "./tooltip-
|
|
1
|
+
import { t as cn } from "./utils-Bu32wN-x.mjs";
|
|
2
|
+
import { t as Button } from "./button-A1qTjZ8U.mjs";
|
|
3
|
+
import { t as Tooltip } from "./tooltip-BhatUaar.mjs";
|
|
4
4
|
import { cva } from "class-variance-authority";
|
|
5
5
|
import { Fragment } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -111,7 +111,7 @@ function EmptyContent({ title = "No data found", subtitle, variant = "default",
|
|
|
111
111
|
const buttonSize = BUTTON_SIZE_MAP[size ?? "md"];
|
|
112
112
|
const LinkComp = linkComponent || "a";
|
|
113
113
|
const visibleActions = actions.filter((action) => !action.hidden);
|
|
114
|
-
const renderAction = (action) => {
|
|
114
|
+
const renderAction = (action, index) => {
|
|
115
115
|
const renderAsLink = (action.as === "link" || action.as === "external-link") && !action.disabled;
|
|
116
116
|
const { as: _as, label, tooltip, tooltipSide, hidden: _hidden, to, target, rel, download, hrefLang, referrerPolicy, ping, type = "secondary", size: sizeOverride, className: actionClassName, ...buttonProps } = action;
|
|
117
117
|
const resolvedSize = sizeOverride ?? buttonSize;
|
|
@@ -144,7 +144,7 @@ function EmptyContent({ title = "No data found", subtitle, variant = "default",
|
|
|
144
144
|
children: control
|
|
145
145
|
})
|
|
146
146
|
});
|
|
147
|
-
return /* @__PURE__ */ jsx(Fragment, { children: control }, `${action.as ?? "button"}-${label}`);
|
|
147
|
+
return /* @__PURE__ */ jsx(Fragment, { children: control }, `${action.as ?? "button"}-${label}-${index}`);
|
|
148
148
|
};
|
|
149
149
|
return /* @__PURE__ */ jsxs("div", {
|
|
150
150
|
className: cn(containerVariants({
|
|
@@ -174,9 +174,9 @@ function EmptyContent({ title = "No data found", subtitle, variant = "default",
|
|
|
174
174
|
/* @__PURE__ */ jsxs("div", {
|
|
175
175
|
className: "dark:bg-background border-border relative flex max-w-[224px] flex-col items-center justify-center gap-3.5 rounded-lg border bg-white px-6 py-7",
|
|
176
176
|
children: [
|
|
177
|
-
/* @__PURE__ */ jsx("h3", {
|
|
177
|
+
title && /* @__PURE__ */ jsx("h3", {
|
|
178
178
|
className: titleVariants({ size }),
|
|
179
|
-
children: `Hey ${userName ?? "there"}, ${title
|
|
179
|
+
children: `Hey ${userName ?? "there"}, ${title}`
|
|
180
180
|
}),
|
|
181
181
|
subtitle && /* @__PURE__ */ jsx("span", {
|
|
182
182
|
className: subtitleVariants({ size }),
|
package/dist/exports/map.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as FormAdapterProvider } from "../../../adapter-context-h0jCVqGO.mjs";
|
|
2
|
-
import { n as getFieldConstraints, t as useDisplayTouched } from "../../../use-display-touched-
|
|
2
|
+
import { n as getFieldConstraints, t as useDisplayTouched } from "../../../use-display-touched-CMEEv7aT.mjs";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { FormProvider, getFormProps, getInputProps, useForm, useFormMetadata, useInputControl } from "@conform-to/react";
|
|
@@ -40,21 +40,63 @@ function resolveConformField(fields, name) {
|
|
|
40
40
|
}
|
|
41
41
|
function convertFromString(value) {
|
|
42
42
|
if (value === void 0) return void 0;
|
|
43
|
-
if (Array.isArray(value)) return value
|
|
43
|
+
if (Array.isArray(value)) return value;
|
|
44
44
|
if (value === "on") return true;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} catch {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
45
|
+
const parsed = tryParseSerializedArray(value);
|
|
46
|
+
if (parsed !== void 0) return parsed;
|
|
50
47
|
return value;
|
|
51
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* Parse a string only if it is the canonical JSON serialization of an array,
|
|
51
|
+
* matching exactly what `convertToString` produces. Returns the parsed array,
|
|
52
|
+
* or `undefined` when the string is not a serialized array.
|
|
53
|
+
*/
|
|
54
|
+
function tryParseSerializedArray(value) {
|
|
55
|
+
if (value.length < 2 || value[0] !== "[" || !value.endsWith("]")) return void 0;
|
|
56
|
+
try {
|
|
57
|
+
const parsed = JSON.parse(value);
|
|
58
|
+
if (Array.isArray(parsed) && JSON.stringify(parsed) === value) return parsed;
|
|
59
|
+
} catch {}
|
|
60
|
+
}
|
|
52
61
|
function convertToString(value) {
|
|
53
62
|
if (typeof value === "boolean") return value ? "on" : "";
|
|
54
63
|
if (value === null || value === void 0) return "";
|
|
55
64
|
if (Array.isArray(value)) return JSON.stringify(value);
|
|
56
65
|
return String(value);
|
|
57
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* Whether a value is a plain object (an object literal or `Object.create(null)`),
|
|
69
|
+
* as opposed to a class/exotic instance such as `Date`, `Map`, `Set`, or a Zod
|
|
70
|
+
* coerced/class value. Only plain objects should be walked as nested field
|
|
71
|
+
* groups; non-plain instances have no meaningful `Object.entries()` and must be
|
|
72
|
+
* kept as leaf values so their default survives.
|
|
73
|
+
*/
|
|
74
|
+
function isPlainObject(value) {
|
|
75
|
+
if (value === null || typeof value !== "object") return false;
|
|
76
|
+
const proto = Object.getPrototypeOf(value);
|
|
77
|
+
return proto === Object.prototype || proto === null;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Flatten nested object defaults into dot-notation keys (e.g.
|
|
81
|
+
* `{ address: { city: 'x' } }` -> `{ 'address.city': 'x' }`) so they match the
|
|
82
|
+
* flat field names Conform writes into FormData. Arrays are treated as leaf
|
|
83
|
+
* values because convertToString serializes them into a single hidden input.
|
|
84
|
+
*
|
|
85
|
+
* Only *plain* objects are recursed into. Non-plain object instances (Date, Map,
|
|
86
|
+
* Set, class instances, Zod-coerced values) are kept as leaf values — recursing
|
|
87
|
+
* into them yields no `Object.entries()`, which would drop the field's default
|
|
88
|
+
* and cause the dirty-tracking to flag the field as dirty on mount with no user
|
|
89
|
+
* edit.
|
|
90
|
+
*/
|
|
91
|
+
function flattenDefaults(obj, prefix = "") {
|
|
92
|
+
const result = {};
|
|
93
|
+
for (const [key, value] of Object.entries(obj)) {
|
|
94
|
+
const path = prefix ? `${prefix}.${key}` : key;
|
|
95
|
+
if (isPlainObject(value)) Object.assign(result, flattenDefaults(value, path));
|
|
96
|
+
else result[path] = value;
|
|
97
|
+
}
|
|
98
|
+
return result;
|
|
99
|
+
}
|
|
58
100
|
/** Create a Conform form instance and normalize it to the adapter interface. */
|
|
59
101
|
function useConformCreateForm(props) {
|
|
60
102
|
const { schema, defaultValues, mode, id, onSubmit, formRef } = props;
|
|
@@ -79,12 +121,8 @@ function useConformCreateForm(props) {
|
|
|
79
121
|
const formIsDirty = useFormData(formRef, (formData) => isDirty(formData, { defaultValue: defaultValues }) ?? false) ?? false;
|
|
80
122
|
const dirtyFields = useFormData(formRef, (formData) => {
|
|
81
123
|
const result = {};
|
|
82
|
-
const defaults = defaultValues ?? {};
|
|
83
|
-
for (const key of Object.keys(defaults))
|
|
84
|
-
const current = formData.get(key);
|
|
85
|
-
const defaultVal = defaults[key];
|
|
86
|
-
result[key] = current !== (defaultVal === true ? "on" : defaultVal === false || defaultVal === null || defaultVal === void 0 ? "" : String(defaultVal));
|
|
87
|
-
}
|
|
124
|
+
const defaults = flattenDefaults(defaultValues ?? {});
|
|
125
|
+
for (const key of Object.keys(defaults)) result[key] = formData.get(key) !== convertToString(defaults[key]);
|
|
88
126
|
for (const key of formData.keys()) if (!(key in result) && !key.startsWith("$")) {
|
|
89
127
|
const current = formData.get(key);
|
|
90
128
|
result[key] = current !== "" && current !== null;
|
|
@@ -117,16 +155,29 @@ function useConformCreateForm(props) {
|
|
|
117
155
|
formEl.addEventListener("focusout", handleFocusOut);
|
|
118
156
|
return () => formEl.removeEventListener("focusout", handleFocusOut);
|
|
119
157
|
}, [formRef]);
|
|
158
|
+
const [submitCount, setSubmitCount] = React.useState(0);
|
|
159
|
+
React.useEffect(() => {
|
|
160
|
+
const formEl = formRef?.current;
|
|
161
|
+
if (!formEl) return;
|
|
162
|
+
const handleSubmit = (event) => {
|
|
163
|
+
const submitter = event.submitter;
|
|
164
|
+
if (submitter instanceof HTMLButtonElement && submitter.hidden) return;
|
|
165
|
+
setSubmitCount((count) => count + 1);
|
|
166
|
+
};
|
|
167
|
+
formEl.addEventListener("submit", handleSubmit);
|
|
168
|
+
return () => formEl.removeEventListener("submit", handleSubmit);
|
|
169
|
+
}, [formRef]);
|
|
120
170
|
const formState = React.useMemo(() => ({
|
|
121
171
|
isDirty: formIsDirty,
|
|
122
172
|
isValid,
|
|
123
|
-
isSubmitted:
|
|
124
|
-
submitCount
|
|
173
|
+
isSubmitted: submitCount > 0,
|
|
174
|
+
submitCount,
|
|
125
175
|
dirtyFields,
|
|
126
176
|
touchedFields
|
|
127
177
|
}), [
|
|
128
178
|
formIsDirty,
|
|
129
179
|
isValid,
|
|
180
|
+
submitCount,
|
|
130
181
|
dirtyFields,
|
|
131
182
|
touchedFields
|
|
132
183
|
]);
|
|
@@ -161,7 +212,11 @@ function useConformCreateForm(props) {
|
|
|
161
212
|
if (!formRef?.current) return {};
|
|
162
213
|
const formData = new FormData(formRef.current);
|
|
163
214
|
const values = {};
|
|
164
|
-
for (const
|
|
215
|
+
for (const key of new Set(formData.keys())) {
|
|
216
|
+
if (key.startsWith("$")) continue;
|
|
217
|
+
const all = formData.getAll(key).map((entry) => String(entry));
|
|
218
|
+
values[key] = convertFromString(all.length > 1 ? all : all[0]);
|
|
219
|
+
}
|
|
165
220
|
return values;
|
|
166
221
|
},
|
|
167
222
|
touchedFields: displayTouchedFields,
|
|
@@ -196,7 +251,8 @@ function useConformField(name) {
|
|
|
196
251
|
if (!fieldMeta) throw new Error(`[Conform Adapter] Field "${name}" not found. Make sure the field name matches your schema.`);
|
|
197
252
|
const currentValue = convertFromString(control.value);
|
|
198
253
|
const defaultValue = convertFromString(fieldMeta.initialValue);
|
|
199
|
-
const
|
|
254
|
+
const normalizedDefault = defaultValue === void 0 ? "" : defaultValue;
|
|
255
|
+
const fieldIsDirty = convertToString(currentValue) !== convertToString(normalizedDefault);
|
|
200
256
|
const fieldIsTouched = touchedFieldsRef.current.has(name);
|
|
201
257
|
return React.useMemo(() => ({
|
|
202
258
|
name: fieldMeta.name,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { t as FormAdapterProvider } from "../../../adapter-context-h0jCVqGO.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { t as getObjectShape } from "../../../zod-helpers-YEhVo2S-.mjs";
|
|
3
|
+
import { n as getFieldConstraints, t as useDisplayTouched } from "../../../use-display-touched-CMEEv7aT.mjs";
|
|
3
4
|
import * as React from "react";
|
|
4
5
|
import { jsx } from "react/jsx-runtime";
|
|
5
6
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
@@ -60,6 +61,12 @@ function getFieldDefault(schema) {
|
|
|
60
61
|
//#endregion
|
|
61
62
|
//#region src/components/features/form/adapters/rhf/rhf-adapter.tsx
|
|
62
63
|
const RHFFormIdContext = React.createContext("form");
|
|
64
|
+
/**
|
|
65
|
+
* Provides the normalized field metadata (keyed by field name) so per-field
|
|
66
|
+
* hooks can read schema-derived data — notably `required` — that only
|
|
67
|
+
* useCreateForm computes from the Zod schema.
|
|
68
|
+
*/
|
|
69
|
+
const RHFFieldsContext = React.createContext({});
|
|
63
70
|
/** Create a React Hook Form instance and normalize it to the adapter interface. */
|
|
64
71
|
function useRHFCreateForm(props) {
|
|
65
72
|
const { schema, defaultValues, mode, id, onSubmit, formRef } = props;
|
|
@@ -74,7 +81,7 @@ function useRHFCreateForm(props) {
|
|
|
74
81
|
mode,
|
|
75
82
|
reValidateMode: "onChange"
|
|
76
83
|
});
|
|
77
|
-
const { errors, isDirty, isValid, dirtyFields, touchedFields } = form.formState;
|
|
84
|
+
const { errors, isDirty, isValid, isSubmitted, submitCount, dirtyFields, touchedFields } = form.formState;
|
|
78
85
|
const constraints = React.useMemo(() => getFieldConstraints(schema), [schema]);
|
|
79
86
|
const onSubmitRef = React.useRef(onSubmit);
|
|
80
87
|
onSubmitRef.current = onSubmit;
|
|
@@ -101,13 +108,15 @@ function useRHFCreateForm(props) {
|
|
|
101
108
|
const formState = React.useMemo(() => ({
|
|
102
109
|
isDirty,
|
|
103
110
|
isValid,
|
|
104
|
-
isSubmitted
|
|
105
|
-
submitCount
|
|
111
|
+
isSubmitted,
|
|
112
|
+
submitCount,
|
|
106
113
|
dirtyFields: Object.fromEntries(Object.entries(dirtyFields).map(([k, v]) => [k, Boolean(v)])),
|
|
107
114
|
touchedFields: Object.fromEntries(Object.entries(touchedFields).map(([k, v]) => [k, Boolean(v)]))
|
|
108
115
|
}), [
|
|
109
116
|
isDirty,
|
|
110
117
|
isValid,
|
|
118
|
+
isSubmitted,
|
|
119
|
+
submitCount,
|
|
111
120
|
dirtyFields,
|
|
112
121
|
touchedFields
|
|
113
122
|
]);
|
|
@@ -148,15 +157,17 @@ function useRHFCreateForm(props) {
|
|
|
148
157
|
function useRHFField(name) {
|
|
149
158
|
const form = useFormContext();
|
|
150
159
|
const formId = React.use(RHFFormIdContext);
|
|
160
|
+
const fieldsMeta = React.use(RHFFieldsContext);
|
|
151
161
|
const { field, fieldState } = useController({
|
|
152
162
|
name,
|
|
153
163
|
control: form.control
|
|
154
164
|
});
|
|
165
|
+
const required = fieldsMeta[name]?.required ?? false;
|
|
155
166
|
return React.useMemo(() => ({
|
|
156
167
|
name: field.name,
|
|
157
168
|
id: `${formId}-${name}`,
|
|
158
169
|
errors: fieldState.error?.message ? [String(fieldState.error.message)] : [],
|
|
159
|
-
required
|
|
170
|
+
required,
|
|
160
171
|
isDirty: fieldState.isDirty,
|
|
161
172
|
isTouched: fieldState.isTouched,
|
|
162
173
|
value: field.value,
|
|
@@ -168,7 +179,8 @@ function useRHFField(name) {
|
|
|
168
179
|
fieldState,
|
|
169
180
|
name,
|
|
170
181
|
formId,
|
|
171
|
-
form
|
|
182
|
+
form,
|
|
183
|
+
required
|
|
172
184
|
]);
|
|
173
185
|
}
|
|
174
186
|
/** Watch a single field's value reactively. */
|
|
@@ -220,9 +232,12 @@ function RHFFormProviderWrapper({ instance, children }) {
|
|
|
220
232
|
const form = instance.raw;
|
|
221
233
|
return /* @__PURE__ */ jsx(RHFFormIdContext, {
|
|
222
234
|
value: instance.id,
|
|
223
|
-
children: /* @__PURE__ */ jsx(
|
|
224
|
-
|
|
225
|
-
children
|
|
235
|
+
children: /* @__PURE__ */ jsx(RHFFieldsContext, {
|
|
236
|
+
value: instance.fields,
|
|
237
|
+
children: /* @__PURE__ */ jsx(FormProvider, {
|
|
238
|
+
...form,
|
|
239
|
+
children
|
|
240
|
+
})
|
|
226
241
|
})
|
|
227
242
|
});
|
|
228
243
|
}
|
package/dist/form/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as FormCheckbox, C as FormDialog, D as FormCustom, E as FormDatePicker, M as FormAutosearch, N as FormAutocomplete, O as FormCopyBox, S as FormError, T as FormDateTimePicker, _ as FormRadioGroup, a as useField, b as FormFieldArray, c as useWatchAll, d as FormTextarea, f as FormSwitch, g as FormRoot, h as FormSelectItem, i as useFieldContext, j as FormButton, k as FormCombobox, l as FormTransfer, m as FormSelect, n as useFormState, o as FormWhen, p as FormSubmit, r as useFormContext, s as useWatch, t as Form, u as FormTimePicker, v as FormRadioItem, w as FormDescription, x as FormField, y as FormInput } from "../form-
|
|
1
|
+
import { A as FormCheckbox, C as FormDialog, D as FormCustom, E as FormDatePicker, M as FormAutosearch, N as FormAutocomplete, O as FormCopyBox, S as FormError, T as FormDateTimePicker, _ as FormRadioGroup, a as useField, b as FormFieldArray, c as useWatchAll, d as FormTextarea, f as FormSwitch, g as FormRoot, h as FormSelectItem, i as useFieldContext, j as FormButton, k as FormCombobox, l as FormTransfer, m as FormSelect, n as useFormState, o as FormWhen, p as FormSubmit, r as useFormContext, s as useWatch, t as Form, u as FormTimePicker, v as FormRadioItem, w as FormDescription, x as FormField, y as FormInput } from "../form-2pTdgtYr.mjs";
|
|
2
2
|
import { n as useAdapter, t as FormAdapterProvider } from "../adapter-context-h0jCVqGO.mjs";
|
|
3
3
|
export { Form, FormAdapterProvider, FormAutocomplete, FormAutosearch, FormButton, FormCheckbox, FormCombobox, FormCopyBox, FormCustom, FormDatePicker, FormDateTimePicker, FormDescription, FormDialog, FormError, FormField, FormFieldArray, FormInput, FormRadioGroup, FormRadioItem, FormRoot, FormSelect, FormSelectItem, FormSubmit, FormSwitch, FormTextarea, FormTimePicker, FormTransfer, FormWhen, useAdapter, useField, useFieldContext, useFormContext, useFormState, useWatch, useWatchAll };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { t as cn } from "../../
|
|
2
|
-
import { t as Button } from "../../button-
|
|
1
|
+
import { t as cn } from "../../utils-Bu32wN-x.mjs";
|
|
2
|
+
import { t as Button } from "../../button-A1qTjZ8U.mjs";
|
|
3
3
|
import { n as useFormContext, t as FormProvider } from "../../form-context-DzB2a-dw.mjs";
|
|
4
4
|
import { n as useAdapter } from "../../adapter-context-h0jCVqGO.mjs";
|
|
5
|
-
import { t as defineStepper } from "../../stepper-
|
|
5
|
+
import { t as defineStepper } from "../../stepper-DJkYcilu.mjs";
|
|
6
|
+
import { t as getObjectShape } from "../../zod-helpers-YEhVo2S-.mjs";
|
|
6
7
|
import { CheckIcon } from "lucide-react";
|
|
7
8
|
import * as React from "react";
|
|
8
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -14,6 +15,24 @@ function useFormStepperContext() {
|
|
|
14
15
|
return context;
|
|
15
16
|
}
|
|
16
17
|
/**
|
|
18
|
+
* Pick only the fields that belong to a step's own schema out of a merged form
|
|
19
|
+
* values object.
|
|
20
|
+
*
|
|
21
|
+
* The per-step form is seeded with the merged flow data of ALL steps as its
|
|
22
|
+
* default values, so `instance.getValues()` returns every step's fields, not
|
|
23
|
+
* just the current one. Persisting that whole object under the current step's
|
|
24
|
+
* flow-data key would let stale copies of other steps' fields shadow their real
|
|
25
|
+
* entries on final submit. Narrowing to the step's own schema keys keeps each
|
|
26
|
+
* step's flow-data entry isolated.
|
|
27
|
+
*/
|
|
28
|
+
function pickStepValues(schema, values) {
|
|
29
|
+
const shape = getObjectShape(schema);
|
|
30
|
+
if (!shape) return values;
|
|
31
|
+
const picked = {};
|
|
32
|
+
for (const key of Object.keys(shape)) if (key in values) picked[key] = values[key];
|
|
33
|
+
return picked;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
17
36
|
* Convert StepConfig[] to Stepperize step format
|
|
18
37
|
*/
|
|
19
38
|
function toStepperizeSteps(steps) {
|
|
@@ -128,14 +147,11 @@ function StepForm({ steps, stepper, currentStepConfig, storedValues, children, o
|
|
|
128
147
|
if (stepper.isLast) {
|
|
129
148
|
setIsSubmitting(true);
|
|
130
149
|
try {
|
|
131
|
-
await onComplete({
|
|
132
|
-
...
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
...data
|
|
137
|
-
});
|
|
138
|
-
} catch {} finally {
|
|
150
|
+
await onComplete(steps.reduce((acc, step) => ({
|
|
151
|
+
...acc,
|
|
152
|
+
...step.id === currentStepConfig.id ? data : stepper.data.get(step.id) || {}
|
|
153
|
+
}), {}));
|
|
154
|
+
} finally {
|
|
139
155
|
setIsSubmitting(false);
|
|
140
156
|
}
|
|
141
157
|
} else {
|
|
@@ -149,6 +165,7 @@ function StepForm({ steps, stepper, currentStepConfig, storedValues, children, o
|
|
|
149
165
|
stepper,
|
|
150
166
|
steps,
|
|
151
167
|
currentIndex,
|
|
168
|
+
currentStepConfig,
|
|
152
169
|
onComplete,
|
|
153
170
|
onStepChange
|
|
154
171
|
]);
|
|
@@ -164,8 +181,8 @@ function StepForm({ steps, stepper, currentStepConfig, storedValues, children, o
|
|
|
164
181
|
formRef.current?.requestSubmit();
|
|
165
182
|
}, []);
|
|
166
183
|
const prev = React.useCallback(() => {
|
|
167
|
-
const
|
|
168
|
-
if (Object.keys(
|
|
184
|
+
const stepValues = pickStepValues(currentStepConfig.schema, instance.getValues());
|
|
185
|
+
if (Object.keys(stepValues).length > 0) stepper.data.set(currentStepConfig.id, stepValues);
|
|
169
186
|
const prevStepId = steps[currentIndex - 1]?.id;
|
|
170
187
|
if (prevStepId) {
|
|
171
188
|
stepper.goTo(prevStepId);
|
|
@@ -176,12 +193,13 @@ function StepForm({ steps, stepper, currentStepConfig, storedValues, children, o
|
|
|
176
193
|
stepper,
|
|
177
194
|
steps,
|
|
178
195
|
currentIndex,
|
|
196
|
+
currentStepConfig,
|
|
179
197
|
onStepChange
|
|
180
198
|
]);
|
|
181
199
|
const goTo = React.useCallback((stepId) => {
|
|
182
200
|
if (steps.findIndex((s) => s.id === stepId) < currentIndex) {
|
|
183
|
-
const
|
|
184
|
-
if (Object.keys(
|
|
201
|
+
const stepValues = pickStepValues(currentStepConfig.schema, instance.getValues());
|
|
202
|
+
if (Object.keys(stepValues).length > 0) stepper.data.set(currentStepConfig.id, stepValues);
|
|
185
203
|
stepper.goTo(stepId);
|
|
186
204
|
onStepChange?.(stepId, "prev");
|
|
187
205
|
}
|
|
@@ -190,6 +208,7 @@ function StepForm({ steps, stepper, currentStepConfig, storedValues, children, o
|
|
|
190
208
|
stepper,
|
|
191
209
|
steps,
|
|
192
210
|
currentIndex,
|
|
211
|
+
currentStepConfig,
|
|
193
212
|
onStepChange
|
|
194
213
|
]);
|
|
195
214
|
const getStepData = React.useCallback((stepId) => stepper.data.get(stepId), [stepper]);
|
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import { t as cn } from "./
|
|
2
|
-
import { t as Button } from "./button-
|
|
1
|
+
import { t as cn } from "./utils-Bu32wN-x.mjs";
|
|
2
|
+
import { t as Button } from "./button-A1qTjZ8U.mjs";
|
|
3
3
|
import { t as Icon } from "./icon-wrapper-DKfJlJd0.mjs";
|
|
4
|
-
import { t as Checkbox } from "./checkbox-
|
|
5
|
-
import { t as Dialog } from "./dialog-
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as toast } from "./toast-qSJgeN-g.mjs";
|
|
4
|
+
import { t as Checkbox } from "./checkbox-C6P12fio.mjs";
|
|
5
|
+
import { t as Dialog } from "./dialog-N2pkQIc4.mjs";
|
|
6
|
+
import { t as useControllableState } from "./use-controllable-state-Dna7u3r9.mjs";
|
|
7
|
+
import { t as Input } from "./input-j4tbmYYz.mjs";
|
|
8
|
+
import { t as Label } from "./label-Bk6FXsju.mjs";
|
|
9
|
+
import { n as RadioGroupItem, t as RadioGroup } from "./radio-group-LduBVTnh.mjs";
|
|
10
|
+
import { i as SelectItem, l as SelectTrigger, n as SelectContent, t as Select, u as SelectValue } from "./select-DCU44UO6.mjs";
|
|
11
|
+
import { t as Tooltip } from "./tooltip-BhatUaar.mjs";
|
|
12
|
+
import { t as Switch } from "./switch-DPHr3TcN.mjs";
|
|
13
|
+
import { t as Textarea } from "./textarea-B6YhjFVC.mjs";
|
|
14
|
+
import { t as Autocomplete } from "./autocomplete-G24AgvxU.mjs";
|
|
16
15
|
import { Autosearch } from "./autosearch/index.mjs";
|
|
16
|
+
import { t as CalendarDatePicker } from "./calendar-date-picker-C52Y05ZN.mjs";
|
|
17
|
+
import { t as toast } from "./toast-BUPlDkN3.mjs";
|
|
18
|
+
import { t as DateTimePicker } from "./date-time-picker-BbtA6JJJ.mjs";
|
|
17
19
|
import { n as useFormContext$1, t as FormProvider } from "./form-context-DzB2a-dw.mjs";
|
|
18
|
-
import { t as useCopyToClipboard } from "./use-copy-to-clipboard-
|
|
19
|
-
import { t as DateTimePicker } from "./date-time-picker-BWrS9k-c.mjs";
|
|
20
|
+
import { t as useCopyToClipboard } from "./use-copy-to-clipboard-DZDq_85T.mjs";
|
|
20
21
|
import { n as useAdapter } from "./adapter-context-h0jCVqGO.mjs";
|
|
21
22
|
import { InputWithAddons } from "./input-with-addons/index.mjs";
|
|
22
|
-
import { t as TimePicker } from "./time-picker-
|
|
23
|
-
import { t as Transfer } from "./transfer-
|
|
23
|
+
import { t as TimePicker } from "./time-picker-Bgt6R1fU.mjs";
|
|
24
|
+
import { t as Transfer } from "./transfer-CEq9AhL7.mjs";
|
|
24
25
|
import { CheckIcon, CircleHelp, CopyIcon } from "lucide-react";
|
|
25
26
|
import * as React from "react";
|
|
26
27
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -292,8 +293,8 @@ function FormCopyBox({ variant = "default", className, contentClassName, buttonC
|
|
|
292
293
|
const displayValue = value || placeholder;
|
|
293
294
|
const copyToClipboard = () => {
|
|
294
295
|
if (!value) return;
|
|
295
|
-
copy(value).then(() => {
|
|
296
|
-
toast.success("Copied to clipboard");
|
|
296
|
+
copy(value).then((didCopy) => {
|
|
297
|
+
if (didCopy) toast.success("Copied to clipboard");
|
|
297
298
|
});
|
|
298
299
|
};
|
|
299
300
|
return /* @__PURE__ */ jsxs("div", {
|
|
@@ -308,6 +309,8 @@ function FormCopyBox({ variant = "default", className, contentClassName, buttonC
|
|
|
308
309
|
className: "flex items-center py-2 pr-3",
|
|
309
310
|
children: variant === "icon-only" ? /* @__PURE__ */ jsx("button", {
|
|
310
311
|
type: "button",
|
|
312
|
+
"aria-label": copied ? "Copied to clipboard" : "Copy to clipboard",
|
|
313
|
+
title: copied ? "Copied" : "Copy",
|
|
311
314
|
className: cn("text-muted-foreground hover:text-foreground flex size-7 items-center justify-center rounded-sm transition-colors", buttonClassName),
|
|
312
315
|
onClick: copyToClipboard,
|
|
313
316
|
children: copied ? /* @__PURE__ */ jsx(CheckIcon, { className: "size-4" }) : /* @__PURE__ */ jsx(CopyIcon, { className: "size-4" })
|
|
@@ -386,7 +389,13 @@ function FormDatePicker({ placeholder, disabled, className, triggerClassName, nu
|
|
|
386
389
|
to: date
|
|
387
390
|
};
|
|
388
391
|
}
|
|
389
|
-
if (typeof val === "object" && "from" in val)
|
|
392
|
+
if (typeof val === "object" && "from" in val) {
|
|
393
|
+
const range = val;
|
|
394
|
+
return {
|
|
395
|
+
from: range.from ? new Date(range.from) : void 0,
|
|
396
|
+
to: range.to ? new Date(range.to) : void 0
|
|
397
|
+
};
|
|
398
|
+
}
|
|
390
399
|
return {
|
|
391
400
|
from: void 0,
|
|
392
401
|
to: void 0
|
|
@@ -538,31 +547,26 @@ FormDescription.displayName = "Form.Description";
|
|
|
538
547
|
* ```
|
|
539
548
|
*/
|
|
540
549
|
function FormDialog({ open, onOpenChange, defaultOpen, title, description, trigger, schema, defaultValues, onSubmit, onSuccess, onError, submitText = "Submit", submitTextLoading = "Submitting...", cancelText = "Cancel", showCancel = true, submitType = "primary", loading, formComponent, telemetry, className, formClassName, showHeaderClose = true, children }) {
|
|
541
|
-
const [
|
|
542
|
-
const [
|
|
543
|
-
const isSubmitting = loading ?? internalIsSubmitting;
|
|
544
|
-
const isControlled = open !== void 0;
|
|
545
|
-
const isOpen = isControlled ? open : internalOpen;
|
|
550
|
+
const [isOpen, setOpen] = useControllableState(open, defaultOpen ?? false, onOpenChange);
|
|
551
|
+
const [isSubmitting, setIsSubmitting] = useControllableState(loading, false);
|
|
546
552
|
const handleOpenChange = React.useCallback((value) => {
|
|
547
553
|
if (!value && isSubmitting) return;
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
}, [
|
|
551
|
-
isControlled,
|
|
552
|
-
isSubmitting,
|
|
553
|
-
onOpenChange
|
|
554
|
-
]);
|
|
554
|
+
setOpen(value);
|
|
555
|
+
}, [isSubmitting, setOpen]);
|
|
555
556
|
const handleSubmit = React.useCallback(async (data) => {
|
|
556
|
-
|
|
557
|
+
setIsSubmitting(true);
|
|
557
558
|
try {
|
|
558
559
|
await onSubmit?.(data);
|
|
559
560
|
onSuccess?.(data);
|
|
560
561
|
} finally {
|
|
561
|
-
|
|
562
|
+
setIsSubmitting(false);
|
|
562
563
|
}
|
|
564
|
+
if (!loading) setOpen(false);
|
|
563
565
|
}, [
|
|
564
566
|
onSubmit,
|
|
565
567
|
onSuccess,
|
|
568
|
+
setIsSubmitting,
|
|
569
|
+
setOpen,
|
|
566
570
|
loading
|
|
567
571
|
]);
|
|
568
572
|
const handleCancel = React.useCallback(() => {
|
|
@@ -1004,13 +1008,12 @@ FormRadioItem.displayName = "Form.RadioItem";
|
|
|
1004
1008
|
*/
|
|
1005
1009
|
function FormRoot({ schema, children, onSubmit, action, method = "POST", formComponent: FormComp = "form", id, name, defaultValues, mode = "onChange", isSubmitting: externalIsSubmitting, onError, onSuccess, telemetry, className }) {
|
|
1006
1010
|
const adapter = useAdapter();
|
|
1007
|
-
const [
|
|
1008
|
-
const isSubmitting = externalIsSubmitting ?? internalIsSubmitting;
|
|
1011
|
+
const [isSubmitting, setIsSubmitting] = useControllableState(externalIsSubmitting, false);
|
|
1009
1012
|
const [isSubmitted, setIsSubmitted] = React.useState(false);
|
|
1010
1013
|
const [submitCount, setSubmitCount] = React.useState(0);
|
|
1011
1014
|
const formRef = React.useRef(null);
|
|
1012
1015
|
const wrappedOnSubmit = React.useCallback(async (data) => {
|
|
1013
|
-
|
|
1016
|
+
setIsSubmitting(true);
|
|
1014
1017
|
setIsSubmitted(true);
|
|
1015
1018
|
setSubmitCount((prev) => prev + 1);
|
|
1016
1019
|
try {
|
|
@@ -1022,6 +1025,7 @@ function FormRoot({ schema, children, onSubmit, action, method = "POST", formCom
|
|
|
1022
1025
|
onSuccess?.(data);
|
|
1023
1026
|
} catch (error) {
|
|
1024
1027
|
const err = error instanceof Error ? error : new Error(String(error));
|
|
1028
|
+
const handled = Boolean(telemetry?.onError || telemetry?.captureError || onError);
|
|
1025
1029
|
telemetry?.onError?.({
|
|
1026
1030
|
formName: name ?? "",
|
|
1027
1031
|
formId: id,
|
|
@@ -1032,8 +1036,9 @@ function FormRoot({ schema, children, onSubmit, action, method = "POST", formCom
|
|
|
1032
1036
|
formId: id
|
|
1033
1037
|
});
|
|
1034
1038
|
onError?.(error);
|
|
1039
|
+
if (!handled) throw err;
|
|
1035
1040
|
} finally {
|
|
1036
|
-
|
|
1041
|
+
setIsSubmitting(false);
|
|
1037
1042
|
}
|
|
1038
1043
|
}, [
|
|
1039
1044
|
onSubmit,
|
|
@@ -1041,7 +1046,8 @@ function FormRoot({ schema, children, onSubmit, action, method = "POST", formCom
|
|
|
1041
1046
|
onError,
|
|
1042
1047
|
telemetry,
|
|
1043
1048
|
name,
|
|
1044
|
-
id
|
|
1049
|
+
id,
|
|
1050
|
+
setIsSubmitting
|
|
1045
1051
|
]);
|
|
1046
1052
|
const instance = adapter.useCreateForm({
|
|
1047
1053
|
schema,
|
|
@@ -1110,11 +1116,21 @@ function FormRoot({ schema, children, onSubmit, action, method = "POST", formCom
|
|
|
1110
1116
|
onSubmit: (e) => {
|
|
1111
1117
|
const submitter = e.nativeEvent.submitter;
|
|
1112
1118
|
e.stopPropagation();
|
|
1113
|
-
|
|
1119
|
+
const isUserSubmit = submitter && !submitter.hidden;
|
|
1120
|
+
if (isUserSubmit) instance.markAllFieldsTouched();
|
|
1114
1121
|
telemetry?.onSubmit?.({
|
|
1115
1122
|
formName: name ?? "",
|
|
1116
1123
|
formId: id
|
|
1117
1124
|
});
|
|
1125
|
+
if (isUserSubmit && !onSubmit) {
|
|
1126
|
+
setIsSubmitted(true);
|
|
1127
|
+
setSubmitCount((prev) => prev + 1);
|
|
1128
|
+
telemetry?.onSuccess?.({
|
|
1129
|
+
formName: name ?? "",
|
|
1130
|
+
formId: id
|
|
1131
|
+
});
|
|
1132
|
+
onSuccess?.(instance.getValues());
|
|
1133
|
+
}
|
|
1118
1134
|
const adapterSubmit = instance.formProps.onSubmit;
|
|
1119
1135
|
adapterSubmit?.(e);
|
|
1120
1136
|
},
|
package/dist/grid/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as getResponsiveValue, c as GRID_COLUMNS, d as RESPONSIVE_MAP, i as getGutter, l as GRID_PREFIX, n as Row, o as registerMediaQuery, r as RowContext, s as GRID_BREAKPOINTS, t as Col, u as RESPONSIVE_ARRAY } from "../col-
|
|
1
|
+
import { a as getResponsiveValue, c as GRID_COLUMNS, d as RESPONSIVE_MAP, i as getGutter, l as GRID_PREFIX, n as Row, o as registerMediaQuery, r as RowContext, s as GRID_BREAKPOINTS, t as Col, u as RESPONSIVE_ARRAY } from "../col-BYGWTB4j.mjs";
|
|
2
2
|
export { Col, GRID_BREAKPOINTS, GRID_COLUMNS, GRID_PREFIX, RESPONSIVE_ARRAY, RESPONSIVE_MAP, Row, RowContext, getGutter, getResponsiveValue, registerMediaQuery };
|