@mbao01/common 0.5.3 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/components/Alert/constants.d.ts +1 -1
- package/dist/types/components/AlertDialog/AlertDialog.d.ts +7 -5
- package/dist/types/components/Anchor/{constant.d.ts → constants.d.ts} +1 -1
- package/dist/types/components/Anchor/types.d.ts +1 -1
- package/dist/types/components/AspectRatio/AspectRatio.d.ts +6 -0
- package/dist/types/components/AspectRatio/constants.d.ts +3 -0
- package/dist/types/components/AspectRatio/index.d.ts +2 -0
- package/dist/types/components/AspectRatio/types.d.ts +5 -0
- package/dist/types/components/Avatar/constants.d.ts +6 -6
- package/dist/types/components/Badge/constants.d.ts +1 -1
- package/dist/types/components/Banner/Banner.d.ts +11 -0
- package/dist/types/components/Banner/constants.d.ts +4 -0
- package/dist/types/components/Banner/index.d.ts +2 -0
- package/dist/types/components/Banner/types.d.ts +9 -0
- package/dist/types/components/Blockquote/Blockquote.d.ts +6 -0
- package/dist/types/components/Blockquote/constants.d.ts +3 -0
- package/dist/types/components/Blockquote/index.d.ts +2 -0
- package/dist/types/components/Blockquote/types.d.ts +5 -0
- package/dist/types/components/Box/Box.d.ts +6 -0
- package/dist/types/components/Box/constants.d.ts +5 -0
- package/dist/types/components/Box/index.d.ts +2 -0
- package/dist/types/components/Box/types.d.ts +3 -0
- package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +1 -1
- package/dist/types/components/Breadcrumb/types.d.ts +1 -1
- package/dist/types/components/Button/Button.d.ts +3 -2
- package/dist/types/components/Button/constants.d.ts +2 -1
- package/dist/types/components/Carousel/Carousel.d.ts +6 -4
- package/dist/types/components/Center/Center.d.ts +5 -0
- package/dist/types/components/Center/constants.d.ts +4 -0
- package/dist/types/components/Center/index.d.ts +2 -0
- package/dist/types/components/Center/types.d.ts +3 -0
- package/dist/types/components/Chart/constants.d.ts +2 -2
- package/dist/types/components/Code/Code.d.ts +8 -0
- package/dist/types/components/Code/constants.d.ts +4 -0
- package/dist/types/components/Code/helper.d.ts +2 -0
- package/dist/types/components/Code/index.d.ts +2 -0
- package/dist/types/components/Code/types.d.ts +6 -0
- package/dist/types/components/Container/Container.d.ts +6 -0
- package/dist/types/components/Container/constants.d.ts +5 -0
- package/dist/types/components/Container/index.d.ts +2 -0
- package/dist/types/components/Container/types.d.ts +3 -0
- package/dist/types/components/DatetimePicker/DatetimeGrid.d.ts +2 -2
- package/dist/types/components/DatetimePicker/DatetimePicker.d.ts +2 -2
- package/dist/types/components/DatetimePicker/constants.d.ts +1 -1
- package/dist/types/components/Dialog/Dialog.d.ts +1 -1
- package/dist/types/components/Dialog/constants.d.ts +1 -1
- package/dist/types/components/Dock/constants.d.ts +2 -2
- package/dist/types/components/Empty/Empty.d.ts +8 -0
- package/dist/types/components/Empty/constants.d.ts +6 -0
- package/dist/types/components/Empty/index.d.ts +2 -0
- package/dist/types/components/Empty/types.d.ts +3 -0
- package/dist/types/components/Flex/Flex.d.ts +8 -0
- package/dist/types/components/Flex/constants.d.ts +7 -0
- package/dist/types/components/Flex/index.d.ts +2 -0
- package/dist/types/components/Flex/types.d.ts +3 -0
- package/dist/types/components/Footer/Footer.d.ts +6 -0
- package/dist/types/components/Footer/constants.d.ts +4 -0
- package/dist/types/components/Footer/index.d.ts +2 -0
- package/dist/types/components/Footer/types.d.ts +4 -0
- package/dist/types/components/Form/DatetimeInput/DatetimeInput.d.ts +3 -3
- package/dist/types/components/Form/Input/Input.d.ts +4 -4
- package/dist/types/components/Form/Input/constants.d.ts +2 -2
- package/dist/types/components/Form/NativeSelect/NativeSelect.d.ts +8 -0
- package/dist/types/components/Form/NativeSelect/constants.d.ts +7 -0
- package/dist/types/components/Form/NativeSelect/index.d.ts +2 -0
- package/dist/types/components/Form/NativeSelect/types.d.ts +3 -0
- package/dist/types/components/Form/Radio/Radio.d.ts +1 -1
- package/dist/types/components/Form/Range/Range.d.ts +1 -1
- package/dist/types/components/Form/Select/Select.d.ts +4 -4
- package/dist/types/components/Form/Select/constants.d.ts +2 -2
- package/dist/types/components/Form/Switch/Switch.d.ts +1 -1
- package/dist/types/components/Form/TagsInput/TagsInput.d.ts +2 -2
- package/dist/types/components/Form/TextField/TextField.d.ts +4 -4
- package/dist/types/components/Form/Textarea/Textarea.d.ts +3 -3
- package/dist/types/components/Form/Textarea/constants.d.ts +1 -1
- package/dist/types/components/Form/components/Field/Field.d.ts +8 -0
- package/dist/types/components/Form/components/Field/FieldContext.d.ts +2 -0
- package/dist/types/components/Form/components/Field/constants.d.ts +6 -0
- package/dist/types/components/Form/components/Field/hooks/index.d.ts +1 -0
- package/dist/types/components/Form/components/Field/hooks/useField/index.d.ts +1 -0
- package/dist/types/components/Form/components/Field/hooks/useField/useField.d.ts +1 -0
- package/dist/types/components/Form/components/Field/index.d.ts +2 -0
- package/dist/types/components/Form/components/Field/types.d.ts +12 -0
- package/dist/types/components/Form/index.d.ts +2 -0
- package/dist/types/components/Grid/Grid.d.ts +11 -0
- package/dist/types/components/Grid/constants.d.ts +10 -0
- package/dist/types/components/Grid/index.d.ts +2 -0
- package/dist/types/components/Grid/types.d.ts +4 -0
- package/dist/types/components/Header/Header.d.ts +7 -0
- package/dist/types/components/Header/constants.d.ts +3 -0
- package/dist/types/components/Header/index.d.ts +2 -0
- package/dist/types/components/Header/types.d.ts +3 -0
- package/dist/types/components/Heading/Heading.d.ts +7 -0
- package/dist/types/components/Heading/constants.d.ts +4 -0
- package/dist/types/components/Heading/index.d.ts +2 -0
- package/dist/types/components/Heading/types.d.ts +7 -0
- package/dist/types/components/Image/Image.d.ts +7 -0
- package/dist/types/components/Image/constants.d.ts +4 -0
- package/dist/types/components/Image/index.d.ts +2 -0
- package/dist/types/components/Image/types.d.ts +5 -0
- package/dist/types/components/Kbd/constants.d.ts +1 -1
- package/dist/types/components/List/constants.d.ts +1 -1
- package/dist/types/components/Loading/Loading.d.ts +1 -1
- package/dist/types/components/Loading/constants.d.ts +2 -2
- package/dist/types/components/Menu/ContextMenu/ContextMenu.d.ts +4 -4
- package/dist/types/components/Menu/DropdownMenu/DropdownMenu.d.ts +4 -4
- package/dist/types/components/Menu/Menubar/Menubar.d.ts +5 -5
- package/dist/types/components/Menu/Menubar/constants.d.ts +5 -5
- package/dist/types/components/Menu/NavigationMenu/NavigationMenu.d.ts +1 -1
- package/dist/types/components/Menu/NavigationMenu/constants.d.ts +1 -1
- package/dist/types/components/Panel/Panel.d.ts +11 -0
- package/dist/types/components/Panel/constants.d.ts +7 -0
- package/dist/types/components/Panel/index.d.ts +2 -0
- package/dist/types/components/Panel/types.d.ts +8 -0
- package/dist/types/components/Paragraph/Paragraph.d.ts +3 -0
- package/dist/types/components/Paragraph/constants.d.ts +3 -0
- package/dist/types/components/Paragraph/index.d.ts +2 -0
- package/dist/types/components/Paragraph/types.d.ts +5 -0
- package/dist/types/components/Progress/Progress.d.ts +1 -1
- package/dist/types/components/Progress/constants.d.ts +2 -2
- package/dist/types/components/Resizable/Resizable.d.ts +1 -1
- package/dist/types/components/ScrollArea/ScrollArea.d.ts +1 -1
- package/dist/types/components/ScrollArea/constants.d.ts +1 -1
- package/dist/types/components/Sheet/Sheet.d.ts +12 -0
- package/dist/types/components/Sheet/constants.d.ts +7 -0
- package/dist/types/components/Sheet/index.d.ts +2 -0
- package/dist/types/components/Sheet/types.d.ts +5 -0
- package/dist/types/components/Sidebar/Sidebar.d.ts +8 -7
- package/dist/types/components/Sidebar/SidebarMenu.d.ts +3 -2
- package/dist/types/components/Sidebar/constants.d.ts +5 -4
- package/dist/types/components/Sidebar/types.d.ts +1 -1
- package/dist/types/components/Skeleton/Skeleton.d.ts +1 -1
- package/dist/types/components/Skeleton/constants.d.ts +3 -3
- package/dist/types/components/Sonner/constants.d.ts +2 -2
- package/dist/types/components/Spacer/Spacer.d.ts +5 -0
- package/dist/types/components/Spacer/constants.d.ts +4 -0
- package/dist/types/components/Spacer/index.d.ts +2 -0
- package/dist/types/components/Spacer/types.d.ts +3 -0
- package/dist/types/components/Spinner/Spinner.d.ts +5 -0
- package/dist/types/components/Spinner/constants.d.ts +4 -0
- package/dist/types/components/Spinner/index.d.ts +2 -0
- package/dist/types/components/Spinner/types.d.ts +3 -0
- package/dist/types/components/Status/constants.d.ts +1 -1
- package/dist/types/components/Stepper/Stepper.d.ts +9 -0
- package/dist/types/components/Stepper/constants.d.ts +6 -0
- package/dist/types/components/Stepper/index.d.ts +2 -0
- package/dist/types/components/Stepper/types.d.ts +6 -0
- package/dist/types/components/Text/constants.d.ts +1 -1
- package/dist/types/components/Timeline/Timeline.d.ts +5 -5
- package/dist/types/components/Timeline/constants.d.ts +5 -5
- package/dist/types/components/Toggle/Toggle.d.ts +5 -3
- package/dist/types/components/Toggle/constants.d.ts +2 -1
- package/dist/types/components/ToggleGroup/ToggleGroup.d.ts +5 -3
- package/dist/types/index.d.ts +24 -0
- package/dist/types/utilities/createVariants/createVariants.d.ts +2 -0
- package/dist/types/utilities/createVariants/index.d.ts +1 -0
- package/dist/types/utilities/createVariants/type.d.ts +10 -0
- package/dist/types/utilities/index.d.ts +1 -0
- package/package.json +41 -41
- package/src/components/Alert/constants.ts +3 -2
- package/src/components/Anchor/Anchor.tsx +1 -1
- package/src/components/Anchor/{constant.ts → constants.ts} +4 -4
- package/src/components/Anchor/types.ts +1 -1
- package/src/components/AspectRatio/AspectRatio.tsx +23 -0
- package/src/components/AspectRatio/constants.ts +17 -0
- package/src/components/AspectRatio/index.ts +2 -0
- package/src/components/AspectRatio/types.ts +7 -0
- package/src/components/Avatar/constants.ts +17 -22
- package/src/components/Badge/constants.ts +3 -2
- package/src/components/Banner/Banner.tsx +36 -0
- package/src/components/Banner/constants.ts +18 -0
- package/src/components/Banner/index.ts +2 -0
- package/src/components/Banner/types.ts +11 -0
- package/src/components/Blockquote/Blockquote.tsx +21 -0
- package/src/components/Blockquote/constants.ts +22 -0
- package/src/components/Blockquote/index.ts +2 -0
- package/src/components/Blockquote/types.ts +7 -0
- package/src/components/Box/Box.tsx +20 -0
- package/src/components/Box/constants.ts +34 -0
- package/src/components/Box/index.ts +2 -0
- package/src/components/Box/types.ts +4 -0
- package/src/components/Breadcrumb/types.ts +1 -1
- package/src/components/Button/Button.tsx +3 -4
- package/src/components/Button/constants.ts +6 -3
- package/src/components/Card/constants.ts +3 -2
- package/src/components/Carousel/constants.ts +9 -8
- package/src/components/Center/Center.tsx +16 -0
- package/src/components/Center/constants.ts +20 -0
- package/src/components/Center/index.ts +2 -0
- package/src/components/Center/types.ts +5 -0
- package/src/components/Chart/constants.ts +9 -8
- package/src/components/Code/Code.tsx +51 -0
- package/src/components/Code/constants.ts +28 -0
- package/src/components/Code/helper.ts +10 -0
- package/src/components/Code/index.ts +2 -0
- package/src/components/Code/types.ts +8 -0
- package/src/components/Container/Container.tsx +20 -0
- package/src/components/Container/constants.ts +31 -0
- package/src/components/Container/index.ts +2 -0
- package/src/components/Container/types.ts +5 -0
- package/src/components/DatetimePicker/constants.ts +5 -4
- package/src/components/Dialog/Dialog.tsx +3 -3
- package/src/components/Dialog/constants.ts +5 -4
- package/src/components/Dock/constants.ts +14 -13
- package/src/components/DragAndDrop/Draggable/constants.ts +5 -4
- package/src/components/DragAndDrop/Droppable/constants.ts +3 -2
- package/src/components/DragAndDrop/Sortable/constants.ts +3 -2
- package/src/components/Empty/Empty.tsx +66 -0
- package/src/components/Empty/constants.ts +30 -0
- package/src/components/Empty/index.ts +2 -0
- package/src/components/Empty/types.ts +5 -0
- package/src/components/Flex/Flex.tsx +20 -0
- package/src/components/Flex/constants.ts +51 -0
- package/src/components/Flex/index.ts +2 -0
- package/src/components/Flex/types.ts +4 -0
- package/src/components/Footer/Footer.tsx +26 -0
- package/src/components/Footer/constants.ts +12 -0
- package/src/components/Footer/index.ts +2 -0
- package/src/components/Footer/types.ts +6 -0
- package/src/components/Form/Checkbox/constants.ts +5 -4
- package/src/components/Form/DatetimeInput/constants.ts +9 -8
- package/src/components/Form/Input/constants.ts +7 -6
- package/src/components/Form/MultiSelect/constants.ts +10 -9
- package/src/components/Form/NativeSelect/NativeSelect.tsx +23 -0
- package/src/components/Form/NativeSelect/constants.ts +39 -0
- package/src/components/Form/NativeSelect/index.ts +2 -0
- package/src/components/Form/NativeSelect/types.ts +5 -0
- package/src/components/Form/Radio/constants.ts +3 -2
- package/src/components/Form/Range/constants.ts +3 -2
- package/src/components/Form/Select/constants.ts +14 -13
- package/src/components/Form/Slider/constants.ts +9 -8
- package/src/components/Form/Switch/constants.ts +3 -2
- package/src/components/Form/TagsInput/TagsInput.tsx +1 -1
- package/src/components/Form/TagsInput/constants.ts +7 -6
- package/src/components/Form/Textarea/constants.ts +3 -2
- package/src/components/Form/Validator/constants.ts +3 -2
- package/src/components/Form/components/Field/Field.tsx +81 -0
- package/src/components/Form/components/Field/FieldContext.tsx +4 -0
- package/src/components/Form/components/Field/constants.ts +20 -0
- package/src/components/Form/components/Field/hooks/index.ts +1 -0
- package/src/components/Form/components/Field/hooks/useField/index.ts +1 -0
- package/src/components/Form/components/Field/hooks/useField/useField.ts +10 -0
- package/src/components/Form/components/Field/index.ts +2 -0
- package/src/components/Form/components/Field/types.ts +19 -0
- package/src/components/Form/index.ts +2 -0
- package/src/components/Grid/Grid.tsx +32 -0
- package/src/components/Grid/constants.ts +84 -0
- package/src/components/Grid/index.ts +2 -0
- package/src/components/Grid/types.ts +7 -0
- package/src/components/Header/Header.tsx +49 -0
- package/src/components/Header/constants.ts +18 -0
- package/src/components/Header/index.ts +2 -0
- package/src/components/Header/types.ts +4 -0
- package/src/components/Heading/Heading.tsx +23 -0
- package/src/components/Heading/constants.ts +25 -0
- package/src/components/Heading/index.ts +2 -0
- package/src/components/Heading/types.ts +10 -0
- package/src/components/Image/Image.tsx +30 -0
- package/src/components/Image/constants.ts +25 -0
- package/src/components/Image/index.ts +2 -0
- package/src/components/Image/types.ts +7 -0
- package/src/components/Kbd/constants.ts +3 -2
- package/src/components/List/constants.ts +3 -2
- package/src/components/Loading/Loading.tsx +2 -4
- package/src/components/Loading/constants.ts +5 -4
- package/src/components/Menu/Menubar/constants.ts +16 -14
- package/src/components/Menu/NavigationMenu/constants.ts +5 -3
- package/src/components/Panel/Panel.tsx +58 -0
- package/src/components/Panel/constants.ts +31 -0
- package/src/components/Panel/index.ts +2 -0
- package/src/components/Panel/types.ts +11 -0
- package/src/components/Paragraph/Paragraph.tsx +17 -0
- package/src/components/Paragraph/constants.ts +18 -0
- package/src/components/Paragraph/index.ts +2 -0
- package/src/components/Paragraph/types.ts +8 -0
- package/src/components/Progress/constants.ts +9 -10
- package/src/components/Resizable/constants.ts +3 -2
- package/src/components/ScrollArea/constants.ts +6 -5
- package/src/components/Separator/constants.ts +3 -2
- package/src/components/Sheet/Sheet.tsx +126 -0
- package/src/components/Sheet/constants.ts +45 -0
- package/src/components/Sheet/index.ts +9 -0
- package/src/components/Sheet/types.ts +7 -0
- package/src/components/Sidebar/Sidebar.tsx +5 -5
- package/src/components/Sidebar/SidebarMenu.tsx +3 -3
- package/src/components/Sidebar/constants.ts +32 -25
- package/src/components/Sidebar/types.ts +1 -1
- package/src/components/Skeleton/Skeleton.tsx +2 -2
- package/src/components/Skeleton/constants.ts +4 -3
- package/src/components/Sonner/Toaster.tsx +1 -1
- package/src/components/Sonner/constants.ts +6 -5
- package/src/components/Sonner/helpers.ts +1 -1
- package/src/components/Spacer/Spacer.tsx +19 -0
- package/src/components/Spacer/constants.ts +55 -0
- package/src/components/Spacer/index.ts +2 -0
- package/src/components/Spacer/types.ts +5 -0
- package/src/components/Spinner/Spinner.tsx +24 -0
- package/src/components/Spinner/constants.ts +29 -0
- package/src/components/Spinner/index.ts +2 -0
- package/src/components/Spinner/types.ts +5 -0
- package/src/components/Stack/constants.ts +3 -2
- package/src/components/Stat/constants.ts +5 -4
- package/src/components/Status/constants.ts +3 -2
- package/src/components/Stepper/Stepper.tsx +30 -0
- package/src/components/Stepper/constants.ts +29 -0
- package/src/components/Stepper/index.ts +2 -0
- package/src/components/Stepper/types.ts +10 -0
- package/src/components/Table/constants.ts +3 -2
- package/src/components/Text/constants.ts +4 -7
- package/src/components/Timeline/Timeline.example.tsx +1 -1
- package/src/components/Timeline/constants.ts +19 -22
- package/src/components/Toggle/Toggle.tsx +3 -3
- package/src/components/Toggle/constants.ts +6 -3
- package/src/components/ToggleGroup/ToggleGroup.tsx +4 -2
- package/src/components/Tooltip/constants.ts +5 -4
- package/src/index.ts +27 -0
- package/src/utilities/createVariants/createVariants.ts +5 -0
- package/src/utilities/createVariants/index.ts +1 -0
- package/src/utilities/createVariants/type.ts +29 -0
- package/src/utilities/index.ts +1 -0
- package/vitest-setup.ts +4 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const getAlertClasses: (props?: ({
|
|
2
|
-
variant?: "accent" | "default" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" |
|
|
2
|
+
variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
|
|
3
3
|
outline?: boolean | null | undefined;
|
|
4
4
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -7,7 +7,7 @@ declare const AlertDialog: {
|
|
|
7
7
|
Overlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & {} & React.RefAttributes<HTMLDivElement>>;
|
|
8
8
|
Trigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
9
9
|
Content: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
10
|
-
|
|
10
|
+
type?: "dialog" | "sheet" | undefined;
|
|
11
11
|
side?: "top" | "right" | "bottom" | "left" | undefined;
|
|
12
12
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
Header: {
|
|
@@ -21,18 +21,20 @@ declare const AlertDialog: {
|
|
|
21
21
|
Title: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & {} & React.RefAttributes<HTMLHeadingElement>>;
|
|
22
22
|
Description: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & {} & React.RefAttributes<HTMLParagraphElement>>;
|
|
23
23
|
Action: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
link?: boolean | undefined;
|
|
25
|
+
variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
26
26
|
outline?: boolean | undefined;
|
|
27
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
27
28
|
rounded?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
28
29
|
wide?: boolean | undefined;
|
|
29
30
|
isLoading?: boolean | undefined;
|
|
30
31
|
disabled?: boolean | undefined;
|
|
31
32
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
32
33
|
Cancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
link?: boolean | undefined;
|
|
35
|
+
variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
35
36
|
outline?: boolean | undefined;
|
|
37
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
36
38
|
rounded?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
37
39
|
wide?: boolean | undefined;
|
|
38
40
|
isLoading?: boolean | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const getAnchorClasses: (props?: ({
|
|
2
|
-
variant?: "accent" | "default" | "error" | "info" | "
|
|
2
|
+
variant?: "accent" | "default" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
|
|
3
3
|
hover?: boolean | null | undefined;
|
|
4
4
|
underline?: boolean | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps } from '../../libs';
|
|
2
|
-
import { getAnchorClasses } from './
|
|
2
|
+
import { getAnchorClasses } from './constants';
|
|
3
3
|
export type AnchorProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
4
4
|
isExternal?: boolean;
|
|
5
5
|
} & VariantProps<typeof getAnchorClasses>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const AspectRatio: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
3
|
+
ratio?: "auto" | "16/9" | "4/3" | "1/1" | "21/9" | undefined;
|
|
4
|
+
} & {
|
|
5
|
+
value?: number;
|
|
6
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export declare const getAvatarClasses: (props?: ({
|
|
2
|
-
size?:
|
|
2
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
3
3
|
status?: "online" | "offline" | null | undefined;
|
|
4
4
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
5
|
export declare const getAvatarImageClasses: (props?: ({
|
|
6
|
-
variant?: "accent" | "default" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" |
|
|
7
|
-
shape?: "circle" | "round" | "
|
|
6
|
+
variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
|
|
7
|
+
shape?: "circle" | "round" | "triangle" | "hexagon" | "television" | null | undefined;
|
|
8
8
|
ring?: boolean | null | undefined;
|
|
9
9
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
10
|
export declare const getAvatarFallbackClasses: (props?: ({
|
|
11
|
-
size?:
|
|
12
|
-
variant?: "accent" | "default" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" |
|
|
13
|
-
shape?: "circle" | "round" | "
|
|
11
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
12
|
+
variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
|
|
13
|
+
shape?: "circle" | "round" | "triangle" | "hexagon" | "television" | null | undefined;
|
|
14
14
|
ring?: boolean | null | undefined;
|
|
15
15
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const getBadgeClasses: (props?: ({
|
|
2
|
-
variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" |
|
|
2
|
+
variant?: "accent" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
|
|
3
3
|
outline?: boolean | null | undefined;
|
|
4
4
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
5
5
|
rounded?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const Banner: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
3
|
+
variant?: "error" | "info" | "success" | "warning" | undefined;
|
|
4
|
+
border?: "none" | "dashed" | "solid" | undefined;
|
|
5
|
+
} & {
|
|
6
|
+
icon?: React.ReactNode;
|
|
7
|
+
title?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
action?: React.ReactNode;
|
|
10
|
+
onClose?: () => void;
|
|
11
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { VariantProps } from '../../libs';
|
|
2
|
+
import { getBannerClasses } from './constants';
|
|
3
|
+
export type BannerProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof getBannerClasses> & {
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
title?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
action?: React.ReactNode;
|
|
8
|
+
onClose?: () => void;
|
|
9
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const Blockquote: React.ForwardRefExoticComponent<React.BlockquoteHTMLAttributes<HTMLQuoteElement> & {
|
|
3
|
+
variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
4
|
+
} & {
|
|
5
|
+
cite?: string;
|
|
6
|
+
} & React.RefAttributes<HTMLQuoteElement>>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const getBlockquoteClasses: (props?: ({
|
|
2
|
+
variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
|
|
3
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const Box: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
3
|
+
display?: "hidden" | "grid" | "inline" | "block" | "inline-block" | "flex" | "inline-flex" | "inline-grid" | undefined;
|
|
4
|
+
overflow?: "hidden" | "auto" | "visible" | "scroll" | "x-auto" | "y-auto" | "x-hidden" | "y-hidden" | undefined;
|
|
5
|
+
position?: "fixed" | "sticky" | "static" | "absolute" | "relative" | undefined;
|
|
6
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const getBoxClasses: (props?: ({
|
|
2
|
+
display?: "hidden" | "grid" | "inline" | "block" | "inline-block" | "flex" | "inline-flex" | "inline-grid" | null | undefined;
|
|
3
|
+
position?: "fixed" | "sticky" | "static" | "absolute" | "relative" | null | undefined;
|
|
4
|
+
overflow?: "hidden" | "auto" | "visible" | "scroll" | "x-auto" | "y-auto" | "x-hidden" | "y-hidden" | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -4,7 +4,7 @@ declare const Breadcrumb: {
|
|
|
4
4
|
displayName: string;
|
|
5
5
|
List: import('react').ForwardRefExoticComponent<BreadcrumbListProps & import('react').RefAttributes<HTMLOListElement>>;
|
|
6
6
|
Item: import('react').ForwardRefExoticComponent<BreadcrumbItemProps & import('react').RefAttributes<HTMLLIElement>>;
|
|
7
|
-
Link: import('react').ForwardRefExoticComponent<import('react').
|
|
7
|
+
Link: import('react').ForwardRefExoticComponent<import('react').AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
8
8
|
asChild?: boolean;
|
|
9
9
|
} & import('react').RefAttributes<HTMLAnchorElement>>;
|
|
10
10
|
Page: import('react').ForwardRefExoticComponent<BreadcrumbPageProps & import('react').RefAttributes<HTMLSpanElement>>;
|
|
@@ -4,7 +4,7 @@ export type BreadcrumbProps = React.HTMLAttributes<HTMLElement> & {
|
|
|
4
4
|
};
|
|
5
5
|
export type BreadcrumbListProps = React.HTMLAttributes<HTMLUListElement>;
|
|
6
6
|
export type BreadcrumbItemProps = React.HTMLAttributes<HTMLLIElement>;
|
|
7
|
-
export type BreadcrumbLinkProps = React.
|
|
7
|
+
export type BreadcrumbLinkProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
8
8
|
asChild?: boolean;
|
|
9
9
|
};
|
|
10
10
|
export type BreadcrumbPageProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
declare const Button: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
link?: boolean | undefined;
|
|
4
|
+
variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
5
5
|
outline?: boolean | undefined;
|
|
6
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
6
7
|
rounded?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
7
8
|
wide?: boolean | undefined;
|
|
8
9
|
isLoading?: boolean | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const getButtonClasses: (props?: ({
|
|
2
|
-
variant?: "accent" | "default" | "error" | "
|
|
2
|
+
variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
|
|
3
3
|
outline?: boolean | null | undefined;
|
|
4
|
+
link?: boolean | null | undefined;
|
|
4
5
|
rounded?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
5
6
|
wide?: boolean | null | undefined;
|
|
6
7
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
@@ -5,9 +5,10 @@ declare const Carousel: {
|
|
|
5
5
|
Content: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
6
|
Item: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
7
7
|
Next: import('react').ForwardRefExoticComponent<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
link?: boolean | undefined;
|
|
9
|
+
variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
10
10
|
outline?: boolean | undefined;
|
|
11
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
11
12
|
rounded?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
12
13
|
wide?: boolean | undefined;
|
|
13
14
|
isLoading?: boolean | undefined;
|
|
@@ -16,9 +17,10 @@ declare const Carousel: {
|
|
|
16
17
|
asChild?: boolean;
|
|
17
18
|
} & import('react').RefAttributes<HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
18
19
|
Previous: import('react').ForwardRefExoticComponent<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
link?: boolean | undefined;
|
|
21
|
+
variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
21
22
|
outline?: boolean | undefined;
|
|
23
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
22
24
|
rounded?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
23
25
|
wide?: boolean | undefined;
|
|
24
26
|
isLoading?: boolean | undefined;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const Center: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
3
|
+
inline?: boolean | undefined;
|
|
4
|
+
axis?: "both" | "horizontal" | "vertical" | undefined;
|
|
5
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -10,13 +10,13 @@ export declare const getChartLegendItemClasses: (props?: import('class-variance-
|
|
|
10
10
|
export declare const getChartLegendMarkerClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
11
11
|
export declare const getChartTooltipContainerClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
12
12
|
export declare const getChartTooltipItemClasses: (props?: ({
|
|
13
|
-
indicator?: "line" | "
|
|
13
|
+
indicator?: "line" | "dashed" | "dot" | null | undefined;
|
|
14
14
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
15
15
|
export declare const getChartTooltipItemLabelClasses: (props?: ({
|
|
16
16
|
nestLabel?: boolean | null | undefined;
|
|
17
17
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
18
18
|
export declare const getChartTooltipItemValueClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
19
19
|
export declare const getChartTooltipItemIndicatorClasses: (props?: ({
|
|
20
|
-
indicator?: "line" | "
|
|
20
|
+
indicator?: "line" | "dashed" | "dot" | null | undefined;
|
|
21
21
|
nestLabel?: boolean | null | undefined;
|
|
22
22
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const Code: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
3
|
+
inline?: boolean | undefined;
|
|
4
|
+
colorScheme?: "accent" | "default" | "primary" | "secondary" | undefined;
|
|
5
|
+
} & {
|
|
6
|
+
skip?: boolean;
|
|
7
|
+
prefix?: "numeric" | "uppercase" | "lowercase" | "none";
|
|
8
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { VariantProps } from '../../libs';
|
|
2
|
+
import { getCodeClasses } from './constants';
|
|
3
|
+
export type CodeProps = React.HTMLAttributes<HTMLElement> & VariantProps<typeof getCodeClasses> & {
|
|
4
|
+
skip?: boolean;
|
|
5
|
+
prefix?: "numeric" | "uppercase" | "lowercase" | "none";
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const Container: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
3
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
4
|
+
center?: boolean | undefined;
|
|
5
|
+
padding?: boolean | undefined;
|
|
6
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const getContainerClasses: (props?: ({
|
|
2
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
3
|
+
center?: boolean | null | undefined;
|
|
4
|
+
padding?: boolean | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -27,9 +27,9 @@ export declare const DatetimeGrid: import('react').ForwardRefExoticComponent<{
|
|
|
27
27
|
}, "getRootProps" | "getInputProps">;
|
|
28
28
|
placeholders: import('./types').InputPlaceholders;
|
|
29
29
|
} & {
|
|
30
|
-
variant?: "accent" | "default" | "error" | "info" | "primary" | "secondary" | "success" | "warning" |
|
|
31
|
-
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
30
|
+
variant?: "accent" | "default" | "error" | "ghost" | "info" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
32
31
|
outline?: boolean | undefined;
|
|
32
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
33
33
|
wide?: boolean | undefined;
|
|
34
34
|
disabled?: boolean | undefined;
|
|
35
35
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -5,9 +5,9 @@ export declare const DatetimePicker: import('react').ForwardRefExoticComponent<O
|
|
|
5
5
|
onChange?: import('timescape/react').Options["onChangeDate"];
|
|
6
6
|
className?: string;
|
|
7
7
|
} & {
|
|
8
|
-
variant?: "accent" | "default" | "error" | "info" | "primary" | "secondary" | "success" | "warning" |
|
|
9
|
-
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
8
|
+
variant?: "accent" | "default" | "error" | "ghost" | "info" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
10
9
|
outline?: boolean | undefined;
|
|
10
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
11
11
|
wide?: boolean | undefined;
|
|
12
12
|
disabled?: boolean | undefined;
|
|
13
13
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -2,7 +2,7 @@ import { DateFormat, DatetimeFormatDefaults, InputPlaceholders, TimeFormat } fro
|
|
|
2
2
|
export declare const DEFAULTS: DatetimeFormatDefaults;
|
|
3
3
|
export declare const INPUT_PLACEHOLDERS: InputPlaceholders;
|
|
4
4
|
export declare const getDatetimeGridClasses: (props?: ({
|
|
5
|
-
variant?: "accent" | "default" | "error" | "info" | "primary" | "secondary" | "success" | "warning" |
|
|
5
|
+
variant?: "accent" | "default" | "error" | "ghost" | "info" | "primary" | "secondary" | "success" | "warning" | null | undefined;
|
|
6
6
|
outline?: boolean | null | undefined;
|
|
7
7
|
disabled?: boolean | null | undefined;
|
|
8
8
|
wide?: boolean | null | undefined;
|
|
@@ -13,7 +13,7 @@ declare const Dialog: {
|
|
|
13
13
|
Title: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & {} & React.RefAttributes<HTMLHeadingElement>>;
|
|
14
14
|
Description: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & {} & React.RefAttributes<HTMLParagraphElement>>;
|
|
15
15
|
Content: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
16
|
-
|
|
16
|
+
type?: "dialog" | "sheet" | undefined;
|
|
17
17
|
side?: "top" | "right" | "bottom" | "left" | undefined;
|
|
18
18
|
} & {
|
|
19
19
|
showClose?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const getDialogOverlayClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
2
2
|
export declare const getDialogContentClasses: (props?: ({
|
|
3
|
-
|
|
3
|
+
type?: "dialog" | "sheet" | null | undefined;
|
|
4
4
|
side?: "top" | "right" | "bottom" | "left" | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
export declare const getDialogHeaderClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const getDockClasses: (props?: ({
|
|
2
|
-
|
|
3
|
-
variant?: "accent" | "default" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | null | undefined;
|
|
2
|
+
variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
|
|
4
3
|
outline?: boolean | null | undefined;
|
|
4
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
export declare const getDockButtonClasses: (props?: ({
|
|
7
7
|
active?: boolean | null | undefined;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const Empty: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
3
|
+
size?: "sm" | "md" | "lg" | "xl" | undefined;
|
|
4
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export declare const EmptyImage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export declare const EmptyTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
7
|
+
export declare const EmptyDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
8
|
+
export declare const EmptyActions: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const getEmptyClasses: (props?: ({
|
|
2
|
+
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
3
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
4
|
+
export declare const getEmptyImageClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
5
|
+
export declare const getEmptyTitleClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
6
|
+
export declare const getEmptyDescriptionClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const Flex: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
3
|
+
direction?: "row" | "col" | "row-reverse" | "col-reverse" | undefined;
|
|
4
|
+
align?: "end" | "center" | "start" | "stretch" | "baseline" | undefined;
|
|
5
|
+
justify?: "end" | "center" | "start" | "between" | "around" | "evenly" | undefined;
|
|
6
|
+
wrap?: "wrap" | "wrap-reverse" | "nowrap" | undefined;
|
|
7
|
+
gap?: 0 | 1 | 4 | 3 | 8 | 2 | 5 | 6 | 10 | 12 | 16 | undefined;
|
|
8
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const getFlexClasses: (props?: ({
|
|
2
|
+
direction?: "row" | "col" | "row-reverse" | "col-reverse" | null | undefined;
|
|
3
|
+
align?: "end" | "center" | "start" | "stretch" | "baseline" | null | undefined;
|
|
4
|
+
justify?: "end" | "center" | "start" | "between" | "around" | "evenly" | null | undefined;
|
|
5
|
+
wrap?: "wrap" | "wrap-reverse" | "nowrap" | null | undefined;
|
|
6
|
+
gap?: 0 | 1 | 4 | 3 | 8 | 2 | 5 | 6 | 10 | 12 | 16 | null | undefined;
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { FooterTitleProps } from './types';
|
|
3
|
+
export declare const Footer: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
4
|
+
center?: boolean | undefined;
|
|
5
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
6
|
+
export declare const FooterTitle: React.ForwardRefExoticComponent<FooterTitleProps & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const getFooterClasses: (props?: ({
|
|
2
|
+
center?: boolean | null | undefined;
|
|
3
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
4
|
+
export declare const getFooterTitleClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
@@ -3,9 +3,9 @@ export declare const DatetimeInput: import('react').ForwardRefExoticComponent<{
|
|
|
3
3
|
} & {
|
|
4
4
|
locale?: Intl.LocalesArgument;
|
|
5
5
|
} & Omit<import('../Input/types').InputProps, "type" | "defaultValue" | "onBlur" | "ref" | "disabled" | "value"> & {
|
|
6
|
-
variant?: "accent" | "default" | "error" | "info" | "primary" | "secondary" | "success" | "warning" |
|
|
7
|
-
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
6
|
+
variant?: "accent" | "default" | "error" | "ghost" | "info" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
8
7
|
outline?: boolean | undefined;
|
|
8
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
9
9
|
wide?: boolean | undefined;
|
|
10
10
|
disabled?: boolean | undefined;
|
|
11
11
|
readOnly?: boolean | undefined;
|
|
@@ -62,7 +62,7 @@ export declare const DatetimeInput: import('react').ForwardRefExoticComponent<{
|
|
|
62
62
|
modifiers?: Record<string, import('react-day-picker').Matcher | import('react-day-picker').Matcher[] | undefined> | undefined;
|
|
63
63
|
labels?: Partial<import('react-day-picker').Labels> | undefined;
|
|
64
64
|
formatters?: Partial<import('react-day-picker').Formatters> | undefined;
|
|
65
|
-
locale?: Partial<import('
|
|
65
|
+
locale?: Partial<import('react-day-picker').DayPickerLocale> | undefined;
|
|
66
66
|
numerals?: import('react-day-picker').Numerals | undefined;
|
|
67
67
|
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | undefined | undefined;
|
|
68
68
|
firstWeekContainsDate?: 1 | 4 | undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
export declare const Input: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
3
|
-
variant?: "accent" | "default" | "error" | "info" | "primary" | "secondary" | "success" | "warning" |
|
|
4
|
-
type?: string | number | undefined;
|
|
5
|
-
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
2
|
+
export declare const Input: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "ref"> & Omit<{
|
|
3
|
+
variant?: "accent" | "default" | "error" | "ghost" | "info" | "primary" | "secondary" | "success" | "warning" | undefined;
|
|
6
4
|
outline?: boolean | undefined;
|
|
5
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
6
|
+
type?: string | number | undefined;
|
|
7
7
|
wide?: boolean | undefined;
|
|
8
8
|
readOnly?: boolean | undefined;
|
|
9
9
|
}, "type"> & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const getInputClasses: (props?: ({
|
|
2
|
-
variant?: "accent" | "default" | "error" | "info" | "primary" | "secondary" | "success" | "warning" |
|
|
2
|
+
variant?: "accent" | "default" | "error" | "ghost" | "info" | "primary" | "secondary" | "success" | "warning" | null | undefined;
|
|
3
3
|
outline?: boolean | null | undefined;
|
|
4
4
|
wide?: boolean | null | undefined;
|
|
5
5
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
@@ -11,7 +11,7 @@ export declare const getInputLabelClasses: (props?: ({
|
|
|
11
11
|
floating?: boolean | null | undefined;
|
|
12
12
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
13
13
|
export declare const getInputCommonClasses: (props?: ({
|
|
14
|
-
variant?: "accent" | "default" | "error" | "info" | "primary" | "secondary" | "success" | "warning" |
|
|
14
|
+
variant?: "accent" | "default" | "error" | "ghost" | "info" | "primary" | "secondary" | "success" | "warning" | null | undefined;
|
|
15
15
|
outline?: boolean | null | undefined;
|
|
16
16
|
disabled?: boolean | null | undefined;
|
|
17
17
|
wide?: boolean | null | undefined;
|