@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.
- package/__generated__/color.d.ts +3 -3
- package/__generated__/color.json +3 -3
- package/__generated__/components/accordion-item.d.ts +12 -1
- package/__generated__/components/accordion-item.json +12 -1
- package/__generated__/components/action-button.d.ts +20 -69
- package/__generated__/components/action-button.json +20 -69
- package/__generated__/components/attachment-input-item-action-button.d.ts +20 -0
- package/__generated__/components/attachment-input-item-action-button.json +20 -0
- package/__generated__/components/attachment-input-item-remove-button.d.ts +11 -0
- package/__generated__/components/attachment-input-item-remove-button.json +11 -0
- package/__generated__/components/attachment-input-item.d.ts +20 -0
- package/__generated__/components/attachment-input-item.json +20 -0
- package/__generated__/components/attachment-input-trigger.d.ts +11 -0
- package/__generated__/components/attachment-input-trigger.json +11 -0
- package/__generated__/components/bottom-sheet-close-button.d.ts +11 -0
- package/__generated__/components/bottom-sheet-close-button.json +11 -0
- package/__generated__/components/bottom-sheet.d.ts +1 -1
- package/__generated__/components/bottom-sheet.json +1 -1
- package/__generated__/components/callout-close-button.d.ts +256 -0
- package/__generated__/components/callout-close-button.json +255 -0
- package/__generated__/components/callout-close-button.mjs +2 -0
- package/__generated__/components/callout.d.ts +19 -6
- package/__generated__/components/callout.json +20 -7
- package/__generated__/components/checkbox.d.ts +1 -0
- package/__generated__/components/checkbox.json +2 -1
- package/__generated__/components/checkmark.d.ts +21 -0
- package/__generated__/components/checkmark.json +21 -0
- package/__generated__/components/chip.d.ts +20 -0
- package/__generated__/components/chip.json +20 -0
- package/__generated__/components/contextual-floating-button.d.ts +20 -0
- package/__generated__/components/contextual-floating-button.json +20 -0
- package/__generated__/components/dialog-close-button.d.ts +11 -0
- package/__generated__/components/dialog-close-button.json +11 -0
- package/__generated__/components/floating-action-button.d.ts +11 -0
- package/__generated__/components/floating-action-button.json +11 -0
- package/__generated__/components/help-bubble.d.ts +38 -0
- package/__generated__/components/help-bubble.json +38 -0
- package/__generated__/components/image-frame-reaction-button.d.ts +20 -0
- package/__generated__/components/image-frame-reaction-button.json +20 -0
- package/__generated__/components/input-button.d.ts +24 -0
- package/__generated__/components/input-button.json +24 -0
- package/__generated__/components/list-item.d.ts +9 -20
- package/__generated__/components/list-item.json +9 -20
- package/__generated__/components/menu-item.d.ts +11 -0
- package/__generated__/components/menu-item.json +11 -0
- package/__generated__/components/menu-sheet-close-button.d.ts +11 -0
- package/__generated__/components/menu-sheet-close-button.json +11 -0
- package/__generated__/components/menu-sheet-item.d.ts +11 -0
- package/__generated__/components/menu-sheet-item.json +11 -0
- package/__generated__/components/page-banner-close-button.d.ts +375 -0
- package/__generated__/components/page-banner-close-button.json +374 -0
- package/__generated__/components/page-banner-close-button.mjs +2 -0
- package/__generated__/components/page-banner.d.ts +33 -7
- package/__generated__/components/page-banner.json +33 -7
- package/__generated__/components/pagination-button.d.ts +145 -0
- package/__generated__/components/pagination-button.json +144 -0
- package/__generated__/components/pagination-button.mjs +2 -0
- package/__generated__/components/pagination-page-item.d.ts +198 -0
- package/__generated__/components/pagination-page-item.json +197 -0
- package/__generated__/components/pagination-page-item.mjs +2 -0
- package/__generated__/components/quantity-picker-button.d.ts +11 -0
- package/__generated__/components/quantity-picker-button.json +11 -0
- package/__generated__/components/radio.d.ts +1 -0
- package/__generated__/components/radio.json +2 -1
- package/__generated__/components/radiomark.d.ts +21 -0
- package/__generated__/components/radiomark.json +21 -0
- package/__generated__/components/reaction-button.d.ts +11 -0
- package/__generated__/components/reaction-button.json +11 -0
- package/__generated__/components/segmented-control-item.d.ts +11 -0
- package/__generated__/components/segmented-control-item.json +11 -0
- package/__generated__/components/select-box.d.ts +22 -2
- package/__generated__/components/select-box.json +22 -2
- package/__generated__/components/select-item.d.ts +11 -0
- package/__generated__/components/select-item.json +11 -0
- package/__generated__/components/select-trigger.d.ts +11 -0
- package/__generated__/components/select-trigger.json +11 -0
- package/__generated__/components/side-panel-close-button.d.ts +11 -0
- package/__generated__/components/side-panel-close-button.json +11 -0
- package/__generated__/components/snackbar.d.ts +21 -1
- package/__generated__/components/snackbar.json +21 -1
- package/__generated__/components/switch.d.ts +1 -0
- package/__generated__/components/switch.json +2 -1
- package/__generated__/components/switchmark.d.ts +22 -0
- package/__generated__/components/switchmark.json +23 -1
- package/__generated__/components/tab.d.ts +20 -0
- package/__generated__/components/tab.json +20 -0
- package/__generated__/components/toggle-button.d.ts +20 -0
- package/__generated__/components/toggle-button.json +20 -0
- package/__generated__/components/wheel-picker.d.ts +287 -0
- package/__generated__/components/wheel-picker.json +286 -0
- package/__generated__/components/wheel-picker.mjs +2 -0
- package/__generated__/index.d.ts +16 -1
- package/__generated__/index.json +16 -1
- package/color.yaml +3 -3
- package/components/accordion-item.yaml +5 -1
- package/components/action-button.yaml +6 -20
- package/components/attachment-input-item-action-button.yaml +6 -0
- package/components/attachment-input-item-remove-button.yaml +4 -0
- package/components/attachment-input-item.yaml +6 -0
- package/components/attachment-input-trigger.yaml +4 -0
- package/components/bottom-sheet-close-button.yaml +4 -0
- package/components/bottom-sheet.yaml +1 -1
- package/components/callout-close-button.yaml +83 -0
- package/components/callout.yaml +6 -3
- package/components/checkbox.yaml +1 -0
- package/components/checkmark.yaml +7 -0
- package/components/chip.yaml +6 -0
- package/components/contextual-floating-button.yaml +6 -0
- package/components/dialog-close-button.yaml +4 -0
- package/components/floating-action-button.yaml +4 -0
- package/components/help-bubble.yaml +13 -0
- package/components/image-frame-reaction-button.yaml +6 -0
- package/components/input-button.yaml +9 -0
- package/components/list-item.yaml +4 -10
- package/components/menu-item.yaml +4 -0
- package/components/menu-sheet-close-button.yaml +4 -0
- package/components/menu-sheet-item.yaml +4 -0
- package/components/page-banner-close-button.yaml +102 -0
- package/components/page-banner.yaml +11 -3
- package/components/pagination-button.yaml +55 -0
- package/components/pagination-page-item.yaml +68 -0
- package/components/quantity-picker-button.yaml +4 -0
- package/components/radio.yaml +1 -0
- package/components/radiomark.yaml +7 -0
- package/components/reaction-button.yaml +4 -0
- package/components/segmented-control-item.yaml +4 -0
- package/components/select-box.yaml +8 -2
- package/components/select-item.yaml +4 -0
- package/components/select-trigger.yaml +4 -0
- package/components/side-panel-close-button.yaml +4 -0
- package/components/snackbar.yaml +7 -1
- package/components/switch.yaml +1 -0
- package/components/switchmark.yaml +8 -0
- package/components/tab.yaml +6 -0
- package/components/toggle-button.yaml +6 -0
- package/components/wheel-picker.yaml +98 -0
- package/duration.yaml +2 -0
- package/package.json +1 -1
- package/scale.yaml +2 -0
- package/timing-function.yaml +2 -0
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
{
|
|
2
|
+
"kind": "ComponentSpec",
|
|
3
|
+
"metadata": {
|
|
4
|
+
"id": "pagination-button",
|
|
5
|
+
"name": "Pagination Button"
|
|
6
|
+
},
|
|
7
|
+
"data": {
|
|
8
|
+
"id": "pagination-button",
|
|
9
|
+
"name": "Pagination Button",
|
|
10
|
+
"schema": {
|
|
11
|
+
"slots": {
|
|
12
|
+
"root": {
|
|
13
|
+
"properties": {
|
|
14
|
+
"color": {
|
|
15
|
+
"type": "color"
|
|
16
|
+
},
|
|
17
|
+
"colorDuration": {
|
|
18
|
+
"type": "duration"
|
|
19
|
+
},
|
|
20
|
+
"colorTimingFunction": {
|
|
21
|
+
"type": "cubicBezier"
|
|
22
|
+
},
|
|
23
|
+
"scale": {
|
|
24
|
+
"type": "number"
|
|
25
|
+
},
|
|
26
|
+
"scaleDuration": {
|
|
27
|
+
"type": "duration"
|
|
28
|
+
},
|
|
29
|
+
"scaleTimingFunction": {
|
|
30
|
+
"type": "cubicBezier"
|
|
31
|
+
},
|
|
32
|
+
"size": {
|
|
33
|
+
"type": "dimension"
|
|
34
|
+
},
|
|
35
|
+
"cornerRadius": {
|
|
36
|
+
"type": "dimension"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"icon": {
|
|
41
|
+
"properties": {
|
|
42
|
+
"color": {
|
|
43
|
+
"type": "color"
|
|
44
|
+
},
|
|
45
|
+
"size": {
|
|
46
|
+
"type": "dimension"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"variants": {}
|
|
52
|
+
},
|
|
53
|
+
"definitions": [
|
|
54
|
+
{
|
|
55
|
+
"variants": {},
|
|
56
|
+
"definitions": [
|
|
57
|
+
{
|
|
58
|
+
"states": [
|
|
59
|
+
"enabled"
|
|
60
|
+
],
|
|
61
|
+
"slots": {
|
|
62
|
+
"root": {
|
|
63
|
+
"color": {
|
|
64
|
+
"type": "color",
|
|
65
|
+
"value": "$color.bg.transparent"
|
|
66
|
+
},
|
|
67
|
+
"colorDuration": {
|
|
68
|
+
"type": "duration",
|
|
69
|
+
"value": "$duration.color-transition"
|
|
70
|
+
},
|
|
71
|
+
"colorTimingFunction": {
|
|
72
|
+
"type": "cubicBezier",
|
|
73
|
+
"value": "$timing-function.easing"
|
|
74
|
+
},
|
|
75
|
+
"scaleDuration": {
|
|
76
|
+
"type": "duration",
|
|
77
|
+
"value": "$duration.pressed-scale"
|
|
78
|
+
},
|
|
79
|
+
"scaleTimingFunction": {
|
|
80
|
+
"type": "cubicBezier",
|
|
81
|
+
"value": "$timing-function.pressed-scale"
|
|
82
|
+
},
|
|
83
|
+
"size": {
|
|
84
|
+
"type": "dimension",
|
|
85
|
+
"value": "$dimension.x10"
|
|
86
|
+
},
|
|
87
|
+
"cornerRadius": {
|
|
88
|
+
"type": "dimension",
|
|
89
|
+
"value": "$radius.r2"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"icon": {
|
|
93
|
+
"color": {
|
|
94
|
+
"type": "color",
|
|
95
|
+
"value": "$color.fg.neutral"
|
|
96
|
+
},
|
|
97
|
+
"size": {
|
|
98
|
+
"type": "dimension",
|
|
99
|
+
"value": "$dimension.x4"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"states": [
|
|
106
|
+
"pressed"
|
|
107
|
+
],
|
|
108
|
+
"slots": {
|
|
109
|
+
"root": {
|
|
110
|
+
"color": {
|
|
111
|
+
"type": "color",
|
|
112
|
+
"value": "$color.bg.transparent-pressed"
|
|
113
|
+
},
|
|
114
|
+
"scale": {
|
|
115
|
+
"type": "number",
|
|
116
|
+
"value": "$scale.s97"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"states": [
|
|
123
|
+
"disabled"
|
|
124
|
+
],
|
|
125
|
+
"slots": {
|
|
126
|
+
"root": {
|
|
127
|
+
"color": {
|
|
128
|
+
"type": "color",
|
|
129
|
+
"value": "$color.bg.transparent"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"icon": {
|
|
133
|
+
"color": {
|
|
134
|
+
"type": "color",
|
|
135
|
+
"value": "$color.fg.disabled"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
declare const artifact: {
|
|
2
|
+
"kind": "ComponentSpec";
|
|
3
|
+
"metadata": {
|
|
4
|
+
"id": "pagination-page-item";
|
|
5
|
+
"name": "Pagination Page Item";
|
|
6
|
+
};
|
|
7
|
+
"data": {
|
|
8
|
+
"id": "pagination-page-item";
|
|
9
|
+
"name": "Pagination Page Item";
|
|
10
|
+
"schema": {
|
|
11
|
+
"slots": {
|
|
12
|
+
"root": {
|
|
13
|
+
"properties": {
|
|
14
|
+
"color": {
|
|
15
|
+
"type": "color";
|
|
16
|
+
};
|
|
17
|
+
"scale": {
|
|
18
|
+
"type": "number";
|
|
19
|
+
};
|
|
20
|
+
"scaleDuration": {
|
|
21
|
+
"type": "duration";
|
|
22
|
+
};
|
|
23
|
+
"scaleTimingFunction": {
|
|
24
|
+
"type": "cubicBezier";
|
|
25
|
+
};
|
|
26
|
+
"size": {
|
|
27
|
+
"type": "dimension";
|
|
28
|
+
};
|
|
29
|
+
"cornerRadius": {
|
|
30
|
+
"type": "dimension";
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
"label": {
|
|
35
|
+
"properties": {
|
|
36
|
+
"color": {
|
|
37
|
+
"type": "color";
|
|
38
|
+
};
|
|
39
|
+
"fontSize": {
|
|
40
|
+
"type": "dimension";
|
|
41
|
+
};
|
|
42
|
+
"lineHeight": {
|
|
43
|
+
"type": "dimension";
|
|
44
|
+
};
|
|
45
|
+
"fontWeight": {
|
|
46
|
+
"type": "number";
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
"variants": {};
|
|
52
|
+
};
|
|
53
|
+
"definitions": readonly [
|
|
54
|
+
{
|
|
55
|
+
"variants": {};
|
|
56
|
+
"definitions": readonly [
|
|
57
|
+
{
|
|
58
|
+
"states": readonly [
|
|
59
|
+
"enabled",
|
|
60
|
+
];
|
|
61
|
+
"slots": {
|
|
62
|
+
"root": {
|
|
63
|
+
"color": {
|
|
64
|
+
"type": "color";
|
|
65
|
+
"value": "$color.bg.transparent";
|
|
66
|
+
};
|
|
67
|
+
"scaleDuration": {
|
|
68
|
+
"type": "duration";
|
|
69
|
+
"value": "$duration.pressed-scale";
|
|
70
|
+
};
|
|
71
|
+
"scaleTimingFunction": {
|
|
72
|
+
"type": "cubicBezier";
|
|
73
|
+
"value": "$timing-function.pressed-scale";
|
|
74
|
+
};
|
|
75
|
+
"size": {
|
|
76
|
+
"type": "dimension";
|
|
77
|
+
"value": "$dimension.x10";
|
|
78
|
+
};
|
|
79
|
+
"cornerRadius": {
|
|
80
|
+
"type": "dimension";
|
|
81
|
+
"value": "$radius.r2";
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
"label": {
|
|
85
|
+
"color": {
|
|
86
|
+
"type": "color";
|
|
87
|
+
"value": "$color.fg.neutral";
|
|
88
|
+
};
|
|
89
|
+
"fontSize": {
|
|
90
|
+
"type": "dimension";
|
|
91
|
+
"value": "$font-size.t4";
|
|
92
|
+
};
|
|
93
|
+
"lineHeight": {
|
|
94
|
+
"type": "dimension";
|
|
95
|
+
"value": "$line-height.t4";
|
|
96
|
+
};
|
|
97
|
+
"fontWeight": {
|
|
98
|
+
"type": "number";
|
|
99
|
+
"value": "$font-weight.bold";
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"states": readonly [
|
|
106
|
+
"pressed",
|
|
107
|
+
];
|
|
108
|
+
"slots": {
|
|
109
|
+
"root": {
|
|
110
|
+
"color": {
|
|
111
|
+
"type": "color";
|
|
112
|
+
"value": "$color.bg.transparent-pressed";
|
|
113
|
+
};
|
|
114
|
+
"scale": {
|
|
115
|
+
"type": "number";
|
|
116
|
+
"value": "$scale.s97";
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"states": readonly [
|
|
123
|
+
"selected",
|
|
124
|
+
];
|
|
125
|
+
"slots": {
|
|
126
|
+
"root": {
|
|
127
|
+
"color": {
|
|
128
|
+
"type": "color";
|
|
129
|
+
"value": "$color.bg.neutral-inverted";
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
"label": {
|
|
133
|
+
"color": {
|
|
134
|
+
"type": "color";
|
|
135
|
+
"value": "$color.fg.neutral-inverted";
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"states": readonly [
|
|
142
|
+
"selected",
|
|
143
|
+
" pressed",
|
|
144
|
+
];
|
|
145
|
+
"slots": {
|
|
146
|
+
"root": {
|
|
147
|
+
"color": {
|
|
148
|
+
"type": "color";
|
|
149
|
+
"value": "$color.bg.neutral-inverted-pressed";
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"states": readonly [
|
|
156
|
+
"disabled",
|
|
157
|
+
];
|
|
158
|
+
"slots": {
|
|
159
|
+
"root": {
|
|
160
|
+
"color": {
|
|
161
|
+
"type": "color";
|
|
162
|
+
"value": "$color.bg.transparent";
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
"label": {
|
|
166
|
+
"color": {
|
|
167
|
+
"type": "color";
|
|
168
|
+
"value": "$color.fg.disabled";
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"states": readonly [
|
|
175
|
+
"selected",
|
|
176
|
+
" disabled",
|
|
177
|
+
];
|
|
178
|
+
"slots": {
|
|
179
|
+
"root": {
|
|
180
|
+
"color": {
|
|
181
|
+
"type": "color";
|
|
182
|
+
"value": "$color.bg.disabled";
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
"label": {
|
|
186
|
+
"color": {
|
|
187
|
+
"type": "color";
|
|
188
|
+
"value": "$color.fg.disabled";
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
},
|
|
193
|
+
];
|
|
194
|
+
},
|
|
195
|
+
];
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
export default artifact;
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
{
|
|
2
|
+
"kind": "ComponentSpec",
|
|
3
|
+
"metadata": {
|
|
4
|
+
"id": "pagination-page-item",
|
|
5
|
+
"name": "Pagination Page Item"
|
|
6
|
+
},
|
|
7
|
+
"data": {
|
|
8
|
+
"id": "pagination-page-item",
|
|
9
|
+
"name": "Pagination Page Item",
|
|
10
|
+
"schema": {
|
|
11
|
+
"slots": {
|
|
12
|
+
"root": {
|
|
13
|
+
"properties": {
|
|
14
|
+
"color": {
|
|
15
|
+
"type": "color"
|
|
16
|
+
},
|
|
17
|
+
"scale": {
|
|
18
|
+
"type": "number"
|
|
19
|
+
},
|
|
20
|
+
"scaleDuration": {
|
|
21
|
+
"type": "duration"
|
|
22
|
+
},
|
|
23
|
+
"scaleTimingFunction": {
|
|
24
|
+
"type": "cubicBezier"
|
|
25
|
+
},
|
|
26
|
+
"size": {
|
|
27
|
+
"type": "dimension"
|
|
28
|
+
},
|
|
29
|
+
"cornerRadius": {
|
|
30
|
+
"type": "dimension"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"label": {
|
|
35
|
+
"properties": {
|
|
36
|
+
"color": {
|
|
37
|
+
"type": "color"
|
|
38
|
+
},
|
|
39
|
+
"fontSize": {
|
|
40
|
+
"type": "dimension"
|
|
41
|
+
},
|
|
42
|
+
"lineHeight": {
|
|
43
|
+
"type": "dimension"
|
|
44
|
+
},
|
|
45
|
+
"fontWeight": {
|
|
46
|
+
"type": "number"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"variants": {}
|
|
52
|
+
},
|
|
53
|
+
"definitions": [
|
|
54
|
+
{
|
|
55
|
+
"variants": {},
|
|
56
|
+
"definitions": [
|
|
57
|
+
{
|
|
58
|
+
"states": [
|
|
59
|
+
"enabled"
|
|
60
|
+
],
|
|
61
|
+
"slots": {
|
|
62
|
+
"root": {
|
|
63
|
+
"color": {
|
|
64
|
+
"type": "color",
|
|
65
|
+
"value": "$color.bg.transparent"
|
|
66
|
+
},
|
|
67
|
+
"scaleDuration": {
|
|
68
|
+
"type": "duration",
|
|
69
|
+
"value": "$duration.pressed-scale"
|
|
70
|
+
},
|
|
71
|
+
"scaleTimingFunction": {
|
|
72
|
+
"type": "cubicBezier",
|
|
73
|
+
"value": "$timing-function.pressed-scale"
|
|
74
|
+
},
|
|
75
|
+
"size": {
|
|
76
|
+
"type": "dimension",
|
|
77
|
+
"value": "$dimension.x10"
|
|
78
|
+
},
|
|
79
|
+
"cornerRadius": {
|
|
80
|
+
"type": "dimension",
|
|
81
|
+
"value": "$radius.r2"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"label": {
|
|
85
|
+
"color": {
|
|
86
|
+
"type": "color",
|
|
87
|
+
"value": "$color.fg.neutral"
|
|
88
|
+
},
|
|
89
|
+
"fontSize": {
|
|
90
|
+
"type": "dimension",
|
|
91
|
+
"value": "$font-size.t4"
|
|
92
|
+
},
|
|
93
|
+
"lineHeight": {
|
|
94
|
+
"type": "dimension",
|
|
95
|
+
"value": "$line-height.t4"
|
|
96
|
+
},
|
|
97
|
+
"fontWeight": {
|
|
98
|
+
"type": "number",
|
|
99
|
+
"value": "$font-weight.bold"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"states": [
|
|
106
|
+
"pressed"
|
|
107
|
+
],
|
|
108
|
+
"slots": {
|
|
109
|
+
"root": {
|
|
110
|
+
"color": {
|
|
111
|
+
"type": "color",
|
|
112
|
+
"value": "$color.bg.transparent-pressed"
|
|
113
|
+
},
|
|
114
|
+
"scale": {
|
|
115
|
+
"type": "number",
|
|
116
|
+
"value": "$scale.s97"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"states": [
|
|
123
|
+
"selected"
|
|
124
|
+
],
|
|
125
|
+
"slots": {
|
|
126
|
+
"root": {
|
|
127
|
+
"color": {
|
|
128
|
+
"type": "color",
|
|
129
|
+
"value": "$color.bg.neutral-inverted"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"label": {
|
|
133
|
+
"color": {
|
|
134
|
+
"type": "color",
|
|
135
|
+
"value": "$color.fg.neutral-inverted"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"states": [
|
|
142
|
+
"selected",
|
|
143
|
+
" pressed"
|
|
144
|
+
],
|
|
145
|
+
"slots": {
|
|
146
|
+
"root": {
|
|
147
|
+
"color": {
|
|
148
|
+
"type": "color",
|
|
149
|
+
"value": "$color.bg.neutral-inverted-pressed"
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"states": [
|
|
156
|
+
"disabled"
|
|
157
|
+
],
|
|
158
|
+
"slots": {
|
|
159
|
+
"root": {
|
|
160
|
+
"color": {
|
|
161
|
+
"type": "color",
|
|
162
|
+
"value": "$color.bg.transparent"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"label": {
|
|
166
|
+
"color": {
|
|
167
|
+
"type": "color",
|
|
168
|
+
"value": "$color.fg.disabled"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"states": [
|
|
175
|
+
"selected",
|
|
176
|
+
" disabled"
|
|
177
|
+
],
|
|
178
|
+
"slots": {
|
|
179
|
+
"root": {
|
|
180
|
+
"color": {
|
|
181
|
+
"type": "color",
|
|
182
|
+
"value": "$color.bg.disabled"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"label": {
|
|
186
|
+
"color": {
|
|
187
|
+
"type": "color",
|
|
188
|
+
"value": "$color.fg.disabled"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
]
|
|
194
|
+
}
|
|
195
|
+
]
|
|
196
|
+
}
|
|
197
|
+
}
|
|
@@ -26,6 +26,13 @@ declare const artifact: {
|
|
|
26
26
|
"colorTimingFunction": {
|
|
27
27
|
"type": "cubicBezier";
|
|
28
28
|
};
|
|
29
|
+
"scaleScope": {
|
|
30
|
+
"type": "enum";
|
|
31
|
+
"values": readonly [
|
|
32
|
+
"self",
|
|
33
|
+
"content",
|
|
34
|
+
];
|
|
35
|
+
};
|
|
29
36
|
};
|
|
30
37
|
};
|
|
31
38
|
"icon": {
|
|
@@ -117,6 +124,10 @@ declare const artifact: {
|
|
|
117
124
|
"type": "color";
|
|
118
125
|
"value": "$color.bg.transparent-pressed";
|
|
119
126
|
};
|
|
127
|
+
"scaleScope": {
|
|
128
|
+
"type": "enum";
|
|
129
|
+
"value": "self";
|
|
130
|
+
};
|
|
120
131
|
};
|
|
121
132
|
};
|
|
122
133
|
},
|
|
@@ -25,6 +25,13 @@
|
|
|
25
25
|
},
|
|
26
26
|
"colorTimingFunction": {
|
|
27
27
|
"type": "cubicBezier"
|
|
28
|
+
},
|
|
29
|
+
"scaleScope": {
|
|
30
|
+
"type": "enum",
|
|
31
|
+
"values": [
|
|
32
|
+
"self",
|
|
33
|
+
"content"
|
|
34
|
+
]
|
|
28
35
|
}
|
|
29
36
|
}
|
|
30
37
|
},
|
|
@@ -116,6 +123,10 @@
|
|
|
116
123
|
"color": {
|
|
117
124
|
"type": "color",
|
|
118
125
|
"value": "$color.bg.transparent-pressed"
|
|
126
|
+
},
|
|
127
|
+
"scaleScope": {
|
|
128
|
+
"type": "enum",
|
|
129
|
+
"value": "self"
|
|
119
130
|
}
|
|
120
131
|
}
|
|
121
132
|
}
|
|
@@ -32,6 +32,14 @@ declare const artifact: {
|
|
|
32
32
|
"cornerRadius": {
|
|
33
33
|
"type": "dimension";
|
|
34
34
|
};
|
|
35
|
+
"scaleScope": {
|
|
36
|
+
"type": "enum";
|
|
37
|
+
"values": readonly [
|
|
38
|
+
"self",
|
|
39
|
+
"content",
|
|
40
|
+
];
|
|
41
|
+
"description": "감싸는 컴포넌트가 자체 pressed 피드백을 주는 경우(List Item, Select Box 등)에는 이 값이 적용되지 않습니다.";
|
|
42
|
+
};
|
|
35
43
|
};
|
|
36
44
|
};
|
|
37
45
|
"icon": {
|
|
@@ -142,6 +150,19 @@ declare const artifact: {
|
|
|
142
150
|
};
|
|
143
151
|
};
|
|
144
152
|
},
|
|
153
|
+
{
|
|
154
|
+
"states": readonly [
|
|
155
|
+
"pressed",
|
|
156
|
+
];
|
|
157
|
+
"slots": {
|
|
158
|
+
"root": {
|
|
159
|
+
"scaleScope": {
|
|
160
|
+
"type": "enum";
|
|
161
|
+
"value": "self";
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
},
|
|
145
166
|
];
|
|
146
167
|
},
|
|
147
168
|
{
|
|
@@ -31,6 +31,14 @@
|
|
|
31
31
|
},
|
|
32
32
|
"cornerRadius": {
|
|
33
33
|
"type": "dimension"
|
|
34
|
+
},
|
|
35
|
+
"scaleScope": {
|
|
36
|
+
"type": "enum",
|
|
37
|
+
"values": [
|
|
38
|
+
"self",
|
|
39
|
+
"content"
|
|
40
|
+
],
|
|
41
|
+
"description": "감싸는 컴포넌트가 자체 pressed 피드백을 주는 경우(List Item, Select Box 등)에는 이 값이 적용되지 않습니다."
|
|
34
42
|
}
|
|
35
43
|
}
|
|
36
44
|
},
|
|
@@ -141,6 +149,19 @@
|
|
|
141
149
|
}
|
|
142
150
|
}
|
|
143
151
|
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"states": [
|
|
155
|
+
"pressed"
|
|
156
|
+
],
|
|
157
|
+
"slots": {
|
|
158
|
+
"root": {
|
|
159
|
+
"scaleScope": {
|
|
160
|
+
"type": "enum",
|
|
161
|
+
"value": "self"
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
144
165
|
}
|
|
145
166
|
]
|
|
146
167
|
},
|