@kaizen/design-tokens 10.3.11 → 10.3.13
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/README.md +1 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -20,7 +20,6 @@ to support this feature, so when consuming tokens in SASS/LESS you should assume
|
|
|
20
20
|
These values are supplied by the ThemeManager.
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
|
|
24
23
|
## Installation
|
|
25
24
|
|
|
26
25
|
```sh
|
|
@@ -46,7 +45,7 @@ yarn add @kaizen/design-tokens
|
|
|
46
45
|
### JavaScript
|
|
47
46
|
|
|
48
47
|
```js
|
|
49
|
-
import * as tokens from @kaizen/design-tokens/tokens/[color/depth/layout/spacing/typography]
|
|
48
|
+
import * as tokens from "@kaizen/design-tokens/tokens/[color/depth/layout/spacing/typography]"
|
|
50
49
|
```
|
|
51
50
|
|
|
52
51
|
## Where possible, we keep things unitless.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaizen/design-tokens",
|
|
3
3
|
"description": "Tokens used in the Kaizen Design System",
|
|
4
|
-
"version": "10.3.
|
|
4
|
+
"version": "10.3.13",
|
|
5
5
|
"homepage": "https://github.com/cultureamp/kaizen-design-system/tree/main/packages/design-tokens",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
"sideEffects": false,
|
|
23
23
|
"scripts": {
|
|
24
24
|
"test": "cd ../../ && yarn jest ./packages/design-tokens",
|
|
25
|
-
"build": "yarn
|
|
25
|
+
"build": "yarn clean && yarn prepublishOnly",
|
|
26
26
|
"build:json": "yarn ts-node --files ./bin/buildCssVarTokens.ts",
|
|
27
27
|
"build:ts": "tsc --project tsconfig.dist.json",
|
|
28
28
|
"build:less": "json-to-flat-sass './tokens/*.json' 'less' --extension 'less' --caseType 'kebab' && prettier less/* --write",
|
|
29
29
|
"build:sass": "json-to-flat-sass './tokens/*.json' 'sass' --extension 'scss' --caseType 'kebab' && prettier sass/* --write",
|
|
30
30
|
"clean": "rimraf dist",
|
|
31
|
-
"
|
|
31
|
+
"prepublishOnly": "yarn build:json && yarn build:less && yarn build:sass && yarn build:ts"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/lodash.flatmap": "^4.5.7",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@types/yargs": "^17.0.24",
|
|
37
37
|
"json-to-flat-sass": "^1.0.0",
|
|
38
38
|
"lodash.flatmap": "^4.5.0",
|
|
39
|
-
"postcss": "^8.4.
|
|
39
|
+
"postcss": "^8.4.29",
|
|
40
40
|
"prettier": "*",
|
|
41
41
|
"react-highlight": "^0.15.0",
|
|
42
42
|
"react-map-interaction": "^2.1.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"yargs": "^17.7.2"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@types/color-string": "^1.5.
|
|
47
|
+
"@types/color-string": "^1.5.3",
|
|
48
48
|
"@types/lodash.kebabcase": "^4.1.7",
|
|
49
49
|
"color-string": "^1.9.1",
|
|
50
50
|
"lodash.kebabcase": "^4.1.1"
|