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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (280) hide show
  1. package/README.md +163 -163
  2. package/dist/Typography/Header/index.d.ts +13 -0
  3. package/dist/Typography/Header/index.jsx +58 -0
  4. package/dist/Typography/Text/index.d.ts +16 -0
  5. package/dist/Typography/Text/index.jsx +47 -0
  6. package/dist/Typography/index.d.ts +2 -0
  7. package/dist/Typography/index.js +2 -0
  8. package/dist/app/layout.d.ts +7 -0
  9. package/dist/app/layout.jsx +13 -0
  10. package/dist/app/page.d.ts +2 -0
  11. package/dist/app/page.jsx +42 -0
  12. package/dist/app/template/badgeTemplate.d.ts +12 -0
  13. package/dist/app/template/badgeTemplate.jsx +82 -0
  14. package/dist/app/template/buttonTemplate.d.ts +12 -0
  15. package/dist/app/template/buttonTemplate.jsx +82 -0
  16. package/dist/app/template/colorPicker.d.ts +7 -0
  17. package/dist/app/template/colorPicker.jsx +19 -0
  18. package/dist/app/template/textTemplate.d.ts +11 -0
  19. package/dist/app/template/textTemplate.jsx +72 -0
  20. package/dist/app/template/theme.d.ts +12 -0
  21. package/dist/app/template/theme.jsx +44 -0
  22. package/dist/color/alpha.d.ts +784 -0
  23. package/dist/color/alpha.js +784 -0
  24. package/dist/color/constants.d.ts +20 -0
  25. package/dist/color/constants.js +200 -0
  26. package/dist/color/dark.d.ts +392 -0
  27. package/dist/color/dark.js +392 -0
  28. package/dist/color/krdsColors.d.ts +309 -0
  29. package/dist/color/krdsColors.js +309 -0
  30. package/dist/color/light.d.ts +392 -0
  31. package/dist/color/light.js +393 -0
  32. package/dist/components/Accordion/index.jsx +13 -13
  33. package/dist/components/AlertDialog/AlertDialogAction.jsx +2 -2
  34. package/dist/components/AlertDialog/AlertDialogCancel.jsx +2 -2
  35. package/dist/components/AlertDialog/AlertDialogContent.jsx +5 -5
  36. package/dist/components/AlertDialog/AlertDialogDescription.jsx +2 -2
  37. package/dist/components/AlertDialog/AlertDialogTitle.jsx +2 -2
  38. package/dist/components/AlertDialog/AlertDialogTrigger.jsx +2 -2
  39. package/dist/components/AspectRatio/index.jsx +2 -2
  40. package/dist/components/Avatar/index.jsx +5 -5
  41. package/dist/components/Badge/index.jsx +2 -2
  42. package/dist/components/BubbleChart/index.d.ts +1 -1
  43. package/dist/components/Button/index.jsx +2 -2
  44. package/dist/components/Callout/CalloutIcon.jsx +6 -6
  45. package/dist/components/Callout/CalloutText.jsx +2 -2
  46. package/dist/components/Callout/index.jsx +4 -4
  47. package/dist/components/Card/index.jsx +2 -2
  48. package/dist/components/Checkbox/index.jsx +9 -9
  49. package/dist/components/CheckboxCard/index.jsx +3 -3
  50. package/dist/components/CheckboxGroup/CheckboxGroupItem.jsx +4 -4
  51. package/dist/components/CheckboxGroup/index.jsx +4 -4
  52. package/dist/components/ContextMenu/ContextMenuCheckboxItem.jsx +5 -5
  53. package/dist/components/ContextMenu/ContextMenuContent.jsx +4 -4
  54. package/dist/components/ContextMenu/ContextMenuGroup.jsx +2 -2
  55. package/dist/components/ContextMenu/ContextMenuItem.jsx +3 -3
  56. package/dist/components/ContextMenu/ContextMenuItemIndicator.jsx +2 -2
  57. package/dist/components/ContextMenu/ContextMenuLabel.jsx +2 -2
  58. package/dist/components/ContextMenu/ContextMenuRadioGroup.jsx +4 -4
  59. package/dist/components/ContextMenu/ContextMenuRadioItem.jsx +5 -5
  60. package/dist/components/ContextMenu/ContextMenuSeparator.jsx +2 -2
  61. package/dist/components/ContextMenu/ContextMenuSubContent.jsx +4 -4
  62. package/dist/components/ContextMenu/ContextMenuSubTrigger.jsx +7 -7
  63. package/dist/components/ContextMenu/ContextMenuTrigger.jsx +2 -2
  64. package/dist/components/ContextMenu/index.jsx +2 -2
  65. package/dist/components/DataList/DataListItem.jsx +2 -2
  66. package/dist/components/DataList/DataListLabel.jsx +2 -2
  67. package/dist/components/DataList/DataListValue.jsx +2 -2
  68. package/dist/components/DataList/index.jsx +4 -4
  69. package/dist/components/Dialog/DialogAction.jsx +2 -2
  70. package/dist/components/Dialog/DialogCancel.jsx +2 -2
  71. package/dist/components/Dialog/DialogContent.jsx +2 -2
  72. package/dist/components/Dialog/DialogDescription.jsx +2 -2
  73. package/dist/components/Dialog/DialogSlot.jsx +2 -2
  74. package/dist/components/Dialog/DialogTitle.jsx +2 -2
  75. package/dist/components/Dialog/DialogTrigger.jsx +2 -2
  76. package/dist/components/Dialog/index.jsx +2 -2
  77. package/dist/components/DropdownMenu/DropdonMenuRadioGroup.jsx +4 -4
  78. package/dist/components/DropdownMenu/DropdonMenuSubContent.jsx +4 -4
  79. package/dist/components/DropdownMenu/DropdownMenuCheckboxItem.jsx +5 -5
  80. package/dist/components/DropdownMenu/DropdownMenuContent.jsx +4 -4
  81. package/dist/components/DropdownMenu/DropdownMenuItem.jsx +3 -3
  82. package/dist/components/DropdownMenu/DropdownMenuItemIndicator.jsx +2 -2
  83. package/dist/components/DropdownMenu/DropdownMenuLable.jsx +2 -2
  84. package/dist/components/DropdownMenu/DropdownMenuRadioItem.jsx +5 -5
  85. package/dist/components/DropdownMenu/DropdownMenuSubTrigger.jsx +5 -5
  86. package/dist/components/DropdownMenu/DropdownMenuTrigger.jsx +2 -2
  87. package/dist/components/HoverCard/HoverCardContent.jsx +2 -2
  88. package/dist/components/HoverCard/HoverCardTrigger.jsx +2 -2
  89. package/dist/components/HoverCard/index.jsx +2 -2
  90. package/dist/components/IconButton/index.jsx +2 -2
  91. package/dist/components/Input/Input.stories.jsx +6 -6
  92. package/dist/components/Inset/index.jsx +4 -4
  93. package/dist/components/Label/index.jsx +2 -2
  94. package/dist/components/Menubar/MenubarCheckboxItem.jsx +5 -5
  95. package/dist/components/Menubar/MenubarContent.jsx +4 -4
  96. package/dist/components/Menubar/MenubarItem.jsx +3 -3
  97. package/dist/components/Menubar/MenubarItemIndicator.jsx +2 -2
  98. package/dist/components/Menubar/MenubarRadioGroup.jsx +4 -4
  99. package/dist/components/Menubar/MenubarRadioItem.jsx +5 -5
  100. package/dist/components/Menubar/MenubarSeparator.jsx +2 -2
  101. package/dist/components/Menubar/MenubarSubContent.jsx +2 -2
  102. package/dist/components/Menubar/MenubarSubTrigger.jsx +5 -5
  103. package/dist/components/Menubar/MenubarTrigger.jsx +2 -2
  104. package/dist/components/Menubar/index.jsx +4 -4
  105. package/dist/components/NavigationMenu/NavigationMenuContent.jsx +2 -2
  106. package/dist/components/NavigationMenu/NavigationMenuIndicator.jsx +3 -3
  107. package/dist/components/NavigationMenu/NavigationMenuItem.jsx +2 -2
  108. package/dist/components/NavigationMenu/NavigationMenuLink.jsx +2 -2
  109. package/dist/components/NavigationMenu/NavigationMenuList.jsx +3 -3
  110. package/dist/components/NavigationMenu/NavigationMenuTrigger.jsx +3 -3
  111. package/dist/components/NavigationMenu/NavigationMenuViewport.jsx +2 -2
  112. package/dist/components/NavigationMenu/index.jsx +4 -4
  113. package/dist/components/Popover/PopoverClose.jsx +2 -2
  114. package/dist/components/Popover/PopoverContent.jsx +2 -2
  115. package/dist/components/Popover/PopoverTrigger.jsx +2 -2
  116. package/dist/components/Popover/index.jsx +2 -2
  117. package/dist/components/Progress/index.d.ts +3 -3
  118. package/dist/components/Progress/index.jsx +2 -2
  119. package/dist/components/RadarChart/index.d.ts +1 -1
  120. package/dist/components/Radio/index.d.ts +1 -1
  121. package/dist/components/Radio/index.jsx +7 -7
  122. package/dist/components/RadioCards/RadioCardsItem.jsx +2 -2
  123. package/dist/components/RadioCards/index.d.ts +1 -1
  124. package/dist/components/RadioCards/index.jsx +4 -4
  125. package/dist/components/RadioGroup/RadioGroupItem.jsx +2 -2
  126. package/dist/components/RadioGroup/index.d.ts +1 -1
  127. package/dist/components/RadioGroup/index.jsx +4 -4
  128. package/dist/components/ScrollArea/index.jsx +4 -4
  129. package/dist/components/SegmentedControl/SegmentedControlItem.jsx +2 -2
  130. package/dist/components/SegmentedControl/index.d.ts +1 -1
  131. package/dist/components/SegmentedControl/index.jsx +4 -4
  132. package/dist/components/Select/index.d.ts +1 -1
  133. package/dist/components/Select/index.jsx +16 -16
  134. package/dist/components/Separator/index.d.ts +1 -1
  135. package/dist/components/Separator/index.jsx +4 -4
  136. package/dist/components/Skeleton/index.d.ts +1 -1
  137. package/dist/components/Skeleton/index.jsx +4 -4
  138. package/dist/components/Slider/index.d.ts +1 -1
  139. package/dist/components/Slider/index.jsx +2 -2
  140. package/dist/components/Spinner/index.d.ts +1 -1
  141. package/dist/components/Spinner/index.jsx +4 -4
  142. package/dist/components/TabNav/index.jsx +6 -6
  143. package/dist/components/Table/index.d.ts +2 -2
  144. package/dist/components/Table/index.jsx +16 -16
  145. package/dist/components/Tabs/index.d.ts +1 -1
  146. package/dist/components/Tabs/index.jsx +10 -10
  147. package/dist/components/TextArea/index.d.ts +3 -3
  148. package/dist/components/TextArea/index.jsx +2 -2
  149. package/dist/components/TextField/index.d.ts +1 -1
  150. package/dist/components/TextField/index.jsx +6 -6
  151. package/dist/components/Toast/ToastActionButton.d.ts +3 -3
  152. package/dist/components/Toast/ToastActionButton.jsx +2 -2
  153. package/dist/components/Toast/ToastDescription.d.ts +1 -1
  154. package/dist/components/Toast/ToastDescription.jsx +4 -4
  155. package/dist/components/Toast/ToastTitle.d.ts +1 -1
  156. package/dist/components/Toast/ToastTitle.jsx +2 -2
  157. package/dist/components/Toast/index.d.ts +3 -3
  158. package/dist/components/Toast/index.jsx +7 -7
  159. package/dist/components/Toggle/ToggleWithText.jsx +3 -3
  160. package/dist/components/Toggle/index.d.ts +3 -3
  161. package/dist/components/Toggle/index.jsx +2 -2
  162. package/dist/components/ToggleGroup/index.d.ts +1 -1
  163. package/dist/components/ToggleGroup/index.jsx +4 -4
  164. package/dist/components/ToggleGroup/toggleGroupItem.jsx +2 -2
  165. package/dist/components/ToggleSwitch/index.d.ts +3 -3
  166. package/dist/components/ToggleSwitch/index.jsx +5 -5
  167. package/dist/components/Tooltip/index.d.ts +1 -1
  168. package/dist/components/Tooltip/index.jsx +10 -10
  169. package/dist/components/index.d.ts +48 -0
  170. package/dist/components/index.js +48 -52
  171. package/dist/constants.d.ts +185 -0
  172. package/dist/constants.js +569 -0
  173. package/dist/index.d.ts +5 -0
  174. package/dist/index.js +5 -51
  175. package/dist/stories/Welcome.d.ts +3 -0
  176. package/dist/stories/Welcome.jsx +48 -0
  177. package/dist/stories/accordion/Accordion.stories.d.ts +71 -0
  178. package/dist/stories/accordion/Accordion.stories.jsx +79 -0
  179. package/dist/stories/alert-dialog/AlertDialog.stories.d.ts +107 -0
  180. package/dist/stories/alert-dialog/AlertDialog.stories.jsx +73 -0
  181. package/dist/stories/aspect-ratio/AspectRatio.stories.d.ts +68 -0
  182. package/dist/stories/aspect-ratio/AspectRatio.stories.jsx +106 -0
  183. package/dist/stories/avatar/Avatar.stories.d.ts +127 -0
  184. package/dist/stories/avatar/Avatar.stories.jsx +105 -0
  185. package/dist/stories/badge/Badge.stories.d.ts +133 -0
  186. package/dist/stories/badge/Badge.stories.jsx +130 -0
  187. package/dist/stories/bubble-chart/BubbleChart.stories.d.ts +103 -0
  188. package/dist/stories/bubble-chart/BubbleChart.stories.jsx +176 -0
  189. package/dist/stories/button/Button.stories.d.ts +148 -0
  190. package/dist/stories/button/Button.stories.jsx +98 -0
  191. package/dist/stories/button/IconButton.stories.d.ts +125 -0
  192. package/dist/stories/button/IconButton.stories.jsx +93 -0
  193. package/dist/stories/callout/Callout.stories.d.ts +129 -0
  194. package/dist/stories/callout/Callout.stories.jsx +205 -0
  195. package/dist/stories/card/Card.stories.d.ts +100 -0
  196. package/dist/stories/card/Card.stories.jsx +134 -0
  197. package/dist/stories/checkbox/Checkbox.stories.d.ts +147 -0
  198. package/dist/stories/checkbox/Checkbox.stories.jsx +166 -0
  199. package/dist/stories/checkbox/CheckboxCard.stories.d.ts +129 -0
  200. package/dist/stories/checkbox/CheckboxCard.stories.jsx +125 -0
  201. package/dist/stories/checkbox/CheckboxGroup.stories.d.ts +91 -0
  202. package/dist/stories/checkbox/CheckboxGroup.stories.jsx +144 -0
  203. package/dist/stories/context-menu/ContextMenu.stories.d.ts +113 -0
  204. package/dist/stories/context-menu/ContextMenu.stories.jsx +155 -0
  205. package/dist/stories/data-list/DataList.stories.d.ts +97 -0
  206. package/dist/stories/data-list/DataList.stories.jsx +185 -0
  207. package/dist/stories/dialog/Dialog.stories.d.ts +88 -0
  208. package/dist/stories/dialog/Dialog.stories.jsx +82 -0
  209. package/dist/stories/doughnut-chart/DoughnutChart.stories.d.ts +181 -0
  210. package/dist/stories/doughnut-chart/DoughnutChart.stories.jsx +236 -0
  211. package/dist/stories/dropdown-menu/DropdownMenu.stories.d.ts +112 -0
  212. package/dist/stories/dropdown-menu/DropdownMenu.stories.jsx +170 -0
  213. package/dist/stories/header/Header.stories.d.ts +112 -0
  214. package/dist/stories/header/Header.stories.jsx +116 -0
  215. package/dist/stories/hover-card/HoverCard.stories.d.ts +107 -0
  216. package/dist/stories/hover-card/HoverCard.stories.jsx +98 -0
  217. package/dist/stories/inset/Inset.stories.d.ts +58 -0
  218. package/dist/stories/inset/Inset.stories.jsx +79 -0
  219. package/dist/stories/label/Label.stories.d.ts +94 -0
  220. package/dist/stories/label/Label.stories.jsx +112 -0
  221. package/dist/stories/menubar/Menubar.stories.d.ts +119 -0
  222. package/dist/stories/menubar/Menubar.stories.jsx +135 -0
  223. package/dist/stories/navigation-menu/NavigationMenu.stories.d.ts +385 -0
  224. package/dist/stories/navigation-menu/NavigationMenu.stories.jsx +144 -0
  225. package/dist/stories/pie-chart/PieChart.stories.d.ts +186 -0
  226. package/dist/stories/pie-chart/PieChart.stories.jsx +300 -0
  227. package/dist/stories/popover/Popover.stories.d.ts +78 -0
  228. package/dist/stories/popover/Popover.stories.jsx +107 -0
  229. package/dist/stories/progress/Progress.stories.d.ts +113 -0
  230. package/dist/stories/progress/Progress.stories.jsx +82 -0
  231. package/dist/stories/radar-chart/RadarChart.stories.d.ts +111 -0
  232. package/dist/stories/radar-chart/RadarChart.stories.jsx +200 -0
  233. package/dist/stories/radio/Radio.stories.d.ts +108 -0
  234. package/dist/stories/radio/Radio.stories.jsx +94 -0
  235. package/dist/stories/radio/RadioCards.stories.d.ts +127 -0
  236. package/dist/stories/radio/RadioCards.stories.jsx +153 -0
  237. package/dist/stories/radio/RadioGroup.stories.d.ts +111 -0
  238. package/dist/stories/radio/RadioGroup.stories.jsx +142 -0
  239. package/dist/stories/scroll-area/ScrollArea.stories.d.ts +59 -0
  240. package/dist/stories/scroll-area/ScrollArea.stories.jsx +123 -0
  241. package/dist/stories/segmented-control/SegmentedControl.stories.d.ts +97 -0
  242. package/dist/stories/segmented-control/SegmentedControl.stories.jsx +101 -0
  243. package/dist/stories/select/Select.stories.d.ts +116 -0
  244. package/dist/stories/select/Select.stories.jsx +149 -0
  245. package/dist/stories/separator/Separator.stories.d.ts +93 -0
  246. package/dist/stories/separator/Separator.stories.jsx +106 -0
  247. package/dist/stories/skeleton/Skeleton.stories.d.ts +88 -0
  248. package/dist/stories/skeleton/Skeleton.stories.jsx +119 -0
  249. package/dist/stories/slider/Slider.stories.d.ts +114 -0
  250. package/dist/stories/slider/Slider.stories.jsx +94 -0
  251. package/dist/stories/spinner/Spinner.stories.d.ts +83 -0
  252. package/dist/stories/spinner/Spinner.stories.jsx +112 -0
  253. package/dist/stories/switch/Switch.stories.d.ts +146 -0
  254. package/dist/stories/switch/Switch.stories.jsx +119 -0
  255. package/dist/stories/tab-nav/TabNav.stories.d.ts +55 -0
  256. package/dist/stories/tab-nav/TabNav.stories.jsx +68 -0
  257. package/dist/stories/table/Table.stories.d.ts +87 -0
  258. package/dist/stories/table/Table.stories.jsx +106 -0
  259. package/dist/stories/tabs/Tabs.stories.d.ts +55 -0
  260. package/dist/stories/tabs/Tabs.stories.jsx +76 -0
  261. package/dist/stories/text/Text.stories.d.ts +74 -0
  262. package/dist/stories/text/Text.stories.jsx +91 -0
  263. package/dist/stories/textArea/TextArea.stories.d.ts +117 -0
  264. package/dist/stories/textArea/TextArea.stories.jsx +112 -0
  265. package/dist/stories/textfield/TextField.stories.d.ts +116 -0
  266. package/dist/stories/textfield/TextField.stories.jsx +120 -0
  267. package/dist/stories/toast/Toast.stories.d.ts +138 -0
  268. package/dist/stories/toast/Toast.stories.jsx +122 -0
  269. package/dist/stories/toggle/Toggle.stories.d.ts +115 -0
  270. package/dist/stories/toggle/Toggle.stories.jsx +106 -0
  271. package/dist/stories/toggle/ToggleGroup.stories.d.ts +103 -0
  272. package/dist/stories/toggle/ToggleGroup.stories.jsx +127 -0
  273. package/dist/stories/tooltip/Tooltip.stories.d.ts +93 -0
  274. package/dist/stories/tooltip/Tooltip.stories.jsx +91 -0
  275. package/dist/tsconfig.tsbuildinfo +1 -0
  276. package/dist/types.d.ts +11 -0
  277. package/dist/types.js +1 -0
  278. package/dist/utils/utils.d.ts +3 -0
  279. package/dist/utils/utils.js +27 -0
  280. package/package.json +118 -119
@@ -13,8 +13,8 @@ import React, { forwardRef } from 'react';
13
13
  import { HoverCard as HoverCardTheme } from '@radix-ui/themes';
14
14
  export var HoverCardTrigger = forwardRef(function (_a, ref) {
15
15
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
16
- return (<HoverCardTheme.Trigger ref={ref} className={className} {...props}>
17
- {children}
16
+ return (<HoverCardTheme.Trigger ref={ref} className={className} {...props}>
17
+ {children}
18
18
  </HoverCardTheme.Trigger>);
19
19
  });
20
20
  HoverCardTrigger.displayName = 'HoverCardTrigger';
@@ -15,8 +15,8 @@ export * from './HoverCardTrigger';
15
15
  export * from './HoverCardContent';
16
16
  export var HoverCard = forwardRef(function (_a, ref) {
17
17
  var children = _a.children, props = __rest(_a, ["children"]);
18
- return (<Theme>
19
- <HoverCardTheme.Root {...props}>{children}</HoverCardTheme.Root>
18
+ return (<Theme>
19
+ <HoverCardTheme.Root {...props}>{children}</HoverCardTheme.Root>
20
20
  </Theme>);
21
21
  });
22
22
  HoverCard.displayName = 'HoverCard';
@@ -56,8 +56,8 @@ export var IconButton = forwardRef(function (_a, ref) {
56
56
  var width = iconSize[size];
57
57
  var height = iconSize[size];
58
58
  var buttonClassName = cn(iconButtonVariants({ radius: radius, scaling: scaling, size: size, color: color }), appearanceStyle(appearance, color, true), className);
59
- return (<button ref={ref} className={buttonClassName} {...props}>
60
- {Children.map(children, function (child) { return React.cloneElement(child, { width: width, height: height }); })}
59
+ return (<button ref={ref} className={buttonClassName} {...props}>
60
+ {Children.map(children, function (child) { return React.cloneElement(child, { width: width, height: height }); })}
61
61
  </button>);
62
62
  });
63
63
  IconButton.displayName = 'IconButton';
@@ -57,12 +57,12 @@ export default meta;
57
57
  export var Default = {
58
58
  args: {},
59
59
  };
60
- export var Radius = function (args) { return (<div className="flex space-x-2">
61
- {radiusOptions.map(function (radius) { return (<Input key={radius} {...args} radius={radius}/>); })}
60
+ export var Radius = function (args) { return (<div className="flex space-x-2">
61
+ {radiusOptions.map(function (radius) { return (<Input key={radius} {...args} radius={radius}/>); })}
62
62
  </div>); };
63
- export var Scaling = function (args) { return (<div className="flex items-center space-x-2">
64
- {scalingOptions.map(function (scaling) { return (<Input key={scaling} {...args} scaling={scaling}></Input>); })}
63
+ export var Scaling = function (args) { return (<div className="flex items-center space-x-2">
64
+ {scalingOptions.map(function (scaling) { return (<Input key={scaling} {...args} scaling={scaling}></Input>); })}
65
65
  </div>); };
66
- export var Weight = function (args) { return (<div className="flex items-center space-x-2">
67
- {weightOptions.map(function (weight) { return (<Input key={weight} {...args} weight={weight}></Input>); })}
66
+ export var Weight = function (args) { return (<div className="flex items-center space-x-2">
67
+ {weightOptions.map(function (weight) { return (<Input key={weight} {...args} weight={weight}></Input>); })}
68
68
  </div>); };
@@ -43,10 +43,10 @@ var insetVariants = cva('border-[1px] border-slate-6 dark:border-slateDark-6 tex
43
43
  });
44
44
  export var Inset = forwardRef(function (_a, ref) {
45
45
  var children = _a.children, className = _a.className, radius = _a.radius, scaling = _a.scaling, props = __rest(_a, ["children", "className", "radius", "scaling"]);
46
- return (<Theme>
47
- <InsetTheme ref={ref} className={cn(insetVariants({ radius: radius, scaling: scaling }), className)} {...props}>
48
- {children}
49
- </InsetTheme>
46
+ return (<Theme>
47
+ <InsetTheme ref={ref} className={cn(insetVariants({ radius: radius, scaling: scaling }), className)} {...props}>
48
+ {children}
49
+ </InsetTheme>
50
50
  </Theme>);
51
51
  });
52
52
  Inset.displayName = 'Inset';
@@ -46,8 +46,8 @@ export var Label = React.forwardRef(function (_a, forwardedRef) {
46
46
  var className = _a.className, scaling = _a.scaling, weight = _a.weight, size = _a.size, color = _a.color, children = _a.children, rootProps = __rest(_a, ["className", "scaling", "weight", "size", "color", "children"]);
47
47
  if (weight === 'medium' || weight === 'semibold')
48
48
  weight = 'bold';
49
- return (<LabelPrimitive.Root {...rootProps} ref={forwardedRef} className={cn('', labeVariants({ scaling: scaling, size: size, weight: weight, color: color }), className)}>
50
- {children}
49
+ return (<LabelPrimitive.Root {...rootProps} ref={forwardedRef} className={cn('', labeVariants({ scaling: scaling, size: size, weight: weight, color: color }), className)}>
50
+ {children}
51
51
  </LabelPrimitive.Root>);
52
52
  });
53
53
  Label.displayName = 'Label';
@@ -21,11 +21,11 @@ export var MenubarCheckboxItem = forwardRef(function (_a, ref) {
21
21
  var children = _a.children, className = _a.className, checked = _a.checked, props = __rest(_a, ["children", "className", "checked"]);
22
22
  var _b = useMenubarContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d;
23
23
  var itemClassName = cn(menubarItemVariants({ radius: radius, scaling: scaling, size: size }), 'pl-7', menuItemAppearanceStyle(itemAppearance, color), className);
24
- return (<MenubarPrimitive.CheckboxItem ref={ref} className={itemClassName} {...props}>
25
- <MenubarItemIndicator forceMount radius={'medium'} size={size}>
26
- {checked && <CheckIcon />}
27
- </MenubarItemIndicator>
28
- {children}
24
+ return (<MenubarPrimitive.CheckboxItem ref={ref} className={itemClassName} {...props}>
25
+ <MenubarItemIndicator forceMount radius={'medium'} size={size}>
26
+ {checked && <CheckIcon />}
27
+ </MenubarItemIndicator>
28
+ {children}
29
29
  </MenubarPrimitive.CheckboxItem>);
30
30
  });
31
31
  MenubarCheckboxItem.displayName = 'MenubarCheckboxItem';
@@ -50,14 +50,14 @@ export var menubarContentVariants = cva("p-[5px] bg-white dark:bg-slateDark-1 wi
50
50
  export var MenubarContent = forwardRef(function (_a, ref) {
51
51
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
52
52
  var _b = useMenubarContext(), radius = _b.radius, size = _b.size, scaling = _b.scaling;
53
- return (<MenubarPrimitive.Portal>
53
+ return (<MenubarPrimitive.Portal>
54
54
  <MenubarPrimitive.Content ref={ref} className={cn(menubarContentVariants({
55
55
  radius: radius,
56
56
  size: size,
57
57
  scaling: scaling,
58
- }), className)} align="start" sideOffset={5} alignOffset={-3} {...props}>
59
- {children}
60
- </MenubarPrimitive.Content>
58
+ }), className)} align="start" sideOffset={5} alignOffset={-3} {...props}>
59
+ {children}
60
+ </MenubarPrimitive.Content>
61
61
  </MenubarPrimitive.Portal>);
62
62
  });
63
63
  MenubarContent.displayName = 'MenubarContent';
@@ -48,9 +48,9 @@ export var MenubarItem = forwardRef(function (_a, ref) {
48
48
  var shortcutClassName = "text-slateA-11 dark:text-slateDarkA-11 ".concat(itemAppearance === 'solid' && !blackText.includes(color)
49
49
  ? 'group-hover:text-white dark:group-hover:text-slateDark-1'
50
50
  : '');
51
- return (<MenubarPrimitive.Item ref={ref} className={itemClassName} {...props}>
52
- {children}
53
- {shortcut && <span className={shortcutClassName}>{shortcut}</span>}
51
+ return (<MenubarPrimitive.Item ref={ref} className={itemClassName} {...props}>
52
+ {children}
53
+ {shortcut && <span className={shortcutClassName}>{shortcut}</span>}
54
54
  </MenubarPrimitive.Item>);
55
55
  });
56
56
  MenubarItem.displayName = 'MenubarItem';
@@ -43,8 +43,8 @@ export var MenubarItemIndicator = forwardRef(function (_a, ref) {
43
43
  var children = _a.children, className = _a.className, radius = _a.radius, props = __rest(_a, ["children", "className", "radius"]);
44
44
  var size = useMenubarContext().size;
45
45
  var indicatorClassName = cn(menubarItemIndicatorVariants({ size: size, radius: radius }), className);
46
- return (<MenubarPrimitive.ItemIndicator ref={ref} className={indicatorClassName} {...props}>
47
- {children}
46
+ return (<MenubarPrimitive.ItemIndicator ref={ref} className={indicatorClassName} {...props}>
47
+ {children}
48
48
  </MenubarPrimitive.ItemIndicator>);
49
49
  });
50
50
  MenubarItemIndicator.displayName = 'MenubarItemIndicator';
@@ -14,10 +14,10 @@ import * as MenubarPrimitive from '@radix-ui/react-menubar';
14
14
  export var RadioContext = createContext({ selectedValue: '' });
15
15
  export var MenubarRadioGroup = forwardRef(function (_a, ref) {
16
16
  var children = _a.children, className = _a.className, value = _a.value, props = __rest(_a, ["children", "className", "value"]);
17
- return (<MenubarPrimitive.RadioGroup ref={ref} className={className} {...props}>
18
- <RadioContext.Provider value={{ selectedValue: value !== null && value !== void 0 ? value : '' }}>
19
- {children}
20
- </RadioContext.Provider>
17
+ return (<MenubarPrimitive.RadioGroup ref={ref} className={className} {...props}>
18
+ <RadioContext.Provider value={{ selectedValue: value !== null && value !== void 0 ? value : '' }}>
19
+ {children}
20
+ </RadioContext.Provider>
21
21
  </MenubarPrimitive.RadioGroup>);
22
22
  });
23
23
  MenubarRadioGroup.displayName = 'MenubarRadioGroup';
@@ -23,11 +23,11 @@ export var MenubarRadioItem = forwardRef(function (_a, ref) {
23
23
  var _b = useMenubarContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d;
24
24
  var itemClassName = cn(menubarItemVariants({ radius: radius, scaling: scaling, size: size }), 'pl-7', menuItemAppearanceStyle(itemAppearance, color), className);
25
25
  var radioGroup = useContext(RadioContext);
26
- return (<MenubarPrimitive.RadioItem ref={ref} className={itemClassName} {...props}>
27
- <MenubarItemIndicator forceMount radius={'full'} size={size}>
28
- {radioGroup.selectedValue === props.value && <DotFilledIcon />}
29
- </MenubarItemIndicator>
30
- {children}
26
+ return (<MenubarPrimitive.RadioItem ref={ref} className={itemClassName} {...props}>
27
+ <MenubarItemIndicator forceMount radius={'full'} size={size}>
28
+ {radioGroup.selectedValue === props.value && <DotFilledIcon />}
29
+ </MenubarItemIndicator>
30
+ {children}
31
31
  </MenubarPrimitive.RadioItem>);
32
32
  });
33
33
  MenubarRadioItem.displayName = 'MenubarRadioItem';
@@ -14,8 +14,8 @@ import * as MenubarPrimitive from '@radix-ui/react-menubar';
14
14
  import { cn } from 'utils/utils';
15
15
  export var MenubarSeparator = forwardRef(function (_a, ref) {
16
16
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
17
- return (<MenubarPrimitive.Separator ref={ref} className={cn('h-[1px] m-[5px] bg-slate-6 dark:bg-slateDark-6', className)} {...props}>
18
- {children}
17
+ return (<MenubarPrimitive.Separator ref={ref} className={cn('h-[1px] m-[5px] bg-slate-6 dark:bg-slateDark-6', className)} {...props}>
18
+ {children}
19
19
  </MenubarPrimitive.Separator>);
20
20
  });
21
21
  MenubarSeparator.displayName = 'MenubarSeparator';
@@ -45,8 +45,8 @@ export var MenubarSubContent = forwardRef(function (_a, ref) {
45
45
  return (<MenubarPrimitive.SubContent ref={ref} className={cn(menubarSubContentVariants({
46
46
  radius: radius,
47
47
  size: size,
48
- }), className)} alignOffset={-5} {...props}>
49
- {children}
48
+ }), className)} alignOffset={-5} {...props}>
49
+ {children}
50
50
  </MenubarPrimitive.SubContent>);
51
51
  });
52
52
  MenubarSubContent.displayName = 'MenubarSubContent';
@@ -24,11 +24,11 @@ export var MenubarSubTrigger = forwardRef(function (_a, ref) {
24
24
  if (itemAppearance === 'solid' && !blackText.includes(color)) {
25
25
  iconClassName = 'group-hover:text-white dark:group-hover:text-slateDark-1';
26
26
  }
27
- return (<MenubarPrimitive.SubTrigger ref={ref} className={triggerClassName} {...props}>
28
- {children}
29
- <div className={iconClassName}>
30
- <ChevronRightIcon />
31
- </div>
27
+ return (<MenubarPrimitive.SubTrigger ref={ref} className={triggerClassName} {...props}>
28
+ {children}
29
+ <div className={iconClassName}>
30
+ <ChevronRightIcon />
31
+ </div>
32
32
  </MenubarPrimitive.SubTrigger>);
33
33
  });
34
34
  MenubarSubTrigger.displayName = 'MenubarSubTrigger';
@@ -51,8 +51,8 @@ export var MenubarTrigger = forwardRef(function (_a, ref) {
51
51
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
52
52
  var _b = useMenubarContext(), scaling = _b.scaling, size = _b.size, radius = _b.radius, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'ghost' : _d;
53
53
  var triggerClassName = cn(menubarTriggerVariants({ scaling: scaling, size: size, radius: radius }), appearanceStyle(appearance, color), className);
54
- return (<MenubarPrimitive.Trigger ref={ref} className={triggerClassName} {...props}>
55
- {children}
54
+ return (<MenubarPrimitive.Trigger ref={ref} className={triggerClassName} {...props}>
55
+ {children}
56
56
  </MenubarPrimitive.Trigger>);
57
57
  });
58
58
  MenubarTrigger.displayName = 'MenubarTrigger';
@@ -66,10 +66,10 @@ export var Menubar = forwardRef(function (_a, ref) {
66
66
  var children = _a.children, className = _a.className, radius = _a.radius, scaling = _a.scaling, size = _a.size, _b = _a.color, color = _b === void 0 ? 'red' : _b, _c = _a.appearance, appearance = _c === void 0 ? 'ghost' : _c, _d = _a.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d, props = __rest(_a, ["children", "className", "radius", "scaling", "size", "color", "appearance", "itemAppearance"]);
67
67
  var contextValue = { radius: radius, size: size, scaling: scaling, color: color, appearance: appearance, itemAppearance: itemAppearance };
68
68
  var menuClassName = cn(menubarVariants({ radius: radius, scaling: scaling, size: size }), appearance === 'solid' && "bg-".concat(color, "-9 dark:bg-$").concat(color, "Dark-9"), className);
69
- return (<MenubarContext.Provider value={contextValue}>
70
- <MenubarPrimitive.Root ref={ref} className={menuClassName} {...props}>
71
- {children}
72
- </MenubarPrimitive.Root>
69
+ return (<MenubarContext.Provider value={contextValue}>
70
+ <MenubarPrimitive.Root ref={ref} className={menuClassName} {...props}>
71
+ {children}
72
+ </MenubarPrimitive.Root>
73
73
  </MenubarContext.Provider>);
74
74
  });
75
75
  Menubar.displayName = 'Menubar';
@@ -42,8 +42,8 @@ export var navigationMenuContentVariants = cva("text-slate-12 dark:text-slateDar
42
42
  export var NavigationMenuContent = forwardRef(function (_a, ref) {
43
43
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
44
44
  var _b = useNavigationMenuContext(), radius = _b.radius, size = _b.size;
45
- return (<NavigationMenuPrimitive.Content ref={ref} className={cn("absolute top-0 left-0 w-full sm:w-auto\n data-[motion=from-start]:animate-enterFromLeft \n data-[motion=from-end]:animate-enterFromRight \n data-[motion=to-start]:animate-exitToLeft \n data-[motion=to-end]:animate-exitToRight", navigationMenuContentVariants({ radius: radius, size: size }), className)} {...props}>
46
- {children}
45
+ return (<NavigationMenuPrimitive.Content ref={ref} className={cn("absolute top-0 left-0 w-full sm:w-auto\n data-[motion=from-start]:animate-enterFromLeft \n data-[motion=from-end]:animate-enterFromRight \n data-[motion=to-start]:animate-exitToLeft \n data-[motion=to-end]:animate-exitToRight", navigationMenuContentVariants({ radius: radius, size: size }), className)} {...props}>
46
+ {children}
47
47
  </NavigationMenuPrimitive.Content>);
48
48
  });
49
49
  NavigationMenuContent.displayName = 'NavigationMenuContent';
@@ -14,9 +14,9 @@ import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
14
14
  import { cn } from 'utils/utils';
15
15
  export var NavigationMenuIndicator = forwardRef(function (_a, ref) {
16
16
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
17
- return (<NavigationMenuPrimitive.Indicator ref={ref} className={"flex z-[1] top-full h-[10px] items-end justify-center overflow-hidden\n data-[state=visible]:animate-fadeIn data-[state=hidden]:animate-fadeOut \n transition-[width,transform_250ms_ease]"} {...props}>
18
- <div className={cn("relative top-[70%] h-[10px] w-[10px] rotate-[45deg] rounded-tl-[2px] \n bg-white dark:bg-slateDark-2 shadow-slate-4 shadow dark:shadow-slateDark-4", className)}/>
19
- {children}
17
+ return (<NavigationMenuPrimitive.Indicator ref={ref} className={"flex z-[1] top-full h-[10px] items-end justify-center overflow-hidden\n data-[state=visible]:animate-fadeIn data-[state=hidden]:animate-fadeOut \n transition-[width,transform_250ms_ease]"} {...props}>
18
+ <div className={cn("relative top-[70%] h-[10px] w-[10px] rotate-[45deg] rounded-tl-[2px] \n bg-white dark:bg-slateDark-2 shadow-slate-4 shadow dark:shadow-slateDark-4", className)}/>
19
+ {children}
20
20
  </NavigationMenuPrimitive.Indicator>);
21
21
  });
22
22
  NavigationMenuIndicator.displayName = 'NavigationMenuIndicator';
@@ -13,8 +13,8 @@ import React, { forwardRef } from 'react';
13
13
  import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
14
14
  export var NavigationMenuItem = forwardRef(function (_a, ref) {
15
15
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
16
- return (<NavigationMenuPrimitive.Item ref={ref} className={className} {...props}>
17
- {children}
16
+ return (<NavigationMenuPrimitive.Item ref={ref} className={className} {...props}>
17
+ {children}
18
18
  </NavigationMenuPrimitive.Item>);
19
19
  });
20
20
  NavigationMenuItem.displayName = 'NavigationMenuItem';
@@ -45,8 +45,8 @@ export var NavigationMenuLink = forwardRef(function (_a, ref) {
45
45
  var children = _a.children, className = _a.className, href = _a.href, props = __rest(_a, ["children", "className", "href"]);
46
46
  var _b = useNavigationMenuContext(), scaling = _b.scaling, size = _b.size, radius = _b.radius, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'ghost' : _d;
47
47
  var linkClassName = cn(navigationMenuLinkVariants({ scaling: scaling, size: size, radius: radius }), appearanceStyle(appearance, color), className);
48
- return (<NavigationMenuPrimitive.Link ref={ref} href={href} title={href} className={linkClassName} {...props}>
49
- {children}
48
+ return (<NavigationMenuPrimitive.Link ref={ref} href={href} title={href} className={linkClassName} {...props}>
49
+ {children}
50
50
  </NavigationMenuPrimitive.Link>);
51
51
  });
52
52
  NavigationMenuLink.displayName = 'NavigationMenuLink';
@@ -41,9 +41,9 @@ export var NavigationMenuList = forwardRef(function (_a, ref) {
41
41
  var children = _a.children, className = _a.className, _b = _a.isShowIndicator, isShowIndicator = _b === void 0 ? true : _b, props = __rest(_a, ["children", "className", "isShowIndicator"]);
42
42
  var _c = useNavigationMenuContext(), scaling = _c.scaling, radius = _c.radius, _d = _c.appearance, appearance = _d === void 0 ? 'ghost' : _d, _e = _c.color, color = _e === void 0 ? 'red' : _e;
43
43
  var navigationMenuListClassName = cn(navigationMenuListVariants({ scaling: scaling, radius: radius }), appearanceStyle(appearance, color, false), 'border-none', appearance === 'ghost' && 'bg-white', className);
44
- return (<NavigationMenuPrimitive.List ref={ref} className={navigationMenuListClassName} {...props}>
45
- {children}
46
- {isShowIndicator && <NavigationMenuIndicator />}
44
+ return (<NavigationMenuPrimitive.List ref={ref} className={navigationMenuListClassName} {...props}>
45
+ {children}
46
+ {isShowIndicator && <NavigationMenuIndicator />}
47
47
  </NavigationMenuPrimitive.List>);
48
48
  });
49
49
  NavigationMenuList.displayName = 'NavigationMenuList';
@@ -52,9 +52,9 @@ export var NavigationMenuTrigger = forwardRef(function (_a, ref) {
52
52
  var children = _a.children, className = _a.className, _b = _a.isShowIcon, isShowIcon = _b === void 0 ? true : _b, props = __rest(_a, ["children", "className", "isShowIcon"]);
53
53
  var _c = useNavigationMenuContext(), scaling = _c.scaling, size = _c.size, radius = _c.radius, _d = _c.color, color = _d === void 0 ? 'red' : _d, _e = _c.appearance, appearance = _e === void 0 ? 'ghost' : _e;
54
54
  var triggerClassName = cn(navigationMenuTriggerVariants({ scaling: scaling, size: size, radius: radius }), appearanceStyle(appearance, color), className);
55
- return (<NavigationMenuPrimitive.Trigger ref={ref} className={triggerClassName} {...props}>
56
- {children}
57
- {isShowIcon && (<CaretDownIcon className={cn("relative top-[1px] transition-transform duration-[250] ease-in group-data-[state=open]:-rotate-180")} aria-hidden/>)}
55
+ return (<NavigationMenuPrimitive.Trigger ref={ref} className={triggerClassName} {...props}>
56
+ {children}
57
+ {isShowIcon && (<CaretDownIcon className={cn("relative top-[1px] transition-transform duration-[250] ease-in group-data-[state=open]:-rotate-180")} aria-hidden/>)}
58
58
  </NavigationMenuPrimitive.Trigger>);
59
59
  });
60
60
  NavigationMenuTrigger.displayName = 'NavigationMenuTrigger';
@@ -47,8 +47,8 @@ export var NavigationMenuViewport = forwardRef(function (_a, ref) {
47
47
  var className = _a.className, props = __rest(_a, ["className"]);
48
48
  var _b = useNavigationMenuContext(), size = _b.size, scaling = _b.scaling, radius = _b.radius;
49
49
  var viewportClassName = cn(navigationViewportVariants({ size: size, scaling: scaling, radius: radius }), className);
50
- return (<div className="perspective-[2000px] absolute top-full left-0 flex w-full justify-center ">
51
- <NavigationMenuPrimitive.Viewport ref={ref} className={viewportClassName} {...props}/>
50
+ return (<div className="perspective-[2000px] absolute top-full left-0 flex w-full justify-center ">
51
+ <NavigationMenuPrimitive.Viewport ref={ref} className={viewportClassName} {...props}/>
52
52
  </div>);
53
53
  });
54
54
  NavigationMenuViewport.displayName = 'NavigationMenuViewport';
@@ -32,10 +32,10 @@ export var useNavigationMenuContext = function () {
32
32
  export var NavigationMenu = forwardRef(function (_a, ref) {
33
33
  var className = _a.className, children = _a.children, radius = _a.radius, size = _a.size, scaling = _a.scaling, color = _a.color, appearance = _a.appearance, props = __rest(_a, ["className", "children", "radius", "size", "scaling", "color", "appearance"]);
34
34
  var contextValue = { radius: radius, size: size, scaling: scaling, color: color, appearance: appearance };
35
- return (<NavigationMenuContext.Provider value={contextValue}>
36
- <NavigationMenuPrimitive.Root ref={ref} className={cn('flex relative z-[1] w-screen justify-center', className)} {...props}>
37
- {children}
38
- </NavigationMenuPrimitive.Root>
35
+ return (<NavigationMenuContext.Provider value={contextValue}>
36
+ <NavigationMenuPrimitive.Root ref={ref} className={cn('flex relative z-[1] w-screen justify-center', className)} {...props}>
37
+ {children}
38
+ </NavigationMenuPrimitive.Root>
39
39
  </NavigationMenuContext.Provider>);
40
40
  });
41
41
  NavigationMenu.displayName = 'NavigationMenu';
@@ -29,8 +29,8 @@ export var popoverCloseVariants = cva('', {
29
29
  });
30
30
  export var PopoverClose = forwardRef(function (_a, ref) {
31
31
  var className = _a.className, children = _a.children, radius = _a.radius, props = __rest(_a, ["className", "children", "radius"]);
32
- return (<PopoverTheme.Close ref={ref} className={cn(popoverCloseVariants({ radius: radius }), className)} {...props}>
33
- {children}
32
+ return (<PopoverTheme.Close ref={ref} className={cn(popoverCloseVariants({ radius: radius }), className)} {...props}>
33
+ {children}
34
34
  </PopoverTheme.Close>);
35
35
  });
36
36
  PopoverClose.displayName = 'PopoverClose';
@@ -57,8 +57,8 @@ export var PopoverContent = forwardRef(function (_a, ref) {
57
57
  sizeTheme = '3';
58
58
  if (size === 'x-large')
59
59
  sizeTheme = '4';
60
- return (<PopoverTheme.Content ref={ref} size={sizeTheme} className={cn(popoverContentVariants({ size: size, radius: radius, scaling: scaling }), className)} {...props}>
61
- {children}
60
+ return (<PopoverTheme.Content ref={ref} size={sizeTheme} className={cn(popoverContentVariants({ size: size, radius: radius, scaling: scaling }), className)} {...props}>
61
+ {children}
62
62
  </PopoverTheme.Content>);
63
63
  });
64
64
  PopoverContent.displayName = 'PopoverContent';
@@ -13,8 +13,8 @@ import React, { forwardRef } from 'react';
13
13
  import { Popover as PopoverTheme } from '@radix-ui/themes';
14
14
  export var PopoverTrigger = forwardRef(function (_a, ref) {
15
15
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
16
- return (<PopoverTheme.Trigger ref={ref} {...props} className={className}>
17
- {children}
16
+ return (<PopoverTheme.Trigger ref={ref} {...props} className={className}>
17
+ {children}
18
18
  </PopoverTheme.Trigger>);
19
19
  });
20
20
  PopoverTrigger.displayName = 'PopoverTrigger';
@@ -16,8 +16,8 @@ export * from './PopoverContent';
16
16
  export * from './PopoverClose';
17
17
  export var Popover = forwardRef(function (_a, ref) {
18
18
  var children = _a.children, props = __rest(_a, ["children"]);
19
- return (<Theme>
20
- <PopoverTheme.Root {...props}>{children}</PopoverTheme.Root>
19
+ return (<Theme>
20
+ <PopoverTheme.Root {...props}>{children}</PopoverTheme.Root>
21
21
  </Theme>);
22
22
  });
23
23
  Popover.displayName = 'Popover';
@@ -7,9 +7,9 @@ export interface ProgressProps extends VariantProps<typeof progressVariants> {
7
7
  appearance?: 'classic' | 'surface' | 'soft';
8
8
  }
9
9
  declare const progressVariants: (props?: ({
10
- radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
11
- size?: "small" | "medium" | "large" | null | undefined;
12
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
10
+ radius?: "medium" | "small" | "none" | "large" | "full" | null | undefined;
11
+ size?: "medium" | "small" | "large" | null | undefined;
12
+ scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
13
13
  color?: string | null | undefined;
14
14
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
15
15
  export declare const Progress: React.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React.RefAttributes<HTMLDivElement>, "ref"> & ProgressProps & React.RefAttributes<HTMLDivElement>>;
@@ -50,8 +50,8 @@ var progressVariants = cva('w-[300px]', {
50
50
  });
51
51
  export var Progress = forwardRef(function (_a, ref) {
52
52
  var className = _a.className, children = _a.children, radius = _a.radius, size = _a.size, value = _a.value, _b = _a.appearance, appearance = _b === void 0 ? 'surface' : _b, _c = _a.color, color = _c === void 0 ? 'red' : _c, scaling = _a.scaling, props = __rest(_a, ["className", "children", "radius", "size", "value", "appearance", "color", "scaling"]);
53
- return (<Theme accentColor={color}>
54
- <ProgressTheme ref={ref} value={value} variant={appearance} className={cn(progressVariants({ radius: radius, size: size, scaling: scaling }), className)} {...props}/>
53
+ return (<Theme accentColor={color}>
54
+ <ProgressTheme ref={ref} value={value} variant={appearance} className={cn(progressVariants({ radius: radius, size: size, scaling: scaling }), className)} {...props}/>
55
55
  </Theme>);
56
56
  });
57
57
  Progress.displayName = 'Progress';
@@ -26,7 +26,7 @@ export interface RadarChartProps extends VariantProps<typeof radarChartVariants>
26
26
  height?: string | number;
27
27
  }
28
28
  declare const radarChartVariants: (props?: ({
29
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
29
+ scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
30
30
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
31
31
  export declare const RadarChart: {
32
32
  ({ className, labels, datasets, width, height, scaling, ...props }: RadarChartProps): React.JSX.Element;
@@ -8,7 +8,7 @@ export interface RadioProps extends VariantProps<typeof radioVariants> {
8
8
  appearance?: 'classic' | 'surface' | 'soft';
9
9
  }
10
10
  declare const radioVariants: (props?: ({
11
- size?: "small" | "medium" | "large" | null | undefined;
11
+ size?: "medium" | "small" | "large" | null | undefined;
12
12
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
13
13
  export declare const Radio: React.ForwardRefExoticComponent<Omit<import("@radix-ui/themes").RadioProps & React.RefAttributes<HTMLInputElement>, "ref"> & RadioProps & React.RefAttributes<HTMLInputElement>>;
14
14
  export default Radio;
@@ -33,13 +33,13 @@ export var Radio = React.forwardRef(function (_a, ref) {
33
33
  sizeTheme = '1';
34
34
  if (size === 'large')
35
35
  sizeTheme = '3';
36
- return (<Theme accentColor={color} scaling={scaling}>
37
- <Flex asChild className={cn(radioVariants({ size: size }), className)}>
38
- <Text as="label" size={sizeTheme}>
39
- <RadioTheme ref={ref} value={value} variant={appearance} size={sizeTheme} {...props}/>
40
- {children}
41
- </Text>
42
- </Flex>
36
+ return (<Theme accentColor={color} scaling={scaling}>
37
+ <Flex asChild className={cn(radioVariants({ size: size }), className)}>
38
+ <Text as="label" size={sizeTheme}>
39
+ <RadioTheme ref={ref} value={value} variant={appearance} size={sizeTheme} {...props}/>
40
+ {children}
41
+ </Text>
42
+ </Flex>
43
43
  </Theme>);
44
44
  });
45
45
  Radio.displayName = 'Radio';
@@ -35,8 +35,8 @@ export var radioCardsItemVariants = cva('bg-white dark:bg-slateDark-1 text-slate
35
35
  });
36
36
  export var RadioCardsItem = forwardRef(function (_a, ref) {
37
37
  var children = _a.children, className = _a.className, radius = _a.radius, size = _a.size, value = _a.value, props = __rest(_a, ["children", "className", "radius", "size", "value"]);
38
- return (<RadioCardsTheme.Item ref={ref} value={value} className={cn(radioCardsItemVariants({ radius: radius, size: size }), className)} {...props}>
39
- {children}
38
+ return (<RadioCardsTheme.Item ref={ref} value={value} className={cn(radioCardsItemVariants({ radius: radius, size: size }), className)} {...props}>
39
+ {children}
40
40
  </RadioCardsTheme.Item>);
41
41
  });
42
42
  RadioCardsItem.displayName = 'RadioCardsItem';
@@ -8,7 +8,7 @@ export interface RadioCardsProps extends VariantProps<typeof radioCardsVariants>
8
8
  appearance?: 'classic' | 'surface';
9
9
  }
10
10
  declare const radioCardsVariants: (props?: ({
11
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
11
+ scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
12
12
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
13
13
  export declare const RadioCards: React.ForwardRefExoticComponent<Omit<RadioCardsTheme.RootProps & React.RefAttributes<HTMLDivElement>, "ref"> & RadioCardsProps & React.RefAttributes<HTMLDivElement>>;
14
14
  export default RadioCards;
@@ -36,10 +36,10 @@ var radioCardsVariants = cva('flex items-center gap-2', {
36
36
  });
37
37
  export var RadioCards = forwardRef(function (_a, ref) {
38
38
  var children = _a.children, className = _a.className, scaling = _a.scaling, _b = _a.appearance, appearance = _b === void 0 ? 'surface' : _b, _c = _a.color, color = _c === void 0 ? 'red' : _c, props = __rest(_a, ["children", "className", "scaling", "appearance", "color"]);
39
- return (<Theme accentColor={color}>
40
- <RadioCardsTheme.Root ref={ref} variant={appearance} className={cn(radioCardsVariants({ scaling: scaling }), className)} {...props}>
41
- {children}
42
- </RadioCardsTheme.Root>
39
+ return (<Theme accentColor={color}>
40
+ <RadioCardsTheme.Root ref={ref} variant={appearance} className={cn(radioCardsVariants({ scaling: scaling }), className)} {...props}>
41
+ {children}
42
+ </RadioCardsTheme.Root>
43
43
  </Theme>);
44
44
  });
45
45
  RadioCards.displayName = 'RadioCards';
@@ -27,8 +27,8 @@ var radioGroupItemVariants = cva('font-normal text-slate-12 dark:text-slateDark-
27
27
  });
28
28
  export var RadioGroupItem = forwardRef(function (_a, ref) {
29
29
  var className = _a.className, children = _a.children, value = _a.value, size = _a.size, _b = _a.appearance, appearance = _b === void 0 ? 'surface' : _b, props = __rest(_a, ["className", "children", "value", "size", "appearance"]);
30
- return (<RadioGroupTheme.Item ref={ref} value={value} className={cn(radioGroupItemVariants({ size: size }), className)} {...props}>
31
- {children}
30
+ return (<RadioGroupTheme.Item ref={ref} value={value} className={cn(radioGroupItemVariants({ size: size }), className)} {...props}>
31
+ {children}
32
32
  </RadioGroupTheme.Item>);
33
33
  });
34
34
  RadioGroupItem.displayName = 'RadioGroupItem';
@@ -10,7 +10,7 @@ export interface RadioGroupProps extends VariantProps<typeof radioGroupVariants>
10
10
  appearance?: 'classic' | 'surface' | 'soft';
11
11
  }
12
12
  declare const radioGroupVariants: (props?: ({
13
- size?: "small" | "medium" | "large" | null | undefined;
13
+ size?: "medium" | "small" | "large" | null | undefined;
14
14
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
15
15
  export declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupTheme.RootProps & React.RefAttributes<HTMLDivElement>, "ref"> & RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
16
16
  export default RadioGroup;
@@ -33,10 +33,10 @@ export var RadioGroup = forwardRef(function (_a, ref) {
33
33
  sizeTheme = '1';
34
34
  if (size === 'large')
35
35
  sizeTheme = '3';
36
- return (<Theme accentColor={color} scaling={scaling}>
37
- <RadioGroupTheme.Root ref={ref} size={sizeTheme} variant={appearance} className={cn(radioGroupVariants({ size: size }), className)} {...props}>
38
- {children}
39
- </RadioGroupTheme.Root>
36
+ return (<Theme accentColor={color} scaling={scaling}>
37
+ <RadioGroupTheme.Root ref={ref} size={sizeTheme} variant={appearance} className={cn(radioGroupVariants({ size: size }), className)} {...props}>
38
+ {children}
39
+ </RadioGroupTheme.Root>
40
40
  </Theme>);
41
41
  });
42
42
  RadioGroup.displayName = 'RadioGroup';
@@ -18,10 +18,10 @@ export var ScrollArea = forwardRef(function (_a, ref) {
18
18
  sizeTheme = '2';
19
19
  if (size === 'large')
20
20
  sizeTheme = '3';
21
- return (<Theme>
22
- <ScrollAreaTheme ref={ref} scrollbars={scrollbars} radius={radius} size={sizeTheme} className={className} {...props}>
23
- {children}
24
- </ScrollAreaTheme>
21
+ return (<Theme>
22
+ <ScrollAreaTheme ref={ref} scrollbars={scrollbars} radius={radius} size={sizeTheme} className={className} {...props}>
23
+ {children}
24
+ </ScrollAreaTheme>
25
25
  </Theme>);
26
26
  });
27
27
  ScrollArea.displayName = 'ScrollArea';
@@ -18,8 +18,8 @@ export var SegmentedControlItem = forwardRef(function (_a, ref) {
18
18
  if (appearance === 'classic') {
19
19
  appearanceClassName = 'dark:data-[state=on]:shadow-segmented-control-dark-classic';
20
20
  }
21
- return (<SegmentedControlTheme.Item ref={ref} className={cn(appearanceClassName, className)} {...props}>
22
- {children}
21
+ return (<SegmentedControlTheme.Item ref={ref} className={cn(appearanceClassName, className)} {...props}>
22
+ {children}
23
23
  </SegmentedControlTheme.Item>);
24
24
  });
25
25
  SegmentedControlItem.displayName = 'SegmentedControlItem';