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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (269) hide show
  1. package/README.md +163 -163
  2. package/dist/Typography/Header/index.d.ts +1 -1
  3. package/dist/Typography/Header/{index.js → index.jsx} +5 -2
  4. package/dist/Typography/Text/{index.js → index.jsx} +6 -3
  5. package/dist/Typography/index.d.ts +2 -2
  6. package/dist/Typography/index.js +3 -3
  7. package/dist/app/layout.d.ts +1 -1
  8. package/dist/app/{layout.js → layout.jsx} +3 -2
  9. package/dist/app/page.d.ts +2 -1
  10. package/dist/app/page.jsx +42 -0
  11. package/dist/app/template/badgeTemplate.d.ts +2 -1
  12. package/dist/app/template/badgeTemplate.jsx +82 -0
  13. package/dist/app/template/buttonTemplate.d.ts +2 -1
  14. package/dist/app/template/buttonTemplate.jsx +82 -0
  15. package/dist/app/template/colorPicker.d.ts +2 -1
  16. package/dist/app/template/colorPicker.jsx +19 -0
  17. package/dist/app/template/textTemplate.d.ts +2 -1
  18. package/dist/app/template/textTemplate.jsx +72 -0
  19. package/dist/app/template/theme.d.ts +2 -2
  20. package/dist/app/template/theme.jsx +44 -0
  21. package/dist/components/Accordion/{index.js → index.jsx} +17 -5
  22. package/dist/components/AlertDialog/{AlertDialogAction.js → AlertDialogAction.jsx} +5 -4
  23. package/dist/components/AlertDialog/{AlertDialogCancel.js → AlertDialogCancel.jsx} +5 -4
  24. package/dist/components/AlertDialog/{AlertDialogContent.js → AlertDialogContent.jsx} +8 -4
  25. package/dist/components/AlertDialog/{AlertDialogDescription.js → AlertDialogDescription.jsx} +5 -15
  26. package/dist/components/AlertDialog/{AlertDialogTitle.js → AlertDialogTitle.jsx} +5 -15
  27. package/dist/components/AlertDialog/{AlertDialogTrigger.js → AlertDialogTrigger.jsx} +5 -4
  28. package/dist/components/AlertDialog/{index.js → index.jsx} +2 -14
  29. package/dist/components/AspectRatio/{index.js → index.jsx} +5 -4
  30. package/dist/components/Avatar/{index.js → index.jsx} +8 -4
  31. package/dist/components/Badge/{index.js → index.jsx} +4 -3
  32. package/dist/components/BubbleChart/index.d.ts +2 -1
  33. package/dist/components/BubbleChart/{index.js → index.jsx} +3 -3
  34. package/dist/components/Button/{index.js → index.jsx} +5 -4
  35. package/dist/components/Callout/{CalloutIcon.js → CalloutIcon.jsx} +9 -4
  36. package/dist/components/Callout/{CalloutText.js → CalloutText.jsx} +5 -15
  37. package/dist/components/Callout/{index.js → index.jsx} +7 -4
  38. package/dist/components/Card/{index.js → index.jsx} +5 -4
  39. package/dist/components/Checkbox/{index.js → index.jsx} +12 -4
  40. package/dist/components/CheckboxCard/{index.js → index.jsx} +6 -4
  41. package/dist/components/CheckboxGroup/{CheckboxGroupItem.js → CheckboxGroupItem.jsx} +6 -14
  42. package/dist/components/CheckboxGroup/{index.js → index.jsx} +6 -3
  43. package/dist/components/ContextMenu/{ContextMenuCheckboxItem.js → ContextMenuCheckboxItem.jsx} +8 -15
  44. package/dist/components/ContextMenu/{ContextMenuContent.js → ContextMenuContent.jsx} +7 -4
  45. package/dist/components/ContextMenu/{ContextMenuGroup.js → ContextMenuGroup.jsx} +4 -14
  46. package/dist/components/ContextMenu/{ContextMenuItem.js → ContextMenuItem.jsx} +6 -4
  47. package/dist/components/ContextMenu/{ContextMenuItemIndicator.js → ContextMenuItemIndicator.jsx} +5 -4
  48. package/dist/components/ContextMenu/{ContextMenuLabel.js → ContextMenuLabel.jsx} +5 -4
  49. package/dist/components/ContextMenu/{ContextMenuRadioGroup.js → ContextMenuRadioGroup.jsx} +6 -14
  50. package/dist/components/ContextMenu/{ContextMenuRadioItem.js → ContextMenuRadioItem.jsx} +8 -15
  51. package/dist/components/ContextMenu/{ContextMenuSeparator.js → ContextMenuSeparator.jsx} +5 -15
  52. package/dist/components/ContextMenu/{ContextMenuSubContent.js → ContextMenuSubContent.jsx} +10 -7
  53. package/dist/components/ContextMenu/{ContextMenuSubTrigger.js → ContextMenuSubTrigger.jsx} +10 -15
  54. package/dist/components/ContextMenu/{ContextMenuTrigger.js → ContextMenuTrigger.jsx} +5 -15
  55. package/dist/components/ContextMenu/{index.js → index.jsx} +4 -14
  56. package/dist/components/DataList/{DataListItem.js → DataListItem.jsx} +5 -4
  57. package/dist/components/DataList/{DataListLabel.js → DataListLabel.jsx} +5 -4
  58. package/dist/components/DataList/{DataListValue.js → DataListValue.jsx} +5 -4
  59. package/dist/components/DataList/{index.js → index.jsx} +7 -15
  60. package/dist/components/Dialog/{DialogAction.js → DialogAction.jsx} +5 -15
  61. package/dist/components/Dialog/{DialogCancel.js → DialogCancel.jsx} +5 -15
  62. package/dist/components/Dialog/{DialogContent.js → DialogContent.jsx} +5 -4
  63. package/dist/components/Dialog/{DialogDescription.js → DialogDescription.jsx} +5 -15
  64. package/dist/components/Dialog/{DialogSlot.js → DialogSlot.jsx} +5 -15
  65. package/dist/components/Dialog/{DialogTitle.js → DialogTitle.jsx} +5 -15
  66. package/dist/components/Dialog/{DialogTrigger.js → DialogTrigger.jsx} +4 -14
  67. package/dist/components/Dialog/{index.js → index.jsx} +4 -14
  68. package/dist/components/DoughnutChart/index.d.ts +2 -1
  69. package/dist/components/DoughnutChart/{index.js → index.jsx} +3 -3
  70. package/dist/components/DropdownMenu/{DropdonMenuRadioGroup.js → DropdonMenuRadioGroup.jsx} +6 -14
  71. package/dist/components/DropdownMenu/{DropdonMenuSubContent.js → DropdonMenuSubContent.jsx} +11 -8
  72. package/dist/components/DropdownMenu/{DropdownMenuCheckboxItem.js → DropdownMenuCheckboxItem.jsx} +8 -15
  73. package/dist/components/DropdownMenu/{DropdownMenuContent.js → DropdownMenuContent.jsx} +7 -4
  74. package/dist/components/DropdownMenu/{DropdownMenuItem.js → DropdownMenuItem.jsx} +6 -4
  75. package/dist/components/DropdownMenu/{DropdownMenuItemIndicator.js → DropdownMenuItemIndicator.jsx} +5 -4
  76. package/dist/components/DropdownMenu/{DropdownMenuLable.js → DropdownMenuLable.jsx} +5 -4
  77. package/dist/components/DropdownMenu/{DropdownMenuRadioItem.js → DropdownMenuRadioItem.jsx} +8 -15
  78. package/dist/components/DropdownMenu/{DropdownMenuSeparator.js → DropdownMenuSeparator.jsx} +3 -15
  79. package/dist/components/DropdownMenu/{DropdownMenuSub.js → DropdownMenuSub.jsx} +2 -14
  80. package/dist/components/DropdownMenu/{DropdownMenuSubTrigger.js → DropdownMenuSubTrigger.jsx} +7 -14
  81. package/dist/components/DropdownMenu/{DropdownMenuTrigger.js → DropdownMenuTrigger.jsx} +4 -14
  82. package/dist/components/DropdownMenu/{index.js → index.jsx} +2 -14
  83. package/dist/components/HoverCard/{HoverCardContent.js → HoverCardContent.jsx} +4 -3
  84. package/dist/components/HoverCard/{HoverCardTrigger.js → HoverCardTrigger.jsx} +4 -14
  85. package/dist/components/HoverCard/{index.js → index.jsx} +4 -14
  86. package/dist/components/IconButton/{index.js → index.jsx} +3 -2
  87. package/dist/components/Inset/{index.js → index.jsx} +6 -3
  88. package/dist/components/Label/{index.js → index.jsx} +3 -2
  89. package/dist/components/Menubar/{MenubarCheckboxItem.js → MenubarCheckboxItem.jsx} +8 -15
  90. package/dist/components/Menubar/{MenubarContent.js → MenubarContent.jsx} +11 -8
  91. package/dist/components/Menubar/{MenubarItem.js → MenubarItem.jsx} +6 -4
  92. package/dist/components/Menubar/{MenubarItemIndicator.js → MenubarItemIndicator.jsx} +5 -4
  93. package/dist/components/Menubar/{MenubarMenu.js → MenubarMenu.jsx} +2 -14
  94. package/dist/components/Menubar/{MenubarRadioGroup.js → MenubarRadioGroup.jsx} +6 -14
  95. package/dist/components/Menubar/{MenubarRadioItem.js → MenubarRadioItem.jsx} +8 -15
  96. package/dist/components/Menubar/{MenubarSeparator.js → MenubarSeparator.jsx} +5 -15
  97. package/dist/components/Menubar/{MenubarSub.js → MenubarSub.jsx} +2 -14
  98. package/dist/components/Menubar/{MenubarSubContent.js → MenubarSubContent.jsx} +6 -5
  99. package/dist/components/Menubar/{MenubarSubTrigger.js → MenubarSubTrigger.jsx} +8 -15
  100. package/dist/components/Menubar/{MenubarTrigger.js → MenubarTrigger.jsx} +5 -4
  101. package/dist/components/Menubar/{index.js → index.jsx} +7 -4
  102. package/dist/components/NavigationMenu/{NavigationMenuContent.js → NavigationMenuContent.jsx} +5 -4
  103. package/dist/components/NavigationMenu/NavigationMenuIndicator.jsx +22 -0
  104. package/dist/components/NavigationMenu/{NavigationMenuItem.js → NavigationMenuItem.jsx} +4 -14
  105. package/dist/components/NavigationMenu/{NavigationMenuLink.js → NavigationMenuLink.jsx} +5 -4
  106. package/dist/components/NavigationMenu/{NavigationMenuList.js → NavigationMenuList.jsx} +6 -4
  107. package/dist/components/NavigationMenu/{NavigationMenuTrigger.js → NavigationMenuTrigger.jsx} +6 -4
  108. package/dist/components/NavigationMenu/{NavigationMenuViewport.js → NavigationMenuViewport.jsx} +5 -4
  109. package/dist/components/NavigationMenu/{index.js → index.jsx} +7 -15
  110. package/dist/components/PieChart/index.d.ts +2 -1
  111. package/dist/components/PieChart/{index.js → index.jsx} +3 -3
  112. package/dist/components/Popover/{PopoverClose.js → PopoverClose.jsx} +4 -14
  113. package/dist/components/Popover/{PopoverContent.js → PopoverContent.jsx} +4 -3
  114. package/dist/components/Popover/{PopoverTrigger.js → PopoverTrigger.jsx} +4 -14
  115. package/dist/components/Popover/{index.js → index.jsx} +4 -14
  116. package/dist/components/Progress/{index.js → index.jsx} +4 -3
  117. package/dist/components/RadarChart/index.d.ts +2 -1
  118. package/dist/components/RadarChart/{index.js → index.jsx} +2 -2
  119. package/dist/components/Radio/{index.js → index.jsx} +8 -13
  120. package/dist/components/RadioCards/{RadioCardsItem.js → RadioCardsItem.jsx} +4 -14
  121. package/dist/components/RadioCards/{index.js → index.jsx} +6 -3
  122. package/dist/components/RadioGroup/{RadioGroupItem.js → RadioGroupItem.jsx} +4 -14
  123. package/dist/components/RadioGroup/{index.js → index.jsx} +6 -14
  124. package/dist/components/ScrollArea/{index.js → index.jsx} +6 -14
  125. package/dist/components/SegmentedControl/{SegmentedControlItem.js → SegmentedControlItem.jsx} +4 -14
  126. package/dist/components/SegmentedControl/{index.js → index.jsx} +5 -2
  127. package/dist/components/Select/{index.js → index.jsx} +24 -9
  128. package/dist/components/Separator/{index.js → index.jsx} +6 -3
  129. package/dist/components/Skeleton/{index.js → index.jsx} +6 -3
  130. package/dist/components/Slider/{index.js → index.jsx} +4 -3
  131. package/dist/components/Spinner/{index.js → index.jsx} +5 -2
  132. package/dist/components/TabNav/{index.js → index.jsx} +8 -14
  133. package/dist/components/Table/{index.js → index.jsx} +23 -8
  134. package/dist/components/Tabs/{index.js → index.jsx} +14 -5
  135. package/dist/components/TextArea/{index.js → index.jsx} +3 -2
  136. package/dist/components/TextField/{index.js → index.jsx} +9 -4
  137. package/dist/components/Toast/{ToastActionButton.js → ToastActionButton.jsx} +5 -4
  138. package/dist/components/Toast/{ToastDescription.js → ToastDescription.jsx} +7 -15
  139. package/dist/components/Toast/{ToastTitle.js → ToastTitle.jsx} +5 -15
  140. package/dist/components/Toast/{index.js → index.jsx} +10 -4
  141. package/dist/components/Toggle/{ToggleWithText.js → ToggleWithText.jsx} +6 -4
  142. package/dist/components/Toggle/{index.js → index.jsx} +4 -3
  143. package/dist/components/ToggleGroup/{index.js → index.jsx} +6 -3
  144. package/dist/components/ToggleGroup/{toggleGroupItem.js → toggleGroupItem.jsx} +4 -14
  145. package/dist/components/ToggleSwitch/{index.js → index.jsx} +6 -2
  146. package/dist/components/Tooltip/index.d.ts +1 -1
  147. package/dist/components/Tooltip/{index.js → index.jsx} +12 -3
  148. package/dist/components/index.d.ts +2 -0
  149. package/dist/index.d.ts +5 -2
  150. package/dist/index.js +3 -0
  151. package/dist/stories/Welcome.d.ts +2 -1
  152. package/dist/stories/Welcome.jsx +48 -0
  153. package/dist/stories/accordion/Accordion.stories.d.ts +1 -1
  154. package/dist/stories/accordion/{Accordion.stories.js → Accordion.stories.jsx} +20 -2
  155. package/dist/stories/alert-dialog/AlertDialog.stories.d.ts +1 -1
  156. package/dist/stories/alert-dialog/{AlertDialog.stories.js → AlertDialog.stories.jsx} +15 -2
  157. package/dist/stories/aspect-ratio/AspectRatio.stories.d.ts +3 -3
  158. package/dist/stories/aspect-ratio/AspectRatio.stories.jsx +106 -0
  159. package/dist/stories/avatar/Avatar.stories.d.ts +5 -5
  160. package/dist/stories/avatar/{Avatar.stories.js → Avatar.stories.jsx} +17 -6
  161. package/dist/stories/badge/Badge.stories.d.ts +6 -6
  162. package/dist/stories/badge/{Badge.stories.js → Badge.stories.jsx} +51 -7
  163. package/dist/stories/bubble-chart/BubbleChart.stories.d.ts +5 -4
  164. package/dist/stories/bubble-chart/{BubbleChart.stories.js → BubbleChart.stories.jsx} +12 -4
  165. package/dist/stories/button/Button.stories.d.ts +7 -7
  166. package/dist/stories/button/{Button.stories.js → Button.stories.jsx} +41 -8
  167. package/dist/stories/button/IconButton.stories.d.ts +4 -4
  168. package/dist/stories/button/{IconButton.stories.js → IconButton.stories.jsx} +18 -5
  169. package/dist/stories/callout/Callout.stories.d.ts +7 -7
  170. package/dist/stories/callout/Callout.stories.jsx +205 -0
  171. package/dist/stories/card/Card.stories.d.ts +5 -5
  172. package/dist/stories/card/{Card.stories.js → Card.stories.jsx} +56 -6
  173. package/dist/stories/checkbox/Checkbox.stories.d.ts +6 -6
  174. package/dist/stories/checkbox/{Checkbox.stories.js → Checkbox.stories.jsx} +63 -7
  175. package/dist/stories/checkbox/CheckboxCard.stories.d.ts +5 -5
  176. package/dist/stories/checkbox/{CheckboxCard.stories.js → CheckboxCard.stories.jsx} +41 -6
  177. package/dist/stories/checkbox/CheckboxGroup.stories.d.ts +3 -3
  178. package/dist/stories/checkbox/{CheckboxGroup.stories.js → CheckboxGroup.stories.jsx} +76 -4
  179. package/dist/stories/context-menu/ContextMenu.stories.d.ts +4 -4
  180. package/dist/stories/context-menu/{ContextMenu.stories.js → ContextMenu.stories.jsx} +74 -5
  181. package/dist/stories/data-list/DataList.stories.d.ts +4 -4
  182. package/dist/stories/data-list/DataList.stories.jsx +185 -0
  183. package/dist/stories/dialog/Dialog.stories.d.ts +1 -1
  184. package/dist/stories/dialog/{Dialog.stories.js → Dialog.stories.jsx} +25 -2
  185. package/dist/stories/doughnut-chart/DoughnutChart.stories.d.ts +5 -4
  186. package/dist/stories/doughnut-chart/{DoughnutChart.stories.js → DoughnutChart.stories.jsx} +12 -4
  187. package/dist/stories/dropdown-menu/DropdownMenu.stories.d.ts +4 -4
  188. package/dist/stories/dropdown-menu/DropdownMenu.stories.jsx +170 -0
  189. package/dist/stories/header/Header.stories.d.ts +6 -6
  190. package/dist/stories/header/{Header.stories.js → Header.stories.jsx} +26 -7
  191. package/dist/stories/hover-card/HoverCard.stories.d.ts +2 -2
  192. package/dist/stories/hover-card/{HoverCard.stories.js → HoverCard.stories.jsx} +30 -3
  193. package/dist/stories/inset/Inset.stories.d.ts +2 -2
  194. package/dist/stories/inset/{Inset.stories.js → Inset.stories.jsx} +27 -12
  195. package/dist/stories/label/Label.stories.d.ts +4 -4
  196. package/dist/stories/label/{Label.stories.js → Label.stories.jsx} +26 -5
  197. package/dist/stories/menubar/Menubar.stories.d.ts +1 -1
  198. package/dist/stories/menubar/{Menubar.stories.js → Menubar.stories.jsx} +45 -8
  199. package/dist/stories/navigation-menu/NavigationMenu.stories.d.ts +13 -13
  200. package/dist/stories/navigation-menu/{NavigationMenu.stories.js → NavigationMenu.stories.jsx} +69 -4
  201. package/dist/stories/pie-chart/PieChart.stories.d.ts +6 -5
  202. package/dist/stories/pie-chart/{PieChart.stories.js → PieChart.stories.jsx} +32 -13
  203. package/dist/stories/popover/Popover.stories.d.ts +2 -2
  204. package/dist/stories/popover/{Popover.stories.js → Popover.stories.jsx} +42 -9
  205. package/dist/stories/progress/Progress.stories.d.ts +4 -4
  206. package/dist/stories/progress/{Progress.stories.js → Progress.stories.jsx} +11 -6
  207. package/dist/stories/radar-chart/RadarChart.stories.d.ts +6 -5
  208. package/dist/stories/radar-chart/{RadarChart.stories.js → RadarChart.stories.jsx} +4 -5
  209. package/dist/stories/radio/Radio.stories.d.ts +3 -3
  210. package/dist/stories/radio/{Radio.stories.js → Radio.stories.jsx} +14 -4
  211. package/dist/stories/radio/RadioCards.stories.d.ts +4 -4
  212. package/dist/stories/radio/{RadioCards.stories.js → RadioCards.stories.jsx} +64 -5
  213. package/dist/stories/radio/RadioGroup.stories.d.ts +4 -4
  214. package/dist/stories/radio/{RadioGroup.stories.js → RadioGroup.stories.jsx} +59 -5
  215. package/dist/stories/scroll-area/ScrollArea.stories.d.ts +2 -2
  216. package/dist/stories/scroll-area/ScrollArea.stories.jsx +123 -0
  217. package/dist/stories/segmented-control/SegmentedControl.stories.d.ts +4 -4
  218. package/dist/stories/segmented-control/{SegmentedControl.stories.js → SegmentedControl.stories.jsx} +26 -5
  219. package/dist/stories/select/Select.stories.d.ts +5 -5
  220. package/dist/stories/select/{Select.stories.js → Select.stories.jsx} +67 -6
  221. package/dist/stories/separator/Separator.stories.d.ts +4 -4
  222. package/dist/stories/separator/{Separator.stories.js → Separator.stories.jsx} +29 -5
  223. package/dist/stories/skeleton/Skeleton.stories.d.ts +5 -5
  224. package/dist/stories/skeleton/{Skeleton.stories.js → Skeleton.stories.jsx} +33 -6
  225. package/dist/stories/slider/Slider.stories.d.ts +4 -4
  226. package/dist/stories/slider/{Slider.stories.js → Slider.stories.jsx} +16 -5
  227. package/dist/stories/spinner/Spinner.stories.d.ts +5 -5
  228. package/dist/stories/spinner/{Spinner.stories.js → Spinner.stories.jsx} +31 -6
  229. package/dist/stories/switch/Switch.stories.d.ts +4 -4
  230. package/dist/stories/switch/{Switch.stories.js → Switch.stories.jsx} +16 -5
  231. package/dist/stories/tab-nav/TabNav.stories.d.ts +1 -1
  232. package/dist/stories/tab-nav/{TabNav.stories.js → TabNav.stories.jsx} +11 -2
  233. package/dist/stories/table/Table.stories.d.ts +1 -1
  234. package/dist/stories/table/{Table.stories.js → Table.stories.jsx} +29 -2
  235. package/dist/stories/tabs/Tabs.stories.d.ts +1 -1
  236. package/dist/stories/tabs/{Tabs.stories.js → Tabs.stories.jsx} +19 -2
  237. package/dist/stories/text/Text.stories.d.ts +5 -5
  238. package/dist/stories/text/{Text.stories.js → Text.stories.jsx} +21 -6
  239. package/dist/stories/textArea/TextArea.stories.d.ts +5 -5
  240. package/dist/stories/textArea/{TextArea.stories.js → TextArea.stories.jsx} +22 -6
  241. package/dist/stories/textfield/TextField.stories.d.ts +5 -5
  242. package/dist/stories/textfield/{TextField.stories.js → TextField.stories.jsx} +38 -6
  243. package/dist/stories/toast/Toast.stories.d.ts +3 -3
  244. package/dist/stories/toast/{Toast.stories.js → Toast.stories.jsx} +22 -4
  245. package/dist/stories/toggle/Toggle.stories.d.ts +5 -5
  246. package/dist/stories/toggle/{Toggle.stories.js → Toggle.stories.jsx} +23 -6
  247. package/dist/stories/toggle/ToggleGroup.stories.d.ts +3 -3
  248. package/dist/stories/toggle/{ToggleGroup.stories.js → ToggleGroup.stories.jsx} +39 -6
  249. package/dist/stories/tooltip/Tooltip.stories.d.ts +3 -3
  250. package/dist/stories/tooltip/{Tooltip.stories.js → Tooltip.stories.jsx} +17 -4
  251. package/dist/tsconfig.tsbuildinfo +1 -1
  252. package/package.json +118 -120
  253. package/dist/app/page.js +0 -6
  254. package/dist/app/template/badgeTemplate.js +0 -11
  255. package/dist/app/template/buttonTemplate.js +0 -11
  256. package/dist/app/template/colorPicker.js +0 -14
  257. package/dist/app/template/textTemplate.js +0 -23
  258. package/dist/app/template/theme.js +0 -12
  259. package/dist/components/Input/Input.stories.d.ts +0 -77
  260. package/dist/components/Input/Input.stories.js +0 -74
  261. package/dist/components/Input/index.d.ts +0 -14
  262. package/dist/components/Input/index.js +0 -53
  263. package/dist/components/NavigationMenu/NavigationMenuIndicator.js +0 -31
  264. package/dist/stories/Welcome.js +0 -30
  265. package/dist/stories/aspect-ratio/AspectRatio.stories.js +0 -78
  266. package/dist/stories/callout/Callout.stories.js +0 -104
  267. package/dist/stories/data-list/DataList.stories.js +0 -87
  268. package/dist/stories/dropdown-menu/DropdownMenu.stories.js +0 -75
  269. package/dist/stories/scroll-area/ScrollArea.stories.js +0 -63
@@ -20,7 +20,6 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
23
  import { commonArgTypes, sizeOptions } from '../../constants';
25
24
  import { RadioGroup, RadioGroupItem } from '../../components/RadioGroup';
26
25
  var meta = {
@@ -72,17 +71,72 @@ var meta = {
72
71
  export default meta;
73
72
  export var Default = function (_a) {
74
73
  var args = __rest(_a, []);
75
- return (_jsxs(RadioGroup, __assign({ defaultValue: '1', name: "example" }, args, { children: [_jsx(RadioGroupItem, __assign({ value: "1" }, args, { children: "Default" })), _jsx(RadioGroupItem, __assign({ value: "2" }, args, { children: "Comfortable" })), _jsx(RadioGroupItem, __assign({ value: "3" }, args, { children: "Compact" }))] })));
74
+ return (<RadioGroup defaultValue={'1'} name="example" {...args}>
75
+ <RadioGroupItem value="1" {...args}>
76
+ Default
77
+ </RadioGroupItem>
78
+ <RadioGroupItem value="2" {...args}>
79
+ Comfortable
80
+ </RadioGroupItem>
81
+ <RadioGroupItem value="3" {...args}>
82
+ Compact
83
+ </RadioGroupItem>
84
+ </RadioGroup>);
76
85
  };
77
86
  export var Size = function (_a) {
78
87
  var args = __rest(_a, []);
79
- return (_jsx("div", { className: "flex items-center space-x-4", children: ['small', 'medium', 'large'].map(function (size) { return (_jsxs(RadioGroup, __assign({ defaultValue: '1', name: size }, args, { size: size, children: [_jsx(RadioGroupItem, __assign({ value: "1" }, args, { children: "Default" })), _jsx(RadioGroupItem, __assign({ value: "2" }, args, { children: "Comfortable" })), _jsx(RadioGroupItem, __assign({ value: "3" }, args, { children: "Compact" }))] }), size)); }) }));
88
+ return (<div className="flex items-center space-x-4">
89
+ {['small', 'medium', 'large'].map(function (size) { return (<RadioGroup key={size} defaultValue={'1'} name={size} {...args} size={size}>
90
+ <RadioGroupItem value="1" {...args}>
91
+ Default
92
+ </RadioGroupItem>
93
+ <RadioGroupItem value="2" {...args}>
94
+ Comfortable
95
+ </RadioGroupItem>
96
+ <RadioGroupItem value="3" {...args}>
97
+ Compact
98
+ </RadioGroupItem>
99
+ </RadioGroup>); })}
100
+ </div>);
80
101
  };
81
102
  export var Appearance = function (_a) {
82
103
  var args = __rest(_a, []);
83
- return (_jsx("div", { className: "flex items-center space-x-4", children: ['classic', 'soft', 'surface'].map(function (appearance) { return (_jsxs(RadioGroup, __assign({ defaultValue: '1', name: appearance }, args, { appearance: appearance, children: [_jsx(RadioGroupItem, __assign({ value: "1" }, args, { children: "Default" })), _jsx(RadioGroupItem, __assign({ value: "2" }, args, { children: "Comfortable" })), _jsx(RadioGroupItem, __assign({ value: "3" }, args, { children: "Compact" }))] }), appearance)); }) }));
104
+ return (<div className="flex items-center space-x-4">
105
+ {['classic', 'soft', 'surface'].map(function (appearance) { return (<RadioGroup key={appearance} defaultValue={'1'} name={appearance} {...args} appearance={appearance}>
106
+ <RadioGroupItem value="1" {...args}>
107
+ Default
108
+ </RadioGroupItem>
109
+ <RadioGroupItem value="2" {...args}>
110
+ Comfortable
111
+ </RadioGroupItem>
112
+ <RadioGroupItem value="3" {...args}>
113
+ Compact
114
+ </RadioGroupItem>
115
+ </RadioGroup>); })}
116
+ </div>);
84
117
  };
85
118
  export var Disabled = function (_a) {
86
119
  var args = __rest(_a, []);
87
- return (_jsxs("div", { className: "flex items-center space-x-4", children: [_jsx("div", { children: _jsxs(RadioGroup, __assign({ defaultValue: 'On' }, args, { children: [_jsx(RadioGroupItem, __assign({ value: "Off" }, args, { children: "Off" })), _jsx(RadioGroupItem, __assign({ value: "On" }, args, { children: "On" }))] })) }), _jsx("div", { children: _jsxs(RadioGroup, __assign({ defaultValue: 'On' }, args, { children: [_jsx(RadioGroupItem, __assign({ value: "Off" }, args, { disabled: true, children: "Off" })), _jsx(RadioGroupItem, __assign({ value: "On" }, args, { disabled: true, children: "On" }))] })) })] }));
120
+ return (<div className="flex items-center space-x-4">
121
+ <div>
122
+ <RadioGroup defaultValue={'On'} {...args}>
123
+ <RadioGroupItem value="Off" {...args}>
124
+ Off
125
+ </RadioGroupItem>
126
+ <RadioGroupItem value="On" {...args}>
127
+ On
128
+ </RadioGroupItem>
129
+ </RadioGroup>
130
+ </div>
131
+ <div>
132
+ <RadioGroup defaultValue={'On'} {...args}>
133
+ <RadioGroupItem value="Off" {...args} disabled>
134
+ Off
135
+ </RadioGroupItem>
136
+ <RadioGroupItem value="On" {...args} disabled>
137
+ On
138
+ </RadioGroupItem>
139
+ </RadioGroup>
140
+ </div>
141
+ </div>);
88
142
  };
@@ -53,7 +53,7 @@ declare const meta: {
53
53
  export default meta;
54
54
  export declare const Default: ({ ...args }: {
55
55
  [x: string]: any;
56
- }) => import("react/jsx-runtime").JSX.Element;
56
+ }) => import("react").JSX.Element;
57
57
  export declare const Type: ({ ...args }: {
58
58
  [x: string]: any;
59
- }) => import("react/jsx-runtime").JSX.Element;
59
+ }) => import("react").JSX.Element;
@@ -0,0 +1,123 @@
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 { commonArgTypes, sizeOptions } from '../../constants';
24
+ import { ScrollArea } from '../../components/ScrollArea';
25
+ import { Header } from 'Typography/Header';
26
+ import { Text } from 'Typography/Text';
27
+ var meta = {
28
+ title: 'Component/ScrollArea',
29
+ component: ScrollArea,
30
+ parameters: {
31
+ layout: 'centered',
32
+ themes: {
33
+ themeOverride: 'dark',
34
+ },
35
+ docs: {
36
+ description: {
37
+ component: '스크롤 가능 영역',
38
+ },
39
+ },
40
+ },
41
+ tags: ['autodocs'],
42
+ argTypes: {
43
+ radius: __assign(__assign({}, commonArgTypes.radius), { description: 'scrollArea 둥글기' }),
44
+ size: __assign(__assign({}, commonArgTypes.size), { table: {
45
+ category: 'Props',
46
+ type: {
47
+ summary: sizeOptions
48
+ .filter(function (value) { return value != 'x-small' && value != 'x-large'; })
49
+ .join(' | '),
50
+ },
51
+ }, options: sizeOptions.filter(function (value) { return value != 'x-small' && value != 'x-large'; }), description: 'scrollArea 크기' }),
52
+ },
53
+ };
54
+ export default meta;
55
+ export var Default = function (_a) {
56
+ var args = __rest(_a, []);
57
+ return (<ScrollArea type="always" scrollbars="vertical" className="h-[180px]" {...args}>
58
+ <div className="p-2 pr-8">
59
+ <Header size={'4'} mb={'2'} trim={'start'}>
60
+ Principles of the typographic craft
61
+ </Header>
62
+ <div className="flex flex-col gap-4">
63
+ <Text as="p">
64
+ Three fundamental aspects of typography are legibility, readability, and aesthetics.
65
+ Although in a non-technical sense “legible” and “readable” are often used synonymously,
66
+ typographically they are separate but related concepts.
67
+ </Text>
68
+
69
+ <Text as="p">
70
+ Legibility describes how easily individual characters can be distinguished from one
71
+ another. It is described by Walter Tracy as “the quality of being decipherable and
72
+ recognisable”. For instance, if a “b” and an “h”, or a “3” and an “8”, are difficult to
73
+ distinguish at small sizes, this is a problem of legibility.
74
+ </Text>
75
+
76
+ <Text as="p">
77
+ Typographers are concerned with legibility insofar as it is their job to select the
78
+ correct font to use. Brush Script is an example of a font containing many characters that
79
+ might be difficult to distinguish. The selection of cases influences the legibility of
80
+ typography because using only uppercase letters (all-caps) reduces legibility.
81
+ </Text>
82
+ </div>
83
+ </div>
84
+ </ScrollArea>);
85
+ };
86
+ export var Type = function (_a) {
87
+ var args = __rest(_a, []);
88
+ return (<div className="grid grid-cols-2 gap-2">
89
+ <ScrollArea type="always" scrollbars="vertical" className="h-[150px]" {...args}>
90
+ <div className="flex flex-col p-2 pr-8 gap-4">
91
+ <Text size="2">
92
+ Three fundamental aspects of typography are legibility, readability, and aesthetics.
93
+ Although in a non-technical sense legible and readable are often used synonymously,
94
+ typographically they are separate but related concepts.
95
+ </Text>
96
+
97
+ <Text size="2">
98
+ Legibility describes how easily individual characters can be distinguished from one
99
+ another. It is described by Walter Tracy as the quality of being decipherable and
100
+ recognisable. For instance, if a b and an h, or a 3 and an 8, are difficult to distinguish
101
+ at small sizes, this is a problem of legibility.
102
+ </Text>
103
+ </div>
104
+ </ScrollArea>
105
+
106
+ <ScrollArea type="always" scrollbars="horizontal" className="h-[150px]" {...args}>
107
+ <div className="gap-4 p-2 w-[700px]">
108
+ <Text size="2">
109
+ Three fundamental aspects of typography are legibility, readability, and aesthetics.
110
+ Although in a non-technical sense legible and readable are often used synonymously,
111
+ typographically they are separate but related concepts.
112
+ </Text>
113
+
114
+ <Text size="2">
115
+ Legibility describes how easily individual characters can be distinguished from one
116
+ another. It is described by Walter Tracy as the quality of being decipherable and
117
+ recognisable. For instance, if a b and an h, or a 3 and an 8, are difficult to distinguish
118
+ at small sizes, this is a problem of legibility.
119
+ </Text>
120
+ </div>
121
+ </ScrollArea>
122
+ </div>);
123
+ };
@@ -85,13 +85,13 @@ declare const meta: {
85
85
  export default meta;
86
86
  export declare const Default: ({ ...args }: {
87
87
  [x: string]: any;
88
- }) => import("react/jsx-runtime").JSX.Element;
88
+ }) => import("react").JSX.Element;
89
89
  export declare const Size: ({ ...args }: {
90
90
  [x: string]: any;
91
- }) => import("react/jsx-runtime").JSX.Element;
91
+ }) => import("react").JSX.Element;
92
92
  export declare const Radius: ({ ...args }: {
93
93
  [x: string]: any;
94
- }) => import("react/jsx-runtime").JSX.Element;
94
+ }) => import("react").JSX.Element;
95
95
  export declare const Variant: ({ ...args }: {
96
96
  [x: string]: any;
97
- }) => import("react/jsx-runtime").JSX.Element;
97
+ }) => 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 { SegmentedControl, SegmentedControlItem } from '../../components/SegmentedControl';
25
24
  import { commonArgTypes, radiusOptions, sizeOptions } from '../../constants';
26
25
  var meta = {
@@ -64,17 +63,39 @@ var meta = {
64
63
  export default meta;
65
64
  export var Default = function (_a) {
66
65
  var args = __rest(_a, []);
67
- return (_jsxs(SegmentedControl, __assign({}, args, { defaultValue: 'inbox', children: [_jsx(SegmentedControlItem, { value: 'inbox', children: "Inbox" }), _jsx(SegmentedControlItem, { value: 'drafts', children: "Drafts" }), _jsx(SegmentedControlItem, { value: 'sent', children: "Sent" })] })));
66
+ return (<SegmentedControl {...args} defaultValue={'inbox'}>
67
+ <SegmentedControlItem value={'inbox'}>Inbox</SegmentedControlItem>
68
+ <SegmentedControlItem value={'drafts'}>Drafts</SegmentedControlItem>
69
+ <SegmentedControlItem value={'sent'}>Sent</SegmentedControlItem>
70
+ </SegmentedControl>);
68
71
  };
69
72
  export var Size = function (_a) {
70
73
  var args = __rest(_a, []);
71
- return (_jsx("div", { className: "flex flex-col space-y-3", children: ['small', 'medium', 'large'].map(function (size) { return (_jsxs(SegmentedControl, __assign({ defaultValue: 'inbox' }, args, { size: size, children: [_jsx(SegmentedControlItem, { value: 'inbox', children: "Inbox" }), _jsx(SegmentedControlItem, { value: 'drafts', children: "Drafts" }), _jsx(SegmentedControlItem, { value: 'sent', children: "Sent" })] }), size)); }) }));
74
+ return (<div className="flex flex-col space-y-3">
75
+ {['small', 'medium', 'large'].map(function (size) { return (<SegmentedControl key={size} defaultValue={'inbox'} {...args} size={size}>
76
+ <SegmentedControlItem value={'inbox'}>Inbox</SegmentedControlItem>
77
+ <SegmentedControlItem value={'drafts'}>Drafts</SegmentedControlItem>
78
+ <SegmentedControlItem value={'sent'}>Sent</SegmentedControlItem>
79
+ </SegmentedControl>); })}
80
+ </div>);
72
81
  };
73
82
  export var Radius = function (_a) {
74
83
  var args = __rest(_a, []);
75
- return (_jsx("div", { className: "flex flex-col space-y-3", children: radiusOptions.map(function (radius) { return (_jsxs(SegmentedControl, __assign({ defaultValue: 'inbox' }, args, { radius: radius, children: [_jsx(SegmentedControlItem, { value: 'inbox', children: "Inbox" }), _jsx(SegmentedControlItem, { value: 'drafts', children: "Drafts" }), _jsx(SegmentedControlItem, { value: 'sent', children: "Sent" })] }), radius)); }) }));
84
+ return (<div className="flex flex-col space-y-3">
85
+ {radiusOptions.map(function (radius) { return (<SegmentedControl key={radius} defaultValue={'inbox'} {...args} radius={radius}>
86
+ <SegmentedControlItem value={'inbox'}>Inbox</SegmentedControlItem>
87
+ <SegmentedControlItem value={'drafts'}>Drafts</SegmentedControlItem>
88
+ <SegmentedControlItem value={'sent'}>Sent</SegmentedControlItem>
89
+ </SegmentedControl>); })}
90
+ </div>);
76
91
  };
77
92
  export var Variant = function (_a) {
78
93
  var args = __rest(_a, []);
79
- return (_jsx("div", { className: "flex flex-col space-y-3", children: ['surface', 'classic'].map(function (appearance) { return (_jsxs(SegmentedControl, __assign({ defaultValue: 'inbox' }, args, { appearance: appearance, children: [_jsx(SegmentedControlItem, { value: 'inbox', children: "Inbox" }), _jsx(SegmentedControlItem, { value: 'drafts', children: "Drafts" }), _jsx(SegmentedControlItem, { value: 'sent', children: "Sent" })] }), appearance)); }) }));
94
+ return (<div className="flex flex-col space-y-3">
95
+ {['surface', 'classic'].map(function (appearance) { return (<SegmentedControl key={appearance} defaultValue={'inbox'} {...args} appearance={appearance}>
96
+ <SegmentedControlItem value={'inbox'}>Inbox</SegmentedControlItem>
97
+ <SegmentedControlItem value={'drafts'}>Drafts</SegmentedControlItem>
98
+ <SegmentedControlItem value={'sent'}>Sent</SegmentedControlItem>
99
+ </SegmentedControl>); })}
100
+ </div>);
80
101
  };
@@ -101,16 +101,16 @@ declare const meta: {
101
101
  export default meta;
102
102
  export declare const Default: ({ ...args }: {
103
103
  [x: string]: any;
104
- }) => import("react/jsx-runtime").JSX.Element;
104
+ }) => import("react").JSX.Element;
105
105
  export declare const Size: ({ ...args }: {
106
106
  [x: string]: any;
107
- }) => import("react/jsx-runtime").JSX.Element;
107
+ }) => import("react").JSX.Element;
108
108
  export declare const Appearance: ({ ...args }: {
109
109
  [x: string]: any;
110
- }) => import("react/jsx-runtime").JSX.Element;
110
+ }) => import("react").JSX.Element;
111
111
  export declare const Radius: ({ ...args }: {
112
112
  [x: string]: any;
113
- }) => import("react/jsx-runtime").JSX.Element;
113
+ }) => import("react").JSX.Element;
114
114
  export declare const WithIcon: ({ ...args }: {
115
115
  [x: string]: any;
116
- }) => import("react/jsx-runtime").JSX.Element;
116
+ }) => 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 { Select, SelectContent, SelectItem, SelectTrigger } from '../../components/Select/index';
25
24
  import { commonArgTypes, radiusOptions } from '../../constants';
26
25
  import { MoonIcon, SunIcon } from '@radix-ui/react-icons';
@@ -68,21 +67,83 @@ var meta = {
68
67
  export default meta;
69
68
  export var Default = function (_a) {
70
69
  var args = __rest(_a, []);
71
- return (_jsxs(Select, __assign({}, args, { children: [_jsx(SelectTrigger, __assign({}, args, { placeholder: "Select..." })), _jsxs(SelectContent, __assign({}, args, { children: [_jsx(SelectItem, __assign({ value: "apple" }, args, { children: "Apple" })), _jsx(SelectItem, __assign({ value: "orange" }, args, { children: "Orange" }))] }))] })));
70
+ return (<Select {...args}>
71
+ <SelectTrigger {...args} placeholder="Select..."/>
72
+ <SelectContent {...args}>
73
+ <SelectItem value="apple" {...args}>
74
+ Apple
75
+ </SelectItem>
76
+ <SelectItem value="orange" {...args}>
77
+ Orange
78
+ </SelectItem>
79
+ </SelectContent>
80
+ </Select>);
72
81
  };
73
82
  export var Size = function (_a) {
74
83
  var args = __rest(_a, []);
75
- return (_jsx("div", { className: "flex gap-3", children: ['small', 'medium', 'large'].map(function (size) { return (_jsxs(Select, __assign({ size: size }, args, { children: [_jsx(SelectTrigger, __assign({}, args, { placeholder: "Select..." })), _jsxs(SelectContent, __assign({}, args, { children: [_jsx(SelectItem, __assign({ value: "apple" }, args, { children: "Apple" })), _jsx(SelectItem, __assign({ value: "orange" }, args, { children: "Orange" }))] }))] }), size)); }) }));
84
+ return (<div className="flex gap-3">
85
+ {['small', 'medium', 'large'].map(function (size) { return (<Select key={size} size={size} {...args}>
86
+ <SelectTrigger {...args} placeholder="Select..."/>
87
+ <SelectContent {...args}>
88
+ <SelectItem value="apple" {...args}>
89
+ Apple
90
+ </SelectItem>
91
+ <SelectItem value="orange" {...args}>
92
+ Orange
93
+ </SelectItem>
94
+ </SelectContent>
95
+ </Select>); })}
96
+ </div>);
76
97
  };
77
98
  export var Appearance = function (_a) {
78
99
  var args = __rest(_a, []);
79
- return (_jsx("div", { className: "flex gap-3", children: ['classic', 'surface', 'soft', 'ghost'].map(function (appearance) { return (_jsxs(Select, __assign({}, args, { children: [_jsx(SelectTrigger, __assign({ appearance: appearance }, args, { placeholder: "Select..." })), _jsxs(SelectContent, __assign({}, args, { children: [_jsx(SelectItem, __assign({ value: "apple" }, args, { children: "Apple" })), _jsx(SelectItem, __assign({ value: "orange" }, args, { children: "Orange" }))] }))] }), appearance)); }) }));
100
+ return (<div className="flex gap-3">
101
+ {['classic', 'surface', 'soft', 'ghost'].map(function (appearance) { return (<Select key={appearance} {...args}>
102
+ <SelectTrigger appearance={appearance} {...args} placeholder="Select..."/>
103
+ <SelectContent {...args}>
104
+ <SelectItem value="apple" {...args}>
105
+ Apple
106
+ </SelectItem>
107
+ <SelectItem value="orange" {...args}>
108
+ Orange
109
+ </SelectItem>
110
+ </SelectContent>
111
+ </Select>); })}
112
+ </div>);
80
113
  };
81
114
  export var Radius = function (_a) {
82
115
  var args = __rest(_a, []);
83
- return (_jsx("div", { className: "flex gap-3", children: radiusOptions.map(function (radius) { return (_jsxs(Select, __assign({}, args, { children: [_jsx(SelectTrigger, __assign({ radius: radius }, args, { placeholder: "Select..." })), _jsxs(SelectContent, __assign({}, args, { children: [_jsx(SelectItem, __assign({ value: "apple" }, args, { children: "Apple" })), _jsx(SelectItem, __assign({ value: "orange" }, args, { children: "Orange" }))] }))] }), radius)); }) }));
116
+ return (<div className="flex gap-3">
117
+ {radiusOptions.map(function (radius) { return (<Select key={radius} {...args}>
118
+ <SelectTrigger radius={radius} {...args} placeholder="Select..."/>
119
+ <SelectContent {...args}>
120
+ <SelectItem value="apple" {...args}>
121
+ Apple
122
+ </SelectItem>
123
+ <SelectItem value="orange" {...args}>
124
+ Orange
125
+ </SelectItem>
126
+ </SelectContent>
127
+ </Select>); })}
128
+ </div>);
84
129
  };
85
130
  export var WithIcon = function (_a) {
86
131
  var args = __rest(_a, []);
87
- return (_jsxs(Select, __assign({ defaultValue: "dark" }, args, { children: [_jsx(SelectTrigger, __assign({}, args)), _jsxs(SelectContent, __assign({}, args, { children: [_jsx(SelectItem, __assign({ value: "dark" }, args, { children: _jsxs("div", { className: "flex gap-2 items-center", children: [_jsx(MoonIcon, {}), _jsx("label", { children: "Dark" })] }) })), _jsx(SelectItem, __assign({ value: "light" }, args, { children: _jsxs("div", { className: "flex gap-2 items-center", children: [_jsx(SunIcon, {}), _jsx("label", { children: "Light" })] }) }))] }))] })));
132
+ return (<Select defaultValue="dark" {...args}>
133
+ <SelectTrigger {...args}></SelectTrigger>
134
+ <SelectContent {...args}>
135
+ <SelectItem value="dark" {...args}>
136
+ <div className="flex gap-2 items-center">
137
+ <MoonIcon />
138
+ <label>Dark</label>
139
+ </div>
140
+ </SelectItem>
141
+ <SelectItem value="light" {...args}>
142
+ <div className="flex gap-2 items-center">
143
+ <SunIcon />
144
+ <label>Light</label>
145
+ </div>
146
+ </SelectItem>
147
+ </SelectContent>
148
+ </Select>);
88
149
  };
@@ -81,13 +81,13 @@ declare const meta: {
81
81
  export default meta;
82
82
  export declare const Default: ({ ...args }: {
83
83
  [x: string]: any;
84
- }) => import("react/jsx-runtime").JSX.Element;
84
+ }) => import("react").JSX.Element;
85
85
  export declare const Orientation: ({ ...args }: {
86
86
  [x: string]: any;
87
- }) => import("react/jsx-runtime").JSX.Element;
87
+ }) => import("react").JSX.Element;
88
88
  export declare const HorizontalSize: ({ ...args }: {
89
89
  [x: string]: any;
90
- }) => import("react/jsx-runtime").JSX.Element;
90
+ }) => import("react").JSX.Element;
91
91
  export declare const VerticalSize: ({ ...args }: {
92
92
  [x: string]: any;
93
- }) => import("react/jsx-runtime").JSX.Element;
93
+ }) => 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 { Separator } from '../../components/Separator/index';
25
24
  import { commonArgTypes } from '../../constants';
26
25
  var meta = {
@@ -66,17 +65,42 @@ var meta = {
66
65
  export default meta;
67
66
  export var Default = function (_a) {
68
67
  var args = __rest(_a, []);
69
- return (_jsxs("div", { className: "text-slate-12 dark:text-slate-1 w-full max-w-[300px] mx-[15px]", children: ["Tools for building high-quality, accessible UI.", _jsx(Separator, __assign({ my: "3", size: "fill-large" }, args)), _jsxs("div", { className: "flex gap-3 text-slate-12 dark:text-slate-1 ", children: ["Themes", _jsx(Separator, __assign({ orientation: "vertical" }, args)), "Primitives", _jsx(Separator, __assign({ orientation: "vertical" }, args)), "Icons", _jsx(Separator, __assign({ orientation: "vertical" }, args)), "Colors"] })] }));
68
+ return (<div className="text-slate-12 dark:text-slate-1 w-full max-w-[300px] mx-[15px]">
69
+ Tools for building high-quality, accessible UI.
70
+ <Separator my="3" size="fill-large" {...args}/>
71
+ <div className="flex gap-3 text-slate-12 dark:text-slate-1 ">
72
+ Themes
73
+ <Separator orientation="vertical" {...args}/>
74
+ Primitives
75
+ <Separator orientation="vertical" {...args}/>
76
+ Icons
77
+ <Separator orientation="vertical" {...args}/>
78
+ Colors
79
+ </div>
80
+ </div>);
70
81
  };
71
82
  export var Orientation = function (_a) {
72
83
  var args = __rest(_a, []);
73
- return (_jsxs("div", { className: "grid grid-cols-2 gap-2", children: [_jsx(Separator, __assign({ orientation: 'horizontal' }, args)), _jsx(Separator, __assign({ orientation: 'vertical' }, args))] }));
84
+ return (<div className="grid grid-cols-2 gap-2">
85
+ <Separator orientation={'horizontal'} {...args}/>
86
+ <Separator orientation={'vertical'} {...args}/>
87
+ </div>);
74
88
  };
75
89
  export var HorizontalSize = function (_a) {
76
90
  var args = __rest(_a, []);
77
- return (_jsxs("div", { className: "w-96 grid gap-4", children: [_jsx(Separator, __assign({ orientation: 'horizontal', size: 'small' }, args)), _jsx(Separator, __assign({ orientation: 'horizontal', size: 'medium' }, args)), _jsx(Separator, __assign({ orientation: 'horizontal', size: 'large' }, args)), _jsx(Separator, __assign({ orientation: 'horizontal', size: 'fill-large' }, args))] }));
91
+ return (<div className="w-96 grid gap-4">
92
+ <Separator orientation={'horizontal'} size={'small'} {...args}/>
93
+ <Separator orientation={'horizontal'} size={'medium'} {...args}/>
94
+ <Separator orientation={'horizontal'} size={'large'} {...args}/>
95
+ <Separator orientation={'horizontal'} size={'fill-large'} {...args}/>
96
+ </div>);
78
97
  };
79
98
  export var VerticalSize = function (_a) {
80
99
  var args = __rest(_a, []);
81
- return (_jsxs("div", { className: "h-60 grid grid-cols-4 gap-4", children: [_jsx(Separator, __assign({ orientation: 'vertical', size: 'small' }, args)), _jsx(Separator, __assign({ orientation: 'vertical', size: 'medium' }, args)), _jsx(Separator, __assign({ orientation: 'vertical', size: 'large' }, args)), _jsx(Separator, __assign({ orientation: 'vertical', size: 'fill-large' }, args))] }));
100
+ return (<div className="h-60 grid grid-cols-4 gap-4">
101
+ <Separator orientation={'vertical'} size={'small'} {...args}/>
102
+ <Separator orientation={'vertical'} size={'medium'} {...args}/>
103
+ <Separator orientation={'vertical'} size={'large'} {...args}/>
104
+ <Separator orientation={'vertical'} size={'fill-large'} {...args}/>
105
+ </div>);
82
106
  };
@@ -73,16 +73,16 @@ declare const meta: {
73
73
  export default meta;
74
74
  export declare const Default: ({ ...args }: {
75
75
  [x: string]: any;
76
- }) => import("react/jsx-runtime").JSX.Element;
76
+ }) => import("react").JSX.Element;
77
77
  export declare const Loading: ({ ...args }: {
78
78
  [x: string]: any;
79
- }) => import("react/jsx-runtime").JSX.Element;
79
+ }) => import("react").JSX.Element;
80
80
  export declare const WithChildren: ({ ...args }: {
81
81
  [x: string]: any;
82
- }) => import("react/jsx-runtime").JSX.Element;
82
+ }) => import("react").JSX.Element;
83
83
  export declare const Radius: ({ ...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;
@@ -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 { Skeleton } from '../../components/Skeleton/index';
25
24
  import { commonArgTypes, radiusOptions } from '../../constants';
26
25
  import { ToggleSwitch } from '../../components/ToggleSwitch';
@@ -72,21 +71,49 @@ var meta = {
72
71
  export default meta;
73
72
  export var Default = function (_a) {
74
73
  var args = __rest(_a, []);
75
- return (_jsx(Skeleton, __assign({}, args, { children: _jsx("div", { children: "Component" }) })));
74
+ return (<Skeleton {...args}>
75
+ <div>Component</div>
76
+ </Skeleton>);
76
77
  };
77
78
  export var Loading = function (_a) {
78
79
  var args = __rest(_a, []);
79
- return (_jsxs("div", { className: "", children: [_jsx(Skeleton, __assign({ loading: true }, args, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque felis tellus, efficitur id convallis a, viverra eget libero. Nam magna erat, fringilla sed commodo sed, aliquet nec magna." })), _jsx(Skeleton, __assign({ loading: false }, args, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque felis tellus, efficitur id convallis a, viverra eget libero. Nam magna erat, fringilla sed commodo sed, aliquet nec magna." }))] }));
80
+ return (<div className="">
81
+ <Skeleton loading={true} {...args}>
82
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque felis tellus, efficitur
83
+ id convallis a, viverra eget libero. Nam magna erat, fringilla sed commodo sed, aliquet nec
84
+ magna.
85
+ </Skeleton>
86
+ <Skeleton loading={false} {...args}>
87
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque felis tellus, efficitur
88
+ id convallis a, viverra eget libero. Nam magna erat, fringilla sed commodo sed, aliquet nec
89
+ magna.
90
+ </Skeleton>
91
+ </div>);
80
92
  };
81
93
  export var WithChildren = function (_a) {
82
94
  var args = __rest(_a, []);
83
- return (_jsxs("div", { className: "grid gap-4 grid-cols-2", children: [_jsx(Skeleton, { loading: true, children: _jsx(ToggleSwitch, {}) }), _jsx(Skeleton, { loading: false, children: _jsx(ToggleSwitch, {}) })] }));
95
+ return (<div className="grid gap-4 grid-cols-2">
96
+ <Skeleton loading={true}>
97
+ <ToggleSwitch />
98
+ </Skeleton>
99
+ <Skeleton loading={false}>
100
+ <ToggleSwitch />
101
+ </Skeleton>
102
+ </div>);
84
103
  };
85
104
  export var Radius = function (_a) {
86
105
  var args = __rest(_a, []);
87
- return (_jsx("div", { className: "grid gap-5", children: radiusOptions.map(function (radius) { return (_jsx("div", { children: _jsx(Skeleton, __assign({ loading: true, radius: radius }, args, { children: _jsx("div", { children: "Component" }) })) }, radius)); }) }));
106
+ return (<div className="grid gap-5">
107
+ {radiusOptions.map(function (radius) { return (<div key={radius}>
108
+ <Skeleton loading={true} radius={radius} {...args}>
109
+ <div>Component</div>
110
+ </Skeleton>
111
+ </div>); })}
112
+ </div>);
88
113
  };
89
114
  export var Size = function (_a) {
90
115
  var args = __rest(_a, []);
91
- return (_jsx("div", { className: "", children: _jsx(Skeleton, __assign({ loading: true, width: "48px", height: "48px" }, args)) }));
116
+ return (<div className="">
117
+ <Skeleton loading={true} width="48px" height="48px" {...args}/>
118
+ </div>);
92
119
  };
@@ -102,13 +102,13 @@ declare const meta: {
102
102
  export default meta;
103
103
  export declare const Default: ({ ...args }: {
104
104
  [x: string]: any;
105
- }) => import("react/jsx-runtime").JSX.Element;
105
+ }) => import("react").JSX.Element;
106
106
  export declare const Size: ({ ...args }: {
107
107
  [x: string]: any;
108
- }) => import("react/jsx-runtime").JSX.Element;
108
+ }) => import("react").JSX.Element;
109
109
  export declare const Radius: ({ ...args }: {
110
110
  [x: string]: any;
111
- }) => import("react/jsx-runtime").JSX.Element;
111
+ }) => import("react").JSX.Element;
112
112
  export declare const Range: ({ ...args }: {
113
113
  [x: string]: any;
114
- }) => import("react/jsx-runtime").JSX.Element;
114
+ }) => 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 { Slider } from '../../components/Slider/index';
25
24
  import { commonArgTypes, radiusOptions } from '../../constants';
26
25
  var meta = {
@@ -67,17 +66,29 @@ var meta = {
67
66
  export default meta;
68
67
  export var Default = function (_a) {
69
68
  var args = __rest(_a, []);
70
- return (_jsx("div", { className: "w-60", children: _jsx(Slider, __assign({ defaultValue: [50] }, args)) }));
69
+ return (<div className="w-60">
70
+ <Slider defaultValue={[50]} {...args}/>
71
+ </div>);
71
72
  };
72
73
  export var Size = function (_a) {
73
74
  var args = __rest(_a, []);
74
- return (_jsxs("div", { className: "w-60 grid items-center gap-3", children: [_jsx(Slider, __assign({ defaultValue: [50] }, args, { size: 'small' })), _jsx(Slider, __assign({ defaultValue: [50] }, args, { size: 'medium' })), _jsx(Slider, __assign({ defaultValue: [50] }, args, { size: 'large' }))] }));
75
+ return (<div className="w-60 grid items-center gap-3">
76
+ <Slider defaultValue={[50]} {...args} size={'small'}></Slider>
77
+ <Slider defaultValue={[50]} {...args} size={'medium'}></Slider>
78
+ <Slider defaultValue={[50]} {...args} size={'large'}></Slider>
79
+ </div>);
75
80
  };
76
81
  export var Radius = function (_a) {
77
82
  var args = __rest(_a, []);
78
- return (_jsx("div", { className: "w-60", children: radiusOptions.map(function (radius) { return (_jsx("div", { className: "pb-1", children: _jsx(Slider, __assign({ defaultValue: [50], radius: radius }, args), radius) }, radius)); }) }));
83
+ return (<div className="w-60">
84
+ {radiusOptions.map(function (radius) { return (<div key={radius} className="pb-1">
85
+ <Slider key={radius} defaultValue={[50]} radius={radius} {...args}/>
86
+ </div>); })}
87
+ </div>);
79
88
  };
80
89
  export var Range = function (_a) {
81
90
  var args = __rest(_a, []);
82
- return (_jsx("div", { className: "w-60", children: _jsx(Slider, __assign({ defaultValue: [20, 80] }, args)) }));
91
+ return (<div className="w-60">
92
+ <Slider defaultValue={[20, 80]} {...args}/>
93
+ </div>);
83
94
  };