@lotte-innovate/ui-component-test 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (247) hide show
  1. package/dist/Typography/Header/{index.js → index.jsx} +5 -2
  2. package/dist/Typography/Text/{index.js → index.jsx} +6 -3
  3. package/dist/app/layout.d.ts +1 -1
  4. package/dist/app/{layout.js → layout.jsx} +3 -2
  5. package/dist/app/page.d.ts +2 -1
  6. package/dist/app/page.jsx +9 -0
  7. package/dist/app/template/colorPicker.d.ts +2 -1
  8. package/dist/app/template/colorPicker.jsx +19 -0
  9. package/dist/app/template/theme.d.ts +2 -2
  10. package/dist/app/template/{theme.js → theme.jsx} +8 -2
  11. package/dist/components/Accordion/{index.js → index.jsx} +17 -5
  12. package/dist/components/AlertDialog/{AlertDialogAction.js → AlertDialogAction.jsx} +4 -3
  13. package/dist/components/AlertDialog/{AlertDialogCancel.js → AlertDialogCancel.jsx} +4 -3
  14. package/dist/components/AlertDialog/{AlertDialogContent.js → AlertDialogContent.jsx} +7 -3
  15. package/dist/components/AlertDialog/{AlertDialogDescription.js → AlertDialogDescription.jsx} +4 -14
  16. package/dist/components/AlertDialog/{AlertDialogTitle.js → AlertDialogTitle.jsx} +4 -14
  17. package/dist/components/AlertDialog/{AlertDialogTrigger.js → AlertDialogTrigger.jsx} +4 -3
  18. package/dist/components/AlertDialog/{index.js → index.jsx} +4 -14
  19. package/dist/components/AspectRatio/{index.js → index.jsx} +4 -3
  20. package/dist/components/Avatar/{index.js → index.jsx} +7 -3
  21. package/dist/components/Badge/{index.js → index.jsx} +4 -3
  22. package/dist/components/BubbleChart/index.d.ts +2 -1
  23. package/dist/components/BubbleChart/{index.js → index.jsx} +2 -2
  24. package/dist/components/Button/{index.js → index.jsx} +4 -3
  25. package/dist/components/Callout/{CalloutIcon.js → CalloutIcon.jsx} +8 -3
  26. package/dist/components/Callout/{CalloutText.js → CalloutText.jsx} +4 -14
  27. package/dist/components/Callout/{index.js → index.jsx} +6 -3
  28. package/dist/components/Card/{index.js → index.jsx} +4 -3
  29. package/dist/components/Checkbox/{index.js → index.jsx} +11 -3
  30. package/dist/components/CheckboxCard/{index.js → index.jsx} +5 -3
  31. package/dist/components/CheckboxGroup/{CheckboxGroupItem.js → CheckboxGroupItem.jsx} +6 -14
  32. package/dist/components/CheckboxGroup/{index.js → index.jsx} +5 -2
  33. package/dist/components/ContextMenu/{ContextMenuCheckboxItem.js → ContextMenuCheckboxItem.jsx} +7 -14
  34. package/dist/components/ContextMenu/{ContextMenuContent.js → ContextMenuContent.jsx} +6 -3
  35. package/dist/components/ContextMenu/{ContextMenuGroup.js → ContextMenuGroup.jsx} +4 -14
  36. package/dist/components/ContextMenu/{ContextMenuItem.js → ContextMenuItem.jsx} +5 -3
  37. package/dist/components/ContextMenu/{ContextMenuItemIndicator.js → ContextMenuItemIndicator.jsx} +4 -3
  38. package/dist/components/ContextMenu/{ContextMenuLabel.js → ContextMenuLabel.jsx} +4 -3
  39. package/dist/components/ContextMenu/{ContextMenuRadioGroup.js → ContextMenuRadioGroup.jsx} +6 -14
  40. package/dist/components/ContextMenu/{ContextMenuRadioItem.js → ContextMenuRadioItem.jsx} +7 -14
  41. package/dist/components/ContextMenu/{ContextMenuSeparator.js → ContextMenuSeparator.jsx} +4 -14
  42. package/dist/components/ContextMenu/{ContextMenuSubContent.js → ContextMenuSubContent.jsx} +9 -6
  43. package/dist/components/ContextMenu/{ContextMenuSubTrigger.js → ContextMenuSubTrigger.jsx} +9 -14
  44. package/dist/components/ContextMenu/{ContextMenuTrigger.js → ContextMenuTrigger.jsx} +4 -14
  45. package/dist/components/ContextMenu/{index.js → index.jsx} +6 -14
  46. package/dist/components/DataList/{DataListItem.js → DataListItem.jsx} +4 -3
  47. package/dist/components/DataList/{DataListLabel.js → DataListLabel.jsx} +4 -3
  48. package/dist/components/DataList/{DataListValue.js → DataListValue.jsx} +4 -3
  49. package/dist/components/DataList/{index.js → index.jsx} +6 -14
  50. package/dist/components/Dialog/{DialogAction.js → DialogAction.jsx} +4 -14
  51. package/dist/components/Dialog/{DialogCancel.js → DialogCancel.jsx} +4 -14
  52. package/dist/components/Dialog/{DialogContent.js → DialogContent.jsx} +4 -3
  53. package/dist/components/Dialog/{DialogDescription.js → DialogDescription.jsx} +4 -14
  54. package/dist/components/Dialog/{DialogSlot.js → DialogSlot.jsx} +4 -14
  55. package/dist/components/Dialog/{DialogTitle.js → DialogTitle.jsx} +4 -14
  56. package/dist/components/Dialog/{DialogTrigger.js → DialogTrigger.jsx} +4 -14
  57. package/dist/components/Dialog/{index.js → index.jsx} +4 -14
  58. package/dist/components/DoughnutChart/index.d.ts +2 -1
  59. package/dist/components/DoughnutChart/{index.js → index.jsx} +2 -2
  60. package/dist/components/DropdownMenu/{DropdonMenuRadioGroup.js → DropdonMenuRadioGroup.jsx} +6 -14
  61. package/dist/components/DropdownMenu/{DropdonMenuSubContent.js → DropdonMenuSubContent.jsx} +10 -7
  62. package/dist/components/DropdownMenu/{DropdownMenuCheckboxItem.js → DropdownMenuCheckboxItem.jsx} +7 -14
  63. package/dist/components/DropdownMenu/{DropdownMenuContent.js → DropdownMenuContent.jsx} +6 -3
  64. package/dist/components/DropdownMenu/{DropdownMenuItem.js → DropdownMenuItem.jsx} +5 -3
  65. package/dist/components/DropdownMenu/{DropdownMenuItemIndicator.js → DropdownMenuItemIndicator.jsx} +4 -3
  66. package/dist/components/DropdownMenu/{DropdownMenuLable.js → DropdownMenuLable.jsx} +4 -3
  67. package/dist/components/DropdownMenu/{DropdownMenuRadioItem.js → DropdownMenuRadioItem.jsx} +7 -14
  68. package/dist/components/DropdownMenu/{DropdownMenuSeparator.js → DropdownMenuSeparator.jsx} +2 -14
  69. package/dist/components/DropdownMenu/{DropdownMenuSub.js → DropdownMenuSub.jsx} +2 -14
  70. package/dist/components/DropdownMenu/{DropdownMenuSubTrigger.js → DropdownMenuSubTrigger.jsx} +7 -14
  71. package/dist/components/DropdownMenu/{DropdownMenuTrigger.js → DropdownMenuTrigger.jsx} +4 -14
  72. package/dist/components/DropdownMenu/{index.js → index.jsx} +2 -14
  73. package/dist/components/HoverCard/{HoverCardContent.js → HoverCardContent.jsx} +4 -3
  74. package/dist/components/HoverCard/{HoverCardTrigger.js → HoverCardTrigger.jsx} +4 -14
  75. package/dist/components/HoverCard/{index.js → index.jsx} +4 -14
  76. package/dist/components/IconButton/{index.js → index.jsx} +3 -2
  77. package/dist/components/Inset/{index.js → index.jsx} +6 -3
  78. package/dist/components/Label/{index.js → index.jsx} +3 -2
  79. package/dist/components/Menubar/{MenubarCheckboxItem.js → MenubarCheckboxItem.jsx} +7 -14
  80. package/dist/components/Menubar/{MenubarContent.js → MenubarContent.jsx} +10 -7
  81. package/dist/components/Menubar/{MenubarItem.js → MenubarItem.jsx} +5 -3
  82. package/dist/components/Menubar/{MenubarItemIndicator.js → MenubarItemIndicator.jsx} +4 -3
  83. package/dist/components/Menubar/{MenubarMenu.js → MenubarMenu.jsx} +2 -14
  84. package/dist/components/Menubar/{MenubarRadioGroup.js → MenubarRadioGroup.jsx} +6 -14
  85. package/dist/components/Menubar/{MenubarRadioItem.js → MenubarRadioItem.jsx} +7 -14
  86. package/dist/components/Menubar/{MenubarSeparator.js → MenubarSeparator.jsx} +4 -14
  87. package/dist/components/Menubar/{MenubarSub.js → MenubarSub.jsx} +2 -14
  88. package/dist/components/Menubar/{MenubarSubContent.js → MenubarSubContent.jsx} +5 -4
  89. package/dist/components/Menubar/{MenubarSubTrigger.js → MenubarSubTrigger.jsx} +7 -14
  90. package/dist/components/Menubar/{MenubarTrigger.js → MenubarTrigger.jsx} +4 -3
  91. package/dist/components/Menubar/{index.js → index.jsx} +6 -3
  92. package/dist/components/NavigationMenu/{NavigationMenuContent.js → NavigationMenuContent.jsx} +4 -3
  93. package/dist/components/NavigationMenu/NavigationMenuIndicator.jsx +22 -0
  94. package/dist/components/NavigationMenu/{NavigationMenuItem.js → NavigationMenuItem.jsx} +4 -14
  95. package/dist/components/NavigationMenu/{NavigationMenuLink.js → NavigationMenuLink.jsx} +4 -3
  96. package/dist/components/NavigationMenu/{NavigationMenuList.js → NavigationMenuList.jsx} +5 -3
  97. package/dist/components/NavigationMenu/{NavigationMenuTrigger.js → NavigationMenuTrigger.jsx} +5 -3
  98. package/dist/components/NavigationMenu/{NavigationMenuViewport.js → NavigationMenuViewport.jsx} +4 -3
  99. package/dist/components/NavigationMenu/{index.js → index.jsx} +6 -14
  100. package/dist/components/PieChart/index.d.ts +2 -1
  101. package/dist/components/PieChart/{index.js → index.jsx} +2 -2
  102. package/dist/components/Popover/{PopoverClose.js → PopoverClose.jsx} +4 -14
  103. package/dist/components/Popover/{PopoverContent.js → PopoverContent.jsx} +4 -3
  104. package/dist/components/Popover/{PopoverTrigger.js → PopoverTrigger.jsx} +4 -14
  105. package/dist/components/Popover/{index.js → index.jsx} +4 -14
  106. package/dist/components/Progress/{index.js → index.jsx} +4 -3
  107. package/dist/components/RadarChart/index.d.ts +2 -1
  108. package/dist/components/RadarChart/{index.js → index.jsx} +2 -2
  109. package/dist/components/Radio/{index.js → index.jsx} +8 -13
  110. package/dist/components/RadioCards/{RadioCardsItem.js → RadioCardsItem.jsx} +4 -14
  111. package/dist/components/RadioCards/{index.js → index.jsx} +6 -3
  112. package/dist/components/RadioGroup/{RadioGroupItem.js → RadioGroupItem.jsx} +4 -14
  113. package/dist/components/RadioGroup/{index.js → index.jsx} +6 -14
  114. package/dist/components/ScrollArea/{index.js → index.jsx} +6 -14
  115. package/dist/components/SegmentedControl/{SegmentedControlItem.js → SegmentedControlItem.jsx} +4 -14
  116. package/dist/components/SegmentedControl/{index.js → index.jsx} +5 -2
  117. package/dist/components/Select/{index.js → index.jsx} +25 -8
  118. package/dist/components/Separator/{index.js → index.jsx} +5 -2
  119. package/dist/components/Skeleton/{index.js → index.jsx} +5 -2
  120. package/dist/components/Slider/{index.js → index.jsx} +3 -2
  121. package/dist/components/Spinner/{index.js → index.jsx} +5 -2
  122. package/dist/components/TabNav/{index.js → index.jsx} +8 -14
  123. package/dist/components/Table/{index.js → index.jsx} +23 -8
  124. package/dist/components/Tabs/{index.js → index.jsx} +14 -5
  125. package/dist/components/TextArea/{index.js → index.jsx} +3 -2
  126. package/dist/components/TextField/{index.js → index.jsx} +8 -3
  127. package/dist/components/Toast/{ToastActionButton.js → ToastActionButton.jsx} +4 -3
  128. package/dist/components/Toast/{ToastDescription.js → ToastDescription.jsx} +6 -14
  129. package/dist/components/Toast/{ToastTitle.js → ToastTitle.jsx} +4 -14
  130. package/dist/components/Toast/{index.js → index.jsx} +9 -3
  131. package/dist/components/Toggle/{ToggleWithText.js → ToggleWithText.jsx} +6 -4
  132. package/dist/components/Toggle/{index.js → index.jsx} +4 -3
  133. package/dist/components/ToggleGroup/{index.js → index.jsx} +6 -3
  134. package/dist/components/ToggleGroup/{toggleGroupItem.js → toggleGroupItem.jsx} +4 -14
  135. package/dist/components/ToggleSwitch/{index.js → index.jsx} +6 -2
  136. package/dist/components/Tooltip/{index.js → index.jsx} +11 -2
  137. package/dist/stories/Welcome.d.ts +2 -1
  138. package/dist/stories/Welcome.jsx +48 -0
  139. package/dist/stories/accordion/Accordion.stories.d.ts +1 -1
  140. package/dist/stories/accordion/{Accordion.stories.js → Accordion.stories.jsx} +20 -2
  141. package/dist/stories/alert-dialog/AlertDialog.stories.d.ts +1 -1
  142. package/dist/stories/alert-dialog/{AlertDialog.stories.js → AlertDialog.stories.jsx} +15 -2
  143. package/dist/stories/aspect-ratio/AspectRatio.stories.d.ts +3 -3
  144. package/dist/stories/aspect-ratio/AspectRatio.stories.jsx +106 -0
  145. package/dist/stories/avatar/Avatar.stories.d.ts +5 -5
  146. package/dist/stories/avatar/{Avatar.stories.js → Avatar.stories.jsx} +17 -6
  147. package/dist/stories/badge/Badge.stories.d.ts +6 -6
  148. package/dist/stories/badge/{Badge.stories.js → Badge.stories.jsx} +51 -7
  149. package/dist/stories/bubble-chart/BubbleChart.stories.d.ts +5 -4
  150. package/dist/stories/bubble-chart/{BubbleChart.stories.js → BubbleChart.stories.jsx} +12 -4
  151. package/dist/stories/button/Button.stories.d.ts +7 -7
  152. package/dist/stories/button/{Button.stories.js → Button.stories.jsx} +41 -8
  153. package/dist/stories/button/IconButton.stories.d.ts +4 -4
  154. package/dist/stories/button/{IconButton.stories.js → IconButton.stories.jsx} +18 -5
  155. package/dist/stories/callout/Callout.stories.d.ts +7 -7
  156. package/dist/stories/callout/Callout.stories.jsx +205 -0
  157. package/dist/stories/card/Card.stories.d.ts +5 -5
  158. package/dist/stories/card/{Card.stories.js → Card.stories.jsx} +56 -6
  159. package/dist/stories/checkbox/Checkbox.stories.d.ts +6 -6
  160. package/dist/stories/checkbox/{Checkbox.stories.js → Checkbox.stories.jsx} +63 -7
  161. package/dist/stories/checkbox/CheckboxCard.stories.d.ts +5 -5
  162. package/dist/stories/checkbox/{CheckboxCard.stories.js → CheckboxCard.stories.jsx} +41 -6
  163. package/dist/stories/checkbox/CheckboxGroup.stories.d.ts +3 -3
  164. package/dist/stories/checkbox/{CheckboxGroup.stories.js → CheckboxGroup.stories.jsx} +76 -4
  165. package/dist/stories/context-menu/ContextMenu.stories.d.ts +4 -4
  166. package/dist/stories/context-menu/{ContextMenu.stories.js → ContextMenu.stories.jsx} +74 -5
  167. package/dist/stories/data-list/DataList.stories.d.ts +4 -4
  168. package/dist/stories/data-list/DataList.stories.jsx +185 -0
  169. package/dist/stories/dialog/Dialog.stories.d.ts +1 -1
  170. package/dist/stories/dialog/{Dialog.stories.js → Dialog.stories.jsx} +25 -2
  171. package/dist/stories/doughnut-chart/DoughnutChart.stories.d.ts +5 -4
  172. package/dist/stories/doughnut-chart/{DoughnutChart.stories.js → DoughnutChart.stories.jsx} +12 -4
  173. package/dist/stories/dropdown-menu/DropdownMenu.stories.d.ts +4 -4
  174. package/dist/stories/dropdown-menu/DropdownMenu.stories.jsx +170 -0
  175. package/dist/stories/header/Header.stories.d.ts +6 -6
  176. package/dist/stories/header/{Header.stories.js → Header.stories.jsx} +26 -7
  177. package/dist/stories/hover-card/HoverCard.stories.d.ts +2 -2
  178. package/dist/stories/hover-card/{HoverCard.stories.js → HoverCard.stories.jsx} +30 -3
  179. package/dist/stories/inset/Inset.stories.d.ts +2 -2
  180. package/dist/stories/inset/{Inset.stories.js → Inset.stories.jsx} +27 -12
  181. package/dist/stories/label/Label.stories.d.ts +4 -4
  182. package/dist/stories/label/{Label.stories.js → Label.stories.jsx} +26 -5
  183. package/dist/stories/menubar/Menubar.stories.d.ts +1 -1
  184. package/dist/stories/menubar/{Menubar.stories.js → Menubar.stories.jsx} +45 -8
  185. package/dist/stories/navigation-menu/NavigationMenu.stories.d.ts +2 -2
  186. package/dist/stories/navigation-menu/{NavigationMenu.stories.js → NavigationMenu.stories.jsx} +68 -3
  187. package/dist/stories/pie-chart/PieChart.stories.d.ts +6 -5
  188. package/dist/stories/pie-chart/{PieChart.stories.js → PieChart.stories.jsx} +32 -13
  189. package/dist/stories/popover/Popover.stories.d.ts +2 -2
  190. package/dist/stories/popover/{Popover.stories.js → Popover.stories.jsx} +42 -9
  191. package/dist/stories/progress/Progress.stories.d.ts +4 -4
  192. package/dist/stories/progress/{Progress.stories.js → Progress.stories.jsx} +11 -6
  193. package/dist/stories/radar-chart/RadarChart.stories.d.ts +6 -5
  194. package/dist/stories/radar-chart/{RadarChart.stories.js → RadarChart.stories.jsx} +4 -5
  195. package/dist/stories/radio/Radio.stories.d.ts +3 -3
  196. package/dist/stories/radio/{Radio.stories.js → Radio.stories.jsx} +14 -4
  197. package/dist/stories/radio/RadioCards.stories.d.ts +4 -4
  198. package/dist/stories/radio/{RadioCards.stories.js → RadioCards.stories.jsx} +64 -5
  199. package/dist/stories/radio/RadioGroup.stories.d.ts +4 -4
  200. package/dist/stories/radio/{RadioGroup.stories.js → RadioGroup.stories.jsx} +59 -5
  201. package/dist/stories/scroll-area/ScrollArea.stories.d.ts +2 -2
  202. package/dist/stories/scroll-area/ScrollArea.stories.jsx +123 -0
  203. package/dist/stories/segmented-control/SegmentedControl.stories.d.ts +4 -4
  204. package/dist/stories/segmented-control/{SegmentedControl.stories.js → SegmentedControl.stories.jsx} +26 -5
  205. package/dist/stories/select/Select.stories.d.ts +5 -5
  206. package/dist/stories/select/{Select.stories.js → Select.stories.jsx} +67 -6
  207. package/dist/stories/separator/Separator.stories.d.ts +4 -4
  208. package/dist/stories/separator/{Separator.stories.js → Separator.stories.jsx} +29 -5
  209. package/dist/stories/skeleton/Skeleton.stories.d.ts +5 -5
  210. package/dist/stories/skeleton/{Skeleton.stories.js → Skeleton.stories.jsx} +33 -6
  211. package/dist/stories/slider/Slider.stories.d.ts +4 -4
  212. package/dist/stories/slider/{Slider.stories.js → Slider.stories.jsx} +16 -5
  213. package/dist/stories/spinner/Spinner.stories.d.ts +5 -5
  214. package/dist/stories/spinner/{Spinner.stories.js → Spinner.stories.jsx} +31 -6
  215. package/dist/stories/switch/Switch.stories.d.ts +4 -4
  216. package/dist/stories/switch/{Switch.stories.js → Switch.stories.jsx} +16 -5
  217. package/dist/stories/tab-nav/TabNav.stories.d.ts +1 -1
  218. package/dist/stories/tab-nav/{TabNav.stories.js → TabNav.stories.jsx} +11 -2
  219. package/dist/stories/table/Table.stories.d.ts +1 -1
  220. package/dist/stories/table/{Table.stories.js → Table.stories.jsx} +29 -2
  221. package/dist/stories/tabs/Tabs.stories.d.ts +1 -1
  222. package/dist/stories/tabs/{Tabs.stories.js → Tabs.stories.jsx} +19 -2
  223. package/dist/stories/text/Text.stories.d.ts +5 -5
  224. package/dist/stories/text/{Text.stories.js → Text.stories.jsx} +21 -6
  225. package/dist/stories/textArea/TextArea.stories.d.ts +5 -5
  226. package/dist/stories/textArea/{TextArea.stories.js → TextArea.stories.jsx} +22 -6
  227. package/dist/stories/textfield/TextField.stories.d.ts +5 -5
  228. package/dist/stories/textfield/{TextField.stories.js → TextField.stories.jsx} +38 -6
  229. package/dist/stories/toast/Toast.stories.d.ts +3 -3
  230. package/dist/stories/toast/{Toast.stories.js → Toast.stories.jsx} +22 -4
  231. package/dist/stories/toggle/Toggle.stories.d.ts +5 -5
  232. package/dist/stories/toggle/{Toggle.stories.js → Toggle.stories.jsx} +23 -6
  233. package/dist/stories/toggle/ToggleGroup.stories.d.ts +3 -3
  234. package/dist/stories/toggle/{ToggleGroup.stories.js → ToggleGroup.stories.jsx} +39 -6
  235. package/dist/stories/tooltip/Tooltip.stories.d.ts +3 -3
  236. package/dist/stories/tooltip/{Tooltip.stories.js → Tooltip.stories.jsx} +17 -4
  237. package/dist/tsconfig.tsbuildinfo +1 -1
  238. package/package.json +1 -1
  239. package/dist/app/page.js +0 -6
  240. package/dist/app/template/colorPicker.js +0 -14
  241. package/dist/components/NavigationMenu/NavigationMenuIndicator.js +0 -31
  242. package/dist/stories/Welcome.js +0 -30
  243. package/dist/stories/aspect-ratio/AspectRatio.stories.js +0 -78
  244. package/dist/stories/callout/Callout.stories.js +0 -104
  245. package/dist/stories/data-list/DataList.stories.js +0 -87
  246. package/dist/stories/dropdown-menu/DropdownMenu.stories.js +0 -75
  247. package/dist/stories/scroll-area/ScrollArea.stories.js +0 -63
@@ -20,7 +20,6 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
23
  import { commonArgTypes, radiusOptions, sizeOptions } from '../../constants';
25
24
  import { RadioCards, RadioCardsItem } from '../../components/RadioCards';
26
25
  var meta = {
@@ -78,17 +77,77 @@ var meta = {
78
77
  export default meta;
79
78
  export var Default = function (_a) {
80
79
  var args = __rest(_a, []);
81
- return (_jsxs(RadioCards, __assign({}, args, { defaultValue: "1", children: [_jsx(RadioCardsItem, __assign({ value: "1" }, args, { children: "radioCard 1" })), _jsx(RadioCardsItem, __assign({ value: "2" }, args, { children: "radioCard 2" })), _jsx(RadioCardsItem, __assign({ value: "3" }, args, { children: "radioCard 3" }))] })));
80
+ return (<RadioCards {...args} defaultValue="1">
81
+ <RadioCardsItem value="1" {...args}>
82
+ radioCard 1
83
+ </RadioCardsItem>
84
+ <RadioCardsItem value="2" {...args}>
85
+ radioCard 2
86
+ </RadioCardsItem>
87
+ <RadioCardsItem value="3" {...args}>
88
+ radioCard 3
89
+ </RadioCardsItem>
90
+ </RadioCards>);
82
91
  };
83
92
  export var Radius = function (_a) {
84
93
  var args = __rest(_a, []);
85
- return (_jsx("div", { className: "flex items-center space-x-4", children: _jsx("div", { className: "flex space-x-1", children: _jsxs(RadioCards, __assign({}, args, { defaultValue: "none", children: [_jsx(RadioCardsItem, __assign({ value: "none" }, args, { radius: 'none', children: "none" })), _jsx(RadioCardsItem, __assign({ value: "small" }, args, { radius: 'small', children: "small" })), _jsx(RadioCardsItem, __assign({ value: "medium" }, args, { radius: 'medium', children: "medium" })), _jsx(RadioCardsItem, __assign({ value: "large" }, args, { radius: 'large', children: "large" }))] })) }) }));
94
+ return (<div className="flex items-center space-x-4">
95
+ <div className="flex space-x-1">
96
+ <RadioCards {...args} defaultValue="none">
97
+ <RadioCardsItem value="none" {...args} radius={'none'}>
98
+ none
99
+ </RadioCardsItem>
100
+ <RadioCardsItem value="small" {...args} radius={'small'}>
101
+ small
102
+ </RadioCardsItem>
103
+ <RadioCardsItem value="medium" {...args} radius={'medium'}>
104
+ medium
105
+ </RadioCardsItem>
106
+ <RadioCardsItem value="large" {...args} radius={'large'}>
107
+ large
108
+ </RadioCardsItem>
109
+ </RadioCards>
110
+ </div>
111
+ </div>);
86
112
  };
87
113
  export var Size = function (_a) {
88
114
  var args = __rest(_a, []);
89
- return (_jsx("div", { className: "flex items-center space-x-4", children: _jsxs(RadioCards, __assign({ defaultValue: "small" }, args, { children: [_jsx(RadioCardsItem, __assign({ value: 'small' }, args, { size: 'small', children: "small" })), _jsx(RadioCardsItem, __assign({ value: 'medium' }, args, { size: 'medium', children: "medium" })), _jsx(RadioCardsItem, __assign({ value: 'large' }, args, { size: 'large', children: "large" }))] })) }));
115
+ return (<div className="flex items-center space-x-4">
116
+ <RadioCards defaultValue="small" {...args}>
117
+ <RadioCardsItem value={'small'} {...args} size={'small'}>
118
+ small
119
+ </RadioCardsItem>
120
+ <RadioCardsItem value={'medium'} {...args} size={'medium'}>
121
+ medium
122
+ </RadioCardsItem>
123
+ <RadioCardsItem value={'large'} {...args} size={'large'}>
124
+ large
125
+ </RadioCardsItem>
126
+ </RadioCards>
127
+ </div>);
90
128
  };
91
129
  export var States = function (_a) {
92
130
  var args = __rest(_a, []);
93
- return (_jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "flex items-center space-x-4", children: _jsxs(RadioCards, __assign({}, args, { defaultValue: "On", children: [_jsx(RadioCardsItem, __assign({ value: "Off" }, args, { children: "Off" })), _jsx(RadioCardsItem, __assign({ value: "On" }, args, { children: "On" }))] })) }), _jsx("div", { className: "flex items-center space-x-4", children: _jsxs(RadioCards, __assign({}, args, { defaultValue: "On", children: [_jsx(RadioCardsItem, __assign({ value: "Off" }, args, { disabled: true, children: "Off" })), _jsx(RadioCardsItem, __assign({ value: "On" }, args, { disabled: true, children: "On" }))] })) })] }));
131
+ return (<div className="space-y-2">
132
+ <div className="flex items-center space-x-4">
133
+ <RadioCards {...args} defaultValue="On">
134
+ <RadioCardsItem value="Off" {...args}>
135
+ Off
136
+ </RadioCardsItem>
137
+ <RadioCardsItem value="On" {...args}>
138
+ On
139
+ </RadioCardsItem>
140
+ </RadioCards>
141
+ </div>
142
+ <div className="flex items-center space-x-4">
143
+ <RadioCards {...args} defaultValue="On">
144
+ <RadioCardsItem value="Off" {...args} disabled>
145
+ Off
146
+ </RadioCardsItem>
147
+ <RadioCardsItem value="On" {...args} disabled>
148
+ On
149
+ </RadioCardsItem>
150
+ </RadioCards>
151
+ </div>
152
+ </div>);
94
153
  };
@@ -99,13 +99,13 @@ declare const meta: {
99
99
  export default meta;
100
100
  export declare const Default: ({ ...args }: {
101
101
  [x: string]: any;
102
- }) => import("react/jsx-runtime").JSX.Element;
102
+ }) => import("react").JSX.Element;
103
103
  export declare const Size: ({ ...args }: {
104
104
  [x: string]: any;
105
- }) => import("react/jsx-runtime").JSX.Element;
105
+ }) => import("react").JSX.Element;
106
106
  export declare const Appearance: ({ ...args }: {
107
107
  [x: string]: any;
108
- }) => import("react/jsx-runtime").JSX.Element;
108
+ }) => import("react").JSX.Element;
109
109
  export declare const Disabled: ({ ...args }: {
110
110
  [x: string]: any;
111
- }) => import("react/jsx-runtime").JSX.Element;
111
+ }) => import("react").JSX.Element;
@@ -20,7 +20,6 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
23
  import { commonArgTypes, sizeOptions } from '../../constants';
25
24
  import { 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;