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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (239) hide show
  1. package/dist/Typography/Header/{index.jsx → index.js} +2 -5
  2. package/dist/Typography/Text/{index.jsx → index.js} +3 -6
  3. package/dist/components/Accordion/{index.jsx → index.js} +5 -17
  4. package/dist/components/AlertDialog/{AlertDialogAction.jsx → AlertDialogAction.js} +3 -4
  5. package/dist/components/AlertDialog/{AlertDialogCancel.jsx → AlertDialogCancel.js} +3 -4
  6. package/dist/components/AlertDialog/{AlertDialogContent.jsx → AlertDialogContent.js} +3 -7
  7. package/dist/components/AlertDialog/{AlertDialogDescription.jsx → AlertDialogDescription.js} +14 -4
  8. package/dist/components/AlertDialog/{AlertDialogTitle.jsx → AlertDialogTitle.js} +14 -4
  9. package/dist/components/AlertDialog/{AlertDialogTrigger.jsx → AlertDialogTrigger.js} +3 -4
  10. package/dist/components/AlertDialog/{index.jsx → index.js} +14 -4
  11. package/dist/components/AspectRatio/{index.jsx → index.js} +3 -4
  12. package/dist/components/Avatar/{index.jsx → index.js} +3 -7
  13. package/dist/components/Badge/{index.jsx → index.js} +3 -4
  14. package/dist/components/BubbleChart/index.d.ts +1 -2
  15. package/dist/components/BubbleChart/{index.jsx → index.js} +2 -2
  16. package/dist/components/Button/{index.jsx → index.js} +3 -4
  17. package/dist/components/Callout/{CalloutIcon.jsx → CalloutIcon.js} +3 -8
  18. package/dist/components/Callout/{CalloutText.jsx → CalloutText.js} +14 -4
  19. package/dist/components/Callout/{index.jsx → index.js} +3 -6
  20. package/dist/components/Card/{index.jsx → index.js} +3 -4
  21. package/dist/components/Checkbox/{index.jsx → index.js} +3 -11
  22. package/dist/components/CheckboxCard/{index.jsx → index.js} +3 -5
  23. package/dist/components/CheckboxGroup/{CheckboxGroupItem.jsx → CheckboxGroupItem.js} +14 -6
  24. package/dist/components/CheckboxGroup/{index.jsx → index.js} +2 -5
  25. package/dist/components/ContextMenu/{ContextMenuCheckboxItem.jsx → ContextMenuCheckboxItem.js} +14 -7
  26. package/dist/components/ContextMenu/{ContextMenuContent.jsx → ContextMenuContent.js} +3 -6
  27. package/dist/components/ContextMenu/{ContextMenuGroup.jsx → ContextMenuGroup.js} +14 -4
  28. package/dist/components/ContextMenu/{ContextMenuItem.jsx → ContextMenuItem.js} +3 -5
  29. package/dist/components/ContextMenu/{ContextMenuItemIndicator.jsx → ContextMenuItemIndicator.js} +3 -4
  30. package/dist/components/ContextMenu/{ContextMenuLabel.jsx → ContextMenuLabel.js} +3 -4
  31. package/dist/components/ContextMenu/{ContextMenuRadioGroup.jsx → ContextMenuRadioGroup.js} +14 -6
  32. package/dist/components/ContextMenu/{ContextMenuRadioItem.jsx → ContextMenuRadioItem.js} +14 -7
  33. package/dist/components/ContextMenu/{ContextMenuSeparator.jsx → ContextMenuSeparator.js} +14 -4
  34. package/dist/components/ContextMenu/{ContextMenuSubContent.jsx → ContextMenuSubContent.js} +6 -9
  35. package/dist/components/ContextMenu/{ContextMenuSubTrigger.jsx → ContextMenuSubTrigger.js} +14 -9
  36. package/dist/components/ContextMenu/{ContextMenuTrigger.jsx → ContextMenuTrigger.js} +14 -4
  37. package/dist/components/ContextMenu/{index.jsx → index.js} +14 -6
  38. package/dist/components/DataList/{DataListItem.jsx → DataListItem.js} +3 -4
  39. package/dist/components/DataList/{DataListLabel.jsx → DataListLabel.js} +3 -4
  40. package/dist/components/DataList/{DataListValue.jsx → DataListValue.js} +3 -4
  41. package/dist/components/DataList/{index.jsx → index.js} +14 -6
  42. package/dist/components/Dialog/{DialogAction.jsx → DialogAction.js} +14 -4
  43. package/dist/components/Dialog/{DialogCancel.jsx → DialogCancel.js} +14 -4
  44. package/dist/components/Dialog/{DialogContent.jsx → DialogContent.js} +3 -4
  45. package/dist/components/Dialog/{DialogDescription.jsx → DialogDescription.js} +14 -4
  46. package/dist/components/Dialog/{DialogSlot.jsx → DialogSlot.js} +14 -4
  47. package/dist/components/Dialog/{DialogTitle.jsx → DialogTitle.js} +14 -4
  48. package/dist/components/Dialog/{DialogTrigger.jsx → DialogTrigger.js} +14 -4
  49. package/dist/components/Dialog/{index.jsx → index.js} +14 -4
  50. package/dist/components/DoughnutChart/index.d.ts +1 -2
  51. package/dist/components/DoughnutChart/{index.jsx → index.js} +2 -2
  52. package/dist/components/DropdownMenu/{DropdonMenuRadioGroup.jsx → DropdonMenuRadioGroup.js} +14 -6
  53. package/dist/components/DropdownMenu/{DropdonMenuSubContent.jsx → DropdonMenuSubContent.js} +7 -10
  54. package/dist/components/DropdownMenu/{DropdownMenuCheckboxItem.jsx → DropdownMenuCheckboxItem.js} +14 -7
  55. package/dist/components/DropdownMenu/{DropdownMenuContent.jsx → DropdownMenuContent.js} +3 -6
  56. package/dist/components/DropdownMenu/{DropdownMenuItem.jsx → DropdownMenuItem.js} +3 -5
  57. package/dist/components/DropdownMenu/{DropdownMenuItemIndicator.jsx → DropdownMenuItemIndicator.js} +3 -4
  58. package/dist/components/DropdownMenu/{DropdownMenuLable.jsx → DropdownMenuLable.js} +3 -4
  59. package/dist/components/DropdownMenu/{DropdownMenuRadioItem.jsx → DropdownMenuRadioItem.js} +14 -7
  60. package/dist/components/DropdownMenu/{DropdownMenuSeparator.jsx → DropdownMenuSeparator.js} +14 -2
  61. package/dist/components/DropdownMenu/{DropdownMenuSub.jsx → DropdownMenuSub.js} +14 -2
  62. package/dist/components/DropdownMenu/{DropdownMenuSubTrigger.jsx → DropdownMenuSubTrigger.js} +14 -7
  63. package/dist/components/DropdownMenu/{DropdownMenuTrigger.jsx → DropdownMenuTrigger.js} +14 -4
  64. package/dist/components/DropdownMenu/{index.jsx → index.js} +14 -2
  65. package/dist/components/HoverCard/{HoverCardContent.jsx → HoverCardContent.js} +3 -4
  66. package/dist/components/HoverCard/{HoverCardTrigger.jsx → HoverCardTrigger.js} +14 -4
  67. package/dist/components/HoverCard/{index.jsx → index.js} +14 -4
  68. package/dist/components/IconButton/{index.jsx → index.js} +2 -3
  69. package/dist/components/Inset/{index.jsx → index.js} +3 -6
  70. package/dist/components/Label/{index.jsx → index.js} +2 -3
  71. package/dist/components/Menubar/{MenubarCheckboxItem.jsx → MenubarCheckboxItem.js} +14 -7
  72. package/dist/components/Menubar/{MenubarContent.jsx → MenubarContent.js} +7 -10
  73. package/dist/components/Menubar/{MenubarItem.jsx → MenubarItem.js} +3 -5
  74. package/dist/components/Menubar/{MenubarItemIndicator.jsx → MenubarItemIndicator.js} +3 -4
  75. package/dist/components/Menubar/{MenubarMenu.jsx → MenubarMenu.js} +14 -2
  76. package/dist/components/Menubar/{MenubarRadioGroup.jsx → MenubarRadioGroup.js} +14 -6
  77. package/dist/components/Menubar/{MenubarRadioItem.jsx → MenubarRadioItem.js} +14 -7
  78. package/dist/components/Menubar/{MenubarSeparator.jsx → MenubarSeparator.js} +14 -4
  79. package/dist/components/Menubar/{MenubarSub.jsx → MenubarSub.js} +14 -2
  80. package/dist/components/Menubar/{MenubarSubContent.jsx → MenubarSubContent.js} +4 -5
  81. package/dist/components/Menubar/{MenubarSubTrigger.jsx → MenubarSubTrigger.js} +14 -7
  82. package/dist/components/Menubar/{MenubarTrigger.jsx → MenubarTrigger.js} +3 -4
  83. package/dist/components/Menubar/{index.jsx → index.js} +3 -6
  84. package/dist/components/NavigationMenu/{NavigationMenuContent.jsx → NavigationMenuContent.js} +3 -4
  85. package/dist/components/NavigationMenu/NavigationMenuIndicator.js +31 -0
  86. package/dist/components/NavigationMenu/{NavigationMenuItem.jsx → NavigationMenuItem.js} +14 -4
  87. package/dist/components/NavigationMenu/{NavigationMenuLink.jsx → NavigationMenuLink.js} +3 -4
  88. package/dist/components/NavigationMenu/{NavigationMenuList.jsx → NavigationMenuList.js} +3 -5
  89. package/dist/components/NavigationMenu/{NavigationMenuTrigger.jsx → NavigationMenuTrigger.js} +3 -5
  90. package/dist/components/NavigationMenu/{NavigationMenuViewport.jsx → NavigationMenuViewport.js} +3 -4
  91. package/dist/components/NavigationMenu/{index.jsx → index.js} +14 -6
  92. package/dist/components/PieChart/index.d.ts +1 -2
  93. package/dist/components/PieChart/{index.jsx → index.js} +2 -2
  94. package/dist/components/Popover/{PopoverClose.jsx → PopoverClose.js} +14 -4
  95. package/dist/components/Popover/{PopoverContent.jsx → PopoverContent.js} +3 -4
  96. package/dist/components/Popover/{PopoverTrigger.jsx → PopoverTrigger.js} +14 -4
  97. package/dist/components/Popover/{index.jsx → index.js} +14 -4
  98. package/dist/components/Progress/{index.jsx → index.js} +3 -4
  99. package/dist/components/RadarChart/index.d.ts +1 -2
  100. package/dist/components/RadarChart/{index.jsx → index.js} +2 -2
  101. package/dist/components/Radio/{index.jsx → index.js} +13 -8
  102. package/dist/components/RadioCards/{RadioCardsItem.jsx → RadioCardsItem.js} +14 -4
  103. package/dist/components/RadioCards/{index.jsx → index.js} +3 -6
  104. package/dist/components/RadioGroup/{RadioGroupItem.jsx → RadioGroupItem.js} +14 -4
  105. package/dist/components/RadioGroup/{index.jsx → index.js} +14 -6
  106. package/dist/components/ScrollArea/{index.jsx → index.js} +14 -6
  107. package/dist/components/SegmentedControl/{SegmentedControlItem.jsx → SegmentedControlItem.js} +14 -4
  108. package/dist/components/SegmentedControl/{index.jsx → index.js} +2 -5
  109. package/dist/components/Select/{index.jsx → index.js} +8 -25
  110. package/dist/components/Separator/{index.jsx → index.js} +2 -5
  111. package/dist/components/Skeleton/{index.jsx → index.js} +2 -5
  112. package/dist/components/Slider/{index.jsx → index.js} +2 -3
  113. package/dist/components/Spinner/{index.jsx → index.js} +2 -5
  114. package/dist/components/TabNav/{index.jsx → index.js} +14 -8
  115. package/dist/components/Table/{index.jsx → index.js} +8 -23
  116. package/dist/components/Tabs/{index.jsx → index.js} +5 -14
  117. package/dist/components/TextArea/{index.jsx → index.js} +2 -3
  118. package/dist/components/TextField/{index.jsx → index.js} +3 -8
  119. package/dist/components/Toast/{ToastActionButton.jsx → ToastActionButton.js} +3 -4
  120. package/dist/components/Toast/{ToastDescription.jsx → ToastDescription.js} +14 -6
  121. package/dist/components/Toast/{ToastTitle.jsx → ToastTitle.js} +14 -4
  122. package/dist/components/Toast/{index.jsx → index.js} +3 -9
  123. package/dist/components/Toggle/{ToggleWithText.jsx → ToggleWithText.js} +4 -6
  124. package/dist/components/Toggle/{index.jsx → index.js} +3 -4
  125. package/dist/components/ToggleGroup/{index.jsx → index.js} +3 -6
  126. package/dist/components/ToggleGroup/{toggleGroupItem.jsx → toggleGroupItem.js} +14 -4
  127. package/dist/components/ToggleSwitch/{index.jsx → index.js} +2 -6
  128. package/dist/components/Tooltip/{index.jsx → index.js} +2 -11
  129. package/package.json +11 -2
  130. package/dist/app/layout.d.ts +0 -7
  131. package/dist/app/layout.jsx +0 -13
  132. package/dist/app/page.d.ts +0 -2
  133. package/dist/app/page.jsx +0 -9
  134. package/dist/app/template/colorPicker.d.ts +0 -7
  135. package/dist/app/template/colorPicker.jsx +0 -19
  136. package/dist/app/template/theme.d.ts +0 -12
  137. package/dist/app/template/theme.jsx +0 -17
  138. package/dist/components/NavigationMenu/NavigationMenuIndicator.jsx +0 -22
  139. package/dist/stories/Welcome.d.ts +0 -3
  140. package/dist/stories/Welcome.jsx +0 -48
  141. package/dist/stories/accordion/Accordion.stories.d.ts +0 -71
  142. package/dist/stories/accordion/Accordion.stories.jsx +0 -79
  143. package/dist/stories/alert-dialog/AlertDialog.stories.d.ts +0 -107
  144. package/dist/stories/alert-dialog/AlertDialog.stories.jsx +0 -73
  145. package/dist/stories/aspect-ratio/AspectRatio.stories.d.ts +0 -68
  146. package/dist/stories/aspect-ratio/AspectRatio.stories.jsx +0 -106
  147. package/dist/stories/avatar/Avatar.stories.d.ts +0 -127
  148. package/dist/stories/avatar/Avatar.stories.jsx +0 -105
  149. package/dist/stories/badge/Badge.stories.d.ts +0 -133
  150. package/dist/stories/badge/Badge.stories.jsx +0 -130
  151. package/dist/stories/bubble-chart/BubbleChart.stories.d.ts +0 -103
  152. package/dist/stories/bubble-chart/BubbleChart.stories.jsx +0 -176
  153. package/dist/stories/button/Button.stories.d.ts +0 -148
  154. package/dist/stories/button/Button.stories.jsx +0 -98
  155. package/dist/stories/button/IconButton.stories.d.ts +0 -125
  156. package/dist/stories/button/IconButton.stories.jsx +0 -93
  157. package/dist/stories/callout/Callout.stories.d.ts +0 -129
  158. package/dist/stories/callout/Callout.stories.jsx +0 -205
  159. package/dist/stories/card/Card.stories.d.ts +0 -100
  160. package/dist/stories/card/Card.stories.jsx +0 -134
  161. package/dist/stories/checkbox/Checkbox.stories.d.ts +0 -147
  162. package/dist/stories/checkbox/Checkbox.stories.jsx +0 -166
  163. package/dist/stories/checkbox/CheckboxCard.stories.d.ts +0 -129
  164. package/dist/stories/checkbox/CheckboxCard.stories.jsx +0 -125
  165. package/dist/stories/checkbox/CheckboxGroup.stories.d.ts +0 -91
  166. package/dist/stories/checkbox/CheckboxGroup.stories.jsx +0 -144
  167. package/dist/stories/context-menu/ContextMenu.stories.d.ts +0 -113
  168. package/dist/stories/context-menu/ContextMenu.stories.jsx +0 -155
  169. package/dist/stories/data-list/DataList.stories.d.ts +0 -97
  170. package/dist/stories/data-list/DataList.stories.jsx +0 -185
  171. package/dist/stories/dialog/Dialog.stories.d.ts +0 -88
  172. package/dist/stories/dialog/Dialog.stories.jsx +0 -82
  173. package/dist/stories/doughnut-chart/DoughnutChart.stories.d.ts +0 -181
  174. package/dist/stories/doughnut-chart/DoughnutChart.stories.jsx +0 -236
  175. package/dist/stories/dropdown-menu/DropdownMenu.stories.d.ts +0 -112
  176. package/dist/stories/dropdown-menu/DropdownMenu.stories.jsx +0 -170
  177. package/dist/stories/header/Header.stories.d.ts +0 -112
  178. package/dist/stories/header/Header.stories.jsx +0 -116
  179. package/dist/stories/hover-card/HoverCard.stories.d.ts +0 -107
  180. package/dist/stories/hover-card/HoverCard.stories.jsx +0 -98
  181. package/dist/stories/inset/Inset.stories.d.ts +0 -58
  182. package/dist/stories/inset/Inset.stories.jsx +0 -79
  183. package/dist/stories/label/Label.stories.d.ts +0 -94
  184. package/dist/stories/label/Label.stories.jsx +0 -112
  185. package/dist/stories/menubar/Menubar.stories.d.ts +0 -119
  186. package/dist/stories/menubar/Menubar.stories.jsx +0 -135
  187. package/dist/stories/navigation-menu/NavigationMenu.stories.d.ts +0 -385
  188. package/dist/stories/navigation-menu/NavigationMenu.stories.jsx +0 -144
  189. package/dist/stories/pie-chart/PieChart.stories.d.ts +0 -186
  190. package/dist/stories/pie-chart/PieChart.stories.jsx +0 -300
  191. package/dist/stories/popover/Popover.stories.d.ts +0 -78
  192. package/dist/stories/popover/Popover.stories.jsx +0 -107
  193. package/dist/stories/progress/Progress.stories.d.ts +0 -113
  194. package/dist/stories/progress/Progress.stories.jsx +0 -82
  195. package/dist/stories/radar-chart/RadarChart.stories.d.ts +0 -111
  196. package/dist/stories/radar-chart/RadarChart.stories.jsx +0 -200
  197. package/dist/stories/radio/Radio.stories.d.ts +0 -108
  198. package/dist/stories/radio/Radio.stories.jsx +0 -94
  199. package/dist/stories/radio/RadioCards.stories.d.ts +0 -127
  200. package/dist/stories/radio/RadioCards.stories.jsx +0 -153
  201. package/dist/stories/radio/RadioGroup.stories.d.ts +0 -111
  202. package/dist/stories/radio/RadioGroup.stories.jsx +0 -142
  203. package/dist/stories/scroll-area/ScrollArea.stories.d.ts +0 -59
  204. package/dist/stories/scroll-area/ScrollArea.stories.jsx +0 -123
  205. package/dist/stories/segmented-control/SegmentedControl.stories.d.ts +0 -97
  206. package/dist/stories/segmented-control/SegmentedControl.stories.jsx +0 -101
  207. package/dist/stories/select/Select.stories.d.ts +0 -116
  208. package/dist/stories/select/Select.stories.jsx +0 -149
  209. package/dist/stories/separator/Separator.stories.d.ts +0 -93
  210. package/dist/stories/separator/Separator.stories.jsx +0 -106
  211. package/dist/stories/skeleton/Skeleton.stories.d.ts +0 -88
  212. package/dist/stories/skeleton/Skeleton.stories.jsx +0 -119
  213. package/dist/stories/slider/Slider.stories.d.ts +0 -114
  214. package/dist/stories/slider/Slider.stories.jsx +0 -94
  215. package/dist/stories/spinner/Spinner.stories.d.ts +0 -83
  216. package/dist/stories/spinner/Spinner.stories.jsx +0 -112
  217. package/dist/stories/switch/Switch.stories.d.ts +0 -146
  218. package/dist/stories/switch/Switch.stories.jsx +0 -119
  219. package/dist/stories/tab-nav/TabNav.stories.d.ts +0 -55
  220. package/dist/stories/tab-nav/TabNav.stories.jsx +0 -68
  221. package/dist/stories/table/Table.stories.d.ts +0 -87
  222. package/dist/stories/table/Table.stories.jsx +0 -106
  223. package/dist/stories/tabs/Tabs.stories.d.ts +0 -55
  224. package/dist/stories/tabs/Tabs.stories.jsx +0 -76
  225. package/dist/stories/text/Text.stories.d.ts +0 -74
  226. package/dist/stories/text/Text.stories.jsx +0 -91
  227. package/dist/stories/textArea/TextArea.stories.d.ts +0 -117
  228. package/dist/stories/textArea/TextArea.stories.jsx +0 -112
  229. package/dist/stories/textfield/TextField.stories.d.ts +0 -116
  230. package/dist/stories/textfield/TextField.stories.jsx +0 -120
  231. package/dist/stories/toast/Toast.stories.d.ts +0 -138
  232. package/dist/stories/toast/Toast.stories.jsx +0 -122
  233. package/dist/stories/toggle/Toggle.stories.d.ts +0 -115
  234. package/dist/stories/toggle/Toggle.stories.jsx +0 -106
  235. package/dist/stories/toggle/ToggleGroup.stories.d.ts +0 -103
  236. package/dist/stories/toggle/ToggleGroup.stories.jsx +0 -127
  237. package/dist/stories/tooltip/Tooltip.stories.d.ts +0 -93
  238. package/dist/stories/tooltip/Tooltip.stories.jsx +0 -91
  239. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -1,55 +0,0 @@
1
- /// <reference types="react" />
2
- declare const meta: {
3
- title: string;
4
- component: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/tabs").RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("../../components/Tabs/index").TabsProps & import("react").RefAttributes<HTMLDivElement>>;
5
- parameters: {
6
- layout: string;
7
- themes: {
8
- themeOverride: string;
9
- };
10
- docs: {
11
- description: {
12
- component: string;
13
- };
14
- };
15
- };
16
- tags: string[];
17
- argTypes: {
18
- color: {
19
- description: string;
20
- table: {
21
- category: string;
22
- type: {
23
- summary: string;
24
- };
25
- };
26
- options: import("types").IColor[];
27
- control: {
28
- type: string;
29
- };
30
- defaultValue: {
31
- summary: string;
32
- };
33
- };
34
- size: {
35
- table: {
36
- category: string;
37
- type: {
38
- summary: string;
39
- };
40
- };
41
- control: {
42
- type: string;
43
- };
44
- options: string[];
45
- defaultValue: {
46
- summary: string;
47
- };
48
- description: string;
49
- };
50
- };
51
- };
52
- export default meta;
53
- export declare const Default: ({ ...args }: {
54
- [x: string]: any;
55
- }) => import("react").JSX.Element;
@@ -1,76 +0,0 @@
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 { Tabs, TabsList, TabsTrigger, TabsContent } from '../../components/Tabs/index';
24
- import { commonArgTypes } from '../../constants';
25
- var meta = {
26
- title: 'Component/Tabs',
27
- component: Tabs,
28
- parameters: {
29
- layout: 'centered',
30
- themes: {
31
- themeOverride: 'dark',
32
- },
33
- docs: {
34
- description: {
35
- component: '관련성 있는 콘텐츠들의 집합으로, 하나를 활성화하여 표시',
36
- },
37
- },
38
- },
39
- tags: ['autodocs'],
40
- argTypes: {
41
- color: __assign(__assign({}, commonArgTypes.color), { description: 'Tabs component 색상' }),
42
- size: {
43
- table: {
44
- category: 'Props',
45
- type: { summary: ['small', 'medium'].join(' | ') },
46
- },
47
- control: { type: 'select' },
48
- options: ['small', 'medium'],
49
- defaultValue: { summary: 'medium' },
50
- description: 'Tabs component 크기',
51
- },
52
- },
53
- };
54
- export default meta;
55
- export var Default = function (_a) {
56
- var args = __rest(_a, []);
57
- return (<Tabs defaultValue="account" {...args}>
58
- <TabsList {...args}>
59
- <TabsTrigger value="account">Account</TabsTrigger>
60
- <TabsTrigger value="documents">Documents</TabsTrigger>
61
- <TabsTrigger value="settings">Settings</TabsTrigger>
62
- </TabsList>
63
-
64
- <TabsContent value="account">
65
- <div>Make changes to your account</div>
66
- </TabsContent>
67
-
68
- <TabsContent value="documents">
69
- <div>Access and update your documents</div>
70
- </TabsContent>
71
-
72
- <TabsContent value="settings">
73
- <div>Edit your profile</div>
74
- </TabsContent>
75
- </Tabs>);
76
- };
@@ -1,74 +0,0 @@
1
- /// <reference types="react" />
2
- import { IWeight, ITypoSize } from '../../types';
3
- type ITextWeight = IWeight | 'light';
4
- declare const meta: {
5
- title: string;
6
- component: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import("../../Typography/Text").TextProps & import("react").RefAttributes<HTMLSpanElement>>;
7
- tags: string[];
8
- argTypes: {
9
- size: {
10
- description: string;
11
- table: {
12
- category: string;
13
- type: {
14
- summary: string;
15
- };
16
- };
17
- control: {
18
- type: string;
19
- };
20
- options: ITypoSize[];
21
- defaultValue: {
22
- summary: string;
23
- };
24
- };
25
- weight: {
26
- table: {
27
- category: string;
28
- type: {
29
- summary: string;
30
- };
31
- };
32
- options: ITextWeight[];
33
- control: {
34
- type: string;
35
- };
36
- defaultValue: {
37
- summary: string;
38
- };
39
- description: string;
40
- };
41
- color: {
42
- description: string;
43
- defaultValue: {
44
- summary: string;
45
- };
46
- table: {
47
- category: string;
48
- type: {
49
- summary: string;
50
- };
51
- };
52
- options: import("../../types").IColor[];
53
- control: {
54
- type: string;
55
- };
56
- };
57
- };
58
- };
59
- export default meta;
60
- export declare const Default: ({ ...args }: {
61
- [x: string]: any;
62
- }) => import("react").JSX.Element;
63
- export declare const Weight: ({ ...args }: {
64
- [x: string]: any;
65
- }) => import("react").JSX.Element;
66
- export declare const Color: ({ ...args }: {
67
- [x: string]: any;
68
- }) => import("react").JSX.Element;
69
- export declare const Size: ({ ...args }: {
70
- [x: string]: any;
71
- }) => import("react").JSX.Element;
72
- export declare const Align: ({ ...args }: {
73
- [x: string]: any;
74
- }) => import("react").JSX.Element;
@@ -1,91 +0,0 @@
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
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
24
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
25
- if (ar || !(i in from)) {
26
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
27
- ar[i] = from[i];
28
- }
29
- }
30
- return to.concat(ar || Array.prototype.slice.call(from));
31
- };
32
- import { commonArgTypes, typoSizeOptions, weightOptions } from '../../constants';
33
- import { Text } from '../../Typography/Text';
34
- import { colorOptions } from 'color/constants';
35
- var textWeightOption = __spreadArray(['light'], weightOptions, true);
36
- var meta = {
37
- title: 'Typography/Text',
38
- component: Text,
39
- tags: ['autodocs'],
40
- argTypes: {
41
- size: __assign(__assign({}, commonArgTypes.typoSize), { description: '폰트 크기' }),
42
- weight: {
43
- table: {
44
- category: 'Theme Props',
45
- type: { summary: textWeightOption.join(' | ') },
46
- },
47
- options: textWeightOption,
48
- control: { type: 'select' },
49
- defaultValue: { summary: 'medium' },
50
- description: '폰트 두께',
51
- },
52
- color: __assign(__assign({}, commonArgTypes.color), { description: '폰트 색상', defaultValue: { summary: 'black' } }),
53
- },
54
- };
55
- export default meta;
56
- export var Default = function (_a) {
57
- var args = __rest(_a, []);
58
- return <Text {...args}>Text Component</Text>;
59
- };
60
- export var Weight = function (_a) {
61
- var args = __rest(_a, []);
62
- return (<div className="flex items-center space-x-4">
63
- {textWeightOption.map(function (weight, index) { return (<Text key={weight} {...args} weight={weight}>
64
- Text Component
65
- </Text>); })}
66
- </div>);
67
- };
68
- export var Color = function (_a) {
69
- var args = __rest(_a, []);
70
- return (<div>
71
- {colorOptions.map(function (color) { return (<Text key={color} {...args} color={color}>
72
- Text Component
73
- </Text>); })}
74
- </div>);
75
- };
76
- export var Size = function (_a) {
77
- var args = __rest(_a, []);
78
- return (<div className="flex items-center space-x-4">
79
- {typoSizeOptions.map(function (size) { return (<Text key={size} {...args} size={size}>
80
- Text Component
81
- </Text>); })}
82
- </div>);
83
- };
84
- export var Align = function (_a) {
85
- var args = __rest(_a, []);
86
- return (<div>
87
- {['left', 'center', 'right'].map(function (align) { return (<Text key={align} {...args} align={align} as="div">
88
- Text Component
89
- </Text>); })}
90
- </div>);
91
- };
@@ -1,117 +0,0 @@
1
- /// <reference types="react" />
2
- import { IScaling } from '../../types';
3
- declare const meta: {
4
- title: string;
5
- component: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes").TextAreaProps & import("react").RefAttributes<HTMLTextAreaElement>, "ref"> & import("../../components/TextArea/index").TextAreaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
6
- parameters: {
7
- layout: string;
8
- themes: {
9
- themeOverride: string;
10
- };
11
- docs: {
12
- description: {
13
- component: string;
14
- };
15
- };
16
- };
17
- tags: string[];
18
- argTypes: {
19
- scaling: {
20
- description: string;
21
- table: {
22
- category: string;
23
- type: {
24
- summary: string;
25
- };
26
- };
27
- control: {
28
- type: string;
29
- };
30
- options: IScaling[];
31
- defaultValue: {
32
- summary: string;
33
- };
34
- };
35
- radius: {
36
- table: {
37
- category: string;
38
- type: {
39
- summary: string;
40
- };
41
- };
42
- options: string[];
43
- control: {
44
- type: string;
45
- };
46
- defaultValue: {
47
- summary: string;
48
- };
49
- description: string;
50
- };
51
- color: {
52
- description: string;
53
- control: {
54
- type: string;
55
- };
56
- table: {
57
- category: string;
58
- type: {
59
- summary: string;
60
- };
61
- };
62
- options: import("../../types").IColor[];
63
- defaultValue: {
64
- summary: string;
65
- };
66
- };
67
- appearance: {
68
- table: {
69
- category: string;
70
- type: {
71
- summary: string;
72
- };
73
- };
74
- control: {
75
- type: string;
76
- };
77
- defaultValue: {
78
- summary: string;
79
- };
80
- description: string;
81
- options: string[];
82
- };
83
- size: {
84
- table: {
85
- category: string;
86
- type: {
87
- summary: string;
88
- };
89
- };
90
- control: {
91
- type: string;
92
- };
93
- options: string[];
94
- defaultValue: {
95
- summary: string;
96
- color: string;
97
- };
98
- description: string;
99
- };
100
- };
101
- };
102
- export default meta;
103
- export declare const Default: ({ ...args }: {
104
- [x: string]: any;
105
- }) => import("react").JSX.Element;
106
- export declare const Scaling: ({ ...args }: {
107
- [x: string]: any;
108
- }) => import("react").JSX.Element;
109
- export declare const Size: ({ ...args }: {
110
- [x: string]: any;
111
- }) => import("react").JSX.Element;
112
- export declare const Appearance: ({ ...args }: {
113
- [x: string]: any;
114
- }) => import("react").JSX.Element;
115
- export declare const Radius: ({ ...args }: {
116
- [x: string]: any;
117
- }) => import("react").JSX.Element;
@@ -1,112 +0,0 @@
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 { TextArea } from '../../components/TextArea/index';
24
- import { commonArgTypes, radiusOptions, scalingOptions } from '../../constants';
25
- var meta = {
26
- title: 'Component/TextArea',
27
- component: TextArea,
28
- parameters: {
29
- layout: 'centered',
30
- themes: {
31
- themeOverride: 'dark',
32
- },
33
- docs: {
34
- description: {
35
- component: '',
36
- },
37
- },
38
- },
39
- tags: ['autodocs'],
40
- argTypes: {
41
- scaling: __assign(__assign({}, commonArgTypes.scaling), { description: 'TextArea Component 크기' }),
42
- radius: {
43
- table: {
44
- category: 'Theme Props',
45
- type: { summary: ['none', 'small', 'medium', 'large'].join(' | ') },
46
- },
47
- options: ['none', 'small', 'medium', 'large'],
48
- control: { type: 'select' },
49
- defaultValue: { summary: 'medium' },
50
- description: 'TextArea Component 둥글기',
51
- },
52
- color: __assign(__assign({}, commonArgTypes.color), { description: 'TextArea Component 색상', control: { type: 'select' } }),
53
- appearance: {
54
- table: {
55
- category: 'Props',
56
- type: { summary: ['classic', 'soft', 'surface'].join(' | ') },
57
- },
58
- control: { type: 'select' },
59
- defaultValue: { summary: 'surface' },
60
- description: 'TextArea 스타일',
61
- options: ['classic', 'soft', 'surface'],
62
- },
63
- size: {
64
- table: {
65
- category: 'Props',
66
- type: { summary: ['small', 'medium', 'large', 'x-large'].join(' | ') },
67
- },
68
- control: { type: 'select' },
69
- options: ['small', 'medium', 'large', 'x-large'],
70
- defaultValue: { summary: 'medium', color: 'red' },
71
- description: 'TextArea 크기',
72
- },
73
- },
74
- };
75
- export default meta;
76
- export var Default = function (_a) {
77
- var args = __rest(_a, []);
78
- return <TextArea placeholder="Reply to comment…" {...args}/>;
79
- };
80
- export var Scaling = function (_a) {
81
- var args = __rest(_a, []);
82
- return (<div className="grid gap-5">
83
- {scalingOptions.map(function (scaling, index) { return (<div key={scaling} className="">
84
- <TextArea placeholder="Reply to comment…" {...args} scaling={scaling}/>
85
- </div>); })}
86
- </div>);
87
- };
88
- export var Size = function (_a) {
89
- var args = __rest(_a, []);
90
- return (<div className="flex items-center gap-3">
91
- <TextArea placeholder="Reply to comment…" {...args} size={'small'}></TextArea>
92
- <TextArea placeholder="Reply to comment…" {...args} size={'medium'}></TextArea>
93
- <TextArea placeholder="Reply to comment…" {...args} size={'large'}></TextArea>
94
- <TextArea placeholder="Reply to comment…" {...args} size={'x-large'}></TextArea>
95
- </div>);
96
- };
97
- export var Appearance = function (_a) {
98
- var args = __rest(_a, []);
99
- return (<div className="grid gap-3">
100
- {['classic', 'soft', 'surface'].map(function (appearance, index) { return (<div key={appearance} className="">
101
- <TextArea placeholder="Reply to comment…" {...args} appearance={appearance}/>
102
- </div>); })}
103
- </div>);
104
- };
105
- export var Radius = function (_a) {
106
- var args = __rest(_a, []);
107
- return (<div className="grid gap-3">
108
- {radiusOptions.map(function (radius, index) { return (<div key={radius} className="">
109
- <TextArea placeholder="Reply to comment…" {...args} radius={radius}/>
110
- </div>); })}
111
- </div>);
112
- };
@@ -1,116 +0,0 @@
1
- /// <reference types="react" />
2
- import { IRadius } from 'types';
3
- declare const meta: {
4
- title: string;
5
- component: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/text-field").RootProps & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("../../components/TextField/index").TextFieldProps & import("react").RefAttributes<HTMLInputElement>>;
6
- parameters: {
7
- layout: string;
8
- themes: {
9
- themeOverride: string;
10
- };
11
- docs: {
12
- description: {
13
- component: string;
14
- };
15
- };
16
- };
17
- tags: string[];
18
- argTypes: {
19
- scaling: {
20
- description: string;
21
- table: {
22
- category: string;
23
- type: {
24
- summary: string;
25
- };
26
- };
27
- control: {
28
- type: string;
29
- };
30
- options: import("types").IScaling[];
31
- defaultValue: {
32
- summary: string;
33
- };
34
- };
35
- radius: {
36
- description: string;
37
- table: {
38
- category: string;
39
- type: {
40
- summary: string;
41
- };
42
- };
43
- options: IRadius[];
44
- control: {
45
- type: string;
46
- };
47
- defaultValue: {
48
- summary: string;
49
- };
50
- };
51
- color: {
52
- description: string;
53
- table: {
54
- category: string;
55
- type: {
56
- summary: string;
57
- };
58
- };
59
- options: import("types").IColor[];
60
- control: {
61
- type: string;
62
- };
63
- defaultValue: {
64
- summary: string;
65
- };
66
- };
67
- appearance: {
68
- table: {
69
- category: string;
70
- type: {
71
- summary: string;
72
- };
73
- };
74
- control: {
75
- type: string;
76
- };
77
- defaultValue: {
78
- summary: string;
79
- };
80
- description: string;
81
- options: string[];
82
- };
83
- size: {
84
- table: {
85
- category: string;
86
- type: {
87
- summary: string;
88
- };
89
- };
90
- control: {
91
- type: string;
92
- };
93
- options: string[];
94
- defaultValue: {
95
- summary: string;
96
- };
97
- description: string;
98
- };
99
- };
100
- };
101
- export default meta;
102
- export declare const Default: ({ ...args }: {
103
- [x: string]: any;
104
- }) => import("react").JSX.Element;
105
- export declare const Size: ({ ...args }: {
106
- [x: string]: any;
107
- }) => import("react").JSX.Element;
108
- export declare const Radius: ({ ...args }: {
109
- [x: string]: any;
110
- }) => import("react").JSX.Element;
111
- export declare const Appearance: ({ ...args }: {
112
- [x: string]: any;
113
- }) => import("react").JSX.Element;
114
- export declare const States: ({ ...args }: {
115
- [x: string]: any;
116
- }) => import("react").JSX.Element;