@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
@@ -82,15 +82,15 @@ var CheckboxLabelVariants = cva('', {
82
82
  export var Checkbox = forwardRef(function (_a, ref) {
83
83
  var id = _a.id, className = _a.className, children = _a.children, scaling = _a.scaling, radius = _a.radius, size = _a.size, _b = _a.color, color = _b === void 0 ? 'red' : _b, _c = _a.appearance, appearance = _c === void 0 ? 'surface' : _c, _d = _a.indeterminate, indeterminate = _d === void 0 ? false : _d, props = __rest(_a, ["id", "className", "children", "scaling", "radius", "size", "color", "appearance", "indeterminate"]);
84
84
  var checkboxClassName = cn(CheckboxVariants({ scaling: scaling, size: size, radius: radius }), checkboxAppearanceStyle(appearance, color, indeterminate), className);
85
- return (<div className="flex items-center">
86
- <CheckboxPrimitive.Root id={id} ref={ref} className={checkboxClassName} {...props}>
87
- <CheckboxPrimitive.Indicator className={cn('flex items-center justify-center text-current stroke-[0.5px]')}>
88
- {indeterminate ? (<MinusIcon className={cn(CheckboxIndicatorVariants({ scaling: scaling, size: size }), 'w-3')}/>) : (<CheckIcon className={cn(CheckboxIndicatorVariants({ scaling: scaling, size: size }))}/>)}
89
- </CheckboxPrimitive.Indicator>
90
- </CheckboxPrimitive.Root>
91
- {children && (<Label className={cn(CheckboxLabelVariants({ scaling: scaling, size: size }), className)} htmlFor={id}>
92
- {children}
93
- </Label>)}
85
+ return (<div className="flex items-center">
86
+ <CheckboxPrimitive.Root id={id} ref={ref} className={checkboxClassName} {...props}>
87
+ <CheckboxPrimitive.Indicator className={cn('flex items-center justify-center text-current stroke-[0.5px]')}>
88
+ {indeterminate ? (<MinusIcon className={cn(CheckboxIndicatorVariants({ scaling: scaling, size: size }), 'w-3')}/>) : (<CheckIcon className={cn(CheckboxIndicatorVariants({ scaling: scaling, size: size }))}/>)}
89
+ </CheckboxPrimitive.Indicator>
90
+ </CheckboxPrimitive.Root>
91
+ {children && (<Label className={cn(CheckboxLabelVariants({ scaling: scaling, size: size }), className)} htmlFor={id}>
92
+ {children}
93
+ </Label>)}
94
94
  </div>);
95
95
  });
96
96
  Checkbox.displayName = 'Checkbox';
@@ -51,9 +51,9 @@ export var CheckboxCardVariants = cva("flex justify-between space-x-2 min-w-[200
51
51
  var CheckboxCard = forwardRef(function (_a, ref) {
52
52
  var className = _a.className, children = _a.children, size = _a.size, scaling = _a.scaling, radius = _a.radius, color = _a.color, _b = _a.appearance, appearance = _b === void 0 ? 'surface' : _b, id = _a.id, disabled = _a.disabled, props = __rest(_a, ["className", "children", "size", "scaling", "radius", "color", "appearance", "id", "disabled"]);
53
53
  var labelClassName = cn(CheckboxCardVariants({ size: size, radius: radius, scaling: scaling }), appearance === 'classic' ? 'shadow-card-classic dark:shadow-card-dark-classic' : '', className);
54
- return (<Label htmlFor={id} className={labelClassName} aria-disabled={disabled}>
55
- {children}
56
- <Checkbox className="mr-0" ref={ref} id={id} size={size} scaling={scaling} radius={radius} color={color} disabled={disabled} appearance={appearance === 'classic' ? 'classic' : 'surface'} {...props}/>
54
+ return (<Label htmlFor={id} className={labelClassName} aria-disabled={disabled}>
55
+ {children}
56
+ <Checkbox className="mr-0" ref={ref} id={id} size={size} scaling={scaling} radius={radius} color={color} disabled={disabled} appearance={appearance === 'classic' ? 'classic' : 'surface'} {...props}/>
57
57
  </Label>);
58
58
  });
59
59
  CheckboxCard.displayName = 'CheckboxCard';
@@ -15,10 +15,10 @@ import { useCheckboxGroupContext } from '.';
15
15
  export var CheckboxGroupItem = forwardRef(function (_a, ref) {
16
16
  var className = _a.className, children = _a.children, value = _a.value, id = _a.id, defaultValue = _a.defaultValue, props = __rest(_a, ["className", "children", "value", "id", "defaultValue"]);
17
17
  var _b = useCheckboxGroupContext(), scaling = _b.scaling, size = _b.size, color = _b.color, radius = _b.radius, appearance = _b.appearance;
18
- return (<div className="flex">
19
- <Checkbox className={className} ref={ref} id={id} defaultChecked={defaultValue == id} scaling={scaling} radius={radius} color={color} size={size} appearance={appearance} {...props}>
20
- {children}
21
- </Checkbox>
18
+ return (<div className="flex">
19
+ <Checkbox className={className} ref={ref} id={id} defaultChecked={defaultValue == id} scaling={scaling} radius={radius} color={color} size={size} appearance={appearance} {...props}>
20
+ {children}
21
+ </Checkbox>
22
22
  </div>);
23
23
  });
24
24
  CheckboxGroupItem.displayName = 'CheckboxGroupItem';
@@ -28,10 +28,10 @@ export var useCheckboxGroupContext = function () {
28
28
  export var CheckboxGroup = forwardRef(function (_a, ref) {
29
29
  var className = _a.className, children = _a.children, defaultValue = _a.defaultValue, size = _a.size;
30
30
  var contextValue = { size: size };
31
- return (<CheckboxGroupContext.Provider value={contextValue}>
32
- <CheckboxGroupTheme.Root defaultValue={defaultValue} ref={ref} className={cn(CheckboxGroupVariants({ size: size }), className)}>
33
- {Children.map(children, function (child) { return React.cloneElement(child, { defaultValue: defaultValue }); })}
34
- </CheckboxGroupTheme.Root>
31
+ return (<CheckboxGroupContext.Provider value={contextValue}>
32
+ <CheckboxGroupTheme.Root defaultValue={defaultValue} ref={ref} className={cn(CheckboxGroupVariants({ size: size }), className)}>
33
+ {Children.map(children, function (child) { return React.cloneElement(child, { defaultValue: defaultValue }); })}
34
+ </CheckboxGroupTheme.Root>
35
35
  </CheckboxGroupContext.Provider>);
36
36
  });
37
37
  CheckboxGroup.displayName = 'CheckboxGroup';
@@ -23,11 +23,11 @@ export var ContextMenuCheckboxItem = forwardRef(function (_a, ref) {
23
23
  scaling: scaling,
24
24
  size: size,
25
25
  }), 'pl-7', menuItemAppearanceStyle(appearance, color), className);
26
- return (<ContextMenuPrimitive.CheckboxItem ref={ref} className={itemClassName} {...props}>
27
- <ContextMenuItemIndicator forceMount radius={'medium'} size={size}>
28
- {checked && <CheckIcon />}
29
- </ContextMenuItemIndicator>
30
- {children}
26
+ return (<ContextMenuPrimitive.CheckboxItem ref={ref} className={itemClassName} {...props}>
27
+ <ContextMenuItemIndicator forceMount radius={'medium'} size={size}>
28
+ {checked && <CheckIcon />}
29
+ </ContextMenuItemIndicator>
30
+ {children}
31
31
  </ContextMenuPrimitive.CheckboxItem>);
32
32
  });
33
33
  ContextMenuCheckboxItem.displayName = 'ContextMenuCheckboxItem';
@@ -50,10 +50,10 @@ export var contextMenuContentVariants = cva("p-[5px] bg-white dark:bg-slateDark-
50
50
  export var ContextMenuContent = forwardRef(function (_a, ref) {
51
51
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
52
52
  var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size;
53
- return (<ContextMenuPrimitive.Portal>
54
- <ContextMenuPrimitive.Content ref={ref} className={cn(contextMenuContentVariants({ radius: radius, scaling: scaling, size: size }), className)} {...props}>
55
- {children}
56
- </ContextMenuPrimitive.Content>
53
+ return (<ContextMenuPrimitive.Portal>
54
+ <ContextMenuPrimitive.Content ref={ref} className={cn(contextMenuContentVariants({ radius: radius, scaling: scaling, size: size }), className)} {...props}>
55
+ {children}
56
+ </ContextMenuPrimitive.Content>
57
57
  </ContextMenuPrimitive.Portal>);
58
58
  });
59
59
  ContextMenuContent.displayName = 'ContextMenuContent';
@@ -13,8 +13,8 @@ import React, { forwardRef } from 'react';
13
13
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
14
14
  export var ContextMenuGroup = forwardRef(function (_a, ref) {
15
15
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
16
- return (<ContextMenuPrimitive.Group ref={ref} className={className} {...props}>
17
- {children}
16
+ return (<ContextMenuPrimitive.Group ref={ref} className={className} {...props}>
17
+ {children}
18
18
  </ContextMenuPrimitive.Group>);
19
19
  });
20
20
  ContextMenuGroup.displayName = 'ContextMenuGroup';
@@ -53,9 +53,9 @@ export var ContextMenuItem = forwardRef(function (_a, ref) {
53
53
  if (appearance === 'solid' && !blackText.includes(color)) {
54
54
  shortcutClassName = 'group-hover:text-white dark:group-hover:text-slateDark-1';
55
55
  }
56
- return (<ContextMenuPrimitive.Item ref={ref} className={itemClassName} {...props}>
57
- {children}
58
- {shortcut && <span className={shortcutClassName}>{shortcut}</span>}
56
+ return (<ContextMenuPrimitive.Item ref={ref} className={itemClassName} {...props}>
57
+ {children}
58
+ {shortcut && <span className={shortcutClassName}>{shortcut}</span>}
59
59
  </ContextMenuPrimitive.Item>);
60
60
  });
61
61
  ContextMenuItem.displayName = 'ContextMenuItem';
@@ -44,8 +44,8 @@ export var ContextMenuItemIndicator = forwardRef(function (_a, ref) {
44
44
  var className = _a.className, children = _a.children, radius = _a.radius, props = __rest(_a, ["className", "children", "radius"]);
45
45
  var size = useContextMenuContext().size;
46
46
  var indicatorClassName = cn(contextMenuItemIndicatorVariants({ size: size, radius: radius }), className);
47
- return (<ContextMenuPrimitive.ItemIndicator ref={ref} className={indicatorClassName} {...props}>
48
- {children !== null && children !== void 0 ? children : <CheckIcon />}
47
+ return (<ContextMenuPrimitive.ItemIndicator ref={ref} className={indicatorClassName} {...props}>
48
+ {children !== null && children !== void 0 ? children : <CheckIcon />}
49
49
  </ContextMenuPrimitive.ItemIndicator>);
50
50
  });
51
51
  ContextMenuItemIndicator.displayName = 'ContextMenuItemIndicator';
@@ -42,8 +42,8 @@ export var contextMenuLabelVariants = cva("flex relative leading-none select-non
42
42
  export var ContextMenuLabel = forwardRef(function (_a, ref) {
43
43
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
44
44
  var _b = useContextMenuContext(), size = _b.size, scaling = _b.scaling;
45
- return (<ContextMenuPrimitive.Label ref={ref} className={cn(contextMenuLabelVariants({ size: size, scaling: scaling }), className)} {...props}>
46
- {children}
45
+ return (<ContextMenuPrimitive.Label ref={ref} className={cn(contextMenuLabelVariants({ size: size, scaling: scaling }), className)} {...props}>
46
+ {children}
47
47
  </ContextMenuPrimitive.Label>);
48
48
  });
49
49
  ContextMenuLabel.displayName = 'ContextMenuLabel';
@@ -14,10 +14,10 @@ import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
14
14
  export var RadioContext = createContext({ selectedValue: '' });
15
15
  export var ContextMenuRadioGroup = forwardRef(function (_a, ref) {
16
16
  var className = _a.className, children = _a.children, value = _a.value, props = __rest(_a, ["className", "children", "value"]);
17
- return (<ContextMenuPrimitive.RadioGroup ref={ref} className={className} {...props}>
18
- <RadioContext.Provider value={{ selectedValue: value !== null && value !== void 0 ? value : '' }}>
19
- {children}
20
- </RadioContext.Provider>
17
+ return (<ContextMenuPrimitive.RadioGroup ref={ref} className={className} {...props}>
18
+ <RadioContext.Provider value={{ selectedValue: value !== null && value !== void 0 ? value : '' }}>
19
+ {children}
20
+ </RadioContext.Provider>
21
21
  </ContextMenuPrimitive.RadioGroup>);
22
22
  });
23
23
  ContextMenuRadioGroup.displayName = 'ContextMenuRadioGroup';
@@ -24,11 +24,11 @@ export var ContextMenuRadioItem = forwardRef(function (_a, ref) {
24
24
  size: size,
25
25
  }), 'pl-7', menuItemAppearanceStyle(appearance, color), className);
26
26
  var radioGroup = useContext(RadioContext);
27
- return (<ContextMenuPrimitive.RadioItem ref={ref} className={itemClassName} {...props}>
28
- <ContextMenuItemIndicator forceMount radius={'full'} size={size}>
29
- {radioGroup.selectedValue === props.value && <DotFilledIcon />}
30
- </ContextMenuItemIndicator>
31
- {children}
27
+ return (<ContextMenuPrimitive.RadioItem ref={ref} className={itemClassName} {...props}>
28
+ <ContextMenuItemIndicator forceMount radius={'full'} size={size}>
29
+ {radioGroup.selectedValue === props.value && <DotFilledIcon />}
30
+ </ContextMenuItemIndicator>
31
+ {children}
32
32
  </ContextMenuPrimitive.RadioItem>);
33
33
  });
34
34
  ContextMenuRadioItem.displayName = 'ContextMenuRadioItem';
@@ -14,8 +14,8 @@ import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
14
14
  import { cn } from 'utils/utils';
15
15
  export var ContextMenuSeparator = forwardRef(function (_a, ref) {
16
16
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
17
- return (<ContextMenuPrimitive.Separator ref={ref} className={cn('h-[1px] m-[5px] bg-slate-6 dark:bg-slateDark-6', className)} {...props}>
18
- {children}
17
+ return (<ContextMenuPrimitive.Separator ref={ref} className={cn('h-[1px] m-[5px] bg-slate-6 dark:bg-slateDark-6', className)} {...props}>
18
+ {children}
19
19
  </ContextMenuPrimitive.Separator>);
20
20
  });
21
21
  ContextMenuSeparator.displayName = 'ContextMenuSeparator';
@@ -44,13 +44,13 @@ export var contextMenuSubContentVariants = cva("p-[5px] bg-white dark:bg-slateDa
44
44
  export var ContextMenuSubContent = forwardRef(function (_a, ref) {
45
45
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
46
46
  var _b = useContextMenuContext(), radius = _b.radius, size = _b.size, scaling = _b.scaling;
47
- return (<ContextMenuPrimitive.Portal>
47
+ return (<ContextMenuPrimitive.Portal>
48
48
  <ContextMenuPrimitive.SubContent ref={ref} className={cn(contextMenuSubContentVariants({
49
49
  radius: radius,
50
50
  size: size,
51
- }), className)} sideOffset={2} alignOffset={-5} {...props}>
52
- {children}
53
- </ContextMenuPrimitive.SubContent>
51
+ }), className)} sideOffset={2} alignOffset={-5} {...props}>
52
+ {children}
53
+ </ContextMenuPrimitive.SubContent>
54
54
  </ContextMenuPrimitive.Portal>);
55
55
  });
56
56
  ContextMenuSubContent.displayName = 'ContextMenuSubContent';
@@ -23,13 +23,13 @@ export var ContextMenuSubTrigger = forwardRef(function (_a, ref) {
23
23
  var iconClassName = cn('group-data-[disabled]:text-slate-8 ', appearance === 'solid' && blackText.includes(color)
24
24
  ? 'hover:fill-slate-12 dark:hover:fill-slateDark-1'
25
25
  : "hover:fill-white dark:hover:fill-slateDark-12 ");
26
- return (<ContextMenuPrimitive.Sub>
27
- <ContextMenuPrimitive.SubTrigger ref={ref} className={triggerClassName} {...props}>
28
- {children}
29
- <div className="ml-auto pl-5 ">
30
- <ChevronRightIcon className={iconClassName}/>
31
- </div>
32
- </ContextMenuPrimitive.SubTrigger>
26
+ return (<ContextMenuPrimitive.Sub>
27
+ <ContextMenuPrimitive.SubTrigger ref={ref} className={triggerClassName} {...props}>
28
+ {children}
29
+ <div className="ml-auto pl-5 ">
30
+ <ChevronRightIcon className={iconClassName}/>
31
+ </div>
32
+ </ContextMenuPrimitive.SubTrigger>
33
33
  </ContextMenuPrimitive.Sub>);
34
34
  });
35
35
  ContextMenuSubTrigger.displayName = 'ContextMenuSubTrigger';
@@ -14,8 +14,8 @@ import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
14
14
  import { cn } from 'utils/utils';
15
15
  export var ContextMenuTrigger = forwardRef(function (_a, ref) {
16
16
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
17
- return (<ContextMenuPrimitive.Trigger ref={ref} className={cn("block border-2 border-dashed text-slate-12 dark:text-slateDark-12 rounded text-base \n select-none py-[45px] w-[300px] text-center", className)} {...props}>
18
- {children}
17
+ return (<ContextMenuPrimitive.Trigger ref={ref} className={cn("block border-2 border-dashed text-slate-12 dark:text-slateDark-12 rounded text-base \n select-none py-[45px] w-[300px] text-center", className)} {...props}>
18
+ {children}
19
19
  </ContextMenuPrimitive.Trigger>);
20
20
  });
21
21
  ContextMenuTrigger.displayName = 'ContextMenuTrigger';
@@ -36,8 +36,8 @@ export var useContextMenuContext = function () {
36
36
  export var ContextMenu = forwardRef(function (_a) {
37
37
  var children = _a.children, radius = _a.radius, size = _a.size, scaling = _a.scaling, color = _a.color, appearance = _a.appearance, props = __rest(_a, ["children", "radius", "size", "scaling", "color", "appearance"]);
38
38
  var contextValue = { radius: radius, size: size, scaling: scaling, color: color, appearance: appearance };
39
- return (<ContextMenuContext.Provider value={contextValue}>
40
- <ContextMenuPrimitive.Root {...props}>{children}</ContextMenuPrimitive.Root>
39
+ return (<ContextMenuContext.Provider value={contextValue}>
40
+ <ContextMenuPrimitive.Root {...props}>{children}</ContextMenuPrimitive.Root>
41
41
  </ContextMenuContext.Provider>);
42
42
  });
43
43
  ContextMenu.displayName = 'ContextMenu';
@@ -37,8 +37,8 @@ export var dataListItemVariants = cva('flex', {
37
37
  export var DataListItem = forwardRef(function (_a, ref) {
38
38
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
39
39
  var scaling = useDataListContext().scaling;
40
- return (<DataListTheme.Item ref={ref} {...props} className={cn(dataListItemVariants({ scaling: scaling }), className)}>
41
- {children}
40
+ return (<DataListTheme.Item ref={ref} {...props} className={cn(dataListItemVariants({ scaling: scaling }), className)}>
41
+ {children}
42
42
  </DataListTheme.Item>);
43
43
  });
44
44
  DataListItem.displayName = 'DataListItem';
@@ -43,8 +43,8 @@ export var dataListLabelVariants = cva('text-slateA-11 dark:text-slateDarkA-11 w
43
43
  export var DataListLabel = forwardRef(function (_a, ref) {
44
44
  var children = _a.children, className = _a.className, weight = _a.weight, color = _a.color, props = __rest(_a, ["children", "className", "weight", "color"]);
45
45
  var size = useDataListContext().size;
46
- return (<DataListTheme.Label ref={ref} {...props}>
47
- <p className={cn(dataListLabelVariants({ weight: weight, size: size }), className)}>{children}</p>
46
+ return (<DataListTheme.Label ref={ref} {...props}>
47
+ <p className={cn(dataListLabelVariants({ weight: weight, size: size }), className)}>{children}</p>
48
48
  </DataListTheme.Label>);
49
49
  });
50
50
  DataListLabel.displayName = 'DataListLabel';
@@ -45,8 +45,8 @@ export var dataListValueVariants = cva('text-slate-12 dark:text-slateDark-12 w-[
45
45
  export var DataListValue = forwardRef(function (_a, ref) {
46
46
  var children = _a.children, className = _a.className, weight = _a.weight, props = __rest(_a, ["children", "className", "weight"]);
47
47
  var _b = useDataListContext(), size = _b.size, color = _b.color;
48
- return (<DataListTheme.Value ref={ref} className={cn(dataListValueVariants({ weight: weight, size: size, color: color }), className)} {...props}>
49
- {children}
48
+ return (<DataListTheme.Value ref={ref} className={cn(dataListValueVariants({ weight: weight, size: size, color: color }), className)} {...props}>
49
+ {children}
50
50
  </DataListTheme.Value>);
51
51
  });
52
52
  DataListValue.displayName = 'DataListValue';
@@ -39,10 +39,10 @@ export var useDataListContext = function () {
39
39
  export var DataList = forwardRef(function (_a, ref) {
40
40
  var children = _a.children, className = _a.className, size = _a.size, scaling = _a.scaling, color = _a.color, props = __rest(_a, ["children", "className", "size", "scaling", "color"]);
41
41
  var contextValue = { size: size, scaling: scaling, color: color };
42
- return (<DataListContext.Provider value={contextValue}>
43
- <DataListTheme.Root ref={ref} {...props} className={cn(dataListVariants({ size: size }), className)}>
44
- {children}
45
- </DataListTheme.Root>
42
+ return (<DataListContext.Provider value={contextValue}>
43
+ <DataListTheme.Root ref={ref} {...props} className={cn(dataListVariants({ size: size }), className)}>
44
+ {children}
45
+ </DataListTheme.Root>
46
46
  </DataListContext.Provider>);
47
47
  });
48
48
  DataList.displayName = 'DataList';
@@ -40,8 +40,8 @@ export var dialogActionVariants = cva('rounded-md inline-flex font-medium items-
40
40
  export var DialogAction = forwardRef(function (_a, ref) {
41
41
  var children = _a.children, className = _a.className, radius = _a.radius, size = _a.size, _b = _a.color, color = _b === void 0 ? 'red' : _b, _c = _a.appearance, appearance = _c === void 0 ? 'solid' : _c, props = __rest(_a, ["children", "className", "radius", "size", "color", "appearance"]);
42
42
  var buttonClassName = cn(dialogActionVariants({ radius: radius, size: size, color: color }), appearanceStyle(appearance, color), className);
43
- return (<DialogTheme.Close ref={ref} className={buttonClassName} {...props}>
44
- {children}
43
+ return (<DialogTheme.Close ref={ref} className={buttonClassName} {...props}>
44
+ {children}
45
45
  </DialogTheme.Close>);
46
46
  });
47
47
  DialogAction.displayName = 'DialogAction';
@@ -36,8 +36,8 @@ export var dialogCancelVariants = cva("rounded-md font-medium inline-flex justif
36
36
  });
37
37
  export var DialogCancel = forwardRef(function (_a, ref) {
38
38
  var children = _a.children, className = _a.className, radius = _a.radius, size = _a.size, props = __rest(_a, ["children", "className", "radius", "size"]);
39
- return (<DialogTheme.Close ref={ref} className={cn(dialogCancelVariants({ radius: radius, size: size }), className)} {...props}>
40
- {children}
39
+ return (<DialogTheme.Close ref={ref} className={cn(dialogCancelVariants({ radius: radius, size: size }), className)} {...props}>
40
+ {children}
41
41
  </DialogTheme.Close>);
42
42
  });
43
43
  DialogCancel.displayName = 'DialogCancel';
@@ -49,8 +49,8 @@ export var dialogContentVariants = cva("rounded-md focus:outline-none bg-white d
49
49
  });
50
50
  export var DialogContent = forwardRef(function (_a, forwardedRef) {
51
51
  var children = _a.children, className = _a.className, radius = _a.radius, size = _a.size, scaling = _a.scaling, props = __rest(_a, ["children", "className", "radius", "size", "scaling"]);
52
- return (<DialogTheme.Content ref={forwardedRef} className={cn(dialogContentVariants({ radius: radius, scaling: scaling, size: size }), className)} {...props}>
53
- {children}
52
+ return (<DialogTheme.Content ref={forwardedRef} className={cn(dialogContentVariants({ radius: radius, scaling: scaling, size: size }), className)} {...props}>
53
+ {children}
54
54
  </DialogTheme.Content>);
55
55
  });
56
56
  DialogContent.displayName = 'DialogContent';
@@ -28,8 +28,8 @@ export var dialogDescriptionVariants = cva('font-normal text-slate-12 dark:text-
28
28
  });
29
29
  export var DialogDescription = forwardRef(function (_a, ref) {
30
30
  var children = _a.children, className = _a.className, size = _a.size, props = __rest(_a, ["children", "className", "size"]);
31
- return (<DialogTheme.Description mb="4" ref={ref} className={cn(dialogDescriptionVariants({ size: size }), className)} {...props}>
32
- {children}
31
+ return (<DialogTheme.Description mb="4" ref={ref} className={cn(dialogDescriptionVariants({ size: size }), className)} {...props}>
32
+ {children}
33
33
  </DialogTheme.Description>);
34
34
  });
35
35
  DialogDescription.displayName = 'DialogDescription';
@@ -27,8 +27,8 @@ export var dialogSlotVariants = cva('flex flex-col gap-2 font-normal text-slate-
27
27
  });
28
28
  export var DialogSlot = forwardRef(function (_a, ref) {
29
29
  var children = _a.children, className = _a.className, size = _a.size, props = __rest(_a, ["children", "className", "size"]);
30
- return (<div ref={ref} className={cn(dialogSlotVariants({ size: size }), className)} {...props}>
31
- {children}
30
+ return (<div ref={ref} className={cn(dialogSlotVariants({ size: size }), className)} {...props}>
31
+ {children}
32
32
  </div>);
33
33
  });
34
34
  DialogSlot.displayName = 'DialogSlot';
@@ -28,8 +28,8 @@ export var dialogTitleVariants = cva('font-bold text-slate-12 dark:text-slateDar
28
28
  });
29
29
  export var DialogTitle = forwardRef(function (_a, ref) {
30
30
  var children = _a.children, className = _a.className, size = _a.size, props = __rest(_a, ["children", "className", "size"]);
31
- return (<DialogTheme.Title ref={ref} className={cn(dialogTitleVariants({ size: size }), className)} {...props}>
32
- {children}
31
+ return (<DialogTheme.Title ref={ref} className={cn(dialogTitleVariants({ size: size }), className)} {...props}>
32
+ {children}
33
33
  </DialogTheme.Title>);
34
34
  });
35
35
  DialogTitle.displayName = 'DialogTitle';
@@ -13,8 +13,8 @@ import React, { forwardRef } from 'react';
13
13
  import { Dialog as DialogTheme } from '@radix-ui/themes';
14
14
  export var DialogTrigger = forwardRef(function (_a, ref) {
15
15
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
16
- return (<DialogTheme.Trigger ref={ref} className={className} {...props}>
17
- {children}
16
+ return (<DialogTheme.Trigger ref={ref} className={className} {...props}>
17
+ {children}
18
18
  </DialogTheme.Trigger>);
19
19
  });
20
20
  DialogTrigger.displayName = 'DialogTrigger';
@@ -20,8 +20,8 @@ export * from './DialogCancel';
20
20
  export * from './DialogAction';
21
21
  export var Dialog = forwardRef(function (_a, ref) {
22
22
  var children = _a.children, color = _a.color, props = __rest(_a, ["children", "color"]);
23
- return (<Theme accentColor={color}>
24
- <DialogTheme.Root {...props}>{children}</DialogTheme.Root>
23
+ return (<Theme accentColor={color}>
24
+ <DialogTheme.Root {...props}>{children}</DialogTheme.Root>
25
25
  </Theme>);
26
26
  });
27
27
  Dialog.displayName = 'Dialog';
@@ -14,10 +14,10 @@ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
14
14
  export var RadioContext = createContext({ selectedValue: '' });
15
15
  export var DropdownMenuRadioGroup = forwardRef(function (_a, ref) {
16
16
  var className = _a.className, children = _a.children, value = _a.value, props = __rest(_a, ["className", "children", "value"]);
17
- return (<DropdownMenuPrimitive.RadioGroup ref={ref} className={className} {...props}>
18
- <RadioContext.Provider value={{ selectedValue: value !== null && value !== void 0 ? value : '' }}>
19
- {children}
20
- </RadioContext.Provider>
17
+ return (<DropdownMenuPrimitive.RadioGroup ref={ref} className={className} {...props}>
18
+ <RadioContext.Provider value={{ selectedValue: value !== null && value !== void 0 ? value : '' }}>
19
+ {children}
20
+ </RadioContext.Provider>
21
21
  </DropdownMenuPrimitive.RadioGroup>);
22
22
  });
23
23
  DropdownMenuRadioGroup.displayName = 'DropdownMenuRadioGroup';
@@ -48,14 +48,14 @@ export var dropdownMenuSubContentVariants = cva("p-[5px] bg-white dark:bg-slateD
48
48
  });
49
49
  export var DropdownMenuSubContent = forwardRef(function (_a, ref) {
50
50
  var className = _a.className, children = _a.children, radius = _a.radius, scaling = _a.scaling, size = _a.size, props = __rest(_a, ["className", "children", "radius", "scaling", "size"]);
51
- return (<DropdownMenuPrimitive.Portal>
51
+ return (<DropdownMenuPrimitive.Portal>
52
52
  <DropdownMenuPrimitive.SubContent ref={ref} className={cn(dropdownMenuSubContentVariants({
53
53
  radius: radius,
54
54
  size: size,
55
55
  scaling: scaling,
56
- }), className)} sideOffset={2} alignOffset={-5} {...props}>
57
- {children}
58
- </DropdownMenuPrimitive.SubContent>
56
+ }), className)} sideOffset={2} alignOffset={-5} {...props}>
57
+ {children}
58
+ </DropdownMenuPrimitive.SubContent>
59
59
  </DropdownMenuPrimitive.Portal>);
60
60
  });
61
61
  DropdownMenuSubContent.displayName = 'DropdownMenuSubContent';
@@ -21,11 +21,11 @@ export var DropdownMenuCheckboxItem = forwardRef(function (_a, ref) {
21
21
  radius: radius,
22
22
  size: size,
23
23
  }), 'pl-7', menuItemAppearanceStyle(appearance, color), className);
24
- return (<DropdownMenuPrimitive.CheckboxItem ref={ref} className={itemClassName} {...props}>
25
- <DropdownMenuItemIndicator forceMount radius={'medium'} size={size}>
26
- {checked && <CheckIcon />}
27
- </DropdownMenuItemIndicator>
28
- {children}
24
+ return (<DropdownMenuPrimitive.CheckboxItem ref={ref} className={itemClassName} {...props}>
25
+ <DropdownMenuItemIndicator forceMount radius={'medium'} size={size}>
26
+ {checked && <CheckIcon />}
27
+ </DropdownMenuItemIndicator>
28
+ {children}
29
29
  </DropdownMenuPrimitive.CheckboxItem>);
30
30
  });
31
31
  DropdownMenuCheckboxItem.displayName = 'DropdownMenuCheckboxItem';
@@ -48,10 +48,10 @@ export var dropdownMenuContentVariants = cva("p-[5px] bg-white dark:bg-slateDark
48
48
  });
49
49
  export var DropdownMenuContent = forwardRef(function (_a, ref) {
50
50
  var className = _a.className, children = _a.children, size = _a.size, scaling = _a.scaling, radius = _a.radius, props = __rest(_a, ["className", "children", "size", "scaling", "radius"]);
51
- return (<DropdownMenuPrimitive.Portal>
52
- <DropdownMenuPrimitive.Content ref={ref} sideOffset={5} className={cn(dropdownMenuContentVariants({ radius: radius, scaling: scaling, size: size }), className)} {...props}>
53
- {children}
54
- </DropdownMenuPrimitive.Content>
51
+ return (<DropdownMenuPrimitive.Portal>
52
+ <DropdownMenuPrimitive.Content ref={ref} sideOffset={5} className={cn(dropdownMenuContentVariants({ radius: radius, scaling: scaling, size: size }), className)} {...props}>
53
+ {children}
54
+ </DropdownMenuPrimitive.Content>
55
55
  </DropdownMenuPrimitive.Portal>);
56
56
  });
57
57
  DropdownMenuContent.displayName = 'DropdownMenuContent';
@@ -50,9 +50,9 @@ export var DropdownMenuItem = forwardRef(function (_a, ref) {
50
50
  if (appearance === 'solid' && !blackText.includes(color)) {
51
51
  shortcutClassName = 'group-hover:text-white dark:group-hover:text-white';
52
52
  }
53
- return (<DropdownMenuPrimitive.Item ref={ref} {...props} className={itemClassName}>
54
- {children}
55
- {shortcut && <span className={shortcutClassName}>{shortcut}</span>}
53
+ return (<DropdownMenuPrimitive.Item ref={ref} {...props} className={itemClassName}>
54
+ {children}
55
+ {shortcut && <span className={shortcutClassName}>{shortcut}</span>}
56
56
  </DropdownMenuPrimitive.Item>);
57
57
  });
58
58
  DropdownMenuItem.displayName = 'DropdownMenuItem';
@@ -40,8 +40,8 @@ export var dropdownMenuItemIndicatorVariants = cva("absolute left-0 inline-flex
40
40
  });
41
41
  export var DropdownMenuItemIndicator = forwardRef(function (_a, ref) {
42
42
  var className = _a.className, children = _a.children, size = _a.size, radius = _a.radius, props = __rest(_a, ["className", "children", "size", "radius"]);
43
- return (<DropdownMenuPrimitive.ItemIndicator ref={ref} className={cn(dropdownMenuItemIndicatorVariants({ radius: radius, size: size }), className)} {...props}>
44
- {children}
43
+ return (<DropdownMenuPrimitive.ItemIndicator ref={ref} className={cn(dropdownMenuItemIndicatorVariants({ radius: radius, size: size }), className)} {...props}>
44
+ {children}
45
45
  </DropdownMenuPrimitive.ItemIndicator>);
46
46
  });
47
47
  DropdownMenuItemIndicator.displayName = 'DropdownMenuItemIndicator';
@@ -40,8 +40,8 @@ export var dropdownMenuLabelVariants = cva("flex relative leading-none select-no
40
40
  });
41
41
  export var DropdownMenuLabel = forwardRef(function (_a, ref) {
42
42
  var className = _a.className, children = _a.children, size = _a.size, props = __rest(_a, ["className", "children", "size"]);
43
- return (<DropdownMenuPrimitive.Label ref={ref} className={cn(dropdownMenuLabelVariants({ size: size }), className)} {...props}>
44
- {children}
43
+ return (<DropdownMenuPrimitive.Label ref={ref} className={cn(dropdownMenuLabelVariants({ size: size }), className)} {...props}>
44
+ {children}
45
45
  </DropdownMenuPrimitive.Label>);
46
46
  });
47
47
  DropdownMenuLabel.displayName = 'DropdownMenuLabel';
@@ -22,11 +22,11 @@ export var DropdownMenuRadioItem = forwardRef(function (_a, ref) {
22
22
  radius: radius,
23
23
  size: size,
24
24
  }), 'pl-7', menuItemAppearanceStyle(appearance, color), className);
25
- return (<DropdownMenuTheme.RadioItem ref={ref} className={itemClassName} {...props}>
26
- <DropdownMenuItemIndicator forceMount radius={'full'} size={size}>
27
- {radioGroup.selectedValue === props.value && <DotFilledIcon />}
28
- </DropdownMenuItemIndicator>
29
- {children}
25
+ return (<DropdownMenuTheme.RadioItem ref={ref} className={itemClassName} {...props}>
26
+ <DropdownMenuItemIndicator forceMount radius={'full'} size={size}>
27
+ {radioGroup.selectedValue === props.value && <DotFilledIcon />}
28
+ </DropdownMenuItemIndicator>
29
+ {children}
30
30
  </DropdownMenuTheme.RadioItem>);
31
31
  });
32
32
  DropdownMenuRadioItem.displayName = 'DropdownMenuRadioItem';
@@ -21,11 +21,11 @@ export var DropdownMenuSubTrigger = forwardRef(function (_a, ref) {
21
21
  ? 'hover:fill-slate-12 dark:hover:fill-slateDark-1'
22
22
  : "hover:fill-white dark:hover:fill-slateDark-12 ");
23
23
  var triggerClassName = cn(dropdownMenuItemVariants({ size: size, radius: radius }), menuItemAppearanceStyle(appearance, color), className);
24
- return (<DropdownMenuPrimitive.SubTrigger ref={ref} className={triggerClassName} {...props}>
25
- {children}
26
- <div className="ml-auto pl-5 ">
27
- <ChevronRightIcon className={iconClassName}/>
28
- </div>
24
+ return (<DropdownMenuPrimitive.SubTrigger ref={ref} className={triggerClassName} {...props}>
25
+ {children}
26
+ <div className="ml-auto pl-5 ">
27
+ <ChevronRightIcon className={iconClassName}/>
28
+ </div>
29
29
  </DropdownMenuPrimitive.SubTrigger>);
30
30
  });
31
31
  DropdownMenuSubTrigger.displayName = 'DropdownMenuSubTrigger';
@@ -34,8 +34,8 @@ var dropdownMenuTriggerVariants = cva('', {
34
34
  });
35
35
  export var DropdownMenuTrigger = forwardRef(function (_a, ref) {
36
36
  var className = _a.className, children = _a.children, radius = _a.radius, size = _a.size, props = __rest(_a, ["className", "children", "radius", "size"]);
37
- return (<DropdownMenuPrimitive.Trigger asChild ref={ref} className={cn(dropdownMenuTriggerVariants({ radius: radius, size: size }), className)} {...props}>
38
- {children}
37
+ return (<DropdownMenuPrimitive.Trigger asChild ref={ref} className={cn(dropdownMenuTriggerVariants({ radius: radius, size: size }), className)} {...props}>
38
+ {children}
39
39
  </DropdownMenuPrimitive.Trigger>);
40
40
  });
41
41
  DropdownMenuTrigger.displayName = 'DropdownMenuTrigger';
@@ -54,8 +54,8 @@ export var HoverCardContent = forwardRef(function (_a, ref) {
54
54
  sizeTheme = '1';
55
55
  if (size === 'large')
56
56
  sizeTheme = '3';
57
- return (<HoverCardTheme.Content ref={ref} {...props} size={sizeTheme} className={cn(hoverCardContentVariants({ size: size, scaling: scaling, weight: weight, radius: radius, color: color }), size === 'x-large' && 'rt-r-size-4', className)}>
58
- {children}
57
+ return (<HoverCardTheme.Content ref={ref} {...props} size={sizeTheme} className={cn(hoverCardContentVariants({ size: size, scaling: scaling, weight: weight, radius: radius, color: color }), size === 'x-large' && 'rt-r-size-4', className)}>
58
+ {children}
59
59
  </HoverCardTheme.Content>);
60
60
  });
61
61
  HoverCardContent.displayName = 'HoverCardContent';