@aurodesignsystem/design-tokens 4.0.0 → 4.1.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 (51) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +20 -26
  3. package/dist/tokens/CSSCustomProperties.css +1 -1
  4. package/dist/tokens/CSSSizeCustomProperties.css +1 -1
  5. package/dist/tokens/JSData--color.js +1 -1
  6. package/dist/tokens/JSObject--allTokens.js +1 -1
  7. package/dist/tokens/JSObject--deprecated.js +1 -1
  8. package/dist/tokens/JSVariables--color.js +1 -1
  9. package/dist/tokens/SCSSVariableMap.scss +1 -1
  10. package/dist/tokens/SCSSVariables.scss +1 -1
  11. package/dist/tokens/SCSSVariablesMapFlat.scss +1 -1
  12. package/dist/tokens/SassCustomProperties.scss +1 -1
  13. package/dist/tokens/SassSizeCustomProperties.scss +1 -1
  14. package/dist/tokens/darkmode/CSSCustomProperties.css +22 -0
  15. package/dist/tokens/darkmode/JSDataColor.js +464 -0
  16. package/dist/tokens/darkmode/JSObject--allDarkTokens.js +464 -0
  17. package/dist/tokens/darkmode/JSVariablesColor.js +20 -0
  18. package/dist/tokens/darkmode/SCSSVariables.scss +19 -0
  19. package/dist/tokens/darkmode/SCSSVariablesMapFlat.scss +25 -0
  20. package/dist/tokens/darkmode/SassCustomProperties.scss +22 -0
  21. package/package.json +1 -1
  22. package/src/color-darkmode/base.json +6 -126
  23. package/src/color-darkmode/border.json +2 -40
  24. package/src/color-darkmode/icon.json +2 -20
  25. package/src/color-darkmode/text.json +5 -10
  26. package/src/color-darkmode/tier.json +2 -26
  27. package/dist/tokens/CSSCustomProperties--darkmode.css +0 -302
  28. package/dist/tokens/CSSCustomPropertiesColorRGB--darkmode.css +0 -155
  29. package/dist/tokens/CSSCustomPropertiesColorRGB.css +0 -168
  30. package/dist/tokens/CSSOpacityProperties--darkmode.scss +0 -10
  31. package/dist/tokens/CSSOpacityProperties.scss +0 -10
  32. package/dist/tokens/CSSSizeCustomProperties--darkmode.css +0 -20
  33. package/dist/tokens/CSSVariables--darkmode.css +0 -302
  34. package/dist/tokens/CSSVariablesMapFlat--darkmode.css +0 -368
  35. package/dist/tokens/JSData--darkmodeColor.js +0 -3254
  36. package/dist/tokens/JSObject--allDarkTokens.js +0 -7087
  37. package/dist/tokens/JSObject--deprecatedDark.js +0 -675
  38. package/dist/tokens/JSVariables--darkmodeColor.js +0 -153
  39. package/dist/tokens/SCSSOpacityVariables--darkmode.scss +0 -7
  40. package/dist/tokens/SCSSOpacityVariables.scss +0 -7
  41. package/dist/tokens/SCSSVariableMap--darkmode.scss +0 -37
  42. package/dist/tokens/SCSSVariables--darkmode.scss +0 -299
  43. package/dist/tokens/SCSSVariablesMapFlat--darkmode.scss +0 -368
  44. package/dist/tokens/SassCustomProperties--darkmode.scss +0 -302
  45. package/dist/tokens/SassCustomPropertiesColorRGB--darkmode.scss +0 -155
  46. package/dist/tokens/SassCustomPropertiesColorRGB.scss +0 -168
  47. package/dist/tokens/SassSizeCustomProperties--darkmode.scss +0 -20
  48. package/src/color-darkmode/alert.json +0 -56
  49. package/src/color-darkmode/background.json +0 -38
  50. package/src/color-darkmode/brand.json +0 -530
  51. package/src/color-darkmode/ui.json +0 -57
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Semantic Release Automated Changelog
2
2
 
3
+ # [4.1.0](https://github.com/AlaskaAirlines/AuroDesignTokens/compare/v4.0.0...v4.1.0) (2023-09-14)
4
+
5
+
6
+ ### Features
7
+
8
+ * edit tokens for better control of output ([9a1521b](https://github.com/AlaskaAirlines/AuroDesignTokens/commit/9a1521b68472c6ce664e555fb12c8d39565cc2c6))
9
+
3
10
  # [4.0.0](https://github.com/AlaskaAirlines/AuroDesignTokens/compare/v3.15.5...v4.0.0) (2023-09-13)
4
11
 
5
12
 
package/README.md CHANGED
@@ -3,34 +3,38 @@
3
3
  ## Install
4
4
 
5
5
  [![Build Status](https://img.shields.io/github/actions/workflow/status/AlaskaAirlines/AuroDesignTokens/testPublish.yml?branch=master&style=for-the-badge)](https://github.com/AlaskaAirlines/AuroDesignTokens/actions/workflows/testPublish.yml)
6
- [![See it on NPM!](https://img.shields.io/npm/v/@alaskaairux/design-tokens.svg?style=for-the-badge&color=orange)](https://www.npmjs.com/package/@alaskaairux/design-tokens)
7
- [![License](https://img.shields.io/npm/l/@alaskaairux/design-tokens.svg?color=blue&style=for-the-badge)](https://www.apache.org/licenses/LICENSE-2.0)
6
+ [![See it on NPM!](https://img.shields.io/npm/v/@aurodesignsystem/design-tokens.svg?style=for-the-badge&color=orange)](https://www.npmjs.com/package/@aurodesignsystem/design-tokens)
7
+ [![License](https://img.shields.io/npm/l/@aurodesignsystem/design-tokens.svg?color=blue&style=for-the-badge)](https://www.apache.org/licenses/LICENSE-2.0)
8
8
 
9
9
  ```
10
- $ npm i @alaskaairux/design-tokens
10
+ $ npm i @aurodesignsystem/design-tokens
11
11
  ```
12
12
 
13
13
  ## Use pre-processed resources
14
14
 
15
- Located in the `./dist/tokens` directory of the [npm](https://www.npmjs.com/package/@alaskaairux/design-tokens).
15
+ Located in the `./dist/tokens` directory of the [npm](https://www.npmjs.com/package/@aurodesignsystem/design-tokens).
16
16
 
17
17
  ```
18
18
  └── tokens
19
19
  ├── CSSCustomProperties.css
20
- ├── CSSCustomPropertiesColorRGB.css
21
- ├── CSSOpacityProperties.scss
22
20
  ├── CSSSizeCustomProperties.css
23
21
  ├── JSData--color.js
24
22
  ├── JSObject--allTokens.js
25
23
  ├── JSObject--deprecated.js
26
24
  ├── JSVariables--color.js
27
- ├── SCSSOpacityVariables.scss
28
25
  ├── SCSSVariableMap.scss
29
26
  ├── SCSSVariables.scss
30
27
  ├── SCSSVariablesMapFlat.scss
31
28
  ├── SassCustomProperties.scss
32
- ├── SassCustomPropertiesColorRGB.scss
33
- └── SassSizeCustomProperties.scss
29
+ ├── SassSizeCustomProperties.scss
30
+ └── darkmode
31
+ ├── CSSCustomProperties.css
32
+ ├── JSDataColor.js
33
+ ├── JSObject--allDarkTokens.js
34
+ ├── JSVariablesColor.js
35
+ ├── SCSSVariables.scss
36
+ ├── SCSSVariablesMapFlat.scss
37
+ └── SassCustomProperties.scss
34
38
  ```
35
39
 
36
40
  ### Resource Descriptions
@@ -38,30 +42,26 @@ Located in the `./dist/tokens` directory of the [npm](https://www.npmjs.com/pack
38
42
  | file | syntax | type | status | filter type / description |
39
43
  |---|---|---|---|---|
40
44
  | CSSCustomProperties | CSS | custom properties | current | full list of v3.0x release tokens |
41
- | CSSCustomPropertiesColorRGB | CSS | custom properties | current| Filter: color, public<br>custom RGB output
42
- | CSSOpacityProperties | Sass | custom properties | current | filter: opacity |
43
45
  | CSSSizeCustomProperties | CSS | custom properties | current | filter: size, public |
44
46
  | JSData--color | JS module | color data | current | filter: color, current |
45
47
  | JSObject--deprecated | JS module | deprecated tokens | current | filter: deprecated, pubic |
46
48
  | JSObject--allTokens.js | JS module | all data | current | filter: public |
47
49
  | JSVariables--color | js es6 | color data | current | filter: color |
48
- | SCSSOpacityVariables | Sass | Sass variables | current | filter: opacity |
49
50
  | SCSSVariableMap | Sass | Sass variable map | current | filter: size, public |
50
51
  | SCSSVariables | scss | Sass variables | current | full list of v3.0x release tokens |
51
52
  | SCSSVariablesMapFlat | scss | Scss variable map | current | full list of v3.0x release tokens |
52
53
  | SassCustomProperties | scss | custom properties | current | full list of v3.0x release tokens |
53
- | SassCustomPropertiesColorRGB | Sass | custom properties | current| Filter: color, public<br>custom RGB output
54
54
  | SassSizeCustomProperties | Sass | custom properties | current | filter: size, public |
55
55
 
56
56
 
57
57
  ### Install with Sass
58
58
 
59
59
  ```scss
60
- @import "~@alaskaairux/design-tokens/dist/tokens/SCSSVariables";
60
+ @import "~@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables";
61
61
 
62
62
  // or
63
63
 
64
- @import "~@alaskaairux/design-tokens/dist/tokens/SassCustomProperties";
64
+ @import "~@aurodesignsystem/design-tokens/dist/tokens/SassCustomProperties";
65
65
  ```
66
66
 
67
67
  ### Install with CSS
@@ -69,29 +69,23 @@ Located in the `./dist/tokens` directory of the [npm](https://www.npmjs.com/pack
69
69
  With React or similar framework, the CSS file can be imported directly from the npm:
70
70
 
71
71
  ```js
72
- import "@alaskaairux/design-tokens/dist/tokens/CSSCustomProperties.css"
72
+ import "@aurodesignsystem/design-tokens/dist/tokens/CSSCustomProperties.css"
73
73
  ```
74
74
 
75
75
  For other frameworks, it's suggested that the CSS file be copied from the npm into the scope of the project with a build scenario.
76
76
 
77
77
  ### Install ESModules
78
78
 
79
- Within a webpacked application or a `type="module"` script:
79
+ Within a webpack supported application or a `type="module"` script:
80
80
 
81
81
  ```js
82
- import { AuroColorAlertNotificationOnLight, AuroColorBorderErrorOnLight } from '@alaskaairux/design-tokens/dist/tokens/JSVariables--color.js';
82
+ import { AuroColorAlertNotificationOnLight, AuroColorBorderErrorOnLight } from '@aurodesignsystem/design-tokens/dist/tokens/JSVariables--color.js';
83
83
  ```
84
84
 
85
85
  ### Install from CDN
86
86
 
87
- Using unpkg.com, every file in the dist directory can be accessed.
87
+ Using the `https://cdn.jsdelivr.net/npm/` CDN, every file in the dist directory can be accessed like so.
88
88
 
89
89
  ```html
90
- <link rel="stylesheet" href="https://unpkg.com/@alaskaairux/design-tokens@latest/dist/tokens/CSSCustomProperties.css">
91
- ```
92
-
93
- For specifically the CSSCustomProperties.css file, a faster CDN resource is available.
94
-
95
- ```html
96
- <link rel="stylesheet" href="https://p2pcontent-fd-prod.azurefd.net/auro/tokens/CSSCustomProperties.css">
90
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm//@aurodesignsystem/design-tokens@latest/dist/tokens/CSSCustomProperties.css">
97
91
  ```
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 13 Sep 2023 17:26:39 GMT
3
+ * Generated on Thu, 14 Sep 2023 15:47:12 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 13 Sep 2023 17:26:39 GMT
3
+ * Generated on Thu, 14 Sep 2023 15:47:12 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 13 Sep 2023 17:26:39 GMT
3
+ * Generated on Thu, 14 Sep 2023 15:47:12 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 13 Sep 2023 17:26:39 GMT
3
+ * Generated on Thu, 14 Sep 2023 15:47:12 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 13 Sep 2023 17:26:39 GMT
3
+ * Generated on Thu, 14 Sep 2023 15:47:12 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 13 Sep 2023 17:26:39 GMT
3
+ * Generated on Thu, 14 Sep 2023 15:47:12 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 Wed, 13 Sep 2023 17:26:39 GMT
4
+ * Generated on Thu, 14 Sep 2023 15:47:12 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 Wed, 13 Sep 2023 17:26:39 GMT
3
+ // Generated on Thu, 14 Sep 2023 15:47:12 GMT
4
4
 
5
5
  $ds-asset-font-circular-family-name: "AS Circular";
6
6
  $ds-asset-font-circular-filename: "ASCircularWeb";
@@ -1,7 +1,7 @@
1
1
 
2
2
  /*
3
3
  Do not edit directly
4
- Generated on Wed, 13 Sep 2023 17:26:39 GMT
4
+ Generated on Thu, 14 Sep 2023 15:47:12 GMT
5
5
  */
6
6
 
7
7
  $auroTokens: (
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 13 Sep 2023 17:26:39 GMT
3
+ * Generated on Thu, 14 Sep 2023 15:47:12 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 13 Sep 2023 17:26:39 GMT
3
+ * Generated on Thu, 14 Sep 2023 15:47:12 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Thu, 14 Sep 2023 15:47:12 GMT
4
+ */
5
+
6
+ :root {
7
+ --ds-color-base-white: #000000; /*
8
+ // Base value for token support; should not use in code! */
9
+ --ds-color-base-black: #ffffff; /*
10
+ // Base value for token support; should not use in code! */
11
+ --ds-color-border-primary-default: #9fabbb;
12
+ --ds-color-border-divider-default: #000000;
13
+ --ds-color-icon-primary-default: #9fabbb;
14
+ --ds-color-icon-emphasis-default: #000000;
15
+ --ds-color-text-primary-default: #000000;
16
+ --ds-color-text-secondary-default: #9fabbb;
17
+ --ds-color-text-link-default: #00cff0;
18
+ --ds-color-text-error-default: #ff999b;
19
+ --ds-color-text-emphasis-default: #c1daf0;
20
+ --ds-color-tier-alaska-mvp-default: #c5c1bf;
21
+ --ds-color-tier-alaska-mvpgold-default: #ccbc94;
22
+ }