@docyrus/shadcn 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -3
- package/dist/base-lyra/accordion.js.map +1 -1
- package/dist/base-lyra/alert-dialog.js.map +1 -1
- package/dist/base-lyra/alert.js.map +1 -1
- package/dist/base-lyra/aspect-ratio.js.map +1 -1
- package/dist/base-lyra/avatar.js.map +1 -1
- package/dist/base-lyra/badge.js.map +1 -1
- package/dist/base-lyra/breadcrumb.js.map +1 -1
- package/dist/base-lyra/button-group.js.map +1 -1
- package/dist/base-lyra/button.js.map +1 -1
- package/dist/base-lyra/calendar.js.map +1 -1
- package/dist/base-lyra/card.js.map +1 -1
- package/dist/base-lyra/carousel.js.map +1 -1
- package/dist/base-lyra/chart.js.map +1 -1
- package/dist/base-lyra/checkbox.js.map +1 -1
- package/dist/base-lyra/combobox.js.map +1 -1
- package/dist/base-lyra/command.js.map +1 -1
- package/dist/base-lyra/context-menu.js.map +1 -1
- package/dist/base-lyra/dialog.js.map +1 -1
- package/dist/base-lyra/drawer.js.map +1 -1
- package/dist/base-lyra/dropdown-menu.js.map +1 -1
- package/dist/base-lyra/empty.js.map +1 -1
- package/dist/base-lyra/field.js.map +1 -1
- package/dist/base-lyra/hover-card.js.map +1 -1
- package/dist/base-lyra/index.js +8 -6
- package/dist/base-lyra/index.js.map +1 -1
- package/dist/base-lyra/input-group.js.map +1 -1
- package/dist/base-lyra/input-otp.js.map +1 -1
- package/dist/base-lyra/input.js.map +1 -1
- package/dist/base-lyra/item.js.map +1 -1
- package/dist/base-lyra/kbd.js.map +1 -1
- package/dist/base-lyra/label.js.map +1 -1
- package/dist/base-lyra/menubar.js.map +1 -1
- package/dist/base-lyra/native-select.js.map +1 -1
- package/dist/base-lyra/navigation-menu.js.map +1 -1
- package/dist/base-lyra/pagination.js.map +1 -1
- package/dist/base-lyra/popover.js.map +1 -1
- package/dist/base-lyra/progress.js.map +1 -1
- package/dist/base-lyra/radio-group.js.map +1 -1
- package/dist/base-lyra/resizable.js.map +1 -1
- package/dist/base-lyra/scroll-area.js.map +1 -1
- package/dist/base-lyra/select.js.map +1 -1
- package/dist/base-lyra/separator.js.map +1 -1
- package/dist/base-lyra/sheet.js.map +1 -1
- package/dist/base-lyra/sidebar.js +8 -6
- package/dist/base-lyra/sidebar.js.map +1 -1
- package/dist/base-lyra/skeleton.js.map +1 -1
- package/dist/base-lyra/slider.js.map +1 -1
- package/dist/base-lyra/spinner.js.map +1 -1
- package/dist/base-lyra/switch.js.map +1 -1
- package/dist/base-lyra/table.js.map +1 -1
- package/dist/base-lyra/tabs.js.map +1 -1
- package/dist/base-lyra/textarea.js.map +1 -1
- package/dist/base-lyra/toggle-group.js.map +1 -1
- package/dist/base-lyra/toggle.js.map +1 -1
- package/dist/base-lyra/tooltip.js.map +1 -1
- package/dist/base-maia/accordion.js.map +1 -1
- package/dist/base-maia/alert-dialog.js.map +1 -1
- package/dist/base-maia/alert.js.map +1 -1
- package/dist/base-maia/aspect-ratio.js.map +1 -1
- package/dist/base-maia/avatar.js.map +1 -1
- package/dist/base-maia/badge.js.map +1 -1
- package/dist/base-maia/breadcrumb.js.map +1 -1
- package/dist/base-maia/button-group.js.map +1 -1
- package/dist/base-maia/button.js.map +1 -1
- package/dist/base-maia/calendar.js.map +1 -1
- package/dist/base-maia/card.js.map +1 -1
- package/dist/base-maia/carousel.js.map +1 -1
- package/dist/base-maia/chart.js.map +1 -1
- package/dist/base-maia/checkbox.js.map +1 -1
- package/dist/base-maia/combobox.js.map +1 -1
- package/dist/base-maia/command.js.map +1 -1
- package/dist/base-maia/context-menu.js.map +1 -1
- package/dist/base-maia/dialog.js.map +1 -1
- package/dist/base-maia/drawer.js.map +1 -1
- package/dist/base-maia/dropdown-menu.js.map +1 -1
- package/dist/base-maia/empty.js.map +1 -1
- package/dist/base-maia/field.js.map +1 -1
- package/dist/base-maia/hover-card.js.map +1 -1
- package/dist/base-maia/index.js +8 -6
- package/dist/base-maia/index.js.map +1 -1
- package/dist/base-maia/input-group.js.map +1 -1
- package/dist/base-maia/input-otp.js.map +1 -1
- package/dist/base-maia/input.js.map +1 -1
- package/dist/base-maia/item.js.map +1 -1
- package/dist/base-maia/kbd.js.map +1 -1
- package/dist/base-maia/label.js.map +1 -1
- package/dist/base-maia/menubar.js.map +1 -1
- package/dist/base-maia/native-select.js.map +1 -1
- package/dist/base-maia/navigation-menu.js.map +1 -1
- package/dist/base-maia/pagination.js.map +1 -1
- package/dist/base-maia/popover.js.map +1 -1
- package/dist/base-maia/progress.js.map +1 -1
- package/dist/base-maia/radio-group.js.map +1 -1
- package/dist/base-maia/resizable.js.map +1 -1
- package/dist/base-maia/scroll-area.js.map +1 -1
- package/dist/base-maia/select.js.map +1 -1
- package/dist/base-maia/separator.js.map +1 -1
- package/dist/base-maia/sheet.js.map +1 -1
- package/dist/base-maia/sidebar.js +8 -6
- package/dist/base-maia/sidebar.js.map +1 -1
- package/dist/base-maia/skeleton.js.map +1 -1
- package/dist/base-maia/slider.js.map +1 -1
- package/dist/base-maia/spinner.js.map +1 -1
- package/dist/base-maia/switch.js.map +1 -1
- package/dist/base-maia/table.js.map +1 -1
- package/dist/base-maia/tabs.js.map +1 -1
- package/dist/base-maia/textarea.js.map +1 -1
- package/dist/base-maia/toggle-group.js.map +1 -1
- package/dist/base-maia/toggle.js.map +1 -1
- package/dist/base-maia/tooltip.js.map +1 -1
- package/dist/base-mira/accordion.js.map +1 -1
- package/dist/base-mira/alert-dialog.js.map +1 -1
- package/dist/base-mira/alert.js.map +1 -1
- package/dist/base-mira/aspect-ratio.js.map +1 -1
- package/dist/base-mira/avatar.js.map +1 -1
- package/dist/base-mira/badge.js.map +1 -1
- package/dist/base-mira/breadcrumb.js.map +1 -1
- package/dist/base-mira/button-group.js.map +1 -1
- package/dist/base-mira/button.js.map +1 -1
- package/dist/base-mira/calendar.js.map +1 -1
- package/dist/base-mira/card.js.map +1 -1
- package/dist/base-mira/carousel.js.map +1 -1
- package/dist/base-mira/chart.js.map +1 -1
- package/dist/base-mira/checkbox.js.map +1 -1
- package/dist/base-mira/combobox.js.map +1 -1
- package/dist/base-mira/command.js.map +1 -1
- package/dist/base-mira/context-menu.js.map +1 -1
- package/dist/base-mira/dialog.js.map +1 -1
- package/dist/base-mira/drawer.js.map +1 -1
- package/dist/base-mira/dropdown-menu.js.map +1 -1
- package/dist/base-mira/empty.js.map +1 -1
- package/dist/base-mira/field.js.map +1 -1
- package/dist/base-mira/hover-card.js.map +1 -1
- package/dist/base-mira/index.js +8 -6
- package/dist/base-mira/index.js.map +1 -1
- package/dist/base-mira/input-group.js.map +1 -1
- package/dist/base-mira/input-otp.js.map +1 -1
- package/dist/base-mira/input.js.map +1 -1
- package/dist/base-mira/item.js.map +1 -1
- package/dist/base-mira/kbd.js.map +1 -1
- package/dist/base-mira/label.js.map +1 -1
- package/dist/base-mira/menubar.js.map +1 -1
- package/dist/base-mira/native-select.js.map +1 -1
- package/dist/base-mira/navigation-menu.js.map +1 -1
- package/dist/base-mira/pagination.js.map +1 -1
- package/dist/base-mira/popover.js.map +1 -1
- package/dist/base-mira/progress.js.map +1 -1
- package/dist/base-mira/radio-group.js.map +1 -1
- package/dist/base-mira/resizable.js.map +1 -1
- package/dist/base-mira/scroll-area.js.map +1 -1
- package/dist/base-mira/select.js.map +1 -1
- package/dist/base-mira/separator.js.map +1 -1
- package/dist/base-mira/sheet.js.map +1 -1
- package/dist/base-mira/sidebar.js +8 -6
- package/dist/base-mira/sidebar.js.map +1 -1
- package/dist/base-mira/skeleton.js.map +1 -1
- package/dist/base-mira/slider.js.map +1 -1
- package/dist/base-mira/spinner.js.map +1 -1
- package/dist/base-mira/switch.js.map +1 -1
- package/dist/base-mira/table.js.map +1 -1
- package/dist/base-mira/tabs.js.map +1 -1
- package/dist/base-mira/textarea.js.map +1 -1
- package/dist/base-mira/toggle-group.js.map +1 -1
- package/dist/base-mira/toggle.js.map +1 -1
- package/dist/base-mira/tooltip.js.map +1 -1
- package/dist/base-nova/accordion.js.map +1 -1
- package/dist/base-nova/alert-dialog.js.map +1 -1
- package/dist/base-nova/alert.js.map +1 -1
- package/dist/base-nova/aspect-ratio.js.map +1 -1
- package/dist/base-nova/avatar.js.map +1 -1
- package/dist/base-nova/badge.js.map +1 -1
- package/dist/base-nova/breadcrumb.js.map +1 -1
- package/dist/base-nova/button-group.js.map +1 -1
- package/dist/base-nova/button.js.map +1 -1
- package/dist/base-nova/calendar.js.map +1 -1
- package/dist/base-nova/card.js.map +1 -1
- package/dist/base-nova/carousel.js.map +1 -1
- package/dist/base-nova/chart.js.map +1 -1
- package/dist/base-nova/checkbox.js.map +1 -1
- package/dist/base-nova/combobox.js.map +1 -1
- package/dist/base-nova/command.js.map +1 -1
- package/dist/base-nova/context-menu.js.map +1 -1
- package/dist/base-nova/dialog.js.map +1 -1
- package/dist/base-nova/drawer.js.map +1 -1
- package/dist/base-nova/dropdown-menu.js.map +1 -1
- package/dist/base-nova/empty.js.map +1 -1
- package/dist/base-nova/field.js.map +1 -1
- package/dist/base-nova/hover-card.js.map +1 -1
- package/dist/base-nova/index.js +8 -6
- package/dist/base-nova/index.js.map +1 -1
- package/dist/base-nova/input-group.js.map +1 -1
- package/dist/base-nova/input-otp.js.map +1 -1
- package/dist/base-nova/input.js.map +1 -1
- package/dist/base-nova/item.js.map +1 -1
- package/dist/base-nova/kbd.js.map +1 -1
- package/dist/base-nova/label.js.map +1 -1
- package/dist/base-nova/menubar.js.map +1 -1
- package/dist/base-nova/native-select.js.map +1 -1
- package/dist/base-nova/navigation-menu.js.map +1 -1
- package/dist/base-nova/pagination.js.map +1 -1
- package/dist/base-nova/popover.js.map +1 -1
- package/dist/base-nova/progress.js.map +1 -1
- package/dist/base-nova/radio-group.js.map +1 -1
- package/dist/base-nova/resizable.js.map +1 -1
- package/dist/base-nova/scroll-area.js.map +1 -1
- package/dist/base-nova/select.js.map +1 -1
- package/dist/base-nova/separator.js.map +1 -1
- package/dist/base-nova/sheet.js.map +1 -1
- package/dist/base-nova/sidebar.js +8 -6
- package/dist/base-nova/sidebar.js.map +1 -1
- package/dist/base-nova/skeleton.js.map +1 -1
- package/dist/base-nova/slider.js.map +1 -1
- package/dist/base-nova/spinner.js.map +1 -1
- package/dist/base-nova/switch.js.map +1 -1
- package/dist/base-nova/table.js.map +1 -1
- package/dist/base-nova/tabs.js.map +1 -1
- package/dist/base-nova/textarea.js.map +1 -1
- package/dist/base-nova/toggle-group.js.map +1 -1
- package/dist/base-nova/toggle.js.map +1 -1
- package/dist/base-nova/tooltip.js.map +1 -1
- package/dist/base-vega/accordion.js.map +1 -1
- package/dist/base-vega/alert-dialog.js.map +1 -1
- package/dist/base-vega/alert.js.map +1 -1
- package/dist/base-vega/aspect-ratio.js.map +1 -1
- package/dist/base-vega/avatar.js.map +1 -1
- package/dist/base-vega/badge.js.map +1 -1
- package/dist/base-vega/breadcrumb.js.map +1 -1
- package/dist/base-vega/button-group.js.map +1 -1
- package/dist/base-vega/button.js.map +1 -1
- package/dist/base-vega/calendar.js.map +1 -1
- package/dist/base-vega/card.js.map +1 -1
- package/dist/base-vega/carousel.js.map +1 -1
- package/dist/base-vega/chart.js.map +1 -1
- package/dist/base-vega/checkbox.js.map +1 -1
- package/dist/base-vega/combobox.js.map +1 -1
- package/dist/base-vega/command.js.map +1 -1
- package/dist/base-vega/context-menu.js.map +1 -1
- package/dist/base-vega/dialog.js.map +1 -1
- package/dist/base-vega/drawer.js.map +1 -1
- package/dist/base-vega/dropdown-menu.js.map +1 -1
- package/dist/base-vega/empty.js.map +1 -1
- package/dist/base-vega/field.js.map +1 -1
- package/dist/base-vega/hover-card.js.map +1 -1
- package/dist/base-vega/index.js +8 -6
- package/dist/base-vega/index.js.map +1 -1
- package/dist/base-vega/input-group.js.map +1 -1
- package/dist/base-vega/input-otp.js.map +1 -1
- package/dist/base-vega/input.js.map +1 -1
- package/dist/base-vega/item.js.map +1 -1
- package/dist/base-vega/kbd.js.map +1 -1
- package/dist/base-vega/label.js.map +1 -1
- package/dist/base-vega/menubar.js.map +1 -1
- package/dist/base-vega/native-select.js.map +1 -1
- package/dist/base-vega/navigation-menu.js.map +1 -1
- package/dist/base-vega/pagination.js.map +1 -1
- package/dist/base-vega/popover.js.map +1 -1
- package/dist/base-vega/progress.js.map +1 -1
- package/dist/base-vega/radio-group.js.map +1 -1
- package/dist/base-vega/resizable.js.map +1 -1
- package/dist/base-vega/scroll-area.js.map +1 -1
- package/dist/base-vega/select.js.map +1 -1
- package/dist/base-vega/separator.js.map +1 -1
- package/dist/base-vega/sheet.js.map +1 -1
- package/dist/base-vega/sidebar.js +8 -6
- package/dist/base-vega/sidebar.js.map +1 -1
- package/dist/base-vega/skeleton.js.map +1 -1
- package/dist/base-vega/slider.js.map +1 -1
- package/dist/base-vega/spinner.js.map +1 -1
- package/dist/base-vega/switch.js.map +1 -1
- package/dist/base-vega/table.js.map +1 -1
- package/dist/base-vega/tabs.js.map +1 -1
- package/dist/base-vega/textarea.js.map +1 -1
- package/dist/base-vega/toggle-group.js.map +1 -1
- package/dist/base-vega/toggle.js.map +1 -1
- package/dist/base-vega/tooltip.js.map +1 -1
- package/dist/hooks/index.d.ts +7 -0
- package/dist/hooks/index.js +181 -10
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/use-as-ref.d.ts +5 -0
- package/dist/hooks/use-as-ref.js +17 -0
- package/dist/hooks/use-as-ref.js.map +1 -0
- package/dist/hooks/use-badge-overflow.d.ts +24 -0
- package/dist/hooks/use-badge-overflow.js +130 -0
- package/dist/hooks/use-badge-overflow.js.map +1 -0
- package/dist/hooks/use-callback-ref.d.ts +10 -0
- package/dist/hooks/use-callback-ref.js +17 -0
- package/dist/hooks/use-callback-ref.js.map +1 -0
- package/dist/hooks/use-debounced-callback.d.ts +3 -0
- package/dist/hooks/use-debounced-callback.js +38 -0
- package/dist/hooks/use-debounced-callback.js.map +1 -0
- package/dist/hooks/use-file-upload.d.ts +48 -0
- package/dist/hooks/use-file-upload.js +279 -0
- package/dist/hooks/use-file-upload.js.map +1 -0
- package/dist/hooks/use-isomorphic-layout-effect.d.ts +5 -0
- package/dist/hooks/use-isomorphic-layout-effect.js +8 -0
- package/dist/hooks/use-isomorphic-layout-effect.js.map +1 -0
- package/dist/hooks/use-lazy-ref.d.ts +5 -0
- package/dist/hooks/use-lazy-ref.js +14 -0
- package/dist/hooks/use-lazy-ref.js.map +1 -0
- package/dist/hooks/use-mobile.d.ts +1 -1
- package/dist/hooks/use-mobile.js +8 -6
- package/dist/hooks/use-mobile.js.map +1 -1
- package/dist/index.d.ts +1622 -106
- package/dist/index.js +23260 -2932
- package/dist/index.js.map +1 -1
- package/dist/lib/compose-refs.d.ts +15 -0
- package/dist/lib/compose-refs.js +42 -0
- package/dist/lib/compose-refs.js.map +1 -0
- package/dist/lib/format.d.ts +3 -0
- package/dist/lib/format.js +18 -0
- package/dist/lib/format.js.map +1 -0
- package/dist/lib/index.d.ts +3 -0
- package/dist/lib/index.js +53 -2
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/utils.d.ts +6 -0
- package/dist/lib/utils.js.map +1 -1
- package/dist/new-york/accordion.js.map +1 -1
- package/dist/new-york/alert-dialog.js.map +1 -1
- package/dist/new-york/alert.js.map +1 -1
- package/dist/new-york/avatar.js.map +1 -1
- package/dist/new-york/badge.js.map +1 -1
- package/dist/new-york/breadcrumb.js.map +1 -1
- package/dist/new-york/button-group.js.map +1 -1
- package/dist/new-york/button.js.map +1 -1
- package/dist/new-york/calendar.js.map +1 -1
- package/dist/new-york/card.js.map +1 -1
- package/dist/new-york/carousel.js.map +1 -1
- package/dist/new-york/chart.js.map +1 -1
- package/dist/new-york/checkbox.js.map +1 -1
- package/dist/new-york/combobox.js.map +1 -1
- package/dist/new-york/command.js.map +1 -1
- package/dist/new-york/context-menu.js.map +1 -1
- package/dist/new-york/dialog.js.map +1 -1
- package/dist/new-york/drawer.js.map +1 -1
- package/dist/new-york/dropdown-menu.js.map +1 -1
- package/dist/new-york/empty.js.map +1 -1
- package/dist/new-york/field.js.map +1 -1
- package/dist/new-york/form.js.map +1 -1
- package/dist/new-york/hover-card.js.map +1 -1
- package/dist/new-york/index.js +8 -6
- package/dist/new-york/index.js.map +1 -1
- package/dist/new-york/input-group.js.map +1 -1
- package/dist/new-york/input-otp.js.map +1 -1
- package/dist/new-york/input.js.map +1 -1
- package/dist/new-york/item.js.map +1 -1
- package/dist/new-york/kbd.js.map +1 -1
- package/dist/new-york/label.js.map +1 -1
- package/dist/new-york/menubar.js.map +1 -1
- package/dist/new-york/native-select.js.map +1 -1
- package/dist/new-york/navigation-menu.js.map +1 -1
- package/dist/new-york/pagination.js.map +1 -1
- package/dist/new-york/popover.js.map +1 -1
- package/dist/new-york/progress.js.map +1 -1
- package/dist/new-york/radio-group.js.map +1 -1
- package/dist/new-york/resizable.js.map +1 -1
- package/dist/new-york/scroll-area.js.map +1 -1
- package/dist/new-york/select.js.map +1 -1
- package/dist/new-york/separator.js.map +1 -1
- package/dist/new-york/sheet.js.map +1 -1
- package/dist/new-york/sidebar.js +8 -6
- package/dist/new-york/sidebar.js.map +1 -1
- package/dist/new-york/skeleton.js.map +1 -1
- package/dist/new-york/slider.js.map +1 -1
- package/dist/new-york/spinner.js.map +1 -1
- package/dist/new-york/switch.js.map +1 -1
- package/dist/new-york/table.js.map +1 -1
- package/dist/new-york/tabs.js.map +1 -1
- package/dist/new-york/textarea.js.map +1 -1
- package/dist/new-york/toggle-group.js.map +1 -1
- package/dist/new-york/toggle.js.map +1 -1
- package/dist/new-york/tooltip.js.map +1 -1
- package/dist/radix-lyra/accordion.js.map +1 -1
- package/dist/radix-lyra/alert-dialog.js.map +1 -1
- package/dist/radix-lyra/alert.js.map +1 -1
- package/dist/radix-lyra/avatar.js.map +1 -1
- package/dist/radix-lyra/badge.js.map +1 -1
- package/dist/radix-lyra/breadcrumb.js.map +1 -1
- package/dist/radix-lyra/button-group.js.map +1 -1
- package/dist/radix-lyra/button.js.map +1 -1
- package/dist/radix-lyra/calendar.js.map +1 -1
- package/dist/radix-lyra/card.js.map +1 -1
- package/dist/radix-lyra/carousel.js.map +1 -1
- package/dist/radix-lyra/chart.js.map +1 -1
- package/dist/radix-lyra/checkbox.js.map +1 -1
- package/dist/radix-lyra/combobox.js.map +1 -1
- package/dist/radix-lyra/command.js.map +1 -1
- package/dist/radix-lyra/context-menu.js.map +1 -1
- package/dist/radix-lyra/dialog.js.map +1 -1
- package/dist/radix-lyra/drawer.js.map +1 -1
- package/dist/radix-lyra/dropdown-menu.js.map +1 -1
- package/dist/radix-lyra/empty.js.map +1 -1
- package/dist/radix-lyra/field.js.map +1 -1
- package/dist/radix-lyra/hover-card.js.map +1 -1
- package/dist/radix-lyra/index.js +8 -6
- package/dist/radix-lyra/index.js.map +1 -1
- package/dist/radix-lyra/input-group.js.map +1 -1
- package/dist/radix-lyra/input-otp.js.map +1 -1
- package/dist/radix-lyra/input.js.map +1 -1
- package/dist/radix-lyra/item.js.map +1 -1
- package/dist/radix-lyra/kbd.js.map +1 -1
- package/dist/radix-lyra/label.js.map +1 -1
- package/dist/radix-lyra/menubar.js.map +1 -1
- package/dist/radix-lyra/native-select.js.map +1 -1
- package/dist/radix-lyra/navigation-menu.js.map +1 -1
- package/dist/radix-lyra/pagination.js.map +1 -1
- package/dist/radix-lyra/popover.js.map +1 -1
- package/dist/radix-lyra/progress.js.map +1 -1
- package/dist/radix-lyra/radio-group.js.map +1 -1
- package/dist/radix-lyra/resizable.js.map +1 -1
- package/dist/radix-lyra/scroll-area.js.map +1 -1
- package/dist/radix-lyra/select.js.map +1 -1
- package/dist/radix-lyra/separator.js.map +1 -1
- package/dist/radix-lyra/sheet.js.map +1 -1
- package/dist/radix-lyra/sidebar.js +8 -6
- package/dist/radix-lyra/sidebar.js.map +1 -1
- package/dist/radix-lyra/skeleton.js.map +1 -1
- package/dist/radix-lyra/slider.js.map +1 -1
- package/dist/radix-lyra/spinner.js.map +1 -1
- package/dist/radix-lyra/switch.js.map +1 -1
- package/dist/radix-lyra/table.js.map +1 -1
- package/dist/radix-lyra/tabs.js.map +1 -1
- package/dist/radix-lyra/textarea.js.map +1 -1
- package/dist/radix-lyra/toggle-group.js.map +1 -1
- package/dist/radix-lyra/toggle.js.map +1 -1
- package/dist/radix-lyra/tooltip.js.map +1 -1
- package/dist/radix-maia/accordion.js.map +1 -1
- package/dist/radix-maia/alert-dialog.js.map +1 -1
- package/dist/radix-maia/alert.js.map +1 -1
- package/dist/radix-maia/avatar.js.map +1 -1
- package/dist/radix-maia/badge.js.map +1 -1
- package/dist/radix-maia/breadcrumb.js.map +1 -1
- package/dist/radix-maia/button-group.js.map +1 -1
- package/dist/radix-maia/button.js.map +1 -1
- package/dist/radix-maia/calendar.js.map +1 -1
- package/dist/radix-maia/card.js.map +1 -1
- package/dist/radix-maia/carousel.js.map +1 -1
- package/dist/radix-maia/chart.js.map +1 -1
- package/dist/radix-maia/checkbox.js.map +1 -1
- package/dist/radix-maia/combobox.js.map +1 -1
- package/dist/radix-maia/command.js.map +1 -1
- package/dist/radix-maia/context-menu.js.map +1 -1
- package/dist/radix-maia/dialog.js.map +1 -1
- package/dist/radix-maia/drawer.js.map +1 -1
- package/dist/radix-maia/dropdown-menu.js.map +1 -1
- package/dist/radix-maia/empty.js.map +1 -1
- package/dist/radix-maia/field.js.map +1 -1
- package/dist/radix-maia/hover-card.js.map +1 -1
- package/dist/radix-maia/index.js +8 -6
- package/dist/radix-maia/index.js.map +1 -1
- package/dist/radix-maia/input-group.js.map +1 -1
- package/dist/radix-maia/input-otp.js.map +1 -1
- package/dist/radix-maia/input.js.map +1 -1
- package/dist/radix-maia/item.js.map +1 -1
- package/dist/radix-maia/kbd.js.map +1 -1
- package/dist/radix-maia/label.js.map +1 -1
- package/dist/radix-maia/menubar.js.map +1 -1
- package/dist/radix-maia/native-select.js.map +1 -1
- package/dist/radix-maia/navigation-menu.js.map +1 -1
- package/dist/radix-maia/pagination.js.map +1 -1
- package/dist/radix-maia/popover.js.map +1 -1
- package/dist/radix-maia/progress.js.map +1 -1
- package/dist/radix-maia/radio-group.js.map +1 -1
- package/dist/radix-maia/resizable.js.map +1 -1
- package/dist/radix-maia/scroll-area.js.map +1 -1
- package/dist/radix-maia/select.js.map +1 -1
- package/dist/radix-maia/separator.js.map +1 -1
- package/dist/radix-maia/sheet.js.map +1 -1
- package/dist/radix-maia/sidebar.js +8 -6
- package/dist/radix-maia/sidebar.js.map +1 -1
- package/dist/radix-maia/skeleton.js.map +1 -1
- package/dist/radix-maia/slider.js.map +1 -1
- package/dist/radix-maia/spinner.js.map +1 -1
- package/dist/radix-maia/switch.js.map +1 -1
- package/dist/radix-maia/table.js.map +1 -1
- package/dist/radix-maia/tabs.js.map +1 -1
- package/dist/radix-maia/textarea.js.map +1 -1
- package/dist/radix-maia/toggle-group.js.map +1 -1
- package/dist/radix-maia/toggle.js.map +1 -1
- package/dist/radix-maia/tooltip.js.map +1 -1
- package/dist/radix-mira/accordion.js.map +1 -1
- package/dist/radix-mira/alert-dialog.js.map +1 -1
- package/dist/radix-mira/alert.js.map +1 -1
- package/dist/radix-mira/avatar.js.map +1 -1
- package/dist/radix-mira/badge.js.map +1 -1
- package/dist/radix-mira/breadcrumb.js.map +1 -1
- package/dist/radix-mira/button-group.js.map +1 -1
- package/dist/radix-mira/button.js.map +1 -1
- package/dist/radix-mira/calendar.js.map +1 -1
- package/dist/radix-mira/card.js.map +1 -1
- package/dist/radix-mira/carousel.js.map +1 -1
- package/dist/radix-mira/chart.js.map +1 -1
- package/dist/radix-mira/checkbox.js.map +1 -1
- package/dist/radix-mira/combobox.js.map +1 -1
- package/dist/radix-mira/command.js.map +1 -1
- package/dist/radix-mira/context-menu.js.map +1 -1
- package/dist/radix-mira/dialog.js.map +1 -1
- package/dist/radix-mira/drawer.js.map +1 -1
- package/dist/radix-mira/dropdown-menu.js.map +1 -1
- package/dist/radix-mira/empty.js.map +1 -1
- package/dist/radix-mira/field.js.map +1 -1
- package/dist/radix-mira/hover-card.js.map +1 -1
- package/dist/radix-mira/index.js +8 -6
- package/dist/radix-mira/index.js.map +1 -1
- package/dist/radix-mira/input-group.js.map +1 -1
- package/dist/radix-mira/input-otp.js.map +1 -1
- package/dist/radix-mira/input.js.map +1 -1
- package/dist/radix-mira/item.js.map +1 -1
- package/dist/radix-mira/kbd.js.map +1 -1
- package/dist/radix-mira/label.js.map +1 -1
- package/dist/radix-mira/menubar.js.map +1 -1
- package/dist/radix-mira/native-select.js.map +1 -1
- package/dist/radix-mira/navigation-menu.js.map +1 -1
- package/dist/radix-mira/pagination.js.map +1 -1
- package/dist/radix-mira/popover.js.map +1 -1
- package/dist/radix-mira/progress.js.map +1 -1
- package/dist/radix-mira/radio-group.js.map +1 -1
- package/dist/radix-mira/resizable.js.map +1 -1
- package/dist/radix-mira/scroll-area.js.map +1 -1
- package/dist/radix-mira/select.js.map +1 -1
- package/dist/radix-mira/separator.js.map +1 -1
- package/dist/radix-mira/sheet.js.map +1 -1
- package/dist/radix-mira/sidebar.js +8 -6
- package/dist/radix-mira/sidebar.js.map +1 -1
- package/dist/radix-mira/skeleton.js.map +1 -1
- package/dist/radix-mira/slider.js.map +1 -1
- package/dist/radix-mira/spinner.js.map +1 -1
- package/dist/radix-mira/switch.js.map +1 -1
- package/dist/radix-mira/table.js.map +1 -1
- package/dist/radix-mira/tabs.js.map +1 -1
- package/dist/radix-mira/textarea.js.map +1 -1
- package/dist/radix-mira/toggle-group.js.map +1 -1
- package/dist/radix-mira/toggle.js.map +1 -1
- package/dist/radix-mira/tooltip.js.map +1 -1
- package/dist/radix-nova/accordion.js.map +1 -1
- package/dist/radix-nova/alert-dialog.js.map +1 -1
- package/dist/radix-nova/alert.js.map +1 -1
- package/dist/radix-nova/avatar.js.map +1 -1
- package/dist/radix-nova/badge.js.map +1 -1
- package/dist/radix-nova/breadcrumb.js.map +1 -1
- package/dist/radix-nova/button-group.js.map +1 -1
- package/dist/radix-nova/button.js.map +1 -1
- package/dist/radix-nova/calendar.js.map +1 -1
- package/dist/radix-nova/card.js.map +1 -1
- package/dist/radix-nova/carousel.js.map +1 -1
- package/dist/radix-nova/chart.js.map +1 -1
- package/dist/radix-nova/checkbox.js.map +1 -1
- package/dist/radix-nova/combobox.js.map +1 -1
- package/dist/radix-nova/command.js.map +1 -1
- package/dist/radix-nova/context-menu.js.map +1 -1
- package/dist/radix-nova/dialog.js.map +1 -1
- package/dist/radix-nova/drawer.js.map +1 -1
- package/dist/radix-nova/dropdown-menu.js.map +1 -1
- package/dist/radix-nova/empty.js.map +1 -1
- package/dist/radix-nova/field.js.map +1 -1
- package/dist/radix-nova/hover-card.js.map +1 -1
- package/dist/radix-nova/index.js +8 -6
- package/dist/radix-nova/index.js.map +1 -1
- package/dist/radix-nova/input-group.js.map +1 -1
- package/dist/radix-nova/input-otp.js.map +1 -1
- package/dist/radix-nova/input.js.map +1 -1
- package/dist/radix-nova/item.js.map +1 -1
- package/dist/radix-nova/kbd.js.map +1 -1
- package/dist/radix-nova/label.js.map +1 -1
- package/dist/radix-nova/menubar.js.map +1 -1
- package/dist/radix-nova/native-select.js.map +1 -1
- package/dist/radix-nova/navigation-menu.js.map +1 -1
- package/dist/radix-nova/pagination.js.map +1 -1
- package/dist/radix-nova/popover.js.map +1 -1
- package/dist/radix-nova/progress.js.map +1 -1
- package/dist/radix-nova/radio-group.js.map +1 -1
- package/dist/radix-nova/resizable.js.map +1 -1
- package/dist/radix-nova/scroll-area.js.map +1 -1
- package/dist/radix-nova/select.js.map +1 -1
- package/dist/radix-nova/separator.js.map +1 -1
- package/dist/radix-nova/sheet.js.map +1 -1
- package/dist/radix-nova/sidebar.js +8 -6
- package/dist/radix-nova/sidebar.js.map +1 -1
- package/dist/radix-nova/skeleton.js.map +1 -1
- package/dist/radix-nova/slider.js.map +1 -1
- package/dist/radix-nova/spinner.js.map +1 -1
- package/dist/radix-nova/switch.js.map +1 -1
- package/dist/radix-nova/table.js.map +1 -1
- package/dist/radix-nova/tabs.js.map +1 -1
- package/dist/radix-nova/textarea.js.map +1 -1
- package/dist/radix-nova/toggle-group.js.map +1 -1
- package/dist/radix-nova/toggle.js.map +1 -1
- package/dist/radix-nova/tooltip.js.map +1 -1
- package/dist/radix-vega/accordion.js.map +1 -1
- package/dist/radix-vega/action-bar.d.ts +41 -0
- package/dist/radix-vega/action-bar.js +589 -0
- package/dist/radix-vega/action-bar.js.map +1 -0
- package/dist/radix-vega/alert-dialog.js.map +1 -1
- package/dist/radix-vega/alert.js.map +1 -1
- package/dist/radix-vega/avatar-group.d.ts +19 -0
- package/dist/radix-vega/avatar-group.js +193 -0
- package/dist/radix-vega/avatar-group.js.map +1 -0
- package/dist/radix-vega/avatar.d.ts +1 -3
- package/dist/radix-vega/avatar.js +1 -27
- package/dist/radix-vega/avatar.js.map +1 -1
- package/dist/radix-vega/badge-overflow.d.ts +21 -0
- package/dist/radix-vega/badge-overflow.js +223 -0
- package/dist/radix-vega/badge-overflow.js.map +1 -0
- package/dist/radix-vega/badge.d.ts +1 -1
- package/dist/radix-vega/badge.js.map +1 -1
- package/dist/radix-vega/breadcrumb.js.map +1 -1
- package/dist/radix-vega/button-group.js.map +1 -1
- package/dist/radix-vega/button.d.ts +2 -2
- package/dist/radix-vega/button.js.map +1 -1
- package/dist/radix-vega/calendar.js.map +1 -1
- package/dist/radix-vega/card.js.map +1 -1
- package/dist/radix-vega/carousel.js.map +1 -1
- package/dist/radix-vega/chart.js.map +1 -1
- package/dist/radix-vega/checkbox-group.d.ts +12 -0
- package/dist/radix-vega/checkbox-group.js +119 -0
- package/dist/radix-vega/checkbox-group.js.map +1 -0
- package/dist/radix-vega/checkbox.js.map +1 -1
- package/dist/radix-vega/circular-progress.d.ts +27 -0
- package/dist/radix-vega/circular-progress.js +252 -0
- package/dist/radix-vega/circular-progress.js.map +1 -0
- package/dist/radix-vega/color-picker.d.ts +85 -0
- package/dist/radix-vega/color-picker.js +1683 -0
- package/dist/radix-vega/color-picker.js.map +1 -0
- package/dist/radix-vega/color-swatch.d.ts +17 -0
- package/dist/radix-vega/color-swatch.js +95 -0
- package/dist/radix-vega/color-swatch.js.map +1 -0
- package/dist/radix-vega/combobox.d.ts +18 -22
- package/dist/radix-vega/combobox.js +118 -276
- package/dist/radix-vega/combobox.js.map +1 -1
- package/dist/radix-vega/command.js.map +1 -1
- package/dist/radix-vega/compare-slider.d.ts +32 -0
- package/dist/radix-vega/compare-slider.js +393 -0
- package/dist/radix-vega/compare-slider.js.map +1 -0
- package/dist/radix-vega/context-menu.js.map +1 -1
- package/dist/radix-vega/cropper.d.ts +89 -0
- package/dist/radix-vega/cropper.js +1396 -0
- package/dist/radix-vega/cropper.js.map +1 -0
- package/dist/radix-vega/dialog.js.map +1 -1
- package/dist/radix-vega/drawer.js.map +1 -1
- package/dist/radix-vega/dropdown-menu.js.map +1 -1
- package/dist/radix-vega/editable.d.ts +100 -0
- package/dist/radix-vega/editable.js +684 -0
- package/dist/radix-vega/editable.js.map +1 -0
- package/dist/radix-vega/empty.js.map +1 -1
- package/dist/radix-vega/field.js.map +1 -1
- package/dist/radix-vega/file-upload.d.ts +89 -0
- package/dist/radix-vega/file-upload.js +1089 -0
- package/dist/radix-vega/file-upload.js.map +1 -0
- package/dist/radix-vega/gauge.d.ts +27 -0
- package/dist/radix-vega/gauge.js +359 -0
- package/dist/radix-vega/gauge.js.map +1 -0
- package/dist/radix-vega/hover-card.js.map +1 -1
- package/dist/radix-vega/index.d.ts +50 -3
- package/dist/radix-vega/index.js +23001 -2667
- package/dist/radix-vega/index.js.map +1 -1
- package/dist/radix-vega/input-group.d.ts +1 -1
- package/dist/radix-vega/input-group.js.map +1 -1
- package/dist/radix-vega/input-otp.js.map +1 -1
- package/dist/radix-vega/input.js.map +1 -1
- package/dist/radix-vega/item.d.ts +2 -2
- package/dist/radix-vega/item.js.map +1 -1
- package/dist/radix-vega/kanban.d.ts +62 -0
- package/dist/radix-vega/kanban.js +831 -0
- package/dist/radix-vega/kanban.js.map +1 -0
- package/dist/radix-vega/kbd.js.map +1 -1
- package/dist/radix-vega/key-value.d.ts +82 -0
- package/dist/radix-vega/key-value.js +765 -0
- package/dist/radix-vega/key-value.js.map +1 -0
- package/dist/radix-vega/label.js.map +1 -1
- package/dist/radix-vega/listbox.d.ts +11 -0
- package/dist/radix-vega/listbox.js +90 -0
- package/dist/radix-vega/listbox.js.map +1 -0
- package/dist/radix-vega/mask-input.d.ts +64 -0
- package/dist/radix-vega/mask-input.js +1186 -0
- package/dist/radix-vega/mask-input.js.map +1 -0
- package/dist/radix-vega/media-player.d.ts +127 -0
- package/dist/radix-vega/media-player.js +2696 -0
- package/dist/radix-vega/media-player.js.map +1 -0
- package/dist/radix-vega/mention.d.ts +11 -0
- package/dist/radix-vega/mention.js +94 -0
- package/dist/radix-vega/mention.js.map +1 -0
- package/dist/radix-vega/menubar.js.map +1 -1
- package/dist/radix-vega/native-select.js.map +1 -1
- package/dist/radix-vega/navigation-menu.js.map +1 -1
- package/dist/radix-vega/pagination.js.map +1 -1
- package/dist/radix-vega/phone-input.d.ts +48 -0
- package/dist/radix-vega/phone-input.js +957 -0
- package/dist/radix-vega/phone-input.js.map +1 -0
- package/dist/radix-vega/popover.js.map +1 -1
- package/dist/radix-vega/progress.js.map +1 -1
- package/dist/radix-vega/qr-code.d.ts +53 -0
- package/dist/radix-vega/qr-code.js +396 -0
- package/dist/radix-vega/qr-code.js.map +1 -0
- package/dist/radix-vega/radio-group.js.map +1 -1
- package/dist/radix-vega/rating.d.ts +47 -0
- package/dist/radix-vega/rating.js +749 -0
- package/dist/radix-vega/rating.js.map +1 -0
- package/dist/radix-vega/relative-time-card.d.ts +22 -0
- package/dist/radix-vega/relative-time-card.js +236 -0
- package/dist/radix-vega/relative-time-card.js.map +1 -0
- package/dist/radix-vega/resizable.js.map +1 -1
- package/dist/radix-vega/responsive-dialog.d.ts +20 -0
- package/dist/radix-vega/responsive-dialog.js +483 -0
- package/dist/radix-vega/responsive-dialog.js.map +1 -0
- package/dist/radix-vega/scroll-area.js.map +1 -1
- package/dist/radix-vega/scroll-spy.d.ts +39 -0
- package/dist/radix-vega/scroll-spy.js +372 -0
- package/dist/radix-vega/scroll-spy.js.map +1 -0
- package/dist/radix-vega/scroller.d.ts +20 -0
- package/dist/radix-vega/scroller.js +352 -0
- package/dist/radix-vega/scroller.js.map +1 -0
- package/dist/radix-vega/segmented-input.d.ts +29 -0
- package/dist/radix-vega/segmented-input.js +178 -0
- package/dist/radix-vega/segmented-input.js.map +1 -0
- package/dist/radix-vega/select.js.map +1 -1
- package/dist/radix-vega/separator.js.map +1 -1
- package/dist/radix-vega/sheet.js.map +1 -1
- package/dist/radix-vega/sidebar.js +8 -6
- package/dist/radix-vega/sidebar.js.map +1 -1
- package/dist/radix-vega/skeleton.js.map +1 -1
- package/dist/radix-vega/slider.js.map +1 -1
- package/dist/radix-vega/sortable.d.ts +51 -0
- package/dist/radix-vega/sortable.js +444 -0
- package/dist/radix-vega/sortable.js.map +1 -0
- package/dist/radix-vega/speed-dial.d.ts +46 -0
- package/dist/radix-vega/speed-dial.js +898 -0
- package/dist/radix-vega/speed-dial.js.map +1 -0
- package/dist/radix-vega/spinner.js.map +1 -1
- package/dist/radix-vega/stack.d.ts +21 -0
- package/dist/radix-vega/stack.js +268 -0
- package/dist/radix-vega/stack.js.map +1 -0
- package/dist/radix-vega/stat.d.ts +24 -0
- package/dist/radix-vega/stat.js +147 -0
- package/dist/radix-vega/stat.js.map +1 -0
- package/dist/radix-vega/status.d.ts +18 -0
- package/dist/radix-vega/status.js +71 -0
- package/dist/radix-vega/status.js.map +1 -0
- package/dist/radix-vega/stepper.d.ts +73 -0
- package/dist/radix-vega/stepper.js +973 -0
- package/dist/radix-vega/stepper.js.map +1 -0
- package/dist/radix-vega/swap.d.ts +29 -0
- package/dist/radix-vega/swap.js +214 -0
- package/dist/radix-vega/swap.js.map +1 -0
- package/dist/radix-vega/switch.js.map +1 -1
- package/dist/radix-vega/table.js.map +1 -1
- package/dist/radix-vega/tabs.d.ts +1 -1
- package/dist/radix-vega/tabs.js.map +1 -1
- package/dist/radix-vega/tags-input.d.ts +12 -0
- package/dist/radix-vega/tags-input.js +98 -0
- package/dist/radix-vega/tags-input.js.map +1 -0
- package/dist/radix-vega/textarea.js.map +1 -1
- package/dist/radix-vega/time-picker.d.ts +88 -0
- package/dist/radix-vega/time-picker.js +1750 -0
- package/dist/radix-vega/time-picker.js.map +1 -0
- package/dist/radix-vega/timeline.d.ts +32 -0
- package/dist/radix-vega/timeline.js +611 -0
- package/dist/radix-vega/timeline.js.map +1 -0
- package/dist/radix-vega/toggle-group.js.map +1 -1
- package/dist/radix-vega/toggle.js.map +1 -1
- package/dist/radix-vega/tooltip.js.map +1 -1
- package/dist/radix-vega/tour.d.ts +109 -0
- package/dist/radix-vega/tour.js +1314 -0
- package/dist/radix-vega/tour.js.map +1 -0
- package/dist/radix-vega/visually-hidden-input.d.ts +8 -0
- package/dist/radix-vega/visually-hidden-input.js +33 -0
- package/dist/radix-vega/visually-hidden-input.js.map +1 -0
- package/package.json +53 -14
package/dist/index.d.ts
CHANGED
|
@@ -1,36 +1,85 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
|
-
import { Accordion as Accordion$1, AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Avatar as Avatar$1, Separator as Separator$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, Dialog as Dialog$1, ContextMenu as ContextMenu$1, Direction, DropdownMenu as DropdownMenu$1, Label as Label$1,
|
|
3
|
+
import { Accordion as Accordion$1, AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Avatar as Avatar$1, Separator as Separator$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, Popover as Popover$1, Select as Select$1, Dialog as Dialog$1, ContextMenu as ContextMenu$1, Direction as Direction$b, DropdownMenu as DropdownMenu$1, Label as Label$1, HoverCard as HoverCard$1, Tooltip as Tooltip$1, Menubar as Menubar$1, NavigationMenu as NavigationMenu$1, Progress as Progress$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Slider as Slider$1, Switch as Switch$1, Tabs as Tabs$1, Toggle as Toggle$1, ToggleGroup as ToggleGroup$1 } from 'radix-ui';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
|
-
import { DayPicker, DayButton } from 'react-day-picker';
|
|
6
|
+
import { DayPicker, DayButton, Locale } from 'react-day-picker';
|
|
7
7
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
8
8
|
import * as RechartsPrimitive from 'recharts';
|
|
9
|
-
import
|
|
9
|
+
import * as CheckboxGroupPrimitive from '@diceui/checkbox-group';
|
|
10
|
+
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
11
|
+
import * as ComboboxPrimitive from '@diceui/combobox';
|
|
10
12
|
import { Command as Command$1 } from 'cmdk';
|
|
11
13
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
12
|
-
import * as react_hook_form from 'react-hook-form';
|
|
13
|
-
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
14
14
|
import { OTPInput } from 'input-otp';
|
|
15
|
+
import { DndContextProps, UniqueIdentifier, DragEndEvent, DragOverlay } from '@dnd-kit/core';
|
|
16
|
+
import { SortableContextProps } from '@dnd-kit/sortable';
|
|
17
|
+
import * as ListboxPrimitive from '@diceui/listbox';
|
|
18
|
+
import * as MentionPrimitive from '@diceui/mention';
|
|
19
|
+
import { HoverCardContentProps } from '@radix-ui/react-hover-card';
|
|
15
20
|
import { SeparatorProps, PanelProps, GroupProps } from 'react-resizable-panels';
|
|
16
21
|
import { ToasterProps } from 'sonner';
|
|
22
|
+
import * as TagsInputPrimitive from '@diceui/tags-input';
|
|
23
|
+
export { useAsRef } from './hooks/use-as-ref.js';
|
|
24
|
+
export { clearBadgeWidthCache, useBadgeOverflow } from './hooks/use-badge-overflow.js';
|
|
25
|
+
export { useCallbackRef } from './hooks/use-callback-ref.js';
|
|
26
|
+
export { useDebouncedCallback } from './hooks/use-debounced-callback.js';
|
|
27
|
+
export { useIsomorphicLayoutEffect } from './hooks/use-isomorphic-layout-effect.js';
|
|
28
|
+
export { useLazyRef } from './hooks/use-lazy-ref.js';
|
|
17
29
|
export { useIsMobile } from './hooks/use-mobile.js';
|
|
30
|
+
export { composeRefs, useComposedRefs } from './lib/compose-refs.js';
|
|
31
|
+
export { formatDate } from './lib/format.js';
|
|
18
32
|
export { cn } from './lib/utils.js';
|
|
33
|
+
export { useMediaSelector as useMediaPlayer } from 'media-chrome/react/media-store';
|
|
19
34
|
import 'clsx';
|
|
20
35
|
|
|
21
|
-
declare function Accordion({ ...props }: React$1.ComponentProps<typeof Accordion$1.Root>): react_jsx_runtime.JSX.Element;
|
|
36
|
+
declare function Accordion({ className, ...props }: React$1.ComponentProps<typeof Accordion$1.Root>): react_jsx_runtime.JSX.Element;
|
|
22
37
|
declare function AccordionItem({ className, ...props }: React$1.ComponentProps<typeof Accordion$1.Item>): react_jsx_runtime.JSX.Element;
|
|
23
38
|
declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof Accordion$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
24
39
|
declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof Accordion$1.Content>): react_jsx_runtime.JSX.Element;
|
|
25
40
|
|
|
26
41
|
declare const buttonVariants: (props?: ({
|
|
27
|
-
variant?: "link" | "default" | "
|
|
42
|
+
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
28
43
|
size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
29
44
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
30
45
|
declare function Button({ className, variant, size, asChild, ...props }: React$1.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
31
46
|
asChild?: boolean;
|
|
32
47
|
}): react_jsx_runtime.JSX.Element;
|
|
33
48
|
|
|
49
|
+
type Direction$a = "ltr" | "rtl";
|
|
50
|
+
type Orientation$7 = "horizontal" | "vertical";
|
|
51
|
+
interface DivProps$e extends React$1.ComponentProps<"div"> {
|
|
52
|
+
asChild?: boolean;
|
|
53
|
+
}
|
|
54
|
+
interface ActionBarProps extends DivProps$e {
|
|
55
|
+
open?: boolean;
|
|
56
|
+
onOpenChange?: (open: boolean) => void;
|
|
57
|
+
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
58
|
+
align?: "start" | "center" | "end";
|
|
59
|
+
alignOffset?: number;
|
|
60
|
+
side?: "top" | "bottom";
|
|
61
|
+
sideOffset?: number;
|
|
62
|
+
portalContainer?: Element | DocumentFragment | null;
|
|
63
|
+
dir?: Direction$a;
|
|
64
|
+
orientation?: Orientation$7;
|
|
65
|
+
loop?: boolean;
|
|
66
|
+
}
|
|
67
|
+
declare function ActionBar(props: ActionBarProps): react_jsx_runtime.JSX.Element | null;
|
|
68
|
+
declare function ActionBarSelection(props: DivProps$e): react_jsx_runtime.JSX.Element;
|
|
69
|
+
declare function ActionBarGroup(props: DivProps$e): react_jsx_runtime.JSX.Element;
|
|
70
|
+
interface ActionBarItemProps extends Omit<React$1.ComponentProps<typeof Button>, "onSelect"> {
|
|
71
|
+
onSelect?: (event: Event) => void;
|
|
72
|
+
}
|
|
73
|
+
declare function ActionBarItem(props: ActionBarItemProps): react_jsx_runtime.JSX.Element;
|
|
74
|
+
interface ActionBarCloseProps extends React$1.ComponentProps<"button"> {
|
|
75
|
+
asChild?: boolean;
|
|
76
|
+
}
|
|
77
|
+
declare function ActionBarClose(props: ActionBarCloseProps): react_jsx_runtime.JSX.Element;
|
|
78
|
+
interface ActionBarSeparatorProps extends DivProps$e {
|
|
79
|
+
orientation?: Orientation$7;
|
|
80
|
+
}
|
|
81
|
+
declare function ActionBarSeparator(props: ActionBarSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
82
|
+
|
|
34
83
|
declare function AlertDialog({ ...props }: React$1.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime.JSX.Element;
|
|
35
84
|
declare function AlertDialogTrigger({ ...props }: React$1.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
36
85
|
declare function AlertDialogPortal({ ...props }: React$1.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
@@ -40,9 +89,9 @@ declare function AlertDialogContent({ className, size, ...props }: React$1.Compo
|
|
|
40
89
|
}): react_jsx_runtime.JSX.Element;
|
|
41
90
|
declare function AlertDialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
42
91
|
declare function AlertDialogFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
92
|
+
declare function AlertDialogMedia({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
43
93
|
declare function AlertDialogTitle({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
44
94
|
declare function AlertDialogDescription({ className, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
45
|
-
declare function AlertDialogMedia({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
46
95
|
declare function AlertDialogAction({ className, variant, size, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Action> & Pick<React$1.ComponentProps<typeof Button>, "variant" | "size">): react_jsx_runtime.JSX.Element;
|
|
47
96
|
declare function AlertDialogCancel({ className, variant, size, ...props }: React$1.ComponentProps<typeof AlertDialog$1.Cancel> & Pick<React$1.ComponentProps<typeof Button>, "variant" | "size">): react_jsx_runtime.JSX.Element;
|
|
48
97
|
|
|
@@ -52,26 +101,55 @@ declare const alertVariants: (props?: ({
|
|
|
52
101
|
declare function Alert({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof alertVariants>): react_jsx_runtime.JSX.Element;
|
|
53
102
|
declare function AlertTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
54
103
|
declare function AlertDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
104
|
+
declare function AlertAction({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
55
105
|
|
|
56
106
|
declare function AspectRatio({ ...props }: React.ComponentProps<typeof AspectRatio$1.Root>): react_jsx_runtime.JSX.Element;
|
|
57
107
|
|
|
108
|
+
declare const avatarGroupVariants: (props?: ({
|
|
109
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
110
|
+
dir?: "ltr" | "rtl" | null | undefined;
|
|
111
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
112
|
+
interface AvatarGroupProps extends Omit<React$1.ComponentProps<"div">, "dir">, VariantProps<typeof avatarGroupVariants> {
|
|
113
|
+
size?: number;
|
|
114
|
+
max?: number;
|
|
115
|
+
asChild?: boolean;
|
|
116
|
+
reverse?: boolean;
|
|
117
|
+
renderOverflow?: (count: number) => React$1.ReactNode;
|
|
118
|
+
}
|
|
119
|
+
declare function AvatarGroup(props: AvatarGroupProps): react_jsx_runtime.JSX.Element;
|
|
120
|
+
|
|
58
121
|
declare function Avatar({ className, size, ...props }: React$1.ComponentProps<typeof Avatar$1.Root> & {
|
|
59
122
|
size?: "default" | "sm" | "lg";
|
|
60
123
|
}): react_jsx_runtime.JSX.Element;
|
|
61
124
|
declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime.JSX.Element;
|
|
62
125
|
declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime.JSX.Element;
|
|
63
126
|
declare function AvatarBadge({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
64
|
-
|
|
65
|
-
|
|
127
|
+
|
|
128
|
+
interface GetBadgeLabel<T> {
|
|
129
|
+
/**
|
|
130
|
+
* Callback that returns a label string for each badge item.
|
|
131
|
+
* Optional for primitive arrays (strings, numbers), required for object arrays.
|
|
132
|
+
* @example getBadgeLabel={(item) => item.name}
|
|
133
|
+
*/
|
|
134
|
+
getBadgeLabel: (item: T) => string;
|
|
135
|
+
}
|
|
136
|
+
type BadgeOverflowProps<T = string> = React$1.ComponentProps<"div"> & (T extends object ? GetBadgeLabel<T> : Partial<GetBadgeLabel<T>>) & {
|
|
137
|
+
items: T[];
|
|
138
|
+
lineCount?: number;
|
|
139
|
+
renderBadge: (item: T, label: string) => React$1.ReactNode;
|
|
140
|
+
renderOverflow?: (count: number) => React$1.ReactNode;
|
|
141
|
+
asChild?: boolean;
|
|
142
|
+
};
|
|
143
|
+
declare function BadgeOverflow<T = string>(props: BadgeOverflowProps<T>): react_jsx_runtime.JSX.Element;
|
|
66
144
|
|
|
67
145
|
declare const badgeVariants: (props?: ({
|
|
68
|
-
variant?: "link" | "default" | "
|
|
146
|
+
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
69
147
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
70
148
|
declare function Badge({ className, variant, asChild, ...props }: React$1.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
71
149
|
asChild?: boolean;
|
|
72
150
|
}): react_jsx_runtime.JSX.Element;
|
|
73
151
|
|
|
74
|
-
declare function Breadcrumb({ ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
152
|
+
declare function Breadcrumb({ className, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
75
153
|
declare function BreadcrumbList({ className, ...props }: React$1.ComponentProps<"ol">): react_jsx_runtime.JSX.Element;
|
|
76
154
|
declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
77
155
|
declare function BreadcrumbLink({ asChild, className, ...props }: React$1.ComponentProps<"a"> & {
|
|
@@ -92,12 +170,16 @@ declare function ButtonGroupText({ className, asChild, ...props }: React.Compone
|
|
|
92
170
|
}): react_jsx_runtime.JSX.Element;
|
|
93
171
|
declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
94
172
|
|
|
95
|
-
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
|
|
173
|
+
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, locale, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
|
|
96
174
|
buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
|
|
97
175
|
}): react_jsx_runtime.JSX.Element;
|
|
98
|
-
declare function CalendarDayButton({ className, day, modifiers, ...props }: React$1.ComponentProps<typeof DayButton>
|
|
176
|
+
declare function CalendarDayButton({ className, day, modifiers, locale, ...props }: React$1.ComponentProps<typeof DayButton> & {
|
|
177
|
+
locale?: Partial<Locale>;
|
|
178
|
+
}): react_jsx_runtime.JSX.Element;
|
|
99
179
|
|
|
100
|
-
declare function Card({ className, ...props }: React$1.ComponentProps<"div">
|
|
180
|
+
declare function Card({ className, size, ...props }: React$1.ComponentProps<"div"> & {
|
|
181
|
+
size?: "default" | "sm";
|
|
182
|
+
}): react_jsx_runtime.JSX.Element;
|
|
101
183
|
declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
102
184
|
declare function CardTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
103
185
|
declare function CardDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
@@ -115,6 +197,15 @@ type CarouselProps = {
|
|
|
115
197
|
orientation?: "horizontal" | "vertical";
|
|
116
198
|
setApi?: (api: CarouselApi) => void;
|
|
117
199
|
};
|
|
200
|
+
type CarouselContextProps = {
|
|
201
|
+
carouselRef: ReturnType<typeof useEmblaCarousel>[0];
|
|
202
|
+
api: ReturnType<typeof useEmblaCarousel>[1];
|
|
203
|
+
scrollPrev: () => void;
|
|
204
|
+
scrollNext: () => void;
|
|
205
|
+
canScrollPrev: boolean;
|
|
206
|
+
canScrollNext: boolean;
|
|
207
|
+
} & CarouselProps;
|
|
208
|
+
declare function useCarousel(): CarouselContextProps;
|
|
118
209
|
declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React$1.ComponentProps<"div"> & CarouselProps): react_jsx_runtime.JSX.Element;
|
|
119
210
|
declare function CarouselContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
120
211
|
declare function CarouselItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
@@ -159,33 +250,166 @@ declare function ChartLegendContent({ className, hideIcon, payload, verticalAlig
|
|
|
159
250
|
nameKey?: string;
|
|
160
251
|
}): react_jsx_runtime.JSX.Element | null;
|
|
161
252
|
|
|
253
|
+
declare function CheckboxGroup({ className, ...props }: React$1.ComponentProps<typeof CheckboxGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
254
|
+
declare function CheckboxGroupLabel({ className, ...props }: React$1.ComponentProps<typeof CheckboxGroupPrimitive.Label>): react_jsx_runtime.JSX.Element;
|
|
255
|
+
declare function CheckboxGroupList({ className, ...props }: React$1.ComponentProps<typeof CheckboxGroupPrimitive.List>): react_jsx_runtime.JSX.Element;
|
|
256
|
+
declare function CheckboxGroupItem({ className, children, ...props }: React$1.ComponentProps<typeof CheckboxGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
257
|
+
declare function CheckboxGroupDescription({ className, ...props }: React$1.ComponentProps<typeof CheckboxGroupPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
258
|
+
declare function CheckboxGroupMessage({ className, ...props }: React$1.ComponentProps<typeof CheckboxGroupPrimitive.Message>): react_jsx_runtime.JSX.Element;
|
|
259
|
+
|
|
162
260
|
declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof Checkbox$1.Root>): react_jsx_runtime.JSX.Element;
|
|
163
261
|
|
|
262
|
+
interface CircularProgressProps extends React$1.ComponentProps<"div"> {
|
|
263
|
+
value?: number | null | undefined;
|
|
264
|
+
getValueText?(value: number, min: number, max: number): string;
|
|
265
|
+
min?: number;
|
|
266
|
+
max?: number;
|
|
267
|
+
size?: number;
|
|
268
|
+
thickness?: number;
|
|
269
|
+
label?: string;
|
|
270
|
+
asChild?: boolean;
|
|
271
|
+
}
|
|
272
|
+
declare function CircularProgress(props: CircularProgressProps): react_jsx_runtime.JSX.Element;
|
|
273
|
+
declare function CircularProgressIndicator(props: React$1.ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
|
|
274
|
+
declare namespace CircularProgressIndicator {
|
|
275
|
+
var displayName: string;
|
|
276
|
+
}
|
|
277
|
+
declare function CircularProgressTrack(props: React$1.ComponentProps<"circle">): react_jsx_runtime.JSX.Element;
|
|
278
|
+
declare function CircularProgressRange(props: React$1.ComponentProps<"circle">): react_jsx_runtime.JSX.Element;
|
|
279
|
+
interface CircularProgressValueTextProps extends React$1.ComponentProps<"span"> {
|
|
280
|
+
asChild?: boolean;
|
|
281
|
+
}
|
|
282
|
+
declare function CircularProgressValueText(props: CircularProgressValueTextProps): react_jsx_runtime.JSX.Element;
|
|
283
|
+
declare function CircularProgressCombined(props: CircularProgressProps): react_jsx_runtime.JSX.Element;
|
|
284
|
+
|
|
164
285
|
declare function Collapsible({ ...props }: React.ComponentProps<typeof Collapsible$1.Root>): react_jsx_runtime.JSX.Element;
|
|
165
286
|
declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof Collapsible$1.CollapsibleTrigger>): react_jsx_runtime.JSX.Element;
|
|
166
287
|
declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof Collapsible$1.CollapsibleContent>): react_jsx_runtime.JSX.Element;
|
|
167
288
|
|
|
168
|
-
declare
|
|
169
|
-
|
|
170
|
-
declare function
|
|
171
|
-
declare function
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
}): react_jsx_runtime.JSX.Element;
|
|
175
|
-
declare function
|
|
176
|
-
declare function
|
|
177
|
-
|
|
178
|
-
declare function
|
|
179
|
-
declare function
|
|
180
|
-
declare function
|
|
181
|
-
declare function
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
declare function
|
|
185
|
-
|
|
186
|
-
}): react_jsx_runtime.JSX.Element;
|
|
187
|
-
declare function
|
|
188
|
-
declare function
|
|
289
|
+
declare function Input({ className, type, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
290
|
+
|
|
291
|
+
declare function Popover({ ...props }: React$1.ComponentProps<typeof Popover$1.Root>): react_jsx_runtime.JSX.Element;
|
|
292
|
+
declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof Popover$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
293
|
+
declare function PopoverContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof Popover$1.Content>): react_jsx_runtime.JSX.Element;
|
|
294
|
+
declare function PopoverAnchor({ ...props }: React$1.ComponentProps<typeof Popover$1.Anchor>): react_jsx_runtime.JSX.Element;
|
|
295
|
+
declare function PopoverHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
296
|
+
declare function PopoverTitle({ className, ...props }: React$1.ComponentProps<"h2">): react_jsx_runtime.JSX.Element;
|
|
297
|
+
declare function PopoverDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
298
|
+
|
|
299
|
+
declare function Select({ ...props }: React$1.ComponentProps<typeof Select$1.Root>): react_jsx_runtime.JSX.Element;
|
|
300
|
+
declare function SelectGroup({ className, ...props }: React$1.ComponentProps<typeof Select$1.Group>): react_jsx_runtime.JSX.Element;
|
|
301
|
+
declare function SelectValue({ ...props }: React$1.ComponentProps<typeof Select$1.Value>): react_jsx_runtime.JSX.Element;
|
|
302
|
+
declare function SelectTrigger({ className, size, children, ...props }: React$1.ComponentProps<typeof Select$1.Trigger> & {
|
|
303
|
+
size?: "sm" | "default";
|
|
304
|
+
}): react_jsx_runtime.JSX.Element;
|
|
305
|
+
declare function SelectContent({ className, children, position, align, ...props }: React$1.ComponentProps<typeof Select$1.Content>): react_jsx_runtime.JSX.Element;
|
|
306
|
+
declare function SelectLabel({ className, ...props }: React$1.ComponentProps<typeof Select$1.Label>): react_jsx_runtime.JSX.Element;
|
|
307
|
+
declare function SelectItem({ className, children, ...props }: React$1.ComponentProps<typeof Select$1.Item>): react_jsx_runtime.JSX.Element;
|
|
308
|
+
declare function SelectSeparator({ className, ...props }: React$1.ComponentProps<typeof Select$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
309
|
+
declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollUpButton>): react_jsx_runtime.JSX.Element;
|
|
310
|
+
declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollDownButton>): react_jsx_runtime.JSX.Element;
|
|
311
|
+
|
|
312
|
+
declare const colorFormats: readonly ["hex", "rgb", "hsl", "hsb"];
|
|
313
|
+
interface DivProps$d extends React$1.ComponentProps<"div"> {
|
|
314
|
+
asChild?: boolean;
|
|
315
|
+
}
|
|
316
|
+
type ColorFormat = (typeof colorFormats)[number];
|
|
317
|
+
/**
|
|
318
|
+
* @see https://gist.github.com/bkrmendy/f4582173f50fab209ddfef1377ab31e3
|
|
319
|
+
*/
|
|
320
|
+
interface EyeDropper {
|
|
321
|
+
open: (options?: {
|
|
322
|
+
signal?: AbortSignal;
|
|
323
|
+
}) => Promise<{
|
|
324
|
+
sRGBHex: string;
|
|
325
|
+
}>;
|
|
326
|
+
}
|
|
327
|
+
declare global {
|
|
328
|
+
interface Window {
|
|
329
|
+
EyeDropper?: {
|
|
330
|
+
new (): EyeDropper;
|
|
331
|
+
};
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
interface ColorValue {
|
|
335
|
+
r: number;
|
|
336
|
+
g: number;
|
|
337
|
+
b: number;
|
|
338
|
+
a: number;
|
|
339
|
+
}
|
|
340
|
+
interface HSVColorValue {
|
|
341
|
+
h: number;
|
|
342
|
+
s: number;
|
|
343
|
+
v: number;
|
|
344
|
+
a: number;
|
|
345
|
+
}
|
|
346
|
+
type Direction$9 = "ltr" | "rtl";
|
|
347
|
+
interface StoreState$a {
|
|
348
|
+
color: ColorValue;
|
|
349
|
+
hsv: HSVColorValue;
|
|
350
|
+
open: boolean;
|
|
351
|
+
format: ColorFormat;
|
|
352
|
+
}
|
|
353
|
+
declare function useStore$b<U>(selector: (state: StoreState$a) => U): U;
|
|
354
|
+
interface ColorPickerProps extends Omit<DivProps$d, "onValueChange">, Pick<React$1.ComponentProps<typeof Popover>, "defaultOpen" | "open" | "onOpenChange" | "modal"> {
|
|
355
|
+
value?: string;
|
|
356
|
+
defaultValue?: string;
|
|
357
|
+
onValueChange?: (value: string) => void;
|
|
358
|
+
dir?: Direction$9;
|
|
359
|
+
format?: ColorFormat;
|
|
360
|
+
defaultFormat?: ColorFormat;
|
|
361
|
+
onFormatChange?: (format: ColorFormat) => void;
|
|
362
|
+
name?: string;
|
|
363
|
+
asChild?: boolean;
|
|
364
|
+
disabled?: boolean;
|
|
365
|
+
inline?: boolean;
|
|
366
|
+
readOnly?: boolean;
|
|
367
|
+
required?: boolean;
|
|
368
|
+
}
|
|
369
|
+
declare function ColorPicker(props: ColorPickerProps): react_jsx_runtime.JSX.Element;
|
|
370
|
+
declare function ColorPickerTrigger(props: React$1.ComponentProps<typeof PopoverTrigger>): react_jsx_runtime.JSX.Element;
|
|
371
|
+
declare function ColorPickerContent(props: React$1.ComponentProps<typeof PopoverContent>): react_jsx_runtime.JSX.Element;
|
|
372
|
+
declare function ColorPickerArea(props: DivProps$d): react_jsx_runtime.JSX.Element;
|
|
373
|
+
declare function ColorPickerHueSlider(props: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
374
|
+
declare function ColorPickerAlphaSlider(props: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
375
|
+
declare function ColorPickerSwatch(props: DivProps$d): react_jsx_runtime.JSX.Element;
|
|
376
|
+
declare function ColorPickerEyeDropper(props: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element | null;
|
|
377
|
+
interface ColorPickerFormatSelectProps extends Omit<React$1.ComponentProps<typeof Select>, "value" | "onValueChange">, Pick<React$1.ComponentProps<typeof SelectTrigger>, "size" | "className"> {
|
|
378
|
+
}
|
|
379
|
+
declare function ColorPickerFormatSelect(props: ColorPickerFormatSelectProps): react_jsx_runtime.JSX.Element;
|
|
380
|
+
interface ColorPickerInputProps extends Omit<React$1.ComponentProps<typeof Input>, "value" | "onChange" | "color"> {
|
|
381
|
+
withoutAlpha?: boolean;
|
|
382
|
+
}
|
|
383
|
+
declare function ColorPickerInput(props: ColorPickerInputProps): react_jsx_runtime.JSX.Element | undefined;
|
|
384
|
+
|
|
385
|
+
declare const colorSwatchVariants: (props?: ({
|
|
386
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
387
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
388
|
+
interface ColorSwatchProps extends Omit<React$1.ComponentProps<"div">, "children">, VariantProps<typeof colorSwatchVariants> {
|
|
389
|
+
color?: string;
|
|
390
|
+
asChild?: boolean;
|
|
391
|
+
disabled?: boolean;
|
|
392
|
+
withoutTransparency?: boolean;
|
|
393
|
+
}
|
|
394
|
+
declare function ColorSwatch({ color, size, asChild, disabled, withoutTransparency, className, style, ...props }: ColorSwatchProps): react_jsx_runtime.JSX.Element;
|
|
395
|
+
|
|
396
|
+
declare const Combobox: ComboboxPrimitive.ComboboxRootComponentProps;
|
|
397
|
+
declare function ComboboxLabel({ className, ...props }: React$1.ComponentProps<typeof ComboboxPrimitive.Label>): react_jsx_runtime.JSX.Element;
|
|
398
|
+
declare function ComboboxAnchor({ className, ...props }: React$1.ComponentProps<typeof ComboboxPrimitive.Anchor>): react_jsx_runtime.JSX.Element;
|
|
399
|
+
declare function ComboboxInput({ className, ...props }: React$1.ComponentProps<typeof ComboboxPrimitive.Input>): react_jsx_runtime.JSX.Element;
|
|
400
|
+
declare function ComboboxTrigger({ className, children, ...props }: React$1.ComponentProps<typeof ComboboxPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
401
|
+
declare function ComboboxCancel({ className, ...props }: React$1.ComponentProps<typeof ComboboxPrimitive.Cancel>): react_jsx_runtime.JSX.Element;
|
|
402
|
+
declare function ComboboxBadgeList({ className, ...props }: React$1.ComponentProps<typeof ComboboxPrimitive.BadgeList>): react_jsx_runtime.JSX.Element;
|
|
403
|
+
declare function ComboboxBadgeItem({ className, children, ...props }: React$1.ComponentProps<typeof ComboboxPrimitive.BadgeItem>): react_jsx_runtime.JSX.Element;
|
|
404
|
+
declare function ComboboxContent({ sideOffset, className, children, ...props }: React$1.ComponentProps<typeof ComboboxPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
405
|
+
declare function ComboboxLoading({ className, ...props }: React$1.ComponentProps<typeof ComboboxPrimitive.Loading>): react_jsx_runtime.JSX.Element;
|
|
406
|
+
declare function ComboboxEmpty({ className, ...props }: React$1.ComponentProps<typeof ComboboxPrimitive.Empty>): react_jsx_runtime.JSX.Element;
|
|
407
|
+
declare function ComboboxGroup({ className, ...props }: React$1.ComponentProps<typeof ComboboxPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
408
|
+
declare function ComboboxGroupLabel({ className, ...props }: React$1.ComponentProps<typeof ComboboxPrimitive.GroupLabel>): react_jsx_runtime.JSX.Element;
|
|
409
|
+
declare function ComboboxItem({ className, children, outset, ...props }: React$1.ComponentProps<typeof ComboboxPrimitive.Item> & {
|
|
410
|
+
outset?: boolean;
|
|
411
|
+
}): react_jsx_runtime.JSX.Element;
|
|
412
|
+
declare function ComboboxSeparator({ className, ...props }: React$1.ComponentProps<typeof ComboboxPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
189
413
|
|
|
190
414
|
declare function Dialog({ ...props }: React$1.ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
|
|
191
415
|
declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
@@ -211,39 +435,156 @@ declare function CommandDialog({ title, description, children, className, showCl
|
|
|
211
435
|
}): react_jsx_runtime.JSX.Element;
|
|
212
436
|
declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
|
|
213
437
|
declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
|
|
214
|
-
declare function CommandEmpty({ ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
|
|
438
|
+
declare function CommandEmpty({ className, ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
|
|
215
439
|
declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
|
|
216
440
|
declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
217
|
-
declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
|
|
441
|
+
declare function CommandItem({ className, children, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
|
|
218
442
|
declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
219
443
|
|
|
444
|
+
type Interaction = "hover" | "drag";
|
|
445
|
+
type Orientation$6 = "horizontal" | "vertical";
|
|
446
|
+
interface DivProps$c extends React$1.ComponentProps<"div"> {
|
|
447
|
+
asChild?: boolean;
|
|
448
|
+
}
|
|
449
|
+
interface CompareSliderProps extends DivProps$c {
|
|
450
|
+
value?: number;
|
|
451
|
+
defaultValue?: number;
|
|
452
|
+
onValueChange?: (value: number) => void;
|
|
453
|
+
step?: number;
|
|
454
|
+
interaction?: Interaction;
|
|
455
|
+
orientation?: Orientation$6;
|
|
456
|
+
}
|
|
457
|
+
declare function CompareSlider(props: CompareSliderProps): react_jsx_runtime.JSX.Element;
|
|
458
|
+
interface CompareSliderBeforeProps extends DivProps$c {
|
|
459
|
+
label?: string;
|
|
460
|
+
}
|
|
461
|
+
declare function CompareSliderBefore(props: CompareSliderBeforeProps): react_jsx_runtime.JSX.Element;
|
|
462
|
+
interface CompareSliderAfterProps extends DivProps$c {
|
|
463
|
+
label?: string;
|
|
464
|
+
}
|
|
465
|
+
declare function CompareSliderAfter(props: CompareSliderAfterProps): react_jsx_runtime.JSX.Element;
|
|
466
|
+
declare function CompareSliderHandle(props: DivProps$c): react_jsx_runtime.JSX.Element;
|
|
467
|
+
interface CompareSliderLabelProps extends DivProps$c {
|
|
468
|
+
side?: "before" | "after";
|
|
469
|
+
}
|
|
470
|
+
declare function CompareSliderLabel(props: CompareSliderLabelProps): react_jsx_runtime.JSX.Element;
|
|
471
|
+
|
|
220
472
|
declare function ContextMenu({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Root>): react_jsx_runtime.JSX.Element;
|
|
221
|
-
declare function ContextMenuTrigger({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
473
|
+
declare function ContextMenuTrigger({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
222
474
|
declare function ContextMenuGroup({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Group>): react_jsx_runtime.JSX.Element;
|
|
223
475
|
declare function ContextMenuPortal({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
224
476
|
declare function ContextMenuSub({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.Sub>): react_jsx_runtime.JSX.Element;
|
|
225
477
|
declare function ContextMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof ContextMenu$1.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
478
|
+
declare function ContextMenuContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Content> & {
|
|
479
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
480
|
+
}): react_jsx_runtime.JSX.Element;
|
|
481
|
+
declare function ContextMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Item> & {
|
|
482
|
+
inset?: boolean;
|
|
483
|
+
variant?: "default" | "destructive";
|
|
484
|
+
}): react_jsx_runtime.JSX.Element;
|
|
226
485
|
declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof ContextMenu$1.SubTrigger> & {
|
|
227
486
|
inset?: boolean;
|
|
228
487
|
}): react_jsx_runtime.JSX.Element;
|
|
229
488
|
declare function ContextMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.SubContent>): react_jsx_runtime.JSX.Element;
|
|
230
|
-
declare function
|
|
231
|
-
|
|
489
|
+
declare function ContextMenuCheckboxItem({ className, children, checked, inset, ...props }: React$1.ComponentProps<typeof ContextMenu$1.CheckboxItem> & {
|
|
490
|
+
inset?: boolean;
|
|
491
|
+
}): react_jsx_runtime.JSX.Element;
|
|
492
|
+
declare function ContextMenuRadioItem({ className, children, inset, ...props }: React$1.ComponentProps<typeof ContextMenu$1.RadioItem> & {
|
|
232
493
|
inset?: boolean;
|
|
233
|
-
variant?: "default" | "destructive";
|
|
234
494
|
}): react_jsx_runtime.JSX.Element;
|
|
235
|
-
declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof ContextMenu$1.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
236
|
-
declare function ContextMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof ContextMenu$1.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
237
495
|
declare function ContextMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Label> & {
|
|
238
496
|
inset?: boolean;
|
|
239
497
|
}): react_jsx_runtime.JSX.Element;
|
|
240
498
|
declare function ContextMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof ContextMenu$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
241
499
|
declare function ContextMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
242
500
|
|
|
243
|
-
|
|
244
|
-
|
|
501
|
+
interface Point {
|
|
502
|
+
x: number;
|
|
503
|
+
y: number;
|
|
504
|
+
}
|
|
505
|
+
interface Size$2 {
|
|
506
|
+
width: number;
|
|
507
|
+
height: number;
|
|
508
|
+
}
|
|
509
|
+
interface Area {
|
|
510
|
+
width: number;
|
|
511
|
+
height: number;
|
|
512
|
+
x: number;
|
|
513
|
+
y: number;
|
|
514
|
+
}
|
|
515
|
+
interface MediaSize {
|
|
516
|
+
width: number;
|
|
517
|
+
height: number;
|
|
518
|
+
naturalWidth: number;
|
|
519
|
+
naturalHeight: number;
|
|
520
|
+
}
|
|
521
|
+
type Shape = "rectangle" | "circle";
|
|
522
|
+
type ObjectFit = "contain" | "cover" | "horizontal-cover" | "vertical-cover";
|
|
523
|
+
interface DivProps$b extends React$1.ComponentProps<"div"> {
|
|
524
|
+
asChild?: boolean;
|
|
525
|
+
}
|
|
526
|
+
interface StoreState$9 {
|
|
527
|
+
crop: Point;
|
|
528
|
+
zoom: number;
|
|
529
|
+
rotation: number;
|
|
530
|
+
mediaSize: MediaSize | null;
|
|
531
|
+
cropSize: Size$2 | null;
|
|
532
|
+
isDragging: boolean;
|
|
533
|
+
isWheelZooming: boolean;
|
|
534
|
+
}
|
|
535
|
+
declare function useStore$a<T>(selector: (state: StoreState$9) => T): T;
|
|
536
|
+
interface CropperProps extends DivProps$b {
|
|
537
|
+
crop?: Point;
|
|
538
|
+
zoom?: number;
|
|
539
|
+
minZoom?: number;
|
|
540
|
+
maxZoom?: number;
|
|
541
|
+
zoomSpeed?: number;
|
|
542
|
+
rotation?: number;
|
|
543
|
+
keyboardStep?: number;
|
|
544
|
+
aspectRatio?: number;
|
|
545
|
+
shape?: Shape;
|
|
546
|
+
objectFit?: ObjectFit;
|
|
547
|
+
allowOverflow?: boolean;
|
|
548
|
+
preventScrollZoom?: boolean;
|
|
549
|
+
withGrid?: boolean;
|
|
550
|
+
onCropChange?: (crop: Point) => void;
|
|
551
|
+
onCropSizeChange?: (cropSize: Size$2) => void;
|
|
552
|
+
onCropAreaChange?: (croppedArea: Area, croppedAreaPixels: Area) => void;
|
|
553
|
+
onCropComplete?: (croppedArea: Area, croppedAreaPixels: Area) => void;
|
|
554
|
+
onZoomChange?: (zoom: number) => void;
|
|
555
|
+
onRotationChange?: (rotation: number) => void;
|
|
556
|
+
onMediaLoaded?: (mediaSize: MediaSize) => void;
|
|
557
|
+
onInteractionStart?: () => void;
|
|
558
|
+
onInteractionEnd?: () => void;
|
|
559
|
+
onWheelZoom?: (event: WheelEvent) => void;
|
|
560
|
+
}
|
|
561
|
+
declare function Cropper(props: CropperProps): react_jsx_runtime.JSX.Element;
|
|
562
|
+
declare const cropperMediaVariants: (props?: ({
|
|
563
|
+
objectFit?: "contain" | "cover" | "horizontal-cover" | "vertical-cover" | null | undefined;
|
|
564
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
565
|
+
interface CropperImageProps extends React$1.ComponentProps<"img">, VariantProps<typeof cropperMediaVariants> {
|
|
566
|
+
asChild?: boolean;
|
|
567
|
+
snapPixels?: boolean;
|
|
568
|
+
}
|
|
569
|
+
declare function CropperImage(props: CropperImageProps): react_jsx_runtime.JSX.Element;
|
|
570
|
+
interface CropperVideoProps extends React$1.ComponentProps<"video">, VariantProps<typeof cropperMediaVariants> {
|
|
571
|
+
asChild?: boolean;
|
|
572
|
+
snapPixels?: boolean;
|
|
573
|
+
}
|
|
574
|
+
declare function CropperVideo(props: CropperVideoProps): react_jsx_runtime.JSX.Element;
|
|
575
|
+
declare const cropperAreaVariants: (props?: ({
|
|
576
|
+
shape?: "circle" | "rectangle" | null | undefined;
|
|
577
|
+
withGrid?: boolean | null | undefined;
|
|
578
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
579
|
+
interface CropperAreaProps extends DivProps$b, VariantProps<typeof cropperAreaVariants> {
|
|
580
|
+
snapPixels?: boolean;
|
|
581
|
+
}
|
|
582
|
+
declare function CropperArea(props: CropperAreaProps): react_jsx_runtime.JSX.Element | null;
|
|
583
|
+
|
|
584
|
+
declare function DirectionProvider({ dir, direction, children, }: React$1.ComponentProps<typeof Direction$b.DirectionProvider> & {
|
|
585
|
+
direction?: React$1.ComponentProps<typeof Direction$b.DirectionProvider>["dir"];
|
|
245
586
|
}): react_jsx_runtime.JSX.Element;
|
|
246
|
-
declare const useDirection: typeof Direction.useDirection;
|
|
587
|
+
declare const useDirection: typeof Direction$b.useDirection;
|
|
247
588
|
|
|
248
589
|
declare function Drawer({ ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
|
|
249
590
|
declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
@@ -259,15 +600,19 @@ declare function DrawerDescription({ className, ...props }: React$1.ComponentPro
|
|
|
259
600
|
declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
|
|
260
601
|
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
261
602
|
declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
262
|
-
declare function DropdownMenuContent({ className, sideOffset, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Content>): react_jsx_runtime.JSX.Element;
|
|
603
|
+
declare function DropdownMenuContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Content>): react_jsx_runtime.JSX.Element;
|
|
263
604
|
declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Group>): react_jsx_runtime.JSX.Element;
|
|
264
605
|
declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Item> & {
|
|
265
606
|
inset?: boolean;
|
|
266
607
|
variant?: "default" | "destructive";
|
|
267
608
|
}): react_jsx_runtime.JSX.Element;
|
|
268
|
-
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.CheckboxItem>
|
|
609
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, inset, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.CheckboxItem> & {
|
|
610
|
+
inset?: boolean;
|
|
611
|
+
}): react_jsx_runtime.JSX.Element;
|
|
269
612
|
declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
270
|
-
declare function DropdownMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.RadioItem>
|
|
613
|
+
declare function DropdownMenuRadioItem({ className, children, inset, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.RadioItem> & {
|
|
614
|
+
inset?: boolean;
|
|
615
|
+
}): react_jsx_runtime.JSX.Element;
|
|
271
616
|
declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Label> & {
|
|
272
617
|
inset?: boolean;
|
|
273
618
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -279,6 +624,102 @@ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }
|
|
|
279
624
|
}): react_jsx_runtime.JSX.Element;
|
|
280
625
|
declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.SubContent>): react_jsx_runtime.JSX.Element;
|
|
281
626
|
|
|
627
|
+
type Direction$8 = "ltr" | "rtl";
|
|
628
|
+
interface DivProps$a extends React$1.ComponentProps<"div"> {
|
|
629
|
+
asChild?: boolean;
|
|
630
|
+
}
|
|
631
|
+
interface StoreState$8 {
|
|
632
|
+
value: string;
|
|
633
|
+
editing: boolean;
|
|
634
|
+
}
|
|
635
|
+
interface Store$5 {
|
|
636
|
+
subscribe: (callback: () => void) => () => void;
|
|
637
|
+
getState: () => StoreState$8;
|
|
638
|
+
setState: <K extends keyof StoreState$8>(key: K, value: StoreState$8[K]) => void;
|
|
639
|
+
notify: () => void;
|
|
640
|
+
}
|
|
641
|
+
declare function useStore$9<T>(selector: (state: StoreState$8) => T, ogStore?: Store$5 | null): T;
|
|
642
|
+
interface EditableContextValue {
|
|
643
|
+
rootId: string;
|
|
644
|
+
inputId: string;
|
|
645
|
+
labelId: string;
|
|
646
|
+
defaultValue: string;
|
|
647
|
+
onCancel: () => void;
|
|
648
|
+
onEdit: () => void;
|
|
649
|
+
onSubmit: (value: string) => void;
|
|
650
|
+
onEnterKeyDown?: (event: KeyboardEvent) => void;
|
|
651
|
+
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
652
|
+
dir?: Direction$8;
|
|
653
|
+
maxLength?: number;
|
|
654
|
+
placeholder?: string;
|
|
655
|
+
triggerMode: "click" | "dblclick" | "focus";
|
|
656
|
+
autosize: boolean;
|
|
657
|
+
disabled?: boolean;
|
|
658
|
+
readOnly?: boolean;
|
|
659
|
+
required?: boolean;
|
|
660
|
+
invalid?: boolean;
|
|
661
|
+
}
|
|
662
|
+
interface EditableProps extends Omit<DivProps$a, "onSubmit"> {
|
|
663
|
+
id?: string;
|
|
664
|
+
defaultValue?: string;
|
|
665
|
+
value?: string;
|
|
666
|
+
onValueChange?: (value: string) => void;
|
|
667
|
+
defaultEditing?: boolean;
|
|
668
|
+
editing?: boolean;
|
|
669
|
+
onEditingChange?: (editing: boolean) => void;
|
|
670
|
+
onCancel?: () => void;
|
|
671
|
+
onEdit?: () => void;
|
|
672
|
+
onSubmit?: (value: string) => void;
|
|
673
|
+
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
674
|
+
onEnterKeyDown?: (event: KeyboardEvent) => void;
|
|
675
|
+
dir?: Direction$8;
|
|
676
|
+
maxLength?: number;
|
|
677
|
+
name?: string;
|
|
678
|
+
placeholder?: string;
|
|
679
|
+
triggerMode?: EditableContextValue["triggerMode"];
|
|
680
|
+
autosize?: boolean;
|
|
681
|
+
disabled?: boolean;
|
|
682
|
+
readOnly?: boolean;
|
|
683
|
+
required?: boolean;
|
|
684
|
+
invalid?: boolean;
|
|
685
|
+
}
|
|
686
|
+
declare function Editable(props: EditableProps): react_jsx_runtime.JSX.Element;
|
|
687
|
+
interface EditableLabelProps extends React$1.ComponentProps<"label"> {
|
|
688
|
+
asChild?: boolean;
|
|
689
|
+
}
|
|
690
|
+
declare function EditableLabel(props: EditableLabelProps): react_jsx_runtime.JSX.Element;
|
|
691
|
+
interface EditableAreaProps extends React$1.ComponentProps<"div"> {
|
|
692
|
+
asChild?: boolean;
|
|
693
|
+
}
|
|
694
|
+
declare function EditableArea(props: EditableAreaProps): react_jsx_runtime.JSX.Element;
|
|
695
|
+
interface EditablePreviewProps extends React$1.ComponentProps<"div"> {
|
|
696
|
+
asChild?: boolean;
|
|
697
|
+
}
|
|
698
|
+
declare function EditablePreview(props: EditablePreviewProps): react_jsx_runtime.JSX.Element | null;
|
|
699
|
+
interface EditableInputProps extends React$1.ComponentProps<"input"> {
|
|
700
|
+
asChild?: boolean;
|
|
701
|
+
maxLength?: number;
|
|
702
|
+
}
|
|
703
|
+
declare function EditableInput(props: EditableInputProps): react_jsx_runtime.JSX.Element | null;
|
|
704
|
+
interface EditableTriggerProps extends React$1.ComponentProps<"button"> {
|
|
705
|
+
asChild?: boolean;
|
|
706
|
+
forceMount?: boolean;
|
|
707
|
+
}
|
|
708
|
+
declare function EditableTrigger(props: EditableTriggerProps): react_jsx_runtime.JSX.Element | null;
|
|
709
|
+
interface EditableToolbarProps extends React$1.ComponentProps<"div"> {
|
|
710
|
+
asChild?: boolean;
|
|
711
|
+
orientation?: "horizontal" | "vertical";
|
|
712
|
+
}
|
|
713
|
+
declare function EditableToolbar(props: EditableToolbarProps): react_jsx_runtime.JSX.Element;
|
|
714
|
+
interface EditableCancelProps extends React$1.ComponentProps<"button"> {
|
|
715
|
+
asChild?: boolean;
|
|
716
|
+
}
|
|
717
|
+
declare function EditableCancel(props: EditableCancelProps): react_jsx_runtime.JSX.Element | null;
|
|
718
|
+
interface EditableSubmitProps extends React$1.ComponentProps<"button"> {
|
|
719
|
+
asChild?: boolean;
|
|
720
|
+
}
|
|
721
|
+
declare function EditableSubmit(props: EditableSubmitProps): react_jsx_runtime.JSX.Element | null;
|
|
722
|
+
|
|
282
723
|
declare function Empty({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
283
724
|
declare function EmptyHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
284
725
|
declare const emptyMediaVariants: (props?: ({
|
|
@@ -299,7 +740,7 @@ declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">
|
|
|
299
740
|
declare const fieldVariants: (props?: ({
|
|
300
741
|
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
301
742
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
302
|
-
declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime.JSX.Element;
|
|
743
|
+
declare function Field$1({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime.JSX.Element;
|
|
303
744
|
declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
304
745
|
declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): react_jsx_runtime.JSX.Element;
|
|
305
746
|
declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
@@ -313,25 +754,113 @@ declare function FieldError({ className, children, errors, ...props }: React.Com
|
|
|
313
754
|
} | undefined>;
|
|
314
755
|
}): react_jsx_runtime.JSX.Element | null;
|
|
315
756
|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
757
|
+
type Direction$7 = "ltr" | "rtl";
|
|
758
|
+
interface FileState {
|
|
759
|
+
file: File;
|
|
760
|
+
progress: number;
|
|
761
|
+
error?: string;
|
|
762
|
+
status: "idle" | "uploading" | "error" | "success";
|
|
763
|
+
}
|
|
764
|
+
interface StoreState$7 {
|
|
765
|
+
files: Map<File, FileState>;
|
|
766
|
+
dragOver: boolean;
|
|
319
767
|
invalid: boolean;
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
768
|
+
}
|
|
769
|
+
declare function useStore$8<T>(selector: (state: StoreState$7) => T): T;
|
|
770
|
+
interface FileUploadProps extends Omit<React$1.ComponentProps<"div">, "defaultValue" | "onChange"> {
|
|
771
|
+
value?: File[];
|
|
772
|
+
defaultValue?: File[];
|
|
773
|
+
onValueChange?: (files: File[]) => void;
|
|
774
|
+
onAccept?: (files: File[]) => void;
|
|
775
|
+
onFileAccept?: (file: File) => void;
|
|
776
|
+
onFileReject?: (file: File, message: string) => void;
|
|
777
|
+
onFileValidate?: (file: File) => string | null | undefined;
|
|
778
|
+
onUpload?: (files: File[], options: {
|
|
779
|
+
onProgress: (file: File, progress: number) => void;
|
|
780
|
+
onSuccess: (file: File) => void;
|
|
781
|
+
onError: (file: File, error: Error) => void;
|
|
782
|
+
}) => Promise<void> | void;
|
|
783
|
+
accept?: string;
|
|
784
|
+
maxFiles?: number;
|
|
785
|
+
maxSize?: number;
|
|
786
|
+
dir?: Direction$7;
|
|
787
|
+
label?: string;
|
|
788
|
+
name?: string;
|
|
789
|
+
asChild?: boolean;
|
|
790
|
+
disabled?: boolean;
|
|
791
|
+
invalid?: boolean;
|
|
792
|
+
multiple?: boolean;
|
|
793
|
+
required?: boolean;
|
|
794
|
+
}
|
|
795
|
+
declare function FileUpload(props: FileUploadProps): react_jsx_runtime.JSX.Element;
|
|
796
|
+
interface FileUploadDropzoneProps extends React$1.ComponentProps<"div"> {
|
|
797
|
+
asChild?: boolean;
|
|
798
|
+
}
|
|
799
|
+
declare function FileUploadDropzone(props: FileUploadDropzoneProps): react_jsx_runtime.JSX.Element;
|
|
800
|
+
interface FileUploadTriggerProps extends React$1.ComponentProps<"button"> {
|
|
801
|
+
asChild?: boolean;
|
|
802
|
+
}
|
|
803
|
+
declare function FileUploadTrigger(props: FileUploadTriggerProps): react_jsx_runtime.JSX.Element;
|
|
804
|
+
interface FileUploadListProps extends React$1.ComponentProps<"div"> {
|
|
805
|
+
orientation?: "horizontal" | "vertical";
|
|
806
|
+
asChild?: boolean;
|
|
807
|
+
forceMount?: boolean;
|
|
808
|
+
}
|
|
809
|
+
declare function FileUploadList(props: FileUploadListProps): react_jsx_runtime.JSX.Element | null;
|
|
810
|
+
interface FileUploadItemProps extends React$1.ComponentProps<"div"> {
|
|
811
|
+
value: File;
|
|
812
|
+
asChild?: boolean;
|
|
813
|
+
}
|
|
814
|
+
declare function FileUploadItem(props: FileUploadItemProps): react_jsx_runtime.JSX.Element | null;
|
|
815
|
+
interface FileUploadItemPreviewProps extends React$1.ComponentProps<"div"> {
|
|
816
|
+
render?: (file: File, fallback: () => React$1.ReactNode) => React$1.ReactNode;
|
|
817
|
+
asChild?: boolean;
|
|
818
|
+
}
|
|
819
|
+
declare function FileUploadItemPreview(props: FileUploadItemPreviewProps): react_jsx_runtime.JSX.Element | null;
|
|
820
|
+
interface FileUploadItemMetadataProps extends React$1.ComponentProps<"div"> {
|
|
821
|
+
asChild?: boolean;
|
|
822
|
+
size?: "default" | "sm";
|
|
823
|
+
}
|
|
824
|
+
declare function FileUploadItemMetadata(props: FileUploadItemMetadataProps): react_jsx_runtime.JSX.Element | null;
|
|
825
|
+
interface FileUploadItemProgressProps extends React$1.ComponentProps<"div"> {
|
|
826
|
+
variant?: "linear" | "circular" | "fill";
|
|
827
|
+
size?: number;
|
|
828
|
+
asChild?: boolean;
|
|
829
|
+
forceMount?: boolean;
|
|
830
|
+
}
|
|
831
|
+
declare function FileUploadItemProgress(props: FileUploadItemProgressProps): react_jsx_runtime.JSX.Element | null;
|
|
832
|
+
interface FileUploadItemDeleteProps extends React$1.ComponentProps<"button"> {
|
|
833
|
+
asChild?: boolean;
|
|
834
|
+
}
|
|
835
|
+
declare function FileUploadItemDelete(props: FileUploadItemDeleteProps): react_jsx_runtime.JSX.Element | null;
|
|
836
|
+
interface FileUploadClearProps extends React$1.ComponentProps<"button"> {
|
|
837
|
+
forceMount?: boolean;
|
|
838
|
+
asChild?: boolean;
|
|
839
|
+
}
|
|
840
|
+
declare function FileUploadClear(props: FileUploadClearProps): react_jsx_runtime.JSX.Element | null;
|
|
841
|
+
|
|
842
|
+
interface DivProps$9 extends React$1.ComponentProps<"div"> {
|
|
843
|
+
asChild?: boolean;
|
|
844
|
+
}
|
|
845
|
+
interface PathProps extends React$1.ComponentProps<"path"> {
|
|
846
|
+
}
|
|
847
|
+
interface GaugeProps extends DivProps$9 {
|
|
848
|
+
value?: number | null | undefined;
|
|
849
|
+
getValueText?(value: number, min: number, max: number): string;
|
|
850
|
+
min?: number;
|
|
851
|
+
max?: number;
|
|
852
|
+
size?: number;
|
|
853
|
+
thickness?: number;
|
|
854
|
+
startAngle?: number;
|
|
855
|
+
endAngle?: number;
|
|
856
|
+
}
|
|
857
|
+
declare function Gauge(props: GaugeProps): react_jsx_runtime.JSX.Element;
|
|
858
|
+
declare function GaugeIndicator(props: React$1.ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
|
|
859
|
+
declare function GaugeTrack(props: PathProps): react_jsx_runtime.JSX.Element;
|
|
860
|
+
declare function GaugeRange(props: PathProps): react_jsx_runtime.JSX.Element;
|
|
861
|
+
declare function GaugeValueText(props: DivProps$9): react_jsx_runtime.JSX.Element;
|
|
862
|
+
declare function GaugeLabel(props: DivProps$9): react_jsx_runtime.JSX.Element;
|
|
863
|
+
declare function GaugeCombined(props: GaugeProps): react_jsx_runtime.JSX.Element;
|
|
335
864
|
|
|
336
865
|
declare function HoverCard({ ...props }: React$1.ComponentProps<typeof HoverCard$1.Root>): react_jsx_runtime.JSX.Element;
|
|
337
866
|
declare function HoverCardTrigger({ ...props }: React$1.ComponentProps<typeof HoverCard$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
@@ -339,7 +868,7 @@ declare function HoverCardContent({ className, align, sideOffset, ...props }: Re
|
|
|
339
868
|
|
|
340
869
|
declare function InputGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
341
870
|
declare const inputGroupAddonVariants: (props?: ({
|
|
342
|
-
align?: "inline-
|
|
871
|
+
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
343
872
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
344
873
|
declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime.JSX.Element;
|
|
345
874
|
declare const inputGroupButtonVariants: (props?: ({
|
|
@@ -359,13 +888,11 @@ declare function InputOTPSlot({ index, className, ...props }: React$1.ComponentP
|
|
|
359
888
|
}): react_jsx_runtime.JSX.Element;
|
|
360
889
|
declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
361
890
|
|
|
362
|
-
declare function Input({ className, type, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
363
|
-
|
|
364
891
|
declare function ItemGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
365
892
|
declare function ItemSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
366
893
|
declare const itemVariants: (props?: ({
|
|
367
894
|
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
368
|
-
size?: "default" | "sm" | null | undefined;
|
|
895
|
+
size?: "default" | "xs" | "sm" | null | undefined;
|
|
369
896
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
370
897
|
declare function Item({ className, variant, size, asChild, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
|
|
371
898
|
asChild?: boolean;
|
|
@@ -381,9 +908,332 @@ declare function ItemActions({ className, ...props }: React$1.ComponentProps<"di
|
|
|
381
908
|
declare function ItemHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
382
909
|
declare function ItemFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
383
910
|
|
|
911
|
+
interface GetItemValue$1<T> {
|
|
912
|
+
/**
|
|
913
|
+
* Callback that returns a unique identifier for each kanban item. Required for array of objects.
|
|
914
|
+
* @example getItemValue={(item) => item.id}
|
|
915
|
+
*/
|
|
916
|
+
getItemValue: (item: T) => UniqueIdentifier;
|
|
917
|
+
}
|
|
918
|
+
type KanbanProps<T> = Omit<DndContextProps, "collisionDetection"> & (T extends object ? GetItemValue$1<T> : Partial<GetItemValue$1<T>>) & {
|
|
919
|
+
value: Record<UniqueIdentifier, T[]>;
|
|
920
|
+
onValueChange?: (columns: Record<UniqueIdentifier, T[]>) => void;
|
|
921
|
+
onMove?: (event: DragEndEvent & {
|
|
922
|
+
activeIndex: number;
|
|
923
|
+
overIndex: number;
|
|
924
|
+
}) => void;
|
|
925
|
+
strategy?: SortableContextProps["strategy"];
|
|
926
|
+
orientation?: "horizontal" | "vertical";
|
|
927
|
+
flatCursor?: boolean;
|
|
928
|
+
};
|
|
929
|
+
declare function Kanban<T>(props: KanbanProps<T>): react_jsx_runtime.JSX.Element;
|
|
930
|
+
interface KanbanBoardProps extends React$1.ComponentProps<"div"> {
|
|
931
|
+
children: React$1.ReactNode;
|
|
932
|
+
asChild?: boolean;
|
|
933
|
+
}
|
|
934
|
+
declare function KanbanBoard(props: KanbanBoardProps): react_jsx_runtime.JSX.Element;
|
|
935
|
+
interface KanbanColumnProps extends React$1.ComponentProps<"div"> {
|
|
936
|
+
value: UniqueIdentifier;
|
|
937
|
+
children: React$1.ReactNode;
|
|
938
|
+
asChild?: boolean;
|
|
939
|
+
asHandle?: boolean;
|
|
940
|
+
disabled?: boolean;
|
|
941
|
+
}
|
|
942
|
+
declare function KanbanColumn(props: KanbanColumnProps): react_jsx_runtime.JSX.Element;
|
|
943
|
+
interface KanbanColumnHandleProps extends React$1.ComponentProps<"button"> {
|
|
944
|
+
asChild?: boolean;
|
|
945
|
+
}
|
|
946
|
+
declare function KanbanColumnHandle(props: KanbanColumnHandleProps): react_jsx_runtime.JSX.Element;
|
|
947
|
+
interface KanbanItemProps extends React$1.ComponentProps<"div"> {
|
|
948
|
+
value: UniqueIdentifier;
|
|
949
|
+
asHandle?: boolean;
|
|
950
|
+
asChild?: boolean;
|
|
951
|
+
disabled?: boolean;
|
|
952
|
+
}
|
|
953
|
+
declare function KanbanItem(props: KanbanItemProps): react_jsx_runtime.JSX.Element;
|
|
954
|
+
interface KanbanItemHandleProps extends React$1.ComponentProps<"button"> {
|
|
955
|
+
asChild?: boolean;
|
|
956
|
+
}
|
|
957
|
+
declare function KanbanItemHandle(props: KanbanItemHandleProps): react_jsx_runtime.JSX.Element;
|
|
958
|
+
interface KanbanOverlayProps extends Omit<React$1.ComponentProps<typeof DragOverlay>, "children"> {
|
|
959
|
+
container?: Element | DocumentFragment | null;
|
|
960
|
+
children?: React$1.ReactNode | ((params: {
|
|
961
|
+
value: UniqueIdentifier;
|
|
962
|
+
variant: "column" | "item";
|
|
963
|
+
}) => React$1.ReactNode);
|
|
964
|
+
}
|
|
965
|
+
declare function KanbanOverlay(props: KanbanOverlayProps): React$1.ReactPortal | null;
|
|
966
|
+
|
|
384
967
|
declare function Kbd({ className, ...props }: React.ComponentProps<"kbd">): react_jsx_runtime.JSX.Element;
|
|
385
968
|
declare function KbdGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
386
969
|
|
|
970
|
+
type Orientation$5 = "vertical" | "horizontal";
|
|
971
|
+
type Field = "key" | "value";
|
|
972
|
+
interface DivProps$8 extends React$1.ComponentProps<"div"> {
|
|
973
|
+
asChild?: boolean;
|
|
974
|
+
}
|
|
975
|
+
interface Store$4 {
|
|
976
|
+
subscribe: (callback: () => void) => () => void;
|
|
977
|
+
getState: () => KeyValueState;
|
|
978
|
+
setState: <K extends keyof KeyValueState>(key: K, value: KeyValueState[K]) => void;
|
|
979
|
+
notify: () => void;
|
|
980
|
+
}
|
|
981
|
+
declare function useStore$7<T>(selector: (state: KeyValueState) => T, ogStore?: Store$4 | null): T;
|
|
982
|
+
interface ItemData {
|
|
983
|
+
id: string;
|
|
984
|
+
key: string;
|
|
985
|
+
value: string;
|
|
986
|
+
}
|
|
987
|
+
interface KeyValueState {
|
|
988
|
+
value: ItemData[];
|
|
989
|
+
focusedId: string | null;
|
|
990
|
+
errors: Record<string, {
|
|
991
|
+
key?: string;
|
|
992
|
+
value?: string;
|
|
993
|
+
}>;
|
|
994
|
+
}
|
|
995
|
+
interface KeyValueProps extends Omit<DivProps$8, "onPaste" | "defaultValue"> {
|
|
996
|
+
id?: string;
|
|
997
|
+
defaultValue?: ItemData[];
|
|
998
|
+
value?: ItemData[];
|
|
999
|
+
onValueChange?: (value: ItemData[]) => void;
|
|
1000
|
+
maxItems?: number;
|
|
1001
|
+
minItems?: number;
|
|
1002
|
+
keyPlaceholder?: string;
|
|
1003
|
+
valuePlaceholder?: string;
|
|
1004
|
+
name?: string;
|
|
1005
|
+
allowDuplicateKeys?: boolean;
|
|
1006
|
+
enablePaste?: boolean;
|
|
1007
|
+
trim?: boolean;
|
|
1008
|
+
stripQuotes?: boolean;
|
|
1009
|
+
disabled?: boolean;
|
|
1010
|
+
readOnly?: boolean;
|
|
1011
|
+
required?: boolean;
|
|
1012
|
+
onPaste?: (event: ClipboardEvent, items: ItemData[]) => void;
|
|
1013
|
+
onAdd?: (value: ItemData) => void;
|
|
1014
|
+
onRemove?: (value: ItemData) => void;
|
|
1015
|
+
onKeyValidate?: (key: string, value: ItemData[]) => string | undefined;
|
|
1016
|
+
onValueValidate?: (value: string, key: string, items: ItemData[]) => string | undefined;
|
|
1017
|
+
}
|
|
1018
|
+
declare function KeyValue(props: KeyValueProps): react_jsx_runtime.JSX.Element;
|
|
1019
|
+
interface KeyValueListProps extends DivProps$8 {
|
|
1020
|
+
orientation?: Orientation$5;
|
|
1021
|
+
}
|
|
1022
|
+
declare function KeyValueList(props: KeyValueListProps): react_jsx_runtime.JSX.Element;
|
|
1023
|
+
interface KeyValueItemProps extends React$1.ComponentProps<"div"> {
|
|
1024
|
+
asChild?: boolean;
|
|
1025
|
+
}
|
|
1026
|
+
declare function KeyValueItem(props: KeyValueItemProps): react_jsx_runtime.JSX.Element;
|
|
1027
|
+
interface KeyValueKeyInputProps extends React$1.ComponentProps<"input"> {
|
|
1028
|
+
asChild?: boolean;
|
|
1029
|
+
}
|
|
1030
|
+
declare function KeyValueKeyInput(props: KeyValueKeyInputProps): react_jsx_runtime.JSX.Element;
|
|
1031
|
+
interface KeyValueValueInputProps extends Omit<React$1.ComponentProps<"textarea">, "rows"> {
|
|
1032
|
+
maxRows?: number;
|
|
1033
|
+
asChild?: boolean;
|
|
1034
|
+
}
|
|
1035
|
+
declare function KeyValueValueInput(props: KeyValueValueInputProps): react_jsx_runtime.JSX.Element;
|
|
1036
|
+
interface KeyValueRemoveProps extends React$1.ComponentProps<typeof Button> {
|
|
1037
|
+
}
|
|
1038
|
+
declare function KeyValueRemove(props: KeyValueRemoveProps): react_jsx_runtime.JSX.Element;
|
|
1039
|
+
declare function KeyValueAdd(props: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
1040
|
+
interface KeyValueErrorProps extends DivProps$8 {
|
|
1041
|
+
field: Field;
|
|
1042
|
+
}
|
|
1043
|
+
declare function KeyValueError(props: KeyValueErrorProps): react_jsx_runtime.JSX.Element | null;
|
|
1044
|
+
|
|
1045
|
+
declare const Listbox: ListboxPrimitive.ListboxRootComponentProps;
|
|
1046
|
+
declare function ListboxGroup({ className, ...props }: React$1.ComponentProps<typeof ListboxPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
1047
|
+
declare function ListboxGroupLabel({ className, ...props }: React$1.ComponentProps<typeof ListboxPrimitive.GroupLabel>): react_jsx_runtime.JSX.Element;
|
|
1048
|
+
declare function ListboxItem({ className, ...props }: React$1.ComponentProps<typeof ListboxPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
1049
|
+
declare function ListboxItemIndicator({ ...props }: React$1.ComponentProps<typeof ListboxPrimitive.ItemIndicator>): react_jsx_runtime.JSX.Element;
|
|
1050
|
+
|
|
1051
|
+
interface TransformOptions {
|
|
1052
|
+
currency?: string;
|
|
1053
|
+
locale?: string;
|
|
1054
|
+
}
|
|
1055
|
+
interface ValidateOptions {
|
|
1056
|
+
min?: number;
|
|
1057
|
+
max?: number;
|
|
1058
|
+
}
|
|
1059
|
+
interface MaskPattern {
|
|
1060
|
+
pattern: string;
|
|
1061
|
+
transform?: (value: string, opts?: TransformOptions) => string;
|
|
1062
|
+
validate?: (value: string, opts?: ValidateOptions) => boolean;
|
|
1063
|
+
}
|
|
1064
|
+
type MaskPatternKey = "phone" | "ssn" | "date" | "time" | "creditCard" | "creditCardExpiry" | "zipCode" | "zipCodeExtended" | "currency" | "percentage" | "licensePlate" | "ipv4" | "macAddress" | "isbn" | "ein";
|
|
1065
|
+
declare const MASK_PATTERNS: Record<MaskPatternKey, MaskPattern>;
|
|
1066
|
+
declare function applyMask(opts: {
|
|
1067
|
+
value: string;
|
|
1068
|
+
pattern: string;
|
|
1069
|
+
currency?: string;
|
|
1070
|
+
locale?: string;
|
|
1071
|
+
mask?: MaskPatternKey | MaskPattern;
|
|
1072
|
+
}): string;
|
|
1073
|
+
declare function applyCurrencyMask(opts: {
|
|
1074
|
+
value: string;
|
|
1075
|
+
currency?: string;
|
|
1076
|
+
locale?: string;
|
|
1077
|
+
}): string;
|
|
1078
|
+
declare function applyPercentageMask(value: string): string;
|
|
1079
|
+
declare function getUnmaskedValue(opts: {
|
|
1080
|
+
value: string;
|
|
1081
|
+
currency?: string;
|
|
1082
|
+
locale?: string;
|
|
1083
|
+
transform?: (value: string, opts?: TransformOptions) => string;
|
|
1084
|
+
}): string;
|
|
1085
|
+
declare function toUnmaskedIndex(opts: {
|
|
1086
|
+
masked: string;
|
|
1087
|
+
pattern: string;
|
|
1088
|
+
caret: number;
|
|
1089
|
+
}): number;
|
|
1090
|
+
declare function fromUnmaskedIndex(opts: {
|
|
1091
|
+
masked: string;
|
|
1092
|
+
pattern: string;
|
|
1093
|
+
unmaskedIndex: number;
|
|
1094
|
+
}): number;
|
|
1095
|
+
interface MaskInputProps extends React$1.ComponentProps<"input"> {
|
|
1096
|
+
value?: string;
|
|
1097
|
+
defaultValue?: string;
|
|
1098
|
+
onValueChange?: (maskedValue: string, unmaskedValue: string) => void;
|
|
1099
|
+
onValidate?: (isValid: boolean, unmaskedValue: string) => void;
|
|
1100
|
+
validationMode?: "onChange" | "onBlur" | "onSubmit" | "onTouched" | "all";
|
|
1101
|
+
mask?: MaskPatternKey | MaskPattern;
|
|
1102
|
+
maskPlaceholder?: string;
|
|
1103
|
+
currency?: string;
|
|
1104
|
+
locale?: string;
|
|
1105
|
+
asChild?: boolean;
|
|
1106
|
+
invalid?: boolean;
|
|
1107
|
+
withoutMask?: boolean;
|
|
1108
|
+
}
|
|
1109
|
+
declare function MaskInput(props: MaskInputProps): react_jsx_runtime.JSX.Element;
|
|
1110
|
+
|
|
1111
|
+
declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof Tooltip$1.Provider>): react_jsx_runtime.JSX.Element;
|
|
1112
|
+
declare function Tooltip({ ...props }: React$1.ComponentProps<typeof Tooltip$1.Root>): react_jsx_runtime.JSX.Element;
|
|
1113
|
+
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof Tooltip$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
1114
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof Tooltip$1.Content>): react_jsx_runtime.JSX.Element;
|
|
1115
|
+
|
|
1116
|
+
interface DivProps$7 extends React$1.ComponentProps<"div"> {
|
|
1117
|
+
asChild?: boolean;
|
|
1118
|
+
}
|
|
1119
|
+
type Direction$6 = "ltr" | "rtl";
|
|
1120
|
+
interface StoreState$6 {
|
|
1121
|
+
controlsVisible: boolean;
|
|
1122
|
+
dragging: boolean;
|
|
1123
|
+
menuOpen: boolean;
|
|
1124
|
+
volumeIndicatorVisible: boolean;
|
|
1125
|
+
}
|
|
1126
|
+
declare function useStore$6<T>(selector: (state: StoreState$6) => T): T;
|
|
1127
|
+
interface MediaPlayerProps extends Omit<DivProps$7, "onTimeUpdate" | "onVolumeChange"> {
|
|
1128
|
+
onPlay?: () => void;
|
|
1129
|
+
onPause?: () => void;
|
|
1130
|
+
onEnded?: () => void;
|
|
1131
|
+
onTimeUpdate?: (time: number) => void;
|
|
1132
|
+
onVolumeChange?: (volume: number) => void;
|
|
1133
|
+
onMuted?: (muted: boolean) => void;
|
|
1134
|
+
onMediaError?: (error: MediaError | null) => void;
|
|
1135
|
+
onPipError?: (error: unknown, state: "enter" | "exit") => void;
|
|
1136
|
+
onFullscreenChange?: (fullscreen: boolean) => void;
|
|
1137
|
+
dir?: Direction$6;
|
|
1138
|
+
label?: string;
|
|
1139
|
+
tooltipDelayDuration?: number;
|
|
1140
|
+
tooltipSideOffset?: number;
|
|
1141
|
+
autoHide?: boolean;
|
|
1142
|
+
disabled?: boolean;
|
|
1143
|
+
withoutTooltip?: boolean;
|
|
1144
|
+
}
|
|
1145
|
+
declare function MediaPlayer(props: MediaPlayerProps): react_jsx_runtime.JSX.Element;
|
|
1146
|
+
interface MediaPlayerVideoProps extends React$1.ComponentProps<"video"> {
|
|
1147
|
+
asChild?: boolean;
|
|
1148
|
+
}
|
|
1149
|
+
declare function MediaPlayerVideo(props: MediaPlayerVideoProps): react_jsx_runtime.JSX.Element;
|
|
1150
|
+
interface MediaPlayerAudioProps extends React$1.ComponentProps<"audio"> {
|
|
1151
|
+
asChild?: boolean;
|
|
1152
|
+
}
|
|
1153
|
+
declare function MediaPlayerAudio(props: MediaPlayerAudioProps): react_jsx_runtime.JSX.Element;
|
|
1154
|
+
declare function MediaPlayerControls(props: DivProps$7): react_jsx_runtime.JSX.Element;
|
|
1155
|
+
interface MediaPlayerLoadingProps extends DivProps$7 {
|
|
1156
|
+
delayMs?: number;
|
|
1157
|
+
}
|
|
1158
|
+
declare function MediaPlayerLoading(props: MediaPlayerLoadingProps): react_jsx_runtime.JSX.Element | null;
|
|
1159
|
+
interface MediaPlayerErrorProps extends DivProps$7 {
|
|
1160
|
+
error?: MediaError | null;
|
|
1161
|
+
label?: string;
|
|
1162
|
+
description?: string;
|
|
1163
|
+
onRetry?: () => void;
|
|
1164
|
+
onReload?: () => void;
|
|
1165
|
+
asChild?: boolean;
|
|
1166
|
+
}
|
|
1167
|
+
declare function MediaPlayerError(props: MediaPlayerErrorProps): react_jsx_runtime.JSX.Element | null;
|
|
1168
|
+
declare function MediaPlayerVolumeIndicator(props: DivProps$7): react_jsx_runtime.JSX.Element | null;
|
|
1169
|
+
declare function MediaPlayerControlsOverlay(props: DivProps$7): react_jsx_runtime.JSX.Element;
|
|
1170
|
+
declare function MediaPlayerPlay(props: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
1171
|
+
interface MediaPlayerSeekBackwardProps extends React$1.ComponentProps<typeof Button> {
|
|
1172
|
+
seconds?: number;
|
|
1173
|
+
}
|
|
1174
|
+
declare function MediaPlayerSeekBackward(props: MediaPlayerSeekBackwardProps): react_jsx_runtime.JSX.Element;
|
|
1175
|
+
interface MediaPlayerSeekForwardProps extends React$1.ComponentProps<typeof Button> {
|
|
1176
|
+
seconds?: number;
|
|
1177
|
+
}
|
|
1178
|
+
declare function MediaPlayerSeekForward(props: MediaPlayerSeekForwardProps): react_jsx_runtime.JSX.Element;
|
|
1179
|
+
interface MediaPlayerSeekProps extends React$1.ComponentProps<typeof SliderPrimitive.Root> {
|
|
1180
|
+
withTime?: boolean;
|
|
1181
|
+
withoutChapter?: boolean;
|
|
1182
|
+
withoutTooltip?: boolean;
|
|
1183
|
+
tooltipThumbnailSrc?: string | ((time: number) => string);
|
|
1184
|
+
tooltipTimeVariant?: "current" | "progress";
|
|
1185
|
+
tooltipSideOffset?: number;
|
|
1186
|
+
tooltipCollisionBoundary?: Element | Element[];
|
|
1187
|
+
tooltipCollisionPadding?: number | Partial<Record<"top" | "right" | "bottom" | "left", number>>;
|
|
1188
|
+
}
|
|
1189
|
+
declare function MediaPlayerSeek(props: MediaPlayerSeekProps): react_jsx_runtime.JSX.Element;
|
|
1190
|
+
interface MediaPlayerVolumeProps extends React$1.ComponentProps<typeof SliderPrimitive.Root> {
|
|
1191
|
+
asChild?: boolean;
|
|
1192
|
+
expandable?: boolean;
|
|
1193
|
+
}
|
|
1194
|
+
declare function MediaPlayerVolume(props: MediaPlayerVolumeProps): react_jsx_runtime.JSX.Element;
|
|
1195
|
+
interface MediaPlayerTimeProps extends React$1.ComponentProps<"div"> {
|
|
1196
|
+
variant?: "progress" | "remaining" | "duration";
|
|
1197
|
+
asChild?: boolean;
|
|
1198
|
+
}
|
|
1199
|
+
declare function MediaPlayerTime(props: MediaPlayerTimeProps): react_jsx_runtime.JSX.Element;
|
|
1200
|
+
interface MediaPlayerPlaybackSpeedProps extends React$1.ComponentProps<typeof DropdownMenuTrigger>, React$1.ComponentProps<typeof Button>, Omit<React$1.ComponentProps<typeof DropdownMenu>, "dir">, Pick<React$1.ComponentProps<typeof DropdownMenuContent>, "sideOffset"> {
|
|
1201
|
+
speeds?: number[];
|
|
1202
|
+
}
|
|
1203
|
+
declare function MediaPlayerPlaybackSpeed(props: MediaPlayerPlaybackSpeedProps): react_jsx_runtime.JSX.Element;
|
|
1204
|
+
interface MediaPlayerLoopProps extends React$1.ComponentProps<typeof Button> {
|
|
1205
|
+
}
|
|
1206
|
+
declare function MediaPlayerLoop(props: MediaPlayerLoopProps): react_jsx_runtime.JSX.Element;
|
|
1207
|
+
interface MediaPlayerFullscreenProps extends React$1.ComponentProps<typeof Button> {
|
|
1208
|
+
}
|
|
1209
|
+
declare function MediaPlayerFullscreen(props: MediaPlayerFullscreenProps): react_jsx_runtime.JSX.Element;
|
|
1210
|
+
interface MediaPlayerPiPProps extends Omit<React$1.ComponentProps<typeof Button>, "children"> {
|
|
1211
|
+
children?: React$1.ReactNode | ((isPictureInPicture: boolean) => React$1.ReactNode);
|
|
1212
|
+
onPipError?: (error: unknown, state: "enter" | "exit") => void;
|
|
1213
|
+
}
|
|
1214
|
+
declare function MediaPlayerPiP(props: MediaPlayerPiPProps): react_jsx_runtime.JSX.Element;
|
|
1215
|
+
declare function MediaPlayerCaptions(props: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
1216
|
+
declare function MediaPlayerDownload(props: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
1217
|
+
interface MediaPlayerSettingsProps extends MediaPlayerPlaybackSpeedProps {
|
|
1218
|
+
}
|
|
1219
|
+
declare function MediaPlayerSettings(props: MediaPlayerSettingsProps): react_jsx_runtime.JSX.Element;
|
|
1220
|
+
interface MediaPlayerPortalProps {
|
|
1221
|
+
container?: Element | DocumentFragment | null;
|
|
1222
|
+
children?: React$1.ReactNode;
|
|
1223
|
+
}
|
|
1224
|
+
declare function MediaPlayerPortal(props: MediaPlayerPortalProps): React$1.ReactPortal | null;
|
|
1225
|
+
interface MediaPlayerTooltipProps extends React$1.ComponentProps<typeof Tooltip>, Pick<React$1.ComponentProps<typeof TooltipContent>, "sideOffset"> {
|
|
1226
|
+
tooltip?: string;
|
|
1227
|
+
shortcut?: string | string[];
|
|
1228
|
+
}
|
|
1229
|
+
declare function MediaPlayerTooltip(props: MediaPlayerTooltipProps): react_jsx_runtime.JSX.Element;
|
|
1230
|
+
|
|
1231
|
+
declare function Mention({ className, ...props }: React$1.ComponentProps<typeof MentionPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1232
|
+
declare function MentionLabel({ className, ...props }: React$1.ComponentProps<typeof MentionPrimitive.Label>): react_jsx_runtime.JSX.Element;
|
|
1233
|
+
declare function MentionInput({ className, ...props }: React$1.ComponentProps<typeof MentionPrimitive.Input>): react_jsx_runtime.JSX.Element;
|
|
1234
|
+
declare function MentionContent({ className, children, ...props }: React$1.ComponentProps<typeof MentionPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
1235
|
+
declare function MentionItem({ className, children, ...props }: React$1.ComponentProps<typeof MentionPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
1236
|
+
|
|
387
1237
|
declare function Menubar({ className, ...props }: React$1.ComponentProps<typeof Menubar$1.Root>): react_jsx_runtime.JSX.Element;
|
|
388
1238
|
declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof Menubar$1.Menu>): react_jsx_runtime.JSX.Element;
|
|
389
1239
|
declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof Menubar$1.Group>): react_jsx_runtime.JSX.Element;
|
|
@@ -395,8 +1245,12 @@ declare function MenubarItem({ className, inset, variant, ...props }: React$1.Co
|
|
|
395
1245
|
inset?: boolean;
|
|
396
1246
|
variant?: "default" | "destructive";
|
|
397
1247
|
}): react_jsx_runtime.JSX.Element;
|
|
398
|
-
declare function MenubarCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof Menubar$1.CheckboxItem>
|
|
399
|
-
|
|
1248
|
+
declare function MenubarCheckboxItem({ className, children, checked, inset, ...props }: React$1.ComponentProps<typeof Menubar$1.CheckboxItem> & {
|
|
1249
|
+
inset?: boolean;
|
|
1250
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1251
|
+
declare function MenubarRadioItem({ className, children, inset, ...props }: React$1.ComponentProps<typeof Menubar$1.RadioItem> & {
|
|
1252
|
+
inset?: boolean;
|
|
1253
|
+
}): react_jsx_runtime.JSX.Element;
|
|
400
1254
|
declare function MenubarLabel({ className, inset, ...props }: React$1.ComponentProps<typeof Menubar$1.Label> & {
|
|
401
1255
|
inset?: boolean;
|
|
402
1256
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -408,9 +1262,10 @@ declare function MenubarSubTrigger({ className, inset, children, ...props }: Rea
|
|
|
408
1262
|
}): react_jsx_runtime.JSX.Element;
|
|
409
1263
|
declare function MenubarSubContent({ className, ...props }: React$1.ComponentProps<typeof Menubar$1.SubContent>): react_jsx_runtime.JSX.Element;
|
|
410
1264
|
|
|
411
|
-
|
|
1265
|
+
type NativeSelectProps = Omit<React$1.ComponentProps<"select">, "size"> & {
|
|
412
1266
|
size?: "sm" | "default";
|
|
413
|
-
}
|
|
1267
|
+
};
|
|
1268
|
+
declare function NativeSelect({ className, size, ...props }: NativeSelectProps): react_jsx_runtime.JSX.Element;
|
|
414
1269
|
declare function NativeSelectOption({ ...props }: React$1.ComponentProps<"option">): react_jsx_runtime.JSX.Element;
|
|
415
1270
|
declare function NativeSelectOptGroup({ className, ...props }: React$1.ComponentProps<"optgroup">): react_jsx_runtime.JSX.Element;
|
|
416
1271
|
|
|
@@ -433,44 +1288,262 @@ type PaginationLinkProps = {
|
|
|
433
1288
|
isActive?: boolean;
|
|
434
1289
|
} & Pick<React$1.ComponentProps<typeof Button>, "size"> & React$1.ComponentProps<"a">;
|
|
435
1290
|
declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
436
|
-
declare function PaginationPrevious({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>
|
|
437
|
-
|
|
1291
|
+
declare function PaginationPrevious({ className, text, ...props }: React$1.ComponentProps<typeof PaginationLink> & {
|
|
1292
|
+
text?: string;
|
|
1293
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1294
|
+
declare function PaginationNext({ className, text, ...props }: React$1.ComponentProps<typeof PaginationLink> & {
|
|
1295
|
+
text?: string;
|
|
1296
|
+
}): react_jsx_runtime.JSX.Element;
|
|
438
1297
|
declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
439
1298
|
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
1299
|
+
interface Country {
|
|
1300
|
+
code: string;
|
|
1301
|
+
name: string;
|
|
1302
|
+
dialCode: string;
|
|
1303
|
+
flag?: string;
|
|
1304
|
+
}
|
|
1305
|
+
interface StoreState$5 {
|
|
1306
|
+
value: string;
|
|
1307
|
+
country: string;
|
|
1308
|
+
open: boolean;
|
|
1309
|
+
startsWithPlus: boolean;
|
|
1310
|
+
}
|
|
1311
|
+
interface Store$3 {
|
|
1312
|
+
subscribe: (callback: () => void) => () => void;
|
|
1313
|
+
getState: () => StoreState$5;
|
|
1314
|
+
setState: <K extends keyof StoreState$5>(key: K, value: StoreState$5[K]) => void;
|
|
1315
|
+
notify: () => void;
|
|
1316
|
+
}
|
|
1317
|
+
declare function useStore$5<T>(selector: (state: StoreState$5) => T, ogStore?: Store$3 | null): T;
|
|
1318
|
+
interface PhoneInputProps extends React$1.ComponentProps<"div"> {
|
|
1319
|
+
defaultValue?: string;
|
|
1320
|
+
value?: string;
|
|
1321
|
+
onValueChange?: (value: string) => void;
|
|
1322
|
+
defaultCountry?: string;
|
|
1323
|
+
country?: string;
|
|
1324
|
+
onCountryChange?: (country: string) => void;
|
|
1325
|
+
countries?: Country[];
|
|
1326
|
+
name?: string;
|
|
1327
|
+
placeholder?: string;
|
|
1328
|
+
asChild?: boolean;
|
|
1329
|
+
disabled?: boolean;
|
|
1330
|
+
readOnly?: boolean;
|
|
1331
|
+
required?: boolean;
|
|
1332
|
+
invalid?: boolean;
|
|
1333
|
+
showFlag?: boolean;
|
|
1334
|
+
}
|
|
1335
|
+
declare function PhoneInput(props: PhoneInputProps): react_jsx_runtime.JSX.Element;
|
|
1336
|
+
interface PhoneInputCountrySelectProps extends React$1.ComponentProps<typeof Popover>, Pick<React$1.ComponentProps<typeof PopoverTrigger>, "disabled" | "className"> {
|
|
1337
|
+
}
|
|
1338
|
+
declare function PhoneInputCountrySelect(props: PhoneInputCountrySelectProps): react_jsx_runtime.JSX.Element;
|
|
1339
|
+
declare function PhoneInputField(props: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
447
1340
|
|
|
448
1341
|
declare function Progress({ className, value, ...props }: React$1.ComponentProps<typeof Progress$1.Root>): react_jsx_runtime.JSX.Element;
|
|
449
1342
|
|
|
1343
|
+
type QRCodeLevel = "L" | "M" | "Q" | "H";
|
|
1344
|
+
interface StoreState$4 {
|
|
1345
|
+
dataUrl: string | null;
|
|
1346
|
+
svgString: string | null;
|
|
1347
|
+
isGenerating: boolean;
|
|
1348
|
+
error: Error | null;
|
|
1349
|
+
generationKey: string;
|
|
1350
|
+
}
|
|
1351
|
+
declare function useStore$4<T>(selector: (state: StoreState$4) => T): T;
|
|
1352
|
+
interface QRCodeProps extends Omit<React$1.ComponentProps<"div">, "onError"> {
|
|
1353
|
+
value: string;
|
|
1354
|
+
size?: number;
|
|
1355
|
+
level?: QRCodeLevel;
|
|
1356
|
+
margin?: number;
|
|
1357
|
+
quality?: number;
|
|
1358
|
+
backgroundColor?: string;
|
|
1359
|
+
foregroundColor?: string;
|
|
1360
|
+
onError?: (error: Error) => void;
|
|
1361
|
+
onGenerated?: () => void;
|
|
1362
|
+
asChild?: boolean;
|
|
1363
|
+
}
|
|
1364
|
+
declare function QRCode(props: QRCodeProps): react_jsx_runtime.JSX.Element;
|
|
1365
|
+
interface QRCodeCanvasProps extends React$1.ComponentProps<"canvas"> {
|
|
1366
|
+
asChild?: boolean;
|
|
1367
|
+
}
|
|
1368
|
+
declare function QRCodeCanvas(props: QRCodeCanvasProps): react_jsx_runtime.JSX.Element;
|
|
1369
|
+
interface QRCodeSvgProps extends React$1.ComponentProps<"div"> {
|
|
1370
|
+
asChild?: boolean;
|
|
1371
|
+
}
|
|
1372
|
+
declare function QRCodeSvg(props: QRCodeSvgProps): react_jsx_runtime.JSX.Element | null;
|
|
1373
|
+
interface QRCodeImageProps extends React$1.ComponentProps<"img"> {
|
|
1374
|
+
asChild?: boolean;
|
|
1375
|
+
}
|
|
1376
|
+
declare function QRCodeImage(props: QRCodeImageProps): react_jsx_runtime.JSX.Element | null;
|
|
1377
|
+
interface QRCodeDownloadProps extends React$1.ComponentProps<"button"> {
|
|
1378
|
+
filename?: string;
|
|
1379
|
+
format?: "png" | "svg";
|
|
1380
|
+
asChild?: boolean;
|
|
1381
|
+
}
|
|
1382
|
+
declare function QRCodeDownload(props: QRCodeDownloadProps): react_jsx_runtime.JSX.Element;
|
|
1383
|
+
interface QRCodeOverlayProps extends React$1.ComponentProps<"div"> {
|
|
1384
|
+
asChild?: boolean;
|
|
1385
|
+
}
|
|
1386
|
+
declare function QRCodeOverlay(props: QRCodeOverlayProps): react_jsx_runtime.JSX.Element;
|
|
1387
|
+
interface QRCodeSkeletonProps extends React$1.ComponentProps<"div"> {
|
|
1388
|
+
asChild?: boolean;
|
|
1389
|
+
}
|
|
1390
|
+
declare function QRCodeSkeleton(props: QRCodeSkeletonProps): react_jsx_runtime.JSX.Element | null;
|
|
1391
|
+
|
|
450
1392
|
declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroup$1.Root>): react_jsx_runtime.JSX.Element;
|
|
451
1393
|
declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroup$1.Item>): react_jsx_runtime.JSX.Element;
|
|
452
1394
|
|
|
1395
|
+
type Direction$5 = "ltr" | "rtl";
|
|
1396
|
+
type Orientation$4 = "horizontal" | "vertical";
|
|
1397
|
+
type ActivationMode$2 = "automatic" | "manual";
|
|
1398
|
+
type Size$1 = "default" | "sm" | "lg";
|
|
1399
|
+
type Step = 0.5 | 1;
|
|
1400
|
+
type DataState$1 = "full" | "partial" | "empty";
|
|
1401
|
+
interface StoreState$3 {
|
|
1402
|
+
value: number;
|
|
1403
|
+
hoveredValue: number | null;
|
|
1404
|
+
}
|
|
1405
|
+
interface Store$2 {
|
|
1406
|
+
subscribe: (callback: () => void) => () => void;
|
|
1407
|
+
getState: () => StoreState$3;
|
|
1408
|
+
setState: <K extends keyof StoreState$3>(key: K, value: StoreState$3[K]) => void;
|
|
1409
|
+
notify: () => void;
|
|
1410
|
+
}
|
|
1411
|
+
declare function useStore$3<T>(selector: (state: StoreState$3) => T, ogStore?: Store$2 | null): T;
|
|
1412
|
+
interface RatingProps extends React$1.ComponentProps<"div"> {
|
|
1413
|
+
value?: number;
|
|
1414
|
+
defaultValue?: number;
|
|
1415
|
+
onValueChange?: (value: number) => void;
|
|
1416
|
+
onHover?: (value: number | null) => void;
|
|
1417
|
+
max?: number;
|
|
1418
|
+
activationMode?: ActivationMode$2;
|
|
1419
|
+
dir?: Direction$5;
|
|
1420
|
+
orientation?: Orientation$4;
|
|
1421
|
+
size?: Size$1;
|
|
1422
|
+
asChild?: boolean;
|
|
1423
|
+
step?: Step;
|
|
1424
|
+
clearable?: boolean;
|
|
1425
|
+
disabled?: boolean;
|
|
1426
|
+
readOnly?: boolean;
|
|
1427
|
+
required?: boolean;
|
|
1428
|
+
name?: string;
|
|
1429
|
+
}
|
|
1430
|
+
declare function Rating(props: RatingProps): react_jsx_runtime.JSX.Element;
|
|
1431
|
+
interface RatingItemProps extends Omit<React$1.ComponentProps<"button">, "children"> {
|
|
1432
|
+
index?: number;
|
|
1433
|
+
asChild?: boolean;
|
|
1434
|
+
children?: React$1.ReactNode | ((dataState: DataState$1) => React$1.ReactNode);
|
|
1435
|
+
}
|
|
1436
|
+
declare function RatingItem(props: RatingItemProps): react_jsx_runtime.JSX.Element;
|
|
1437
|
+
|
|
1438
|
+
declare const triggerVariants: (props?: ({
|
|
1439
|
+
variant?: "default" | "ghost" | "muted" | null | undefined;
|
|
1440
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1441
|
+
interface RelativeTimeCardProps extends React$1.ComponentProps<"button">, Pick<HoverCardContentProps, "align" | "side" | "alignOffset" | "sideOffset" | "avoidCollisions" | "collisionBoundary" | "collisionPadding" | "asChild">, VariantProps<typeof triggerVariants> {
|
|
1442
|
+
date: Date | string | number;
|
|
1443
|
+
timezones?: string[];
|
|
1444
|
+
updateInterval?: number;
|
|
1445
|
+
open?: boolean;
|
|
1446
|
+
defaultOpen?: boolean;
|
|
1447
|
+
onOpenChange?: (open: boolean) => void;
|
|
1448
|
+
openDelay?: number;
|
|
1449
|
+
closeDelay?: number;
|
|
1450
|
+
}
|
|
1451
|
+
declare function RelativeTimeCard(props: RelativeTimeCardProps): react_jsx_runtime.JSX.Element;
|
|
1452
|
+
|
|
453
1453
|
declare function ResizablePanelGroup({ className, ...props }: GroupProps): react_jsx_runtime.JSX.Element;
|
|
454
1454
|
declare function ResizablePanel({ ...props }: PanelProps): react_jsx_runtime.JSX.Element;
|
|
455
1455
|
declare function ResizableHandle({ withHandle, className, ...props }: SeparatorProps & {
|
|
456
1456
|
withHandle?: boolean;
|
|
457
1457
|
}): react_jsx_runtime.JSX.Element;
|
|
458
1458
|
|
|
1459
|
+
interface ResponsiveDialogProps extends React$1.ComponentProps<typeof Dialog> {
|
|
1460
|
+
breakpoint?: number;
|
|
1461
|
+
}
|
|
1462
|
+
declare function ResponsiveDialog({ breakpoint, open: openProp, defaultOpen, onOpenChange: onOpenChangeProp, ...props }: ResponsiveDialogProps): react_jsx_runtime.JSX.Element;
|
|
1463
|
+
declare function ResponsiveDialogTrigger({ ...props }: React$1.ComponentProps<typeof DialogTrigger>): react_jsx_runtime.JSX.Element;
|
|
1464
|
+
declare function ResponsiveDialogClose({ ...props }: React$1.ComponentProps<typeof DialogClose>): react_jsx_runtime.JSX.Element;
|
|
1465
|
+
declare function ResponsiveDialogPortal({ ...props }: React$1.ComponentProps<typeof DialogPortal>): react_jsx_runtime.JSX.Element;
|
|
1466
|
+
declare function ResponsiveDialogOverlay({ ...props }: React$1.ComponentProps<typeof DialogOverlay>): react_jsx_runtime.JSX.Element;
|
|
1467
|
+
declare function ResponsiveDialogContent({ className, ...props }: React$1.ComponentProps<typeof DialogContent>): react_jsx_runtime.JSX.Element;
|
|
1468
|
+
declare function ResponsiveDialogHeader({ ...props }: React$1.ComponentProps<typeof DialogHeader>): react_jsx_runtime.JSX.Element;
|
|
1469
|
+
declare function ResponsiveDialogFooter({ ...props }: React$1.ComponentProps<typeof DialogFooter>): react_jsx_runtime.JSX.Element;
|
|
1470
|
+
declare function ResponsiveDialogTitle({ ...props }: React$1.ComponentProps<typeof DialogTitle>): react_jsx_runtime.JSX.Element;
|
|
1471
|
+
declare function ResponsiveDialogDescription({ ...props }: React$1.ComponentProps<typeof DialogDescription>): react_jsx_runtime.JSX.Element;
|
|
1472
|
+
|
|
459
1473
|
declare function ScrollArea({ className, children, ...props }: React$1.ComponentProps<typeof ScrollArea$1.Root>): react_jsx_runtime.JSX.Element;
|
|
460
1474
|
declare function ScrollBar({ className, orientation, ...props }: React$1.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
|
|
461
1475
|
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
1476
|
+
type Direction$4 = "ltr" | "rtl";
|
|
1477
|
+
type Orientation$3 = "horizontal" | "vertical";
|
|
1478
|
+
interface ScrollSpyProps extends React$1.ComponentProps<"div"> {
|
|
1479
|
+
value?: string;
|
|
1480
|
+
defaultValue?: string;
|
|
1481
|
+
onValueChange?: (value: string) => void;
|
|
1482
|
+
rootMargin?: string;
|
|
1483
|
+
threshold?: number | number[];
|
|
1484
|
+
offset?: number;
|
|
1485
|
+
scrollBehavior?: ScrollBehavior;
|
|
1486
|
+
scrollContainer?: HTMLElement | null;
|
|
1487
|
+
dir?: Direction$4;
|
|
1488
|
+
orientation?: Orientation$3;
|
|
1489
|
+
asChild?: boolean;
|
|
1490
|
+
}
|
|
1491
|
+
declare function ScrollSpy(props: ScrollSpyProps): react_jsx_runtime.JSX.Element;
|
|
1492
|
+
interface ScrollSpyNavProps extends React$1.ComponentProps<"nav"> {
|
|
1493
|
+
asChild?: boolean;
|
|
1494
|
+
}
|
|
1495
|
+
declare function ScrollSpyNav(props: ScrollSpyNavProps): react_jsx_runtime.JSX.Element;
|
|
1496
|
+
interface ScrollSpyLinkProps extends React$1.ComponentProps<"a"> {
|
|
1497
|
+
value: string;
|
|
1498
|
+
asChild?: boolean;
|
|
1499
|
+
}
|
|
1500
|
+
declare function ScrollSpyLink(props: ScrollSpyLinkProps): react_jsx_runtime.JSX.Element;
|
|
1501
|
+
interface ScrollSpyViewportProps extends React$1.ComponentProps<"div"> {
|
|
1502
|
+
asChild?: boolean;
|
|
1503
|
+
}
|
|
1504
|
+
declare function ScrollSpyViewport(props: ScrollSpyViewportProps): react_jsx_runtime.JSX.Element;
|
|
1505
|
+
interface ScrollSpySectionProps extends React$1.ComponentProps<"div"> {
|
|
1506
|
+
value: string;
|
|
1507
|
+
asChild?: boolean;
|
|
1508
|
+
}
|
|
1509
|
+
declare function ScrollSpySection(props: ScrollSpySectionProps): react_jsx_runtime.JSX.Element;
|
|
1510
|
+
|
|
1511
|
+
declare const scrollerVariants: (props?: ({
|
|
1512
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
1513
|
+
hideScrollbar?: boolean | null | undefined;
|
|
1514
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1515
|
+
interface ScrollerProps extends VariantProps<typeof scrollerVariants>, React$1.ComponentProps<"div"> {
|
|
1516
|
+
size?: number;
|
|
1517
|
+
offset?: number;
|
|
1518
|
+
asChild?: boolean;
|
|
1519
|
+
withNavigation?: boolean;
|
|
1520
|
+
scrollStep?: number;
|
|
1521
|
+
scrollTriggerMode?: "press" | "hover" | "click";
|
|
1522
|
+
}
|
|
1523
|
+
declare function Scroller(props: ScrollerProps): react_jsx_runtime.JSX.Element;
|
|
1524
|
+
|
|
1525
|
+
type Direction$3 = "ltr" | "rtl";
|
|
1526
|
+
type Orientation$2 = "horizontal" | "vertical";
|
|
1527
|
+
type Size = "default" | "sm" | "lg";
|
|
1528
|
+
interface SegmentedInputProps extends React$1.ComponentProps<"div"> {
|
|
1529
|
+
dir?: Direction$3;
|
|
1530
|
+
orientation?: Orientation$2;
|
|
1531
|
+
size?: Size;
|
|
1532
|
+
asChild?: boolean;
|
|
1533
|
+
disabled?: boolean;
|
|
1534
|
+
invalid?: boolean;
|
|
1535
|
+
required?: boolean;
|
|
1536
|
+
}
|
|
1537
|
+
declare function SegmentedInput(props: SegmentedInputProps): react_jsx_runtime.JSX.Element;
|
|
1538
|
+
declare const segmentedInputItemVariants: (props?: ({
|
|
1539
|
+
position?: "first" | "last" | "middle" | "isolated" | null | undefined;
|
|
1540
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
1541
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1542
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1543
|
+
interface SegmentedInputItemProps extends React$1.ComponentProps<"input">, Omit<VariantProps<typeof segmentedInputItemVariants>, "size"> {
|
|
1544
|
+
asChild?: boolean;
|
|
1545
|
+
}
|
|
1546
|
+
declare function SegmentedInputItem(props: SegmentedInputItemProps): react_jsx_runtime.JSX.Element;
|
|
474
1547
|
|
|
475
1548
|
declare function Sheet({ ...props }: React$1.ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
|
|
476
1549
|
declare function SheetTrigger({ ...props }: React$1.ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
@@ -484,11 +1557,6 @@ declare function SheetFooter({ className, ...props }: React$1.ComponentProps<"di
|
|
|
484
1557
|
declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
485
1558
|
declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
486
1559
|
|
|
487
|
-
declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof Tooltip$1.Provider>): react_jsx_runtime.JSX.Element;
|
|
488
|
-
declare function Tooltip({ ...props }: React$1.ComponentProps<typeof Tooltip$1.Root>): react_jsx_runtime.JSX.Element;
|
|
489
|
-
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof Tooltip$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
490
|
-
declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof Tooltip$1.Content>): react_jsx_runtime.JSX.Element;
|
|
491
|
-
|
|
492
1560
|
type SidebarContextProps = {
|
|
493
1561
|
state: "expanded" | "collapsed";
|
|
494
1562
|
open: boolean;
|
|
@@ -504,7 +1572,7 @@ declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: se
|
|
|
504
1572
|
open?: boolean;
|
|
505
1573
|
onOpenChange?: (open: boolean) => void;
|
|
506
1574
|
}): react_jsx_runtime.JSX.Element;
|
|
507
|
-
declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React$1.ComponentProps<"div"> & {
|
|
1575
|
+
declare function Sidebar({ side, variant, collapsible, className, children, dir, ...props }: React$1.ComponentProps<"div"> & {
|
|
508
1576
|
side?: "left" | "right";
|
|
509
1577
|
variant?: "sidebar" | "floating" | "inset";
|
|
510
1578
|
collapsible?: "offcanvas" | "icon" | "none";
|
|
@@ -558,8 +1626,231 @@ declare function Slider({ className, defaultValue, value, min, max, ...props }:
|
|
|
558
1626
|
|
|
559
1627
|
declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
560
1628
|
|
|
1629
|
+
interface GetItemValue<T> {
|
|
1630
|
+
/**
|
|
1631
|
+
* Callback that returns a unique identifier for each sortable item. Required for array of objects.
|
|
1632
|
+
* @example getItemValue={(item) => item.id}
|
|
1633
|
+
*/
|
|
1634
|
+
getItemValue: (item: T) => UniqueIdentifier;
|
|
1635
|
+
}
|
|
1636
|
+
type SortableProps<T> = DndContextProps & (T extends object ? GetItemValue<T> : Partial<GetItemValue<T>>) & {
|
|
1637
|
+
value: T[];
|
|
1638
|
+
onValueChange?: (items: T[]) => void;
|
|
1639
|
+
onMove?: (event: DragEndEvent & {
|
|
1640
|
+
activeIndex: number;
|
|
1641
|
+
overIndex: number;
|
|
1642
|
+
}) => void;
|
|
1643
|
+
strategy?: SortableContextProps["strategy"];
|
|
1644
|
+
orientation?: "vertical" | "horizontal" | "mixed";
|
|
1645
|
+
flatCursor?: boolean;
|
|
1646
|
+
};
|
|
1647
|
+
declare function Sortable<T>(props: SortableProps<T>): react_jsx_runtime.JSX.Element;
|
|
1648
|
+
interface SortableContentProps extends React$1.ComponentProps<"div"> {
|
|
1649
|
+
strategy?: SortableContextProps["strategy"];
|
|
1650
|
+
children: React$1.ReactNode;
|
|
1651
|
+
asChild?: boolean;
|
|
1652
|
+
withoutSlot?: boolean;
|
|
1653
|
+
}
|
|
1654
|
+
declare function SortableContent(props: SortableContentProps): react_jsx_runtime.JSX.Element;
|
|
1655
|
+
interface SortableItemProps extends React$1.ComponentProps<"div"> {
|
|
1656
|
+
value: UniqueIdentifier;
|
|
1657
|
+
asHandle?: boolean;
|
|
1658
|
+
asChild?: boolean;
|
|
1659
|
+
disabled?: boolean;
|
|
1660
|
+
}
|
|
1661
|
+
declare function SortableItem(props: SortableItemProps): react_jsx_runtime.JSX.Element;
|
|
1662
|
+
interface SortableItemHandleProps extends React$1.ComponentProps<"button"> {
|
|
1663
|
+
asChild?: boolean;
|
|
1664
|
+
}
|
|
1665
|
+
declare function SortableItemHandle(props: SortableItemHandleProps): react_jsx_runtime.JSX.Element;
|
|
1666
|
+
interface SortableOverlayProps extends Omit<React$1.ComponentProps<typeof DragOverlay>, "children"> {
|
|
1667
|
+
container?: Element | DocumentFragment | null;
|
|
1668
|
+
children?: ((params: {
|
|
1669
|
+
value: UniqueIdentifier;
|
|
1670
|
+
}) => React$1.ReactNode) | React$1.ReactNode;
|
|
1671
|
+
}
|
|
1672
|
+
declare function SortableOverlay(props: SortableOverlayProps): React$1.ReactPortal | null;
|
|
1673
|
+
|
|
1674
|
+
type Side$2 = "top" | "right" | "bottom" | "left";
|
|
1675
|
+
type ActivationMode$1 = "click" | "hover";
|
|
1676
|
+
interface DivProps$6 extends React$1.ComponentProps<"div"> {
|
|
1677
|
+
asChild?: boolean;
|
|
1678
|
+
}
|
|
1679
|
+
interface InteractOutsideEvent$1 extends CustomEvent {
|
|
1680
|
+
detail: {
|
|
1681
|
+
originalEvent: PointerEvent;
|
|
1682
|
+
};
|
|
1683
|
+
}
|
|
1684
|
+
interface SpeedDialProps extends DivProps$6 {
|
|
1685
|
+
open?: boolean;
|
|
1686
|
+
defaultOpen?: boolean;
|
|
1687
|
+
onOpenChange?: (open: boolean) => void;
|
|
1688
|
+
side?: Side$2;
|
|
1689
|
+
activationMode?: ActivationMode$1;
|
|
1690
|
+
delay?: number;
|
|
1691
|
+
disabled?: boolean;
|
|
1692
|
+
}
|
|
1693
|
+
declare function SpeedDial(props: SpeedDialProps): react_jsx_runtime.JSX.Element;
|
|
1694
|
+
declare function SpeedDialTrigger(props: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
1695
|
+
declare const speedDialContentVariants: (props?: ({
|
|
1696
|
+
side?: "top" | "bottom" | "left" | "right" | null | undefined;
|
|
1697
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1698
|
+
interface SpeedDialContentProps extends DivProps$6, VariantProps<typeof speedDialContentVariants> {
|
|
1699
|
+
offset?: number;
|
|
1700
|
+
gap?: number;
|
|
1701
|
+
forceMount?: boolean;
|
|
1702
|
+
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
1703
|
+
onInteractOutside?: (event: InteractOutsideEvent$1) => void;
|
|
1704
|
+
}
|
|
1705
|
+
declare function SpeedDialContent(props: SpeedDialContentProps): react_jsx_runtime.JSX.Element | null;
|
|
1706
|
+
declare function SpeedDialItem(props: DivProps$6): react_jsx_runtime.JSX.Element;
|
|
1707
|
+
interface SpeedDialActionProps extends Omit<React$1.ComponentProps<typeof Button>, "onSelect"> {
|
|
1708
|
+
onSelect?: (event: Event) => void;
|
|
1709
|
+
}
|
|
1710
|
+
declare function SpeedDialAction(props: SpeedDialActionProps): react_jsx_runtime.JSX.Element;
|
|
1711
|
+
declare function SpeedDialLabel({ asChild, className, ...props }: DivProps$6): react_jsx_runtime.JSX.Element;
|
|
1712
|
+
|
|
561
1713
|
declare function Spinner({ className, ...props }: React.ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
|
|
562
1714
|
|
|
1715
|
+
type Side$1 = "top" | "bottom";
|
|
1716
|
+
interface StackProps extends React$1.ComponentProps<"div"> {
|
|
1717
|
+
side?: Side$1;
|
|
1718
|
+
itemCount?: number;
|
|
1719
|
+
expandedItemCount?: number;
|
|
1720
|
+
gap?: number;
|
|
1721
|
+
scale?: number;
|
|
1722
|
+
offset?: number;
|
|
1723
|
+
expandOnHover?: boolean;
|
|
1724
|
+
asChild?: boolean;
|
|
1725
|
+
}
|
|
1726
|
+
declare function Stack(props: StackProps): react_jsx_runtime.JSX.Element;
|
|
1727
|
+
interface StackItemProps extends React$1.ComponentProps<"div"> {
|
|
1728
|
+
asChild?: boolean;
|
|
1729
|
+
}
|
|
1730
|
+
declare function StackItem(props: StackItemProps): react_jsx_runtime.JSX.Element;
|
|
1731
|
+
|
|
1732
|
+
declare function Stat({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1733
|
+
declare function StatLabel({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1734
|
+
declare const statIndicatorVariants: (props?: ({
|
|
1735
|
+
variant?: "default" | "icon" | "badge" | "action" | null | undefined;
|
|
1736
|
+
color?: "default" | "error" | "success" | "info" | "warning" | null | undefined;
|
|
1737
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1738
|
+
interface StatIndicatorProps extends Omit<React$1.ComponentProps<"div">, "color">, VariantProps<typeof statIndicatorVariants> {
|
|
1739
|
+
}
|
|
1740
|
+
declare function StatIndicator({ className, variant, color, ...props }: StatIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
1741
|
+
declare function StatValue({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1742
|
+
declare function StatTrend({ className, trend, ...props }: React$1.ComponentProps<"div"> & {
|
|
1743
|
+
trend?: "up" | "down" | "neutral";
|
|
1744
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1745
|
+
declare function StatSeparator({ ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
1746
|
+
declare function StatDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1747
|
+
|
|
1748
|
+
interface DivProps$5 extends React$1.ComponentProps<"div"> {
|
|
1749
|
+
}
|
|
1750
|
+
declare const statusVariants: (props?: ({
|
|
1751
|
+
variant?: "default" | "error" | "success" | "info" | "warning" | null | undefined;
|
|
1752
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1753
|
+
interface StatusProps extends VariantProps<typeof statusVariants>, DivProps$5 {
|
|
1754
|
+
asChild?: boolean;
|
|
1755
|
+
}
|
|
1756
|
+
declare function Status(props: StatusProps): react_jsx_runtime.JSX.Element;
|
|
1757
|
+
declare function StatusIndicator(props: DivProps$5): react_jsx_runtime.JSX.Element;
|
|
1758
|
+
declare function StatusLabel(props: DivProps$5): react_jsx_runtime.JSX.Element;
|
|
1759
|
+
|
|
1760
|
+
type Direction$2 = "ltr" | "rtl";
|
|
1761
|
+
type Orientation$1 = "horizontal" | "vertical";
|
|
1762
|
+
type NavigationDirection = "next" | "prev";
|
|
1763
|
+
type ActivationMode = "automatic" | "manual";
|
|
1764
|
+
type DataState = "inactive" | "active" | "completed";
|
|
1765
|
+
interface DivProps$4 extends React$1.ComponentProps<"div"> {
|
|
1766
|
+
asChild?: boolean;
|
|
1767
|
+
}
|
|
1768
|
+
interface ButtonProps$1 extends React$1.ComponentProps<"button"> {
|
|
1769
|
+
asChild?: boolean;
|
|
1770
|
+
}
|
|
1771
|
+
interface StepState {
|
|
1772
|
+
value: string;
|
|
1773
|
+
completed: boolean;
|
|
1774
|
+
disabled: boolean;
|
|
1775
|
+
}
|
|
1776
|
+
interface StoreState$2 {
|
|
1777
|
+
steps: Map<string, StepState>;
|
|
1778
|
+
value: string;
|
|
1779
|
+
}
|
|
1780
|
+
declare function useStore$2<T>(selector: (state: StoreState$2) => T): T;
|
|
1781
|
+
interface StepperProps extends DivProps$4 {
|
|
1782
|
+
value?: string;
|
|
1783
|
+
defaultValue?: string;
|
|
1784
|
+
onValueChange?: (value: string) => void;
|
|
1785
|
+
onValueComplete?: (value: string, completed: boolean) => void;
|
|
1786
|
+
onValueAdd?: (value: string) => void;
|
|
1787
|
+
onValueRemove?: (value: string) => void;
|
|
1788
|
+
onValidate?: (value: string, direction: NavigationDirection) => boolean | Promise<boolean>;
|
|
1789
|
+
activationMode?: ActivationMode;
|
|
1790
|
+
dir?: Direction$2;
|
|
1791
|
+
orientation?: Orientation$1;
|
|
1792
|
+
disabled?: boolean;
|
|
1793
|
+
loop?: boolean;
|
|
1794
|
+
nonInteractive?: boolean;
|
|
1795
|
+
}
|
|
1796
|
+
declare function Stepper(props: StepperProps): react_jsx_runtime.JSX.Element;
|
|
1797
|
+
declare function StepperList(props: DivProps$4): react_jsx_runtime.JSX.Element;
|
|
1798
|
+
interface StepperItemProps extends DivProps$4 {
|
|
1799
|
+
value: string;
|
|
1800
|
+
completed?: boolean;
|
|
1801
|
+
disabled?: boolean;
|
|
1802
|
+
}
|
|
1803
|
+
declare function StepperItem(props: StepperItemProps): react_jsx_runtime.JSX.Element;
|
|
1804
|
+
declare function StepperTrigger(props: ButtonProps$1): react_jsx_runtime.JSX.Element;
|
|
1805
|
+
interface StepperIndicatorProps extends Omit<DivProps$4, "children"> {
|
|
1806
|
+
children?: React$1.ReactNode | ((dataState: DataState) => React$1.ReactNode);
|
|
1807
|
+
}
|
|
1808
|
+
declare function StepperIndicator(props: StepperIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
1809
|
+
interface StepperSeparatorProps extends DivProps$4 {
|
|
1810
|
+
forceMount?: boolean;
|
|
1811
|
+
}
|
|
1812
|
+
declare function StepperSeparator(props: StepperSeparatorProps): react_jsx_runtime.JSX.Element | null;
|
|
1813
|
+
interface StepperTitleProps extends React$1.ComponentProps<"span"> {
|
|
1814
|
+
asChild?: boolean;
|
|
1815
|
+
}
|
|
1816
|
+
declare function StepperTitle(props: StepperTitleProps): react_jsx_runtime.JSX.Element;
|
|
1817
|
+
interface StepperDescriptionProps extends React$1.ComponentProps<"span"> {
|
|
1818
|
+
asChild?: boolean;
|
|
1819
|
+
}
|
|
1820
|
+
declare function StepperDescription(props: StepperDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
1821
|
+
interface StepperContentProps extends DivProps$4 {
|
|
1822
|
+
value: string;
|
|
1823
|
+
forceMount?: boolean;
|
|
1824
|
+
}
|
|
1825
|
+
declare function StepperContent(props: StepperContentProps): react_jsx_runtime.JSX.Element | null;
|
|
1826
|
+
declare function StepperPrev(props: ButtonProps$1): react_jsx_runtime.JSX.Element;
|
|
1827
|
+
declare function StepperNext(props: ButtonProps$1): react_jsx_runtime.JSX.Element;
|
|
1828
|
+
|
|
1829
|
+
interface DivProps$3 extends React$1.ComponentProps<"div"> {
|
|
1830
|
+
asChild?: boolean;
|
|
1831
|
+
}
|
|
1832
|
+
interface StoreState$1 {
|
|
1833
|
+
swapped: boolean;
|
|
1834
|
+
}
|
|
1835
|
+
interface Store$1 {
|
|
1836
|
+
subscribe: (callback: () => void) => () => void;
|
|
1837
|
+
getState: () => StoreState$1;
|
|
1838
|
+
setState: <K extends keyof StoreState$1>(key: K, value: StoreState$1[K]) => void;
|
|
1839
|
+
notify: () => void;
|
|
1840
|
+
}
|
|
1841
|
+
declare function useStore$1<T>(selector: (state: StoreState$1) => T, ogStore?: Store$1 | null): T;
|
|
1842
|
+
interface SwapProps extends DivProps$3 {
|
|
1843
|
+
swapped?: boolean;
|
|
1844
|
+
defaultSwapped?: boolean;
|
|
1845
|
+
onSwappedChange?: (swapped: boolean) => void;
|
|
1846
|
+
activationMode?: "click" | "hover";
|
|
1847
|
+
animation?: "fade" | "rotate" | "flip" | "scale";
|
|
1848
|
+
disabled?: boolean;
|
|
1849
|
+
}
|
|
1850
|
+
declare function Swap(props: SwapProps): react_jsx_runtime.JSX.Element;
|
|
1851
|
+
declare function SwapOn(props: DivProps$3): react_jsx_runtime.JSX.Element;
|
|
1852
|
+
declare function SwapOff(props: DivProps$3): react_jsx_runtime.JSX.Element;
|
|
1853
|
+
|
|
563
1854
|
declare function Switch({ className, size, ...props }: React$1.ComponentProps<typeof Switch$1.Root> & {
|
|
564
1855
|
size?: "sm" | "default";
|
|
565
1856
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -581,17 +1872,242 @@ declare function TabsList({ className, variant, ...props }: React$1.ComponentPro
|
|
|
581
1872
|
declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
582
1873
|
declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime.JSX.Element;
|
|
583
1874
|
|
|
1875
|
+
declare function TagsInput({ className, ...props }: React$1.ComponentProps<typeof TagsInputPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1876
|
+
declare function TagsInputLabel({ className, ...props }: React$1.ComponentProps<typeof TagsInputPrimitive.Label>): react_jsx_runtime.JSX.Element;
|
|
1877
|
+
declare function TagsInputList({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1878
|
+
declare function TagsInputInput({ className, ...props }: React$1.ComponentProps<typeof TagsInputPrimitive.Input>): react_jsx_runtime.JSX.Element;
|
|
1879
|
+
declare function TagsInputItem({ className, children, ...props }: React$1.ComponentProps<typeof TagsInputPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
1880
|
+
declare function TagsInputClear({ ...props }: React$1.ComponentProps<typeof TagsInputPrimitive.Clear>): react_jsx_runtime.JSX.Element;
|
|
1881
|
+
|
|
584
1882
|
declare function Textarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
585
1883
|
|
|
1884
|
+
type Segment = "hour" | "minute" | "second" | "period";
|
|
1885
|
+
type SegmentFormat = "numeric" | "2-digit";
|
|
1886
|
+
interface DivProps$2 extends React$1.ComponentProps<"div"> {
|
|
1887
|
+
asChild?: boolean;
|
|
1888
|
+
}
|
|
1889
|
+
interface ButtonProps extends React$1.ComponentProps<"button"> {
|
|
1890
|
+
asChild?: boolean;
|
|
1891
|
+
}
|
|
1892
|
+
interface StoreState {
|
|
1893
|
+
value: string;
|
|
1894
|
+
open: boolean;
|
|
1895
|
+
openedViaFocus: boolean;
|
|
1896
|
+
}
|
|
1897
|
+
interface Store {
|
|
1898
|
+
subscribe: (callback: () => void) => () => void;
|
|
1899
|
+
getState: () => StoreState;
|
|
1900
|
+
setState: <K extends keyof StoreState>(key: K, value: StoreState[K]) => void;
|
|
1901
|
+
notify: () => void;
|
|
1902
|
+
}
|
|
1903
|
+
declare function useStore<T>(selector: (state: StoreState) => T, ogStore?: Store | null): T;
|
|
1904
|
+
type SegmentPlaceholder = string | {
|
|
1905
|
+
hour?: string;
|
|
1906
|
+
minute?: string;
|
|
1907
|
+
second?: string;
|
|
1908
|
+
period?: string;
|
|
1909
|
+
};
|
|
1910
|
+
interface TimePickerProps extends DivProps$2 {
|
|
1911
|
+
value?: string;
|
|
1912
|
+
defaultValue?: string;
|
|
1913
|
+
onValueChange?: (value: string) => void;
|
|
1914
|
+
open?: boolean;
|
|
1915
|
+
defaultOpen?: boolean;
|
|
1916
|
+
onOpenChange?: (open: boolean) => void;
|
|
1917
|
+
openOnFocus?: boolean;
|
|
1918
|
+
inputGroupClickAction?: "focus" | "open";
|
|
1919
|
+
min?: string;
|
|
1920
|
+
max?: string;
|
|
1921
|
+
hourStep?: number;
|
|
1922
|
+
minuteStep?: number;
|
|
1923
|
+
secondStep?: number;
|
|
1924
|
+
segmentPlaceholder?: SegmentPlaceholder;
|
|
1925
|
+
locale?: string;
|
|
1926
|
+
name?: string;
|
|
1927
|
+
disabled?: boolean;
|
|
1928
|
+
invalid?: boolean;
|
|
1929
|
+
readOnly?: boolean;
|
|
1930
|
+
required?: boolean;
|
|
1931
|
+
showSeconds?: boolean;
|
|
1932
|
+
}
|
|
1933
|
+
declare function TimePicker(props: TimePickerProps): react_jsx_runtime.JSX.Element;
|
|
1934
|
+
interface TimePickerLabelProps extends React$1.ComponentProps<"label"> {
|
|
1935
|
+
asChild?: boolean;
|
|
1936
|
+
}
|
|
1937
|
+
declare function TimePickerLabel(props: TimePickerLabelProps): react_jsx_runtime.JSX.Element;
|
|
1938
|
+
declare function TimePickerInputGroup(props: DivProps$2): react_jsx_runtime.JSX.Element;
|
|
1939
|
+
interface TimePickerInputProps extends Omit<React$1.ComponentProps<"input">, "type" | "value"> {
|
|
1940
|
+
segment: Segment;
|
|
1941
|
+
}
|
|
1942
|
+
declare function TimePickerInput(props: TimePickerInputProps): react_jsx_runtime.JSX.Element;
|
|
1943
|
+
declare function TimePickerTrigger(props: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
1944
|
+
interface TimePickerContentProps extends DivProps$2, React$1.ComponentProps<typeof PopoverContent> {
|
|
1945
|
+
}
|
|
1946
|
+
declare function TimePickerContent(props: TimePickerContentProps): react_jsx_runtime.JSX.Element;
|
|
1947
|
+
interface TimePickerHourProps extends DivProps$2 {
|
|
1948
|
+
format?: SegmentFormat;
|
|
1949
|
+
}
|
|
1950
|
+
declare function TimePickerHour(props: TimePickerHourProps): react_jsx_runtime.JSX.Element;
|
|
1951
|
+
interface TimePickerMinuteProps extends DivProps$2 {
|
|
1952
|
+
format?: SegmentFormat;
|
|
1953
|
+
}
|
|
1954
|
+
declare function TimePickerMinute(props: TimePickerMinuteProps): react_jsx_runtime.JSX.Element;
|
|
1955
|
+
interface TimePickerSecondProps extends DivProps$2 {
|
|
1956
|
+
format?: SegmentFormat;
|
|
1957
|
+
}
|
|
1958
|
+
declare function TimePickerSecond(props: TimePickerSecondProps): react_jsx_runtime.JSX.Element;
|
|
1959
|
+
declare function TimePickerPeriod(props: DivProps$2): react_jsx_runtime.JSX.Element | null;
|
|
1960
|
+
interface TimePickerSeparatorProps extends React$1.ComponentProps<"span"> {
|
|
1961
|
+
asChild?: boolean;
|
|
1962
|
+
}
|
|
1963
|
+
declare function TimePickerSeparator(props: TimePickerSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
1964
|
+
declare function TimePickerClear(props: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
1965
|
+
|
|
1966
|
+
type Direction$1 = "ltr" | "rtl";
|
|
1967
|
+
type Orientation = "vertical" | "horizontal";
|
|
1968
|
+
type Variant = "default" | "alternate";
|
|
1969
|
+
interface DivProps$1 extends React$1.ComponentProps<"div"> {
|
|
1970
|
+
asChild?: boolean;
|
|
1971
|
+
}
|
|
1972
|
+
interface TimelineProps extends DivProps$1 {
|
|
1973
|
+
dir?: Direction$1;
|
|
1974
|
+
orientation?: Orientation;
|
|
1975
|
+
variant?: Variant;
|
|
1976
|
+
activeIndex?: number;
|
|
1977
|
+
}
|
|
1978
|
+
declare function Timeline(props: TimelineProps): react_jsx_runtime.JSX.Element;
|
|
1979
|
+
declare function TimelineItem(props: DivProps$1): react_jsx_runtime.JSX.Element;
|
|
1980
|
+
declare function TimelineContent(props: DivProps$1): react_jsx_runtime.JSX.Element;
|
|
1981
|
+
declare function TimelineDot(props: DivProps$1): react_jsx_runtime.JSX.Element;
|
|
1982
|
+
interface TimelineConnectorProps extends DivProps$1 {
|
|
1983
|
+
forceMount?: boolean;
|
|
1984
|
+
}
|
|
1985
|
+
declare function TimelineConnector(props: TimelineConnectorProps): react_jsx_runtime.JSX.Element | null;
|
|
1986
|
+
declare function TimelineHeader(props: DivProps$1): react_jsx_runtime.JSX.Element;
|
|
1987
|
+
declare function TimelineTitle(props: DivProps$1): react_jsx_runtime.JSX.Element;
|
|
1988
|
+
declare function TimelineDescription(props: DivProps$1): react_jsx_runtime.JSX.Element;
|
|
1989
|
+
interface TimelineTimeProps extends React$1.ComponentProps<"time"> {
|
|
1990
|
+
asChild?: boolean;
|
|
1991
|
+
}
|
|
1992
|
+
declare function TimelineTime(props: TimelineTimeProps): react_jsx_runtime.JSX.Element;
|
|
1993
|
+
|
|
586
1994
|
declare const toggleVariants: (props?: ({
|
|
587
1995
|
variant?: "default" | "outline" | null | undefined;
|
|
588
1996
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
589
1997
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
590
1998
|
declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
591
1999
|
|
|
592
|
-
declare function ToggleGroup({ className, variant, size, spacing, children, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants> & {
|
|
2000
|
+
declare function ToggleGroup({ className, variant, size, spacing, orientation, children, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants> & {
|
|
593
2001
|
spacing?: number;
|
|
2002
|
+
orientation?: "horizontal" | "vertical";
|
|
594
2003
|
}): react_jsx_runtime.JSX.Element;
|
|
595
2004
|
declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
596
2005
|
|
|
597
|
-
|
|
2006
|
+
declare const SIDE_OPTIONS: readonly ["top", "right", "bottom", "left"];
|
|
2007
|
+
declare const ALIGN_OPTIONS: readonly ["start", "center", "end"];
|
|
2008
|
+
type Side = (typeof SIDE_OPTIONS)[number];
|
|
2009
|
+
type Align = (typeof ALIGN_OPTIONS)[number];
|
|
2010
|
+
type Direction = "ltr" | "rtl";
|
|
2011
|
+
interface ScrollOffset {
|
|
2012
|
+
top?: number;
|
|
2013
|
+
bottom?: number;
|
|
2014
|
+
left?: number;
|
|
2015
|
+
right?: number;
|
|
2016
|
+
}
|
|
2017
|
+
type Boundary = Element | null;
|
|
2018
|
+
interface DivProps extends React$1.ComponentProps<"div"> {
|
|
2019
|
+
asChild?: boolean;
|
|
2020
|
+
}
|
|
2021
|
+
type PointerDownOutsideEvent = CustomEvent<{
|
|
2022
|
+
originalEvent: PointerEvent;
|
|
2023
|
+
}>;
|
|
2024
|
+
type InteractOutsideEvent = CustomEvent<{
|
|
2025
|
+
originalEvent: PointerEvent | FocusEvent;
|
|
2026
|
+
}>;
|
|
2027
|
+
type OpenAutoFocusEvent = CustomEvent<Record<string, never>>;
|
|
2028
|
+
type CloseAutoFocusEvent = CustomEvent<Record<string, never>>;
|
|
2029
|
+
interface TourProps extends DivProps {
|
|
2030
|
+
open?: boolean;
|
|
2031
|
+
defaultOpen?: boolean;
|
|
2032
|
+
onOpenChange?: (open: boolean) => void;
|
|
2033
|
+
value?: number;
|
|
2034
|
+
defaultValue?: number;
|
|
2035
|
+
onValueChange?: (step: number) => void;
|
|
2036
|
+
onComplete?: () => void;
|
|
2037
|
+
onSkip?: () => void;
|
|
2038
|
+
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
2039
|
+
onPointerDownOutside?: (event: PointerDownOutsideEvent) => void;
|
|
2040
|
+
onInteractOutside?: (event: InteractOutsideEvent) => void;
|
|
2041
|
+
onOpenAutoFocus?: (event: OpenAutoFocusEvent) => void;
|
|
2042
|
+
onCloseAutoFocus?: (event: CloseAutoFocusEvent) => void;
|
|
2043
|
+
dir?: Direction;
|
|
2044
|
+
alignOffset?: number;
|
|
2045
|
+
sideOffset?: number;
|
|
2046
|
+
spotlightPadding?: number;
|
|
2047
|
+
autoScroll?: boolean;
|
|
2048
|
+
scrollBehavior?: ScrollBehavior;
|
|
2049
|
+
scrollOffset?: ScrollOffset;
|
|
2050
|
+
dismissible?: boolean;
|
|
2051
|
+
modal?: boolean;
|
|
2052
|
+
stepFooter?: React$1.ReactElement;
|
|
2053
|
+
}
|
|
2054
|
+
declare function Tour(props: TourProps): react_jsx_runtime.JSX.Element;
|
|
2055
|
+
interface TourStepProps extends DivProps {
|
|
2056
|
+
target: string | React$1.RefObject<HTMLElement> | HTMLElement;
|
|
2057
|
+
side?: Side;
|
|
2058
|
+
sideOffset?: number;
|
|
2059
|
+
align?: Align;
|
|
2060
|
+
alignOffset?: number;
|
|
2061
|
+
collisionBoundary?: Boundary | Boundary[];
|
|
2062
|
+
collisionPadding?: number | Partial<Record<Side, number>>;
|
|
2063
|
+
arrowPadding?: number;
|
|
2064
|
+
sticky?: "partial" | "always";
|
|
2065
|
+
hideWhenDetached?: boolean;
|
|
2066
|
+
avoidCollisions?: boolean;
|
|
2067
|
+
required?: boolean;
|
|
2068
|
+
forceMount?: boolean;
|
|
2069
|
+
onStepEnter?: () => void;
|
|
2070
|
+
onStepLeave?: () => void;
|
|
2071
|
+
}
|
|
2072
|
+
declare function TourStep(props: TourStepProps): react_jsx_runtime.JSX.Element | null;
|
|
2073
|
+
interface TourSpotlightProps extends DivProps {
|
|
2074
|
+
forceMount?: boolean;
|
|
2075
|
+
}
|
|
2076
|
+
declare function TourSpotlight(props: TourSpotlightProps): react_jsx_runtime.JSX.Element | null;
|
|
2077
|
+
interface TourSpotlightRingProps extends DivProps {
|
|
2078
|
+
forceMount?: boolean;
|
|
2079
|
+
}
|
|
2080
|
+
declare function TourSpotlightRing(props: TourSpotlightRingProps): react_jsx_runtime.JSX.Element | null;
|
|
2081
|
+
interface TourPortalProps {
|
|
2082
|
+
children?: React$1.ReactNode;
|
|
2083
|
+
container?: HTMLElement | null;
|
|
2084
|
+
}
|
|
2085
|
+
declare function TourPortal(props: TourPortalProps): React$1.ReactPortal | null;
|
|
2086
|
+
interface TourArrowProps extends React$1.ComponentProps<"svg"> {
|
|
2087
|
+
width?: number;
|
|
2088
|
+
height?: number;
|
|
2089
|
+
asChild?: boolean;
|
|
2090
|
+
}
|
|
2091
|
+
declare function TourArrow(props: TourArrowProps): react_jsx_runtime.JSX.Element;
|
|
2092
|
+
declare function TourHeader(props: DivProps): react_jsx_runtime.JSX.Element;
|
|
2093
|
+
declare function TourTitle(props: DivProps): react_jsx_runtime.JSX.Element;
|
|
2094
|
+
declare function TourDescription(props: DivProps): react_jsx_runtime.JSX.Element;
|
|
2095
|
+
interface TourCloseProps extends React$1.ComponentProps<"button"> {
|
|
2096
|
+
asChild?: boolean;
|
|
2097
|
+
}
|
|
2098
|
+
declare function TourClose(props: TourCloseProps): react_jsx_runtime.JSX.Element;
|
|
2099
|
+
declare function TourPrev(props: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
2100
|
+
declare function TourNext(props: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
2101
|
+
declare function TourSkip(props: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
2102
|
+
interface TourStepCounterProps extends DivProps {
|
|
2103
|
+
format?: (current: number, total: number) => string;
|
|
2104
|
+
}
|
|
2105
|
+
declare function TourStepCounter(props: TourStepCounterProps): react_jsx_runtime.JSX.Element;
|
|
2106
|
+
declare function TourFooter(props: DivProps): react_jsx_runtime.JSX.Element;
|
|
2107
|
+
|
|
2108
|
+
interface VisuallyHiddenInputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
|
|
2109
|
+
control?: HTMLElement | null;
|
|
2110
|
+
}
|
|
2111
|
+
declare const VisuallyHiddenInput: React$1.ForwardRefExoticComponent<VisuallyHiddenInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
2112
|
+
|
|
2113
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionBar, ActionBarClose, ActionBarGroup, ActionBarItem, type ActionBarProps, ActionBarSelection, ActionBarSeparator, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarImage, Badge, BadgeOverflow, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxGroup, CheckboxGroupDescription, CheckboxGroupItem, CheckboxGroupLabel, CheckboxGroupList, CheckboxGroupMessage, CircularProgress, CircularProgressCombined, CircularProgressIndicator, type CircularProgressProps, CircularProgressRange, CircularProgressTrack, CircularProgressValueText, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerContent, ColorPickerEyeDropper, ColorPickerFormatSelect, ColorPickerHueSlider, ColorPickerInput, type ColorPickerProps, ColorPickerSwatch, ColorPickerTrigger, ColorSwatch, Combobox, ComboboxAnchor, ComboboxBadgeItem, ComboboxBadgeList, ComboboxCancel, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxLoading, ComboboxSeparator, ComboboxTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CompareSlider, CompareSliderAfter, CompareSliderBefore, CompareSliderHandle, CompareSliderLabel, type CompareSliderProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Cropper, CropperArea, type Area as CropperAreaData, CropperImage, type ObjectFit as CropperObjectFit, type Point as CropperPoint, type CropperProps, type Shape as CropperShape, type Size$2 as CropperSize, CropperVideo, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DirectionProvider, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Editable, EditableArea, EditableCancel, EditableInput, EditableLabel, EditablePreview, type EditableProps, EditableSubmit, EditableToolbar, EditableTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field$1 as Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FileUpload, FileUploadClear, FileUploadDropzone, FileUploadItem, FileUploadItemDelete, FileUploadItemMetadata, FileUploadItemPreview, FileUploadItemProgress, FileUploadList, type FileUploadProps, FileUploadTrigger, Gauge, GaugeCombined, GaugeIndicator, GaugeLabel, type GaugeProps, GaugeRange, GaugeTrack, GaugeValueText, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kanban, KanbanBoard, KanbanColumn, KanbanColumnHandle, KanbanItem, KanbanItemHandle, KanbanOverlay, type KanbanProps, Kbd, KbdGroup, KeyValue, KeyValueAdd, KeyValueError, KeyValueItem, type ItemData as KeyValueItemData, KeyValueKeyInput, KeyValueList, type KeyValueProps, KeyValueRemove, KeyValueValueInput, Label, Listbox, ListboxGroup, ListboxGroupLabel, ListboxItem, ListboxItemIndicator, MASK_PATTERNS, MaskInput, type MaskInputProps, type MaskPattern, MediaPlayer, MediaPlayerAudio, MediaPlayerCaptions, MediaPlayerControls, MediaPlayerControlsOverlay, MediaPlayerDownload, MediaPlayerError, MediaPlayerFullscreen, MediaPlayerLoading, MediaPlayerLoop, MediaPlayerPiP, MediaPlayerPlay, MediaPlayerPlaybackSpeed, MediaPlayerPortal, type MediaPlayerProps, MediaPlayerSeek, MediaPlayerSeekBackward, MediaPlayerSeekForward, MediaPlayerSettings, MediaPlayerTime, MediaPlayerTooltip, MediaPlayerVideo, MediaPlayerVolume, MediaPlayerVolumeIndicator, Mention, MentionContent, MentionInput, MentionItem, MentionLabel, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PhoneInput, PhoneInputCountrySelect, PhoneInputField, type PhoneInputProps, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, QRCode, QRCodeCanvas, QRCodeDownload, QRCodeImage, QRCodeOverlay, type QRCodeProps, QRCodeSkeleton, QRCodeSvg, RadioGroup, RadioGroupItem, Rating, RatingItem, RelativeTimeCard, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResponsiveDialog, ResponsiveDialogClose, ResponsiveDialogContent, ResponsiveDialogDescription, ResponsiveDialogFooter, ResponsiveDialogHeader, ResponsiveDialogOverlay, ResponsiveDialogPortal, ResponsiveDialogTitle, ResponsiveDialogTrigger, ScrollArea, ScrollBar, ScrollSpy, ScrollSpyLink, ScrollSpyNav, type ScrollSpyProps, ScrollSpySection, ScrollSpyViewport, Scroller, SegmentedInput, SegmentedInputItem, type SegmentedInputProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Sortable, SortableContent, SortableItem, SortableItemHandle, SortableOverlay, type SortableProps, SpeedDial, SpeedDialAction, SpeedDialContent, SpeedDialItem, SpeedDialLabel, type SpeedDialProps, SpeedDialTrigger, Spinner, Stack, StackItem, type StackProps, Stat, StatDescription, StatIndicator, StatLabel, StatSeparator, StatTrend, StatValue, Status, StatusIndicator, StatusLabel, Stepper, StepperContent, StepperDescription, StepperIndicator, StepperItem, StepperList, StepperNext, StepperPrev, type StepperProps, StepperSeparator, StepperTitle, StepperTrigger, Swap, SwapOff, SwapOn, type SwapProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagsInput, TagsInputClear, TagsInputInput, TagsInputItem, TagsInputLabel, TagsInputList, Textarea, TimePicker, TimePickerClear, TimePickerContent, TimePickerHour, TimePickerInput, TimePickerInputGroup, TimePickerLabel, TimePickerMinute, TimePickerPeriod, type TimePickerProps, TimePickerSecond, TimePickerSeparator, TimePickerTrigger, Timeline, TimelineConnector, TimelineContent, TimelineDescription, TimelineDot, TimelineHeader, TimelineItem, type TimelineProps, TimelineTime, TimelineTitle, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tour, TourArrow, TourClose, TourDescription, TourFooter, TourHeader, TourNext, TourPortal, TourPrev, type TourProps, TourSkip, TourSpotlight, TourSpotlightRing, TourStep, TourStepCounter, TourTitle, VisuallyHiddenInput, applyCurrencyMask, applyMask, applyPercentageMask, badgeVariants, buttonGroupVariants, buttonVariants, fromUnmaskedIndex, getUnmaskedValue, navigationMenuTriggerStyle, statusVariants, tabsListVariants, toUnmaskedIndex, toggleVariants, useCarousel, useStore$b as useColorPicker, useStore$a as useCropper, useDirection, useStore$9 as useEditable, useStore$8 as useFileUpload, useStore$7 as useKeyValueStore, useStore$6 as useMediaPlayerStore, useStore$5 as usePhoneInput, useStore$4 as useQRCode, useStore$3 as useRating, useSidebar, useStore$2 as useStepper, useStore$1 as useSwap, useStore as useTimePicker };
|