@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/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Inspirecn UI Library
|
|
2
|
+
|
|
3
|
+
[](https://inspirecn.vercel.app)
|
|
4
|
+
|
|
5
|
+
A custom React component library built with **Radix UI** and **Tailwind CSS**.
|
|
6
|
+
|
|
7
|
+
## Overview
|
|
8
|
+
|
|
9
|
+
This package (`@inspirecn/ui`) serves as the design system foundation for the Inspirecn project. While inspired by **shadcn/ui**'s headless approach, this library is built from the ground up to support our specific design requirements and token system.
|
|
10
|
+
|
|
11
|
+
## Key Features
|
|
12
|
+
|
|
13
|
+
- **Radix UI Primitives:** Ensures robust accessibility and keyboard navigation.
|
|
14
|
+
- **Tailwind CSS:** Utility-first styling with a custom configuration.
|
|
15
|
+
- **Custom Design Tokens:** Driven by a `tokens.json` source of truth, generating CSS variables for consistent theming (Colors, Typography, Spacing, Radius).
|
|
16
|
+
- **No External Dependencies:** We do not rely on the `shadcn-ui` package or CLI. Every component is owned and maintained within this package.
|
|
17
|
+
|
|
18
|
+
## Usage
|
|
19
|
+
|
|
20
|
+
Import components directly from the package:
|
|
21
|
+
|
|
22
|
+
```tsx
|
|
23
|
+
import { Button } from '@inspirecn/ui/components/button';
|
|
24
|
+
import { Card } from '@inspirecn/ui/components/card';
|
|
25
|
+
|
|
26
|
+
export default function MyComponent() {
|
|
27
|
+
return (
|
|
28
|
+
<Card>
|
|
29
|
+
<Button variant="default">Click Me</Button>
|
|
30
|
+
</Card>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Developing Components
|
|
36
|
+
|
|
37
|
+
1. **Create Component:** Add new components in `src/components/`.
|
|
38
|
+
2. **Style:** Use Tailwind CSS classes. Refer to `src/styles/tokens.css` for available custom variables.
|
|
39
|
+
3. **Storybook:** Add a `.stories.tsx` file to document and test the component in Storybook.
|
|
40
|
+
|
|
41
|
+
## Token System
|
|
42
|
+
|
|
43
|
+
Our design tokens are defined in `src/styles/tokens.json`.
|
|
44
|
+
To update tokens:
|
|
45
|
+
1. Modify `src/styles/tokens.json`.
|
|
46
|
+
2. Run the generation script (if configured) or ensure `generate-tokens.ts` is executed to update `src/styles/tokens.css`.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
3
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
4
|
+
declare const accordionTriggerVariants: (props?: ({
|
|
5
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
declare const accordionContentVariants: (props?: ({
|
|
8
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
9
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
|
+
declare function Accordion({ ...props }: React.ComponentProps<typeof AccordionPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function AccordionItem({ className, ...props }: React.ComponentProps<typeof AccordionPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
interface AccordionTriggerProps extends React.ComponentProps<typeof AccordionPrimitive.Trigger>, VariantProps<typeof accordionTriggerVariants> {
|
|
13
|
+
}
|
|
14
|
+
declare function AccordionTrigger({ className, children, size, ...props }: AccordionTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
interface AccordionContentProps extends React.ComponentProps<typeof AccordionPrimitive.Content>, VariantProps<typeof accordionContentVariants> {
|
|
16
|
+
}
|
|
17
|
+
declare function AccordionContent({ className, children, size, ...props }: AccordionContentProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
|
|
19
|
+
//# sourceMappingURL=Accordion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/accordion/Accordion.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAEhE,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,wBAAwB;;8EAc7B,CAAC;AAEF,QAAA,MAAM,wBAAwB;;8EAW5B,CAAC;AAEH,iBAAS,SAAS,CAAC,EACjB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,2CAEtD;AAED,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,2CAQtD;AAED,UAAU,qBACR,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC,EAC7D,YAAY,CAAC,OAAO,wBAAwB,CAAC;CAAG;AAEpD,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,QAAQ,EACR,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,qBAAqB,2CAavB;AAED,UAAU,qBACR,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC,EAC7D,YAAY,CAAC,OAAO,wBAAwB,CAAC;CAAG;AAEpD,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,QAAQ,EACR,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,qBAAqB,2CAkBvB;AAED,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import * as r from "@radix-ui/react-accordion";
|
|
2
|
+
import { ChevronDownIcon as d } from "lucide-react";
|
|
3
|
+
import { cva as s } from "class-variance-authority";
|
|
4
|
+
import { cn as i } from "@inspirecn/ui/lib/utils";
|
|
5
|
+
import { jsx as e, jsxs as c } from "react/jsx-runtime";
|
|
6
|
+
const l = s("flex flex-1 items-start justify-between gap-4 rounded-md text-left font-semibold transition-all outline-none cursor-pointer focus-visible:ring-2 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180", {
|
|
7
|
+
variants: {
|
|
8
|
+
size: {
|
|
9
|
+
default: "py-4 text-base",
|
|
10
|
+
sm: "py-3 text-sm",
|
|
11
|
+
lg: "py-5 text-lg"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
defaultVariants: {
|
|
15
|
+
size: "default"
|
|
16
|
+
}
|
|
17
|
+
}), m = s("text-muted-foreground/90", {
|
|
18
|
+
variants: {
|
|
19
|
+
size: {
|
|
20
|
+
default: "text-base",
|
|
21
|
+
sm: "text-sm",
|
|
22
|
+
lg: "text-lg"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: {
|
|
26
|
+
size: "default"
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
function b({
|
|
30
|
+
...t
|
|
31
|
+
}) {
|
|
32
|
+
return /* @__PURE__ */ e(r.Root, {
|
|
33
|
+
"data-slot": "accordion",
|
|
34
|
+
...t
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
function x({
|
|
38
|
+
className: t,
|
|
39
|
+
...o
|
|
40
|
+
}) {
|
|
41
|
+
return /* @__PURE__ */ e(r.Item, {
|
|
42
|
+
"data-slot": "accordion-item",
|
|
43
|
+
className: i("border-border/50 border-b last:border-b-0", t),
|
|
44
|
+
...o
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
function v({
|
|
48
|
+
className: t,
|
|
49
|
+
children: o,
|
|
50
|
+
size: n,
|
|
51
|
+
...a
|
|
52
|
+
}) {
|
|
53
|
+
return /* @__PURE__ */ e(r.Header, {
|
|
54
|
+
className: "flex",
|
|
55
|
+
children: /* @__PURE__ */ c(r.Trigger, {
|
|
56
|
+
"data-slot": "accordion-trigger",
|
|
57
|
+
className: i(l({
|
|
58
|
+
size: n
|
|
59
|
+
}), t),
|
|
60
|
+
...a,
|
|
61
|
+
children: [o, /* @__PURE__ */ e(d, {
|
|
62
|
+
className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
|
|
63
|
+
})]
|
|
64
|
+
})
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
function h({
|
|
68
|
+
className: t,
|
|
69
|
+
children: o,
|
|
70
|
+
size: n,
|
|
71
|
+
...a
|
|
72
|
+
}) {
|
|
73
|
+
return /* @__PURE__ */ e(r.Content, {
|
|
74
|
+
"data-slot": "accordion-content",
|
|
75
|
+
className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden",
|
|
76
|
+
...a,
|
|
77
|
+
children: /* @__PURE__ */ e("div", {
|
|
78
|
+
className: i(m({
|
|
79
|
+
size: n
|
|
80
|
+
}), "pb-4 pt-0", t),
|
|
81
|
+
children: o
|
|
82
|
+
})
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
export {
|
|
86
|
+
b as Accordion,
|
|
87
|
+
h as AccordionContent,
|
|
88
|
+
x as AccordionItem,
|
|
89
|
+
v as AccordionTrigger
|
|
90
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const alertVariants: (props?: ({
|
|
4
|
+
variant?: "default" | "info" | "warning" | "success" | "danger" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
+
interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
7
|
+
title: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
onClose?: () => void;
|
|
10
|
+
}
|
|
11
|
+
declare function Alert({ className, variant, title, description, onClose, children, ...props }: AlertProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export { Alert };
|
|
13
|
+
//# sourceMappingURL=Alert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/components/alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAclE,QAAA,MAAM,aAAa;;8EAmBlB,CAAC;AAcF,UAAU,UACR,SACE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EACpC,YAAY,CAAC,OAAO,aAAa,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,OAAO,EACP,KAAK,EACL,WAAW,EACX,OAAO,EACP,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,UAAU,2CAmDZ;AAED,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { cva as i } from "class-variance-authority";
|
|
2
|
+
import { X as c, AlertCircle as g, CheckCircle2 as x, AlertTriangle as u, Info as f } from "lucide-react";
|
|
3
|
+
import { cn as s } from "@inspirecn/ui/lib/utils";
|
|
4
|
+
import { Button as k } from "../button/Button.js";
|
|
5
|
+
import { Heading as v } from "../heading/Heading.js";
|
|
6
|
+
import { BodyText as h } from "../body-text/BodyText.js";
|
|
7
|
+
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
8
|
+
const N = i("relative w-full rounded-lg border p-4 [&>svg]:size-4 [&>svg]:shrink-0", {
|
|
9
|
+
variants: {
|
|
10
|
+
variant: {
|
|
11
|
+
default: "bg-background/50 text-foreground border-border",
|
|
12
|
+
info: "bg-blue-500/10 text-blue-900 border-blue-500 dark:bg-blue-400/10 dark:text-blue-50 dark:border-blue-400 [&>svg]:text-blue-500 dark:[&>svg]:text-blue-400",
|
|
13
|
+
warning: "bg-amber-500/10 text-amber-900 border-amber-500 dark:bg-amber-400/10 dark:text-amber-50 dark:border-amber-400 [&>svg]:text-amber-500 dark:[&>svg]:text-amber-400",
|
|
14
|
+
success: "bg-emerald-500/10 text-emerald-900 border-emerald-500 dark:bg-emerald-400/10 dark:text-emerald-50 dark:border-emerald-400 [&>svg]:text-emerald-500 dark:[&>svg]:text-emerald-400",
|
|
15
|
+
danger: "bg-red-500/10 text-red-900 border-red-500 dark:bg-red-400/10 dark:text-red-50 dark:border-red-400 [&>svg]:text-red-500 dark:[&>svg]:text-red-400"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
defaultVariants: {
|
|
19
|
+
variant: "default"
|
|
20
|
+
}
|
|
21
|
+
}), p = i("size-4 shrink-0 mt-0.5", {
|
|
22
|
+
variants: {
|
|
23
|
+
variant: {
|
|
24
|
+
default: "text-foreground",
|
|
25
|
+
info: "text-blue-500",
|
|
26
|
+
warning: "text-amber-500",
|
|
27
|
+
success: "text-emerald-500",
|
|
28
|
+
danger: "text-red-500"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
function B({
|
|
33
|
+
className: m,
|
|
34
|
+
variant: r,
|
|
35
|
+
title: n,
|
|
36
|
+
description: a,
|
|
37
|
+
onClose: t,
|
|
38
|
+
children: o,
|
|
39
|
+
...b
|
|
40
|
+
}) {
|
|
41
|
+
const d = {
|
|
42
|
+
default: null,
|
|
43
|
+
info: /* @__PURE__ */ e(f, {
|
|
44
|
+
className: "size-4"
|
|
45
|
+
}),
|
|
46
|
+
warning: /* @__PURE__ */ e(u, {
|
|
47
|
+
className: "size-4"
|
|
48
|
+
}),
|
|
49
|
+
success: /* @__PURE__ */ e(x, {
|
|
50
|
+
className: "size-4"
|
|
51
|
+
}),
|
|
52
|
+
danger: /* @__PURE__ */ e(g, {
|
|
53
|
+
className: "size-4"
|
|
54
|
+
})
|
|
55
|
+
}[r || "default"];
|
|
56
|
+
return /* @__PURE__ */ e("div", {
|
|
57
|
+
"data-slot": "alert",
|
|
58
|
+
role: "alert",
|
|
59
|
+
className: s(N({
|
|
60
|
+
variant: r
|
|
61
|
+
}), m),
|
|
62
|
+
...b,
|
|
63
|
+
children: /* @__PURE__ */ l("div", {
|
|
64
|
+
className: "flex items-start gap-4",
|
|
65
|
+
children: [d && /* @__PURE__ */ e("div", {
|
|
66
|
+
className: s(p({
|
|
67
|
+
variant: r
|
|
68
|
+
})),
|
|
69
|
+
children: d
|
|
70
|
+
}), /* @__PURE__ */ l("div", {
|
|
71
|
+
className: "flex-1 space-y-1",
|
|
72
|
+
children: [/* @__PURE__ */ e(v, {
|
|
73
|
+
as: "h5",
|
|
74
|
+
size: "xs",
|
|
75
|
+
weight: "medium",
|
|
76
|
+
className: "text-inherit!",
|
|
77
|
+
children: n
|
|
78
|
+
}), a && /* @__PURE__ */ e(h, {
|
|
79
|
+
as: "div",
|
|
80
|
+
size: "sm",
|
|
81
|
+
muted: !0,
|
|
82
|
+
className: "text-inherit! opacity-90",
|
|
83
|
+
children: a
|
|
84
|
+
}), o]
|
|
85
|
+
}), t && /* @__PURE__ */ e(k, {
|
|
86
|
+
variant: "ghost",
|
|
87
|
+
size: "icon",
|
|
88
|
+
onClick: t,
|
|
89
|
+
"aria-label": "Close",
|
|
90
|
+
className: "-mt-1 h-8 w-8",
|
|
91
|
+
children: /* @__PURE__ */ e(c, {
|
|
92
|
+
className: "size-4"
|
|
93
|
+
})
|
|
94
|
+
})]
|
|
95
|
+
})
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
export {
|
|
99
|
+
B as Alert
|
|
100
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
3
|
+
import { buttonVariants } from "../button/Button";
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
5
|
+
declare function AlertDialogBase({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function AlertDialogOverlay({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function AlertDialogContent({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare function AlertDialogAction({ className, variant, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action> & VariantProps<typeof buttonVariants>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare function AlertDialogCancel({ className, variant, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel> & VariantProps<typeof buttonVariants>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export interface AlertDialogProps {
|
|
17
|
+
title: string;
|
|
18
|
+
description?: string;
|
|
19
|
+
onConfirm: () => void;
|
|
20
|
+
onCancel?: () => void;
|
|
21
|
+
confirmText?: string;
|
|
22
|
+
cancelText?: string;
|
|
23
|
+
confirmVariant?: VariantProps<typeof buttonVariants>["variant"];
|
|
24
|
+
cancelVariant?: VariantProps<typeof buttonVariants>["variant"];
|
|
25
|
+
children: React.ReactNode;
|
|
26
|
+
open?: boolean;
|
|
27
|
+
onOpenChange?: (open: boolean) => void;
|
|
28
|
+
dir?: "ltr" | "rtl";
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Simplified AlertDialog component with an easy-to-use API
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* <AlertDialog
|
|
35
|
+
* title="Confirm"
|
|
36
|
+
* description="Are you sure you want to confirm this action?"
|
|
37
|
+
* onConfirm={() => console.log('Confirmed')}
|
|
38
|
+
* >
|
|
39
|
+
* <Button>Confirm</Button> // trigger
|
|
40
|
+
* </AlertDialog>
|
|
41
|
+
*/
|
|
42
|
+
declare function AlertDialog({ title, description, onConfirm, onCancel, confirmText, cancelText, confirmVariant, cancelVariant, children, open, onOpenChange, dir, }: AlertDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
export { AlertDialogBase, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, AlertDialog, };
|
|
44
|
+
//# sourceMappingURL=AlertDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertDialog.d.ts","sourceRoot":"","sources":["../../../src/components/alert-dialog/AlertDialog.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import * as l from "@radix-ui/react-alert-dialog";
|
|
2
|
+
import { cn as r } from "@inspirecn/ui/lib/utils";
|
|
3
|
+
import { buttonVariants as n } from "../button/Button.js";
|
|
4
|
+
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
5
|
+
function D({
|
|
6
|
+
...t
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ e(l.Root, {
|
|
9
|
+
"data-slot": "alert-dialog",
|
|
10
|
+
...t
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
function v({
|
|
14
|
+
...t
|
|
15
|
+
}) {
|
|
16
|
+
return /* @__PURE__ */ e(l.Trigger, {
|
|
17
|
+
"data-slot": "alert-dialog-trigger",
|
|
18
|
+
...t
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
function p({
|
|
22
|
+
...t
|
|
23
|
+
}) {
|
|
24
|
+
return /* @__PURE__ */ e(l.Portal, {
|
|
25
|
+
"data-slot": "alert-dialog-portal",
|
|
26
|
+
...t
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
function N({
|
|
30
|
+
className: t,
|
|
31
|
+
...a
|
|
32
|
+
}) {
|
|
33
|
+
return /* @__PURE__ */ e(l.Overlay, {
|
|
34
|
+
"data-slot": "alert-dialog-overlay",
|
|
35
|
+
className: r("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50", t),
|
|
36
|
+
...a
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
function y({
|
|
40
|
+
className: t,
|
|
41
|
+
...a
|
|
42
|
+
}) {
|
|
43
|
+
return /* @__PURE__ */ d(p, {
|
|
44
|
+
children: [/* @__PURE__ */ e(N, {}), /* @__PURE__ */ e(l.Content, {
|
|
45
|
+
"data-slot": "alert-dialog-content",
|
|
46
|
+
className: r("bg-surface-tertiary data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed left-[50%] top-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg", t),
|
|
47
|
+
...a
|
|
48
|
+
})]
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
function b({
|
|
52
|
+
className: t,
|
|
53
|
+
...a
|
|
54
|
+
}) {
|
|
55
|
+
return /* @__PURE__ */ e("div", {
|
|
56
|
+
"data-slot": "alert-dialog-header",
|
|
57
|
+
className: r("flex flex-col gap-2 text-center sm:text-start", t),
|
|
58
|
+
...a
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
function h({
|
|
62
|
+
className: t,
|
|
63
|
+
...a
|
|
64
|
+
}) {
|
|
65
|
+
return /* @__PURE__ */ e("div", {
|
|
66
|
+
"data-slot": "alert-dialog-footer",
|
|
67
|
+
className: r("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", t),
|
|
68
|
+
...a
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
function w({
|
|
72
|
+
className: t,
|
|
73
|
+
...a
|
|
74
|
+
}) {
|
|
75
|
+
return /* @__PURE__ */ e(l.Title, {
|
|
76
|
+
"data-slot": "alert-dialog-title",
|
|
77
|
+
className: r("text-lg font-semibold", t),
|
|
78
|
+
...a
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
function z({
|
|
82
|
+
className: t,
|
|
83
|
+
...a
|
|
84
|
+
}) {
|
|
85
|
+
return /* @__PURE__ */ e(l.Description, {
|
|
86
|
+
"data-slot": "alert-dialog-description",
|
|
87
|
+
className: r("text-text-secondary! text-text-sm", t),
|
|
88
|
+
...a
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
function T({
|
|
92
|
+
className: t,
|
|
93
|
+
variant: a = "default",
|
|
94
|
+
...i
|
|
95
|
+
}) {
|
|
96
|
+
return /* @__PURE__ */ e(l.Action, {
|
|
97
|
+
className: r(n({
|
|
98
|
+
variant: a
|
|
99
|
+
}), t),
|
|
100
|
+
...i
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
function j({
|
|
104
|
+
className: t,
|
|
105
|
+
variant: a = "outline",
|
|
106
|
+
...i
|
|
107
|
+
}) {
|
|
108
|
+
return /* @__PURE__ */ e(l.Cancel, {
|
|
109
|
+
className: r(n({
|
|
110
|
+
variant: a
|
|
111
|
+
}), t),
|
|
112
|
+
...i
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
function R({
|
|
116
|
+
title: t,
|
|
117
|
+
description: a,
|
|
118
|
+
onConfirm: i,
|
|
119
|
+
onCancel: s,
|
|
120
|
+
confirmText: c = "Confirm",
|
|
121
|
+
cancelText: f = "Cancel",
|
|
122
|
+
confirmVariant: u = "default",
|
|
123
|
+
cancelVariant: m = "outline",
|
|
124
|
+
children: g,
|
|
125
|
+
open: x,
|
|
126
|
+
onOpenChange: o,
|
|
127
|
+
dir: A
|
|
128
|
+
}) {
|
|
129
|
+
return /* @__PURE__ */ d(D, {
|
|
130
|
+
open: x,
|
|
131
|
+
onOpenChange: o,
|
|
132
|
+
children: [/* @__PURE__ */ e(v, {
|
|
133
|
+
asChild: !0,
|
|
134
|
+
children: g
|
|
135
|
+
}), /* @__PURE__ */ d(y, {
|
|
136
|
+
dir: A,
|
|
137
|
+
children: [/* @__PURE__ */ d(b, {
|
|
138
|
+
children: [/* @__PURE__ */ e(w, {
|
|
139
|
+
children: t
|
|
140
|
+
}), a && /* @__PURE__ */ e(z, {
|
|
141
|
+
children: a
|
|
142
|
+
})]
|
|
143
|
+
}), /* @__PURE__ */ d(h, {
|
|
144
|
+
children: [/* @__PURE__ */ e(j, {
|
|
145
|
+
variant: m,
|
|
146
|
+
onClick: () => {
|
|
147
|
+
s == null || s(), o == null || o(!1);
|
|
148
|
+
},
|
|
149
|
+
children: f
|
|
150
|
+
}), /* @__PURE__ */ e(T, {
|
|
151
|
+
variant: u,
|
|
152
|
+
onClick: () => {
|
|
153
|
+
i(), o == null || o(!1);
|
|
154
|
+
},
|
|
155
|
+
children: c
|
|
156
|
+
})]
|
|
157
|
+
})]
|
|
158
|
+
})]
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
export {
|
|
162
|
+
R as AlertDialog,
|
|
163
|
+
T as AlertDialogAction,
|
|
164
|
+
D as AlertDialogBase,
|
|
165
|
+
j as AlertDialogCancel,
|
|
166
|
+
y as AlertDialogContent,
|
|
167
|
+
z as AlertDialogDescription,
|
|
168
|
+
h as AlertDialogFooter,
|
|
169
|
+
b as AlertDialogHeader,
|
|
170
|
+
N as AlertDialogOverlay,
|
|
171
|
+
p as AlertDialogPortal,
|
|
172
|
+
w as AlertDialogTitle,
|
|
173
|
+
v as AlertDialogTrigger
|
|
174
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
2
|
+
declare function AspectRatio({ ...props }: React.ComponentProps<typeof AspectRatioPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export { AspectRatio };
|
|
4
|
+
//# sourceMappingURL=AspectRatio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AspectRatio.d.ts","sourceRoot":"","sources":["../../../src/components/aspect-ratio/AspectRatio.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AAErE,iBAAS,WAAW,CAAC,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,IAAI,CAAC,2CAExD;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
3
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
4
|
+
declare function AvatarBase({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function AvatarBaseImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function AvatarBaseFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare const avatarVariants: (props?: ({
|
|
8
|
+
size?: "sm" | "lg" | "xl" | "md" | null | undefined;
|
|
9
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
|
+
export interface AvatarProps extends VariantProps<typeof avatarVariants> {
|
|
11
|
+
name: string;
|
|
12
|
+
src?: string;
|
|
13
|
+
alt?: string;
|
|
14
|
+
isPremium?: boolean;
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
declare function Avatar({ name, src, alt, isPremium, size, className, ...props }: AvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export { Avatar, AvatarBase, AvatarBaseImage, AvatarBaseFallback };
|
|
19
|
+
//# sourceMappingURL=Avatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/avatar/Avatar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAE1D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAMlE,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CAWnD;AAED,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAQpD;AAED,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,QAAQ,CAAC,2CAWvD;AAGD,QAAA,MAAM,cAAc;;8EAYlB,CAAC;AAEH,MAAM,WAAW,WAAY,SAAQ,YAAY,CAAC,OAAO,cAAc,CAAC;IACtE,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iBAAS,MAAM,CAAC,EACd,IAAI,EACJ,GAAG,EACH,GAAG,EACH,SAAiB,EACjB,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,WAAW,2CAoBb;AAED,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,eAAe,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import * as s from "@radix-ui/react-avatar";
|
|
2
|
+
import { Crown as u } from "lucide-react";
|
|
3
|
+
import { cva as v } from "class-variance-authority";
|
|
4
|
+
import { cn as r } from "@inspirecn/ui/lib/utils";
|
|
5
|
+
import { getInitials as b } from "@inspirecn/ui/lib/string";
|
|
6
|
+
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
7
|
+
function g({
|
|
8
|
+
className: a,
|
|
9
|
+
...e
|
|
10
|
+
}) {
|
|
11
|
+
return /* @__PURE__ */ t(s.Root, {
|
|
12
|
+
"data-slot": "avatar",
|
|
13
|
+
className: r("relative flex shrink-0 overflow-hidden rounded-full", a),
|
|
14
|
+
...e
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
function h({
|
|
18
|
+
className: a,
|
|
19
|
+
...e
|
|
20
|
+
}) {
|
|
21
|
+
return /* @__PURE__ */ t(s.Image, {
|
|
22
|
+
"data-slot": "avatar-image",
|
|
23
|
+
className: r("aspect-square size-full", a),
|
|
24
|
+
...e
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
function p({
|
|
28
|
+
className: a,
|
|
29
|
+
...e
|
|
30
|
+
}) {
|
|
31
|
+
return /* @__PURE__ */ t(s.Fallback, {
|
|
32
|
+
"data-slot": "avatar-fallback",
|
|
33
|
+
className: r("bg-muted flex size-full items-center justify-center rounded-full", a),
|
|
34
|
+
...e
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
const z = v("border-2 border-border", {
|
|
38
|
+
variants: {
|
|
39
|
+
size: {
|
|
40
|
+
sm: "size-9",
|
|
41
|
+
md: "size-10",
|
|
42
|
+
lg: "size-11",
|
|
43
|
+
xl: "size-12"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
defaultVariants: {
|
|
47
|
+
size: "md"
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
function j({
|
|
51
|
+
name: a,
|
|
52
|
+
src: e,
|
|
53
|
+
alt: l,
|
|
54
|
+
isPremium: o = !1,
|
|
55
|
+
size: n,
|
|
56
|
+
className: m,
|
|
57
|
+
...c
|
|
58
|
+
}) {
|
|
59
|
+
const d = b(a), f = l || `${a}'s avatar`;
|
|
60
|
+
return /* @__PURE__ */ i("div", {
|
|
61
|
+
className: "relative",
|
|
62
|
+
children: [/* @__PURE__ */ i(g, {
|
|
63
|
+
className: r(z({
|
|
64
|
+
size: n
|
|
65
|
+
}), m),
|
|
66
|
+
...c,
|
|
67
|
+
children: [/* @__PURE__ */ t(h, {
|
|
68
|
+
src: e,
|
|
69
|
+
alt: f
|
|
70
|
+
}), /* @__PURE__ */ t(p, {
|
|
71
|
+
children: d
|
|
72
|
+
})]
|
|
73
|
+
}), o && /* @__PURE__ */ t("div", {
|
|
74
|
+
className: "absolute bottom-0 right-0 rounded-full bg-orange-500 p-0.5 shadow-md",
|
|
75
|
+
children: /* @__PURE__ */ t(u, {
|
|
76
|
+
className: "size-3 text-white"
|
|
77
|
+
})
|
|
78
|
+
})]
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
export {
|
|
82
|
+
j as Avatar,
|
|
83
|
+
g as AvatarBase,
|
|
84
|
+
p as AvatarBaseFallback,
|
|
85
|
+
h as AvatarBaseImage
|
|
86
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
3
|
+
declare const badgeVariants: (props?: ({
|
|
4
|
+
variant?: "default" | "link" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
5
|
+
radius?: "sm" | "lg" | "none" | "md" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
interface BadgeProps extends React.ComponentProps<"span"> {
|
|
8
|
+
variant?: VariantProps<typeof badgeVariants>["variant"];
|
|
9
|
+
radius?: VariantProps<typeof badgeVariants>["radius"];
|
|
10
|
+
asChild?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
declare function Badge({ className, variant, radius, asChild, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export { Badge, badgeVariants };
|
|
16
|
+
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,aAAa;;;8EAyBlB,CAAC;AAEF,UAAU,UAAW,SAAQ,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC;IACvD,OAAO,CAAC,EAAE,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC;IACxD,MAAM,CAAC,EAAE,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC,QAAQ,CAAC,CAAC;IACtD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,OAAmB,EACnB,MAAa,EACb,OAAe,EACf,GAAG,KAAK,EACT,EAAE,UAAU,2CAUZ;AAED,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAC"}
|