@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 Checkbox from 'components/Checkbox';
25
24
  import { radiusOptions, scalingOptions, commonArgTypes, appearanceOptions, sizeOptions, } from '../../../src/constants';
26
25
  import { Text } from 'Typography/Text';
@@ -86,25 +85,82 @@ var meta = {
86
85
  export default meta;
87
86
  export var Default = function (_a) {
88
87
  var args = __rest(_a, []);
89
- return (_jsx(Checkbox, __assign({ id: "checkbox" }, args, { defaultChecked: true, children: "\uCCB4\uD06C\uBC15\uC2A4" })));
88
+ return (<Checkbox id="checkbox" {...args} defaultChecked>
89
+ 체크박스
90
+ </Checkbox>);
90
91
  };
91
92
  export var Types = function (_a) {
92
93
  var args = __rest(_a, []);
93
- return (_jsxs("div", { className: "flex flex-col space-y-3", children: [_jsx(Checkbox, __assign({ id: "defaultCheckbox" }, args, { defaultChecked: true, children: "default" })), _jsx(Checkbox, __assign({ id: "disabledCheckedCheckbox" }, args, { disabled: true, defaultChecked: true, children: "disabled" })), _jsx(Checkbox, __assign({ id: "indeterminate" }, args, { indeterminate: true, defaultChecked: true, children: "indeterminate" }))] }));
94
+ return (<div className="flex flex-col space-y-3">
95
+ <Checkbox id="defaultCheckbox" {...args} defaultChecked>
96
+ default
97
+ </Checkbox>
98
+ <Checkbox id="disabledCheckedCheckbox" {...args} disabled defaultChecked>
99
+ disabled
100
+ </Checkbox>
101
+ <Checkbox id="indeterminate" {...args} indeterminate defaultChecked>
102
+ indeterminate
103
+ </Checkbox>
104
+ </div>);
94
105
  };
95
106
  export var Size = function (_a) {
96
107
  var args = __rest(_a, []);
97
- return (_jsxs("div", { className: "flex space-x-5", children: [_jsx(Checkbox, __assign({ id: "size-s" }, args, { size: "small", defaultChecked: true, children: "small" })), _jsx(Checkbox, __assign({ id: "size-m" }, args, { size: "medium", defaultChecked: true, children: "medium" })), _jsx(Checkbox, __assign({ id: "size-l" }, args, { size: "large", defaultChecked: true, children: "large" }))] }));
108
+ return (<div className="flex space-x-5">
109
+ <Checkbox id="size-s" {...args} size="small" defaultChecked>
110
+ small
111
+ </Checkbox>
112
+ <Checkbox id="size-m" {...args} size="medium" defaultChecked>
113
+ medium
114
+ </Checkbox>
115
+ <Checkbox id="size-l" {...args} size="large" defaultChecked>
116
+ large
117
+ </Checkbox>
118
+ </div>);
98
119
  };
99
120
  export var Scaling = function (_a) {
100
121
  var args = __rest(_a, []);
101
- return (_jsx("div", { className: "flex space-x-5", children: scalingOptions.map(function (scaling) { return (_jsx(Checkbox, __assign({ id: scaling }, args, { scaling: scaling, defaultChecked: true, children: scaling }), scaling)); }) }));
122
+ return (<div className="flex space-x-5">
123
+ {scalingOptions.map(function (scaling) { return (<Checkbox key={scaling} id={scaling} {...args} scaling={scaling} defaultChecked>
124
+ {scaling}
125
+ </Checkbox>); })}
126
+ </div>);
102
127
  };
103
128
  export var Radius = function (_a) {
104
129
  var args = __rest(_a, []);
105
- return (_jsx("div", { className: "flex space-x-5", children: radiusOptions.map(function (radius) { return (_jsx(Checkbox, __assign({ id: radius }, args, { radius: radius, defaultChecked: true, children: radius }), radius)); }) }));
130
+ return (<div className="flex space-x-5">
131
+ {radiusOptions.map(function (radius) { return (<Checkbox key={radius} id={radius} {...args} radius={radius} defaultChecked>
132
+ {radius}
133
+ </Checkbox>); })}
134
+ </div>);
106
135
  };
107
136
  export var Appearance = function (_a) {
108
137
  var args = __rest(_a, []);
109
- return (_jsxs("div", { className: "flex flex-col space-y-3", children: [_jsxs("div", { className: "flex space-x-3", children: [_jsx("div", { className: "w-[60px]", children: _jsx(Text, { children: "Surface" }) }), _jsx(Checkbox, __assign({ id: 'uncheckedSurface' }, args, { appearance: 'surface' })), _jsx(Checkbox, __assign({ id: 'checkedSurface' }, args, { appearance: 'surface', defaultChecked: true })), _jsx(Checkbox, __assign({ id: 'checkedIndeterminate' }, args, { appearance: 'surface', indeterminate: true, defaultChecked: true }))] }), _jsxs("div", { className: "flex space-x-3", children: [_jsx("div", { className: "w-[60px]", children: _jsx(Text, { children: "Classic" }) }), _jsx(Checkbox, __assign({ id: 'uncheckedClassic' }, args, { appearance: 'classic' })), _jsx(Checkbox, __assign({ id: 'checkedClassic' }, args, { appearance: 'classic', defaultChecked: true })), _jsx(Checkbox, __assign({ id: 'indeterminateClassic' }, args, { appearance: 'classic', indeterminate: true, defaultChecked: true }))] }), _jsxs("div", { className: "flex space-x-3", children: [_jsx("div", { className: "w-[60px]", children: _jsx(Text, { children: "Soft" }) }), _jsx(Checkbox, __assign({ id: 'uncheckedSoft' }, args, { appearance: 'soft' })), _jsx(Checkbox, __assign({ id: 'checkedSoft' }, args, { appearance: 'soft', defaultChecked: true })), _jsx(Checkbox, __assign({ id: 'indeterminateSoft' }, args, { appearance: 'soft', indeterminate: true, defaultChecked: true }))] })] }));
138
+ return (<div className="flex flex-col space-y-3">
139
+ <div className="flex space-x-3">
140
+ <div className="w-[60px]">
141
+ <Text>Surface</Text>
142
+ </div>
143
+ <Checkbox id={'uncheckedSurface'} {...args} appearance={'surface'}/>
144
+ <Checkbox id={'checkedSurface'} {...args} appearance={'surface'} defaultChecked/>
145
+ <Checkbox id={'checkedIndeterminate'} {...args} appearance={'surface'} indeterminate defaultChecked/>
146
+ </div>
147
+
148
+ <div className="flex space-x-3">
149
+ <div className="w-[60px]">
150
+ <Text>Classic</Text>
151
+ </div>
152
+ <Checkbox id={'uncheckedClassic'} {...args} appearance={'classic'}/>
153
+ <Checkbox id={'checkedClassic'} {...args} appearance={'classic'} defaultChecked/>
154
+ <Checkbox id={'indeterminateClassic'} {...args} appearance={'classic'} indeterminate defaultChecked/>
155
+ </div>
156
+
157
+ <div className="flex space-x-3">
158
+ <div className="w-[60px]">
159
+ <Text>Soft</Text>
160
+ </div>
161
+ <Checkbox id={'uncheckedSoft'} {...args} appearance={'soft'}/>
162
+ <Checkbox id={'checkedSoft'} {...args} appearance={'soft'} defaultChecked/>
163
+ <Checkbox id={'indeterminateSoft'} {...args} appearance={'soft'} indeterminate defaultChecked/>
164
+ </div>
165
+ </div>);
110
166
  };
@@ -114,16 +114,16 @@ declare const meta: {
114
114
  export default meta;
115
115
  export declare const Default: ({ ...args }: {
116
116
  [x: string]: any;
117
- }) => import("react/jsx-runtime").JSX.Element;
117
+ }) => import("react").JSX.Element;
118
118
  export declare const Scaling: ({ ...args }: {
119
119
  [x: string]: any;
120
- }) => import("react/jsx-runtime").JSX.Element;
120
+ }) => import("react").JSX.Element;
121
121
  export declare const Size: ({ ...args }: {
122
122
  [x: string]: any;
123
- }) => import("react/jsx-runtime").JSX.Element;
123
+ }) => import("react").JSX.Element;
124
124
  export declare const Radius: ({ ...args }: {
125
125
  [x: string]: any;
126
- }) => import("react/jsx-runtime").JSX.Element;
126
+ }) => import("react").JSX.Element;
127
127
  export declare const Appearance: ({ ...args }: {
128
128
  [x: string]: any;
129
- }) => import("react/jsx-runtime").JSX.Element;
129
+ }) => 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 { scalingOptions, commonArgTypes, appearanceOptions, radiusOptions, sizeOptions, } from '../../../src/constants';
25
24
  import CheckboxCard from 'components/CheckboxCard';
26
25
  var meta = {
@@ -70,21 +69,57 @@ var meta = {
70
69
  export default meta;
71
70
  export var Default = function (_a) {
72
71
  var args = __rest(_a, []);
73
- return (_jsxs("div", { className: "flex flex-col space-y-3", children: [_jsx(CheckboxCard, __assign({ id: "defaultCheckboxCard" }, args, { defaultChecked: true, children: "default" })), _jsx(CheckboxCard, __assign({ id: "disabledCheckboxCard" }, args, { disabled: true, defaultChecked: true, children: "disabled" }))] }));
72
+ return (<div className="flex flex-col space-y-3">
73
+ <CheckboxCard id="defaultCheckboxCard" {...args} defaultChecked>
74
+ default
75
+ </CheckboxCard>
76
+ <CheckboxCard id="disabledCheckboxCard" {...args} disabled defaultChecked>
77
+ disabled
78
+ </CheckboxCard>
79
+ </div>);
74
80
  };
75
81
  export var Scaling = function (_a) {
76
82
  var args = __rest(_a, []);
77
- return (_jsx("div", { className: "flex flex-col space-y-3", children: scalingOptions.map(function (scaling) { return (_jsx("div", { children: _jsx(CheckboxCard, __assign({ id: scaling }, args, { scaling: scaling, children: scaling })) }, scaling)); }) }));
83
+ return (<div className="flex flex-col space-y-3">
84
+ {scalingOptions.map(function (scaling) { return (<div key={scaling}>
85
+ <CheckboxCard id={scaling} {...args} scaling={scaling}>
86
+ {scaling}
87
+ </CheckboxCard>
88
+ </div>); })}
89
+ </div>);
78
90
  };
79
91
  export var Size = function (_a) {
80
92
  var args = __rest(_a, []);
81
- return (_jsxs("div", { className: "flex flex-col space-y-3", children: [_jsx(CheckboxCard, __assign({ id: "size-s" }, args, { size: "small", defaultChecked: true, children: "small" })), _jsx(CheckboxCard, __assign({ id: "size-m" }, args, { size: "medium", defaultChecked: true, children: "medium" })), _jsx(CheckboxCard, __assign({ id: "size-l" }, args, { size: "large", defaultChecked: true, children: "large" }))] }));
93
+ return (<div className="flex flex-col space-y-3">
94
+ <CheckboxCard id="size-s" {...args} size="small" defaultChecked>
95
+ small
96
+ </CheckboxCard>
97
+ <CheckboxCard id="size-m" {...args} size="medium" defaultChecked>
98
+ medium
99
+ </CheckboxCard>
100
+ <CheckboxCard id="size-l" {...args} size="large" defaultChecked>
101
+ large
102
+ </CheckboxCard>
103
+ </div>);
82
104
  };
83
105
  export var Radius = function (_a) {
84
106
  var args = __rest(_a, []);
85
- return (_jsx("div", { className: "flex flex-col space-y-3", children: radiusOptions.map(function (radius) { return (_jsx("div", { children: _jsx(CheckboxCard, __assign({ id: radius }, args, { radius: radius, children: radius })) }, radius)); }) }));
107
+ return (<div className="flex flex-col space-y-3">
108
+ {radiusOptions.map(function (radius) { return (<div key={radius}>
109
+ <CheckboxCard id={radius} {...args} radius={radius}>
110
+ {radius}
111
+ </CheckboxCard>
112
+ </div>); })}
113
+ </div>);
86
114
  };
87
115
  export var Appearance = function (_a) {
88
116
  var args = __rest(_a, []);
89
- return (_jsxs("div", { className: "flex space-x-4", children: [_jsx(CheckboxCard, __assign({ id: 'classic' }, args, { appearance: 'classic', children: "classic" })), _jsx(CheckboxCard, __assign({ id: 'surface' }, args, { appearance: 'surface', children: "surface" }))] }));
117
+ return (<div className="flex space-x-4">
118
+ <CheckboxCard id={'classic'} {...args} appearance={'classic'}>
119
+ classic
120
+ </CheckboxCard>
121
+ <CheckboxCard id={'surface'} {...args} appearance={'surface'}>
122
+ surface
123
+ </CheckboxCard>
124
+ </div>);
90
125
  };
@@ -82,10 +82,10 @@ declare const meta: {
82
82
  export default meta;
83
83
  export declare const Default: ({ ...args }: {
84
84
  [x: string]: any;
85
- }) => import("react/jsx-runtime").JSX.Element;
85
+ }) => import("react").JSX.Element;
86
86
  export declare const Size: ({ ...args }: {
87
87
  [x: string]: any;
88
- }) => import("react/jsx-runtime").JSX.Element;
88
+ }) => import("react").JSX.Element;
89
89
  export declare const Radius: ({ ...args }: {
90
90
  [x: string]: any;
91
- }) => import("react/jsx-runtime").JSX.Element;
91
+ }) => 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, 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;