@inspirecn/react 1.0.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 +46 -0
- package/dist/components/accordion/Accordion.d.ts +19 -0
- package/dist/components/accordion/Accordion.d.ts.map +1 -0
- package/dist/components/accordion/Accordion.js +90 -0
- package/dist/components/alert/Alert.d.ts +13 -0
- package/dist/components/alert/Alert.d.ts.map +1 -0
- package/dist/components/alert/Alert.js +100 -0
- package/dist/components/alert-dialog/AlertDialog.d.ts +44 -0
- package/dist/components/alert-dialog/AlertDialog.d.ts.map +1 -0
- package/dist/components/alert-dialog/AlertDialog.js +174 -0
- package/dist/components/aspect-ratio/AspectRatio.d.ts +4 -0
- package/dist/components/aspect-ratio/AspectRatio.d.ts.map +1 -0
- package/dist/components/aspect-ratio/AspectRatio.js +13 -0
- package/dist/components/avatar/Avatar.d.ts +19 -0
- package/dist/components/avatar/Avatar.d.ts.map +1 -0
- package/dist/components/avatar/Avatar.js +86 -0
- package/dist/components/badge/Badge.d.ts +16 -0
- package/dist/components/badge/Badge.d.ts.map +1 -0
- package/dist/components/badge/Badge.js +46 -0
- package/dist/components/body-text/BodyText.d.ts +17 -0
- package/dist/components/body-text/BodyText.d.ts.map +1 -0
- package/dist/components/body-text/BodyText.js +51 -0
- package/dist/components/breadcrumb/Breadcrumb.d.ts +30 -0
- package/dist/components/breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/components/breadcrumb/Breadcrumb.js +220 -0
- package/dist/components/button/Button.d.ts +24 -0
- package/dist/components/button/Button.d.ts.map +1 -0
- package/dist/components/button/Button.js +95 -0
- package/dist/components/button-group/ButtonGroup.d.ts +12 -0
- package/dist/components/button-group/ButtonGroup.d.ts.map +1 -0
- package/dist/components/button-group/ButtonGroup.js +59 -0
- package/dist/components/calendar/Calendar.d.ts +10 -0
- package/dist/components/calendar/Calendar.d.ts.map +1 -0
- package/dist/components/calendar/Calendar.js +147 -0
- package/dist/components/card/Card.d.ts +10 -0
- package/dist/components/card/Card.d.ts.map +1 -0
- package/dist/components/card/Card.js +81 -0
- package/dist/components/carousel/Carousel.d.ts +20 -0
- package/dist/components/carousel/Carousel.d.ts.map +1 -0
- package/dist/components/carousel/Carousel.js +153 -0
- package/dist/components/chart/Chart.d.ts +43 -0
- package/dist/components/chart/Chart.d.ts.map +1 -0
- package/dist/components/chart/Chart.js +175 -0
- package/dist/components/checkbox/Checkbox.d.ts +11 -0
- package/dist/components/checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/Checkbox.js +43 -0
- package/dist/components/code-box/Codebox.d.ts +11 -0
- package/dist/components/code-box/Codebox.d.ts.map +1 -0
- package/dist/components/code-box/Codebox.js +251 -0
- package/dist/components/collapsible/Collapsible.d.ts +6 -0
- package/dist/components/collapsible/Collapsible.d.ts.map +1 -0
- package/dist/components/collapsible/Collapsible.js +31 -0
- package/dist/components/combobox/Combobox.d.ts +161 -0
- package/dist/components/combobox/Combobox.d.ts.map +1 -0
- package/dist/components/combobox/Combobox.js +330 -0
- package/dist/components/command/Command.d.ts +19 -0
- package/dist/components/command/Command.d.ts.map +1 -0
- package/dist/components/command/Command.js +128 -0
- package/dist/components/container/Container.d.ts +14 -0
- package/dist/components/container/Container.d.ts.map +1 -0
- package/dist/components/container/Container.js +27 -0
- package/dist/components/context-menu/ContextMenu.d.ts +26 -0
- package/dist/components/context-menu/ContextMenu.d.ts.map +1 -0
- package/dist/components/context-menu/ContextMenu.js +193 -0
- package/dist/components/count-animation/CountAnimation.d.ts +5 -0
- package/dist/components/count-animation/CountAnimation.d.ts.map +1 -0
- package/dist/components/count-animation/CountAnimation.js +19 -0
- package/dist/components/date-time-picker/DateTimePicker.d.ts +38 -0
- package/dist/components/date-time-picker/DateTimePicker.d.ts.map +1 -0
- package/dist/components/date-time-picker/DateTimePicker.js +287 -0
- package/dist/components/dialog/Dialog.d.ts +18 -0
- package/dist/components/dialog/Dialog.d.ts.map +1 -0
- package/dist/components/dialog/Dialog.js +138 -0
- package/dist/components/dialog/FilterDropdown.d.ts +7 -0
- package/dist/components/dialog/FilterDropdown.d.ts.map +1 -0
- package/dist/components/dialog/FilterDropdown.js +38 -0
- package/dist/components/display-error/DisplayError.d.ts +11 -0
- package/dist/components/display-error/DisplayError.d.ts.map +1 -0
- package/dist/components/display-error/DisplayError.js +34 -0
- package/dist/components/drawer/Drawer.d.ts +14 -0
- package/dist/components/drawer/Drawer.d.ts.map +1 -0
- package/dist/components/drawer/Drawer.js +114 -0
- package/dist/components/dropdown-menu/DropdownMenu.d.ts +41 -0
- package/dist/components/dropdown-menu/DropdownMenu.d.ts.map +1 -0
- package/dist/components/dropdown-menu/DropdownMenu.js +282 -0
- package/dist/components/empty/Empty.d.ts +12 -0
- package/dist/components/empty/Empty.d.ts.map +1 -0
- package/dist/components/empty/Empty.js +87 -0
- package/dist/components/empty-state/EmptyState.d.ts +12 -0
- package/dist/components/empty-state/EmptyState.d.ts.map +1 -0
- package/dist/components/empty-state/EmptyState.js +43 -0
- package/dist/components/field/Field.d.ts +25 -0
- package/dist/components/field/Field.d.ts.map +1 -0
- package/dist/components/field/Field.js +164 -0
- package/dist/components/file-uploader/FileUploader.d.ts +34 -0
- package/dist/components/file-uploader/FileUploader.d.ts.map +1 -0
- package/dist/components/file-uploader/FileUploader.js +124 -0
- package/dist/components/file-uploader/types.d.ts +32 -0
- package/dist/components/file-uploader/types.d.ts.map +1 -0
- package/dist/components/file-uploader/types.js +1 -0
- package/dist/components/file-uploader/useFileUploader.d.ts +22 -0
- package/dist/components/file-uploader/useFileUploader.d.ts.map +1 -0
- package/dist/components/file-uploader/useFileUploader.js +115 -0
- package/dist/components/form/FieldArray.d.ts +26 -0
- package/dist/components/form/FieldArray.d.ts.map +1 -0
- package/dist/components/form/FieldArray.js +16 -0
- package/dist/components/form/Form.d.ts +25 -0
- package/dist/components/form/Form.d.ts.map +1 -0
- package/dist/components/form/Form.js +124 -0
- package/dist/components/form/GenericForm.d.ts +42 -0
- package/dist/components/form/GenericForm.d.ts.map +1 -0
- package/dist/components/form/GenericForm.js +55 -0
- package/dist/components/form/fields/CheckboxField.d.ts +33 -0
- package/dist/components/form/fields/CheckboxField.d.ts.map +1 -0
- package/dist/components/form/fields/CheckboxField.js +66 -0
- package/dist/components/form/fields/CheckboxGroupField.d.ts +50 -0
- package/dist/components/form/fields/CheckboxGroupField.d.ts.map +1 -0
- package/dist/components/form/fields/CheckboxGroupField.js +64 -0
- package/dist/components/form/fields/ColorPickerField.d.ts +12 -0
- package/dist/components/form/fields/ColorPickerField.d.ts.map +1 -0
- package/dist/components/form/fields/ColorPickerField.js +140 -0
- package/dist/components/form/fields/ComboboxField.d.ts +32 -0
- package/dist/components/form/fields/ComboboxField.d.ts.map +1 -0
- package/dist/components/form/fields/ComboboxField.js +93 -0
- package/dist/components/form/fields/DateTimeField.d.ts +77 -0
- package/dist/components/form/fields/DateTimeField.d.ts.map +1 -0
- package/dist/components/form/fields/DateTimeField.js +99 -0
- package/dist/components/form/fields/FieldDescription.d.ts +10 -0
- package/dist/components/form/fields/FieldDescription.d.ts.map +1 -0
- package/dist/components/form/fields/FieldDescription.js +30 -0
- package/dist/components/form/fields/FileField.d.ts +16 -0
- package/dist/components/form/fields/FileField.d.ts.map +1 -0
- package/dist/components/form/fields/FileField.js +79 -0
- package/dist/components/form/fields/FileUploaderField.d.ts +72 -0
- package/dist/components/form/fields/FileUploaderField.d.ts.map +1 -0
- package/dist/components/form/fields/FileUploaderField.js +79 -0
- package/dist/components/form/fields/InputPhoneField.d.ts +40 -0
- package/dist/components/form/fields/InputPhoneField.d.ts.map +1 -0
- package/dist/components/form/fields/InputPhoneField.js +48 -0
- package/dist/components/form/fields/InputTagsField.d.ts +32 -0
- package/dist/components/form/fields/InputTagsField.d.ts.map +1 -0
- package/dist/components/form/fields/InputTagsField.js +50 -0
- package/dist/components/form/fields/RadioGroupField.d.ts +40 -0
- package/dist/components/form/fields/RadioGroupField.d.ts.map +1 -0
- package/dist/components/form/fields/RadioGroupField.js +61 -0
- package/dist/components/form/fields/ResetButton.d.ts +19 -0
- package/dist/components/form/fields/ResetButton.d.ts.map +1 -0
- package/dist/components/form/fields/ResetButton.js +25 -0
- package/dist/components/form/fields/SelectField.d.ts +44 -0
- package/dist/components/form/fields/SelectField.d.ts.map +1 -0
- package/dist/components/form/fields/SelectField.js +59 -0
- package/dist/components/form/fields/SubmitButton.d.ts +27 -0
- package/dist/components/form/fields/SubmitButton.d.ts.map +1 -0
- package/dist/components/form/fields/SubmitButton.js +36 -0
- package/dist/components/form/fields/SwitchField.d.ts +40 -0
- package/dist/components/form/fields/SwitchField.d.ts.map +1 -0
- package/dist/components/form/fields/SwitchField.js +77 -0
- package/dist/components/form/fields/TextField.d.ts +25 -0
- package/dist/components/form/fields/TextField.d.ts.map +1 -0
- package/dist/components/form/fields/TextField.js +98 -0
- package/dist/components/form/fields/TextareaField.d.ts +44 -0
- package/dist/components/form/fields/TextareaField.d.ts.map +1 -0
- package/dist/components/form/fields/TextareaField.js +71 -0
- package/dist/components/form/fields/UniqueTextField.d.ts +38 -0
- package/dist/components/form/fields/UniqueTextField.d.ts.map +1 -0
- package/dist/components/form/fields/UniqueTextField.js +171 -0
- package/dist/components/form/index.d.ts +20 -0
- package/dist/components/form/index.d.ts.map +1 -0
- package/dist/components/form/index.js +40 -0
- package/dist/components/form/useTriggerForm.d.ts +11 -0
- package/dist/components/form/useTriggerForm.d.ts.map +1 -0
- package/dist/components/form/useTriggerForm.js +14 -0
- package/dist/components/heading/Heading.d.ts +18 -0
- package/dist/components/heading/Heading.d.ts.map +1 -0
- package/dist/components/heading/Heading.js +71 -0
- package/dist/components/hover-card/HoverCard.d.ts +7 -0
- package/dist/components/hover-card/HoverCard.d.ts.map +1 -0
- package/dist/components/hover-card/HoverCard.js +41 -0
- package/dist/components/icon/Icon.d.ts +22 -0
- package/dist/components/icon/Icon.d.ts.map +1 -0
- package/dist/components/icon/Icon.js +71 -0
- package/dist/components/index.d.ts +76 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +426 -0
- package/dist/components/input/Input.d.ts +11 -0
- package/dist/components/input/Input.d.ts.map +1 -0
- package/dist/components/input/Input.js +66 -0
- package/dist/components/input-group/InputGroup.d.ts +17 -0
- package/dist/components/input-group/InputGroup.d.ts.map +1 -0
- package/dist/components/input-group/InputGroup.js +129 -0
- package/dist/components/input-otp/input-otp.d.ts +16 -0
- package/dist/components/input-otp/input-otp.d.ts.map +1 -0
- package/dist/components/input-otp/input-otp.js +72 -0
- package/dist/components/input-phone/InputPhone.d.ts +13 -0
- package/dist/components/input-phone/InputPhone.d.ts.map +1 -0
- package/dist/components/input-phone/InputPhone.js +116 -0
- package/dist/components/input-tags/InputTags.d.ts +28 -0
- package/dist/components/input-tags/InputTags.d.ts.map +1 -0
- package/dist/components/input-tags/InputTags.js +88 -0
- package/dist/components/item/Item.d.ts +24 -0
- package/dist/components/item/Item.d.ts.map +1 -0
- package/dist/components/item/Item.js +162 -0
- package/dist/components/kbd/Kbd.d.ts +4 -0
- package/dist/components/kbd/Kbd.d.ts.map +1 -0
- package/dist/components/kbd/Kbd.js +26 -0
- package/dist/components/label/Label.d.ts +11 -0
- package/dist/components/label/Label.d.ts.map +1 -0
- package/dist/components/label/Label.js +26 -0
- package/dist/components/menubar/Menubar.d.ts +27 -0
- package/dist/components/menubar/Menubar.d.ts.map +1 -0
- package/dist/components/menubar/Menubar.js +212 -0
- package/dist/components/native-select/NativeSelect.d.ts +6 -0
- package/dist/components/native-select/NativeSelect.d.ts.map +1 -0
- package/dist/components/native-select/NativeSelect.js +44 -0
- package/dist/components/navbar/Navbar.d.ts +3 -0
- package/dist/components/navbar/Navbar.d.ts.map +1 -0
- package/dist/components/navbar/Navbar.js +69 -0
- package/dist/components/navigation-menu/NavigationMenu.d.ts +15 -0
- package/dist/components/navigation-menu/NavigationMenu.d.ts.map +1 -0
- package/dist/components/navigation-menu/NavigationMenu.js +112 -0
- package/dist/components/open-dialog/OpenDialog.d.ts +9 -0
- package/dist/components/open-dialog/OpenDialog.d.ts.map +1 -0
- package/dist/components/open-dialog/OpenDialog.js +35 -0
- package/dist/components/pagination/Pagination.d.ts +31 -0
- package/dist/components/pagination/Pagination.d.ts.map +1 -0
- package/dist/components/pagination/Pagination.js +216 -0
- package/dist/components/pagination/PaginationProvider.d.ts +33 -0
- package/dist/components/pagination/PaginationProvider.d.ts.map +1 -0
- package/dist/components/pagination/PaginationProvider.js +65 -0
- package/dist/components/pagination/types.d.ts +22 -0
- package/dist/components/pagination/types.d.ts.map +1 -0
- package/dist/components/pagination/types.js +1 -0
- package/dist/components/popover/Popover.d.ts +8 -0
- package/dist/components/popover/Popover.d.ts.map +1 -0
- package/dist/components/popover/Popover.js +49 -0
- package/dist/components/profile-pic-uploader/ProfilePicUploader.d.ts +12 -0
- package/dist/components/profile-pic-uploader/ProfilePicUploader.d.ts.map +1 -0
- package/dist/components/profile-pic-uploader/ProfilePicUploader.js +233 -0
- package/dist/components/profile-pic-uploader/index.d.ts +3 -0
- package/dist/components/profile-pic-uploader/index.d.ts.map +1 -0
- package/dist/components/profile-pic-uploader/index.js +4 -0
- package/dist/components/progress/Progress.d.ts +189 -0
- package/dist/components/progress/Progress.d.ts.map +1 -0
- package/dist/components/progress/Progress.js +283 -0
- package/dist/components/radio-group/RadioGroup.d.ts +16 -0
- package/dist/components/radio-group/RadioGroup.d.ts.map +1 -0
- package/dist/components/radio-group/RadioGroup.js +50 -0
- package/dist/components/resizable-panel/ResizablePanel.d.ts +9 -0
- package/dist/components/resizable-panel/ResizablePanel.d.ts.map +1 -0
- package/dist/components/resizable-panel/ResizablePanel.js +44 -0
- package/dist/components/scroll-area/ScrollArea.d.ts +6 -0
- package/dist/components/scroll-area/ScrollArea.d.ts.map +1 -0
- package/dist/components/scroll-area/ScrollArea.js +39 -0
- package/dist/components/section/Section.d.ts +12 -0
- package/dist/components/section/Section.d.ts.map +1 -0
- package/dist/components/section/Section.js +84 -0
- package/dist/components/select/Select.d.ts +16 -0
- package/dist/components/select/Select.d.ts.map +1 -0
- package/dist/components/select/Select.js +148 -0
- package/dist/components/separator/Separator.d.ts +5 -0
- package/dist/components/separator/Separator.d.ts.map +1 -0
- package/dist/components/separator/Separator.js +20 -0
- package/dist/components/sheet/Sheet.d.ts +16 -0
- package/dist/components/sheet/Sheet.d.ts.map +1 -0
- package/dist/components/sheet/Sheet.js +127 -0
- package/dist/components/sidebar/HeaderDropDown.d.ts +3 -0
- package/dist/components/sidebar/HeaderDropDown.d.ts.map +1 -0
- package/dist/components/sidebar/HeaderDropDown.js +39 -0
- package/dist/components/sidebar/Sidebar.d.ts +70 -0
- package/dist/components/sidebar/Sidebar.d.ts.map +1 -0
- package/dist/components/sidebar/Sidebar.js +514 -0
- package/dist/components/sidebar/SidebarFooterContent.d.ts +3 -0
- package/dist/components/sidebar/SidebarFooterContent.d.ts.map +1 -0
- package/dist/components/sidebar/SidebarFooterContent.js +66 -0
- package/dist/components/sidebar/SidebarHeaderLogo.d.ts +2 -0
- package/dist/components/sidebar/SidebarHeaderLogo.d.ts.map +1 -0
- package/dist/components/sidebar/SidebarHeaderLogo.js +34 -0
- package/dist/components/skeleton/Skeleton.d.ts +3 -0
- package/dist/components/skeleton/Skeleton.d.ts.map +1 -0
- package/dist/components/skeleton/Skeleton.js +15 -0
- package/dist/components/slider/Slider.d.ts +6 -0
- package/dist/components/slider/Slider.d.ts.map +1 -0
- package/dist/components/slider/Slider.js +39 -0
- package/dist/components/sonner/Sonner.d.ts +4 -0
- package/dist/components/sonner/Sonner.d.ts.map +1 -0
- package/dist/components/sonner/Sonner.js +55 -0
- package/dist/components/spinner/Spinner.d.ts +11 -0
- package/dist/components/spinner/Spinner.d.ts.map +1 -0
- package/dist/components/spinner/Spinner.js +49 -0
- package/dist/components/stack/Stack.d.ts +14 -0
- package/dist/components/stack/Stack.d.ts.map +1 -0
- package/dist/components/stack/Stack.js +29 -0
- package/dist/components/subText/SubText.d.ts +13 -0
- package/dist/components/subText/SubText.d.ts.map +1 -0
- package/dist/components/subText/SubText.js +50 -0
- package/dist/components/switch/Switch.d.ts +5 -0
- package/dist/components/switch/Switch.d.ts.map +1 -0
- package/dist/components/switch/Switch.js +41 -0
- package/dist/components/table/Table.d.ts +32 -0
- package/dist/components/table/Table.d.ts.map +1 -0
- package/dist/components/table/Table.js +243 -0
- package/dist/components/table-empty-state/TableEmptyState.d.ts +11 -0
- package/dist/components/table-empty-state/TableEmptyState.d.ts.map +1 -0
- package/dist/components/table-empty-state/TableEmptyState.js +52 -0
- package/dist/components/tabs/Tabs.d.ts +12 -0
- package/dist/components/tabs/Tabs.d.ts.map +1 -0
- package/dist/components/tabs/Tabs.js +84 -0
- package/dist/components/text-link/LinkText.d.ts +14 -0
- package/dist/components/text-link/LinkText.d.ts.map +1 -0
- package/dist/components/text-link/LinkText.js +42 -0
- package/dist/components/textarea/Textarea.d.ts +7 -0
- package/dist/components/textarea/Textarea.d.ts.map +1 -0
- package/dist/components/textarea/Textarea.js +28 -0
- package/dist/components/toggle/Toggle.d.ts +10 -0
- package/dist/components/toggle/Toggle.d.ts.map +1 -0
- package/dist/components/toggle/Toggle.js +41 -0
- package/dist/components/toggle-group/ToggleGroup.d.ts +10 -0
- package/dist/components/toggle-group/ToggleGroup.d.ts.map +1 -0
- package/dist/components/toggle-group/ToggleGroup.js +78 -0
- package/dist/components/tooltip/Tooltip.d.ts +18 -0
- package/dist/components/tooltip/Tooltip.d.ts.map +1 -0
- package/dist/components/tooltip/Tooltip.js +83 -0
- package/dist/fonts/index.css +49 -0
- package/dist/hooks/index.d.ts +6 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +12 -0
- package/dist/hooks/use-countdown.d.ts +20 -0
- package/dist/hooks/use-countdown.d.ts.map +1 -0
- package/dist/hooks/use-countdown.js +21 -0
- package/dist/hooks/use-debounce.d.ts +20 -0
- package/dist/hooks/use-debounce.d.ts.map +1 -0
- package/dist/hooks/use-debounce.js +15 -0
- package/dist/hooks/use-mobile.d.ts +2 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -0
- package/dist/hooks/use-mobile.js +14 -0
- package/dist/hooks/useDragScroll.d.ts +6 -0
- package/dist/hooks/useDragScroll.d.ts.map +1 -0
- package/dist/hooks/useDragScroll.js +26 -0
- package/dist/hooks/useImageCrop.d.ts +41 -0
- package/dist/hooks/useImageCrop.d.ts.map +1 -0
- package/dist/hooks/useImageCrop.js +84 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +456 -0
- package/dist/lib/datetime.d.ts +8 -0
- package/dist/lib/datetime.d.ts.map +1 -0
- package/dist/lib/datetime.js +44 -0
- package/dist/lib/index.d.ts +4 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/index.js +15 -0
- package/dist/lib/string.d.ts +4 -0
- package/dist/lib/string.d.ts.map +1 -0
- package/dist/lib/string.js +12 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +8 -0
- package/dist/styles/globals.css +60 -0
- package/dist/styles/tokens.css +249 -0
- package/dist/theme/ThemeProvider.d.ts +5 -0
- package/dist/theme/ThemeProvider.d.ts.map +1 -0
- package/dist/theme/ThemeProvider.js +17 -0
- package/dist/theme/ToggleTheme.d.ts +2 -0
- package/dist/theme/ToggleTheme.d.ts.map +1 -0
- package/dist/theme/ToggleTheme.js +29 -0
- package/dist/theme/index.d.ts +4 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/index.js +9 -0
- package/dist/theme/theme.d.ts +8 -0
- package/dist/theme/theme.d.ts.map +1 -0
- package/dist/theme/theme.js +15 -0
- package/dist/vite.svg +1 -0
- package/package.json +156 -0
- package/postcss.config.mjs +6 -0
- package/src/styles/globals.css +60 -0
- package/src/styles/tokens.css +249 -0
- package/src/styles/tokens.json +253 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
import { Accordion as p, AccordionContent as m, AccordionItem as l, AccordionTrigger as u } from "./components/accordion/Accordion.js";
|
|
2
|
+
import { AlertDialog as x, AlertDialogAction as g, AlertDialogBase as b, AlertDialogCancel as f, AlertDialogContent as C, AlertDialogDescription as S, AlertDialogFooter as T, AlertDialogHeader as s, AlertDialogOverlay as c, AlertDialogPortal as D, AlertDialogTitle as M, AlertDialogTrigger as I } from "./components/alert-dialog/AlertDialog.js";
|
|
3
|
+
import { Alert as P } from "./components/alert/Alert.js";
|
|
4
|
+
import { AspectRatio as G } from "./components/aspect-ratio/AspectRatio.js";
|
|
5
|
+
import { Avatar as w, AvatarBase as A, AvatarBaseFallback as v, AvatarBaseImage as y } from "./components/avatar/Avatar.js";
|
|
6
|
+
import { Badge as R, badgeVariants as k } from "./components/badge/Badge.js";
|
|
7
|
+
import { BodyText as N } from "./components/body-text/BodyText.js";
|
|
8
|
+
import { Breadcrumb as O, BreadcrumbBase as V, BreadcrumbEllipsis as U, BreadcrumbItem as z, BreadcrumbLink as K, BreadcrumbList as q, BreadcrumbPage as W, BreadcrumbSeparator as j } from "./components/breadcrumb/Breadcrumb.js";
|
|
9
|
+
import { ButtonGroup as Q, ButtonGroupSeparator as X, ButtonGroupText as Y, buttonGroupVariants as Z } from "./components/button-group/ButtonGroup.js";
|
|
10
|
+
import { Button as $, buttonVariants as ee } from "./components/button/Button.js";
|
|
11
|
+
import { Calendar as re, CalendarDayButton as te } from "./components/calendar/Calendar.js";
|
|
12
|
+
import { Card as ne, CardAction as ie, CardContent as pe, CardDescription as me, CardFooter as le, CardHeader as ue, CardTitle as de } from "./components/card/Card.js";
|
|
13
|
+
import { Carousel as ge, CarouselContent as be, CarouselItem as fe, CarouselNext as Ce, CarouselPrevious as Se } from "./components/carousel/Carousel.js";
|
|
14
|
+
import { ChartContainer as se, ChartLegend as ce, ChartLegendContent as De, ChartStyle as Me, ChartTooltip as Ie, ChartTooltipContent as Fe } from "./components/chart/Chart.js";
|
|
15
|
+
import { Checkbox as Be } from "./components/checkbox/Checkbox.js";
|
|
16
|
+
import { Codebox as he } from "./components/code-box/Codebox.js";
|
|
17
|
+
import { Collapsible as Ae, CollapsibleContent as ve, CollapsibleTrigger as ye } from "./components/collapsible/Collapsible.js";
|
|
18
|
+
import { Combobox as Re } from "./components/combobox/Combobox.js";
|
|
19
|
+
import { Command as He, CommandDialog as Ne, CommandEmpty as Ee, CommandGroup as Oe, CommandInput as Ve, CommandItem as Ue, CommandList as ze, CommandSeparator as Ke, CommandShortcut as qe } from "./components/command/Command.js";
|
|
20
|
+
import { Container as je } from "./components/container/Container.js";
|
|
21
|
+
import { ContextMenu as Qe, ContextMenuCheckboxItem as Xe, ContextMenuContent as Ye, ContextMenuGroup as Ze, ContextMenuItem as _e, ContextMenuLabel as $e, ContextMenuPortal as eo, ContextMenuRadioGroup as oo, ContextMenuRadioItem as ro, ContextMenuSeparator as to, ContextMenuShortcut as ao, ContextMenuSub as no, ContextMenuSubContent as io, ContextMenuSubTrigger as po, ContextMenuTrigger as mo } from "./components/context-menu/ContextMenu.js";
|
|
22
|
+
import "@inspirecn/ui/lib/utils";
|
|
23
|
+
import "motion/react";
|
|
24
|
+
import "react";
|
|
25
|
+
import "react/jsx-runtime";
|
|
26
|
+
import { DateTimePicker as uo } from "./components/date-time-picker/DateTimePicker.js";
|
|
27
|
+
import { Dialog as go, DialogClose as bo, DialogContent as fo, DialogDescription as Co, DialogFooter as So, DialogHeader as To, DialogOverlay as so, DialogPortal as co, DialogTitle as Do, DialogTrigger as Mo } from "./components/dialog/Dialog.js";
|
|
28
|
+
import { DisplayError as Fo } from "./components/display-error/DisplayError.js";
|
|
29
|
+
import { Drawer as Bo, DrawerClose as Go, DrawerContent as ho, DrawerDescription as wo, DrawerFooter as Ao, DrawerHeader as vo, DrawerOverlay as yo, DrawerPortal as Lo, DrawerTitle as Ro, DrawerTrigger as ko } from "./components/drawer/Drawer.js";
|
|
30
|
+
import { DropdownFilterTrigger as No, DropdownMenu as Eo, DropdownMenuCheckboxItem as Oo, DropdownMenuClearAll as Vo, DropdownMenuContent as Uo, DropdownMenuGroup as zo, DropdownMenuItem as Ko, DropdownMenuLabel as qo, DropdownMenuPortal as Wo, DropdownMenuRadioGroup as jo, DropdownMenuRadioItem as Jo, DropdownMenuSeparator as Qo, DropdownMenuShortcut as Xo, DropdownMenuSub as Yo, DropdownMenuSubContent as Zo, DropdownMenuSubTrigger as _o, DropdownMenuTrigger as $o } from "./components/dropdown-menu/DropdownMenu.js";
|
|
31
|
+
import { EmptyState as or } from "./components/empty-state/EmptyState.js";
|
|
32
|
+
import { Empty as tr, EmptyContent as ar, EmptyDescription as nr, EmptyHeader as ir, EmptyMedia as pr, EmptyTitle as mr } from "./components/empty/Empty.js";
|
|
33
|
+
import { Field as ur, FieldContent as dr, FieldDescription as xr, FieldError as gr, FieldGroup as br, FieldLabel as fr, FieldLegend as Cr, FieldSeparator as Sr, FieldSet as Tr, FieldTitle as sr } from "./components/field/Field.js";
|
|
34
|
+
import { FileUploader as Dr } from "./components/file-uploader/FileUploader.js";
|
|
35
|
+
import { FieldArray as Ir } from "./components/form/FieldArray.js";
|
|
36
|
+
import { CheckboxField as Pr } from "./components/form/fields/CheckboxField.js";
|
|
37
|
+
import { CheckboxGroupField as Gr } from "./components/form/fields/CheckboxGroupField.js";
|
|
38
|
+
import { ComboboxField as wr } from "./components/form/fields/ComboboxField.js";
|
|
39
|
+
import { DateTimeField as vr } from "./components/form/fields/DateTimeField.js";
|
|
40
|
+
import { InputPhoneField as Lr } from "./components/form/fields/InputPhoneField.js";
|
|
41
|
+
import { InputTagsField as kr } from "./components/form/fields/InputTagsField.js";
|
|
42
|
+
import { RadioGroupField as Nr } from "./components/form/fields/RadioGroupField.js";
|
|
43
|
+
import { ResetButton as Or } from "./components/form/fields/ResetButton.js";
|
|
44
|
+
import { SelectField as Ur } from "./components/form/fields/SelectField.js";
|
|
45
|
+
import { SubmitButton as Kr } from "./components/form/fields/SubmitButton.js";
|
|
46
|
+
import { SwitchField as Wr } from "./components/form/fields/SwitchField.js";
|
|
47
|
+
import { TextAreaField as Jr } from "./components/form/fields/TextareaField.js";
|
|
48
|
+
import { TextField as Xr } from "./components/form/fields/TextField.js";
|
|
49
|
+
import { UniqueTextField as Zr } from "./components/form/fields/UniqueTextField.js";
|
|
50
|
+
import { FileUploaderField as $r } from "./components/form/fields/FileUploaderField.js";
|
|
51
|
+
import { GenericForm as ot } from "./components/form/GenericForm.js";
|
|
52
|
+
import { useTriggerForm as tt } from "./components/form/useTriggerForm.js";
|
|
53
|
+
import { ColorPickerField as nt } from "./components/form/fields/ColorPickerField.js";
|
|
54
|
+
import { Heading as pt } from "./components/heading/Heading.js";
|
|
55
|
+
import { HoverCard as lt, HoverCardContent as ut, HoverCardTrigger as dt } from "./components/hover-card/HoverCard.js";
|
|
56
|
+
import { Icon as gt } from "./components/icon/Icon.js";
|
|
57
|
+
import { InputGroup as ft, InputGroupAddon as Ct, InputGroupButton as St, InputGroupInput as Tt, InputGroupText as st, InputGroupTextarea as ct } from "./components/input-group/InputGroup.js";
|
|
58
|
+
import { InputOTP as Mt, InputOTPGroup as It, InputOTPSeparator as Ft, InputOTPSlot as Pt } from "./components/input-otp/input-otp.js";
|
|
59
|
+
import { InputPhone as Gt } from "./components/input-phone/InputPhone.js";
|
|
60
|
+
import { InputTags as wt } from "./components/input-tags/InputTags.js";
|
|
61
|
+
import { Input as vt } from "./components/input/Input.js";
|
|
62
|
+
import { Item as Lt, ItemActions as Rt, ItemContent as kt, ItemDescription as Ht, ItemFooter as Nt, ItemGroup as Et, ItemHeader as Ot, ItemMedia as Vt, ItemSeparator as Ut, ItemTitle as zt } from "./components/item/Item.js";
|
|
63
|
+
import { Kbd as qt, KbdGroup as Wt } from "./components/kbd/Kbd.js";
|
|
64
|
+
import { Label as Jt } from "./components/label/Label.js";
|
|
65
|
+
import { Menubar as Xt, MenubarCheckboxItem as Yt, MenubarContent as Zt, MenubarGroup as _t, MenubarItem as $t, MenubarLabel as ea, MenubarMenu as oa, MenubarPortal as ra, MenubarRadioGroup as ta, MenubarRadioItem as aa, MenubarSeparator as na, MenubarShortcut as ia, MenubarSub as pa, MenubarSubContent as ma, MenubarSubTrigger as la, MenubarTrigger as ua } from "./components/menubar/Menubar.js";
|
|
66
|
+
import { NativeSelect as xa, NativeSelectOptGroup as ga, NativeSelectOption as ba } from "./components/native-select/NativeSelect.js";
|
|
67
|
+
import "lucide-react";
|
|
68
|
+
import { Sheet as Ca, SheetClose as Sa, SheetContent as Ta, SheetDescription as sa, SheetFooter as ca, SheetHeader as Da, SheetTitle as Ma, SheetTrigger as Ia } from "./components/sheet/Sheet.js";
|
|
69
|
+
import { NavigationMenu as Pa, NavigationMenuContent as Ba, NavigationMenuIndicator as Ga, NavigationMenuItem as ha, NavigationMenuLink as wa, NavigationMenuList as Aa, NavigationMenuTrigger as va, NavigationMenuViewport as ya, navigationMenuTriggerStyle as La } from "./components/navigation-menu/NavigationMenu.js";
|
|
70
|
+
import { OpenDialog as ka } from "./components/open-dialog/OpenDialog.js";
|
|
71
|
+
import { Pagination as Na, PaginationCompact as Ea, PaginationContent as Oa, PaginationFull as Va, PaginationItemsPerPage as Ua, PaginationNextButton as za, PaginationPreviousButton as Ka, PaginationSummary as qa, PaginationWithSummary as Wa } from "./components/pagination/Pagination.js";
|
|
72
|
+
import { Popover as Ja, PopoverAnchor as Qa, PopoverContent as Xa, PopoverTrigger as Ya } from "./components/popover/Popover.js";
|
|
73
|
+
import { ProfilePictureUploader as _a } from "./components/profile-pic-uploader/ProfilePicUploader.js";
|
|
74
|
+
import { Progress as en } from "./components/progress/Progress.js";
|
|
75
|
+
import { RadioGroup as rn, RadioGroupItem as tn } from "./components/radio-group/RadioGroup.js";
|
|
76
|
+
import { ResizableHandle as nn, ResizablePanel as pn, ResizablePanelGroup as mn } from "./components/resizable-panel/ResizablePanel.js";
|
|
77
|
+
import { ScrollArea as un, ScrollBar as dn } from "./components/scroll-area/ScrollArea.js";
|
|
78
|
+
import { Section as gn } from "./components/section/Section.js";
|
|
79
|
+
import { Select as fn, SelectContent as Cn, SelectGroup as Sn, SelectItem as Tn, SelectLabel as sn, SelectScrollDownButton as cn, SelectScrollUpButton as Dn, SelectSeparator as Mn, SelectTrigger as In, SelectValue as Fn } from "./components/select/Select.js";
|
|
80
|
+
import { Separator as Bn } from "./components/separator/Separator.js";
|
|
81
|
+
import { Sidebar as hn, SidebarContent as wn, SidebarFooter as An, SidebarGroup as vn, SidebarGroupAction as yn, SidebarGroupContent as Ln, SidebarGroupLabel as Rn, SidebarHeader as kn, SidebarInput as Hn, SidebarInset as Nn, SidebarMenu as En, SidebarMenuAction as On, SidebarMenuBadge as Vn, SidebarMenuButton as Un, SidebarMenuItem as zn, SidebarMenuSkeleton as Kn, SidebarMenuSub as qn, SidebarMenuSubButton as Wn, SidebarMenuSubItem as jn, SidebarProvider as Jn, SidebarRail as Qn, SidebarSeparator as Xn, SidebarTrigger as Yn, useSidebar as Zn } from "./components/sidebar/Sidebar.js";
|
|
82
|
+
import { Skeleton as $n } from "./components/skeleton/Skeleton.js";
|
|
83
|
+
import { Slider as oi } from "./components/slider/Slider.js";
|
|
84
|
+
import { Toaster as ti } from "./components/sonner/Sonner.js";
|
|
85
|
+
import { Spinner as ni, spinnerVariants as ii } from "./components/spinner/Spinner.js";
|
|
86
|
+
import { Stack as mi } from "./components/stack/Stack.js";
|
|
87
|
+
import { Subtext as ui } from "./components/subText/SubText.js";
|
|
88
|
+
import { Switch as xi } from "./components/switch/Switch.js";
|
|
89
|
+
import { TableEmptyState as bi } from "./components/table-empty-state/TableEmptyState.js";
|
|
90
|
+
import { StatusCell as Ci, Table as Si, TableBody as Ti, TableCaption as si, TableCell as ci, TableFooter as Di, TableHead as Mi, TableHeader as Ii, TableRow as Fi } from "./components/table/Table.js";
|
|
91
|
+
import { Tabs as Bi, TabsContent as Gi, TabsList as hi, TabsTrigger as wi, tabsListVariants as Ai } from "./components/tabs/Tabs.js";
|
|
92
|
+
import { LinkText as yi } from "./components/text-link/LinkText.js";
|
|
93
|
+
import { Textarea as Ri } from "./components/textarea/Textarea.js";
|
|
94
|
+
import { ToggleGroup as Hi, ToggleGroupItem as Ni } from "./components/toggle-group/ToggleGroup.js";
|
|
95
|
+
import { Toggle as Oi, toggleVariants as Vi } from "./components/toggle/Toggle.js";
|
|
96
|
+
import { Tooltip as zi, TooltipBase as Ki, TooltipContentBase as qi, TooltipProviderBase as Wi, TooltipTriggerBase as ji } from "./components/tooltip/Tooltip.js";
|
|
97
|
+
import { useCountdown as Qi } from "./hooks/use-countdown.js";
|
|
98
|
+
import { useDebounce as Yi } from "./hooks/use-debounce.js";
|
|
99
|
+
import { useIsMobile as _i } from "./hooks/use-mobile.js";
|
|
100
|
+
import { useDragScroll as ep } from "./hooks/useDragScroll.js";
|
|
101
|
+
import { useImageCrop as rp } from "./hooks/useImageCrop.js";
|
|
102
|
+
import { formatDate as ap, formatRange as np, formatTimeForInput as ip, generateTimeOptions as pp, getDefaultTime as mp, isValidDate as lp } from "./lib/datetime.js";
|
|
103
|
+
import { getInitials as dp, toTitleCase as xp, truncateTextUtil as gp } from "./lib/string.js";
|
|
104
|
+
import { cn as fp } from "./lib/utils.js";
|
|
105
|
+
import { ThemeProviders as Sp } from "./theme/ThemeProvider.js";
|
|
106
|
+
import { ToggleTheme as sp } from "./theme/ToggleTheme.js";
|
|
107
|
+
import { ThemeContext as Dp, useTheme as Mp } from "./theme/theme.js";
|
|
108
|
+
import { toast as Fp } from "sonner";
|
|
109
|
+
export {
|
|
110
|
+
p as Accordion,
|
|
111
|
+
m as AccordionContent,
|
|
112
|
+
l as AccordionItem,
|
|
113
|
+
u as AccordionTrigger,
|
|
114
|
+
P as Alert,
|
|
115
|
+
x as AlertDialog,
|
|
116
|
+
g as AlertDialogAction,
|
|
117
|
+
b as AlertDialogBase,
|
|
118
|
+
f as AlertDialogCancel,
|
|
119
|
+
C as AlertDialogContent,
|
|
120
|
+
S as AlertDialogDescription,
|
|
121
|
+
T as AlertDialogFooter,
|
|
122
|
+
s as AlertDialogHeader,
|
|
123
|
+
c as AlertDialogOverlay,
|
|
124
|
+
D as AlertDialogPortal,
|
|
125
|
+
M as AlertDialogTitle,
|
|
126
|
+
I as AlertDialogTrigger,
|
|
127
|
+
G as AspectRatio,
|
|
128
|
+
w as Avatar,
|
|
129
|
+
A as AvatarBase,
|
|
130
|
+
v as AvatarBaseFallback,
|
|
131
|
+
y as AvatarBaseImage,
|
|
132
|
+
R as Badge,
|
|
133
|
+
N as BodyText,
|
|
134
|
+
O as Breadcrumb,
|
|
135
|
+
V as BreadcrumbBase,
|
|
136
|
+
U as BreadcrumbEllipsis,
|
|
137
|
+
z as BreadcrumbItem,
|
|
138
|
+
K as BreadcrumbLink,
|
|
139
|
+
q as BreadcrumbList,
|
|
140
|
+
W as BreadcrumbPage,
|
|
141
|
+
j as BreadcrumbSeparator,
|
|
142
|
+
$ as Button,
|
|
143
|
+
Q as ButtonGroup,
|
|
144
|
+
X as ButtonGroupSeparator,
|
|
145
|
+
Y as ButtonGroupText,
|
|
146
|
+
re as Calendar,
|
|
147
|
+
te as CalendarDayButton,
|
|
148
|
+
ne as Card,
|
|
149
|
+
ie as CardAction,
|
|
150
|
+
pe as CardContent,
|
|
151
|
+
me as CardDescription,
|
|
152
|
+
le as CardFooter,
|
|
153
|
+
ue as CardHeader,
|
|
154
|
+
de as CardTitle,
|
|
155
|
+
ge as Carousel,
|
|
156
|
+
be as CarouselContent,
|
|
157
|
+
fe as CarouselItem,
|
|
158
|
+
Ce as CarouselNext,
|
|
159
|
+
Se as CarouselPrevious,
|
|
160
|
+
se as ChartContainer,
|
|
161
|
+
ce as ChartLegend,
|
|
162
|
+
De as ChartLegendContent,
|
|
163
|
+
Me as ChartStyle,
|
|
164
|
+
Ie as ChartTooltip,
|
|
165
|
+
Fe as ChartTooltipContent,
|
|
166
|
+
Be as Checkbox,
|
|
167
|
+
Pr as CheckboxField,
|
|
168
|
+
Gr as CheckboxGroupField,
|
|
169
|
+
he as Codebox,
|
|
170
|
+
Ae as Collapsible,
|
|
171
|
+
ve as CollapsibleContent,
|
|
172
|
+
ye as CollapsibleTrigger,
|
|
173
|
+
nt as ColorPickerField,
|
|
174
|
+
Re as Combobox,
|
|
175
|
+
wr as ComboboxField,
|
|
176
|
+
He as Command,
|
|
177
|
+
Ne as CommandDialog,
|
|
178
|
+
Ee as CommandEmpty,
|
|
179
|
+
Oe as CommandGroup,
|
|
180
|
+
Ve as CommandInput,
|
|
181
|
+
Ue as CommandItem,
|
|
182
|
+
ze as CommandList,
|
|
183
|
+
Ke as CommandSeparator,
|
|
184
|
+
qe as CommandShortcut,
|
|
185
|
+
je as Container,
|
|
186
|
+
Qe as ContextMenu,
|
|
187
|
+
Xe as ContextMenuCheckboxItem,
|
|
188
|
+
Ye as ContextMenuContent,
|
|
189
|
+
Ze as ContextMenuGroup,
|
|
190
|
+
_e as ContextMenuItem,
|
|
191
|
+
$e as ContextMenuLabel,
|
|
192
|
+
eo as ContextMenuPortal,
|
|
193
|
+
oo as ContextMenuRadioGroup,
|
|
194
|
+
ro as ContextMenuRadioItem,
|
|
195
|
+
to as ContextMenuSeparator,
|
|
196
|
+
ao as ContextMenuShortcut,
|
|
197
|
+
no as ContextMenuSub,
|
|
198
|
+
io as ContextMenuSubContent,
|
|
199
|
+
po as ContextMenuSubTrigger,
|
|
200
|
+
mo as ContextMenuTrigger,
|
|
201
|
+
vr as DateTimeField,
|
|
202
|
+
uo as DateTimePicker,
|
|
203
|
+
go as Dialog,
|
|
204
|
+
bo as DialogClose,
|
|
205
|
+
fo as DialogContent,
|
|
206
|
+
Co as DialogDescription,
|
|
207
|
+
So as DialogFooter,
|
|
208
|
+
To as DialogHeader,
|
|
209
|
+
so as DialogOverlay,
|
|
210
|
+
co as DialogPortal,
|
|
211
|
+
Do as DialogTitle,
|
|
212
|
+
Mo as DialogTrigger,
|
|
213
|
+
Fo as DisplayError,
|
|
214
|
+
Bo as Drawer,
|
|
215
|
+
Go as DrawerClose,
|
|
216
|
+
ho as DrawerContent,
|
|
217
|
+
wo as DrawerDescription,
|
|
218
|
+
Ao as DrawerFooter,
|
|
219
|
+
vo as DrawerHeader,
|
|
220
|
+
yo as DrawerOverlay,
|
|
221
|
+
Lo as DrawerPortal,
|
|
222
|
+
Ro as DrawerTitle,
|
|
223
|
+
ko as DrawerTrigger,
|
|
224
|
+
No as DropdownFilterTrigger,
|
|
225
|
+
Eo as DropdownMenu,
|
|
226
|
+
Oo as DropdownMenuCheckboxItem,
|
|
227
|
+
Vo as DropdownMenuClearAll,
|
|
228
|
+
Uo as DropdownMenuContent,
|
|
229
|
+
zo as DropdownMenuGroup,
|
|
230
|
+
Ko as DropdownMenuItem,
|
|
231
|
+
qo as DropdownMenuLabel,
|
|
232
|
+
Wo as DropdownMenuPortal,
|
|
233
|
+
jo as DropdownMenuRadioGroup,
|
|
234
|
+
Jo as DropdownMenuRadioItem,
|
|
235
|
+
Qo as DropdownMenuSeparator,
|
|
236
|
+
Xo as DropdownMenuShortcut,
|
|
237
|
+
Yo as DropdownMenuSub,
|
|
238
|
+
Zo as DropdownMenuSubContent,
|
|
239
|
+
_o as DropdownMenuSubTrigger,
|
|
240
|
+
$o as DropdownMenuTrigger,
|
|
241
|
+
tr as Empty,
|
|
242
|
+
ar as EmptyContent,
|
|
243
|
+
nr as EmptyDescription,
|
|
244
|
+
ir as EmptyHeader,
|
|
245
|
+
pr as EmptyMedia,
|
|
246
|
+
or as EmptyState,
|
|
247
|
+
mr as EmptyTitle,
|
|
248
|
+
ur as Field,
|
|
249
|
+
Ir as FieldArray,
|
|
250
|
+
dr as FieldContent,
|
|
251
|
+
xr as FieldDescription,
|
|
252
|
+
gr as FieldError,
|
|
253
|
+
br as FieldGroup,
|
|
254
|
+
fr as FieldLabel,
|
|
255
|
+
Cr as FieldLegend,
|
|
256
|
+
Sr as FieldSeparator,
|
|
257
|
+
Tr as FieldSet,
|
|
258
|
+
sr as FieldTitle,
|
|
259
|
+
Dr as FileUploader,
|
|
260
|
+
$r as FileUploaderField,
|
|
261
|
+
ot as GenericForm,
|
|
262
|
+
pt as Heading,
|
|
263
|
+
lt as HoverCard,
|
|
264
|
+
ut as HoverCardContent,
|
|
265
|
+
dt as HoverCardTrigger,
|
|
266
|
+
gt as Icon,
|
|
267
|
+
vt as Input,
|
|
268
|
+
ft as InputGroup,
|
|
269
|
+
Ct as InputGroupAddon,
|
|
270
|
+
St as InputGroupButton,
|
|
271
|
+
Tt as InputGroupInput,
|
|
272
|
+
st as InputGroupText,
|
|
273
|
+
ct as InputGroupTextarea,
|
|
274
|
+
Mt as InputOTP,
|
|
275
|
+
It as InputOTPGroup,
|
|
276
|
+
Ft as InputOTPSeparator,
|
|
277
|
+
Pt as InputOTPSlot,
|
|
278
|
+
Gt as InputPhone,
|
|
279
|
+
Lr as InputPhoneField,
|
|
280
|
+
wt as InputTags,
|
|
281
|
+
kr as InputTagsField,
|
|
282
|
+
Lt as Item,
|
|
283
|
+
Rt as ItemActions,
|
|
284
|
+
kt as ItemContent,
|
|
285
|
+
Ht as ItemDescription,
|
|
286
|
+
Nt as ItemFooter,
|
|
287
|
+
Et as ItemGroup,
|
|
288
|
+
Ot as ItemHeader,
|
|
289
|
+
Vt as ItemMedia,
|
|
290
|
+
Ut as ItemSeparator,
|
|
291
|
+
zt as ItemTitle,
|
|
292
|
+
qt as Kbd,
|
|
293
|
+
Wt as KbdGroup,
|
|
294
|
+
Jt as Label,
|
|
295
|
+
yi as LinkText,
|
|
296
|
+
Xt as Menubar,
|
|
297
|
+
Yt as MenubarCheckboxItem,
|
|
298
|
+
Zt as MenubarContent,
|
|
299
|
+
_t as MenubarGroup,
|
|
300
|
+
$t as MenubarItem,
|
|
301
|
+
ea as MenubarLabel,
|
|
302
|
+
oa as MenubarMenu,
|
|
303
|
+
ra as MenubarPortal,
|
|
304
|
+
ta as MenubarRadioGroup,
|
|
305
|
+
aa as MenubarRadioItem,
|
|
306
|
+
na as MenubarSeparator,
|
|
307
|
+
ia as MenubarShortcut,
|
|
308
|
+
pa as MenubarSub,
|
|
309
|
+
ma as MenubarSubContent,
|
|
310
|
+
la as MenubarSubTrigger,
|
|
311
|
+
ua as MenubarTrigger,
|
|
312
|
+
xa as NativeSelect,
|
|
313
|
+
ga as NativeSelectOptGroup,
|
|
314
|
+
ba as NativeSelectOption,
|
|
315
|
+
Pa as NavigationMenu,
|
|
316
|
+
Ba as NavigationMenuContent,
|
|
317
|
+
Ga as NavigationMenuIndicator,
|
|
318
|
+
ha as NavigationMenuItem,
|
|
319
|
+
wa as NavigationMenuLink,
|
|
320
|
+
Aa as NavigationMenuList,
|
|
321
|
+
va as NavigationMenuTrigger,
|
|
322
|
+
ya as NavigationMenuViewport,
|
|
323
|
+
ka as OpenDialog,
|
|
324
|
+
Na as Pagination,
|
|
325
|
+
Ea as PaginationCompact,
|
|
326
|
+
Oa as PaginationContent,
|
|
327
|
+
Va as PaginationFull,
|
|
328
|
+
Ua as PaginationItemsPerPage,
|
|
329
|
+
za as PaginationNextButton,
|
|
330
|
+
Ka as PaginationPreviousButton,
|
|
331
|
+
qa as PaginationSummary,
|
|
332
|
+
Wa as PaginationWithSummary,
|
|
333
|
+
Ja as Popover,
|
|
334
|
+
Qa as PopoverAnchor,
|
|
335
|
+
Xa as PopoverContent,
|
|
336
|
+
Ya as PopoverTrigger,
|
|
337
|
+
_a as ProfilePictureUploader,
|
|
338
|
+
en as Progress,
|
|
339
|
+
rn as RadioGroup,
|
|
340
|
+
Nr as RadioGroupField,
|
|
341
|
+
tn as RadioGroupItem,
|
|
342
|
+
Or as ResetButton,
|
|
343
|
+
nn as ResizableHandle,
|
|
344
|
+
pn as ResizablePanel,
|
|
345
|
+
mn as ResizablePanelGroup,
|
|
346
|
+
un as ScrollArea,
|
|
347
|
+
dn as ScrollBar,
|
|
348
|
+
gn as Section,
|
|
349
|
+
fn as Select,
|
|
350
|
+
Cn as SelectContent,
|
|
351
|
+
Ur as SelectField,
|
|
352
|
+
Sn as SelectGroup,
|
|
353
|
+
Tn as SelectItem,
|
|
354
|
+
sn as SelectLabel,
|
|
355
|
+
cn as SelectScrollDownButton,
|
|
356
|
+
Dn as SelectScrollUpButton,
|
|
357
|
+
Mn as SelectSeparator,
|
|
358
|
+
In as SelectTrigger,
|
|
359
|
+
Fn as SelectValue,
|
|
360
|
+
Bn as Separator,
|
|
361
|
+
Ca as Sheet,
|
|
362
|
+
Sa as SheetClose,
|
|
363
|
+
Ta as SheetContent,
|
|
364
|
+
sa as SheetDescription,
|
|
365
|
+
ca as SheetFooter,
|
|
366
|
+
Da as SheetHeader,
|
|
367
|
+
Ma as SheetTitle,
|
|
368
|
+
Ia as SheetTrigger,
|
|
369
|
+
hn as Sidebar,
|
|
370
|
+
wn as SidebarContent,
|
|
371
|
+
An as SidebarFooter,
|
|
372
|
+
vn as SidebarGroup,
|
|
373
|
+
yn as SidebarGroupAction,
|
|
374
|
+
Ln as SidebarGroupContent,
|
|
375
|
+
Rn as SidebarGroupLabel,
|
|
376
|
+
kn as SidebarHeader,
|
|
377
|
+
Hn as SidebarInput,
|
|
378
|
+
Nn as SidebarInset,
|
|
379
|
+
En as SidebarMenu,
|
|
380
|
+
On as SidebarMenuAction,
|
|
381
|
+
Vn as SidebarMenuBadge,
|
|
382
|
+
Un as SidebarMenuButton,
|
|
383
|
+
zn as SidebarMenuItem,
|
|
384
|
+
Kn as SidebarMenuSkeleton,
|
|
385
|
+
qn as SidebarMenuSub,
|
|
386
|
+
Wn as SidebarMenuSubButton,
|
|
387
|
+
jn as SidebarMenuSubItem,
|
|
388
|
+
Jn as SidebarProvider,
|
|
389
|
+
Qn as SidebarRail,
|
|
390
|
+
Xn as SidebarSeparator,
|
|
391
|
+
Yn as SidebarTrigger,
|
|
392
|
+
$n as Skeleton,
|
|
393
|
+
oi as Slider,
|
|
394
|
+
ni as Spinner,
|
|
395
|
+
mi as Stack,
|
|
396
|
+
Ci as StatusCell,
|
|
397
|
+
Kr as SubmitButton,
|
|
398
|
+
ui as Subtext,
|
|
399
|
+
xi as Switch,
|
|
400
|
+
Wr as SwitchField,
|
|
401
|
+
Si as Table,
|
|
402
|
+
Ti as TableBody,
|
|
403
|
+
si as TableCaption,
|
|
404
|
+
ci as TableCell,
|
|
405
|
+
bi as TableEmptyState,
|
|
406
|
+
Di as TableFooter,
|
|
407
|
+
Mi as TableHead,
|
|
408
|
+
Ii as TableHeader,
|
|
409
|
+
Fi as TableRow,
|
|
410
|
+
Bi as Tabs,
|
|
411
|
+
Gi as TabsContent,
|
|
412
|
+
hi as TabsList,
|
|
413
|
+
wi as TabsTrigger,
|
|
414
|
+
Jr as TextAreaField,
|
|
415
|
+
Xr as TextField,
|
|
416
|
+
Ri as Textarea,
|
|
417
|
+
Dp as ThemeContext,
|
|
418
|
+
Sp as ThemeProviders,
|
|
419
|
+
ti as Toaster,
|
|
420
|
+
Oi as Toggle,
|
|
421
|
+
Hi as ToggleGroup,
|
|
422
|
+
Ni as ToggleGroupItem,
|
|
423
|
+
sp as ToggleTheme,
|
|
424
|
+
zi as Tooltip,
|
|
425
|
+
Ki as TooltipBase,
|
|
426
|
+
qi as TooltipContentBase,
|
|
427
|
+
Wi as TooltipProviderBase,
|
|
428
|
+
ji as TooltipTriggerBase,
|
|
429
|
+
Zr as UniqueTextField,
|
|
430
|
+
k as badgeVariants,
|
|
431
|
+
Z as buttonGroupVariants,
|
|
432
|
+
ee as buttonVariants,
|
|
433
|
+
fp as cn,
|
|
434
|
+
ap as formatDate,
|
|
435
|
+
np as formatRange,
|
|
436
|
+
ip as formatTimeForInput,
|
|
437
|
+
pp as generateTimeOptions,
|
|
438
|
+
mp as getDefaultTime,
|
|
439
|
+
dp as getInitials,
|
|
440
|
+
lp as isValidDate,
|
|
441
|
+
La as navigationMenuTriggerStyle,
|
|
442
|
+
ii as spinnerVariants,
|
|
443
|
+
Ai as tabsListVariants,
|
|
444
|
+
xp as toTitleCase,
|
|
445
|
+
Fp as toast,
|
|
446
|
+
Vi as toggleVariants,
|
|
447
|
+
gp as truncateTextUtil,
|
|
448
|
+
Qi as useCountdown,
|
|
449
|
+
Yi as useDebounce,
|
|
450
|
+
ep as useDragScroll,
|
|
451
|
+
rp as useImageCrop,
|
|
452
|
+
_i as useIsMobile,
|
|
453
|
+
Zn as useSidebar,
|
|
454
|
+
Mp as useTheme,
|
|
455
|
+
tt as useTriggerForm
|
|
456
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type DateRange } from 'react-day-picker';
|
|
2
|
+
export declare function isValidDate(date: Date | undefined): date is Date;
|
|
3
|
+
export declare function formatDate(date: Date | undefined): string;
|
|
4
|
+
export declare function formatRange(range: DateRange | undefined): string;
|
|
5
|
+
export declare function getDefaultTime(date?: Date): string;
|
|
6
|
+
export declare function formatTimeForInput(time: string): string;
|
|
7
|
+
export declare function generateTimeOptions(step: number, formattedMin: string, formattedMax: string): string[];
|
|
8
|
+
//# sourceMappingURL=datetime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"datetime.d.ts","sourceRoot":"","sources":["../../src/lib/datetime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI,IAAI,IAAI,CAEhE;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,GAAG,MAAM,CAOzD;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,CAMhE;AAED,wBAAgB,cAAc,CAAC,IAAI,GAAE,IAAiB,GAAG,MAAM,CAI9D;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAavD;AAED,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,GACnB,MAAM,EAAE,CAiBV"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
function c(t) {
|
|
2
|
+
return t instanceof Date && !isNaN(t.getTime());
|
|
3
|
+
}
|
|
4
|
+
function f(t) {
|
|
5
|
+
return !t || !c(t) ? "" : t.toLocaleDateString("en-US", {
|
|
6
|
+
day: "2-digit",
|
|
7
|
+
month: "long",
|
|
8
|
+
year: "numeric"
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
function a(t) {
|
|
12
|
+
return t != null && t.from ? t.to ? `${f(t.from)} - ${f(t.to)}` : f(t.from) : "";
|
|
13
|
+
}
|
|
14
|
+
function S(t = /* @__PURE__ */ new Date()) {
|
|
15
|
+
const n = t.getHours().toString().padStart(2, "0"), r = t.getMinutes().toString().padStart(2, "0");
|
|
16
|
+
return `${n}:${r}`;
|
|
17
|
+
}
|
|
18
|
+
function p(t) {
|
|
19
|
+
if (!t) return "";
|
|
20
|
+
const [n, r] = t.split(":");
|
|
21
|
+
if (n && r) {
|
|
22
|
+
const o = parseInt(n, 10), i = parseInt(r, 10);
|
|
23
|
+
if (o >= 0 && o <= 23 && i >= 0 && i <= 59)
|
|
24
|
+
return `${o.toString().padStart(2, "0")}:${i.toString().padStart(2, "0")}`;
|
|
25
|
+
}
|
|
26
|
+
return t;
|
|
27
|
+
}
|
|
28
|
+
function m(t, n, r) {
|
|
29
|
+
const o = [], i = t ? t / 60 : 1;
|
|
30
|
+
for (let u = 0; u < 24; u++)
|
|
31
|
+
for (let e = 0; e < 60; e += i) {
|
|
32
|
+
const s = `${u.toString().padStart(2, "0")}:${e.toString().padStart(2, "0")}`;
|
|
33
|
+
n && s < n || r && s > r || o.push(s);
|
|
34
|
+
}
|
|
35
|
+
return o;
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
f as formatDate,
|
|
39
|
+
a as formatRange,
|
|
40
|
+
p as formatTimeForInput,
|
|
41
|
+
m as generateTimeOptions,
|
|
42
|
+
S as getDefaultTime,
|
|
43
|
+
c as isValidDate
|
|
44
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { formatDate as a, formatRange as o, formatTimeForInput as r, generateTimeOptions as i, getDefaultTime as m, isValidDate as f } from "./datetime.js";
|
|
2
|
+
import { getInitials as l, toTitleCase as p, truncateTextUtil as T } from "./string.js";
|
|
3
|
+
import { cn as s } from "./utils.js";
|
|
4
|
+
export {
|
|
5
|
+
s as cn,
|
|
6
|
+
a as formatDate,
|
|
7
|
+
o as formatRange,
|
|
8
|
+
r as formatTimeForInput,
|
|
9
|
+
i as generateTimeOptions,
|
|
10
|
+
m as getDefaultTime,
|
|
11
|
+
l as getInitials,
|
|
12
|
+
f as isValidDate,
|
|
13
|
+
p as toTitleCase,
|
|
14
|
+
T as truncateTextUtil
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../src/lib/string.ts"],"names":[],"mappings":"AAAA,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAShD;AAED,eAAO,MAAM,WAAW,GAAI,KAAK,MAAM,EAAE,YAAW,MAAY,WAK/D,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,EAAE,YAAW,MAAW,WAGpE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
function a(r) {
|
|
2
|
+
const t = r.trim().split(" ");
|
|
3
|
+
return t.length === 1 ? t[0].charAt(0).toUpperCase() : (t.length === 2, (t[0].charAt(0) + t[1].charAt(0)).toUpperCase());
|
|
4
|
+
}
|
|
5
|
+
const o = (r, t = "_") => r.replace(new RegExp(t, "g"), " ").replace(/\w\S*/g, function(e) {
|
|
6
|
+
return e.charAt(0).toUpperCase() + e.substring(1).toLowerCase();
|
|
7
|
+
}), s = (r, t = 20) => r.length <= t ? r : r.substring(0, t) + "...";
|
|
8
|
+
export {
|
|
9
|
+
a as getInitials,
|
|
10
|
+
o as toTitleCase,
|
|
11
|
+
s as truncateTextUtil
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAG7C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
@import 'tailwindcss';
|
|
2
|
+
@import 'tw-animate-css';
|
|
3
|
+
@import './tokens.css';
|
|
4
|
+
@import '../../public/fonts/index.css';
|
|
5
|
+
|
|
6
|
+
@source '../../../apps/**/*.{ts,tsx}';
|
|
7
|
+
@source '../../../components/**/*.{ts,tsx}';
|
|
8
|
+
@source '../**/*.{ts,tsx}';
|
|
9
|
+
@source '../../../apps/storybook/**/*.{ts,tsx}';
|
|
10
|
+
|
|
11
|
+
@custom-variant dark (&:is(.dark *));
|
|
12
|
+
|
|
13
|
+
@layer base {
|
|
14
|
+
* {
|
|
15
|
+
@apply border-border-primary;
|
|
16
|
+
}
|
|
17
|
+
body {
|
|
18
|
+
@apply bg-surface-white text-text-primary;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@layer utilities {
|
|
23
|
+
.no-scrollbar::-webkit-scrollbar {
|
|
24
|
+
display: none;
|
|
25
|
+
}
|
|
26
|
+
.no-scrollbar {
|
|
27
|
+
-ms-overflow-style: none; /* IE and Edge */
|
|
28
|
+
scrollbar-width: none; /* Firefox */
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.codebox-scroll::-webkit-scrollbar {
|
|
32
|
+
width: 10px;
|
|
33
|
+
height: 10px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.codebox-scroll::-webkit-scrollbar-track {
|
|
37
|
+
background: transparent;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.codebox-scroll::-webkit-scrollbar-thumb {
|
|
41
|
+
background-color: var(--color-border-primary);
|
|
42
|
+
border-radius: 5px;
|
|
43
|
+
background-clip: content-box;
|
|
44
|
+
border: 2px solid transparent;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.codebox-scroll::-webkit-scrollbar-thumb:hover {
|
|
48
|
+
background-color: var(--color-text-secondary);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.codebox-scroll {
|
|
52
|
+
scrollbar-width: thin;
|
|
53
|
+
margin-right: 4px;
|
|
54
|
+
scrollbar-color: var(--color-border-primary) transparent;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.shadow-primary {
|
|
58
|
+
box-shadow: 0px 4px 30px 0px rgba(0, 4, 11, 0.1);
|
|
59
|
+
}
|
|
60
|
+
}
|