@oneplatformdev/ui 0.0.1-beta.99 → 0.1.0-5
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/LICENSE +21 -0
- package/README.md +3 -29
- package/{Button → dist/Button}/Button.d.ts +1 -0
- package/dist/Button/Button.d.ts.map +1 -0
- package/{Button/Button.mjs → dist/Button/Button.js} +8 -8
- package/dist/Button/Button.stories.d.ts +8 -0
- package/dist/Button/Button.stories.d.ts.map +1 -0
- package/dist/Button/Button.stories.js +20 -0
- package/{Button → dist/Button}/Button.types.d.ts +3 -2
- package/dist/Button/Button.types.d.ts.map +1 -0
- package/dist/Button/Button.types.js +1 -0
- package/dist/Button/buttonVariants.d.ts +5 -0
- package/dist/Button/buttonVariants.d.ts.map +1 -0
- package/dist/Button/buttonVariants.js +35 -0
- package/{Button → dist/Button}/index.d.ts +1 -0
- package/dist/Button/index.d.ts.map +1 -0
- package/dist/Button/index.js +7 -0
- package/{ButtonIcon → dist/ButtonIcon}/ButtonIcon.d.ts +1 -0
- package/dist/ButtonIcon/ButtonIcon.d.ts.map +1 -0
- package/dist/ButtonIcon/ButtonIcon.js +29 -0
- package/dist/ButtonIcon/ButtonIcon.stories.d.ts +37 -0
- package/dist/ButtonIcon/ButtonIcon.stories.d.ts.map +1 -0
- package/dist/ButtonIcon/ButtonIcon.stories.js +126 -0
- package/{ButtonIcon → dist/ButtonIcon}/ButtonIcon.types.d.ts +3 -2
- package/dist/ButtonIcon/ButtonIcon.types.d.ts.map +1 -0
- package/dist/ButtonIcon/ButtonIcon.types.js +1 -0
- package/dist/ButtonIcon/buttonIconVariants.d.ts +8 -0
- package/dist/ButtonIcon/buttonIconVariants.d.ts.map +1 -0
- package/{ButtonIcon/buttonIconVariants.mjs → dist/ButtonIcon/buttonIconVariants.js} +3 -3
- package/{ButtonIcon → dist/ButtonIcon}/index.d.ts +1 -0
- package/dist/ButtonIcon/index.d.ts.map +1 -0
- package/dist/ButtonIcon/index.js +7 -0
- package/dist/CHANGELOG.md +17 -0
- package/dist/LICENSE +21 -0
- package/dist/README.md +7 -0
- package/{Tooltip → dist/Tooltip}/Tooltip.d.ts +2 -2
- package/dist/Tooltip/Tooltip.d.ts.map +1 -0
- package/{Tooltip/Tooltip.mjs → dist/Tooltip/Tooltip.js} +1 -1
- package/{Tooltip → dist/Tooltip}/Tooltip.types.d.ts +2 -2
- package/dist/Tooltip/Tooltip.types.d.ts.map +1 -0
- package/dist/Tooltip/Tooltip.types.js +1 -0
- package/{Tooltip → dist/Tooltip}/TooltipRoot.d.ts +1 -0
- package/dist/Tooltip/TooltipRoot.d.ts.map +1 -0
- package/{Tooltip → dist/Tooltip}/index.d.ts +1 -0
- package/dist/Tooltip/index.d.ts.map +1 -0
- package/{Tooltip/index.mjs → dist/Tooltip/index.js} +2 -2
- package/dist/global.css +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +17 -0
- package/dist/package.json +76 -0
- package/package.json +45 -72
- package/Accordion/Accordion.d.ts +0 -9
- package/Accordion/Accordion.mjs +0 -49
- package/Accordion/index.d.ts +0 -1
- package/Accordion/index.mjs +0 -7
- package/Accordion/package.json +0 -7
- package/Alert/Alert.d.ts +0 -7
- package/Alert/Alert.mjs +0 -37
- package/Alert/alertVariants.d.ts +0 -4
- package/Alert/alertVariants.mjs +0 -19
- package/Alert/index.d.ts +0 -1
- package/Alert/index.mjs +0 -6
- package/Alert/package.json +0 -7
- package/AlertDialog/AlertDialog.d.ts +0 -65
- package/AlertDialog/AlertDialog.mjs +0 -97
- package/AlertDialog/AlertDialog.types.d.ts +0 -53
- package/AlertDialog/AlertDialogRoot.d.ts +0 -21
- package/AlertDialog/AlertDialogRoot.mjs +0 -114
- package/AlertDialog/index.d.ts +0 -3
- package/AlertDialog/index.mjs +0 -16
- package/AlertDialog/package.json +0 -7
- package/AreaChart/AreaChart.d.ts +0 -4
- package/AreaChart/AreaChart.mjs +0 -27
- package/AreaChart/AreaChart.types.d.ts +0 -15
- package/AreaChart/index.d.ts +0 -2
- package/AreaChart/index.mjs +0 -4
- package/AreaChart/package.json +0 -7
- package/Aside/Aside.d.ts +0 -4
- package/Aside/Aside.mjs +0 -23
- package/Aside/Aside.types.d.ts +0 -18
- package/Aside/AsideSidebar.d.ts +0 -3
- package/Aside/AsideSidebar.mjs +0 -37
- package/Aside/index.d.ts +0 -3
- package/Aside/index.mjs +0 -7
- package/Aside/package.json +0 -7
- package/AspectRatio/AspectRatio.d.ts +0 -2
- package/AspectRatio/AspectRatio.mjs +0 -5
- package/AspectRatio/index.d.ts +0 -1
- package/AspectRatio/index.mjs +0 -5
- package/AspectRatio/package.json +0 -7
- package/Avatar/Avatar.d.ts +0 -5
- package/Avatar/Avatar.mjs +0 -42
- package/Avatar/index.d.ts +0 -1
- package/Avatar/index.mjs +0 -6
- package/Avatar/package.json +0 -7
- package/Badge/Badge.d.ts +0 -5
- package/Badge/Badge.mjs +0 -10
- package/Badge/Badge.types.d.ts +0 -5
- package/Badge/badgeVariants.d.ts +0 -3
- package/Badge/badgeVariants.mjs +0 -20
- package/Badge/index.d.ts +0 -3
- package/Badge/index.mjs +0 -6
- package/Badge/package.json +0 -7
- package/Breadcrumb/Breadcrumb.d.ts +0 -19
- package/Breadcrumb/Breadcrumb.mjs +0 -90
- package/Breadcrumb/index.d.ts +0 -1
- package/Breadcrumb/index.mjs +0 -10
- package/Breadcrumb/package.json +0 -7
- package/Button/buttonVariants.d.ts +0 -4
- package/Button/buttonVariants.mjs +0 -29
- package/Button/index.mjs +0 -7
- package/Button/package.json +0 -7
- package/ButtonIcon/ButtonIcon.mjs +0 -29
- package/ButtonIcon/buttonIconVariants.d.ts +0 -7
- package/ButtonIcon/index.mjs +0 -7
- package/ButtonIcon/package.json +0 -7
- package/Calendar/Calendar.d.ts +0 -8
- package/Calendar/Calendar.mjs +0 -64
- package/Calendar/index.d.ts +0 -1
- package/Calendar/index.mjs +0 -4
- package/Calendar/package.json +0 -7
- package/Card/Card.d.ts +0 -8
- package/Card/Card.mjs +0 -61
- package/Card/index.d.ts +0 -1
- package/Card/index.mjs +0 -9
- package/Card/package.json +0 -7
- package/Carousel/Carousel.d.ts +0 -18
- package/Carousel/Carousel.mjs +0 -168
- package/Carousel/index.d.ts +0 -1
- package/Carousel/index.mjs +0 -8
- package/Carousel/package.json +0 -7
- package/Chart/Chart.d.ts +0 -62
- package/Chart/Chart.mjs +0 -210
- package/Chart/index.d.ts +0 -1
- package/Chart/index.mjs +0 -9
- package/Chart/package.json +0 -7
- package/Checkbox/Checkbox.d.ts +0 -5
- package/Checkbox/Checkbox.mjs +0 -54
- package/Checkbox/Checkbox.types.d.ts +0 -10
- package/Checkbox/index.d.ts +0 -2
- package/Checkbox/index.mjs +0 -5
- package/Checkbox/package.json +0 -7
- package/Collapsible/Collapsible.d.ts +0 -5
- package/Collapsible/Collapsible.mjs +0 -7
- package/Collapsible/index.d.ts +0 -1
- package/Collapsible/index.mjs +0 -6
- package/Collapsible/package.json +0 -7
- package/Combobox/Combobox.d.ts +0 -4
- package/Combobox/Combobox.mjs +0 -15
- package/Combobox/Combobox.types.d.ts +0 -38
- package/Combobox/ComboboxOptionItem.d.ts +0 -5
- package/Combobox/ComboboxOptionItem.mjs +0 -67
- package/Combobox/ComboboxOptions.d.ts +0 -4
- package/Combobox/ComboboxOptions.mjs +0 -12
- package/Combobox/index.d.ts +0 -2
- package/Combobox/index.mjs +0 -4
- package/Combobox/package.json +0 -7
- package/Combobox-Dfbnw0oF.js +0 -303
- package/Command/Command.d.ts +0 -80
- package/Command/Command.mjs +0 -116
- package/Command/index.d.ts +0 -1
- package/Command/index.mjs +0 -12
- package/Command/package.json +0 -7
- package/DataTable/DataTable.d.ts +0 -11
- package/DataTable/DataTable.mjs +0 -64
- package/DataTable/DataTable.types.d.ts +0 -11
- package/DataTable/DataTableColumnFilter.d.ts +0 -4
- package/DataTable/DataTableColumnFilter.mjs +0 -31
- package/DataTable/index.d.ts +0 -2
- package/DataTable/index.mjs +0 -4
- package/DataTable/package.json +0 -7
- package/DataTable/useDataTable.d.ts +0 -3
- package/DataTable/useDataTable.mjs +0 -30
- package/DatePicker/DatePicker.d.ts +0 -3
- package/DatePicker/DatePicker.mjs +0 -699
- package/DatePicker/DatePicker.types.d.ts +0 -5
- package/DatePicker/index.d.ts +0 -3
- package/DatePicker/index.mjs +0 -5
- package/DatePicker/package.json +0 -7
- package/Dialog/Dialog.d.ts +0 -21
- package/Dialog/Dialog.mjs +0 -117
- package/Dialog/index.d.ts +0 -1
- package/Dialog/index.mjs +0 -13
- package/Dialog/package.json +0 -7
- package/Drawer/Drawer.d.ts +0 -22
- package/Drawer/Drawer.mjs +0 -98
- package/Drawer/index.d.ts +0 -1
- package/Drawer/index.mjs +0 -13
- package/Drawer/package.json +0 -7
- package/DropdownMenu/DropdownMenu.d.ts +0 -27
- package/DropdownMenu/DropdownMenu.mjs +0 -148
- package/DropdownMenu/index.d.ts +0 -1
- package/DropdownMenu/index.mjs +0 -18
- package/DropdownMenu/package.json +0 -7
- package/Dropzone/Dropzone.d.ts +0 -22
- package/Dropzone/Dropzone.mjs +0 -152
- package/Dropzone/Dropzone.types.d.ts +0 -42
- package/Dropzone/DropzoneFilePreview.d.ts +0 -4
- package/Dropzone/DropzoneFilePreview.mjs +0 -9
- package/Dropzone/DropzoneSinglePickPreview.d.ts +0 -10
- package/Dropzone/DropzoneSinglePickPreview.mjs +0 -41
- package/Dropzone/DropzoneUtils.d.ts +0 -5
- package/Dropzone/DropzoneUtils.mjs +0 -24
- package/Dropzone/index.d.ts +0 -2
- package/Dropzone/index.mjs +0 -7
- package/Dropzone/package.json +0 -7
- package/DropzoneFilePreview-Dhtv8F4u.js +0 -67
- package/Form/Form.d.ts +0 -23
- package/Form/Form.mjs +0 -98
- package/Form/FormRenderControl.d.ts +0 -4
- package/Form/FormRenderControl.mjs +0 -21
- package/Form/FormRenderControl.types.d.ts +0 -16
- package/Form/index.d.ts +0 -3
- package/Form/index.mjs +0 -13
- package/Form/package.json +0 -7
- package/FormCheckbox/FormCheckbox.d.ts +0 -4
- package/FormCheckbox/FormCheckbox.mjs +0 -30
- package/FormCheckbox/FormCheckbox.types.d.ts +0 -7
- package/FormCheckbox/index.d.ts +0 -2
- package/FormCheckbox/index.mjs +0 -4
- package/FormCheckbox/package.json +0 -7
- package/FormCombobox/FormCombobox.d.ts +0 -4
- package/FormCombobox/FormCombobox.mjs +0 -26
- package/FormCombobox/FormCombobox.types.d.ts +0 -6
- package/FormCombobox/index.d.ts +0 -2
- package/FormCombobox/index.mjs +0 -4
- package/FormCombobox/package.json +0 -7
- package/FormDatePicker/FormDatePicker.d.ts +0 -4
- package/FormDatePicker/FormDatePicker.mjs +0 -29
- package/FormDatePicker/FormDatePicker.types.d.ts +0 -6
- package/FormDatePicker/index.d.ts +0 -3
- package/FormDatePicker/index.mjs +0 -5
- package/FormDatePicker/package.json +0 -7
- package/FormDropzone/FormDropzone.d.ts +0 -4
- package/FormDropzone/FormDropzone.mjs +0 -19
- package/FormDropzone/FormDropzone.types.d.ts +0 -6
- package/FormDropzone/index.d.ts +0 -2
- package/FormDropzone/index.mjs +0 -4
- package/FormDropzone/package.json +0 -7
- package/FormInput/FormInput.d.ts +0 -7
- package/FormInput/FormInput.mjs +0 -40
- package/FormInput/FormInput.types.d.ts +0 -6
- package/FormInput/index.d.ts +0 -2
- package/FormInput/index.mjs +0 -4
- package/FormInput/package.json +0 -7
- package/FormRadio/FormRadio.d.ts +0 -4
- package/FormRadio/FormRadio.mjs +0 -40
- package/FormRadio/FormRadio.types.d.ts +0 -6
- package/FormRadio/index.d.ts +0 -2
- package/FormRadio/index.mjs +0 -4
- package/FormRadio/package.json +0 -7
- package/FormSelect/FormSelect.d.ts +0 -4
- package/FormSelect/FormSelect.mjs +0 -40
- package/FormSelect/FormSelect.types.d.ts +0 -6
- package/FormSelect/index.d.ts +0 -2
- package/FormSelect/index.mjs +0 -4
- package/FormSelect/package.json +0 -7
- package/FormTextarea/FormTextarea.d.ts +0 -4
- package/FormTextarea/FormTextarea.mjs +0 -27
- package/FormTextarea/FormTextarea.types.d.ts +0 -6
- package/FormTextarea/index.d.ts +0 -2
- package/FormTextarea/index.mjs +0 -4
- package/FormTextarea/package.json +0 -7
- package/Header/Header.d.ts +0 -4
- package/Header/Header.mjs +0 -26
- package/Header/Header.types.d.ts +0 -3
- package/Header/index.d.ts +0 -2
- package/Header/index.mjs +0 -5
- package/Header/package.json +0 -7
- package/HoverCard/HoverCard.d.ts +0 -6
- package/HoverCard/HoverCard.mjs +0 -23
- package/HoverCard/index.d.ts +0 -1
- package/HoverCard/index.mjs +0 -6
- package/HoverCard/package.json +0 -7
- package/Input/Input.d.ts +0 -6
- package/Input/Input.mjs +0 -73
- package/Input/Input.types.d.ts +0 -17
- package/Input/index.d.ts +0 -3
- package/Input/index.mjs +0 -7
- package/Input/inputVariants.d.ts +0 -3
- package/Input/inputVariants.mjs +0 -24
- package/Input/package.json +0 -7
- package/InputOTP/InputOTP.d.ts +0 -34
- package/InputOTP/InputOTP.mjs +0 -48
- package/InputOTP/index.d.ts +0 -1
- package/InputOTP/index.mjs +0 -7
- package/InputOTP/package.json +0 -7
- package/Label/Label.d.ts +0 -5
- package/Label/Label.mjs +0 -17
- package/Label/index.d.ts +0 -2
- package/Label/index.mjs +0 -6
- package/Label/labelVariants.d.ts +0 -1
- package/Label/labelVariants.mjs +0 -10
- package/Label/package.json +0 -7
- package/LazyLoader/LazyLoader.d.ts +0 -20
- package/LazyLoader/LazyLoader.mjs +0 -8
- package/LazyLoader/index.d.ts +0 -1
- package/LazyLoader/index.mjs +0 -5
- package/LazyLoader/package.json +0 -7
- package/LoadingMask/LoadingMask.d.ts +0 -4
- package/LoadingMask/LoadingMask.mjs +0 -21
- package/LoadingMask/LoadingMask.types.d.ts +0 -5
- package/LoadingMask/RenderLoadingMask.d.ts +0 -3
- package/LoadingMask/RenderLoadingMask.mjs +0 -108
- package/LoadingMask/index.d.ts +0 -3
- package/LoadingMask/index.mjs +0 -6
- package/LoadingMask/package.json +0 -7
- package/LoadingProgress/LoadingProgress.d.ts +0 -4
- package/LoadingProgress/LoadingProgress.mjs +0 -37
- package/LoadingProgress/LoadingProgress.types.d.ts +0 -8
- package/LoadingProgress/index.d.ts +0 -3
- package/LoadingProgress/index.mjs +0 -6
- package/LoadingProgress/loadingProgressVariants.d.ts +0 -4
- package/LoadingProgress/loadingProgressVariants.mjs +0 -24
- package/LoadingProgress/package.json +0 -7
- package/Menubar/Menubar.d.ts +0 -28
- package/Menubar/Menubar.mjs +0 -175
- package/Menubar/index.d.ts +0 -1
- package/Menubar/index.mjs +0 -19
- package/Menubar/package.json +0 -7
- package/NavigationMenu/NavigationMenu.d.ts +0 -11
- package/NavigationMenu/NavigationMenu.mjs +0 -101
- package/NavigationMenu/index.d.ts +0 -2
- package/NavigationMenu/index.mjs +0 -13
- package/NavigationMenu/navigationMenuVariants.d.ts +0 -1
- package/NavigationMenu/navigationMenuVariants.mjs +0 -7
- package/NavigationMenu/package.json +0 -7
- package/Pagination/Pagination.d.ts +0 -28
- package/Pagination/Pagination.mjs +0 -106
- package/Pagination/index.d.ts +0 -1
- package/Pagination/index.mjs +0 -10
- package/Pagination/package.json +0 -7
- package/Popover/Popover.d.ts +0 -7
- package/Popover/Popover.mjs +0 -28
- package/Popover/index.d.ts +0 -1
- package/Popover/index.mjs +0 -7
- package/Popover/package.json +0 -7
- package/Progress/Progress.d.ts +0 -4
- package/Progress/Progress.mjs +0 -26
- package/Progress/index.d.ts +0 -1
- package/Progress/index.mjs +0 -4
- package/Progress/package.json +0 -7
- package/Radio/Radio.d.ts +0 -4
- package/Radio/Radio.mjs +0 -12
- package/Radio/Radio.types.d.ts +0 -11
- package/Radio/index.d.ts +0 -2
- package/Radio/index.mjs +0 -4
- package/Radio/package.json +0 -7
- package/RadioGroup/RadioGroup.d.ts +0 -11
- package/RadioGroup/RadioGroup.mjs +0 -49
- package/RadioGroup/index.d.ts +0 -1
- package/RadioGroup/index.mjs +0 -6
- package/RadioGroup/package.json +0 -7
- package/Resizable/Resizable.d.ts +0 -23
- package/Resizable/Resizable.mjs +0 -36
- package/Resizable/index.d.ts +0 -1
- package/Resizable/index.mjs +0 -6
- package/Resizable/package.json +0 -7
- package/ScrollArea/ScrollArea.d.ts +0 -5
- package/ScrollArea/ScrollArea.mjs +0 -51
- package/ScrollArea/index.d.ts +0 -1
- package/ScrollArea/index.mjs +0 -5
- package/ScrollArea/package.json +0 -7
- package/Search/Search.d.ts +0 -4
- package/Search/Search.mjs +0 -30
- package/Search/Search.types.d.ts +0 -6
- package/Search/index.d.ts +0 -3
- package/Search/index.mjs +0 -5
- package/Search/package.json +0 -7
- package/Select/Select.d.ts +0 -3
- package/Select/Select.mjs +0 -103
- package/Select/Select.types.d.ts +0 -37
- package/Select/SelectRoot.d.ts +0 -13
- package/Select/SelectRoot.mjs +0 -126
- package/Select/index.d.ts +0 -3
- package/Select/index.mjs +0 -15
- package/Select/package.json +0 -7
- package/Separator/Separator.d.ts +0 -4
- package/Separator/Separator.mjs +0 -24
- package/Separator/index.d.ts +0 -1
- package/Separator/index.mjs +0 -4
- package/Separator/package.json +0 -7
- package/Sheet/Sheet.d.ts +0 -28
- package/Sheet/Sheet.mjs +0 -110
- package/Sheet/index.d.ts +0 -1
- package/Sheet/index.mjs +0 -13
- package/Sheet/package.json +0 -7
- package/Sidebar/Sidebar.d.ts +0 -66
- package/Sidebar/Sidebar.mjs +0 -543
- package/Sidebar/index.d.ts +0 -1
- package/Sidebar/index.mjs +0 -27
- package/Sidebar/package.json +0 -7
- package/Skeleton/Skeleton.d.ts +0 -4
- package/Skeleton/Skeleton.mjs +0 -17
- package/Skeleton/index.d.ts +0 -1
- package/Skeleton/index.mjs +0 -4
- package/Skeleton/package.json +0 -7
- package/Slider/Slider.d.ts +0 -4
- package/Slider/Slider.mjs +0 -23
- package/Slider/index.d.ts +0 -1
- package/Slider/index.mjs +0 -4
- package/Slider/package.json +0 -7
- package/Sonner/Sonner.d.ts +0 -5
- package/Sonner/Sonner.mjs +0 -25
- package/Sonner/index.d.ts +0 -1
- package/Sonner/index.mjs +0 -4
- package/Sonner/package.json +0 -7
- package/Switch/Switch.d.ts +0 -4
- package/Switch/Switch.mjs +0 -27
- package/Switch/index.d.ts +0 -1
- package/Switch/index.mjs +0 -4
- package/Switch/package.json +0 -7
- package/Table/Table.d.ts +0 -10
- package/Table/Table.mjs +0 -90
- package/Table/index.d.ts +0 -1
- package/Table/index.mjs +0 -11
- package/Table/package.json +0 -7
- package/TablePagination/TablePagination.d.ts +0 -16
- package/TablePagination/TablePagination.mjs +0 -74
- package/TablePagination/index.d.ts +0 -1
- package/TablePagination/index.mjs +0 -4
- package/TablePagination/package.json +0 -7
- package/Tabs/Tabs.d.ts +0 -5
- package/Tabs/Tabs.mjs +0 -23
- package/Tabs/Tabs.types.d.ts +0 -12
- package/Tabs/TabsRoot.d.ts +0 -7
- package/Tabs/TabsRoot.mjs +0 -46
- package/Tabs/index.d.ts +0 -2
- package/Tabs/index.mjs +0 -10
- package/Tabs/package.json +0 -7
- package/Textarea/Textarea.d.ts +0 -4
- package/Textarea/Textarea.mjs +0 -75
- package/Textarea/Textarea.types.d.ts +0 -18
- package/Textarea/index.d.ts +0 -2
- package/Textarea/index.mjs +0 -4
- package/Textarea/package.json +0 -7
- package/Textarea/useAutosizeTextArea.d.ts +0 -3
- package/Textarea/useAutosizeTextArea.mjs +0 -20
- package/Theme/ThemeModeToggle.d.ts +0 -8
- package/Theme/ThemeModeToggle.mjs +0 -48
- package/Theme/ThemeProvider.d.ts +0 -4
- package/Theme/ThemeProvider.mjs +0 -27
- package/Theme/index.d.ts +0 -2
- package/Theme/index.mjs +0 -6
- package/Theme/package.json +0 -7
- package/Toast/Toast.d.ts +0 -13
- package/Toast/Toast.mjs +0 -80
- package/Toast/Toast.types.d.ts +0 -34
- package/Toast/index.d.ts +0 -3
- package/Toast/index.mjs +0 -15
- package/Toast/package.json +0 -7
- package/Toast/toast.constants.d.ts +0 -6
- package/Toast/toast.constants.mjs +0 -9
- package/Toast/toastVariants.d.ts +0 -3
- package/Toast/toastVariants.mjs +0 -21
- package/Toast/useToast.d.ts +0 -16
- package/Toast/useToast.mjs +0 -101
- package/Toaster/Toaster.d.ts +0 -1
- package/Toaster/Toaster.mjs +0 -22
- package/Toaster/index.d.ts +0 -1
- package/Toaster/index.mjs +0 -4
- package/Toaster/package.json +0 -7
- package/Toggle/Toggle.d.ts +0 -12
- package/Toggle/Toggle.mjs +0 -37
- package/Toggle/index.d.ts +0 -1
- package/Toggle/index.mjs +0 -5
- package/Toggle/package.json +0 -7
- package/ToggleGroup/ToggleGroup.d.ts +0 -12
- package/ToggleGroup/ToggleGroup.mjs +0 -41
- package/ToggleGroup/index.d.ts +0 -1
- package/ToggleGroup/index.mjs +0 -5
- package/ToggleGroup/package.json +0 -7
- package/Tooltip/package.json +0 -7
- package/index.css +0 -1
- package/index.d.ts +0 -68
- package/index.mjs +0 -367
- package/tailwind.config.mjs +0 -148
- /package/{Tooltip/TooltipRoot.mjs → dist/Tooltip/TooltipRoot.js} +0 -0
package/DatePicker/index.mjs
DELETED
package/DatePicker/package.json
DELETED
package/Dialog/Dialog.d.ts
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
3
|
-
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
4
|
-
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
5
|
-
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
6
|
-
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
7
|
-
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
8
|
-
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
9
|
-
showCloseButton?: boolean;
|
10
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
11
|
-
declare const DialogHeader: {
|
12
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
13
|
-
displayName: string;
|
14
|
-
};
|
15
|
-
declare const DialogFooter: {
|
16
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
17
|
-
displayName: string;
|
18
|
-
};
|
19
|
-
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
20
|
-
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
21
|
-
export { Dialog, DialogPortal, DialogOverlay, DialogTrigger, DialogClose, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
|
package/Dialog/Dialog.mjs
DELETED
@@ -1,117 +0,0 @@
|
|
1
|
-
import { jsx as o, jsxs as n } from "react/jsx-runtime";
|
2
|
-
import * as l from "react";
|
3
|
-
import * as e from "@radix-ui/react-dialog";
|
4
|
-
import { X as m } from "lucide-react";
|
5
|
-
import { cn as i } from "@oneplatformdev/utils";
|
6
|
-
const h = e.Root, w = e.Trigger, f = e.Portal, v = e.Close, r = l.forwardRef(({ className: a, ...t }, s) => /* @__PURE__ */ o(
|
7
|
-
e.Overlay,
|
8
|
-
{
|
9
|
-
ref: s,
|
10
|
-
className: i(
|
11
|
-
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
12
|
-
a
|
13
|
-
),
|
14
|
-
...t
|
15
|
-
}
|
16
|
-
));
|
17
|
-
r.displayName = e.Overlay.displayName;
|
18
|
-
const p = l.forwardRef(({ className: a, children: t, showCloseButton: s = !0, ...d }, c) => /* @__PURE__ */ n(f, { children: [
|
19
|
-
/* @__PURE__ */ o(r, {}),
|
20
|
-
/* @__PURE__ */ n(
|
21
|
-
e.Content,
|
22
|
-
{
|
23
|
-
ref: c,
|
24
|
-
className: i(
|
25
|
-
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg",
|
26
|
-
"duration-200 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 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
|
27
|
-
"max-w-[90%] max-h-[90%] overflow-hidden",
|
28
|
-
"bg-[#FCFCFC] border border-[#E8E9EB] rounded-[16px]",
|
29
|
-
a
|
30
|
-
),
|
31
|
-
...d,
|
32
|
-
children: [
|
33
|
-
t,
|
34
|
-
s && /* @__PURE__ */ n(
|
35
|
-
e.Close,
|
36
|
-
{
|
37
|
-
className: i(
|
38
|
-
"absolute right-4 top-4 rounded-sm ring-offset-background w-10 aspect-square",
|
39
|
-
"flex items-center justify-center",
|
40
|
-
"data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",
|
41
|
-
"opacity-70 hover:opacity-100",
|
42
|
-
"focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
43
|
-
"disabled:pointer-events-none",
|
44
|
-
"transition-opacity"
|
45
|
-
),
|
46
|
-
children: [
|
47
|
-
/* @__PURE__ */ o(m, { className: "h-4 w-4" }),
|
48
|
-
/* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
|
49
|
-
]
|
50
|
-
}
|
51
|
-
)
|
52
|
-
]
|
53
|
-
}
|
54
|
-
)
|
55
|
-
] }));
|
56
|
-
p.displayName = e.Content.displayName;
|
57
|
-
const g = ({
|
58
|
-
className: a,
|
59
|
-
...t
|
60
|
-
}) => /* @__PURE__ */ o(
|
61
|
-
"div",
|
62
|
-
{
|
63
|
-
className: i(
|
64
|
-
"flex flex-col space-y-1.5 text-center sm:text-left",
|
65
|
-
a
|
66
|
-
),
|
67
|
-
...t
|
68
|
-
}
|
69
|
-
);
|
70
|
-
g.displayName = "DialogHeader";
|
71
|
-
const u = ({
|
72
|
-
className: a,
|
73
|
-
...t
|
74
|
-
}) => /* @__PURE__ */ o(
|
75
|
-
"div",
|
76
|
-
{
|
77
|
-
className: i(
|
78
|
-
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
|
79
|
-
a
|
80
|
-
),
|
81
|
-
...t
|
82
|
-
}
|
83
|
-
);
|
84
|
-
u.displayName = "DialogFooter";
|
85
|
-
const x = l.forwardRef(({ className: a, ...t }, s) => /* @__PURE__ */ o(
|
86
|
-
e.Title,
|
87
|
-
{
|
88
|
-
ref: s,
|
89
|
-
className: i(
|
90
|
-
"text-lg font-semibold leading-none tracking-tight",
|
91
|
-
a
|
92
|
-
),
|
93
|
-
...t
|
94
|
-
}
|
95
|
-
));
|
96
|
-
x.displayName = e.Title.displayName;
|
97
|
-
const y = l.forwardRef(({ className: a, ...t }, s) => /* @__PURE__ */ o(
|
98
|
-
e.Description,
|
99
|
-
{
|
100
|
-
ref: s,
|
101
|
-
className: i("text-sm text-muted-foreground", a),
|
102
|
-
...t
|
103
|
-
}
|
104
|
-
));
|
105
|
-
y.displayName = e.Description.displayName;
|
106
|
-
export {
|
107
|
-
h as Dialog,
|
108
|
-
v as DialogClose,
|
109
|
-
p as DialogContent,
|
110
|
-
y as DialogDescription,
|
111
|
-
u as DialogFooter,
|
112
|
-
g as DialogHeader,
|
113
|
-
r as DialogOverlay,
|
114
|
-
f as DialogPortal,
|
115
|
-
x as DialogTitle,
|
116
|
-
w as DialogTrigger
|
117
|
-
};
|
package/Dialog/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './Dialog';
|
package/Dialog/index.mjs
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
import { Dialog as l, DialogClose as a, DialogContent as g, DialogDescription as D, DialogFooter as e, DialogHeader as r, DialogOverlay as t, DialogPortal as n, DialogTitle as p, DialogTrigger as s } from "./Dialog.mjs";
|
2
|
-
export {
|
3
|
-
l as Dialog,
|
4
|
-
a as DialogClose,
|
5
|
-
g as DialogContent,
|
6
|
-
D as DialogDescription,
|
7
|
-
e as DialogFooter,
|
8
|
-
r as DialogHeader,
|
9
|
-
t as DialogOverlay,
|
10
|
-
n as DialogPortal,
|
11
|
-
p as DialogTitle,
|
12
|
-
s as DialogTrigger
|
13
|
-
};
|
package/Dialog/package.json
DELETED
package/Drawer/Drawer.d.ts
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
import { Drawer as DrawerPrimitive } from 'vaul';
|
2
|
-
import * as React from "react";
|
3
|
-
declare const Drawer: {
|
4
|
-
({ shouldScaleBackground, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
5
|
-
displayName: string;
|
6
|
-
};
|
7
|
-
declare const DrawerTrigger: React.ForwardRefExoticComponent<import('@radix-ui/react-dialog').DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
8
|
-
declare const DrawerPortal: typeof import('vaul').Portal;
|
9
|
-
declare const DrawerClose: React.ForwardRefExoticComponent<import('@radix-ui/react-dialog').DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
10
|
-
declare const DrawerOverlay: React.ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-dialog').DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
11
|
-
declare const DrawerContent: React.ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-dialog').DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
12
|
-
declare const DrawerHeader: {
|
13
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
14
|
-
displayName: string;
|
15
|
-
};
|
16
|
-
declare const DrawerFooter: {
|
17
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
18
|
-
displayName: string;
|
19
|
-
};
|
20
|
-
declare const DrawerTitle: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-dialog').DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
21
|
-
declare const DrawerDescription: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-dialog').DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
22
|
-
export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, };
|
package/Drawer/Drawer.mjs
DELETED
@@ -1,98 +0,0 @@
|
|
1
|
-
import { jsx as t, jsxs as i } from "react/jsx-runtime";
|
2
|
-
import * as l from "react";
|
3
|
-
import { Drawer as a } from "vaul";
|
4
|
-
import { cn as s } from "@oneplatformdev/utils";
|
5
|
-
const n = ({
|
6
|
-
shouldScaleBackground: e = !0,
|
7
|
-
...r
|
8
|
-
}) => /* @__PURE__ */ t(
|
9
|
-
a.Root,
|
10
|
-
{
|
11
|
-
shouldScaleBackground: e,
|
12
|
-
...r
|
13
|
-
}
|
14
|
-
);
|
15
|
-
n.displayName = "Drawer";
|
16
|
-
const u = a.Trigger, c = a.Portal, b = a.Close, d = l.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ t(
|
17
|
-
a.Overlay,
|
18
|
-
{
|
19
|
-
ref: o,
|
20
|
-
className: s("fixed inset-0 z-50 bg-black/80", e),
|
21
|
-
...r
|
22
|
-
}
|
23
|
-
));
|
24
|
-
d.displayName = a.Overlay.displayName;
|
25
|
-
const p = l.forwardRef(({ className: e, children: r, ...o }, m) => /* @__PURE__ */ i(c, { children: [
|
26
|
-
/* @__PURE__ */ t(d, {}),
|
27
|
-
/* @__PURE__ */ i(
|
28
|
-
a.Content,
|
29
|
-
{
|
30
|
-
ref: m,
|
31
|
-
className: s(
|
32
|
-
"fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",
|
33
|
-
e
|
34
|
-
),
|
35
|
-
...o,
|
36
|
-
children: [
|
37
|
-
/* @__PURE__ */ t("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
|
38
|
-
r
|
39
|
-
]
|
40
|
-
}
|
41
|
-
)
|
42
|
-
] }));
|
43
|
-
p.displayName = "DrawerContent";
|
44
|
-
const f = ({
|
45
|
-
className: e,
|
46
|
-
...r
|
47
|
-
}) => /* @__PURE__ */ t(
|
48
|
-
"div",
|
49
|
-
{
|
50
|
-
className: s("grid gap-1.5 p-4 text-center sm:text-left", e),
|
51
|
-
...r
|
52
|
-
}
|
53
|
-
);
|
54
|
-
f.displayName = "DrawerHeader";
|
55
|
-
const w = ({
|
56
|
-
className: e,
|
57
|
-
...r
|
58
|
-
}) => /* @__PURE__ */ t(
|
59
|
-
"div",
|
60
|
-
{
|
61
|
-
className: s("mt-auto flex flex-col gap-2 p-4", e),
|
62
|
-
...r
|
63
|
-
}
|
64
|
-
);
|
65
|
-
w.displayName = "DrawerFooter";
|
66
|
-
const D = l.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ t(
|
67
|
-
a.Title,
|
68
|
-
{
|
69
|
-
ref: o,
|
70
|
-
className: s(
|
71
|
-
"text-lg font-semibold leading-none tracking-tight",
|
72
|
-
e
|
73
|
-
),
|
74
|
-
...r
|
75
|
-
}
|
76
|
-
));
|
77
|
-
D.displayName = a.Title.displayName;
|
78
|
-
const x = l.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ t(
|
79
|
-
a.Description,
|
80
|
-
{
|
81
|
-
ref: o,
|
82
|
-
className: s("text-sm text-muted-foreground", e),
|
83
|
-
...r
|
84
|
-
}
|
85
|
-
));
|
86
|
-
x.displayName = a.Description.displayName;
|
87
|
-
export {
|
88
|
-
n as Drawer,
|
89
|
-
b as DrawerClose,
|
90
|
-
p as DrawerContent,
|
91
|
-
x as DrawerDescription,
|
92
|
-
w as DrawerFooter,
|
93
|
-
f as DrawerHeader,
|
94
|
-
d as DrawerOverlay,
|
95
|
-
c as DrawerPortal,
|
96
|
-
D as DrawerTitle,
|
97
|
-
u as DrawerTrigger
|
98
|
-
};
|
package/Drawer/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './Drawer';
|
package/Drawer/index.mjs
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
import { Drawer as a, DrawerClose as D, DrawerContent as w, DrawerDescription as o, DrawerFooter as t, DrawerHeader as i, DrawerOverlay as l, DrawerPortal as n, DrawerTitle as g, DrawerTrigger as p } from "./Drawer.mjs";
|
2
|
-
export {
|
3
|
-
a as Drawer,
|
4
|
-
D as DrawerClose,
|
5
|
-
w as DrawerContent,
|
6
|
-
o as DrawerDescription,
|
7
|
-
t as DrawerFooter,
|
8
|
-
i as DrawerHeader,
|
9
|
-
l as DrawerOverlay,
|
10
|
-
n as DrawerPortal,
|
11
|
-
g as DrawerTitle,
|
12
|
-
p as DrawerTrigger
|
13
|
-
};
|
package/Drawer/package.json
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
3
|
-
declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
4
|
-
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
5
|
-
declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
6
|
-
declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
7
|
-
declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
8
|
-
declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
9
|
-
declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
10
|
-
inset?: boolean;
|
11
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
12
|
-
declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
13
|
-
declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
14
|
-
declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
15
|
-
inset?: boolean;
|
16
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
17
|
-
declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
18
|
-
declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
19
|
-
declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
20
|
-
inset?: boolean;
|
21
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
22
|
-
declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
23
|
-
declare const DropdownMenuShortcut: {
|
24
|
-
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
25
|
-
displayName: string;
|
26
|
-
};
|
27
|
-
export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, };
|
@@ -1,148 +0,0 @@
|
|
1
|
-
import { jsxs as l, jsx as n } from "react/jsx-runtime";
|
2
|
-
import * as d from "react";
|
3
|
-
import * as e from "@radix-ui/react-dropdown-menu";
|
4
|
-
import { ChevronRight as c, Check as p, Circle as m } from "lucide-react";
|
5
|
-
import { cn as r } from "@oneplatformdev/utils";
|
6
|
-
const R = e.Root, C = e.Trigger, I = e.Group, S = e.Portal, _ = e.Sub, z = e.RadioGroup, u = d.forwardRef(({ className: t, inset: o, children: a, ...s }, i) => /* @__PURE__ */ l(
|
7
|
-
e.SubTrigger,
|
8
|
-
{
|
9
|
-
ref: i,
|
10
|
-
className: r(
|
11
|
-
"flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
12
|
-
o && "pl-8",
|
13
|
-
t
|
14
|
-
),
|
15
|
-
...s,
|
16
|
-
children: [
|
17
|
-
a,
|
18
|
-
/* @__PURE__ */ n(c, { className: "ml-auto" })
|
19
|
-
]
|
20
|
-
}
|
21
|
-
));
|
22
|
-
u.displayName = e.SubTrigger.displayName;
|
23
|
-
const f = d.forwardRef(({ className: t, ...o }, a) => /* @__PURE__ */ n(
|
24
|
-
e.SubContent,
|
25
|
-
{
|
26
|
-
ref: a,
|
27
|
-
className: r(
|
28
|
-
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
29
|
-
t
|
30
|
-
),
|
31
|
-
...o
|
32
|
-
}
|
33
|
-
));
|
34
|
-
f.displayName = e.SubContent.displayName;
|
35
|
-
const g = d.forwardRef(({ className: t, sideOffset: o = 4, ...a }, s) => /* @__PURE__ */ n(e.Portal, { children: /* @__PURE__ */ n(
|
36
|
-
e.Content,
|
37
|
-
{
|
38
|
-
ref: s,
|
39
|
-
sideOffset: o,
|
40
|
-
className: r(
|
41
|
-
"z-50 min-w-[8rem] overflow-hidden p-0.5 gap-0 text-popover-foreground",
|
42
|
-
"rounded-lg border border-[#DCDDE1] bg-popover",
|
43
|
-
"shadow-[0px_10px_20px_rgba(3,_4,_7,_0.0625)]",
|
44
|
-
"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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
45
|
-
t
|
46
|
-
),
|
47
|
-
...a
|
48
|
-
}
|
49
|
-
) }));
|
50
|
-
g.displayName = e.Content.displayName;
|
51
|
-
const b = d.forwardRef(({ className: t, inset: o, ...a }, s) => /* @__PURE__ */ n(
|
52
|
-
e.Item,
|
53
|
-
{
|
54
|
-
ref: s,
|
55
|
-
className: r(
|
56
|
-
"relative flex cursor-default select-none items-center gap-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",
|
57
|
-
"rounded-md",
|
58
|
-
"px-1.5 py-2",
|
59
|
-
o && "pl-8",
|
60
|
-
t
|
61
|
-
),
|
62
|
-
...a
|
63
|
-
}
|
64
|
-
));
|
65
|
-
b.displayName = e.Item.displayName;
|
66
|
-
const w = d.forwardRef(({ className: t, children: o, checked: a, ...s }, i) => /* @__PURE__ */ l(
|
67
|
-
e.CheckboxItem,
|
68
|
-
{
|
69
|
-
ref: i,
|
70
|
-
className: r(
|
71
|
-
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
72
|
-
t
|
73
|
-
),
|
74
|
-
checked: a,
|
75
|
-
...s,
|
76
|
-
children: [
|
77
|
-
/* @__PURE__ */ n("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ n(e.ItemIndicator, { children: /* @__PURE__ */ n(p, { className: "h-4 w-4" }) }) }),
|
78
|
-
o
|
79
|
-
]
|
80
|
-
}
|
81
|
-
));
|
82
|
-
w.displayName = e.CheckboxItem.displayName;
|
83
|
-
const x = d.forwardRef(({ className: t, children: o, ...a }, s) => /* @__PURE__ */ l(
|
84
|
-
e.RadioItem,
|
85
|
-
{
|
86
|
-
ref: s,
|
87
|
-
className: r(
|
88
|
-
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
89
|
-
t
|
90
|
-
),
|
91
|
-
...a,
|
92
|
-
children: [
|
93
|
-
/* @__PURE__ */ n("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ n(e.ItemIndicator, { children: /* @__PURE__ */ n(m, { className: "h-2 w-2 fill-current" }) }) }),
|
94
|
-
o
|
95
|
-
]
|
96
|
-
}
|
97
|
-
));
|
98
|
-
x.displayName = e.RadioItem.displayName;
|
99
|
-
const h = d.forwardRef(({ className: t, inset: o, ...a }, s) => /* @__PURE__ */ n(
|
100
|
-
e.Label,
|
101
|
-
{
|
102
|
-
ref: s,
|
103
|
-
className: r(
|
104
|
-
"px-2 py-1.5 text-sm font-semibold",
|
105
|
-
o && "pl-8",
|
106
|
-
t
|
107
|
-
),
|
108
|
-
...a
|
109
|
-
}
|
110
|
-
));
|
111
|
-
h.displayName = e.Label.displayName;
|
112
|
-
const N = d.forwardRef(({ className: t, ...o }, a) => /* @__PURE__ */ n(
|
113
|
-
e.Separator,
|
114
|
-
{
|
115
|
-
ref: a,
|
116
|
-
className: r("-mx-1 my-1 h-px bg-muted", t),
|
117
|
-
...o
|
118
|
-
}
|
119
|
-
));
|
120
|
-
N.displayName = e.Separator.displayName;
|
121
|
-
const y = ({
|
122
|
-
className: t,
|
123
|
-
...o
|
124
|
-
}) => /* @__PURE__ */ n(
|
125
|
-
"span",
|
126
|
-
{
|
127
|
-
className: r("ml-auto text-xs tracking-widest opacity-60", t),
|
128
|
-
...o
|
129
|
-
}
|
130
|
-
);
|
131
|
-
y.displayName = "DropdownMenuShortcut";
|
132
|
-
export {
|
133
|
-
R as DropdownMenu,
|
134
|
-
w as DropdownMenuCheckboxItem,
|
135
|
-
g as DropdownMenuContent,
|
136
|
-
I as DropdownMenuGroup,
|
137
|
-
b as DropdownMenuItem,
|
138
|
-
h as DropdownMenuLabel,
|
139
|
-
S as DropdownMenuPortal,
|
140
|
-
z as DropdownMenuRadioGroup,
|
141
|
-
x as DropdownMenuRadioItem,
|
142
|
-
N as DropdownMenuSeparator,
|
143
|
-
y as DropdownMenuShortcut,
|
144
|
-
_ as DropdownMenuSub,
|
145
|
-
f as DropdownMenuSubContent,
|
146
|
-
u as DropdownMenuSubTrigger,
|
147
|
-
C as DropdownMenuTrigger
|
148
|
-
};
|
package/DropdownMenu/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './DropdownMenu';
|
package/DropdownMenu/index.mjs
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
import { DropdownMenu as r, DropdownMenuCheckboxItem as e, DropdownMenuContent as u, DropdownMenuGroup as p, DropdownMenuItem as d, DropdownMenuLabel as w, DropdownMenuPortal as D, DropdownMenuRadioGroup as M, DropdownMenuRadioItem as t, DropdownMenuSeparator as a, DropdownMenuShortcut as b, DropdownMenuSub as S, DropdownMenuSubContent as g, DropdownMenuSubTrigger as i, DropdownMenuTrigger as m } from "./DropdownMenu.mjs";
|
2
|
-
export {
|
3
|
-
r as DropdownMenu,
|
4
|
-
e as DropdownMenuCheckboxItem,
|
5
|
-
u as DropdownMenuContent,
|
6
|
-
p as DropdownMenuGroup,
|
7
|
-
d as DropdownMenuItem,
|
8
|
-
w as DropdownMenuLabel,
|
9
|
-
D as DropdownMenuPortal,
|
10
|
-
M as DropdownMenuRadioGroup,
|
11
|
-
t as DropdownMenuRadioItem,
|
12
|
-
a as DropdownMenuSeparator,
|
13
|
-
b as DropdownMenuShortcut,
|
14
|
-
S as DropdownMenuSub,
|
15
|
-
g as DropdownMenuSubContent,
|
16
|
-
i as DropdownMenuSubTrigger,
|
17
|
-
m as DropdownMenuTrigger
|
18
|
-
};
|
package/Dropzone/Dropzone.d.ts
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
import { DropzoneControl, DropzoneProps } from './Dropzone.types';
|
2
|
-
|
3
|
-
/**
|
4
|
-
* Dropzone component - A drag-and-drop file upload area with image previews, error handling, and localization.
|
5
|
-
*
|
6
|
-
* @component
|
7
|
-
* @param {DropzoneProps} props - The props for the Dropzone component.
|
8
|
-
* @param {string[]} [props.acceptTypes=DEFAULT_FILE_TYPES] - Allowed file MIME types.
|
9
|
-
* @param {number} props.maxSizeMB - Maximum allowed file size in megabytes.
|
10
|
-
* @param {number} [props.maxFiles=1] - Maximum number of files that can be uploaded.
|
11
|
-
* @param {DropzoneTranslations} props.translations - Translations for text labels.
|
12
|
-
* @param {(errors: FileRejection[]) => void} [props.onErrors] - Callback triggered when file errors occur.
|
13
|
-
* @param {boolean} [props.hideErrors=false] - Whether to hide error messages.
|
14
|
-
* @param {boolean} [props.disabled=false] - Whether the dropzone is disabled.
|
15
|
-
* @param {DropzoneStyles} [props.classNames] - Custom classNames for different dropzone states.
|
16
|
-
* @param {DropzoneValueItem[]} [props.value=[]] - Current selected files or URLs.
|
17
|
-
* @param {(items: DropzoneValueItem[]) => void} [props.onChangeValue] - Callback triggered when file selection changes.
|
18
|
-
* @param {string} [props.className] - Additional class names for styling.
|
19
|
-
* @param {React.Ref<HTMLDivElement>} ref - Ref for the root dropzone container.
|
20
|
-
* @returns {JSX.Element} The rendered Dropzone component.
|
21
|
-
*/
|
22
|
-
export declare const Dropzone: import('react').ForwardRefExoticComponent<DropzoneProps & import('react').RefAttributes<DropzoneControl>>;
|