@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.
Files changed (63) hide show
  1. package/README.md +10 -0
  2. package/color.yaml +438 -366
  3. package/components/action-button.yaml +415 -205
  4. package/components/action-chip.yaml +139 -67
  5. package/components/action-sheet-close-button.yaml +45 -0
  6. package/components/action-sheet-item.yaml +52 -0
  7. package/components/action-sheet.yaml +115 -0
  8. package/components/avatar-stack.yaml +74 -0
  9. package/components/avatar.yaml +110 -47
  10. package/components/badge.yaml +153 -130
  11. package/components/bottom-sheet-close-button.yaml +38 -0
  12. package/components/bottom-sheet.yaml +143 -0
  13. package/components/callout.yaml +169 -129
  14. package/components/checkbox.yaml +139 -116
  15. package/components/chip-tab.yaml +82 -59
  16. package/components/chip-tablist.yaml +20 -11
  17. package/components/chip.yaml +314 -0
  18. package/components/contextual-floating-button.yaml +155 -0
  19. package/components/control-chip.yaml +157 -88
  20. package/components/dialog.yaml +119 -18
  21. package/components/divider.yaml +17 -0
  22. package/components/extended-action-sheet-close-button.yaml +50 -0
  23. package/components/extended-action-sheet-item.yaml +67 -0
  24. package/components/extended-action-sheet.yaml +134 -0
  25. package/components/extended-fab.yaml +102 -0
  26. package/components/fab.yaml +38 -20
  27. package/components/floating-action-button.yaml +99 -0
  28. package/components/help-bubble.yaml +121 -32
  29. package/components/identity-placeholder.yaml +23 -0
  30. package/components/inline-banner.yaml +188 -141
  31. package/components/link-content.yaml +60 -0
  32. package/components/manner-temp-badge.yaml +78 -0
  33. package/components/manner-temp.yaml +61 -0
  34. package/components/menu-sheet-close-button.yaml +49 -0
  35. package/components/menu-sheet-item.yaml +70 -0
  36. package/components/menu-sheet.yaml +133 -0
  37. package/components/notification-badge.yaml +67 -0
  38. package/components/progress-circle.yaml +83 -40
  39. package/components/radio.yaml +67 -71
  40. package/components/reaction-button.yaml +159 -0
  41. package/components/segmented-control-item.yaml +54 -0
  42. package/components/segmented-control.yaml +41 -30
  43. package/components/select-box.yaml +152 -0
  44. package/components/skeleton.yaml +56 -0
  45. package/components/snackbar.yaml +125 -0
  46. package/components/switch.yaml +98 -46
  47. package/components/tab.yaml +49 -31
  48. package/components/tablist.yaml +56 -15
  49. package/components/text-button.yaml +41 -57
  50. package/components/text-field.yaml +361 -0
  51. package/components/toggle-button.yaml +196 -0
  52. package/components/top-navigation.yaml +100 -0
  53. package/components/typography.yaml +167 -138
  54. package/dimension.yaml +88 -0
  55. package/duration.yaml +25 -0
  56. package/font-size.yaml +9 -0
  57. package/gradient.yaml +151 -0
  58. package/line-height.yaml +4 -4
  59. package/package.json +5 -2
  60. package/radius.yaml +10 -10
  61. package/timing-function.yaml +37 -0
  62. package/components/expand-button.yaml +0 -34
  63. package/unit.yaml +0 -70
@@ -4,146 +4,193 @@ metadata:
4
4
  id: inline-banner
5
5
  name: Inline Banner
6
6
  data:
7
- base:
8
- enabled:
7
+ schema:
8
+ slots:
9
9
  root:
10
- gap: $unit.x1
11
- paddingXStart: $unit.x4
12
- paddingXEnd: $unit.x1
13
- content:
14
- gap: $unit.x2
15
- paddingY: 10.5px
16
- fontSize: $font-size.t4
17
- lineHeight: $line-height.t4
18
- icon:
19
- size: $unit.x4
20
- marginY: 1.5px
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
- fontWeight: $font-weight.bold
23
- label:
24
- fontWeight: $font-weight.medium
25
- linkLabel:
26
- size: $unit.x10
27
- paddingX: $unit.x3
28
- fontWeight: $font-weight.regular
29
- fontSize: $font-size.t2
30
- lineHeight: $line-height.t2
31
- dismissButton:
32
- size: $unit.x10
33
- dismissIcon:
34
- size: $unit.x4
35
- actionableIcon:
36
- size: $unit.x4
37
- margin: $unit.x3
38
- type=contentOnly:
39
- enabled:
40
- content:
41
- paddingXEnd: $unit.x3
42
- variant=neutral weak:
43
- enabled:
44
- root:
45
- color: $color.bg.neutral-weak
46
- icon:
47
- color: $color.fg.neutral
48
- title:
49
- color: $color.fg.neutral
50
- label:
51
- color: $color.fg.neutral
52
- linkLabel:
53
- color: $color.fg.neutral
54
- dismissIcon:
55
- color: $color.fg.neutral
56
- actionableIcon:
57
- color: $color.fg.neutral
58
- variant=positive weak:
59
- enabled:
60
- root:
61
- color: $color.bg.positive-weak
62
- icon:
63
- color: $color.fg.positive-contrast
64
- title:
65
- color: $color.fg.positive-contrast
66
- label:
67
- color: $color.fg.positive-contrast
68
- linkLabel:
69
- color: $color.fg.positive-contrast
70
- dismissIcon:
71
- color: $color.fg.positive-contrast
72
- actionableIcon:
73
- color: $color.fg.positive-contrast
74
- variant=informative weak:
75
- enabled:
76
- root:
77
- color: $color.bg.informative-weak
78
- icon:
79
- color: $color.fg.informative-contrast
80
- title:
81
- color: $color.fg.informative-contrast
82
- label:
83
- color: $color.fg.informative-contrast
84
- linkLabel:
85
- color: $color.fg.informative-contrast
86
- dismissIcon:
87
- color: $color.fg.informative-contrast
88
- actionableIcon:
89
- color: $color.fg.informative-contrast
90
- variant=warning weak:
91
- enabled:
92
- root:
93
- color: $color.bg.warning-weak
94
- icon:
95
- color: $color.fg.warning-contrast
96
- title:
97
- color: $color.fg.warning-contrast
98
- label:
99
- color: $color.fg.warning-contrast
100
- linkLabel:
101
- color: $color.fg.warning-contrast
102
- dismissIcon:
103
- color: $color.fg.warning-contrast
104
- actionableIcon:
105
- color: $color.fg.warning-contrast
106
- variant=warning solid:
107
- enabled:
108
- root:
109
- color: $color.bg.warning-solid
110
- icon:
111
- color: $color.fg.neutral
112
- title:
113
- color: $color.fg.neutral
114
- label:
115
- color: $color.fg.neutral
116
- linkLabel:
117
- color: $color.fg.neutral
118
- dismissIcon:
119
- color: $color.fg.neutral
120
- actionableIcon:
121
- color: $color.fg.neutral
122
- variant=danger weak:
123
- enabled:
124
- root:
125
- color: $color.bg.danger-weak
126
- icon:
127
- color: $color.fg.danger-contrast
128
- title:
129
- color: $color.fg.danger-contrast
130
- label:
131
- color: $color.fg.danger-contrast
132
- linkLabel:
133
- color: $color.fg.danger-contrast
134
- actionableIcon:
135
- color: $color.fg.danger-contrast
136
- variant=danger solid:
137
- enabled:
138
- root:
139
- color: $color.bg.danger-solid
140
- icon:
141
- color: $color.fg.static-white
142
- title:
143
- color: $color.fg.static-white
144
- label:
145
- color: $color.fg.static-white
146
- linkLabel:
147
- color: $color.fg.static-white
148
- actionableIcon:
149
- color: $color.fg.static-white
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: {}