@seed-design/rootage-artifacts 3.0.0 → 3.0.2

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 (37) hide show
  1. package/__generated__/components/alert-dialog.d.ts +2 -0
  2. package/__generated__/components/alert-dialog.json +4 -2
  3. package/__generated__/components/bottom-sheet.d.ts +9 -0
  4. package/__generated__/components/bottom-sheet.json +10 -1
  5. package/__generated__/components/dialog.d.ts +4 -2
  6. package/__generated__/components/dialog.json +6 -4
  7. package/__generated__/components/help-bubble.d.ts +2 -1
  8. package/__generated__/components/help-bubble.json +3 -2
  9. package/__generated__/components/menu-sheet.d.ts +10 -0
  10. package/__generated__/components/menu-sheet.json +12 -2
  11. package/__generated__/components/menu.d.ts +2 -1
  12. package/__generated__/components/menu.json +3 -2
  13. package/__generated__/components/page-banner-close-button.d.ts +4 -4
  14. package/__generated__/components/page-banner-close-button.json +4 -4
  15. package/__generated__/components/popover.d.ts +4 -4
  16. package/__generated__/components/popover.json +4 -4
  17. package/__generated__/components/select.d.ts +2 -1
  18. package/__generated__/components/select.json +3 -2
  19. package/__generated__/components/side-panel.d.ts +4 -3
  20. package/__generated__/components/side-panel.json +5 -4
  21. package/__generated__/components/snackbar.d.ts +1 -0
  22. package/__generated__/components/snackbar.json +2 -1
  23. package/__generated__/index.d.ts +1 -1
  24. package/__generated__/index.json +1 -1
  25. package/color.yaml +2 -2
  26. package/components/alert-dialog.yaml +2 -0
  27. package/components/bottom-sheet.yaml +5 -0
  28. package/components/dialog.yaml +4 -2
  29. package/components/help-bubble.yaml +2 -1
  30. package/components/menu-sheet.yaml +6 -0
  31. package/components/menu.yaml +2 -1
  32. package/components/page-banner-close-button.yaml +4 -4
  33. package/components/popover.yaml +4 -4
  34. package/components/select.yaml +2 -1
  35. package/components/side-panel.yaml +4 -3
  36. package/components/snackbar.yaml +1 -0
  37. package/package.json +1 -1
@@ -44,6 +44,7 @@ declare const artifact: {
44
44
  };
45
45
  "marginX": {
46
46
  "type": "dimension";
47
+ "description": "content와 좌우 안전 영역 경계 사이의 최소 간격입니다. 화면 끝이 아니라 안전 영역 경계부터 잽니다.";
47
48
  };
48
49
  "marginY": {
49
50
  "type": "dimension";
@@ -73,6 +74,7 @@ declare const artifact: {
73
74
  "type": "number";
74
75
  };
75
76
  };
77
+ "description": "content는 가로 기준으로 안전 영역의 가운데에 놓입니다. 세로 기준으로는 상단과 하단 inset 중 큰 값을 위아래에 똑같이 두어 화면 가운데에 놓이고, 높이는 그 사이 높이를 넘지 않습니다.";
76
78
  };
77
79
  "header": {
78
80
  "properties": {
@@ -43,7 +43,8 @@
43
43
  "type": "dimension"
44
44
  },
45
45
  "marginX": {
46
- "type": "dimension"
46
+ "type": "dimension",
47
+ "description": "content와 좌우 안전 영역 경계 사이의 최소 간격입니다. 화면 끝이 아니라 안전 영역 경계부터 잽니다."
47
48
  },
48
49
  "marginY": {
49
50
  "type": "dimension"
@@ -72,7 +73,8 @@
72
73
  "exitOpacity": {
73
74
  "type": "number"
74
75
  }
75
- }
76
+ },
77
+ "description": "content는 가로 기준으로 안전 영역의 가운데에 놓입니다. 세로 기준으로는 상단과 하단 inset 중 큰 값을 위아래에 똑같이 두어 화면 가운데에 놓이고, 높이는 그 사이 높이를 넘지 않습니다."
76
78
  },
77
79
  "header": {
78
80
  "properties": {
@@ -42,6 +42,10 @@ declare const artifact: {
42
42
  "maxWidth": {
43
43
  "type": "dimension";
44
44
  };
45
+ "maxHeightFraction": {
46
+ "type": "number";
47
+ "description": "inset을 빼지 않은 viewport height 또는 parent height에 대한 최대 비율입니다. 최대 높이는 min(maxHeightFraction × 높이, 상단 inset을 뺀 높이)이므로, content는 상단 안전 영역 경계까지만 커집니다.";
48
+ };
45
49
  "topCornerRadius": {
46
50
  "type": "dimension";
47
51
  };
@@ -58,6 +62,7 @@ declare const artifact: {
58
62
  "type": "cubicBezier";
59
63
  };
60
64
  };
65
+ "description": "content는 가로 기준으로 안전 영역의 가운데에 놓이고, 하단 inset을 content의 하단 패딩으로 적용합니다.";
61
66
  };
62
67
  "header": {
63
68
  "properties": {
@@ -212,6 +217,10 @@ declare const artifact: {
212
217
  "unit": "px";
213
218
  };
214
219
  };
220
+ "maxHeightFraction": {
221
+ "type": "number";
222
+ "value": 0.9;
223
+ };
215
224
  "topCornerRadius": {
216
225
  "type": "dimension";
217
226
  "value": "$radius.r6";
@@ -42,6 +42,10 @@
42
42
  "maxWidth": {
43
43
  "type": "dimension"
44
44
  },
45
+ "maxHeightFraction": {
46
+ "type": "number",
47
+ "description": "inset을 빼지 않은 viewport height 또는 parent height에 대한 최대 비율입니다. 최대 높이는 min(maxHeightFraction × 높이, 상단 inset을 뺀 높이)이므로, content는 상단 안전 영역 경계까지만 커집니다."
48
+ },
45
49
  "topCornerRadius": {
46
50
  "type": "dimension"
47
51
  },
@@ -57,7 +61,8 @@
57
61
  "exitTimingFunction": {
58
62
  "type": "cubicBezier"
59
63
  }
60
- }
64
+ },
65
+ "description": "content는 가로 기준으로 안전 영역의 가운데에 놓이고, 하단 inset을 content의 하단 패딩으로 적용합니다."
61
66
  },
62
67
  "header": {
63
68
  "properties": {
@@ -212,6 +217,10 @@
212
217
  "unit": "px"
213
218
  }
214
219
  },
220
+ "maxHeightFraction": {
221
+ "type": "number",
222
+ "value": 0.9
223
+ },
215
224
  "topCornerRadius": {
216
225
  "type": "dimension",
217
226
  "value": "$radius.r6"
@@ -47,14 +47,15 @@ declare const artifact: {
47
47
  };
48
48
  "widthFraction": {
49
49
  "type": "number";
50
- "description": "viewport width 또는 parent width에 대한 비율입니다. viewport `md` 미만에서 적용합니다.";
50
+ "description": "좌우 inset을 뺀 viewport width 또는 parent width에 대한 비율입니다. viewport `md` 미만에서 적용합니다.";
51
51
  };
52
52
  "maxHeightFraction": {
53
53
  "type": "number";
54
- "description": "viewport height 또는 parent height에 대한 최대 비율입니다.";
54
+ "description": "viewport height 또는 parent height에 대한 최대 비율입니다. 최대 높이는 min(maxHeightFraction × 높이, 상단과 하단 inset 중 큰 값을 위아래에서 각각 뺀 높이)입니다.";
55
55
  };
56
56
  "marginX": {
57
57
  "type": "dimension";
58
+ "description": "viewport `md` 이상에서 content와 좌우 안전 영역 경계 사이에 두는 최소 간격입니다.";
58
59
  };
59
60
  "enterDuration": {
60
61
  "type": "duration";
@@ -78,6 +79,7 @@ declare const artifact: {
78
79
  "type": "number";
79
80
  };
80
81
  };
82
+ "description": "content는 가로 기준으로 안전 영역의 가운데에 놓이고, 소비자가 지정한 너비는 안전 영역의 너비를 기준으로 합니다. 세로 기준으로는 상단과 하단 inset 중 큰 값을 위아래에 똑같이 두어 화면 가운데에 놓입니다.";
81
83
  };
82
84
  "header": {
83
85
  "properties": {
@@ -47,14 +47,15 @@
47
47
  },
48
48
  "widthFraction": {
49
49
  "type": "number",
50
- "description": "viewport width 또는 parent width에 대한 비율입니다. viewport `md` 미만에서 적용합니다."
50
+ "description": "좌우 inset을 뺀 viewport width 또는 parent width에 대한 비율입니다. viewport `md` 미만에서 적용합니다."
51
51
  },
52
52
  "maxHeightFraction": {
53
53
  "type": "number",
54
- "description": "viewport height 또는 parent height에 대한 최대 비율입니다."
54
+ "description": "viewport height 또는 parent height에 대한 최대 비율입니다. 최대 높이는 min(maxHeightFraction × 높이, 상단과 하단 inset 중 큰 값을 위아래에서 각각 뺀 높이)입니다."
55
55
  },
56
56
  "marginX": {
57
- "type": "dimension"
57
+ "type": "dimension",
58
+ "description": "viewport `md` 이상에서 content와 좌우 안전 영역 경계 사이에 두는 최소 간격입니다."
58
59
  },
59
60
  "enterDuration": {
60
61
  "type": "duration"
@@ -77,7 +78,8 @@
77
78
  "exitOpacity": {
78
79
  "type": "number"
79
80
  }
80
- }
81
+ },
82
+ "description": "content는 가로 기준으로 안전 영역의 가운데에 놓이고, 소비자가 지정한 너비는 안전 영역의 너비를 기준으로 합니다. 세로 기준으로는 상단과 하단 inset 중 큰 값을 위아래에 똑같이 두어 화면 가운데에 놓입니다."
81
83
  },
82
84
  "header": {
83
85
  "properties": {
@@ -28,6 +28,7 @@ declare const artifact: {
28
28
  };
29
29
  "maxWidth": {
30
30
  "type": "dimension";
31
+ "description": "가용 너비(overflowPadding 참고)가 이보다 작으면 가용 너비로 축소됩니다.";
31
32
  };
32
33
  "enterScale": {
33
34
  "type": "number";
@@ -55,7 +56,7 @@ declare const artifact: {
55
56
  };
56
57
  "overflowPadding": {
57
58
  "type": "dimension";
58
- "description": "말풍선과 뷰포트 경계 사이의 최소 간격을 정의합니다.";
59
+ "description": "말풍선과 안전 영역 경계 사이의 최소 간격을 정의합니다. 말풍선은 화면 끝에서 inset + overflowPadding만큼 안쪽에 배치되며, 가용 너비도 같은 기준으로 계산합니다.";
59
60
  };
60
61
  };
61
62
  };
@@ -27,7 +27,8 @@
27
27
  "type": "dimension"
28
28
  },
29
29
  "maxWidth": {
30
- "type": "dimension"
30
+ "type": "dimension",
31
+ "description": "가용 너비(overflowPadding 참고)가 이보다 작으면 가용 너비로 축소됩니다."
31
32
  },
32
33
  "enterScale": {
33
34
  "type": "number"
@@ -55,7 +56,7 @@
55
56
  },
56
57
  "overflowPadding": {
57
58
  "type": "dimension",
58
- "description": "말풍선과 뷰포트 경계 사이의 최소 간격을 정의합니다."
59
+ "description": "말풍선과 안전 영역 경계 사이의 최소 간격을 정의합니다. 말풍선은 화면 끝에서 inset + overflowPadding만큼 안쪽에 배치되며, 가용 너비도 같은 기준으로 계산합니다."
59
60
  }
60
61
  }
61
62
  },
@@ -42,6 +42,10 @@ declare const artifact: {
42
42
  "maxWidth": {
43
43
  "type": "dimension";
44
44
  };
45
+ "maxHeightFraction": {
46
+ "type": "number";
47
+ "description": "inset을 빼지 않은 viewport height 또는 parent height에 대한 최대 비율입니다. 최대 높이는 min(maxHeightFraction × 높이, 상단 inset을 뺀 높이)이므로, content는 상단 안전 영역 경계까지만 커집니다.";
48
+ };
45
49
  "paddingX": {
46
50
  "type": "dimension";
47
51
  };
@@ -50,6 +54,7 @@ declare const artifact: {
50
54
  };
51
55
  "paddingBottom": {
52
56
  "type": "dimension";
57
+ "description": "이 값은 하단 inset과 합산하여 적용합니다.";
53
58
  };
54
59
  "topCornerRadius": {
55
60
  "type": "dimension";
@@ -67,6 +72,7 @@ declare const artifact: {
67
72
  "type": "cubicBezier";
68
73
  };
69
74
  };
75
+ "description": "content는 가로 기준으로 안전 영역의 가운데에 놓입니다.";
70
76
  };
71
77
  "header": {
72
78
  "properties": {
@@ -195,6 +201,10 @@ declare const artifact: {
195
201
  "unit": "px";
196
202
  };
197
203
  };
204
+ "maxHeightFraction": {
205
+ "type": "number";
206
+ "value": 0.9;
207
+ };
198
208
  "paddingX": {
199
209
  "type": "dimension";
200
210
  "value": "$dimension.spacing-x.global-gutter";
@@ -42,6 +42,10 @@
42
42
  "maxWidth": {
43
43
  "type": "dimension"
44
44
  },
45
+ "maxHeightFraction": {
46
+ "type": "number",
47
+ "description": "inset을 빼지 않은 viewport height 또는 parent height에 대한 최대 비율입니다. 최대 높이는 min(maxHeightFraction × 높이, 상단 inset을 뺀 높이)이므로, content는 상단 안전 영역 경계까지만 커집니다."
48
+ },
45
49
  "paddingX": {
46
50
  "type": "dimension"
47
51
  },
@@ -49,7 +53,8 @@
49
53
  "type": "dimension"
50
54
  },
51
55
  "paddingBottom": {
52
- "type": "dimension"
56
+ "type": "dimension",
57
+ "description": "이 값은 하단 inset과 합산하여 적용합니다."
53
58
  },
54
59
  "topCornerRadius": {
55
60
  "type": "dimension"
@@ -66,7 +71,8 @@
66
71
  "exitTimingFunction": {
67
72
  "type": "cubicBezier"
68
73
  }
69
- }
74
+ },
75
+ "description": "content는 가로 기준으로 안전 영역의 가운데에 놓입니다."
70
76
  },
71
77
  "header": {
72
78
  "properties": {
@@ -195,6 +201,10 @@
195
201
  "unit": "px"
196
202
  }
197
203
  },
204
+ "maxHeightFraction": {
205
+ "type": "number",
206
+ "value": 0.9
207
+ },
198
208
  "paddingX": {
199
209
  "type": "dimension",
200
210
  "value": "$dimension.spacing-x.global-gutter"
@@ -56,10 +56,11 @@ declare const artifact: {
56
56
  };
57
57
  "overflowPadding": {
58
58
  "type": "dimension";
59
- "description": "메뉴와 뷰포트 경계 사이의 최소 간격을 정의합니다.";
59
+ "description": "메뉴와 안전 영역 경계 사이의 최소 간격을 정의합니다. 메뉴는 화면 끝에서 inset + overflowPadding만큼 안쪽에 배치되며, 가용 높이도 같은 기준으로 계산합니다.";
60
60
  };
61
61
  "maxHeight": {
62
62
  "type": "dimension";
63
+ "description": "가용 높이(overflowPadding 참고)가 이보다 작으면 가용 높이로 축소됩니다.";
63
64
  };
64
65
  "width": {
65
66
  "type": "dimension";
@@ -56,10 +56,11 @@
56
56
  },
57
57
  "overflowPadding": {
58
58
  "type": "dimension",
59
- "description": "메뉴와 뷰포트 경계 사이의 최소 간격을 정의합니다."
59
+ "description": "메뉴와 안전 영역 경계 사이의 최소 간격을 정의합니다. 메뉴는 화면 끝에서 inset + overflowPadding만큼 안쪽에 배치되며, 가용 높이도 같은 기준으로 계산합니다."
60
60
  },
61
61
  "maxHeight": {
62
- "type": "dimension"
62
+ "type": "dimension",
63
+ "description": "가용 높이(overflowPadding 참고)가 이보다 작으면 가용 높이로 축소됩니다."
63
64
  },
64
65
  "width": {
65
66
  "type": "dimension"
@@ -215,7 +215,7 @@ declare const artifact: {
215
215
  "icon": {
216
216
  "color": {
217
217
  "type": "color";
218
- "value": "$color.palette.static-white";
218
+ "value": "$color.fg.on-positive-solid";
219
219
  };
220
220
  };
221
221
  };
@@ -257,7 +257,7 @@ declare const artifact: {
257
257
  "icon": {
258
258
  "color": {
259
259
  "type": "color";
260
- "value": "$color.palette.static-white";
260
+ "value": "$color.fg.on-informative-solid";
261
261
  };
262
262
  };
263
263
  };
@@ -299,7 +299,7 @@ declare const artifact: {
299
299
  "icon": {
300
300
  "color": {
301
301
  "type": "color";
302
- "value": "$color.palette.static-black-alpha-900";
302
+ "value": "$color.fg.on-warning-solid";
303
303
  };
304
304
  };
305
305
  };
@@ -341,7 +341,7 @@ declare const artifact: {
341
341
  "icon": {
342
342
  "color": {
343
343
  "type": "color";
344
- "value": "$color.palette.static-white";
344
+ "value": "$color.fg.on-critical-solid";
345
345
  };
346
346
  };
347
347
  };
@@ -215,7 +215,7 @@
215
215
  "icon": {
216
216
  "color": {
217
217
  "type": "color",
218
- "value": "$color.palette.static-white"
218
+ "value": "$color.fg.on-positive-solid"
219
219
  }
220
220
  }
221
221
  }
@@ -257,7 +257,7 @@
257
257
  "icon": {
258
258
  "color": {
259
259
  "type": "color",
260
- "value": "$color.palette.static-white"
260
+ "value": "$color.fg.on-informative-solid"
261
261
  }
262
262
  }
263
263
  }
@@ -299,7 +299,7 @@
299
299
  "icon": {
300
300
  "color": {
301
301
  "type": "color",
302
- "value": "$color.palette.static-black-alpha-900"
302
+ "value": "$color.fg.on-warning-solid"
303
303
  }
304
304
  }
305
305
  }
@@ -341,7 +341,7 @@
341
341
  "icon": {
342
342
  "color": {
343
343
  "type": "color",
344
- "value": "$color.palette.static-white"
344
+ "value": "$color.fg.on-critical-solid"
345
345
  }
346
346
  }
347
347
  }
@@ -22,15 +22,15 @@ declare const artifact: {
22
22
  };
23
23
  "minWidth": {
24
24
  "type": "dimension";
25
- "description": "viewport가 이보다 작으면 overflowPadding을 뺀 가용 너비로 축소됩니다.";
25
+ "description": "가용 너비(overflowPadding 참고)가 이보다 작으면 가용 너비로 축소됩니다.";
26
26
  };
27
27
  "maxWidth": {
28
28
  "type": "dimension";
29
- "description": "viewport가 이보다 작으면 overflowPadding을 뺀 가용 너비로 축소됩니다.";
29
+ "description": "가용 너비(overflowPadding 참고)가 이보다 작으면 가용 너비로 축소됩니다.";
30
30
  };
31
31
  "maxHeight": {
32
32
  "type": "dimension";
33
- "description": "viewport가 이보다 작으면 overflowPadding과 safe-area를 뺀 가용 높이로 축소됩니다.";
33
+ "description": "가용 높이(overflowPadding 참고)가 이보다 작으면 가용 높이로 축소됩니다.";
34
34
  };
35
35
  "gutter": {
36
36
  "type": "dimension";
@@ -38,7 +38,7 @@ declare const artifact: {
38
38
  };
39
39
  "overflowPadding": {
40
40
  "type": "dimension";
41
- "description": "popover와 뷰포트 경계 사이의 최소 간격을 정의합니다. 위아래에 safe-area가 있으면 그 안쪽으로 배치됩니다.";
41
+ "description": "popover와 안전 영역 경계 사이의 최소 간격을 정의합니다. popover는 화면 끝에서 inset + overflowPadding만큼 안쪽에 배치되며, 가용 너비와 높이도 같은 기준으로 계산합니다.";
42
42
  };
43
43
  "enterDuration": {
44
44
  "type": "duration";
@@ -22,15 +22,15 @@
22
22
  },
23
23
  "minWidth": {
24
24
  "type": "dimension",
25
- "description": "viewport가 이보다 작으면 overflowPadding을 뺀 가용 너비로 축소됩니다."
25
+ "description": "가용 너비(overflowPadding 참고)가 이보다 작으면 가용 너비로 축소됩니다."
26
26
  },
27
27
  "maxWidth": {
28
28
  "type": "dimension",
29
- "description": "viewport가 이보다 작으면 overflowPadding을 뺀 가용 너비로 축소됩니다."
29
+ "description": "가용 너비(overflowPadding 참고)가 이보다 작으면 가용 너비로 축소됩니다."
30
30
  },
31
31
  "maxHeight": {
32
32
  "type": "dimension",
33
- "description": "viewport가 이보다 작으면 overflowPadding과 safe-area를 뺀 가용 높이로 축소됩니다."
33
+ "description": "가용 높이(overflowPadding 참고)가 이보다 작으면 가용 높이로 축소됩니다."
34
34
  },
35
35
  "gutter": {
36
36
  "type": "dimension",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "overflowPadding": {
40
40
  "type": "dimension",
41
- "description": "popover와 뷰포트 경계 사이의 최소 간격을 정의합니다. 위아래에 safe-area가 있으면 그 안쪽으로 배치됩니다."
41
+ "description": "popover와 안전 영역 경계 사이의 최소 간격을 정의합니다. popover는 화면 끝에서 inset + overflowPadding만큼 안쪽에 배치되며, 가용 너비와 높이도 같은 기준으로 계산합니다."
42
42
  },
43
43
  "enterDuration": {
44
44
  "type": "duration"
@@ -56,10 +56,11 @@ declare const artifact: {
56
56
  };
57
57
  "overflowPadding": {
58
58
  "type": "dimension";
59
- "description": "목록과 뷰포트 경계 사이의 최소 간격을 정의합니다.";
59
+ "description": "목록과 안전 영역 경계 사이의 최소 간격을 정의합니다. 목록은 화면 끝에서 inset + overflowPadding만큼 안쪽에 배치되며, 가용 높이도 같은 기준으로 계산합니다.";
60
60
  };
61
61
  "maxHeight": {
62
62
  "type": "dimension";
63
+ "description": "가용 높이(overflowPadding 참고)가 이보다 작으면 가용 높이로 축소됩니다.";
63
64
  };
64
65
  };
65
66
  };
@@ -56,10 +56,11 @@
56
56
  },
57
57
  "overflowPadding": {
58
58
  "type": "dimension",
59
- "description": "목록과 뷰포트 경계 사이의 최소 간격을 정의합니다."
59
+ "description": "목록과 안전 영역 경계 사이의 최소 간격을 정의합니다. 목록은 화면 끝에서 inset + overflowPadding만큼 안쪽에 배치되며, 가용 높이도 같은 기준으로 계산합니다."
60
60
  },
61
61
  "maxHeight": {
62
- "type": "dimension"
62
+ "type": "dimension",
63
+ "description": "가용 높이(overflowPadding 참고)가 이보다 작으면 가용 높이로 축소됩니다."
63
64
  }
64
65
  }
65
66
  },
@@ -41,10 +41,11 @@ declare const artifact: {
41
41
  };
42
42
  "width": {
43
43
  "type": "dimension";
44
+ "description": "content 영역의 너비입니다. 패널은 붙는 쪽의 inset만큼 더 넓어지고, 늘어난 영역까지 배경으로 채워 화면 끝에 닿습니다. 소비자가 지정한 너비도 같은 방식으로 적용합니다.";
44
45
  };
45
46
  "widthFraction": {
46
47
  "type": "number";
47
- "description": "viewport 또는 parent width에 대한 mobile content width 비율입니다.";
48
+ "description": "좌우 inset을 뺀 viewport width 또는 parent width에 대한 mobile content width 비율입니다. content의 최대 너비도 같은 기준 너비에 이 비율을 곱해 정합니다.";
48
49
  };
49
50
  "enterDuration": {
50
51
  "type": "duration";
@@ -59,7 +60,7 @@ declare const artifact: {
59
60
  "type": "cubicBezier";
60
61
  };
61
62
  };
62
- "description": "하단 safe-area inset을 content의 하단 패딩으로 적용합니다.";
63
+ "description": "하단 inset을 content의 하단 패딩으로 적용합니다.";
63
64
  };
64
65
  "header": {
65
66
  "properties": {
@@ -74,7 +75,7 @@ declare const artifact: {
74
75
  };
75
76
  "paddingTop": {
76
77
  "type": "dimension";
77
- "description": "이 값은 상단 safe-area inset과 합산하여 적용합니다.";
78
+ "description": "이 값은 상단 inset과 합산하여 적용합니다.";
78
79
  };
79
80
  "paddingBottom": {
80
81
  "type": "dimension";
@@ -40,11 +40,12 @@
40
40
  "type": "color"
41
41
  },
42
42
  "width": {
43
- "type": "dimension"
43
+ "type": "dimension",
44
+ "description": "content 영역의 너비입니다. 패널은 붙는 쪽의 inset만큼 더 넓어지고, 늘어난 영역까지 배경으로 채워 화면 끝에 닿습니다. 소비자가 지정한 너비도 같은 방식으로 적용합니다."
44
45
  },
45
46
  "widthFraction": {
46
47
  "type": "number",
47
- "description": "viewport 또는 parent width에 대한 mobile content width 비율입니다."
48
+ "description": "좌우 inset을 뺀 viewport width 또는 parent width에 대한 mobile content width 비율입니다. content의 최대 너비도 같은 기준 너비에 이 비율을 곱해 정합니다."
48
49
  },
49
50
  "enterDuration": {
50
51
  "type": "duration"
@@ -59,7 +60,7 @@
59
60
  "type": "cubicBezier"
60
61
  }
61
62
  },
62
- "description": "하단 safe-area inset을 content의 하단 패딩으로 적용합니다."
63
+ "description": "하단 inset을 content의 하단 패딩으로 적용합니다."
63
64
  },
64
65
  "header": {
65
66
  "properties": {
@@ -74,7 +75,7 @@
74
75
  },
75
76
  "paddingTop": {
76
77
  "type": "dimension",
77
- "description": "이 값은 상단 safe-area inset과 합산하여 적용합니다."
78
+ "description": "이 값은 상단 inset과 합산하여 적용합니다."
78
79
  },
79
80
  "paddingBottom": {
80
81
  "type": "dimension"
@@ -24,6 +24,7 @@ declare const artifact: {
24
24
  "type": "cubicBezier";
25
25
  };
26
26
  };
27
+ "description": "region은 좌우와 하단 안전 영역 경계 안쪽에 배치되므로, paddingX와 하단 쪽 paddingY는 안전 영역 경계부터 잽니다.";
27
28
  };
28
29
  "root": {
29
30
  "properties": {
@@ -23,7 +23,8 @@
23
23
  "offsetTimingFunction": {
24
24
  "type": "cubicBezier"
25
25
  }
26
- }
26
+ },
27
+ "description": "region은 좌우와 하단 안전 영역 경계 안쪽에 배치되므로, paddingX와 하단 쪽 paddingY는 안전 영역 경계부터 잽니다."
27
28
  },
28
29
  "root": {
29
30
  "properties": {
@@ -1,6 +1,6 @@
1
1
  declare const artifact: {
2
2
  "name": "Rootage";
3
- "version": "3.0.0";
3
+ "version": "3.0.2";
4
4
  "resources": readonly [
5
5
  {
6
6
  "path": "/collections.json";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "Rootage",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "resources": [
5
5
  {
6
6
  "path": "/collections.json"
package/color.yaml CHANGED
@@ -609,13 +609,13 @@ data:
609
609
  theme-light: $color.palette.gray-800
610
610
  theme-dark: $color.palette.gray-800
611
611
  $color.bg.neutral-solid-muted:
612
- description: 일반적인 콘텐츠에 사용되는 기본 색상입니다. (solid-muted)
612
+ description: "@deprecated 이 토큰은 @seed-design/css@4.0.0과 이에 대응하는 @seed-design/lynx-css 버전에서 제거될 예정입니다. 일반적인 콘텐츠에 사용되는 기본 색상입니다. (solid-muted)"
613
613
  excludeFromExchange: true
614
614
  values:
615
615
  theme-light: $color.palette.gray-800
616
616
  theme-dark: $color.palette.gray-400
617
617
  $color.bg.neutral-solid-muted-pressed:
618
- description: 일반적인 콘텐츠에 사용되는 기본 색상입니다. (solid-muted-pressed)
618
+ description: "@deprecated 이 토큰은 @seed-design/css@4.0.0과 이에 대응하는 @seed-design/lynx-css 버전에서 제거될 예정입니다. 일반적인 콘텐츠에 사용되는 기본 색상입니다. (solid-muted-pressed)"
619
619
  excludeFromExchange: true
620
620
  values:
621
621
  theme-light: $color.palette.gray-900
@@ -30,6 +30,7 @@ data:
30
30
  type: dimension
31
31
  marginX:
32
32
  type: dimension
33
+ description: content와 좌우 안전 영역 경계 사이의 최소 간격입니다. 화면 끝이 아니라 안전 영역 경계부터 잽니다.
33
34
  marginY:
34
35
  type: dimension
35
36
  maxWidth:
@@ -48,6 +49,7 @@ data:
48
49
  type: cubicBezier
49
50
  exitOpacity:
50
51
  type: number
52
+ description: content는 가로 기준으로 안전 영역의 가운데에 놓입니다. 세로 기준으로는 상단과 하단 inset 중 큰 값을 위아래에 똑같이 두어 화면 가운데에 놓이고, 높이는 그 사이 높이를 넘지 않습니다.
51
53
  header:
52
54
  properties:
53
55
  gap:
@@ -28,6 +28,9 @@ data:
28
28
  type: color
29
29
  maxWidth:
30
30
  type: dimension
31
+ maxHeightFraction:
32
+ type: number
33
+ description: inset을 빼지 않은 viewport height 또는 parent height에 대한 최대 비율입니다. 최대 높이는 min(maxHeightFraction × 높이, 상단 inset을 뺀 높이)이므로, content는 상단 안전 영역 경계까지만 커집니다.
31
34
  topCornerRadius:
32
35
  type: dimension
33
36
  enterDuration:
@@ -38,6 +41,7 @@ data:
38
41
  type: duration
39
42
  exitTimingFunction:
40
43
  type: cubicBezier
44
+ description: content는 가로 기준으로 안전 영역의 가운데에 놓이고, 하단 inset을 content의 하단 패딩으로 적용합니다.
41
45
  header:
42
46
  properties:
43
47
  gap:
@@ -104,6 +108,7 @@ data:
104
108
  content:
105
109
  color: $color.bg.layer-floating
106
110
  maxWidth: 480px
111
+ maxHeightFraction: 0.9
107
112
  topCornerRadius: $radius.r6
108
113
  enterDuration: $duration.d6
109
114
  enterTimingFunction: $timing-function.enter-expressive
@@ -32,12 +32,13 @@ data:
32
32
  type: dimension
33
33
  widthFraction:
34
34
  type: number
35
- description: viewport width 또는 parent width에 대한 비율입니다. viewport `md` 미만에서 적용합니다.
35
+ description: 좌우 inset을 뺀 viewport width 또는 parent width에 대한 비율입니다. viewport `md` 미만에서 적용합니다.
36
36
  maxHeightFraction:
37
37
  type: number
38
- description: viewport height 또는 parent height에 대한 최대 비율입니다.
38
+ description: viewport height 또는 parent height에 대한 최대 비율입니다. 최대 높이는 min(maxHeightFraction × 높이, 상단과 하단 inset 중 큰 값을 위아래에서 각각 뺀 높이)입니다.
39
39
  marginX:
40
40
  type: dimension
41
+ description: viewport `md` 이상에서 content와 좌우 안전 영역 경계 사이에 두는 최소 간격입니다.
41
42
  enterDuration:
42
43
  type: duration
43
44
  enterTimingFunction:
@@ -52,6 +53,7 @@ data:
52
53
  type: cubicBezier
53
54
  exitOpacity:
54
55
  type: number
56
+ description: content는 가로 기준으로 안전 영역의 가운데에 놓이고, 소비자가 지정한 너비는 안전 영역의 너비를 기준으로 합니다. 세로 기준으로는 상단과 하단 inset 중 큰 값을 위아래에 똑같이 두어 화면 가운데에 놓입니다.
55
57
  header:
56
58
  properties:
57
59
  gap:
@@ -20,6 +20,7 @@ data:
20
20
  type: dimension
21
21
  maxWidth:
22
22
  type: dimension
23
+ description: 가용 너비(overflowPadding 참고)가 이보다 작으면 가용 너비로 축소됩니다.
23
24
  enterScale:
24
25
  type: number
25
26
  enterOpacity:
@@ -38,7 +39,7 @@ data:
38
39
  type: cubicBezier
39
40
  overflowPadding:
40
41
  type: dimension
41
- description: 말풍선과 뷰포트 경계 사이의 최소 간격을 정의합니다.
42
+ description: 말풍선과 안전 영역 경계 사이의 최소 간격을 정의합니다. 말풍선은 화면 끝에서 inset + overflowPadding만큼 안쪽에 배치되며, 가용 너비도 같은 기준으로 계산합니다.
42
43
  arrow:
43
44
  properties:
44
45
  color:
@@ -28,12 +28,16 @@ data:
28
28
  type: color
29
29
  maxWidth:
30
30
  type: dimension
31
+ maxHeightFraction:
32
+ type: number
33
+ description: inset을 빼지 않은 viewport height 또는 parent height에 대한 최대 비율입니다. 최대 높이는 min(maxHeightFraction × 높이, 상단 inset을 뺀 높이)이므로, content는 상단 안전 영역 경계까지만 커집니다.
31
34
  paddingX:
32
35
  type: dimension
33
36
  paddingTop:
34
37
  type: dimension
35
38
  paddingBottom:
36
39
  type: dimension
40
+ description: 이 값은 하단 inset과 합산하여 적용합니다.
37
41
  topCornerRadius:
38
42
  type: dimension
39
43
  enterDuration:
@@ -44,6 +48,7 @@ data:
44
48
  type: duration
45
49
  exitTimingFunction:
46
50
  type: cubicBezier
51
+ description: content는 가로 기준으로 안전 영역의 가운데에 놓입니다.
47
52
  header:
48
53
  properties:
49
54
  gap:
@@ -102,6 +107,7 @@ data:
102
107
  content:
103
108
  color: $color.bg.layer-floating
104
109
  maxWidth: 480px
110
+ maxHeightFraction: 0.9
105
111
  paddingX: $dimension.spacing-x.global-gutter
106
112
  paddingTop: $dimension.x6
107
113
  paddingBottom: $dimension.x4
@@ -39,9 +39,10 @@ data:
39
39
  description: 트리거와 메뉴 사이의 간격을 정의합니다.
40
40
  overflowPadding:
41
41
  type: dimension
42
- description: 메뉴와 뷰포트 경계 사이의 최소 간격을 정의합니다.
42
+ description: 메뉴와 안전 영역 경계 사이의 최소 간격을 정의합니다. 메뉴는 화면 끝에서 inset + overflowPadding만큼 안쪽에 배치되며, 가용 높이도 같은 기준으로 계산합니다.
43
43
  maxHeight:
44
44
  type: dimension
45
+ description: 가용 높이(overflowPadding 참고)가 이보다 작으면 가용 높이로 축소됩니다.
45
46
  width:
46
47
  type: dimension
47
48
  group:
@@ -71,7 +71,7 @@ data:
71
71
  tone=positive, variant=solid:
72
72
  enabled:
73
73
  icon:
74
- color: $color.palette.static-white
74
+ color: $color.fg.on-positive-solid
75
75
  tone=informative, variant=weak:
76
76
  enabled:
77
77
  icon:
@@ -79,7 +79,7 @@ data:
79
79
  tone=informative, variant=solid:
80
80
  enabled:
81
81
  icon:
82
- color: $color.palette.static-white
82
+ color: $color.fg.on-informative-solid
83
83
  tone=warning, variant=weak:
84
84
  enabled:
85
85
  icon:
@@ -87,7 +87,7 @@ data:
87
87
  tone=warning, variant=solid:
88
88
  enabled:
89
89
  icon:
90
- color: $color.palette.static-black-alpha-900
90
+ color: $color.fg.on-warning-solid
91
91
  tone=critical, variant=weak:
92
92
  enabled:
93
93
  icon:
@@ -95,7 +95,7 @@ data:
95
95
  tone=critical, variant=solid:
96
96
  enabled:
97
97
  icon:
98
- color: $color.palette.static-white
98
+ color: $color.fg.on-critical-solid
99
99
  tone=magic, variant=weak:
100
100
  enabled:
101
101
  icon:
@@ -16,19 +16,19 @@ data:
16
16
  type: shadow
17
17
  minWidth:
18
18
  type: dimension
19
- description: viewport가 이보다 작으면 overflowPadding을 뺀 가용 너비로 축소됩니다.
19
+ description: 가용 너비(overflowPadding 참고)가 이보다 작으면 가용 너비로 축소됩니다.
20
20
  maxWidth:
21
21
  type: dimension
22
- description: viewport가 이보다 작으면 overflowPadding을 뺀 가용 너비로 축소됩니다.
22
+ description: 가용 너비(overflowPadding 참고)가 이보다 작으면 가용 너비로 축소됩니다.
23
23
  maxHeight:
24
24
  type: dimension
25
- description: viewport가 이보다 작으면 overflowPadding과 safe-area를 뺀 가용 높이로 축소됩니다.
25
+ description: 가용 높이(overflowPadding 참고)가 이보다 작으면 가용 높이로 축소됩니다.
26
26
  gutter:
27
27
  type: dimension
28
28
  description: 트리거와 popover 사이의 간격을 정의합니다.
29
29
  overflowPadding:
30
30
  type: dimension
31
- description: popover와 뷰포트 경계 사이의 최소 간격을 정의합니다. 위아래에 safe-area가 있으면 그 안쪽으로 배치됩니다.
31
+ description: popover와 안전 영역 경계 사이의 최소 간격을 정의합니다. popover는 화면 끝에서 inset + overflowPadding만큼 안쪽에 배치되며, 가용 너비와 높이도 같은 기준으로 계산합니다.
32
32
  enterDuration:
33
33
  type: duration
34
34
  enterTimingFunction:
@@ -39,9 +39,10 @@ data:
39
39
  description: 트리거와 목록 사이의 간격을 정의합니다.
40
40
  overflowPadding:
41
41
  type: dimension
42
- description: 목록과 뷰포트 경계 사이의 최소 간격을 정의합니다.
42
+ description: 목록과 안전 영역 경계 사이의 최소 간격을 정의합니다. 목록은 화면 끝에서 inset + overflowPadding만큼 안쪽에 배치되며, 가용 높이도 같은 기준으로 계산합니다.
43
43
  maxHeight:
44
44
  type: dimension
45
+ description: 가용 높이(overflowPadding 참고)가 이보다 작으면 가용 높이로 축소됩니다.
45
46
  group:
46
47
  properties: {}
47
48
  groupLabel:
@@ -28,9 +28,10 @@ data:
28
28
  type: color
29
29
  width:
30
30
  type: dimension
31
+ description: content 영역의 너비입니다. 패널은 붙는 쪽의 inset만큼 더 넓어지고, 늘어난 영역까지 배경으로 채워 화면 끝에 닿습니다. 소비자가 지정한 너비도 같은 방식으로 적용합니다.
31
32
  widthFraction:
32
33
  type: number
33
- description: viewport 또는 parent width에 대한 mobile content width 비율입니다.
34
+ description: 좌우 inset을 뺀 viewport width 또는 parent width에 대한 mobile content width 비율입니다. content의 최대 너비도 같은 기준 너비에 이 비율을 곱해 정합니다.
34
35
  enterDuration:
35
36
  type: duration
36
37
  enterTimingFunction:
@@ -39,7 +40,7 @@ data:
39
40
  type: duration
40
41
  exitTimingFunction:
41
42
  type: cubicBezier
42
- description: 하단 safe-area inset을 content의 하단 패딩으로 적용합니다.
43
+ description: 하단 inset을 content의 하단 패딩으로 적용합니다.
43
44
  header:
44
45
  properties:
45
46
  gap:
@@ -50,7 +51,7 @@ data:
50
51
  type: dimension
51
52
  paddingTop:
52
53
  type: dimension
53
- description: 이 값은 상단 safe-area inset과 합산하여 적용합니다.
54
+ description: 이 값은 상단 inset과 합산하여 적용합니다.
54
55
  paddingBottom:
55
56
  type: dimension
56
57
  closeButtonGap:
@@ -16,6 +16,7 @@ data:
16
16
  type: duration
17
17
  offsetTimingFunction:
18
18
  type: cubicBezier
19
+ description: region은 좌우와 하단 안전 영역 경계 안쪽에 배치되므로, paddingX와 하단 쪽 paddingY는 안전 영역 경계부터 잽니다.
19
20
  root:
20
21
  properties:
21
22
  color:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-design/rootage-artifacts",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/daangn/seed-design.git",