@aurodesignsystem/design-tokens 5.3.0 → 5.4.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.
Files changed (84) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +44 -255
  3. package/dist/CSSCustomProperties--bundled.css +129 -345
  4. package/dist/auro-classic/CSSCustomProperties.css +162 -162
  5. package/dist/auro-classic/CSSSizeCustomProperties.css +1 -1
  6. package/dist/auro-classic/JSData--color.js +1 -1
  7. package/dist/auro-classic/JSONVariablesFlat.json +162 -162
  8. package/dist/auro-classic/JSONVariablesNested.json +452 -452
  9. package/dist/auro-classic/JSObject--allTokens.js +16610 -16610
  10. package/dist/auro-classic/JSObject--deprecated.js +17434 -17434
  11. package/dist/auro-classic/JSVariables--color.js +1 -1
  12. package/dist/auro-classic/SCSSVariableMap.scss +1 -1
  13. package/dist/auro-classic/SCSSVariables.scss +162 -162
  14. package/dist/auro-classic/SCSSVariablesMapFlat.scss +181 -181
  15. package/dist/auro-classic/SassCustomProperties.scss +162 -162
  16. package/dist/auro-classic/SassSizeCustomProperties.scss +1 -1
  17. package/dist/hawaiian/CSSCustomProperties--hawaiian.css +129 -113
  18. package/dist/hawaiian/JSONVariablesNested--hawaiian.json +188 -0
  19. package/dist/hawaiian/JSObject--allTokens.js +3362 -2893
  20. package/dist/hawaiian/SCSSVariables--hawaiian.scss +129 -113
  21. package/dist/hawaiian/SCSSVariablesMapFlat--hawaiian.scss +129 -113
  22. package/dist/hawaiian/primitives--hawaiian.scss +202 -172
  23. package/dist/transparent/CSSCustomProperties--transparent.css +1 -1
  24. package/package.json +1 -1
  25. package/src/primitives/alaska/{typography.json → font.json} +4 -11
  26. package/src/primitives/alaska-classic/{typography.json → font.json} +4 -11
  27. package/src/primitives/base/{typography.json → font.json} +102 -48
  28. package/src/primitives/base/transparency.json +7 -0
  29. package/src/primitives/hawaiian/{typography.json → font.json} +3 -11
  30. package/src/themes/alaska/advanced/boolean.json +136 -0
  31. package/src/themes/alaska/{component.json → advanced/button.json} +1 -133
  32. package/src/themes/alaska/advanced/hyperlink.json +62 -0
  33. package/src/themes/alaska/advanced/shared.json +46 -0
  34. package/src/themes/alaska/advanced/state.json +70 -0
  35. package/src/themes/alaska/basic/color/border.json +66 -0
  36. package/src/themes/alaska/basic/color/brand.json +108 -0
  37. package/src/themes/alaska/basic/color/fare-brand.json +74 -0
  38. package/src/themes/alaska/basic/color/page-background.json +24 -0
  39. package/src/themes/alaska/basic/color/status.json +88 -0
  40. package/src/themes/alaska/basic/color/surface.json +96 -0
  41. package/src/themes/alaska/basic/color/text-icon.json +96 -0
  42. package/src/themes/alaska/basic/corner-radius.json +30 -0
  43. package/src/themes/alaska/basic/font/accent.json +288 -0
  44. package/src/themes/alaska/basic/font/body.json +63 -0
  45. package/src/themes/alaska/basic/font/display.json +248 -0
  46. package/src/themes/alaska/basic/font/heading.json +245 -0
  47. package/src/themes/alaska-classic/component/boolean.json +70 -0
  48. package/src/themes/alaska-classic/{component.json → component/button.json} +1 -133
  49. package/src/themes/alaska-classic/component/hyperlink.json +62 -0
  50. package/src/themes/alaska-classic/component/shared.json +46 -0
  51. package/src/themes/alaska-classic/component/state.json +70 -0
  52. package/src/themes/alaska-classic/typography.json +799 -107
  53. package/src/themes/hawaiian/advanced/boolean.json +138 -0
  54. package/src/themes/hawaiian/advanced/button.json +334 -0
  55. package/src/themes/hawaiian/advanced/hyperlink.json +64 -0
  56. package/src/themes/hawaiian/advanced/shared.json +48 -0
  57. package/src/themes/hawaiian/advanced/state.json +72 -0
  58. package/src/themes/hawaiian/basic/color/border.json +65 -0
  59. package/src/themes/hawaiian/basic/color/brand.json +105 -0
  60. package/src/themes/hawaiian/basic/color/color.json +57 -0
  61. package/src/themes/hawaiian/basic/color/fare-brand.json +75 -0
  62. package/src/themes/hawaiian/basic/color/page-background.json +25 -0
  63. package/src/themes/hawaiian/basic/color/status.json +81 -0
  64. package/src/themes/hawaiian/basic/color/surface.json +89 -0
  65. package/src/themes/hawaiian/basic/color/text-icon.json +58 -0
  66. package/src/themes/hawaiian/basic/font/accent.json +288 -0
  67. package/src/themes/hawaiian/basic/font/body.json +63 -0
  68. package/src/themes/hawaiian/basic/font/heading.json +248 -0
  69. package/src/themes/hawaiian/basic/font/typography.json +248 -0
  70. package/dist/alaska/CSSCustomProperties--alaska.css +0 -119
  71. package/dist/alaska/JSObject--allTokens.js +0 -3731
  72. package/dist/alaska/SCSSVariables--alaska.scss +0 -116
  73. package/dist/alaska/SCSSVariablesMapFlat--alaska.scss +0 -120
  74. package/dist/alaska/primitives--alaska.scss +0 -215
  75. package/dist/alaska-classic/CSSCustomProperties--alaskaClassic.css +0 -119
  76. package/dist/alaska-classic/JSObject--allTokens.js +0 -3731
  77. package/dist/alaska-classic/SCSSVariables--alaskaClassic.scss +0 -116
  78. package/dist/alaska-classic/SCSSVariablesMapFlat--alaskaClassic.scss +0 -120
  79. package/dist/alaska-classic/primitives--alaskaClassic.scss +0 -215
  80. package/src/themes/alaska/color.json +0 -444
  81. package/src/themes/alaska/typography.json +0 -132
  82. package/src/themes/hawaiian/color.json +0 -444
  83. package/src/themes/hawaiian/component.json +0 -392
  84. package/src/themes/hawaiian/typography.json +0 -132
@@ -1,392 +0,0 @@
1
- {
2
- "component": {
3
- "selected": {
4
- "hover": {
5
- "value": "{color.brand.secondaryBold.value}",
6
- "type": "semantic",
7
- "public": true,
8
- "default": true,
9
- "usage": "Selected hover state color",
10
- "deprecated": false
11
- }
12
- },
13
- "focused": {
14
- "value": "{color.brand.secondary.value}",
15
- "type": "semantic",
16
- "public": true,
17
- "default": true,
18
- "usage": "Focused component color",
19
- "deprecated": false
20
- },
21
- "inverseFocused": {
22
- "value": "{color.white.value}",
23
- "type": "semantic",
24
- "public": true,
25
- "default": true,
26
- "usage": "Inverse focused component color",
27
- "deprecated": false
28
- },
29
- "background": {
30
- "value": "{color.white.value}",
31
- "type": "semantic",
32
- "public": true,
33
- "default": true,
34
- "usage": "Component background color",
35
- "deprecated": false
36
- },
37
- "backgroundHover": {
38
- "value": "{color.gray.100.value}",
39
- "type": "semantic",
40
- "public": true,
41
- "default": true,
42
- "usage": "Component background hover color",
43
- "deprecated": false
44
- },
45
- "backgroundDisabled": {
46
- "value": "{color.gray.200.value}",
47
- "type": "semantic",
48
- "public": true,
49
- "default": true,
50
- "usage": "Component background disabled color",
51
- "deprecated": false
52
- },
53
- "backgroundMuted": {
54
- "value": "{color.gray.50.value}",
55
- "type": "semantic",
56
- "public": true,
57
- "default": true,
58
- "usage": "Component background muted color",
59
- "deprecated": false
60
- },
61
- "backgroundStrong": {
62
- "value": "{color.gray.600.value}",
63
- "type": "semantic",
64
- "public": true,
65
- "default": true,
66
- "usage": "Component background strong color",
67
- "deprecated": false
68
- },
69
- "button": {
70
- "primary": {
71
- "text": {
72
- "value": "{color.white.value}",
73
- "type": "semantic",
74
- "public": true,
75
- "default": true,
76
- "usage": "Primary button text color",
77
- "deprecated": false
78
- },
79
- "border": {
80
- "value": "{color.brand.primary.value}",
81
- "type": "semantic",
82
- "public": true,
83
- "default": true,
84
- "usage": "Primary button border color",
85
- "deprecated": false
86
- },
87
- "borderHover": {
88
- "value": "{color.brand.primaryBold.value}",
89
- "type": "semantic",
90
- "public": true,
91
- "default": true,
92
- "usage": "Primary button border hover color",
93
- "deprecated": false
94
- },
95
- "background": {
96
- "value": "{color.brand.primary.value}",
97
- "type": "semantic",
98
- "public": true,
99
- "default": true,
100
- "usage": "Primary button background color",
101
- "deprecated": false
102
- },
103
- "backgroundHover": {
104
- "value": "{color.brand.primaryBold.value}",
105
- "type": "semantic",
106
- "public": true,
107
- "default": true,
108
- "usage": "Primary button background hover color",
109
- "deprecated": false
110
- },
111
- "backgroundActive": {
112
- "value": "{color.brand.primaryBold.value}",
113
- "type": "semantic",
114
- "public": true,
115
- "default": true,
116
- "usage": "Primary button background active color",
117
- "deprecated": false
118
- },
119
- "textInverse": {
120
- "value": "{color.brand.primary.value}",
121
- "type": "semantic",
122
- "public": true,
123
- "default": true,
124
- "usage": "Primary button inverse text color",
125
- "deprecated": false
126
- },
127
- "borderInverse": {
128
- "value": "{color.white.value}",
129
- "type": "semantic",
130
- "public": true,
131
- "default": true,
132
- "usage": "Primary button inverse border color",
133
- "deprecated": false
134
- },
135
- "backgroundInverse": {
136
- "value": "{color.white.value}",
137
- "type": "semantic",
138
- "public": true,
139
- "default": true,
140
- "usage": "Primary button inverse background color",
141
- "deprecated": false
142
- },
143
- "borderInverseHover": {
144
- "value": "{color.brand.primaryMuted.value}",
145
- "type": "semantic",
146
- "public": true,
147
- "default": true,
148
- "usage": "Primary button inverse border hover color",
149
- "deprecated": false
150
- },
151
- "backgroundInverseHover": {
152
- "value": "{color.brand.primaryMuted.value}",
153
- "type": "semantic",
154
- "public": true,
155
- "default": true,
156
- "usage": "Primary button inverse background hover color",
157
- "deprecated": false
158
- }
159
- },
160
- "secondary": {
161
- "text": {
162
- "value": "{color.brand.primary.value}",
163
- "type": "semantic",
164
- "public": true,
165
- "default": true,
166
- "usage": "Secondary button text color",
167
- "deprecated": false
168
- },
169
- "textHover": {
170
- "value": "{color.brand.secondary.value}",
171
- "type": "semantic",
172
- "public": true,
173
- "default": true,
174
- "usage": "Secondary button text hover color",
175
- "deprecated": false
176
- },
177
- "border": {
178
- "value": "{color.border.default.value}",
179
- "type": "semantic",
180
- "public": true,
181
- "default": true,
182
- "usage": "Secondary button border color",
183
- "deprecated": false
184
- },
185
- "borderHover": {
186
- "value": "{color.border.default.value}",
187
- "type": "semantic",
188
- "public": true,
189
- "default": true,
190
- "usage": "Secondary button border hover color",
191
- "deprecated": false
192
- },
193
- "background": {
194
- "value": "{color.white.value}",
195
- "type": "semantic",
196
- "public": true,
197
- "default": true,
198
- "usage": "Secondary button background color",
199
- "deprecated": false
200
- },
201
- "backgroundHover": {
202
- "value": "{color.gray.100.value}",
203
- "type": "semantic",
204
- "public": true,
205
- "default": true,
206
- "usage": "Secondary button background hover color",
207
- "deprecated": false
208
- },
209
- "textInverse": {
210
- "value": "{color.white.value}",
211
- "type": "semantic",
212
- "public": true,
213
- "default": true,
214
- "usage": "Secondary button inverse text color",
215
- "deprecated": false
216
- },
217
- "borderInverse": {
218
- "value": "{color.white.value}",
219
- "type": "semantic",
220
- "public": true,
221
- "default": true,
222
- "usage": "Secondary button inverse border color",
223
- "deprecated": false
224
- },
225
- "backgroundInverseHover": {
226
- "value": "{transparency.black.5.value}",
227
- "type": "semantic",
228
- "public": true,
229
- "default": true,
230
- "usage": "Secondary button inverse background hover color",
231
- "deprecated": false
232
- }
233
- },
234
- "tertiary": {
235
- "text": {
236
- "value": "{color.brand.primary.value}",
237
- "type": "semantic",
238
- "public": true,
239
- "default": true,
240
- "usage": "Tertiary button text color",
241
- "deprecated": false
242
- },
243
- "textHover": {
244
- "value": "{color.brand.primaryBold.value}",
245
- "type": "semantic",
246
- "public": true,
247
- "default": true,
248
- "usage": "Tertiary button text hover color",
249
- "deprecated": false
250
- },
251
- "background": {
252
- "value": "{transparency.black.5.value}",
253
- "type": "semantic",
254
- "public": true,
255
- "default": true,
256
- "usage": "Tertiary button background color",
257
- "deprecated": false
258
- },
259
- "backgroundHover": {
260
- "value": "{transparency.black.10.value}",
261
- "type": "semantic",
262
- "public": true,
263
- "default": true,
264
- "usage": "Tertiary button background hover color",
265
- "deprecated": false
266
- },
267
- "border": {
268
- "value": "{transparency.black.5.value}",
269
- "type": "semantic",
270
- "public": true,
271
- "default": true,
272
- "usage": "Tertiary button border color",
273
- "deprecated": false
274
- },
275
- "borderHover": {
276
- "value": "{transparency.black.10.value}",
277
- "type": "semantic",
278
- "public": true,
279
- "default": true,
280
- "usage": "Tertiary button border hover color",
281
- "deprecated": false
282
- },
283
- "textInverse": {
284
- "value": "{color.white.value}",
285
- "type": "semantic",
286
- "public": true,
287
- "default": true,
288
- "usage": "Tertiary button inverse text color",
289
- "deprecated": false
290
- },
291
- "backgroundInverse": {
292
- "value": "{transparency.white.5.value}",
293
- "type": "semantic",
294
- "public": true,
295
- "default": true,
296
- "usage": "Tertiary button inverse background color",
297
- "deprecated": false
298
- },
299
- "backgroundInverseHover": {
300
- "value": "{transparency.white.10.value}",
301
- "type": "semantic",
302
- "public": true,
303
- "default": true,
304
- "usage": "Tertiary button inverse background hover color",
305
- "deprecated": false
306
- },
307
- "borderInverse": {
308
- "value": "{transparency.white.5.value}",
309
- "type": "semantic",
310
- "public": true,
311
- "default": true,
312
- "usage": "Tertiary button inverse border color",
313
- "deprecated": false
314
- },
315
- "borderInverseHover": {
316
- "value": "{transparency.white.10.value}",
317
- "type": "semantic",
318
- "public": true,
319
- "default": true,
320
- "usage": "Tertiary button inverse border hover color",
321
- "deprecated": false
322
- }
323
- }
324
- },
325
- "boolean": {
326
- "indicator": {
327
- "value": "{color.white.value}",
328
- "type": "semantic",
329
- "public": true,
330
- "default": true,
331
- "usage": "Boolean indicator color",
332
- "deprecated": false
333
- },
334
- "isFalse": {
335
- "value": "{color.surface.default.value}",
336
- "type": "semantic",
337
- "public": true,
338
- "default": true,
339
- "usage": "Boolean false state color",
340
- "deprecated": false
341
- },
342
- "isFalseHover": {
343
- "value": "{color.gray.100.value}",
344
- "type": "semantic",
345
- "public": true,
346
- "default": true,
347
- "usage": "Boolean false hover state color",
348
- "deprecated": false
349
- },
350
- "isFalseBorder": {
351
- "value": "{color.border.bold.value}",
352
- "type": "semantic",
353
- "public": true,
354
- "default": true,
355
- "usage": "Boolean false border color",
356
- "deprecated": false
357
- },
358
- "isTrue": {
359
- "value": "{color.brand.primary.value}",
360
- "type": "semantic",
361
- "public": true,
362
- "default": true,
363
- "usage": "Boolean true state color",
364
- "deprecated": false
365
- },
366
- "isTrueHover": {
367
- "value": "{color.brand.primaryBold.value}",
368
- "type": "semantic",
369
- "public": true,
370
- "default": true,
371
- "usage": "Boolean true hover state color",
372
- "deprecated": false
373
- },
374
- "error": {
375
- "value": "{color.status.error.value}",
376
- "type": "semantic",
377
- "public": true,
378
- "default": true,
379
- "usage": "Boolean error state color",
380
- "deprecated": false
381
- },
382
- "errorHover": {
383
- "value": "{color.status.error.800.value}",
384
- "type": "semantic",
385
- "public": true,
386
- "default": true,
387
- "usage": "Boolean error hover state color",
388
- "deprecated": false
389
- }
390
- }
391
- }
392
- }
@@ -1,132 +0,0 @@
1
- {
2
- "font": {
3
- "family": {
4
- "body": {
5
- "value": "{font.family.body.value}",
6
- "type": "semantic",
7
- "public": true,
8
- "default": true,
9
- "usage": "Body font family",
10
- "deprecated": false
11
- },
12
- "display": {
13
- "value": "{font.family.display.value}",
14
- "type": "semantic",
15
- "public": true,
16
- "default": true,
17
- "usage": "Display font family",
18
- "deprecated": false
19
- },
20
- "heading": {
21
- "value": "{font.family.heading.value}",
22
- "type": "semantic",
23
- "public": true,
24
- "default": true,
25
- "usage": "Heading font family",
26
- "deprecated": false
27
- }
28
- },
29
- "weight": {
30
- "display": {
31
- "value": "{font.weight.semibold.value}",
32
- "type": "semantic",
33
- "public": true,
34
- "default": true,
35
- "usage": "Display font weight",
36
- "deprecated": false
37
- },
38
- "body": {
39
- "default": {
40
- "value": "{font.weight.regular.value}",
41
- "type": "semantic",
42
- "public": true,
43
- "default": true,
44
- "usage": "Default body font weight",
45
- "deprecated": false
46
- },
47
- "large": {
48
- "value": "{font.weight.regular.value}",
49
- "type": "semantic",
50
- "public": true,
51
- "default": true,
52
- "usage": "Large body font weight",
53
- "deprecated": false
54
- },
55
- "small": {
56
- "value": "{font.weight.regular.value}",
57
- "type": "semantic",
58
- "public": true,
59
- "default": true,
60
- "usage": "Small body font weight",
61
- "deprecated": false
62
- },
63
- "xsmall": {
64
- "value": "{font.weight.regular.value}",
65
- "type": "semantic",
66
- "public": true,
67
- "default": true,
68
- "usage": "Extra small body font weight",
69
- "deprecated": false
70
- },
71
- "xxsmall": {
72
- "value": "{font.weight.regular.value}",
73
- "type": "semantic",
74
- "public": true,
75
- "default": true,
76
- "usage": "Extra extra small body font weight",
77
- "deprecated": false
78
- }
79
- },
80
- "heading": {
81
- "heading1": {
82
- "value": "{font.weight.regular.value}",
83
- "type": "semantic",
84
- "public": true,
85
- "default": true,
86
- "usage": "Heading 1 font weight",
87
- "deprecated": false
88
- },
89
- "heading2": {
90
- "value": "{font.weight.regular.value}",
91
- "type": "semantic",
92
- "public": true,
93
- "default": true,
94
- "usage": "Heading 2 font weight",
95
- "deprecated": false
96
- },
97
- "heading3": {
98
- "value": "{font.weight.medium.value}",
99
- "type": "semantic",
100
- "public": true,
101
- "default": true,
102
- "usage": "Heading 3 font weight",
103
- "deprecated": false
104
- },
105
- "heading4": {
106
- "value": "{font.weight.medium.value}",
107
- "type": "semantic",
108
- "public": true,
109
- "default": true,
110
- "usage": "Heading 4 font weight",
111
- "deprecated": false
112
- },
113
- "heading5": {
114
- "value": "{font.weight.medium.value}",
115
- "type": "semantic",
116
- "public": true,
117
- "default": true,
118
- "usage": "Heading 5 font weight",
119
- "deprecated": false
120
- },
121
- "heading6": {
122
- "value": "{font.weight.medium.value}",
123
- "type": "semantic",
124
- "public": true,
125
- "default": true,
126
- "usage": "Heading 6 font weight",
127
- "deprecated": false
128
- }
129
- }
130
- }
131
- }
132
- }