@ceed/ads 1.35.0 → 1.36.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/README.md +85 -95
- 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/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/Dropdown/Dropdown.d.ts +28 -1
- package/dist/components/FilterMenu/components/MonthRange.d.ts +11 -0
- package/dist/components/FilterMenu/types.d.ts +5 -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/ProfileMenu/ProfileMenu.d.ts +2 -2
- 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/ThemeProvider/ThemeProvider.d.ts +4 -2
- 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 +101 -104
- 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 -265
- package/dist/components/feedback/Skeleton.md +125 -89
- package/dist/components/index.d.ts +61 -3
- 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/FilterMenu.md +138 -8
- 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 +182 -116
- package/dist/components/navigation/Dropdown.md +732 -391
- package/dist/components/navigation/IconMenuButton.md +14 -6
- package/dist/components/navigation/InsetDrawer.md +550 -378
- package/dist/components/navigation/Link.md +104 -94
- 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/ProfileMenu.md +65 -43
- package/dist/components/navigation/Stepper.md +2 -12
- package/dist/components/navigation/Tabs.md +209 -183
- 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 +65 -40
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +4 -4
- package/dist/index.cjs +1653 -1560
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1316 -1215
- 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 |
|
|
@@ -46,37 +51,50 @@ The most basic way to use Divider.
|
|
|
46
51
|
|
|
47
52
|
```tsx
|
|
48
53
|
<Stack spacing={3}>
|
|
49
|
-
|
|
50
|
-
|
|
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
|
-
|
|
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
|
-
|
|
89
|
-
|
|
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
|
-
<Typography
|
|
115
|
-
|
|
116
|
-
|
|
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
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
<Typography level="body-sm"
|
|
137
|
-
|
|
138
|
-
|
|
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
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
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
|
-
|
|
180
|
-
|
|
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
|
-
가입일: 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
|
-
<
|
|
218
|
-
|
|
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
|
-
<Typography
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
</
|
|
270
|
-
</
|
|
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
|
|
279
|
-
|
|
280
|
-
|
|
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
|
-
|
|
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
|
-
|
|
324
|
-
|
|
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
|
-
|
|
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
|
-
|
|
377
|
-
|
|
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
|
-
<Typography level="body-md"
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
}}
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
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
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
<Typography
|
|
468
|
-
|
|
469
|
-
|
|
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
|
-
<Typography level="body-sm"
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
<Typography level="body-sm">아래 콘텐츠</Typography>
|
|
512
|
-
</Box>
|
|
513
|
-
|
|
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
|