@govbr-ds/tokens 4.0.0-next.4 → 4.0.0-next.5

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.
@@ -1,10 +1,314 @@
1
1
  {
2
2
  "theme": {
3
3
  "shadow": {
4
+ "opacity": {
5
+ "$value": "{elevation.opacity.bright}",
6
+ "$type": "number"
7
+ },
4
8
  "color": {
5
9
  "$value": "#00000033",
6
10
  "$type": "color"
7
11
  }
12
+ },
13
+ "text": {
14
+ "main": {
15
+ "base": {
16
+ "$value": "{color.gray.90}",
17
+ "$type": "color"
18
+ },
19
+ "alternative": {
20
+ "$value": "{color.gray.60}",
21
+ "$type": "color"
22
+ }
23
+ },
24
+ "contrast": {
25
+ "base": {
26
+ "$value": "{color.gray.1}",
27
+ "$type": "color"
28
+ },
29
+ "alternative": {
30
+ "$value": "{color.gray.20}",
31
+ "$type": "color"
32
+ }
33
+ }
34
+ },
35
+ "surface": {
36
+ "main": {
37
+ "base": {
38
+ "$value": "{color.gray.1}",
39
+ "$type": "color"
40
+ },
41
+ "alternative": {
42
+ "$value": "{color.gray.5}",
43
+ "$type": "color"
44
+ }
45
+ },
46
+ "contrast": {
47
+ "base": {
48
+ "$value": "{color.blueWarm.80}",
49
+ "$type": "color"
50
+ },
51
+ "alternative": {
52
+ "$value": "{color.blueWarm.70}",
53
+ "$type": "color"
54
+ }
55
+ }
56
+ },
57
+ "border": {
58
+ "base": {
59
+ "$value": "{color.gray.20}",
60
+ "$type": "color"
61
+ },
62
+ "alternative": {
63
+ "$value": "{color.gray.40}",
64
+ "$type": "color"
65
+ }
66
+ },
67
+ "interactive": {
68
+ "main": {
69
+ "$value": "{color.blueWarmVivid.70}",
70
+ "$type": "color"
71
+ },
72
+ "contrast": {
73
+ "$value": "{color.blueWarmVivid.20}",
74
+ "$type": "color"
75
+ },
76
+ "text": {
77
+ "main": {
78
+ "$value": "{color.pure.0}",
79
+ "$type": "color"
80
+ },
81
+ "contrast": {
82
+ "$value": "{color.pure.100}",
83
+ "$type": "color"
84
+ }
85
+ }
86
+ },
87
+ "cta": {
88
+ "main": {
89
+ "$value": "{color.greenCoolVivid.60}",
90
+ "$type": "color"
91
+ },
92
+ "contrast": {
93
+ "$value": "{color.greenCoolVivid.20}",
94
+ "$type": "color"
95
+ },
96
+ "text": {
97
+ "main": {
98
+ "$value": "{color.pure.0}",
99
+ "$type": "color"
100
+ },
101
+ "contrast": {
102
+ "$value": "{color.pure.100}",
103
+ "$type": "color"
104
+ }
105
+ }
106
+ },
107
+ "disabled": {
108
+ "main": {
109
+ "$value": "{color.gray.70}",
110
+ "$type": "color"
111
+ },
112
+ "contrast": {
113
+ "$value": "{color.gray.20}",
114
+ "$type": "color"
115
+ }
116
+ },
117
+ "visited": {
118
+ "main": {
119
+ "$value": "{color.blueWarm.70}",
120
+ "$type": "color"
121
+ },
122
+ "contrast": {
123
+ "$value": "{color.blueWarm.20}",
124
+ "$type": "color"
125
+ }
126
+ },
127
+ "hover": {
128
+ "bright": {
129
+ "$value": "#D4E5FF80",
130
+ "$type": "color"
131
+ },
132
+ "dim": {
133
+ "$value": "#0C326F99",
134
+ "$type": "color"
135
+ },
136
+ "main": {
137
+ "text": {
138
+ "$value": "{theme.hover.bright}",
139
+ "$type": "color"
140
+ },
141
+ "surface": {
142
+ "$value": "{theme.hover.dim}",
143
+ "$type": "color"
144
+ }
145
+ },
146
+ "contrast": {
147
+ "text": {
148
+ "$value": "{theme.hover.dim}",
149
+ "$type": "color"
150
+ },
151
+ "surface": {
152
+ "$value": "{theme.hover.bright}",
153
+ "$type": "color"
154
+ }
155
+ }
156
+ },
157
+ "focus": {
158
+ "main": {
159
+ "$value": "{color.orangeVivid.40}",
160
+ "$type": "color"
161
+ },
162
+ "contrast": {
163
+ "$value": "{color.orangeVivid.30}",
164
+ "$type": "color"
165
+ }
166
+ },
167
+ "active": {
168
+ "main": {
169
+ "$value": "{color.blueWarmVivid.80}",
170
+ "$type": "color"
171
+ },
172
+ "contrast": {
173
+ "$value": "{color.blueWarmVivid.30}",
174
+ "$type": "color"
175
+ },
176
+ "text": {
177
+ "main": {
178
+ "$value": "{color.pure.0}",
179
+ "$type": "color"
180
+ },
181
+ "contrast": {
182
+ "$value": "{color.pure.100}",
183
+ "$type": "color"
184
+ }
185
+ }
186
+ },
187
+ "selected": {
188
+ "main": {
189
+ "$value": "{color.blueWarmVivid.50}",
190
+ "$type": "color"
191
+ },
192
+ "contrast": {
193
+ "$value": "{color.blueWarmVivid.40}",
194
+ "$type": "color"
195
+ },
196
+ "text": {
197
+ "main": {
198
+ "$value": "{color.pure.0}",
199
+ "$type": "color"
200
+ },
201
+ "contrast": {
202
+ "$value": "{color.pure.100}",
203
+ "$type": "color"
204
+ }
205
+ }
206
+ },
207
+ "grabbing": {
208
+ "main": {
209
+ "$value": "{theme.interactive.main}",
210
+ "$type": "color"
211
+ },
212
+ "contrast": {
213
+ "$value": "{theme.interactive.contrast}",
214
+ "$type": "color"
215
+ }
216
+ },
217
+ "dropzone": {
218
+ "main": {
219
+ "$value": "{theme.interactive.main}",
220
+ "$type": "color"
221
+ },
222
+ "contrast": {
223
+ "$value": "{theme.interactive.contrast}",
224
+ "$type": "color"
225
+ }
226
+ },
227
+ "dropzoneActive": {
228
+ "main": {
229
+ "$value": "{theme.interactive.main}",
230
+ "$type": "color"
231
+ },
232
+ "contrast": {
233
+ "$value": "{theme.interactive.contrast}",
234
+ "$type": "color"
235
+ }
236
+ },
237
+ "on": {
238
+ "main": {
239
+ "$value": "{color.blueWarmVivid.40}",
240
+ "$type": "color"
241
+ },
242
+ "contrast": {
243
+ "$value": "{color.blueWarmVivid.50}",
244
+ "$type": "color"
245
+ },
246
+ "text": {
247
+ "main": {
248
+ "$value": "{color.pure.100}",
249
+ "$type": "color"
250
+ },
251
+ "contrast": {
252
+ "$value": "{color.pure.0}",
253
+ "$type": "color"
254
+ }
255
+ }
256
+ },
257
+ "off": {
258
+ "main": {
259
+ "$value": "{color.gray.40}",
260
+ "$type": "color"
261
+ },
262
+ "contrast": {
263
+ "$value": "{color.gray.50}",
264
+ "$type": "color"
265
+ },
266
+ "text": {
267
+ "main": {
268
+ "$value": "{color.pure.100}",
269
+ "$type": "color"
270
+ },
271
+ "contrast": {
272
+ "$value": "{color.pure.0}",
273
+ "$type": "color"
274
+ }
275
+ }
276
+ },
277
+ "success": {
278
+ "main": {
279
+ "$value": "{color.greenVivid.50}",
280
+ "$type": "color"
281
+ },
282
+ "text": {
283
+ "main": {
284
+ "$value": "{color.pure.0}",
285
+ "$type": "color"
286
+ }
287
+ }
288
+ },
289
+ "alert": {
290
+ "main": {
291
+ "$value": "{color.yellowVivid.20}",
292
+ "$type": "color"
293
+ },
294
+ "text": {
295
+ "main": {
296
+ "$value": "{color.pure.100}",
297
+ "$type": "color"
298
+ }
299
+ }
300
+ },
301
+ "error": {
302
+ "main": {
303
+ "$value": "{color.redVivid.50}",
304
+ "$type": "color"
305
+ },
306
+ "text": {
307
+ "main": {
308
+ "$value": "{color.pure.0}",
309
+ "$type": "color"
310
+ }
311
+ }
8
312
  }
9
313
  }
10
314
  }
@@ -11,7 +11,8 @@
11
11
  "surface.json",
12
12
  "grid.json",
13
13
  "elevation.json",
14
- "motion.json"
14
+ "motion.json",
15
+ "state.json"
15
16
  ],
16
17
  "Base14": [
17
18
  "base14.json"
@@ -22,11 +22,11 @@
22
22
  "$type": "string"
23
23
  },
24
24
  "bounceOut": {
25
- "$value": "cubic-bezier(0.25, 2.3, 0.57, -0.3)",
25
+ "$value": "cubic-bezier(0.25, 2.1, 0.5, 0)",
26
26
  "$type": "string"
27
27
  },
28
28
  "elasticOut": {
29
- "$value": "cubic-bezier(0, 3, 0, 0.3)",
29
+ "$value": "cubic-bezier(0.7, 3.3, 0.3, 0)",
30
30
  "$type": "string"
31
31
  }
32
32
  },
@@ -0,0 +1,238 @@
1
+ {
2
+ "state": {
3
+ "disabled": {
4
+ "opacity": {
5
+ "$value": "{surface.opacity.03}",
6
+ "$type": "number"
7
+ }
8
+ },
9
+ "hover": {
10
+ "opacity": {
11
+ "bright": {
12
+ "$value": "{surface.opacity.05}",
13
+ "$type": "number"
14
+ },
15
+ "dim": {
16
+ "$value": "{surface.opacity.06}",
17
+ "$type": "number"
18
+ }
19
+ },
20
+ "highlight": {
21
+ "size": {
22
+ "$value": "5%",
23
+ "$type": "dimension"
24
+ },
25
+ "motion": {
26
+ "easing": {
27
+ "$value": "{motion.easing.elasticOut}",
28
+ "$type": "string"
29
+ },
30
+ "duration": {
31
+ "$value": "{motion.duration.fast.04}",
32
+ "$type": "duration"
33
+ }
34
+ }
35
+ },
36
+ "motion": {
37
+ "in": {
38
+ "easing": {
39
+ "$value": "{motion.easing.easeIn}",
40
+ "$type": "string"
41
+ },
42
+ "duration": {
43
+ "$value": "{motion.duration.fast.04}",
44
+ "$type": "duration"
45
+ }
46
+ },
47
+ "out": {
48
+ "easing": {
49
+ "$value": "{motion.easing.easeIn}",
50
+ "$type": "string"
51
+ },
52
+ "duration": {
53
+ "$value": "{motion.duration.fast.02}",
54
+ "$type": "duration"
55
+ }
56
+ }
57
+ }
58
+ },
59
+ "pressed": {
60
+ "shadow": {
61
+ "offset": {
62
+ "$value": "{elevation.offset.01}",
63
+ "$type": "number"
64
+ },
65
+ "blur": {
66
+ "$value": "{elevation.blur.03}",
67
+ "$type": "number"
68
+ },
69
+ "opacity": {
70
+ "$value": "{surface.opacity.05}",
71
+ "$type": "number"
72
+ }
73
+ },
74
+ "motion": {
75
+ "in": {
76
+ "easing": {
77
+ "$value": "{motion.easing.easeInOut}",
78
+ "$type": "string"
79
+ },
80
+ "duration": {
81
+ "$value": "{motion.duration.fast.02}",
82
+ "$type": "duration"
83
+ }
84
+ },
85
+ "out": {
86
+ "easing": {
87
+ "$value": "{motion.easing.easeOut}",
88
+ "$type": "string"
89
+ },
90
+ "duration": {
91
+ "$value": "{motion.duration.fast.01}",
92
+ "$type": "duration"
93
+ }
94
+ }
95
+ }
96
+ },
97
+ "focus": {
98
+ "spacing": {
99
+ "$value": "{spacing.adjust.01}",
100
+ "$type": "number"
101
+ },
102
+ "borderWidth": {
103
+ "high": {
104
+ "$value": "{surface.borderWidth.03}",
105
+ "$type": "number"
106
+ },
107
+ "low": {
108
+ "$value": "{surface.borderWidth.02}",
109
+ "$type": "number"
110
+ }
111
+ },
112
+ "motion": {
113
+ "in": {
114
+ "easing": {
115
+ "$value": "{motion.easing.elasticOut}",
116
+ "$type": "string"
117
+ },
118
+ "duration": {
119
+ "$value": "{motion.duration.fast.04}",
120
+ "$type": "duration"
121
+ }
122
+ },
123
+ "out": {
124
+ "easing": {
125
+ "$value": "{motion.easing.easeOut}",
126
+ "$type": "string"
127
+ },
128
+ "duration": {
129
+ "$value": "{motion.duration.fast.02}",
130
+ "$type": "duration"
131
+ }
132
+ }
133
+ }
134
+ },
135
+ "active": {
136
+ "borderWidth": {
137
+ "$value": "{surface.borderWidth.04}",
138
+ "$type": "number"
139
+ },
140
+ "motion": {
141
+ "in": {
142
+ "easing": {
143
+ "$value": "{motion.easing.easeOut}",
144
+ "$type": "string"
145
+ },
146
+ "duration": {
147
+ "$value": "{motion.duration.fast.03}",
148
+ "$type": "duration"
149
+ }
150
+ },
151
+ "out": {
152
+ "easing": {
153
+ "$value": "{motion.easing.easeIn}",
154
+ "$type": "string"
155
+ },
156
+ "duration": {
157
+ "$value": "{motion.duration.fast.02}",
158
+ "$type": "duration"
159
+ }
160
+ }
161
+ }
162
+ },
163
+ "selected": {
164
+ "motion": {
165
+ "in": {
166
+ "easing": {
167
+ "$value": "{motion.easing.easeOut}",
168
+ "$type": "string"
169
+ },
170
+ "duration": {
171
+ "$value": "{motion.duration.fast.03}",
172
+ "$type": "duration"
173
+ }
174
+ },
175
+ "out": {
176
+ "easing": {
177
+ "$value": "{motion.easing.easeIn}",
178
+ "$type": "string"
179
+ },
180
+ "duration": {
181
+ "$value": "{motion.duration.fast.02}",
182
+ "$type": "duration"
183
+ }
184
+ }
185
+ }
186
+ },
187
+ "grabbing": {
188
+ "borderWidth": {
189
+ "$value": "{surface.borderWidth.02}",
190
+ "$type": "number"
191
+ },
192
+ "rotation": {
193
+ "$value": "5",
194
+ "$type": "number"
195
+ },
196
+ "opacity": {
197
+ "$value": "{surface.opacity.07}",
198
+ "$type": "number"
199
+ }
200
+ },
201
+ "dropzone": {
202
+ "borderWidth": {
203
+ "$value": "{surface.borderWidth.01}",
204
+ "$type": "number"
205
+ }
206
+ },
207
+ "dropzoneActive": {
208
+ "opacity": {
209
+ "$value": "{surface.opacity.03}",
210
+ "$type": "number"
211
+ }
212
+ },
213
+ "on": {
214
+ "motion": {
215
+ "easing": {
216
+ "$value": "{motion.easing.bounceOut}",
217
+ "$type": "string"
218
+ },
219
+ "duration": {
220
+ "$value": "{motion.duration.fast.04}",
221
+ "$type": "duration"
222
+ }
223
+ }
224
+ },
225
+ "off": {
226
+ "motion": {
227
+ "easing": {
228
+ "$value": "{motion.easing.bounceOut}",
229
+ "$type": "string"
230
+ },
231
+ "duration": {
232
+ "$value": "{motion.duration.fast.04}",
233
+ "$type": "duration"
234
+ }
235
+ }
236
+ }
237
+ }
238
+ }