@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
@@ -9,13 +9,22 @@ export interface TableProps extends VariantProps<typeof tableVariants> {
|
|
9
9
|
}
|
10
10
|
declare const tableVariants: (props?: ({
|
11
11
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
12
|
-
radius?: "
|
12
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
13
13
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
14
|
-
export declare const
|
15
|
-
export declare const
|
16
|
-
export declare const
|
17
|
-
export declare const
|
18
|
-
export declare const
|
19
|
-
export declare const
|
20
|
-
export declare const
|
14
|
+
export declare const Root: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & TableProps & React.RefAttributes<HTMLDivElement>>;
|
15
|
+
export declare const Header: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableSectionElement>>;
|
16
|
+
export declare const Body: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableSectionElement>>;
|
17
|
+
export declare const Row: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableRowElement>>;
|
18
|
+
export declare const Cell: React.ForwardRefExoticComponent<Omit<TableTheme.CellProps & React.RefAttributes<HTMLTableDataCellElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableDataCellElement>>;
|
19
|
+
export declare const ColumnHeaderCell: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableHeaderCellElement>>;
|
20
|
+
export declare const RowHeaderCell: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableHeaderCellElement>>;
|
21
|
+
declare const Table: {
|
22
|
+
Root: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & TableProps & React.RefAttributes<HTMLDivElement>>;
|
23
|
+
Header: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableSectionElement>>;
|
24
|
+
Body: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableSectionElement>>;
|
25
|
+
Row: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableRowElement>>;
|
26
|
+
Cell: React.ForwardRefExoticComponent<Omit<TableTheme.CellProps & React.RefAttributes<HTMLTableDataCellElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableDataCellElement>>;
|
27
|
+
ColumnHeaderCell: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableHeaderCellElement>>;
|
28
|
+
RowHeaderCell: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableHeaderCellElement>>;
|
29
|
+
};
|
21
30
|
export default Table;
|
@@ -7,10 +7,16 @@ export interface TabsProps extends VariantProps<typeof tabsVariants> {
|
|
7
7
|
color?: any;
|
8
8
|
}
|
9
9
|
declare const tabsVariants: (props?: ({
|
10
|
-
weight?: "
|
10
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | 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<TabsTheme.RootProps & React.RefAttributes<HTMLDivElement>, "ref"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
|
13
|
+
export declare const List: React.ForwardRefExoticComponent<Omit<TabsTheme.ListProps & React.RefAttributes<HTMLDivElement>, "ref"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
|
14
|
+
export declare const Trigger: React.ForwardRefExoticComponent<Omit<TabsTheme.TriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & TabsProps & React.RefAttributes<HTMLButtonElement>>;
|
15
|
+
export declare const Content: React.ForwardRefExoticComponent<Omit<TabsTheme.ContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
|
16
|
+
declare const Tabs: {
|
17
|
+
Root: React.ForwardRefExoticComponent<Omit<TabsTheme.RootProps & React.RefAttributes<HTMLDivElement>, "ref"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
|
18
|
+
List: React.ForwardRefExoticComponent<Omit<TabsTheme.ListProps & React.RefAttributes<HTMLDivElement>, "ref"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
|
19
|
+
Trigger: React.ForwardRefExoticComponent<Omit<TabsTheme.TriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & TabsProps & React.RefAttributes<HTMLButtonElement>>;
|
20
|
+
Content: React.ForwardRefExoticComponent<Omit<TabsTheme.ContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
|
21
|
+
};
|
16
22
|
export default Tabs;
|
@@ -10,7 +10,7 @@ export interface TextAreaProps extends VariantProps<typeof textAreaNavVariants>
|
|
10
10
|
declare const textAreaNavVariants: (props?: ({
|
11
11
|
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
12
12
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
13
|
-
radius?: "
|
13
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
14
14
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
15
15
|
export declare const TextArea: React.ForwardRefExoticComponent<Omit<import("@radix-ui/themes").TextAreaProps & React.RefAttributes<HTMLTextAreaElement>, "ref"> & TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
16
16
|
export default TextArea;
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import '@radix-ui/themes/styles.css';
|
3
2
|
import { VariantProps } from 'class-variance-authority';
|
4
3
|
import { TextField as TextFieldTheme } from '@radix-ui/themes';
|
5
4
|
import { IScaling } from '../../../lib/types';
|
@@ -10,9 +9,13 @@ export interface TextFieldProps extends VariantProps<typeof textFieldVariants> {
|
|
10
9
|
scaling?: IScaling;
|
11
10
|
}
|
12
11
|
declare const textFieldVariants: (props?: ({
|
13
|
-
radius?: "
|
12
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
14
13
|
color?: string | null | undefined;
|
15
14
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
16
|
-
export declare const
|
17
|
-
export declare const
|
15
|
+
export declare const Root: React.ForwardRefExoticComponent<Omit<TextFieldTheme.RootProps & React.RefAttributes<HTMLInputElement>, "ref"> & TextFieldProps & React.RefAttributes<HTMLInputElement>>;
|
16
|
+
export declare const Slot: React.ForwardRefExoticComponent<Omit<TextFieldTheme.SlotProps & React.RefAttributes<HTMLDivElement>, "ref"> & TextFieldProps & React.RefAttributes<HTMLDivElement>>;
|
17
|
+
declare const TextField: {
|
18
|
+
Root: React.ForwardRefExoticComponent<Omit<TextFieldTheme.RootProps & React.RefAttributes<HTMLInputElement>, "ref"> & TextFieldProps & React.RefAttributes<HTMLInputElement>>;
|
19
|
+
Slot: React.ForwardRefExoticComponent<Omit<TextFieldTheme.SlotProps & React.RefAttributes<HTMLDivElement>, "ref"> & TextFieldProps & React.RefAttributes<HTMLDivElement>>;
|
20
|
+
};
|
18
21
|
export default TextField;
|
@@ -7,7 +7,7 @@ export interface ToastActionButtonProps extends VariantProps<typeof toastActionB
|
|
7
7
|
appearance?: IAppearance;
|
8
8
|
}
|
9
9
|
export declare const toastActionButtonVariants: (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
13
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import React, { Dispatch, SetStateAction } from 'react';
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
3
|
+
import * as ToastPrimitive from '@radix-ui/react-toast';
|
4
|
+
import { toastTitleVariants } from './ToastTitle';
|
5
|
+
import { toastDescriptionVariants } from './ToastDescription';
|
6
|
+
import { toastActionButtonVariants } from './ToastActionButton';
|
7
|
+
export interface ToastProps extends VariantProps<typeof toastVariants>, VariantProps<typeof toastTitleVariants>, VariantProps<typeof toastDescriptionVariants>, VariantProps<typeof toastActionButtonVariants>, VariantProps<typeof toastViewportVariants> {
|
8
|
+
className?: string;
|
9
|
+
openToast?: boolean;
|
10
|
+
duration?: number;
|
11
|
+
titleText?: string;
|
12
|
+
contentText?: string;
|
13
|
+
color?: 'danger' | 'warning' | 'success' | 'information' | null;
|
14
|
+
setOpenToast?: Dispatch<SetStateAction<boolean>>;
|
15
|
+
}
|
16
|
+
export declare const toastVariants: (props?: ({
|
17
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
18
|
+
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
19
|
+
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
20
|
+
color?: "danger" | "warning" | "success" | "information" | null | undefined;
|
21
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
22
|
+
export declare const toastViewportVariants: (props?: ({
|
23
|
+
toastPosition?: "top_center" | "top_left" | "top_right" | "bottom_center" | "bottom_left" | "bottom_right" | null | undefined;
|
24
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
25
|
+
export declare const useToastContext: () => ToastProps;
|
26
|
+
export declare const ToastRoot: React.ForwardRefExoticComponent<ToastPrimitive.ToastProviderProps & ToastProps & React.RefAttributes<never>>;
|
27
|
+
export default ToastRoot;
|
@@ -1,30 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
import
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
|
8
|
-
export * from './ToastDescription';
|
9
|
-
export * from './ToastActionButton';
|
10
|
-
export interface ToastProps extends VariantProps<typeof toastVariants>, VariantProps<typeof toastTitleVariants>, VariantProps<typeof toastDescriptionVariants>, VariantProps<typeof toastActionButtonVariants>, VariantProps<typeof toastViewportVariants> {
|
11
|
-
className?: string;
|
12
|
-
openToast?: boolean;
|
13
|
-
duration?: number;
|
14
|
-
titleText?: string;
|
15
|
-
contentText?: string;
|
16
|
-
color?: 'danger' | 'warning' | 'success' | 'information' | null;
|
17
|
-
setOpenToast?: Dispatch<SetStateAction<boolean>>;
|
18
|
-
}
|
19
|
-
export declare const toastVariants: (props?: ({
|
20
|
-
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
21
|
-
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
22
|
-
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
23
|
-
color?: "danger" | "warning" | "success" | "information" | null | undefined;
|
24
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
25
|
-
export declare const toastViewportVariants: (props?: ({
|
26
|
-
toastPosition?: "top_center" | "top_left" | "top_right" | "bottom_center" | "bottom_left" | "bottom_right" | null | undefined;
|
27
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
28
|
-
export declare const useToastContext: () => ToastProps;
|
29
|
-
export declare const Toast: React.ForwardRefExoticComponent<ToastPrimitive.ToastProviderProps & ToastProps & React.RefAttributes<never>>;
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const Toast: {
|
3
|
+
Root: import("react").ForwardRefExoticComponent<import("@radix-ui/react-toast").ToastProviderProps & import("./ToastRoot").ToastProps & import("react").RefAttributes<never>>;
|
4
|
+
Title: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-toast").ToastTitleProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ToastTitle").ToastTitleProps & import("react").RefAttributes<HTMLDivElement>>;
|
5
|
+
Description: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-toast").ToastDescriptionProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ToastDescription").ToastDescriptionProps & import("react").RefAttributes<HTMLDivElement>>;
|
6
|
+
ActionButton: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-toast").ToastActionProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("./ToastActionButton").ToastActionButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
7
|
+
};
|
30
8
|
export default Toast;
|
@@ -8,7 +8,7 @@ export interface ToggleWithTextProps extends VariantProps<typeof toggleWithTextV
|
|
8
8
|
size?: 'small' | 'medium' | 'large';
|
9
9
|
}
|
10
10
|
declare const toggleWithTextVariants: (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
14
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -18,4 +18,4 @@ export declare const IconScaling: {
|
|
18
18
|
large: string;
|
19
19
|
};
|
20
20
|
export declare const ToggleWithText: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & ToggleWithTextProps & React.RefAttributes<HTMLButtonElement>>;
|
21
|
-
export
|
21
|
+
export default ToggleWithText;
|
@@ -8,7 +8,7 @@ export interface ToggleProps extends VariantProps<typeof toggleVariants> {
|
|
8
8
|
appearance?: IAppearance;
|
9
9
|
}
|
10
10
|
declare const toggleVariants: (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
14
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
4
|
+
import { toggleGroupItemVariants } from './ToggleGroupItem';
|
5
|
+
import { IAppearance, IColor } from '../../../lib/types';
|
6
|
+
export interface ToggleGroupProps extends VariantProps<typeof toggleVariants>, VariantProps<typeof toggleGroupItemVariants> {
|
7
|
+
appearance?: IAppearance;
|
8
|
+
color?: IColor;
|
9
|
+
}
|
10
|
+
declare const toggleVariants: (props?: ({
|
11
|
+
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
12
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
13
|
+
export declare const ToggleGroupContext: React.Context<ToggleGroupProps>;
|
14
|
+
export declare const ToggleGroupRoot: React.ForwardRefExoticComponent<(React.ComponentPropsWithoutRef<React.ForwardRefExoticComponent<(ToggleGroupPrimitive.ToggleGroupSingleProps | ToggleGroupPrimitive.ToggleGroupMultipleProps) & React.RefAttributes<HTMLDivElement>>> & ToggleGroupProps) & React.RefAttributes<HTMLDivElement>>;
|
15
|
+
export {};
|
@@ -1,20 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
import
|
4
|
-
import
|
5
|
-
|
6
|
-
export * from './toggleGroupItem';
|
7
|
-
export interface ToggleGroupSingleProps extends VariantProps<typeof toggleVariants>, VariantProps<typeof toggleGroupItemVariants> {
|
8
|
-
appearance?: IAppearance;
|
9
|
-
defaultValue?: string;
|
10
|
-
value?: string;
|
11
|
-
}
|
12
|
-
export interface ToggleGroupMultipleProps extends VariantProps<typeof toggleVariants>, VariantProps<typeof toggleGroupItemVariants> {
|
13
|
-
defaultValue?: string[];
|
14
|
-
value?: string[];
|
15
|
-
}
|
16
|
-
declare const toggleVariants: (props?: ({
|
17
|
-
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
18
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
19
|
-
export declare const ToggleGroup: React.ForwardRefExoticComponent<(React.ComponentPropsWithoutRef<React.ForwardRefExoticComponent<(ToggleGroupPrimitive.ToggleGroupSingleProps | ToggleGroupPrimitive.ToggleGroupMultipleProps) & React.RefAttributes<HTMLDivElement>>> & ToggleGroupSingleProps & ToggleGroupMultipleProps) & React.RefAttributes<HTMLDivElement>>;
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const ToggleGroup: {
|
3
|
+
Root: import("react").ForwardRefExoticComponent<(import("react").ComponentPropsWithoutRef<import("react").ForwardRefExoticComponent<(import("@radix-ui/react-toggle-group").ToggleGroupSingleProps | import("@radix-ui/react-toggle-group").ToggleGroupMultipleProps) & import("react").RefAttributes<HTMLDivElement>>> & import("./ToggleGroupRoot").ToggleGroupProps) & import("react").RefAttributes<HTMLDivElement>>;
|
4
|
+
Item: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-toggle-group").ToggleGroupItemProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("./ToggleGroupItem").ToggleGroupItemProps & import("react").RefAttributes<HTMLButtonElement>>;
|
5
|
+
};
|
20
6
|
export default ToggleGroup;
|
@@ -6,7 +6,7 @@ export interface ToggleSwitchProps extends VariantProps<typeof toggleSwitchVaria
|
|
6
6
|
}
|
7
7
|
declare const toggleSwitchVariants: (props?: ({
|
8
8
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
9
|
-
radius?: "
|
9
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
10
10
|
size?: "small" | "medium" | "large" | null | undefined;
|
11
11
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
12
12
|
export declare const ToggleSwitch: React.ForwardRefExoticComponent<Omit<import("@radix-ui/themes").SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & ToggleSwitchProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -11,10 +11,9 @@ export interface TooltipProps extends React.InputHTMLAttributes<HTMLInputElement
|
|
11
11
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
12
12
|
}
|
13
13
|
declare const tooltipVariants: (props?: ({
|
14
|
-
|
15
|
-
|
16
|
-
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
14
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
15
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
17
16
|
color?: string | null | undefined;
|
18
17
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
19
|
-
|
20
|
-
export
|
18
|
+
declare const Tooltip: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipProps & TooltipProps & React.RefAttributes<never>>;
|
19
|
+
export default Tooltip;
|
@@ -38,9 +38,13 @@ export { default as TextArea } from './TextArea';
|
|
38
38
|
export { default as TextField } from './TextField';
|
39
39
|
export { default as Toast } from './Toast';
|
40
40
|
export { default as Toggle } from './Toggle';
|
41
|
+
export { default as ToggleWithText } from './Toggle/ToggleWithText';
|
41
42
|
export { default as ToggleGroup } from './ToggleGroup';
|
42
43
|
export { default as ToggleSwitch } from './ToggleSwitch';
|
44
|
+
export { default as Tooltip } from './Tooltip';
|
45
|
+
export { default as BarChart } from './BarChart';
|
43
46
|
export { default as BubbleChart } from './BubbleChart';
|
44
47
|
export { default as RadarChart } from './RadarChart';
|
48
|
+
export { default as LineChart } from './LineChart';
|
45
49
|
export { default as PieChart } from './PieChart';
|
46
50
|
export { default as DoughnutChart } from './DoughnutChart';
|