@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
@@ -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
@@ -22,6 +22,10 @@ data:
22
22
  type: color
23
23
  cornerRadius:
24
24
  type: dimension
25
+ scaleScope:
26
+ type: enum
27
+ values: [self, content]
28
+ description: 감싸는 컴포넌트가 자체 pressed 피드백을 주는 경우(List Item, Select Box 등)에는 이 값이 적용되지 않습니다.
25
29
  icon:
26
30
  properties:
27
31
  size:
@@ -48,6 +52,9 @@ data:
48
52
  root:
49
53
  strokeWidth: 0px
50
54
  strokeColor: "#00000000"
55
+ pressed:
56
+ root:
57
+ scaleScope: self
51
58
 
52
59
  tone=brand:
53
60
  enabled,selected:
@@ -28,6 +28,9 @@ data:
28
28
  type: dimension
29
29
  paddingY:
30
30
  type: dimension
31
+ scaleScope:
32
+ type: enum
33
+ values: [self, content]
31
34
  label:
32
35
  properties:
33
36
  color:
@@ -87,6 +90,7 @@ data:
87
90
  pressed:
88
91
  root:
89
92
  color: $color.bg.transparent-pressed
93
+ scaleScope: self
90
94
  selected:
91
95
  root:
92
96
  color: $color.bg.transparent
@@ -30,6 +30,9 @@ data:
30
30
  type: dimension
31
31
  strokeColor:
32
32
  type: color
33
+ scaleScope:
34
+ type: enum
35
+ values: [self, content]
33
36
  label:
34
37
  properties:
35
38
  fontSize:
@@ -68,6 +71,7 @@ data:
68
71
  color: $color.bg.neutral-weak-pressed
69
72
  strokeWidth: 1px
70
73
  strokeColor: $color.stroke.neutral-muted
74
+ scaleScope: content
71
75
  selected:
72
76
  label:
73
77
  color: $color.fg.neutral
@@ -25,6 +25,9 @@ data:
25
25
  description: enabled 상태의 stroke 위에 selected 상태의 stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다.
26
26
  strokeTimingFunction:
27
27
  type: cubicBezier
28
+ scaleScope:
29
+ type: enum
30
+ values: [self, content]
28
31
  trigger:
29
32
  properties:
30
33
  gap:
@@ -103,7 +106,7 @@ data:
103
106
  root:
104
107
  cornerRadius: $radius.r3
105
108
  color: $color.bg.transparent
106
- strokeColor: $color.stroke.neutral-muted
109
+ strokeColor: $color.stroke.neutral-weak
107
110
  strokeWidth: 1px
108
111
  colorDuration: $duration.color-transition
109
112
  colorTimingFunction: $timing-function.easing
@@ -146,7 +149,7 @@ data:
146
149
  strokeColor: $color.stroke.neutral-contrast
147
150
  disabled:
148
151
  root:
149
- strokeColor: $color.stroke.neutral-muted
152
+ strokeColor: $color.stroke.neutral-weak
150
153
  prefixIcon:
151
154
  color: $color.fg.disabled
152
155
  label:
@@ -157,6 +160,9 @@ data:
157
160
  enabled,pressed:
158
161
  root:
159
162
  color: $color.bg.transparent-pressed
163
+ pressed:
164
+ root:
165
+ scaleScope: content
160
166
 
161
167
  layout=horizontal:
162
168
  enabled:
@@ -28,6 +28,9 @@ data:
28
28
  type: dimension
29
29
  gap:
30
30
  type: dimension
31
+ scaleScope:
32
+ type: enum
33
+ values: [self, content]
31
34
  prefixIcon:
32
35
  properties:
33
36
  size:
@@ -99,6 +102,7 @@ data:
99
102
  root:
100
103
  color: $color.bg.transparent-pressed
101
104
  marginX: $dimension.x2
105
+ scaleScope: content
102
106
 
103
107
  disabled:
104
108
  prefixIcon:
@@ -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:
@@ -114,6 +117,7 @@ data:
114
117
  pressed:
115
118
  root:
116
119
  color: $color.bg.transparent-pressed
120
+ scaleScope: content
117
121
 
118
122
  invalid:
119
123
  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
@@ -84,6 +84,9 @@ data:
84
84
  type: dimension
85
85
  fontWeight:
86
86
  type: number
87
+ scaleScope:
88
+ type: enum
89
+ values: [self, content]
87
90
  definitions:
88
91
  base:
89
92
  enabled:
@@ -97,7 +100,7 @@ data:
97
100
  color: $color.bg.neutral-inverted
98
101
  cornerRadius: $radius.r2
99
102
  minHeight: 44px
100
- maxWidth: 560px
103
+ maxWidth: 464px
101
104
  paddingX: $dimension.x2_5
102
105
  paddingY: $dimension.x2_5
103
106
  enterOpacity: 0
@@ -126,6 +129,9 @@ data:
126
129
  fontSize: $font-size.t4
127
130
  lineHeight: $line-height.t4
128
131
  fontWeight: $font-weight.bold
132
+ pressed:
133
+ actionButton:
134
+ scaleScope: self
129
135
  variant=default: {}
130
136
  variant=positive:
131
137
  enabled:
@@ -7,6 +7,7 @@ data:
7
7
  schema:
8
8
  slots:
9
9
  root:
10
+ description: root 전체가 누르는 영역이며, pressed 피드백은 Switchmark의 축소로 표현됩니다.
10
11
  properties:
11
12
  height:
12
13
  type: dimension
@@ -34,6 +34,10 @@ data:
34
34
  type: dimension
35
35
  paddingY:
36
36
  type: dimension
37
+ scaleScope:
38
+ type: enum
39
+ values: [self, content]
40
+ description: 감싸는 컴포넌트가 자체 pressed 피드백을 주는 경우(List Item 등)에는 이 값이 적용되지 않습니다.
37
41
  thumb:
38
42
  properties:
39
43
  color:
@@ -52,6 +56,7 @@ data:
52
56
  type: dimension
53
57
  scale:
54
58
  type: number
59
+ description: selected 여부에 따른 thumb 크기입니다. pressed 축소는 root에 적용되므로 이 값과 무관합니다.
55
60
  scaleDuration:
56
61
  type: duration
57
62
  scaleTimingFunction:
@@ -88,6 +93,9 @@ data:
88
93
  selected:
89
94
  thumb:
90
95
  scale: 1.0
96
+ pressed:
97
+ root:
98
+ scaleScope: self
91
99
 
92
100
  tone=brand:
93
101
  enabled:
@@ -14,6 +14,9 @@ data:
14
14
  type: dimension
15
15
  paddingY:
16
16
  type: dimension
17
+ scaleScope:
18
+ type: enum
19
+ values: [self, content]
17
20
  label:
18
21
  properties:
19
22
  color:
@@ -35,6 +38,9 @@ data:
35
38
  disabled:
36
39
  label:
37
40
  color: $color.fg.disabled
41
+ pressed:
42
+ root:
43
+ scaleScope: self
38
44
  size=medium:
39
45
  enabled:
40
46
  root:
@@ -24,6 +24,9 @@ data:
24
24
  type: dimension
25
25
  paddingY:
26
26
  type: dimension
27
+ scaleScope:
28
+ type: enum
29
+ values: [self, content]
27
30
  label:
28
31
  properties:
29
32
  color:
@@ -71,6 +74,9 @@ data:
71
74
  colorTimingFunction: $timing-function.easing
72
75
  label:
73
76
  fontWeight: $font-weight.bold
77
+ pressed:
78
+ root:
79
+ scaleScope: self
74
80
  variant=brandSolid:
75
81
  enabled:
76
82
  root:
@@ -0,0 +1,98 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: wheel-picker
5
+ name: Wheel Picker
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ height:
12
+ type: dimension
13
+ color:
14
+ type: color
15
+ selectionIndicator:
16
+ properties:
17
+ height:
18
+ type: dimension
19
+ insetX:
20
+ type: dimension
21
+ cornerRadius:
22
+ type: dimension
23
+ color:
24
+ type: color
25
+ scrollFog:
26
+ properties:
27
+ maxHeight:
28
+ type: dimension
29
+ maxHeightFraction:
30
+ type: number
31
+ item:
32
+ properties:
33
+ height:
34
+ type: dimension
35
+ itemLabel:
36
+ properties:
37
+ paddingX:
38
+ type: dimension
39
+ fontSize:
40
+ type: dimension
41
+ lineHeight:
42
+ type: dimension
43
+ fontWeight:
44
+ type: number
45
+ color:
46
+ type: color
47
+ variants:
48
+ size:
49
+ values:
50
+ small: {}
51
+ medium: {}
52
+ definitions:
53
+ base:
54
+ enabled:
55
+ root:
56
+ color: $color.bg.layer-floating
57
+ selectionIndicator:
58
+ insetX: $dimension.x4
59
+ cornerRadius: $radius.r2
60
+ color: $color.bg.neutral-weak
61
+ scrollFog:
62
+ maxHeightFraction: 0.4
63
+ itemLabel:
64
+ paddingX: $dimension.x4
65
+ fontWeight: $font-weight.medium
66
+ color: $color.fg.disabled
67
+ selected:
68
+ itemLabel:
69
+ color: $color.fg.neutral
70
+ disabled:
71
+ itemLabel:
72
+ color: $color.fg.disabled
73
+ size=small:
74
+ enabled:
75
+ root:
76
+ height: 180px
77
+ selectionIndicator:
78
+ height: 36px
79
+ scrollFog:
80
+ maxHeight: 108px
81
+ item:
82
+ height: 36px
83
+ itemLabel:
84
+ fontSize: $font-size.t7-static
85
+ lineHeight: $line-height.t7-static
86
+ size=medium:
87
+ enabled:
88
+ root:
89
+ height: 220px
90
+ selectionIndicator:
91
+ height: 44px
92
+ scrollFog:
93
+ maxHeight: 132px
94
+ item:
95
+ height: 44px
96
+ itemLabel:
97
+ fontSize: $font-size.t10-static
98
+ lineHeight: $line-height.t10-static
package/duration.yaml CHANGED
@@ -27,6 +27,8 @@ data:
27
27
  $duration.color-transition:
28
28
  values:
29
29
  default: $duration.d3
30
+ # TODO: consider renaming to match the scale feedback naming. Held back because the token is
31
+ # already released as --seed-duration-pressed-scale.
30
32
  $duration.pressed-scale:
31
33
  values:
32
34
  default: $duration.d3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-design/rootage-artifacts",
3
- "version": "2.5.0",
3
+ "version": "2.7.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/daangn/seed-design.git",
package/scale.yaml CHANGED
@@ -5,6 +5,8 @@ metadata:
5
5
  data:
6
6
  collection: motion
7
7
  tokens:
8
+ # TODO: remove all three — superseded by the dynamic scale that scale feedback derives at runtime,
9
+ # and no component spec references them.
8
10
  $scale.s95:
9
11
  values:
10
12
  preferred: 0.95
@@ -35,6 +35,8 @@ data:
35
35
  default:
36
36
  type: cubicBezier
37
37
  value: [0.35, 0, 0.95, 0.55]
38
+ # TODO: consider renaming to match the scale feedback naming. Held back because the token is
39
+ # already released as --seed-timing-function-pressed-scale.
38
40
  $timing-function.pressed-scale:
39
41
  values:
40
42
  default: