@lotte-innovate/ui-component-test 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (269) hide show
  1. package/README.md +163 -163
  2. package/dist/Typography/Header/index.d.ts +1 -1
  3. package/dist/Typography/Header/{index.js → index.jsx} +5 -2
  4. package/dist/Typography/Text/{index.js → index.jsx} +6 -3
  5. package/dist/Typography/index.d.ts +2 -2
  6. package/dist/Typography/index.js +3 -3
  7. package/dist/app/layout.d.ts +1 -1
  8. package/dist/app/{layout.js → layout.jsx} +3 -2
  9. package/dist/app/page.d.ts +2 -1
  10. package/dist/app/page.jsx +42 -0
  11. package/dist/app/template/badgeTemplate.d.ts +2 -1
  12. package/dist/app/template/badgeTemplate.jsx +82 -0
  13. package/dist/app/template/buttonTemplate.d.ts +2 -1
  14. package/dist/app/template/buttonTemplate.jsx +82 -0
  15. package/dist/app/template/colorPicker.d.ts +2 -1
  16. package/dist/app/template/colorPicker.jsx +19 -0
  17. package/dist/app/template/textTemplate.d.ts +2 -1
  18. package/dist/app/template/textTemplate.jsx +72 -0
  19. package/dist/app/template/theme.d.ts +2 -2
  20. package/dist/app/template/theme.jsx +44 -0
  21. package/dist/components/Accordion/{index.js → index.jsx} +17 -5
  22. package/dist/components/AlertDialog/{AlertDialogAction.js → AlertDialogAction.jsx} +5 -4
  23. package/dist/components/AlertDialog/{AlertDialogCancel.js → AlertDialogCancel.jsx} +5 -4
  24. package/dist/components/AlertDialog/{AlertDialogContent.js → AlertDialogContent.jsx} +8 -4
  25. package/dist/components/AlertDialog/{AlertDialogDescription.js → AlertDialogDescription.jsx} +5 -15
  26. package/dist/components/AlertDialog/{AlertDialogTitle.js → AlertDialogTitle.jsx} +5 -15
  27. package/dist/components/AlertDialog/{AlertDialogTrigger.js → AlertDialogTrigger.jsx} +5 -4
  28. package/dist/components/AlertDialog/{index.js → index.jsx} +2 -14
  29. package/dist/components/AspectRatio/{index.js → index.jsx} +5 -4
  30. package/dist/components/Avatar/{index.js → index.jsx} +8 -4
  31. package/dist/components/Badge/{index.js → index.jsx} +4 -3
  32. package/dist/components/BubbleChart/index.d.ts +2 -1
  33. package/dist/components/BubbleChart/{index.js → index.jsx} +3 -3
  34. package/dist/components/Button/{index.js → index.jsx} +5 -4
  35. package/dist/components/Callout/{CalloutIcon.js → CalloutIcon.jsx} +9 -4
  36. package/dist/components/Callout/{CalloutText.js → CalloutText.jsx} +5 -15
  37. package/dist/components/Callout/{index.js → index.jsx} +7 -4
  38. package/dist/components/Card/{index.js → index.jsx} +5 -4
  39. package/dist/components/Checkbox/{index.js → index.jsx} +12 -4
  40. package/dist/components/CheckboxCard/{index.js → index.jsx} +6 -4
  41. package/dist/components/CheckboxGroup/{CheckboxGroupItem.js → CheckboxGroupItem.jsx} +6 -14
  42. package/dist/components/CheckboxGroup/{index.js → index.jsx} +6 -3
  43. package/dist/components/ContextMenu/{ContextMenuCheckboxItem.js → ContextMenuCheckboxItem.jsx} +8 -15
  44. package/dist/components/ContextMenu/{ContextMenuContent.js → ContextMenuContent.jsx} +7 -4
  45. package/dist/components/ContextMenu/{ContextMenuGroup.js → ContextMenuGroup.jsx} +4 -14
  46. package/dist/components/ContextMenu/{ContextMenuItem.js → ContextMenuItem.jsx} +6 -4
  47. package/dist/components/ContextMenu/{ContextMenuItemIndicator.js → ContextMenuItemIndicator.jsx} +5 -4
  48. package/dist/components/ContextMenu/{ContextMenuLabel.js → ContextMenuLabel.jsx} +5 -4
  49. package/dist/components/ContextMenu/{ContextMenuRadioGroup.js → ContextMenuRadioGroup.jsx} +6 -14
  50. package/dist/components/ContextMenu/{ContextMenuRadioItem.js → ContextMenuRadioItem.jsx} +8 -15
  51. package/dist/components/ContextMenu/{ContextMenuSeparator.js → ContextMenuSeparator.jsx} +5 -15
  52. package/dist/components/ContextMenu/{ContextMenuSubContent.js → ContextMenuSubContent.jsx} +10 -7
  53. package/dist/components/ContextMenu/{ContextMenuSubTrigger.js → ContextMenuSubTrigger.jsx} +10 -15
  54. package/dist/components/ContextMenu/{ContextMenuTrigger.js → ContextMenuTrigger.jsx} +5 -15
  55. package/dist/components/ContextMenu/{index.js → index.jsx} +4 -14
  56. package/dist/components/DataList/{DataListItem.js → DataListItem.jsx} +5 -4
  57. package/dist/components/DataList/{DataListLabel.js → DataListLabel.jsx} +5 -4
  58. package/dist/components/DataList/{DataListValue.js → DataListValue.jsx} +5 -4
  59. package/dist/components/DataList/{index.js → index.jsx} +7 -15
  60. package/dist/components/Dialog/{DialogAction.js → DialogAction.jsx} +5 -15
  61. package/dist/components/Dialog/{DialogCancel.js → DialogCancel.jsx} +5 -15
  62. package/dist/components/Dialog/{DialogContent.js → DialogContent.jsx} +5 -4
  63. package/dist/components/Dialog/{DialogDescription.js → DialogDescription.jsx} +5 -15
  64. package/dist/components/Dialog/{DialogSlot.js → DialogSlot.jsx} +5 -15
  65. package/dist/components/Dialog/{DialogTitle.js → DialogTitle.jsx} +5 -15
  66. package/dist/components/Dialog/{DialogTrigger.js → DialogTrigger.jsx} +4 -14
  67. package/dist/components/Dialog/{index.js → index.jsx} +4 -14
  68. package/dist/components/DoughnutChart/index.d.ts +2 -1
  69. package/dist/components/DoughnutChart/{index.js → index.jsx} +3 -3
  70. package/dist/components/DropdownMenu/{DropdonMenuRadioGroup.js → DropdonMenuRadioGroup.jsx} +6 -14
  71. package/dist/components/DropdownMenu/{DropdonMenuSubContent.js → DropdonMenuSubContent.jsx} +11 -8
  72. package/dist/components/DropdownMenu/{DropdownMenuCheckboxItem.js → DropdownMenuCheckboxItem.jsx} +8 -15
  73. package/dist/components/DropdownMenu/{DropdownMenuContent.js → DropdownMenuContent.jsx} +7 -4
  74. package/dist/components/DropdownMenu/{DropdownMenuItem.js → DropdownMenuItem.jsx} +6 -4
  75. package/dist/components/DropdownMenu/{DropdownMenuItemIndicator.js → DropdownMenuItemIndicator.jsx} +5 -4
  76. package/dist/components/DropdownMenu/{DropdownMenuLable.js → DropdownMenuLable.jsx} +5 -4
  77. package/dist/components/DropdownMenu/{DropdownMenuRadioItem.js → DropdownMenuRadioItem.jsx} +8 -15
  78. package/dist/components/DropdownMenu/{DropdownMenuSeparator.js → DropdownMenuSeparator.jsx} +3 -15
  79. package/dist/components/DropdownMenu/{DropdownMenuSub.js → DropdownMenuSub.jsx} +2 -14
  80. package/dist/components/DropdownMenu/{DropdownMenuSubTrigger.js → DropdownMenuSubTrigger.jsx} +7 -14
  81. package/dist/components/DropdownMenu/{DropdownMenuTrigger.js → DropdownMenuTrigger.jsx} +4 -14
  82. package/dist/components/DropdownMenu/{index.js → index.jsx} +2 -14
  83. package/dist/components/HoverCard/{HoverCardContent.js → HoverCardContent.jsx} +4 -3
  84. package/dist/components/HoverCard/{HoverCardTrigger.js → HoverCardTrigger.jsx} +4 -14
  85. package/dist/components/HoverCard/{index.js → index.jsx} +4 -14
  86. package/dist/components/IconButton/{index.js → index.jsx} +3 -2
  87. package/dist/components/Inset/{index.js → index.jsx} +6 -3
  88. package/dist/components/Label/{index.js → index.jsx} +3 -2
  89. package/dist/components/Menubar/{MenubarCheckboxItem.js → MenubarCheckboxItem.jsx} +8 -15
  90. package/dist/components/Menubar/{MenubarContent.js → MenubarContent.jsx} +11 -8
  91. package/dist/components/Menubar/{MenubarItem.js → MenubarItem.jsx} +6 -4
  92. package/dist/components/Menubar/{MenubarItemIndicator.js → MenubarItemIndicator.jsx} +5 -4
  93. package/dist/components/Menubar/{MenubarMenu.js → MenubarMenu.jsx} +2 -14
  94. package/dist/components/Menubar/{MenubarRadioGroup.js → MenubarRadioGroup.jsx} +6 -14
  95. package/dist/components/Menubar/{MenubarRadioItem.js → MenubarRadioItem.jsx} +8 -15
  96. package/dist/components/Menubar/{MenubarSeparator.js → MenubarSeparator.jsx} +5 -15
  97. package/dist/components/Menubar/{MenubarSub.js → MenubarSub.jsx} +2 -14
  98. package/dist/components/Menubar/{MenubarSubContent.js → MenubarSubContent.jsx} +6 -5
  99. package/dist/components/Menubar/{MenubarSubTrigger.js → MenubarSubTrigger.jsx} +8 -15
  100. package/dist/components/Menubar/{MenubarTrigger.js → MenubarTrigger.jsx} +5 -4
  101. package/dist/components/Menubar/{index.js → index.jsx} +7 -4
  102. package/dist/components/NavigationMenu/{NavigationMenuContent.js → NavigationMenuContent.jsx} +5 -4
  103. package/dist/components/NavigationMenu/NavigationMenuIndicator.jsx +22 -0
  104. package/dist/components/NavigationMenu/{NavigationMenuItem.js → NavigationMenuItem.jsx} +4 -14
  105. package/dist/components/NavigationMenu/{NavigationMenuLink.js → NavigationMenuLink.jsx} +5 -4
  106. package/dist/components/NavigationMenu/{NavigationMenuList.js → NavigationMenuList.jsx} +6 -4
  107. package/dist/components/NavigationMenu/{NavigationMenuTrigger.js → NavigationMenuTrigger.jsx} +6 -4
  108. package/dist/components/NavigationMenu/{NavigationMenuViewport.js → NavigationMenuViewport.jsx} +5 -4
  109. package/dist/components/NavigationMenu/{index.js → index.jsx} +7 -15
  110. package/dist/components/PieChart/index.d.ts +2 -1
  111. package/dist/components/PieChart/{index.js → index.jsx} +3 -3
  112. package/dist/components/Popover/{PopoverClose.js → PopoverClose.jsx} +4 -14
  113. package/dist/components/Popover/{PopoverContent.js → PopoverContent.jsx} +4 -3
  114. package/dist/components/Popover/{PopoverTrigger.js → PopoverTrigger.jsx} +4 -14
  115. package/dist/components/Popover/{index.js → index.jsx} +4 -14
  116. package/dist/components/Progress/{index.js → index.jsx} +4 -3
  117. package/dist/components/RadarChart/index.d.ts +2 -1
  118. package/dist/components/RadarChart/{index.js → index.jsx} +2 -2
  119. package/dist/components/Radio/{index.js → index.jsx} +8 -13
  120. package/dist/components/RadioCards/{RadioCardsItem.js → RadioCardsItem.jsx} +4 -14
  121. package/dist/components/RadioCards/{index.js → index.jsx} +6 -3
  122. package/dist/components/RadioGroup/{RadioGroupItem.js → RadioGroupItem.jsx} +4 -14
  123. package/dist/components/RadioGroup/{index.js → index.jsx} +6 -14
  124. package/dist/components/ScrollArea/{index.js → index.jsx} +6 -14
  125. package/dist/components/SegmentedControl/{SegmentedControlItem.js → SegmentedControlItem.jsx} +4 -14
  126. package/dist/components/SegmentedControl/{index.js → index.jsx} +5 -2
  127. package/dist/components/Select/{index.js → index.jsx} +24 -9
  128. package/dist/components/Separator/{index.js → index.jsx} +6 -3
  129. package/dist/components/Skeleton/{index.js → index.jsx} +6 -3
  130. package/dist/components/Slider/{index.js → index.jsx} +4 -3
  131. package/dist/components/Spinner/{index.js → index.jsx} +5 -2
  132. package/dist/components/TabNav/{index.js → index.jsx} +8 -14
  133. package/dist/components/Table/{index.js → index.jsx} +23 -8
  134. package/dist/components/Tabs/{index.js → index.jsx} +14 -5
  135. package/dist/components/TextArea/{index.js → index.jsx} +3 -2
  136. package/dist/components/TextField/{index.js → index.jsx} +9 -4
  137. package/dist/components/Toast/{ToastActionButton.js → ToastActionButton.jsx} +5 -4
  138. package/dist/components/Toast/{ToastDescription.js → ToastDescription.jsx} +7 -15
  139. package/dist/components/Toast/{ToastTitle.js → ToastTitle.jsx} +5 -15
  140. package/dist/components/Toast/{index.js → index.jsx} +10 -4
  141. package/dist/components/Toggle/{ToggleWithText.js → ToggleWithText.jsx} +6 -4
  142. package/dist/components/Toggle/{index.js → index.jsx} +4 -3
  143. package/dist/components/ToggleGroup/{index.js → index.jsx} +6 -3
  144. package/dist/components/ToggleGroup/{toggleGroupItem.js → toggleGroupItem.jsx} +4 -14
  145. package/dist/components/ToggleSwitch/{index.js → index.jsx} +6 -2
  146. package/dist/components/Tooltip/index.d.ts +1 -1
  147. package/dist/components/Tooltip/{index.js → index.jsx} +12 -3
  148. package/dist/components/index.d.ts +2 -0
  149. package/dist/index.d.ts +5 -2
  150. package/dist/index.js +3 -0
  151. package/dist/stories/Welcome.d.ts +2 -1
  152. package/dist/stories/Welcome.jsx +48 -0
  153. package/dist/stories/accordion/Accordion.stories.d.ts +1 -1
  154. package/dist/stories/accordion/{Accordion.stories.js → Accordion.stories.jsx} +20 -2
  155. package/dist/stories/alert-dialog/AlertDialog.stories.d.ts +1 -1
  156. package/dist/stories/alert-dialog/{AlertDialog.stories.js → AlertDialog.stories.jsx} +15 -2
  157. package/dist/stories/aspect-ratio/AspectRatio.stories.d.ts +3 -3
  158. package/dist/stories/aspect-ratio/AspectRatio.stories.jsx +106 -0
  159. package/dist/stories/avatar/Avatar.stories.d.ts +5 -5
  160. package/dist/stories/avatar/{Avatar.stories.js → Avatar.stories.jsx} +17 -6
  161. package/dist/stories/badge/Badge.stories.d.ts +6 -6
  162. package/dist/stories/badge/{Badge.stories.js → Badge.stories.jsx} +51 -7
  163. package/dist/stories/bubble-chart/BubbleChart.stories.d.ts +5 -4
  164. package/dist/stories/bubble-chart/{BubbleChart.stories.js → BubbleChart.stories.jsx} +12 -4
  165. package/dist/stories/button/Button.stories.d.ts +7 -7
  166. package/dist/stories/button/{Button.stories.js → Button.stories.jsx} +41 -8
  167. package/dist/stories/button/IconButton.stories.d.ts +4 -4
  168. package/dist/stories/button/{IconButton.stories.js → IconButton.stories.jsx} +18 -5
  169. package/dist/stories/callout/Callout.stories.d.ts +7 -7
  170. package/dist/stories/callout/Callout.stories.jsx +205 -0
  171. package/dist/stories/card/Card.stories.d.ts +5 -5
  172. package/dist/stories/card/{Card.stories.js → Card.stories.jsx} +56 -6
  173. package/dist/stories/checkbox/Checkbox.stories.d.ts +6 -6
  174. package/dist/stories/checkbox/{Checkbox.stories.js → Checkbox.stories.jsx} +63 -7
  175. package/dist/stories/checkbox/CheckboxCard.stories.d.ts +5 -5
  176. package/dist/stories/checkbox/{CheckboxCard.stories.js → CheckboxCard.stories.jsx} +41 -6
  177. package/dist/stories/checkbox/CheckboxGroup.stories.d.ts +3 -3
  178. package/dist/stories/checkbox/{CheckboxGroup.stories.js → CheckboxGroup.stories.jsx} +76 -4
  179. package/dist/stories/context-menu/ContextMenu.stories.d.ts +4 -4
  180. package/dist/stories/context-menu/{ContextMenu.stories.js → ContextMenu.stories.jsx} +74 -5
  181. package/dist/stories/data-list/DataList.stories.d.ts +4 -4
  182. package/dist/stories/data-list/DataList.stories.jsx +185 -0
  183. package/dist/stories/dialog/Dialog.stories.d.ts +1 -1
  184. package/dist/stories/dialog/{Dialog.stories.js → Dialog.stories.jsx} +25 -2
  185. package/dist/stories/doughnut-chart/DoughnutChart.stories.d.ts +5 -4
  186. package/dist/stories/doughnut-chart/{DoughnutChart.stories.js → DoughnutChart.stories.jsx} +12 -4
  187. package/dist/stories/dropdown-menu/DropdownMenu.stories.d.ts +4 -4
  188. package/dist/stories/dropdown-menu/DropdownMenu.stories.jsx +170 -0
  189. package/dist/stories/header/Header.stories.d.ts +6 -6
  190. package/dist/stories/header/{Header.stories.js → Header.stories.jsx} +26 -7
  191. package/dist/stories/hover-card/HoverCard.stories.d.ts +2 -2
  192. package/dist/stories/hover-card/{HoverCard.stories.js → HoverCard.stories.jsx} +30 -3
  193. package/dist/stories/inset/Inset.stories.d.ts +2 -2
  194. package/dist/stories/inset/{Inset.stories.js → Inset.stories.jsx} +27 -12
  195. package/dist/stories/label/Label.stories.d.ts +4 -4
  196. package/dist/stories/label/{Label.stories.js → Label.stories.jsx} +26 -5
  197. package/dist/stories/menubar/Menubar.stories.d.ts +1 -1
  198. package/dist/stories/menubar/{Menubar.stories.js → Menubar.stories.jsx} +45 -8
  199. package/dist/stories/navigation-menu/NavigationMenu.stories.d.ts +13 -13
  200. package/dist/stories/navigation-menu/{NavigationMenu.stories.js → NavigationMenu.stories.jsx} +69 -4
  201. package/dist/stories/pie-chart/PieChart.stories.d.ts +6 -5
  202. package/dist/stories/pie-chart/{PieChart.stories.js → PieChart.stories.jsx} +32 -13
  203. package/dist/stories/popover/Popover.stories.d.ts +2 -2
  204. package/dist/stories/popover/{Popover.stories.js → Popover.stories.jsx} +42 -9
  205. package/dist/stories/progress/Progress.stories.d.ts +4 -4
  206. package/dist/stories/progress/{Progress.stories.js → Progress.stories.jsx} +11 -6
  207. package/dist/stories/radar-chart/RadarChart.stories.d.ts +6 -5
  208. package/dist/stories/radar-chart/{RadarChart.stories.js → RadarChart.stories.jsx} +4 -5
  209. package/dist/stories/radio/Radio.stories.d.ts +3 -3
  210. package/dist/stories/radio/{Radio.stories.js → Radio.stories.jsx} +14 -4
  211. package/dist/stories/radio/RadioCards.stories.d.ts +4 -4
  212. package/dist/stories/radio/{RadioCards.stories.js → RadioCards.stories.jsx} +64 -5
  213. package/dist/stories/radio/RadioGroup.stories.d.ts +4 -4
  214. package/dist/stories/radio/{RadioGroup.stories.js → RadioGroup.stories.jsx} +59 -5
  215. package/dist/stories/scroll-area/ScrollArea.stories.d.ts +2 -2
  216. package/dist/stories/scroll-area/ScrollArea.stories.jsx +123 -0
  217. package/dist/stories/segmented-control/SegmentedControl.stories.d.ts +4 -4
  218. package/dist/stories/segmented-control/{SegmentedControl.stories.js → SegmentedControl.stories.jsx} +26 -5
  219. package/dist/stories/select/Select.stories.d.ts +5 -5
  220. package/dist/stories/select/{Select.stories.js → Select.stories.jsx} +67 -6
  221. package/dist/stories/separator/Separator.stories.d.ts +4 -4
  222. package/dist/stories/separator/{Separator.stories.js → Separator.stories.jsx} +29 -5
  223. package/dist/stories/skeleton/Skeleton.stories.d.ts +5 -5
  224. package/dist/stories/skeleton/{Skeleton.stories.js → Skeleton.stories.jsx} +33 -6
  225. package/dist/stories/slider/Slider.stories.d.ts +4 -4
  226. package/dist/stories/slider/{Slider.stories.js → Slider.stories.jsx} +16 -5
  227. package/dist/stories/spinner/Spinner.stories.d.ts +5 -5
  228. package/dist/stories/spinner/{Spinner.stories.js → Spinner.stories.jsx} +31 -6
  229. package/dist/stories/switch/Switch.stories.d.ts +4 -4
  230. package/dist/stories/switch/{Switch.stories.js → Switch.stories.jsx} +16 -5
  231. package/dist/stories/tab-nav/TabNav.stories.d.ts +1 -1
  232. package/dist/stories/tab-nav/{TabNav.stories.js → TabNav.stories.jsx} +11 -2
  233. package/dist/stories/table/Table.stories.d.ts +1 -1
  234. package/dist/stories/table/{Table.stories.js → Table.stories.jsx} +29 -2
  235. package/dist/stories/tabs/Tabs.stories.d.ts +1 -1
  236. package/dist/stories/tabs/{Tabs.stories.js → Tabs.stories.jsx} +19 -2
  237. package/dist/stories/text/Text.stories.d.ts +5 -5
  238. package/dist/stories/text/{Text.stories.js → Text.stories.jsx} +21 -6
  239. package/dist/stories/textArea/TextArea.stories.d.ts +5 -5
  240. package/dist/stories/textArea/{TextArea.stories.js → TextArea.stories.jsx} +22 -6
  241. package/dist/stories/textfield/TextField.stories.d.ts +5 -5
  242. package/dist/stories/textfield/{TextField.stories.js → TextField.stories.jsx} +38 -6
  243. package/dist/stories/toast/Toast.stories.d.ts +3 -3
  244. package/dist/stories/toast/{Toast.stories.js → Toast.stories.jsx} +22 -4
  245. package/dist/stories/toggle/Toggle.stories.d.ts +5 -5
  246. package/dist/stories/toggle/{Toggle.stories.js → Toggle.stories.jsx} +23 -6
  247. package/dist/stories/toggle/ToggleGroup.stories.d.ts +3 -3
  248. package/dist/stories/toggle/{ToggleGroup.stories.js → ToggleGroup.stories.jsx} +39 -6
  249. package/dist/stories/tooltip/Tooltip.stories.d.ts +3 -3
  250. package/dist/stories/tooltip/{Tooltip.stories.js → Tooltip.stories.jsx} +17 -4
  251. package/dist/tsconfig.tsbuildinfo +1 -1
  252. package/package.json +118 -120
  253. package/dist/app/page.js +0 -6
  254. package/dist/app/template/badgeTemplate.js +0 -11
  255. package/dist/app/template/buttonTemplate.js +0 -11
  256. package/dist/app/template/colorPicker.js +0 -14
  257. package/dist/app/template/textTemplate.js +0 -23
  258. package/dist/app/template/theme.js +0 -12
  259. package/dist/components/Input/Input.stories.d.ts +0 -77
  260. package/dist/components/Input/Input.stories.js +0 -74
  261. package/dist/components/Input/index.d.ts +0 -14
  262. package/dist/components/Input/index.js +0 -53
  263. package/dist/components/NavigationMenu/NavigationMenuIndicator.js +0 -31
  264. package/dist/stories/Welcome.js +0 -30
  265. package/dist/stories/aspect-ratio/AspectRatio.stories.js +0 -78
  266. package/dist/stories/callout/Callout.stories.js +0 -104
  267. package/dist/stories/data-list/DataList.stories.js +0 -87
  268. package/dist/stories/dropdown-menu/DropdownMenu.stories.js +0 -75
  269. 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 { commonArgTypes, appearanceOptions, sizeOptions } from '../../../src/constants';
25
24
  import { CheckboxGroupItem, CheckboxGroup } from 'components/CheckboxGroup';
26
25
  var meta = {
@@ -60,13 +59,86 @@ var meta = {
60
59
  export default meta;
61
60
  export var Default = function (_a) {
62
61
  var args = __rest(_a, []);
63
- return (_jsxs(CheckboxGroup, { defaultValue: ['apple'], children: [_jsx(CheckboxGroupItem, __assign({ id: 'apple' }, args, { children: "\uC0AC\uACFC\uD83C\uDF4E" })), _jsx(CheckboxGroupItem, __assign({ id: 'orange' }, args, { children: "\uC624\uB80C\uC9C0\uD83C\uDF4A" })), _jsx(CheckboxGroupItem, __assign({ id: 'banana' }, args, { children: "\uBC14\uB098\uB098\uD83C\uDF4C" }))] }));
62
+ return (<CheckboxGroup defaultValue={['apple']}>
63
+ <CheckboxGroupItem id={'apple'} {...args}>
64
+ 사과🍎
65
+ </CheckboxGroupItem>
66
+ <CheckboxGroupItem id={'orange'} {...args}>
67
+ 오렌지🍊
68
+ </CheckboxGroupItem>
69
+ <CheckboxGroupItem id={'banana'} {...args}>
70
+ 바나나🍌
71
+ </CheckboxGroupItem>
72
+ </CheckboxGroup>);
64
73
  };
65
74
  export var Size = function (_a) {
66
75
  var args = __rest(_a, []);
67
- return (_jsxs("div", { className: "flex flex-col space-y-6", children: [_jsxs(CheckboxGroup, { size: 'small', defaultValue: ['size-s1'], children: [_jsx(CheckboxGroupItem, __assign({ id: "size-s1" }, args, { children: "Agree to Terms and Conditions" })), _jsx(CheckboxGroupItem, __assign({ id: "size-s2" }, args, { children: "Agree to Privacy Policy" }))] }), _jsxs(CheckboxGroup, { size: 'medium', defaultValue: ['size-m1'], children: [_jsx(CheckboxGroupItem, __assign({ id: "size-m1" }, args, { children: "Agree to Terms and Conditions" })), _jsx(CheckboxGroupItem, __assign({ id: "size-m2" }, args, { children: "Agree to Privacy Policy" }))] }), _jsxs(CheckboxGroup, { size: 'large', defaultValue: ['size-l1'], children: [_jsx(CheckboxGroupItem, __assign({ id: "size-l1" }, args, { children: "Agree to Terms and Conditions" })), _jsx(CheckboxGroupItem, __assign({ id: "size-l2" }, args, { children: "Agree to Privacy Policy" }))] })] }));
76
+ return (<div className="flex flex-col space-y-6">
77
+ <CheckboxGroup size={'small'} defaultValue={['size-s1']}>
78
+ <CheckboxGroupItem id="size-s1" {...args}>
79
+ Agree to Terms and Conditions
80
+ </CheckboxGroupItem>
81
+ <CheckboxGroupItem id="size-s2" {...args}>
82
+ Agree to Privacy Policy
83
+ </CheckboxGroupItem>
84
+ </CheckboxGroup>
85
+
86
+ <CheckboxGroup size={'medium'} defaultValue={['size-m1']}>
87
+ <CheckboxGroupItem id="size-m1" {...args}>
88
+ Agree to Terms and Conditions
89
+ </CheckboxGroupItem>
90
+ <CheckboxGroupItem id="size-m2" {...args}>
91
+ Agree to Privacy Policy
92
+ </CheckboxGroupItem>
93
+ </CheckboxGroup>
94
+
95
+ <CheckboxGroup size={'large'} defaultValue={['size-l1']}>
96
+ <CheckboxGroupItem id="size-l1" {...args}>
97
+ Agree to Terms and Conditions
98
+ </CheckboxGroupItem>
99
+ <CheckboxGroupItem id="size-l2" {...args}>
100
+ Agree to Privacy Policy
101
+ </CheckboxGroupItem>
102
+ </CheckboxGroup>
103
+ </div>);
68
104
  };
69
105
  export var Radius = function (_a) {
70
106
  var args = __rest(_a, []);
71
- return (_jsxs("div", { className: "flex flex-col space-y-6", children: [_jsxs(CheckboxGroup, { defaultValue: ['radius-none-1'], radius: 'none', children: [_jsx(CheckboxGroupItem, __assign({ id: "radius-none-1" }, args, { children: "\uCCB4\uD06C\uBC15\uC2A41" })), _jsx(CheckboxGroupItem, __assign({ id: "radius-none-2" }, args, { children: "\uCCB4\uD06C\uBC15\uC2A42" }))] }), _jsxs(CheckboxGroup, { defaultValue: ['radius-small-1'], radius: 'small', children: [_jsx(CheckboxGroupItem, __assign({ id: "radius-small-1" }, args, { children: "\uCCB4\uD06C\uBC15\uC2A41" })), _jsx(CheckboxGroupItem, __assign({ id: "radius-small-2" }, args, { children: "\uCCB4\uD06C\uBC15\uC2A42" }))] }), _jsxs(CheckboxGroup, { defaultValue: ['radius-medium-1'], radius: 'medium', children: [_jsx(CheckboxGroupItem, __assign({ id: "radius-medium-1" }, args, { children: "\uCCB4\uD06C\uBC15\uC2A41" })), _jsx(CheckboxGroupItem, __assign({ id: "radius-medium-2" }, args, { children: "\uCCB4\uD06C\uBC15\uC2A42" }))] }), _jsxs(CheckboxGroup, { defaultValue: ['radius-large-1'], radius: 'large', children: [_jsx(CheckboxGroupItem, __assign({ id: "radius-large-1" }, args, { children: "\uCCB4\uD06C\uBC15\uC2A41" })), _jsx(CheckboxGroupItem, __assign({ id: "radius-large-2" }, args, { children: "\uCCB4\uD06C\uBC15\uC2A42" }))] })] }));
107
+ return (<div className="flex flex-col space-y-6">
108
+ <CheckboxGroup defaultValue={['radius-none-1']} radius={'none'}>
109
+ <CheckboxGroupItem id="radius-none-1" {...args}>
110
+ 체크박스1
111
+ </CheckboxGroupItem>
112
+ <CheckboxGroupItem id="radius-none-2" {...args}>
113
+ 체크박스2
114
+ </CheckboxGroupItem>
115
+ </CheckboxGroup>
116
+
117
+ <CheckboxGroup defaultValue={['radius-small-1']} radius={'small'}>
118
+ <CheckboxGroupItem id="radius-small-1" {...args}>
119
+ 체크박스1
120
+ </CheckboxGroupItem>
121
+ <CheckboxGroupItem id="radius-small-2" {...args}>
122
+ 체크박스2
123
+ </CheckboxGroupItem>
124
+ </CheckboxGroup>
125
+
126
+ <CheckboxGroup defaultValue={['radius-medium-1']} radius={'medium'}>
127
+ <CheckboxGroupItem id="radius-medium-1" {...args}>
128
+ 체크박스1
129
+ </CheckboxGroupItem>
130
+ <CheckboxGroupItem id="radius-medium-2" {...args}>
131
+ 체크박스2
132
+ </CheckboxGroupItem>
133
+ </CheckboxGroup>
134
+
135
+ <CheckboxGroup defaultValue={['radius-large-1']} radius={'large'}>
136
+ <CheckboxGroupItem id="radius-large-1" {...args}>
137
+ 체크박스1
138
+ </CheckboxGroupItem>
139
+ <CheckboxGroupItem id="radius-large-2" {...args}>
140
+ 체크박스2
141
+ </CheckboxGroupItem>
142
+ </CheckboxGroup>
143
+ </div>);
72
144
  };
@@ -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 Appearance: ({ ...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, jsxs as _jsxs } from "react/jsx-runtime";
24
23
  import { radiusOptions, commonArgTypes, sizeOptions, appearanceOptions } from '../../constants';
25
24
  import { ContextMenuContent, ContextMenu, ContextMenuTrigger, ContextMenuLabel, ContextMenuItem, ContextMenuCheckboxItem, ContextMenuGroup, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuSubTrigger, ContextMenuSubContent, } from 'components/ContextMenu';
26
25
  import { Text } from 'Typography/Text';
@@ -70,17 +69,87 @@ var meta = {
70
69
  export default meta;
71
70
  export var Default = function (_a) {
72
71
  var args = __rest(_a, []);
73
- return (_jsxs(ContextMenu, __assign({}, args, { children: [_jsx(ContextMenuTrigger, { children: _jsx(Text, { children: "Right-click here." }) }), _jsxs(ContextMenuContent, { children: [_jsx(ContextMenuLabel, { children: "\uB77C\uBCA8" }), _jsx(ContextMenuItem, { shortcut: "\u2318 T", children: "\uAE30\uBCF8 \uC544\uC774\uD15C" }), _jsx(ContextMenuItem, { disabled: true, children: "\uC0AC\uC6A9\uBD88\uAC00 \uC544\uC774\uD15C" }), _jsx(ContextMenuSeparator, {}), _jsxs(ContextMenuGroup, { children: [_jsx(ContextMenuItem, { children: "\uADF8\uB8F9 \uC544\uC774\uD15C1" }), _jsx(ContextMenuItem, { children: "\uADF8\uB8F9 \uC544\uC774\uD15C2" })] }), _jsx(ContextMenuSeparator, {}), _jsx(ContextMenuCheckboxItem, { checked: true, children: "checked \uC544\uC774\uD15C" }), _jsx(ContextMenuCheckboxItem, { checked: false, children: "unchecked \uC544\uC774\uD15C" }), _jsx(ContextMenuSeparator, {}), _jsxs(ContextMenuRadioGroup, { value: 'apple', children: [_jsx(ContextMenuRadioItem, { value: 'apple', children: "\uB77C\uB514\uC624 \uC544\uC774\uD15C1" }), _jsx(ContextMenuRadioItem, { value: 'banana', children: "\uB77C\uB514\uC624 \uC544\uC774\uD15C2" })] }), _jsx(ContextMenuSeparator, {}), _jsxs(ContextMenuSubTrigger, { children: ["More Menu", ' ', _jsxs(ContextMenuSubContent, { children: [_jsx(ContextMenuItem, { children: "\uC11C\uBE0C \uC544\uC774\uD15C1" }), _jsx(ContextMenuItem, { children: "\uC11C\uBE0C \uC544\uC774\uD15C2" })] })] })] })] })));
72
+ return (<ContextMenu {...args}>
73
+ <ContextMenuTrigger>
74
+ <Text>Right-click here.</Text>
75
+ </ContextMenuTrigger>
76
+ <ContextMenuContent>
77
+ <ContextMenuLabel>라벨</ContextMenuLabel>
78
+ <ContextMenuItem shortcut="⌘ T">기본 아이템</ContextMenuItem>
79
+ <ContextMenuItem disabled>사용불가 아이템</ContextMenuItem>
80
+ <ContextMenuSeparator />
81
+ <ContextMenuGroup>
82
+ <ContextMenuItem>그룹 아이템1</ContextMenuItem>
83
+ <ContextMenuItem>그룹 아이템2</ContextMenuItem>
84
+ </ContextMenuGroup>
85
+ <ContextMenuSeparator />
86
+ <ContextMenuCheckboxItem checked>checked 아이템</ContextMenuCheckboxItem>
87
+ <ContextMenuCheckboxItem checked={false}>unchecked 아이템</ContextMenuCheckboxItem>
88
+ <ContextMenuSeparator />
89
+ <ContextMenuRadioGroup value={'apple'}>
90
+ <ContextMenuRadioItem value={'apple'}>라디오 아이템1</ContextMenuRadioItem>
91
+ <ContextMenuRadioItem value={'banana'}>라디오 아이템2</ContextMenuRadioItem>
92
+ </ContextMenuRadioGroup>
93
+ <ContextMenuSeparator />
94
+ <ContextMenuSubTrigger>
95
+ More Menu{' '}
96
+ <ContextMenuSubContent>
97
+ <ContextMenuItem>서브 아이템1</ContextMenuItem>
98
+ <ContextMenuItem>서브 아이템2</ContextMenuItem>
99
+ </ContextMenuSubContent>
100
+ </ContextMenuSubTrigger>
101
+ </ContextMenuContent>
102
+ </ContextMenu>);
74
103
  };
75
104
  export var Radius = function (_a) {
76
105
  var args = __rest(_a, []);
77
- return (_jsx("div", { className: "flex space-x-2", children: radiusOptions.map(function (radius) { return (_jsxs(ContextMenu, __assign({ radius: radius }, args, { children: [_jsx(ContextMenuTrigger, { className: "w-[100px]", children: radius }), _jsxs(ContextMenuContent, { children: [_jsx(ContextMenuItem, { children: "\uBA54\uB2741" }), _jsx(ContextMenuItem, { children: "\uBA54\uB2742" })] })] }), radius)); }) }));
106
+ return (<div className="flex space-x-2">
107
+ {radiusOptions.map(function (radius) { return (<ContextMenu key={radius} radius={radius} {...args}>
108
+ <ContextMenuTrigger className="w-[100px]">{radius}</ContextMenuTrigger>
109
+ <ContextMenuContent>
110
+ <ContextMenuItem>메뉴1</ContextMenuItem>
111
+ <ContextMenuItem>메뉴2</ContextMenuItem>
112
+ </ContextMenuContent>
113
+ </ContextMenu>); })}
114
+ </div>);
78
115
  };
79
116
  export var Size = function (_a) {
80
117
  var args = __rest(_a, []);
81
- return (_jsxs("div", { className: "flex space-x-2", children: [_jsxs(ContextMenu, __assign({ size: 'small' }, args, { children: [_jsx(ContextMenuTrigger, { className: "w-[100px]", children: "small" }), _jsxs(ContextMenuContent, { children: [_jsx(ContextMenuItem, { children: "\uBA54\uB2741" }), _jsx(ContextMenuItem, { children: "\uBA54\uB2742" })] })] })), _jsxs(ContextMenu, __assign({ size: 'medium' }, args, { children: [_jsx(ContextMenuTrigger, { className: "w-[100px]", children: "medium" }), _jsxs(ContextMenuContent, { children: [_jsx(ContextMenuItem, { children: "\uBA54\uB2741" }), _jsx(ContextMenuItem, { children: "\uBA54\uB2742" })] })] }))] }));
118
+ return (<div className="flex space-x-2">
119
+ <ContextMenu size={'small'} {...args}>
120
+ <ContextMenuTrigger className="w-[100px]">small</ContextMenuTrigger>
121
+ <ContextMenuContent>
122
+ <ContextMenuItem>메뉴1</ContextMenuItem>
123
+ <ContextMenuItem>메뉴2</ContextMenuItem>
124
+ </ContextMenuContent>
125
+ </ContextMenu>
126
+
127
+ <ContextMenu size={'medium'} {...args}>
128
+ <ContextMenuTrigger className="w-[100px]">medium</ContextMenuTrigger>
129
+ <ContextMenuContent>
130
+ <ContextMenuItem>메뉴1</ContextMenuItem>
131
+ <ContextMenuItem>메뉴2</ContextMenuItem>
132
+ </ContextMenuContent>
133
+ </ContextMenu>
134
+ </div>);
82
135
  };
83
136
  export var Appearance = function (_a) {
84
137
  var args = __rest(_a, []);
85
- return (_jsxs("div", { className: "flex space-x-2", children: [_jsxs(ContextMenu, __assign({ appearance: 'solid' }, args, { children: [_jsx(ContextMenuTrigger, { className: "w-[100px]", children: "solid" }), _jsxs(ContextMenuContent, { children: [_jsx(ContextMenuItem, { children: "\uBA54\uB2741" }), _jsx(ContextMenuItem, { children: "\uBA54\uB2742" })] })] })), _jsxs(ContextMenu, __assign({ appearance: 'soft' }, args, { children: [_jsx(ContextMenuTrigger, { className: "w-[100px]", children: "soft" }), _jsxs(ContextMenuContent, { children: [_jsx(ContextMenuItem, { children: "\uBA54\uB2741" }), _jsx(ContextMenuItem, { children: "\uBA54\uB2742" })] })] }))] }));
138
+ return (<div className="flex space-x-2">
139
+ <ContextMenu appearance={'solid'} {...args}>
140
+ <ContextMenuTrigger className="w-[100px]">solid</ContextMenuTrigger>
141
+ <ContextMenuContent>
142
+ <ContextMenuItem>메뉴1</ContextMenuItem>
143
+ <ContextMenuItem>메뉴2</ContextMenuItem>
144
+ </ContextMenuContent>
145
+ </ContextMenu>
146
+
147
+ <ContextMenu appearance={'soft'} {...args}>
148
+ <ContextMenuTrigger className="w-[100px]">soft</ContextMenuTrigger>
149
+ <ContextMenuContent>
150
+ <ContextMenuItem>메뉴1</ContextMenuItem>
151
+ <ContextMenuItem>메뉴2</ContextMenuItem>
152
+ </ContextMenuContent>
153
+ </ContextMenu>
154
+ </div>);
86
155
  };
@@ -85,13 +85,13 @@ declare const meta: {
85
85
  export default meta;
86
86
  export declare const Default: ({ ...args }: {
87
87
  [x: string]: any;
88
- }) => import("react/jsx-runtime").JSX.Element;
88
+ }) => import("react").JSX.Element;
89
89
  export declare const Orientation: ({ ...args }: {
90
90
  [x: string]: any;
91
- }) => import("react/jsx-runtime").JSX.Element;
91
+ }) => import("react").JSX.Element;
92
92
  export declare const Scaling: ({ ...args }: {
93
93
  [x: string]: any;
94
- }) => import("react/jsx-runtime").JSX.Element;
94
+ }) => import("react").JSX.Element;
95
95
  export declare const Size: ({ ...args }: {
96
96
  [x: string]: any;
97
- }) => import("react/jsx-runtime").JSX.Element;
97
+ }) => import("react").JSX.Element;
@@ -0,0 +1,185 @@
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
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { DataList, DataListItem, DataListLabel, DataListValue } from 'components/DataList';
24
+ import Badge from 'components/Badge';
25
+ import { scalingOptions, commonArgTypes, sizeOptions } from '../../constants';
26
+ import Button from 'components/Button';
27
+ var meta = {
28
+ title: 'Component/DataList',
29
+ component: DataList,
30
+ parameters: {
31
+ layout: 'centered',
32
+ themes: {
33
+ themeOverride: 'dark',
34
+ },
35
+ docs: {
36
+ description: {
37
+ component: '목록 형태로 메타 데이터 표시하는 컴포넌트',
38
+ },
39
+ },
40
+ },
41
+ tags: ['autodocs'],
42
+ argTypes: {
43
+ scaling: __assign(__assign({}, commonArgTypes.scaling), { description: 'DataList 비율' }),
44
+ size: __assign(__assign({}, commonArgTypes.size), { table: {
45
+ category: 'Props',
46
+ type: {
47
+ summary: sizeOptions
48
+ .filter(function (option) { return option !== 'x-small' && option !== 'x-large'; })
49
+ .join(' | '),
50
+ },
51
+ }, options: sizeOptions.filter(function (option) { return option !== 'x-small' && option !== 'x-large'; }), description: 'DataList 크기' }),
52
+ color: __assign(__assign({}, commonArgTypes.color), { description: 'DataList 값 매인색', defaultValue: { summary: 'black' } }),
53
+ orientation: {
54
+ table: {
55
+ category: 'Props',
56
+ type: {
57
+ summary: ['horizontal', 'vertical'].join(' | '),
58
+ },
59
+ },
60
+ options: ['horizontal', 'vertical'],
61
+ control: { type: 'select' },
62
+ defaultValue: { summary: 'horizontal' },
63
+ description: 'DataList 방향',
64
+ },
65
+ },
66
+ };
67
+ export default meta;
68
+ export var Default = function (_a) {
69
+ var args = __rest(_a, []);
70
+ return (<DataList {...args}>
71
+ <DataListItem {...args}>
72
+ <DataListLabel {...args}>상태</DataListLabel>
73
+ <DataListValue {...args}>
74
+ <Badge appearance="soft" {...args}>
75
+ 배지
76
+ </Badge>
77
+ </DataListValue>
78
+ </DataListItem>
79
+ <DataListItem {...args}>
80
+ <DataListLabel {...args}>라벨</DataListLabel>
81
+ <DataListValue {...args}>
82
+ 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
83
+ </DataListValue>
84
+ </DataListItem>
85
+ <DataListItem {...args}>
86
+ <DataListLabel {...args}>라벨</DataListLabel>
87
+ <DataListValue {...args}>
88
+ <Button {...args}>버튼</Button>
89
+ </DataListValue>
90
+ </DataListItem>
91
+ </DataList>);
92
+ };
93
+ export var Orientation = function (_a) {
94
+ var args = __rest(_a, []);
95
+ return (<DataList {...args} orientation={'vertical'}>
96
+ <DataListItem {...args}>
97
+ <DataListLabel {...args}>상태</DataListLabel>
98
+ <DataListValue {...args}>
99
+ <Badge appearance="soft" {...args}>
100
+ 배지
101
+ </Badge>
102
+ </DataListValue>
103
+ </DataListItem>
104
+ <DataListItem {...args}>
105
+ <DataListLabel {...args}>라벨</DataListLabel>
106
+ <DataListValue {...args}>
107
+ 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
108
+ </DataListValue>
109
+ </DataListItem>
110
+ <DataListItem {...args}>
111
+ <DataListLabel {...args}>라벨</DataListLabel>
112
+ <DataListValue {...args}>
113
+ <Button {...args}>버튼</Button>
114
+ </DataListValue>
115
+ </DataListItem>
116
+ </DataList>);
117
+ };
118
+ export var Scaling = function (_a) {
119
+ var args = __rest(_a, []);
120
+ return (<div className="flex flex-col space-y-7">
121
+ {scalingOptions.map(function (scaling) { return (<DataList {...args} key={scaling} scaling={scaling}>
122
+ <DataListItem {...args}>
123
+ <DataListLabel {...args}>{scaling}</DataListLabel>
124
+ <DataListValue {...args}>
125
+ 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
126
+ </DataListValue>
127
+ </DataListItem>
128
+ <DataListItem {...args}>
129
+ <DataListLabel {...args}>{scaling}</DataListLabel>
130
+ <DataListValue {...args}>
131
+ 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
132
+ </DataListValue>
133
+ </DataListItem>
134
+ </DataList>); })}
135
+ </div>);
136
+ };
137
+ export var Size = function (_a) {
138
+ var args = __rest(_a, []);
139
+ return (<div className="flex flex-col space-y-7">
140
+ <DataList size={'small'}>
141
+ <DataListItem {...args}>
142
+ <DataListLabel {...args}>small</DataListLabel>
143
+ <DataListValue {...args}>
144
+ 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
145
+ </DataListValue>
146
+ </DataListItem>
147
+ <DataListItem {...args}>
148
+ <DataListLabel {...args}>small</DataListLabel>
149
+ <DataListValue {...args}>
150
+ 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
151
+ </DataListValue>
152
+ </DataListItem>
153
+ </DataList>
154
+
155
+ <DataList size={'medium'}>
156
+ <DataListItem {...args}>
157
+ <DataListLabel {...args}>medium</DataListLabel>
158
+ <DataListValue {...args}>
159
+ 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
160
+ </DataListValue>
161
+ </DataListItem>
162
+ <DataListItem {...args}>
163
+ <DataListLabel {...args}>medium</DataListLabel>
164
+ <DataListValue {...args}>
165
+ 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
166
+ </DataListValue>
167
+ </DataListItem>
168
+ </DataList>
169
+
170
+ <DataList size={'large'}>
171
+ <DataListItem {...args}>
172
+ <DataListLabel {...args}>large</DataListLabel>
173
+ <DataListValue {...args}>
174
+ 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
175
+ </DataListValue>
176
+ </DataListItem>
177
+ <DataListItem {...args}>
178
+ <DataListLabel {...args}>large</DataListLabel>
179
+ <DataListValue {...args}>
180
+ 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
181
+ </DataListValue>
182
+ </DataListItem>
183
+ </DataList>
184
+ </div>);
185
+ };
@@ -85,4 +85,4 @@ declare const meta: {
85
85
  export default meta;
86
86
  export declare const Default: ({ ...args }: {
87
87
  [x: string]: any;
88
- }) => import("react/jsx-runtime").JSX.Element;
88
+ }) => 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 { Dialog, DialogTrigger, DialogContent, DialogCancel, DialogTitle, DialogDescription, DialogSlot, DialogAction, } from '../../components/Dialog/index';
26
25
  import Button from 'components/Button';
@@ -55,5 +54,29 @@ var meta = {
55
54
  export default meta;
56
55
  export var Default = function (_a) {
57
56
  var args = __rest(_a, []);
58
- return (_jsxs(Dialog, __assign({}, args, { children: [_jsx(DialogTrigger, { children: _jsx(Button, { children: "Edit profile" }) }), _jsxs(DialogContent, __assign({}, args, { children: [_jsx(DialogTitle, __assign({}, args, { children: "Edit profile" })), _jsx(DialogDescription, __assign({}, args, { children: "Make changes to your profile." })), _jsxs(DialogSlot, __assign({}, args, { children: [_jsx("span", { children: "Name" }), _jsx(TextField, __assign({}, args, { placeholder: "Enter your full name" })), _jsx("span", { children: "Email" }), _jsx(TextField, __assign({}, args, { placeholder: "Enter your email" }))] })), _jsxs("div", { className: "flex justify-end", children: [_jsx(DialogCancel, __assign({}, args, { children: _jsx("span", { children: "Cancel" }) })), _jsx(DialogAction, __assign({}, args, { children: _jsx("span", { children: "Save" }) }))] })] }))] })));
57
+ return (<Dialog {...args}>
58
+ <DialogTrigger>
59
+ <Button>Edit profile</Button>
60
+ </DialogTrigger>
61
+ <DialogContent {...args}>
62
+ <DialogTitle {...args}>Edit profile</DialogTitle>
63
+ <DialogDescription {...args}>Make changes to your profile.</DialogDescription>
64
+
65
+ <DialogSlot {...args}>
66
+ <span>Name</span>
67
+ <TextField {...args} placeholder="Enter your full name"/>
68
+ <span>Email</span>
69
+ <TextField {...args} placeholder="Enter your email"/>
70
+ </DialogSlot>
71
+
72
+ <div className="flex justify-end">
73
+ <DialogCancel {...args}>
74
+ <span>Cancel</span>
75
+ </DialogCancel>
76
+ <DialogAction {...args}>
77
+ <span>Save</span>
78
+ </DialogAction>
79
+ </div>
80
+ </DialogContent>
81
+ </Dialog>);
59
82
  };
@@ -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/DoughnutChart").DoughnutChartProps) => import("react/jsx-runtime").JSX.Element;
4
+ component: ({ labels, datasets, scaling, className, ...rest }: import("components/DoughnutChart").DoughnutChartProps) => import("react").JSX.Element;
4
5
  parameters: {
5
6
  layout: string;
6
7
  docs: {
@@ -175,6 +176,6 @@ declare const meta: {
175
176
  export default meta;
176
177
  export declare const Default: ({ ...args }: {
177
178
  [x: string]: any;
178
- }) => import("react/jsx-runtime").JSX.Element;
179
- export declare const BorderStyles: () => import("react/jsx-runtime").JSX.Element;
180
- export declare const DataLabels: () => import("react/jsx-runtime").JSX.Element;
179
+ }) => import("react").JSX.Element;
180
+ export declare const BorderStyles: () => import("react").JSX.Element;
181
+ 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 DoughnutChart from 'components/DoughnutChart';
25
24
  import { amber, blue, green, lime, mint, orange, purple, red, ruby, violet, yellow, } from 'color/light';
26
25
  import { commonArgTypes } from '../../constants';
@@ -170,7 +169,9 @@ var meta = {
170
169
  export default meta;
171
170
  export var Default = function (_a) {
172
171
  var args = __rest(_a, []);
173
- return (_jsx("div", { className: "w-[300px]", children: _jsx(DoughnutChart, __assign({ labels: args.label, datasets: args.datasets }, args)) }));
172
+ return (<div className="w-[300px]">
173
+ <DoughnutChart labels={args.label} datasets={args.datasets} {...args}/>
174
+ </div>);
174
175
  };
175
176
  export var BorderStyles = function () {
176
177
  var datasets = [
@@ -203,7 +204,14 @@ export var BorderStyles = function () {
203
204
  },
204
205
  },
205
206
  };
206
- return (_jsxs("div", { className: "flex", children: [_jsx("div", { className: "w-[200px]", children: _jsx(DoughnutChart, { datasets: datasets, options: options }) }), _jsx("div", { className: "w-[200px]", children: _jsx(DoughnutChart, { datasets: dashDatasets, options: dashOptions }) })] }));
207
+ return (<div className="flex">
208
+ <div className="w-[200px]">
209
+ <DoughnutChart datasets={datasets} options={options}/>
210
+ </div>
211
+ <div className="w-[200px]">
212
+ <DoughnutChart datasets={dashDatasets} options={dashOptions}/>
213
+ </div>
214
+ </div>);
207
215
  };
208
216
  export var DataLabels = function () {
209
217
  var datasets = [
@@ -224,5 +232,5 @@ export var DataLabels = function () {
224
232
  },
225
233
  },
226
234
  };
227
- return _jsx(DoughnutChart, { datasets: datasets, options: options });
235
+ return <DoughnutChart datasets={datasets} options={options}/>;
228
236
  };
@@ -100,13 +100,13 @@ declare const meta: {
100
100
  export default meta;
101
101
  export declare const Default: ({ ...args }: {
102
102
  [x: string]: any;
103
- }) => import("react/jsx-runtime").JSX.Element;
103
+ }) => import("react").JSX.Element;
104
104
  export declare const Radius: ({ ...args }: {
105
105
  [x: string]: any;
106
- }) => import("react/jsx-runtime").JSX.Element;
106
+ }) => import("react").JSX.Element;
107
107
  export declare const Size: ({ ...args }: {
108
108
  [x: string]: any;
109
- }) => import("react/jsx-runtime").JSX.Element;
109
+ }) => import("react").JSX.Element;
110
110
  export declare const Appearance: ({ ...args }: {
111
111
  [x: string]: any;
112
- }) => import("react/jsx-runtime").JSX.Element;
112
+ }) => import("react").JSX.Element;