@jobber/design 0.37.0 → 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.
- package/dist/icons/Icon.css.d.ts +0 -1
- package/dist/icons/iconMap.d.ts +118 -118
- package/dist/icons/iconStyles.d.ts +0 -3
- package/dist/index.js +358 -313
- package/foundation.android.d.ts +5 -0
- package/foundation.android.js +17 -12
- package/foundation.ios.d.ts +5 -0
- package/foundation.ios.js +17 -12
- package/foundation.native.d.ts +5 -0
- package/foundation.native.js +17 -12
- package/icons/Icon.css +1 -5
- package/package.json +7 -4
package/foundation.android.d.ts
CHANGED
|
@@ -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.android.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":
|
|
207
|
-
"typography--fontSize-jumbo":
|
|
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":
|
|
211
|
-
"typography--fontSize-base":
|
|
212
|
-
"typography--fontSize-small":
|
|
213
|
-
"typography--fontSize-smaller":
|
|
214
|
-
"typography--lineHeight-large":
|
|
215
|
-
"typography--lineHeight-base":
|
|
216
|
-
"typography--lineHeight-tight":
|
|
217
|
-
"typography--lineHeight-tighter":
|
|
218
|
-
"typography--lineHeight-tightest":
|
|
219
|
-
"typography--lineHeight-miniscule":
|
|
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/foundation.ios.d.ts
CHANGED
|
@@ -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":
|
|
207
|
-
"typography--fontSize-jumbo":
|
|
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":
|
|
211
|
-
"typography--fontSize-base":
|
|
212
|
-
"typography--fontSize-small":
|
|
213
|
-
"typography--fontSize-smaller":
|
|
214
|
-
"typography--lineHeight-large":
|
|
215
|
-
"typography--lineHeight-base":
|
|
216
|
-
"typography--lineHeight-tight":
|
|
217
|
-
"typography--lineHeight-tighter":
|
|
218
|
-
"typography--lineHeight-tightest":
|
|
219
|
-
"typography--lineHeight-miniscule":
|
|
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/foundation.native.d.ts
CHANGED
|
@@ -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.native.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":
|
|
207
|
-
"typography--fontSize-jumbo":
|
|
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":
|
|
211
|
-
"typography--fontSize-base":
|
|
212
|
-
"typography--fontSize-small":
|
|
213
|
-
"typography--fontSize-smaller":
|
|
214
|
-
"typography--lineHeight-large":
|
|
215
|
-
"typography--lineHeight-base":
|
|
216
|
-
"typography--lineHeight-tight":
|
|
217
|
-
"typography--lineHeight-tighter":
|
|
218
|
-
"typography--lineHeight-tightest":
|
|
219
|
-
"typography--lineHeight-miniscule":
|
|
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/icons/Icon.css
CHANGED
|
@@ -79,10 +79,6 @@
|
|
|
79
79
|
fill: var(--color-orange);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.archive {
|
|
83
|
-
fill: var(--color-blue);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
82
|
.video {
|
|
87
83
|
fill: var(--color-lightBlue);
|
|
88
84
|
}
|
|
@@ -101,4 +97,4 @@
|
|
|
101
97
|
fill: rgb(41, 86, 154);
|
|
102
98
|
}
|
|
103
99
|
|
|
104
|
-
/*# sourceMappingURL=data:application/json;base64,
|
|
100
|
+
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pY29ucy9JY29uLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLDJCQUEyQjtFQUMzQixxQkFBcUI7RUFDckIsc0JBQXNCO0FBQ3hCOztBQUVBO0VBQ0Usd0JBQXdCO0FBQzFCOztBQUVBO0VBQ0UseUJBQXlCO0FBQzNCOztBQUVBO0VBQ0UscUJBQXFCO0FBQ3ZCOztBQUVBOzs7O0VBSUUsdUJBQXVCO0FBQ3pCOztBQUVBOztFQUVFLHNCQUFzQjtBQUN4Qjs7QUFFQTs7RUFFRSx1QkFBdUI7QUFDekI7O0FBRUE7RUFDRSx5QkFBeUI7QUFDM0I7O0FBRUE7RUFDRSx3QkFBd0I7QUFDMUI7O0FBRUE7RUFDRSwwQkFBMEI7QUFDNUI7O0FBRUE7RUFDRSx1QkFBdUI7QUFDekI7O0FBRUE7OztFQUdFLDhCQUE4QjtBQUNoQzs7QUFFQTtFQUNFLDBCQUEwQjtBQUM1Qjs7QUFFQTtFQUNFLDRCQUE0QjtBQUM5Qjs7QUFFQTs7OztFQUlFLDBCQUEwQjtBQUM1Qjs7QUFFQTtFQUNFLDJCQUEyQjtBQUM3Qjs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5yZW1pbmRlcixcbi50cmFzaCB7XG4gIGZpbGw6IHZhcigtLWNvbG9yLWRlc3RydWN0aXZlKTtcbn1cblxuLmNoZWNrbWFyayB7XG4gIGZpbGw6IHZhcigtLWNvbG9yLXN1Y2Nlc3MpO1xufVxuXG4udGltZXIge1xuICBmaWxsOiB2YXIoLS1jb2xvci1saWdodEJsdWUpO1xufVxuXG4uaW52b2ljZSxcbi5pbnZvaWNlTGF0ZXIsXG4uc2VuZEludm9pY2UsXG4ucGFpZEludm9pY2Uge1xuICBmaWxsOiB2YXIoLS1jb2xvci1pbnZvaWNlKTtcbn1cblxuLmJhZEludm9pY2Uge1xuICBmaWxsOiB2YXIoLS1jb2xvci1jcml0aWNhbCk7XG59XG5cbi5wYXltZW50LFxuLmV4cGVuc2Uge1xuICBmaWxsOiB2YXIoLS1jb2xvci1vcmFuZ2UpO1xufVxuXG4udmlkZW8ge1xuICBmaWxsOiB2YXIoLS1jb2xvci1saWdodEJsdWUpO1xufVxuXG4vKiBub24tQXRsYW50aXMgY29sb3JzIHRvIG1hdGNoIGJyYW5kIGNvbG9ycyBvZiB0aGVzZSBmaWxlLXR5cGVzICovXG5cbi5leGNlbCB7XG4gIGZpbGw6IHJnYigzMSwgMTE1LCA3MSk7XG59XG5cbi5wZGYge1xuICBmaWxsOiByZ2IoMTk1LCAyNywgMCk7XG59XG5cbi53b3JkIHtcbiAgZmlsbDogcmdiKDQxLCA4NiwgMTU0KTtcbn1cbiJdfQ== */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/design",
|
|
3
|
-
"version": "0.
|
|
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": "
|
|
58
|
+
"gitHead": "453c104b8736277e5643b5f7e529f630c984dd89"
|
|
56
59
|
}
|