@ceed/cds 1.34.0 → 1.35.0

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