@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 @@
|
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../../src/components/base/typography/typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAG5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,QAAA,MAAM,aAAa;;;;8EAiCjB,CAAA;AAEF,QAAA,MAAM,YAAY;;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SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CASrE;AAMD,UAAU,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC3D,EAAE,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;CACpB;AAED,iBAAS,IAAI,CAAC,EAAE,SAAS,EAAE,EAAW,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CA0BtE;AAMD,OAAO,EACL,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,iBAAiB,EACjB,IAAI,EACJ,YAAY,EACZ,KAAK,EACL,aAAa,GACd,CAAA;AAED,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,UAAU,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/base/visuallyhidden/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { AutocompleteOption, AutocompleteProps } from './autocomplete.types';
|
|
2
|
+
/**
|
|
3
|
+
* Autocomplete - A searchable select component
|
|
4
|
+
*
|
|
5
|
+
* Standalone, form-agnostic combobox built on Popover + Command (cmdk).
|
|
6
|
+
* Supports flat/grouped options, virtualization, custom rendering, and async search.
|
|
7
|
+
*
|
|
8
|
+
* @example Basic usage
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <Autocomplete
|
|
11
|
+
* value={country}
|
|
12
|
+
* onValueChange={setCountry}
|
|
13
|
+
* options={countries}
|
|
14
|
+
* placeholder="Select country..."
|
|
15
|
+
* />
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* @example Async search
|
|
19
|
+
* ```tsx
|
|
20
|
+
* <Autocomplete
|
|
21
|
+
* value={userId}
|
|
22
|
+
* onValueChange={setUserId}
|
|
23
|
+
* options={users ?? []}
|
|
24
|
+
* onSearchChange={setSearch}
|
|
25
|
+
* loading={isLoading}
|
|
26
|
+
* placeholder="Search users..."
|
|
27
|
+
* />
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare function Autocomplete<T extends AutocompleteOption = AutocompleteOption>({ options, value, onValueChange, onSearchChange, searchPlaceholder, disableSearch, renderOption, renderValue, placeholder, emptyContent, footer, creatable, creatableLabel, virtualize, itemSize, loading, disabled, name, id, className, triggerClassName, contentClassName, listClassName, }: AutocompleteProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export declare namespace Autocomplete {
|
|
32
|
+
var displayName: string;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=autocomplete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autocomplete.d.ts","sourceRoot":"","sources":["../../../../src/components/features/autocomplete/autocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAkP7B;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,kBAAkB,GAAG,kBAAkB,EAAE,EAC9E,OAAO,EACP,KAAK,EACL,aAAa,EACb,cAAc,EACd,iBAA+B,EAC/B,aAAqB,EACrB,YAAY,EACZ,WAAW,EACX,WAAyB,EACzB,YAAiC,EACjC,MAAM,EACN,SAAiB,EACjB,cAAc,EACd,UAAkB,EAClB,QAAa,EACb,OAAe,EACf,QAAgB,EAChB,IAAI,EACJ,EAAE,EACF,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,GACd,EAAE,iBAAiB,CAAC,CAAC,CAAC,2CA8JtB;yBAtLe,YAAY"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
export interface AutocompleteOption {
|
|
3
|
+
/** Unique identifier, submitted to form */
|
|
4
|
+
value: string;
|
|
5
|
+
/** Display text, used for built-in search filtering */
|
|
6
|
+
label: string;
|
|
7
|
+
/** Optional secondary text shown below label */
|
|
8
|
+
description?: string;
|
|
9
|
+
/** Disable selection of this option */
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface AutocompleteGroup<T extends AutocompleteOption = AutocompleteOption> {
|
|
13
|
+
/** Group heading label */
|
|
14
|
+
label: string;
|
|
15
|
+
/** Options within this group */
|
|
16
|
+
options: T[];
|
|
17
|
+
}
|
|
18
|
+
export interface AutocompleteProps<T extends AutocompleteOption = AutocompleteOption> {
|
|
19
|
+
/** Flat options array or grouped options. Groups auto-detected by shape. */
|
|
20
|
+
options: T[] | AutocompleteGroup<T>[];
|
|
21
|
+
/** Currently selected option value */
|
|
22
|
+
value?: string;
|
|
23
|
+
/** Called when selection changes */
|
|
24
|
+
onValueChange?: (value: string) => void;
|
|
25
|
+
/** When provided, disables built-in filtering and delegates to consumer. */
|
|
26
|
+
onSearchChange?: (value: string) => void;
|
|
27
|
+
/** Placeholder for the search input */
|
|
28
|
+
searchPlaceholder?: string;
|
|
29
|
+
/** Hide the search input entirely */
|
|
30
|
+
disableSearch?: boolean;
|
|
31
|
+
/** Custom render for each option in the dropdown */
|
|
32
|
+
renderOption?: (option: T, isSelected: boolean) => React.ReactNode;
|
|
33
|
+
/** Custom render for the selected value in the trigger */
|
|
34
|
+
renderValue?: (option: T) => React.ReactNode;
|
|
35
|
+
/** Placeholder text when no value selected */
|
|
36
|
+
placeholder?: string;
|
|
37
|
+
/** Content shown when no options match */
|
|
38
|
+
emptyContent?: React.ReactNode;
|
|
39
|
+
/** Footer content below options list (e.g., "Add new..." action) */
|
|
40
|
+
footer?: React.ReactNode;
|
|
41
|
+
/** Allow custom values not in the options list */
|
|
42
|
+
creatable?: boolean;
|
|
43
|
+
/** Custom render for the creatable item. Default: (value) => `Use "${value}"` */
|
|
44
|
+
creatableLabel?: (value: string) => React.ReactNode;
|
|
45
|
+
/** Enable virtualization for large lists (default: false) */
|
|
46
|
+
virtualize?: boolean;
|
|
47
|
+
/** Item height in pixels for virtualizer estimateSize (default: 36) */
|
|
48
|
+
itemSize?: number;
|
|
49
|
+
/** External loading state */
|
|
50
|
+
loading?: boolean;
|
|
51
|
+
/** Disable the component */
|
|
52
|
+
disabled?: boolean;
|
|
53
|
+
/** HTML name attribute for hidden input */
|
|
54
|
+
name?: string;
|
|
55
|
+
/** HTML id attribute */
|
|
56
|
+
id?: string;
|
|
57
|
+
/** Additional CSS classes for the root wrapper */
|
|
58
|
+
className?: string;
|
|
59
|
+
/** Additional CSS classes for the trigger button */
|
|
60
|
+
triggerClassName?: string;
|
|
61
|
+
/** Additional CSS classes for the popover content */
|
|
62
|
+
contentClassName?: string;
|
|
63
|
+
/** Additional CSS classes for the command list */
|
|
64
|
+
listClassName?: string;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Props for Form.Autocomplete - same as the primitive but without
|
|
68
|
+
* value/onValueChange/name/id which come from FieldContext + useInputControl.
|
|
69
|
+
*/
|
|
70
|
+
export type FormAutocompleteProps<T extends AutocompleteOption = AutocompleteOption> = Omit<AutocompleteProps<T>, 'value' | 'onValueChange' | 'name' | 'id'>;
|
|
71
|
+
//# sourceMappingURL=autocomplete.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autocomplete.types.d.ts","sourceRoot":"","sources":["../../../../src/components/features/autocomplete/autocomplete.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAA;AAMnC,MAAM,WAAW,kBAAkB;IACjC,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAA;IACb,uDAAuD;IACvD,KAAK,EAAE,MAAM,CAAA;IACb,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,uCAAuC;IACvC,QAA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D,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,uEAAuE;IACvE,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,6BAA6B;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAA;IAGjB,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2CAA2C;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,wBAAwB;IACxB,EAAE,CAAC,EAAE,MAAM,CAAA;IAGX,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,oDAAoD;IACpD,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,qDAAqD;IACrD,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,kDAAkD;IAClD,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAMD;;;GAGG;AACH,MAAM,MAAM,qBAAqB,CAAC,CAAC,SAAS,kBAAkB,GAAG,kBAAkB,IAAI,IAAI,CACzF,iBAAiB,CAAC,CAAC,CAAC,EACpB,OAAO,GAAG,eAAe,GAAG,MAAM,GAAG,IAAI,CAC1C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/features/autocomplete/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,YAAY,EACV,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const avatarStackVariants: (props?: ({
|
|
4
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
5
|
+
spacing?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
export interface AvatarStackProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof avatarStackVariants> {
|
|
8
|
+
avatars: {
|
|
9
|
+
name: string;
|
|
10
|
+
image: string;
|
|
11
|
+
}[];
|
|
12
|
+
maxAvatarsAmount?: number;
|
|
13
|
+
avatarClassName?: string;
|
|
14
|
+
}
|
|
15
|
+
declare function AvatarStack({ className, orientation, avatars, spacing, maxAvatarsAmount, avatarClassName, ...props }: AvatarStackProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export { AvatarStack, avatarStackVariants };
|
|
17
|
+
//# sourceMappingURL=avatar-stack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar-stack.d.ts","sourceRoot":"","sources":["../../../../src/components/features/avatar-stack/avatar-stack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAG5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,mBAAmB;;;8EAiBvB,CAAA;AAEF,MAAM,WAAW,gBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,YAAY,CAAC,OAAO,mBAAmB,CAAC;IACtF,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC1C,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,WAAW,EACX,OAAO,EACP,OAAO,EACP,gBAAoB,EACpB,eAAe,EACf,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAmDlB;AAED,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/features/avatar-stack/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import type { DateRange } from 'react-day-picker';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
declare const multiSelectVariants: (props?: ({
|
|
5
|
+
variant?: "default" | "secondary" | "outline" | "destructive" | "link" | "ghost" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
export interface DateRangePreset {
|
|
8
|
+
key: string;
|
|
9
|
+
label: string;
|
|
10
|
+
start: Date;
|
|
11
|
+
end: Date;
|
|
12
|
+
}
|
|
13
|
+
interface CalendarDatePickerProps extends React.HTMLAttributes<HTMLButtonElement>, VariantProps<typeof multiSelectVariants> {
|
|
14
|
+
id?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
triggerClassName?: string;
|
|
17
|
+
date: DateRange;
|
|
18
|
+
closeOnSelect?: boolean;
|
|
19
|
+
numberOfMonths?: 1 | 2;
|
|
20
|
+
yearsRange?: number;
|
|
21
|
+
onDateSelect: (range: {
|
|
22
|
+
from: Date;
|
|
23
|
+
to: Date;
|
|
24
|
+
} | undefined) => void;
|
|
25
|
+
placeholder?: string;
|
|
26
|
+
excludePresets?: string[];
|
|
27
|
+
customPresets?: DateRangePreset[];
|
|
28
|
+
minDate?: Date;
|
|
29
|
+
maxDate?: Date;
|
|
30
|
+
disableFuture?: boolean;
|
|
31
|
+
disablePast?: boolean;
|
|
32
|
+
maxRange?: number;
|
|
33
|
+
}
|
|
34
|
+
export declare function CalendarDatePicker({ ref, id, className, triggerClassName, date, closeOnSelect, numberOfMonths, yearsRange, onDateSelect, variant, placeholder, excludePresets, customPresets, minDate, maxDate, disableFuture, disablePast, maxRange, ...props }: CalendarDatePickerProps & {
|
|
35
|
+
ref?: React.RefObject<HTMLButtonElement | null>;
|
|
36
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
export declare namespace CalendarDatePicker {
|
|
38
|
+
var displayName: string;
|
|
39
|
+
}
|
|
40
|
+
export {};
|
|
41
|
+
//# sourceMappingURL=calendar-date-picker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-date-picker.d.ts","sourceRoot":"","sources":["../../../../src/components/features/calendar-date-picker/calendar-date-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAiBjD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAsB9B,QAAA,MAAM,mBAAmB;;8EAiBxB,CAAA;AAED,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,IAAI,CAAA;IACX,GAAG,EAAE,IAAI,CAAA;CACV;AAED,UAAU,uBACR,SAAQ,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,YAAY,CAAC,OAAO,mBAAmB,CAAC;IACzF,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,IAAI,EAAE,SAAS,CAAA;IACf,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,cAAc,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,EAAE,EAAE,IAAI,CAAA;KAAE,GAAG,SAAS,KAAK,IAAI,CAAA;IACnE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAA;IACzB,aAAa,CAAC,EAAE,eAAe,EAAE,CAAA;IAEjC,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,wBAAgB,kBAAkB,CAAC,EAAE,GAAG,EAAE,EAA2B,EAAE,SAAS,EAAE,gBAAgB,EAAE,IAAI,EAAE,aAAqB,EAAE,cAAkB,EAAE,UAAe,EAAE,YAAY,EAAE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,OAAO,EAAE,OAAO,EAAE,aAAqB,EAAE,WAAmB,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAA;CAAE,2CA+xBzY;yBA/xBe,kBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/features/calendar-date-picker/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Datum Dropdown Menu Component
|
|
5
|
+
* Extends shadcn DropdownMenu with:
|
|
6
|
+
* - Destructive variant for DropdownMenuItem
|
|
7
|
+
*/
|
|
8
|
+
declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function DropdownMenuContent({ className, sideOffset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare function DropdownMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
14
|
+
inset?: boolean;
|
|
15
|
+
variant?: 'default' | 'destructive';
|
|
16
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare function DropdownMenuRadioGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare function DropdownMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
21
|
+
inset?: boolean;
|
|
22
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
declare function DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
declare function DropdownMenuSub({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
27
|
+
inset?: boolean;
|
|
28
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
declare function DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, };
|
|
31
|
+
//# sourceMappingURL=dropdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/features/dropdown/dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAA;AAEtE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B;;;;GAIG;AAEH,iBAAS,YAAY,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,IAAI,CAAC,2CAE1F;AAED,iBAAS,kBAAkB,CAAC,EAC1B,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,MAAM,CAAC,2CAE3D;AAED,iBAAS,mBAAmB,CAAC,EAC3B,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,OAAO,CAAC,2CAE5D;AAED,iBAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,UAAc,EACd,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,OAAO,CAAC,2CAa5D;AAED,iBAAS,iBAAiB,CAAC,EACzB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,O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qBAAqB,CAAC,GAAG,CAAC,2CAE5F;AAED,iBAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,UAAU,CAAC,GAAG;IACjE,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,2CAcA;AAED,iBAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,UAAU,CAAC,2CAU/D;AAED,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,GACpB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/features/dropdown/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { DropEvent, DropzoneOptions, FileRejection } from 'react-dropzone';
|
|
3
|
+
export type DropzoneProps = Omit<DropzoneOptions, 'onDrop'> & {
|
|
4
|
+
src?: File[];
|
|
5
|
+
className?: string;
|
|
6
|
+
onDrop?: (acceptedFiles: File[], fileRejections: FileRejection[], event: DropEvent) => void;
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
};
|
|
9
|
+
export declare function Dropzone({ accept, maxFiles, maxSize, minSize, onDrop, onError, disabled, src, className, children, ...props }: DropzoneProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export interface DropzoneContentProps {
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
className?: string;
|
|
13
|
+
icon?: ReactNode;
|
|
14
|
+
label?: ReactNode | ((files: File[]) => ReactNode);
|
|
15
|
+
description?: ReactNode;
|
|
16
|
+
}
|
|
17
|
+
export declare function DropzoneContent({ children, className, icon, label, description, }: DropzoneContentProps): string | number | bigint | true | import("react/jsx-runtime").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null;
|
|
18
|
+
export interface DropzoneEmptyStateProps {
|
|
19
|
+
children?: ReactNode;
|
|
20
|
+
className?: string;
|
|
21
|
+
icon?: ReactNode;
|
|
22
|
+
label?: ReactNode;
|
|
23
|
+
description?: ReactNode;
|
|
24
|
+
/** Set to false to hide the auto-generated caption (accepts, size limits) */
|
|
25
|
+
showCaption?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export declare function DropzoneEmptyState({ children, className, icon, label, description, showCaption, }: DropzoneEmptyStateProps): string | number | bigint | true | import("react/jsx-runtime").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null;
|
|
28
|
+
//# sourceMappingURL=dropzone.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropzone.d.ts","sourceRoot":"","sources":["../../../../src/components/features/dropzone/dropzone.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AA+B/E,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,eAAe,EAAE,QAAQ,CAAC,GAAG;IAC5D,GAAG,CAAC,EAAE,IAAI,EAAE,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,CAAC,aAAa,EAAE,IAAI,EAAE,EAAE,cAAc,EAAE,aAAa,EAAE,EAAE,KAAK,EAAE,SAAS,KAAK,IAAI,CAAA;IAC3F,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB,CAAA;AAED,wBAAgB,QAAQ,CAAC,EACvB,MAAM,EACN,QAAY,EACZ,OAAO,EACP,OAAO,EACP,MAAM,EACN,OAAO,EACP,QAAQ,EACR,GAAG,EACH,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,aAAa,2CAyCf;AAYD,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,SAAS,CAAC,CAAA;IAClD,WAAW,CAAC,EAAE,SAAS,CAAA;CACxB;AAaD,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,KAAK,EACL,WAAW,GACZ,EAAE,oBAAoB,4TAwBtB;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,6EAA6E;IAC7E,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,KAAK,EACL,WAAW,EACX,WAAmB,GACpB,EAAE,uBAAuB,4TA6CzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/features/dropzone/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC1E,YAAY,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export interface EmptyContentAction {
|
|
3
|
+
type: 'button' | 'link' | 'external-link';
|
|
4
|
+
label: string;
|
|
5
|
+
onClick?: () => void;
|
|
6
|
+
to?: string;
|
|
7
|
+
variant?: 'default' | 'destructive' | 'outline';
|
|
8
|
+
icon?: React.ReactNode;
|
|
9
|
+
iconPosition?: 'start' | 'end';
|
|
10
|
+
}
|
|
11
|
+
declare const containerVariants: (props?: ({
|
|
12
|
+
variant?: "default" | "dashed" | "minimal" | null | undefined;
|
|
13
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
14
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
15
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
16
|
+
export interface EmptyContentProps extends VariantProps<typeof containerVariants> {
|
|
17
|
+
title?: string;
|
|
18
|
+
subtitle?: string;
|
|
19
|
+
className?: string;
|
|
20
|
+
actions?: EmptyContentAction[];
|
|
21
|
+
spacing?: 'compact' | 'normal' | 'relaxed';
|
|
22
|
+
/** User's display name for greeting (e.g., "Hey John, ..."). Defaults to "there". */
|
|
23
|
+
userName?: string;
|
|
24
|
+
/** Link component for action links (e.g., React Router's Link). Defaults to <a>. */
|
|
25
|
+
linkComponent?: React.ElementType;
|
|
26
|
+
}
|
|
27
|
+
export declare function EmptyContent({ title, subtitle, variant, size, className, actions, orientation, spacing, userName, linkComponent, }: EmptyContentProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=empty-content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"empty-content.d.ts","sourceRoot":"","sources":["../../../../src/components/features/empty-content/empty-content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAS5D,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,QAAQ,GAAG,MAAM,GAAG,eAAe,CAAA;IACzC,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,GAAG,SAAS,CAAA;IAC/C,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;CAC/B;AAGD,QAAA,MAAM,iBAAiB;;;;8EA2BtB,CAAA;AAiFD,MAAM,WAAW,iBAAkB,SAAQ,YAAY,CAAC,OAAO,iBAAiB,CAAC;IAC/E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAA;IAC9B,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAA;IAC1C,qFAAqF;IACrF,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,oFAAoF;IACpF,aAAa,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAClC;AAED,wBAAgB,YAAY,CAAC,EAC3B,KAAuB,EACvB,QAAQ,EACR,OAAmB,EACnB,IAAW,EACX,SAAS,EACT,OAAY,EACZ,WAAwB,EACxB,OAAkB,EAClB,QAAQ,EACR,aAAa,GACd,EAAE,iBAAiB,2CA8FnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/features/empty-content/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,YAAY,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { ButtonProps } from '../../base/button';
|
|
2
|
+
export interface FileInputButtonProps extends Omit<ButtonProps, 'onClick'> {
|
|
3
|
+
/** Accepted file types (e.g., { 'text/plain': ['.txt', '.zone'] }) */
|
|
4
|
+
accept?: Record<string, string[]>;
|
|
5
|
+
/** Maximum file size in bytes */
|
|
6
|
+
maxSize?: number;
|
|
7
|
+
/** Minimum file size in bytes */
|
|
8
|
+
minSize?: number;
|
|
9
|
+
/** Allow multiple file selection */
|
|
10
|
+
multiple?: boolean;
|
|
11
|
+
/** Callback when files are selected */
|
|
12
|
+
onFileSelect?: (files: File[]) => void;
|
|
13
|
+
/** Callback when a file validation error occurs (file type/size) */
|
|
14
|
+
onFileError?: (error: Error) => void;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A simple button that triggers a file input dialog.
|
|
18
|
+
* Alternative to Dropzone for cases where drag-and-drop is not needed.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```tsx
|
|
22
|
+
* <FileInputButton
|
|
23
|
+
* accept={{ 'text/plain': ['.txt', '.zone'] }}
|
|
24
|
+
* maxSize={5 * 1024 * 1024} // 5MB
|
|
25
|
+
* onFileSelect={(files) => console.log('Selected:', files)}
|
|
26
|
+
* onFileError={(error) => console.error(error.message)}
|
|
27
|
+
* >
|
|
28
|
+
* Upload File
|
|
29
|
+
* </FileInputButton>
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export declare function FileInputButton({ accept, maxSize, minSize, multiple, onFileSelect, onFileError, children, icon, disabled, ...buttonProps }: FileInputButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
//# sourceMappingURL=file-input-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-input-button.d.ts","sourceRoot":"","sources":["../../../../src/components/features/file-input-button/file-input-button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAMpD,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC;IACxE,sEAAsE;IACtE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;IACjC,iCAAiC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,iCAAiC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,uCAAuC;IACvC,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAA;IACtC,oEAAoE;IACpE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAA;CACrC;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,eAAe,CAAC,EAC9B,MAAM,EACN,OAAO,EACP,OAAO,EACP,QAAgB,EAChB,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,GAAG,WAAW,EACf,EAAE,oBAAoB,2CAyFtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/features/file-input-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { AutocompleteOption, FormAutocompleteProps } from '../../autocomplete/autocomplete.types';
|
|
2
|
+
/**
|
|
3
|
+
* Form.Autocomplete - Searchable select component
|
|
4
|
+
*
|
|
5
|
+
* Automatically wired to the parent Form.Field context.
|
|
6
|
+
* Supports flat/grouped options, virtualization, custom rendering, and async search.
|
|
7
|
+
*
|
|
8
|
+
* @example Basic usage
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <Form.Field name="timezone" label="Timezone" required>
|
|
11
|
+
* <Form.Autocomplete
|
|
12
|
+
* options={timezones}
|
|
13
|
+
* placeholder="Select timezone..."
|
|
14
|
+
* />
|
|
15
|
+
* </Form.Field>
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* @example Async search
|
|
19
|
+
* ```tsx
|
|
20
|
+
* <Form.Field name="userId" label="User">
|
|
21
|
+
* <Form.Autocomplete
|
|
22
|
+
* options={users ?? []}
|
|
23
|
+
* onSearchChange={setSearch}
|
|
24
|
+
* loading={isLoading}
|
|
25
|
+
* placeholder="Search users..."
|
|
26
|
+
* />
|
|
27
|
+
* </Form.Field>
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @example Grouped options
|
|
31
|
+
* ```tsx
|
|
32
|
+
* <Form.Field name="role" label="Role" required>
|
|
33
|
+
* <Form.Autocomplete
|
|
34
|
+
* options={roleGroups}
|
|
35
|
+
* placeholder="Select a role..."
|
|
36
|
+
* />
|
|
37
|
+
* </Form.Field>
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare function FormAutocomplete<T extends AutocompleteOption = AutocompleteOption>({ disabled, className, ...props }: FormAutocompleteProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export declare namespace FormAutocomplete {
|
|
42
|
+
var displayName: string;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=form-autocomplete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-autocomplete.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-autocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAA;AAMtG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,kBAAkB,GAAG,kBAAkB,EAAE,EAClF,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,qBAAqB,CAAC,CAAC,CAAC,2CAsB1B;yBA1Be,gBAAgB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { FormButtonProps } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Form.Button - A button for non-submit actions within a form
|
|
4
|
+
*
|
|
5
|
+
* Automatically gets disabled when the form is submitting.
|
|
6
|
+
* Use this for cancel buttons, reset buttons, or other actions.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <Form.Button onClick={() => navigate(-1)}>
|
|
11
|
+
* Cancel
|
|
12
|
+
* </Form.Button>
|
|
13
|
+
*
|
|
14
|
+
* <Form.Button onClick={() => form.reset()} type="secondary">
|
|
15
|
+
* Reset
|
|
16
|
+
* </Form.Button>
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function FormButton({ children, onClick, type, theme, size, disabled, className, disableOnSubmit, }: FormButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare namespace FormButton {
|
|
21
|
+
var displayName: string;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=form-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-button.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAK/C;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,OAAO,EACP,IAAmB,EACnB,KAAoB,EACpB,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,eAAsB,GACvB,EAAE,eAAe,2CAkBjB;yBA3Be,UAAU"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { FormCheckboxProps } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Form.Checkbox - Checkbox input component
|
|
4
|
+
*
|
|
5
|
+
* Automatically wired to the parent Form.Field context.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* <Form.Field name="terms">
|
|
10
|
+
* <Form.Checkbox label="I agree to the terms and conditions" />
|
|
11
|
+
* </Form.Field>
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare function FormCheckbox({ label, disabled, className }: FormCheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare namespace FormCheckbox {
|
|
16
|
+
var displayName: string;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=form-checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAQjD;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,iBAAiB,2CAwC7E;yBAxCe,YAAY"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export interface FormCopyBoxProps {
|
|
2
|
+
/** Display variant: 'default' shows Copy button, 'icon-only' shows icon */
|
|
3
|
+
variant?: 'default' | 'icon-only';
|
|
4
|
+
/** Custom className for the wrapper */
|
|
5
|
+
className?: string;
|
|
6
|
+
/** Custom className for the content area */
|
|
7
|
+
contentClassName?: string;
|
|
8
|
+
/** Custom className for the button */
|
|
9
|
+
buttonClassName?: string;
|
|
10
|
+
/** Placeholder text when value is empty */
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Form.CopyBox - Read-only field with copy-to-clipboard functionality
|
|
15
|
+
*
|
|
16
|
+
* Displays field value in a read-only box with a copy button.
|
|
17
|
+
* Automatically gets value from Form.Field context.
|
|
18
|
+
*
|
|
19
|
+
* @example Basic usage
|
|
20
|
+
* ```tsx
|
|
21
|
+
* <Form.Field name="organizationId" label="Organization ID">
|
|
22
|
+
* <Form.CopyBox />
|
|
23
|
+
* </Form.Field>
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @example With icon-only button
|
|
27
|
+
* ```tsx
|
|
28
|
+
* <Form.Field name="apiKey" label="API Key">
|
|
29
|
+
* <Form.CopyBox variant="icon-only" />
|
|
30
|
+
* </Form.Field>
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* @example With placeholder
|
|
34
|
+
* ```tsx
|
|
35
|
+
* <Form.Field name="webhookUrl" label="Webhook URL">
|
|
36
|
+
* <Form.CopyBox placeholder="Not configured" />
|
|
37
|
+
* </Form.Field>
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare function FormCopyBox({ variant, className, contentClassName, buttonClassName, placeholder, }: FormCopyBoxProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
//# sourceMappingURL=form-copy-box.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-copy-box.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-copy-box.tsx"],"names":[],"mappings":"AAQA,MAAM,WAAW,gBAAgB;IAC/B,2EAA2E;IAC3E,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAA;IACjC,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,4CAA4C;IAC5C,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,sCAAsC;IACtC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,WAAW,CAAC,EAC1B,OAAmB,EACnB,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,WAAgB,GACjB,EAAE,gBAAgB,2CAqElB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { FormCustomProps } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Form.Custom - Escape hatch for custom implementations
|
|
4
|
+
*
|
|
5
|
+
* Provides access to the underlying form context for complex use cases
|
|
6
|
+
* that don't fit the standard component patterns.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <Form.Custom>
|
|
11
|
+
* {({ form, fields, submit, reset }) => (
|
|
12
|
+
* <MyCustomComponent
|
|
13
|
+
* fields={fields}
|
|
14
|
+
* onCustomAction={() => {
|
|
15
|
+
* // Do something custom
|
|
16
|
+
* submit();
|
|
17
|
+
* }}
|
|
18
|
+
* />
|
|
19
|
+
* )}
|
|
20
|
+
* </Form.Custom>
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function FormCustom({ children }: FormCustomProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare namespace FormCustom {
|
|
25
|
+
var displayName: string;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=form-custom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-custom.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-custom.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAyB,MAAM,UAAU,CAAA;AAItE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,EAAE,eAAe,2CAYvD;yBAZe,UAAU"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { FormDescriptionProps } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Form.Description - Display field description/helper text
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```tsx
|
|
7
|
+
* <Form.Field name="password">
|
|
8
|
+
* <Form.Input type="password" />
|
|
9
|
+
* <Form.Description>
|
|
10
|
+
* Must be at least 8 characters with one uppercase letter
|
|
11
|
+
* </Form.Description>
|
|
12
|
+
* </Form.Field>
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare function FormDescription({ children, className }: FormDescriptionProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare namespace FormDescription {
|
|
17
|
+
var displayName: string;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=form-description.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-description.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-description.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAKpD;;;;;;;;;;;;GAYG;AACH,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,oBAAoB,2CAS5E;yBATe,eAAe"}
|