@jobber/design 0.37.1 → 0.38.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.
@@ -217,4 +217,9 @@ export const JobberStyle: {
217
217
  "typography--lineHeight-tighter": number;
218
218
  "typography--lineHeight-tightest": number;
219
219
  "typography--lineHeight-miniscule": number;
220
+ "typography--lineHeight-extravagant": number;
221
+ "typography--lineHeight-jumbo": number;
222
+ "typography--lineHeight-largest": number;
223
+ "typography--lineHeight-larger": number;
224
+ "typography--fontSize-smallest": number;
220
225
  };
@@ -203,18 +203,23 @@ export const JobberStyle = {
203
203
  "typography--letterSpacing-loose": 0.4,
204
204
  "typography--fontFamily-normal": "\"Inter\", Helvetica, Arial, sans-serif",
205
205
  "typography--fontFamily-display": "\"Jobber Pro\", \"Poppins\", Helvetica, Arial, sans-serif",
206
- "typography--fontSize-extravagant": 48,
207
- "typography--fontSize-jumbo": 36,
206
+ "typography--fontSize-extravagant": 42,
207
+ "typography--fontSize-jumbo": 32,
208
208
  "typography--fontSize-largest": 24,
209
209
  "typography--fontSize-larger": 20,
210
- "typography--fontSize-large": 16,
211
- "typography--fontSize-base": 14,
212
- "typography--fontSize-small": 12,
213
- "typography--fontSize-smaller": 10,
214
- "typography--lineHeight-large": 1.34,
215
- "typography--lineHeight-base": 1.25,
216
- "typography--lineHeight-tight": 1.2,
217
- "typography--lineHeight-tighter": 1.143,
218
- "typography--lineHeight-tightest": 1.12,
219
- "typography--lineHeight-miniscule": 1.08
210
+ "typography--fontSize-large": 18,
211
+ "typography--fontSize-base": 16,
212
+ "typography--fontSize-small": 14,
213
+ "typography--fontSize-smaller": 12,
214
+ "typography--lineHeight-large": 22,
215
+ "typography--lineHeight-base": 20,
216
+ "typography--lineHeight-tight": 18,
217
+ "typography--lineHeight-tighter": 16,
218
+ "typography--lineHeight-tightest": 14,
219
+ "typography--lineHeight-miniscule": 10,
220
+ "typography--lineHeight-extravagant": 42,
221
+ "typography--lineHeight-jumbo": 36,
222
+ "typography--lineHeight-largest": 28,
223
+ "typography--lineHeight-larger": 24,
224
+ "typography--fontSize-smallest": 10
220
225
  }
@@ -217,4 +217,9 @@ export const JobberStyle: {
217
217
  "typography--lineHeight-tighter": number;
218
218
  "typography--lineHeight-tightest": number;
219
219
  "typography--lineHeight-miniscule": number;
220
+ "typography--lineHeight-extravagant": number;
221
+ "typography--lineHeight-jumbo": number;
222
+ "typography--lineHeight-largest": number;
223
+ "typography--lineHeight-larger": number;
224
+ "typography--fontSize-smallest": number;
220
225
  };
package/foundation.ios.js CHANGED
@@ -203,18 +203,23 @@ export const JobberStyle = {
203
203
  "typography--letterSpacing-loose": 0.4,
204
204
  "typography--fontFamily-normal": "\"Inter\", Helvetica, Arial, sans-serif",
205
205
  "typography--fontFamily-display": "\"Jobber Pro\", \"Poppins\", Helvetica, Arial, sans-serif",
206
- "typography--fontSize-extravagant": 48,
207
- "typography--fontSize-jumbo": 36,
206
+ "typography--fontSize-extravagant": 42,
207
+ "typography--fontSize-jumbo": 32,
208
208
  "typography--fontSize-largest": 24,
209
209
  "typography--fontSize-larger": 20,
210
- "typography--fontSize-large": 16,
211
- "typography--fontSize-base": 14,
212
- "typography--fontSize-small": 12,
213
- "typography--fontSize-smaller": 10,
214
- "typography--lineHeight-large": 1.34,
215
- "typography--lineHeight-base": 1.25,
216
- "typography--lineHeight-tight": 1.2,
217
- "typography--lineHeight-tighter": 1.143,
218
- "typography--lineHeight-tightest": 1.12,
219
- "typography--lineHeight-miniscule": 1.08
210
+ "typography--fontSize-large": 18,
211
+ "typography--fontSize-base": 16,
212
+ "typography--fontSize-small": 14,
213
+ "typography--fontSize-smaller": 12,
214
+ "typography--lineHeight-large": 22,
215
+ "typography--lineHeight-base": 20,
216
+ "typography--lineHeight-tight": 18,
217
+ "typography--lineHeight-tighter": 16,
218
+ "typography--lineHeight-tightest": 14,
219
+ "typography--lineHeight-miniscule": 10,
220
+ "typography--lineHeight-extravagant": 42,
221
+ "typography--lineHeight-jumbo": 36,
222
+ "typography--lineHeight-largest": 28,
223
+ "typography--lineHeight-larger": 24,
224
+ "typography--fontSize-smallest": 10
220
225
  }
@@ -217,4 +217,9 @@ export const JobberStyle: {
217
217
  "typography--lineHeight-tighter": number;
218
218
  "typography--lineHeight-tightest": number;
219
219
  "typography--lineHeight-miniscule": number;
220
+ "typography--lineHeight-extravagant": number;
221
+ "typography--lineHeight-jumbo": number;
222
+ "typography--lineHeight-largest": number;
223
+ "typography--lineHeight-larger": number;
224
+ "typography--fontSize-smallest": number;
220
225
  };
@@ -203,18 +203,23 @@ export const JobberStyle = {
203
203
  "typography--letterSpacing-loose": 0.4,
204
204
  "typography--fontFamily-normal": "\"Inter\", Helvetica, Arial, sans-serif",
205
205
  "typography--fontFamily-display": "\"Jobber Pro\", \"Poppins\", Helvetica, Arial, sans-serif",
206
- "typography--fontSize-extravagant": 48,
207
- "typography--fontSize-jumbo": 36,
206
+ "typography--fontSize-extravagant": 42,
207
+ "typography--fontSize-jumbo": 32,
208
208
  "typography--fontSize-largest": 24,
209
209
  "typography--fontSize-larger": 20,
210
- "typography--fontSize-large": 16,
211
- "typography--fontSize-base": 14,
212
- "typography--fontSize-small": 12,
213
- "typography--fontSize-smaller": 10,
214
- "typography--lineHeight-large": 1.34,
215
- "typography--lineHeight-base": 1.25,
216
- "typography--lineHeight-tight": 1.2,
217
- "typography--lineHeight-tighter": 1.143,
218
- "typography--lineHeight-tightest": 1.12,
219
- "typography--lineHeight-miniscule": 1.08
210
+ "typography--fontSize-large": 18,
211
+ "typography--fontSize-base": 16,
212
+ "typography--fontSize-small": 14,
213
+ "typography--fontSize-smaller": 12,
214
+ "typography--lineHeight-large": 22,
215
+ "typography--lineHeight-base": 20,
216
+ "typography--lineHeight-tight": 18,
217
+ "typography--lineHeight-tighter": 16,
218
+ "typography--lineHeight-tightest": 14,
219
+ "typography--lineHeight-miniscule": 10,
220
+ "typography--lineHeight-extravagant": 42,
221
+ "typography--lineHeight-jumbo": 36,
222
+ "typography--lineHeight-largest": 28,
223
+ "typography--lineHeight-larger": 24,
224
+ "typography--fontSize-smallest": 10
220
225
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/design",
3
- "version": "0.37.1",
3
+ "version": "0.38.0",
4
4
  "description": "Design foundation for the Jobber Atlantis Design System",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -12,7 +12,7 @@
12
12
  "icons/*"
13
13
  ],
14
14
  "scripts": {
15
- "build": "npm run build:css && npm run build:css:icons && npm run build:colors && npm run build:cssTypes && npm run build:foundation && npm run build:iconCssStyle && npm run build:rollup",
15
+ "build": "npm run build:iconMap && npm run build:css && npm run build:css:icons && npm run build:colors && npm run build:cssTypes && npm run build:foundation && npm run build:iconCssStyle && npm run build:rollup",
16
16
  "build:rollup": "rollup --config",
17
17
  "build:css": "postcss src/foundation.css --output foundation.css --use postcss-import",
18
18
  "build:css:icons": "postcss src/icons/*.css --dir icons/ --use postcss-import",
@@ -23,9 +23,10 @@
23
23
  "build:foundationTypes": "tsc --declaration --emitDeclarationOnly --allowJs foundation.js foundation.native.js foundation.android.js foundation.ios.js --outDir . --skipLibCheck",
24
24
  "build:addFoundationExceptions": "./scripts/addFoundationExceptions.sh",
25
25
  "build:removeTempFiles": "rm -f src/foundation.js && ./scripts/removeFoundationTempFiles.sh",
26
+ "build:iconMap": "ts-node --project ../../tsconfig.bin.json scripts/generateIconMap.ts",
26
27
  "build:iconCssStyle": "node buildIconStyles.js && npm run build:iconCssStyleTypes",
27
28
  "build:iconCssStyleTypes": "tsc --declaration --emitDeclarationOnly --allowJs src/icons/iconStyles.ts --outDir ./src/icons --skipLibCheck",
28
- "clean": "rm -rf dist/* icons/* colors.js foundation.* iconStyles.* tsconfig.tsbuildinfo",
29
+ "clean": "rm -rf dist/* icons/* src/icons/iconMap.ts colors.js foundation.* iconStyles.* tsconfig.tsbuildinfo",
29
30
  "bootstrap": "npm run clean && npm run build"
30
31
  },
31
32
  "dependencies": {
@@ -37,6 +38,7 @@
37
38
  "@rollup/plugin-commonjs": "^24.0.1",
38
39
  "@types/node": "^18.15.7",
39
40
  "autoprefixer": "^9.5.1",
41
+ "cheerio": "^1.0.0-rc.12",
40
42
  "css-to-react-native-transform": "^2.0.0",
41
43
  "postcss": "^8.4.21",
42
44
  "postcss-calc": "^8.2.3",
@@ -49,8 +51,9 @@
49
51
  "rollup-plugin-multi-input": "^1.4.1",
50
52
  "rollup-plugin-postcss": "^4.0.2",
51
53
  "rollup-plugin-typescript2": "^0.34.1",
54
+ "svgo": "^3.0.2",
52
55
  "typed-css-modules": "^0.7.0",
53
56
  "typescript": "^4.9.5"
54
57
  },
55
- "gitHead": "29efdd15147c68b3dd60c3e2e94d061d0be94c36"
58
+ "gitHead": "453c104b8736277e5643b5f7e529f630c984dd89"
56
59
  }