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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (257) 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 +42 -0
  7. package/dist/app/template/badgeTemplate.d.ts +2 -1
  8. package/dist/app/template/badgeTemplate.jsx +82 -0
  9. package/dist/app/template/buttonTemplate.d.ts +2 -1
  10. package/dist/app/template/buttonTemplate.jsx +82 -0
  11. package/dist/app/template/colorPicker.d.ts +2 -1
  12. package/dist/app/template/colorPicker.jsx +19 -0
  13. package/dist/app/template/textTemplate.d.ts +2 -1
  14. package/dist/app/template/textTemplate.jsx +72 -0
  15. package/dist/app/template/theme.d.ts +2 -2
  16. package/dist/app/template/theme.jsx +44 -0
  17. package/dist/components/Accordion/{index.js → index.jsx} +17 -5
  18. package/dist/components/AlertDialog/{AlertDialogAction.js → AlertDialogAction.jsx} +5 -4
  19. package/dist/components/AlertDialog/{AlertDialogCancel.js → AlertDialogCancel.jsx} +5 -4
  20. package/dist/components/AlertDialog/{AlertDialogContent.js → AlertDialogContent.jsx} +8 -4
  21. package/dist/components/AlertDialog/{AlertDialogDescription.js → AlertDialogDescription.jsx} +5 -15
  22. package/dist/components/AlertDialog/{AlertDialogTitle.js → AlertDialogTitle.jsx} +5 -15
  23. package/dist/components/AlertDialog/{AlertDialogTrigger.js → AlertDialogTrigger.jsx} +5 -4
  24. package/dist/components/AlertDialog/{index.js → index.jsx} +2 -14
  25. package/dist/components/AspectRatio/{index.js → index.jsx} +5 -4
  26. package/dist/components/Avatar/{index.js → index.jsx} +8 -4
  27. package/dist/components/Badge/{index.js → index.jsx} +4 -3
  28. package/dist/components/BubbleChart/index.d.ts +2 -1
  29. package/dist/components/BubbleChart/{index.js → index.jsx} +3 -3
  30. package/dist/components/Button/{index.js → index.jsx} +5 -4
  31. package/dist/components/Callout/{CalloutIcon.js → CalloutIcon.jsx} +9 -4
  32. package/dist/components/Callout/{CalloutText.js → CalloutText.jsx} +5 -15
  33. package/dist/components/Callout/{index.js → index.jsx} +7 -4
  34. package/dist/components/Card/{index.js → index.jsx} +5 -4
  35. package/dist/components/Checkbox/{index.js → index.jsx} +12 -4
  36. package/dist/components/CheckboxCard/{index.js → index.jsx} +6 -4
  37. package/dist/components/CheckboxGroup/{CheckboxGroupItem.js → CheckboxGroupItem.jsx} +6 -14
  38. package/dist/components/CheckboxGroup/{index.js → index.jsx} +6 -3
  39. package/dist/components/ContextMenu/{ContextMenuCheckboxItem.js → ContextMenuCheckboxItem.jsx} +8 -15
  40. package/dist/components/ContextMenu/{ContextMenuContent.js → ContextMenuContent.jsx} +7 -4
  41. package/dist/components/ContextMenu/{ContextMenuGroup.js → ContextMenuGroup.jsx} +4 -14
  42. package/dist/components/ContextMenu/{ContextMenuItem.js → ContextMenuItem.jsx} +6 -4
  43. package/dist/components/ContextMenu/{ContextMenuItemIndicator.js → ContextMenuItemIndicator.jsx} +5 -4
  44. package/dist/components/ContextMenu/{ContextMenuLabel.js → ContextMenuLabel.jsx} +5 -4
  45. package/dist/components/ContextMenu/{ContextMenuRadioGroup.js → ContextMenuRadioGroup.jsx} +6 -14
  46. package/dist/components/ContextMenu/{ContextMenuRadioItem.js → ContextMenuRadioItem.jsx} +8 -15
  47. package/dist/components/ContextMenu/{ContextMenuSeparator.js → ContextMenuSeparator.jsx} +5 -15
  48. package/dist/components/ContextMenu/{ContextMenuSubContent.js → ContextMenuSubContent.jsx} +10 -7
  49. package/dist/components/ContextMenu/{ContextMenuSubTrigger.js → ContextMenuSubTrigger.jsx} +10 -15
  50. package/dist/components/ContextMenu/{ContextMenuTrigger.js → ContextMenuTrigger.jsx} +5 -15
  51. package/dist/components/ContextMenu/{index.js → index.jsx} +4 -14
  52. package/dist/components/DataList/{DataListItem.js → DataListItem.jsx} +5 -4
  53. package/dist/components/DataList/{DataListLabel.js → DataListLabel.jsx} +5 -4
  54. package/dist/components/DataList/{DataListValue.js → DataListValue.jsx} +5 -4
  55. package/dist/components/DataList/{index.js → index.jsx} +7 -15
  56. package/dist/components/Dialog/{DialogAction.js → DialogAction.jsx} +5 -15
  57. package/dist/components/Dialog/{DialogCancel.js → DialogCancel.jsx} +5 -15
  58. package/dist/components/Dialog/{DialogContent.js → DialogContent.jsx} +5 -4
  59. package/dist/components/Dialog/{DialogDescription.js → DialogDescription.jsx} +5 -15
  60. package/dist/components/Dialog/{DialogSlot.js → DialogSlot.jsx} +5 -15
  61. package/dist/components/Dialog/{DialogTitle.js → DialogTitle.jsx} +5 -15
  62. package/dist/components/Dialog/{DialogTrigger.js → DialogTrigger.jsx} +4 -14
  63. package/dist/components/Dialog/{index.js → index.jsx} +4 -14
  64. package/dist/components/DoughnutChart/index.d.ts +2 -1
  65. package/dist/components/DoughnutChart/{index.js → index.jsx} +3 -3
  66. package/dist/components/DropdownMenu/{DropdonMenuRadioGroup.js → DropdonMenuRadioGroup.jsx} +6 -14
  67. package/dist/components/DropdownMenu/{DropdonMenuSubContent.js → DropdonMenuSubContent.jsx} +11 -8
  68. package/dist/components/DropdownMenu/{DropdownMenuCheckboxItem.js → DropdownMenuCheckboxItem.jsx} +8 -15
  69. package/dist/components/DropdownMenu/{DropdownMenuContent.js → DropdownMenuContent.jsx} +7 -4
  70. package/dist/components/DropdownMenu/{DropdownMenuItem.js → DropdownMenuItem.jsx} +6 -4
  71. package/dist/components/DropdownMenu/{DropdownMenuItemIndicator.js → DropdownMenuItemIndicator.jsx} +5 -4
  72. package/dist/components/DropdownMenu/{DropdownMenuLable.js → DropdownMenuLable.jsx} +5 -4
  73. package/dist/components/DropdownMenu/{DropdownMenuRadioItem.js → DropdownMenuRadioItem.jsx} +8 -15
  74. package/dist/components/DropdownMenu/{DropdownMenuSeparator.js → DropdownMenuSeparator.jsx} +3 -15
  75. package/dist/components/DropdownMenu/{DropdownMenuSub.js → DropdownMenuSub.jsx} +2 -14
  76. package/dist/components/DropdownMenu/{DropdownMenuSubTrigger.js → DropdownMenuSubTrigger.jsx} +7 -14
  77. package/dist/components/DropdownMenu/{DropdownMenuTrigger.js → DropdownMenuTrigger.jsx} +4 -14
  78. package/dist/components/DropdownMenu/{index.js → index.jsx} +2 -14
  79. package/dist/components/HoverCard/{HoverCardContent.js → HoverCardContent.jsx} +4 -3
  80. package/dist/components/HoverCard/{HoverCardTrigger.js → HoverCardTrigger.jsx} +4 -14
  81. package/dist/components/HoverCard/{index.js → index.jsx} +4 -14
  82. package/dist/components/IconButton/{index.js → index.jsx} +3 -2
  83. package/dist/components/Inset/{index.js → index.jsx} +6 -3
  84. package/dist/components/Label/{index.js → index.jsx} +3 -2
  85. package/dist/components/Menubar/{MenubarCheckboxItem.js → MenubarCheckboxItem.jsx} +8 -15
  86. package/dist/components/Menubar/{MenubarContent.js → MenubarContent.jsx} +11 -8
  87. package/dist/components/Menubar/{MenubarItem.js → MenubarItem.jsx} +6 -4
  88. package/dist/components/Menubar/{MenubarItemIndicator.js → MenubarItemIndicator.jsx} +5 -4
  89. package/dist/components/Menubar/{MenubarMenu.js → MenubarMenu.jsx} +2 -14
  90. package/dist/components/Menubar/{MenubarRadioGroup.js → MenubarRadioGroup.jsx} +6 -14
  91. package/dist/components/Menubar/{MenubarRadioItem.js → MenubarRadioItem.jsx} +8 -15
  92. package/dist/components/Menubar/{MenubarSeparator.js → MenubarSeparator.jsx} +5 -15
  93. package/dist/components/Menubar/{MenubarSub.js → MenubarSub.jsx} +2 -14
  94. package/dist/components/Menubar/{MenubarSubContent.js → MenubarSubContent.jsx} +6 -5
  95. package/dist/components/Menubar/{MenubarSubTrigger.js → MenubarSubTrigger.jsx} +8 -15
  96. package/dist/components/Menubar/{MenubarTrigger.js → MenubarTrigger.jsx} +5 -4
  97. package/dist/components/Menubar/{index.js → index.jsx} +7 -4
  98. package/dist/components/NavigationMenu/{NavigationMenuContent.js → NavigationMenuContent.jsx} +5 -4
  99. package/dist/components/NavigationMenu/NavigationMenuIndicator.jsx +22 -0
  100. package/dist/components/NavigationMenu/{NavigationMenuItem.js → NavigationMenuItem.jsx} +4 -14
  101. package/dist/components/NavigationMenu/{NavigationMenuLink.js → NavigationMenuLink.jsx} +5 -4
  102. package/dist/components/NavigationMenu/{NavigationMenuList.js → NavigationMenuList.jsx} +6 -4
  103. package/dist/components/NavigationMenu/{NavigationMenuTrigger.js → NavigationMenuTrigger.jsx} +6 -4
  104. package/dist/components/NavigationMenu/{NavigationMenuViewport.js → NavigationMenuViewport.jsx} +5 -4
  105. package/dist/components/NavigationMenu/{index.js → index.jsx} +7 -15
  106. package/dist/components/PieChart/index.d.ts +2 -1
  107. package/dist/components/PieChart/{index.js → index.jsx} +3 -3
  108. package/dist/components/Popover/{PopoverClose.js → PopoverClose.jsx} +4 -14
  109. package/dist/components/Popover/{PopoverContent.js → PopoverContent.jsx} +4 -3
  110. package/dist/components/Popover/{PopoverTrigger.js → PopoverTrigger.jsx} +4 -14
  111. package/dist/components/Popover/{index.js → index.jsx} +4 -14
  112. package/dist/components/Progress/{index.js → index.jsx} +4 -3
  113. package/dist/components/RadarChart/index.d.ts +2 -1
  114. package/dist/components/RadarChart/{index.js → index.jsx} +2 -2
  115. package/dist/components/Radio/{index.js → index.jsx} +8 -13
  116. package/dist/components/RadioCards/{RadioCardsItem.js → RadioCardsItem.jsx} +4 -14
  117. package/dist/components/RadioCards/{index.js → index.jsx} +6 -3
  118. package/dist/components/RadioGroup/{RadioGroupItem.js → RadioGroupItem.jsx} +4 -14
  119. package/dist/components/RadioGroup/{index.js → index.jsx} +6 -14
  120. package/dist/components/ScrollArea/{index.js → index.jsx} +6 -14
  121. package/dist/components/SegmentedControl/{SegmentedControlItem.js → SegmentedControlItem.jsx} +4 -14
  122. package/dist/components/SegmentedControl/{index.js → index.jsx} +5 -2
  123. package/dist/components/Select/{index.js → index.jsx} +24 -9
  124. package/dist/components/Separator/{index.js → index.jsx} +6 -3
  125. package/dist/components/Skeleton/{index.js → index.jsx} +6 -3
  126. package/dist/components/Slider/{index.js → index.jsx} +4 -3
  127. package/dist/components/Spinner/{index.js → index.jsx} +5 -2
  128. package/dist/components/TabNav/{index.js → index.jsx} +8 -14
  129. package/dist/components/Table/{index.js → index.jsx} +23 -8
  130. package/dist/components/Tabs/{index.js → index.jsx} +14 -5
  131. package/dist/components/TextArea/{index.js → index.jsx} +3 -2
  132. package/dist/components/TextField/{index.js → index.jsx} +9 -4
  133. package/dist/components/Toast/{ToastActionButton.js → ToastActionButton.jsx} +5 -4
  134. package/dist/components/Toast/{ToastDescription.js → ToastDescription.jsx} +7 -15
  135. package/dist/components/Toast/{ToastTitle.js → ToastTitle.jsx} +5 -15
  136. package/dist/components/Toast/{index.js → index.jsx} +10 -4
  137. package/dist/components/Toggle/{ToggleWithText.js → ToggleWithText.jsx} +6 -4
  138. package/dist/components/Toggle/{index.js → index.jsx} +4 -3
  139. package/dist/components/ToggleGroup/{index.js → index.jsx} +6 -3
  140. package/dist/components/ToggleGroup/{toggleGroupItem.js → toggleGroupItem.jsx} +4 -14
  141. package/dist/components/ToggleSwitch/{index.js → index.jsx} +6 -2
  142. package/dist/components/Tooltip/{index.js → index.jsx} +12 -3
  143. package/dist/stories/Welcome.d.ts +2 -1
  144. package/dist/stories/Welcome.jsx +48 -0
  145. package/dist/stories/accordion/Accordion.stories.d.ts +1 -1
  146. package/dist/stories/accordion/{Accordion.stories.js → Accordion.stories.jsx} +20 -2
  147. package/dist/stories/alert-dialog/AlertDialog.stories.d.ts +1 -1
  148. package/dist/stories/alert-dialog/{AlertDialog.stories.js → AlertDialog.stories.jsx} +15 -2
  149. package/dist/stories/aspect-ratio/AspectRatio.stories.d.ts +3 -3
  150. package/dist/stories/aspect-ratio/AspectRatio.stories.jsx +106 -0
  151. package/dist/stories/avatar/Avatar.stories.d.ts +5 -5
  152. package/dist/stories/avatar/{Avatar.stories.js → Avatar.stories.jsx} +17 -6
  153. package/dist/stories/badge/Badge.stories.d.ts +6 -6
  154. package/dist/stories/badge/{Badge.stories.js → Badge.stories.jsx} +51 -7
  155. package/dist/stories/bubble-chart/BubbleChart.stories.d.ts +5 -4
  156. package/dist/stories/bubble-chart/{BubbleChart.stories.js → BubbleChart.stories.jsx} +12 -4
  157. package/dist/stories/button/Button.stories.d.ts +7 -7
  158. package/dist/stories/button/{Button.stories.js → Button.stories.jsx} +41 -8
  159. package/dist/stories/button/IconButton.stories.d.ts +4 -4
  160. package/dist/stories/button/{IconButton.stories.js → IconButton.stories.jsx} +18 -5
  161. package/dist/stories/callout/Callout.stories.d.ts +7 -7
  162. package/dist/stories/callout/Callout.stories.jsx +205 -0
  163. package/dist/stories/card/Card.stories.d.ts +5 -5
  164. package/dist/stories/card/{Card.stories.js → Card.stories.jsx} +56 -6
  165. package/dist/stories/checkbox/Checkbox.stories.d.ts +6 -6
  166. package/dist/stories/checkbox/{Checkbox.stories.js → Checkbox.stories.jsx} +63 -7
  167. package/dist/stories/checkbox/CheckboxCard.stories.d.ts +5 -5
  168. package/dist/stories/checkbox/{CheckboxCard.stories.js → CheckboxCard.stories.jsx} +41 -6
  169. package/dist/stories/checkbox/CheckboxGroup.stories.d.ts +3 -3
  170. package/dist/stories/checkbox/{CheckboxGroup.stories.js → CheckboxGroup.stories.jsx} +76 -4
  171. package/dist/stories/context-menu/ContextMenu.stories.d.ts +4 -4
  172. package/dist/stories/context-menu/{ContextMenu.stories.js → ContextMenu.stories.jsx} +74 -5
  173. package/dist/stories/data-list/DataList.stories.d.ts +4 -4
  174. package/dist/stories/data-list/DataList.stories.jsx +185 -0
  175. package/dist/stories/dialog/Dialog.stories.d.ts +1 -1
  176. package/dist/stories/dialog/{Dialog.stories.js → Dialog.stories.jsx} +25 -2
  177. package/dist/stories/doughnut-chart/DoughnutChart.stories.d.ts +5 -4
  178. package/dist/stories/doughnut-chart/{DoughnutChart.stories.js → DoughnutChart.stories.jsx} +12 -4
  179. package/dist/stories/dropdown-menu/DropdownMenu.stories.d.ts +4 -4
  180. package/dist/stories/dropdown-menu/DropdownMenu.stories.jsx +170 -0
  181. package/dist/stories/header/Header.stories.d.ts +6 -6
  182. package/dist/stories/header/{Header.stories.js → Header.stories.jsx} +26 -7
  183. package/dist/stories/hover-card/HoverCard.stories.d.ts +2 -2
  184. package/dist/stories/hover-card/{HoverCard.stories.js → HoverCard.stories.jsx} +30 -3
  185. package/dist/stories/inset/Inset.stories.d.ts +2 -2
  186. package/dist/stories/inset/{Inset.stories.js → Inset.stories.jsx} +27 -12
  187. package/dist/stories/label/Label.stories.d.ts +4 -4
  188. package/dist/stories/label/{Label.stories.js → Label.stories.jsx} +26 -5
  189. package/dist/stories/menubar/Menubar.stories.d.ts +1 -1
  190. package/dist/stories/menubar/{Menubar.stories.js → Menubar.stories.jsx} +45 -8
  191. package/dist/stories/navigation-menu/NavigationMenu.stories.d.ts +2 -2
  192. package/dist/stories/navigation-menu/{NavigationMenu.stories.js → NavigationMenu.stories.jsx} +68 -3
  193. package/dist/stories/pie-chart/PieChart.stories.d.ts +6 -5
  194. package/dist/stories/pie-chart/{PieChart.stories.js → PieChart.stories.jsx} +32 -13
  195. package/dist/stories/popover/Popover.stories.d.ts +2 -2
  196. package/dist/stories/popover/{Popover.stories.js → Popover.stories.jsx} +42 -9
  197. package/dist/stories/progress/Progress.stories.d.ts +4 -4
  198. package/dist/stories/progress/{Progress.stories.js → Progress.stories.jsx} +11 -6
  199. package/dist/stories/radar-chart/RadarChart.stories.d.ts +6 -5
  200. package/dist/stories/radar-chart/{RadarChart.stories.js → RadarChart.stories.jsx} +4 -5
  201. package/dist/stories/radio/Radio.stories.d.ts +3 -3
  202. package/dist/stories/radio/{Radio.stories.js → Radio.stories.jsx} +14 -4
  203. package/dist/stories/radio/RadioCards.stories.d.ts +4 -4
  204. package/dist/stories/radio/{RadioCards.stories.js → RadioCards.stories.jsx} +64 -5
  205. package/dist/stories/radio/RadioGroup.stories.d.ts +4 -4
  206. package/dist/stories/radio/{RadioGroup.stories.js → RadioGroup.stories.jsx} +59 -5
  207. package/dist/stories/scroll-area/ScrollArea.stories.d.ts +2 -2
  208. package/dist/stories/scroll-area/ScrollArea.stories.jsx +123 -0
  209. package/dist/stories/segmented-control/SegmentedControl.stories.d.ts +4 -4
  210. package/dist/stories/segmented-control/{SegmentedControl.stories.js → SegmentedControl.stories.jsx} +26 -5
  211. package/dist/stories/select/Select.stories.d.ts +5 -5
  212. package/dist/stories/select/{Select.stories.js → Select.stories.jsx} +67 -6
  213. package/dist/stories/separator/Separator.stories.d.ts +4 -4
  214. package/dist/stories/separator/{Separator.stories.js → Separator.stories.jsx} +29 -5
  215. package/dist/stories/skeleton/Skeleton.stories.d.ts +5 -5
  216. package/dist/stories/skeleton/{Skeleton.stories.js → Skeleton.stories.jsx} +33 -6
  217. package/dist/stories/slider/Slider.stories.d.ts +4 -4
  218. package/dist/stories/slider/{Slider.stories.js → Slider.stories.jsx} +16 -5
  219. package/dist/stories/spinner/Spinner.stories.d.ts +5 -5
  220. package/dist/stories/spinner/{Spinner.stories.js → Spinner.stories.jsx} +31 -6
  221. package/dist/stories/switch/Switch.stories.d.ts +4 -4
  222. package/dist/stories/switch/{Switch.stories.js → Switch.stories.jsx} +16 -5
  223. package/dist/stories/tab-nav/TabNav.stories.d.ts +1 -1
  224. package/dist/stories/tab-nav/{TabNav.stories.js → TabNav.stories.jsx} +11 -2
  225. package/dist/stories/table/Table.stories.d.ts +1 -1
  226. package/dist/stories/table/{Table.stories.js → Table.stories.jsx} +29 -2
  227. package/dist/stories/tabs/Tabs.stories.d.ts +1 -1
  228. package/dist/stories/tabs/{Tabs.stories.js → Tabs.stories.jsx} +19 -2
  229. package/dist/stories/text/Text.stories.d.ts +5 -5
  230. package/dist/stories/text/{Text.stories.js → Text.stories.jsx} +21 -6
  231. package/dist/stories/textArea/TextArea.stories.d.ts +5 -5
  232. package/dist/stories/textArea/{TextArea.stories.js → TextArea.stories.jsx} +22 -6
  233. package/dist/stories/textfield/TextField.stories.d.ts +5 -5
  234. package/dist/stories/textfield/{TextField.stories.js → TextField.stories.jsx} +38 -6
  235. package/dist/stories/toast/Toast.stories.d.ts +3 -3
  236. package/dist/stories/toast/{Toast.stories.js → Toast.stories.jsx} +22 -4
  237. package/dist/stories/toggle/Toggle.stories.d.ts +5 -5
  238. package/dist/stories/toggle/{Toggle.stories.js → Toggle.stories.jsx} +23 -6
  239. package/dist/stories/toggle/ToggleGroup.stories.d.ts +3 -3
  240. package/dist/stories/toggle/{ToggleGroup.stories.js → ToggleGroup.stories.jsx} +39 -6
  241. package/dist/stories/tooltip/Tooltip.stories.d.ts +3 -3
  242. package/dist/stories/tooltip/{Tooltip.stories.js → Tooltip.stories.jsx} +17 -4
  243. package/dist/tsconfig.tsbuildinfo +1 -1
  244. package/package.json +1 -1
  245. package/dist/app/page.js +0 -25
  246. package/dist/app/template/badgeTemplate.js +0 -11
  247. package/dist/app/template/buttonTemplate.js +0 -11
  248. package/dist/app/template/colorPicker.js +0 -14
  249. package/dist/app/template/textTemplate.js +0 -23
  250. package/dist/app/template/theme.js +0 -12
  251. package/dist/components/NavigationMenu/NavigationMenuIndicator.js +0 -31
  252. package/dist/stories/Welcome.js +0 -30
  253. package/dist/stories/aspect-ratio/AspectRatio.stories.js +0 -78
  254. package/dist/stories/callout/Callout.stories.js +0 -104
  255. package/dist/stories/data-list/DataList.stories.js +0 -87
  256. package/dist/stories/dropdown-menu/DropdownMenu.stories.js +0 -75
  257. package/dist/stories/scroll-area/ScrollArea.stories.js +0 -63
@@ -9,7 +9,6 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
12
  import { fn } from '@storybook/test';
14
13
  import { radiusOptions, scalingOptions, weightOptions, commonArgTypes, appearanceOptions, sizeOptions, } from '../../../src/constants';
15
14
  import Button from 'components/Button';
@@ -56,10 +55,44 @@ var meta = {
56
55
  },
57
56
  };
58
57
  export default meta;
59
- export var Default = function (args) { return _jsx(Button, __assign({}, args, { children: "\uBC84\uD2BC" })); };
60
- export var Radius = function (args) { return (_jsx("div", { className: "flex space-x-2", children: radiusOptions.map(function (radius) { return (_jsx(Button, __assign({}, args, { radius: radius, children: radius }), radius)); }) })); };
61
- export var Size = function (args) { return (_jsx("div", { className: "flex items-center space-x-3", children: sizeOptions.map(function (size) { return (_jsx(Button, __assign({}, args, { size: size, children: size }), "".concat(size, "-size"))); }) })); };
62
- export var Scaling = function (args) { return (_jsx("div", { className: "flex items-center space-x-3", children: scalingOptions.map(function (scaling) { return (_jsx(Button, __assign({}, args, { scaling: scaling, children: scaling }), scaling)); }) })); };
63
- export var Weight = function (args) { return (_jsx("div", { className: "flex items-center space-x-3", children: weightOptions.map(function (weight) { return (_jsx(Button, __assign({}, args, { weight: weight, children: weight }), weight)); }) })); };
64
- export var Appearance = function (args) { return (_jsx("div", { className: "flex items-center space-x-3", children: appearanceOptions.map(function (appearance) { return (_jsx(Button, __assign({}, args, { appearance: appearance, children: appearance }), appearance)); }) })); };
65
- export var WithIcon = function (args) { return (_jsxs("div", { className: "flex flex-col items-center space-y-3", children: [_jsx("div", { className: "flex items-center space-x-3", children: appearanceOptions.map(function (appearance) { return (_jsxs(Button, __assign({}, args, { appearance: appearance, children: [_jsx(BookmarkIcon, { className: "w-4 h-4 mr-2" }), "\uBD81\uB9C8\uD06C"] }), appearance)); }) }), _jsx("div", { className: "flex items-center space-x-3", children: appearanceOptions.map(function (appearance) { return (_jsxs(Button, __assign({}, args, { appearance: appearance, children: ["More", _jsx(ArrowRightIcon, { className: "w-4 h-4 ml-2" })] }), appearance)); }) })] })); };
58
+ export var Default = function (args) { return <Button {...args}>버튼</Button>; };
59
+ export var Radius = function (args) { return (<div className="flex space-x-2">
60
+ {radiusOptions.map(function (radius) { return (<Button key={radius} {...args} radius={radius}>
61
+ {radius}
62
+ </Button>); })}
63
+ </div>); };
64
+ export var Size = function (args) { return (<div className="flex items-center space-x-3">
65
+ {sizeOptions.map(function (size) { return (<Button key={"".concat(size, "-size")} {...args} size={size}>
66
+ {size}
67
+ </Button>); })}
68
+ </div>); };
69
+ export var Scaling = function (args) { return (<div className="flex items-center space-x-3">
70
+ {scalingOptions.map(function (scaling) { return (<Button key={scaling} {...args} scaling={scaling}>
71
+ {scaling}
72
+ </Button>); })}
73
+ </div>); };
74
+ export var Weight = function (args) { return (<div className="flex items-center space-x-3">
75
+ {weightOptions.map(function (weight) { return (<Button key={weight} {...args} weight={weight}>
76
+ {weight}
77
+ </Button>); })}
78
+ </div>); };
79
+ export var Appearance = function (args) { return (<div className="flex items-center space-x-3">
80
+ {appearanceOptions.map(function (appearance) { return (<Button key={appearance} {...args} appearance={appearance}>
81
+ {appearance}
82
+ </Button>); })}
83
+ </div>); };
84
+ export var WithIcon = function (args) { return (<div className="flex flex-col items-center space-y-3">
85
+ <div className="flex items-center space-x-3">
86
+ {appearanceOptions.map(function (appearance) { return (<Button key={appearance} {...args} appearance={appearance}>
87
+ <BookmarkIcon className="w-4 h-4 mr-2"/>
88
+ 북마크
89
+ </Button>); })}
90
+ </div>
91
+
92
+ <div className="flex items-center space-x-3">
93
+ {appearanceOptions.map(function (appearance) { return (<Button key={appearance} {...args} appearance={appearance}>
94
+ More
95
+ <ArrowRightIcon className="w-4 h-4 ml-2"/>
96
+ </Button>); })}
97
+ </div>
98
+ </div>); };
@@ -113,13 +113,13 @@ declare const meta: {
113
113
  };
114
114
  };
115
115
  export default meta;
116
- export declare const Default: ({ ...args }: any) => import("react/jsx-runtime").JSX.Element;
116
+ export declare const Default: ({ ...args }: any) => import("react").JSX.Element;
117
117
  export declare const Size: ({ ...args }: {
118
118
  [x: string]: any;
119
- }) => import("react/jsx-runtime").JSX.Element;
119
+ }) => import("react").JSX.Element;
120
120
  export declare const Radius: ({ ...args }: {
121
121
  [x: string]: any;
122
- }) => import("react/jsx-runtime").JSX.Element;
122
+ }) => import("react").JSX.Element;
123
123
  export declare const Appearance: ({ ...args }: {
124
124
  [x: string]: any;
125
- }) => import("react/jsx-runtime").JSX.Element;
125
+ }) => import("react").JSX.Element;
@@ -20,7 +20,6 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx } from "react/jsx-runtime";
24
23
  import { MagnifyingGlassIcon } from '@radix-ui/react-icons';
25
24
  import { commonArgTypes, radiusOptions, sizeOptions, appearanceOptions } from '../../constants';
26
25
  import { IconButton } from '../../components/IconButton';
@@ -64,17 +63,31 @@ var meta = {
64
63
  export default meta;
65
64
  export var Default = function (_a) {
66
65
  var args = __rest(_a, []);
67
- return (_jsx(IconButton, __assign({}, args, { children: _jsx(MagnifyingGlassIcon, {}) })));
66
+ return (<IconButton {...args}>
67
+ <MagnifyingGlassIcon />
68
+ </IconButton>);
68
69
  };
69
70
  export var Size = function (_a) {
70
71
  var args = __rest(_a, []);
71
- return (_jsx("div", { className: "flex items-center space-x-4", children: sizeOptions.map(function (size) { return (_jsx(IconButton, __assign({}, args, { size: size, children: _jsx(MagnifyingGlassIcon, {}) }), size)); }) }));
72
+ return (<div className="flex items-center space-x-4">
73
+ {sizeOptions.map(function (size) { return (<IconButton key={size} {...args} size={size}>
74
+ <MagnifyingGlassIcon />
75
+ </IconButton>); })}
76
+ </div>);
72
77
  };
73
78
  export var Radius = function (_a) {
74
79
  var args = __rest(_a, []);
75
- return (_jsx("div", { className: "flex items-center space-x-4", children: radiusOptions.map(function (radius) { return (_jsx(IconButton, __assign({}, args, { radius: radius, children: _jsx(MagnifyingGlassIcon, {}) }), radius)); }) }));
80
+ return (<div className="flex items-center space-x-4">
81
+ {radiusOptions.map(function (radius) { return (<IconButton key={radius} {...args} radius={radius}>
82
+ <MagnifyingGlassIcon />
83
+ </IconButton>); })}
84
+ </div>);
76
85
  };
77
86
  export var Appearance = function (_a) {
78
87
  var args = __rest(_a, []);
79
- return (_jsx("div", { className: "flex items-center space-x-4", children: appearanceOptions.map(function (appearance) { return (_jsx(IconButton, __assign({}, args, { appearance: appearance, children: _jsx(MagnifyingGlassIcon, {}) }), appearance)); }) }));
88
+ return (<div className="flex items-center space-x-4">
89
+ {appearanceOptions.map(function (appearance) { return (<IconButton key={appearance} {...args} appearance={appearance}>
90
+ <MagnifyingGlassIcon />
91
+ </IconButton>); })}
92
+ </div>);
80
93
  };
@@ -108,22 +108,22 @@ declare const meta: {
108
108
  export default meta;
109
109
  export declare const Default: ({ ...args }: {
110
110
  [x: string]: any;
111
- }) => import("react/jsx-runtime").JSX.Element;
111
+ }) => import("react").JSX.Element;
112
112
  export declare const Radius: ({ ...args }: {
113
113
  [x: string]: any;
114
- }) => import("react/jsx-runtime").JSX.Element;
114
+ }) => import("react").JSX.Element;
115
115
  export declare const Size: ({ ...args }: {
116
116
  [x: string]: any;
117
- }) => import("react/jsx-runtime").JSX.Element;
117
+ }) => import("react").JSX.Element;
118
118
  export declare const Color: ({ ...args }: {
119
119
  [x: string]: any;
120
- }) => import("react/jsx-runtime").JSX.Element;
120
+ }) => import("react").JSX.Element;
121
121
  export declare const Appearance: ({ ...args }: {
122
122
  [x: string]: any;
123
- }) => import("react/jsx-runtime").JSX.Element;
123
+ }) => import("react").JSX.Element;
124
124
  export declare const Scaling: ({ ...args }: {
125
125
  [x: string]: any;
126
- }) => import("react/jsx-runtime").JSX.Element;
126
+ }) => import("react").JSX.Element;
127
127
  export declare const IconTypes: ({ ...args }: {
128
128
  [x: string]: any;
129
- }) => import("react/jsx-runtime").JSX.Element;
129
+ }) => import("react").JSX.Element;
@@ -0,0 +1,205 @@
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 { Callout, CalloutIcon, CalloutText } from 'components/Callout';
24
+ import { Text } from 'Typography/Text';
25
+ import { radiusOptions, scalingOptions, commonArgTypes, sizeOptions, appearanceOptions, } from '../../constants';
26
+ var meta = {
27
+ title: 'Component/Callout',
28
+ component: Callout,
29
+ parameters: {
30
+ layout: 'centered',
31
+ docs: {
32
+ description: {
33
+ component: '중요한 정보나 경고를 강조하기 위해 사용되는 알림 박스 컴포넌트',
34
+ },
35
+ },
36
+ },
37
+ tags: ['autodocs'],
38
+ argTypes: {
39
+ radius: __assign(__assign({}, commonArgTypes.radius), { description: 'Callout border 둥굴기' }),
40
+ size: __assign(__assign({}, commonArgTypes.size), { table: {
41
+ category: 'Props',
42
+ type: {
43
+ summary: sizeOptions
44
+ .filter(function (option) { return option !== 'x-small' && option !== 'x-large'; })
45
+ .join(' | '),
46
+ },
47
+ }, options: sizeOptions.filter(function (option) { return option !== 'x-small' && option !== 'x-large'; }), description: 'Callout 크기' }),
48
+ scaling: __assign(__assign({}, commonArgTypes.scaling), { description: 'Callout 비율' }),
49
+ color: {
50
+ table: {
51
+ category: 'Props',
52
+ type: { summary: ['danger', 'warning', 'success', 'information'].join(' | ') },
53
+ },
54
+ options: ['danger', 'warning', 'success', 'information'],
55
+ control: { type: 'select' },
56
+ defaultValue: { summary: 'information' },
57
+ description: 'Toast 색',
58
+ },
59
+ contentText: __assign(__assign({}, commonArgTypes.basicText), { description: 'Callout 안에 들어가는 텍스트' }),
60
+ appearance: __assign(__assign({}, commonArgTypes.appearance), { table: {
61
+ category: 'Props',
62
+ type: {
63
+ summary: appearanceOptions
64
+ .filter(function (option) { return option !== 'classic' && option !== 'ghost' && option !== 'solid'; })
65
+ .join(' | '),
66
+ },
67
+ }, description: 'Callout 스타일', options: appearanceOptions.filter(function (option) { return option !== 'classic' && option !== 'ghost' && option !== 'solid'; }) }),
68
+ },
69
+ };
70
+ export default meta;
71
+ export var Default = function (_a) {
72
+ var args = __rest(_a, []);
73
+ return (<Callout {...args}>
74
+ <CalloutIcon {...args} iconType="information"/>
75
+ <CalloutText {...args}>시스템 점검이 예정되어 있습니다.</CalloutText>
76
+ </Callout>);
77
+ };
78
+ export var Radius = function (_a) {
79
+ var args = __rest(_a, []);
80
+ return (<div className="flex flex-col space-y-3">
81
+ {radiusOptions.map(function (radius) { return (<Callout {...args} radius={radius} key={radius}>
82
+ <CalloutIcon {...args} iconType="information"/>
83
+ <CalloutText {...args}>시스템 점검이 예정되어 있습니다.</CalloutText>
84
+ </Callout>); })}
85
+ </div>);
86
+ };
87
+ export var Size = function (_a) {
88
+ var args = __rest(_a, []);
89
+ return (<div className="flex flex-col space-y-5">
90
+ <Callout {...args} size={'small'}>
91
+ <CalloutIcon {...args} iconType="information"/>
92
+ <CalloutText {...args}>
93
+ 새로운 업데이트가 있습니다. 최신 버전을 다운로드하여 사용해 주세요.
94
+ </CalloutText>
95
+ </Callout>
96
+
97
+ <Callout {...args}>
98
+ <CalloutIcon {...args} iconType="information"/>
99
+ <CalloutText {...args}>
100
+ 새로운 업데이트가 있습니다. 최신 버전을 다운로드하여 사용해 주세요.
101
+ </CalloutText>
102
+ </Callout>
103
+
104
+ <Callout {...args} size="large">
105
+ <CalloutIcon {...args} iconType="information"/>
106
+ <CalloutText {...args}>
107
+ 새로운 업데이트가 있습니다. 최신 버전을 다운로드하여 사용해 주세요.
108
+ </CalloutText>
109
+ </Callout>
110
+ </div>);
111
+ };
112
+ export var Color = function (_a) {
113
+ var args = __rest(_a, []);
114
+ return (<div className="flex space-x-5">
115
+ <Callout {...args} color="information">
116
+ <CalloutIcon {...args} iconType="information"/>
117
+ <CalloutText {...args}>정보 메세지</CalloutText>
118
+ </Callout>
119
+
120
+ <Callout {...args} color="danger">
121
+ <CalloutIcon {...args} iconType="danger"/>
122
+ <CalloutText {...args}>위험 메세지</CalloutText>
123
+ </Callout>
124
+
125
+ <Callout {...args} color="warning">
126
+ <CalloutIcon {...args} iconType="warning"/>
127
+ <CalloutText {...args}>경고 메세지</CalloutText>
128
+ </Callout>
129
+
130
+ <Callout {...args} color="success">
131
+ <CalloutIcon {...args} iconType="success"/>
132
+ <CalloutText {...args}>성공 메세지</CalloutText>
133
+ </Callout>
134
+ </div>);
135
+ };
136
+ export var Appearance = function (_a) {
137
+ var args = __rest(_a, []);
138
+ return (<div className="flex space-x-5">
139
+ <div className="flex flex-col space-y-1">
140
+ <Text>Soft(기준)</Text>
141
+ <Callout {...args} appearance="soft">
142
+ <CalloutIcon {...args} iconType="information"/>
143
+ <CalloutText {...args}>새로운 업데이트가 있습니다. </CalloutText>
144
+ </Callout>
145
+ </div>
146
+ <div className="flex flex-col space-y-1">
147
+ <Text>Surface</Text>
148
+ <Callout {...args} appearance="surface">
149
+ <CalloutIcon {...args} iconType="information"/>
150
+ <CalloutText {...args}>새로운 업데이트가 있습니다. </CalloutText>
151
+ </Callout>
152
+ </div>
153
+ <div className="flex flex-col space-y-1">
154
+ <Text>Outline</Text>
155
+ <Callout {...args} appearance="outline">
156
+ <CalloutIcon {...args} iconType="information"/>
157
+ <CalloutText {...args}>새로운 업데이트가 있습니다. </CalloutText>
158
+ </Callout>
159
+ </div>
160
+ </div>);
161
+ };
162
+ export var Scaling = function (_a) {
163
+ var args = __rest(_a, []);
164
+ return (<div className="flex flex-col space-y-5">
165
+ {scalingOptions.map(function (scaling) { return (<Callout {...args} scaling={scaling} key={scaling}>
166
+ <CalloutIcon {...args} iconType="information"/>
167
+ <CalloutText {...args}>관리자에게 문의하세요.</CalloutText>
168
+ </Callout>); })}
169
+ </div>);
170
+ };
171
+ export var IconTypes = function (_a) {
172
+ var args = __rest(_a, []);
173
+ return (<div className="flex space-x-5">
174
+ <div className="flex flex-col space-y-1">
175
+ <Text>Danger</Text>
176
+ <Callout {...args} color="danger">
177
+ <CalloutIcon {...args} iconType="danger" color="danger"/>
178
+ <CalloutText {...args} color="danger">
179
+ 위험 아이콘
180
+ </CalloutText>
181
+ </Callout>
182
+ </div>
183
+ <div className="flex flex-col space-y-1">
184
+ <Text>Warning</Text>
185
+ <Callout {...args} color="warning">
186
+ <CalloutIcon {...args} iconType="warning"/>
187
+ <CalloutText {...args}>경고 아이콘</CalloutText>
188
+ </Callout>
189
+ </div>
190
+ <div className="flex flex-col space-y-1">
191
+ <Text>Success</Text>
192
+ <Callout {...args} color="success">
193
+ <CalloutIcon {...args} iconType="success"/>
194
+ <CalloutText {...args}>성공 아이콘</CalloutText>
195
+ </Callout>
196
+ </div>
197
+ <div className="flex flex-col space-y-1">
198
+ <Text>Info</Text>
199
+ <Callout {...args} color="information">
200
+ <CalloutIcon {...args} iconType="information"/>
201
+ <CalloutText {...args}>정보 아이콘</CalloutText>
202
+ </Callout>
203
+ </div>
204
+ </div>);
205
+ };
@@ -85,16 +85,16 @@ 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 NoAvatar: ({ ...args }: {
90
90
  [x: string]: any;
91
- }) => import("react/jsx-runtime").JSX.Element;
91
+ }) => import("react").JSX.Element;
92
92
  export declare const Appearance: ({ ...args }: {
93
93
  [x: string]: any;
94
- }) => import("react/jsx-runtime").JSX.Element;
94
+ }) => import("react").JSX.Element;
95
95
  export declare const Scaling: ({ ...args }: {
96
96
  [x: string]: any;
97
- }) => import("react/jsx-runtime").JSX.Element;
97
+ }) => import("react").JSX.Element;
98
98
  export declare const Radius: ({ ...args }: {
99
99
  [x: string]: any;
100
- }) => import("react/jsx-runtime").JSX.Element;
100
+ }) => 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 Card from 'components/Card';
25
24
  import Avatar from 'components/Avatar';
26
25
  import { Text } from 'Typography/Text';
@@ -64,21 +63,72 @@ var meta = {
64
63
  export default meta;
65
64
  export var Default = function (_a) {
66
65
  var args = __rest(_a, []);
67
- return (_jsxs(Card, __assign({}, args, { children: [_jsx(Avatar, __assign({}, args, { size: args.size === 'small' ? '3' : args.size === 'large' ? '5' : '4', appearance: "solid", imagePath: "https://images.unsplash.com/photo-1502823403499-6ccfcf4fb453?&w=256&h=256&q=70&crop=focalpoint&fp-x=0.5&fp-y=0.3&fp-z=1&fit=crop" })), _jsxs("div", { className: "flex flex-col", children: [_jsx(Text, __assign({}, args, { weight: 'bold', size: args.size === 'small' ? '3' : args.size === 'large' ? '5' : '4', children: "Title" })), _jsx(Text, __assign({}, args, { size: args.size === 'small' ? '3' : args.size === 'large' ? '5' : '4', children: "Content" }))] })] })));
66
+ return (<Card {...args}>
67
+ <Avatar {...args} size={args.size === 'small' ? '3' : args.size === 'large' ? '5' : '4'} appearance="solid" imagePath="https://images.unsplash.com/photo-1502823403499-6ccfcf4fb453?&w=256&h=256&q=70&crop=focalpoint&fp-x=0.5&fp-y=0.3&fp-z=1&fit=crop"/>
68
+ <div className="flex flex-col">
69
+ <Text {...args} weight={'bold'} size={args.size === 'small' ? '3' : args.size === 'large' ? '5' : '4'}>
70
+ Title
71
+ </Text>
72
+ <Text {...args} size={args.size === 'small' ? '3' : args.size === 'large' ? '5' : '4'}>
73
+ Content
74
+ </Text>
75
+ </div>
76
+ </Card>);
68
77
  };
69
78
  export var NoAvatar = function (_a) {
70
79
  var args = __rest(_a, []);
71
- return (_jsx(Card, __assign({}, args, { children: _jsxs("div", { className: "flex flex-col", children: [_jsx(Text, __assign({}, args, { weight: 'bold', children: "Typography" })), _jsx(Text, __assign({}, args, { children: "is the art and technique of arranging type to make written language legible, \n readable and appealing when displayed." }))] }) })));
80
+ return (<Card {...args}>
81
+ <div className="flex flex-col">
82
+ <Text {...args} weight={'bold'}>
83
+ Typography
84
+ </Text>
85
+ <Text {...args}>{"is the art and technique of arranging type to make written language legible, \n readable and appealing when displayed."}</Text>
86
+ </div>
87
+ </Card>);
72
88
  };
73
89
  export var Appearance = function (_a) {
74
90
  var args = __rest(_a, []);
75
- return (_jsxs("div", { className: "flex flex-col space-y-4", children: [_jsx(Card, __assign({}, args, { appearance: "surface", children: _jsx(Text, { children: "surface style card (default)" }) })), _jsx(Card, __assign({}, args, { appearance: "classic", children: _jsx(Text, { children: "classic style card" }) })), _jsx(Card, __assign({}, args, { appearance: "ghost", children: _jsx(Text, { children: " ghost style card" }) }))] }));
91
+ return (<div className="flex flex-col space-y-4">
92
+ <Card {...args} appearance="surface">
93
+ <Text>surface style card (default)</Text>
94
+ </Card>
95
+ <Card {...args} appearance="classic">
96
+ <Text>classic style card</Text>
97
+ </Card>
98
+ <Card {...args} appearance="ghost">
99
+ <Text> ghost style card</Text>
100
+ </Card>
101
+ </div>);
76
102
  };
77
103
  export var Scaling = function (_a) {
78
104
  var args = __rest(_a, []);
79
- return (_jsx("div", { className: "flex flex-col items-center space-y-4", children: scalingOptions.map(function (scaling) { return (_jsx("div", { children: _jsxs(Card, __assign({}, args, { scaling: scaling, children: [_jsx(Avatar, __assign({}, args, { radius: 'full', scaling: scaling, imagePath: "https://images.unsplash.com/photo-1502823403499-6ccfcf4fb453?&w=256&h=256&q=70&crop=focalpoint&fp-x=0.5&fp-y=0.3&fp-z=1&fit=crop" })), _jsxs("div", { className: "flex flex-col", children: [_jsx(Text, __assign({}, args, { weight: 'bold', children: "Title" })), _jsx(Text, __assign({}, args, { children: "Content" }))] })] })) }, scaling)); }) }));
105
+ return (<div className="flex flex-col items-center space-y-4">
106
+ {scalingOptions.map(function (scaling) { return (<div key={scaling}>
107
+ <Card {...args} scaling={scaling}>
108
+ <Avatar {...args} radius={'full'} scaling={scaling} imagePath="https://images.unsplash.com/photo-1502823403499-6ccfcf4fb453?&w=256&h=256&q=70&crop=focalpoint&fp-x=0.5&fp-y=0.3&fp-z=1&fit=crop"/>
109
+ <div className="flex flex-col">
110
+ <Text {...args} weight={'bold'}>
111
+ Title
112
+ </Text>
113
+ <Text {...args}>Content</Text>
114
+ </div>
115
+ </Card>
116
+ </div>); })}
117
+ </div>);
80
118
  };
81
119
  export var Radius = function (_a) {
82
120
  var args = __rest(_a, []);
83
- return (_jsx("div", { className: "flex flex-col items-center space-y-3", children: radiusOptions.map(function (radius) { return (_jsx("div", { children: _jsxs(Card, __assign({}, args, { radius: radius, children: [_jsx(Avatar, __assign({}, args, { radius: radius, imagePath: "https://images.unsplash.com/photo-1502823403499-6ccfcf4fb453?&w=256&h=256&q=70&crop=focalpoint&fp-x=0.5&fp-y=0.3&fp-z=1&fit=crop" })), _jsxs("div", { className: "flex flex-col", children: [_jsx(Text, __assign({}, args, { weight: 'bold', children: "Title" })), _jsx(Text, __assign({}, args, { children: "Content" }))] })] })) }, radius)); }) }));
121
+ return (<div className="flex flex-col items-center space-y-3">
122
+ {radiusOptions.map(function (radius) { return (<div key={radius}>
123
+ <Card {...args} radius={radius}>
124
+ <Avatar {...args} radius={radius} imagePath="https://images.unsplash.com/photo-1502823403499-6ccfcf4fb453?&w=256&h=256&q=70&crop=focalpoint&fp-x=0.5&fp-y=0.3&fp-z=1&fit=crop"/>
125
+ <div className="flex flex-col">
126
+ <Text {...args} weight={'bold'}>
127
+ Title
128
+ </Text>
129
+ <Text {...args}>Content</Text>
130
+ </div>
131
+ </Card>
132
+ </div>); })}
133
+ </div>);
84
134
  };
@@ -129,19 +129,19 @@ declare const meta: {
129
129
  export default meta;
130
130
  export declare const Default: ({ ...args }: {
131
131
  [x: string]: any;
132
- }) => import("react/jsx-runtime").JSX.Element;
132
+ }) => import("react").JSX.Element;
133
133
  export declare const Types: ({ ...args }: {
134
134
  [x: string]: any;
135
- }) => import("react/jsx-runtime").JSX.Element;
135
+ }) => import("react").JSX.Element;
136
136
  export declare const Size: ({ ...args }: {
137
137
  [x: string]: any;
138
- }) => import("react/jsx-runtime").JSX.Element;
138
+ }) => import("react").JSX.Element;
139
139
  export declare const Scaling: ({ ...args }: {
140
140
  [x: string]: any;
141
- }) => import("react/jsx-runtime").JSX.Element;
141
+ }) => import("react").JSX.Element;
142
142
  export declare const Radius: ({ ...args }: {
143
143
  [x: string]: any;
144
- }) => import("react/jsx-runtime").JSX.Element;
144
+ }) => import("react").JSX.Element;
145
145
  export declare const Appearance: ({ ...args }: {
146
146
  [x: string]: any;
147
- }) => import("react/jsx-runtime").JSX.Element;
147
+ }) => 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 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;