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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (192) hide show
  1. package/README.md +163 -163
  2. package/dist/Typography/Header/index.d.ts +1 -1
  3. package/dist/Typography/Header/index.jsx +4 -4
  4. package/dist/Typography/Text/index.jsx +4 -4
  5. package/dist/Typography/index.d.ts +2 -2
  6. package/dist/Typography/index.js +2 -3
  7. package/dist/app/layout.jsx +2 -2
  8. package/dist/app/page.d.ts +1 -1
  9. package/dist/app/page.jsx +6 -39
  10. package/dist/app/template/colorPicker.d.ts +1 -1
  11. package/dist/app/template/colorPicker.jsx +7 -7
  12. package/dist/app/template/theme.jsx +6 -33
  13. package/dist/components/Accordion/index.jsx +13 -13
  14. package/dist/components/AlertDialog/AlertDialogAction.jsx +3 -3
  15. package/dist/components/AlertDialog/AlertDialogCancel.jsx +3 -3
  16. package/dist/components/AlertDialog/AlertDialogContent.jsx +6 -6
  17. package/dist/components/AlertDialog/AlertDialogDescription.jsx +3 -3
  18. package/dist/components/AlertDialog/AlertDialogTitle.jsx +3 -3
  19. package/dist/components/AlertDialog/AlertDialogTrigger.jsx +3 -3
  20. package/dist/components/AlertDialog/index.jsx +4 -2
  21. package/dist/components/AspectRatio/index.jsx +3 -3
  22. package/dist/components/Avatar/index.jsx +6 -6
  23. package/dist/components/Badge/index.jsx +2 -2
  24. package/dist/components/BubbleChart/index.jsx +1 -1
  25. package/dist/components/Button/index.jsx +3 -3
  26. package/dist/components/Callout/CalloutIcon.jsx +7 -7
  27. package/dist/components/Callout/CalloutText.jsx +3 -3
  28. package/dist/components/Callout/index.jsx +5 -5
  29. package/dist/components/Card/index.jsx +3 -3
  30. package/dist/components/Checkbox/index.jsx +10 -10
  31. package/dist/components/CheckboxCard/index.jsx +4 -4
  32. package/dist/components/CheckboxGroup/CheckboxGroupItem.jsx +4 -4
  33. package/dist/components/CheckboxGroup/index.jsx +5 -5
  34. package/dist/components/ContextMenu/ContextMenuCheckboxItem.jsx +6 -6
  35. package/dist/components/ContextMenu/ContextMenuContent.jsx +5 -5
  36. package/dist/components/ContextMenu/ContextMenuGroup.jsx +2 -2
  37. package/dist/components/ContextMenu/ContextMenuItem.jsx +4 -4
  38. package/dist/components/ContextMenu/ContextMenuItemIndicator.jsx +3 -3
  39. package/dist/components/ContextMenu/ContextMenuLabel.jsx +3 -3
  40. package/dist/components/ContextMenu/ContextMenuRadioGroup.jsx +4 -4
  41. package/dist/components/ContextMenu/ContextMenuRadioItem.jsx +6 -6
  42. package/dist/components/ContextMenu/ContextMenuSeparator.jsx +3 -3
  43. package/dist/components/ContextMenu/ContextMenuSubContent.jsx +6 -6
  44. package/dist/components/ContextMenu/ContextMenuSubTrigger.jsx +8 -8
  45. package/dist/components/ContextMenu/ContextMenuTrigger.jsx +3 -3
  46. package/dist/components/ContextMenu/index.jsx +5 -3
  47. package/dist/components/DataList/DataListItem.jsx +3 -3
  48. package/dist/components/DataList/DataListLabel.jsx +3 -3
  49. package/dist/components/DataList/DataListValue.jsx +3 -3
  50. package/dist/components/DataList/index.jsx +5 -5
  51. package/dist/components/Dialog/DialogAction.jsx +3 -3
  52. package/dist/components/Dialog/DialogCancel.jsx +3 -3
  53. package/dist/components/Dialog/DialogContent.jsx +3 -3
  54. package/dist/components/Dialog/DialogDescription.jsx +3 -3
  55. package/dist/components/Dialog/DialogSlot.jsx +3 -3
  56. package/dist/components/Dialog/DialogTitle.jsx +3 -3
  57. package/dist/components/Dialog/DialogTrigger.jsx +2 -2
  58. package/dist/components/Dialog/index.jsx +2 -2
  59. package/dist/components/DoughnutChart/index.jsx +1 -1
  60. package/dist/components/DropdownMenu/DropdonMenuRadioGroup.jsx +4 -4
  61. package/dist/components/DropdownMenu/DropdonMenuSubContent.jsx +5 -5
  62. package/dist/components/DropdownMenu/DropdownMenuCheckboxItem.jsx +6 -6
  63. package/dist/components/DropdownMenu/DropdownMenuContent.jsx +5 -5
  64. package/dist/components/DropdownMenu/DropdownMenuItem.jsx +4 -4
  65. package/dist/components/DropdownMenu/DropdownMenuItemIndicator.jsx +3 -3
  66. package/dist/components/DropdownMenu/DropdownMenuLable.jsx +3 -3
  67. package/dist/components/DropdownMenu/DropdownMenuRadioItem.jsx +6 -6
  68. package/dist/components/DropdownMenu/DropdownMenuSeparator.jsx +1 -1
  69. package/dist/components/DropdownMenu/DropdownMenuSubTrigger.jsx +5 -5
  70. package/dist/components/DropdownMenu/DropdownMenuTrigger.jsx +2 -2
  71. package/dist/components/HoverCard/HoverCardContent.jsx +2 -2
  72. package/dist/components/HoverCard/HoverCardTrigger.jsx +2 -2
  73. package/dist/components/HoverCard/index.jsx +2 -2
  74. package/dist/components/IconButton/index.jsx +2 -2
  75. package/dist/components/Inset/index.jsx +4 -4
  76. package/dist/components/Label/index.jsx +2 -2
  77. package/dist/components/Menubar/MenubarCheckboxItem.jsx +6 -6
  78. package/dist/components/Menubar/MenubarContent.jsx +5 -5
  79. package/dist/components/Menubar/MenubarItem.jsx +4 -4
  80. package/dist/components/Menubar/MenubarItemIndicator.jsx +3 -3
  81. package/dist/components/Menubar/MenubarRadioGroup.jsx +4 -4
  82. package/dist/components/Menubar/MenubarRadioItem.jsx +6 -6
  83. package/dist/components/Menubar/MenubarSeparator.jsx +3 -3
  84. package/dist/components/Menubar/MenubarSubContent.jsx +3 -3
  85. package/dist/components/Menubar/MenubarSubTrigger.jsx +6 -6
  86. package/dist/components/Menubar/MenubarTrigger.jsx +3 -3
  87. package/dist/components/Menubar/index.jsx +5 -5
  88. package/dist/components/NavigationMenu/NavigationMenuContent.jsx +3 -3
  89. package/dist/components/NavigationMenu/NavigationMenuIndicator.jsx +4 -4
  90. package/dist/components/NavigationMenu/NavigationMenuItem.jsx +2 -2
  91. package/dist/components/NavigationMenu/NavigationMenuLink.jsx +3 -3
  92. package/dist/components/NavigationMenu/NavigationMenuList.jsx +4 -4
  93. package/dist/components/NavigationMenu/NavigationMenuTrigger.jsx +4 -4
  94. package/dist/components/NavigationMenu/NavigationMenuViewport.jsx +3 -3
  95. package/dist/components/NavigationMenu/index.jsx +5 -5
  96. package/dist/components/PieChart/index.jsx +1 -1
  97. package/dist/components/Popover/PopoverClose.jsx +2 -2
  98. package/dist/components/Popover/PopoverContent.jsx +2 -2
  99. package/dist/components/Popover/PopoverTrigger.jsx +2 -2
  100. package/dist/components/Popover/index.jsx +2 -2
  101. package/dist/components/Progress/index.jsx +2 -2
  102. package/dist/components/Radio/index.jsx +7 -7
  103. package/dist/components/RadioCards/RadioCardsItem.jsx +2 -2
  104. package/dist/components/RadioCards/index.jsx +4 -4
  105. package/dist/components/RadioGroup/RadioGroupItem.jsx +2 -2
  106. package/dist/components/RadioGroup/index.jsx +4 -4
  107. package/dist/components/ScrollArea/index.jsx +4 -4
  108. package/dist/components/SegmentedControl/SegmentedControlItem.jsx +2 -2
  109. package/dist/components/SegmentedControl/index.jsx +4 -4
  110. package/dist/components/Select/index.jsx +20 -18
  111. package/dist/components/Separator/index.jsx +5 -5
  112. package/dist/components/Skeleton/index.jsx +5 -5
  113. package/dist/components/Slider/index.jsx +3 -3
  114. package/dist/components/Spinner/index.jsx +4 -4
  115. package/dist/components/TabNav/index.jsx +6 -6
  116. package/dist/components/Table/index.d.ts +2 -1
  117. package/dist/components/Table/index.jsx +17 -17
  118. package/dist/components/Tabs/index.jsx +10 -10
  119. package/dist/components/TextArea/index.jsx +2 -2
  120. package/dist/components/TextField/index.jsx +7 -7
  121. package/dist/components/Toast/ToastActionButton.jsx +3 -3
  122. package/dist/components/Toast/ToastDescription.jsx +5 -5
  123. package/dist/components/Toast/ToastTitle.jsx +3 -3
  124. package/dist/components/Toast/index.jsx +8 -8
  125. package/dist/components/Toggle/ToggleWithText.jsx +3 -3
  126. package/dist/components/Toggle/index.jsx +2 -2
  127. package/dist/components/ToggleGroup/index.jsx +4 -4
  128. package/dist/components/ToggleGroup/toggleGroupItem.jsx +2 -2
  129. package/dist/components/ToggleSwitch/index.jsx +5 -5
  130. package/dist/components/Tooltip/index.d.ts +1 -1
  131. package/dist/components/Tooltip/index.jsx +11 -11
  132. package/dist/components/index.d.ts +0 -2
  133. package/dist/index.d.ts +2 -5
  134. package/dist/index.js +0 -3
  135. package/dist/stories/Welcome.jsx +19 -19
  136. package/dist/stories/accordion/Accordion.stories.jsx +19 -19
  137. package/dist/stories/alert-dialog/AlertDialog.stories.jsx +14 -14
  138. package/dist/stories/aspect-ratio/AspectRatio.stories.jsx +29 -29
  139. package/dist/stories/avatar/Avatar.stories.jsx +12 -12
  140. package/dist/stories/badge/Badge.stories.jsx +44 -44
  141. package/dist/stories/bubble-chart/BubbleChart.stories.jsx +9 -9
  142. package/dist/stories/button/Button.stories.jsx +34 -34
  143. package/dist/stories/button/IconButton.stories.jsx +14 -14
  144. package/dist/stories/callout/Callout.stories.jsx +107 -107
  145. package/dist/stories/card/Card.stories.jsx +51 -51
  146. package/dist/stories/checkbox/Checkbox.stories.jsx +57 -57
  147. package/dist/stories/checkbox/CheckboxCard.stories.jsx +36 -36
  148. package/dist/stories/checkbox/CheckboxGroup.stories.jsx +73 -73
  149. package/dist/stories/context-menu/ContextMenu.stories.jsx +70 -70
  150. package/dist/stories/data-list/DataList.stories.jsx +102 -102
  151. package/dist/stories/dialog/Dialog.stories.jsx +24 -24
  152. package/dist/stories/doughnut-chart/DoughnutChart.stories.jsx +9 -9
  153. package/dist/stories/dropdown-menu/DropdownMenu.stories.jsx +96 -96
  154. package/dist/stories/header/Header.stories.jsx +20 -20
  155. package/dist/stories/hover-card/HoverCard.stories.jsx +28 -28
  156. package/dist/stories/inset/Inset.stories.jsx +16 -16
  157. package/dist/stories/label/Label.stories.jsx +22 -22
  158. package/dist/stories/menubar/Menubar.stories.jsx +38 -38
  159. package/dist/stories/navigation-menu/NavigationMenu.stories.d.ts +11 -11
  160. package/dist/stories/navigation-menu/NavigationMenu.stories.jsx +67 -67
  161. package/dist/stories/pie-chart/PieChart.stories.jsx +20 -20
  162. package/dist/stories/popover/Popover.stories.jsx +34 -34
  163. package/dist/stories/progress/Progress.stories.jsx +6 -6
  164. package/dist/stories/radio/Radio.stories.jsx +11 -11
  165. package/dist/stories/radio/RadioCards.stories.jsx +60 -60
  166. package/dist/stories/radio/RadioGroup.stories.jsx +55 -55
  167. package/dist/stories/scroll-area/ScrollArea.stories.jsx +61 -61
  168. package/dist/stories/segmented-control/SegmentedControl.stories.jsx +22 -22
  169. package/dist/stories/select/Select.stories.jsx +62 -62
  170. package/dist/stories/separator/Separator.stories.jsx +25 -25
  171. package/dist/stories/skeleton/Skeleton.stories.jsx +28 -28
  172. package/dist/stories/slider/Slider.stories.jsx +12 -12
  173. package/dist/stories/spinner/Spinner.stories.jsx +26 -26
  174. package/dist/stories/switch/Switch.stories.jsx +12 -12
  175. package/dist/stories/tab-nav/TabNav.stories.jsx +10 -10
  176. package/dist/stories/table/Table.stories.jsx +28 -28
  177. package/dist/stories/tabs/Tabs.stories.jsx +18 -18
  178. package/dist/stories/text/Text.stories.jsx +16 -16
  179. package/dist/stories/textArea/TextArea.stories.jsx +17 -17
  180. package/dist/stories/textfield/TextField.stories.jsx +33 -33
  181. package/dist/stories/toast/Toast.stories.jsx +19 -19
  182. package/dist/stories/toggle/Toggle.stories.jsx +18 -18
  183. package/dist/stories/toggle/ToggleGroup.stories.jsx +34 -34
  184. package/dist/stories/tooltip/Tooltip.stories.jsx +14 -14
  185. package/dist/tsconfig.tsbuildinfo +1 -1
  186. package/package.json +120 -118
  187. package/dist/app/template/badgeTemplate.d.ts +0 -12
  188. package/dist/app/template/badgeTemplate.jsx +0 -82
  189. package/dist/app/template/buttonTemplate.d.ts +0 -12
  190. package/dist/app/template/buttonTemplate.jsx +0 -82
  191. package/dist/app/template/textTemplate.d.ts +0 -11
  192. package/dist/app/template/textTemplate.jsx +0 -72
@@ -54,15 +54,15 @@ var meta = {
54
54
  export default meta;
55
55
  export var Default = function (_a) {
56
56
  var args = __rest(_a, []);
57
- return (<TabNav {...args}>
58
- <TabNavLink href="#" active {...args}>
59
- Account
60
- </TabNavLink>
61
- <TabNavLink href="#" {...args}>
62
- Documents
63
- </TabNavLink>
64
- <TabNavLink href="#" {...args}>
65
- Settings
66
- </TabNavLink>
57
+ return (<TabNav {...args}>
58
+ <TabNavLink href="#" active {...args}>
59
+ Account
60
+ </TabNavLink>
61
+ <TabNavLink href="#" {...args}>
62
+ Documents
63
+ </TabNavLink>
64
+ <TabNavLink href="#" {...args}>
65
+ Settings
66
+ </TabNavLink>
67
67
  </TabNav>);
68
68
  };
@@ -74,33 +74,33 @@ var meta = {
74
74
  export default meta;
75
75
  export var Default = function (_a) {
76
76
  var args = __rest(_a, []);
77
- return (<Table {...args}>
78
- <TableHeader>
79
- <TableRow>
80
- <TableColumnHeaderCell>Full name</TableColumnHeaderCell>
81
- <TableColumnHeaderCell>Email</TableColumnHeaderCell>
82
- <TableColumnHeaderCell>Group</TableColumnHeaderCell>
83
- </TableRow>
84
- </TableHeader>
85
-
86
- <TableBody>
87
- <TableRow>
88
- <TableRowHeaderCell>Danilo Sousa</TableRowHeaderCell>
89
- <TableCell>danilo@examplecom</TableCell>
90
- <TableCell>Developer</TableCell>
91
- </TableRow>
92
-
93
- <TableRow>
94
- <TableRowHeaderCell>Zahra Ambessa</TableRowHeaderCell>
95
- <TableCell>zahra@examplecom</TableCell>
96
- <TableCell>Admin</TableCell>
97
- </TableRow>
98
-
99
- <TableRow>
100
- <TableRowHeaderCell>Jasper Eriksson</TableRowHeaderCell>
101
- <TableCell>jasper@examplecom</TableCell>
102
- <TableCell>Developer</TableCell>
103
- </TableRow>
104
- </TableBody>
77
+ return (<Table {...args}>
78
+ <TableHeader>
79
+ <TableRow>
80
+ <TableColumnHeaderCell>Full name</TableColumnHeaderCell>
81
+ <TableColumnHeaderCell>Email</TableColumnHeaderCell>
82
+ <TableColumnHeaderCell>Group</TableColumnHeaderCell>
83
+ </TableRow>
84
+ </TableHeader>
85
+
86
+ <TableBody>
87
+ <TableRow>
88
+ <TableRowHeaderCell>Danilo Sousa</TableRowHeaderCell>
89
+ <TableCell>danilo@examplecom</TableCell>
90
+ <TableCell>Developer</TableCell>
91
+ </TableRow>
92
+
93
+ <TableRow>
94
+ <TableRowHeaderCell>Zahra Ambessa</TableRowHeaderCell>
95
+ <TableCell>zahra@examplecom</TableCell>
96
+ <TableCell>Admin</TableCell>
97
+ </TableRow>
98
+
99
+ <TableRow>
100
+ <TableRowHeaderCell>Jasper Eriksson</TableRowHeaderCell>
101
+ <TableCell>jasper@examplecom</TableCell>
102
+ <TableCell>Developer</TableCell>
103
+ </TableRow>
104
+ </TableBody>
105
105
  </Table>);
106
106
  };
@@ -54,23 +54,23 @@ var meta = {
54
54
  export default meta;
55
55
  export var Default = function (_a) {
56
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>
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
75
  </Tabs>);
76
76
  };
@@ -59,33 +59,33 @@ export var Default = function (_a) {
59
59
  };
60
60
  export var Weight = function (_a) {
61
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>); })}
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
66
  </div>);
67
67
  };
68
68
  export var Color = function (_a) {
69
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>); })}
70
+ return (<div>
71
+ {colorOptions.map(function (color) { return (<Text key={color} {...args} color={color}>
72
+ Text Component
73
+ </Text>); })}
74
74
  </div>);
75
75
  };
76
76
  export var Size = function (_a) {
77
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>); })}
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
82
  </div>);
83
83
  };
84
84
  export var Align = function (_a) {
85
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>); })}
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
90
  </div>);
91
91
  };
@@ -79,34 +79,34 @@ export var Default = function (_a) {
79
79
  };
80
80
  export var Scaling = function (_a) {
81
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>); })}
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
86
  </div>);
87
87
  };
88
88
  export var Size = function (_a) {
89
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>
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
95
  </div>);
96
96
  };
97
97
  export var Appearance = function (_a) {
98
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>); })}
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
103
  </div>);
104
104
  };
105
105
  export var Radius = function (_a) {
106
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>); })}
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
111
  </div>);
112
112
  };
@@ -71,50 +71,50 @@ export var Default = function (_a) {
71
71
  };
72
72
  export var Size = function (_a) {
73
73
  var args = __rest(_a, []);
74
- return (<div className="flex items-center gap-3">
75
- <TextField placeholder="Search the docs..." {...args} size={'small'}></TextField>
76
- <TextField placeholder="Search the docs..." {...args} size={'medium'}></TextField>
77
- <TextField placeholder="Search the docs..." {...args} size={'large'}></TextField>
74
+ return (<div className="flex items-center gap-3">
75
+ <TextField placeholder="Search the docs..." {...args} size={'small'}></TextField>
76
+ <TextField placeholder="Search the docs..." {...args} size={'medium'}></TextField>
77
+ <TextField placeholder="Search the docs..." {...args} size={'large'}></TextField>
78
78
  </div>);
79
79
  };
80
80
  export var Radius = function (_a) {
81
81
  var args = __rest(_a, []);
82
- return (<div>
83
- {radiusOptions.map(function (radius) { return (<div key={radius} className="pb-1">
84
- <TextField placeholder="Search the docs..." key={radius} radius={radius} {...args}/>
85
- </div>); })}
82
+ return (<div>
83
+ {radiusOptions.map(function (radius) { return (<div key={radius} className="pb-1">
84
+ <TextField placeholder="Search the docs..." key={radius} radius={radius} {...args}/>
85
+ </div>); })}
86
86
  </div>);
87
87
  };
88
88
  export var Appearance = function (_a) {
89
89
  var args = __rest(_a, []);
90
- return (<div>
91
- {['classic', 'soft', 'surface'].map(function (appearance) { return (<div key={appearance} className="pb-1">
92
- <TextField placeholder="Search the docs..." key={appearance} appearance={appearance} {...args}/>
93
- </div>); })}
90
+ return (<div>
91
+ {['classic', 'soft', 'surface'].map(function (appearance) { return (<div key={appearance} className="pb-1">
92
+ <TextField placeholder="Search the docs..." key={appearance} appearance={appearance} {...args}/>
93
+ </div>); })}
94
94
  </div>);
95
95
  };
96
96
  export var States = function (_a) {
97
97
  var args = __rest(_a, []);
98
- return (<div className="flex items-center gap-3">
99
- <TextField placeholder="Search the docs..." {...args}>
100
- <TextFieldSlot>
101
- <MagnifyingGlassIcon height="16" width="16"/>
102
- </TextFieldSlot>
103
- </TextField>
104
-
105
- <TextField placeholder="Search the docs..." {...args}>
106
- <TextFieldSlot side={'right'}>
107
- <DotsHorizontalIcon height="14" width="14"/>
108
- </TextFieldSlot>
109
- </TextField>
110
-
111
- <TextField {...args}>
112
- <TextFieldSlot>
113
- <MagnifyingGlassIcon height="16" width="16"/>
114
- </TextFieldSlot>
115
- <TextFieldSlot>
116
- <DotsHorizontalIcon height="14" width="14"/>
117
- </TextFieldSlot>
118
- </TextField>
98
+ return (<div className="flex items-center gap-3">
99
+ <TextField placeholder="Search the docs..." {...args}>
100
+ <TextFieldSlot>
101
+ <MagnifyingGlassIcon height="16" width="16"/>
102
+ </TextFieldSlot>
103
+ </TextField>
104
+
105
+ <TextField placeholder="Search the docs..." {...args}>
106
+ <TextFieldSlot side={'right'}>
107
+ <DotsHorizontalIcon height="14" width="14"/>
108
+ </TextFieldSlot>
109
+ </TextField>
110
+
111
+ <TextField {...args}>
112
+ <TextFieldSlot>
113
+ <MagnifyingGlassIcon height="16" width="16"/>
114
+ </TextFieldSlot>
115
+ <TextFieldSlot>
116
+ <DotsHorizontalIcon height="14" width="14"/>
117
+ </TextFieldSlot>
118
+ </TextField>
119
119
  </div>);
120
120
  };
@@ -89,34 +89,34 @@ export default meta;
89
89
  export var Default = function (_a) {
90
90
  var args = __rest(_a, []);
91
91
  var _b = useState(false), open = _b[0], setOpen = _b[1];
92
- return (<div>
93
- <Button onClick={function () { return setOpen(true); }}>토스트 메세지 호출</Button>
94
- <Toast openToast={open} setOpenToast={setOpen} {...args}>
95
- <ToastTitle titleText={args.titleText}>토스트 타이틀</ToastTitle>
96
- <ToastDescription contentText={args.contentText}>토스트 내용이 위치합니다</ToastDescription>
97
- <ToastActionButton altText="액션버튼">Action</ToastActionButton>
98
- </Toast>
92
+ return (<div>
93
+ <Button onClick={function () { return setOpen(true); }}>토스트 메세지 호출</Button>
94
+ <Toast openToast={open} setOpenToast={setOpen} {...args}>
95
+ <ToastTitle titleText={args.titleText}>토스트 타이틀</ToastTitle>
96
+ <ToastDescription contentText={args.contentText}>토스트 내용이 위치합니다</ToastDescription>
97
+ <ToastActionButton altText="액션버튼">Action</ToastActionButton>
98
+ </Toast>
99
99
  </div>);
100
100
  };
101
101
  export var NoTitleToast = function (_a) {
102
102
  var args = __rest(_a, []);
103
103
  var _b = useState(false), open = _b[0], setOpen = _b[1];
104
- return (<div>
105
- <Button onClick={function () { return setOpen(true); }}>타이틀 없음</Button>
106
- <Toast openToast={open} setOpenToast={setOpen} {...args}>
107
- <ToastDescription>토스트 내용이 위치합니다</ToastDescription>
108
- <ToastActionButton altText="액션버튼">닫기</ToastActionButton>
109
- </Toast>
104
+ return (<div>
105
+ <Button onClick={function () { return setOpen(true); }}>타이틀 없음</Button>
106
+ <Toast openToast={open} setOpenToast={setOpen} {...args}>
107
+ <ToastDescription>토스트 내용이 위치합니다</ToastDescription>
108
+ <ToastActionButton altText="액션버튼">닫기</ToastActionButton>
109
+ </Toast>
110
110
  </div>);
111
111
  };
112
112
  export var NoButtonToast = function (_a) {
113
113
  var args = __rest(_a, []);
114
114
  var _b = useState(false), open = _b[0], setOpen = _b[1];
115
- return (<div>
116
- <Button onClick={function () { return setOpen(true); }}>버튼 없음</Button>
117
- <Toast openToast={open} setOpenToast={setOpen} {...args}>
118
- <ToastTitle>토스트 타이틀</ToastTitle>
119
- <ToastDescription>토스트 내용이 위치합니다</ToastDescription>
120
- </Toast>
115
+ return (<div>
116
+ <Button onClick={function () { return setOpen(true); }}>버튼 없음</Button>
117
+ <Toast openToast={open} setOpenToast={setOpen} {...args}>
118
+ <ToastTitle>토스트 타이틀</ToastTitle>
119
+ <ToastDescription>토스트 내용이 위치합니다</ToastDescription>
120
+ </Toast>
121
121
  </div>);
122
122
  };
@@ -68,39 +68,39 @@ var meta = {
68
68
  export default meta;
69
69
  export var Default = function (_a) {
70
70
  var args = __rest(_a, []);
71
- return (<div className="flex items-center space-x-4">
72
- <Toggle {...args} aria-label="Toggle italic">
73
- <FontBoldIcon />
74
- </Toggle>
71
+ return (<div className="flex items-center space-x-4">
72
+ <Toggle {...args} aria-label="Toggle italic">
73
+ <FontBoldIcon />
74
+ </Toggle>
75
75
  </div>);
76
76
  };
77
77
  export var Radius = function (_a) {
78
78
  var args = __rest(_a, []);
79
- return (<div className="flex items-center space-x-4">
80
- {radiusOptions.map(function (radius) { return (<Toggle key={radius} aria-label="Toggle italic" {...args} radius={radius}>
81
- <FontBoldIcon />
82
- </Toggle>); })}
79
+ return (<div className="flex items-center space-x-4">
80
+ {radiusOptions.map(function (radius) { return (<Toggle key={radius} aria-label="Toggle italic" {...args} radius={radius}>
81
+ <FontBoldIcon />
82
+ </Toggle>); })}
83
83
  </div>);
84
84
  };
85
85
  export var Size = function (_a) {
86
86
  var args = __rest(_a, []);
87
- return (<div className="flex items-center space-x-4">
88
- {['small', 'medium', 'large'].map(function (size) { return (<Toggle key={size} aria-label="Toggle italic" {...args} size={size}>
89
- <FontBoldIcon />
90
- </Toggle>); })}
87
+ return (<div className="flex items-center space-x-4">
88
+ {['small', 'medium', 'large'].map(function (size) { return (<Toggle key={size} aria-label="Toggle italic" {...args} size={size}>
89
+ <FontBoldIcon />
90
+ </Toggle>); })}
91
91
  </div>);
92
92
  };
93
93
  export var WithText = function (_a) {
94
94
  var args = __rest(_a, []);
95
- return (<ToggleWithText {...args} aria-label="Toggle italic" text={'Bold'}>
96
- <FontBoldIcon />
95
+ return (<ToggleWithText {...args} aria-label="Toggle italic" text={'Bold'}>
96
+ <FontBoldIcon />
97
97
  </ToggleWithText>);
98
98
  };
99
99
  export var Appearance = function (_a) {
100
100
  var args = __rest(_a, []);
101
- return (<div className="flex items-center space-x-4">
102
- {['ghost', 'soft', 'surface', 'outline'].map(function (appearance) { return (<Toggle key={appearance} aria-label="Toggle italic" {...args} appearance={appearance}>
103
- <FontBoldIcon />
104
- </Toggle>); })}
101
+ return (<div className="flex items-center space-x-4">
102
+ {['ghost', 'soft', 'surface', 'outline'].map(function (appearance) { return (<Toggle key={appearance} aria-label="Toggle italic" {...args} appearance={appearance}>
103
+ <FontBoldIcon />
104
+ </Toggle>); })}
105
105
  </div>);
106
106
  };
@@ -77,51 +77,51 @@ var meta = {
77
77
  export default meta;
78
78
  export var Default = function (_a) {
79
79
  var args = __rest(_a, []);
80
- return (<ToggleGroup type={'single'} defaultValue={'left'} aria-label="Text alignment" {...args}>
81
- <ToggleGroupItem value="left" aria-label="Left aligned" {...args}>
82
- <FontBoldIcon />
83
- </ToggleGroupItem>
84
- <ToggleGroupItem value="center" aria-label="Center aligned" {...args}>
85
- <FontItalicIcon />
86
- </ToggleGroupItem>
87
- <ToggleGroupItem value="right" aria-label="Right aligned" {...args}>
88
- <UnderlineIcon />
89
- </ToggleGroupItem>
80
+ return (<ToggleGroup type={'single'} defaultValue={'left'} aria-label="Text alignment" {...args}>
81
+ <ToggleGroupItem value="left" aria-label="Left aligned" {...args}>
82
+ <FontBoldIcon />
83
+ </ToggleGroupItem>
84
+ <ToggleGroupItem value="center" aria-label="Center aligned" {...args}>
85
+ <FontItalicIcon />
86
+ </ToggleGroupItem>
87
+ <ToggleGroupItem value="right" aria-label="Right aligned" {...args}>
88
+ <UnderlineIcon />
89
+ </ToggleGroupItem>
90
90
  </ToggleGroup>);
91
91
  };
92
92
  export var Size = function (_a) {
93
93
  var args = __rest(_a, []);
94
- return (<div className="flex items-center space-x-4">
94
+ return (<div className="flex items-center space-x-4">
95
95
  {sizeOptions
96
96
  .filter(function (size) { return !['x-small', 'x-large'].includes(size); })
97
- .map(function (size) { return (<ToggleGroup key={size} type={'single'} defaultValue={'left'} aria-label="Text alignment" {...args}>
98
- <ToggleGroupItem value="left" aria-label="Left aligned" {...args} size={size}>
99
- <FontBoldIcon />
100
- </ToggleGroupItem>
101
- <ToggleGroupItem value="center" aria-label="Center aligned" {...args} size={size}>
102
- <FontItalicIcon />
103
- </ToggleGroupItem>
104
- <ToggleGroupItem value="right" aria-label="Right aligned" {...args} size={size}>
105
- <UnderlineIcon />
106
- </ToggleGroupItem>
107
- </ToggleGroup>); })}
97
+ .map(function (size) { return (<ToggleGroup key={size} type={'single'} defaultValue={'left'} aria-label="Text alignment" {...args}>
98
+ <ToggleGroupItem value="left" aria-label="Left aligned" {...args} size={size}>
99
+ <FontBoldIcon />
100
+ </ToggleGroupItem>
101
+ <ToggleGroupItem value="center" aria-label="Center aligned" {...args} size={size}>
102
+ <FontItalicIcon />
103
+ </ToggleGroupItem>
104
+ <ToggleGroupItem value="right" aria-label="Right aligned" {...args} size={size}>
105
+ <UnderlineIcon />
106
+ </ToggleGroupItem>
107
+ </ToggleGroup>); })}
108
108
  </div>);
109
109
  };
110
110
  export var Appearance = function (_a) {
111
111
  var args = __rest(_a, []);
112
- return (<div className="flex items-center space-x-4">
112
+ return (<div className="flex items-center space-x-4">
113
113
  {appearanceOptions
114
114
  .filter(function (appearance) { return !['classic', 'solid'].includes(appearance); })
115
- .map(function (appearance) { return (<ToggleGroup key={appearance} type={'single'} defaultValue={'left'} aria-label="Text alignment" {...args}>
116
- <ToggleGroupItem value="left" aria-label="Left aligned" {...args} appearance={appearance}>
117
- <FontBoldIcon />
118
- </ToggleGroupItem>
119
- <ToggleGroupItem value="center" aria-label="Center aligned" {...args} appearance={appearance}>
120
- <FontItalicIcon />
121
- </ToggleGroupItem>
122
- <ToggleGroupItem value="right" aria-label="Right aligned" {...args} appearance={appearance}>
123
- <UnderlineIcon />
124
- </ToggleGroupItem>
125
- </ToggleGroup>); })}
115
+ .map(function (appearance) { return (<ToggleGroup key={appearance} type={'single'} defaultValue={'left'} aria-label="Text alignment" {...args}>
116
+ <ToggleGroupItem value="left" aria-label="Left aligned" {...args} appearance={appearance}>
117
+ <FontBoldIcon />
118
+ </ToggleGroupItem>
119
+ <ToggleGroupItem value="center" aria-label="Center aligned" {...args} appearance={appearance}>
120
+ <FontItalicIcon />
121
+ </ToggleGroupItem>
122
+ <ToggleGroupItem value="right" aria-label="Right aligned" {...args} appearance={appearance}>
123
+ <UnderlineIcon />
124
+ </ToggleGroupItem>
125
+ </ToggleGroup>); })}
126
126
  </div>);
127
127
  };
@@ -65,27 +65,27 @@ var meta = {
65
65
  export default meta;
66
66
  export var Default = function (_a) {
67
67
  var args = __rest(_a, []);
68
- return (<Tooltip content="툴팁 컴포넌트 내용입니다." {...args}>
69
- <div>마우스 커서를 올려주세요</div>
68
+ return (<Tooltip content="툴팁 컴포넌트 내용입니다." {...args}>
69
+ <div>마우스 커서를 올려주세요</div>
70
70
  </Tooltip>);
71
71
  };
72
72
  export var Radius = function (_a) {
73
73
  var args = __rest(_a, []);
74
- return (<div className="">
75
- {radiusOptions.map(function (radius, index) { return (<div key={radius} className="flex pt-3 items-center space-x-2">
76
- <Tooltip content="툴팁 컴포넌트 내용입니다." radius={radius} {...args}>
77
- <div>마우스 커서를 올려주세요</div>
78
- </Tooltip>
79
- </div>); })}
74
+ return (<div className="">
75
+ {radiusOptions.map(function (radius, index) { return (<div key={radius} className="flex pt-3 items-center space-x-2">
76
+ <Tooltip content="툴팁 컴포넌트 내용입니다." radius={radius} {...args}>
77
+ <div>마우스 커서를 올려주세요</div>
78
+ </Tooltip>
79
+ </div>); })}
80
80
  </div>);
81
81
  };
82
82
  export var Position = function (_a) {
83
83
  var args = __rest(_a, []);
84
- return (<div className="">
85
- {['top', 'right', 'left', 'bottom'].map(function (side, index) { return (<div key={side} className="flex pt-3 items-center space-x-2">
86
- <Tooltip content="툴팁 컴포넌트 내용입니다." side={side} {...args}>
87
- <div>마우스 커서를 올려주세요</div>
88
- </Tooltip>
89
- </div>); })}
84
+ return (<div className="">
85
+ {['top', 'right', 'left', 'bottom'].map(function (side, index) { return (<div key={side} className="flex pt-3 items-center space-x-2">
86
+ <Tooltip content="툴팁 컴포넌트 내용입니다." side={side} {...args}>
87
+ <div>마우스 커서를 올려주세요</div>
88
+ </Tooltip>
89
+ </div>); })}
90
90
  </div>);
91
91
  };