@seed-design/rootage-artifacts 2.5.0 → 2.7.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 (140) hide show
  1. package/__generated__/color.d.ts +3 -3
  2. package/__generated__/color.json +3 -3
  3. package/__generated__/components/accordion-item.d.ts +12 -1
  4. package/__generated__/components/accordion-item.json +12 -1
  5. package/__generated__/components/action-button.d.ts +20 -69
  6. package/__generated__/components/action-button.json +20 -69
  7. package/__generated__/components/attachment-input-item-action-button.d.ts +20 -0
  8. package/__generated__/components/attachment-input-item-action-button.json +20 -0
  9. package/__generated__/components/attachment-input-item-remove-button.d.ts +11 -0
  10. package/__generated__/components/attachment-input-item-remove-button.json +11 -0
  11. package/__generated__/components/attachment-input-item.d.ts +20 -0
  12. package/__generated__/components/attachment-input-item.json +20 -0
  13. package/__generated__/components/attachment-input-trigger.d.ts +11 -0
  14. package/__generated__/components/attachment-input-trigger.json +11 -0
  15. package/__generated__/components/bottom-sheet-close-button.d.ts +11 -0
  16. package/__generated__/components/bottom-sheet-close-button.json +11 -0
  17. package/__generated__/components/bottom-sheet.d.ts +1 -1
  18. package/__generated__/components/bottom-sheet.json +1 -1
  19. package/__generated__/components/callout-close-button.d.ts +256 -0
  20. package/__generated__/components/callout-close-button.json +255 -0
  21. package/__generated__/components/callout-close-button.mjs +2 -0
  22. package/__generated__/components/callout.d.ts +19 -6
  23. package/__generated__/components/callout.json +20 -7
  24. package/__generated__/components/checkbox.d.ts +1 -0
  25. package/__generated__/components/checkbox.json +2 -1
  26. package/__generated__/components/checkmark.d.ts +21 -0
  27. package/__generated__/components/checkmark.json +21 -0
  28. package/__generated__/components/chip.d.ts +20 -0
  29. package/__generated__/components/chip.json +20 -0
  30. package/__generated__/components/contextual-floating-button.d.ts +20 -0
  31. package/__generated__/components/contextual-floating-button.json +20 -0
  32. package/__generated__/components/dialog-close-button.d.ts +11 -0
  33. package/__generated__/components/dialog-close-button.json +11 -0
  34. package/__generated__/components/floating-action-button.d.ts +11 -0
  35. package/__generated__/components/floating-action-button.json +11 -0
  36. package/__generated__/components/help-bubble.d.ts +38 -0
  37. package/__generated__/components/help-bubble.json +38 -0
  38. package/__generated__/components/image-frame-reaction-button.d.ts +20 -0
  39. package/__generated__/components/image-frame-reaction-button.json +20 -0
  40. package/__generated__/components/input-button.d.ts +24 -0
  41. package/__generated__/components/input-button.json +24 -0
  42. package/__generated__/components/list-item.d.ts +9 -20
  43. package/__generated__/components/list-item.json +9 -20
  44. package/__generated__/components/menu-item.d.ts +11 -0
  45. package/__generated__/components/menu-item.json +11 -0
  46. package/__generated__/components/menu-sheet-close-button.d.ts +11 -0
  47. package/__generated__/components/menu-sheet-close-button.json +11 -0
  48. package/__generated__/components/menu-sheet-item.d.ts +11 -0
  49. package/__generated__/components/menu-sheet-item.json +11 -0
  50. package/__generated__/components/page-banner-close-button.d.ts +375 -0
  51. package/__generated__/components/page-banner-close-button.json +374 -0
  52. package/__generated__/components/page-banner-close-button.mjs +2 -0
  53. package/__generated__/components/page-banner.d.ts +33 -7
  54. package/__generated__/components/page-banner.json +33 -7
  55. package/__generated__/components/pagination-button.d.ts +145 -0
  56. package/__generated__/components/pagination-button.json +144 -0
  57. package/__generated__/components/pagination-button.mjs +2 -0
  58. package/__generated__/components/pagination-page-item.d.ts +198 -0
  59. package/__generated__/components/pagination-page-item.json +197 -0
  60. package/__generated__/components/pagination-page-item.mjs +2 -0
  61. package/__generated__/components/quantity-picker-button.d.ts +11 -0
  62. package/__generated__/components/quantity-picker-button.json +11 -0
  63. package/__generated__/components/radio.d.ts +1 -0
  64. package/__generated__/components/radio.json +2 -1
  65. package/__generated__/components/radiomark.d.ts +21 -0
  66. package/__generated__/components/radiomark.json +21 -0
  67. package/__generated__/components/reaction-button.d.ts +11 -0
  68. package/__generated__/components/reaction-button.json +11 -0
  69. package/__generated__/components/segmented-control-item.d.ts +11 -0
  70. package/__generated__/components/segmented-control-item.json +11 -0
  71. package/__generated__/components/select-box.d.ts +22 -2
  72. package/__generated__/components/select-box.json +22 -2
  73. package/__generated__/components/select-item.d.ts +11 -0
  74. package/__generated__/components/select-item.json +11 -0
  75. package/__generated__/components/select-trigger.d.ts +11 -0
  76. package/__generated__/components/select-trigger.json +11 -0
  77. package/__generated__/components/side-panel-close-button.d.ts +11 -0
  78. package/__generated__/components/side-panel-close-button.json +11 -0
  79. package/__generated__/components/snackbar.d.ts +21 -1
  80. package/__generated__/components/snackbar.json +21 -1
  81. package/__generated__/components/switch.d.ts +1 -0
  82. package/__generated__/components/switch.json +2 -1
  83. package/__generated__/components/switchmark.d.ts +22 -0
  84. package/__generated__/components/switchmark.json +23 -1
  85. package/__generated__/components/tab.d.ts +20 -0
  86. package/__generated__/components/tab.json +20 -0
  87. package/__generated__/components/toggle-button.d.ts +20 -0
  88. package/__generated__/components/toggle-button.json +20 -0
  89. package/__generated__/components/wheel-picker.d.ts +287 -0
  90. package/__generated__/components/wheel-picker.json +286 -0
  91. package/__generated__/components/wheel-picker.mjs +2 -0
  92. package/__generated__/index.d.ts +16 -1
  93. package/__generated__/index.json +16 -1
  94. package/color.yaml +3 -3
  95. package/components/accordion-item.yaml +5 -1
  96. package/components/action-button.yaml +6 -20
  97. package/components/attachment-input-item-action-button.yaml +6 -0
  98. package/components/attachment-input-item-remove-button.yaml +4 -0
  99. package/components/attachment-input-item.yaml +6 -0
  100. package/components/attachment-input-trigger.yaml +4 -0
  101. package/components/bottom-sheet-close-button.yaml +4 -0
  102. package/components/bottom-sheet.yaml +1 -1
  103. package/components/callout-close-button.yaml +83 -0
  104. package/components/callout.yaml +6 -3
  105. package/components/checkbox.yaml +1 -0
  106. package/components/checkmark.yaml +7 -0
  107. package/components/chip.yaml +6 -0
  108. package/components/contextual-floating-button.yaml +6 -0
  109. package/components/dialog-close-button.yaml +4 -0
  110. package/components/floating-action-button.yaml +4 -0
  111. package/components/help-bubble.yaml +13 -0
  112. package/components/image-frame-reaction-button.yaml +6 -0
  113. package/components/input-button.yaml +9 -0
  114. package/components/list-item.yaml +4 -10
  115. package/components/menu-item.yaml +4 -0
  116. package/components/menu-sheet-close-button.yaml +4 -0
  117. package/components/menu-sheet-item.yaml +4 -0
  118. package/components/page-banner-close-button.yaml +102 -0
  119. package/components/page-banner.yaml +11 -3
  120. package/components/pagination-button.yaml +55 -0
  121. package/components/pagination-page-item.yaml +68 -0
  122. package/components/quantity-picker-button.yaml +4 -0
  123. package/components/radio.yaml +1 -0
  124. package/components/radiomark.yaml +7 -0
  125. package/components/reaction-button.yaml +4 -0
  126. package/components/segmented-control-item.yaml +4 -0
  127. package/components/select-box.yaml +8 -2
  128. package/components/select-item.yaml +4 -0
  129. package/components/select-trigger.yaml +4 -0
  130. package/components/side-panel-close-button.yaml +4 -0
  131. package/components/snackbar.yaml +7 -1
  132. package/components/switch.yaml +1 -0
  133. package/components/switchmark.yaml +8 -0
  134. package/components/tab.yaml +6 -0
  135. package/components/toggle-button.yaml +6 -0
  136. package/components/wheel-picker.yaml +98 -0
  137. package/duration.yaml +2 -0
  138. package/package.json +1 -1
  139. package/scale.yaml +2 -0
  140. package/timing-function.yaml +2 -0
@@ -34,6 +34,9 @@ data:
34
34
  type: dimension
35
35
  cornerRadius:
36
36
  type: dimension
37
+ scaleScope:
38
+ type: enum
39
+ values: [self, content]
37
40
  prefix:
38
41
  properties:
39
42
  paddingRight:
@@ -142,6 +145,7 @@ data:
142
145
  color: $color.bg.transparent-pressed
143
146
  marginX: $dimension.x1_5
144
147
  cornerRadius: $dimension.x2_5
148
+ scaleScope: content
145
149
 
146
150
  size=medium:
147
151
  enabled:
@@ -188,6 +192,6 @@ data:
188
192
  variant=separated:
189
193
  enabled:
190
194
  root:
191
- strokeColor: $color.stroke.neutral-muted
195
+ strokeColor: $color.stroke.neutral-weak
192
196
  strokeWidth: 1px
193
197
  cornerRadius: $radius.r3
@@ -12,12 +12,6 @@ data:
12
12
  type: duration
13
13
  colorTimingFunction:
14
14
  type: cubicBezier
15
- scale:
16
- type: number
17
- scaleDuration:
18
- type: duration
19
- scaleTimingFunction:
20
- type: cubicBezier
21
15
  color:
22
16
  type: color
23
17
  strokeColor:
@@ -36,6 +30,9 @@ data:
36
30
  type: dimension
37
31
  paddingY:
38
32
  type: dimension
33
+ scaleScope:
34
+ type: enum
35
+ values: [self, content]
39
36
  label:
40
37
  properties:
41
38
  color:
@@ -116,10 +113,11 @@ data:
116
113
  root:
117
114
  colorDuration: $duration.color-transition
118
115
  colorTimingFunction: $timing-function.easing
119
- scaleDuration: $duration.pressed-scale
120
- scaleTimingFunction: $timing-function.pressed-scale
121
116
  label:
122
117
  fontWeight: $font-weight.bold
118
+ pressed:
119
+ root:
120
+ scaleScope: self
123
121
  variant=brandSolid:
124
122
  enabled:
125
123
  root:
@@ -358,9 +356,6 @@ data:
358
356
  progressCircle:
359
357
  size: 14px
360
358
  thickness: 2px
361
- pressed:
362
- root:
363
- scale: $scale.s95
364
359
  size=xsmall, layout=withText:
365
360
  enabled:
366
361
  root:
@@ -390,9 +385,6 @@ data:
390
385
  progressCircle:
391
386
  size: 14px
392
387
  thickness: 2px
393
- pressed:
394
- root:
395
- scale: $scale.s97
396
388
  size=small, layout=withText:
397
389
  enabled:
398
390
  root:
@@ -422,9 +414,6 @@ data:
422
414
  progressCircle:
423
415
  size: 16px
424
416
  thickness: 2px
425
- pressed:
426
- root:
427
- scale: $scale.s97
428
417
  size=medium, layout=withText:
429
418
  enabled:
430
419
  root:
@@ -454,9 +443,6 @@ data:
454
443
  progressCircle:
455
444
  size: 18px
456
445
  thickness: 2px
457
- pressed:
458
- root:
459
- scale: $scale.s98
460
446
  size=large, layout=withText:
461
447
  enabled:
462
448
  root:
@@ -10,6 +10,9 @@ data:
10
10
  properties:
11
11
  gap:
12
12
  type: dimension
13
+ scaleScope:
14
+ type: enum
15
+ values: [self, content]
13
16
  icon:
14
17
  properties:
15
18
  color:
@@ -37,6 +40,9 @@ data:
37
40
  fontSize: $font-size.t2
38
41
  lineHeight: $line-height.t2
39
42
  fontWeight: $font-weight.medium
43
+ pressed:
44
+ root:
45
+ scaleScope: self
40
46
 
41
47
  type=file:
42
48
  enabled:
@@ -20,6 +20,9 @@ data:
20
20
  type: color
21
21
  offset:
22
22
  type: dimension
23
+ scaleScope:
24
+ type: enum
25
+ values: [self, content]
23
26
  icon:
24
27
  properties:
25
28
  size:
@@ -43,6 +46,7 @@ data:
43
46
  pressed:
44
47
  root:
45
48
  color: $color.bg.layer-default-pressed
49
+ scaleScope: self
46
50
  disabled:
47
51
  icon:
48
52
  color: $color.fg.disabled
@@ -26,6 +26,9 @@ data:
26
26
  type: color
27
27
  opacity:
28
28
  type: number
29
+ scaleScope:
30
+ type: enum
31
+ values: [self, content]
29
32
  thumbnail:
30
33
  properties:
31
34
  color:
@@ -121,6 +124,9 @@ data:
121
124
  removeButtonMask:
122
125
  offset: $dimension.x1_5
123
126
  size: $dimension.x6
127
+ pressed:
128
+ root:
129
+ scaleScope: self
124
130
 
125
131
  type=file:
126
132
  enabled:
@@ -20,6 +20,9 @@ data:
20
20
  type: dimension
21
21
  strokeColor:
22
22
  type: color
23
+ scaleScope:
24
+ type: enum
25
+ values: [self, content]
23
26
  icon:
24
27
  properties:
25
28
  size:
@@ -72,6 +75,7 @@ data:
72
75
  pressed:
73
76
  root:
74
77
  color: $color.bg.transparent-pressed
78
+ scaleScope: self
75
79
  disabled:
76
80
  icon:
77
81
  color: $color.fg.disabled
@@ -16,6 +16,9 @@ data:
16
16
  type: dimension
17
17
  size:
18
18
  type: dimension
19
+ scaleScope:
20
+ type: enum
21
+ values: [self, content]
19
22
  icon:
20
23
  properties:
21
24
  color:
@@ -36,3 +39,4 @@ data:
36
39
  pressed:
37
40
  root:
38
41
  color: $color.bg.neutral-weak-pressed
42
+ scaleScope: self
@@ -103,7 +103,7 @@ data:
103
103
  exitOpacity: 0
104
104
  content:
105
105
  color: $color.bg.layer-floating
106
- maxWidth: 640px
106
+ maxWidth: 480px
107
107
  topCornerRadius: $radius.r6
108
108
  enterDuration: $duration.d6
109
109
  enterTimingFunction: $timing-function.enter-expressive
@@ -0,0 +1,83 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: callout-close-button
5
+ name: Callout Close Button
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ color:
12
+ type: color
13
+ cornerRadius:
14
+ type: dimension
15
+ size:
16
+ type: dimension
17
+ colorDuration:
18
+ type: duration
19
+ colorTimingFunction:
20
+ type: cubicBezier
21
+ scaleScope:
22
+ type: enum
23
+ values: [self, content]
24
+ icon:
25
+ properties:
26
+ color:
27
+ type: color
28
+ size:
29
+ type: dimension
30
+ variants:
31
+ tone:
32
+ values:
33
+ neutral:
34
+ description: 일반적인 정보를 전달합니다.
35
+ informative:
36
+ description: 유용한 정보를 제공합니다.
37
+ positive:
38
+ description: 긍정적인 상태를 나타냅니다.
39
+ warning:
40
+ description: 주의가 필요한 상태를 나타냅니다.
41
+ critical:
42
+ description: 중요한 문제를 나타냅니다.
43
+ magic:
44
+ description: AI 기능을 나타냅니다.
45
+ definitions:
46
+ base:
47
+ enabled:
48
+ root:
49
+ color: $color.bg.transparent
50
+ cornerRadius: $radius.r2
51
+ size: $dimension.x10
52
+ colorDuration: $duration.color-transition
53
+ colorTimingFunction: $timing-function.easing
54
+ icon:
55
+ size: $dimension.x4
56
+ pressed:
57
+ root:
58
+ color: $color.bg.transparent-pressed
59
+ scaleScope: self
60
+ tone=neutral:
61
+ enabled:
62
+ icon:
63
+ color: $color.fg.neutral
64
+ tone=informative:
65
+ enabled:
66
+ icon:
67
+ color: $color.fg.informative-contrast
68
+ tone=positive:
69
+ enabled:
70
+ icon:
71
+ color: $color.fg.positive-contrast
72
+ tone=warning:
73
+ enabled:
74
+ icon:
75
+ color: $color.fg.warning-contrast
76
+ tone=critical:
77
+ enabled:
78
+ icon:
79
+ color: $color.fg.critical-contrast
80
+ tone=magic:
81
+ enabled:
82
+ icon:
83
+ color: $color.fg.neutral
@@ -22,6 +22,9 @@ data:
22
22
  type: color
23
23
  gradient:
24
24
  type: gradient
25
+ scaleScope:
26
+ type: enum
27
+ values: [self, content]
25
28
  prefixIcon:
26
29
  description: 아이콘은 Fill 타입 사용을 권장합니다.
27
30
  properties:
@@ -64,8 +67,6 @@ data:
64
67
  properties:
65
68
  size:
66
69
  type: dimension
67
- targetSize:
68
- type: dimension
69
70
  color:
70
71
  type: color
71
72
  variants:
@@ -108,7 +109,9 @@ data:
108
109
  fontWeight: $font-weight.regular
109
110
  suffixIcon:
110
111
  size: $dimension.x4
111
- targetSize: $dimension.x10
112
+ pressed:
113
+ root:
114
+ scaleScope: self
112
115
  tone=neutral:
113
116
  enabled:
114
117
  root:
@@ -7,6 +7,7 @@ data:
7
7
  schema:
8
8
  slots:
9
9
  root:
10
+ description: root 전체가 누르는 영역이며, pressed 피드백은 Checkmark의 축소로 표현됩니다.
10
11
  properties:
11
12
  gap:
12
13
  type: dimension
@@ -22,6 +22,10 @@ data:
22
22
  type: dimension
23
23
  cornerRadius:
24
24
  type: dimension
25
+ scaleScope:
26
+ type: enum
27
+ values: [self, content]
28
+ description: 감싸는 컴포넌트가 자체 pressed 피드백을 주는 경우(List Item 등)에는 이 값이 적용되지 않습니다.
25
29
  icon:
26
30
  properties:
27
31
  color:
@@ -45,6 +49,9 @@ data:
45
49
  root:
46
50
  colorDuration: $duration.color-transition
47
51
  colorTimingFunction: $timing-function.easing
52
+ pressed:
53
+ root:
54
+ scaleScope: self
48
55
  variant=square:
49
56
  enabled:
50
57
  root:
@@ -29,6 +29,9 @@ data:
29
29
  type: cubicBezier
30
30
  opacity:
31
31
  type: number
32
+ scaleScope:
33
+ type: enum
34
+ values: [self, content]
32
35
  label:
33
36
  properties:
34
37
  color:
@@ -95,6 +98,9 @@ data:
95
98
  paddingX: $dimension.x1_5
96
99
  icon:
97
100
  color: $color.fg.neutral
101
+ pressed:
102
+ root:
103
+ scaleScope: self
98
104
 
99
105
  variant=solid:
100
106
  enabled:
@@ -28,6 +28,9 @@ data:
28
28
  type: dimension
29
29
  size:
30
30
  type: dimension
31
+ scaleScope:
32
+ type: enum
33
+ values: [self, content]
31
34
  progressCircle:
32
35
  properties:
33
36
  size:
@@ -84,6 +87,9 @@ data:
84
87
  progressCircle:
85
88
  size: 16px
86
89
  thickness: 2px
90
+ pressed:
91
+ root:
92
+ scaleScope: self
87
93
  variant=solid:
88
94
  enabled:
89
95
  root:
@@ -18,6 +18,9 @@ data:
18
18
  type: duration
19
19
  colorTimingFunction:
20
20
  type: cubicBezier
21
+ scaleScope:
22
+ type: enum
23
+ values: [self, content]
21
24
  icon:
22
25
  properties:
23
26
  color:
@@ -45,3 +48,4 @@ data:
45
48
  pressed:
46
49
  root:
47
50
  color: $color.bg.transparent-pressed
51
+ scaleScope: self
@@ -32,6 +32,9 @@ data:
32
32
  type: dimension
33
33
  size:
34
34
  type: dimension
35
+ scaleScope:
36
+ type: enum
37
+ values: [self, content]
35
38
  icon:
36
39
  properties:
37
40
  color:
@@ -77,6 +80,7 @@ data:
77
80
  pressed:
78
81
  root:
79
82
  color: $color.bg.brand-solid-pressed
83
+ scaleScope: self
80
84
  extended=true:
81
85
  enabled:
82
86
  root:
@@ -18,6 +18,8 @@ data:
18
18
  type: dimension
19
19
  gap:
20
20
  type: dimension
21
+ maxWidth:
22
+ type: dimension
21
23
  enterScale:
22
24
  type: number
23
25
  enterOpacity:
@@ -34,6 +36,9 @@ data:
34
36
  type: duration
35
37
  exitTimingFunction:
36
38
  type: cubicBezier
39
+ overflowPadding:
40
+ type: dimension
41
+ description: 말풍선과 뷰포트 경계 사이의 최소 간격을 정의합니다.
37
42
  arrow:
38
43
  properties:
39
44
  color:
@@ -84,6 +89,9 @@ data:
84
89
  type: dimension
85
90
  marginTop:
86
91
  type: dimension
92
+ scaleScope:
93
+ type: enum
94
+ values: [self, content]
87
95
  definitions:
88
96
  base:
89
97
  enabled:
@@ -93,6 +101,7 @@ data:
93
101
  paddingX: $dimension.x3
94
102
  paddingY: $dimension.x2_5
95
103
  gap: $dimension.x1
104
+ maxWidth: 280px
96
105
  enterScale: 0.9
97
106
  enterOpacity: 0
98
107
  enterDuration: $duration.d4
@@ -101,6 +110,7 @@ data:
101
110
  exitOpacity: 0
102
111
  exitDuration: $duration.d4
103
112
  exitTimingFunction: $timing-function.easing
113
+ overflowPadding: $dimension.x4
104
114
  arrow:
105
115
  color: $color.bg.neutral-inverted
106
116
  width: 12px
@@ -125,3 +135,6 @@ data:
125
135
  size: $dimension.x3_5
126
136
  targetSize: 38px
127
137
  marginTop: $dimension.x0_5
138
+ pressed:
139
+ closeButton:
140
+ scaleScope: self
@@ -15,6 +15,9 @@ data:
15
15
  targetSize:
16
16
  type: dimension
17
17
  description: 터치 영역 크기입니다.
18
+ scaleScope:
19
+ type: enum
20
+ values: [self, content]
18
21
  fillIcon:
19
22
  description: lineIcon 아래에 내려가는 하트 아이콘입니다.
20
23
  properties:
@@ -68,3 +71,6 @@ data:
68
71
  position: 1
69
72
  lineIcon:
70
73
  color: $color.bg.transparent
74
+ pressed:
75
+ root:
76
+ scaleScope: self
@@ -31,6 +31,9 @@ data:
31
31
  description: enabled 상태의 stroke 위에 invalid 상태의 stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다.
32
32
  strokeTimingFunction:
33
33
  type: cubicBezier
34
+ scaleScope:
35
+ type: enum
36
+ values: [self, content]
34
37
  value:
35
38
  properties:
36
39
  fontSize:
@@ -89,6 +92,9 @@ data:
89
92
  type: dimension
90
93
  color:
91
94
  type: color
95
+ scaleScope:
96
+ type: enum
97
+ values: [self, content]
92
98
  variants:
93
99
  size:
94
100
  values:
@@ -137,6 +143,9 @@ data:
137
143
  pressed:
138
144
  root:
139
145
  color: $color.bg.transparent-pressed
146
+ scaleScope: content
147
+ clearButton:
148
+ scaleScope: self
140
149
 
141
150
  invalid:
142
151
  root:
@@ -31,13 +31,9 @@ data:
31
31
  type: duration
32
32
  borderRadiusTimingFunction:
33
33
  type: cubicBezier
34
- contentScale:
35
- type: number
36
- description: pressed 시 배경 레이어는 좌우 폭이 marginX만큼 줄어들고, 배경 레이어 위 요소들이 위치하는 레이아웃 레이어는 scale로 인해 전체적으로 줄어드는 형태로 두 레이어가 별개로 작동합니다.
37
- contentScaleDuration:
38
- type: duration
39
- contentScaleTimingFunction:
40
- type: cubicBezier
34
+ scaleScope:
35
+ type: enum
36
+ values: [self, content]
41
37
  body:
42
38
  properties:
43
39
  gap:
@@ -107,8 +103,6 @@ data:
107
103
  marginTimingFunction: $timing-function.easing
108
104
  borderRadiusDuration: $duration.d3
109
105
  borderRadiusTimingFunction: $timing-function.easing
110
- contentScaleDuration: $duration.pressed-scale
111
- contentScaleTimingFunction: $timing-function.pressed-scale
112
106
  body:
113
107
  gap: $dimension.x0_5
114
108
  paddingRight: $dimension.x2_5
@@ -142,7 +136,7 @@ data:
142
136
  color: $color.bg.transparent-pressed
143
137
  marginX: $dimension.x1_5
144
138
  cornerRadius: $dimension.x2_5
145
- contentScale: $scale.s97
139
+ scaleScope: content
146
140
  highlighted:
147
141
  root:
148
142
  color: $color.bg.brand-weak
@@ -32,6 +32,9 @@ data:
32
32
  type: dimension
33
33
  gap:
34
34
  type: dimension
35
+ scaleScope:
36
+ type: enum
37
+ values: [self, content]
35
38
  prefixIcon:
36
39
  properties:
37
40
  size:
@@ -103,6 +106,7 @@ data:
103
106
  color: $color.bg.transparent-pressed
104
107
  marginX: $dimension.x2
105
108
  cornerRadius: $radius.r3
109
+ scaleScope: content
106
110
  disabled:
107
111
  prefixIcon:
108
112
  color: $color.fg.disabled
@@ -18,6 +18,9 @@ data:
18
18
  type: dimension
19
19
  paddingY:
20
20
  type: dimension
21
+ scaleScope:
22
+ type: enum
23
+ values: [self, content]
21
24
  label:
22
25
  properties:
23
26
  color:
@@ -45,3 +48,4 @@ data:
45
48
  pressed:
46
49
  root:
47
50
  color: $color.bg.neutral-weak-pressed
51
+ scaleScope: self
@@ -18,6 +18,9 @@ data:
18
18
  type: dimension
19
19
  gap:
20
20
  type: dimension
21
+ scaleScope:
22
+ type: enum
23
+ values: [self, content]
21
24
  prefixIcon:
22
25
  properties:
23
26
  size:
@@ -86,6 +89,7 @@ data:
86
89
  pressed:
87
90
  root:
88
91
  color: $color.bg.neutral-weak-pressed
92
+ scaleScope: content
89
93
  tone=neutral:
90
94
  enabled:
91
95
  prefixIcon: