@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
@@ -1,67 +0,0 @@
|
|
1
|
-
import "react/jsx-runtime";
|
2
|
-
import "react";
|
3
|
-
import "../Accordion/Accordion.mjs";
|
4
|
-
import "../Alert/Alert.mjs";
|
5
|
-
import "../AlertDialog/AlertDialogRoot.mjs";
|
6
|
-
import "@oneplatformdev/utils";
|
7
|
-
import "recharts";
|
8
|
-
import "../Chart/Chart.mjs";
|
9
|
-
import "../Sidebar/Sidebar.mjs";
|
10
|
-
import "@radix-ui/react-aspect-ratio";
|
11
|
-
import "../Avatar/Avatar.mjs";
|
12
|
-
import "../Badge/badgeVariants.mjs";
|
13
|
-
import "../Breadcrumb/Breadcrumb.mjs";
|
14
|
-
import "../Button/Button.mjs";
|
15
|
-
import "../Button/buttonVariants.mjs";
|
16
|
-
import "../ButtonIcon/ButtonIcon.mjs";
|
17
|
-
import "../ButtonIcon/buttonIconVariants.mjs";
|
18
|
-
import "../Calendar/Calendar.mjs";
|
19
|
-
import "../Card/Card.mjs";
|
20
|
-
import "../Carousel/Carousel.mjs";
|
21
|
-
import "../Checkbox/Checkbox.mjs";
|
22
|
-
import "@radix-ui/react-collapsible";
|
23
|
-
import { a as no } from "../Combobox-Dfbnw0oF.js";
|
24
|
-
import "../Command/Command.mjs";
|
25
|
-
import "../DropdownMenu/DropdownMenu.mjs";
|
26
|
-
import "../Table/Table.mjs";
|
27
|
-
import "@tanstack/react-table";
|
28
|
-
import "lucide-react";
|
29
|
-
import "../DatePicker/DatePicker.mjs";
|
30
|
-
import "../Dialog/Dialog.mjs";
|
31
|
-
import "../Drawer/Drawer.mjs";
|
32
|
-
import "../Form/Form.mjs";
|
33
|
-
import "../FormInput/FormInput.mjs";
|
34
|
-
import "../Select/SelectRoot.mjs";
|
35
|
-
import "../Textarea/Textarea.mjs";
|
36
|
-
import "../Separator/Separator.mjs";
|
37
|
-
import "../HoverCard/HoverCard.mjs";
|
38
|
-
import "../Input/Input.mjs";
|
39
|
-
import "../InputOTP/InputOTP.mjs";
|
40
|
-
import "../Label/Label.mjs";
|
41
|
-
import "../Label/labelVariants.mjs";
|
42
|
-
import "../LoadingMask/RenderLoadingMask.mjs";
|
43
|
-
import "../LoadingProgress/loadingProgressVariants.mjs";
|
44
|
-
import "../Menubar/Menubar.mjs";
|
45
|
-
import "../NavigationMenu/NavigationMenu.mjs";
|
46
|
-
import "../NavigationMenu/navigationMenuVariants.mjs";
|
47
|
-
import "../Pagination/Pagination.mjs";
|
48
|
-
import "../Popover/Popover.mjs";
|
49
|
-
import "../Progress/Progress.mjs";
|
50
|
-
import "../RadioGroup/RadioGroup.mjs";
|
51
|
-
import "react-resizable-panels";
|
52
|
-
import "../ScrollArea/ScrollArea.mjs";
|
53
|
-
import "@oneplatformdev/hooks";
|
54
|
-
import "../Sheet/Sheet.mjs";
|
55
|
-
import "../Slider/Slider.mjs";
|
56
|
-
import "next-themes";
|
57
|
-
import "sonner";
|
58
|
-
import "../Switch/Switch.mjs";
|
59
|
-
import "../Tabs/TabsRoot.mjs";
|
60
|
-
import "../Toast/Toast.mjs";
|
61
|
-
import "../Toggle/Toggle.mjs";
|
62
|
-
import "../ToggleGroup/ToggleGroup.mjs";
|
63
|
-
import "../Tooltip/TooltipRoot.mjs";
|
64
|
-
import "../Dropzone/Dropzone.mjs";
|
65
|
-
export {
|
66
|
-
no as ComboboxOptionItem
|
67
|
-
};
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import { IComboboxOptionsNodeProps, IComboboxOptionsProps } from './Combobox.types';
|
2
|
-
|
3
|
-
export declare const ComboboxOptionsNode: import('react').ForwardRefExoticComponent<IComboboxOptionsNodeProps & import('react').RefAttributes<HTMLDivElement>>;
|
4
|
-
export declare const ComboboxOptions: import('react').ForwardRefExoticComponent<IComboboxOptionsProps & import('react').RefAttributes<HTMLDivElement>>;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import "react/jsx-runtime";
|
2
|
-
import "../Button/Button.mjs";
|
3
|
-
import "../Button/buttonVariants.mjs";
|
4
|
-
import "react";
|
5
|
-
import "../Collapsible/Collapsible.mjs";
|
6
|
-
import { c as a, b as e } from "../Combobox-Dfbnw0oF.js";
|
7
|
-
import "lucide-react";
|
8
|
-
import "@oneplatformdev/utils";
|
9
|
-
export {
|
10
|
-
a as ComboboxOptions,
|
11
|
-
e as ComboboxOptionsNode
|
12
|
-
};
|
package/Combobox/index.d.ts
DELETED
package/Combobox/index.mjs
DELETED
package/Combobox/package.json
DELETED
package/Combobox-Dfbnw0oF.js
DELETED
@@ -1,303 +0,0 @@
|
|
1
|
-
import { jsxs as s, jsx as e, Fragment as A } from "react/jsx-runtime";
|
2
|
-
import f, { forwardRef as y, useState as V, useRef as W, useEffect as X, useCallback as g, useLayoutEffect as H } from "react";
|
3
|
-
import { LoadingMask as J } from "./LoadingMask/LoadingMask.mjs";
|
4
|
-
import "./LoadingMask/RenderLoadingMask.mjs";
|
5
|
-
import { Popover as K, PopoverTrigger as Q, PopoverContent as Y } from "./Popover/Popover.mjs";
|
6
|
-
import { Button as _ } from "./Button/Button.mjs";
|
7
|
-
import "./Button/buttonVariants.mjs";
|
8
|
-
import { CommandItem as Z, Command as $, CommandInput as ee, CommandList as te, CommandGroup as oe, CommandEmpty as F } from "./Command/Command.mjs";
|
9
|
-
import { cn as p } from "@oneplatformdev/utils";
|
10
|
-
import { useDebounceCallback as re } from "@oneplatformdev/hooks";
|
11
|
-
import { Check as ae, ChevronDownIcon as ie, X as ne, ChevronsUpDown as le } from "lucide-react";
|
12
|
-
import { Collapsible as se, CollapsibleTrigger as pe, CollapsibleContent as me } from "./Collapsible/Collapsible.mjs";
|
13
|
-
import "./Accordion/Accordion.mjs";
|
14
|
-
import "./Alert/Alert.mjs";
|
15
|
-
import "./AlertDialog/AlertDialogRoot.mjs";
|
16
|
-
import "recharts";
|
17
|
-
import "./Chart/Chart.mjs";
|
18
|
-
import "./Sidebar/Sidebar.mjs";
|
19
|
-
import "@radix-ui/react-aspect-ratio";
|
20
|
-
import "./Avatar/Avatar.mjs";
|
21
|
-
import "./Badge/badgeVariants.mjs";
|
22
|
-
import "./Breadcrumb/Breadcrumb.mjs";
|
23
|
-
import "./ButtonIcon/ButtonIcon.mjs";
|
24
|
-
import "./ButtonIcon/buttonIconVariants.mjs";
|
25
|
-
import "./Calendar/Calendar.mjs";
|
26
|
-
import "./Card/Card.mjs";
|
27
|
-
import "./Carousel/Carousel.mjs";
|
28
|
-
import "./Checkbox/Checkbox.mjs";
|
29
|
-
import "@radix-ui/react-collapsible";
|
30
|
-
import "./DropdownMenu/DropdownMenu.mjs";
|
31
|
-
import "./Table/Table.mjs";
|
32
|
-
import "@tanstack/react-table";
|
33
|
-
import "./DatePicker/DatePicker.mjs";
|
34
|
-
import "./Dialog/Dialog.mjs";
|
35
|
-
import "./Drawer/Drawer.mjs";
|
36
|
-
import "./Form/Form.mjs";
|
37
|
-
import "./FormInput/FormInput.mjs";
|
38
|
-
import "./Select/SelectRoot.mjs";
|
39
|
-
import "./Textarea/Textarea.mjs";
|
40
|
-
import "./Separator/Separator.mjs";
|
41
|
-
import "./HoverCard/HoverCard.mjs";
|
42
|
-
import "./Input/Input.mjs";
|
43
|
-
import "./InputOTP/InputOTP.mjs";
|
44
|
-
import "./Label/Label.mjs";
|
45
|
-
import "./Label/labelVariants.mjs";
|
46
|
-
import "./LoadingProgress/loadingProgressVariants.mjs";
|
47
|
-
import "./Menubar/Menubar.mjs";
|
48
|
-
import "./NavigationMenu/NavigationMenu.mjs";
|
49
|
-
import "./NavigationMenu/navigationMenuVariants.mjs";
|
50
|
-
import "./Pagination/Pagination.mjs";
|
51
|
-
import "./Progress/Progress.mjs";
|
52
|
-
import "./RadioGroup/RadioGroup.mjs";
|
53
|
-
import "react-resizable-panels";
|
54
|
-
import "./ScrollArea/ScrollArea.mjs";
|
55
|
-
import "./Sheet/Sheet.mjs";
|
56
|
-
import "./Slider/Slider.mjs";
|
57
|
-
import "next-themes";
|
58
|
-
import "sonner";
|
59
|
-
import "./Switch/Switch.mjs";
|
60
|
-
import "./Tabs/TabsRoot.mjs";
|
61
|
-
import "./Toast/Toast.mjs";
|
62
|
-
import "./Toggle/Toggle.mjs";
|
63
|
-
import "./ToggleGroup/ToggleGroup.mjs";
|
64
|
-
import "./Tooltip/TooltipRoot.mjs";
|
65
|
-
import "./Dropzone/Dropzone.mjs";
|
66
|
-
const ce = 8, I = y((n, l) => {
|
67
|
-
const { children: t, setOpen: m, option: o, onChangeOption: i, value: c = "", deep: a = 0 } = n;
|
68
|
-
return /* @__PURE__ */ s(
|
69
|
-
Z,
|
70
|
-
{
|
71
|
-
ref: l,
|
72
|
-
value: o.value,
|
73
|
-
onSelect: () => {
|
74
|
-
c === o.value ? i == null || i({ value: "", label: "" }) : i == null || i(o), m(!1);
|
75
|
-
},
|
76
|
-
style: {
|
77
|
-
paddingLeft: (a + 1) * ce
|
78
|
-
},
|
79
|
-
children: [
|
80
|
-
t,
|
81
|
-
/* @__PURE__ */ e(
|
82
|
-
"span",
|
83
|
-
{
|
84
|
-
className: p(
|
85
|
-
"overflow-hidden whitespace-wrap text-ellipsis line-clamp-2"
|
86
|
-
),
|
87
|
-
children: o.label
|
88
|
-
}
|
89
|
-
),
|
90
|
-
/* @__PURE__ */ e(
|
91
|
-
ae,
|
92
|
-
{
|
93
|
-
className: p(
|
94
|
-
"ml-auto",
|
95
|
-
c === o.value ? "opacity-100" : "opacity-0"
|
96
|
-
)
|
97
|
-
}
|
98
|
-
)
|
99
|
-
]
|
100
|
-
},
|
101
|
-
o.value
|
102
|
-
);
|
103
|
-
}), M = y((n, l) => {
|
104
|
-
var c;
|
105
|
-
const { option: t, deep: m = 0 } = n, [o, i] = V(!0);
|
106
|
-
return (c = t == null ? void 0 : t.items) != null && c.length ? /* @__PURE__ */ s(
|
107
|
-
se,
|
108
|
-
{
|
109
|
-
ref: l,
|
110
|
-
open: o,
|
111
|
-
onOpenChange: i,
|
112
|
-
"data-opened": o,
|
113
|
-
className: p("group/collapsible"),
|
114
|
-
children: [
|
115
|
-
/* @__PURE__ */ e(I, { ...n, children: /* @__PURE__ */ e(pe, { asChild: !0, children: /* @__PURE__ */ s(
|
116
|
-
_,
|
117
|
-
{
|
118
|
-
onClick: (a) => {
|
119
|
-
a == null || a.preventDefault(), a == null || a.stopPropagation(), i((d) => !d);
|
120
|
-
},
|
121
|
-
type: "button",
|
122
|
-
variant: "ghost",
|
123
|
-
size: "sm",
|
124
|
-
className: p("aspect-square size-6", "transition-transform"),
|
125
|
-
children: [
|
126
|
-
/* @__PURE__ */ e(
|
127
|
-
ie,
|
128
|
-
{
|
129
|
-
className: p(
|
130
|
-
"!size-5",
|
131
|
-
"transition-transform",
|
132
|
-
o && "rotate-180"
|
133
|
-
)
|
134
|
-
}
|
135
|
-
),
|
136
|
-
/* @__PURE__ */ e("span", { className: "sr-only", children: "Toggle" })
|
137
|
-
]
|
138
|
-
}
|
139
|
-
) }) }),
|
140
|
-
/* @__PURE__ */ e(me, { children: /* @__PURE__ */ e("div", { className: "flex flex-col gap-0", children: t == null ? void 0 : t.items.map((a) => /* @__PURE__ */ e(
|
141
|
-
M,
|
142
|
-
{
|
143
|
-
...n,
|
144
|
-
deep: m + 1,
|
145
|
-
option: a
|
146
|
-
},
|
147
|
-
a.value
|
148
|
-
)) }) })
|
149
|
-
]
|
150
|
-
}
|
151
|
-
) : /* @__PURE__ */ e(I, { ...n, ref: l });
|
152
|
-
}), de = y((n, l) => {
|
153
|
-
const { options: t = [], ...m } = n;
|
154
|
-
return /* @__PURE__ */ e("div", { ref: l, className: "flex flex-col gap-0", children: t.map((o) => /* @__PURE__ */ e(M, { ...m, option: o }, o.value)) });
|
155
|
-
}), St = y(
|
156
|
-
(n, l) => {
|
157
|
-
var j;
|
158
|
-
const {
|
159
|
-
value: t,
|
160
|
-
onChange: m,
|
161
|
-
placeholder: o,
|
162
|
-
disabled: i,
|
163
|
-
searchLabel: c = "Type to search...",
|
164
|
-
fetchOptions: a,
|
165
|
-
options: d,
|
166
|
-
emptyLabel: L = "No options",
|
167
|
-
emptyAction: b,
|
168
|
-
onMount: P
|
169
|
-
} = n, w = W(!1), [u, v] = f.useState(!1), [C, T] = f.useState(""), [N, x] = f.useState([]), [S, k] = f.useState(), [O, h] = f.useState(!1);
|
170
|
-
X(() => {
|
171
|
-
d != null && d.length && x(d);
|
172
|
-
}, [d]);
|
173
|
-
const R = async () => {
|
174
|
-
u || (E(), T(""));
|
175
|
-
}, E = g(async (r) => {
|
176
|
-
h(!0);
|
177
|
-
try {
|
178
|
-
const D = await a(r);
|
179
|
-
x(D);
|
180
|
-
} catch (D) {
|
181
|
-
console.error("Unexpected error while get option:", D);
|
182
|
-
} finally {
|
183
|
-
h(!1);
|
184
|
-
}
|
185
|
-
}, []), q = re(E, 1e3, {
|
186
|
-
leading: !1,
|
187
|
-
trailing: !0
|
188
|
-
}), B = g((r) => {
|
189
|
-
h(!0), T(r), q(r);
|
190
|
-
}, []), z = g((r) => {
|
191
|
-
m(r.value), k(r), h(!1);
|
192
|
-
}, []), G = g(() => {
|
193
|
-
z({ value: "", label: "" }), k(void 0), h(!1);
|
194
|
-
}, []), U = g(() => {
|
195
|
-
if (!P) {
|
196
|
-
w.current = !0;
|
197
|
-
return;
|
198
|
-
}
|
199
|
-
P({ setOptions: x, search: C || "", open: u, setOpen: v }).finally(
|
200
|
-
() => {
|
201
|
-
w.current = !0;
|
202
|
-
}
|
203
|
-
);
|
204
|
-
}, []);
|
205
|
-
return H(() => (U(), () => {
|
206
|
-
w.current = !1;
|
207
|
-
}), []), /* @__PURE__ */ e("div", { className: "w-full", ref: l, children: /* @__PURE__ */ s(
|
208
|
-
K,
|
209
|
-
{
|
210
|
-
open: u,
|
211
|
-
onOpenChange: (r) => {
|
212
|
-
v(r), r && R();
|
213
|
-
},
|
214
|
-
children: [
|
215
|
-
/* @__PURE__ */ e(Q, { asChild: !0, className: "border-input", children: /* @__PURE__ */ s(
|
216
|
-
_,
|
217
|
-
{
|
218
|
-
variant: "outline",
|
219
|
-
role: "combobox",
|
220
|
-
size: "lg",
|
221
|
-
"aria-expanded": u,
|
222
|
-
className: p(
|
223
|
-
"w-full justify-between font-normal text-sm bg-transparent relative p-3",
|
224
|
-
"border border-border",
|
225
|
-
u && "border-2 outline-none ring-1 ring-ring",
|
226
|
-
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
|
227
|
-
),
|
228
|
-
disabled: i,
|
229
|
-
children: [
|
230
|
-
/* @__PURE__ */ e("span", { className: "truncate max-w-[calc(100%-1.5rem)] overflow-hidden whitespace-nowrap", children: t ? ((j = N.find((r) => r.value === t)) == null ? void 0 : j.label) || (S == null ? void 0 : S.label) : /* @__PURE__ */ e("span", { className: "text-gray-400", children: o }) }),
|
231
|
-
t ? /* @__PURE__ */ e(
|
232
|
-
"div",
|
233
|
-
{
|
234
|
-
className: p(
|
235
|
-
"absolute top-0 right-1",
|
236
|
-
"flex items-center justify-center",
|
237
|
-
"w-9 aspect-square [&_svg]:size-5",
|
238
|
-
"opacity-50 cursor-pointer hover:opacity-100"
|
239
|
-
),
|
240
|
-
onClick: (r) => {
|
241
|
-
r.stopPropagation(), G();
|
242
|
-
},
|
243
|
-
children: /* @__PURE__ */ e(ne, {})
|
244
|
-
}
|
245
|
-
) : /* @__PURE__ */ e(le, { className: "opacity-50 w-4 h-4" })
|
246
|
-
]
|
247
|
-
}
|
248
|
-
) }),
|
249
|
-
/* @__PURE__ */ e(
|
250
|
-
Y,
|
251
|
-
{
|
252
|
-
className: "w-[var(--radix-popper-anchor-width)] max-w-none p-0",
|
253
|
-
align: "start",
|
254
|
-
children: /* @__PURE__ */ s($, { shouldFilter: !1, children: [
|
255
|
-
/* @__PURE__ */ e(
|
256
|
-
ee,
|
257
|
-
{
|
258
|
-
placeholder: c,
|
259
|
-
value: C,
|
260
|
-
onValueChange: B
|
261
|
-
}
|
262
|
-
),
|
263
|
-
/* @__PURE__ */ e(te, { children: /* @__PURE__ */ s(
|
264
|
-
oe,
|
265
|
-
{
|
266
|
-
className: p(!N.length && "p-0 shadow-none"),
|
267
|
-
children: [
|
268
|
-
O && /* @__PURE__ */ e(J, { fullWidth: !0 }),
|
269
|
-
!O && !!C && /* @__PURE__ */ e(A, { children: b ? /* @__PURE__ */ s(F, { className: "flex flex-col gap-3 py-5 px-3 items-center", children: [
|
270
|
-
/* @__PURE__ */ e("span", { children: L }),
|
271
|
-
typeof b == "function" ? b({
|
272
|
-
setOptions: x,
|
273
|
-
search: C || "",
|
274
|
-
open: u,
|
275
|
-
setOpen: v
|
276
|
-
}) : b
|
277
|
-
] }) : /* @__PURE__ */ e(F, { children: L }) }),
|
278
|
-
!O && /* @__PURE__ */ e(
|
279
|
-
de,
|
280
|
-
{
|
281
|
-
value: t,
|
282
|
-
options: N,
|
283
|
-
onChangeOption: z,
|
284
|
-
setOpen: v
|
285
|
-
}
|
286
|
-
)
|
287
|
-
]
|
288
|
-
}
|
289
|
-
) })
|
290
|
-
] })
|
291
|
-
}
|
292
|
-
)
|
293
|
-
]
|
294
|
-
}
|
295
|
-
) });
|
296
|
-
}
|
297
|
-
);
|
298
|
-
export {
|
299
|
-
St as C,
|
300
|
-
I as a,
|
301
|
-
M as b,
|
302
|
-
de as c
|
303
|
-
};
|
package/Command/Command.d.ts
DELETED
@@ -1,80 +0,0 @@
|
|
1
|
-
import { DialogProps } from '@radix-ui/react-dialog';
|
2
|
-
import * as React from 'react';
|
3
|
-
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
4
|
-
children?: React.ReactNode;
|
5
|
-
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
6
|
-
ref?: React.Ref<HTMLDivElement>;
|
7
|
-
} & {
|
8
|
-
asChild?: boolean;
|
9
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
10
|
-
label?: string;
|
11
|
-
shouldFilter?: boolean;
|
12
|
-
filter?: (value: string, search: string, keywords?: string[]) => number;
|
13
|
-
defaultValue?: string;
|
14
|
-
value?: string;
|
15
|
-
onValueChange?: (value: string) => void;
|
16
|
-
loop?: boolean;
|
17
|
-
disablePointerSelection?: boolean;
|
18
|
-
vimBindings?: boolean;
|
19
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
20
|
-
declare const CommandDialog: ({ children, ...props }: DialogProps) => import("react/jsx-runtime").JSX.Element;
|
21
|
-
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
|
22
|
-
ref?: React.Ref<HTMLInputElement>;
|
23
|
-
} & {
|
24
|
-
asChild?: boolean;
|
25
|
-
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
|
26
|
-
value?: string;
|
27
|
-
onValueChange?: (search: string) => void;
|
28
|
-
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
29
|
-
declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
30
|
-
children?: React.ReactNode;
|
31
|
-
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
32
|
-
ref?: React.Ref<HTMLDivElement>;
|
33
|
-
} & {
|
34
|
-
asChild?: boolean;
|
35
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
36
|
-
label?: string;
|
37
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
38
|
-
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
39
|
-
children?: React.ReactNode;
|
40
|
-
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
41
|
-
ref?: React.Ref<HTMLDivElement>;
|
42
|
-
} & {
|
43
|
-
asChild?: boolean;
|
44
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
45
|
-
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
46
|
-
children?: React.ReactNode;
|
47
|
-
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
48
|
-
ref?: React.Ref<HTMLDivElement>;
|
49
|
-
} & {
|
50
|
-
asChild?: boolean;
|
51
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "heading" | "value"> & {
|
52
|
-
heading?: React.ReactNode;
|
53
|
-
value?: string;
|
54
|
-
forceMount?: boolean;
|
55
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
56
|
-
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
57
|
-
ref?: React.Ref<HTMLDivElement>;
|
58
|
-
} & {
|
59
|
-
asChild?: boolean;
|
60
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
61
|
-
alwaysRender?: boolean;
|
62
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
63
|
-
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
64
|
-
children?: React.ReactNode;
|
65
|
-
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
66
|
-
ref?: React.Ref<HTMLDivElement>;
|
67
|
-
} & {
|
68
|
-
asChild?: boolean;
|
69
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
70
|
-
disabled?: boolean;
|
71
|
-
onSelect?: (value: string) => void;
|
72
|
-
value?: string;
|
73
|
-
keywords?: string[];
|
74
|
-
forceMount?: boolean;
|
75
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
76
|
-
declare const CommandShortcut: {
|
77
|
-
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
78
|
-
displayName: string;
|
79
|
-
};
|
80
|
-
export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };
|
package/Command/Command.mjs
DELETED
@@ -1,116 +0,0 @@
|
|
1
|
-
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
2
|
-
import * as m from "react";
|
3
|
-
import { Command as t } from "cmdk";
|
4
|
-
import { Search as p } from "lucide-react";
|
5
|
-
import { cn as r } from "@oneplatformdev/utils";
|
6
|
-
import { Dialog as i, DialogContent as l } from "../Dialog/Dialog.mjs";
|
7
|
-
const n = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ o(
|
8
|
-
t,
|
9
|
-
{
|
10
|
-
ref: d,
|
11
|
-
className: r(
|
12
|
-
"flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
|
13
|
-
e
|
14
|
-
),
|
15
|
-
...a
|
16
|
-
}
|
17
|
-
));
|
18
|
-
n.displayName = t.displayName;
|
19
|
-
const C = ({ children: e, ...a }) => /* @__PURE__ */ o(i, { ...a, children: /* @__PURE__ */ o(l, { className: "overflow-hidden p-0", children: /* @__PURE__ */ o(n, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: e }) }) }), c = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ s("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
20
|
-
/* @__PURE__ */ o(p, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
21
|
-
/* @__PURE__ */ o(
|
22
|
-
t.Input,
|
23
|
-
{
|
24
|
-
ref: d,
|
25
|
-
className: r(
|
26
|
-
"flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
|
27
|
-
e
|
28
|
-
),
|
29
|
-
...a
|
30
|
-
}
|
31
|
-
)
|
32
|
-
] }));
|
33
|
-
c.displayName = t.Input.displayName;
|
34
|
-
const u = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ o(
|
35
|
-
t.List,
|
36
|
-
{
|
37
|
-
ref: d,
|
38
|
-
className: r("max-h-[300px] overflow-y-auto overflow-x-hidden", e),
|
39
|
-
...a
|
40
|
-
}
|
41
|
-
));
|
42
|
-
u.displayName = t.List.displayName;
|
43
|
-
const f = m.forwardRef((e, a) => /* @__PURE__ */ o(
|
44
|
-
t.Empty,
|
45
|
-
{
|
46
|
-
ref: a,
|
47
|
-
className: "py-6 text-center text-sm",
|
48
|
-
...e
|
49
|
-
}
|
50
|
-
));
|
51
|
-
f.displayName = t.Empty.displayName;
|
52
|
-
const g = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ o(
|
53
|
-
t.Group,
|
54
|
-
{
|
55
|
-
ref: d,
|
56
|
-
className: r(
|
57
|
-
"overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
|
58
|
-
e
|
59
|
-
),
|
60
|
-
...a
|
61
|
-
}
|
62
|
-
));
|
63
|
-
g.displayName = t.Group.displayName;
|
64
|
-
const x = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ o(
|
65
|
-
t.Separator,
|
66
|
-
{
|
67
|
-
ref: d,
|
68
|
-
className: r("-mx-1 h-px bg-border", e),
|
69
|
-
...a
|
70
|
-
}
|
71
|
-
));
|
72
|
-
x.displayName = t.Separator.displayName;
|
73
|
-
const h = m.forwardRef(({ className: e, ...a }, d) => /* @__PURE__ */ o(
|
74
|
-
t.Item,
|
75
|
-
{
|
76
|
-
ref: d,
|
77
|
-
className: r(
|
78
|
-
"relative flex gap-2 select-none items-center rounded-sm",
|
79
|
-
"min-h-8 px-2 py-1",
|
80
|
-
"[&>span]:py-1",
|
81
|
-
"text-sm text-[#666A78] font-medium leading-[1.12]",
|
82
|
-
"data-[selected=true]:bg-accent",
|
83
|
-
"data-[selected=true]:text-[#191F35] hover:text-[#191F35]",
|
84
|
-
"outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
85
|
-
"cursor-pointer",
|
86
|
-
e
|
87
|
-
),
|
88
|
-
...a
|
89
|
-
}
|
90
|
-
));
|
91
|
-
h.displayName = t.Item.displayName;
|
92
|
-
const y = ({
|
93
|
-
className: e,
|
94
|
-
...a
|
95
|
-
}) => /* @__PURE__ */ o(
|
96
|
-
"span",
|
97
|
-
{
|
98
|
-
className: r(
|
99
|
-
"ml-auto text-xs tracking-widest text-muted-foreground",
|
100
|
-
e
|
101
|
-
),
|
102
|
-
...a
|
103
|
-
}
|
104
|
-
);
|
105
|
-
y.displayName = "CommandShortcut";
|
106
|
-
export {
|
107
|
-
n as Command,
|
108
|
-
C as CommandDialog,
|
109
|
-
f as CommandEmpty,
|
110
|
-
g as CommandGroup,
|
111
|
-
c as CommandInput,
|
112
|
-
h as CommandItem,
|
113
|
-
u as CommandList,
|
114
|
-
x as CommandSeparator,
|
115
|
-
y as CommandShortcut
|
116
|
-
};
|
package/Command/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './Command';
|
package/Command/index.mjs
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
import { Command as a, CommandDialog as n, CommandEmpty as d, CommandGroup as C, CommandInput as t, CommandItem as r, CommandList as p, CommandSeparator as e, CommandShortcut as u } from "./Command.mjs";
|
2
|
-
export {
|
3
|
-
a as Command,
|
4
|
-
n as CommandDialog,
|
5
|
-
d as CommandEmpty,
|
6
|
-
C as CommandGroup,
|
7
|
-
t as CommandInput,
|
8
|
-
r as CommandItem,
|
9
|
-
p as CommandList,
|
10
|
-
e as CommandSeparator,
|
11
|
-
u as CommandShortcut
|
12
|
-
};
|
package/Command/package.json
DELETED
package/DataTable/DataTable.d.ts
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
import { default as React, FC } from 'react';
|
2
|
-
import { Table as ReactTable } from '@tanstack/react-table';
|
3
|
-
|
4
|
-
interface IProps {
|
5
|
-
table: ReactTable<any>;
|
6
|
-
ToolBar?: React.ReactNode;
|
7
|
-
tColumns?: string;
|
8
|
-
tNoResults?: string;
|
9
|
-
}
|
10
|
-
export declare const DataTable: FC<IProps>;
|
11
|
-
export {};
|