@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 { BubbleChart } from 'components/BubbleChart';
25
24
  import { commonArgTypes, labelPositionList } from '../../constants';
26
25
  import { red, blue, yellow } from 'color/light';
@@ -110,7 +109,9 @@ export var Default = function (_a) {
110
109
  },
111
110
  },
112
111
  };
113
- return (_jsx("div", { className: "w-[500px] h-[400px]", children: _jsx(BubbleChart, __assign({ width: 400, height: 300, datasets: args.datasets, options: options }, args)) }));
112
+ return (<div className="w-[500px] h-[400px]">
113
+ <BubbleChart width={400} height={300} datasets={args.datasets} options={options} {...args}/>
114
+ </div>);
114
115
  };
115
116
  export var MultiDatasets = function (_a) {
116
117
  var args = __rest(_a, []);
@@ -157,12 +158,19 @@ export var MultiDatasets = function (_a) {
157
158
  },
158
159
  },
159
160
  };
160
- return _jsx(Default, { datasets: datasets, options: options });
161
+ return <Default datasets={datasets} options={options}/>;
161
162
  };
162
163
  export var PointStyles = function (_a) {
163
164
  var args = __rest(_a, []);
164
165
  var options = {
165
166
  responsive: false,
166
167
  };
167
- return (_jsxs("div", { className: "space-y-3", children: [_jsx("div", { className: "flex items-center space-x-3", children: ['cross', 'crossRot'].map(function (style, index) { return (_jsx(BubbleChart, __assign({ options: options, width: 350, height: 250 }, args, { datasets: datasets(style, style) }), index)); }) }), _jsx("div", { className: "flex items-center space-x-3", children: ['dash', 'rect'].map(function (style, index) { return (_jsx(BubbleChart, __assign({ options: options, width: 350, height: 250 }, args, { datasets: datasets(style, style) }), index)); }) })] }));
168
+ return (<div className="space-y-3">
169
+ <div className="flex items-center space-x-3">
170
+ {['cross', 'crossRot'].map(function (style, index) { return (<BubbleChart key={index} options={options} width={350} height={250} {...args} datasets={datasets(style, style)}/>); })}
171
+ </div>
172
+ <div className="flex items-center space-x-3">
173
+ {['dash', 'rect'].map(function (style, index) { return (<BubbleChart key={index} options={options} width={350} height={250} {...args} datasets={datasets(style, style)}/>); })}
174
+ </div>
175
+ </div>);
168
176
  };
@@ -139,10 +139,10 @@ declare const meta: {
139
139
  };
140
140
  };
141
141
  export default meta;
142
- export declare const Default: (args: ButtonProps) => import("react/jsx-runtime").JSX.Element;
143
- export declare const Radius: (args: ButtonProps) => import("react/jsx-runtime").JSX.Element;
144
- export declare const Size: (args: ButtonProps) => import("react/jsx-runtime").JSX.Element;
145
- export declare const Scaling: (args: ButtonProps) => import("react/jsx-runtime").JSX.Element;
146
- export declare const Weight: (args: ButtonProps) => import("react/jsx-runtime").JSX.Element;
147
- export declare const Appearance: (args: ButtonProps) => import("react/jsx-runtime").JSX.Element;
148
- export declare const WithIcon: (args: ButtonProps) => import("react/jsx-runtime").JSX.Element;
142
+ export declare const Default: (args: ButtonProps) => import("react").JSX.Element;
143
+ export declare const Radius: (args: ButtonProps) => import("react").JSX.Element;
144
+ export declare const Size: (args: ButtonProps) => import("react").JSX.Element;
145
+ export declare const Scaling: (args: ButtonProps) => import("react").JSX.Element;
146
+ export declare const Weight: (args: ButtonProps) => import("react").JSX.Element;
147
+ export declare const Appearance: (args: ButtonProps) => import("react").JSX.Element;
148
+ export declare const WithIcon: (args: ButtonProps) => import("react").JSX.Element;
@@ -9,7 +9,6 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
12
  import { fn } from '@storybook/test';
14
13
  import { radiusOptions, scalingOptions, weightOptions, commonArgTypes, appearanceOptions, sizeOptions, } from '../../../src/constants';
15
14
  import Button from 'components/Button';
@@ -56,10 +55,44 @@ var meta = {
56
55
  },
57
56
  };
58
57
  export default meta;
59
- export var Default = function (args) { return _jsx(Button, __assign({}, args, { children: "\uBC84\uD2BC" })); };
60
- export var Radius = function (args) { return (_jsx("div", { className: "flex space-x-2", children: radiusOptions.map(function (radius) { return (_jsx(Button, __assign({}, args, { radius: radius, children: radius }), radius)); }) })); };
61
- export var Size = function (args) { return (_jsx("div", { className: "flex items-center space-x-3", children: sizeOptions.map(function (size) { return (_jsx(Button, __assign({}, args, { size: size, children: size }), "".concat(size, "-size"))); }) })); };
62
- export var Scaling = function (args) { return (_jsx("div", { className: "flex items-center space-x-3", children: scalingOptions.map(function (scaling) { return (_jsx(Button, __assign({}, args, { scaling: scaling, children: scaling }), scaling)); }) })); };
63
- export var Weight = function (args) { return (_jsx("div", { className: "flex items-center space-x-3", children: weightOptions.map(function (weight) { return (_jsx(Button, __assign({}, args, { weight: weight, children: weight }), weight)); }) })); };
64
- export var Appearance = function (args) { return (_jsx("div", { className: "flex items-center space-x-3", children: appearanceOptions.map(function (appearance) { return (_jsx(Button, __assign({}, args, { appearance: appearance, children: appearance }), appearance)); }) })); };
65
- export var WithIcon = function (args) { return (_jsxs("div", { className: "flex flex-col items-center space-y-3", children: [_jsx("div", { className: "flex items-center space-x-3", children: appearanceOptions.map(function (appearance) { return (_jsxs(Button, __assign({}, args, { appearance: appearance, children: [_jsx(BookmarkIcon, { className: "w-4 h-4 mr-2" }), "\uBD81\uB9C8\uD06C"] }), appearance)); }) }), _jsx("div", { className: "flex items-center space-x-3", children: appearanceOptions.map(function (appearance) { return (_jsxs(Button, __assign({}, args, { appearance: appearance, children: ["More", _jsx(ArrowRightIcon, { className: "w-4 h-4 ml-2" })] }), appearance)); }) })] })); };
58
+ export var Default = function (args) { return <Button {...args}>버튼</Button>; };
59
+ export var Radius = function (args) { return (<div className="flex space-x-2">
60
+ {radiusOptions.map(function (radius) { return (<Button key={radius} {...args} radius={radius}>
61
+ {radius}
62
+ </Button>); })}
63
+ </div>); };
64
+ export var Size = function (args) { return (<div className="flex items-center space-x-3">
65
+ {sizeOptions.map(function (size) { return (<Button key={"".concat(size, "-size")} {...args} size={size}>
66
+ {size}
67
+ </Button>); })}
68
+ </div>); };
69
+ export var Scaling = function (args) { return (<div className="flex items-center space-x-3">
70
+ {scalingOptions.map(function (scaling) { return (<Button key={scaling} {...args} scaling={scaling}>
71
+ {scaling}
72
+ </Button>); })}
73
+ </div>); };
74
+ export var Weight = function (args) { return (<div className="flex items-center space-x-3">
75
+ {weightOptions.map(function (weight) { return (<Button key={weight} {...args} weight={weight}>
76
+ {weight}
77
+ </Button>); })}
78
+ </div>); };
79
+ export var Appearance = function (args) { return (<div className="flex items-center space-x-3">
80
+ {appearanceOptions.map(function (appearance) { return (<Button key={appearance} {...args} appearance={appearance}>
81
+ {appearance}
82
+ </Button>); })}
83
+ </div>); };
84
+ export var WithIcon = function (args) { return (<div className="flex flex-col items-center space-y-3">
85
+ <div className="flex items-center space-x-3">
86
+ {appearanceOptions.map(function (appearance) { return (<Button key={appearance} {...args} appearance={appearance}>
87
+ <BookmarkIcon className="w-4 h-4 mr-2"/>
88
+ 북마크
89
+ </Button>); })}
90
+ </div>
91
+
92
+ <div className="flex items-center space-x-3">
93
+ {appearanceOptions.map(function (appearance) { return (<Button key={appearance} {...args} appearance={appearance}>
94
+ More
95
+ <ArrowRightIcon className="w-4 h-4 ml-2"/>
96
+ </Button>); })}
97
+ </div>
98
+ </div>); };
@@ -113,13 +113,13 @@ declare const meta: {
113
113
  };
114
114
  };
115
115
  export default meta;
116
- export declare const Default: ({ ...args }: any) => import("react/jsx-runtime").JSX.Element;
116
+ export declare const Default: ({ ...args }: any) => import("react").JSX.Element;
117
117
  export declare const Size: ({ ...args }: {
118
118
  [x: string]: any;
119
- }) => import("react/jsx-runtime").JSX.Element;
119
+ }) => import("react").JSX.Element;
120
120
  export declare const Radius: ({ ...args }: {
121
121
  [x: string]: any;
122
- }) => import("react/jsx-runtime").JSX.Element;
122
+ }) => import("react").JSX.Element;
123
123
  export declare const Appearance: ({ ...args }: {
124
124
  [x: string]: any;
125
- }) => import("react/jsx-runtime").JSX.Element;
125
+ }) => import("react").JSX.Element;
@@ -20,7 +20,6 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx } from "react/jsx-runtime";
24
23
  import { MagnifyingGlassIcon } from '@radix-ui/react-icons';
25
24
  import { commonArgTypes, radiusOptions, sizeOptions, appearanceOptions } from '../../constants';
26
25
  import { IconButton } from '../../components/IconButton';
@@ -64,17 +63,31 @@ var meta = {
64
63
  export default meta;
65
64
  export var Default = function (_a) {
66
65
  var args = __rest(_a, []);
67
- return (_jsx(IconButton, __assign({}, args, { children: _jsx(MagnifyingGlassIcon, {}) })));
66
+ return (<IconButton {...args}>
67
+ <MagnifyingGlassIcon />
68
+ </IconButton>);
68
69
  };
69
70
  export var Size = function (_a) {
70
71
  var args = __rest(_a, []);
71
- return (_jsx("div", { className: "flex items-center space-x-4", children: sizeOptions.map(function (size) { return (_jsx(IconButton, __assign({}, args, { size: size, children: _jsx(MagnifyingGlassIcon, {}) }), size)); }) }));
72
+ return (<div className="flex items-center space-x-4">
73
+ {sizeOptions.map(function (size) { return (<IconButton key={size} {...args} size={size}>
74
+ <MagnifyingGlassIcon />
75
+ </IconButton>); })}
76
+ </div>);
72
77
  };
73
78
  export var Radius = function (_a) {
74
79
  var args = __rest(_a, []);
75
- return (_jsx("div", { className: "flex items-center space-x-4", children: radiusOptions.map(function (radius) { return (_jsx(IconButton, __assign({}, args, { radius: radius, children: _jsx(MagnifyingGlassIcon, {}) }), radius)); }) }));
80
+ return (<div className="flex items-center space-x-4">
81
+ {radiusOptions.map(function (radius) { return (<IconButton key={radius} {...args} radius={radius}>
82
+ <MagnifyingGlassIcon />
83
+ </IconButton>); })}
84
+ </div>);
76
85
  };
77
86
  export var Appearance = function (_a) {
78
87
  var args = __rest(_a, []);
79
- return (_jsx("div", { className: "flex items-center space-x-4", children: appearanceOptions.map(function (appearance) { return (_jsx(IconButton, __assign({}, args, { appearance: appearance, children: _jsx(MagnifyingGlassIcon, {}) }), appearance)); }) }));
88
+ return (<div className="flex items-center space-x-4">
89
+ {appearanceOptions.map(function (appearance) { return (<IconButton key={appearance} {...args} appearance={appearance}>
90
+ <MagnifyingGlassIcon />
91
+ </IconButton>); })}
92
+ </div>);
80
93
  };
@@ -108,22 +108,22 @@ declare const meta: {
108
108
  export default meta;
109
109
  export declare const Default: ({ ...args }: {
110
110
  [x: string]: any;
111
- }) => import("react/jsx-runtime").JSX.Element;
111
+ }) => import("react").JSX.Element;
112
112
  export declare const Radius: ({ ...args }: {
113
113
  [x: string]: any;
114
- }) => import("react/jsx-runtime").JSX.Element;
114
+ }) => import("react").JSX.Element;
115
115
  export declare const Size: ({ ...args }: {
116
116
  [x: string]: any;
117
- }) => import("react/jsx-runtime").JSX.Element;
117
+ }) => import("react").JSX.Element;
118
118
  export declare const Color: ({ ...args }: {
119
119
  [x: string]: any;
120
- }) => import("react/jsx-runtime").JSX.Element;
120
+ }) => import("react").JSX.Element;
121
121
  export declare const Appearance: ({ ...args }: {
122
122
  [x: string]: any;
123
- }) => import("react/jsx-runtime").JSX.Element;
123
+ }) => import("react").JSX.Element;
124
124
  export declare const Scaling: ({ ...args }: {
125
125
  [x: string]: any;
126
- }) => import("react/jsx-runtime").JSX.Element;
126
+ }) => import("react").JSX.Element;
127
127
  export declare const IconTypes: ({ ...args }: {
128
128
  [x: string]: any;
129
- }) => import("react/jsx-runtime").JSX.Element;
129
+ }) => import("react").JSX.Element;
@@ -0,0 +1,205 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { Callout, CalloutIcon, CalloutText } from 'components/Callout';
24
+ import { Text } from 'Typography/Text';
25
+ import { radiusOptions, scalingOptions, commonArgTypes, sizeOptions, appearanceOptions, } from '../../constants';
26
+ var meta = {
27
+ title: 'Component/Callout',
28
+ component: Callout,
29
+ parameters: {
30
+ layout: 'centered',
31
+ docs: {
32
+ description: {
33
+ component: '중요한 정보나 경고를 강조하기 위해 사용되는 알림 박스 컴포넌트',
34
+ },
35
+ },
36
+ },
37
+ tags: ['autodocs'],
38
+ argTypes: {
39
+ radius: __assign(__assign({}, commonArgTypes.radius), { description: 'Callout border 둥굴기' }),
40
+ size: __assign(__assign({}, commonArgTypes.size), { table: {
41
+ category: 'Props',
42
+ type: {
43
+ summary: sizeOptions
44
+ .filter(function (option) { return option !== 'x-small' && option !== 'x-large'; })
45
+ .join(' | '),
46
+ },
47
+ }, options: sizeOptions.filter(function (option) { return option !== 'x-small' && option !== 'x-large'; }), description: 'Callout 크기' }),
48
+ scaling: __assign(__assign({}, commonArgTypes.scaling), { description: 'Callout 비율' }),
49
+ color: {
50
+ table: {
51
+ category: 'Props',
52
+ type: { summary: ['danger', 'warning', 'success', 'information'].join(' | ') },
53
+ },
54
+ options: ['danger', 'warning', 'success', 'information'],
55
+ control: { type: 'select' },
56
+ defaultValue: { summary: 'information' },
57
+ description: 'Toast 색',
58
+ },
59
+ contentText: __assign(__assign({}, commonArgTypes.basicText), { description: 'Callout 안에 들어가는 텍스트' }),
60
+ appearance: __assign(__assign({}, commonArgTypes.appearance), { table: {
61
+ category: 'Props',
62
+ type: {
63
+ summary: appearanceOptions
64
+ .filter(function (option) { return option !== 'classic' && option !== 'ghost' && option !== 'solid'; })
65
+ .join(' | '),
66
+ },
67
+ }, description: 'Callout 스타일', options: appearanceOptions.filter(function (option) { return option !== 'classic' && option !== 'ghost' && option !== 'solid'; }) }),
68
+ },
69
+ };
70
+ export default meta;
71
+ export var Default = function (_a) {
72
+ var args = __rest(_a, []);
73
+ return (<Callout {...args}>
74
+ <CalloutIcon {...args} iconType="information"/>
75
+ <CalloutText {...args}>시스템 점검이 예정되어 있습니다.</CalloutText>
76
+ </Callout>);
77
+ };
78
+ export var Radius = function (_a) {
79
+ var args = __rest(_a, []);
80
+ return (<div className="flex flex-col space-y-3">
81
+ {radiusOptions.map(function (radius) { return (<Callout {...args} radius={radius} key={radius}>
82
+ <CalloutIcon {...args} iconType="information"/>
83
+ <CalloutText {...args}>시스템 점검이 예정되어 있습니다.</CalloutText>
84
+ </Callout>); })}
85
+ </div>);
86
+ };
87
+ export var Size = function (_a) {
88
+ var args = __rest(_a, []);
89
+ return (<div className="flex flex-col space-y-5">
90
+ <Callout {...args} size={'small'}>
91
+ <CalloutIcon {...args} iconType="information"/>
92
+ <CalloutText {...args}>
93
+ 새로운 업데이트가 있습니다. 최신 버전을 다운로드하여 사용해 주세요.
94
+ </CalloutText>
95
+ </Callout>
96
+
97
+ <Callout {...args}>
98
+ <CalloutIcon {...args} iconType="information"/>
99
+ <CalloutText {...args}>
100
+ 새로운 업데이트가 있습니다. 최신 버전을 다운로드하여 사용해 주세요.
101
+ </CalloutText>
102
+ </Callout>
103
+
104
+ <Callout {...args} size="large">
105
+ <CalloutIcon {...args} iconType="information"/>
106
+ <CalloutText {...args}>
107
+ 새로운 업데이트가 있습니다. 최신 버전을 다운로드하여 사용해 주세요.
108
+ </CalloutText>
109
+ </Callout>
110
+ </div>);
111
+ };
112
+ export var Color = function (_a) {
113
+ var args = __rest(_a, []);
114
+ return (<div className="flex space-x-5">
115
+ <Callout {...args} color="information">
116
+ <CalloutIcon {...args} iconType="information"/>
117
+ <CalloutText {...args}>정보 메세지</CalloutText>
118
+ </Callout>
119
+
120
+ <Callout {...args} color="danger">
121
+ <CalloutIcon {...args} iconType="danger"/>
122
+ <CalloutText {...args}>위험 메세지</CalloutText>
123
+ </Callout>
124
+
125
+ <Callout {...args} color="warning">
126
+ <CalloutIcon {...args} iconType="warning"/>
127
+ <CalloutText {...args}>경고 메세지</CalloutText>
128
+ </Callout>
129
+
130
+ <Callout {...args} color="success">
131
+ <CalloutIcon {...args} iconType="success"/>
132
+ <CalloutText {...args}>성공 메세지</CalloutText>
133
+ </Callout>
134
+ </div>);
135
+ };
136
+ export var Appearance = function (_a) {
137
+ var args = __rest(_a, []);
138
+ return (<div className="flex space-x-5">
139
+ <div className="flex flex-col space-y-1">
140
+ <Text>Soft(기준)</Text>
141
+ <Callout {...args} appearance="soft">
142
+ <CalloutIcon {...args} iconType="information"/>
143
+ <CalloutText {...args}>새로운 업데이트가 있습니다. </CalloutText>
144
+ </Callout>
145
+ </div>
146
+ <div className="flex flex-col space-y-1">
147
+ <Text>Surface</Text>
148
+ <Callout {...args} appearance="surface">
149
+ <CalloutIcon {...args} iconType="information"/>
150
+ <CalloutText {...args}>새로운 업데이트가 있습니다. </CalloutText>
151
+ </Callout>
152
+ </div>
153
+ <div className="flex flex-col space-y-1">
154
+ <Text>Outline</Text>
155
+ <Callout {...args} appearance="outline">
156
+ <CalloutIcon {...args} iconType="information"/>
157
+ <CalloutText {...args}>새로운 업데이트가 있습니다. </CalloutText>
158
+ </Callout>
159
+ </div>
160
+ </div>);
161
+ };
162
+ export var Scaling = function (_a) {
163
+ var args = __rest(_a, []);
164
+ return (<div className="flex flex-col space-y-5">
165
+ {scalingOptions.map(function (scaling) { return (<Callout {...args} scaling={scaling} key={scaling}>
166
+ <CalloutIcon {...args} iconType="information"/>
167
+ <CalloutText {...args}>관리자에게 문의하세요.</CalloutText>
168
+ </Callout>); })}
169
+ </div>);
170
+ };
171
+ export var IconTypes = function (_a) {
172
+ var args = __rest(_a, []);
173
+ return (<div className="flex space-x-5">
174
+ <div className="flex flex-col space-y-1">
175
+ <Text>Danger</Text>
176
+ <Callout {...args} color="danger">
177
+ <CalloutIcon {...args} iconType="danger" color="danger"/>
178
+ <CalloutText {...args} color="danger">
179
+ 위험 아이콘
180
+ </CalloutText>
181
+ </Callout>
182
+ </div>
183
+ <div className="flex flex-col space-y-1">
184
+ <Text>Warning</Text>
185
+ <Callout {...args} color="warning">
186
+ <CalloutIcon {...args} iconType="warning"/>
187
+ <CalloutText {...args}>경고 아이콘</CalloutText>
188
+ </Callout>
189
+ </div>
190
+ <div className="flex flex-col space-y-1">
191
+ <Text>Success</Text>
192
+ <Callout {...args} color="success">
193
+ <CalloutIcon {...args} iconType="success"/>
194
+ <CalloutText {...args}>성공 아이콘</CalloutText>
195
+ </Callout>
196
+ </div>
197
+ <div className="flex flex-col space-y-1">
198
+ <Text>Info</Text>
199
+ <Callout {...args} color="information">
200
+ <CalloutIcon {...args} iconType="information"/>
201
+ <CalloutText {...args}>정보 아이콘</CalloutText>
202
+ </Callout>
203
+ </div>
204
+ </div>);
205
+ };
@@ -85,16 +85,16 @@ declare const meta: {
85
85
  export default meta;
86
86
  export declare const Default: ({ ...args }: {
87
87
  [x: string]: any;
88
- }) => import("react/jsx-runtime").JSX.Element;
88
+ }) => import("react").JSX.Element;
89
89
  export declare const NoAvatar: ({ ...args }: {
90
90
  [x: string]: any;
91
- }) => import("react/jsx-runtime").JSX.Element;
91
+ }) => import("react").JSX.Element;
92
92
  export declare const Appearance: ({ ...args }: {
93
93
  [x: string]: any;
94
- }) => import("react/jsx-runtime").JSX.Element;
94
+ }) => import("react").JSX.Element;
95
95
  export declare const Scaling: ({ ...args }: {
96
96
  [x: string]: any;
97
- }) => import("react/jsx-runtime").JSX.Element;
97
+ }) => import("react").JSX.Element;
98
98
  export declare const Radius: ({ ...args }: {
99
99
  [x: string]: any;
100
- }) => import("react/jsx-runtime").JSX.Element;
100
+ }) => import("react").JSX.Element;
@@ -20,7 +20,6 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
23
  import Card from 'components/Card';
25
24
  import Avatar from 'components/Avatar';
26
25
  import { Text } from 'Typography/Text';
@@ -64,21 +63,72 @@ var meta = {
64
63
  export default meta;
65
64
  export var Default = function (_a) {
66
65
  var args = __rest(_a, []);
67
- return (_jsxs(Card, __assign({}, args, { children: [_jsx(Avatar, __assign({}, args, { size: args.size === 'small' ? '3' : args.size === 'large' ? '5' : '4', appearance: "solid", imagePath: "https://images.unsplash.com/photo-1502823403499-6ccfcf4fb453?&w=256&h=256&q=70&crop=focalpoint&fp-x=0.5&fp-y=0.3&fp-z=1&fit=crop" })), _jsxs("div", { className: "flex flex-col", children: [_jsx(Text, __assign({}, args, { weight: 'bold', size: args.size === 'small' ? '3' : args.size === 'large' ? '5' : '4', children: "Title" })), _jsx(Text, __assign({}, args, { size: args.size === 'small' ? '3' : args.size === 'large' ? '5' : '4', children: "Content" }))] })] })));
66
+ return (<Card {...args}>
67
+ <Avatar {...args} size={args.size === 'small' ? '3' : args.size === 'large' ? '5' : '4'} appearance="solid" imagePath="https://images.unsplash.com/photo-1502823403499-6ccfcf4fb453?&w=256&h=256&q=70&crop=focalpoint&fp-x=0.5&fp-y=0.3&fp-z=1&fit=crop"/>
68
+ <div className="flex flex-col">
69
+ <Text {...args} weight={'bold'} size={args.size === 'small' ? '3' : args.size === 'large' ? '5' : '4'}>
70
+ Title
71
+ </Text>
72
+ <Text {...args} size={args.size === 'small' ? '3' : args.size === 'large' ? '5' : '4'}>
73
+ Content
74
+ </Text>
75
+ </div>
76
+ </Card>);
68
77
  };
69
78
  export var NoAvatar = function (_a) {
70
79
  var args = __rest(_a, []);
71
- return (_jsx(Card, __assign({}, args, { children: _jsxs("div", { className: "flex flex-col", children: [_jsx(Text, __assign({}, args, { weight: 'bold', children: "Typography" })), _jsx(Text, __assign({}, args, { children: "is the art and technique of arranging type to make written language legible, \n readable and appealing when displayed." }))] }) })));
80
+ return (<Card {...args}>
81
+ <div className="flex flex-col">
82
+ <Text {...args} weight={'bold'}>
83
+ Typography
84
+ </Text>
85
+ <Text {...args}>{"is the art and technique of arranging type to make written language legible, \n readable and appealing when displayed."}</Text>
86
+ </div>
87
+ </Card>);
72
88
  };
73
89
  export var Appearance = function (_a) {
74
90
  var args = __rest(_a, []);
75
- return (_jsxs("div", { className: "flex flex-col space-y-4", children: [_jsx(Card, __assign({}, args, { appearance: "surface", children: _jsx(Text, { children: "surface style card (default)" }) })), _jsx(Card, __assign({}, args, { appearance: "classic", children: _jsx(Text, { children: "classic style card" }) })), _jsx(Card, __assign({}, args, { appearance: "ghost", children: _jsx(Text, { children: " ghost style card" }) }))] }));
91
+ return (<div className="flex flex-col space-y-4">
92
+ <Card {...args} appearance="surface">
93
+ <Text>surface style card (default)</Text>
94
+ </Card>
95
+ <Card {...args} appearance="classic">
96
+ <Text>classic style card</Text>
97
+ </Card>
98
+ <Card {...args} appearance="ghost">
99
+ <Text> ghost style card</Text>
100
+ </Card>
101
+ </div>);
76
102
  };
77
103
  export var Scaling = function (_a) {
78
104
  var args = __rest(_a, []);
79
- return (_jsx("div", { className: "flex flex-col items-center space-y-4", children: scalingOptions.map(function (scaling) { return (_jsx("div", { children: _jsxs(Card, __assign({}, args, { scaling: scaling, children: [_jsx(Avatar, __assign({}, args, { radius: 'full', scaling: scaling, imagePath: "https://images.unsplash.com/photo-1502823403499-6ccfcf4fb453?&w=256&h=256&q=70&crop=focalpoint&fp-x=0.5&fp-y=0.3&fp-z=1&fit=crop" })), _jsxs("div", { className: "flex flex-col", children: [_jsx(Text, __assign({}, args, { weight: 'bold', children: "Title" })), _jsx(Text, __assign({}, args, { children: "Content" }))] })] })) }, scaling)); }) }));
105
+ return (<div className="flex flex-col items-center space-y-4">
106
+ {scalingOptions.map(function (scaling) { return (<div key={scaling}>
107
+ <Card {...args} scaling={scaling}>
108
+ <Avatar {...args} radius={'full'} scaling={scaling} imagePath="https://images.unsplash.com/photo-1502823403499-6ccfcf4fb453?&w=256&h=256&q=70&crop=focalpoint&fp-x=0.5&fp-y=0.3&fp-z=1&fit=crop"/>
109
+ <div className="flex flex-col">
110
+ <Text {...args} weight={'bold'}>
111
+ Title
112
+ </Text>
113
+ <Text {...args}>Content</Text>
114
+ </div>
115
+ </Card>
116
+ </div>); })}
117
+ </div>);
80
118
  };
81
119
  export var Radius = function (_a) {
82
120
  var args = __rest(_a, []);
83
- return (_jsx("div", { className: "flex flex-col items-center space-y-3", children: radiusOptions.map(function (radius) { return (_jsx("div", { children: _jsxs(Card, __assign({}, args, { radius: radius, children: [_jsx(Avatar, __assign({}, args, { radius: radius, imagePath: "https://images.unsplash.com/photo-1502823403499-6ccfcf4fb453?&w=256&h=256&q=70&crop=focalpoint&fp-x=0.5&fp-y=0.3&fp-z=1&fit=crop" })), _jsxs("div", { className: "flex flex-col", children: [_jsx(Text, __assign({}, args, { weight: 'bold', children: "Title" })), _jsx(Text, __assign({}, args, { children: "Content" }))] })] })) }, radius)); }) }));
121
+ return (<div className="flex flex-col items-center space-y-3">
122
+ {radiusOptions.map(function (radius) { return (<div key={radius}>
123
+ <Card {...args} radius={radius}>
124
+ <Avatar {...args} radius={radius} imagePath="https://images.unsplash.com/photo-1502823403499-6ccfcf4fb453?&w=256&h=256&q=70&crop=focalpoint&fp-x=0.5&fp-y=0.3&fp-z=1&fit=crop"/>
125
+ <div className="flex flex-col">
126
+ <Text {...args} weight={'bold'}>
127
+ Title
128
+ </Text>
129
+ <Text {...args}>Content</Text>
130
+ </div>
131
+ </Card>
132
+ </div>); })}
133
+ </div>);
84
134
  };
@@ -129,19 +129,19 @@ declare const meta: {
129
129
  export default meta;
130
130
  export declare const Default: ({ ...args }: {
131
131
  [x: string]: any;
132
- }) => import("react/jsx-runtime").JSX.Element;
132
+ }) => import("react").JSX.Element;
133
133
  export declare const Types: ({ ...args }: {
134
134
  [x: string]: any;
135
- }) => import("react/jsx-runtime").JSX.Element;
135
+ }) => import("react").JSX.Element;
136
136
  export declare const Size: ({ ...args }: {
137
137
  [x: string]: any;
138
- }) => import("react/jsx-runtime").JSX.Element;
138
+ }) => import("react").JSX.Element;
139
139
  export declare const Scaling: ({ ...args }: {
140
140
  [x: string]: any;
141
- }) => import("react/jsx-runtime").JSX.Element;
141
+ }) => import("react").JSX.Element;
142
142
  export declare const Radius: ({ ...args }: {
143
143
  [x: string]: any;
144
- }) => import("react/jsx-runtime").JSX.Element;
144
+ }) => import("react").JSX.Element;
145
145
  export declare const Appearance: ({ ...args }: {
146
146
  [x: string]: any;
147
- }) => import("react/jsx-runtime").JSX.Element;
147
+ }) => import("react").JSX.Element;