@lotte-innovate/ui-component-test 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. package/README.md +163 -163
  2. package/dist/components/Accordion/index.jsx +13 -13
  3. package/dist/components/AlertDialog/AlertDialogAction.jsx +2 -2
  4. package/dist/components/AlertDialog/AlertDialogCancel.jsx +2 -2
  5. package/dist/components/AlertDialog/AlertDialogContent.jsx +5 -5
  6. package/dist/components/AlertDialog/AlertDialogDescription.jsx +2 -2
  7. package/dist/components/AlertDialog/AlertDialogTitle.jsx +2 -2
  8. package/dist/components/AlertDialog/AlertDialogTrigger.jsx +2 -2
  9. package/dist/components/AspectRatio/index.jsx +2 -2
  10. package/dist/components/Avatar/index.jsx +5 -5
  11. package/dist/components/Badge/index.jsx +2 -2
  12. package/dist/components/BubbleChart/index.d.ts +1 -1
  13. package/dist/components/Button/index.jsx +2 -2
  14. package/dist/components/Callout/CalloutIcon.jsx +6 -6
  15. package/dist/components/Callout/CalloutText.jsx +2 -2
  16. package/dist/components/Callout/index.jsx +4 -4
  17. package/dist/components/Card/index.jsx +2 -2
  18. package/dist/components/Checkbox/index.jsx +9 -9
  19. package/dist/components/CheckboxCard/index.jsx +3 -3
  20. package/dist/components/CheckboxGroup/CheckboxGroupItem.jsx +4 -4
  21. package/dist/components/CheckboxGroup/index.jsx +4 -4
  22. package/dist/components/ContextMenu/ContextMenuCheckboxItem.jsx +5 -5
  23. package/dist/components/ContextMenu/ContextMenuContent.jsx +4 -4
  24. package/dist/components/ContextMenu/ContextMenuGroup.jsx +2 -2
  25. package/dist/components/ContextMenu/ContextMenuItem.jsx +3 -3
  26. package/dist/components/ContextMenu/ContextMenuItemIndicator.jsx +2 -2
  27. package/dist/components/ContextMenu/ContextMenuLabel.jsx +2 -2
  28. package/dist/components/ContextMenu/ContextMenuRadioGroup.jsx +4 -4
  29. package/dist/components/ContextMenu/ContextMenuRadioItem.jsx +5 -5
  30. package/dist/components/ContextMenu/ContextMenuSeparator.jsx +2 -2
  31. package/dist/components/ContextMenu/ContextMenuSubContent.jsx +4 -4
  32. package/dist/components/ContextMenu/ContextMenuSubTrigger.jsx +7 -7
  33. package/dist/components/ContextMenu/ContextMenuTrigger.jsx +2 -2
  34. package/dist/components/ContextMenu/index.jsx +2 -2
  35. package/dist/components/DataList/DataListItem.jsx +2 -2
  36. package/dist/components/DataList/DataListLabel.jsx +2 -2
  37. package/dist/components/DataList/DataListValue.jsx +2 -2
  38. package/dist/components/DataList/index.jsx +4 -4
  39. package/dist/components/Dialog/DialogAction.jsx +2 -2
  40. package/dist/components/Dialog/DialogCancel.jsx +2 -2
  41. package/dist/components/Dialog/DialogContent.jsx +2 -2
  42. package/dist/components/Dialog/DialogDescription.jsx +2 -2
  43. package/dist/components/Dialog/DialogSlot.jsx +2 -2
  44. package/dist/components/Dialog/DialogTitle.jsx +2 -2
  45. package/dist/components/Dialog/DialogTrigger.jsx +2 -2
  46. package/dist/components/Dialog/index.jsx +2 -2
  47. package/dist/components/DropdownMenu/DropdonMenuRadioGroup.jsx +4 -4
  48. package/dist/components/DropdownMenu/DropdonMenuSubContent.jsx +4 -4
  49. package/dist/components/DropdownMenu/DropdownMenuCheckboxItem.jsx +5 -5
  50. package/dist/components/DropdownMenu/DropdownMenuContent.jsx +4 -4
  51. package/dist/components/DropdownMenu/DropdownMenuItem.jsx +3 -3
  52. package/dist/components/DropdownMenu/DropdownMenuItemIndicator.jsx +2 -2
  53. package/dist/components/DropdownMenu/DropdownMenuLable.jsx +2 -2
  54. package/dist/components/DropdownMenu/DropdownMenuRadioItem.jsx +5 -5
  55. package/dist/components/DropdownMenu/DropdownMenuSubTrigger.jsx +5 -5
  56. package/dist/components/DropdownMenu/DropdownMenuTrigger.jsx +2 -2
  57. package/dist/components/HoverCard/HoverCardContent.jsx +2 -2
  58. package/dist/components/HoverCard/HoverCardTrigger.jsx +2 -2
  59. package/dist/components/HoverCard/index.jsx +2 -2
  60. package/dist/components/IconButton/index.jsx +2 -2
  61. package/dist/components/Input/Input.stories.jsx +6 -6
  62. package/dist/components/Inset/index.jsx +4 -4
  63. package/dist/components/Label/index.jsx +2 -2
  64. package/dist/components/Menubar/MenubarCheckboxItem.jsx +5 -5
  65. package/dist/components/Menubar/MenubarContent.jsx +4 -4
  66. package/dist/components/Menubar/MenubarItem.jsx +3 -3
  67. package/dist/components/Menubar/MenubarItemIndicator.jsx +2 -2
  68. package/dist/components/Menubar/MenubarRadioGroup.jsx +4 -4
  69. package/dist/components/Menubar/MenubarRadioItem.jsx +5 -5
  70. package/dist/components/Menubar/MenubarSeparator.jsx +2 -2
  71. package/dist/components/Menubar/MenubarSubContent.jsx +2 -2
  72. package/dist/components/Menubar/MenubarSubTrigger.jsx +5 -5
  73. package/dist/components/Menubar/MenubarTrigger.jsx +2 -2
  74. package/dist/components/Menubar/index.jsx +4 -4
  75. package/dist/components/NavigationMenu/NavigationMenuContent.jsx +2 -2
  76. package/dist/components/NavigationMenu/NavigationMenuIndicator.jsx +3 -3
  77. package/dist/components/NavigationMenu/NavigationMenuItem.jsx +2 -2
  78. package/dist/components/NavigationMenu/NavigationMenuLink.jsx +2 -2
  79. package/dist/components/NavigationMenu/NavigationMenuList.jsx +3 -3
  80. package/dist/components/NavigationMenu/NavigationMenuTrigger.jsx +3 -3
  81. package/dist/components/NavigationMenu/NavigationMenuViewport.jsx +2 -2
  82. package/dist/components/NavigationMenu/index.jsx +4 -4
  83. package/dist/components/Popover/PopoverClose.jsx +2 -2
  84. package/dist/components/Popover/PopoverContent.jsx +2 -2
  85. package/dist/components/Popover/PopoverTrigger.jsx +2 -2
  86. package/dist/components/Popover/index.jsx +2 -2
  87. package/dist/components/Progress/index.d.ts +3 -3
  88. package/dist/components/Progress/index.jsx +2 -2
  89. package/dist/components/RadarChart/index.d.ts +1 -1
  90. package/dist/components/Radio/index.d.ts +1 -1
  91. package/dist/components/Radio/index.jsx +7 -7
  92. package/dist/components/RadioCards/RadioCardsItem.jsx +2 -2
  93. package/dist/components/RadioCards/index.d.ts +1 -1
  94. package/dist/components/RadioCards/index.jsx +4 -4
  95. package/dist/components/RadioGroup/RadioGroupItem.jsx +2 -2
  96. package/dist/components/RadioGroup/index.d.ts +1 -1
  97. package/dist/components/RadioGroup/index.jsx +4 -4
  98. package/dist/components/ScrollArea/index.jsx +4 -4
  99. package/dist/components/SegmentedControl/SegmentedControlItem.jsx +2 -2
  100. package/dist/components/SegmentedControl/index.d.ts +1 -1
  101. package/dist/components/SegmentedControl/index.jsx +4 -4
  102. package/dist/components/Select/index.d.ts +1 -1
  103. package/dist/components/Select/index.jsx +16 -16
  104. package/dist/components/Separator/index.d.ts +1 -1
  105. package/dist/components/Separator/index.jsx +4 -4
  106. package/dist/components/Skeleton/index.d.ts +1 -1
  107. package/dist/components/Skeleton/index.jsx +4 -4
  108. package/dist/components/Slider/index.d.ts +1 -1
  109. package/dist/components/Slider/index.jsx +2 -2
  110. package/dist/components/Spinner/index.d.ts +1 -1
  111. package/dist/components/Spinner/index.jsx +4 -4
  112. package/dist/components/TabNav/index.jsx +6 -6
  113. package/dist/components/Table/index.d.ts +2 -2
  114. package/dist/components/Table/index.jsx +16 -16
  115. package/dist/components/Tabs/index.d.ts +1 -1
  116. package/dist/components/Tabs/index.jsx +10 -10
  117. package/dist/components/TextArea/index.d.ts +3 -3
  118. package/dist/components/TextArea/index.jsx +2 -2
  119. package/dist/components/TextField/index.d.ts +1 -1
  120. package/dist/components/TextField/index.jsx +6 -6
  121. package/dist/components/Toast/ToastActionButton.d.ts +3 -3
  122. package/dist/components/Toast/ToastActionButton.jsx +2 -2
  123. package/dist/components/Toast/ToastDescription.d.ts +1 -1
  124. package/dist/components/Toast/ToastDescription.jsx +4 -4
  125. package/dist/components/Toast/ToastTitle.d.ts +1 -1
  126. package/dist/components/Toast/ToastTitle.jsx +2 -2
  127. package/dist/components/Toast/index.d.ts +3 -3
  128. package/dist/components/Toast/index.jsx +7 -7
  129. package/dist/components/Toggle/ToggleWithText.jsx +3 -3
  130. package/dist/components/Toggle/index.d.ts +3 -3
  131. package/dist/components/Toggle/index.jsx +2 -2
  132. package/dist/components/ToggleGroup/index.d.ts +1 -1
  133. package/dist/components/ToggleGroup/index.jsx +4 -4
  134. package/dist/components/ToggleGroup/toggleGroupItem.jsx +2 -2
  135. package/dist/components/ToggleSwitch/index.d.ts +3 -3
  136. package/dist/components/ToggleSwitch/index.jsx +5 -5
  137. package/dist/components/Tooltip/index.d.ts +1 -1
  138. package/dist/components/Tooltip/index.jsx +10 -10
  139. package/dist/components/index.d.ts +0 -48
  140. package/dist/components/index.js +52 -51
  141. package/dist/index.js +51 -0
  142. package/package.json +119 -120
  143. package/dist/Typography/Header/index.d.ts +0 -13
  144. package/dist/Typography/Header/index.jsx +0 -58
  145. package/dist/Typography/Text/index.d.ts +0 -16
  146. package/dist/Typography/Text/index.jsx +0 -47
@@ -40,10 +40,10 @@ export var Select = React.forwardRef(function (_a) {
40
40
  sizeTheme = '1';
41
41
  if (size === 'large')
42
42
  sizeTheme = '3';
43
- return (<Theme scaling={scaling} accentColor={color} hasBackground={false}>
44
- <SelectTheme.Root size={sizeTheme} {...props}>
45
- {children}
46
- </SelectTheme.Root>
43
+ return (<Theme scaling={scaling} accentColor={color} hasBackground={false}>
44
+ <SelectTheme.Root size={sizeTheme} {...props}>
45
+ {children}
46
+ </SelectTheme.Root>
47
47
  </Theme>);
48
48
  });
49
49
  Select.displayName = 'Select';
@@ -51,8 +51,8 @@ export var SelectTrigger = React.forwardRef(function (_a, forwardedRef) {
51
51
  var _b = _a.appearance, appearance = _b === void 0 ? 'surface' : _b, color = _a.color, size = _a.size, radius = _a.radius, children = _a.children, className = _a.className, props = __rest(_a, ["appearance", "color", "size", "radius", "children", "className"]);
52
52
  if (!color)
53
53
  color = 'red';
54
- return (<SelectTheme.Trigger ref={forwardedRef} variant={appearance} radius={radius} className={cn(selectVariants({ radius: radius }), selectAppearanceStyle(appearance, color), className)} {...props}>
55
- {children}
54
+ return (<SelectTheme.Trigger ref={forwardedRef} variant={appearance} radius={radius} className={cn(selectVariants({ radius: radius }), selectAppearanceStyle(appearance, color), className)} {...props}>
55
+ {children}
56
56
  </SelectTheme.Trigger>);
57
57
  });
58
58
  SelectTrigger.displayName = 'SelectTrigger';
@@ -62,36 +62,36 @@ export var SelectContent = React.forwardRef(function (_a, forwardedRef) {
62
62
  color = 'red';
63
63
  if (radius === 'full')
64
64
  radius = 'large';
65
- return (<SelectTheme.Content ref={forwardedRef} color={color} {...props} className={cn(selectVariants({ radius: radius }), className)}>
66
- {children}
65
+ return (<SelectTheme.Content ref={forwardedRef} color={color} {...props} className={cn(selectVariants({ radius: radius }), className)}>
66
+ {children}
67
67
  </SelectTheme.Content>);
68
68
  });
69
69
  SelectContent.displayName = 'SelectContent';
70
70
  export var SelectItem = React.forwardRef(function (_a, forwardedRef) {
71
71
  var value = _a.value, children = _a.children, className = _a.className, radius = _a.radius, props = __rest(_a, ["value", "children", "className", "radius"]);
72
- return (<SelectTheme.Item ref={forwardedRef} value={value} {...props} className={cn(selectVariants({ radius: radius }), className)}>
73
- {children}
72
+ return (<SelectTheme.Item ref={forwardedRef} value={value} {...props} className={cn(selectVariants({ radius: radius }), className)}>
73
+ {children}
74
74
  </SelectTheme.Item>);
75
75
  });
76
76
  SelectItem.displayName = 'SelectItem';
77
77
  export var SelectGroup = React.forwardRef(function (_a, forwardedRef) {
78
78
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
79
- return (<SelectTheme.Group ref={forwardedRef} {...props} className={className}>
80
- {children}
79
+ return (<SelectTheme.Group ref={forwardedRef} {...props} className={className}>
80
+ {children}
81
81
  </SelectTheme.Group>);
82
82
  });
83
83
  SelectGroup.displayName = 'SelectGroup';
84
84
  export var SelectLabel = React.forwardRef(function (_a, forwardedRef) {
85
85
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
86
- return (<SelectTheme.Label ref={forwardedRef} {...props} className={className}>
87
- {children}
86
+ return (<SelectTheme.Label ref={forwardedRef} {...props} className={className}>
87
+ {children}
88
88
  </SelectTheme.Label>);
89
89
  });
90
90
  SelectLabel.displayName = 'SelectLabel';
91
91
  export var SelectSeparator = React.forwardRef(function (_a, forwardedRef) {
92
92
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
93
- return (<SelectTheme.Separator ref={forwardedRef} {...props} className={className}>
94
- {children}
93
+ return (<SelectTheme.Separator ref={forwardedRef} {...props} className={className}>
94
+ {children}
95
95
  </SelectTheme.Separator>);
96
96
  });
97
97
  SelectSeparator.displayName = 'SelectSeparator';
@@ -4,7 +4,7 @@ export interface SeparatorProps extends VariantProps<typeof separatorVariants> {
4
4
  size?: 'small' | 'medium' | 'large' | 'fill-large';
5
5
  }
6
6
  declare const separatorVariants: (props?: ({
7
- scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
7
+ scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
8
8
  color?: string | null | undefined;
9
9
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
10
10
  export declare const Separator: React.ForwardRefExoticComponent<Omit<import("@radix-ui/themes").SeparatorProps & React.RefAttributes<HTMLSpanElement>, "ref"> & SeparatorProps & React.RefAttributes<HTMLSpanElement>>;
@@ -40,10 +40,10 @@ export var Separator = React.forwardRef(function (_a, forwardedRef) {
40
40
  sizeTheme = '3';
41
41
  if (size === 'fill-large')
42
42
  sizeTheme = '4';
43
- return (<Theme hasBackground={false} className="flex justify-center items-center">
44
- <SeparatorTheme orientation={orientation} size={sizeTheme} className={cn("bg-".concat(color, "A-6 dark:bg-").concat(color, "DarkA-6"), separatorVariants({ scaling: scaling }), className)} {...props}>
45
- {children}
46
- </SeparatorTheme>
43
+ return (<Theme hasBackground={false} className="flex justify-center items-center">
44
+ <SeparatorTheme orientation={orientation} size={sizeTheme} className={cn("bg-".concat(color, "A-6 dark:bg-").concat(color, "DarkA-6"), separatorVariants({ scaling: scaling }), className)} {...props}>
45
+ {children}
46
+ </SeparatorTheme>
47
47
  </Theme>);
48
48
  });
49
49
  Separator.displayName = 'Separator';
@@ -9,7 +9,7 @@ export interface SkeletonProps extends VariantProps<typeof separatorVariants> {
9
9
  height?: string;
10
10
  }
11
11
  declare const separatorVariants: (props?: ({
12
- radius?: "medium" | "small" | "none" | "large" | "full" | null | undefined;
12
+ radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
13
13
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
14
14
  export declare const Skeleton: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & SkeletonProps & React.RefAttributes<HTMLSpanElement>>;
15
15
  export default Skeleton;
@@ -36,10 +36,10 @@ var separatorVariants = cva('', {
36
36
  });
37
37
  export var Skeleton = React.forwardRef(function (_a, forwardedRef) {
38
38
  var children = _a.children, className = _a.className, radius = _a.radius, loading = _a.loading, width = _a.width, height = _a.height, skeletonProps = __rest(_a, ["children", "className", "radius", "loading", "width", "height"]);
39
- return (<Theme>
40
- <SkeletonTheme ref={forwardedRef} loading={loading} width={width} height={height} className={cn('', radius && cn(separatorVariants({ radius: radius }), className))} {...skeletonProps}>
41
- {children}
42
- </SkeletonTheme>
39
+ return (<Theme>
40
+ <SkeletonTheme ref={forwardedRef} loading={loading} width={width} height={height} className={cn('', radius && cn(separatorVariants({ radius: radius }), className))} {...skeletonProps}>
41
+ {children}
42
+ </SkeletonTheme>
43
43
  </Theme>);
44
44
  });
45
45
  Skeleton.displayName = 'Skeleton';
@@ -9,7 +9,7 @@ export interface SliderProps extends VariantProps<typeof sliderVariants> {
9
9
  scaling?: IScaling;
10
10
  }
11
11
  declare const sliderVariants: (props?: ({
12
- radius?: "medium" | "small" | "none" | "large" | "full" | null | undefined;
12
+ radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
13
13
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
14
14
  export declare const Slider: React.ForwardRefExoticComponent<Omit<import("@radix-ui/themes").SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & SliderProps & React.RefAttributes<HTMLSpanElement>>;
15
15
  export default Slider;
@@ -43,8 +43,8 @@ export var Slider = React.forwardRef(function (_a, forwardedRef) {
43
43
  sizeTheme = '1';
44
44
  if (size === 'large')
45
45
  sizeTheme = '3';
46
- return (<Theme accentColor={color} scaling={scaling} hasBackground={false}>
47
- <SliderTheme ref={forwardedRef} variant={appearance} size={sizeTheme} radius={radius} color={color} className={cn(sliderVariants({ radius: radius }), className)} {...sliderProps}/>
46
+ return (<Theme accentColor={color} scaling={scaling} hasBackground={false}>
47
+ <SliderTheme ref={forwardedRef} variant={appearance} size={sizeTheme} radius={radius} color={color} className={cn(sliderVariants({ radius: radius }), className)} {...sliderProps}/>
48
48
  </Theme>);
49
49
  });
50
50
  Slider.displayName = 'Slider';
@@ -9,7 +9,7 @@ export interface SpinnerProps extends VariantProps<typeof spinnerVariants> {
9
9
  size?: 'small' | 'medium' | 'large';
10
10
  }
11
11
  declare const spinnerVariants: (props?: ({
12
- scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
12
+ scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
13
13
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
14
14
  export declare const Spinner: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & SpinnerProps & React.RefAttributes<HTMLSpanElement>>;
15
15
  export default Spinner;
@@ -40,10 +40,10 @@ export var Spinner = React.forwardRef(function (_a, forwardedRef) {
40
40
  sizeTheme = '1';
41
41
  if (size === 'large')
42
42
  sizeTheme = '3';
43
- return (<Theme hasBackground={false}>
44
- <SpinnerTheme ref={forwardedRef} loading={loading} size={sizeTheme} className={cn('', spinnerVariants({ scaling: scaling }), className)} {...spinnerProps}>
45
- {children}
46
- </SpinnerTheme>
43
+ return (<Theme hasBackground={false}>
44
+ <SpinnerTheme ref={forwardedRef} loading={loading} size={sizeTheme} className={cn('', spinnerVariants({ scaling: scaling }), className)} {...spinnerProps}>
45
+ {children}
46
+ </SpinnerTheme>
47
47
  </Theme>);
48
48
  });
49
49
  Spinner.displayName = 'Spinner';
@@ -23,17 +23,17 @@ export var TabNav = React.forwardRef(function (_a, ref) {
23
23
  var sizeTheme = '2';
24
24
  if (size === 'small')
25
25
  sizeTheme = '1';
26
- return (<Theme accentColor={color} hasBackground={false}>
27
- <TabNavTheme.Root ref={ref} size={sizeTheme} className={cn('', tabNavVariants({}), className)} {...rootProps}>
28
- {children}
29
- </TabNavTheme.Root>
26
+ return (<Theme accentColor={color} hasBackground={false}>
27
+ <TabNavTheme.Root ref={ref} size={sizeTheme} className={cn('', tabNavVariants({}), className)} {...rootProps}>
28
+ {children}
29
+ </TabNavTheme.Root>
30
30
  </Theme>);
31
31
  });
32
32
  TabNav.displayName = 'TabNav';
33
33
  export var TabNavLink = React.forwardRef(function (_a, ref) {
34
34
  var className = _a.className, children = _a.children, href = _a.href, linkProps = __rest(_a, ["className", "children", "href"]);
35
- return (<TabNavTheme.Link ref={ref} className={cn('text-slateA-11 dark:text-slateDarkA-11 data-[state=active]:text-slateA-12 dark:data-[state=active]:text-slateDarkA-12', tabNavVariants({}), className)} href={href} {...linkProps}>
36
- {children}
35
+ return (<TabNavTheme.Link ref={ref} className={cn('text-slateA-11 dark:text-slateDarkA-11 data-[state=active]:text-slateA-12 dark:data-[state=active]:text-slateDarkA-12', tabNavVariants({}), className)} href={href} {...linkProps}>
36
+ {children}
37
37
  </TabNavTheme.Link>);
38
38
  });
39
39
  TabNavLink.displayName = 'TabNav.Link';
@@ -7,8 +7,8 @@ export interface TableProps extends VariantProps<typeof tableVariants> {
7
7
  size?: 'small' | 'medium' | 'large';
8
8
  }
9
9
  declare const tableVariants: (props?: ({
10
- scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
11
- radius?: "medium" | "small" | "none" | "large" | "full" | null | undefined;
10
+ scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
11
+ radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
12
12
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
13
13
  export declare const Table: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & TableProps & React.RefAttributes<HTMLDivElement>>;
14
14
  export declare const TableHeader: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & TableProps & React.RefAttributes<HTMLTableSectionElement>>;
@@ -52,52 +52,52 @@ export var Table = React.forwardRef(function (_a) {
52
52
  sizeTheme = '3';
53
53
  if (radius === 'full')
54
54
  radius = 'large';
55
- return (<Theme hasBackground={false}>
56
- <TableTheme.Root className={cn('', tableVariants({ scaling: scaling, radius: radius }), className)} variant={appearance} size={sizeTheme} {...tableProps}>
57
- {children}
58
- </TableTheme.Root>
55
+ return (<Theme hasBackground={false}>
56
+ <TableTheme.Root className={cn('', tableVariants({ scaling: scaling, radius: radius }), className)} variant={appearance} size={sizeTheme} {...tableProps}>
57
+ {children}
58
+ </TableTheme.Root>
59
59
  </Theme>);
60
60
  });
61
61
  Table.displayName = 'Table';
62
62
  export var TableHeader = React.forwardRef(function (_a, forwardedRef) {
63
63
  var className = _a.className, children = _a.children, scaling = _a.scaling, props = __rest(_a, ["className", "children", "scaling"]);
64
- return (<TableTheme.Header ref={forwardedRef} className={cn('', tableVariants({ scaling: scaling }), className)} {...props}>
65
- {children}
64
+ return (<TableTheme.Header ref={forwardedRef} className={cn('', tableVariants({ scaling: scaling }), className)} {...props}>
65
+ {children}
66
66
  </TableTheme.Header>);
67
67
  });
68
68
  TableHeader.displayName = 'TableHeader';
69
69
  export var TableBody = React.forwardRef(function (_a, forwardedRef) {
70
70
  var className = _a.className, children = _a.children, scaling = _a.scaling, props = __rest(_a, ["className", "children", "scaling"]);
71
- return (<TableTheme.Body ref={forwardedRef} className={cn('', tableVariants({ scaling: scaling }), className)} {...props}>
72
- {children}
71
+ return (<TableTheme.Body ref={forwardedRef} className={cn('', tableVariants({ scaling: scaling }), className)} {...props}>
72
+ {children}
73
73
  </TableTheme.Body>);
74
74
  });
75
75
  TableBody.displayName = 'TableBody';
76
76
  export var TableRow = React.forwardRef(function (_a, forwardedRef) {
77
77
  var className = _a.className, children = _a.children, scaling = _a.scaling, props = __rest(_a, ["className", "children", "scaling"]);
78
- return (<TableTheme.Row ref={forwardedRef} className={cn('', tableVariants({ scaling: scaling }), className)} {...props}>
79
- {children}
78
+ return (<TableTheme.Row ref={forwardedRef} className={cn('', tableVariants({ scaling: scaling }), className)} {...props}>
79
+ {children}
80
80
  </TableTheme.Row>);
81
81
  });
82
82
  TableRow.displayName = 'TableRow';
83
83
  export var TableCell = React.forwardRef(function (_a, forwardedRef) {
84
84
  var className = _a.className, children = _a.children, scaling = _a.scaling, cellProps = __rest(_a, ["className", "children", "scaling"]);
85
- return (<TableTheme.Cell className={cn('', tableVariants({ scaling: scaling }), className)}>
86
- {children}
85
+ return (<TableTheme.Cell className={cn('', tableVariants({ scaling: scaling }), className)}>
86
+ {children}
87
87
  </TableTheme.Cell>);
88
88
  });
89
89
  TableCell.displayName = 'TableCell';
90
90
  export var TableColumnHeaderCell = React.forwardRef(function (_a, forwardedRef) {
91
91
  var className = _a.className, children = _a.children, scaling = _a.scaling, size = _a.size, props = __rest(_a, ["className", "children", "scaling", "size"]);
92
- return (<TableTheme.ColumnHeaderCell ref={forwardedRef} className={cn('', tableVariants({ scaling: scaling }), tableRowVariants({ size: size }), className)} {...props}>
93
- {children}
92
+ return (<TableTheme.ColumnHeaderCell ref={forwardedRef} className={cn('', tableVariants({ scaling: scaling }), tableRowVariants({ size: size }), className)} {...props}>
93
+ {children}
94
94
  </TableTheme.ColumnHeaderCell>);
95
95
  });
96
96
  TableColumnHeaderCell.displayName = 'TableColumnHeaderCell';
97
97
  export var TableRowHeaderCell = React.forwardRef(function (_a, forwardedRef) {
98
98
  var className = _a.className, children = _a.children, scaling = _a.scaling, props = __rest(_a, ["className", "children", "scaling"]);
99
- return (<TableTheme.RowHeaderCell ref={forwardedRef} className={cn('', tableVariants({ scaling: scaling }), className)} {...props}>
100
- {children}
99
+ return (<TableTheme.RowHeaderCell ref={forwardedRef} className={cn('', tableVariants({ scaling: scaling }), className)} {...props}>
100
+ {children}
101
101
  </TableTheme.RowHeaderCell>);
102
102
  });
103
103
  TableRowHeaderCell.displayName = 'TableRowHeaderCell';
@@ -7,7 +7,7 @@ export interface TabsProps extends VariantProps<typeof tabsVariants> {
7
7
  color?: any;
8
8
  }
9
9
  declare const tabsVariants: (props?: ({
10
- weight?: "regular" | "medium" | "semibold" | "bold" | null | undefined;
10
+ weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
11
11
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
12
12
  export declare const Tabs: React.ForwardRefExoticComponent<Omit<TabsTheme.RootProps & React.RefAttributes<HTMLDivElement>, "ref"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
13
13
  export declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsTheme.ListProps & React.RefAttributes<HTMLDivElement>, "ref"> & TabsProps & React.RefAttributes<HTMLDivElement>>;
@@ -34,10 +34,10 @@ export var Tabs = React.forwardRef(function (_a, forwardedRef) {
34
34
  var className = _a.className, children = _a.children, color = _a.color, rootProps = __rest(_a, ["className", "children", "color"]);
35
35
  if (!color)
36
36
  color = 'red';
37
- return (<Theme accentColor={color} hasBackground={false}>
38
- <TabsTheme.Root {...rootProps} ref={forwardedRef} className={cn('', className)}>
39
- {children}
40
- </TabsTheme.Root>
37
+ return (<Theme accentColor={color} hasBackground={false}>
38
+ <TabsTheme.Root {...rootProps} ref={forwardedRef} className={cn('', className)}>
39
+ {children}
40
+ </TabsTheme.Root>
41
41
  </Theme>);
42
42
  });
43
43
  Tabs.displayName = 'Tabs';
@@ -46,22 +46,22 @@ export var TabsList = React.forwardRef(function (_a, forwardedRef) {
46
46
  var sizeTheme = '2';
47
47
  if (size === 'small')
48
48
  sizeTheme = '1';
49
- return (<TabsTheme.List ref={forwardedRef} size={sizeTheme} {...listProps} className={cn('', className)}>
50
- {children}
49
+ return (<TabsTheme.List ref={forwardedRef} size={sizeTheme} {...listProps} className={cn('', className)}>
50
+ {children}
51
51
  </TabsTheme.List>);
52
52
  });
53
53
  TabsList.displayName = 'TabsList';
54
54
  export var TabsTrigger = React.forwardRef(function (_a, forwardedRef) {
55
55
  var className = _a.className, weight = _a.weight, children = _a.children, triggerProps = __rest(_a, ["className", "weight", "children"]);
56
- return (<TabsTheme.Trigger ref={forwardedRef} className={cn('text-slateA-11 dark:text-slateDarkA-11 data-[state=active]:text-slateA-12 dark:data-[state=active]:text-slateDarkA-12', className)} {...triggerProps}>
57
- {children}
56
+ return (<TabsTheme.Trigger ref={forwardedRef} className={cn('text-slateA-11 dark:text-slateDarkA-11 data-[state=active]:text-slateA-12 dark:data-[state=active]:text-slateDarkA-12', className)} {...triggerProps}>
57
+ {children}
58
58
  </TabsTheme.Trigger>);
59
59
  });
60
60
  TabsTrigger.displayName = 'TabsTrigger';
61
61
  export var TabsContent = React.forwardRef(function (_a, forwardedRef) {
62
62
  var className = _a.className, weight = _a.weight, children = _a.children, contentProps = __rest(_a, ["className", "weight", "children"]);
63
- return (<TabsTheme.Content ref={forwardedRef} {...contentProps} className={cn('mt-3', className)}>
64
- {children}
63
+ return (<TabsTheme.Content ref={forwardedRef} {...contentProps} className={cn('mt-3', className)}>
64
+ {children}
65
65
  </TabsTheme.Content>);
66
66
  });
67
67
  TabsContent.displayName = 'TabsTrigger';
@@ -8,9 +8,9 @@ export interface TextAreaProps extends VariantProps<typeof textAreaNavVariants>
8
8
  size?: 'small' | 'medium' | 'large' | 'x-large';
9
9
  }
10
10
  declare const textAreaNavVariants: (props?: ({
11
- size?: "medium" | "small" | "large" | "x-large" | null | undefined;
12
- scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
13
- radius?: "medium" | "small" | "none" | "large" | "full" | null | undefined;
11
+ size?: "small" | "medium" | "large" | "x-large" | null | undefined;
12
+ scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
13
+ radius?: "none" | "small" | "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;
@@ -51,8 +51,8 @@ export var TextArea = React.forwardRef(function (_a, forwardedRef) {
51
51
  sizeTheme = '3';
52
52
  if (!color)
53
53
  color = 'red';
54
- return (<Theme hasBackground={false} accentColor={color}>
55
- <TextAreaTheme ref={forwardedRef} variant={appearance} size={sizeTheme} className={cn(textAreaNavVariants({ size: size, scaling: scaling, radius: radius }), size === 'x-large' && 'rt-r-size-4', className)} {...textAreaProps}></TextAreaTheme>
54
+ return (<Theme hasBackground={false} accentColor={color}>
55
+ <TextAreaTheme ref={forwardedRef} variant={appearance} size={sizeTheme} className={cn(textAreaNavVariants({ size: size, scaling: scaling, radius: radius }), size === 'x-large' && 'rt-r-size-4', className)} {...textAreaProps}></TextAreaTheme>
56
56
  </Theme>);
57
57
  });
58
58
  TextArea.displayName = 'TextArea';
@@ -10,7 +10,7 @@ export interface TextFieldProps extends VariantProps<typeof textFieldVariants> {
10
10
  scaling?: IScaling;
11
11
  }
12
12
  declare const textFieldVariants: (props?: ({
13
- radius?: "medium" | "small" | "none" | "large" | "full" | null | undefined;
13
+ radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
14
14
  color?: string | null | undefined;
15
15
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
16
16
  export declare const TextField: React.ForwardRefExoticComponent<Omit<TextFieldTheme.RootProps & React.RefAttributes<HTMLInputElement>, "ref"> & TextFieldProps & React.RefAttributes<HTMLInputElement>>;
@@ -41,17 +41,17 @@ export var TextField = React.forwardRef(function (_a, forwardedRef) {
41
41
  sizeTheme = '1';
42
42
  if (size === 'large')
43
43
  sizeTheme = '3';
44
- return (<Theme scaling={scaling} accentColor={color} hasBackground={false}>
45
- <TextFieldTheme.Root ref={forwardedRef} variant={appearance} size={sizeTheme} radius={radius} color={color} className={cn(textFieldVariants({ radius: radius }), className)} {...sliderProps}>
46
- {children}
47
- </TextFieldTheme.Root>
44
+ return (<Theme scaling={scaling} accentColor={color} hasBackground={false}>
45
+ <TextFieldTheme.Root ref={forwardedRef} variant={appearance} size={sizeTheme} radius={radius} color={color} className={cn(textFieldVariants({ radius: radius }), className)} {...sliderProps}>
46
+ {children}
47
+ </TextFieldTheme.Root>
48
48
  </Theme>);
49
49
  });
50
50
  TextField.displayName = 'TextField';
51
51
  export var TextFieldSlot = React.forwardRef(function (_a, forwardedRef) {
52
52
  var className = _a.className, color = _a.color, side = _a.side, radius = _a.radius, children = _a.children, sliderProps = __rest(_a, ["className", "color", "side", "radius", "children"]);
53
- return (<TextFieldTheme.Slot ref={forwardedRef} color={color} side={side} className={cn(textFieldVariants({ radius: radius }), className)} {...sliderProps}>
54
- {children}
53
+ return (<TextFieldTheme.Slot ref={forwardedRef} color={color} side={side} className={cn(textFieldVariants({ radius: radius }), className)} {...sliderProps}>
54
+ {children}
55
55
  </TextFieldTheme.Slot>);
56
56
  });
57
57
  TextFieldSlot.displayName = 'TextFieldSlot';
@@ -7,8 +7,8 @@ export interface ToastActionButtonProps extends VariantProps<typeof toastActionB
7
7
  appearance?: IAppearance;
8
8
  }
9
9
  export declare const toastActionButtonVariants: (props?: ({
10
- radius?: "medium" | "small" | "none" | "large" | "full" | null | undefined;
11
- size?: "medium" | "small" | "large" | "x-large" | null | undefined;
12
- scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
10
+ radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
11
+ size?: "small" | "medium" | "large" | "x-large" | null | undefined;
12
+ scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
13
13
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
14
14
  export declare const ToastActionButton: React.ForwardRefExoticComponent<Omit<ToastPrimitive.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & ToastActionButtonProps & React.RefAttributes<HTMLButtonElement>>;
@@ -61,8 +61,8 @@ export var ToastActionButton = forwardRef(function (_a, ref) {
61
61
  var buttonClassName = cn(toastActionButtonVariants({ size: size, radius: radius, scaling: scaling }), color && semantics.includes(color)
62
62
  ? getSemanticsStyle(color)
63
63
  : appearanceStyle(appearance, color !== null && color !== void 0 ? color : 'red'), className);
64
- return (<ToastPrimitive.Action ref={ref} altText={altText} {...props} className={buttonClassName} asChild>
65
- <Button>{children}</Button>
64
+ return (<ToastPrimitive.Action ref={ref} altText={altText} {...props} className={buttonClassName} asChild>
65
+ <Button>{children}</Button>
66
66
  </ToastPrimitive.Action>);
67
67
  });
68
68
  ToastActionButton.displayName = 'ToastActionButton';
@@ -7,7 +7,7 @@ export interface ToastDescriptionProps extends VariantProps<typeof toastDescript
7
7
  appearance?: IAppearance;
8
8
  }
9
9
  export declare const toastDescriptionVariants: (props?: ({
10
- size?: "medium" | "small" | "large" | "x-large" | null | undefined;
10
+ size?: "small" | "medium" | "large" | "x-large" | null | undefined;
11
11
  color?: "danger" | "warning" | "success" | "information" | null | undefined;
12
12
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
13
13
  export declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitive.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & ToastDescriptionProps & React.RefAttributes<HTMLDivElement>>;
@@ -36,10 +36,10 @@ export var toastDescriptionVariants = cva('flex m-0 text-wrap text-slate-11 dark
36
36
  export var ToastDescription = forwardRef(function (_a, ref) {
37
37
  var className = _a.className, children = _a.children, contentText = _a.contentText, props = __rest(_a, ["className", "children", "contentText"]);
38
38
  var _b = useToastContext(), size = _b.size, color = _b.color;
39
- return (<ToastPrimitive.Description ref={ref} {...props}>
40
- <p className={cn(toastDescriptionVariants({ size: size, color: color }), className)}>
41
- {contentText !== null && contentText !== void 0 ? contentText : children}
42
- </p>
39
+ return (<ToastPrimitive.Description ref={ref} {...props}>
40
+ <p className={cn(toastDescriptionVariants({ size: size, color: color }), className)}>
41
+ {contentText !== null && contentText !== void 0 ? contentText : children}
42
+ </p>
43
43
  </ToastPrimitive.Description>);
44
44
  });
45
45
  ToastDescription.displayName = 'ToastDescription';
@@ -7,7 +7,7 @@ export interface ToastTitleProps extends VariantProps<typeof toastTitleVariants>
7
7
  appearance?: IAppearance;
8
8
  }
9
9
  export declare const toastTitleVariants: (props?: ({
10
- size?: "medium" | "small" | "large" | "x-large" | null | undefined;
10
+ size?: "small" | "medium" | "large" | "x-large" | null | undefined;
11
11
  color?: "danger" | "warning" | "success" | "information" | null | undefined;
12
12
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
13
13
  export declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitive.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & ToastTitleProps & React.RefAttributes<HTMLDivElement>>;
@@ -36,8 +36,8 @@ export var toastTitleVariants = cva('flex mb-[5px] text-slate-12 dark:text-slate
36
36
  export var ToastTitle = forwardRef(function (_a, ref) {
37
37
  var className = _a.className, children = _a.children, titleText = _a.titleText, props = __rest(_a, ["className", "children", "titleText"]);
38
38
  var _b = useToastContext(), size = _b.size, color = _b.color;
39
- return (<ToastPrimitive.Title ref={ref} {...props}>
40
- <p className={cn(toastTitleVariants({ size: size, color: color }), className)}>{titleText !== null && titleText !== void 0 ? titleText : children}</p>
39
+ return (<ToastPrimitive.Title ref={ref} {...props}>
40
+ <p className={cn(toastTitleVariants({ size: size, color: color }), className)}>{titleText !== null && titleText !== void 0 ? titleText : children}</p>
41
41
  </ToastPrimitive.Title>);
42
42
  });
43
43
  ToastTitle.displayName = 'ToastTitle';
@@ -17,9 +17,9 @@ export interface ToastProps extends VariantProps<typeof toastVariants>, VariantP
17
17
  setOpenToast?: Dispatch<SetStateAction<boolean>>;
18
18
  }
19
19
  export declare const toastVariants: (props?: ({
20
- radius?: "medium" | "small" | "none" | "large" | "full" | null | undefined;
21
- size?: "medium" | "small" | "large" | "x-large" | null | undefined;
22
- scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
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
23
  color?: "danger" | "warning" | "success" | "information" | null | undefined;
24
24
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
25
25
  export declare const toastViewportVariants: (props?: ({
@@ -87,13 +87,13 @@ export var Toast = forwardRef(function (_a, ref) {
87
87
  var contextValue = { radius: radius, size: size, scaling: scaling, color: color };
88
88
  var toastRootStyle = "\n shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] \n flex flex-col px-[15px] relative justify-center\n data-[state=open]:animate-slideIn \n data-[state=closed]:animate-hide \n data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] \n data-[swipe=cancel]:translate-x-0 \n data-[swipe=cancel]:transition-[transform_200ms_ease-out] \n data-[swipe=end]:animate-swipeOut\n ";
89
89
  var toastClassName = cn(toastVariants({ radius: radius, scaling: scaling, size: size, color: color }), toastRootStyle, className);
90
- return ReactDOM.createPortal(<ToastContext.Provider value={contextValue}>
91
- <ToastPrimitive.Provider swipeDirection="right" duration={duration}>
92
- <ToastPrimitive.Root ref={ref} className={toastClassName} open={openToast} onOpenChange={setOpenToast} {...props}>
93
- {children}
94
- </ToastPrimitive.Root>
95
- <ToastPrimitive.Viewport className={cn(toastViewportVariants({ toastPosition: toastPosition }))}/>
96
- </ToastPrimitive.Provider>
90
+ return ReactDOM.createPortal(<ToastContext.Provider value={contextValue}>
91
+ <ToastPrimitive.Provider swipeDirection="right" duration={duration}>
92
+ <ToastPrimitive.Root ref={ref} className={toastClassName} open={openToast} onOpenChange={setOpenToast} {...props}>
93
+ {children}
94
+ </ToastPrimitive.Root>
95
+ <ToastPrimitive.Viewport className={cn(toastViewportVariants({ toastPosition: toastPosition }))}/>
96
+ </ToastPrimitive.Provider>
97
97
  </ToastContext.Provider>, document.body);
98
98
  });
99
99
  Toast.displayName = 'Toast';
@@ -49,11 +49,11 @@ export var IconScaling = {
49
49
  };
50
50
  export var ToggleWithText = forwardRef(function (_a, ref) {
51
51
  var className = _a.className, children = _a.children, radius = _a.radius, _b = _a.size, size = _b === void 0 ? 'medium' : _b, scaling = _a.scaling, _c = _a.color, color = _c === void 0 ? 'red' : _c, _d = _a.appearance, appearance = _d === void 0 ? 'surface' : _d, text = _a.text, props = __rest(_a, ["className", "children", "radius", "size", "scaling", "color", "appearance", "text"]);
52
- return (<TogglePrimitive.Root ref={ref} className={cn(toggleWithTextVariants({ radius: radius, size: size, scaling: scaling }), toggleAppearanceStyle(appearance, color, true, 'data-[state=on]:'), className)} {...props}>
52
+ return (<TogglePrimitive.Root ref={ref} className={cn(toggleWithTextVariants({ radius: radius, size: size, scaling: scaling }), toggleAppearanceStyle(appearance, color, true, 'data-[state=on]:'), className)} {...props}>
53
53
  {Children.map(children, function (child) {
54
54
  return React.cloneElement(child, { className: IconScaling[size] });
55
- })}
56
- {text}
55
+ })}
56
+ {text}
57
57
  </TogglePrimitive.Root>);
58
58
  });
59
59
  ToggleWithText.displayName = 'ToggleWithText';
@@ -8,9 +8,9 @@ export interface ToggleProps extends VariantProps<typeof toggleVariants> {
8
8
  appearance?: IAppearance;
9
9
  }
10
10
  declare const toggleVariants: (props?: ({
11
- radius?: "medium" | "small" | "none" | "large" | "full" | null | undefined;
12
- size?: "medium" | "small" | "large" | null | undefined;
13
- scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
11
+ radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
12
+ size?: "small" | "medium" | "large" | null | undefined;
13
+ scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
14
14
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
15
15
  export declare const IconScaling: {
16
16
  small: string;
@@ -49,10 +49,10 @@ export var IconScaling = {
49
49
  };
50
50
  export var Toggle = forwardRef(function (_a, ref) {
51
51
  var className = _a.className, children = _a.children, radius = _a.radius, _b = _a.size, size = _b === void 0 ? 'medium' : _b, scaling = _a.scaling, _c = _a.color, color = _c === void 0 ? 'red' : _c, _d = _a.appearance, appearance = _d === void 0 ? 'surface' : _d, props = __rest(_a, ["className", "children", "radius", "size", "scaling", "color", "appearance"]);
52
- return (<TogglePrimitive.Root ref={ref} className={cn(toggleVariants({ radius: radius, size: size, scaling: scaling }), toggleAppearanceStyle(appearance, color, true, 'data-[state=on]:'), className)} {...props}>
52
+ return (<TogglePrimitive.Root ref={ref} className={cn(toggleVariants({ radius: radius, size: size, scaling: scaling }), toggleAppearanceStyle(appearance, color, true, 'data-[state=on]:'), className)} {...props}>
53
53
  {Children.map(children, function (child) {
54
54
  return React.cloneElement(child, { className: IconScaling[size] });
55
- })}
55
+ })}
56
56
  </TogglePrimitive.Root>);
57
57
  });
58
58
  Toggle.displayName = 'Toggle';
@@ -14,7 +14,7 @@ export interface ToggleGroupMultipleProps extends VariantProps<typeof toggleVari
14
14
  value?: string[];
15
15
  }
16
16
  declare const toggleVariants: (props?: ({
17
- scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
17
+ scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
18
18
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
19
19
  export declare const ToggleGroup: React.ForwardRefExoticComponent<(React.ComponentPropsWithoutRef<React.ForwardRefExoticComponent<(ToggleGroupPrimitive.ToggleGroupSingleProps | ToggleGroupPrimitive.ToggleGroupMultipleProps) & React.RefAttributes<HTMLDivElement>>> & ToggleGroupSingleProps & ToggleGroupMultipleProps) & React.RefAttributes<HTMLDivElement>>;
20
20
  export default ToggleGroup;
@@ -36,10 +36,10 @@ var toggleVariants = cva('inline-flex', {
36
36
  });
37
37
  export var ToggleGroup = forwardRef(function (_a, ref) {
38
38
  var className = _a.className, children = _a.children, defaultValue = _a.defaultValue, value = _a.value, type = _a.type, onValueChange = _a.onValueChange, scaling = _a.scaling, props = __rest(_a, ["className", "children", "defaultValue", "value", "type", "onValueChange", "scaling"]);
39
- return type === 'single' ? (<ToggleGroupPrimitive.Root ref={ref} type={type} value={value} defaultValue={defaultValue} className={cn(toggleVariants({ scaling: scaling }), className)} {...props}>
40
- {children}
41
- </ToggleGroupPrimitive.Root>) : (<ToggleGroupPrimitive.Root ref={ref} type={type} value={value} defaultValue={defaultValue} className={cn(toggleVariants({ scaling: scaling }), className)} {...props}>
42
- {children}
39
+ return type === 'single' ? (<ToggleGroupPrimitive.Root ref={ref} type={type} value={value} defaultValue={defaultValue} className={cn(toggleVariants({ scaling: scaling }), className)} {...props}>
40
+ {children}
41
+ </ToggleGroupPrimitive.Root>) : (<ToggleGroupPrimitive.Root ref={ref} type={type} value={value} defaultValue={defaultValue} className={cn(toggleVariants({ scaling: scaling }), className)} {...props}>
42
+ {children}
43
43
  </ToggleGroupPrimitive.Root>);
44
44
  });
45
45
  ToggleGroup.displayName = 'ToggleGroup';
@@ -33,10 +33,10 @@ export var IconScaling = {
33
33
  };
34
34
  export var ToggleGroupItem = forwardRef(function (_a, ref) {
35
35
  var className = _a.className, children = _a.children, value = _a.value, _b = _a.size, size = _b === void 0 ? 'medium' : _b, _c = _a.color, color = _c === void 0 ? 'red' : _c, _d = _a.appearance, appearance = _d === void 0 ? 'surface' : _d, props = __rest(_a, ["className", "children", "value", "size", "color", "appearance"]);
36
- return (<ToggleGroupPrimitive.Item ref={ref} value={value} className={cn(toggleGroupItemVariants({ size: size }), toggleAppearanceStyle(appearance, color, true, 'data-[state=on]:'), className)} {...props}>
36
+ return (<ToggleGroupPrimitive.Item ref={ref} value={value} className={cn(toggleGroupItemVariants({ size: size }), toggleAppearanceStyle(appearance, color, true, 'data-[state=on]:'), className)} {...props}>
37
37
  {Children.map(children, function (child) {
38
38
  return React.cloneElement(child, { className: IconScaling[size] });
39
- })}
39
+ })}
40
40
  </ToggleGroupPrimitive.Item>);
41
41
  });
42
42
  ToggleGroupItem.displayName = 'ToggleGroupItem';