@seed-design/rootage-artifacts 0.0.0 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/color.yaml +438 -366
- package/components/action-button.yaml +415 -205
- package/components/action-chip.yaml +139 -67
- package/components/action-sheet-close-button.yaml +45 -0
- package/components/action-sheet-item.yaml +52 -0
- package/components/action-sheet.yaml +115 -0
- package/components/avatar-stack.yaml +74 -0
- package/components/avatar.yaml +110 -47
- package/components/badge.yaml +153 -130
- package/components/bottom-sheet-close-button.yaml +38 -0
- package/components/bottom-sheet.yaml +143 -0
- package/components/callout.yaml +169 -129
- package/components/checkbox.yaml +139 -116
- package/components/chip-tab.yaml +82 -59
- package/components/chip-tablist.yaml +20 -11
- package/components/chip.yaml +314 -0
- package/components/contextual-floating-button.yaml +155 -0
- package/components/control-chip.yaml +157 -88
- package/components/dialog.yaml +119 -18
- package/components/divider.yaml +17 -0
- package/components/extended-action-sheet-close-button.yaml +50 -0
- package/components/extended-action-sheet-item.yaml +67 -0
- package/components/extended-action-sheet.yaml +134 -0
- package/components/extended-fab.yaml +102 -0
- package/components/fab.yaml +38 -20
- package/components/floating-action-button.yaml +99 -0
- package/components/help-bubble.yaml +121 -32
- package/components/identity-placeholder.yaml +23 -0
- package/components/inline-banner.yaml +188 -141
- package/components/link-content.yaml +60 -0
- package/components/manner-temp-badge.yaml +78 -0
- package/components/manner-temp.yaml +61 -0
- package/components/menu-sheet-close-button.yaml +49 -0
- package/components/menu-sheet-item.yaml +70 -0
- package/components/menu-sheet.yaml +133 -0
- package/components/notification-badge.yaml +67 -0
- package/components/progress-circle.yaml +83 -40
- package/components/radio.yaml +67 -71
- package/components/reaction-button.yaml +159 -0
- package/components/segmented-control-item.yaml +54 -0
- package/components/segmented-control.yaml +41 -30
- package/components/select-box.yaml +152 -0
- package/components/skeleton.yaml +56 -0
- package/components/snackbar.yaml +125 -0
- package/components/switch.yaml +98 -46
- package/components/tab.yaml +49 -31
- package/components/tablist.yaml +56 -15
- package/components/text-button.yaml +41 -57
- package/components/text-field.yaml +361 -0
- package/components/toggle-button.yaml +196 -0
- package/components/top-navigation.yaml +100 -0
- package/components/typography.yaml +167 -138
- package/dimension.yaml +88 -0
- package/duration.yaml +25 -0
- package/font-size.yaml +9 -0
- package/gradient.yaml +168 -0
- package/line-height.yaml +4 -4
- package/package.json +5 -2
- package/radius.yaml +10 -10
- package/timing-function.yaml +37 -0
- package/components/expand-button.yaml +0 -34
- package/unit.yaml +0 -70
|
@@ -4,146 +4,193 @@ metadata:
|
|
|
4
4
|
id: inline-banner
|
|
5
5
|
name: Inline Banner
|
|
6
6
|
data:
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
9
|
root:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
10
|
+
properties:
|
|
11
|
+
paddingX:
|
|
12
|
+
type: dimension
|
|
13
|
+
paddingY:
|
|
14
|
+
type: dimension
|
|
15
|
+
minHeight:
|
|
16
|
+
type: dimension
|
|
17
|
+
color:
|
|
18
|
+
type: color
|
|
19
|
+
prefixIcon:
|
|
20
|
+
properties:
|
|
21
|
+
size:
|
|
22
|
+
type: dimension
|
|
23
|
+
marginRight:
|
|
24
|
+
type: dimension
|
|
25
|
+
color:
|
|
26
|
+
type: color
|
|
21
27
|
title:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
28
|
+
properties:
|
|
29
|
+
fontSize:
|
|
30
|
+
type: dimension
|
|
31
|
+
lineHeight:
|
|
32
|
+
type: dimension
|
|
33
|
+
fontWeight:
|
|
34
|
+
type: number
|
|
35
|
+
color:
|
|
36
|
+
type: color
|
|
37
|
+
description:
|
|
38
|
+
properties:
|
|
39
|
+
fontSize:
|
|
40
|
+
type: dimension
|
|
41
|
+
lineHeight:
|
|
42
|
+
type: dimension
|
|
43
|
+
fontWeight:
|
|
44
|
+
type: number
|
|
45
|
+
color:
|
|
46
|
+
type: color
|
|
47
|
+
link:
|
|
48
|
+
properties:
|
|
49
|
+
targetHeight:
|
|
50
|
+
type: dimension
|
|
51
|
+
fontSize:
|
|
52
|
+
type: dimension
|
|
53
|
+
lineHeight:
|
|
54
|
+
type: dimension
|
|
55
|
+
fontWeight:
|
|
56
|
+
type: number
|
|
57
|
+
marginLeft:
|
|
58
|
+
type: dimension
|
|
59
|
+
color:
|
|
60
|
+
type: color
|
|
61
|
+
suffixIcon:
|
|
62
|
+
properties:
|
|
63
|
+
size:
|
|
64
|
+
type: dimension
|
|
65
|
+
targetSize:
|
|
66
|
+
type: dimension
|
|
67
|
+
marginLeft:
|
|
68
|
+
type: dimension
|
|
69
|
+
color:
|
|
70
|
+
type: color
|
|
71
|
+
definitions:
|
|
72
|
+
base:
|
|
73
|
+
enabled:
|
|
74
|
+
root:
|
|
75
|
+
paddingX: $dimension.x4
|
|
76
|
+
paddingY: $dimension.x2_5
|
|
77
|
+
minHeight: $dimension.x10
|
|
78
|
+
prefixIcon:
|
|
79
|
+
size: $dimension.x4
|
|
80
|
+
marginRight: $dimension.x2
|
|
81
|
+
title:
|
|
82
|
+
fontSize: $font-size.t4
|
|
83
|
+
lineHeight: $line-height.t4
|
|
84
|
+
fontWeight: $font-weight.bold
|
|
85
|
+
description:
|
|
86
|
+
fontSize: $font-size.t4
|
|
87
|
+
lineHeight: $line-height.t4
|
|
88
|
+
fontWeight: $font-weight.medium
|
|
89
|
+
link:
|
|
90
|
+
targetHeight: $dimension.x10
|
|
91
|
+
fontSize: $font-size.t2
|
|
92
|
+
lineHeight: $line-height.t2
|
|
93
|
+
fontWeight: $font-weight.regular
|
|
94
|
+
marginLeft: $dimension.x4
|
|
95
|
+
suffixIcon:
|
|
96
|
+
size: $dimension.x4
|
|
97
|
+
targetSize: $dimension.x10
|
|
98
|
+
marginLeft: $dimension.x4
|
|
99
|
+
variant=neutralWeak:
|
|
100
|
+
enabled:
|
|
101
|
+
root:
|
|
102
|
+
color: $color.bg.neutral-weak
|
|
103
|
+
prefixIcon:
|
|
104
|
+
color: $color.fg.neutral
|
|
105
|
+
title:
|
|
106
|
+
color: $color.fg.neutral
|
|
107
|
+
description:
|
|
108
|
+
color: $color.fg.neutral
|
|
109
|
+
link:
|
|
110
|
+
color: $color.fg.neutral
|
|
111
|
+
suffixIcon:
|
|
112
|
+
color: $color.fg.neutral
|
|
113
|
+
variant=positiveWeak:
|
|
114
|
+
enabled:
|
|
115
|
+
root:
|
|
116
|
+
color: $color.bg.positive-weak
|
|
117
|
+
prefixIcon:
|
|
118
|
+
color: $color.fg.positive-contrast
|
|
119
|
+
title:
|
|
120
|
+
color: $color.fg.positive-contrast
|
|
121
|
+
description:
|
|
122
|
+
color: $color.fg.positive-contrast
|
|
123
|
+
link:
|
|
124
|
+
color: $color.fg.positive-contrast
|
|
125
|
+
suffixIcon:
|
|
126
|
+
color: $color.fg.positive-contrast
|
|
127
|
+
variant=informativeWeak:
|
|
128
|
+
enabled:
|
|
129
|
+
root:
|
|
130
|
+
color: $color.bg.informative-weak
|
|
131
|
+
prefixIcon:
|
|
132
|
+
color: $color.fg.informative-contrast
|
|
133
|
+
title:
|
|
134
|
+
color: $color.fg.informative-contrast
|
|
135
|
+
description:
|
|
136
|
+
color: $color.fg.informative-contrast
|
|
137
|
+
link:
|
|
138
|
+
color: $color.fg.informative-contrast
|
|
139
|
+
suffixIcon:
|
|
140
|
+
color: $color.fg.informative-contrast
|
|
141
|
+
variant=warningWeak:
|
|
142
|
+
enabled:
|
|
143
|
+
root:
|
|
144
|
+
color: $color.bg.warning-weak
|
|
145
|
+
prefixIcon:
|
|
146
|
+
color: $color.fg.warning-contrast
|
|
147
|
+
title:
|
|
148
|
+
color: $color.fg.warning-contrast
|
|
149
|
+
description:
|
|
150
|
+
color: $color.fg.warning-contrast
|
|
151
|
+
link:
|
|
152
|
+
color: $color.fg.warning-contrast
|
|
153
|
+
suffixIcon:
|
|
154
|
+
color: $color.fg.warning-contrast
|
|
155
|
+
variant=warningSolid:
|
|
156
|
+
enabled:
|
|
157
|
+
root:
|
|
158
|
+
color: $color.bg.warning-solid
|
|
159
|
+
prefixIcon:
|
|
160
|
+
color: $color.fg.neutral
|
|
161
|
+
title:
|
|
162
|
+
color: $color.fg.neutral
|
|
163
|
+
description:
|
|
164
|
+
color: $color.fg.neutral
|
|
165
|
+
link:
|
|
166
|
+
color: $color.fg.neutral
|
|
167
|
+
suffixIcon:
|
|
168
|
+
color: $color.fg.neutral
|
|
169
|
+
variant=criticalWeak:
|
|
170
|
+
enabled:
|
|
171
|
+
root:
|
|
172
|
+
color: $color.bg.critical-weak
|
|
173
|
+
prefixIcon:
|
|
174
|
+
color: $color.fg.critical-contrast
|
|
175
|
+
title:
|
|
176
|
+
color: $color.fg.critical-contrast
|
|
177
|
+
description:
|
|
178
|
+
color: $color.fg.critical-contrast
|
|
179
|
+
link:
|
|
180
|
+
color: $color.fg.critical-contrast
|
|
181
|
+
suffixIcon:
|
|
182
|
+
color: $color.fg.critical-contrast
|
|
183
|
+
variant=criticalSolid:
|
|
184
|
+
enabled:
|
|
185
|
+
root:
|
|
186
|
+
color: $color.bg.critical-solid
|
|
187
|
+
prefixIcon:
|
|
188
|
+
color: $color.palette.static-white
|
|
189
|
+
title:
|
|
190
|
+
color: $color.palette.static-white
|
|
191
|
+
description:
|
|
192
|
+
color: $color.palette.static-white
|
|
193
|
+
link:
|
|
194
|
+
color: $color.palette.static-white
|
|
195
|
+
suffixIcon:
|
|
196
|
+
color: $color.palette.static-white
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: link-content
|
|
5
|
+
name: Link Content
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
gap:
|
|
12
|
+
type: dimension
|
|
13
|
+
label:
|
|
14
|
+
properties:
|
|
15
|
+
fontSize:
|
|
16
|
+
type: dimension
|
|
17
|
+
lineHeight:
|
|
18
|
+
type: dimension
|
|
19
|
+
fontWeight:
|
|
20
|
+
type: number
|
|
21
|
+
suffixIcon:
|
|
22
|
+
properties:
|
|
23
|
+
size:
|
|
24
|
+
type: dimension
|
|
25
|
+
definitions:
|
|
26
|
+
weight=regular:
|
|
27
|
+
enabled:
|
|
28
|
+
label:
|
|
29
|
+
fontWeight: $font-weight.regular
|
|
30
|
+
weight=bold:
|
|
31
|
+
enabled:
|
|
32
|
+
label:
|
|
33
|
+
fontWeight: $font-weight.bold
|
|
34
|
+
size=t4:
|
|
35
|
+
enabled:
|
|
36
|
+
root:
|
|
37
|
+
gap: $dimension.x0_5
|
|
38
|
+
suffixIcon:
|
|
39
|
+
size: $dimension.x3
|
|
40
|
+
label:
|
|
41
|
+
fontSize: $font-size.t4
|
|
42
|
+
lineHeight: $line-height.t4
|
|
43
|
+
size=t5:
|
|
44
|
+
enabled:
|
|
45
|
+
root:
|
|
46
|
+
gap: $dimension.x0_5
|
|
47
|
+
suffixIcon:
|
|
48
|
+
size: $dimension.x3_5
|
|
49
|
+
label:
|
|
50
|
+
fontSize: $font-size.t5
|
|
51
|
+
lineHeight: $line-height.t5
|
|
52
|
+
size=t6:
|
|
53
|
+
enabled:
|
|
54
|
+
root:
|
|
55
|
+
gap: $dimension.x0_5
|
|
56
|
+
suffixIcon:
|
|
57
|
+
size: $dimension.x4
|
|
58
|
+
label:
|
|
59
|
+
fontSize: $font-size.t6
|
|
60
|
+
lineHeight: $line-height.t6
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: manner-temp-badge
|
|
5
|
+
name: Manner Temp Badge
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
minHeight:
|
|
12
|
+
type: dimension
|
|
13
|
+
paddingY:
|
|
14
|
+
type: dimension
|
|
15
|
+
paddingX:
|
|
16
|
+
type: dimension
|
|
17
|
+
cornerRadius:
|
|
18
|
+
type: dimension
|
|
19
|
+
color:
|
|
20
|
+
type: color
|
|
21
|
+
label:
|
|
22
|
+
properties:
|
|
23
|
+
fontSize:
|
|
24
|
+
type: dimension
|
|
25
|
+
lineHeight:
|
|
26
|
+
type: dimension
|
|
27
|
+
fontWeight:
|
|
28
|
+
type: number
|
|
29
|
+
color:
|
|
30
|
+
type: color
|
|
31
|
+
definitions:
|
|
32
|
+
base:
|
|
33
|
+
enabled:
|
|
34
|
+
root:
|
|
35
|
+
minHeight: 20px
|
|
36
|
+
paddingY: $dimension.x0_5
|
|
37
|
+
paddingX: $dimension.x1_5
|
|
38
|
+
cornerRadius: $radius.full
|
|
39
|
+
label:
|
|
40
|
+
fontSize: $font-size.t1
|
|
41
|
+
lineHeight: $line-height.t1
|
|
42
|
+
fontWeight: $font-weight.bold
|
|
43
|
+
level=l1:
|
|
44
|
+
enabled:
|
|
45
|
+
root:
|
|
46
|
+
color: $color.manner-temp.l1.bg
|
|
47
|
+
label:
|
|
48
|
+
color: $color.manner-temp.l1.text
|
|
49
|
+
level=l2:
|
|
50
|
+
enabled:
|
|
51
|
+
root:
|
|
52
|
+
color: $color.manner-temp.l2.bg
|
|
53
|
+
label:
|
|
54
|
+
color: $color.manner-temp.l2.text
|
|
55
|
+
level=l3:
|
|
56
|
+
enabled:
|
|
57
|
+
root:
|
|
58
|
+
color: $color.manner-temp.l3.bg
|
|
59
|
+
label:
|
|
60
|
+
color: $color.manner-temp.l3.text
|
|
61
|
+
level=l4:
|
|
62
|
+
enabled:
|
|
63
|
+
root:
|
|
64
|
+
color: $color.manner-temp.l4.bg
|
|
65
|
+
label:
|
|
66
|
+
color: $color.manner-temp.l4.text
|
|
67
|
+
level=l5:
|
|
68
|
+
enabled:
|
|
69
|
+
root:
|
|
70
|
+
color: $color.manner-temp.l5.bg
|
|
71
|
+
label:
|
|
72
|
+
color: $color.manner-temp.l5.text
|
|
73
|
+
level=l6:
|
|
74
|
+
enabled:
|
|
75
|
+
root:
|
|
76
|
+
color: $color.manner-temp.l6.bg
|
|
77
|
+
label:
|
|
78
|
+
color: $color.manner-temp.l6.text
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: manner-temp
|
|
5
|
+
name: Manner Temp
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
gap:
|
|
12
|
+
type: dimension
|
|
13
|
+
label:
|
|
14
|
+
properties:
|
|
15
|
+
fontSize:
|
|
16
|
+
type: dimension
|
|
17
|
+
lineHeight:
|
|
18
|
+
type: dimension
|
|
19
|
+
fontWeight:
|
|
20
|
+
type: number
|
|
21
|
+
color:
|
|
22
|
+
type: color
|
|
23
|
+
emote:
|
|
24
|
+
properties:
|
|
25
|
+
size:
|
|
26
|
+
type: dimension
|
|
27
|
+
definitions:
|
|
28
|
+
base:
|
|
29
|
+
enabled:
|
|
30
|
+
root:
|
|
31
|
+
gap: $dimension.x1
|
|
32
|
+
label:
|
|
33
|
+
fontSize: $font-size.t5
|
|
34
|
+
lineHeight: $line-height.t5
|
|
35
|
+
fontWeight: $font-weight.bold
|
|
36
|
+
emote:
|
|
37
|
+
size: $dimension.x6
|
|
38
|
+
level=l1:
|
|
39
|
+
enabled:
|
|
40
|
+
label:
|
|
41
|
+
color: $color.manner-temp.l1.text
|
|
42
|
+
level=l2:
|
|
43
|
+
enabled:
|
|
44
|
+
label:
|
|
45
|
+
color: $color.manner-temp.l2.text
|
|
46
|
+
level=l3:
|
|
47
|
+
enabled:
|
|
48
|
+
label:
|
|
49
|
+
color: $color.manner-temp.l3.text
|
|
50
|
+
level=l4:
|
|
51
|
+
enabled:
|
|
52
|
+
label:
|
|
53
|
+
color: $color.manner-temp.l4.text
|
|
54
|
+
level=l5:
|
|
55
|
+
enabled:
|
|
56
|
+
label:
|
|
57
|
+
color: $color.manner-temp.l5.text
|
|
58
|
+
level=l6:
|
|
59
|
+
enabled:
|
|
60
|
+
label:
|
|
61
|
+
color: $color.manner-temp.l6.text
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: menu-sheet-close-button
|
|
5
|
+
name: Menu Sheet Close Button
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
color:
|
|
12
|
+
type: color
|
|
13
|
+
minHeight:
|
|
14
|
+
type: dimension
|
|
15
|
+
cornerRadius:
|
|
16
|
+
type: dimension
|
|
17
|
+
paddingX:
|
|
18
|
+
type: dimension
|
|
19
|
+
paddingY:
|
|
20
|
+
type: dimension
|
|
21
|
+
gap:
|
|
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.neutral-weak
|
|
38
|
+
minHeight: 52px
|
|
39
|
+
cornerRadius: $radius.r3
|
|
40
|
+
paddingX: $dimension.x5
|
|
41
|
+
paddingY: $dimension.x3_5
|
|
42
|
+
label:
|
|
43
|
+
color: $color.fg.neutral
|
|
44
|
+
fontSize: $font-size.t5
|
|
45
|
+
lineHeight: $line-height.t5
|
|
46
|
+
fontWeight: $font-weight.medium
|
|
47
|
+
pressed:
|
|
48
|
+
root:
|
|
49
|
+
color: $color.bg.neutral-weak-pressed
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: menu-sheet-item
|
|
5
|
+
name: Menu Sheet Item
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
color:
|
|
12
|
+
type: color
|
|
13
|
+
minHeight:
|
|
14
|
+
type: dimension
|
|
15
|
+
paddingX:
|
|
16
|
+
type: dimension
|
|
17
|
+
paddingY:
|
|
18
|
+
type: dimension
|
|
19
|
+
gap:
|
|
20
|
+
type: dimension
|
|
21
|
+
prefixIcon:
|
|
22
|
+
properties:
|
|
23
|
+
size:
|
|
24
|
+
type: dimension
|
|
25
|
+
color:
|
|
26
|
+
type: color
|
|
27
|
+
label:
|
|
28
|
+
properties:
|
|
29
|
+
color:
|
|
30
|
+
type: color
|
|
31
|
+
fontSize:
|
|
32
|
+
type: dimension
|
|
33
|
+
lineHeight:
|
|
34
|
+
type: dimension
|
|
35
|
+
fontWeight:
|
|
36
|
+
type: number
|
|
37
|
+
definitions:
|
|
38
|
+
base:
|
|
39
|
+
enabled:
|
|
40
|
+
root:
|
|
41
|
+
color: $color.bg.neutral-weak
|
|
42
|
+
minHeight: 52px
|
|
43
|
+
paddingX: $dimension.x4
|
|
44
|
+
paddingY: $dimension.x3_5
|
|
45
|
+
gap: $dimension.x3_5
|
|
46
|
+
prefixIcon:
|
|
47
|
+
size: 22px
|
|
48
|
+
label:
|
|
49
|
+
fontSize: $font-size.t5
|
|
50
|
+
lineHeight: $line-height.t5
|
|
51
|
+
fontWeight: $font-weight.regular
|
|
52
|
+
pressed:
|
|
53
|
+
root:
|
|
54
|
+
color: $color.bg.neutral-weak-pressed
|
|
55
|
+
tone=neutral:
|
|
56
|
+
enabled:
|
|
57
|
+
prefixIcon:
|
|
58
|
+
color: $color.fg.neutral
|
|
59
|
+
label:
|
|
60
|
+
color: $color.fg.neutral
|
|
61
|
+
tone=critical:
|
|
62
|
+
enabled:
|
|
63
|
+
prefixIcon:
|
|
64
|
+
color: $color.fg.critical
|
|
65
|
+
label:
|
|
66
|
+
color: $color.fg.critical
|
|
67
|
+
labelAlign=left:
|
|
68
|
+
enabled: {}
|
|
69
|
+
labelAlign=center:
|
|
70
|
+
enabled: {}
|