@seed-design/rootage-artifacts 0.0.0 → 0.0.1
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 +151 -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
package/components/callout.yaml
CHANGED
|
@@ -4,134 +4,174 @@ metadata:
|
|
|
4
4
|
id: callout
|
|
5
5
|
name: Callout
|
|
6
6
|
data:
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
9
|
root:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
10
|
+
properties:
|
|
11
|
+
paddingX:
|
|
12
|
+
type: dimension
|
|
13
|
+
paddingY:
|
|
14
|
+
type: dimension
|
|
15
|
+
gap:
|
|
16
|
+
type: dimension
|
|
17
|
+
cornerRadius:
|
|
18
|
+
type: dimension
|
|
19
|
+
minHeight:
|
|
20
|
+
type: dimension
|
|
21
|
+
color:
|
|
22
|
+
type: color
|
|
23
|
+
prefixIcon:
|
|
24
|
+
properties:
|
|
25
|
+
size:
|
|
26
|
+
type: dimension
|
|
27
|
+
color:
|
|
28
|
+
type: color
|
|
22
29
|
title:
|
|
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
|
-
|
|
30
|
+
properties:
|
|
31
|
+
fontSize:
|
|
32
|
+
type: dimension
|
|
33
|
+
lineHeight:
|
|
34
|
+
type: dimension
|
|
35
|
+
fontWeight:
|
|
36
|
+
type: number
|
|
37
|
+
color:
|
|
38
|
+
type: color
|
|
39
|
+
description:
|
|
40
|
+
properties:
|
|
41
|
+
fontSize:
|
|
42
|
+
type: dimension
|
|
43
|
+
lineHeight:
|
|
44
|
+
type: dimension
|
|
45
|
+
fontWeight:
|
|
46
|
+
type: number
|
|
47
|
+
color:
|
|
48
|
+
type: color
|
|
49
|
+
link:
|
|
50
|
+
properties:
|
|
51
|
+
fontSize:
|
|
52
|
+
type: dimension
|
|
53
|
+
lineHeight:
|
|
54
|
+
type: dimension
|
|
55
|
+
fontWeight:
|
|
56
|
+
type: number
|
|
57
|
+
color:
|
|
58
|
+
type: color
|
|
59
|
+
suffixIcon:
|
|
60
|
+
properties:
|
|
61
|
+
size:
|
|
62
|
+
type: dimension
|
|
63
|
+
targetSize:
|
|
64
|
+
type: dimension
|
|
65
|
+
color:
|
|
66
|
+
type: color
|
|
67
|
+
definitions:
|
|
68
|
+
base:
|
|
69
|
+
enabled:
|
|
70
|
+
root:
|
|
71
|
+
paddingX: $dimension.x3_5
|
|
72
|
+
paddingY: $dimension.x3_5
|
|
73
|
+
gap: $dimension.x3
|
|
74
|
+
cornerRadius: $radius.r2_5
|
|
75
|
+
minHeight: 50px
|
|
76
|
+
prefixIcon:
|
|
77
|
+
size: $dimension.x4
|
|
78
|
+
title:
|
|
79
|
+
fontSize: $font-size.t4
|
|
80
|
+
lineHeight: $line-height.t4
|
|
81
|
+
fontWeight: $font-weight.bold
|
|
82
|
+
description:
|
|
83
|
+
fontSize: $font-size.t4
|
|
84
|
+
lineHeight: $line-height.t4
|
|
85
|
+
fontWeight: $font-weight.regular
|
|
86
|
+
link:
|
|
87
|
+
fontSize: $font-size.t4
|
|
88
|
+
lineHeight: $line-height.t4
|
|
89
|
+
fontWeight: $font-weight.regular
|
|
90
|
+
suffixIcon:
|
|
91
|
+
size: $dimension.x4
|
|
92
|
+
targetSize: $dimension.x10
|
|
93
|
+
tone=neutral:
|
|
94
|
+
enabled:
|
|
95
|
+
root:
|
|
96
|
+
color: $color.bg.neutral-weak
|
|
97
|
+
prefixIcon:
|
|
98
|
+
color: $color.fg.neutral
|
|
99
|
+
title:
|
|
100
|
+
color: $color.fg.neutral
|
|
101
|
+
description:
|
|
102
|
+
color: $color.fg.neutral
|
|
103
|
+
link:
|
|
104
|
+
color: $color.fg.neutral
|
|
105
|
+
suffixIcon:
|
|
106
|
+
color: $color.fg.neutral
|
|
107
|
+
pressed:
|
|
108
|
+
root:
|
|
109
|
+
color: $color.bg.neutral-weak-pressed
|
|
110
|
+
tone=informative:
|
|
111
|
+
enabled:
|
|
112
|
+
root:
|
|
113
|
+
color: $color.bg.informative-weak
|
|
114
|
+
prefixIcon:
|
|
115
|
+
color: $color.fg.informative-contrast
|
|
116
|
+
title:
|
|
117
|
+
color: $color.fg.informative-contrast
|
|
118
|
+
description:
|
|
119
|
+
color: $color.fg.informative-contrast
|
|
120
|
+
link:
|
|
121
|
+
color: $color.fg.informative-contrast
|
|
122
|
+
suffixIcon:
|
|
123
|
+
color: $color.fg.informative-contrast
|
|
124
|
+
pressed:
|
|
125
|
+
root:
|
|
126
|
+
color: $color.bg.informative-weak-pressed
|
|
127
|
+
tone=warning:
|
|
128
|
+
enabled:
|
|
129
|
+
root:
|
|
130
|
+
color: $color.bg.warning-weak
|
|
131
|
+
prefixIcon:
|
|
132
|
+
color: $color.fg.warning-contrast
|
|
133
|
+
title:
|
|
134
|
+
color: $color.fg.warning-contrast
|
|
135
|
+
description:
|
|
136
|
+
color: $color.fg.warning-contrast
|
|
137
|
+
link:
|
|
138
|
+
color: $color.fg.warning-contrast
|
|
139
|
+
suffixIcon:
|
|
140
|
+
color: $color.fg.warning-contrast
|
|
141
|
+
pressed:
|
|
142
|
+
root:
|
|
143
|
+
color: $color.bg.warning-weak-pressed
|
|
144
|
+
tone=critical:
|
|
145
|
+
enabled:
|
|
146
|
+
root:
|
|
147
|
+
color: $color.bg.critical-weak
|
|
148
|
+
prefixIcon:
|
|
149
|
+
color: $color.fg.critical-contrast
|
|
150
|
+
title:
|
|
151
|
+
color: $color.fg.critical-contrast
|
|
152
|
+
description:
|
|
153
|
+
color: $color.fg.critical-contrast
|
|
154
|
+
link:
|
|
155
|
+
color: $color.fg.critical-contrast
|
|
156
|
+
suffixIcon:
|
|
157
|
+
color: $color.fg.critical-contrast
|
|
158
|
+
pressed:
|
|
159
|
+
root:
|
|
160
|
+
color: $color.bg.critical-weak-pressed
|
|
161
|
+
tone=magic:
|
|
162
|
+
enabled:
|
|
163
|
+
root:
|
|
164
|
+
color: $gradient.glow-magic
|
|
165
|
+
prefixIcon:
|
|
166
|
+
color: $color.fg.neutral
|
|
167
|
+
title:
|
|
168
|
+
color: $color.fg.neutral
|
|
169
|
+
description:
|
|
170
|
+
color: $color.fg.neutral
|
|
171
|
+
link:
|
|
172
|
+
color: $color.fg.neutral
|
|
173
|
+
suffixIcon:
|
|
174
|
+
color: $color.fg.neutral
|
|
175
|
+
pressed:
|
|
176
|
+
root:
|
|
177
|
+
color: $gradient.glow-magic-pressed
|
package/components/checkbox.yaml
CHANGED
|
@@ -5,127 +5,150 @@ metadata:
|
|
|
5
5
|
id: checkbox
|
|
6
6
|
name: Checkbox
|
|
7
7
|
data:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
label:
|
|
11
|
-
color: $color.fg.neutral
|
|
12
|
-
lineHeight: $line-height.t5
|
|
8
|
+
schema:
|
|
9
|
+
slots:
|
|
13
10
|
root:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
variant=square:
|
|
20
|
-
enabled:
|
|
21
|
-
control:
|
|
22
|
-
strokeColor: $color.stroke.control
|
|
23
|
-
strokeWidth: 1.25px
|
|
24
|
-
enabledSelected:
|
|
25
|
-
control:
|
|
26
|
-
color: $color.bg.brand-solid
|
|
27
|
-
icon:
|
|
28
|
-
color: $color.fg.static-white
|
|
29
|
-
pressed:
|
|
30
|
-
control:
|
|
31
|
-
color: $color.bg.layer-default-pressed
|
|
32
|
-
pressedSelected:
|
|
33
|
-
control:
|
|
34
|
-
color: $color.bg.brand-solid-pressed
|
|
35
|
-
icon:
|
|
36
|
-
color: $color.fg.static-white
|
|
37
|
-
disabled:
|
|
38
|
-
control:
|
|
39
|
-
color: $color.bg.disabled
|
|
40
|
-
strokeColor: $color.stroke.neutral
|
|
41
|
-
label:
|
|
42
|
-
color: $color.fg.disabled
|
|
43
|
-
icon:
|
|
44
|
-
color: $color.fg.disabled
|
|
45
|
-
disabledSelected:
|
|
11
|
+
properties:
|
|
12
|
+
gap:
|
|
13
|
+
type: dimension
|
|
14
|
+
minHeight:
|
|
15
|
+
type: dimension
|
|
46
16
|
label:
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
icon:
|
|
57
|
-
color: $color.fg.brand
|
|
58
|
-
pressed:
|
|
59
|
-
control:
|
|
60
|
-
color: $color.bg.layer-default-pressed
|
|
61
|
-
pressedSelected:
|
|
17
|
+
properties:
|
|
18
|
+
color:
|
|
19
|
+
type: color
|
|
20
|
+
fontWeight:
|
|
21
|
+
type: number
|
|
22
|
+
fontSize:
|
|
23
|
+
type: dimension
|
|
24
|
+
lineHeight:
|
|
25
|
+
type: dimension
|
|
62
26
|
control:
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
27
|
+
properties:
|
|
28
|
+
color:
|
|
29
|
+
type: color
|
|
30
|
+
strokeColor:
|
|
31
|
+
type: color
|
|
32
|
+
strokeWidth:
|
|
33
|
+
type: dimension
|
|
34
|
+
size:
|
|
35
|
+
type: dimension
|
|
36
|
+
cornerRadius:
|
|
37
|
+
type: dimension
|
|
72
38
|
icon:
|
|
73
|
-
|
|
39
|
+
properties:
|
|
40
|
+
color:
|
|
41
|
+
type: color
|
|
42
|
+
size:
|
|
43
|
+
type: dimension
|
|
44
|
+
definitions:
|
|
45
|
+
base:
|
|
46
|
+
enabled:
|
|
47
|
+
label:
|
|
48
|
+
color: $color.fg.neutral
|
|
49
|
+
root:
|
|
50
|
+
gap: $dimension.x2
|
|
74
51
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
size: $unit.x4
|
|
84
|
-
cornerRadius: $radius.x1
|
|
52
|
+
weight=default:
|
|
53
|
+
enabled:
|
|
54
|
+
label:
|
|
55
|
+
fontWeight: $font-weight.regular
|
|
56
|
+
weight=stronger:
|
|
57
|
+
enabled:
|
|
58
|
+
label:
|
|
59
|
+
fontWeight: $font-weight.bold
|
|
85
60
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
61
|
+
variant=square:
|
|
62
|
+
enabled:
|
|
63
|
+
control:
|
|
64
|
+
strokeColor: $color.stroke.control
|
|
65
|
+
strokeWidth: 1px
|
|
66
|
+
enabled,selected:
|
|
67
|
+
control:
|
|
68
|
+
color: $color.bg.brand-solid
|
|
69
|
+
icon:
|
|
70
|
+
color: $color.palette.static-white
|
|
71
|
+
pressed:
|
|
72
|
+
control:
|
|
73
|
+
color: $color.bg.layer-default-pressed
|
|
74
|
+
pressed,selected:
|
|
75
|
+
control:
|
|
76
|
+
color: $color.bg.brand-solid-pressed
|
|
77
|
+
icon:
|
|
78
|
+
color: $color.palette.static-white
|
|
79
|
+
disabled:
|
|
80
|
+
control:
|
|
81
|
+
color: $color.bg.disabled
|
|
82
|
+
strokeColor: $color.stroke.neutral
|
|
83
|
+
label:
|
|
84
|
+
color: $color.fg.disabled
|
|
85
|
+
icon:
|
|
86
|
+
color: $color.fg.disabled
|
|
87
|
+
disabled,selected:
|
|
88
|
+
label:
|
|
89
|
+
color: $color.fg.disabled
|
|
90
|
+
icon:
|
|
91
|
+
color: $color.fg.disabled
|
|
96
92
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
93
|
+
variant=ghost:
|
|
94
|
+
enabled:
|
|
95
|
+
icon:
|
|
96
|
+
color: $color.fg.placeholder
|
|
97
|
+
enabled,selected:
|
|
98
|
+
icon:
|
|
99
|
+
color: $color.fg.brand
|
|
100
|
+
pressed:
|
|
101
|
+
control:
|
|
102
|
+
color: $color.bg.layer-default-pressed
|
|
103
|
+
pressed,selected:
|
|
104
|
+
control:
|
|
105
|
+
color: $color.palette.carrot-200
|
|
106
|
+
disabled:
|
|
107
|
+
label:
|
|
108
|
+
color: $color.fg.disabled
|
|
109
|
+
icon:
|
|
110
|
+
color: $color.fg.disabled
|
|
111
|
+
disabled,selected:
|
|
112
|
+
label:
|
|
113
|
+
color: $color.fg.disabled
|
|
114
|
+
icon:
|
|
115
|
+
color: $color.fg.disabled
|
|
107
116
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
117
|
+
size=medium:
|
|
118
|
+
enabled:
|
|
119
|
+
root:
|
|
120
|
+
minHeight: $dimension.x8
|
|
121
|
+
label:
|
|
122
|
+
fontSize: $font-size.t4
|
|
123
|
+
lineHeight: $line-height.t4
|
|
124
|
+
control:
|
|
125
|
+
size: $dimension.x5
|
|
126
|
+
cornerRadius: $radius.r1
|
|
127
|
+
|
|
128
|
+
size=large:
|
|
129
|
+
enabled:
|
|
130
|
+
root:
|
|
131
|
+
minHeight: $dimension.x9
|
|
132
|
+
label:
|
|
133
|
+
fontSize: $font-size.t5
|
|
134
|
+
lineHeight: $line-height.t5
|
|
135
|
+
control:
|
|
136
|
+
size: $dimension.x6
|
|
137
|
+
cornerRadius: $radius.r1
|
|
138
|
+
|
|
139
|
+
variant=square,size=medium:
|
|
140
|
+
enabled:
|
|
141
|
+
icon:
|
|
142
|
+
size: 12px
|
|
143
|
+
variant=square,size=large:
|
|
144
|
+
enabled:
|
|
145
|
+
icon:
|
|
146
|
+
size: 14px
|
|
147
|
+
variant=ghost,size=medium:
|
|
148
|
+
enabled:
|
|
149
|
+
icon:
|
|
150
|
+
size: 14px
|
|
151
|
+
variant=ghost,size=large:
|
|
152
|
+
enabled:
|
|
153
|
+
icon:
|
|
154
|
+
size: 18px
|