@lotte-innovate/ui-component-test 0.0.36 → 0.0.40
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +133 -163
- package/dist/globals.css +4 -0
- package/dist/lib/Typography/Header/index.d.ts +1 -1
- package/dist/lib/Typography/Text/index.d.ts +1 -1
- package/dist/lib/color/constants.d.ts +9 -0
- package/dist/lib/components/Accordion/index.d.ts +10 -4
- package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogRoot.d.ts +16 -0
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +2 -2
- package/dist/lib/components/AlertDialog/index.d.ts +10 -19
- package/dist/lib/components/Avatar/index.d.ts +5 -1
- package/dist/lib/components/Badge/index.d.ts +2 -2
- package/dist/lib/components/BarChart/index.d.ts +37 -0
- package/dist/lib/components/BubbleChart/index.d.ts +15 -18
- package/dist/lib/components/Button/index.d.ts +2 -2
- package/dist/lib/components/Callout/CalloutIcon.d.ts +2 -1
- package/dist/lib/components/Callout/CalloutRoot.d.ts +18 -0
- package/dist/lib/components/Callout/index.d.ts +6 -19
- package/dist/lib/components/Card/index.d.ts +2 -2
- package/dist/lib/components/Checkbox/index.d.ts +1 -1
- package/dist/lib/components/CheckboxCard/index.d.ts +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +17 -0
- package/dist/lib/components/CheckboxGroup/index.d.ts +5 -16
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuGroup.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuRoot.d.ts +13 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.d.ts +1 -1
- package/dist/lib/components/ContextMenu/index.d.ts +16 -24
- package/dist/lib/components/DataList/DataListLabel.d.ts +1 -1
- package/dist/lib/components/DataList/DataListRoot.d.ts +14 -0
- package/dist/lib/components/DataList/DataListValue.d.ts +1 -1
- package/dist/lib/components/DataList/index.d.ts +7 -16
- package/dist/lib/components/Dialog/DialogAction.d.ts +1 -3
- package/dist/lib/components/Dialog/DialogCancel.d.ts +1 -1
- package/dist/lib/components/Dialog/DialogContent.d.ts +1 -1
- package/dist/lib/components/Dialog/DialogRoot.d.ts +15 -0
- package/dist/lib/components/Dialog/index.d.ts +14 -17
- package/dist/lib/components/DoughnutChart/index.d.ts +12 -13
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +0 -5
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +3 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.d.ts +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.d.ts +4 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +15 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +3 -2
- package/dist/lib/components/DropdownMenu/index.d.ts +19 -22
- package/dist/lib/components/HoverCard/HoverCardContent.d.ts +2 -2
- package/dist/lib/components/HoverCard/HoverCardRoot.d.ts +11 -0
- package/dist/lib/components/HoverCard/index.d.ts +9 -9
- package/dist/lib/components/IconButton/index.d.ts +1 -1
- package/dist/lib/components/Inset/index.d.ts +1 -1
- package/dist/lib/components/Label/index.d.ts +1 -1
- package/dist/lib/components/LineChart/index.d.ts +43 -0
- package/dist/lib/components/Menubar/MenubarContent.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarItem.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarMenu.d.ts +4 -1
- package/dist/lib/components/Menubar/MenubarRoot.d.ts +19 -0
- package/dist/lib/components/Menubar/MenubarSubContent.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarTrigger.d.ts +1 -1
- package/dist/lib/components/Menubar/index.d.ts +18 -30
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +14 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +2 -2
- package/dist/lib/components/NavigationMenu/index.d.ts +11 -20
- package/dist/lib/components/PieChart/index.d.ts +12 -13
- package/dist/lib/components/Popover/PopoverClose.d.ts +1 -1
- package/dist/lib/components/Popover/PopoverContent.d.ts +1 -1
- package/dist/lib/components/Popover/PopoverRoot.d.ts +12 -0
- package/dist/lib/components/Popover/index.d.ts +10 -11
- package/dist/lib/components/Progress/index.d.ts +2 -5
- package/dist/lib/components/RadarChart/index.d.ts +19 -21
- package/dist/lib/components/Radio/index.d.ts +0 -1
- package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +1 -1
- package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +13 -0
- package/dist/lib/components/RadioCards/index.d.ts +5 -13
- package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +15 -0
- package/dist/lib/components/RadioGroup/index.d.ts +5 -15
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +14 -0
- package/dist/lib/components/SegmentedControl/index.d.ts +5 -14
- package/dist/lib/components/Select/index.d.ts +17 -8
- package/dist/lib/components/Skeleton/index.d.ts +1 -2
- package/dist/lib/components/Slider/index.d.ts +1 -2
- package/dist/lib/components/TabNav/index.d.ts +6 -2
- package/dist/lib/components/Table/index.d.ts +17 -8
- package/dist/lib/components/Tabs/index.d.ts +11 -5
- package/dist/lib/components/TextArea/index.d.ts +1 -1
- package/dist/lib/components/TextField/index.d.ts +7 -4
- package/dist/lib/components/Toast/ToastActionButton.d.ts +1 -1
- package/dist/lib/components/Toast/ToastRoot.d.ts +27 -0
- package/dist/lib/components/Toast/index.d.ts +7 -29
- package/dist/lib/components/Toggle/ToggleWithText.d.ts +2 -2
- package/dist/lib/components/Toggle/index.d.ts +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +15 -0
- package/dist/lib/components/ToggleGroup/index.d.ts +5 -19
- package/dist/lib/components/ToggleSwitch/index.d.ts +1 -1
- package/dist/lib/components/Tooltip/index.d.ts +4 -5
- package/dist/lib/components/index.d.ts +4 -0
- package/dist/lib/constants.d.ts +470 -0
- package/dist/lib/types.d.ts +70 -0
- package/dist/lib/utils/useDarkMode.d.ts +1 -0
- package/dist/lib/utils/utils.d.ts +0 -1
- package/package.json +137 -124
- package/dist/lib/Typography/Header/index.js +0 -55
- package/dist/lib/Typography/Text/index.js +0 -44
- package/dist/lib/Typography/index.js +0 -2
- package/dist/lib/color/alpha.js +0 -784
- package/dist/lib/color/constants.js +0 -200
- package/dist/lib/color/dark.js +0 -392
- package/dist/lib/color/krdsColors.js +0 -309
- package/dist/lib/color/light.js +0 -393
- package/dist/lib/components/Accordion/index.js +0 -58
- package/dist/lib/components/AlertDialog/AlertDialogAction.js +0 -59
- package/dist/lib/components/AlertDialog/AlertDialogCancel.js +0 -56
- package/dist/lib/components/AlertDialog/AlertDialogContent.js +0 -49
- package/dist/lib/components/AlertDialog/AlertDialogDescription.js +0 -45
- package/dist/lib/components/AlertDialog/AlertDialogTitle.js +0 -45
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +0 -55
- package/dist/lib/components/AlertDialog/index.js +0 -37
- package/dist/lib/components/AspectRatio/index.js +0 -42
- package/dist/lib/components/Avatar/index.js +0 -57
- package/dist/lib/components/Badge/index.js +0 -54
- package/dist/lib/components/BubbleChart/index.js +0 -43
- package/dist/lib/components/Button/index.js +0 -56
- package/dist/lib/components/Callout/CalloutIcon.js +0 -57
- package/dist/lib/components/Callout/CalloutText.js +0 -52
- package/dist/lib/components/Callout/index.js +0 -75
- package/dist/lib/components/Card/index.js +0 -64
- package/dist/lib/components/Checkbox/index.js +0 -89
- package/dist/lib/components/CheckboxCard/index.js +0 -58
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +0 -33
- package/dist/lib/components/CheckboxGroup/index.js +0 -35
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +0 -40
- package/dist/lib/components/ContextMenu/ContextMenuContent.js +0 -56
- package/dist/lib/components/ContextMenu/ContextMenuGroup.js +0 -30
- package/dist/lib/components/ContextMenu/ContextMenuItem.js +0 -59
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +0 -50
- package/dist/lib/components/ContextMenu/ContextMenuLabel.js +0 -48
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js +0 -31
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +0 -41
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.js +0 -31
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +0 -53
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +0 -40
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.js +0 -31
- package/dist/lib/components/ContextMenu/index.js +0 -54
- package/dist/lib/components/DataList/DataListItem.js +0 -43
- package/dist/lib/components/DataList/DataListLabel.js +0 -49
- package/dist/lib/components/DataList/DataListValue.js +0 -51
- package/dist/lib/components/DataList/index.js +0 -57
- package/dist/lib/components/Dialog/DialogAction.js +0 -57
- package/dist/lib/components/Dialog/DialogCancel.js +0 -53
- package/dist/lib/components/Dialog/DialogContent.js +0 -55
- package/dist/lib/components/Dialog/DialogDescription.js +0 -45
- package/dist/lib/components/Dialog/DialogSlot.js +0 -44
- package/dist/lib/components/Dialog/DialogTitle.js +0 -45
- package/dist/lib/components/Dialog/DialogTrigger.js +0 -30
- package/dist/lib/components/Dialog/index.js +0 -38
- package/dist/lib/components/DoughnutChart/index.js +0 -46
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.js +0 -31
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +0 -58
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +0 -38
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +0 -54
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +0 -56
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +0 -46
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +0 -46
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +0 -39
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.js +0 -31
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.js +0 -30
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +0 -38
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +0 -51
- package/dist/lib/components/DropdownMenu/index.js +0 -43
- package/dist/lib/components/HoverCard/HoverCardContent.js +0 -59
- package/dist/lib/components/HoverCard/HoverCardTrigger.js +0 -30
- package/dist/lib/components/HoverCard/index.js +0 -33
- package/dist/lib/components/IconButton/index.js +0 -63
- package/dist/lib/components/Inset/index.js +0 -50
- package/dist/lib/components/Label/index.js +0 -53
- package/dist/lib/components/Menubar/MenubarCheckboxItem.js +0 -38
- package/dist/lib/components/Menubar/MenubarContent.js +0 -60
- package/dist/lib/components/Menubar/MenubarItem.js +0 -54
- package/dist/lib/components/Menubar/MenubarItemIndicator.js +0 -49
- package/dist/lib/components/Menubar/MenubarMenu.js +0 -30
- package/dist/lib/components/Menubar/MenubarRadioGroup.js +0 -31
- package/dist/lib/components/Menubar/MenubarRadioItem.js +0 -40
- package/dist/lib/components/Menubar/MenubarSeparator.js +0 -31
- package/dist/lib/components/Menubar/MenubarSub.js +0 -30
- package/dist/lib/components/Menubar/MenubarSubContent.js +0 -51
- package/dist/lib/components/Menubar/MenubarSubTrigger.js +0 -41
- package/dist/lib/components/Menubar/MenubarTrigger.js +0 -57
- package/dist/lib/components/Menubar/index.js +0 -73
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +0 -48
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +0 -31
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.js +0 -30
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +0 -51
- package/dist/lib/components/NavigationMenu/NavigationMenuList.js +0 -47
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +0 -58
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +0 -53
- package/dist/lib/components/NavigationMenu/index.js +0 -50
- package/dist/lib/components/PieChart/index.js +0 -46
- package/dist/lib/components/Popover/PopoverClose.js +0 -46
- package/dist/lib/components/Popover/PopoverContent.js +0 -63
- package/dist/lib/components/Popover/PopoverTrigger.js +0 -30
- package/dist/lib/components/Popover/index.js +0 -34
- package/dist/lib/components/Progress/index.js +0 -57
- package/dist/lib/components/RadarChart/index.js +0 -43
- package/dist/lib/components/Radio/index.js +0 -51
- package/dist/lib/components/RadioCards/RadioCardsItem.js +0 -52
- package/dist/lib/components/RadioCards/index.js +0 -43
- package/dist/lib/components/RadioGroup/RadioGroupItem.js +0 -44
- package/dist/lib/components/RadioGroup/index.js +0 -51
- package/dist/lib/components/ScrollArea/index.js +0 -36
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.js +0 -35
- package/dist/lib/components/SegmentedControl/index.js +0 -48
- package/dist/lib/components/Select/index.js +0 -83
- package/dist/lib/components/Separator/index.js +0 -47
- package/dist/lib/components/Skeleton/index.js +0 -43
- package/dist/lib/components/Slider/index.js +0 -50
- package/dist/lib/components/Spinner/index.js +0 -47
- package/dist/lib/components/TabNav/index.js +0 -46
- package/dist/lib/components/Table/index.js +0 -89
- package/dist/lib/components/Tabs/index.js +0 -59
- package/dist/lib/components/TextArea/index.js +0 -58
- package/dist/lib/components/TextField/index.js +0 -53
- package/dist/lib/components/Toast/ToastActionButton.js +0 -67
- package/dist/lib/components/Toast/ToastDescription.js +0 -53
- package/dist/lib/components/Toast/ToastTitle.js +0 -53
- package/dist/lib/components/Toast/index.js +0 -94
- package/dist/lib/components/Toggle/ToggleWithText.js +0 -57
- package/dist/lib/components/Toggle/index.js +0 -58
- package/dist/lib/components/ToggleGroup/index.js +0 -43
- package/dist/lib/components/ToggleGroup/toggleGroupItem.js +0 -52
- package/dist/lib/components/ToggleSwitch/index.js +0 -71
- package/dist/lib/components/Tooltip/index.js +0 -49
- package/dist/lib/components/index.js +0 -48
- package/dist/lib/constants.js +0 -569
- package/dist/lib/index.js +0 -2
- package/dist/lib/types.js +0 -1
- package/dist/lib/utils/utils.js +0 -27
- package/dist/tailwind.config.js +0 -144
- /package/dist/lib/components/ToggleGroup/{toggleGroupItem.d.ts → ToggleGroupItem.d.ts} +0 -0
@@ -5,7 +5,7 @@ export interface HeaderProps extends VariantProps<typeof headerVariants> {
|
|
5
5
|
color?: IColor;
|
6
6
|
}
|
7
7
|
declare let headerVariants: (props?: ({
|
8
|
-
weight?: "
|
8
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
9
9
|
headers?: "h2" | "h3" | "h1" | "h4" | "h5" | "h6" | null | undefined;
|
10
10
|
color?: string | null | undefined;
|
11
11
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -8,7 +8,7 @@ export interface TextProps extends VariantProps<typeof textVariants> {
|
|
8
8
|
align?: 'left' | 'center' | 'right';
|
9
9
|
}
|
10
10
|
declare const textVariants: (props?: ({
|
11
|
-
weight?: "
|
11
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | "light" | null | undefined;
|
12
12
|
color?: string | null | undefined;
|
13
13
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
14
14
|
export declare const Text: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & TextProps & React.RefAttributes<HTMLSpanElement>>;
|
@@ -18,3 +18,12 @@ export declare const alphaOptions: {
|
|
18
18
|
};
|
19
19
|
export declare const ColorStyle: Record<string, string>;
|
20
20
|
export declare const DarkColorStyle: Record<string, string>;
|
21
|
+
export declare const chartColorList: {
|
22
|
+
sorting: string[];
|
23
|
+
mixed: string[];
|
24
|
+
};
|
25
|
+
export declare const chartAlphaColorList: {
|
26
|
+
sorting: string[];
|
27
|
+
mixed: string[];
|
28
|
+
};
|
29
|
+
export declare const chartColorOptions: IColor[];
|
@@ -9,8 +9,14 @@ export interface AccordionProps extends React.InputHTMLAttributes<HTMLInputEleme
|
|
9
9
|
declare const accoridanVariants: (props?: ({
|
10
10
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
11
11
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
12
|
-
export declare const
|
13
|
-
export declare const
|
14
|
-
export declare const
|
15
|
-
export declare const
|
12
|
+
export declare const Root: React.ForwardRefExoticComponent<((Omit<AccordionPrimitive.AccordionSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<AccordionPrimitive.AccordionMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & AccordionProps) & React.RefAttributes<HTMLDivElement>>;
|
13
|
+
export declare const Item: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLDivElement>>;
|
14
|
+
export declare const Trigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLButtonElement>>;
|
15
|
+
export declare const Content: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLDivElement>>;
|
16
|
+
declare const Accordion: {
|
17
|
+
Root: React.ForwardRefExoticComponent<((Omit<AccordionPrimitive.AccordionSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<AccordionPrimitive.AccordionMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & AccordionProps) & React.RefAttributes<HTMLDivElement>>;
|
18
|
+
Item: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLDivElement>>;
|
19
|
+
Trigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLButtonElement>>;
|
20
|
+
Content: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLDivElement>>;
|
21
|
+
};
|
16
22
|
export default Accordion;
|
@@ -6,9 +6,9 @@ export interface AlertDialogActionProps extends VariantProps<typeof alertDialogA
|
|
6
6
|
appearance?: IAppearance;
|
7
7
|
}
|
8
8
|
export declare const alertDialogActionVariants: (props?: ({
|
9
|
-
radius?: "
|
9
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
10
10
|
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
11
|
-
weight?: "
|
11
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
12
12
|
color?: string | null | undefined;
|
13
13
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
14
14
|
export declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -6,8 +6,8 @@ export interface AlertDialogCancelProps extends VariantProps<typeof alertDialogC
|
|
6
6
|
appearance?: IAppearance;
|
7
7
|
}
|
8
8
|
export declare const alertDialogCancelVariants: (props?: ({
|
9
|
-
radius?: "
|
9
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
10
10
|
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
11
|
-
weight?: "
|
11
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
12
12
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
13
13
|
export declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -6,6 +6,6 @@ export interface AlertDialogContentProps extends VariantProps<typeof alertDialog
|
|
6
6
|
export declare const alertDialogContentVariants: (props?: ({
|
7
7
|
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
8
8
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
9
|
-
radius?: "
|
9
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
10
10
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
11
11
|
export declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & AlertDialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
4
|
+
import { IAppearance, IColor } from '../../../lib/types';
|
5
|
+
import { alertDialogContentVariants } from './AlertDialogContent';
|
6
|
+
import { alertDialogTitleVariants } from './AlertDialogTitle';
|
7
|
+
import { alertDialogDescriptionVariants } from './AlertDialogDescription';
|
8
|
+
import { alertDialogActionVariants } from './AlertDialogAction';
|
9
|
+
export interface AlertDialogProps extends VariantProps<typeof alertDialogContentVariants>, VariantProps<typeof alertDialogTitleVariants>, VariantProps<typeof alertDialogDescriptionVariants>, VariantProps<typeof alertDialogActionVariants> {
|
10
|
+
titleText?: string;
|
11
|
+
contentText?: string;
|
12
|
+
color?: IColor;
|
13
|
+
appearance?: IAppearance;
|
14
|
+
}
|
15
|
+
export declare const useAlertDialogContext: () => AlertDialogProps;
|
16
|
+
export declare const AlertDialogRoot: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogProps & AlertDialogProps & React.RefAttributes<never>>;
|
@@ -7,10 +7,10 @@ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElemen
|
|
7
7
|
appearance?: IAppearance;
|
8
8
|
}
|
9
9
|
declare const buttonVariants: (props?: ({
|
10
|
-
radius?: "
|
10
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
11
11
|
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
12
12
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
13
|
-
weight?: "
|
13
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
14
14
|
color?: string | null | undefined;
|
15
15
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
16
16
|
export declare const AlertDialogTrigger: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -1,20 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
import
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
export * from './AlertDialogDescription';
|
12
|
-
export * from './AlertDialogCancel';
|
13
|
-
export * from './AlertDialogAction';
|
14
|
-
export interface AlertDialogProps extends VariantProps<typeof alertDialogContentVariants>, VariantProps<typeof alertDialogTitleVariants>, VariantProps<typeof alertDialogDescriptionVariants> {
|
15
|
-
titleText?: string;
|
16
|
-
contentText?: string;
|
17
|
-
color?: IColor;
|
18
|
-
}
|
19
|
-
export declare const AlertDialog: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogProps & AlertDialogProps & React.RefAttributes<never>>;
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const AlertDialog: {
|
3
|
+
Root: import("react").ForwardRefExoticComponent<import("@radix-ui/react-alert-dialog").AlertDialogProps & import("./AlertDialogRoot").AlertDialogProps & import("react").RefAttributes<never>>;
|
4
|
+
Trigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-alert-dialog").AlertDialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("./AlertDialogTrigger").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
5
|
+
Content: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-alert-dialog").AlertDialogContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./AlertDialogContent").AlertDialogContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
6
|
+
Title: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-alert-dialog").AlertDialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>, "ref"> & import("./AlertDialogTitle").AlertDialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>>;
|
7
|
+
Description: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-alert-dialog").AlertDialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>, "ref"> & import("./AlertDialogDescription").AlertDialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>>;
|
8
|
+
Cancel: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-alert-dialog").AlertDialogCancelProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("./AlertDialogCancel").AlertDialogCancelProps & import("react").RefAttributes<HTMLButtonElement>>;
|
9
|
+
Action: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-alert-dialog").AlertDialogActionProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("./AlertDialogAction").AlertDialogActionProps & import("react").RefAttributes<HTMLButtonElement>>;
|
10
|
+
};
|
20
11
|
export default AlertDialog;
|
@@ -6,9 +6,13 @@ export interface AvatarProps extends VariantProps<typeof AvatarVariants> {
|
|
6
6
|
fallbackText?: string;
|
7
7
|
appearance?: 'solid' | 'soft';
|
8
8
|
fallbackClassName?: string;
|
9
|
+
ariaLabel?: string;
|
10
|
+
ariaLabelledby?: string;
|
11
|
+
title?: string;
|
12
|
+
delayMs?: number;
|
9
13
|
}
|
10
14
|
declare const AvatarVariants: (props?: ({
|
11
|
-
radius?: "
|
15
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
12
16
|
size?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | null | undefined;
|
13
17
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
14
18
|
color?: string | null | undefined;
|
@@ -8,10 +8,10 @@ export interface BadgeProps extends HTMLAttributes<HTMLDivElement>, VariantProps
|
|
8
8
|
weight?: IWeight;
|
9
9
|
}
|
10
10
|
declare const BadgeVariants: (props?: ({
|
11
|
-
radius?: "
|
11
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
12
12
|
size?: "small" | "medium" | "large" | null | undefined;
|
13
13
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
14
|
-
weight?: "
|
14
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
15
15
|
color?: string | null | undefined;
|
16
16
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
17
17
|
declare const Badge: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & BadgeProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
2
|
+
import { IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
|
3
|
+
export interface BorderRadius {
|
4
|
+
topLeft: number;
|
5
|
+
topRight: number;
|
6
|
+
bottomLeft: number;
|
7
|
+
bottomRight: number;
|
8
|
+
}
|
9
|
+
type IBarchartDataset = IChartDatasets & {
|
10
|
+
data: {
|
11
|
+
x: number;
|
12
|
+
y: number;
|
13
|
+
r: number;
|
14
|
+
}[];
|
15
|
+
barThickness?: number;
|
16
|
+
barPercentage?: number;
|
17
|
+
};
|
18
|
+
export interface BarChartProps extends VariantProps<typeof barChartVariants> {
|
19
|
+
labels?: string[];
|
20
|
+
isColorMixed?: boolean;
|
21
|
+
appearance?: 'solid' | 'soft';
|
22
|
+
title?: IChartTitle;
|
23
|
+
legend?: IChartLegend;
|
24
|
+
datasets: IBarchartDataset[];
|
25
|
+
indexAxis?: 'x' | 'y';
|
26
|
+
className?: string;
|
27
|
+
width?: string | number;
|
28
|
+
height?: string | number;
|
29
|
+
}
|
30
|
+
declare const barChartVariants: (props?: ({
|
31
|
+
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
32
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
33
|
+
declare const BarChart: {
|
34
|
+
({ className, title, datasets, labels, scaling, legend, width, height, indexAxis, appearance, isColorMixed, ...props }: BarChartProps): import("react/jsx-runtime").JSX.Element;
|
35
|
+
displayName: string;
|
36
|
+
};
|
37
|
+
export default BarChart;
|
@@ -1,23 +1,20 @@
|
|
1
|
-
import { PointStyle } from '../../../lib/types';
|
2
1
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
r: number;
|
10
|
-
}[];
|
11
|
-
backgroundColor?: string;
|
12
|
-
borderColor?: string;
|
13
|
-
borderWidth?: number;
|
14
|
-
hoverBackgroundColor?: string;
|
15
|
-
hoverBorderColor?: string;
|
16
|
-
hoverBorderWidth?: number;
|
17
|
-
pointStyle?: PointStyle;
|
2
|
+
import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
|
3
|
+
type IBubbleChartDataset = IChartDatasets & {
|
4
|
+
data: {
|
5
|
+
x: number;
|
6
|
+
y: number;
|
7
|
+
r: number;
|
18
8
|
}[];
|
19
|
-
|
9
|
+
};
|
10
|
+
export interface BubbleChartProps extends VariantProps<typeof bubbleChartVariants> {
|
11
|
+
appearance?: 'solid' | 'soft';
|
12
|
+
isColorMixed?: boolean;
|
20
13
|
className?: string;
|
14
|
+
title?: IChartTitle;
|
15
|
+
legend?: IChartLegend;
|
16
|
+
datasets: IBubbleChartDataset[];
|
17
|
+
datalabels?: IChartDataLabels;
|
21
18
|
width?: string | number;
|
22
19
|
height?: string | number;
|
23
20
|
}
|
@@ -25,7 +22,7 @@ declare const bubbleChartVariants: (props?: ({
|
|
25
22
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
26
23
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
27
24
|
export declare const BubbleChart: {
|
28
|
-
({ className, datasets, scaling, width, height, ...props }: BubbleChartProps): import("react/jsx-runtime").JSX.Element;
|
25
|
+
({ className, title, legend, datalabels, datasets, scaling, width, height, appearance, isColorMixed, ...props }: BubbleChartProps): import("react/jsx-runtime").JSX.Element;
|
29
26
|
displayName: string;
|
30
27
|
};
|
31
28
|
export default BubbleChart;
|
@@ -6,10 +6,10 @@ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElemen
|
|
6
6
|
appearance?: IAppearance;
|
7
7
|
}
|
8
8
|
declare const buttonVariants: (props?: ({
|
9
|
-
radius?: "
|
9
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
10
10
|
size?: "small" | "medium" | "large" | "x-small" | "x-large" | null | undefined;
|
11
11
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
12
|
-
weight?: "
|
12
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
13
13
|
color?: string | null | undefined;
|
14
14
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
15
15
|
export declare const Button: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
+
import { Callout as CalloutTheme } from '@radix-ui/themes';
|
2
3
|
import { VariantProps } from 'class-variance-authority';
|
3
4
|
export interface CalloutIconProps extends VariantProps<typeof calloutIconVariants> {
|
4
5
|
iconType?: 'danger' | 'success' | 'warning' | 'information';
|
@@ -8,5 +9,5 @@ declare const calloutIconVariants: (props?: ({
|
|
8
9
|
size?: "small" | "medium" | "large" | null | undefined;
|
9
10
|
color?: "danger" | "warning" | "success" | "information" | null | undefined;
|
10
11
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
11
|
-
export declare const CalloutIcon: React.ForwardRefExoticComponent<Omit<
|
12
|
+
export declare const CalloutIcon: React.ForwardRefExoticComponent<Omit<CalloutTheme.IconProps & React.RefAttributes<HTMLDivElement>, "ref"> & CalloutIconProps & React.RefAttributes<HTMLDivElement>>;
|
12
13
|
export {};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
3
|
+
import { calloutTextVariants } from './CalloutText';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
|
+
export interface CalloutProps extends VariantProps<typeof calloutVariants>, VariantProps<typeof calloutTextVariants> {
|
6
|
+
contentText?: string;
|
7
|
+
appearance?: Exclude<IAppearance, 'classic' | 'ghost' | 'solid'>;
|
8
|
+
color?: 'danger' | 'warning' | 'success' | 'information' | null;
|
9
|
+
}
|
10
|
+
declare const calloutVariants: (props?: ({
|
11
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
12
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
13
|
+
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
14
|
+
color?: "danger" | "warning" | "success" | "information" | null | undefined;
|
15
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
16
|
+
export declare const useCalloutContext: () => CalloutProps;
|
17
|
+
export declare const CalloutRoot: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & CalloutProps & React.RefAttributes<HTMLDivElement>>;
|
18
|
+
export {};
|
@@ -1,20 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
import
|
4
|
-
import
|
5
|
-
|
6
|
-
|
7
|
-
export interface CalloutProps extends VariantProps<typeof calloutVariants>, VariantProps<typeof calloutTextVariants> {
|
8
|
-
contentText?: string;
|
9
|
-
appearance?: Exclude<IAppearance, 'classic' | 'ghost' | 'solid'>;
|
10
|
-
color?: 'danger' | 'warning' | 'success' | 'information' | null;
|
11
|
-
}
|
12
|
-
declare const calloutVariants: (props?: ({
|
13
|
-
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
14
|
-
size?: "small" | "medium" | "large" | null | undefined;
|
15
|
-
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
16
|
-
color?: "danger" | "warning" | "success" | "information" | null | undefined;
|
17
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
18
|
-
export declare const useCalloutContext: () => CalloutProps;
|
19
|
-
export declare const Callout: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & CalloutProps & React.RefAttributes<HTMLDivElement>>;
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const Callout: {
|
3
|
+
Root: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("./CalloutRoot").CalloutProps & import("react").RefAttributes<HTMLDivElement>>;
|
4
|
+
Text: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & import("./CalloutText").CalloutTextProps & import("react").RefAttributes<HTMLParagraphElement>>;
|
5
|
+
Icon: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/callout").IconProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./CalloutIcon").CalloutIconProps & import("react").RefAttributes<HTMLDivElement>>;
|
6
|
+
};
|
20
7
|
export default Callout;
|
@@ -5,10 +5,10 @@ export interface CardProps extends VariantProps<typeof cardVariants> {
|
|
5
5
|
appearance?: Exclude<IAppearance, 'solid' | 'outline'>;
|
6
6
|
}
|
7
7
|
declare const cardVariants: (props?: ({
|
8
|
-
radius?: "
|
8
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
9
9
|
size?: "small" | "medium" | "large" | null | undefined;
|
10
10
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
11
|
-
weight?: "
|
11
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
12
12
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
13
13
|
declare const Card: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & CardProps & React.RefAttributes<HTMLDivElement>>;
|
14
14
|
export default Card;
|
@@ -11,7 +11,7 @@ export interface CheckboxProps extends VariantProps<typeof CheckboxVariants> {
|
|
11
11
|
export declare const CheckboxVariants: (props?: ({
|
12
12
|
size?: "small" | "medium" | "large" | null | undefined;
|
13
13
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
14
|
-
radius?: "
|
14
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
15
15
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
16
16
|
export declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
|
17
17
|
export default Checkbox;
|
@@ -12,7 +12,7 @@ export interface CheckboxCardProps extends React.HTMLAttributes<HTMLDivElement>,
|
|
12
12
|
ariaDisabled?: boolean;
|
13
13
|
}
|
14
14
|
export declare const CheckboxCardVariants: (props?: ({
|
15
|
-
radius?: "
|
15
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
16
16
|
size?: "small" | "medium" | "large" | null | undefined;
|
17
17
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
18
18
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import React, { ReactNode } from 'react';
|
2
|
+
import { CheckboxGroup as CheckboxGroupTheme } from '@radix-ui/themes';
|
3
|
+
import { CheckboxVariants } from '../../../lib/components/Checkbox';
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
5
|
+
import { IAppearance, IColor } from '../../../lib/types';
|
6
|
+
export interface CheckboxGroupRootProps extends VariantProps<typeof CheckboxGroupVariants>, VariantProps<typeof CheckboxVariants> {
|
7
|
+
children?: ReactNode;
|
8
|
+
defaultValue?: string[];
|
9
|
+
color?: IColor;
|
10
|
+
appearance?: Exclude<IAppearance, 'ghost' | 'outline' | 'solid'>;
|
11
|
+
}
|
12
|
+
export declare const CheckboxGroupVariants: (props?: ({
|
13
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
14
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
15
|
+
export declare const useCheckboxGroupContext: () => CheckboxGroupRootProps;
|
16
|
+
export declare const CheckboxGroupRoot: React.ForwardRefExoticComponent<Omit<CheckboxGroupTheme.RootProps & React.RefAttributes<HTMLDivElement>, "ref"> & CheckboxGroupRootProps & React.RefAttributes<HTMLDivElement>>;
|
17
|
+
export default CheckboxGroupRoot;
|
@@ -1,17 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
import
|
4
|
-
import
|
5
|
-
|
6
|
-
export interface CheckboxGroupRootProps extends VariantProps<typeof CheckboxGroupVariants>, VariantProps<typeof CheckboxVariants> {
|
7
|
-
children?: ReactNode;
|
8
|
-
defaultValue?: string[] | undefined;
|
9
|
-
color?: IColor;
|
10
|
-
appearance?: Exclude<IAppearance, 'ghost' | 'outline' | 'solid'>;
|
11
|
-
}
|
12
|
-
export declare const CheckboxGroupVariants: (props?: ({
|
13
|
-
size?: "small" | "medium" | "large" | null | undefined;
|
14
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
15
|
-
export declare const useCheckboxGroupContext: () => CheckboxGroupRootProps;
|
16
|
-
export declare const CheckboxGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & CheckboxGroupRootProps & React.RefAttributes<HTMLDivElement>>;
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const CheckboxGroup: {
|
3
|
+
Root: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/checkbox-group").RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./CheckboxGroupRoot").CheckboxGroupRootProps & import("react").RefAttributes<HTMLDivElement>>;
|
4
|
+
Item: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-checkbox").CheckboxProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("../../../lib/components/Checkbox").CheckboxProps & import("react").RefAttributes<HTMLButtonElement>>;
|
5
|
+
};
|
17
6
|
export default CheckboxGroup;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
3
|
-
import { ContextMenuProps } from '
|
3
|
+
import { ContextMenuProps } from './ContextMenuRoot';
|
4
4
|
export declare const ContextMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & ContextMenuProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
export interface ContextMenuContentProps extends VariantProps<typeof contextMenuContentVariants> {
|
5
5
|
}
|
6
6
|
export declare const contextMenuContentVariants: (props?: ({
|
7
|
-
radius?: "
|
7
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
8
8
|
size?: "small" | "medium" | null | undefined;
|
9
9
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
10
10
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { ContextMenuProps } from '
|
2
|
+
import { ContextMenuProps } from './ContextMenuRoot';
|
3
3
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
4
4
|
export declare const ContextMenuGroup: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & ContextMenuProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -6,7 +6,7 @@ export interface ContextMenuItemProps extends VariantProps<typeof contextMenuIte
|
|
6
6
|
shortcut?: string;
|
7
7
|
}
|
8
8
|
export declare const contextMenuItemVariants: (props?: ({
|
9
|
-
radius?: "
|
9
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
10
10
|
size?: "small" | "medium" | null | undefined;
|
11
11
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
12
12
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
export interface ContextMenuItemIndicatorProps extends VariantProps<typeof contextMenuItemIndicatorVariants> {
|
5
5
|
}
|
6
6
|
export declare const contextMenuItemIndicatorVariants: (props?: ({
|
7
|
-
radius?: "
|
7
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
8
8
|
size?: "small" | "medium" | null | undefined;
|
9
9
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
10
10
|
export declare const ContextMenuItemIndicator: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>, "ref"> & ContextMenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
3
|
-
import { ContextMenuProps } from '
|
3
|
+
import { ContextMenuProps } from './ContextMenuRoot';
|
4
4
|
export declare const ContextMenuRadioItem: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & ContextMenuProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
4
|
+
import { IColor } from '../../../lib/types';
|
5
|
+
import { contextMenuContentVariants } from './ContextMenuContent';
|
6
|
+
import { contextMenuItemVariants } from './ContextMenuItem';
|
7
|
+
export interface ContextMenuProps extends VariantProps<typeof contextMenuContentVariants>, VariantProps<typeof contextMenuItemVariants> {
|
8
|
+
color?: IColor;
|
9
|
+
appearance?: 'solid' | 'soft';
|
10
|
+
}
|
11
|
+
export declare const useContextMenuContext: () => ContextMenuProps;
|
12
|
+
export declare const ContextMenuRoot: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuProps & ContextMenuProps & React.RefAttributes<never>>;
|
13
|
+
export default ContextMenuRoot;
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
export interface ContextMenuSubContentProps extends VariantProps<typeof contextMenuSubContentVariants> {
|
5
5
|
}
|
6
6
|
export declare const contextMenuSubContentVariants: (props?: ({
|
7
|
-
radius?: "
|
7
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
8
8
|
size?: "small" | "medium" | null | undefined;
|
9
9
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
10
10
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
3
|
-
import { ContextMenuProps } from '
|
3
|
+
import { ContextMenuProps } from './ContextMenuRoot';
|
4
4
|
export declare const ContextMenuTrigger: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuTriggerProps & React.RefAttributes<HTMLSpanElement>, "ref"> & ContextMenuProps & React.RefAttributes<HTMLSpanElement>>;
|
@@ -1,25 +1,17 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
import
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
export * from './ContextMenuSubTrigger';
|
18
|
-
export * from './ContextMenuSubContent';
|
19
|
-
export interface ContextMenuProps extends VariantProps<typeof contextMenuContentVariants>, VariantProps<typeof contextMenuItemVariants> {
|
20
|
-
color?: IColor;
|
21
|
-
appearance?: 'solid' | 'soft';
|
22
|
-
}
|
23
|
-
export declare const useContextMenuContext: () => ContextMenuProps;
|
24
|
-
export declare const ContextMenu: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuProps & ContextMenuProps & React.RefAttributes<never>>;
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const ContextMenu: {
|
3
|
+
Root: import("react").ForwardRefExoticComponent<import("@radix-ui/react-context-menu").ContextMenuProps & import("./ContextMenuRoot").ContextMenuProps & import("react").RefAttributes<never>>;
|
4
|
+
Content: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ContextMenuContent").ContextMenuContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
5
|
+
CheckboxItem: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuCheckboxItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ContextMenuRoot").ContextMenuProps & import("react").RefAttributes<HTMLDivElement>>;
|
6
|
+
Group: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuGroupProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ContextMenuRoot").ContextMenuProps & import("react").RefAttributes<HTMLDivElement>>;
|
7
|
+
Item: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ContextMenuItem").ContextMenuItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
8
|
+
ItemIndicator: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuItemIndicatorProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("./ContextMenuItemIndicator").ContextMenuItemIndicatorProps & import("react").RefAttributes<HTMLSpanElement>>;
|
9
|
+
Label: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuLabelProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ContextMenuLabel").ContextMenuLabelProps & import("react").RefAttributes<HTMLDivElement>>;
|
10
|
+
Trigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuTriggerProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("./ContextMenuRoot").ContextMenuProps & import("react").RefAttributes<HTMLSpanElement>>;
|
11
|
+
RadioGroup: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuRadioGroupProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
12
|
+
RadioItem: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuRadioItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ContextMenuRoot").ContextMenuProps & import("react").RefAttributes<HTMLDivElement>>;
|
13
|
+
Separator: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuSeparatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
14
|
+
SubTrigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuSubTriggerProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ContextMenuItem").ContextMenuItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
15
|
+
SubContent: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuSubContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ContextMenuSubContent").ContextMenuSubContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
16
|
+
};
|
25
17
|
export default ContextMenu;
|
@@ -5,6 +5,6 @@ export interface DataListLabelProps extends VariantProps<typeof dataListLabelVar
|
|
5
5
|
}
|
6
6
|
export declare const dataListLabelVariants: (props?: ({
|
7
7
|
size?: "small" | "medium" | "large" | null | undefined;
|
8
|
-
weight?: "
|
8
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
9
9
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
10
10
|
export declare const DataListLabel: React.ForwardRefExoticComponent<Omit<DataListTheme.LabelProps & React.RefAttributes<HTMLElement>, "ref"> & DataListLabelProps & React.RefAttributes<HTMLElement>>;
|