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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (269) hide show
  1. package/README.md +163 -163
  2. package/dist/Typography/Header/index.d.ts +1 -1
  3. package/dist/Typography/Header/{index.js → index.jsx} +5 -2
  4. package/dist/Typography/Text/{index.js → index.jsx} +6 -3
  5. package/dist/Typography/index.d.ts +2 -2
  6. package/dist/Typography/index.js +3 -3
  7. package/dist/app/layout.d.ts +1 -1
  8. package/dist/app/{layout.js → layout.jsx} +3 -2
  9. package/dist/app/page.d.ts +2 -1
  10. package/dist/app/page.jsx +42 -0
  11. package/dist/app/template/badgeTemplate.d.ts +2 -1
  12. package/dist/app/template/badgeTemplate.jsx +82 -0
  13. package/dist/app/template/buttonTemplate.d.ts +2 -1
  14. package/dist/app/template/buttonTemplate.jsx +82 -0
  15. package/dist/app/template/colorPicker.d.ts +2 -1
  16. package/dist/app/template/colorPicker.jsx +19 -0
  17. package/dist/app/template/textTemplate.d.ts +2 -1
  18. package/dist/app/template/textTemplate.jsx +72 -0
  19. package/dist/app/template/theme.d.ts +2 -2
  20. package/dist/app/template/theme.jsx +44 -0
  21. package/dist/components/Accordion/{index.js → index.jsx} +17 -5
  22. package/dist/components/AlertDialog/{AlertDialogAction.js → AlertDialogAction.jsx} +5 -4
  23. package/dist/components/AlertDialog/{AlertDialogCancel.js → AlertDialogCancel.jsx} +5 -4
  24. package/dist/components/AlertDialog/{AlertDialogContent.js → AlertDialogContent.jsx} +8 -4
  25. package/dist/components/AlertDialog/{AlertDialogDescription.js → AlertDialogDescription.jsx} +5 -15
  26. package/dist/components/AlertDialog/{AlertDialogTitle.js → AlertDialogTitle.jsx} +5 -15
  27. package/dist/components/AlertDialog/{AlertDialogTrigger.js → AlertDialogTrigger.jsx} +5 -4
  28. package/dist/components/AlertDialog/{index.js → index.jsx} +2 -14
  29. package/dist/components/AspectRatio/{index.js → index.jsx} +5 -4
  30. package/dist/components/Avatar/{index.js → index.jsx} +8 -4
  31. package/dist/components/Badge/{index.js → index.jsx} +4 -3
  32. package/dist/components/BubbleChart/index.d.ts +2 -1
  33. package/dist/components/BubbleChart/{index.js → index.jsx} +3 -3
  34. package/dist/components/Button/{index.js → index.jsx} +5 -4
  35. package/dist/components/Callout/{CalloutIcon.js → CalloutIcon.jsx} +9 -4
  36. package/dist/components/Callout/{CalloutText.js → CalloutText.jsx} +5 -15
  37. package/dist/components/Callout/{index.js → index.jsx} +7 -4
  38. package/dist/components/Card/{index.js → index.jsx} +5 -4
  39. package/dist/components/Checkbox/{index.js → index.jsx} +12 -4
  40. package/dist/components/CheckboxCard/{index.js → index.jsx} +6 -4
  41. package/dist/components/CheckboxGroup/{CheckboxGroupItem.js → CheckboxGroupItem.jsx} +6 -14
  42. package/dist/components/CheckboxGroup/{index.js → index.jsx} +6 -3
  43. package/dist/components/ContextMenu/{ContextMenuCheckboxItem.js → ContextMenuCheckboxItem.jsx} +8 -15
  44. package/dist/components/ContextMenu/{ContextMenuContent.js → ContextMenuContent.jsx} +7 -4
  45. package/dist/components/ContextMenu/{ContextMenuGroup.js → ContextMenuGroup.jsx} +4 -14
  46. package/dist/components/ContextMenu/{ContextMenuItem.js → ContextMenuItem.jsx} +6 -4
  47. package/dist/components/ContextMenu/{ContextMenuItemIndicator.js → ContextMenuItemIndicator.jsx} +5 -4
  48. package/dist/components/ContextMenu/{ContextMenuLabel.js → ContextMenuLabel.jsx} +5 -4
  49. package/dist/components/ContextMenu/{ContextMenuRadioGroup.js → ContextMenuRadioGroup.jsx} +6 -14
  50. package/dist/components/ContextMenu/{ContextMenuRadioItem.js → ContextMenuRadioItem.jsx} +8 -15
  51. package/dist/components/ContextMenu/{ContextMenuSeparator.js → ContextMenuSeparator.jsx} +5 -15
  52. package/dist/components/ContextMenu/{ContextMenuSubContent.js → ContextMenuSubContent.jsx} +10 -7
  53. package/dist/components/ContextMenu/{ContextMenuSubTrigger.js → ContextMenuSubTrigger.jsx} +10 -15
  54. package/dist/components/ContextMenu/{ContextMenuTrigger.js → ContextMenuTrigger.jsx} +5 -15
  55. package/dist/components/ContextMenu/{index.js → index.jsx} +4 -14
  56. package/dist/components/DataList/{DataListItem.js → DataListItem.jsx} +5 -4
  57. package/dist/components/DataList/{DataListLabel.js → DataListLabel.jsx} +5 -4
  58. package/dist/components/DataList/{DataListValue.js → DataListValue.jsx} +5 -4
  59. package/dist/components/DataList/{index.js → index.jsx} +7 -15
  60. package/dist/components/Dialog/{DialogAction.js → DialogAction.jsx} +5 -15
  61. package/dist/components/Dialog/{DialogCancel.js → DialogCancel.jsx} +5 -15
  62. package/dist/components/Dialog/{DialogContent.js → DialogContent.jsx} +5 -4
  63. package/dist/components/Dialog/{DialogDescription.js → DialogDescription.jsx} +5 -15
  64. package/dist/components/Dialog/{DialogSlot.js → DialogSlot.jsx} +5 -15
  65. package/dist/components/Dialog/{DialogTitle.js → DialogTitle.jsx} +5 -15
  66. package/dist/components/Dialog/{DialogTrigger.js → DialogTrigger.jsx} +4 -14
  67. package/dist/components/Dialog/{index.js → index.jsx} +4 -14
  68. package/dist/components/DoughnutChart/index.d.ts +2 -1
  69. package/dist/components/DoughnutChart/{index.js → index.jsx} +3 -3
  70. package/dist/components/DropdownMenu/{DropdonMenuRadioGroup.js → DropdonMenuRadioGroup.jsx} +6 -14
  71. package/dist/components/DropdownMenu/{DropdonMenuSubContent.js → DropdonMenuSubContent.jsx} +11 -8
  72. package/dist/components/DropdownMenu/{DropdownMenuCheckboxItem.js → DropdownMenuCheckboxItem.jsx} +8 -15
  73. package/dist/components/DropdownMenu/{DropdownMenuContent.js → DropdownMenuContent.jsx} +7 -4
  74. package/dist/components/DropdownMenu/{DropdownMenuItem.js → DropdownMenuItem.jsx} +6 -4
  75. package/dist/components/DropdownMenu/{DropdownMenuItemIndicator.js → DropdownMenuItemIndicator.jsx} +5 -4
  76. package/dist/components/DropdownMenu/{DropdownMenuLable.js → DropdownMenuLable.jsx} +5 -4
  77. package/dist/components/DropdownMenu/{DropdownMenuRadioItem.js → DropdownMenuRadioItem.jsx} +8 -15
  78. package/dist/components/DropdownMenu/{DropdownMenuSeparator.js → DropdownMenuSeparator.jsx} +3 -15
  79. package/dist/components/DropdownMenu/{DropdownMenuSub.js → DropdownMenuSub.jsx} +2 -14
  80. package/dist/components/DropdownMenu/{DropdownMenuSubTrigger.js → DropdownMenuSubTrigger.jsx} +7 -14
  81. package/dist/components/DropdownMenu/{DropdownMenuTrigger.js → DropdownMenuTrigger.jsx} +4 -14
  82. package/dist/components/DropdownMenu/{index.js → index.jsx} +2 -14
  83. package/dist/components/HoverCard/{HoverCardContent.js → HoverCardContent.jsx} +4 -3
  84. package/dist/components/HoverCard/{HoverCardTrigger.js → HoverCardTrigger.jsx} +4 -14
  85. package/dist/components/HoverCard/{index.js → index.jsx} +4 -14
  86. package/dist/components/IconButton/{index.js → index.jsx} +3 -2
  87. package/dist/components/Inset/{index.js → index.jsx} +6 -3
  88. package/dist/components/Label/{index.js → index.jsx} +3 -2
  89. package/dist/components/Menubar/{MenubarCheckboxItem.js → MenubarCheckboxItem.jsx} +8 -15
  90. package/dist/components/Menubar/{MenubarContent.js → MenubarContent.jsx} +11 -8
  91. package/dist/components/Menubar/{MenubarItem.js → MenubarItem.jsx} +6 -4
  92. package/dist/components/Menubar/{MenubarItemIndicator.js → MenubarItemIndicator.jsx} +5 -4
  93. package/dist/components/Menubar/{MenubarMenu.js → MenubarMenu.jsx} +2 -14
  94. package/dist/components/Menubar/{MenubarRadioGroup.js → MenubarRadioGroup.jsx} +6 -14
  95. package/dist/components/Menubar/{MenubarRadioItem.js → MenubarRadioItem.jsx} +8 -15
  96. package/dist/components/Menubar/{MenubarSeparator.js → MenubarSeparator.jsx} +5 -15
  97. package/dist/components/Menubar/{MenubarSub.js → MenubarSub.jsx} +2 -14
  98. package/dist/components/Menubar/{MenubarSubContent.js → MenubarSubContent.jsx} +6 -5
  99. package/dist/components/Menubar/{MenubarSubTrigger.js → MenubarSubTrigger.jsx} +8 -15
  100. package/dist/components/Menubar/{MenubarTrigger.js → MenubarTrigger.jsx} +5 -4
  101. package/dist/components/Menubar/{index.js → index.jsx} +7 -4
  102. package/dist/components/NavigationMenu/{NavigationMenuContent.js → NavigationMenuContent.jsx} +5 -4
  103. package/dist/components/NavigationMenu/NavigationMenuIndicator.jsx +22 -0
  104. package/dist/components/NavigationMenu/{NavigationMenuItem.js → NavigationMenuItem.jsx} +4 -14
  105. package/dist/components/NavigationMenu/{NavigationMenuLink.js → NavigationMenuLink.jsx} +5 -4
  106. package/dist/components/NavigationMenu/{NavigationMenuList.js → NavigationMenuList.jsx} +6 -4
  107. package/dist/components/NavigationMenu/{NavigationMenuTrigger.js → NavigationMenuTrigger.jsx} +6 -4
  108. package/dist/components/NavigationMenu/{NavigationMenuViewport.js → NavigationMenuViewport.jsx} +5 -4
  109. package/dist/components/NavigationMenu/{index.js → index.jsx} +7 -15
  110. package/dist/components/PieChart/index.d.ts +2 -1
  111. package/dist/components/PieChart/{index.js → index.jsx} +3 -3
  112. package/dist/components/Popover/{PopoverClose.js → PopoverClose.jsx} +4 -14
  113. package/dist/components/Popover/{PopoverContent.js → PopoverContent.jsx} +4 -3
  114. package/dist/components/Popover/{PopoverTrigger.js → PopoverTrigger.jsx} +4 -14
  115. package/dist/components/Popover/{index.js → index.jsx} +4 -14
  116. package/dist/components/Progress/{index.js → index.jsx} +4 -3
  117. package/dist/components/RadarChart/index.d.ts +2 -1
  118. package/dist/components/RadarChart/{index.js → index.jsx} +2 -2
  119. package/dist/components/Radio/{index.js → index.jsx} +8 -13
  120. package/dist/components/RadioCards/{RadioCardsItem.js → RadioCardsItem.jsx} +4 -14
  121. package/dist/components/RadioCards/{index.js → index.jsx} +6 -3
  122. package/dist/components/RadioGroup/{RadioGroupItem.js → RadioGroupItem.jsx} +4 -14
  123. package/dist/components/RadioGroup/{index.js → index.jsx} +6 -14
  124. package/dist/components/ScrollArea/{index.js → index.jsx} +6 -14
  125. package/dist/components/SegmentedControl/{SegmentedControlItem.js → SegmentedControlItem.jsx} +4 -14
  126. package/dist/components/SegmentedControl/{index.js → index.jsx} +5 -2
  127. package/dist/components/Select/{index.js → index.jsx} +24 -9
  128. package/dist/components/Separator/{index.js → index.jsx} +6 -3
  129. package/dist/components/Skeleton/{index.js → index.jsx} +6 -3
  130. package/dist/components/Slider/{index.js → index.jsx} +4 -3
  131. package/dist/components/Spinner/{index.js → index.jsx} +5 -2
  132. package/dist/components/TabNav/{index.js → index.jsx} +8 -14
  133. package/dist/components/Table/{index.js → index.jsx} +23 -8
  134. package/dist/components/Tabs/{index.js → index.jsx} +14 -5
  135. package/dist/components/TextArea/{index.js → index.jsx} +3 -2
  136. package/dist/components/TextField/{index.js → index.jsx} +9 -4
  137. package/dist/components/Toast/{ToastActionButton.js → ToastActionButton.jsx} +5 -4
  138. package/dist/components/Toast/{ToastDescription.js → ToastDescription.jsx} +7 -15
  139. package/dist/components/Toast/{ToastTitle.js → ToastTitle.jsx} +5 -15
  140. package/dist/components/Toast/{index.js → index.jsx} +10 -4
  141. package/dist/components/Toggle/{ToggleWithText.js → ToggleWithText.jsx} +6 -4
  142. package/dist/components/Toggle/{index.js → index.jsx} +4 -3
  143. package/dist/components/ToggleGroup/{index.js → index.jsx} +6 -3
  144. package/dist/components/ToggleGroup/{toggleGroupItem.js → toggleGroupItem.jsx} +4 -14
  145. package/dist/components/ToggleSwitch/{index.js → index.jsx} +6 -2
  146. package/dist/components/Tooltip/index.d.ts +1 -1
  147. package/dist/components/Tooltip/{index.js → index.jsx} +12 -3
  148. package/dist/components/index.d.ts +2 -0
  149. package/dist/index.d.ts +5 -2
  150. package/dist/index.js +3 -0
  151. package/dist/stories/Welcome.d.ts +2 -1
  152. package/dist/stories/Welcome.jsx +48 -0
  153. package/dist/stories/accordion/Accordion.stories.d.ts +1 -1
  154. package/dist/stories/accordion/{Accordion.stories.js → Accordion.stories.jsx} +20 -2
  155. package/dist/stories/alert-dialog/AlertDialog.stories.d.ts +1 -1
  156. package/dist/stories/alert-dialog/{AlertDialog.stories.js → AlertDialog.stories.jsx} +15 -2
  157. package/dist/stories/aspect-ratio/AspectRatio.stories.d.ts +3 -3
  158. package/dist/stories/aspect-ratio/AspectRatio.stories.jsx +106 -0
  159. package/dist/stories/avatar/Avatar.stories.d.ts +5 -5
  160. package/dist/stories/avatar/{Avatar.stories.js → Avatar.stories.jsx} +17 -6
  161. package/dist/stories/badge/Badge.stories.d.ts +6 -6
  162. package/dist/stories/badge/{Badge.stories.js → Badge.stories.jsx} +51 -7
  163. package/dist/stories/bubble-chart/BubbleChart.stories.d.ts +5 -4
  164. package/dist/stories/bubble-chart/{BubbleChart.stories.js → BubbleChart.stories.jsx} +12 -4
  165. package/dist/stories/button/Button.stories.d.ts +7 -7
  166. package/dist/stories/button/{Button.stories.js → Button.stories.jsx} +41 -8
  167. package/dist/stories/button/IconButton.stories.d.ts +4 -4
  168. package/dist/stories/button/{IconButton.stories.js → IconButton.stories.jsx} +18 -5
  169. package/dist/stories/callout/Callout.stories.d.ts +7 -7
  170. package/dist/stories/callout/Callout.stories.jsx +205 -0
  171. package/dist/stories/card/Card.stories.d.ts +5 -5
  172. package/dist/stories/card/{Card.stories.js → Card.stories.jsx} +56 -6
  173. package/dist/stories/checkbox/Checkbox.stories.d.ts +6 -6
  174. package/dist/stories/checkbox/{Checkbox.stories.js → Checkbox.stories.jsx} +63 -7
  175. package/dist/stories/checkbox/CheckboxCard.stories.d.ts +5 -5
  176. package/dist/stories/checkbox/{CheckboxCard.stories.js → CheckboxCard.stories.jsx} +41 -6
  177. package/dist/stories/checkbox/CheckboxGroup.stories.d.ts +3 -3
  178. package/dist/stories/checkbox/{CheckboxGroup.stories.js → CheckboxGroup.stories.jsx} +76 -4
  179. package/dist/stories/context-menu/ContextMenu.stories.d.ts +4 -4
  180. package/dist/stories/context-menu/{ContextMenu.stories.js → ContextMenu.stories.jsx} +74 -5
  181. package/dist/stories/data-list/DataList.stories.d.ts +4 -4
  182. package/dist/stories/data-list/DataList.stories.jsx +185 -0
  183. package/dist/stories/dialog/Dialog.stories.d.ts +1 -1
  184. package/dist/stories/dialog/{Dialog.stories.js → Dialog.stories.jsx} +25 -2
  185. package/dist/stories/doughnut-chart/DoughnutChart.stories.d.ts +5 -4
  186. package/dist/stories/doughnut-chart/{DoughnutChart.stories.js → DoughnutChart.stories.jsx} +12 -4
  187. package/dist/stories/dropdown-menu/DropdownMenu.stories.d.ts +4 -4
  188. package/dist/stories/dropdown-menu/DropdownMenu.stories.jsx +170 -0
  189. package/dist/stories/header/Header.stories.d.ts +6 -6
  190. package/dist/stories/header/{Header.stories.js → Header.stories.jsx} +26 -7
  191. package/dist/stories/hover-card/HoverCard.stories.d.ts +2 -2
  192. package/dist/stories/hover-card/{HoverCard.stories.js → HoverCard.stories.jsx} +30 -3
  193. package/dist/stories/inset/Inset.stories.d.ts +2 -2
  194. package/dist/stories/inset/{Inset.stories.js → Inset.stories.jsx} +27 -12
  195. package/dist/stories/label/Label.stories.d.ts +4 -4
  196. package/dist/stories/label/{Label.stories.js → Label.stories.jsx} +26 -5
  197. package/dist/stories/menubar/Menubar.stories.d.ts +1 -1
  198. package/dist/stories/menubar/{Menubar.stories.js → Menubar.stories.jsx} +45 -8
  199. package/dist/stories/navigation-menu/NavigationMenu.stories.d.ts +13 -13
  200. package/dist/stories/navigation-menu/{NavigationMenu.stories.js → NavigationMenu.stories.jsx} +69 -4
  201. package/dist/stories/pie-chart/PieChart.stories.d.ts +6 -5
  202. package/dist/stories/pie-chart/{PieChart.stories.js → PieChart.stories.jsx} +32 -13
  203. package/dist/stories/popover/Popover.stories.d.ts +2 -2
  204. package/dist/stories/popover/{Popover.stories.js → Popover.stories.jsx} +42 -9
  205. package/dist/stories/progress/Progress.stories.d.ts +4 -4
  206. package/dist/stories/progress/{Progress.stories.js → Progress.stories.jsx} +11 -6
  207. package/dist/stories/radar-chart/RadarChart.stories.d.ts +6 -5
  208. package/dist/stories/radar-chart/{RadarChart.stories.js → RadarChart.stories.jsx} +4 -5
  209. package/dist/stories/radio/Radio.stories.d.ts +3 -3
  210. package/dist/stories/radio/{Radio.stories.js → Radio.stories.jsx} +14 -4
  211. package/dist/stories/radio/RadioCards.stories.d.ts +4 -4
  212. package/dist/stories/radio/{RadioCards.stories.js → RadioCards.stories.jsx} +64 -5
  213. package/dist/stories/radio/RadioGroup.stories.d.ts +4 -4
  214. package/dist/stories/radio/{RadioGroup.stories.js → RadioGroup.stories.jsx} +59 -5
  215. package/dist/stories/scroll-area/ScrollArea.stories.d.ts +2 -2
  216. package/dist/stories/scroll-area/ScrollArea.stories.jsx +123 -0
  217. package/dist/stories/segmented-control/SegmentedControl.stories.d.ts +4 -4
  218. package/dist/stories/segmented-control/{SegmentedControl.stories.js → SegmentedControl.stories.jsx} +26 -5
  219. package/dist/stories/select/Select.stories.d.ts +5 -5
  220. package/dist/stories/select/{Select.stories.js → Select.stories.jsx} +67 -6
  221. package/dist/stories/separator/Separator.stories.d.ts +4 -4
  222. package/dist/stories/separator/{Separator.stories.js → Separator.stories.jsx} +29 -5
  223. package/dist/stories/skeleton/Skeleton.stories.d.ts +5 -5
  224. package/dist/stories/skeleton/{Skeleton.stories.js → Skeleton.stories.jsx} +33 -6
  225. package/dist/stories/slider/Slider.stories.d.ts +4 -4
  226. package/dist/stories/slider/{Slider.stories.js → Slider.stories.jsx} +16 -5
  227. package/dist/stories/spinner/Spinner.stories.d.ts +5 -5
  228. package/dist/stories/spinner/{Spinner.stories.js → Spinner.stories.jsx} +31 -6
  229. package/dist/stories/switch/Switch.stories.d.ts +4 -4
  230. package/dist/stories/switch/{Switch.stories.js → Switch.stories.jsx} +16 -5
  231. package/dist/stories/tab-nav/TabNav.stories.d.ts +1 -1
  232. package/dist/stories/tab-nav/{TabNav.stories.js → TabNav.stories.jsx} +11 -2
  233. package/dist/stories/table/Table.stories.d.ts +1 -1
  234. package/dist/stories/table/{Table.stories.js → Table.stories.jsx} +29 -2
  235. package/dist/stories/tabs/Tabs.stories.d.ts +1 -1
  236. package/dist/stories/tabs/{Tabs.stories.js → Tabs.stories.jsx} +19 -2
  237. package/dist/stories/text/Text.stories.d.ts +5 -5
  238. package/dist/stories/text/{Text.stories.js → Text.stories.jsx} +21 -6
  239. package/dist/stories/textArea/TextArea.stories.d.ts +5 -5
  240. package/dist/stories/textArea/{TextArea.stories.js → TextArea.stories.jsx} +22 -6
  241. package/dist/stories/textfield/TextField.stories.d.ts +5 -5
  242. package/dist/stories/textfield/{TextField.stories.js → TextField.stories.jsx} +38 -6
  243. package/dist/stories/toast/Toast.stories.d.ts +3 -3
  244. package/dist/stories/toast/{Toast.stories.js → Toast.stories.jsx} +22 -4
  245. package/dist/stories/toggle/Toggle.stories.d.ts +5 -5
  246. package/dist/stories/toggle/{Toggle.stories.js → Toggle.stories.jsx} +23 -6
  247. package/dist/stories/toggle/ToggleGroup.stories.d.ts +3 -3
  248. package/dist/stories/toggle/{ToggleGroup.stories.js → ToggleGroup.stories.jsx} +39 -6
  249. package/dist/stories/tooltip/Tooltip.stories.d.ts +3 -3
  250. package/dist/stories/tooltip/{Tooltip.stories.js → Tooltip.stories.jsx} +17 -4
  251. package/dist/tsconfig.tsbuildinfo +1 -1
  252. package/package.json +118 -120
  253. package/dist/app/page.js +0 -6
  254. package/dist/app/template/badgeTemplate.js +0 -11
  255. package/dist/app/template/buttonTemplate.js +0 -11
  256. package/dist/app/template/colorPicker.js +0 -14
  257. package/dist/app/template/textTemplate.js +0 -23
  258. package/dist/app/template/theme.js +0 -12
  259. package/dist/components/Input/Input.stories.d.ts +0 -77
  260. package/dist/components/Input/Input.stories.js +0 -74
  261. package/dist/components/Input/index.d.ts +0 -14
  262. package/dist/components/Input/index.js +0 -53
  263. package/dist/components/NavigationMenu/NavigationMenuIndicator.js +0 -31
  264. package/dist/stories/Welcome.js +0 -30
  265. package/dist/stories/aspect-ratio/AspectRatio.stories.js +0 -78
  266. package/dist/stories/callout/Callout.stories.js +0 -104
  267. package/dist/stories/data-list/DataList.stories.js +0 -87
  268. package/dist/stories/dropdown-menu/DropdownMenu.stories.js +0 -75
  269. package/dist/stories/scroll-area/ScrollArea.stories.js +0 -63
@@ -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;
@@ -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;