@royalnavy/design-tokens 4.2.0 → 4.3.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.
package/dist/index.scss CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  /*
3
3
  Do not edit directly
4
- Generated on Thu, 04 Apr 2024 04:03:50 GMT
4
+ Generated on Wed, 10 Apr 2024 04:03:22 GMT
5
5
  */
6
6
 
7
7
  $timing-default: 0.2s !default;
@@ -1 +1 @@
1
- {"version":3,"file":"getters.d.ts","sourceRoot":"","sources":["../../src/getters.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAGtD,OAAO,EACL,eAAe,EACf,cAAc,EACd,UAAU,EACV,UAAU,EACV,UAAU,EACV,YAAY,EACZ,OAAO,EACP,cAAc,EACd,WAAW,EACX,KAAK,EACN,MAAM,SAAS,CAAA;AAUhB,wBAAgB,aAAa,CAAC,IAAI,EAAE,cAAc,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,UAAU,CAe7E;AAED,wBAAgB,aAAa,CAC3B,OAAO,EAAE;IACP,GAAG,EAAE,cAAc,CAAA;IACnB,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,EACD,KAAK,CAAC,EAAE,KAAK,GACZ,CACD,OAAO,EAAE,oBAAoB,EAC7B,GAAG,cAAc,EAAE,aAAa,CAAC,MAAM,CAAC,EAAE,KACvC,MAAM,CAwCV;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,eAAe,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAQ1E;AAED,wBAAgB,QAAQ,CACtB,KAAK,EAAE,UAAU,EACjB,MAAM,EAAE,UAAU,EAClB,KAAK,CAAC,EAAE,KAAK,GACZ,MAAM,CAaR;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,cAAc,EAAE,KAAK,CAAC,EAAE,KA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,EAAE,KAAK,GAAG,MAAM,CAWzE;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,YAAY,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAQrE;AAED,wBAAgB,UAAU,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAQlE;AAED,wBAAgB,SAAS,CACvB,KAAK,EAAE,WAAW,EAClB,MAAM,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,KAAK,GACZ,MAAM,CASR"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalnavy/design-tokens",
3
- "version": "4.2.0",
3
+ "version": "4.3.0",
4
4
  "main": "dist/cjs/index.js",
5
5
  "author": "Royal Navy",
6
6
  "license": "Apache-2.0",
@@ -24,12 +24,11 @@
24
24
  "types": "tsc --emitDeclarationOnly --declarationMap --declaration --noEmit false --allowJs false --outDir dist/types",
25
25
  "prepare": "yarn build",
26
26
  "test": "jest",
27
- "lint-staged": "lint-staged",
28
- "lint": "eslint src --ext .js --ext .jsx --ext .ts --ext .tsx --ext .json --max-warnings 0"
27
+ "lint": "eslint src --ext .js --ext .jsx --ext .ts --ext .tsx --ext .json --max-warnings 0 --resolve-plugins-relative-to ../eslint-config-react"
29
28
  },
30
29
  "lint-staged": {
31
30
  "*.@(js|jsx|ts|tsx)": [
32
- "eslint",
31
+ "eslint --ext .js --ext .jsx --ext .ts --ext .tsx --ext .json --max-warnings 0 --resolve-plugins-relative-to ../eslint-config-react",
33
32
  "prettier --write"
34
33
  ]
35
34
  },
@@ -40,14 +39,15 @@
40
39
  "@babel/preset-env": "^7.11.5",
41
40
  "@babel/preset-react": "^7.10.4",
42
41
  "@babel/preset-typescript": "^7.10.4",
43
- "@royalnavy/eslint-config-react": "^4.2.0",
42
+ "@royalnavy/eslint-config-react": "^4.3.0",
44
43
  "@testing-library/jest-dom": "^6.4.2",
45
44
  "@testing-library/react": "^14.2.1",
46
45
  "@types/jest": "^29.0.3",
47
- "@types/lodash": "^4.14.161",
46
+ "@types/lodash": "^4.14.149",
48
47
  "@types/react": "^18.2.25",
49
48
  "@types/styled-components": "^5.1.34",
50
49
  "babel-loader": "^9.0.1",
50
+ "babel-plugin-styled-components": "^2.0.2",
51
51
  "clean-webpack-plugin": "^4.0.0",
52
52
  "eslint": "^8.2.0",
53
53
  "jest": "^29.0.3",
@@ -56,16 +56,16 @@
56
56
  "react": "^18.2.0",
57
57
  "source-map-loader": "^4.0.1",
58
58
  "style-dictionary": "^3.1.1",
59
- "styled-components": "^5.3.3",
60
- "typescript": "^5.0.4",
59
+ "styled-components": "^6.1.8",
60
+ "typescript": "^5.4.4",
61
61
  "webpack": "^5.52.1",
62
62
  "webpack-cli": "^5.0.1",
63
63
  "webpack-merge": "^5.2.0"
64
64
  },
65
65
  "dependencies": {
66
- "lodash": "^4.17.20"
66
+ "lodash": "^4.17.21"
67
67
  },
68
68
  "peerDependencies": {
69
- "styled-components": "^6.1.8"
69
+ "styled-components": ">= 6"
70
70
  }
71
71
  }