@lotte-innovate/ui-component-test 0.1.66 → 0.1.67

Sign up to get free protection for your applications and to get access to all the features.
Files changed (224) hide show
  1. package/README.md +133 -133
  2. package/dist/globals.css +4 -4
  3. package/dist/lib/Typography/Header/index.d.ts +1 -1
  4. package/dist/lib/Typography/Text/index.d.ts +1 -1
  5. package/dist/lib/components/Accordion/index.d.ts +1 -0
  6. package/dist/lib/components/Accordion/index.js +18 -4
  7. package/dist/lib/components/Accordion/index.mjs +1 -1
  8. package/dist/lib/components/Accordion/index.mjs.map +1 -1
  9. package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +2 -2
  10. package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +2 -2
  11. package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +1 -1
  12. package/dist/lib/components/AlertDialog/AlertDialogRoot.js +9 -6
  13. package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +2 -1
  14. package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs.map +1 -1
  15. package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +2 -2
  16. package/dist/lib/components/AspectRatio/index.js +3 -1
  17. package/dist/lib/components/AspectRatio/index.mjs +1 -1
  18. package/dist/lib/components/AspectRatio/index.mjs.map +1 -1
  19. package/dist/lib/components/Avatar/index.d.ts +1 -1
  20. package/dist/lib/components/Avatar/index.js +9 -1
  21. package/dist/lib/components/Avatar/index.mjs +2 -1
  22. package/dist/lib/components/Avatar/index.mjs.map +1 -1
  23. package/dist/lib/components/Badge/index.d.ts +2 -2
  24. package/dist/lib/components/Badge/index.js +10 -1
  25. package/dist/lib/components/Badge/index.mjs +1 -1
  26. package/dist/lib/components/Badge/index.mjs.map +1 -1
  27. package/dist/lib/components/Button/index.d.ts +2 -2
  28. package/dist/lib/components/Button/index.js +10 -1
  29. package/dist/lib/components/Button/index.mjs +1 -1
  30. package/dist/lib/components/Button/index.mjs.map +1 -1
  31. package/dist/lib/components/Callout/CalloutRoot.d.ts +1 -1
  32. package/dist/lib/components/Callout/CalloutRoot.js +11 -3
  33. package/dist/lib/components/Callout/CalloutRoot.mjs +2 -1
  34. package/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -1
  35. package/dist/lib/components/Card/index.d.ts +2 -2
  36. package/dist/lib/components/Card/index.js +8 -1
  37. package/dist/lib/components/Card/index.mjs +1 -1
  38. package/dist/lib/components/Card/index.mjs.map +1 -1
  39. package/dist/lib/components/Checkbox/index.d.ts +1 -1
  40. package/dist/lib/components/Checkbox/index.js +10 -2
  41. package/dist/lib/components/Checkbox/index.mjs +1 -1
  42. package/dist/lib/components/Checkbox/index.mjs.map +1 -1
  43. package/dist/lib/components/CheckboxCard/index.d.ts +1 -1
  44. package/dist/lib/components/CheckboxCard/index.js +8 -1
  45. package/dist/lib/components/CheckboxCard/index.mjs +1 -1
  46. package/dist/lib/components/CheckboxCard/index.mjs.map +1 -1
  47. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +11 -2
  48. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +2 -1
  49. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -1
  50. package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +1 -1
  51. package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +1 -1
  52. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +1 -1
  53. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js +1 -0
  54. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs +1 -0
  55. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs.map +1 -1
  56. package/dist/lib/components/ContextMenu/ContextMenuRoot.js +11 -2
  57. package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +2 -1
  58. package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs.map +1 -1
  59. package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +1 -1
  60. package/dist/lib/components/DataList/DataListLabel.d.ts +1 -1
  61. package/dist/lib/components/DataList/DataListRoot.js +9 -2
  62. package/dist/lib/components/DataList/DataListRoot.mjs +2 -1
  63. package/dist/lib/components/DataList/DataListRoot.mjs.map +1 -1
  64. package/dist/lib/components/DataList/DataListValue.d.ts +1 -1
  65. package/dist/lib/components/Dialog/DialogAction.d.ts +1 -1
  66. package/dist/lib/components/Dialog/DialogCancel.d.ts +1 -1
  67. package/dist/lib/components/Dialog/DialogContent.d.ts +1 -1
  68. package/dist/lib/components/Dialog/DialogRoot.js +9 -1
  69. package/dist/lib/components/Dialog/DialogRoot.mjs +2 -1
  70. package/dist/lib/components/Dialog/DialogRoot.mjs.map +1 -1
  71. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +1 -1
  72. package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +1 -1
  73. package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +1 -1
  74. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +1 -1
  75. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +10 -1
  76. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +2 -1
  77. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs.map +1 -1
  78. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
  79. package/dist/lib/components/HoverCard/HoverCardContent.d.ts +2 -2
  80. package/dist/lib/components/HoverCard/HoverCardRoot.js +10 -1
  81. package/dist/lib/components/HoverCard/HoverCardRoot.mjs +2 -1
  82. package/dist/lib/components/HoverCard/HoverCardRoot.mjs.map +1 -1
  83. package/dist/lib/components/IconButton/index.d.ts +1 -1
  84. package/dist/lib/components/IconButton/index.js +9 -1
  85. package/dist/lib/components/IconButton/index.mjs +1 -1
  86. package/dist/lib/components/IconButton/index.mjs.map +1 -1
  87. package/dist/lib/components/Inset/index.d.ts +1 -1
  88. package/dist/lib/components/Inset/index.js +7 -1
  89. package/dist/lib/components/Inset/index.mjs +1 -1
  90. package/dist/lib/components/Inset/index.mjs.map +1 -1
  91. package/dist/lib/components/Label/index.d.ts +1 -1
  92. package/dist/lib/components/Label/index.js +11 -3
  93. package/dist/lib/components/Label/index.mjs +1 -1
  94. package/dist/lib/components/Label/index.mjs.map +1 -1
  95. package/dist/lib/components/Menubar/MenubarContent.d.ts +1 -1
  96. package/dist/lib/components/Menubar/MenubarItem.d.ts +1 -1
  97. package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +1 -1
  98. package/dist/lib/components/Menubar/MenubarRadioGroup.js +1 -0
  99. package/dist/lib/components/Menubar/MenubarRadioGroup.mjs +1 -0
  100. package/dist/lib/components/Menubar/MenubarRadioGroup.mjs.map +1 -1
  101. package/dist/lib/components/Menubar/MenubarRoot.d.ts +1 -1
  102. package/dist/lib/components/Menubar/MenubarRoot.js +13 -3
  103. package/dist/lib/components/Menubar/MenubarRoot.mjs +2 -1
  104. package/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -1
  105. package/dist/lib/components/Menubar/MenubarSubContent.d.ts +1 -1
  106. package/dist/lib/components/Menubar/MenubarTrigger.d.ts +1 -1
  107. package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +1 -1
  108. package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +1 -1
  109. package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +1 -1
  110. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +11 -2
  111. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +2 -1
  112. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs.map +1 -1
  113. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +1 -1
  114. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +2 -2
  115. package/dist/lib/components/Popover/PopoverClose.d.ts +1 -1
  116. package/dist/lib/components/Popover/PopoverContent.d.ts +1 -1
  117. package/dist/lib/components/Popover/PopoverRoot.js +8 -1
  118. package/dist/lib/components/Popover/PopoverRoot.mjs +2 -1
  119. package/dist/lib/components/Popover/PopoverRoot.mjs.map +1 -1
  120. package/dist/lib/components/Progress/index.d.ts +1 -1
  121. package/dist/lib/components/Progress/index.js +11 -1
  122. package/dist/lib/components/Progress/index.mjs +1 -1
  123. package/dist/lib/components/Progress/index.mjs.map +1 -1
  124. package/dist/lib/components/Radio/index.js +10 -4
  125. package/dist/lib/components/Radio/index.mjs +1 -1
  126. package/dist/lib/components/Radio/index.mjs.map +1 -1
  127. package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +1 -1
  128. package/dist/lib/components/RadioCards/RadioCardsRoot.js +12 -2
  129. package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +2 -1
  130. package/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -1
  131. package/dist/lib/components/RadioGroup/RadioGroupRoot.js +11 -2
  132. package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +2 -1
  133. package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -1
  134. package/dist/lib/components/ScrollArea/index.js +3 -1
  135. package/dist/lib/components/ScrollArea/index.mjs +1 -1
  136. package/dist/lib/components/ScrollArea/index.mjs.map +1 -1
  137. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +7 -1
  138. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +1 -1
  139. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -1
  140. package/dist/lib/components/Select/index.d.ts +4 -2
  141. package/dist/lib/components/Select/index.js +30 -13
  142. package/dist/lib/components/Select/index.mjs +1 -1
  143. package/dist/lib/components/Select/index.mjs.map +1 -1
  144. package/dist/lib/components/Separator/index.js +7 -1
  145. package/dist/lib/components/Separator/index.mjs +1 -1
  146. package/dist/lib/components/Separator/index.mjs.map +1 -1
  147. package/dist/lib/components/Skeleton/index.d.ts +1 -1
  148. package/dist/lib/components/Skeleton/index.js +4 -1
  149. package/dist/lib/components/Skeleton/index.mjs +1 -1
  150. package/dist/lib/components/Skeleton/index.mjs.map +1 -1
  151. package/dist/lib/components/Slider/index.d.ts +1 -1
  152. package/dist/lib/components/Slider/index.js +13 -5
  153. package/dist/lib/components/Slider/index.mjs +1 -1
  154. package/dist/lib/components/Slider/index.mjs.map +1 -1
  155. package/dist/lib/components/Spinner/index.js +3 -1
  156. package/dist/lib/components/Spinner/index.mjs +1 -1
  157. package/dist/lib/components/Spinner/index.mjs.map +1 -1
  158. package/dist/lib/components/TabNav/index.js +6 -4
  159. package/dist/lib/components/TabNav/index.mjs +1 -1
  160. package/dist/lib/components/TabNav/index.mjs.map +1 -1
  161. package/dist/lib/components/Table/index.d.ts +1 -1
  162. package/dist/lib/components/Table/index.js +7 -1
  163. package/dist/lib/components/Table/index.mjs +1 -1
  164. package/dist/lib/components/Table/index.mjs.map +1 -1
  165. package/dist/lib/components/Tabs/index.d.ts +1 -1
  166. package/dist/lib/components/Tabs/index.js +4 -4
  167. package/dist/lib/components/Tabs/index.mjs +1 -1
  168. package/dist/lib/components/Tabs/index.mjs.map +1 -1
  169. package/dist/lib/components/TextArea/index.d.ts +1 -1
  170. package/dist/lib/components/TextArea/index.js +11 -4
  171. package/dist/lib/components/TextArea/index.mjs +1 -1
  172. package/dist/lib/components/TextArea/index.mjs.map +1 -1
  173. package/dist/lib/components/TextField/index.d.ts +1 -1
  174. package/dist/lib/components/TextField/index.js +11 -4
  175. package/dist/lib/components/TextField/index.mjs +1 -1
  176. package/dist/lib/components/TextField/index.mjs.map +1 -1
  177. package/dist/lib/components/Toast/ToastActionButton.d.ts +1 -1
  178. package/dist/lib/components/Toast/ToastActionButton.js +2 -2
  179. package/dist/lib/components/Toast/ToastActionButton.mjs +1 -1
  180. package/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -1
  181. package/dist/lib/components/Toast/ToastRoot.d.ts +1 -1
  182. package/dist/lib/components/Toast/ToastRoot.js +11 -3
  183. package/dist/lib/components/Toast/ToastRoot.mjs +2 -1
  184. package/dist/lib/components/Toast/ToastRoot.mjs.map +1 -1
  185. package/dist/lib/components/Toggle/ToggleWithText.d.ts +1 -1
  186. package/dist/lib/components/Toggle/ToggleWithText.js +9 -1
  187. package/dist/lib/components/Toggle/ToggleWithText.mjs +1 -1
  188. package/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -1
  189. package/dist/lib/components/Toggle/index.d.ts +1 -1
  190. package/dist/lib/components/Toggle/index.js +9 -1
  191. package/dist/lib/components/Toggle/index.mjs +1 -1
  192. package/dist/lib/components/Toggle/index.mjs.map +1 -1
  193. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +10 -2
  194. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +2 -1
  195. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -1
  196. package/dist/lib/components/ToggleSwitch/index.d.ts +1 -1
  197. package/dist/lib/components/ToggleSwitch/index.js +13 -1
  198. package/dist/lib/components/ToggleSwitch/index.mjs +1 -1
  199. package/dist/lib/components/ToggleSwitch/index.mjs.map +1 -1
  200. package/dist/lib/components/Tooltip/index.d.ts +2 -2
  201. package/dist/lib/components/Tooltip/index.js +13 -8
  202. package/dist/lib/components/Tooltip/index.mjs +1 -1
  203. package/dist/lib/components/Tooltip/index.mjs.map +1 -1
  204. package/dist/lib/index.d.ts +1 -0
  205. package/dist/lib/index.js +1 -0
  206. package/dist/lib/index.mjs +1 -1
  207. package/dist/lib/theme/ThemeProvider.d.ts +16 -0
  208. package/dist/lib/theme/ThemeProvider.js +29 -0
  209. package/dist/lib/theme/ThemeProvider.mjs +3 -0
  210. package/dist/lib/theme/ThemeProvider.mjs.map +1 -0
  211. package/dist/lib/theme/index.d.ts +2 -0
  212. package/dist/lib/theme/index.js +2 -0
  213. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  214. package/dist/lib/utils/useDarkMode.js +1 -0
  215. package/dist/lib/utils/useDarkMode.mjs +1 -0
  216. package/dist/lib/utils/useDarkMode.mjs.map +1 -1
  217. package/dist/tsconfig.tsbuildinfo +1 -1
  218. package/package.json +141 -141
  219. package/dist/.storybook/main.d.ts +0 -3
  220. package/dist/.storybook/main.js +0 -22
  221. package/dist/.storybook/manager.d.ts +0 -1
  222. package/dist/.storybook/manager.js +0 -12
  223. package/dist/.storybook/preview.d.ts +0 -8
  224. package/dist/.storybook/preview.js +0 -81
package/README.md CHANGED
@@ -1,133 +1,133 @@
1
- # LOTTE UI COMPONENT LIBRARY
2
-
3
- <br />
4
-
5
- ## 목차
6
-
7
- - [Introduction](#introduction)
8
- - [Installation](#installation)
9
- - [Setup](#setup)
10
- - [Usage](#usage)
11
- - [Components](#components)
12
- - [License](#license)
13
-
14
- ## Introduction
15
-
16
- 모든 L-UI 구성 요소를 내보내는 단일 패키지입니다.
17
-
18
- 일관되고 통일된 컴포넌트를 제공하며 사용자 정의 및 재사용 가능합니다.
19
-
20
- 이 라이브러리는 React로 구축된 프로젝트를 지원합니다.
21
-
22
- ## Installation
23
-
24
- 패키지를 설치하기 위해 아래 명령어를 사용합니다.
25
-
26
- ```bash
27
- npm i @lotte-innovate/lui
28
- ```
29
-
30
- ```bash
31
- yarn add @lotte-innovate/lui
32
- ```
33
-
34
- ## Setup
35
-
36
- 패키지를 설치한 후 css 스타일을 프로젝트로 가져옵니다.
37
-
38
- 프로젝트 App 진입 파일에 다음 줄을 추가해줍니다.
39
-
40
- ```
41
- import '@lotte-innovate/lui/dist/globals.css';
42
- ```
43
-
44
- ## Usage
45
-
46
- React 프로젝트에서 컴포넌트를 사용하는 방법에 대한 예시입니다.
47
-
48
- ```javascript
49
- import React from 'react';
50
- import { Button } from '@lotte-innovate/lui';
51
-
52
- const App = () => {
53
- return (
54
- <div>
55
- <Button onClick={() => alert('Button clicked!')}>Click Me</Button>
56
- </div>
57
- );
58
- };
59
-
60
- export default App;
61
- ```
62
-
63
- 컴포넌트에서 아이콘을 사용하려면, 다음과 같은 방법으로 아이콘을 가져올 수 있습니다.
64
-
65
- ```javascript
66
- import React from 'react';
67
- import { IconButton } from '@lotte-innovate/lui';
68
- import { MagnifyingGlassIcon } from '@radix-ui/react-icons';
69
-
70
- const App = () => {
71
- return (
72
- <div>
73
- <IconButton>
74
- <MagnifyingGlassIcon />
75
- </IconButton>
76
- </div>
77
- );
78
- };
79
-
80
- export default App;
81
- ```
82
-
83
- ## Components
84
-
85
- <br />
86
-
87
- <details>
88
- <summary>컴포넌트 목록</summary>
89
-
90
- | 구분 | 종류 |
91
- | --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
92
- | Typography 컴포넌트 | Text, Header |
93
- | 기본 컴포넌트 | Avatar, Badge, Button, Icon Button, Label |
94
- | 입력 컴포넌트 | Checkbox, Checkbox Group, Checkbox Cards, Radio, Radio Group, Radio Cards, Select, Slider, Switch, Text Area, Text Field, Toggle, Toggle Group |
95
- | 네비게이션 컴포넌트 | Menubar, Navigation Menu, Tabs, Tab Nav |
96
- | 레이아웃 컴포넌트 | Aspeact Ratio, Card, Inset, Scroll Area, Separator, Table |
97
- | 피드백 컴포넌트 | Alert Dialog, Dialog, Hover Card, Popover, Toast, Tooltip |
98
- | 로딩 컴포넌트 | Progress, Skeleton, Spinner, |
99
- | 메뉴 및 선택 컴포넌트 | Context Menu, Dropdown Menu, Segmented Control |
100
- | 기타 컴포넌트 | Accordian, Callout |
101
-
102
- </details>
103
- <details>
104
- <summary>차트 목록</summary>
105
-
106
- | 구분 | 종류 |
107
- | --------- | ------------- |
108
- | 비교 차트 | Bar, Line |
109
- | 구성 차트 | Pie, Doughnut |
110
- | 분포 차트 | Bubble |
111
- | 관계 차트 | Radar |
112
-
113
- </details>
114
-
115
- <details>
116
- <summary>공통 Props 목록</summary>
117
-
118
- | name | description | 단계 | option |
119
- | ---------- | ------------------------------------------------- | -------- | --------------------------------------------- |
120
- | Color | 27가지 색상을 라이트/다크/알파/알파다크 모드 제공 | 1~12단계 | blue, crimson, teal, orange, purple, amber... |
121
- | Radius | 컴포넌트의 둥글기 적용 | 5단계 | none, small, medium, large, full |
122
- | Scaling | 컴포넌트의 비율 | 5단계 | 90%, 95%, 100%, 105%, 110% |
123
- | Weight | 컴포넌트의 텍스트 굵기 | 4단계 | regular, medium, semibold, bold |
124
- | Appearance | 컴포넌트의 디자인 스타일 | 6단계 | classic, ghost, outline, soft, solid, surface |
125
- | Size | 컴포넌트의 크기 | 5단계 | x-small, small, medium, large, x-large |
126
-
127
- </details>
128
-
129
- <br />
130
-
131
- ## License
132
-
133
- @lotte-innovate
1
+ # LOTTE UI COMPONENT LIBRARY
2
+
3
+ <br />
4
+
5
+ ## 목차
6
+
7
+ - [Introduction](#introduction)
8
+ - [Installation](#installation)
9
+ - [Setup](#setup)
10
+ - [Usage](#usage)
11
+ - [Components](#components)
12
+ - [License](#license)
13
+
14
+ ## Introduction
15
+
16
+ 모든 L-UI 구성 요소를 내보내는 단일 패키지입니다.
17
+
18
+ 일관되고 통일된 컴포넌트를 제공하며 사용자 정의 및 재사용 가능합니다.
19
+
20
+ 이 라이브러리는 React로 구축된 프로젝트를 지원합니다.
21
+
22
+ ## Installation
23
+
24
+ 패키지를 설치하기 위해 아래 명령어를 사용합니다.
25
+
26
+ ```bash
27
+ npm i @lotte-innovate/lui
28
+ ```
29
+
30
+ ```bash
31
+ yarn add @lotte-innovate/lui
32
+ ```
33
+
34
+ ## Setup
35
+
36
+ 패키지를 설치한 후 css 스타일을 프로젝트로 가져옵니다.
37
+
38
+ 프로젝트 App 진입 파일에 다음 줄을 추가해줍니다.
39
+
40
+ ```
41
+ import '@lotte-innovate/lui/dist/globals.css';
42
+ ```
43
+
44
+ ## Usage
45
+
46
+ React 프로젝트에서 컴포넌트를 사용하는 방법에 대한 예시입니다.
47
+
48
+ ```javascript
49
+ import React from 'react';
50
+ import { Button } from '@lotte-innovate/lui';
51
+
52
+ const App = () => {
53
+ return (
54
+ <div>
55
+ <Button onClick={() => alert('Button clicked!')}>Click Me</Button>
56
+ </div>
57
+ );
58
+ };
59
+
60
+ export default App;
61
+ ```
62
+
63
+ 컴포넌트에서 아이콘을 사용하려면, 다음과 같은 방법으로 아이콘을 가져올 수 있습니다.
64
+
65
+ ```javascript
66
+ import React from 'react';
67
+ import { IconButton } from '@lotte-innovate/lui';
68
+ import { MagnifyingGlassIcon } from '@radix-ui/react-icons';
69
+
70
+ const App = () => {
71
+ return (
72
+ <div>
73
+ <IconButton>
74
+ <MagnifyingGlassIcon />
75
+ </IconButton>
76
+ </div>
77
+ );
78
+ };
79
+
80
+ export default App;
81
+ ```
82
+
83
+ ## Components
84
+
85
+ <br />
86
+
87
+ <details>
88
+ <summary>컴포넌트 목록</summary>
89
+
90
+ | 구분 | 종류 |
91
+ | --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
92
+ | Typography 컴포넌트 | Text, Header |
93
+ | 기본 컴포넌트 | Avatar, Badge, Button, Icon Button, Label |
94
+ | 입력 컴포넌트 | Checkbox, Checkbox Group, Checkbox Cards, Radio, Radio Group, Radio Cards, Select, Slider, Switch, Text Area, Text Field, Toggle, Toggle Group |
95
+ | 네비게이션 컴포넌트 | Menubar, Navigation Menu, Tabs, Tab Nav |
96
+ | 레이아웃 컴포넌트 | Aspeact Ratio, Card, Inset, Scroll Area, Separator, Table |
97
+ | 피드백 컴포넌트 | Alert Dialog, Dialog, Hover Card, Popover, Toast, Tooltip |
98
+ | 로딩 컴포넌트 | Progress, Skeleton, Spinner, |
99
+ | 메뉴 및 선택 컴포넌트 | Context Menu, Dropdown Menu, Segmented Control |
100
+ | 기타 컴포넌트 | Accordian, Callout |
101
+
102
+ </details>
103
+ <details>
104
+ <summary>차트 목록</summary>
105
+
106
+ | 구분 | 종류 |
107
+ | --------- | ------------- |
108
+ | 비교 차트 | Bar, Line |
109
+ | 구성 차트 | Pie, Doughnut |
110
+ | 분포 차트 | Bubble |
111
+ | 관계 차트 | Radar |
112
+
113
+ </details>
114
+
115
+ <details>
116
+ <summary>공통 Props 목록</summary>
117
+
118
+ | name | description | 단계 | option |
119
+ | ---------- | ------------------------------------------------- | -------- | --------------------------------------------- |
120
+ | Color | 27가지 색상을 라이트/다크/알파/알파다크 모드 제공 | 1~12단계 | blue, crimson, teal, orange, purple, amber... |
121
+ | Radius | 컴포넌트의 둥글기 적용 | 5단계 | none, small, medium, large, full |
122
+ | Scaling | 컴포넌트의 비율 | 5단계 | 90%, 95%, 100%, 105%, 110% |
123
+ | Weight | 컴포넌트의 텍스트 굵기 | 4단계 | regular, medium, semibold, bold |
124
+ | Appearance | 컴포넌트의 디자인 스타일 | 6단계 | classic, ghost, outline, soft, solid, surface |
125
+ | Size | 컴포넌트의 크기 | 5단계 | x-small, small, medium, large, x-large |
126
+
127
+ </details>
128
+
129
+ <br />
130
+
131
+ ## License
132
+
133
+ @lotte-innovate