@oneplatformdev/ui 0.0.1-beta.98 → 0.1.2-1
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 +4 -30
- package/package.json +35 -92
- package/src/globals.css +123 -0
- 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/Button.d.ts +0 -4
- package/Button/Button.mjs +0 -32
- package/Button/Button.types.d.ts +0 -8
- package/Button/buttonVariants.d.ts +0 -4
- package/Button/buttonVariants.mjs +0 -29
- package/Button/index.d.ts +0 -3
- package/Button/index.mjs +0 -7
- package/Button/package.json +0 -7
- package/ButtonIcon/ButtonIcon.d.ts +0 -3
- package/ButtonIcon/ButtonIcon.mjs +0 -29
- package/ButtonIcon/ButtonIcon.types.d.ts +0 -7
- package/ButtonIcon/buttonIconVariants.d.ts +0 -7
- package/ButtonIcon/buttonIconVariants.mjs +0 -139
- package/ButtonIcon/index.d.ts +0 -3
- 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-B0sHDL7X.js +0 -301
- 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 -74
- 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/Tooltip.d.ts +0 -4
- package/Tooltip/Tooltip.mjs +0 -12
- package/Tooltip/Tooltip.types.d.ts +0 -8
- package/Tooltip/TooltipRoot.d.ts +0 -7
- package/Tooltip/TooltipRoot.mjs +0 -23
- package/Tooltip/index.d.ts +0 -3
- package/Tooltip/index.mjs +0 -9
- 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/Menubar/Menubar.d.ts
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
import * as React from "react";
|
2
|
-
import * as MenubarPrimitive from "@radix-ui/react-menubar";
|
3
|
-
declare const MenubarMenu: typeof MenubarPrimitive.Menu;
|
4
|
-
declare const MenubarGroup: typeof MenubarPrimitive.Group;
|
5
|
-
declare const MenubarPortal: typeof MenubarPrimitive.Portal;
|
6
|
-
declare const MenubarSub: typeof MenubarPrimitive.Sub;
|
7
|
-
declare const MenubarRadioGroup: typeof MenubarPrimitive.RadioGroup;
|
8
|
-
declare const Menubar: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
9
|
-
declare const MenubarTrigger: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
10
|
-
declare const MenubarSubTrigger: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
11
|
-
inset?: boolean;
|
12
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
13
|
-
declare const MenubarSubContent: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
14
|
-
declare const MenubarContent: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
15
|
-
declare const MenubarItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
16
|
-
inset?: boolean;
|
17
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
18
|
-
declare const MenubarCheckboxItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
19
|
-
declare const MenubarRadioItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
20
|
-
declare const MenubarLabel: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
21
|
-
inset?: boolean;
|
22
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
23
|
-
declare const MenubarSeparator: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
24
|
-
declare const MenubarShortcut: {
|
25
|
-
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
26
|
-
displayname: string;
|
27
|
-
};
|
28
|
-
export { Menubar, MenubarMenu, MenubarTrigger, MenubarContent, MenubarItem, MenubarSeparator, MenubarLabel, MenubarCheckboxItem, MenubarRadioGroup, MenubarRadioItem, MenubarPortal, MenubarSubContent, MenubarSubTrigger, MenubarGroup, MenubarSub, MenubarShortcut, };
|
package/Menubar/Menubar.mjs
DELETED
@@ -1,175 +0,0 @@
|
|
1
|
-
import { jsx as n, jsxs as c } from "react/jsx-runtime";
|
2
|
-
import * as d from "react";
|
3
|
-
import * as e from "@radix-ui/react-menubar";
|
4
|
-
import { ChevronRight as m, Check as u, Circle as p } from "lucide-react";
|
5
|
-
import { cn as s } from "@oneplatformdev/utils";
|
6
|
-
const k = e.Menu, z = e.Group, T = e.Portal, j = e.Sub, G = e.RadioGroup, f = d.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ n(
|
7
|
-
e.Root,
|
8
|
-
{
|
9
|
-
ref: o,
|
10
|
-
className: s(
|
11
|
-
"flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm",
|
12
|
-
t
|
13
|
-
),
|
14
|
-
...a
|
15
|
-
}
|
16
|
-
));
|
17
|
-
f.displayName = e.Root.displayName;
|
18
|
-
const b = d.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ n(
|
19
|
-
e.Trigger,
|
20
|
-
{
|
21
|
-
ref: o,
|
22
|
-
className: s(
|
23
|
-
"flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
24
|
-
t
|
25
|
-
),
|
26
|
-
...a
|
27
|
-
}
|
28
|
-
));
|
29
|
-
b.displayName = e.Trigger.displayName;
|
30
|
-
const g = d.forwardRef(({ className: t, inset: a, children: o, ...r }, i) => /* @__PURE__ */ c(
|
31
|
-
e.SubTrigger,
|
32
|
-
{
|
33
|
-
ref: i,
|
34
|
-
className: s(
|
35
|
-
"flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
36
|
-
a && "pl-8",
|
37
|
-
t
|
38
|
-
),
|
39
|
-
...r,
|
40
|
-
children: [
|
41
|
-
o,
|
42
|
-
/* @__PURE__ */ n(m, { className: "ml-auto h-4 w-4" })
|
43
|
-
]
|
44
|
-
}
|
45
|
-
));
|
46
|
-
g.displayName = e.SubTrigger.displayName;
|
47
|
-
const x = d.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ n(
|
48
|
-
e.SubContent,
|
49
|
-
{
|
50
|
-
ref: o,
|
51
|
-
className: s(
|
52
|
-
"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",
|
53
|
-
t
|
54
|
-
),
|
55
|
-
...a
|
56
|
-
}
|
57
|
-
));
|
58
|
-
x.displayName = e.SubContent.displayName;
|
59
|
-
const N = d.forwardRef(
|
60
|
-
({ className: t, align: a = "start", alignOffset: o = -4, sideOffset: r = 8, ...i }, l) => /* @__PURE__ */ n(e.Portal, { children: /* @__PURE__ */ n(
|
61
|
-
e.Content,
|
62
|
-
{
|
63
|
-
ref: l,
|
64
|
-
align: a,
|
65
|
-
alignOffset: o,
|
66
|
-
sideOffset: r,
|
67
|
-
className: s(
|
68
|
-
"z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in 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",
|
69
|
-
t
|
70
|
-
),
|
71
|
-
...i
|
72
|
-
}
|
73
|
-
) })
|
74
|
-
);
|
75
|
-
N.displayName = e.Content.displayName;
|
76
|
-
const y = d.forwardRef(({ className: t, inset: a, ...o }, r) => /* @__PURE__ */ n(
|
77
|
-
e.Item,
|
78
|
-
{
|
79
|
-
ref: r,
|
80
|
-
className: s(
|
81
|
-
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
82
|
-
a && "pl-8",
|
83
|
-
t
|
84
|
-
),
|
85
|
-
...o
|
86
|
-
}
|
87
|
-
));
|
88
|
-
y.displayName = e.Item.displayName;
|
89
|
-
const h = d.forwardRef(({ className: t, children: a, checked: o, ...r }, i) => /* @__PURE__ */ c(
|
90
|
-
e.CheckboxItem,
|
91
|
-
{
|
92
|
-
ref: i,
|
93
|
-
className: s(
|
94
|
-
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
95
|
-
t
|
96
|
-
),
|
97
|
-
checked: o,
|
98
|
-
...r,
|
99
|
-
children: [
|
100
|
-
/* @__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(u, { className: "h-4 w-4" }) }) }),
|
101
|
-
a
|
102
|
-
]
|
103
|
-
}
|
104
|
-
));
|
105
|
-
h.displayName = e.CheckboxItem.displayName;
|
106
|
-
const w = d.forwardRef(({ className: t, children: a, ...o }, r) => /* @__PURE__ */ c(
|
107
|
-
e.RadioItem,
|
108
|
-
{
|
109
|
-
ref: r,
|
110
|
-
className: s(
|
111
|
-
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
112
|
-
t
|
113
|
-
),
|
114
|
-
...o,
|
115
|
-
children: [
|
116
|
-
/* @__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 fill-current" }) }) }),
|
117
|
-
a
|
118
|
-
]
|
119
|
-
}
|
120
|
-
));
|
121
|
-
w.displayName = e.RadioItem.displayName;
|
122
|
-
const M = d.forwardRef(({ className: t, inset: a, ...o }, r) => /* @__PURE__ */ n(
|
123
|
-
e.Label,
|
124
|
-
{
|
125
|
-
ref: r,
|
126
|
-
className: s(
|
127
|
-
"px-2 py-1.5 text-sm font-semibold",
|
128
|
-
a && "pl-8",
|
129
|
-
t
|
130
|
-
),
|
131
|
-
...o
|
132
|
-
}
|
133
|
-
));
|
134
|
-
M.displayName = e.Label.displayName;
|
135
|
-
const R = d.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ n(
|
136
|
-
e.Separator,
|
137
|
-
{
|
138
|
-
ref: o,
|
139
|
-
className: s("-mx-1 my-1 h-px bg-muted", t),
|
140
|
-
...a
|
141
|
-
}
|
142
|
-
));
|
143
|
-
R.displayName = e.Separator.displayName;
|
144
|
-
const v = ({
|
145
|
-
className: t,
|
146
|
-
...a
|
147
|
-
}) => /* @__PURE__ */ n(
|
148
|
-
"span",
|
149
|
-
{
|
150
|
-
className: s(
|
151
|
-
"ml-auto text-xs tracking-widest text-muted-foreground",
|
152
|
-
t
|
153
|
-
),
|
154
|
-
...a
|
155
|
-
}
|
156
|
-
);
|
157
|
-
v.displayname = "MenubarShortcut";
|
158
|
-
export {
|
159
|
-
f as Menubar,
|
160
|
-
h as MenubarCheckboxItem,
|
161
|
-
N as MenubarContent,
|
162
|
-
z as MenubarGroup,
|
163
|
-
y as MenubarItem,
|
164
|
-
M as MenubarLabel,
|
165
|
-
k as MenubarMenu,
|
166
|
-
T as MenubarPortal,
|
167
|
-
G as MenubarRadioGroup,
|
168
|
-
w as MenubarRadioItem,
|
169
|
-
R as MenubarSeparator,
|
170
|
-
v as MenubarShortcut,
|
171
|
-
j as MenubarSub,
|
172
|
-
x as MenubarSubContent,
|
173
|
-
g as MenubarSubTrigger,
|
174
|
-
b as MenubarTrigger
|
175
|
-
};
|
package/Menubar/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './Menubar';
|
package/Menubar/index.mjs
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
import { Menubar as u, MenubarCheckboxItem as a, MenubarContent as b, MenubarGroup as n, MenubarItem as M, MenubarLabel as o, MenubarMenu as t, MenubarPortal as S, MenubarRadioGroup as g, MenubarRadioItem as i, MenubarSeparator as m, MenubarShortcut as p, MenubarSub as C, MenubarSubContent as I, MenubarSubTrigger as c, MenubarTrigger as d } from "./Menubar.mjs";
|
2
|
-
export {
|
3
|
-
u as Menubar,
|
4
|
-
a as MenubarCheckboxItem,
|
5
|
-
b as MenubarContent,
|
6
|
-
n as MenubarGroup,
|
7
|
-
M as MenubarItem,
|
8
|
-
o as MenubarLabel,
|
9
|
-
t as MenubarMenu,
|
10
|
-
S as MenubarPortal,
|
11
|
-
g as MenubarRadioGroup,
|
12
|
-
i as MenubarRadioItem,
|
13
|
-
m as MenubarSeparator,
|
14
|
-
p as MenubarShortcut,
|
15
|
-
C as MenubarSub,
|
16
|
-
I as MenubarSubContent,
|
17
|
-
c as MenubarSubTrigger,
|
18
|
-
d as MenubarTrigger
|
19
|
-
};
|
package/Menubar/package.json
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
import * as React from "react";
|
2
|
-
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
3
|
-
declare const NavigationMenu: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
4
|
-
declare const NavigationMenuList: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React.RefAttributes<HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
5
|
-
declare const NavigationMenuItem: React.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>>;
|
6
|
-
declare const NavigationMenuTrigger: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
7
|
-
declare const NavigationMenuContent: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
8
|
-
declare const NavigationMenuLink: React.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
9
|
-
declare const NavigationMenuViewport: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
10
|
-
declare const NavigationMenuIndicator: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
11
|
-
export { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuContent, NavigationMenuTrigger, NavigationMenuLink, NavigationMenuIndicator, NavigationMenuViewport, };
|
@@ -1,101 +0,0 @@
|
|
1
|
-
import { jsxs as s, jsx as i } from "react/jsx-runtime";
|
2
|
-
import * as r from "react";
|
3
|
-
import * as t from "@radix-ui/react-navigation-menu";
|
4
|
-
import { ChevronDown as l } from "lucide-react";
|
5
|
-
import { cn as n } from "@oneplatformdev/utils";
|
6
|
-
import { navigationMenuVariants as f } from "./navigationMenuVariants.mjs";
|
7
|
-
const p = r.forwardRef(({ className: a, children: e, ...o }, d) => /* @__PURE__ */ s(
|
8
|
-
t.Root,
|
9
|
-
{
|
10
|
-
ref: d,
|
11
|
-
className: n(
|
12
|
-
"relative z-10 flex max-w-max flex-1 items-center justify-center",
|
13
|
-
a
|
14
|
-
),
|
15
|
-
...o,
|
16
|
-
children: [
|
17
|
-
e,
|
18
|
-
/* @__PURE__ */ i(m, {})
|
19
|
-
]
|
20
|
-
}
|
21
|
-
));
|
22
|
-
p.displayName = t.Root.displayName;
|
23
|
-
const u = r.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ i(
|
24
|
-
t.List,
|
25
|
-
{
|
26
|
-
ref: o,
|
27
|
-
className: n(
|
28
|
-
"group flex flex-1 list-none items-center justify-center space-x-1",
|
29
|
-
a
|
30
|
-
),
|
31
|
-
...e
|
32
|
-
}
|
33
|
-
));
|
34
|
-
u.displayName = t.List.displayName;
|
35
|
-
const y = t.Item, c = r.forwardRef(({ className: a, children: e, ...o }, d) => /* @__PURE__ */ s(
|
36
|
-
t.Trigger,
|
37
|
-
{
|
38
|
-
ref: d,
|
39
|
-
className: n(f(), "group", a),
|
40
|
-
...o,
|
41
|
-
children: [
|
42
|
-
e,
|
43
|
-
" ",
|
44
|
-
/* @__PURE__ */ i(
|
45
|
-
l,
|
46
|
-
{
|
47
|
-
className: "relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180",
|
48
|
-
"aria-hidden": "true"
|
49
|
-
}
|
50
|
-
)
|
51
|
-
]
|
52
|
-
}
|
53
|
-
));
|
54
|
-
c.displayName = t.Trigger.displayName;
|
55
|
-
const v = r.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ i(
|
56
|
-
t.Content,
|
57
|
-
{
|
58
|
-
ref: o,
|
59
|
-
className: n(
|
60
|
-
"left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",
|
61
|
-
a
|
62
|
-
),
|
63
|
-
...e
|
64
|
-
}
|
65
|
-
));
|
66
|
-
v.displayName = t.Content.displayName;
|
67
|
-
const M = t.Link, m = r.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ i("div", { className: n("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ i(
|
68
|
-
t.Viewport,
|
69
|
-
{
|
70
|
-
className: n(
|
71
|
-
"origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",
|
72
|
-
a
|
73
|
-
),
|
74
|
-
ref: o,
|
75
|
-
...e
|
76
|
-
}
|
77
|
-
) }));
|
78
|
-
m.displayName = t.Viewport.displayName;
|
79
|
-
const N = r.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ i(
|
80
|
-
t.Indicator,
|
81
|
-
{
|
82
|
-
ref: o,
|
83
|
-
className: n(
|
84
|
-
"top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",
|
85
|
-
a
|
86
|
-
),
|
87
|
-
...e,
|
88
|
-
children: /* @__PURE__ */ i("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
|
89
|
-
}
|
90
|
-
));
|
91
|
-
N.displayName = t.Indicator.displayName;
|
92
|
-
export {
|
93
|
-
p as NavigationMenu,
|
94
|
-
v as NavigationMenuContent,
|
95
|
-
N as NavigationMenuIndicator,
|
96
|
-
y as NavigationMenuItem,
|
97
|
-
M as NavigationMenuLink,
|
98
|
-
u as NavigationMenuList,
|
99
|
-
c as NavigationMenuTrigger,
|
100
|
-
m as NavigationMenuViewport
|
101
|
-
};
|
package/NavigationMenu/index.mjs
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
import { NavigationMenu as a, NavigationMenuContent as t, NavigationMenuIndicator as o, NavigationMenuItem as e, NavigationMenuLink as g, NavigationMenuList as r, NavigationMenuTrigger as u, NavigationMenuViewport as v } from "./NavigationMenu.mjs";
|
2
|
-
import { navigationMenuVariants as N } from "./navigationMenuVariants.mjs";
|
3
|
-
export {
|
4
|
-
a as NavigationMenu,
|
5
|
-
t as NavigationMenuContent,
|
6
|
-
o as NavigationMenuIndicator,
|
7
|
-
e as NavigationMenuItem,
|
8
|
-
g as NavigationMenuLink,
|
9
|
-
r as NavigationMenuList,
|
10
|
-
u as NavigationMenuTrigger,
|
11
|
-
v as NavigationMenuViewport,
|
12
|
-
N as navigationMenuVariants
|
13
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const navigationMenuVariants: (props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { cva as e } from "class-variance-authority";
|
2
|
-
const n = e(
|
3
|
-
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"
|
4
|
-
);
|
5
|
-
export {
|
6
|
-
n as navigationMenuVariants
|
7
|
-
};
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { ButtonProps } from '../Button';
|
2
|
-
import * as React from "react";
|
3
|
-
declare const Pagination: {
|
4
|
-
({ className, ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
|
5
|
-
displayName: string;
|
6
|
-
};
|
7
|
-
declare const PaginationContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
8
|
-
declare const PaginationItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
9
|
-
type PaginationLinkProps = {
|
10
|
-
isActive?: boolean;
|
11
|
-
} & Pick<ButtonProps, "size"> & React.ComponentProps<"a">;
|
12
|
-
declare const PaginationLink: {
|
13
|
-
({ className, isActive, size, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
|
14
|
-
displayName: string;
|
15
|
-
};
|
16
|
-
declare const PaginationPrevious: {
|
17
|
-
({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
|
18
|
-
displayName: string;
|
19
|
-
};
|
20
|
-
declare const PaginationNext: {
|
21
|
-
({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
|
22
|
-
displayName: string;
|
23
|
-
};
|
24
|
-
declare const PaginationEllipsis: {
|
25
|
-
({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
26
|
-
displayName: string;
|
27
|
-
};
|
28
|
-
export { Pagination, PaginationContent, PaginationLink, PaginationItem, PaginationPrevious, PaginationNext, PaginationEllipsis, };
|
@@ -1,106 +0,0 @@
|
|
1
|
-
import { jsx as e, jsxs as o } from "react/jsx-runtime";
|
2
|
-
import * as l from "react";
|
3
|
-
import { ChevronLeft as m, ChevronRight as c, MoreHorizontal as p } from "lucide-react";
|
4
|
-
import { cn as n } from "@oneplatformdev/utils";
|
5
|
-
import "../Button/Button.mjs";
|
6
|
-
import { buttonVariants as g } from "../Button/buttonVariants.mjs";
|
7
|
-
const d = ({ className: i, ...a }) => /* @__PURE__ */ e(
|
8
|
-
"nav",
|
9
|
-
{
|
10
|
-
role: "navigation",
|
11
|
-
"aria-label": "pagination",
|
12
|
-
className: n("mx-auto flex w-full justify-center", i),
|
13
|
-
...a
|
14
|
-
}
|
15
|
-
);
|
16
|
-
d.displayName = "Pagination";
|
17
|
-
const N = l.forwardRef(({ className: i, ...a }, t) => /* @__PURE__ */ e(
|
18
|
-
"ul",
|
19
|
-
{
|
20
|
-
ref: t,
|
21
|
-
className: n("flex flex-row items-center gap-1", i),
|
22
|
-
...a
|
23
|
-
}
|
24
|
-
));
|
25
|
-
N.displayName = "PaginationContent";
|
26
|
-
const f = l.forwardRef(({ className: i, ...a }, t) => /* @__PURE__ */ e("li", { ref: t, className: n("", i), ...a }));
|
27
|
-
f.displayName = "PaginationItem";
|
28
|
-
const s = ({
|
29
|
-
className: i,
|
30
|
-
isActive: a,
|
31
|
-
size: t = "icon",
|
32
|
-
...r
|
33
|
-
}) => /* @__PURE__ */ e(
|
34
|
-
"a",
|
35
|
-
{
|
36
|
-
"aria-current": a ? "page" : void 0,
|
37
|
-
className: n(
|
38
|
-
g({
|
39
|
-
variant: a ? "outline" : "ghost",
|
40
|
-
size: t
|
41
|
-
}),
|
42
|
-
i
|
43
|
-
),
|
44
|
-
...r
|
45
|
-
}
|
46
|
-
);
|
47
|
-
s.displayName = "PaginationLink";
|
48
|
-
const P = ({
|
49
|
-
className: i,
|
50
|
-
...a
|
51
|
-
}) => /* @__PURE__ */ o(
|
52
|
-
s,
|
53
|
-
{
|
54
|
-
"aria-label": "Go to previous page",
|
55
|
-
size: "default",
|
56
|
-
className: n("gap-1 pl-2.5", i),
|
57
|
-
...a,
|
58
|
-
children: [
|
59
|
-
/* @__PURE__ */ e(m, { className: "h-4 w-4" }),
|
60
|
-
/* @__PURE__ */ e("span", { children: "Previous" })
|
61
|
-
]
|
62
|
-
}
|
63
|
-
);
|
64
|
-
P.displayName = "PaginationPrevious";
|
65
|
-
const u = ({
|
66
|
-
className: i,
|
67
|
-
...a
|
68
|
-
}) => /* @__PURE__ */ o(
|
69
|
-
s,
|
70
|
-
{
|
71
|
-
"aria-label": "Go to next page",
|
72
|
-
size: "default",
|
73
|
-
className: n("gap-1 pr-2.5", i),
|
74
|
-
...a,
|
75
|
-
children: [
|
76
|
-
/* @__PURE__ */ e("span", { children: "Next" }),
|
77
|
-
/* @__PURE__ */ e(c, { className: "h-4 w-4" })
|
78
|
-
]
|
79
|
-
}
|
80
|
-
);
|
81
|
-
u.displayName = "PaginationNext";
|
82
|
-
const h = ({
|
83
|
-
className: i,
|
84
|
-
...a
|
85
|
-
}) => /* @__PURE__ */ o(
|
86
|
-
"span",
|
87
|
-
{
|
88
|
-
"aria-hidden": !0,
|
89
|
-
className: n("flex h-9 w-9 items-center justify-center", i),
|
90
|
-
...a,
|
91
|
-
children: [
|
92
|
-
/* @__PURE__ */ e(p, { className: "h-4 w-4" }),
|
93
|
-
/* @__PURE__ */ e("span", { className: "sr-only", children: "More pages" })
|
94
|
-
]
|
95
|
-
}
|
96
|
-
);
|
97
|
-
h.displayName = "PaginationEllipsis";
|
98
|
-
export {
|
99
|
-
d as Pagination,
|
100
|
-
N as PaginationContent,
|
101
|
-
h as PaginationEllipsis,
|
102
|
-
f as PaginationItem,
|
103
|
-
s as PaginationLink,
|
104
|
-
u as PaginationNext,
|
105
|
-
P as PaginationPrevious
|
106
|
-
};
|
package/Pagination/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './Pagination';
|
package/Pagination/index.mjs
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
import { Pagination as a, PaginationContent as t, PaginationEllipsis as o, PaginationItem as P, PaginationLink as g, PaginationNext as e, PaginationPrevious as r } from "./Pagination.mjs";
|
2
|
-
export {
|
3
|
-
a as Pagination,
|
4
|
-
t as PaginationContent,
|
5
|
-
o as PaginationEllipsis,
|
6
|
-
P as PaginationItem,
|
7
|
-
g as PaginationLink,
|
8
|
-
e as PaginationNext,
|
9
|
-
r as PaginationPrevious
|
10
|
-
};
|
package/Pagination/package.json
DELETED
package/Popover/Popover.d.ts
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
3
|
-
declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
4
|
-
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
5
|
-
declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
|
6
|
-
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
7
|
-
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };
|
package/Popover/Popover.mjs
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
2
|
-
import * as s from "react";
|
3
|
-
import * as o from "@radix-ui/react-popover";
|
4
|
-
import { cn as m } from "@oneplatformdev/utils";
|
5
|
-
const c = o.Root, v = o.Trigger, g = o.Anchor, p = s.forwardRef(({ className: e, align: a = "center", sideOffset: r = 4, style: d, ...n }, i) => /* @__PURE__ */ t(o.Portal, { children: /* @__PURE__ */ t(
|
6
|
-
o.Content,
|
7
|
-
{
|
8
|
-
ref: i,
|
9
|
-
align: a,
|
10
|
-
sideOffset: r,
|
11
|
-
className: m(
|
12
|
-
"z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",
|
13
|
-
e
|
14
|
-
),
|
15
|
-
style: {
|
16
|
-
pointerEvents: "auto",
|
17
|
-
...d
|
18
|
-
},
|
19
|
-
...n
|
20
|
-
}
|
21
|
-
) }));
|
22
|
-
p.displayName = o.Content.displayName;
|
23
|
-
export {
|
24
|
-
c as Popover,
|
25
|
-
g as PopoverAnchor,
|
26
|
-
p as PopoverContent,
|
27
|
-
v as PopoverTrigger
|
28
|
-
};
|
package/Popover/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './Popover';
|
package/Popover/index.mjs
DELETED
package/Popover/package.json
DELETED
package/Progress/Progress.d.ts
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
import * as React from "react";
|
2
|
-
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
3
|
-
declare const Progress: React.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
4
|
-
export { Progress };
|
package/Progress/Progress.mjs
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
2
|
-
import * as t from "react";
|
3
|
-
import * as r from "@radix-ui/react-progress";
|
4
|
-
import { cn as i } from "@oneplatformdev/utils";
|
5
|
-
const m = t.forwardRef(({ className: a, value: l, ...e }, s) => /* @__PURE__ */ o(
|
6
|
-
r.Root,
|
7
|
-
{
|
8
|
-
ref: s,
|
9
|
-
className: i(
|
10
|
-
"relative h-2 w-full overflow-hidden rounded-full bg-primary/20",
|
11
|
-
a
|
12
|
-
),
|
13
|
-
...e,
|
14
|
-
children: /* @__PURE__ */ o(
|
15
|
-
r.Indicator,
|
16
|
-
{
|
17
|
-
className: "h-full w-full flex-1 bg-primary transition-all",
|
18
|
-
style: { transform: `translateX(-${100 - (l || 0)}%)` }
|
19
|
-
}
|
20
|
-
)
|
21
|
-
}
|
22
|
-
));
|
23
|
-
m.displayName = r.Root.displayName;
|
24
|
-
export {
|
25
|
-
m as Progress
|
26
|
-
};
|
package/Progress/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './Progress';
|
package/Progress/index.mjs
DELETED