@seed-design/rootage-artifacts 2.6.0 → 2.8.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 (146) 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 +30 -0
  37. package/__generated__/components/help-bubble.json +30 -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/scroll-fog.d.ts +5 -12
  70. package/__generated__/components/scroll-fog.json +5 -12
  71. package/__generated__/components/segmented-control-item.d.ts +11 -0
  72. package/__generated__/components/segmented-control-item.json +11 -0
  73. package/__generated__/components/select-box.d.ts +22 -2
  74. package/__generated__/components/select-box.json +22 -2
  75. package/__generated__/components/select-item.d.ts +11 -0
  76. package/__generated__/components/select-item.json +11 -0
  77. package/__generated__/components/select-trigger.d.ts +11 -0
  78. package/__generated__/components/select-trigger.json +11 -0
  79. package/__generated__/components/side-panel-close-button.d.ts +11 -0
  80. package/__generated__/components/side-panel-close-button.json +11 -0
  81. package/__generated__/components/snackbar.d.ts +21 -1
  82. package/__generated__/components/snackbar.json +21 -1
  83. package/__generated__/components/switch.d.ts +1 -0
  84. package/__generated__/components/switch.json +2 -1
  85. package/__generated__/components/switchmark.d.ts +22 -0
  86. package/__generated__/components/switchmark.json +23 -1
  87. package/__generated__/components/tab.d.ts +20 -0
  88. package/__generated__/components/tab.json +20 -0
  89. package/__generated__/components/toggle-button.d.ts +20 -0
  90. package/__generated__/components/toggle-button.json +20 -0
  91. package/__generated__/components/wheel-picker.d.ts +287 -0
  92. package/__generated__/components/wheel-picker.json +286 -0
  93. package/__generated__/components/wheel-picker.mjs +2 -0
  94. package/__generated__/gradient.d.ts +143 -0
  95. package/__generated__/gradient.json +143 -0
  96. package/__generated__/index.d.ts +16 -1
  97. package/__generated__/index.json +16 -1
  98. package/color.yaml +3 -3
  99. package/components/accordion-item.yaml +5 -1
  100. package/components/action-button.yaml +6 -20
  101. package/components/attachment-input-item-action-button.yaml +6 -0
  102. package/components/attachment-input-item-remove-button.yaml +4 -0
  103. package/components/attachment-input-item.yaml +6 -0
  104. package/components/attachment-input-trigger.yaml +4 -0
  105. package/components/bottom-sheet-close-button.yaml +4 -0
  106. package/components/bottom-sheet.yaml +1 -1
  107. package/components/callout-close-button.yaml +83 -0
  108. package/components/callout.yaml +6 -3
  109. package/components/checkbox.yaml +1 -0
  110. package/components/checkmark.yaml +7 -0
  111. package/components/chip.yaml +6 -0
  112. package/components/contextual-floating-button.yaml +6 -0
  113. package/components/dialog-close-button.yaml +4 -0
  114. package/components/floating-action-button.yaml +4 -0
  115. package/components/help-bubble.yaml +9 -0
  116. package/components/image-frame-reaction-button.yaml +6 -0
  117. package/components/input-button.yaml +9 -0
  118. package/components/list-item.yaml +4 -10
  119. package/components/menu-item.yaml +4 -0
  120. package/components/menu-sheet-close-button.yaml +4 -0
  121. package/components/menu-sheet-item.yaml +4 -0
  122. package/components/page-banner-close-button.yaml +102 -0
  123. package/components/page-banner.yaml +11 -3
  124. package/components/pagination-button.yaml +55 -0
  125. package/components/pagination-page-item.yaml +68 -0
  126. package/components/quantity-picker-button.yaml +4 -0
  127. package/components/radio.yaml +1 -0
  128. package/components/radiomark.yaml +7 -0
  129. package/components/reaction-button.yaml +4 -0
  130. package/components/scroll-fog.yaml +3 -6
  131. package/components/segmented-control-item.yaml +4 -0
  132. package/components/select-box.yaml +8 -2
  133. package/components/select-item.yaml +4 -0
  134. package/components/select-trigger.yaml +4 -0
  135. package/components/side-panel-close-button.yaml +4 -0
  136. package/components/snackbar.yaml +7 -1
  137. package/components/switch.yaml +1 -0
  138. package/components/switchmark.yaml +8 -0
  139. package/components/tab.yaml +6 -0
  140. package/components/toggle-button.yaml +6 -0
  141. package/components/wheel-picker.yaml +98 -0
  142. package/duration.yaml +2 -0
  143. package/gradient.yaml +73 -0
  144. package/package.json +1 -1
  145. package/scale.yaml +2 -0
  146. package/timing-function.yaml +2 -0
@@ -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:
@@ -87,6 +89,9 @@ data:
87
89
  type: dimension
88
90
  marginTop:
89
91
  type: dimension
92
+ scaleScope:
93
+ type: enum
94
+ values: [self, content]
90
95
  definitions:
91
96
  base:
92
97
  enabled:
@@ -96,6 +101,7 @@ data:
96
101
  paddingX: $dimension.x3
97
102
  paddingY: $dimension.x2_5
98
103
  gap: $dimension.x1
104
+ maxWidth: 280px
99
105
  enterScale: 0.9
100
106
  enterOpacity: 0
101
107
  enterDuration: $duration.d4
@@ -129,3 +135,6 @@ data:
129
135
  size: $dimension.x3_5
130
136
  targetSize: 38px
131
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:
@@ -0,0 +1,102 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: page-banner-close-button
5
+ name: Page Banner 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
+ marginLeft:
18
+ type: dimension
19
+ colorDuration:
20
+ type: duration
21
+ colorTimingFunction:
22
+ type: cubicBezier
23
+ scaleScope:
24
+ type: enum
25
+ values: [self, content]
26
+ icon:
27
+ properties:
28
+ color:
29
+ type: color
30
+ size:
31
+ type: dimension
32
+ variants:
33
+ variant:
34
+ values:
35
+ weak:
36
+ description: 배경색이 연한 스타일입니다.
37
+ solid:
38
+ description: 배경색이 진한 스타일입니다.
39
+ tone:
40
+ values:
41
+ magic:
42
+ description: AI 기능을 나타냅니다. variant=solid와 조합하여 사용하지 않습니다.
43
+ definitions:
44
+ base:
45
+ enabled:
46
+ root:
47
+ color: $color.bg.transparent
48
+ cornerRadius: $radius.r2
49
+ size: $dimension.x10
50
+ marginLeft: $dimension.x2
51
+ colorDuration: $duration.color-transition
52
+ colorTimingFunction: $timing-function.easing
53
+ icon:
54
+ size: $dimension.x4
55
+ pressed:
56
+ root:
57
+ color: $color.bg.transparent-pressed
58
+ scaleScope: self
59
+ tone=neutral, variant=weak:
60
+ enabled:
61
+ icon:
62
+ color: $color.fg.neutral
63
+ tone=neutral, variant=solid:
64
+ enabled:
65
+ icon:
66
+ color: $color.fg.neutral-inverted
67
+ tone=positive, variant=weak:
68
+ enabled:
69
+ icon:
70
+ color: $color.fg.positive-contrast
71
+ tone=positive, variant=solid:
72
+ enabled:
73
+ icon:
74
+ color: $color.palette.static-white
75
+ tone=informative, variant=weak:
76
+ enabled:
77
+ icon:
78
+ color: $color.fg.informative-contrast
79
+ tone=informative, variant=solid:
80
+ enabled:
81
+ icon:
82
+ color: $color.palette.static-white
83
+ tone=warning, variant=weak:
84
+ enabled:
85
+ icon:
86
+ color: $color.fg.warning-contrast
87
+ tone=warning, variant=solid:
88
+ enabled:
89
+ icon:
90
+ color: $color.palette.static-black-alpha-900
91
+ tone=critical, variant=weak:
92
+ enabled:
93
+ icon:
94
+ color: $color.fg.critical-contrast
95
+ tone=critical, variant=solid:
96
+ enabled:
97
+ icon:
98
+ color: $color.palette.static-white
99
+ tone=magic, variant=weak:
100
+ enabled:
101
+ icon:
102
+ color: $color.fg.neutral
@@ -18,6 +18,9 @@ data:
18
18
  type: color
19
19
  gradient:
20
20
  type: gradient
21
+ scaleScope:
22
+ type: enum
23
+ values: [self, content]
21
24
  prefixIcon:
22
25
  description: 아이콘은 Fill 타입 사용을 권장합니다.
23
26
  properties:
@@ -63,12 +66,13 @@ data:
63
66
  type: number
64
67
  color:
65
68
  type: color
69
+ scaleScope:
70
+ type: enum
71
+ values: [self, content]
66
72
  suffixIcon:
67
73
  properties:
68
74
  size:
69
75
  type: dimension
70
- targetSize:
71
- type: dimension
72
76
  marginLeft:
73
77
  type: dimension
74
78
  color:
@@ -111,8 +115,12 @@ data:
111
115
  fontWeight: $font-weight.bold
112
116
  suffixIcon:
113
117
  size: $dimension.x4
114
- targetSize: $dimension.x10
115
118
  marginLeft: $dimension.x2
119
+ pressed:
120
+ root:
121
+ scaleScope: content
122
+ button:
123
+ scaleScope: self
116
124
  tone=neutral, variant=weak:
117
125
  enabled:
118
126
  root:
@@ -0,0 +1,55 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: pagination-button
5
+ name: Pagination Button
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ color:
12
+ type: color
13
+ colorDuration:
14
+ type: duration
15
+ colorTimingFunction:
16
+ type: cubicBezier
17
+ scale:
18
+ type: number
19
+ scaleDuration:
20
+ type: duration
21
+ scaleTimingFunction:
22
+ type: cubicBezier
23
+ size:
24
+ type: dimension
25
+ cornerRadius:
26
+ type: dimension
27
+ icon:
28
+ properties:
29
+ color:
30
+ type: color
31
+ size:
32
+ type: dimension
33
+ definitions:
34
+ base:
35
+ enabled:
36
+ root:
37
+ color: $color.bg.transparent
38
+ colorDuration: $duration.color-transition
39
+ colorTimingFunction: $timing-function.easing
40
+ scaleDuration: $duration.pressed-scale
41
+ scaleTimingFunction: $timing-function.pressed-scale
42
+ size: $dimension.x10
43
+ cornerRadius: $radius.r2
44
+ icon:
45
+ color: $color.fg.neutral
46
+ size: $dimension.x4
47
+ pressed:
48
+ root:
49
+ color: $color.bg.transparent-pressed
50
+ scale: $scale.s97
51
+ disabled:
52
+ root:
53
+ color: $color.bg.transparent
54
+ icon:
55
+ color: $color.fg.disabled
@@ -0,0 +1,68 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: pagination-page-item
5
+ name: Pagination Page Item
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ color:
12
+ type: color
13
+ scale:
14
+ type: number
15
+ scaleDuration:
16
+ type: duration
17
+ scaleTimingFunction:
18
+ type: cubicBezier
19
+ size:
20
+ type: dimension
21
+ cornerRadius:
22
+ type: dimension
23
+ label:
24
+ properties:
25
+ color:
26
+ type: color
27
+ fontSize:
28
+ type: dimension
29
+ lineHeight:
30
+ type: dimension
31
+ fontWeight:
32
+ type: number
33
+ definitions:
34
+ base:
35
+ enabled:
36
+ root:
37
+ color: $color.bg.transparent
38
+ scaleDuration: $duration.pressed-scale
39
+ scaleTimingFunction: $timing-function.pressed-scale
40
+ size: $dimension.x10
41
+ cornerRadius: $radius.r2
42
+ label:
43
+ color: $color.fg.neutral
44
+ fontSize: $font-size.t4
45
+ lineHeight: $line-height.t4
46
+ fontWeight: $font-weight.bold
47
+ pressed:
48
+ root:
49
+ color: $color.bg.transparent-pressed
50
+ scale: $scale.s97
51
+ selected:
52
+ root:
53
+ color: $color.bg.neutral-inverted
54
+ label:
55
+ color: $color.fg.neutral-inverted
56
+ selected, pressed:
57
+ root:
58
+ color: $color.bg.neutral-inverted-pressed
59
+ disabled:
60
+ root:
61
+ color: $color.bg.transparent
62
+ label:
63
+ color: $color.fg.disabled
64
+ selected, disabled:
65
+ root:
66
+ color: $color.bg.disabled
67
+ label:
68
+ color: $color.fg.disabled
@@ -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
  size:
@@ -55,6 +58,7 @@ data:
55
58
  pressed:
56
59
  root:
57
60
  color: $color.bg.transparent-pressed
61
+ scaleScope: self
58
62
  disabled:
59
63
  icon:
60
64
  color: $color.fg.disabled
@@ -7,6 +7,7 @@ data:
7
7
  schema:
8
8
  slots:
9
9
  root:
10
+ description: root 전체가 누르는 영역이며, pressed 피드백은 Radiomark의 축소로 표현됩니다.
10
11
  properties:
11
12
  gap:
12
13
  type: dimension