@ceed/ads 1.35.1 → 1.37.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/README.md +85 -95
  2. package/dist/components/Accordions/Accordions.d.ts +1 -0
  3. package/dist/components/Alert/Alert.d.ts +5 -5
  4. package/dist/components/Autocomplete/Autocomplete.d.ts +2 -2
  5. package/dist/components/Avatar/Avatar.d.ts +7 -17
  6. package/dist/components/Box/Box.d.ts +1 -0
  7. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +6 -5
  8. package/dist/components/Button/Button.d.ts +3 -2
  9. package/dist/components/Calendar/Calendar.d.ts +1 -0
  10. package/dist/components/Card/Card.d.ts +1 -0
  11. package/dist/components/Checkbox/Checkbox.d.ts +1 -0
  12. package/dist/components/Chip/Chip.d.ts +1 -0
  13. package/dist/components/Container/Container.d.ts +6 -1
  14. package/dist/components/DialogActions/DialogActions.d.ts +1 -0
  15. package/dist/components/DialogContent/DialogContent.d.ts +1 -0
  16. package/dist/components/DialogFrame/DialogFrame.d.ts +1 -1
  17. package/dist/components/DialogTitle/DialogTitle.d.ts +1 -0
  18. package/dist/components/Divider/Divider.d.ts +1 -0
  19. package/dist/components/Dropdown/Dropdown.d.ts +28 -1
  20. package/dist/components/FilterMenu/components/MonthRange.d.ts +11 -0
  21. package/dist/components/FilterMenu/types.d.ts +5 -1
  22. package/dist/components/FilterableCheckboxGroup/FilterableCheckboxGroup.d.ts +1 -1
  23. package/dist/components/FormControl/FormControl.d.ts +1 -0
  24. package/dist/components/FormHelperText/FormHelperText.d.ts +1 -0
  25. package/dist/components/FormLabel/FormLabel.d.ts +1 -0
  26. package/dist/components/Grid/Grid.d.ts +1 -0
  27. package/dist/components/IconButton/IconButton.d.ts +3 -2
  28. package/dist/components/IconMenuButton/IconMenuButton.d.ts +7 -6
  29. package/dist/components/InfoSign/InfoSign.d.ts +3 -2
  30. package/dist/components/Input/Input.d.ts +8 -22
  31. package/dist/components/InsetDrawer/InsetDrawer.d.ts +1 -0
  32. package/dist/components/Markdown/Markdown.d.ts +9 -24
  33. package/dist/components/Menu/Menu.d.ts +2 -1
  34. package/dist/components/MenuButton/MenuButton.d.ts +10 -8
  35. package/dist/components/Modal/Modal.d.ts +4 -2
  36. package/dist/components/NavigationGroup/NavigationGroup.d.ts +3 -2
  37. package/dist/components/NavigationItem/NavigationItem.d.ts +3 -2
  38. package/dist/components/Navigator/Navigator.d.ts +5 -4
  39. package/dist/components/Pagination/Pagination.d.ts +2 -2
  40. package/dist/components/ProfileMenu/ProfileMenu.d.ts +3 -3
  41. package/dist/components/Radio/Radio.d.ts +1 -0
  42. package/dist/components/RadioList/RadioList.d.ts +3 -2
  43. package/dist/components/Select/Select.d.ts +12 -10
  44. package/dist/components/Sheet/Sheet.d.ts +1 -0
  45. package/dist/components/Stack/Stack.d.ts +1 -0
  46. package/dist/components/Stepper/Stepper.d.ts +2 -1
  47. package/dist/components/Switch/Switch.d.ts +1 -0
  48. package/dist/components/Table/Table.d.ts +7 -5
  49. package/dist/components/Tabs/Tabs.d.ts +1 -0
  50. package/dist/components/Textarea/Textarea.d.ts +8 -20
  51. package/dist/components/ThemeProvider/ThemeProvider.d.ts +24 -2
  52. package/dist/components/Tooltip/Tooltip.d.ts +1 -0
  53. package/dist/components/Typography/Typography.d.ts +1 -0
  54. package/dist/components/Uploader/Uploader.d.ts +18 -17
  55. package/dist/components/data-display/Avatar.md +61 -73
  56. package/dist/components/data-display/Badge.md +198 -182
  57. package/dist/components/data-display/Chip.md +165 -143
  58. package/dist/components/data-display/DataTable.md +843 -338
  59. package/dist/components/data-display/InfoSign.md +1 -3
  60. package/dist/components/data-display/Markdown.md +93 -125
  61. package/dist/components/data-display/Table.md +1454 -1008
  62. package/dist/components/data-display/Tooltip.md +1 -1
  63. package/dist/components/data-display/Typography.md +101 -104
  64. package/dist/components/feedback/Alert.md +81 -87
  65. package/dist/components/feedback/CircularProgress.md +34 -38
  66. package/dist/components/feedback/Dialog.md +25 -17
  67. package/dist/components/feedback/Modal.md +297 -266
  68. package/dist/components/feedback/Skeleton.md +125 -89
  69. package/dist/components/index.d.ts +60 -1
  70. package/dist/components/inputs/Autocomplete.md +192 -96
  71. package/dist/components/inputs/Button.md +85 -85
  72. package/dist/components/inputs/ButtonGroup.md +197 -187
  73. package/dist/components/inputs/Calendar.md +25 -28
  74. package/dist/components/inputs/Checkbox.md +13 -31
  75. package/dist/components/inputs/CurrencyInput.md +6 -6
  76. package/dist/components/inputs/DatePicker.md +229 -110
  77. package/dist/components/inputs/DateRangePicker.md +248 -137
  78. package/dist/components/inputs/FilterMenu.md +138 -8
  79. package/dist/components/inputs/FilterableCheckboxGroup.md +116 -56
  80. package/dist/components/inputs/FormControl.md +76 -70
  81. package/dist/components/inputs/IconButton.md +231 -207
  82. package/dist/components/inputs/Input.md +133 -100
  83. package/dist/components/inputs/MonthPicker.md +186 -84
  84. package/dist/components/inputs/MonthRangePicker.md +73 -49
  85. package/dist/components/inputs/PercentageInput.md +17 -33
  86. package/dist/components/inputs/RadioButton.md +322 -258
  87. package/dist/components/inputs/RadioList.md +68 -52
  88. package/dist/components/inputs/RadioTileGroup.md +287 -170
  89. package/dist/components/inputs/SearchBar.md +82 -60
  90. package/dist/components/inputs/Select.md +108 -97
  91. package/dist/components/inputs/Slider.md +155 -104
  92. package/dist/components/inputs/Switch.md +194 -139
  93. package/dist/components/inputs/Textarea.md +17 -22
  94. package/dist/components/inputs/Uploader/Uploader.md +69 -40
  95. package/dist/components/layout/Box.md +841 -662
  96. package/dist/components/layout/Container.md +3 -11
  97. package/dist/components/layout/Grid.md +480 -394
  98. package/dist/components/layout/Stack.md +739 -566
  99. package/dist/components/navigation/Breadcrumbs.md +182 -116
  100. package/dist/components/navigation/Dropdown.md +732 -391
  101. package/dist/components/navigation/IconMenuButton.md +15 -7
  102. package/dist/components/navigation/InsetDrawer.md +550 -378
  103. package/dist/components/navigation/Link.md +104 -94
  104. package/dist/components/navigation/Menu.md +624 -503
  105. package/dist/components/navigation/MenuButton.md +19 -11
  106. package/dist/components/navigation/NavigationGroup.md +19 -50
  107. package/dist/components/navigation/NavigationItem.md +6 -6
  108. package/dist/components/navigation/Navigator.md +26 -28
  109. package/dist/components/navigation/Pagination.md +87 -76
  110. package/dist/components/navigation/ProfileMenu.md +67 -45
  111. package/dist/components/navigation/Stepper.md +2 -12
  112. package/dist/components/navigation/Tabs.md +210 -184
  113. package/dist/components/surfaces/Accordions.md +90 -173
  114. package/dist/components/surfaces/Card.md +1096 -711
  115. package/dist/components/surfaces/Divider.md +562 -412
  116. package/dist/components/surfaces/Sheet.md +700 -518
  117. package/dist/guides/ThemeProvider.md +65 -40
  118. package/dist/index.browser.js +5 -5
  119. package/dist/index.browser.js.map +4 -4
  120. package/dist/index.cjs +1906 -1690
  121. package/dist/index.d.ts +1 -1
  122. package/dist/index.js +1404 -1180
  123. package/framer/index.js +1 -1
  124. package/package.json +34 -36
@@ -5,17 +5,22 @@
5
5
  The Divider component draws a line that visually separates content. It is based on Joy UI's Divider component and adds Framer Motion animation support. You can use it to separate list items, card sections, form areas, and more to improve content readability.
6
6
 
7
7
  ```tsx
8
- <Box sx={{
9
- width: 300,
10
- height: 200,
11
- p: 3
12
- }}>
13
- <Typography level="body-md">위 콘텐츠</Typography>
14
- <Divider {...args} sx={{
15
- my: 2
16
- }} />
17
- <Typography level="body-md">아래 콘텐츠</Typography>
18
- </Box>
8
+ <Box
9
+ sx={{
10
+ width: 300,
11
+ height: 200,
12
+ p: 3
13
+ }}
14
+ >
15
+ <Typography level="body-md">위 콘텐츠</Typography>
16
+ <Divider
17
+ {...args}
18
+ sx={{
19
+ my: 2
20
+ }}
21
+ />
22
+ <Typography level="body-md">아래 콘텐츠</Typography>
23
+ </Box>
19
24
  ```
20
25
 
21
26
  | Field | Description | Default |
@@ -46,37 +51,50 @@ The most basic way to use Divider.
46
51
 
47
52
  ```tsx
48
53
  <Stack spacing={3}>
49
- <Box>
50
- <Typography level="title-md" sx={{
51
- mb: 2
52
- }}>
53
- 기본 수평 구분선
54
- </Typography>
55
- <Typography level="body-sm">첫 번째 콘텐츠</Typography>
56
- <Divider sx={{
57
- my: 1
58
- }} />
59
- <Typography level="body-sm">두 번째 콘텐츠</Typography>
60
- </Box>
61
-
62
- <Box sx={{
63
- display: 'flex',
64
- alignItems: 'center',
65
- height: 60
66
- }}>
67
- <Typography level="title-md" sx={{
68
- mr: 2
69
- }}>
70
- 수직 구분선
71
- </Typography>
72
- <Divider orientation="vertical" />
73
- <Typography level="title-md" sx={{
74
- ml: 2
75
- }}>
76
- 다른 섹션
77
- </Typography>
78
- </Box>
79
- </Stack>
54
+ <Box>
55
+ <Typography
56
+ level="title-md"
57
+ sx={{
58
+ mb: 2
59
+ }}
60
+ >
61
+ 기본 수평 구분선
62
+ </Typography>
63
+ <Typography level="body-sm">첫 번째 콘텐츠</Typography>
64
+ <Divider
65
+ sx={{
66
+ my: 1
67
+ }}
68
+ />
69
+ <Typography level="body-sm">두 번째 콘텐츠</Typography>
70
+ </Box>
71
+
72
+ <Box
73
+ sx={{
74
+ display: "flex",
75
+ alignItems: "center",
76
+ height: 60
77
+ }}
78
+ >
79
+ <Typography
80
+ level="title-md"
81
+ sx={{
82
+ mr: 2
83
+ }}
84
+ >
85
+ 수직 구분선
86
+ </Typography>
87
+ <Divider orientation="vertical" />
88
+ <Typography
89
+ level="title-md"
90
+ sx={{
91
+ ml: 2
92
+ }}
93
+ >
94
+ 다른 섹션
95
+ </Typography>
96
+ </Box>
97
+ </Stack>
80
98
  ```
81
99
 
82
100
  ## Divider Orientations
@@ -85,35 +103,49 @@ You can set the direction of the divider.
85
103
 
86
104
  ```tsx
87
105
  <Stack spacing={4}>
88
- <Box>
89
- <Typography level="title-sm" sx={{
90
- mb: 2
91
- }}>
92
- Horizontal (기본)
93
- </Typography>
94
- <Typography level="body-sm">첫 번째 섹션</Typography>
95
- <Divider orientation="horizontal" sx={{
96
- my: 1
97
- }} />
98
- <Typography level="body-sm">두 번째 섹션</Typography>
99
- </Box>
100
-
101
- <Box sx={{
102
- display: 'flex',
103
- alignItems: 'center',
104
- height: 80
105
- }}>
106
- <Typography level="title-sm" sx={{
107
- mr: 2
108
- }}>
109
- Vertical
110
- </Typography>
111
- <Divider orientation="vertical" sx={{
112
- mx: 2
113
- }} />
114
- <Typography level="title-sm">수직 구분선은 요소들을 좌우로 구분합니다</Typography>
115
- </Box>
116
- </Stack>
106
+ <Box>
107
+ <Typography
108
+ level="title-sm"
109
+ sx={{
110
+ mb: 2
111
+ }}
112
+ >
113
+ Horizontal (기본)
114
+ </Typography>
115
+ <Typography level="body-sm">첫 번째 섹션</Typography>
116
+ <Divider
117
+ orientation="horizontal"
118
+ sx={{
119
+ my: 1
120
+ }}
121
+ />
122
+ <Typography level="body-sm">두 번째 섹션</Typography>
123
+ </Box>
124
+
125
+ <Box
126
+ sx={{
127
+ display: "flex",
128
+ alignItems: "center",
129
+ height: 80
130
+ }}
131
+ >
132
+ <Typography
133
+ level="title-sm"
134
+ sx={{
135
+ mr: 2
136
+ }}
137
+ >
138
+ Vertical
139
+ </Typography>
140
+ <Divider
141
+ orientation="vertical"
142
+ sx={{
143
+ mx: 2
144
+ }}
145
+ />
146
+ <Typography level="title-sm">수직 구분선은 요소들을 좌우로 구분합니다</Typography>
147
+ </Box>
148
+ </Stack>
117
149
  ```
118
150
 
119
151
  ## Divider Colors
@@ -122,20 +154,28 @@ You can apply various colors.
122
154
 
123
155
  ```tsx
124
156
  <Stack spacing={3}>
125
- {['primary', 'neutral', 'danger', 'success', 'warning'].map(color => <Box key={color}>
126
- <Typography level="title-sm" sx={{
127
- mb: 1,
128
- textTransform: 'capitalize'
129
- }}>
130
- {color}
131
- </Typography>
132
- <Typography level="body-sm">위 콘텐츠</Typography>
133
- <Divider color={color as any} sx={{
134
- my: 1
135
- }} />
136
- <Typography level="body-sm">아래 콘텐츠</Typography>
137
- </Box>)}
138
- </Stack>
157
+ {["primary", "neutral", "danger", "success", "warning"].map((color) => (
158
+ <Box key={color}>
159
+ <Typography
160
+ level="title-sm"
161
+ sx={{
162
+ mb: 1,
163
+ textTransform: "capitalize"
164
+ }}
165
+ >
166
+ {color}
167
+ </Typography>
168
+ <Typography level="body-sm">위 콘텐츠</Typography>
169
+ <Divider
170
+ color={color as any}
171
+ sx={{
172
+ my: 1
173
+ }}
174
+ />
175
+ <Typography level="body-sm">아래 콘텐츠</Typography>
176
+ </Box>
177
+ ))}
178
+ </Stack>
139
179
  ```
140
180
 
141
181
  ## Divider With Text
@@ -144,30 +184,36 @@ You can place text in the center of the divider.
144
184
 
145
185
  ```tsx
146
186
  <Stack spacing={3}>
147
- <Box>
148
- <Typography level="body-md">로그인 정보</Typography>
149
- <Divider sx={{
150
- my: 2
151
- }}>또는</Divider>
152
- <Typography level="body-md">소셜 로그인</Typography>
153
- </Box>
154
-
155
- <Box>
156
- <Typography level="body-md">개인 정보</Typography>
157
- <Divider sx={{
158
- my: 2,
159
- '&::before, &::after': {
160
- border: '1px solid',
161
- borderColor: 'primary.500'
162
- }
163
- }}>
164
- <Typography level="title-sm" color="primary">
165
- 추가 정보
166
- </Typography>
167
- </Divider>
168
- <Typography level="body-md">추가 세부사항</Typography>
169
- </Box>
170
- </Stack>
187
+ <Box>
188
+ <Typography level="body-md">로그인 정보</Typography>
189
+ <Divider
190
+ sx={{
191
+ my: 2
192
+ }}
193
+ >
194
+ 또는
195
+ </Divider>
196
+ <Typography level="body-md">소셜 로그인</Typography>
197
+ </Box>
198
+
199
+ <Box>
200
+ <Typography level="body-md">개인 정보</Typography>
201
+ <Divider
202
+ sx={{
203
+ my: 2,
204
+ "&::before, &::after": {
205
+ border: "1px solid",
206
+ borderColor: "primary.500"
207
+ }
208
+ }}
209
+ >
210
+ <Typography level="title-sm" color="primary">
211
+ 추가 정보
212
+ </Typography>
213
+ </Divider>
214
+ <Typography level="body-md">추가 세부사항</Typography>
215
+ </Box>
216
+ </Stack>
171
217
  ```
172
218
 
173
219
  ## Divider In Cards
@@ -176,98 +222,136 @@ You can use it to separate sections inside cards or panels.
176
222
 
177
223
  ```tsx
178
224
  <Stack direction="row" spacing={3}>
179
- <Sheet variant="outlined" sx={{
180
- p: 3,
181
- minWidth: 250,
182
- borderRadius: 'md'
183
- }}>
184
- <Typography level="title-lg" sx={{
185
- mb: 2
186
- }}>
187
- 사용자 정보
188
- </Typography>
189
- <Typography level="body-sm" sx={{
190
- mb: 1
191
- }}>
192
- 이름: 김철수
193
- </Typography>
194
- <Typography level="body-sm" sx={{
195
- mb: 2
196
- }}>
197
- 이메일: kim@example.com
198
- </Typography>
199
-
200
- <Divider sx={{
201
- my: 2
202
- }} />
203
-
204
- <Typography level="title-md" sx={{
205
- mb: 2
206
- }}>
207
- 통계
208
- </Typography>
209
- <Typography level="body-sm" sx={{
210
- mb: 1
211
- }}>
212
- 가입일: 2024.01.15
213
- </Typography>
214
- <Typography level="body-sm">활동 점수: 1,234</Typography>
215
- </Sheet>
225
+ <Sheet
226
+ variant="outlined"
227
+ sx={{
228
+ p: 3,
229
+ minWidth: 250,
230
+ borderRadius: "md"
231
+ }}
232
+ >
233
+ <Typography
234
+ level="title-lg"
235
+ sx={{
236
+ mb: 2
237
+ }}
238
+ >
239
+ 사용자 정보
240
+ </Typography>
241
+ <Typography
242
+ level="body-sm"
243
+ sx={{
244
+ mb: 1
245
+ }}
246
+ >
247
+ 이름: 김철수
248
+ </Typography>
249
+ <Typography
250
+ level="body-sm"
251
+ sx={{
252
+ mb: 2
253
+ }}
254
+ >
255
+ 이메일: kim@example.com
256
+ </Typography>
216
257
 
217
- <Sheet variant="outlined" sx={{
218
- p: 3,
219
- minWidth: 250,
220
- borderRadius: 'md'
221
- }}>
222
- <Typography level="title-lg" sx={{
223
- mb: 2
224
- }}>
225
- 프로젝트 현황
226
- </Typography>
227
-
228
- <Box sx={{
229
- display: 'flex',
230
- justifyContent: 'space-between',
231
- mb: 1
232
- }}>
233
- <Typography level="body-sm">완료</Typography>
234
- <Typography level="body-sm" color="success">
235
- 12
236
- </Typography>
237
- </Box>
238
-
239
- <Divider color="neutral" sx={{
240
- my: 1,
241
- opacity: 0.3
242
- }} />
243
-
244
- <Box sx={{
245
- display: 'flex',
246
- justifyContent: 'space-between',
247
- mb: 1
248
- }}>
249
- <Typography level="body-sm">진행중</Typography>
250
- <Typography level="body-sm" color="warning">
251
- 5
252
- </Typography>
253
- </Box>
254
-
255
- <Divider color="neutral" sx={{
256
- my: 1,
257
- opacity: 0.3
258
- }} />
259
-
260
- <Box sx={{
261
- display: 'flex',
262
- justifyContent: 'space-between'
263
- }}>
264
- <Typography level="body-sm">대기</Typography>
265
- <Typography level="body-sm" color="neutral">
266
- 3
267
- </Typography>
268
- </Box>
269
- </Sheet>
270
- </Stack>
258
+ <Divider
259
+ sx={{
260
+ my: 2
261
+ }}
262
+ />
263
+
264
+ <Typography
265
+ level="title-md"
266
+ sx={{
267
+ mb: 2
268
+ }}
269
+ >
270
+ 통계
271
+ </Typography>
272
+ <Typography
273
+ level="body-sm"
274
+ sx={{
275
+ mb: 1
276
+ }}
277
+ >
278
+ 가입일: 2024.01.15
279
+ </Typography>
280
+ <Typography level="body-sm">활동 점수: 1,234</Typography>
281
+ </Sheet>
282
+
283
+ <Sheet
284
+ variant="outlined"
285
+ sx={{
286
+ p: 3,
287
+ minWidth: 250,
288
+ borderRadius: "md"
289
+ }}
290
+ >
291
+ <Typography
292
+ level="title-lg"
293
+ sx={{
294
+ mb: 2
295
+ }}
296
+ >
297
+ 프로젝트 현황
298
+ </Typography>
299
+
300
+ <Box
301
+ sx={{
302
+ display: "flex",
303
+ justifyContent: "space-between",
304
+ mb: 1
305
+ }}
306
+ >
307
+ <Typography level="body-sm">완료</Typography>
308
+ <Typography level="body-sm" color="success">
309
+ 12
310
+ </Typography>
311
+ </Box>
312
+
313
+ <Divider
314
+ color="neutral"
315
+ sx={{
316
+ my: 1,
317
+ opacity: 0.3
318
+ }}
319
+ />
320
+
321
+ <Box
322
+ sx={{
323
+ display: "flex",
324
+ justifyContent: "space-between",
325
+ mb: 1
326
+ }}
327
+ >
328
+ <Typography level="body-sm">진행중</Typography>
329
+ <Typography level="body-sm" color="warning">
330
+ 5
331
+ </Typography>
332
+ </Box>
333
+
334
+ <Divider
335
+ color="neutral"
336
+ sx={{
337
+ my: 1,
338
+ opacity: 0.3
339
+ }}
340
+ />
341
+
342
+ <Box
343
+ sx={{
344
+ display: "flex",
345
+ justifyContent: "space-between"
346
+ }}
347
+ >
348
+ <Typography level="body-sm">대기</Typography>
349
+ <Typography level="body-sm" color="neutral">
350
+ 3
351
+ </Typography>
352
+ </Box>
353
+ </Sheet>
354
+ </Stack>
271
355
  ```
272
356
 
273
357
  ## Divider List Separators
@@ -275,43 +359,52 @@ You can use it to separate sections inside cards or panels.
275
359
  You can use it as a separator between list items.
276
360
 
277
361
  ```tsx
278
- <Sheet variant="outlined" sx={{
279
- maxWidth: 400,
280
- borderRadius: 'md'
281
- }}>
282
- <Stack>
283
- <Box sx={{
284
- p: 2
285
- }}>
286
- <Typography level="body-md">첫 번째 항목</Typography>
287
- <Typography level="body-xs" color="neutral">
288
- 번째 항목에 대한 설명입니다.
289
- </Typography>
290
- </Box>
291
-
292
- <Divider />
293
-
294
- <Box sx={{
295
- p: 2
296
- }}>
297
- <Typography level="body-md">두 번째 항목</Typography>
298
- <Typography level="body-xs" color="neutral">
299
- 두 번째 항목에 대한 설명입니다.
300
- </Typography>
301
- </Box>
302
-
303
- <Divider />
304
-
305
- <Box sx={{
306
- p: 2
307
- }}>
308
- <Typography level="body-md">세 번째 항목</Typography>
309
- <Typography level="body-xs" color="neutral">
310
- 번째 항목에 대한 설명입니다.
311
- </Typography>
312
- </Box>
313
- </Stack>
314
- </Sheet>
362
+ <Sheet
363
+ variant="outlined"
364
+ sx={{
365
+ maxWidth: 400,
366
+ borderRadius: "md"
367
+ }}
368
+ >
369
+ <Stack>
370
+ <Box
371
+ sx={{
372
+ p: 2
373
+ }}
374
+ >
375
+ <Typography level="body-md">첫 번째 항목</Typography>
376
+ <Typography level="body-xs" color="neutral">
377
+ 첫 번째 항목에 대한 설명입니다.
378
+ </Typography>
379
+ </Box>
380
+
381
+ <Divider />
382
+
383
+ <Box
384
+ sx={{
385
+ p: 2
386
+ }}
387
+ >
388
+ <Typography level="body-md">두 번째 항목</Typography>
389
+ <Typography level="body-xs" color="neutral">
390
+ 번째 항목에 대한 설명입니다.
391
+ </Typography>
392
+ </Box>
393
+
394
+ <Divider />
395
+
396
+ <Box
397
+ sx={{
398
+ p: 2
399
+ }}
400
+ >
401
+ <Typography level="body-md">세 번째 항목</Typography>
402
+ <Typography level="body-xs" color="neutral">
403
+ 세 번째 항목에 대한 설명입니다.
404
+ </Typography>
405
+ </Box>
406
+ </Stack>
407
+ </Sheet>
315
408
  ```
316
409
 
317
410
  ## Divider Responsive Orientation
@@ -320,51 +413,64 @@ You can change the orientation based on screen size.
320
413
 
321
414
  ```tsx
322
415
  <Stack spacing={3}>
323
- <Typography level="title-md">화면 크기에 따라 방향이 바뀌는 구분선</Typography>
324
-
325
- <Box sx={{
326
- display: 'flex',
327
- flexDirection: {
328
- xs: 'column',
329
- sm: 'row'
330
- },
331
- alignItems: 'center',
332
- gap: 2,
333
- p: 3,
334
- bgcolor: 'background.level1',
335
- borderRadius: 'md'
336
- }}>
337
- <Typography level="body-md" sx={{
338
- textAlign: 'center'
339
- }}>
340
- 첫 번째 섹션
341
- </Typography>
342
-
343
- <Divider orientation={{
344
- xs: 'horizontal',
345
- sm: 'vertical'
346
- } as any} sx={{
347
- width: {
348
- xs: '100%',
349
- sm: 'auto'
350
- },
351
- height: {
352
- xs: 'auto',
353
- sm: 40
354
- }
355
- }} />
356
-
357
- <Typography level="body-md" sx={{
358
- textAlign: 'center'
359
- }}>
360
- 번째 섹션
361
- </Typography>
362
- </Box>
363
-
364
- <Typography level="body-xs" color="neutral">
365
- * 화면 크기를 조절하여 구분선 방향 변화를 확인하세요
366
- </Typography>
367
- </Stack>
416
+ <Typography level="title-md">화면 크기에 따라 방향이 바뀌는 구분선</Typography>
417
+
418
+ <Box
419
+ sx={{
420
+ display: "flex",
421
+ flexDirection: {
422
+ xs: "column",
423
+ sm: "row"
424
+ },
425
+ alignItems: "center",
426
+ gap: 2,
427
+ p: 3,
428
+ bgcolor: "background.level1",
429
+ borderRadius: "md"
430
+ }}
431
+ >
432
+ <Typography
433
+ level="body-md"
434
+ sx={{
435
+ textAlign: "center"
436
+ }}
437
+ >
438
+ 번째 섹션
439
+ </Typography>
440
+
441
+ <Divider
442
+ orientation={
443
+ {
444
+ xs: "horizontal",
445
+ sm: "vertical"
446
+ } as any
447
+ }
448
+ sx={{
449
+ width: {
450
+ xs: "100%",
451
+ sm: "auto"
452
+ },
453
+ height: {
454
+ xs: "auto",
455
+ sm: 40
456
+ }
457
+ }}
458
+ />
459
+
460
+ <Typography
461
+ level="body-md"
462
+ sx={{
463
+ textAlign: "center"
464
+ }}
465
+ >
466
+ 두 번째 섹션
467
+ </Typography>
468
+ </Box>
469
+
470
+ <Typography level="body-xs" color="neutral">
471
+ * 화면 크기를 조절하여 구분선 방향 변화를 확인하세요
472
+ </Typography>
473
+ </Stack>
368
474
  ```
369
475
 
370
476
  ## Divider With Motion
@@ -373,67 +479,91 @@ You can apply Framer Motion animations.
373
479
 
374
480
  ```tsx
375
481
  <Stack spacing={3}>
376
- <Typography level="title-md">Framer Motion 애니메이션이 적용된 구분선</Typography>
377
-
378
- <Box sx={{
379
- p: 3,
380
- bgcolor: 'background.level1',
381
- borderRadius: 'md'
382
- }}>
383
- <Typography level="body-md" sx={{
384
- mb: 2
385
- }}>
386
- 위 콘텐츠
387
- </Typography>
388
-
389
- <Divider initial={{
390
- scaleX: 0
391
- }} animate={{
392
- scaleX: 1
393
- }} transition={{
394
- duration: 1,
395
- ease: 'easeOut'
396
- }} sx={{
397
- my: 2,
398
- transformOrigin: 'left'
399
- }} />
400
-
401
- <Typography level="body-md">아래 콘텐츠 (구분선이 애니메이션과 함께 나타남)</Typography>
402
- </Box>
403
-
404
- <Box sx={{
405
- display: 'flex',
406
- alignItems: 'center',
407
- p: 3,
408
- bgcolor: 'background.level1',
409
- borderRadius: 'md'
410
- }}>
411
- <Typography level="body-md" sx={{
412
- mr: 3
413
- }}>
414
- 좌측 콘텐츠
415
- </Typography>
416
-
417
- <Divider orientation="vertical" initial={{
418
- scaleY: 0
419
- }} animate={{
420
- scaleY: 1
421
- }} transition={{
422
- duration: 1,
423
- delay: 0.5
424
- }} sx={{
425
- mx: 2,
426
- height: 40,
427
- transformOrigin: 'top'
428
- }} />
429
-
430
- <Typography level="body-md" sx={{
431
- ml: 3
432
- }}>
433
- 우측 콘텐츠
434
- </Typography>
435
- </Box>
436
- </Stack>
482
+ <Typography level="title-md">Framer Motion 애니메이션이 적용된 구분선</Typography>
483
+
484
+ <Box
485
+ sx={{
486
+ p: 3,
487
+ bgcolor: "background.level1",
488
+ borderRadius: "md"
489
+ }}
490
+ >
491
+ <Typography
492
+ level="body-md"
493
+ sx={{
494
+ mb: 2
495
+ }}
496
+ >
497
+ 콘텐츠
498
+ </Typography>
499
+
500
+ <Divider
501
+ initial={{
502
+ scaleX: 0
503
+ }}
504
+ animate={{
505
+ scaleX: 1
506
+ }}
507
+ transition={{
508
+ duration: 1,
509
+ ease: "easeOut"
510
+ }}
511
+ sx={{
512
+ my: 2,
513
+ transformOrigin: "left"
514
+ }}
515
+ />
516
+
517
+ <Typography level="body-md">아래 콘텐츠 (구분선이 애니메이션과 함께 나타남)</Typography>
518
+ </Box>
519
+
520
+ <Box
521
+ sx={{
522
+ display: "flex",
523
+ alignItems: "center",
524
+ p: 3,
525
+ bgcolor: "background.level1",
526
+ borderRadius: "md"
527
+ }}
528
+ >
529
+ <Typography
530
+ level="body-md"
531
+ sx={{
532
+ mr: 3
533
+ }}
534
+ >
535
+ 좌측 콘텐츠
536
+ </Typography>
537
+
538
+ <Divider
539
+ orientation="vertical"
540
+ initial={{
541
+ scaleY: 0
542
+ }}
543
+ animate={{
544
+ scaleY: 1
545
+ }}
546
+ transition={{
547
+ duration: 1,
548
+ delay: 0.5
549
+ }}
550
+ sx={{
551
+ mx: 2,
552
+ height: 40,
553
+ transformOrigin: "top"
554
+ }}
555
+ />
556
+
557
+ <Typography
558
+ level="body-md"
559
+ sx={{
560
+ ml: 3
561
+ }}
562
+ >
563
+ 우측 콘텐츠
564
+ </Typography>
565
+ </Box>
566
+ </Stack>
437
567
  ```
438
568
 
439
569
  ## Divider Custom Styling
@@ -442,75 +572,95 @@ You can customize the divider with CSS styles.
442
572
 
443
573
  ```tsx
444
574
  <Stack spacing={4}>
445
- <Box>
446
- <Typography level="title-sm" sx={{
447
- mb: 2
448
- }}>
449
- 둥근 모서리 구분선
450
- </Typography>
451
- <Typography level="body-sm">위 콘텐츠</Typography>
452
- <Divider sx={{
453
- my: 2,
454
- borderWidth: 3,
455
- borderRadius: '6px',
456
- borderColor: 'primary.500'
457
- }} />
458
- <Typography level="body-sm">아래 콘텐츠</Typography>
459
- </Box>
460
-
461
- <Box>
462
- <Typography level="title-sm" sx={{
463
- mb: 2
464
- }}>
465
- 그라데이션 구분선 (Box 사용)
466
- </Typography>
467
- <Typography level="body-sm">위 콘텐츠</Typography>
468
- <Box sx={{
469
- height: 2,
470
- my: 2,
471
- background: 'linear-gradient(90deg, transparent, #0073e6, transparent)',
472
- borderRadius: '1px'
473
- }} />
474
- <Typography level="body-sm">아래 콘텐츠</Typography>
475
- </Box>
476
-
477
- <Box>
478
- <Typography level="title-sm" sx={{
479
- mb: 2
480
- }}>
481
- 패턴 구분선 (Box 사용)
482
- </Typography>
483
- <Typography level="body-sm">위 콘텐츠</Typography>
484
- <Box sx={{
485
- height: 3,
486
- my: 2,
487
- background: `repeating-linear-gradient(
488
- 90deg,
489
- #0073e6 0px,
490
- #0073e6 10px,
491
- transparent 10px,
492
- transparent 20px
493
- )`,
494
- borderRadius: '1px'
495
- }} />
496
- <Typography level="body-sm">아래 콘텐츠</Typography>
497
- </Box>
498
-
499
- <Box>
500
- <Typography level="title-sm" sx={{
501
- mb: 2
502
- }}>
503
- 그림자 효과
504
- </Typography>
505
- <Typography level="body-sm">위 콘텐츠</Typography>
506
- <Divider sx={{
507
- my: 2,
508
- borderColor: 'neutral.500',
509
- filter: 'drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.2))'
510
- }} />
511
- <Typography level="body-sm">아래 콘텐츠</Typography>
512
- </Box>
513
- </Stack>
575
+ <Box>
576
+ <Typography
577
+ level="title-sm"
578
+ sx={{
579
+ mb: 2
580
+ }}
581
+ >
582
+ 둥근 모서리 구분선
583
+ </Typography>
584
+ <Typography level="body-sm">위 콘텐츠</Typography>
585
+ <Divider
586
+ sx={{
587
+ my: 2,
588
+ borderWidth: 3,
589
+ borderRadius: "6px",
590
+ borderColor: "primary.500"
591
+ }}
592
+ />
593
+ <Typography level="body-sm">아래 콘텐츠</Typography>
594
+ </Box>
595
+
596
+ <Box>
597
+ <Typography
598
+ level="title-sm"
599
+ sx={{
600
+ mb: 2
601
+ }}
602
+ >
603
+ 그라데이션 구분선 (Box 사용)
604
+ </Typography>
605
+ <Typography level="body-sm">위 콘텐츠</Typography>
606
+ <Box
607
+ sx={{
608
+ height: 2,
609
+ my: 2,
610
+ background: "linear-gradient(90deg, transparent, #0073e6, transparent)",
611
+ borderRadius: "1px"
612
+ }}
613
+ />
614
+ <Typography level="body-sm">아래 콘텐츠</Typography>
615
+ </Box>
616
+
617
+ <Box>
618
+ <Typography
619
+ level="title-sm"
620
+ sx={{
621
+ mb: 2
622
+ }}
623
+ >
624
+ 패턴 구분선 (Box 사용)
625
+ </Typography>
626
+ <Typography level="body-sm">위 콘텐츠</Typography>
627
+ <Box
628
+ sx={{
629
+ height: 3,
630
+ my: 2,
631
+ background: `repeating-linear-gradient(
632
+ 90deg,
633
+ #0073e6 0px,
634
+ #0073e6 10px,
635
+ transparent 10px,
636
+ transparent 20px
637
+ )`,
638
+ borderRadius: "1px"
639
+ }}
640
+ />
641
+ <Typography level="body-sm">아래 콘텐츠</Typography>
642
+ </Box>
643
+
644
+ <Box>
645
+ <Typography
646
+ level="title-sm"
647
+ sx={{
648
+ mb: 2
649
+ }}
650
+ >
651
+ 그림자 효과
652
+ </Typography>
653
+ <Typography level="body-sm">위 콘텐츠</Typography>
654
+ <Divider
655
+ sx={{
656
+ my: 2,
657
+ borderColor: "neutral.500",
658
+ filter: "drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.2))"
659
+ }}
660
+ />
661
+ <Typography level="body-sm">아래 콘텐츠</Typography>
662
+ </Box>
663
+ </Stack>
514
664
  ```
515
665
 
516
666
  ## Key Props