@aurodesignsystem/design-tokens 6.0.2 → 8.0.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 (94) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/{auro-classic → legacy/auro-classic}/CSSCustomProperties.css +1 -1
  3. package/dist/{auro-classic → legacy/auro-classic}/CSSSizeCustomProperties.css +1 -1
  4. package/dist/{auro-classic → legacy/auro-classic}/JSData--color.js +1 -1
  5. package/dist/{auro-classic → legacy/auro-classic}/JSObject--allTokens.js +1 -1
  6. package/dist/{auro-classic → legacy/auro-classic}/JSObject--deprecated.js +1 -1
  7. package/dist/{auro-classic → legacy/auro-classic}/JSVariables--color.js +1 -1
  8. package/dist/{auro-classic → legacy/auro-classic}/SCSSVariableMap.scss +1 -1
  9. package/dist/{auro-classic → legacy/auro-classic}/SCSSVariables.scss +1 -1
  10. package/dist/{auro-classic → legacy/auro-classic}/SCSSVariablesMapFlat.scss +1 -1
  11. package/dist/{auro-classic → legacy/auro-classic}/SassCustomProperties.scss +1 -1
  12. package/dist/{auro-classic → legacy/auro-classic}/SassSizeCustomProperties.scss +1 -1
  13. package/dist/{transparent → legacy/transparent}/CSSCustomProperties--transparent.css +1 -1
  14. package/dist/primitives/base/JSONVariablesNested--primitivesBase.json +188 -0
  15. package/dist/primitives/base/JSObject--allTokens.js +3819 -0
  16. package/dist/primitives/base/SCSSVariables--primitivesBase.scss +152 -0
  17. package/dist/primitives/base/SCSSVariablesMapFlat--primitivesBase.scss +156 -0
  18. package/dist/{CSSCustomProperties--bundled.css → themes/CSSCustomProperties--bundled.css} +558 -413
  19. package/dist/themes/CSSCustomProperties--bundled.min.css +1 -0
  20. package/dist/{alaska → themes/alaska}/CSSCustomProperties--alaska.css +141 -112
  21. package/dist/themes/alaska/CSSCustomProperties--alaska.min.css +1 -0
  22. package/dist/{alaska → themes/alaska}/JSONVariablesNested--alaska.json +188 -149
  23. package/dist/{alaska → themes/alaska}/JSObject--allTokens.js +5214 -4493
  24. package/dist/{alaska → themes/alaska}/SCSSVariables--alaska.scss +141 -112
  25. package/dist/{alaska → themes/alaska}/SCSSVariablesMapFlat--alaska.scss +142 -113
  26. package/dist/{alaska → themes/alaska}/primitives--alaska.scss +1 -1
  27. package/dist/{alaska-classic → themes/alaska-classic}/CSSCustomProperties--alaskaClassic.css +141 -112
  28. package/dist/themes/alaska-classic/CSSCustomProperties--alaskaClassic.min.css +1 -0
  29. package/dist/{alaska-classic → themes/alaska-classic}/JSONVariablesNested--alaskaClassic.json +188 -149
  30. package/dist/{alaska-classic → themes/alaska-classic}/JSObject--allTokens.js +5216 -4495
  31. package/dist/{alaska-classic → themes/alaska-classic}/SCSSVariables--alaskaClassic.scss +141 -112
  32. package/dist/{alaska-classic → themes/alaska-classic}/SCSSVariablesMapFlat--alaskaClassic.scss +142 -113
  33. package/dist/{alaska-classic → themes/alaska-classic}/primitives--alaskaClassic.scss +1 -1
  34. package/dist/{auro-1 → themes/auro-1}/CSSCustomProperties--auro1.css +141 -112
  35. package/dist/themes/auro-1/CSSCustomProperties--auro1.min.css +1 -0
  36. package/dist/{auro-1 → themes/auro-1}/JSONVariablesNested--auro1.json +188 -149
  37. package/dist/{auro-1 → themes/auro-1}/JSObject--allTokens.js +5211 -4490
  38. package/dist/{auro-1 → themes/auro-1}/SCSSVariables--auro1.scss +141 -112
  39. package/dist/{auro-1 → themes/auro-1}/SCSSVariablesMapFlat--auro1.scss +142 -113
  40. package/dist/{auro-1 → themes/auro-1}/primitives--auro1.scss +1 -1
  41. package/dist/{auro-2 → themes/auro-2}/CSSCustomProperties--auro2.css +141 -112
  42. package/dist/themes/auro-2/CSSCustomProperties--auro2.min.css +1 -0
  43. package/dist/{auro-2 → themes/auro-2}/JSONVariablesNested--auro2.json +188 -149
  44. package/dist/{auro-2 → themes/auro-2}/JSObject--allTokens.js +5211 -4490
  45. package/dist/{auro-2 → themes/auro-2}/SCSSVariables--auro2.scss +141 -112
  46. package/dist/{auro-2 → themes/auro-2}/SCSSVariablesMapFlat--auro2.scss +142 -113
  47. package/dist/{auro-2 → themes/auro-2}/primitives--auro2.scss +1 -1
  48. package/dist/{hawaiian → themes/hawaiian}/CSSCustomProperties--hawaiian.css +141 -112
  49. package/dist/themes/hawaiian/CSSCustomProperties--hawaiian.min.css +1 -0
  50. package/dist/{hawaiian → themes/hawaiian}/JSONVariablesNested--hawaiian.json +188 -149
  51. package/dist/{hawaiian → themes/hawaiian}/JSObject--allTokens.js +5221 -4500
  52. package/dist/{hawaiian → themes/hawaiian}/SCSSVariables--hawaiian.scss +141 -112
  53. package/dist/{hawaiian → themes/hawaiian}/SCSSVariablesMapFlat--hawaiian.scss +142 -113
  54. package/dist/{hawaiian → themes/hawaiian}/primitives--hawaiian.scss +1 -1
  55. package/package.json +1 -1
  56. package/src/primitives/base/type/letter-spacing.json +24 -0
  57. package/src/primitives/base/type/line-height.json +42 -0
  58. package/src/primitives/base/type/size.json +126 -0
  59. package/src/primitives/base/type/weight.json +48 -0
  60. package/src/themes/alaska/basic/type/brand.json +50 -0
  61. package/src/themes/alaska/basic/type/family.json +15 -3
  62. package/src/themes/alaska/basic/type/letter-spacing.json +38 -0
  63. package/src/themes/alaska/basic/type/line-height.json +62 -0
  64. package/src/themes/alaska/basic/type/weight.json +44 -0
  65. package/src/themes/alaska-classic/basic/type/brand.json +50 -0
  66. package/src/themes/alaska-classic/basic/type/family.json +15 -3
  67. package/src/themes/alaska-classic/basic/type/letter-spacing.json +38 -0
  68. package/src/themes/alaska-classic/basic/type/line-height.json +62 -0
  69. package/src/{shared → themes/alaska-classic}/basic/type/weight.json +12 -18
  70. package/src/themes/auro-1/basic/type/brand.json +50 -0
  71. package/src/themes/auro-1/basic/type/family.json +15 -3
  72. package/src/themes/auro-1/basic/type/letter-spacing.json +38 -0
  73. package/src/themes/auro-1/basic/type/line-height.json +62 -0
  74. package/src/{shared/basic/type/line-height.json → themes/auro-1/basic/type/weight.json} +13 -13
  75. package/src/themes/auro-2/basic/type/brand.json +50 -0
  76. package/src/themes/auro-2/basic/type/family.json +15 -3
  77. package/src/themes/auro-2/basic/type/letter-spacing.json +38 -0
  78. package/src/themes/auro-2/basic/type/line-height.json +62 -0
  79. package/src/themes/auro-2/basic/type/weight.json +44 -0
  80. package/src/themes/hawaiian/basic/type/brand.json +50 -0
  81. package/src/themes/hawaiian/basic/type/family.json +15 -3
  82. package/src/themes/hawaiian/basic/type/letter-spacing.json +38 -0
  83. package/src/themes/hawaiian/basic/type/line-height.json +62 -0
  84. package/src/themes/hawaiian/basic/type/weight.json +44 -0
  85. package/dist/CSSCustomProperties--bundled.min.css +0 -1
  86. package/dist/alaska/CSSCustomProperties--alaska.min.css +0 -1
  87. package/dist/alaska-classic/CSSCustomProperties--alaskaClassic.min.css +0 -1
  88. package/dist/auro-1/CSSCustomProperties--auro1.min.css +0 -1
  89. package/dist/auro-2/CSSCustomProperties--auro2.min.css +0 -1
  90. package/dist/hawaiian/CSSCustomProperties--hawaiian.min.css +0 -1
  91. package/src/shared/basic/type/letter-spacing.json +0 -26
  92. package/src/shared/basic/type/size.json +0 -128
  93. /package/dist/{auro-classic → legacy/auro-classic}/JSONVariablesFlat.json +0 -0
  94. /package/dist/{auro-classic → legacy/auro-classic}/JSONVariablesNested.json +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # Semantic Release Automated Changelog
2
2
 
3
+ # [8.0.0](https://github.com/AlaskaAirlines/AuroDesignTokens/compare/v7.0.0...v8.0.0) (2025-06-05)
4
+
5
+
6
+ * refactor(dist)!: export primitive base tokens in dist ([9cd481b](https://github.com/AlaskaAirlines/AuroDesignTokens/commit/9cd481b3a7c857bcb95bcfa49174fc4c7cb0139f))
7
+
8
+
9
+ ### BREAKING CHANGES
10
+
11
+ * - The dist directory now exports primitive base tokens
12
+ - Updates dist folder structure for better organization
13
+
14
+ # [7.0.0](https://github.com/AlaskaAirlines/AuroDesignTokens/compare/v6.0.2...v7.0.0) (2025-06-04)
15
+
16
+
17
+ * refactor(type)!: move type tokens to primitives ([023e8c7](https://github.com/AlaskaAirlines/AuroDesignTokens/commit/023e8c7b6a9220b3320173a4d49ac96e6d4c8d43))
18
+
19
+
20
+ ### BREAKING CHANGES
21
+
22
+ * type tokens format has changed to better support design's needs.
23
+
24
+ - Type tokens have been moved from shared/basic/type to primitives/base/type.
25
+ - The following tokens have been moved:
26
+ - letter-spacing
27
+ - line-height
28
+ - size
29
+ - weight
30
+ - Introduced brand tokens for each theme
31
+
3
32
  ## [6.0.2](https://github.com/AlaskaAirlines/AuroDesignTokens/compare/v6.0.1...v6.0.2) (2025-06-02)
4
33
 
5
34
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 02 Jun 2025 17:58:48 GMT
3
+ * Generated on Thu, 05 Jun 2025 16:15:20 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 02 Jun 2025 17:58:48 GMT
3
+ * Generated on Thu, 05 Jun 2025 16:15:20 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 02 Jun 2025 17:58:48 GMT
3
+ * Generated on Thu, 05 Jun 2025 16:15:20 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 02 Jun 2025 17:58:48 GMT
3
+ * Generated on Thu, 05 Jun 2025 16:15:20 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 02 Jun 2025 17:58:48 GMT
3
+ * Generated on Thu, 05 Jun 2025 16:15:20 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 02 Jun 2025 17:58:48 GMT
3
+ * Generated on Thu, 05 Jun 2025 16:15:20 GMT
4
4
  */
5
5
 
6
6
  export const DsColorAlertNotificationDefault = "#0074c8";
@@ -1,7 +1,7 @@
1
1
 
2
2
  /**
3
3
  * Do not edit directly
4
- * Generated on Mon, 02 Jun 2025 17:58:48 GMT
4
+ * Generated on Thu, 05 Jun 2025 16:15:20 GMT
5
5
  */
6
6
 
7
7
  $ds-size-25: 0.125rem !default; // 2px
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 02 Jun 2025 17:58:48 GMT
3
+ // Generated on Thu, 05 Jun 2025 16:15:20 GMT
4
4
 
5
5
  $ds-color-alert-notification-default: #0074c8;
6
6
  $ds-color-alert-warning-default: #de750c;
@@ -1,7 +1,7 @@
1
1
 
2
2
  /*
3
3
  Do not edit directly
4
- Generated on Mon, 02 Jun 2025 17:58:48 GMT
4
+ Generated on Thu, 05 Jun 2025 16:15:20 GMT
5
5
  */
6
6
 
7
7
  $auroTokens: (
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 02 Jun 2025 17:58:48 GMT
3
+ * Generated on Thu, 05 Jun 2025 16:15:20 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 02 Jun 2025 17:58:48 GMT
3
+ * Generated on Thu, 05 Jun 2025 16:15:20 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 02 Jun 2025 17:58:48 GMT
3
+ * Generated on Thu, 05 Jun 2025 16:15:20 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -0,0 +1,188 @@
1
+ {
2
+ "type": {
3
+ "letterSpacing": {
4
+ "0": "\"0\"",
5
+ "005": "\"0.05em\"",
6
+ "010": "\"0.10em\""
7
+ },
8
+ "lineHeight": {
9
+ "100": "\"1\"",
10
+ "125": "\"1.25\"",
11
+ "130": "\"1.3\"",
12
+ "150": "\"1.5\"",
13
+ "163": "\"1.63\"",
14
+ "088": "\"0.88\""
15
+ },
16
+ "size": {
17
+ "10": "\"0.625rem\"",
18
+ "12": "\"0.75rem\"",
19
+ "14": "\"0.875rem\"",
20
+ "16": "\"1rem\"",
21
+ "18": "\"1.125rem\"",
22
+ "20": "\"1.25rem\"",
23
+ "22": "\"1.375rem\"",
24
+ "24": "\"1.5rem\"",
25
+ "26": "\"1.625rem\"",
26
+ "28": "\"1.75rem\"",
27
+ "32": "\"2rem\"",
28
+ "36": "\"2.25rem\"",
29
+ "38": "\"2.375rem\"",
30
+ "40": "\"2.5rem\"",
31
+ "44": "\"2.75rem\"",
32
+ "48": "\"3rem\"",
33
+ "56": "\"3.5rem\"",
34
+ "64": "\"4rem\"",
35
+ "72": "\"4.5rem\"",
36
+ "86": "\"5.375rem\""
37
+ },
38
+ "weight": {
39
+ "book": "\"450\"",
40
+ "condMedium": "\"500\"",
41
+ "condNews": "\"450\"",
42
+ "light": "\"300\"",
43
+ "medium": "\"500\"",
44
+ "regular": "\"400\"",
45
+ "semibold": "\"600\""
46
+ }
47
+ },
48
+ "color": {
49
+ "black": "#000000",
50
+ "gray": {
51
+ "50": "#f7f7f7",
52
+ "100": "#f2f2f2",
53
+ "200": "#dddddd",
54
+ "250": "#d0d0d0",
55
+ "300": "#c5c5c5",
56
+ "400": "#adadad",
57
+ "500": "#959595",
58
+ "600": "#7e7e7e",
59
+ "700": "#676767",
60
+ "800": "#525252",
61
+ "900": "#3d3d3d",
62
+ "1000": "#2a2a2a"
63
+ },
64
+ "neutral": {
65
+ "100": "#f7f8fa",
66
+ "200": "#e4e8ec",
67
+ "300": "#ccd2db",
68
+ "400": "#afb9c6",
69
+ "500": "#939fad",
70
+ "600": "#7e8894",
71
+ "700": "#6a717c",
72
+ "800": "#585e67",
73
+ "900": "#484d55",
74
+ "1000": "#393d43"
75
+ },
76
+ "loungetier": {
77
+ "lounge": "#01426a",
78
+ "loungeplus": "#53b390"
79
+ },
80
+ "loyaltytier": {
81
+ "bronze": "#d99f6d",
82
+ "bronzeMuted": "#eed4be",
83
+ "cobalt": "#030772",
84
+ "cobaltMuted": "#a9b6d6",
85
+ "copper": "#cb7457",
86
+ "copperMuted": "#e7bfb1",
87
+ "gold": "#fbdc7a",
88
+ "goldMuted": "#fdefc4",
89
+ "nickel": "#abaab1",
90
+ "nickelMuted": "#e5e4e7",
91
+ "platinum": "#bcb8a4",
92
+ "platinumMuted": "#dad8cd",
93
+ "silver": "#e4e9ec",
94
+ "silverMuted": "#f9fafb",
95
+ "titanium": "#282828",
96
+ "titaniumMuted": "#545454"
97
+ },
98
+ "oneworld": {
99
+ "emerald": "#139142",
100
+ "ruby": "#a41d4a",
101
+ "sapphire": "#015daa"
102
+ },
103
+ "status": {
104
+ "error": {
105
+ "100": "#fbc6c6",
106
+ "200": "#f9a4a8",
107
+ "300": "#f0898d",
108
+ "400": "#f15f65",
109
+ "500": "#e8454b",
110
+ "600": "#e53339",
111
+ "700": "#e31f26",
112
+ "800": "#b1161c",
113
+ "900": "#7a0f13",
114
+ "1000": "#44090b"
115
+ },
116
+ "help": {
117
+ "100": "#e8f2f8",
118
+ "200": "#dbe6f0",
119
+ "300": "#abc7de",
120
+ "400": "#7eabcd",
121
+ "500": "#5494c0",
122
+ "600": "#007db1",
123
+ "700": "#136791",
124
+ "800": "#195170",
125
+ "900": "#193b51",
126
+ "1000": "#152734"
127
+ },
128
+ "success": {
129
+ "100": "#d6eac7",
130
+ "200": "#b6de9b",
131
+ "300": "#96cf6e",
132
+ "400": "#7ac248",
133
+ "500": "#5da72a",
134
+ "600": "#529325",
135
+ "700": "#447a1f",
136
+ "800": "#325a16",
137
+ "900": "#294912",
138
+ "1000": "#17290a"
139
+ },
140
+ "warn": {
141
+ "100": "#fff0b2",
142
+ "200": "#ffe382",
143
+ "300": "#fac200",
144
+ "400": "#e0ae00",
145
+ "500": "#bd9200",
146
+ "600": "#9e7b00",
147
+ "700": "#856700",
148
+ "800": "#6b5300",
149
+ "900": "#523f00",
150
+ "1000": "#382b00"
151
+ }
152
+ },
153
+ "white": "#ffffff"
154
+ },
155
+ "transparency": {
156
+ "black": {
157
+ "5": "rgba(0, 0, 0, 0.05)",
158
+ "10": "rgba(0, 0, 0, 0.1)",
159
+ "15": "rgba(0, 0, 0, 0.15)",
160
+ "20": "rgba(0, 0, 0, 0.2)",
161
+ "30": "rgba(0, 0, 0, 0.3)",
162
+ "40": "rgba(0, 0, 0, 0.4)",
163
+ "50": "rgba(0, 0, 0, 0.5)",
164
+ "55": "rgba(0, 0, 0, 0.55)",
165
+ "60": "rgba(0, 0, 0, 0.6)",
166
+ "70": "rgba(0, 0, 0, 0.7)",
167
+ "75": "rgba(0, 0, 0, 0.75)",
168
+ "80": "rgba(0, 0, 0, 0.8)",
169
+ "90": "rgba(0, 0, 0, 0.9)"
170
+ },
171
+ "white": {
172
+ "5": "rgba(255, 255, 255, 0.05)",
173
+ "10": "rgba(255, 255, 255, 0.1)",
174
+ "15": "rgba(255, 255, 255, 0.15)",
175
+ "20": "rgba(255, 255, 255, 0.2)",
176
+ "30": "rgba(255, 255, 255, 0.3)",
177
+ "40": "rgba(255, 255, 255, 0.4)",
178
+ "50": "rgba(255, 255, 255, 0.5)",
179
+ "55": "rgba(255, 255, 255, 0.55)",
180
+ "60": "rgba(255, 255, 255, 0.6)",
181
+ "70": "rgba(255, 255, 255, 0.7)",
182
+ "75": "rgba(255, 255, 255, 0.75)",
183
+ "80": "rgba(255, 255, 255, 0.8)",
184
+ "90": "rgba(255, 255, 255, 0.9)"
185
+ },
186
+ "transparent": "rgba(0, 0, 0, 0)"
187
+ }
188
+ }