@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
@@ -59,86 +59,86 @@ var meta = {
59
59
  export default meta;
60
60
  export var Default = function (_a) {
61
61
  var args = __rest(_a, []);
62
- return (<CheckboxGroup defaultValue={['apple']}>
63
- <CheckboxGroupItem id={'apple'} {...args}>
64
- 사과🍎
65
- </CheckboxGroupItem>
66
- <CheckboxGroupItem id={'orange'} {...args}>
67
- 오렌지🍊
68
- </CheckboxGroupItem>
69
- <CheckboxGroupItem id={'banana'} {...args}>
70
- 바나나🍌
71
- </CheckboxGroupItem>
62
+ return (<CheckboxGroup defaultValue={['apple']}>
63
+ <CheckboxGroupItem id={'apple'} {...args}>
64
+ 사과🍎
65
+ </CheckboxGroupItem>
66
+ <CheckboxGroupItem id={'orange'} {...args}>
67
+ 오렌지🍊
68
+ </CheckboxGroupItem>
69
+ <CheckboxGroupItem id={'banana'} {...args}>
70
+ 바나나🍌
71
+ </CheckboxGroupItem>
72
72
  </CheckboxGroup>);
73
73
  };
74
74
  export var Size = function (_a) {
75
75
  var args = __rest(_a, []);
76
- return (<div className="flex flex-col space-y-6">
77
- <CheckboxGroup size={'small'} defaultValue={['size-s1']}>
78
- <CheckboxGroupItem id="size-s1" {...args}>
79
- Agree to Terms and Conditions
80
- </CheckboxGroupItem>
81
- <CheckboxGroupItem id="size-s2" {...args}>
82
- Agree to Privacy Policy
83
- </CheckboxGroupItem>
84
- </CheckboxGroup>
85
-
86
- <CheckboxGroup size={'medium'} defaultValue={['size-m1']}>
87
- <CheckboxGroupItem id="size-m1" {...args}>
88
- Agree to Terms and Conditions
89
- </CheckboxGroupItem>
90
- <CheckboxGroupItem id="size-m2" {...args}>
91
- Agree to Privacy Policy
92
- </CheckboxGroupItem>
93
- </CheckboxGroup>
94
-
95
- <CheckboxGroup size={'large'} defaultValue={['size-l1']}>
96
- <CheckboxGroupItem id="size-l1" {...args}>
97
- Agree to Terms and Conditions
98
- </CheckboxGroupItem>
99
- <CheckboxGroupItem id="size-l2" {...args}>
100
- Agree to Privacy Policy
101
- </CheckboxGroupItem>
102
- </CheckboxGroup>
76
+ return (<div className="flex flex-col space-y-6">
77
+ <CheckboxGroup size={'small'} defaultValue={['size-s1']}>
78
+ <CheckboxGroupItem id="size-s1" {...args}>
79
+ Agree to Terms and Conditions
80
+ </CheckboxGroupItem>
81
+ <CheckboxGroupItem id="size-s2" {...args}>
82
+ Agree to Privacy Policy
83
+ </CheckboxGroupItem>
84
+ </CheckboxGroup>
85
+
86
+ <CheckboxGroup size={'medium'} defaultValue={['size-m1']}>
87
+ <CheckboxGroupItem id="size-m1" {...args}>
88
+ Agree to Terms and Conditions
89
+ </CheckboxGroupItem>
90
+ <CheckboxGroupItem id="size-m2" {...args}>
91
+ Agree to Privacy Policy
92
+ </CheckboxGroupItem>
93
+ </CheckboxGroup>
94
+
95
+ <CheckboxGroup size={'large'} defaultValue={['size-l1']}>
96
+ <CheckboxGroupItem id="size-l1" {...args}>
97
+ Agree to Terms and Conditions
98
+ </CheckboxGroupItem>
99
+ <CheckboxGroupItem id="size-l2" {...args}>
100
+ Agree to Privacy Policy
101
+ </CheckboxGroupItem>
102
+ </CheckboxGroup>
103
103
  </div>);
104
104
  };
105
105
  export var Radius = function (_a) {
106
106
  var args = __rest(_a, []);
107
- return (<div className="flex flex-col space-y-6">
108
- <CheckboxGroup defaultValue={['radius-none-1']} radius={'none'}>
109
- <CheckboxGroupItem id="radius-none-1" {...args}>
110
- 체크박스1
111
- </CheckboxGroupItem>
112
- <CheckboxGroupItem id="radius-none-2" {...args}>
113
- 체크박스2
114
- </CheckboxGroupItem>
115
- </CheckboxGroup>
116
-
117
- <CheckboxGroup defaultValue={['radius-small-1']} radius={'small'}>
118
- <CheckboxGroupItem id="radius-small-1" {...args}>
119
- 체크박스1
120
- </CheckboxGroupItem>
121
- <CheckboxGroupItem id="radius-small-2" {...args}>
122
- 체크박스2
123
- </CheckboxGroupItem>
124
- </CheckboxGroup>
125
-
126
- <CheckboxGroup defaultValue={['radius-medium-1']} radius={'medium'}>
127
- <CheckboxGroupItem id="radius-medium-1" {...args}>
128
- 체크박스1
129
- </CheckboxGroupItem>
130
- <CheckboxGroupItem id="radius-medium-2" {...args}>
131
- 체크박스2
132
- </CheckboxGroupItem>
133
- </CheckboxGroup>
134
-
135
- <CheckboxGroup defaultValue={['radius-large-1']} radius={'large'}>
136
- <CheckboxGroupItem id="radius-large-1" {...args}>
137
- 체크박스1
138
- </CheckboxGroupItem>
139
- <CheckboxGroupItem id="radius-large-2" {...args}>
140
- 체크박스2
141
- </CheckboxGroupItem>
142
- </CheckboxGroup>
107
+ return (<div className="flex flex-col space-y-6">
108
+ <CheckboxGroup defaultValue={['radius-none-1']} radius={'none'}>
109
+ <CheckboxGroupItem id="radius-none-1" {...args}>
110
+ 체크박스1
111
+ </CheckboxGroupItem>
112
+ <CheckboxGroupItem id="radius-none-2" {...args}>
113
+ 체크박스2
114
+ </CheckboxGroupItem>
115
+ </CheckboxGroup>
116
+
117
+ <CheckboxGroup defaultValue={['radius-small-1']} radius={'small'}>
118
+ <CheckboxGroupItem id="radius-small-1" {...args}>
119
+ 체크박스1
120
+ </CheckboxGroupItem>
121
+ <CheckboxGroupItem id="radius-small-2" {...args}>
122
+ 체크박스2
123
+ </CheckboxGroupItem>
124
+ </CheckboxGroup>
125
+
126
+ <CheckboxGroup defaultValue={['radius-medium-1']} radius={'medium'}>
127
+ <CheckboxGroupItem id="radius-medium-1" {...args}>
128
+ 체크박스1
129
+ </CheckboxGroupItem>
130
+ <CheckboxGroupItem id="radius-medium-2" {...args}>
131
+ 체크박스2
132
+ </CheckboxGroupItem>
133
+ </CheckboxGroup>
134
+
135
+ <CheckboxGroup defaultValue={['radius-large-1']} radius={'large'}>
136
+ <CheckboxGroupItem id="radius-large-1" {...args}>
137
+ 체크박스1
138
+ </CheckboxGroupItem>
139
+ <CheckboxGroupItem id="radius-large-2" {...args}>
140
+ 체크박스2
141
+ </CheckboxGroupItem>
142
+ </CheckboxGroup>
143
143
  </div>);
144
144
  };
@@ -69,87 +69,87 @@ var meta = {
69
69
  export default meta;
70
70
  export var Default = function (_a) {
71
71
  var args = __rest(_a, []);
72
- return (<ContextMenu {...args}>
73
- <ContextMenuTrigger>
74
- <Text>Right-click here.</Text>
75
- </ContextMenuTrigger>
76
- <ContextMenuContent>
77
- <ContextMenuLabel>라벨</ContextMenuLabel>
78
- <ContextMenuItem shortcut="⌘ T">기본 아이템</ContextMenuItem>
79
- <ContextMenuItem disabled>사용불가 아이템</ContextMenuItem>
80
- <ContextMenuSeparator />
81
- <ContextMenuGroup>
82
- <ContextMenuItem>그룹 아이템1</ContextMenuItem>
83
- <ContextMenuItem>그룹 아이템2</ContextMenuItem>
84
- </ContextMenuGroup>
85
- <ContextMenuSeparator />
86
- <ContextMenuCheckboxItem checked>checked 아이템</ContextMenuCheckboxItem>
87
- <ContextMenuCheckboxItem checked={false}>unchecked 아이템</ContextMenuCheckboxItem>
88
- <ContextMenuSeparator />
89
- <ContextMenuRadioGroup value={'apple'}>
90
- <ContextMenuRadioItem value={'apple'}>라디오 아이템1</ContextMenuRadioItem>
91
- <ContextMenuRadioItem value={'banana'}>라디오 아이템2</ContextMenuRadioItem>
92
- </ContextMenuRadioGroup>
93
- <ContextMenuSeparator />
94
- <ContextMenuSubTrigger>
95
- More Menu{' '}
96
- <ContextMenuSubContent>
97
- <ContextMenuItem>서브 아이템1</ContextMenuItem>
98
- <ContextMenuItem>서브 아이템2</ContextMenuItem>
99
- </ContextMenuSubContent>
100
- </ContextMenuSubTrigger>
101
- </ContextMenuContent>
72
+ return (<ContextMenu {...args}>
73
+ <ContextMenuTrigger>
74
+ <Text>Right-click here.</Text>
75
+ </ContextMenuTrigger>
76
+ <ContextMenuContent>
77
+ <ContextMenuLabel>라벨</ContextMenuLabel>
78
+ <ContextMenuItem shortcut="⌘ T">기본 아이템</ContextMenuItem>
79
+ <ContextMenuItem disabled>사용불가 아이템</ContextMenuItem>
80
+ <ContextMenuSeparator />
81
+ <ContextMenuGroup>
82
+ <ContextMenuItem>그룹 아이템1</ContextMenuItem>
83
+ <ContextMenuItem>그룹 아이템2</ContextMenuItem>
84
+ </ContextMenuGroup>
85
+ <ContextMenuSeparator />
86
+ <ContextMenuCheckboxItem checked>checked 아이템</ContextMenuCheckboxItem>
87
+ <ContextMenuCheckboxItem checked={false}>unchecked 아이템</ContextMenuCheckboxItem>
88
+ <ContextMenuSeparator />
89
+ <ContextMenuRadioGroup value={'apple'}>
90
+ <ContextMenuRadioItem value={'apple'}>라디오 아이템1</ContextMenuRadioItem>
91
+ <ContextMenuRadioItem value={'banana'}>라디오 아이템2</ContextMenuRadioItem>
92
+ </ContextMenuRadioGroup>
93
+ <ContextMenuSeparator />
94
+ <ContextMenuSubTrigger>
95
+ More Menu{' '}
96
+ <ContextMenuSubContent>
97
+ <ContextMenuItem>서브 아이템1</ContextMenuItem>
98
+ <ContextMenuItem>서브 아이템2</ContextMenuItem>
99
+ </ContextMenuSubContent>
100
+ </ContextMenuSubTrigger>
101
+ </ContextMenuContent>
102
102
  </ContextMenu>);
103
103
  };
104
104
  export var Radius = function (_a) {
105
105
  var args = __rest(_a, []);
106
- return (<div className="flex space-x-2">
107
- {radiusOptions.map(function (radius) { return (<ContextMenu key={radius} radius={radius} {...args}>
108
- <ContextMenuTrigger className="w-[100px]">{radius}</ContextMenuTrigger>
109
- <ContextMenuContent>
110
- <ContextMenuItem>메뉴1</ContextMenuItem>
111
- <ContextMenuItem>메뉴2</ContextMenuItem>
112
- </ContextMenuContent>
113
- </ContextMenu>); })}
106
+ return (<div className="flex space-x-2">
107
+ {radiusOptions.map(function (radius) { return (<ContextMenu key={radius} radius={radius} {...args}>
108
+ <ContextMenuTrigger className="w-[100px]">{radius}</ContextMenuTrigger>
109
+ <ContextMenuContent>
110
+ <ContextMenuItem>메뉴1</ContextMenuItem>
111
+ <ContextMenuItem>메뉴2</ContextMenuItem>
112
+ </ContextMenuContent>
113
+ </ContextMenu>); })}
114
114
  </div>);
115
115
  };
116
116
  export var Size = function (_a) {
117
117
  var args = __rest(_a, []);
118
- return (<div className="flex space-x-2">
119
- <ContextMenu size={'small'} {...args}>
120
- <ContextMenuTrigger className="w-[100px]">small</ContextMenuTrigger>
121
- <ContextMenuContent>
122
- <ContextMenuItem>메뉴1</ContextMenuItem>
123
- <ContextMenuItem>메뉴2</ContextMenuItem>
124
- </ContextMenuContent>
125
- </ContextMenu>
126
-
127
- <ContextMenu size={'medium'} {...args}>
128
- <ContextMenuTrigger className="w-[100px]">medium</ContextMenuTrigger>
129
- <ContextMenuContent>
130
- <ContextMenuItem>메뉴1</ContextMenuItem>
131
- <ContextMenuItem>메뉴2</ContextMenuItem>
132
- </ContextMenuContent>
133
- </ContextMenu>
118
+ return (<div className="flex space-x-2">
119
+ <ContextMenu size={'small'} {...args}>
120
+ <ContextMenuTrigger className="w-[100px]">small</ContextMenuTrigger>
121
+ <ContextMenuContent>
122
+ <ContextMenuItem>메뉴1</ContextMenuItem>
123
+ <ContextMenuItem>메뉴2</ContextMenuItem>
124
+ </ContextMenuContent>
125
+ </ContextMenu>
126
+
127
+ <ContextMenu size={'medium'} {...args}>
128
+ <ContextMenuTrigger className="w-[100px]">medium</ContextMenuTrigger>
129
+ <ContextMenuContent>
130
+ <ContextMenuItem>메뉴1</ContextMenuItem>
131
+ <ContextMenuItem>메뉴2</ContextMenuItem>
132
+ </ContextMenuContent>
133
+ </ContextMenu>
134
134
  </div>);
135
135
  };
136
136
  export var Appearance = function (_a) {
137
137
  var args = __rest(_a, []);
138
- return (<div className="flex space-x-2">
139
- <ContextMenu appearance={'solid'} {...args}>
140
- <ContextMenuTrigger className="w-[100px]">solid</ContextMenuTrigger>
141
- <ContextMenuContent>
142
- <ContextMenuItem>메뉴1</ContextMenuItem>
143
- <ContextMenuItem>메뉴2</ContextMenuItem>
144
- </ContextMenuContent>
145
- </ContextMenu>
146
-
147
- <ContextMenu appearance={'soft'} {...args}>
148
- <ContextMenuTrigger className="w-[100px]">soft</ContextMenuTrigger>
149
- <ContextMenuContent>
150
- <ContextMenuItem>메뉴1</ContextMenuItem>
151
- <ContextMenuItem>메뉴2</ContextMenuItem>
152
- </ContextMenuContent>
153
- </ContextMenu>
138
+ return (<div className="flex space-x-2">
139
+ <ContextMenu appearance={'solid'} {...args}>
140
+ <ContextMenuTrigger className="w-[100px]">solid</ContextMenuTrigger>
141
+ <ContextMenuContent>
142
+ <ContextMenuItem>메뉴1</ContextMenuItem>
143
+ <ContextMenuItem>메뉴2</ContextMenuItem>
144
+ </ContextMenuContent>
145
+ </ContextMenu>
146
+
147
+ <ContextMenu appearance={'soft'} {...args}>
148
+ <ContextMenuTrigger className="w-[100px]">soft</ContextMenuTrigger>
149
+ <ContextMenuContent>
150
+ <ContextMenuItem>메뉴1</ContextMenuItem>
151
+ <ContextMenuItem>메뉴2</ContextMenuItem>
152
+ </ContextMenuContent>
153
+ </ContextMenu>
154
154
  </div>);
155
155
  };
@@ -67,119 +67,119 @@ var meta = {
67
67
  export default meta;
68
68
  export var Default = function (_a) {
69
69
  var args = __rest(_a, []);
70
- return (<DataList {...args}>
71
- <DataListItem {...args}>
72
- <DataListLabel {...args}>상태</DataListLabel>
73
- <DataListValue {...args}>
74
- <Badge appearance="soft" {...args}>
75
- 배지
76
- </Badge>
77
- </DataListValue>
78
- </DataListItem>
79
- <DataListItem {...args}>
80
- <DataListLabel {...args}>라벨</DataListLabel>
81
- <DataListValue {...args}>
82
- 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
83
- </DataListValue>
84
- </DataListItem>
85
- <DataListItem {...args}>
86
- <DataListLabel {...args}>라벨</DataListLabel>
87
- <DataListValue {...args}>
88
- <Button {...args}>버튼</Button>
89
- </DataListValue>
90
- </DataListItem>
70
+ return (<DataList {...args}>
71
+ <DataListItem {...args}>
72
+ <DataListLabel {...args}>상태</DataListLabel>
73
+ <DataListValue {...args}>
74
+ <Badge appearance="soft" {...args}>
75
+ 배지
76
+ </Badge>
77
+ </DataListValue>
78
+ </DataListItem>
79
+ <DataListItem {...args}>
80
+ <DataListLabel {...args}>라벨</DataListLabel>
81
+ <DataListValue {...args}>
82
+ 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
83
+ </DataListValue>
84
+ </DataListItem>
85
+ <DataListItem {...args}>
86
+ <DataListLabel {...args}>라벨</DataListLabel>
87
+ <DataListValue {...args}>
88
+ <Button {...args}>버튼</Button>
89
+ </DataListValue>
90
+ </DataListItem>
91
91
  </DataList>);
92
92
  };
93
93
  export var Orientation = function (_a) {
94
94
  var args = __rest(_a, []);
95
- return (<DataList {...args} orientation={'vertical'}>
96
- <DataListItem {...args}>
97
- <DataListLabel {...args}>상태</DataListLabel>
98
- <DataListValue {...args}>
99
- <Badge appearance="soft" {...args}>
100
- 배지
101
- </Badge>
102
- </DataListValue>
103
- </DataListItem>
104
- <DataListItem {...args}>
105
- <DataListLabel {...args}>라벨</DataListLabel>
106
- <DataListValue {...args}>
107
- 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
108
- </DataListValue>
109
- </DataListItem>
110
- <DataListItem {...args}>
111
- <DataListLabel {...args}>라벨</DataListLabel>
112
- <DataListValue {...args}>
113
- <Button {...args}>버튼</Button>
114
- </DataListValue>
115
- </DataListItem>
95
+ return (<DataList {...args} orientation={'vertical'}>
96
+ <DataListItem {...args}>
97
+ <DataListLabel {...args}>상태</DataListLabel>
98
+ <DataListValue {...args}>
99
+ <Badge appearance="soft" {...args}>
100
+ 배지
101
+ </Badge>
102
+ </DataListValue>
103
+ </DataListItem>
104
+ <DataListItem {...args}>
105
+ <DataListLabel {...args}>라벨</DataListLabel>
106
+ <DataListValue {...args}>
107
+ 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
108
+ </DataListValue>
109
+ </DataListItem>
110
+ <DataListItem {...args}>
111
+ <DataListLabel {...args}>라벨</DataListLabel>
112
+ <DataListValue {...args}>
113
+ <Button {...args}>버튼</Button>
114
+ </DataListValue>
115
+ </DataListItem>
116
116
  </DataList>);
117
117
  };
118
118
  export var Scaling = function (_a) {
119
119
  var args = __rest(_a, []);
120
- return (<div className="flex flex-col space-y-7">
121
- {scalingOptions.map(function (scaling) { return (<DataList {...args} key={scaling} scaling={scaling}>
122
- <DataListItem {...args}>
123
- <DataListLabel {...args}>{scaling}</DataListLabel>
124
- <DataListValue {...args}>
125
- 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
126
- </DataListValue>
127
- </DataListItem>
128
- <DataListItem {...args}>
129
- <DataListLabel {...args}>{scaling}</DataListLabel>
130
- <DataListValue {...args}>
131
- 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
132
- </DataListValue>
133
- </DataListItem>
134
- </DataList>); })}
120
+ return (<div className="flex flex-col space-y-7">
121
+ {scalingOptions.map(function (scaling) { return (<DataList {...args} key={scaling} scaling={scaling}>
122
+ <DataListItem {...args}>
123
+ <DataListLabel {...args}>{scaling}</DataListLabel>
124
+ <DataListValue {...args}>
125
+ 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
126
+ </DataListValue>
127
+ </DataListItem>
128
+ <DataListItem {...args}>
129
+ <DataListLabel {...args}>{scaling}</DataListLabel>
130
+ <DataListValue {...args}>
131
+ 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
132
+ </DataListValue>
133
+ </DataListItem>
134
+ </DataList>); })}
135
135
  </div>);
136
136
  };
137
137
  export var Size = function (_a) {
138
138
  var args = __rest(_a, []);
139
- return (<div className="flex flex-col space-y-7">
140
- <DataList size={'small'}>
141
- <DataListItem {...args}>
142
- <DataListLabel {...args}>small</DataListLabel>
143
- <DataListValue {...args}>
144
- 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
145
- </DataListValue>
146
- </DataListItem>
147
- <DataListItem {...args}>
148
- <DataListLabel {...args}>small</DataListLabel>
149
- <DataListValue {...args}>
150
- 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
151
- </DataListValue>
152
- </DataListItem>
153
- </DataList>
154
-
155
- <DataList size={'medium'}>
156
- <DataListItem {...args}>
157
- <DataListLabel {...args}>medium</DataListLabel>
158
- <DataListValue {...args}>
159
- 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
160
- </DataListValue>
161
- </DataListItem>
162
- <DataListItem {...args}>
163
- <DataListLabel {...args}>medium</DataListLabel>
164
- <DataListValue {...args}>
165
- 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
166
- </DataListValue>
167
- </DataListItem>
168
- </DataList>
169
-
170
- <DataList size={'large'}>
171
- <DataListItem {...args}>
172
- <DataListLabel {...args}>large</DataListLabel>
173
- <DataListValue {...args}>
174
- 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
175
- </DataListValue>
176
- </DataListItem>
177
- <DataListItem {...args}>
178
- <DataListLabel {...args}>large</DataListLabel>
179
- <DataListValue {...args}>
180
- 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
181
- </DataListValue>
182
- </DataListItem>
183
- </DataList>
139
+ return (<div className="flex flex-col space-y-7">
140
+ <DataList size={'small'}>
141
+ <DataListItem {...args}>
142
+ <DataListLabel {...args}>small</DataListLabel>
143
+ <DataListValue {...args}>
144
+ 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
145
+ </DataListValue>
146
+ </DataListItem>
147
+ <DataListItem {...args}>
148
+ <DataListLabel {...args}>small</DataListLabel>
149
+ <DataListValue {...args}>
150
+ 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
151
+ </DataListValue>
152
+ </DataListItem>
153
+ </DataList>
154
+
155
+ <DataList size={'medium'}>
156
+ <DataListItem {...args}>
157
+ <DataListLabel {...args}>medium</DataListLabel>
158
+ <DataListValue {...args}>
159
+ 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
160
+ </DataListValue>
161
+ </DataListItem>
162
+ <DataListItem {...args}>
163
+ <DataListLabel {...args}>medium</DataListLabel>
164
+ <DataListValue {...args}>
165
+ 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
166
+ </DataListValue>
167
+ </DataListItem>
168
+ </DataList>
169
+
170
+ <DataList size={'large'}>
171
+ <DataListItem {...args}>
172
+ <DataListLabel {...args}>large</DataListLabel>
173
+ <DataListValue {...args}>
174
+ 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
175
+ </DataListValue>
176
+ </DataListItem>
177
+ <DataListItem {...args}>
178
+ <DataListLabel {...args}>large</DataListLabel>
179
+ <DataListValue {...args}>
180
+ 텍스트가 길어질 경우 줄바꿈으로 처리됩니다.텍스트가 길어질 경우 줄바꿈으로 처리됩니다.
181
+ </DataListValue>
182
+ </DataListItem>
183
+ </DataList>
184
184
  </div>);
185
185
  };
@@ -54,29 +54,29 @@ var meta = {
54
54
  export default meta;
55
55
  export var Default = function (_a) {
56
56
  var args = __rest(_a, []);
57
- return (<Dialog {...args}>
58
- <DialogTrigger>
59
- <Button>Edit profile</Button>
60
- </DialogTrigger>
61
- <DialogContent {...args}>
62
- <DialogTitle {...args}>Edit profile</DialogTitle>
63
- <DialogDescription {...args}>Make changes to your profile.</DialogDescription>
64
-
65
- <DialogSlot {...args}>
66
- <span>Name</span>
67
- <TextField {...args} placeholder="Enter your full name"/>
68
- <span>Email</span>
69
- <TextField {...args} placeholder="Enter your email"/>
70
- </DialogSlot>
71
-
72
- <div className="flex justify-end">
73
- <DialogCancel {...args}>
74
- <span>Cancel</span>
75
- </DialogCancel>
76
- <DialogAction {...args}>
77
- <span>Save</span>
78
- </DialogAction>
79
- </div>
80
- </DialogContent>
57
+ return (<Dialog {...args}>
58
+ <DialogTrigger>
59
+ <Button>Edit profile</Button>
60
+ </DialogTrigger>
61
+ <DialogContent {...args}>
62
+ <DialogTitle {...args}>Edit profile</DialogTitle>
63
+ <DialogDescription {...args}>Make changes to your profile.</DialogDescription>
64
+
65
+ <DialogSlot {...args}>
66
+ <span>Name</span>
67
+ <TextField {...args} placeholder="Enter your full name"/>
68
+ <span>Email</span>
69
+ <TextField {...args} placeholder="Enter your email"/>
70
+ </DialogSlot>
71
+
72
+ <div className="flex justify-end">
73
+ <DialogCancel {...args}>
74
+ <span>Cancel</span>
75
+ </DialogCancel>
76
+ <DialogAction {...args}>
77
+ <span>Save</span>
78
+ </DialogAction>
79
+ </div>
80
+ </DialogContent>
81
81
  </Dialog>);
82
82
  };
@@ -169,8 +169,8 @@ var meta = {
169
169
  export default meta;
170
170
  export var Default = function (_a) {
171
171
  var args = __rest(_a, []);
172
- return (<div className="w-[300px]">
173
- <DoughnutChart labels={args.label} datasets={args.datasets} {...args}/>
172
+ return (<div className="w-[300px]">
173
+ <DoughnutChart labels={args.label} datasets={args.datasets} {...args}/>
174
174
  </div>);
175
175
  };
176
176
  export var BorderStyles = function () {
@@ -204,13 +204,13 @@ export var BorderStyles = function () {
204
204
  },
205
205
  },
206
206
  };
207
- return (<div className="flex">
208
- <div className="w-[200px]">
209
- <DoughnutChart datasets={datasets} options={options}/>
210
- </div>
211
- <div className="w-[200px]">
212
- <DoughnutChart datasets={dashDatasets} options={dashOptions}/>
213
- </div>
207
+ return (<div className="flex">
208
+ <div className="w-[200px]">
209
+ <DoughnutChart datasets={datasets} options={options}/>
210
+ </div>
211
+ <div className="w-[200px]">
212
+ <DoughnutChart datasets={dashDatasets} options={dashOptions}/>
213
+ </div>
214
214
  </div>);
215
215
  };
216
216
  export var DataLabels = function () {