@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.
- package/dist/components/Accordions/Accordions.d.ts +1 -0
- package/dist/components/Alert/Alert.d.ts +5 -5
- package/dist/components/Autocomplete/Autocomplete.d.ts +2 -2
- package/dist/components/Avatar/Avatar.d.ts +7 -17
- package/dist/components/Box/Box.d.ts +1 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +6 -5
- package/dist/components/Button/Button.d.ts +3 -2
- package/dist/components/Calendar/Calendar.d.ts +1 -0
- package/dist/components/Card/Card.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +1 -0
- package/dist/components/Chip/Chip.d.ts +1 -0
- package/dist/components/Container/Container.d.ts +6 -1
- package/dist/components/CurrencyInput/CurrencyInput.d.ts +1 -1
- package/dist/components/DialogActions/DialogActions.d.ts +1 -0
- package/dist/components/DialogContent/DialogContent.d.ts +1 -0
- package/dist/components/DialogFrame/DialogFrame.d.ts +1 -1
- package/dist/components/DialogTitle/DialogTitle.d.ts +1 -0
- package/dist/components/Divider/Divider.d.ts +1 -0
- package/dist/components/Drawer/Drawer.d.ts +1 -0
- package/dist/components/Dropdown/Dropdown.d.ts +28 -1
- package/dist/components/FormControl/FormControl.d.ts +1 -0
- package/dist/components/FormHelperText/FormHelperText.d.ts +1 -0
- package/dist/components/FormLabel/FormLabel.d.ts +1 -0
- package/dist/components/Grid/Grid.d.ts +1 -0
- package/dist/components/IconButton/IconButton.d.ts +3 -2
- package/dist/components/IconMenuButton/IconMenuButton.d.ts +7 -6
- package/dist/components/InfoSign/InfoSign.d.ts +3 -2
- package/dist/components/Input/Input.d.ts +8 -22
- package/dist/components/InsetDrawer/InsetDrawer.d.ts +1 -0
- package/dist/components/Markdown/Markdown.d.ts +9 -24
- package/dist/components/Menu/Menu.d.ts +2 -1
- package/dist/components/MenuButton/MenuButton.d.ts +10 -8
- package/dist/components/Modal/Modal.d.ts +4 -2
- package/dist/components/NavigationGroup/NavigationGroup.d.ts +3 -2
- package/dist/components/NavigationItem/NavigationItem.d.ts +3 -2
- package/dist/components/Navigator/Navigator.d.ts +5 -4
- package/dist/components/Pagination/Pagination.d.ts +1 -1
- package/dist/components/Radio/Radio.d.ts +1 -0
- package/dist/components/RadioList/RadioList.d.ts +3 -2
- package/dist/components/SearchBar/SearchBar.d.ts +6 -5
- package/dist/components/SearchBar/index.d.ts +3 -2
- package/dist/components/Select/Select.d.ts +12 -10
- package/dist/components/Sheet/Sheet.d.ts +1 -0
- package/dist/components/Stack/Stack.d.ts +1 -0
- package/dist/components/Stepper/Stepper.d.ts +2 -1
- package/dist/components/Switch/Switch.d.ts +1 -0
- package/dist/components/Table/Table.d.ts +7 -5
- package/dist/components/Tabs/Tabs.d.ts +1 -0
- package/dist/components/Textarea/Textarea.d.ts +8 -20
- package/dist/components/Tooltip/Tooltip.d.ts +1 -0
- package/dist/components/Typography/Typography.d.ts +1 -0
- package/dist/components/Uploader/Uploader.d.ts +18 -17
- package/dist/components/data-display/Avatar.md +60 -72
- package/dist/components/data-display/Badge.md +197 -181
- package/dist/components/data-display/Chip.md +164 -142
- package/dist/components/data-display/DataTable.md +843 -338
- package/dist/components/data-display/InfoSign.md +1 -3
- package/dist/components/data-display/Markdown.md +93 -125
- package/dist/components/data-display/Table.md +1453 -1007
- package/dist/components/data-display/Typography.md +113 -116
- package/dist/components/feedback/Alert.md +80 -86
- package/dist/components/feedback/CircularProgress.md +32 -36
- package/dist/components/feedback/Dialog.md +25 -17
- package/dist/components/feedback/Modal.md +296 -264
- package/dist/components/feedback/Skeleton.md +125 -89
- package/dist/components/index.d.ts +63 -4
- package/dist/components/inputs/Autocomplete.md +191 -95
- package/dist/components/inputs/Button.md +83 -83
- package/dist/components/inputs/ButtonGroup.md +195 -185
- package/dist/components/inputs/Calendar.md +25 -28
- package/dist/components/inputs/Checkbox.md +11 -29
- package/dist/components/inputs/CurrencyInput.md +4 -4
- package/dist/components/inputs/DatePicker.md +229 -110
- package/dist/components/inputs/DateRangePicker.md +248 -137
- package/dist/components/inputs/FilterableCheckboxGroup.md +115 -55
- package/dist/components/inputs/FormControl.md +75 -69
- package/dist/components/inputs/IconButton.md +229 -205
- package/dist/components/inputs/Input.md +131 -98
- package/dist/components/inputs/MonthPicker.md +186 -84
- package/dist/components/inputs/MonthRangePicker.md +73 -49
- package/dist/components/inputs/PercentageInput.md +15 -31
- package/dist/components/inputs/RadioButton.md +320 -256
- package/dist/components/inputs/RadioList.md +66 -50
- package/dist/components/inputs/RadioTileGroup.md +287 -170
- package/dist/components/inputs/SearchBar.md +154 -55
- package/dist/components/inputs/Select.md +106 -95
- package/dist/components/inputs/Slider.md +153 -102
- package/dist/components/inputs/Switch.md +193 -138
- package/dist/components/inputs/Textarea.md +15 -20
- package/dist/components/inputs/Uploader/Uploader.md +68 -39
- package/dist/components/layout/Box.md +841 -662
- package/dist/components/layout/Container.md +3 -11
- package/dist/components/layout/Grid.md +480 -394
- package/dist/components/layout/Stack.md +739 -566
- package/dist/components/navigation/Breadcrumbs.md +4 -4
- package/dist/components/navigation/Drawer.md +34 -25
- package/dist/components/navigation/Dropdown.md +745 -408
- package/dist/components/navigation/IconMenuButton.md +14 -6
- package/dist/components/navigation/InsetDrawer.md +8 -13
- package/dist/components/navigation/Link.md +1 -2
- package/dist/components/navigation/Menu.md +623 -502
- package/dist/components/navigation/MenuButton.md +18 -10
- package/dist/components/navigation/NavigationGroup.md +19 -50
- package/dist/components/navigation/NavigationItem.md +6 -6
- package/dist/components/navigation/Navigator.md +26 -28
- package/dist/components/navigation/Pagination.md +86 -75
- package/dist/components/navigation/Stepper.md +2 -12
- package/dist/components/navigation/Tabs.md +48 -36
- package/dist/components/surfaces/Accordions.md +89 -172
- package/dist/components/surfaces/Card.md +1094 -709
- package/dist/components/surfaces/Divider.md +562 -412
- package/dist/components/surfaces/Sheet.md +700 -518
- package/dist/guides/ThemeProvider.md +8 -8
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +4 -4
- package/dist/index.cjs +1079 -1052
- package/dist/index.d.ts +2 -1
- package/dist/index.js +725 -690
- package/framer/index.js +1 -1
- 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
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
<
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
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
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
<Typography
|
|
117
|
-
|
|
118
|
-
|
|
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
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
<Typography level="body-sm"
|
|
139
|
-
|
|
140
|
-
|
|
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
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
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
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
}}
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
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
|
-
<
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
<
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
}}
|
|
251
|
-
|
|
252
|
-
<Typography
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
</
|
|
272
|
-
</
|
|
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
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
<
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
<
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
<
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
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
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
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
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
<Typography level="body-md"
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
}}
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
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
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
<Typography
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
<
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
<Typography level="body-sm"
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
<Typography level="body-sm">아래 콘텐츠</Typography>
|
|
514
|
-
</Box>
|
|
515
|
-
|
|
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
|