@navikt/ds-tokens 7.0.0 → 7.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.
@@ -1,6 +1,5 @@
1
1
  /**
2
- * Do not edit directly
3
- * Generated on Fri, 13 Sep 2024 12:04:59 GMT
2
+ * Do not edit directly, this file was auto-generated.
4
3
  */
5
4
 
6
5
  module.exports = {
package/dist/tokens.css CHANGED
@@ -1,10 +1,9 @@
1
1
  /**
2
- * Do not edit directly
3
- * Generated on Fri, 13 Sep 2024 12:04:59 GMT
2
+ * Do not edit directly, this file was auto-generated.
4
3
  */
5
4
 
6
5
  :root, :host {
7
- --a-version: "7.0.0";
6
+ --a-version: "7.1.0";
8
7
  --a-spacing-1-alt: 0.375rem;
9
8
  --a-spacing-05: 0.125rem;
10
9
  --a-spacing-32: 8rem;
package/dist/tokens.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  /**
2
- * Do not edit directly
3
- * Generated on Fri, 13 Sep 2024 12:04:59 GMT
2
+ * Do not edit directly, this file was auto-generated.
4
3
  */
5
4
 
6
5
  export const ABreakpointXs : "0";
package/dist/tokens.js CHANGED
@@ -1,6 +1,5 @@
1
1
  /**
2
- * Do not edit directly
3
- * Generated on Fri, 13 Sep 2024 12:04:59 GMT
2
+ * Do not edit directly, this file was auto-generated.
4
3
  */
5
4
 
6
5
  export const ABreakpointXs = "0";
package/dist/tokens.less CHANGED
@@ -1,6 +1,5 @@
1
1
 
2
- // Do not edit directly
3
- // Generated on Fri, 13 Sep 2024 12:04:59 GMT
2
+ // Do not edit directly, this file was auto-generated.
4
3
 
5
4
  @a-breakpoint-xs: 0;
6
5
  @a-breakpoint-sm: 480px;
package/dist/tokens.scss CHANGED
@@ -1,6 +1,5 @@
1
1
 
2
- // Do not edit directly
3
- // Generated on Fri, 13 Sep 2024 12:04:59 GMT
2
+ // Do not edit directly, this file was auto-generated.
4
3
 
5
4
  $a-breakpoint-xs: 0;
6
5
  $a-breakpoint-sm: 480px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navikt/ds-tokens",
3
- "version": "7.0.0",
3
+ "version": "7.1.0",
4
4
  "description": "Design-tokens for NAV designsystem",
5
5
  "author": "Aksel | NAV designsystem team",
6
6
  "keywords": [
@@ -18,9 +18,8 @@
18
18
  "docs.json"
19
19
  ],
20
20
  "scripts": {
21
- "build": "node ./config/build.js > /dev/null && node ./config/version-tag.js",
22
- "watch": "nodemon --watch src/index.js --exec \"yarn build\"",
23
- "token": "cd config && style-dictionary build",
21
+ "build": "tsx ./config/build.ts > /dev/null && tsx ./config/version-tag.ts && yarn build:darkside",
22
+ "build:darkside": "tsx ./darkside",
24
23
  "test": "vitest run",
25
24
  "test:watch": "vitest watch"
26
25
  },
@@ -30,11 +29,12 @@
30
29
  "directory": "@navikt/core/tokens"
31
30
  },
32
31
  "devDependencies": {
32
+ "@adobe/leonardo-contrast-colors": "^1.0.0",
33
33
  "color": "4.2.3",
34
+ "lightningcss": "^1.27.0",
34
35
  "lodash": "^4.17.21",
35
- "nodemon": "^3.0.1",
36
- "style-dictionary": "^3.0.2",
37
- "ts-node": "^10.9.1",
36
+ "style-dictionary": "^4.1.1",
37
+ "tsx": "^4.19.1",
38
38
  "typescript": "^5.1.6",
39
39
  "vitest": "^1.2.2"
40
40
  },