@lotte-innovate/ui-component-test 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (267) hide show
  1. package/README.md +163 -163
  2. package/dist/Typography/Header/{index.jsx → index.js} +2 -5
  3. package/dist/Typography/Text/{index.jsx → index.js} +3 -6
  4. package/dist/Typography/index.d.ts +2 -2
  5. package/dist/Typography/index.js +3 -3
  6. package/dist/app/layout.d.ts +1 -1
  7. package/dist/app/{layout.jsx → layout.js} +2 -3
  8. package/dist/app/page.d.ts +1 -2
  9. package/dist/app/page.js +25 -0
  10. package/dist/app/template/badgeTemplate.d.ts +1 -2
  11. package/dist/app/template/badgeTemplate.js +11 -0
  12. package/dist/app/template/buttonTemplate.d.ts +1 -2
  13. package/dist/app/template/buttonTemplate.js +11 -0
  14. package/dist/app/template/colorPicker.d.ts +1 -2
  15. package/dist/app/template/colorPicker.js +14 -0
  16. package/dist/app/template/textTemplate.d.ts +1 -2
  17. package/dist/app/template/textTemplate.js +23 -0
  18. package/dist/app/template/theme.d.ts +2 -2
  19. package/dist/app/template/theme.js +12 -0
  20. package/dist/components/Accordion/{index.jsx → index.js} +5 -17
  21. package/dist/components/AlertDialog/{AlertDialogAction.jsx → AlertDialogAction.js} +3 -4
  22. package/dist/components/AlertDialog/{AlertDialogCancel.jsx → AlertDialogCancel.js} +3 -4
  23. package/dist/components/AlertDialog/{AlertDialogContent.jsx → AlertDialogContent.js} +3 -7
  24. package/dist/components/AlertDialog/{AlertDialogDescription.jsx → AlertDialogDescription.js} +14 -4
  25. package/dist/components/AlertDialog/{AlertDialogTitle.jsx → AlertDialogTitle.js} +14 -4
  26. package/dist/components/AlertDialog/{AlertDialogTrigger.jsx → AlertDialogTrigger.js} +3 -4
  27. package/dist/components/AlertDialog/{index.jsx → index.js} +14 -2
  28. package/dist/components/AspectRatio/{index.jsx → index.js} +3 -4
  29. package/dist/components/Avatar/{index.jsx → index.js} +3 -7
  30. package/dist/components/Badge/{index.jsx → index.js} +3 -4
  31. package/dist/components/BubbleChart/index.d.ts +1 -2
  32. package/dist/components/BubbleChart/{index.jsx → index.js} +2 -2
  33. package/dist/components/Button/{index.jsx → index.js} +3 -4
  34. package/dist/components/Callout/{CalloutIcon.jsx → CalloutIcon.js} +3 -8
  35. package/dist/components/Callout/{CalloutText.jsx → CalloutText.js} +14 -4
  36. package/dist/components/Callout/{index.jsx → index.js} +3 -6
  37. package/dist/components/Card/{index.jsx → index.js} +3 -4
  38. package/dist/components/Checkbox/{index.jsx → index.js} +3 -11
  39. package/dist/components/CheckboxCard/{index.jsx → index.js} +3 -5
  40. package/dist/components/CheckboxGroup/{CheckboxGroupItem.jsx → CheckboxGroupItem.js} +14 -6
  41. package/dist/components/CheckboxGroup/{index.jsx → index.js} +2 -5
  42. package/dist/components/ContextMenu/{ContextMenuCheckboxItem.jsx → ContextMenuCheckboxItem.js} +14 -7
  43. package/dist/components/ContextMenu/{ContextMenuContent.jsx → ContextMenuContent.js} +3 -6
  44. package/dist/components/ContextMenu/{ContextMenuGroup.jsx → ContextMenuGroup.js} +14 -4
  45. package/dist/components/ContextMenu/{ContextMenuItem.jsx → ContextMenuItem.js} +3 -5
  46. package/dist/components/ContextMenu/{ContextMenuItemIndicator.jsx → ContextMenuItemIndicator.js} +3 -4
  47. package/dist/components/ContextMenu/{ContextMenuLabel.jsx → ContextMenuLabel.js} +3 -4
  48. package/dist/components/ContextMenu/{ContextMenuRadioGroup.jsx → ContextMenuRadioGroup.js} +14 -6
  49. package/dist/components/ContextMenu/{ContextMenuRadioItem.jsx → ContextMenuRadioItem.js} +14 -7
  50. package/dist/components/ContextMenu/{ContextMenuSeparator.jsx → ContextMenuSeparator.js} +14 -4
  51. package/dist/components/ContextMenu/{ContextMenuSubContent.jsx → ContextMenuSubContent.js} +6 -9
  52. package/dist/components/ContextMenu/{ContextMenuSubTrigger.jsx → ContextMenuSubTrigger.js} +14 -9
  53. package/dist/components/ContextMenu/{ContextMenuTrigger.jsx → ContextMenuTrigger.js} +14 -4
  54. package/dist/components/ContextMenu/{index.jsx → index.js} +14 -4
  55. package/dist/components/DataList/{DataListItem.jsx → DataListItem.js} +3 -4
  56. package/dist/components/DataList/{DataListLabel.jsx → DataListLabel.js} +3 -4
  57. package/dist/components/DataList/{DataListValue.jsx → DataListValue.js} +3 -4
  58. package/dist/components/DataList/{index.jsx → index.js} +14 -6
  59. package/dist/components/Dialog/{DialogAction.jsx → DialogAction.js} +14 -4
  60. package/dist/components/Dialog/{DialogCancel.jsx → DialogCancel.js} +14 -4
  61. package/dist/components/Dialog/{DialogContent.jsx → DialogContent.js} +3 -4
  62. package/dist/components/Dialog/{DialogDescription.jsx → DialogDescription.js} +14 -4
  63. package/dist/components/Dialog/{DialogSlot.jsx → DialogSlot.js} +14 -4
  64. package/dist/components/Dialog/{DialogTitle.jsx → DialogTitle.js} +14 -4
  65. package/dist/components/Dialog/{DialogTrigger.jsx → DialogTrigger.js} +14 -4
  66. package/dist/components/Dialog/{index.jsx → index.js} +14 -4
  67. package/dist/components/DoughnutChart/index.d.ts +1 -2
  68. package/dist/components/DoughnutChart/{index.jsx → index.js} +2 -2
  69. package/dist/components/DropdownMenu/{DropdonMenuRadioGroup.jsx → DropdonMenuRadioGroup.js} +14 -6
  70. package/dist/components/DropdownMenu/{DropdonMenuSubContent.jsx → DropdonMenuSubContent.js} +7 -10
  71. package/dist/components/DropdownMenu/{DropdownMenuCheckboxItem.jsx → DropdownMenuCheckboxItem.js} +14 -7
  72. package/dist/components/DropdownMenu/{DropdownMenuContent.jsx → DropdownMenuContent.js} +3 -6
  73. package/dist/components/DropdownMenu/{DropdownMenuItem.jsx → DropdownMenuItem.js} +3 -5
  74. package/dist/components/DropdownMenu/{DropdownMenuItemIndicator.jsx → DropdownMenuItemIndicator.js} +3 -4
  75. package/dist/components/DropdownMenu/{DropdownMenuLable.jsx → DropdownMenuLable.js} +3 -4
  76. package/dist/components/DropdownMenu/{DropdownMenuRadioItem.jsx → DropdownMenuRadioItem.js} +14 -7
  77. package/dist/components/DropdownMenu/{DropdownMenuSeparator.jsx → DropdownMenuSeparator.js} +14 -2
  78. package/dist/components/DropdownMenu/{DropdownMenuSub.jsx → DropdownMenuSub.js} +14 -2
  79. package/dist/components/DropdownMenu/{DropdownMenuSubTrigger.jsx → DropdownMenuSubTrigger.js} +14 -7
  80. package/dist/components/DropdownMenu/{DropdownMenuTrigger.jsx → DropdownMenuTrigger.js} +14 -4
  81. package/dist/components/DropdownMenu/{index.jsx → index.js} +14 -2
  82. package/dist/components/HoverCard/{HoverCardContent.jsx → HoverCardContent.js} +3 -4
  83. package/dist/components/HoverCard/{HoverCardTrigger.jsx → HoverCardTrigger.js} +14 -4
  84. package/dist/components/HoverCard/{index.jsx → index.js} +14 -4
  85. package/dist/components/IconButton/{index.jsx → index.js} +2 -3
  86. package/dist/components/Inset/{index.jsx → index.js} +3 -6
  87. package/dist/components/Label/{index.jsx → index.js} +2 -3
  88. package/dist/components/Menubar/{MenubarCheckboxItem.jsx → MenubarCheckboxItem.js} +14 -7
  89. package/dist/components/Menubar/{MenubarContent.jsx → MenubarContent.js} +7 -10
  90. package/dist/components/Menubar/{MenubarItem.jsx → MenubarItem.js} +3 -5
  91. package/dist/components/Menubar/{MenubarItemIndicator.jsx → MenubarItemIndicator.js} +3 -4
  92. package/dist/components/Menubar/{MenubarMenu.jsx → MenubarMenu.js} +14 -2
  93. package/dist/components/Menubar/{MenubarRadioGroup.jsx → MenubarRadioGroup.js} +14 -6
  94. package/dist/components/Menubar/{MenubarRadioItem.jsx → MenubarRadioItem.js} +14 -7
  95. package/dist/components/Menubar/{MenubarSeparator.jsx → MenubarSeparator.js} +14 -4
  96. package/dist/components/Menubar/{MenubarSub.jsx → MenubarSub.js} +14 -2
  97. package/dist/components/Menubar/{MenubarSubContent.jsx → MenubarSubContent.js} +4 -5
  98. package/dist/components/Menubar/{MenubarSubTrigger.jsx → MenubarSubTrigger.js} +14 -7
  99. package/dist/components/Menubar/{MenubarTrigger.jsx → MenubarTrigger.js} +3 -4
  100. package/dist/components/Menubar/{index.jsx → index.js} +3 -6
  101. package/dist/components/NavigationMenu/{NavigationMenuContent.jsx → NavigationMenuContent.js} +3 -4
  102. package/dist/components/NavigationMenu/NavigationMenuIndicator.js +31 -0
  103. package/dist/components/NavigationMenu/{NavigationMenuItem.jsx → NavigationMenuItem.js} +14 -4
  104. package/dist/components/NavigationMenu/{NavigationMenuLink.jsx → NavigationMenuLink.js} +3 -4
  105. package/dist/components/NavigationMenu/{NavigationMenuList.jsx → NavigationMenuList.js} +3 -5
  106. package/dist/components/NavigationMenu/{NavigationMenuTrigger.jsx → NavigationMenuTrigger.js} +3 -5
  107. package/dist/components/NavigationMenu/{NavigationMenuViewport.jsx → NavigationMenuViewport.js} +3 -4
  108. package/dist/components/NavigationMenu/{index.jsx → index.js} +14 -6
  109. package/dist/components/PieChart/index.d.ts +1 -2
  110. package/dist/components/PieChart/{index.jsx → index.js} +2 -2
  111. package/dist/components/Popover/{PopoverClose.jsx → PopoverClose.js} +14 -4
  112. package/dist/components/Popover/{PopoverContent.jsx → PopoverContent.js} +3 -4
  113. package/dist/components/Popover/{PopoverTrigger.jsx → PopoverTrigger.js} +14 -4
  114. package/dist/components/Popover/{index.jsx → index.js} +14 -4
  115. package/dist/components/Progress/{index.jsx → index.js} +3 -4
  116. package/dist/components/RadarChart/index.d.ts +1 -2
  117. package/dist/components/RadarChart/{index.jsx → index.js} +2 -2
  118. package/dist/components/Radio/{index.jsx → index.js} +13 -8
  119. package/dist/components/RadioCards/{RadioCardsItem.jsx → RadioCardsItem.js} +14 -4
  120. package/dist/components/RadioCards/{index.jsx → index.js} +3 -6
  121. package/dist/components/RadioGroup/{RadioGroupItem.jsx → RadioGroupItem.js} +14 -4
  122. package/dist/components/RadioGroup/{index.jsx → index.js} +14 -6
  123. package/dist/components/ScrollArea/{index.jsx → index.js} +14 -6
  124. package/dist/components/SegmentedControl/{SegmentedControlItem.jsx → SegmentedControlItem.js} +14 -4
  125. package/dist/components/SegmentedControl/{index.jsx → index.js} +2 -5
  126. package/dist/components/Select/{index.jsx → index.js} +8 -23
  127. package/dist/components/Separator/{index.jsx → index.js} +2 -5
  128. package/dist/components/Skeleton/{index.jsx → index.js} +2 -5
  129. package/dist/components/Slider/{index.jsx → index.js} +2 -3
  130. package/dist/components/Spinner/{index.jsx → index.js} +2 -5
  131. package/dist/components/TabNav/{index.jsx → index.js} +14 -8
  132. package/dist/components/Table/{index.jsx → index.js} +8 -23
  133. package/dist/components/Tabs/{index.jsx → index.js} +5 -14
  134. package/dist/components/TextArea/{index.jsx → index.js} +2 -3
  135. package/dist/components/TextField/{index.jsx → index.js} +3 -8
  136. package/dist/components/Toast/{ToastActionButton.jsx → ToastActionButton.js} +3 -4
  137. package/dist/components/Toast/{ToastDescription.jsx → ToastDescription.js} +14 -6
  138. package/dist/components/Toast/{ToastTitle.jsx → ToastTitle.js} +14 -4
  139. package/dist/components/Toast/{index.jsx → index.js} +3 -9
  140. package/dist/components/Toggle/{ToggleWithText.jsx → ToggleWithText.js} +4 -6
  141. package/dist/components/Toggle/{index.jsx → index.js} +3 -4
  142. package/dist/components/ToggleGroup/{index.jsx → index.js} +3 -6
  143. package/dist/components/ToggleGroup/{toggleGroupItem.jsx → toggleGroupItem.js} +14 -4
  144. package/dist/components/ToggleSwitch/{index.jsx → index.js} +2 -6
  145. package/dist/components/Tooltip/{index.jsx → index.js} +2 -11
  146. package/dist/components/index.d.ts +2 -0
  147. package/dist/index.d.ts +5 -0
  148. package/dist/index.js +5 -3
  149. package/dist/stories/Welcome.d.ts +1 -2
  150. package/dist/stories/Welcome.js +30 -0
  151. package/dist/stories/accordion/Accordion.stories.d.ts +1 -1
  152. package/dist/stories/accordion/{Accordion.stories.jsx → Accordion.stories.js} +2 -20
  153. package/dist/stories/alert-dialog/AlertDialog.stories.d.ts +1 -1
  154. package/dist/stories/alert-dialog/{AlertDialog.stories.jsx → AlertDialog.stories.js} +2 -15
  155. package/dist/stories/aspect-ratio/AspectRatio.stories.d.ts +3 -3
  156. package/dist/stories/aspect-ratio/AspectRatio.stories.js +78 -0
  157. package/dist/stories/avatar/Avatar.stories.d.ts +5 -5
  158. package/dist/stories/avatar/{Avatar.stories.jsx → Avatar.stories.js} +6 -17
  159. package/dist/stories/badge/Badge.stories.d.ts +6 -6
  160. package/dist/stories/badge/{Badge.stories.jsx → Badge.stories.js} +7 -51
  161. package/dist/stories/bubble-chart/BubbleChart.stories.d.ts +4 -5
  162. package/dist/stories/bubble-chart/{BubbleChart.stories.jsx → BubbleChart.stories.js} +4 -12
  163. package/dist/stories/button/Button.stories.d.ts +7 -7
  164. package/dist/stories/button/{Button.stories.jsx → Button.stories.js} +8 -41
  165. package/dist/stories/button/IconButton.stories.d.ts +4 -4
  166. package/dist/stories/button/{IconButton.stories.jsx → IconButton.stories.js} +5 -18
  167. package/dist/stories/callout/Callout.stories.d.ts +7 -7
  168. package/dist/stories/callout/Callout.stories.js +104 -0
  169. package/dist/stories/card/Card.stories.d.ts +5 -5
  170. package/dist/stories/card/{Card.stories.jsx → Card.stories.js} +6 -56
  171. package/dist/stories/checkbox/Checkbox.stories.d.ts +6 -6
  172. package/dist/stories/checkbox/{Checkbox.stories.jsx → Checkbox.stories.js} +7 -63
  173. package/dist/stories/checkbox/CheckboxCard.stories.d.ts +5 -5
  174. package/dist/stories/checkbox/{CheckboxCard.stories.jsx → CheckboxCard.stories.js} +6 -41
  175. package/dist/stories/checkbox/CheckboxGroup.stories.d.ts +3 -3
  176. package/dist/stories/checkbox/{CheckboxGroup.stories.jsx → CheckboxGroup.stories.js} +4 -76
  177. package/dist/stories/context-menu/ContextMenu.stories.d.ts +4 -4
  178. package/dist/stories/context-menu/{ContextMenu.stories.jsx → ContextMenu.stories.js} +5 -74
  179. package/dist/stories/data-list/DataList.stories.d.ts +4 -4
  180. package/dist/stories/data-list/DataList.stories.js +87 -0
  181. package/dist/stories/dialog/Dialog.stories.d.ts +1 -1
  182. package/dist/stories/dialog/{Dialog.stories.jsx → Dialog.stories.js} +2 -25
  183. package/dist/stories/doughnut-chart/DoughnutChart.stories.d.ts +4 -5
  184. package/dist/stories/doughnut-chart/{DoughnutChart.stories.jsx → DoughnutChart.stories.js} +4 -12
  185. package/dist/stories/dropdown-menu/DropdownMenu.stories.d.ts +4 -4
  186. package/dist/stories/dropdown-menu/DropdownMenu.stories.js +75 -0
  187. package/dist/stories/header/Header.stories.d.ts +6 -6
  188. package/dist/stories/header/{Header.stories.jsx → Header.stories.js} +7 -26
  189. package/dist/stories/hover-card/HoverCard.stories.d.ts +2 -2
  190. package/dist/stories/hover-card/{HoverCard.stories.jsx → HoverCard.stories.js} +3 -30
  191. package/dist/stories/inset/Inset.stories.d.ts +2 -2
  192. package/dist/stories/inset/{Inset.stories.jsx → Inset.stories.js} +12 -27
  193. package/dist/stories/label/Label.stories.d.ts +4 -4
  194. package/dist/stories/label/{Label.stories.jsx → Label.stories.js} +5 -26
  195. package/dist/stories/menubar/Menubar.stories.d.ts +1 -1
  196. package/dist/stories/menubar/{Menubar.stories.jsx → Menubar.stories.js} +8 -45
  197. package/dist/stories/navigation-menu/NavigationMenu.stories.d.ts +2 -2
  198. package/dist/stories/navigation-menu/{NavigationMenu.stories.jsx → NavigationMenu.stories.js} +4 -69
  199. package/dist/stories/pie-chart/PieChart.stories.d.ts +5 -6
  200. package/dist/stories/pie-chart/{PieChart.stories.jsx → PieChart.stories.js} +13 -32
  201. package/dist/stories/popover/Popover.stories.d.ts +2 -2
  202. package/dist/stories/popover/{Popover.stories.jsx → Popover.stories.js} +9 -42
  203. package/dist/stories/progress/Progress.stories.d.ts +4 -4
  204. package/dist/stories/progress/{Progress.stories.jsx → Progress.stories.js} +6 -11
  205. package/dist/stories/radar-chart/RadarChart.stories.d.ts +5 -6
  206. package/dist/stories/radar-chart/{RadarChart.stories.jsx → RadarChart.stories.js} +5 -4
  207. package/dist/stories/radio/Radio.stories.d.ts +3 -3
  208. package/dist/stories/radio/{Radio.stories.jsx → Radio.stories.js} +4 -14
  209. package/dist/stories/radio/RadioCards.stories.d.ts +4 -4
  210. package/dist/stories/radio/{RadioCards.stories.jsx → RadioCards.stories.js} +5 -64
  211. package/dist/stories/radio/RadioGroup.stories.d.ts +4 -4
  212. package/dist/stories/radio/{RadioGroup.stories.jsx → RadioGroup.stories.js} +5 -59
  213. package/dist/stories/scroll-area/ScrollArea.stories.d.ts +2 -2
  214. package/dist/stories/scroll-area/ScrollArea.stories.js +63 -0
  215. package/dist/stories/segmented-control/SegmentedControl.stories.d.ts +4 -4
  216. package/dist/stories/segmented-control/{SegmentedControl.stories.jsx → SegmentedControl.stories.js} +5 -26
  217. package/dist/stories/select/Select.stories.d.ts +5 -5
  218. package/dist/stories/select/{Select.stories.jsx → Select.stories.js} +6 -67
  219. package/dist/stories/separator/Separator.stories.d.ts +4 -4
  220. package/dist/stories/separator/{Separator.stories.jsx → Separator.stories.js} +5 -29
  221. package/dist/stories/skeleton/Skeleton.stories.d.ts +5 -5
  222. package/dist/stories/skeleton/{Skeleton.stories.jsx → Skeleton.stories.js} +6 -33
  223. package/dist/stories/slider/Slider.stories.d.ts +4 -4
  224. package/dist/stories/slider/{Slider.stories.jsx → Slider.stories.js} +5 -16
  225. package/dist/stories/spinner/Spinner.stories.d.ts +5 -5
  226. package/dist/stories/spinner/{Spinner.stories.jsx → Spinner.stories.js} +6 -31
  227. package/dist/stories/switch/Switch.stories.d.ts +4 -4
  228. package/dist/stories/switch/{Switch.stories.jsx → Switch.stories.js} +5 -16
  229. package/dist/stories/tab-nav/TabNav.stories.d.ts +1 -1
  230. package/dist/stories/tab-nav/{TabNav.stories.jsx → TabNav.stories.js} +2 -11
  231. package/dist/stories/table/Table.stories.d.ts +1 -1
  232. package/dist/stories/table/{Table.stories.jsx → Table.stories.js} +2 -29
  233. package/dist/stories/tabs/Tabs.stories.d.ts +1 -1
  234. package/dist/stories/tabs/{Tabs.stories.jsx → Tabs.stories.js} +2 -19
  235. package/dist/stories/text/Text.stories.d.ts +5 -5
  236. package/dist/stories/text/{Text.stories.jsx → Text.stories.js} +6 -21
  237. package/dist/stories/textArea/TextArea.stories.d.ts +5 -5
  238. package/dist/stories/textArea/{TextArea.stories.jsx → TextArea.stories.js} +6 -22
  239. package/dist/stories/textfield/TextField.stories.d.ts +5 -5
  240. package/dist/stories/textfield/{TextField.stories.jsx → TextField.stories.js} +6 -38
  241. package/dist/stories/toast/Toast.stories.d.ts +3 -3
  242. package/dist/stories/toast/{Toast.stories.jsx → Toast.stories.js} +4 -22
  243. package/dist/stories/toggle/Toggle.stories.d.ts +5 -5
  244. package/dist/stories/toggle/{Toggle.stories.jsx → Toggle.stories.js} +6 -23
  245. package/dist/stories/toggle/ToggleGroup.stories.d.ts +3 -3
  246. package/dist/stories/toggle/{ToggleGroup.stories.jsx → ToggleGroup.stories.js} +6 -39
  247. package/dist/stories/tooltip/Tooltip.stories.d.ts +3 -3
  248. package/dist/stories/tooltip/{Tooltip.stories.jsx → Tooltip.stories.js} +4 -17
  249. package/dist/tsconfig.tsbuildinfo +1 -1
  250. package/package.json +118 -119
  251. package/dist/app/page.jsx +0 -6
  252. package/dist/app/template/badgeTemplate.jsx +0 -82
  253. package/dist/app/template/buttonTemplate.jsx +0 -82
  254. package/dist/app/template/colorPicker.jsx +0 -19
  255. package/dist/app/template/textTemplate.jsx +0 -72
  256. package/dist/app/template/theme.jsx +0 -44
  257. package/dist/components/Input/Input.stories.d.ts +0 -77
  258. package/dist/components/Input/Input.stories.jsx +0 -68
  259. package/dist/components/Input/index.d.ts +0 -14
  260. package/dist/components/Input/index.jsx +0 -53
  261. package/dist/components/NavigationMenu/NavigationMenuIndicator.jsx +0 -22
  262. package/dist/stories/Welcome.jsx +0 -48
  263. package/dist/stories/aspect-ratio/AspectRatio.stories.jsx +0 -106
  264. package/dist/stories/callout/Callout.stories.jsx +0 -205
  265. package/dist/stories/data-list/DataList.stories.jsx +0 -185
  266. package/dist/stories/dropdown-menu/DropdownMenu.stories.jsx +0 -170
  267. package/dist/stories/scroll-area/ScrollArea.stories.jsx +0 -123
@@ -20,7 +20,8 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import React, { forwardRef } from 'react';
23
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
+ import { forwardRef } from 'react';
24
25
  import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
25
26
  import { cn } from 'utils/utils';
26
27
  import { cva } from 'class-variance-authority';
@@ -52,9 +53,6 @@ export var NavigationMenuTrigger = forwardRef(function (_a, ref) {
52
53
  var children = _a.children, className = _a.className, _b = _a.isShowIcon, isShowIcon = _b === void 0 ? true : _b, props = __rest(_a, ["children", "className", "isShowIcon"]);
53
54
  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
55
  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/>)}
58
- </NavigationMenuPrimitive.Trigger>);
56
+ return (_jsxs(NavigationMenuPrimitive.Trigger, __assign({ ref: ref, className: triggerClassName }, props, { children: [children, isShowIcon && (_jsx(CaretDownIcon, { className: cn("relative top-[1px] transition-transform duration-[250] ease-in group-data-[state=open]:-rotate-180"), "aria-hidden": true }))] })));
59
57
  });
60
58
  NavigationMenuTrigger.displayName = 'NavigationMenuTrigger';
@@ -20,7 +20,8 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import React, { forwardRef } from 'react';
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { forwardRef } from 'react';
24
25
  import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
25
26
  import { cn } from 'utils/utils';
26
27
  import { cva } from 'class-variance-authority';
@@ -47,8 +48,6 @@ export var NavigationMenuViewport = forwardRef(function (_a, ref) {
47
48
  var className = _a.className, props = __rest(_a, ["className"]);
48
49
  var _b = useNavigationMenuContext(), size = _b.size, scaling = _b.scaling, radius = _b.radius;
49
50
  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}/>
52
- </div>);
51
+ return (_jsx("div", { className: "perspective-[2000px] absolute top-full left-0 flex w-full justify-center ", children: _jsx(NavigationMenuPrimitive.Viewport, __assign({ ref: ref, className: viewportClassName }, props)) }));
53
52
  });
54
53
  NavigationMenuViewport.displayName = 'NavigationMenuViewport';
@@ -1,3 +1,14 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
1
12
  var __rest = (this && this.__rest) || function (s, e) {
2
13
  var t = {};
3
14
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -9,7 +20,8 @@ var __rest = (this && this.__rest) || function (s, e) {
9
20
  }
10
21
  return t;
11
22
  };
12
- import React, { forwardRef, createContext, useContext, } from 'react';
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { forwardRef, createContext, useContext, } from 'react';
13
25
  import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
14
26
  import { cn } from 'utils/utils';
15
27
  export * from './NavigationMenuList';
@@ -32,11 +44,7 @@ export var useNavigationMenuContext = function () {
32
44
  export var NavigationMenu = forwardRef(function (_a, ref) {
33
45
  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
46
  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>
39
- </NavigationMenuContext.Provider>);
47
+ return (_jsx(NavigationMenuContext.Provider, { value: contextValue, children: _jsx(NavigationMenuPrimitive.Root, __assign({ ref: ref, className: cn('flex relative z-[1] w-screen justify-center', className) }, props, { children: children })) }));
40
48
  });
41
49
  NavigationMenu.displayName = 'NavigationMenu';
42
50
  export default NavigationMenu;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { VariantProps } from 'class-variance-authority';
3
2
  export interface PieChartProps extends VariantProps<typeof PieVariants> {
4
3
  labels?: string[];
@@ -20,5 +19,5 @@ export interface PieChartProps extends VariantProps<typeof PieVariants> {
20
19
  declare const PieVariants: (props?: ({
21
20
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
22
21
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
23
- declare const PieChart: ({ labels, datasets, scaling, className, ...rest }: PieChartProps) => React.JSX.Element;
22
+ declare const PieChart: ({ labels, datasets, scaling, className, ...rest }: PieChartProps) => import("react/jsx-runtime").JSX.Element;
24
23
  export default PieChart;
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import React from 'react';
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
24
  import { Pie } from 'react-chartjs-2';
25
25
  import { Chart as ChartJS, ArcElement, Tooltip, Legend, plugins } from 'chart.js';
26
26
  import ChartDataLabels from 'chartjs-plugin-datalabels';
@@ -41,6 +41,6 @@ var PieVariants = cva('', {
41
41
  });
42
42
  var PieChart = function (_a) {
43
43
  var labels = _a.labels, datasets = _a.datasets, scaling = _a.scaling, className = _a.className, rest = __rest(_a, ["labels", "datasets", "scaling", "className"]);
44
- return (<Pie data={{ labels: labels, datasets: datasets }} className={cn(PieVariants({ scaling: scaling }), className)} {...rest}/>);
44
+ return (_jsx(Pie, __assign({ data: { labels: labels, datasets: datasets }, className: cn(PieVariants({ scaling: scaling }), className) }, rest)));
45
45
  };
46
46
  export default PieChart;
@@ -1,3 +1,14 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
1
12
  var __rest = (this && this.__rest) || function (s, e) {
2
13
  var t = {};
3
14
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -9,7 +20,8 @@ var __rest = (this && this.__rest) || function (s, e) {
9
20
  }
10
21
  return t;
11
22
  };
12
- import React, { forwardRef } from 'react';
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { forwardRef } from 'react';
13
25
  import { cva } from 'class-variance-authority';
14
26
  import { Popover as PopoverTheme } from '@radix-ui/themes';
15
27
  import { cn } from '../../utils/utils';
@@ -29,8 +41,6 @@ export var popoverCloseVariants = cva('', {
29
41
  });
30
42
  export var PopoverClose = forwardRef(function (_a, ref) {
31
43
  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}
34
- </PopoverTheme.Close>);
44
+ return (_jsx(PopoverTheme.Close, __assign({ ref: ref, className: cn(popoverCloseVariants({ radius: radius }), className) }, props, { children: children })));
35
45
  });
36
46
  PopoverClose.displayName = 'PopoverClose';
@@ -20,7 +20,8 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import React, { forwardRef } from 'react';
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { forwardRef } from 'react';
24
25
  import { scalingVariants } from '../../constants';
25
26
  import { Popover as PopoverTheme } from '@radix-ui/themes';
26
27
  import { cva } from 'class-variance-authority';
@@ -57,8 +58,6 @@ export var PopoverContent = forwardRef(function (_a, ref) {
57
58
  sizeTheme = '3';
58
59
  if (size === 'x-large')
59
60
  sizeTheme = '4';
60
- return (<PopoverTheme.Content ref={ref} size={sizeTheme} className={cn(popoverContentVariants({ size: size, radius: radius, scaling: scaling }), className)} {...props}>
61
- {children}
62
- </PopoverTheme.Content>);
61
+ return (_jsx(PopoverTheme.Content, __assign({ ref: ref, size: sizeTheme, className: cn(popoverContentVariants({ size: size, radius: radius, scaling: scaling }), className) }, props, { children: children })));
63
62
  });
64
63
  PopoverContent.displayName = 'PopoverContent';
@@ -1,3 +1,14 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
1
12
  var __rest = (this && this.__rest) || function (s, e) {
2
13
  var t = {};
3
14
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -9,12 +20,11 @@ var __rest = (this && this.__rest) || function (s, e) {
9
20
  }
10
21
  return t;
11
22
  };
12
- import React, { forwardRef } from 'react';
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { forwardRef } from 'react';
13
25
  import { Popover as PopoverTheme } from '@radix-ui/themes';
14
26
  export var PopoverTrigger = forwardRef(function (_a, ref) {
15
27
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
16
- return (<PopoverTheme.Trigger ref={ref} {...props} className={className}>
17
- {children}
18
- </PopoverTheme.Trigger>);
28
+ return (_jsx(PopoverTheme.Trigger, __assign({ ref: ref }, props, { className: className, children: children })));
19
29
  });
20
30
  PopoverTrigger.displayName = 'PopoverTrigger';
@@ -1,3 +1,14 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
1
12
  var __rest = (this && this.__rest) || function (s, e) {
2
13
  var t = {};
3
14
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -9,16 +20,15 @@ var __rest = (this && this.__rest) || function (s, e) {
9
20
  }
10
21
  return t;
11
22
  };
12
- import React, { forwardRef } from 'react';
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { forwardRef } from 'react';
13
25
  import { Theme, Popover as PopoverTheme } from '@radix-ui/themes';
14
26
  export * from './PopoverTrigger';
15
27
  export * from './PopoverContent';
16
28
  export * from './PopoverClose';
17
29
  export var Popover = forwardRef(function (_a, ref) {
18
30
  var children = _a.children, props = __rest(_a, ["children"]);
19
- return (<Theme>
20
- <PopoverTheme.Root {...props}>{children}</PopoverTheme.Root>
21
- </Theme>);
31
+ return (_jsx(Theme, { children: _jsx(PopoverTheme.Root, __assign({}, props, { children: children })) }));
22
32
  });
23
33
  Popover.displayName = 'Popover';
24
34
  export default Popover;
@@ -20,7 +20,8 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import React, { forwardRef } from 'react';
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { forwardRef } from 'react';
24
25
  import { cva } from 'class-variance-authority';
25
26
  import { scalingVariants, bgColorStyle } from '../../constants';
26
27
  import { Theme, Progress as ProgressTheme } from '@radix-ui/themes';
@@ -50,9 +51,7 @@ var progressVariants = cva('w-[300px]', {
50
51
  });
51
52
  export var Progress = forwardRef(function (_a, ref) {
52
53
  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}/>
55
- </Theme>);
54
+ return (_jsx(Theme, { accentColor: color, children: _jsx(ProgressTheme, __assign({ ref: ref, value: value, variant: appearance, className: cn(progressVariants({ radius: radius, size: size, scaling: scaling }), className) }, props)) }));
56
55
  });
57
56
  Progress.displayName = 'Progress';
58
57
  export default Progress;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { VariantProps } from 'class-variance-authority';
3
2
  import { PointStyle } from 'types';
4
3
  export interface RadarChartProps extends VariantProps<typeof radarChartVariants> {
@@ -29,7 +28,7 @@ declare const radarChartVariants: (props?: ({
29
28
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
30
29
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
31
30
  export declare const RadarChart: {
32
- ({ className, labels, datasets, width, height, scaling, ...props }: RadarChartProps): React.JSX.Element;
31
+ ({ className, labels, datasets, width, height, scaling, ...props }: RadarChartProps): import("react/jsx-runtime").JSX.Element;
33
32
  displayName: string;
34
33
  };
35
34
  export default RadarChart;
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import React from 'react';
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
24
  import { cva } from 'class-variance-authority';
25
25
  import { scalingVariants } from '../../constants';
26
26
  import { Radar } from 'react-chartjs-2';
@@ -37,7 +37,7 @@ var radarChartVariants = cva('', {
37
37
  });
38
38
  export var RadarChart = function (_a) {
39
39
  var className = _a.className, labels = _a.labels, datasets = _a.datasets, width = _a.width, height = _a.height, scaling = _a.scaling, props = __rest(_a, ["className", "labels", "datasets", "width", "height", "scaling"]);
40
- return (<Radar data={{ labels: labels, datasets: datasets }} className={cn(radarChartVariants({ scaling: scaling }), className)} width={width} height={height} {...props}/>);
40
+ return (_jsx(Radar, __assign({ data: { labels: labels, datasets: datasets }, className: cn(radarChartVariants({ scaling: scaling }), className), width: width, height: height }, props)));
41
41
  };
42
42
  RadarChart.displayName = 'RadarChart';
43
43
  export default RadarChart;
@@ -1,3 +1,14 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
1
12
  var __rest = (this && this.__rest) || function (s, e) {
2
13
  var t = {};
3
14
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -9,6 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
9
20
  }
10
21
  return t;
11
22
  };
23
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
12
24
  import React from 'react';
13
25
  import { cva } from 'class-variance-authority';
14
26
  import { Theme, Radio as RadioTheme, Flex } from '@radix-ui/themes';
@@ -33,14 +45,7 @@ export var Radio = React.forwardRef(function (_a, ref) {
33
45
  sizeTheme = '1';
34
46
  if (size === 'large')
35
47
  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>
43
- </Theme>);
48
+ return (_jsx(Theme, { accentColor: color, scaling: scaling, children: _jsx(Flex, { asChild: true, className: cn(radioVariants({ size: size }), className), children: _jsxs(Text, { as: "label", size: sizeTheme, children: [_jsx(RadioTheme, __assign({ ref: ref, value: value, variant: appearance, size: sizeTheme }, props)), children] }) }) }));
44
49
  });
45
50
  Radio.displayName = 'Radio';
46
51
  export default Radio;
@@ -1,3 +1,14 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
1
12
  var __rest = (this && this.__rest) || function (s, e) {
2
13
  var t = {};
3
14
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -9,7 +20,8 @@ var __rest = (this && this.__rest) || function (s, e) {
9
20
  }
10
21
  return t;
11
22
  };
12
- import React, { forwardRef } from 'react';
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { forwardRef } from 'react';
13
25
  import { cva } from 'class-variance-authority';
14
26
  import { RadioCards as RadioCardsTheme } from '@radix-ui/themes';
15
27
  import { cn } from '../../utils/utils';
@@ -35,8 +47,6 @@ export var radioCardsItemVariants = cva('bg-white dark:bg-slateDark-1 text-slate
35
47
  });
36
48
  export var RadioCardsItem = forwardRef(function (_a, ref) {
37
49
  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}
40
- </RadioCardsTheme.Item>);
50
+ return (_jsx(RadioCardsTheme.Item, __assign({ ref: ref, value: value, className: cn(radioCardsItemVariants({ radius: radius, size: size }), className) }, props, { children: children })));
41
51
  });
42
52
  RadioCardsItem.displayName = 'RadioCardsItem';
@@ -20,7 +20,8 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import React, { forwardRef } from 'react';
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { forwardRef } from 'react';
24
25
  import { cva } from 'class-variance-authority';
25
26
  import { scalingVariants } from '../../constants';
26
27
  import { Theme, RadioCards as RadioCardsTheme } from '@radix-ui/themes';
@@ -36,11 +37,7 @@ var radioCardsVariants = cva('flex items-center gap-2', {
36
37
  });
37
38
  export var RadioCards = forwardRef(function (_a, ref) {
38
39
  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>
43
- </Theme>);
40
+ return (_jsx(Theme, { accentColor: color, children: _jsx(RadioCardsTheme.Root, __assign({ ref: ref, variant: appearance, className: cn(radioCardsVariants({ scaling: scaling }), className) }, props, { children: children })) }));
44
41
  });
45
42
  RadioCards.displayName = 'RadioCards';
46
43
  export default RadioCards;
@@ -1,3 +1,14 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
1
12
  var __rest = (this && this.__rest) || function (s, e) {
2
13
  var t = {};
3
14
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -9,7 +20,8 @@ var __rest = (this && this.__rest) || function (s, e) {
9
20
  }
10
21
  return t;
11
22
  };
12
- import React, { forwardRef } from 'react';
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { forwardRef } from 'react';
13
25
  import { cva } from 'class-variance-authority';
14
26
  import { RadioGroup as RadioGroupTheme } from '@radix-ui/themes';
15
27
  import { cn } from '../../utils/utils';
@@ -27,8 +39,6 @@ var radioGroupItemVariants = cva('font-normal text-slate-12 dark:text-slateDark-
27
39
  });
28
40
  export var RadioGroupItem = forwardRef(function (_a, ref) {
29
41
  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}
32
- </RadioGroupTheme.Item>);
42
+ return (_jsx(RadioGroupTheme.Item, __assign({ ref: ref, value: value, className: cn(radioGroupItemVariants({ size: size }), className) }, props, { children: children })));
33
43
  });
34
44
  RadioGroupItem.displayName = 'RadioGroupItem';
@@ -1,3 +1,14 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
1
12
  var __rest = (this && this.__rest) || function (s, e) {
2
13
  var t = {};
3
14
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -9,7 +20,8 @@ var __rest = (this && this.__rest) || function (s, e) {
9
20
  }
10
21
  return t;
11
22
  };
12
- import React, { forwardRef } from 'react';
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { forwardRef } from 'react';
13
25
  import { Theme, RadioGroup as RadioGroupTheme } from '@radix-ui/themes';
14
26
  import { cva } from 'class-variance-authority';
15
27
  import { cn } from '../../utils/utils';
@@ -33,11 +45,7 @@ export var RadioGroup = forwardRef(function (_a, ref) {
33
45
  sizeTheme = '1';
34
46
  if (size === 'large')
35
47
  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>
40
- </Theme>);
48
+ return (_jsx(Theme, { accentColor: color, scaling: scaling, children: _jsx(RadioGroupTheme.Root, __assign({ ref: ref, size: sizeTheme, variant: appearance, className: cn(radioGroupVariants({ size: size }), className) }, props, { children: children })) }));
41
49
  });
42
50
  RadioGroup.displayName = 'RadioGroup';
43
51
  export default RadioGroup;
@@ -1,3 +1,14 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
1
12
  var __rest = (this && this.__rest) || function (s, e) {
2
13
  var t = {};
3
14
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -9,7 +20,8 @@ var __rest = (this && this.__rest) || function (s, e) {
9
20
  }
10
21
  return t;
11
22
  };
12
- import React, { forwardRef } from 'react';
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { forwardRef } from 'react';
13
25
  import { Theme, ScrollArea as ScrollAreaTheme } from '@radix-ui/themes';
14
26
  export var ScrollArea = forwardRef(function (_a, ref) {
15
27
  var className = _a.className, children = _a.children, scrollbars = _a.scrollbars, radius = _a.radius, _b = _a.size, size = _b === void 0 ? 'small' : _b, props = __rest(_a, ["className", "children", "scrollbars", "radius", "size"]);
@@ -18,11 +30,7 @@ export var ScrollArea = forwardRef(function (_a, ref) {
18
30
  sizeTheme = '2';
19
31
  if (size === 'large')
20
32
  sizeTheme = '3';
21
- return (<Theme>
22
- <ScrollAreaTheme ref={ref} scrollbars={scrollbars} radius={radius} size={sizeTheme} className={className} {...props}>
23
- {children}
24
- </ScrollAreaTheme>
25
- </Theme>);
33
+ return (_jsx(Theme, { children: _jsx(ScrollAreaTheme, __assign({ ref: ref, scrollbars: scrollbars, radius: radius, size: sizeTheme, className: className }, props, { children: children })) }));
26
34
  });
27
35
  ScrollArea.displayName = 'ScrollArea';
28
36
  export default ScrollArea;
@@ -1,3 +1,14 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
1
12
  var __rest = (this && this.__rest) || function (s, e) {
2
13
  var t = {};
3
14
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -9,7 +20,8 @@ var __rest = (this && this.__rest) || function (s, e) {
9
20
  }
10
21
  return t;
11
22
  };
12
- import React, { forwardRef } from 'react';
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { forwardRef } from 'react';
13
25
  import { SegmentedControl as SegmentedControlTheme } from '@radix-ui/themes';
14
26
  import { cn } from '../../utils/utils';
15
27
  export var SegmentedControlItem = forwardRef(function (_a, ref) {
@@ -18,8 +30,6 @@ export var SegmentedControlItem = forwardRef(function (_a, ref) {
18
30
  if (appearance === 'classic') {
19
31
  appearanceClassName = 'dark:data-[state=on]:shadow-segmented-control-dark-classic';
20
32
  }
21
- return (<SegmentedControlTheme.Item ref={ref} className={cn(appearanceClassName, className)} {...props}>
22
- {children}
23
- </SegmentedControlTheme.Item>);
33
+ return (_jsx(SegmentedControlTheme.Item, __assign({ ref: ref, className: cn(appearanceClassName, className) }, props, { children: children })));
24
34
  });
25
35
  SegmentedControlItem.displayName = 'SegmentedControlItem';
@@ -20,6 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
+ import { jsx as _jsx } from "react/jsx-runtime";
23
24
  import React, { Children, forwardRef } from 'react';
24
25
  import { cva } from 'class-variance-authority';
25
26
  import { SegmentedControl as SegmentedControlTheme, Theme } from '@radix-ui/themes';
@@ -41,11 +42,7 @@ export var SegmentedControl = forwardRef(function (_a, ref) {
41
42
  sizeTheme = '1';
42
43
  if (size === 'large')
43
44
  sizeTheme = '3';
44
- return (<Theme>
45
- <SegmentedControlTheme.Root ref={ref} size={sizeTheme} radius={radius} variant={appearance} className={cn(segmentedControlVariants({ scaling: scaling }), className)} {...props}>
46
- {Children.map(children, function (child) { return React.cloneElement(child, { appearance: appearance }); })}
47
- </SegmentedControlTheme.Root>
48
- </Theme>);
45
+ return (_jsx(Theme, { children: _jsx(SegmentedControlTheme.Root, __assign({ ref: ref, size: sizeTheme, radius: radius, variant: appearance, className: cn(segmentedControlVariants({ scaling: scaling }), className) }, props, { children: Children.map(children, function (child) { return React.cloneElement(child, { appearance: appearance }); }) })) }));
49
46
  });
50
47
  SegmentedControl.displayName = 'SegmentedControl';
51
48
  export default SegmentedControl;
@@ -20,6 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
+ import { jsx as _jsx } from "react/jsx-runtime";
23
24
  import { Theme, Select as SelectTheme } from '@radix-ui/themes';
24
25
  import React from 'react';
25
26
  import { cva } from 'class-variance-authority';
@@ -40,20 +41,14 @@ export var Select = React.forwardRef(function (_a) {
40
41
  sizeTheme = '1';
41
42
  if (size === 'large')
42
43
  sizeTheme = '3';
43
- return (<Theme scaling={scaling} accentColor={color} hasBackground={false}>
44
- <SelectTheme.Root size={sizeTheme} {...props}>
45
- {children}
46
- </SelectTheme.Root>
47
- </Theme>);
44
+ return (_jsx(Theme, { scaling: scaling, accentColor: color, hasBackground: false, children: _jsx(SelectTheme.Root, __assign({ size: sizeTheme }, props, { children: children })) }));
48
45
  });
49
46
  Select.displayName = 'Select';
50
47
  export var SelectTrigger = React.forwardRef(function (_a, forwardedRef) {
51
48
  var _b = _a.appearance, appearance = _b === void 0 ? 'surface' : _b, color = _a.color, size = _a.size, radius = _a.radius, children = _a.children, className = _a.className, props = __rest(_a, ["appearance", "color", "size", "radius", "children", "className"]);
52
49
  if (!color)
53
50
  color = 'red';
54
- return (<SelectTheme.Trigger ref={forwardedRef} variant={appearance} radius={radius} className={cn(selectVariants({ radius: radius }), selectAppearanceStyle(appearance, color), className)} {...props}>
55
- {children}
56
- </SelectTheme.Trigger>);
51
+ return (_jsx(SelectTheme.Trigger, __assign({ ref: forwardedRef, variant: appearance, radius: radius, className: cn(selectVariants({ radius: radius }), selectAppearanceStyle(appearance, color), className) }, props, { children: children })));
57
52
  });
58
53
  SelectTrigger.displayName = 'SelectTrigger';
59
54
  export var SelectContent = React.forwardRef(function (_a, forwardedRef) {
@@ -62,37 +57,27 @@ export var SelectContent = React.forwardRef(function (_a, forwardedRef) {
62
57
  color = 'red';
63
58
  if (radius === 'full')
64
59
  radius = 'large';
65
- return (<SelectTheme.Content ref={forwardedRef} color={color} {...props} className={cn(selectVariants({ radius: radius }), className)}>
66
- {children}
67
- </SelectTheme.Content>);
60
+ return (_jsx(SelectTheme.Content, __assign({ ref: forwardedRef, color: color }, props, { className: cn(selectVariants({ radius: radius }), className), children: children })));
68
61
  });
69
62
  SelectContent.displayName = 'SelectContent';
70
63
  export var SelectItem = React.forwardRef(function (_a, forwardedRef) {
71
64
  var value = _a.value, children = _a.children, className = _a.className, radius = _a.radius, props = __rest(_a, ["value", "children", "className", "radius"]);
72
- return (<SelectTheme.Item ref={forwardedRef} value={value} {...props} className={cn(selectVariants({ radius: radius }), className)}>
73
- {children}
74
- </SelectTheme.Item>);
65
+ return (_jsx(SelectTheme.Item, __assign({ ref: forwardedRef, value: value }, props, { className: cn(selectVariants({ radius: radius }), className), children: children })));
75
66
  });
76
67
  SelectItem.displayName = 'SelectItem';
77
68
  export var SelectGroup = React.forwardRef(function (_a, forwardedRef) {
78
69
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
79
- return (<SelectTheme.Group ref={forwardedRef} {...props} className={className}>
80
- {children}
81
- </SelectTheme.Group>);
70
+ return (_jsx(SelectTheme.Group, __assign({ ref: forwardedRef }, props, { className: className, children: children })));
82
71
  });
83
72
  SelectGroup.displayName = 'SelectGroup';
84
73
  export var SelectLabel = React.forwardRef(function (_a, forwardedRef) {
85
74
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
86
- return (<SelectTheme.Label ref={forwardedRef} {...props} className={className}>
87
- {children}
88
- </SelectTheme.Label>);
75
+ return (_jsx(SelectTheme.Label, __assign({ ref: forwardedRef }, props, { className: className, children: children })));
89
76
  });
90
77
  SelectLabel.displayName = 'SelectLabel';
91
78
  export var SelectSeparator = React.forwardRef(function (_a, forwardedRef) {
92
79
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
93
- return (<SelectTheme.Separator ref={forwardedRef} {...props} className={className}>
94
- {children}
95
- </SelectTheme.Separator>);
80
+ return (_jsx(SelectTheme.Separator, __assign({ ref: forwardedRef }, props, { className: className, children: children })));
96
81
  });
97
82
  SelectSeparator.displayName = 'SelectSeparator';
98
83
  export default Select;