@datum-cloud/datum-ui 0.2.0-alpha.0 → 0.2.0-alpha.2
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/dist/_shadcn/hooks/use-mobile.d.ts +2 -0
- package/dist/_shadcn/hooks/use-mobile.d.ts.map +1 -0
- package/dist/_shadcn/hooks/use-theme.d.ts +9 -0
- package/dist/_shadcn/hooks/use-theme.d.ts.map +1 -0
- package/dist/_shadcn/lib/utils.d.ts +13 -0
- package/dist/_shadcn/lib/utils.d.ts.map +1 -0
- package/dist/_shadcn/ui/alert.d.ts +9 -0
- package/dist/_shadcn/ui/alert.d.ts.map +1 -0
- package/dist/_shadcn/ui/avatar.d.ts +7 -0
- package/dist/_shadcn/ui/avatar.d.ts.map +1 -0
- package/dist/_shadcn/ui/badge.d.ts +15 -0
- package/dist/_shadcn/ui/badge.d.ts.map +1 -0
- package/dist/_shadcn/ui/breadcrumb.d.ts +12 -0
- package/dist/_shadcn/ui/breadcrumb.d.ts.map +1 -0
- package/dist/_shadcn/ui/button-group.d.ts +12 -0
- package/dist/_shadcn/ui/button-group.d.ts.map +1 -0
- package/dist/_shadcn/ui/button.d.ts +17 -0
- package/dist/_shadcn/ui/button.d.ts.map +1 -0
- package/dist/_shadcn/ui/card.d.ts +9 -0
- package/dist/_shadcn/ui/card.d.ts.map +1 -0
- package/dist/_shadcn/ui/chart.d.ts +53 -0
- package/dist/_shadcn/ui/chart.d.ts.map +1 -0
- package/dist/_shadcn/ui/checkbox.d.ts +5 -0
- package/dist/_shadcn/ui/checkbox.d.ts.map +1 -0
- package/dist/_shadcn/ui/collapsible.d.ts +6 -0
- package/dist/_shadcn/ui/collapsible.d.ts.map +1 -0
- package/dist/_shadcn/ui/command.d.ts +20 -0
- package/dist/_shadcn/ui/command.d.ts.map +1 -0
- package/dist/_shadcn/ui/dialog.d.ts +14 -0
- package/dist/_shadcn/ui/dialog.d.ts.map +1 -0
- package/dist/_shadcn/ui/dropdown-menu.d.ts +33 -0
- package/dist/_shadcn/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/_shadcn/ui/hover-card.d.ts +7 -0
- package/dist/_shadcn/ui/hover-card.d.ts.map +1 -0
- package/dist/_shadcn/ui/input-group.d.ts +17 -0
- package/dist/_shadcn/ui/input-group.d.ts.map +1 -0
- package/dist/_shadcn/ui/input.d.ts +7 -0
- package/dist/_shadcn/ui/input.d.ts.map +1 -0
- package/dist/_shadcn/ui/label.d.ts +5 -0
- package/dist/_shadcn/ui/label.d.ts.map +1 -0
- package/dist/_shadcn/ui/map-leaflet-imports.d.ts +7 -0
- package/dist/_shadcn/ui/map-leaflet-imports.d.ts.map +1 -0
- package/dist/_shadcn/ui/map.d.ts +115 -0
- package/dist/_shadcn/ui/map.d.ts.map +1 -0
- package/dist/_shadcn/ui/place-autocomplete.d.ts +64 -0
- package/dist/_shadcn/ui/place-autocomplete.d.ts.map +1 -0
- package/dist/_shadcn/ui/popover.d.ts +8 -0
- package/dist/_shadcn/ui/popover.d.ts.map +1 -0
- package/dist/_shadcn/ui/radio-group.d.ts +6 -0
- package/dist/_shadcn/ui/radio-group.d.ts.map +1 -0
- package/dist/_shadcn/ui/select.d.ts +14 -0
- package/dist/_shadcn/ui/select.d.ts.map +1 -0
- package/dist/_shadcn/ui/separator.d.ts +5 -0
- package/dist/_shadcn/ui/separator.d.ts.map +1 -0
- package/dist/_shadcn/ui/sheet.d.ts +14 -0
- package/dist/_shadcn/ui/sheet.d.ts.map +1 -0
- package/dist/_shadcn/ui/skeleton.d.ts +3 -0
- package/dist/_shadcn/ui/skeleton.d.ts.map +1 -0
- package/dist/_shadcn/ui/sonner.d.ts +5 -0
- package/dist/_shadcn/ui/sonner.d.ts.map +1 -0
- package/dist/_shadcn/ui/spinner.d.ts +3 -0
- package/dist/_shadcn/ui/spinner.d.ts.map +1 -0
- package/dist/_shadcn/ui/switch.d.ts +5 -0
- package/dist/_shadcn/ui/switch.d.ts.map +1 -0
- package/dist/_shadcn/ui/table.d.ts +11 -0
- package/dist/_shadcn/ui/table.d.ts.map +1 -0
- package/dist/_shadcn/ui/tabs.d.ts +13 -0
- package/dist/_shadcn/ui/tabs.d.ts.map +1 -0
- package/dist/_shadcn/ui/textarea.d.ts +4 -0
- package/dist/_shadcn/ui/textarea.d.ts.map +1 -0
- package/dist/_shadcn/ui/tooltip.d.ts +8 -0
- package/dist/_shadcn/ui/tooltip.d.ts.map +1 -0
- package/dist/_shadcn/ui/visuallyhidden.d.ts +4 -0
- package/dist/_shadcn/ui/visuallyhidden.d.ts.map +1 -0
- package/dist/{close.icon-DgjsP0sw.mjs → close.icon-chkXPAUC.mjs} +2 -3
- package/dist/cn-DWCc1QRE.mjs +10 -0
- package/dist/components/base/alert/alert.d.ts +21 -0
- package/dist/components/base/alert/alert.d.ts.map +1 -0
- package/dist/components/base/alert/index.d.ts +2 -0
- package/dist/components/base/alert/index.d.ts.map +1 -0
- package/dist/components/base/badge/badge.d.ts +17 -0
- package/dist/components/base/badge/badge.d.ts.map +1 -0
- package/dist/components/base/badge/index.d.ts +2 -0
- package/dist/components/base/badge/index.d.ts.map +1 -0
- package/dist/components/base/breadcrumb/index.d.ts +2 -0
- package/dist/components/base/breadcrumb/index.d.ts.map +1 -0
- package/dist/components/base/button/button.d.ts +24 -0
- package/dist/components/base/button/button.d.ts.map +1 -0
- package/dist/components/base/button/index.d.ts +5 -0
- package/dist/components/base/button/index.d.ts.map +1 -0
- package/dist/components/base/button/link-button.d.ts +19 -0
- package/dist/components/base/button/link-button.d.ts.map +1 -0
- package/dist/components/base/button-group/index.d.ts +2 -0
- package/dist/components/base/button-group/index.d.ts.map +1 -0
- package/dist/components/base/calendar/calendar.d.ts +10 -0
- package/dist/components/base/calendar/calendar.d.ts.map +1 -0
- package/dist/components/base/calendar/index.d.ts +2 -0
- package/dist/components/base/calendar/index.d.ts.map +1 -0
- package/dist/components/base/card/card.d.ts +8 -0
- package/dist/components/base/card/card.d.ts.map +1 -0
- package/dist/components/base/card/index.d.ts +2 -0
- package/dist/components/base/card/index.d.ts.map +1 -0
- package/dist/components/base/chart/index.d.ts +2 -0
- package/dist/components/base/chart/index.d.ts.map +1 -0
- package/dist/components/base/checkbox/checkbox.d.ts +10 -0
- package/dist/components/base/checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/base/checkbox/index.d.ts +2 -0
- package/dist/components/base/checkbox/index.d.ts.map +1 -0
- package/dist/components/base/collapsible/index.d.ts +2 -0
- package/dist/components/base/collapsible/index.d.ts.map +1 -0
- package/dist/components/base/command/index.d.ts +2 -0
- package/dist/components/base/command/index.d.ts.map +1 -0
- package/dist/components/base/dialog/dialog.d.ts +46 -0
- package/dist/components/base/dialog/dialog.d.ts.map +1 -0
- package/dist/components/base/dialog/index.d.ts +3 -0
- package/dist/components/base/dialog/index.d.ts.map +1 -0
- package/dist/components/base/hover-card/index.d.ts +2 -0
- package/dist/components/base/hover-card/index.d.ts.map +1 -0
- package/dist/components/base/index.d.ts +38 -0
- package/dist/components/base/index.d.ts.map +1 -0
- package/dist/components/base/input/index.d.ts +2 -0
- package/dist/components/base/input/index.d.ts.map +1 -0
- package/dist/components/base/input/input.d.ts +9 -0
- package/dist/components/base/input/input.d.ts.map +1 -0
- package/dist/components/base/input-group/index.d.ts +2 -0
- package/dist/components/base/input-group/index.d.ts.map +1 -0
- package/dist/components/base/label/index.d.ts +17 -0
- package/dist/components/base/label/index.d.ts.map +1 -0
- package/dist/components/base/label/label.d.ts +26 -0
- package/dist/components/base/label/label.d.ts.map +1 -0
- package/dist/components/base/map/index.d.ts +2 -0
- package/dist/components/base/map/index.d.ts.map +1 -0
- package/dist/components/base/place-autocomplete/index.d.ts +2 -0
- package/dist/components/base/place-autocomplete/index.d.ts.map +1 -0
- package/dist/components/base/popover/index.d.ts +2 -0
- package/dist/components/base/popover/index.d.ts.map +1 -0
- package/dist/components/base/radio-group/index.d.ts +2 -0
- package/dist/components/base/radio-group/index.d.ts.map +1 -0
- package/dist/components/base/radio-group/radio-group.d.ts +16 -0
- package/dist/components/base/radio-group/radio-group.d.ts.map +1 -0
- package/dist/components/base/select/index.d.ts +2 -0
- package/dist/components/base/select/index.d.ts.map +1 -0
- package/dist/components/base/select/select.d.ts +54 -0
- package/dist/components/base/select/select.d.ts.map +1 -0
- package/dist/components/base/separator/index.d.ts +2 -0
- package/dist/components/base/separator/index.d.ts.map +1 -0
- package/dist/components/base/sheet/index.d.ts +2 -0
- package/dist/components/base/sheet/index.d.ts.map +1 -0
- package/dist/components/base/sheet/sheet.d.ts +23 -0
- package/dist/components/base/sheet/sheet.d.ts.map +1 -0
- package/dist/components/base/skeleton/index.d.ts +2 -0
- package/dist/components/base/skeleton/index.d.ts.map +1 -0
- package/dist/components/base/spinner/index.d.ts +2 -0
- package/dist/components/base/spinner/index.d.ts.map +1 -0
- package/dist/components/base/switch/index.d.ts +2 -0
- package/dist/components/base/switch/index.d.ts.map +1 -0
- package/dist/components/base/switch/switch.d.ts +10 -0
- package/dist/components/base/switch/switch.d.ts.map +1 -0
- package/dist/components/base/table/index.d.ts +2 -0
- package/dist/components/base/table/index.d.ts.map +1 -0
- package/dist/components/base/tabs/index.d.ts +2 -0
- package/dist/components/base/tabs/index.d.ts.map +1 -0
- package/dist/components/base/tabs/tabs.d.ts +22 -0
- package/dist/components/base/tabs/tabs.d.ts.map +1 -0
- package/dist/components/base/textarea/index.d.ts +2 -0
- package/dist/components/base/textarea/index.d.ts.map +1 -0
- package/dist/components/base/textarea/textarea.d.ts +9 -0
- package/dist/components/base/textarea/textarea.d.ts.map +1 -0
- package/dist/components/base/tooltip/index.d.ts +2 -0
- package/dist/components/base/tooltip/index.d.ts.map +1 -0
- package/dist/components/base/tooltip/tooltip.d.ts +17 -0
- package/dist/components/base/tooltip/tooltip.d.ts.map +1 -0
- package/dist/components/base/typography/index.d.ts +2 -0
- package/dist/components/base/typography/index.d.ts.map +1 -0
- package/dist/components/base/typography/typography.d.ts +1182 -0
- package/dist/components/base/typography/typography.d.ts.map +1 -0
- package/dist/components/base/visuallyhidden/index.d.ts +2 -0
- package/dist/components/base/visuallyhidden/index.d.ts.map +1 -0
- package/dist/components/features/autocomplete/autocomplete.d.ts +34 -0
- package/dist/components/features/autocomplete/autocomplete.d.ts.map +1 -0
- package/dist/components/features/autocomplete/autocomplete.types.d.ts +71 -0
- package/dist/components/features/autocomplete/autocomplete.types.d.ts.map +1 -0
- package/dist/components/features/autocomplete/index.d.ts +3 -0
- package/dist/components/features/autocomplete/index.d.ts.map +1 -0
- package/dist/components/features/avatar-stack/avatar-stack.d.ts +17 -0
- package/dist/components/features/avatar-stack/avatar-stack.d.ts.map +1 -0
- package/dist/components/features/avatar-stack/index.d.ts +2 -0
- package/dist/components/features/avatar-stack/index.d.ts.map +1 -0
- package/dist/components/features/calendar-date-picker/calendar-date-picker.d.ts +41 -0
- package/dist/components/features/calendar-date-picker/calendar-date-picker.d.ts.map +1 -0
- package/dist/components/features/calendar-date-picker/index.d.ts +2 -0
- package/dist/components/features/calendar-date-picker/index.d.ts.map +1 -0
- package/dist/components/features/dropdown/dropdown.d.ts +31 -0
- package/dist/components/features/dropdown/dropdown.d.ts.map +1 -0
- package/dist/components/features/dropdown/index.d.ts +2 -0
- package/dist/components/features/dropdown/index.d.ts.map +1 -0
- package/dist/components/features/dropzone/dropzone.d.ts +28 -0
- package/dist/components/features/dropzone/dropzone.d.ts.map +1 -0
- package/dist/components/features/dropzone/index.d.ts +3 -0
- package/dist/components/features/dropzone/index.d.ts.map +1 -0
- package/dist/components/features/empty-content/empty-content.d.ts +29 -0
- package/dist/components/features/empty-content/empty-content.d.ts.map +1 -0
- package/dist/components/features/empty-content/index.d.ts +3 -0
- package/dist/components/features/empty-content/index.d.ts.map +1 -0
- package/dist/components/features/file-input-button/file-input-button.d.ts +33 -0
- package/dist/components/features/file-input-button/file-input-button.d.ts.map +1 -0
- package/dist/components/features/file-input-button/index.d.ts +2 -0
- package/dist/components/features/file-input-button/index.d.ts.map +1 -0
- package/dist/components/features/form/components/form-autocomplete.d.ts +44 -0
- package/dist/components/features/form/components/form-autocomplete.d.ts.map +1 -0
- package/dist/components/features/form/components/form-button.d.ts +23 -0
- package/dist/components/features/form/components/form-button.d.ts.map +1 -0
- package/dist/components/features/form/components/form-checkbox.d.ts +18 -0
- package/dist/components/features/form/components/form-checkbox.d.ts.map +1 -0
- package/dist/components/features/form/components/form-copy-box.d.ts +41 -0
- package/dist/components/features/form/components/form-copy-box.d.ts.map +1 -0
- package/dist/components/features/form/components/form-custom.d.ts +27 -0
- package/dist/components/features/form/components/form-custom.d.ts.map +1 -0
- package/dist/components/features/form/components/form-description.d.ts +19 -0
- package/dist/components/features/form/components/form-description.d.ts.map +1 -0
- package/dist/components/features/form/components/form-dialog.d.ts +58 -0
- package/dist/components/features/form/components/form-dialog.d.ts.map +1 -0
- package/dist/components/features/form/components/form-error.d.ts +29 -0
- package/dist/components/features/form/components/form-error.d.ts.map +1 -0
- package/dist/components/features/form/components/form-field-array.d.ts +40 -0
- package/dist/components/features/form/components/form-field-array.d.ts.map +1 -0
- package/dist/components/features/form/components/form-field.d.ts +40 -0
- package/dist/components/features/form/components/form-field.d.ts.map +1 -0
- package/dist/components/features/form/components/form-input-group.d.ts +21 -0
- package/dist/components/features/form/components/form-input-group.d.ts.map +1 -0
- package/dist/components/features/form/components/form-input.d.ts +21 -0
- package/dist/components/features/form/components/form-input.d.ts.map +1 -0
- package/dist/components/features/form/components/form-radio-group.d.ts +34 -0
- package/dist/components/features/form/components/form-radio-group.d.ts.map +1 -0
- package/dist/components/features/form/components/form-root.d.ts +49 -0
- package/dist/components/features/form/components/form-root.d.ts.map +1 -0
- package/dist/components/features/form/components/form-select.d.ts +34 -0
- package/dist/components/features/form/components/form-select.d.ts.map +1 -0
- package/dist/components/features/form/components/form-submit.d.ts +16 -0
- package/dist/components/features/form/components/form-submit.d.ts.map +1 -0
- package/dist/components/features/form/components/form-switch.d.ts +18 -0
- package/dist/components/features/form/components/form-switch.d.ts.map +1 -0
- package/dist/components/features/form/components/form-textarea.d.ts +21 -0
- package/dist/components/features/form/components/form-textarea.d.ts.map +1 -0
- package/dist/components/features/form/components/form-when.d.ts +34 -0
- package/dist/components/features/form/components/form-when.d.ts.map +1 -0
- package/dist/components/features/form/components/index.d.ts +20 -0
- package/dist/components/features/form/components/index.d.ts.map +1 -0
- package/dist/components/features/form/components/stepper/form-step.d.ts +22 -0
- package/dist/components/features/form/components/stepper/form-step.d.ts.map +1 -0
- package/dist/components/features/form/components/stepper/form-stepper.d.ts +71 -0
- package/dist/components/features/form/components/stepper/form-stepper.d.ts.map +1 -0
- package/dist/components/features/form/components/stepper/index.d.ts +5 -0
- package/dist/components/features/form/components/stepper/index.d.ts.map +1 -0
- package/dist/components/features/form/components/stepper/stepper-controls.d.ts +32 -0
- package/dist/components/features/form/components/stepper/stepper-controls.d.ts.map +1 -0
- package/dist/components/features/form/components/stepper/stepper-navigation.d.ts +17 -0
- package/dist/components/features/form/components/stepper/stepper-navigation.d.ts.map +1 -0
- package/dist/components/features/form/context/field-context.d.ts +16 -0
- package/dist/components/features/form/context/field-context.d.ts.map +1 -0
- package/dist/components/features/form/context/form-context.d.ts +20 -0
- package/dist/components/features/form/context/form-context.d.ts.map +1 -0
- package/dist/components/features/form/context/index.d.ts +3 -0
- package/dist/components/features/form/context/index.d.ts.map +1 -0
- package/dist/components/features/form/hooks/index.d.ts +6 -0
- package/dist/components/features/form/hooks/index.d.ts.map +1 -0
- package/dist/components/features/form/hooks/use-field-context.d.ts +24 -0
- package/dist/components/features/form/hooks/use-field-context.d.ts.map +1 -0
- package/dist/components/features/form/hooks/use-field.d.ts +30 -0
- package/dist/components/features/form/hooks/use-field.d.ts.map +1 -0
- package/dist/components/features/form/hooks/use-form-context.d.ts +19 -0
- package/dist/components/features/form/hooks/use-form-context.d.ts.map +1 -0
- package/dist/components/features/form/hooks/use-stepper.d.ts +56 -0
- package/dist/components/features/form/hooks/use-stepper.d.ts.map +1 -0
- package/dist/components/features/form/hooks/use-watch.d.ts +41 -0
- package/dist/components/features/form/hooks/use-watch.d.ts.map +1 -0
- package/dist/components/features/form/index.d.ts +133 -0
- package/dist/components/features/form/index.d.ts.map +1 -0
- package/dist/components/features/form/types/index.d.ts +601 -0
- package/dist/components/features/form/types/index.d.ts.map +1 -0
- package/dist/components/features/grid/components/col.d.ts +5 -0
- package/dist/components/features/grid/components/col.d.ts.map +1 -0
- package/dist/components/features/grid/components/index.d.ts +7 -0
- package/dist/components/features/grid/components/index.d.ts.map +1 -0
- package/dist/components/features/grid/components/row.d.ts +6 -0
- package/dist/components/features/grid/components/row.d.ts.map +1 -0
- package/dist/components/features/grid/constants/grid.constants.d.ts +22 -0
- package/dist/components/features/grid/constants/grid.constants.d.ts.map +1 -0
- package/dist/components/features/grid/index.d.ts +7 -0
- package/dist/components/features/grid/index.d.ts.map +1 -0
- package/dist/components/features/grid/types/grid.types.d.ts +43 -0
- package/dist/components/features/grid/types/grid.types.d.ts.map +1 -0
- package/dist/components/features/grid/utils/responsive.d.ts +10 -0
- package/dist/components/features/grid/utils/responsive.d.ts.map +1 -0
- package/dist/components/features/index.d.ts +27 -0
- package/dist/components/features/index.d.ts.map +1 -0
- package/dist/components/features/input-number/index.d.ts +2 -0
- package/dist/components/features/input-number/index.d.ts.map +1 -0
- package/dist/components/features/input-number/input-number.d.ts +22 -0
- package/dist/components/features/input-number/input-number.d.ts.map +1 -0
- package/dist/components/features/input-with-addons/index.d.ts +2 -0
- package/dist/components/features/input-with-addons/index.d.ts.map +1 -0
- package/dist/components/features/input-with-addons/input-with-addons.d.ts +14 -0
- package/dist/components/features/input-with-addons/input-with-addons.d.ts.map +1 -0
- package/dist/components/features/loader-overlay/index.d.ts +2 -0
- package/dist/components/features/loader-overlay/index.d.ts.map +1 -0
- package/dist/components/features/loader-overlay/loader-overlay.d.ts +5 -0
- package/dist/components/features/loader-overlay/loader-overlay.d.ts.map +1 -0
- package/dist/components/features/more-actions/index.d.ts +3 -0
- package/dist/components/features/more-actions/index.d.ts.map +1 -0
- package/dist/components/features/more-actions/more-actions.d.ts +19 -0
- package/dist/components/features/more-actions/more-actions.d.ts.map +1 -0
- package/dist/components/features/nprogress/index.d.ts +4 -0
- package/dist/components/features/nprogress/index.d.ts.map +1 -0
- package/dist/components/features/page-title/index.d.ts +3 -0
- package/dist/components/features/page-title/index.d.ts.map +1 -0
- package/dist/components/features/page-title/page-title.d.ts +12 -0
- package/dist/components/features/page-title/page-title.d.ts.map +1 -0
- package/dist/components/features/sidebar/app-sidebar.d.ts +14 -0
- package/dist/components/features/sidebar/app-sidebar.d.ts.map +1 -0
- package/dist/components/features/sidebar/index.d.ts +4 -0
- package/dist/components/features/sidebar/index.d.ts.map +1 -0
- package/dist/components/features/sidebar/nav-main.d.ts +36 -0
- package/dist/components/features/sidebar/nav-main.d.ts.map +1 -0
- package/dist/components/features/sidebar/sidebar.d.ts +85 -0
- package/dist/components/features/sidebar/sidebar.d.ts.map +1 -0
- package/dist/components/features/stepper/index.d.ts +2 -0
- package/dist/components/features/stepper/index.d.ts.map +1 -0
- package/dist/components/features/stepper/stepper.d.ts +42 -0
- package/dist/components/features/stepper/stepper.d.ts.map +1 -0
- package/dist/components/features/tag-input/index.d.ts +2 -0
- package/dist/components/features/tag-input/index.d.ts.map +1 -0
- package/dist/components/features/tag-input/tag-input.d.ts +38 -0
- package/dist/components/features/tag-input/tag-input.d.ts.map +1 -0
- package/dist/components/features/task-queue/constants.d.ts +8 -0
- package/dist/components/features/task-queue/constants.d.ts.map +1 -0
- package/dist/components/features/task-queue/core/index.d.ts +10 -0
- package/dist/components/features/task-queue/core/index.d.ts.map +1 -0
- package/dist/components/features/task-queue/core/task-panel-actions.d.ts +7 -0
- package/dist/components/features/task-queue/core/task-panel-actions.d.ts.map +1 -0
- package/dist/components/features/task-queue/core/task-panel-counter.d.ts +10 -0
- package/dist/components/features/task-queue/core/task-panel-counter.d.ts.map +1 -0
- package/dist/components/features/task-queue/core/task-panel-header.d.ts +2 -0
- package/dist/components/features/task-queue/core/task-panel-header.d.ts.map +1 -0
- package/dist/components/features/task-queue/core/task-panel-item.d.ts +9 -0
- package/dist/components/features/task-queue/core/task-panel-item.d.ts.map +1 -0
- package/dist/components/features/task-queue/core/task-panel.d.ts +6 -0
- package/dist/components/features/task-queue/core/task-panel.d.ts.map +1 -0
- package/dist/components/features/task-queue/core/task-queue-dropdown.d.ts +2 -0
- package/dist/components/features/task-queue/core/task-queue-dropdown.d.ts.map +1 -0
- package/dist/components/features/task-queue/core/task-queue-trigger.d.ts +9 -0
- package/dist/components/features/task-queue/core/task-queue-trigger.d.ts.map +1 -0
- package/dist/components/features/task-queue/core/task-summary-dialog.d.ts +24 -0
- package/dist/components/features/task-queue/core/task-summary-dialog.d.ts.map +1 -0
- package/dist/components/features/task-queue/engine/executor.d.ts +14 -0
- package/dist/components/features/task-queue/engine/executor.d.ts.map +1 -0
- package/dist/components/features/task-queue/engine/index.d.ts +5 -0
- package/dist/components/features/task-queue/engine/index.d.ts.map +1 -0
- package/dist/components/features/task-queue/engine/queue.d.ts +42 -0
- package/dist/components/features/task-queue/engine/queue.d.ts.map +1 -0
- package/dist/components/features/task-queue/engine/storage/detect-storage.d.ts +19 -0
- package/dist/components/features/task-queue/engine/storage/detect-storage.d.ts.map +1 -0
- package/dist/components/features/task-queue/engine/storage/index.d.ts +6 -0
- package/dist/components/features/task-queue/engine/storage/index.d.ts.map +1 -0
- package/dist/components/features/task-queue/engine/storage/local-storage.d.ts +12 -0
- package/dist/components/features/task-queue/engine/storage/local-storage.d.ts.map +1 -0
- package/dist/components/features/task-queue/engine/storage/memory-storage.d.ts +18 -0
- package/dist/components/features/task-queue/engine/storage/memory-storage.d.ts.map +1 -0
- package/dist/components/features/task-queue/engine/storage/redis-storage.d.ts +23 -0
- package/dist/components/features/task-queue/engine/storage/redis-storage.d.ts.map +1 -0
- package/dist/components/features/task-queue/engine/storage/storage.d.ts +2 -0
- package/dist/components/features/task-queue/engine/storage/storage.d.ts.map +1 -0
- package/dist/components/features/task-queue/hooks/index.d.ts +3 -0
- package/dist/components/features/task-queue/hooks/index.d.ts.map +1 -0
- package/dist/components/features/task-queue/hooks/use-task-queue.d.ts +3 -0
- package/dist/components/features/task-queue/hooks/use-task-queue.d.ts.map +1 -0
- package/dist/components/features/task-queue/hooks/use-task-scope.d.ts +52 -0
- package/dist/components/features/task-queue/hooks/use-task-scope.d.ts.map +1 -0
- package/dist/components/features/task-queue/index.d.ts +9 -0
- package/dist/components/features/task-queue/index.d.ts.map +1 -0
- package/dist/components/features/task-queue/provider/index.d.ts +2 -0
- package/dist/components/features/task-queue/provider/index.d.ts.map +1 -0
- package/dist/components/features/task-queue/provider/task-queue-provider.d.ts +14 -0
- package/dist/components/features/task-queue/provider/task-queue-provider.d.ts.map +1 -0
- package/dist/components/features/task-queue/types.d.ts +213 -0
- package/dist/components/features/task-queue/types.d.ts.map +1 -0
- package/dist/components/features/task-queue/utils/index.d.ts +37 -0
- package/dist/components/features/task-queue/utils/index.d.ts.map +1 -0
- package/dist/components/features/time-range-picker/components/absolute-range-panel.d.ts +18 -0
- package/dist/components/features/time-range-picker/components/absolute-range-panel.d.ts.map +1 -0
- package/dist/components/features/time-range-picker/components/index.d.ts +4 -0
- package/dist/components/features/time-range-picker/components/index.d.ts.map +1 -0
- package/dist/components/features/time-range-picker/components/quick-ranges-panel.d.ts +10 -0
- package/dist/components/features/time-range-picker/components/quick-ranges-panel.d.ts.map +1 -0
- package/dist/components/features/time-range-picker/components/timezone-selector.d.ts +10 -0
- package/dist/components/features/time-range-picker/components/timezone-selector.d.ts.map +1 -0
- package/dist/components/features/time-range-picker/index.d.ts +8 -0
- package/dist/components/features/time-range-picker/index.d.ts.map +1 -0
- package/dist/components/features/time-range-picker/presets.d.ts +29 -0
- package/dist/components/features/time-range-picker/presets.d.ts.map +1 -0
- package/dist/components/features/time-range-picker/time-range-picker.d.ts +31 -0
- package/dist/components/features/time-range-picker/time-range-picker.d.ts.map +1 -0
- package/dist/components/features/time-range-picker/types.d.ts +59 -0
- package/dist/components/features/time-range-picker/types.d.ts.map +1 -0
- package/dist/components/features/time-range-picker/utils/format-display.d.ts +20 -0
- package/dist/components/features/time-range-picker/utils/format-display.d.ts.map +1 -0
- package/dist/components/features/time-range-picker/utils/index.d.ts +4 -0
- package/dist/components/features/time-range-picker/utils/index.d.ts.map +1 -0
- package/dist/components/features/time-range-picker/utils/timezone.d.ts +51 -0
- package/dist/components/features/time-range-picker/utils/timezone.d.ts.map +1 -0
- package/dist/components/features/time-range-picker/utils/to-api-format.d.ts +13 -0
- package/dist/components/features/time-range-picker/utils/to-api-format.d.ts.map +1 -0
- package/dist/components/features/toast/headless-toast.d.ts +10 -0
- package/dist/components/features/toast/headless-toast.d.ts.map +1 -0
- package/dist/components/features/toast/index.d.ts +4 -0
- package/dist/components/features/toast/index.d.ts.map +1 -0
- package/dist/components/features/toast/toast.d.ts +9 -0
- package/dist/components/features/toast/toast.d.ts.map +1 -0
- package/dist/components/features/toast/toaster.d.ts +10 -0
- package/dist/components/features/toast/toaster.d.ts.map +1 -0
- package/dist/components/features/toast/types.d.ts +7 -0
- package/dist/components/features/toast/types.d.ts.map +1 -0
- package/dist/components/features/toast/use-toast.d.ts +3 -0
- package/dist/components/features/toast/use-toast.d.ts.map +1 -0
- package/dist/components/icons/close.icon.d.ts +5 -0
- package/dist/components/icons/close.icon.d.ts.map +1 -0
- package/dist/components/icons/icon-wrapper.d.ts +7 -0
- package/dist/components/icons/icon-wrapper.d.ts.map +1 -0
- package/dist/components/icons/index.d.ts +4 -0
- package/dist/components/icons/index.d.ts.map +1 -0
- package/dist/components/icons/spinner.icon.d.ts +13 -0
- package/dist/components/icons/spinner.icon.d.ts.map +1 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.mjs +5 -249
- package/dist/components/themes/client-only.d.ts +8 -0
- package/dist/components/themes/client-only.d.ts.map +1 -0
- package/dist/components/themes/index.d.ts +5 -0
- package/dist/components/themes/index.d.ts.map +1 -0
- package/dist/components/themes/script.d.ts +2 -0
- package/dist/components/themes/script.d.ts.map +1 -0
- package/dist/components/themes/theme-script.d.ts +18 -0
- package/dist/components/themes/theme-script.d.ts.map +1 -0
- package/dist/components/themes/theme.provider.d.ts +4 -0
- package/dist/components/themes/theme.provider.d.ts.map +1 -0
- package/dist/components/themes/types.d.ts +30 -0
- package/dist/components/themes/types.d.ts.map +1 -0
- package/dist/datum.provider-D6VMjSV0.mjs +1 -2
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.mjs +1 -1
- package/dist/hooks/use-copy-to-clipboard.d.ts +8 -0
- package/dist/hooks/use-copy-to-clipboard.d.ts.map +1 -0
- package/dist/hooks/use-debounce.d.ts +8 -0
- package/dist/hooks/use-debounce.d.ts.map +1 -0
- package/dist/hooks/use-theme.d.ts +2 -0
- package/dist/hooks/use-theme.d.ts.map +1 -0
- package/dist/{icon-wrapper-BTllM5Re.mjs → icon-wrapper-BgPkifId.mjs} +2 -3
- package/dist/icons/index.mjs +2 -2
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +6 -256
- package/dist/map-leaflet-imports-OKaoesjZ.mjs +8 -0
- package/dist/providers/datum.provider.d.ts +20 -0
- package/dist/providers/datum.provider.d.ts.map +1 -0
- package/dist/providers/index.d.ts +3 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/style.css +151 -2
- package/dist/{theme-script-B_TkiYs4.mjs → theme-script-DHyLk25i.mjs} +2679 -392
- package/dist/theme.provider-DpFLwtHe.mjs +1 -2
- package/dist/{use-copy-to-clipboard-D5U8bWsn.mjs → use-copy-to-clipboard-BfrpD6G8.mjs} +3 -4
- package/dist/use-debounce-BYB-jPeX.mjs +1 -2
- package/dist/utils/cn.d.ts +3 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.mjs +1 -1
- package/package.json +122 -11
- package/dist/chunk-CtajNgzt.mjs +0 -36
- package/dist/close.icon-DgjsP0sw.mjs.map +0 -1
- package/dist/components/index.d.mts +0 -27
- package/dist/components/index.d.mts.map +0 -1
- package/dist/components/index.mjs.map +0 -1
- package/dist/datum.provider-CsG2KNNc.d.mts +0 -30
- package/dist/datum.provider-CsG2KNNc.d.mts.map +0 -1
- package/dist/datum.provider-D6VMjSV0.mjs.map +0 -1
- package/dist/hooks/index.d.mts +0 -3
- package/dist/icon-wrapper-BTllM5Re.mjs.map +0 -1
- package/dist/icons/index.d.mts +0 -3
- package/dist/index-DH2XEEjO.d.mts +0 -3995
- package/dist/index-DH2XEEjO.d.mts.map +0 -1
- package/dist/index.d.mts +0 -31
- package/dist/index.d.mts.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/dist/providers/index.d.mts +0 -3
- package/dist/spinner.icon-q9zisVlw.d.mts +0 -46
- package/dist/spinner.icon-q9zisVlw.d.mts.map +0 -1
- package/dist/style.css.map +0 -1
- package/dist/theme-script-B_TkiYs4.mjs.map +0 -1
- package/dist/theme.provider-DpFLwtHe.mjs.map +0 -1
- package/dist/types-BoL47uxV.d.mts +0 -34
- package/dist/types-BoL47uxV.d.mts.map +0 -1
- package/dist/use-copy-to-clipboard-D5U8bWsn.mjs.map +0 -1
- package/dist/use-debounce-BYB-jPeX.mjs.map +0 -1
- package/dist/use-debounce-Dg9zNz9U.d.mts +0 -19
- package/dist/use-debounce-Dg9zNz9U.d.mts.map +0 -1
- package/dist/utils/index.d.mts +0 -3
|
@@ -0,0 +1,601 @@
|
|
|
1
|
+
import type { FieldMetadata, FormMetadata } from '@conform-to/react';
|
|
2
|
+
import type { z } from 'zod';
|
|
3
|
+
import type { ButtonProps } from '../../..';
|
|
4
|
+
/**
|
|
5
|
+
* Optional telemetry interface for form lifecycle tracking.
|
|
6
|
+
* When provided, callbacks fire on form events (submit, success, error, etc.).
|
|
7
|
+
* When omitted, forms work silently without any tracking.
|
|
8
|
+
*
|
|
9
|
+
* @example Wiring Sentry in the consuming app
|
|
10
|
+
* ```tsx
|
|
11
|
+
* const sentryTelemetry: FormTelemetry = {
|
|
12
|
+
* onSubmit: ({ formName, formId }) => trackFormSubmit({ formName, formId }),
|
|
13
|
+
* onSuccess: ({ formName, formId }) => trackFormSuccess({ formName, formId }),
|
|
14
|
+
* onError: ({ formName, formId, error }) => trackFormError({ formName, formId, error }),
|
|
15
|
+
* onValidationError: ({ formName, formId, fieldErrors }) => trackFormValidationError({ formName, formId, fieldErrors }),
|
|
16
|
+
* captureError: (error, context) => Sentry.captureException(error, { extra: context }),
|
|
17
|
+
* };
|
|
18
|
+
*
|
|
19
|
+
* <Form.Root schema={schema} telemetry={sentryTelemetry} onSubmit={handleSubmit} />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export interface FormTelemetry {
|
|
23
|
+
/** Called when a form submission is attempted */
|
|
24
|
+
onSubmit?: (info: {
|
|
25
|
+
formName: string;
|
|
26
|
+
formId?: string;
|
|
27
|
+
}) => void;
|
|
28
|
+
/** Called after a successful form submission */
|
|
29
|
+
onSuccess?: (info: {
|
|
30
|
+
formName: string;
|
|
31
|
+
formId?: string;
|
|
32
|
+
}) => void;
|
|
33
|
+
/** Called when a form submission throws an error */
|
|
34
|
+
onError?: (info: {
|
|
35
|
+
formName: string;
|
|
36
|
+
formId?: string;
|
|
37
|
+
error: Error;
|
|
38
|
+
}) => void;
|
|
39
|
+
/** Called when form validation fails */
|
|
40
|
+
onValidationError?: (info: {
|
|
41
|
+
formName: string;
|
|
42
|
+
formId?: string;
|
|
43
|
+
fieldErrors: Record<string, string[]>;
|
|
44
|
+
}) => void;
|
|
45
|
+
/** Called to capture an error with additional context (e.g. Sentry) */
|
|
46
|
+
captureError?: (error: Error, context: Record<string, unknown>) => void;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Render props passed to Form.Root when using render function pattern
|
|
50
|
+
*/
|
|
51
|
+
export interface FormRootRenderProps {
|
|
52
|
+
/** Conform form metadata (for form.update, form.reset, etc.) */
|
|
53
|
+
form: FormMetadata<Record<string, unknown>>;
|
|
54
|
+
/** All form fields with their metadata and values */
|
|
55
|
+
fields: Record<string, FieldMetadata<unknown>>;
|
|
56
|
+
/** Whether the form is currently submitting */
|
|
57
|
+
isSubmitting: boolean;
|
|
58
|
+
/** Programmatically submit the form */
|
|
59
|
+
submit: () => void;
|
|
60
|
+
/** Reset form to default values */
|
|
61
|
+
reset: () => void;
|
|
62
|
+
}
|
|
63
|
+
export interface FormRootProps<T extends z.ZodType> {
|
|
64
|
+
/** Zod schema for validation */
|
|
65
|
+
schema: T;
|
|
66
|
+
/**
|
|
67
|
+
* Form children - can be either:
|
|
68
|
+
* - ReactNode: Standard form content
|
|
69
|
+
* - Render function: For accessing form state (form, fields, isSubmitting, etc.)
|
|
70
|
+
*
|
|
71
|
+
* @example Standard usage
|
|
72
|
+
* ```tsx
|
|
73
|
+
* <Form.Root schema={schema}>
|
|
74
|
+
* <Form.Field name="email"><Form.Input /></Form.Field>
|
|
75
|
+
* <Form.Submit>Save</Form.Submit>
|
|
76
|
+
* </Form.Root>
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
79
|
+
* @example Render function for form state access
|
|
80
|
+
* ```tsx
|
|
81
|
+
* <Form.Root schema={schema}>
|
|
82
|
+
* {({ form, fields, isSubmitting }) => (
|
|
83
|
+
* <>
|
|
84
|
+
* <Form.Field name="email"><Form.Input /></Form.Field>
|
|
85
|
+
* <Button disabled={isSubmitting} onClick={() => form.update({...})}>
|
|
86
|
+
* Cancel
|
|
87
|
+
* </Button>
|
|
88
|
+
* </>
|
|
89
|
+
* )}
|
|
90
|
+
* </Form.Root>
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
children: React.ReactNode | ((props: FormRootRenderProps) => React.ReactNode);
|
|
94
|
+
/** Client-side submit handler */
|
|
95
|
+
onSubmit?: (data: z.infer<T>) => void | Promise<void>;
|
|
96
|
+
/** React Router action path for server-side submission */
|
|
97
|
+
action?: string;
|
|
98
|
+
/** HTTP method for form submission */
|
|
99
|
+
method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
100
|
+
/**
|
|
101
|
+
* Custom form component to render (defaults to native `<form>`).
|
|
102
|
+
* Use to integrate with framework-specific forms (e.g. React Router's `<Form>`).
|
|
103
|
+
*/
|
|
104
|
+
formComponent?: React.ElementType;
|
|
105
|
+
/** Unique form ID */
|
|
106
|
+
id?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Form name for analytics and error tracking.
|
|
109
|
+
* Used in telemetry callbacks to identify which form the user interacted with.
|
|
110
|
+
* @example "http-proxy-create", "dns-zone-edit", "project-settings"
|
|
111
|
+
*/
|
|
112
|
+
name?: string;
|
|
113
|
+
/**
|
|
114
|
+
* Optional telemetry callbacks for form lifecycle tracking.
|
|
115
|
+
* When omitted, forms work silently without any tracking.
|
|
116
|
+
*/
|
|
117
|
+
telemetry?: FormTelemetry;
|
|
118
|
+
/** Default values for form fields */
|
|
119
|
+
defaultValues?: Partial<z.infer<T>>;
|
|
120
|
+
/** When to validate: onBlur, onChange, or onSubmit */
|
|
121
|
+
mode?: 'onBlur' | 'onChange' | 'onSubmit';
|
|
122
|
+
/**
|
|
123
|
+
* External submitting state - use when submission is handled externally (e.g., with useFetcher)
|
|
124
|
+
* When provided, this overrides the internal isSubmitting state
|
|
125
|
+
*/
|
|
126
|
+
isSubmitting?: boolean;
|
|
127
|
+
/** Called when validation fails */
|
|
128
|
+
onError?: (errors: z.ZodError<z.infer<T>>) => void;
|
|
129
|
+
/** Called after successful submission */
|
|
130
|
+
onSuccess?: (data: z.infer<T>) => void;
|
|
131
|
+
/** Additional CSS classes */
|
|
132
|
+
className?: string;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Render props passed to Form.Field when using render function pattern
|
|
136
|
+
*/
|
|
137
|
+
export interface FormFieldRenderProps {
|
|
138
|
+
/** Current field's Conform metadata */
|
|
139
|
+
field: FieldMetadata<unknown>;
|
|
140
|
+
/** Input control for programmatic value updates */
|
|
141
|
+
control: {
|
|
142
|
+
value: string | string[] | undefined;
|
|
143
|
+
change: (value: string | string[]) => void;
|
|
144
|
+
blur: () => void;
|
|
145
|
+
focus: () => void;
|
|
146
|
+
};
|
|
147
|
+
/** Field meta information */
|
|
148
|
+
meta: {
|
|
149
|
+
name: string;
|
|
150
|
+
id: string;
|
|
151
|
+
errors: string[] | undefined;
|
|
152
|
+
required: boolean;
|
|
153
|
+
disabled: boolean;
|
|
154
|
+
};
|
|
155
|
+
/** Access to all form fields (for multi-field scenarios) */
|
|
156
|
+
fields: Record<string, FieldMetadata<unknown>>;
|
|
157
|
+
/** Form metadata from Conform */
|
|
158
|
+
form: FormMetadata<Record<string, unknown>>;
|
|
159
|
+
/** Whether form is currently submitting */
|
|
160
|
+
isSubmitting: boolean;
|
|
161
|
+
}
|
|
162
|
+
export interface FormFieldProps {
|
|
163
|
+
/** Field name - supports nested paths like "address.city" */
|
|
164
|
+
name: string;
|
|
165
|
+
/**
|
|
166
|
+
* Form children - can be either:
|
|
167
|
+
* - ReactNode: Standard input components (Form.Input, Form.Select, etc.)
|
|
168
|
+
* - Render function: For custom components needing field access
|
|
169
|
+
*
|
|
170
|
+
* @example Standard usage
|
|
171
|
+
* ```tsx
|
|
172
|
+
* <Form.Field name="email" label="Email">
|
|
173
|
+
* <Form.Input type="email" />
|
|
174
|
+
* </Form.Field>
|
|
175
|
+
* ```
|
|
176
|
+
*
|
|
177
|
+
* @example Render function for custom components
|
|
178
|
+
* ```tsx
|
|
179
|
+
* <Form.Field name="role" label="Role">
|
|
180
|
+
* {({ control, meta, fields }) => (
|
|
181
|
+
* <CustomSelect
|
|
182
|
+
* value={control.value}
|
|
183
|
+
* onChange={control.change}
|
|
184
|
+
* />
|
|
185
|
+
* )}
|
|
186
|
+
* </Form.Field>
|
|
187
|
+
* ```
|
|
188
|
+
*/
|
|
189
|
+
children: React.ReactNode | ((props: FormFieldRenderProps) => React.ReactNode);
|
|
190
|
+
/** Field label */
|
|
191
|
+
label?: string | React.ReactNode;
|
|
192
|
+
/** Helper description below the field */
|
|
193
|
+
description?: string | React.ReactNode;
|
|
194
|
+
/** Tooltip information */
|
|
195
|
+
tooltip?: string | React.ReactNode;
|
|
196
|
+
/** Mark field as required (shows asterisk) */
|
|
197
|
+
required?: boolean;
|
|
198
|
+
/** Disable the field */
|
|
199
|
+
disabled?: boolean;
|
|
200
|
+
/** Additional CSS classes for the field wrapper */
|
|
201
|
+
className?: string;
|
|
202
|
+
/** Additional CSS classes for the label */
|
|
203
|
+
labelClassName?: string;
|
|
204
|
+
}
|
|
205
|
+
export interface FormFieldContextValue {
|
|
206
|
+
/** Field name */
|
|
207
|
+
name: string;
|
|
208
|
+
/** Field ID for accessibility */
|
|
209
|
+
id: string;
|
|
210
|
+
/** Field errors */
|
|
211
|
+
errors?: string[];
|
|
212
|
+
/** Whether the field is required */
|
|
213
|
+
required?: boolean;
|
|
214
|
+
/** Whether the field is disabled */
|
|
215
|
+
disabled?: boolean;
|
|
216
|
+
/** Conform field metadata */
|
|
217
|
+
fieldMeta: FieldMetadata<unknown>;
|
|
218
|
+
}
|
|
219
|
+
export interface FormInputProps extends Omit<React.ComponentProps<'input'>, 'name'> {
|
|
220
|
+
/** Input type */
|
|
221
|
+
type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'search' | 'date' | 'time' | 'datetime-local';
|
|
222
|
+
}
|
|
223
|
+
export interface FormTextareaProps extends Omit<React.ComponentProps<'textarea'>, 'name'> {
|
|
224
|
+
/** Number of visible rows */
|
|
225
|
+
rows?: number;
|
|
226
|
+
}
|
|
227
|
+
export interface FormSelectProps {
|
|
228
|
+
/** Placeholder text when no value selected */
|
|
229
|
+
placeholder?: string;
|
|
230
|
+
/** Disable the select */
|
|
231
|
+
disabled?: boolean;
|
|
232
|
+
/** Additional CSS classes */
|
|
233
|
+
className?: string;
|
|
234
|
+
/** Select options as children */
|
|
235
|
+
children: React.ReactNode;
|
|
236
|
+
}
|
|
237
|
+
export interface FormSelectItemProps {
|
|
238
|
+
/** Option value */
|
|
239
|
+
value: string;
|
|
240
|
+
/** Option label */
|
|
241
|
+
children: React.ReactNode;
|
|
242
|
+
/** Disable this option */
|
|
243
|
+
disabled?: boolean;
|
|
244
|
+
}
|
|
245
|
+
export interface FormCheckboxProps {
|
|
246
|
+
/** Inline label next to checkbox */
|
|
247
|
+
label?: string;
|
|
248
|
+
/** Disable the checkbox */
|
|
249
|
+
disabled?: boolean;
|
|
250
|
+
/** Additional CSS classes */
|
|
251
|
+
className?: string;
|
|
252
|
+
}
|
|
253
|
+
export interface FormSwitchProps {
|
|
254
|
+
/** Inline label next to switch */
|
|
255
|
+
label?: string;
|
|
256
|
+
/** Disable the switch */
|
|
257
|
+
disabled?: boolean;
|
|
258
|
+
/** Additional CSS classes */
|
|
259
|
+
className?: string;
|
|
260
|
+
}
|
|
261
|
+
export interface FormRadioGroupProps {
|
|
262
|
+
/** Layout orientation */
|
|
263
|
+
orientation?: 'horizontal' | 'vertical';
|
|
264
|
+
/** Disable all radio items */
|
|
265
|
+
disabled?: boolean;
|
|
266
|
+
/** Additional CSS classes */
|
|
267
|
+
className?: string;
|
|
268
|
+
/** Radio items as children */
|
|
269
|
+
children: React.ReactNode;
|
|
270
|
+
}
|
|
271
|
+
export interface FormRadioItemProps {
|
|
272
|
+
/** Radio value */
|
|
273
|
+
value: string;
|
|
274
|
+
/** Radio label */
|
|
275
|
+
label: string;
|
|
276
|
+
/** Optional description */
|
|
277
|
+
description?: string;
|
|
278
|
+
/** Disable this radio item */
|
|
279
|
+
disabled?: boolean;
|
|
280
|
+
}
|
|
281
|
+
export interface FormCopyBoxProps {
|
|
282
|
+
/** Display variant: 'default' shows Copy button, 'icon-only' shows icon */
|
|
283
|
+
variant?: 'default' | 'icon-only';
|
|
284
|
+
/** Custom className for the wrapper */
|
|
285
|
+
className?: string;
|
|
286
|
+
/** Custom className for the content area */
|
|
287
|
+
contentClassName?: string;
|
|
288
|
+
/** Custom className for the button */
|
|
289
|
+
buttonClassName?: string;
|
|
290
|
+
/** Placeholder text when value is empty */
|
|
291
|
+
placeholder?: string;
|
|
292
|
+
}
|
|
293
|
+
export interface FormSubmitProps extends ButtonProps {
|
|
294
|
+
/** Button content */
|
|
295
|
+
children: React.ReactNode;
|
|
296
|
+
/** Text to show while loading */
|
|
297
|
+
loadingText?: string;
|
|
298
|
+
}
|
|
299
|
+
export interface FormButtonProps {
|
|
300
|
+
/** Button content */
|
|
301
|
+
children: React.ReactNode;
|
|
302
|
+
/** Click handler */
|
|
303
|
+
onClick?: () => void;
|
|
304
|
+
/** Button variant */
|
|
305
|
+
type?: ButtonProps['type'];
|
|
306
|
+
/** Button theme */
|
|
307
|
+
theme?: ButtonProps['theme'];
|
|
308
|
+
/** Button size */
|
|
309
|
+
size?: ButtonProps['size'];
|
|
310
|
+
/** Disable the button */
|
|
311
|
+
disabled?: boolean;
|
|
312
|
+
/** Additional CSS classes */
|
|
313
|
+
className?: string;
|
|
314
|
+
/** Whether to disable the button when form is submitting (default: true) */
|
|
315
|
+
disableOnSubmit?: boolean;
|
|
316
|
+
}
|
|
317
|
+
export interface FormErrorProps {
|
|
318
|
+
/** Error message or render function */
|
|
319
|
+
children?: React.ReactNode | ((errors: string[]) => React.ReactNode);
|
|
320
|
+
/** Additional CSS classes */
|
|
321
|
+
className?: string;
|
|
322
|
+
}
|
|
323
|
+
export interface FormDescriptionProps {
|
|
324
|
+
/** Description content */
|
|
325
|
+
children: React.ReactNode;
|
|
326
|
+
/** Additional CSS classes */
|
|
327
|
+
className?: string;
|
|
328
|
+
}
|
|
329
|
+
export interface FormWhenProps {
|
|
330
|
+
/** Field name to watch */
|
|
331
|
+
field: string;
|
|
332
|
+
/** Render when field equals this value */
|
|
333
|
+
is?: unknown;
|
|
334
|
+
/** Render when field does not equal this value */
|
|
335
|
+
isNot?: unknown;
|
|
336
|
+
/** Render when field value is in array */
|
|
337
|
+
in?: unknown[];
|
|
338
|
+
/** Render when field value is not in array */
|
|
339
|
+
notIn?: unknown[];
|
|
340
|
+
/** Children to render conditionally */
|
|
341
|
+
children: React.ReactNode;
|
|
342
|
+
}
|
|
343
|
+
export interface FormFieldArrayProps {
|
|
344
|
+
/** Array field name */
|
|
345
|
+
name: string;
|
|
346
|
+
/** Render function with array helpers */
|
|
347
|
+
children: (props: FormFieldArrayRenderProps) => React.ReactNode;
|
|
348
|
+
}
|
|
349
|
+
export interface FormFieldArrayRenderProps {
|
|
350
|
+
/** Array of field items with id and key */
|
|
351
|
+
fields: Array<{
|
|
352
|
+
id: string;
|
|
353
|
+
key: string;
|
|
354
|
+
name: string;
|
|
355
|
+
}>;
|
|
356
|
+
/** Add a new item to the array */
|
|
357
|
+
append: (value?: Record<string, unknown>) => void;
|
|
358
|
+
/** Remove an item at index */
|
|
359
|
+
remove: (index: number) => void;
|
|
360
|
+
/** Move an item from one index to another */
|
|
361
|
+
move: (from: number, to: number) => void;
|
|
362
|
+
}
|
|
363
|
+
export interface FormCustomProps {
|
|
364
|
+
/** Render function with form context */
|
|
365
|
+
children: (context: FormCustomRenderProps) => React.ReactNode;
|
|
366
|
+
}
|
|
367
|
+
export interface FormCustomRenderProps {
|
|
368
|
+
/** Form metadata from Conform */
|
|
369
|
+
form: FormMetadata<Record<string, unknown>>;
|
|
370
|
+
/** All field metadata */
|
|
371
|
+
fields: Record<string, FieldMetadata<unknown>>;
|
|
372
|
+
/** Whether form is currently submitting */
|
|
373
|
+
isSubmitting: boolean;
|
|
374
|
+
/** Submit the form programmatically */
|
|
375
|
+
submit: () => void;
|
|
376
|
+
/** Reset the form */
|
|
377
|
+
reset: () => void;
|
|
378
|
+
}
|
|
379
|
+
export interface StepConfig {
|
|
380
|
+
/** Unique step identifier */
|
|
381
|
+
id: string;
|
|
382
|
+
/** Step label displayed in navigation */
|
|
383
|
+
label: string;
|
|
384
|
+
/** Optional step description */
|
|
385
|
+
description?: string;
|
|
386
|
+
/** Zod schema for this step's validation */
|
|
387
|
+
schema: z.ZodType;
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* Render props context passed to Form.Stepper children function
|
|
391
|
+
*/
|
|
392
|
+
export interface FormStepperRenderProps {
|
|
393
|
+
/** All step configurations */
|
|
394
|
+
steps: StepConfig[];
|
|
395
|
+
/** Current step config */
|
|
396
|
+
current: StepConfig;
|
|
397
|
+
/** Current step index (0-based) */
|
|
398
|
+
currentIndex: number;
|
|
399
|
+
/** Go to next step (triggers validation) */
|
|
400
|
+
next: () => void;
|
|
401
|
+
/** Go to previous step (no validation) */
|
|
402
|
+
prev: () => void;
|
|
403
|
+
/** Go to specific step by ID (only backwards without validation) */
|
|
404
|
+
goTo: (stepId: string) => void;
|
|
405
|
+
/** Whether current step is first */
|
|
406
|
+
isFirst: boolean;
|
|
407
|
+
/** Whether current step is last */
|
|
408
|
+
isLast: boolean;
|
|
409
|
+
/** Get data from a specific step by ID */
|
|
410
|
+
getStepData: (stepId: string) => Record<string, unknown> | undefined;
|
|
411
|
+
/** Get all data from all completed steps */
|
|
412
|
+
getAllStepData: () => Record<string, unknown>;
|
|
413
|
+
}
|
|
414
|
+
export interface FormStepperProps {
|
|
415
|
+
/** Step configurations */
|
|
416
|
+
steps: StepConfig[];
|
|
417
|
+
/** Form children - can be ReactNode or render function for accessing stepper context */
|
|
418
|
+
children: React.ReactNode | ((props: FormStepperRenderProps) => React.ReactNode);
|
|
419
|
+
/** Called when all steps are completed */
|
|
420
|
+
onComplete: (data: Record<string, unknown>) => void | Promise<void>;
|
|
421
|
+
/** Called when step changes */
|
|
422
|
+
onStepChange?: (stepId: string, direction: 'next' | 'prev') => void;
|
|
423
|
+
/** Initial step ID */
|
|
424
|
+
initialStep?: string;
|
|
425
|
+
/** Additional CSS classes */
|
|
426
|
+
className?: string;
|
|
427
|
+
}
|
|
428
|
+
export interface FormStepProps {
|
|
429
|
+
/** Step ID - must match a step in steps array */
|
|
430
|
+
id: string;
|
|
431
|
+
/** Step content */
|
|
432
|
+
children: React.ReactNode;
|
|
433
|
+
}
|
|
434
|
+
export interface StepperNavigationProps {
|
|
435
|
+
/** Navigation variant */
|
|
436
|
+
variant?: 'horizontal' | 'vertical';
|
|
437
|
+
/** Label orientation */
|
|
438
|
+
labelOrientation?: 'horizontal' | 'vertical';
|
|
439
|
+
/** Additional CSS classes */
|
|
440
|
+
className?: string;
|
|
441
|
+
}
|
|
442
|
+
export interface StepperControlsProps {
|
|
443
|
+
/** Previous button label */
|
|
444
|
+
prevLabel?: string | ((isFirst: boolean) => string);
|
|
445
|
+
/** Next button label */
|
|
446
|
+
nextLabel?: string | ((isLast: boolean) => string);
|
|
447
|
+
/** Loading text shown when submitting (only on last step) */
|
|
448
|
+
loadingText?: string;
|
|
449
|
+
/** Whether to show previous button */
|
|
450
|
+
showPrev?: boolean;
|
|
451
|
+
/** External loading state - overrides internal isSubmitting */
|
|
452
|
+
loading?: boolean;
|
|
453
|
+
/** Disable both buttons */
|
|
454
|
+
disabled?: boolean;
|
|
455
|
+
/** Callback when previous button is clicked (not on first step) */
|
|
456
|
+
onPrev?: () => void;
|
|
457
|
+
/** Callback when cancel is clicked (first step only) */
|
|
458
|
+
onCancel?: () => void;
|
|
459
|
+
/** Additional CSS classes */
|
|
460
|
+
className?: string;
|
|
461
|
+
}
|
|
462
|
+
export interface StepperContextValue {
|
|
463
|
+
/** All step configurations */
|
|
464
|
+
steps: StepConfig[];
|
|
465
|
+
/** Current step config */
|
|
466
|
+
current: StepConfig;
|
|
467
|
+
/** Current step index */
|
|
468
|
+
currentIndex: number;
|
|
469
|
+
/** Go to next step (triggers validation) */
|
|
470
|
+
next: () => void;
|
|
471
|
+
/** Go to previous step (no validation) */
|
|
472
|
+
prev: () => void;
|
|
473
|
+
/** Go to specific step by ID (only backwards without validation) */
|
|
474
|
+
goTo: (stepId: string) => void;
|
|
475
|
+
/** Whether current step is first */
|
|
476
|
+
isFirst: boolean;
|
|
477
|
+
/** Whether current step is last */
|
|
478
|
+
isLast: boolean;
|
|
479
|
+
/** Stepperize utils */
|
|
480
|
+
utils: {
|
|
481
|
+
getIndex: (id: string) => number;
|
|
482
|
+
};
|
|
483
|
+
}
|
|
484
|
+
export interface FormContextValue<T extends Record<string, unknown> = Record<string, unknown>> {
|
|
485
|
+
/** Form metadata from Conform */
|
|
486
|
+
form: FormMetadata<T>;
|
|
487
|
+
/** Field metadata accessor */
|
|
488
|
+
fields: Record<string, FieldMetadata<unknown>>;
|
|
489
|
+
/** Whether form is currently submitting */
|
|
490
|
+
isSubmitting: boolean;
|
|
491
|
+
/** Submit the form */
|
|
492
|
+
submit: () => void;
|
|
493
|
+
/** Reset the form */
|
|
494
|
+
reset: () => void;
|
|
495
|
+
/** Form ID */
|
|
496
|
+
formId: string;
|
|
497
|
+
}
|
|
498
|
+
export interface UseFieldReturn {
|
|
499
|
+
/** Field metadata */
|
|
500
|
+
field: FieldMetadata<unknown>;
|
|
501
|
+
/** Input control for programmatic updates */
|
|
502
|
+
control: {
|
|
503
|
+
value: string | undefined;
|
|
504
|
+
change: (value: string) => void;
|
|
505
|
+
blur: () => void;
|
|
506
|
+
focus: () => void;
|
|
507
|
+
};
|
|
508
|
+
/** Field meta information */
|
|
509
|
+
meta: {
|
|
510
|
+
name: string;
|
|
511
|
+
id: string;
|
|
512
|
+
errors: string[] | undefined;
|
|
513
|
+
required: boolean;
|
|
514
|
+
disabled: boolean;
|
|
515
|
+
};
|
|
516
|
+
/** Field errors */
|
|
517
|
+
errors: string[] | undefined;
|
|
518
|
+
}
|
|
519
|
+
export interface UseWatchReturn<T = unknown> {
|
|
520
|
+
/** Current field value */
|
|
521
|
+
value: T;
|
|
522
|
+
}
|
|
523
|
+
export interface FormDialogProps<T extends z.ZodType> {
|
|
524
|
+
/** Controlled open state */
|
|
525
|
+
open?: boolean;
|
|
526
|
+
/** Callback when open state changes */
|
|
527
|
+
onOpenChange?: (open: boolean) => void;
|
|
528
|
+
/** Default open state for uncontrolled usage */
|
|
529
|
+
defaultOpen?: boolean;
|
|
530
|
+
/** Dialog title */
|
|
531
|
+
title: string;
|
|
532
|
+
/** Dialog description (optional) */
|
|
533
|
+
description?: string;
|
|
534
|
+
/** Trigger element to open the dialog */
|
|
535
|
+
trigger?: React.ReactNode;
|
|
536
|
+
/** Zod schema for validation */
|
|
537
|
+
schema: T;
|
|
538
|
+
/** Default form values */
|
|
539
|
+
defaultValues?: Partial<z.infer<T>>;
|
|
540
|
+
/** Client-side submit handler */
|
|
541
|
+
onSubmit?: (data: z.infer<T>) => void | Promise<void>;
|
|
542
|
+
/** Called after successful submission */
|
|
543
|
+
onSuccess?: (data: z.infer<T>) => void;
|
|
544
|
+
/** Called when validation fails */
|
|
545
|
+
onError?: (error: z.ZodError<z.infer<T>>) => void;
|
|
546
|
+
/** Submit button text (default: "Submit") */
|
|
547
|
+
submitText?: string;
|
|
548
|
+
/** Submit button text while loading */
|
|
549
|
+
submitTextLoading?: string;
|
|
550
|
+
/** Cancel button text (default: "Cancel") */
|
|
551
|
+
cancelText?: string;
|
|
552
|
+
/** Whether to show cancel button (default: true) */
|
|
553
|
+
showCancel?: boolean;
|
|
554
|
+
/** Submit button type variant */
|
|
555
|
+
submitType?: ButtonProps['type'];
|
|
556
|
+
/**
|
|
557
|
+
* External loading state - use when submission is handled by external mutation.
|
|
558
|
+
* When provided, this overrides the internal isSubmitting state.
|
|
559
|
+
* @example
|
|
560
|
+
* ```tsx
|
|
561
|
+
* const mutation = useCreateUser();
|
|
562
|
+
* <Form.Dialog loading={mutation.isPending} ... />
|
|
563
|
+
* ```
|
|
564
|
+
*/
|
|
565
|
+
loading?: boolean;
|
|
566
|
+
/** Custom form element (e.g., React Router's Form). Defaults to native <form>. */
|
|
567
|
+
formComponent?: React.ElementType;
|
|
568
|
+
/** Optional telemetry callbacks for form submission tracking */
|
|
569
|
+
telemetry?: FormTelemetry;
|
|
570
|
+
/** Dialog content className */
|
|
571
|
+
className?: string;
|
|
572
|
+
/** Form className */
|
|
573
|
+
formClassName?: string;
|
|
574
|
+
/**
|
|
575
|
+
* Dialog form children - can be either:
|
|
576
|
+
* - ReactNode: Standard form fields
|
|
577
|
+
* - Render function: For accessing form state (form, fields, isSubmitting, etc.)
|
|
578
|
+
*
|
|
579
|
+
* @example Standard usage
|
|
580
|
+
* ```tsx
|
|
581
|
+
* <Form.Dialog title="Add User" schema={schema} onSubmit={handleSubmit}>
|
|
582
|
+
* <Form.Field name="email"><Form.Input type="email" /></Form.Field>
|
|
583
|
+
* </Form.Dialog>
|
|
584
|
+
* ```
|
|
585
|
+
*
|
|
586
|
+
* @example Render function for form state access
|
|
587
|
+
* ```tsx
|
|
588
|
+
* <Form.Dialog title="Edit User" schema={schema} onSubmit={handleSubmit}>
|
|
589
|
+
* {({ form, fields, isSubmitting, reset }) => (
|
|
590
|
+
* <>
|
|
591
|
+
* <Form.Field name="email"><Form.Input type="email" /></Form.Field>
|
|
592
|
+
* <Button onClick={reset} disabled={isSubmitting}>Reset</Button>
|
|
593
|
+
* </>
|
|
594
|
+
* )}
|
|
595
|
+
* </Form.Dialog>
|
|
596
|
+
* ```
|
|
597
|
+
*/
|
|
598
|
+
children: React.ReactNode | ((props: FormRootRenderProps) => React.ReactNode);
|
|
599
|
+
}
|
|
600
|
+
export type { AutocompleteGroup, AutocompleteOption, AutocompleteProps, FormAutocompleteProps, } from '../../autocomplete/autocomplete.types';
|
|
601
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACpE,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAM3C;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,aAAa;IAC5B,iDAA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AC,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IACrD,yCAAyC;IACzC,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,IAAI,CAAA;IACtC,mCAAmC;IACnC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,CAAA;IAGjD,6CAA6C;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,uCAAuC;IACvC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,6CAA6C;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,oDAAoD;IACpD,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,iCAAiC;IACjC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAGhC;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAGjB,kFAAkF;IAClF,aAAa,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACjC,gEAAgE;IAChE,SAAS,CAAC,EAAE,aAAa,CAAA;IAGzB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,qBAAqB;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,KAAK,EAAE,mBAAmB,KAAK,KAAK,CAAC,SAAS,CAAC,CAAA;CAC9E;AAMD,YAAY,EACV,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,uCAAuC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"col.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/grid/components/col.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAW,MAAM,qBAAqB,CAAA;AAC5D,OAAO,KAAc,MAAM,OAAO,CAAA;AAKlC,QAAA,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CA4E3B,CAAA;AAED,eAAe,GAAG,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import Col from './col';
|
|
2
|
+
import Row from './row';
|
|
3
|
+
export { Col, Row };
|
|
4
|
+
export type { ColProps, ColSize } from '../types/grid.types';
|
|
5
|
+
export type { Gutter, RowProps } from '../types/grid.types';
|
|
6
|
+
export { RowContext } from './row';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/grid/components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,OAAO,CAAA;AACvB,OAAO,GAAG,MAAM,OAAO,CAAA;AAEvB,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,CAAA;AACnB,YAAY,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAE5D,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"row.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/grid/components/row.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAY,MAAM,qBAAqB,CAAA;AAC7E,OAAO,KAA8B,MAAM,OAAO,CAAA;AAKlD,eAAO,MAAM,UAAU,sCAAmD,CAAA;AAE1E,QAAA,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAwF3B,CAAA;AAED,eAAe,GAAG,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const GRID_BREAKPOINTS: {
|
|
2
|
+
readonly xs: 480;
|
|
3
|
+
readonly sm: 576;
|
|
4
|
+
readonly md: 768;
|
|
5
|
+
readonly lg: 992;
|
|
6
|
+
readonly xl: 1200;
|
|
7
|
+
readonly xxl: 1600;
|
|
8
|
+
};
|
|
9
|
+
export declare const GRID_COLUMNS = 24;
|
|
10
|
+
export declare const GRID_PREFIX = "grid";
|
|
11
|
+
export declare const RESPONSIVE_ARRAY: readonly ["xxl", "xl", "lg", "md", "sm", "xs"];
|
|
12
|
+
export declare const RESPONSIVE_MAP: {
|
|
13
|
+
readonly xs: "(max-width: 575px)";
|
|
14
|
+
readonly sm: "(min-width: 576px)";
|
|
15
|
+
readonly md: "(min-width: 768px)";
|
|
16
|
+
readonly lg: "(min-width: 992px)";
|
|
17
|
+
readonly xl: "(min-width: 1200px)";
|
|
18
|
+
readonly xxl: "(min-width: 1600px)";
|
|
19
|
+
};
|
|
20
|
+
export type Breakpoint = keyof typeof GRID_BREAKPOINTS;
|
|
21
|
+
export type ResponsiveArray = typeof RESPONSIVE_ARRAY;
|
|
22
|
+
//# sourceMappingURL=grid.constants.d.ts.map
|