@lotte-innovate/ui-component-test 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (247) hide show
  1. package/dist/Typography/Header/{index.js → index.jsx} +5 -2
  2. package/dist/Typography/Text/{index.js → index.jsx} +6 -3
  3. package/dist/app/layout.d.ts +1 -1
  4. package/dist/app/{layout.js → layout.jsx} +3 -2
  5. package/dist/app/page.d.ts +2 -1
  6. package/dist/app/page.jsx +9 -0
  7. package/dist/app/template/colorPicker.d.ts +2 -1
  8. package/dist/app/template/colorPicker.jsx +19 -0
  9. package/dist/app/template/theme.d.ts +2 -2
  10. package/dist/app/template/{theme.js → theme.jsx} +8 -2
  11. package/dist/components/Accordion/{index.js → index.jsx} +17 -5
  12. package/dist/components/AlertDialog/{AlertDialogAction.js → AlertDialogAction.jsx} +4 -3
  13. package/dist/components/AlertDialog/{AlertDialogCancel.js → AlertDialogCancel.jsx} +4 -3
  14. package/dist/components/AlertDialog/{AlertDialogContent.js → AlertDialogContent.jsx} +7 -3
  15. package/dist/components/AlertDialog/{AlertDialogDescription.js → AlertDialogDescription.jsx} +4 -14
  16. package/dist/components/AlertDialog/{AlertDialogTitle.js → AlertDialogTitle.jsx} +4 -14
  17. package/dist/components/AlertDialog/{AlertDialogTrigger.js → AlertDialogTrigger.jsx} +4 -3
  18. package/dist/components/AlertDialog/{index.js → index.jsx} +4 -14
  19. package/dist/components/AspectRatio/{index.js → index.jsx} +4 -3
  20. package/dist/components/Avatar/{index.js → index.jsx} +7 -3
  21. package/dist/components/Badge/{index.js → index.jsx} +4 -3
  22. package/dist/components/BubbleChart/index.d.ts +2 -1
  23. package/dist/components/BubbleChart/{index.js → index.jsx} +2 -2
  24. package/dist/components/Button/{index.js → index.jsx} +4 -3
  25. package/dist/components/Callout/{CalloutIcon.js → CalloutIcon.jsx} +8 -3
  26. package/dist/components/Callout/{CalloutText.js → CalloutText.jsx} +4 -14
  27. package/dist/components/Callout/{index.js → index.jsx} +6 -3
  28. package/dist/components/Card/{index.js → index.jsx} +4 -3
  29. package/dist/components/Checkbox/{index.js → index.jsx} +11 -3
  30. package/dist/components/CheckboxCard/{index.js → index.jsx} +5 -3
  31. package/dist/components/CheckboxGroup/{CheckboxGroupItem.js → CheckboxGroupItem.jsx} +6 -14
  32. package/dist/components/CheckboxGroup/{index.js → index.jsx} +5 -2
  33. package/dist/components/ContextMenu/{ContextMenuCheckboxItem.js → ContextMenuCheckboxItem.jsx} +7 -14
  34. package/dist/components/ContextMenu/{ContextMenuContent.js → ContextMenuContent.jsx} +6 -3
  35. package/dist/components/ContextMenu/{ContextMenuGroup.js → ContextMenuGroup.jsx} +4 -14
  36. package/dist/components/ContextMenu/{ContextMenuItem.js → ContextMenuItem.jsx} +5 -3
  37. package/dist/components/ContextMenu/{ContextMenuItemIndicator.js → ContextMenuItemIndicator.jsx} +4 -3
  38. package/dist/components/ContextMenu/{ContextMenuLabel.js → ContextMenuLabel.jsx} +4 -3
  39. package/dist/components/ContextMenu/{ContextMenuRadioGroup.js → ContextMenuRadioGroup.jsx} +6 -14
  40. package/dist/components/ContextMenu/{ContextMenuRadioItem.js → ContextMenuRadioItem.jsx} +7 -14
  41. package/dist/components/ContextMenu/{ContextMenuSeparator.js → ContextMenuSeparator.jsx} +4 -14
  42. package/dist/components/ContextMenu/{ContextMenuSubContent.js → ContextMenuSubContent.jsx} +9 -6
  43. package/dist/components/ContextMenu/{ContextMenuSubTrigger.js → ContextMenuSubTrigger.jsx} +9 -14
  44. package/dist/components/ContextMenu/{ContextMenuTrigger.js → ContextMenuTrigger.jsx} +4 -14
  45. package/dist/components/ContextMenu/{index.js → index.jsx} +6 -14
  46. package/dist/components/DataList/{DataListItem.js → DataListItem.jsx} +4 -3
  47. package/dist/components/DataList/{DataListLabel.js → DataListLabel.jsx} +4 -3
  48. package/dist/components/DataList/{DataListValue.js → DataListValue.jsx} +4 -3
  49. package/dist/components/DataList/{index.js → index.jsx} +6 -14
  50. package/dist/components/Dialog/{DialogAction.js → DialogAction.jsx} +4 -14
  51. package/dist/components/Dialog/{DialogCancel.js → DialogCancel.jsx} +4 -14
  52. package/dist/components/Dialog/{DialogContent.js → DialogContent.jsx} +4 -3
  53. package/dist/components/Dialog/{DialogDescription.js → DialogDescription.jsx} +4 -14
  54. package/dist/components/Dialog/{DialogSlot.js → DialogSlot.jsx} +4 -14
  55. package/dist/components/Dialog/{DialogTitle.js → DialogTitle.jsx} +4 -14
  56. package/dist/components/Dialog/{DialogTrigger.js → DialogTrigger.jsx} +4 -14
  57. package/dist/components/Dialog/{index.js → index.jsx} +4 -14
  58. package/dist/components/DoughnutChart/index.d.ts +2 -1
  59. package/dist/components/DoughnutChart/{index.js → index.jsx} +2 -2
  60. package/dist/components/DropdownMenu/{DropdonMenuRadioGroup.js → DropdonMenuRadioGroup.jsx} +6 -14
  61. package/dist/components/DropdownMenu/{DropdonMenuSubContent.js → DropdonMenuSubContent.jsx} +10 -7
  62. package/dist/components/DropdownMenu/{DropdownMenuCheckboxItem.js → DropdownMenuCheckboxItem.jsx} +7 -14
  63. package/dist/components/DropdownMenu/{DropdownMenuContent.js → DropdownMenuContent.jsx} +6 -3
  64. package/dist/components/DropdownMenu/{DropdownMenuItem.js → DropdownMenuItem.jsx} +5 -3
  65. package/dist/components/DropdownMenu/{DropdownMenuItemIndicator.js → DropdownMenuItemIndicator.jsx} +4 -3
  66. package/dist/components/DropdownMenu/{DropdownMenuLable.js → DropdownMenuLable.jsx} +4 -3
  67. package/dist/components/DropdownMenu/{DropdownMenuRadioItem.js → DropdownMenuRadioItem.jsx} +7 -14
  68. package/dist/components/DropdownMenu/{DropdownMenuSeparator.js → DropdownMenuSeparator.jsx} +2 -14
  69. package/dist/components/DropdownMenu/{DropdownMenuSub.js → DropdownMenuSub.jsx} +2 -14
  70. package/dist/components/DropdownMenu/{DropdownMenuSubTrigger.js → DropdownMenuSubTrigger.jsx} +7 -14
  71. package/dist/components/DropdownMenu/{DropdownMenuTrigger.js → DropdownMenuTrigger.jsx} +4 -14
  72. package/dist/components/DropdownMenu/{index.js → index.jsx} +2 -14
  73. package/dist/components/HoverCard/{HoverCardContent.js → HoverCardContent.jsx} +4 -3
  74. package/dist/components/HoverCard/{HoverCardTrigger.js → HoverCardTrigger.jsx} +4 -14
  75. package/dist/components/HoverCard/{index.js → index.jsx} +4 -14
  76. package/dist/components/IconButton/{index.js → index.jsx} +3 -2
  77. package/dist/components/Inset/{index.js → index.jsx} +6 -3
  78. package/dist/components/Label/{index.js → index.jsx} +3 -2
  79. package/dist/components/Menubar/{MenubarCheckboxItem.js → MenubarCheckboxItem.jsx} +7 -14
  80. package/dist/components/Menubar/{MenubarContent.js → MenubarContent.jsx} +10 -7
  81. package/dist/components/Menubar/{MenubarItem.js → MenubarItem.jsx} +5 -3
  82. package/dist/components/Menubar/{MenubarItemIndicator.js → MenubarItemIndicator.jsx} +4 -3
  83. package/dist/components/Menubar/{MenubarMenu.js → MenubarMenu.jsx} +2 -14
  84. package/dist/components/Menubar/{MenubarRadioGroup.js → MenubarRadioGroup.jsx} +6 -14
  85. package/dist/components/Menubar/{MenubarRadioItem.js → MenubarRadioItem.jsx} +7 -14
  86. package/dist/components/Menubar/{MenubarSeparator.js → MenubarSeparator.jsx} +4 -14
  87. package/dist/components/Menubar/{MenubarSub.js → MenubarSub.jsx} +2 -14
  88. package/dist/components/Menubar/{MenubarSubContent.js → MenubarSubContent.jsx} +5 -4
  89. package/dist/components/Menubar/{MenubarSubTrigger.js → MenubarSubTrigger.jsx} +7 -14
  90. package/dist/components/Menubar/{MenubarTrigger.js → MenubarTrigger.jsx} +4 -3
  91. package/dist/components/Menubar/{index.js → index.jsx} +6 -3
  92. package/dist/components/NavigationMenu/{NavigationMenuContent.js → NavigationMenuContent.jsx} +4 -3
  93. package/dist/components/NavigationMenu/NavigationMenuIndicator.jsx +22 -0
  94. package/dist/components/NavigationMenu/{NavigationMenuItem.js → NavigationMenuItem.jsx} +4 -14
  95. package/dist/components/NavigationMenu/{NavigationMenuLink.js → NavigationMenuLink.jsx} +4 -3
  96. package/dist/components/NavigationMenu/{NavigationMenuList.js → NavigationMenuList.jsx} +5 -3
  97. package/dist/components/NavigationMenu/{NavigationMenuTrigger.js → NavigationMenuTrigger.jsx} +5 -3
  98. package/dist/components/NavigationMenu/{NavigationMenuViewport.js → NavigationMenuViewport.jsx} +4 -3
  99. package/dist/components/NavigationMenu/{index.js → index.jsx} +6 -14
  100. package/dist/components/PieChart/index.d.ts +2 -1
  101. package/dist/components/PieChart/{index.js → index.jsx} +2 -2
  102. package/dist/components/Popover/{PopoverClose.js → PopoverClose.jsx} +4 -14
  103. package/dist/components/Popover/{PopoverContent.js → PopoverContent.jsx} +4 -3
  104. package/dist/components/Popover/{PopoverTrigger.js → PopoverTrigger.jsx} +4 -14
  105. package/dist/components/Popover/{index.js → index.jsx} +4 -14
  106. package/dist/components/Progress/{index.js → index.jsx} +4 -3
  107. package/dist/components/RadarChart/index.d.ts +2 -1
  108. package/dist/components/RadarChart/{index.js → index.jsx} +2 -2
  109. package/dist/components/Radio/{index.js → index.jsx} +8 -13
  110. package/dist/components/RadioCards/{RadioCardsItem.js → RadioCardsItem.jsx} +4 -14
  111. package/dist/components/RadioCards/{index.js → index.jsx} +6 -3
  112. package/dist/components/RadioGroup/{RadioGroupItem.js → RadioGroupItem.jsx} +4 -14
  113. package/dist/components/RadioGroup/{index.js → index.jsx} +6 -14
  114. package/dist/components/ScrollArea/{index.js → index.jsx} +6 -14
  115. package/dist/components/SegmentedControl/{SegmentedControlItem.js → SegmentedControlItem.jsx} +4 -14
  116. package/dist/components/SegmentedControl/{index.js → index.jsx} +5 -2
  117. package/dist/components/Select/{index.js → index.jsx} +25 -8
  118. package/dist/components/Separator/{index.js → index.jsx} +5 -2
  119. package/dist/components/Skeleton/{index.js → index.jsx} +5 -2
  120. package/dist/components/Slider/{index.js → index.jsx} +3 -2
  121. package/dist/components/Spinner/{index.js → index.jsx} +5 -2
  122. package/dist/components/TabNav/{index.js → index.jsx} +8 -14
  123. package/dist/components/Table/{index.js → index.jsx} +23 -8
  124. package/dist/components/Tabs/{index.js → index.jsx} +14 -5
  125. package/dist/components/TextArea/{index.js → index.jsx} +3 -2
  126. package/dist/components/TextField/{index.js → index.jsx} +8 -3
  127. package/dist/components/Toast/{ToastActionButton.js → ToastActionButton.jsx} +4 -3
  128. package/dist/components/Toast/{ToastDescription.js → ToastDescription.jsx} +6 -14
  129. package/dist/components/Toast/{ToastTitle.js → ToastTitle.jsx} +4 -14
  130. package/dist/components/Toast/{index.js → index.jsx} +9 -3
  131. package/dist/components/Toggle/{ToggleWithText.js → ToggleWithText.jsx} +6 -4
  132. package/dist/components/Toggle/{index.js → index.jsx} +4 -3
  133. package/dist/components/ToggleGroup/{index.js → index.jsx} +6 -3
  134. package/dist/components/ToggleGroup/{toggleGroupItem.js → toggleGroupItem.jsx} +4 -14
  135. package/dist/components/ToggleSwitch/{index.js → index.jsx} +6 -2
  136. package/dist/components/Tooltip/{index.js → index.jsx} +11 -2
  137. package/dist/stories/Welcome.d.ts +2 -1
  138. package/dist/stories/Welcome.jsx +48 -0
  139. package/dist/stories/accordion/Accordion.stories.d.ts +1 -1
  140. package/dist/stories/accordion/{Accordion.stories.js → Accordion.stories.jsx} +20 -2
  141. package/dist/stories/alert-dialog/AlertDialog.stories.d.ts +1 -1
  142. package/dist/stories/alert-dialog/{AlertDialog.stories.js → AlertDialog.stories.jsx} +15 -2
  143. package/dist/stories/aspect-ratio/AspectRatio.stories.d.ts +3 -3
  144. package/dist/stories/aspect-ratio/AspectRatio.stories.jsx +106 -0
  145. package/dist/stories/avatar/Avatar.stories.d.ts +5 -5
  146. package/dist/stories/avatar/{Avatar.stories.js → Avatar.stories.jsx} +17 -6
  147. package/dist/stories/badge/Badge.stories.d.ts +6 -6
  148. package/dist/stories/badge/{Badge.stories.js → Badge.stories.jsx} +51 -7
  149. package/dist/stories/bubble-chart/BubbleChart.stories.d.ts +5 -4
  150. package/dist/stories/bubble-chart/{BubbleChart.stories.js → BubbleChart.stories.jsx} +12 -4
  151. package/dist/stories/button/Button.stories.d.ts +7 -7
  152. package/dist/stories/button/{Button.stories.js → Button.stories.jsx} +41 -8
  153. package/dist/stories/button/IconButton.stories.d.ts +4 -4
  154. package/dist/stories/button/{IconButton.stories.js → IconButton.stories.jsx} +18 -5
  155. package/dist/stories/callout/Callout.stories.d.ts +7 -7
  156. package/dist/stories/callout/Callout.stories.jsx +205 -0
  157. package/dist/stories/card/Card.stories.d.ts +5 -5
  158. package/dist/stories/card/{Card.stories.js → Card.stories.jsx} +56 -6
  159. package/dist/stories/checkbox/Checkbox.stories.d.ts +6 -6
  160. package/dist/stories/checkbox/{Checkbox.stories.js → Checkbox.stories.jsx} +63 -7
  161. package/dist/stories/checkbox/CheckboxCard.stories.d.ts +5 -5
  162. package/dist/stories/checkbox/{CheckboxCard.stories.js → CheckboxCard.stories.jsx} +41 -6
  163. package/dist/stories/checkbox/CheckboxGroup.stories.d.ts +3 -3
  164. package/dist/stories/checkbox/{CheckboxGroup.stories.js → CheckboxGroup.stories.jsx} +76 -4
  165. package/dist/stories/context-menu/ContextMenu.stories.d.ts +4 -4
  166. package/dist/stories/context-menu/{ContextMenu.stories.js → ContextMenu.stories.jsx} +74 -5
  167. package/dist/stories/data-list/DataList.stories.d.ts +4 -4
  168. package/dist/stories/data-list/DataList.stories.jsx +185 -0
  169. package/dist/stories/dialog/Dialog.stories.d.ts +1 -1
  170. package/dist/stories/dialog/{Dialog.stories.js → Dialog.stories.jsx} +25 -2
  171. package/dist/stories/doughnut-chart/DoughnutChart.stories.d.ts +5 -4
  172. package/dist/stories/doughnut-chart/{DoughnutChart.stories.js → DoughnutChart.stories.jsx} +12 -4
  173. package/dist/stories/dropdown-menu/DropdownMenu.stories.d.ts +4 -4
  174. package/dist/stories/dropdown-menu/DropdownMenu.stories.jsx +170 -0
  175. package/dist/stories/header/Header.stories.d.ts +6 -6
  176. package/dist/stories/header/{Header.stories.js → Header.stories.jsx} +26 -7
  177. package/dist/stories/hover-card/HoverCard.stories.d.ts +2 -2
  178. package/dist/stories/hover-card/{HoverCard.stories.js → HoverCard.stories.jsx} +30 -3
  179. package/dist/stories/inset/Inset.stories.d.ts +2 -2
  180. package/dist/stories/inset/{Inset.stories.js → Inset.stories.jsx} +27 -12
  181. package/dist/stories/label/Label.stories.d.ts +4 -4
  182. package/dist/stories/label/{Label.stories.js → Label.stories.jsx} +26 -5
  183. package/dist/stories/menubar/Menubar.stories.d.ts +1 -1
  184. package/dist/stories/menubar/{Menubar.stories.js → Menubar.stories.jsx} +45 -8
  185. package/dist/stories/navigation-menu/NavigationMenu.stories.d.ts +2 -2
  186. package/dist/stories/navigation-menu/{NavigationMenu.stories.js → NavigationMenu.stories.jsx} +68 -3
  187. package/dist/stories/pie-chart/PieChart.stories.d.ts +6 -5
  188. package/dist/stories/pie-chart/{PieChart.stories.js → PieChart.stories.jsx} +32 -13
  189. package/dist/stories/popover/Popover.stories.d.ts +2 -2
  190. package/dist/stories/popover/{Popover.stories.js → Popover.stories.jsx} +42 -9
  191. package/dist/stories/progress/Progress.stories.d.ts +4 -4
  192. package/dist/stories/progress/{Progress.stories.js → Progress.stories.jsx} +11 -6
  193. package/dist/stories/radar-chart/RadarChart.stories.d.ts +6 -5
  194. package/dist/stories/radar-chart/{RadarChart.stories.js → RadarChart.stories.jsx} +4 -5
  195. package/dist/stories/radio/Radio.stories.d.ts +3 -3
  196. package/dist/stories/radio/{Radio.stories.js → Radio.stories.jsx} +14 -4
  197. package/dist/stories/radio/RadioCards.stories.d.ts +4 -4
  198. package/dist/stories/radio/{RadioCards.stories.js → RadioCards.stories.jsx} +64 -5
  199. package/dist/stories/radio/RadioGroup.stories.d.ts +4 -4
  200. package/dist/stories/radio/{RadioGroup.stories.js → RadioGroup.stories.jsx} +59 -5
  201. package/dist/stories/scroll-area/ScrollArea.stories.d.ts +2 -2
  202. package/dist/stories/scroll-area/ScrollArea.stories.jsx +123 -0
  203. package/dist/stories/segmented-control/SegmentedControl.stories.d.ts +4 -4
  204. package/dist/stories/segmented-control/{SegmentedControl.stories.js → SegmentedControl.stories.jsx} +26 -5
  205. package/dist/stories/select/Select.stories.d.ts +5 -5
  206. package/dist/stories/select/{Select.stories.js → Select.stories.jsx} +67 -6
  207. package/dist/stories/separator/Separator.stories.d.ts +4 -4
  208. package/dist/stories/separator/{Separator.stories.js → Separator.stories.jsx} +29 -5
  209. package/dist/stories/skeleton/Skeleton.stories.d.ts +5 -5
  210. package/dist/stories/skeleton/{Skeleton.stories.js → Skeleton.stories.jsx} +33 -6
  211. package/dist/stories/slider/Slider.stories.d.ts +4 -4
  212. package/dist/stories/slider/{Slider.stories.js → Slider.stories.jsx} +16 -5
  213. package/dist/stories/spinner/Spinner.stories.d.ts +5 -5
  214. package/dist/stories/spinner/{Spinner.stories.js → Spinner.stories.jsx} +31 -6
  215. package/dist/stories/switch/Switch.stories.d.ts +4 -4
  216. package/dist/stories/switch/{Switch.stories.js → Switch.stories.jsx} +16 -5
  217. package/dist/stories/tab-nav/TabNav.stories.d.ts +1 -1
  218. package/dist/stories/tab-nav/{TabNav.stories.js → TabNav.stories.jsx} +11 -2
  219. package/dist/stories/table/Table.stories.d.ts +1 -1
  220. package/dist/stories/table/{Table.stories.js → Table.stories.jsx} +29 -2
  221. package/dist/stories/tabs/Tabs.stories.d.ts +1 -1
  222. package/dist/stories/tabs/{Tabs.stories.js → Tabs.stories.jsx} +19 -2
  223. package/dist/stories/text/Text.stories.d.ts +5 -5
  224. package/dist/stories/text/{Text.stories.js → Text.stories.jsx} +21 -6
  225. package/dist/stories/textArea/TextArea.stories.d.ts +5 -5
  226. package/dist/stories/textArea/{TextArea.stories.js → TextArea.stories.jsx} +22 -6
  227. package/dist/stories/textfield/TextField.stories.d.ts +5 -5
  228. package/dist/stories/textfield/{TextField.stories.js → TextField.stories.jsx} +38 -6
  229. package/dist/stories/toast/Toast.stories.d.ts +3 -3
  230. package/dist/stories/toast/{Toast.stories.js → Toast.stories.jsx} +22 -4
  231. package/dist/stories/toggle/Toggle.stories.d.ts +5 -5
  232. package/dist/stories/toggle/{Toggle.stories.js → Toggle.stories.jsx} +23 -6
  233. package/dist/stories/toggle/ToggleGroup.stories.d.ts +3 -3
  234. package/dist/stories/toggle/{ToggleGroup.stories.js → ToggleGroup.stories.jsx} +39 -6
  235. package/dist/stories/tooltip/Tooltip.stories.d.ts +3 -3
  236. package/dist/stories/tooltip/{Tooltip.stories.js → Tooltip.stories.jsx} +17 -4
  237. package/dist/tsconfig.tsbuildinfo +1 -1
  238. package/package.json +1 -1
  239. package/dist/app/page.js +0 -6
  240. package/dist/app/template/colorPicker.js +0 -14
  241. package/dist/components/NavigationMenu/NavigationMenuIndicator.js +0 -31
  242. package/dist/stories/Welcome.js +0 -30
  243. package/dist/stories/aspect-ratio/AspectRatio.stories.js +0 -78
  244. package/dist/stories/callout/Callout.stories.js +0 -104
  245. package/dist/stories/data-list/DataList.stories.js +0 -87
  246. package/dist/stories/dropdown-menu/DropdownMenu.stories.js +0 -75
  247. package/dist/stories/scroll-area/ScrollArea.stories.js +0 -63
@@ -20,7 +20,6 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
23
  import { useState } from 'react';
25
24
  import { appearanceOptions, commonArgTypes, sizeOptions } from '../../constants';
26
25
  import { Menubar, MenubarMenu, MenubarTrigger, MenubarContent, MenubarItem, MenubarSeparator, MenubarSub, MenubarSubTrigger, MenubarSubContent, MenubarCheckboxItem, MenubarRadioGroup, MenubarRadioItem, } from 'components/Menubar';
@@ -88,11 +87,49 @@ export var Default = function (_a) {
88
87
  var RADIO_ITEMS = ['구글', '네이버', '인트라넷'];
89
88
  var _b = useState([CHECK_ITEMS[0]]), checkedSelection = _b[0], setCheckedSelection = _b[1];
90
89
  var _c = useState(RADIO_ITEMS[0]), radioSelection = _c[0], setRadioSelection = _c[1];
91
- return (_jsxs(Menubar, __assign({}, args, { children: [_jsxs(MenubarMenu, { children: [_jsx(MenubarTrigger, { children: "\uD30C\uC77C" }), _jsxs(MenubarContent, { children: [_jsx(MenubarItem, { shortcut: "\u2318 T", children: "\uC0C8 \uD0ED" }), _jsx(MenubarItem, { shortcut: "\u2318 N", children: "\uC0C8 \uCC3D" }), _jsx(MenubarItem, { disabled: true, children: "\uC0AC\uC6A9\uBD88\uAC00" }), _jsx(MenubarSeparator, {}), _jsxs(MenubarSub, { children: [_jsx(MenubarSubTrigger, { children: "\uACF5\uC720\uD558\uAE30" }), _jsxs(MenubarSubContent, { children: [_jsx(MenubarItem, { children: "\uC774\uBA54\uC77C" }), _jsx(MenubarItem, { children: "\uBA54\uC2E0\uC800" })] })] })] })] }), _jsxs(MenubarMenu, { children: [_jsx(MenubarTrigger, { children: "\uBCF4\uAE30" }), _jsx(MenubarContent, { children: CHECK_ITEMS.map(function (item) { return (_jsx(MenubarCheckboxItem, { checked: checkedSelection.includes(item), onCheckedChange: function () {
92
- return setCheckedSelection(function (current) {
93
- return current.includes(item)
94
- ? current.filter(function (el) { return el !== item; })
95
- : current.concat(item);
96
- });
97
- }, children: item }, item)); }) })] }), _jsxs(MenubarMenu, { children: [_jsx(MenubarTrigger, { children: "\uD504\uB85C\uD544" }), _jsx(MenubarContent, { children: _jsx(MenubarRadioGroup, { value: radioSelection, onValueChange: setRadioSelection, children: RADIO_ITEMS.map(function (item) { return (_jsx(MenubarRadioItem, { value: item, children: item }, item)); }) }) })] })] })));
90
+ return (<Menubar {...args}>
91
+ {/* 메뉴-기본 */}
92
+ <MenubarMenu>
93
+ <MenubarTrigger>파일</MenubarTrigger>
94
+ <MenubarContent>
95
+ <MenubarItem shortcut="⌘ T">새 탭</MenubarItem>
96
+ <MenubarItem shortcut="⌘ N">새 창</MenubarItem>
97
+ <MenubarItem disabled>사용불가</MenubarItem>
98
+ <MenubarSeparator />
99
+ <MenubarSub>
100
+ <MenubarSubTrigger>공유하기</MenubarSubTrigger>
101
+ <MenubarSubContent>
102
+ <MenubarItem>이메일</MenubarItem>
103
+ <MenubarItem>메신저</MenubarItem>
104
+ </MenubarSubContent>
105
+ </MenubarSub>
106
+ </MenubarContent>
107
+ </MenubarMenu>
108
+ {/* 메뉴-체크 */}
109
+ <MenubarMenu>
110
+ <MenubarTrigger>보기</MenubarTrigger>
111
+ <MenubarContent>
112
+ {CHECK_ITEMS.map(function (item) { return (<MenubarCheckboxItem key={item} checked={checkedSelection.includes(item)} onCheckedChange={function () {
113
+ return setCheckedSelection(function (current) {
114
+ return current.includes(item)
115
+ ? current.filter(function (el) { return el !== item; })
116
+ : current.concat(item);
117
+ });
118
+ }}>
119
+ {item}
120
+ </MenubarCheckboxItem>); })}
121
+ </MenubarContent>
122
+ </MenubarMenu>
123
+ {/* 메뉴-라디오 */}
124
+ <MenubarMenu>
125
+ <MenubarTrigger>프로필</MenubarTrigger>
126
+ <MenubarContent>
127
+ <MenubarRadioGroup value={radioSelection} onValueChange={setRadioSelection}>
128
+ {RADIO_ITEMS.map(function (item) { return (<MenubarRadioItem key={item} value={item}>
129
+ {item}
130
+ </MenubarRadioItem>); })}
131
+ </MenubarRadioGroup>
132
+ </MenubarContent>
133
+ </MenubarMenu>
134
+ </Menubar>);
98
135
  };
@@ -294,7 +294,7 @@ declare const meta: {
294
294
  radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
295
295
  size?: "small" | "medium" | null | undefined;
296
296
  ref?: import("react").LegacyRef<HTMLElement> | undefined;
297
- }>) => import("react/jsx-runtime").JSX.Element)[];
297
+ }>) => import("react").JSX.Element)[];
298
298
  tags: string[];
299
299
  argTypes: {
300
300
  radius: {
@@ -382,4 +382,4 @@ declare const meta: {
382
382
  export default meta;
383
383
  export declare const Default: ({ ...args }: {
384
384
  [x: string]: any;
385
- }) => import("react/jsx-runtime").JSX.Element;
385
+ }) => import("react").JSX.Element;
@@ -20,7 +20,6 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
23
  import { appearanceOptions, commonArgTypes, sizeOptions } from '../../constants';
25
24
  import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, } from 'components/NavigationMenu';
26
25
  import Image from 'next/image';
@@ -41,7 +40,9 @@ var meta = {
41
40
  },
42
41
  },
43
42
  decorators: [
44
- function (Story) { return (_jsx("div", { className: "h-[300px] p-2", children: _jsx(Story, {}) })); },
43
+ function (Story) { return (<div className="h-[300px] p-2">
44
+ <Story />
45
+ </div>); },
45
46
  ],
46
47
  tags: ['autodocs'],
47
48
  argTypes: {
@@ -75,5 +76,69 @@ var meta = {
75
76
  export default meta;
76
77
  export var Default = function (_a) {
77
78
  var args = __rest(_a, []);
78
- return (_jsxs(NavigationMenu, __assign({}, args, { children: [_jsxs(NavigationMenuList, { children: [_jsxs(NavigationMenuItem, { children: [_jsx(NavigationMenuTrigger, { children: "\uD648\uD398\uC774\uC9C0" }), _jsx(NavigationMenuContent, { children: _jsxs("div", { className: "flex space-x-2", children: [_jsx(Image, { className: "rounded", src: "https://images.unsplash.com/photo-1535025183041-0991a977e25b?w=300&dpr=2&q=80", alt: "Landscape photograph by Tobias Tullius", width: 120, height: 200 }), _jsxs("div", { className: "space-y-2", children: [_jsxs(Card, { size: 'small', className: "w-[150px] hover:bg-red-3 dark:hover:bg-redDark-3", children: [_jsx(Text, { weight: 'bold', children: "\uD0C0\uC774\uD2C0" }), _jsx(Text, { children: "\uB0B4\uC6A9" })] }), _jsxs(Card, { size: 'small', className: "w-[150px] hover:bg-red-3 dark:hover:bg-redDark-3", children: [_jsx(Text, { weight: 'bold', children: "\uD0C0\uC774\uD2C0" }), _jsx(Text, { children: "\uB0B4\uC6A9" })] }), _jsxs(Card, { size: 'small', className: "w-[150px] hover:bg-red-3 dark:hover:bg-redDark-3", children: [_jsx(Text, { weight: 'bold', children: "\uD0C0\uC774\uD2C0" }), _jsx(Text, { children: "\uB0B4\uC6A9" })] })] })] }) })] }), _jsxs(NavigationMenuItem, { children: [_jsx(NavigationMenuTrigger, { children: "\uAC1C\uC694" }), _jsx(NavigationMenuContent, { children: _jsxs("div", { className: "flex flex-col space-y-3", children: [_jsx(Card, { className: "hover:bg-red-3 dark:hover:bg-redDark-3", appearance: "ghost", children: _jsxs("div", { className: "flex flex-col", children: [_jsx(Text, { weight: 'bold', color: "red", children: "\uD0C0\uC774\uD2C0\uC774 \uB4E4\uC5B4\uAC00\uB294 \uC790\uB9AC\uC785\uB2C8\uB2E4." }), _jsx(Text, { children: "\uB0B4\uC6A9\uC774 \uB4E4\uC5B4\uAC00\uB294 \uC790\uB9AC\uC785\uB2C8\uB2E4." })] }) }), _jsx(Card, { className: "hover:bg-red-3 dark:hover:bg-redDark-3", appearance: "ghost", children: _jsxs("div", { className: "flex flex-col", children: [_jsx(Text, { weight: 'bold', color: "red", children: "\uD0C0\uC774\uD2C0\uC774 \uB4E4\uC5B4\uAC00\uB294 \uC790\uB9AC\uC785\uB2C8\uB2E4." }), _jsx(Text, { children: "\uB0B4\uC6A9\uC774 \uB4E4\uC5B4\uAC00\uB294 \uC790\uB9AC\uC785\uB2C8\uB2E4." })] }) }), _jsx(Card, { className: "hover:bg-red-3 dark:hover:bg-redDark-3", appearance: "ghost", children: _jsxs("div", { className: "flex flex-col", children: [_jsx(Text, { weight: 'bold', color: "red", children: "\uD0C0\uC774\uD2C0\uC774 \uB4E4\uC5B4\uAC00\uB294 \uC790\uB9AC\uC785\uB2C8\uB2E4." }), _jsx(Text, { children: "\uB0B4\uC6A9\uC774 \uB4E4\uC5B4\uAC00\uB294 \uC790\uB9AC\uC785\uB2C8\uB2E4." })] }) })] }) })] }), _jsx(NavigationMenuItem, { children: _jsx(NavigationMenuLink, { href: "https://tailwindcss.com/docs/border-radius", children: "tailwind \uBC14\uB85C\uAC00\uAE30" }) })] }), _jsx(NavigationMenuViewport, {})] })));
79
+ return (<NavigationMenu {...args}>
80
+ <NavigationMenuList>
81
+ <NavigationMenuItem>
82
+ <NavigationMenuTrigger>홈페이지</NavigationMenuTrigger>
83
+ <NavigationMenuContent>
84
+ <div className="flex space-x-2">
85
+ <Image className="rounded" src="https://images.unsplash.com/photo-1535025183041-0991a977e25b?w=300&dpr=2&q=80" alt="Landscape photograph by Tobias Tullius" width={120} height={200}/>
86
+ <div className="space-y-2">
87
+ <Card size={'small'} className="w-[150px] hover:bg-red-3 dark:hover:bg-redDark-3">
88
+ <Text weight={'bold'}>타이틀</Text>
89
+ <Text>내용</Text>
90
+ </Card>
91
+ <Card size={'small'} className="w-[150px] hover:bg-red-3 dark:hover:bg-redDark-3">
92
+ <Text weight={'bold'}>타이틀</Text>
93
+ <Text>내용</Text>
94
+ </Card>
95
+ <Card size={'small'} className="w-[150px] hover:bg-red-3 dark:hover:bg-redDark-3">
96
+ <Text weight={'bold'}>타이틀</Text>
97
+ <Text>내용</Text>
98
+ </Card>
99
+ </div>
100
+ </div>
101
+ </NavigationMenuContent>
102
+ </NavigationMenuItem>
103
+
104
+ <NavigationMenuItem>
105
+ <NavigationMenuTrigger>개요</NavigationMenuTrigger>
106
+ <NavigationMenuContent>
107
+ <div className="flex flex-col space-y-3">
108
+ <Card className="hover:bg-red-3 dark:hover:bg-redDark-3" appearance="ghost">
109
+ <div className="flex flex-col">
110
+ <Text weight={'bold'} color="red">
111
+ 타이틀이 들어가는 자리입니다.
112
+ </Text>
113
+ <Text>내용이 들어가는 자리입니다.</Text>
114
+ </div>
115
+ </Card>
116
+ <Card className="hover:bg-red-3 dark:hover:bg-redDark-3" appearance="ghost">
117
+ <div className="flex flex-col">
118
+ <Text weight={'bold'} color="red">
119
+ 타이틀이 들어가는 자리입니다.
120
+ </Text>
121
+ <Text>내용이 들어가는 자리입니다.</Text>
122
+ </div>
123
+ </Card>
124
+ <Card className="hover:bg-red-3 dark:hover:bg-redDark-3" appearance="ghost">
125
+ <div className="flex flex-col">
126
+ <Text weight={'bold'} color="red">
127
+ 타이틀이 들어가는 자리입니다.
128
+ </Text>
129
+ <Text>내용이 들어가는 자리입니다.</Text>
130
+ </div>
131
+ </Card>
132
+ </div>
133
+ </NavigationMenuContent>
134
+ </NavigationMenuItem>
135
+
136
+ <NavigationMenuItem>
137
+ <NavigationMenuLink href="https://tailwindcss.com/docs/border-radius">
138
+ tailwind 바로가기
139
+ </NavigationMenuLink>
140
+ </NavigationMenuItem>
141
+ </NavigationMenuList>
142
+ <NavigationMenuViewport />
143
+ </NavigationMenu>);
79
144
  };
@@ -1,6 +1,7 @@
1
+ /// <reference types="react" />
1
2
  declare const meta: {
2
3
  title: string;
3
- component: ({ labels, datasets, scaling, className, ...rest }: import("components/PieChart").PieChartProps) => import("react/jsx-runtime").JSX.Element;
4
+ component: ({ labels, datasets, scaling, className, ...rest }: import("components/PieChart").PieChartProps) => import("react").JSX.Element;
4
5
  parameters: {
5
6
  layout: string;
6
7
  docs: {
@@ -179,7 +180,7 @@ declare const meta: {
179
180
  export default meta;
180
181
  export declare const Default: ({ ...args }: {
181
182
  [x: string]: any;
182
- }) => import("react/jsx-runtime").JSX.Element;
183
- export declare const LabelsStyle: () => import("react/jsx-runtime").JSX.Element;
184
- export declare const BorderStyles: () => import("react/jsx-runtime").JSX.Element;
185
- export declare const DataLabels: () => import("react/jsx-runtime").JSX.Element;
183
+ }) => import("react").JSX.Element;
184
+ export declare const LabelsStyle: () => import("react").JSX.Element;
185
+ export declare const BorderStyles: () => import("react").JSX.Element;
186
+ export declare const DataLabels: () => import("react").JSX.Element;
@@ -20,7 +20,6 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
23
  import PieChart from 'components/PieChart';
25
24
  import { amber, blue, green, orange, purple, red, ruby, violet, yellow } from 'color/light';
26
25
  import { commonArgTypes } from '../../constants';
@@ -175,7 +174,9 @@ var meta = {
175
174
  export default meta;
176
175
  export var Default = function (_a) {
177
176
  var args = __rest(_a, []);
178
- return (_jsx("div", { className: "w-[300px]", children: _jsx(PieChart, __assign({ labels: args.label, datasets: args.datasets }, args)) }));
177
+ return (<div className="w-[300px]">
178
+ <PieChart labels={args.label} datasets={args.datasets} {...args}/>
179
+ </div>);
179
180
  };
180
181
  export var LabelsStyle = function () {
181
182
  var labelStyleList = ['star', 'line', 'rect', 'circle'];
@@ -187,17 +188,21 @@ export var LabelsStyle = function () {
187
188
  borderColor: [ruby[9], violet[9], amber[9], green[9]],
188
189
  },
189
190
  ];
190
- return (_jsx("div", { className: "flex", children: labelStyleList.map(function (labelOption) { return (_jsx("div", { className: "w-[200px]", children: _jsx(PieChart, { labels: labels, datasets: datasets, options: {
191
- plugins: {
192
- legend: {
193
- labels: {
194
- pointStyle: labelOption,
195
- usePointStyle: true,
196
- },
197
- position: 'top',
191
+ return (<div className="flex">
192
+ {labelStyleList.map(function (labelOption) { return (<div className="w-[200px]" key={labelOption}>
193
+ <PieChart labels={labels} datasets={datasets} options={{
194
+ plugins: {
195
+ legend: {
196
+ labels: {
197
+ pointStyle: labelOption,
198
+ usePointStyle: true,
198
199
  },
200
+ position: 'top',
199
201
  },
200
- } }) }, labelOption)); }) }));
202
+ },
203
+ }}/>
204
+ </div>); })}
205
+ </div>);
201
206
  };
202
207
  export var BorderStyles = function () {
203
208
  var exampleData = [2, 4, 7, 3];
@@ -231,7 +236,14 @@ export var BorderStyles = function () {
231
236
  },
232
237
  },
233
238
  };
234
- return (_jsxs("div", { className: "flex", children: [_jsx("div", { className: "w-[200px]", children: _jsx(PieChart, { datasets: datasets, options: options }) }), _jsx("div", { className: "w-[200px]", children: _jsx(PieChart, { datasets: dashDatasets, options: dashOptions }) })] }));
239
+ return (<div className="flex">
240
+ <div className="w-[200px]">
241
+ <PieChart datasets={datasets} options={options}/>
242
+ </div>
243
+ <div className="w-[200px]">
244
+ <PieChart datasets={dashDatasets} options={dashOptions}/>
245
+ </div>
246
+ </div>);
235
247
  };
236
248
  export var DataLabels = function () {
237
249
  var datasets = [
@@ -277,5 +289,12 @@ export var DataLabels = function () {
277
289
  },
278
290
  },
279
291
  };
280
- return (_jsxs("div", { className: "flex", children: [_jsx("div", { className: "w-[200px]", children: _jsx(PieChart, { datasets: datasets, options: options }) }), _jsx("div", { className: "w-[200px]", children: _jsx(PieChart, { datasets: datasets, options: customOptions }) })] }));
292
+ return (<div className="flex">
293
+ <div className="w-[200px]">
294
+ <PieChart datasets={datasets} options={options}/>
295
+ </div>
296
+ <div className="w-[200px]">
297
+ <PieChart datasets={datasets} options={customOptions}/>
298
+ </div>
299
+ </div>);
281
300
  };
@@ -72,7 +72,7 @@ declare const meta: {
72
72
  export default meta;
73
73
  export declare const Default: ({ ...args }: {
74
74
  [x: string]: any;
75
- }) => import("react/jsx-runtime").JSX.Element;
75
+ }) => import("react").JSX.Element;
76
76
  export declare const WithInset: ({ ...args }: {
77
77
  [x: string]: any;
78
- }) => import("react/jsx-runtime").JSX.Element;
78
+ }) => import("react").JSX.Element;
@@ -20,7 +20,6 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
23
  import { commonArgTypes, sizeOptions } from '../../constants';
25
24
  import { Inset } from '@radix-ui/themes';
26
25
  import { Popover, PopoverTrigger, PopoverContent, PopoverClose } from '../../components/Popover';
@@ -60,15 +59,49 @@ var meta = {
60
59
  export default meta;
61
60
  export var Default = function (_a) {
62
61
  var args = __rest(_a, []);
63
- return (_jsxs(Popover, __assign({}, args, { children: [_jsx(PopoverTrigger, { children: _jsx(Button, { children: "Comment" }) }), _jsxs(PopoverContent, __assign({}, args, { children: [_jsx(Avatar, __assign({ imagePath: "https://images.unsplash.com/photo-1607346256330-dee7af15f7c5?&w=64&h=64&dpr=2&q=70&crop=focalpoint&fp-x=0.67&fp-y=0.5&fp-z=1.4&fit=crop" }, args, { size: args.size === 'small'
64
- ? '2'
65
- : args.size === 'large'
66
- ? '4'
67
- : args.size === 'x-large'
68
- ? '5'
69
- : '3' })), _jsxs("div", { className: "grow", children: [_jsx(TextArea, __assign({ placeholder: "Write a comment\u2026" }, args, { className: "w-full" })), _jsx("div", { className: "flex mt-3 justify-end", children: _jsx(PopoverClose, __assign({}, args, { children: _jsx(Button, { children: "Comment" }) })) })] })] }))] })));
62
+ return (<Popover {...args}>
63
+ <PopoverTrigger>
64
+ <Button>Comment</Button>
65
+ </PopoverTrigger>
66
+ <PopoverContent {...args}>
67
+ <Avatar imagePath="https://images.unsplash.com/photo-1607346256330-dee7af15f7c5?&w=64&h=64&dpr=2&q=70&crop=focalpoint&fp-x=0.67&fp-y=0.5&fp-z=1.4&fit=crop" {...args} size={args.size === 'small'
68
+ ? '2'
69
+ : args.size === 'large'
70
+ ? '4'
71
+ : args.size === 'x-large'
72
+ ? '5'
73
+ : '3'}/>
74
+ <div className="grow">
75
+ <TextArea placeholder="Write a comment…" {...args} className="w-full"/>
76
+ <div className="flex mt-3 justify-end">
77
+ <PopoverClose {...args}>
78
+ <Button>Comment</Button>
79
+ </PopoverClose>
80
+ </div>
81
+ </div>
82
+ </PopoverContent>
83
+ </Popover>);
70
84
  };
71
85
  export var WithInset = function (_a) {
72
86
  var args = __rest(_a, []);
73
- return (_jsxs(Popover, __assign({}, args, { children: [_jsx(PopoverTrigger, { children: _jsx(Button, { children: "Share image" }) }), _jsx(PopoverContent, __assign({}, args, { children: _jsxs("div", { className: "grid grid-cols-[130px_1fr]", children: [_jsx(Inset, { side: "left", pr: "current", children: _jsx(Image, { src: "https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?&auto=format&fit=crop&w=400&q=80", alt: "toggle with inset", width: 150, height: 150, style: { objectFit: 'cover', width: '100%', height: '100%' } }) }), _jsxs("div", { children: [_jsx("span", { children: "Minimalistic 3D rendering wallpaper." }), _jsx("div", { className: "mt-2 flex-col items-stretch", children: _jsx(PopoverClose, __assign({}, args, { children: _jsx(Button, { children: "Copy link" }) })) })] })] }) }))] })));
87
+ return (<Popover {...args}>
88
+ <PopoverTrigger>
89
+ <Button>Share image</Button>
90
+ </PopoverTrigger>
91
+ <PopoverContent {...args}>
92
+ <div className="grid grid-cols-[130px_1fr]">
93
+ <Inset side="left" pr="current">
94
+ <Image src="https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?&auto=format&fit=crop&w=400&q=80" alt="toggle with inset" width={150} height={150} style={{ objectFit: 'cover', width: '100%', height: '100%' }}/>
95
+ </Inset>
96
+ <div>
97
+ <span>Minimalistic 3D rendering wallpaper.</span>
98
+ <div className="mt-2 flex-col items-stretch">
99
+ <PopoverClose {...args}>
100
+ <Button>Copy link</Button>
101
+ </PopoverClose>
102
+ </div>
103
+ </div>
104
+ </div>
105
+ </PopoverContent>
106
+ </Popover>);
74
107
  };
@@ -101,13 +101,13 @@ declare const meta: {
101
101
  export default meta;
102
102
  export declare const Default: ({ ...args }: {
103
103
  [x: string]: any;
104
- }) => import("react/jsx-runtime").JSX.Element;
104
+ }) => import("react").JSX.Element;
105
105
  export declare const Radius: ({ ...args }: {
106
106
  [x: string]: any;
107
- }) => import("react/jsx-runtime").JSX.Element;
107
+ }) => import("react").JSX.Element;
108
108
  export declare const Size: ({ ...args }: {
109
109
  [x: string]: any;
110
- }) => import("react/jsx-runtime").JSX.Element;
110
+ }) => import("react").JSX.Element;
111
111
  export declare const Variant: ({ ...args }: {
112
112
  [x: string]: any;
113
- }) => import("react/jsx-runtime").JSX.Element;
113
+ }) => import("react").JSX.Element;
@@ -20,7 +20,6 @@ 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";
24
23
  import { commonArgTypes, radiusOptions, sizeOptions } from '../../constants';
25
24
  import { Progress } from '../../components/Progress';
26
25
  var meta = {
@@ -59,19 +58,25 @@ var meta = {
59
58
  export default meta;
60
59
  export var Default = function (_a) {
61
60
  var args = __rest(_a, []);
62
- return _jsx(Progress, __assign({ value: 25 }, args));
61
+ return <Progress value={25} {...args}/>;
63
62
  };
64
63
  export var Radius = function (_a) {
65
64
  var args = __rest(_a, []);
66
- return (_jsx("div", { className: "flex flex-col space-y-3", children: radiusOptions.map(function (radius) { return (_jsx(Progress, __assign({ value: 25 }, args, { radius: radius }), radius)); }) }));
65
+ return (<div className="flex flex-col space-y-3">
66
+ {radiusOptions.map(function (radius) { return (<Progress key={radius} value={25} {...args} radius={radius}/>); })}
67
+ </div>);
67
68
  };
68
69
  export var Size = function (_a) {
69
70
  var args = __rest(_a, []);
70
- return (_jsx("div", { className: "flex flex-col space-y-3", children: sizeOptions
71
+ return (<div className="flex flex-col space-y-3">
72
+ {sizeOptions
71
73
  .filter(function (value) { return value != 'x-small' && value != 'x-large'; })
72
- .map(function (size) { return (_jsx(Progress, __assign({ value: 25 }, args, { size: size }), size)); }) }));
74
+ .map(function (size) { return (<Progress key={size} value={25} {...args} size={size}/>); })}
75
+ </div>);
73
76
  };
74
77
  export var Variant = function (_a) {
75
78
  var args = __rest(_a, []);
76
- return (_jsx("div", { className: "flex flex-col space-y-3", children: ['classic', 'surface', 'soft'].map(function (appearance) { return (_jsx(Default, __assign({ value: 25 }, args, { appearance: appearance }), appearance)); }) }));
79
+ return (<div className="flex flex-col space-y-3">
80
+ {['classic', 'surface', 'soft'].map(function (appearance) { return (<Default key={appearance} value={25} {...args} appearance={appearance}/>); })}
81
+ </div>);
77
82
  };
@@ -1,7 +1,8 @@
1
+ /// <reference types="react" />
1
2
  declare const meta: {
2
3
  title: string;
3
4
  component: {
4
- ({ className, labels, datasets, width, height, scaling, ...props }: import("components/RadarChart").RadarChartProps): import("react/jsx-runtime").JSX.Element;
5
+ ({ className, labels, datasets, width, height, scaling, ...props }: import("components/RadarChart").RadarChartProps): import("react").JSX.Element;
5
6
  displayName: string;
6
7
  };
7
8
  parameters: {
@@ -98,13 +99,13 @@ declare const meta: {
98
99
  export default meta;
99
100
  export declare const Default: ({ ...args }: {
100
101
  [x: string]: any;
101
- }) => import("react/jsx-runtime").JSX.Element;
102
+ }) => import("react").JSX.Element;
102
103
  export declare const DotsRadarChart: ({ ...args }: {
103
104
  [x: string]: any;
104
- }) => import("react/jsx-runtime").JSX.Element;
105
+ }) => import("react").JSX.Element;
105
106
  export declare const MultiDatasets: ({ ...args }: {
106
107
  [x: string]: any;
107
- }) => import("react/jsx-runtime").JSX.Element;
108
+ }) => import("react").JSX.Element;
108
109
  export declare const LinesOnly: ({ ...args }: {
109
110
  [x: string]: any;
110
- }) => import("react/jsx-runtime").JSX.Element;
111
+ }) => import("react").JSX.Element;
@@ -20,7 +20,6 @@ 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";
24
23
  import { RadarChart } from 'components/RadarChart';
25
24
  import { commonArgTypes, labelPositionList } from '../../constants';
26
25
  import { red, blue } from 'color/light';
@@ -111,7 +110,7 @@ export var Default = function (_a) {
111
110
  },
112
111
  },
113
112
  };
114
- return (_jsx(RadarChart, __assign({ width: 400, height: 300, labels: args.labels, datasets: args.datasets, options: options }, args)));
113
+ return (<RadarChart width={400} height={300} labels={args.labels} datasets={args.datasets} options={options} {...args}/>);
115
114
  };
116
115
  export var DotsRadarChart = function (_a) {
117
116
  var args = __rest(_a, []);
@@ -137,7 +136,7 @@ export var DotsRadarChart = function (_a) {
137
136
  },
138
137
  },
139
138
  };
140
- return (_jsx(RadarChart, { width: 400, height: 300, labels: args.labels, datasets: datasets, options: options }));
139
+ return (<RadarChart width={400} height={300} labels={args.labels} datasets={datasets} options={options}/>);
141
140
  };
142
141
  export var MultiDatasets = function (_a) {
143
142
  var args = __rest(_a, []);
@@ -168,7 +167,7 @@ export var MultiDatasets = function (_a) {
168
167
  },
169
168
  },
170
169
  };
171
- return (_jsx(RadarChart, { width: 400, height: 300, labels: args.labels, datasets: datasets, options: options }));
170
+ return (<RadarChart width={400} height={300} labels={args.labels} datasets={datasets} options={options}/>);
172
171
  };
173
172
  export var LinesOnly = function (_a) {
174
173
  var args = __rest(_a, []);
@@ -197,5 +196,5 @@ export var LinesOnly = function (_a) {
197
196
  },
198
197
  },
199
198
  };
200
- return (_jsx(RadarChart, { width: 400, height: 300, labels: args.labels, datasets: datasets, options: options }));
199
+ return (<RadarChart width={400} height={300} labels={args.labels} datasets={datasets} options={options}/>);
201
200
  };
@@ -99,10 +99,10 @@ declare const meta: {
99
99
  export default meta;
100
100
  export declare const Default: ({ ...args }: {
101
101
  [x: string]: any;
102
- }) => import("react/jsx-runtime").JSX.Element;
102
+ }) => import("react").JSX.Element;
103
103
  export declare const Size: ({ ...args }: {
104
104
  [x: string]: any;
105
- }) => import("react/jsx-runtime").JSX.Element;
105
+ }) => import("react").JSX.Element;
106
106
  export declare const Appearance: ({ ...args }: {
107
107
  [x: string]: any;
108
- }) => import("react/jsx-runtime").JSX.Element;
108
+ }) => import("react").JSX.Element;
@@ -20,7 +20,6 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
24
23
  import { commonArgTypes, sizeOptions } from '../../constants';
25
24
  import { Radio } from '../../components/Radio/index';
26
25
  var meta = {
@@ -72,13 +71,24 @@ var meta = {
72
71
  export default meta;
73
72
  export var Default = function (_a) {
74
73
  var args = __rest(_a, []);
75
- return (_jsxs(_Fragment, { children: [_jsx(Radio, __assign({ value: '1', name: 'example' }, args, { children: "radio option1" })), _jsx(Radio, __assign({ value: '2', name: 'example' }, args, { children: "radio option2" }))] }));
74
+ return (<>
75
+ <Radio value={'1'} name={'example'} {...args}>
76
+ radio option1
77
+ </Radio>
78
+ <Radio value={'2'} name={'example'} {...args}>
79
+ radio option2
80
+ </Radio>
81
+ </>);
76
82
  };
77
83
  export var Size = function (_a) {
78
84
  var args = __rest(_a, []);
79
- return (_jsx("div", { className: "flex items-center space-x-4", children: ['small', 'medium', 'large'].map(function (size) { return (_jsx(Radio, __assign({ size: size, value: '1', name: 'size', defaultChecked: size === 'small' }, args), size)); }) }));
85
+ return (<div className="flex items-center space-x-4">
86
+ {['small', 'medium', 'large'].map(function (size) { return (<Radio key={size} size={size} value={'1'} name={'size'} defaultChecked={size === 'small'} {...args}/>); })}
87
+ </div>);
80
88
  };
81
89
  export var Appearance = function (_a) {
82
90
  var args = __rest(_a, []);
83
- return (_jsx("div", { className: "flex items-center space-x-4", children: ['classic', 'soft', 'surface'].map(function (appearance) { return (_jsx(Radio, __assign({ value: appearance, appearance: appearance, name: 'appearance', defaultChecked: appearance === 'classic' }, args), appearance)); }) }));
91
+ return (<div className="flex items-center space-x-4">
92
+ {['classic', 'soft', 'surface'].map(function (appearance) { return (<Radio key={appearance} value={appearance} appearance={appearance} name={'appearance'} defaultChecked={appearance === 'classic'} {...args}/>); })}
93
+ </div>);
84
94
  };
@@ -115,13 +115,13 @@ declare const meta: {
115
115
  export default meta;
116
116
  export declare const Default: ({ ...args }: {
117
117
  [x: string]: any;
118
- }) => import("react/jsx-runtime").JSX.Element;
118
+ }) => import("react").JSX.Element;
119
119
  export declare const Radius: ({ ...args }: {
120
120
  [x: string]: any;
121
- }) => import("react/jsx-runtime").JSX.Element;
121
+ }) => import("react").JSX.Element;
122
122
  export declare const Size: ({ ...args }: {
123
123
  [x: string]: any;
124
- }) => import("react/jsx-runtime").JSX.Element;
124
+ }) => import("react").JSX.Element;
125
125
  export declare const States: ({ ...args }: {
126
126
  [x: string]: any;
127
- }) => import("react/jsx-runtime").JSX.Element;
127
+ }) => import("react").JSX.Element;