polaris_tokens 2.15.0 → 2.20.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 (42) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -7
  3. data/dist-modern/palette/base.dark.android.xml +4 -1
  4. data/dist-modern/palette/base.dark.figma.json +637 -1
  5. data/dist-modern/palette/base.dark.ios.json +1092 -1
  6. data/dist-modern/palette/base.dark.json +5 -2
  7. data/dist-modern/palette/base.dark.polaris.custom-properties.css +129 -0
  8. data/dist-modern/palette/base.light.android.xml +3 -0
  9. data/dist-modern/palette/base.light.figma.json +637 -1
  10. data/dist-modern/palette/base.light.ios.json +1042 -1
  11. data/dist-modern/palette/base.light.json +4 -1
  12. data/dist-modern/palette/base.light.polaris.custom-properties.css +129 -0
  13. data/dist-modern/palette/mfp-ui.dark.android.xml +130 -0
  14. data/dist-modern/palette/mfp-ui.dark.figma.json +637 -0
  15. data/dist-modern/palette/mfp-ui.dark.ios.json +1132 -0
  16. data/dist-modern/palette/mfp-ui.dark.json +129 -0
  17. data/dist-modern/palette/mfp-ui.dark.polaris.custom-properties.css +129 -0
  18. data/dist-modern/palette/mfp-ui.light.android.xml +130 -0
  19. data/dist-modern/palette/mfp-ui.light.figma.json +637 -0
  20. data/dist-modern/palette/mfp-ui.light.ios.json +1072 -0
  21. data/dist-modern/palette/mfp-ui.light.json +129 -0
  22. data/dist-modern/palette/mfp-ui.light.polaris.custom-properties.css +129 -0
  23. data/dist-modern/theme/base.json +1 -1
  24. data/dist-modern/theme/mfp-ui.json +12 -0
  25. data/dist/color-filters.color-map.scss +0 -8
  26. data/dist/color-filters.map.scss +8 -0
  27. data/dist/index.common.js +1 -1
  28. data/dist/index.custom-properties.css +2 -2
  29. data/dist/index.d.ts +1 -1
  30. data/dist/index.json +1 -1
  31. data/dist/index.map.scss +1 -1
  32. data/dist/index.raw.json +2 -2
  33. data/dist/index.scss +2 -2
  34. data/dist/typography.common.js +1 -1
  35. data/dist/typography.custom-properties.css +2 -2
  36. data/dist/typography.json +1 -1
  37. data/dist/typography.map.scss +1 -1
  38. data/dist/typography.raw.json +2 -2
  39. data/dist/typography.scss +2 -2
  40. data/lib/polaris_tokens/rails/engine.rb +1 -0
  41. data/package.json +26 -47
  42. metadata +15 -2
data/package.json CHANGED
@@ -1,32 +1,20 @@
1
1
  {
2
2
  "name": "@shopify/polaris-tokens",
3
- "version": "2.15.0",
3
+ "version": "2.20.0",
4
4
  "description": "Design Tokens for the Polaris Design System",
5
5
  "main": "index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {
8
8
  "test": "sewing-kit test",
9
- "test-watch": "nodemon --exec 'yarn run build && yarn run test --no-watch' --watch ./tokens --watch ./formats --watch ./gulpfile.js --watch ./scripts --ext js,ts,json,yml",
10
- "clean": "rimraf ./dist-modern ./dist",
9
+ "clean": "rimraf ./dist-modern",
11
10
  "prebuild": "yarn run clean",
12
- "build": "npm-run-all build-modern build-legacy build-docs",
13
- "build-ci": "npm-run-all build-modern build-legacy-ci build-docs",
14
- "build-legacy": "npm-run-all build-legacy:**",
15
- "build-legacy-ci": "npm-run-all build-legacy:* build-legacy:*:*",
16
- "build-legacy:gulp": "gulp build-legacy",
17
- "build-legacy:format": "prettier ./dist/*.{js,json,css,scss,sketchpalette} --write",
18
- "build-legacy:colors:ase": "node ./scripts/ase-encode.js",
19
- "build-legacy:colors:clr:exclude-from-ci": "ase2clr ./dist/colors.ase ./dist/colors.clr",
20
- "build-legacy:colors:rename-palettes:exclude-from-ci": "renamer --find colors --replace Polaris ./dist/colors.{ase,clr,sketchpalette}",
21
- "build-modern": "npm-run-all build-modern:ts build-modern:gulp",
22
- "build-modern:ts": "tsc -p tsconfig.build.json",
23
- "build-modern:gulp": "gulp build-modern",
24
- "build-docs": "gulp docs",
11
+ "build": "npm-run-all build:ts build:gulp",
12
+ "build:ts": "tsc -p tsconfig.build.json",
13
+ "build:gulp": "gulp",
14
+ "postbuild": "yarn run format",
15
+ "format": "prettier './dist-modern/**/*.{js,json,css}' --write && prettier './dist-modern/**/*.ts' --write --parser typescript",
25
16
  "type-check": "sewing-kit type-check",
26
- "lint": "sewing-kit lint",
27
- "watch": "gulp watch",
28
- "heroku-postbuild": "yarn run build-ci",
29
- "start": "http-server docs"
17
+ "lint": "sewing-kit lint"
30
18
  },
31
19
  "repository": {
32
20
  "type": "git",
@@ -47,48 +35,39 @@
47
35
  },
48
36
  "eslintConfig": {
49
37
  "extends": [
50
- "plugin:shopify/typescript",
51
- "plugin:shopify/node",
52
- "plugin:shopify/jest",
53
- "plugin:shopify/prettier"
38
+ "plugin:@shopify/typescript",
39
+ "plugin:@shopify/node",
40
+ "plugin:@shopify/jest",
41
+ "plugin:@shopify/prettier"
54
42
  ]
55
43
  },
56
44
  "stylelint": {
57
45
  "extends": [
58
- "stylelint-config-shopify/prettier"
46
+ "@shopify/stylelint-plugin"
59
47
  ]
60
48
  },
61
49
  "homepage": "https://github.com/Shopify/polaris-tokens#readme",
62
50
  "devDependencies": {
63
- "@shopify/sewing-kit": "^0.120.0",
64
- "@types/lodash": "^4.14.149",
51
+ "@shopify/sewing-kit": "^0.143.0",
52
+ "@types/lodash": "^4.14.165",
65
53
  "@types/theo": "^8.1.3",
66
- "ase-util": "^1.0.3",
67
- "ase-utils": "^0.1.1",
68
- "browser-sync": "^2.26.7",
69
54
  "gulp": "^4.0.2",
70
- "gulp-load-plugins": "^2.0.2",
71
- "gulp-plumber": "^1.2.1",
55
+ "gulp-load-plugins": "^2.0.6",
72
56
  "gulp-rename": "^2.0.0",
73
- "gulp-restart": "^0.1.1",
74
- "gulp-sass": "^4.0.2",
75
- "gulp-sourcemaps": "^2.6.5",
76
- "gulp-theo": "^2.0.0",
77
- "http-server": "^0.12.1",
78
- "immutable": "^3.8.2",
79
- "lodash": "^4.17.15",
80
- "ms": "^2.1.2",
81
- "nodemon": "^2.0.2",
57
+ "gulp-sass": "^4.1.0",
58
+ "gulp-theo": "^2.0.1",
59
+ "lodash": "^4.17.20",
60
+ "ms": "^2.1.3",
61
+ "nodemon": "^2.0.6",
82
62
  "npm-run-all": "^4.1.5",
83
- "renamer": "^1.1.4",
84
- "rimraf": "^3.0.0",
85
- "theo": "8.1.4",
86
- "tinycolor2": "^1.4.1",
87
- "typescript": "^3.7.5",
63
+ "rimraf": "^3.0.2",
64
+ "theo": "8.1.5",
65
+ "tinycolor2": "^1.4.2",
66
+ "typescript": "^4.1.3",
88
67
  "xml": "^1.0.1"
89
68
  },
90
69
  "dependencies": {
91
70
  "hsluv": "^0.1.0",
92
- "tslib": "^1.10.0"
71
+ "tslib": "^1.14.1"
93
72
  }
94
73
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polaris_tokens
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.15.0
4
+ version: 2.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-07 00:00:00.000000000 Z
11
+ date: 2021-02-24 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Design Tokens for the Polaris Design System
14
14
  email:
@@ -23,11 +23,24 @@ files:
23
23
  - dist-modern/palette/base.dark.figma.json
24
24
  - dist-modern/palette/base.dark.ios.json
25
25
  - dist-modern/palette/base.dark.json
26
+ - dist-modern/palette/base.dark.polaris.custom-properties.css
26
27
  - dist-modern/palette/base.light.android.xml
27
28
  - dist-modern/palette/base.light.figma.json
28
29
  - dist-modern/palette/base.light.ios.json
29
30
  - dist-modern/palette/base.light.json
31
+ - dist-modern/palette/base.light.polaris.custom-properties.css
32
+ - dist-modern/palette/mfp-ui.dark.android.xml
33
+ - dist-modern/palette/mfp-ui.dark.figma.json
34
+ - dist-modern/palette/mfp-ui.dark.ios.json
35
+ - dist-modern/palette/mfp-ui.dark.json
36
+ - dist-modern/palette/mfp-ui.dark.polaris.custom-properties.css
37
+ - dist-modern/palette/mfp-ui.light.android.xml
38
+ - dist-modern/palette/mfp-ui.light.figma.json
39
+ - dist-modern/palette/mfp-ui.light.ios.json
40
+ - dist-modern/palette/mfp-ui.light.json
41
+ - dist-modern/palette/mfp-ui.light.polaris.custom-properties.css
30
42
  - dist-modern/theme/base.json
43
+ - dist-modern/theme/mfp-ui.json
31
44
  - dist/Polaris.ase
32
45
  - dist/Polaris.clr
33
46
  - dist/Polaris.sketchpalette