@financial-times/dotcom-ui-base-styles 11.2.1 → 11.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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// NOTE: please also update dotcom-ui-base-styles/styles.scss $o-fonts-path when updating the URLs defined below. They
|
|
2
2
|
// need to stay in-sync to ensure our CSS output matches the resource hints we set.
|
|
3
3
|
export const fontFaceURLs = [
|
|
4
|
-
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=MetricWeb-Regular&system_code=
|
|
5
|
-
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=MetricWeb-Semibold&system_code=
|
|
6
|
-
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=FinancierDisplayWeb-Regular&system_code=
|
|
7
|
-
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=FinancierDisplayWeb-Bold&system_code=
|
|
4
|
+
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=MetricWeb-Regular&system_code=page-kit&version=1.12',
|
|
5
|
+
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=MetricWeb-Semibold&system_code=page-kit&version=1.12',
|
|
6
|
+
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=FinancierDisplayWeb-Regular&system_code=page-kit&version=1.12',
|
|
7
|
+
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=FinancierDisplayWeb-Bold&system_code=page-kit&version=1.12'
|
|
8
8
|
];
|
|
@@ -4,8 +4,8 @@ exports.fontFaceURLs = void 0;
|
|
|
4
4
|
// NOTE: please also update dotcom-ui-base-styles/styles.scss $o-fonts-path when updating the URLs defined below. They
|
|
5
5
|
// need to stay in-sync to ensure our CSS output matches the resource hints we set.
|
|
6
6
|
exports.fontFaceURLs = [
|
|
7
|
-
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=MetricWeb-Regular&system_code=
|
|
8
|
-
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=MetricWeb-Semibold&system_code=
|
|
9
|
-
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=FinancierDisplayWeb-Regular&system_code=
|
|
10
|
-
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=FinancierDisplayWeb-Bold&system_code=
|
|
7
|
+
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=MetricWeb-Regular&system_code=page-kit&version=1.12',
|
|
8
|
+
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=MetricWeb-Semibold&system_code=page-kit&version=1.12',
|
|
9
|
+
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=FinancierDisplayWeb-Regular&system_code=page-kit&version=1.12',
|
|
10
|
+
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=FinancierDisplayWeb-Bold&system_code=page-kit&version=1.12'
|
|
11
11
|
];
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
"affectsGlobalScope": false
|
|
178
178
|
},
|
|
179
179
|
"../src/lib/fontFaces.ts": {
|
|
180
|
-
"version": "
|
|
180
|
+
"version": "e6b44443c743cd6c0cf8498959d96b70614afb6a98477b3f9d71ec6de12a7ae9",
|
|
181
181
|
"signature": "f3de0a5f48b6f13b017f06f37abd15625e6bd3888569bfe6f7f359ac1324f942",
|
|
182
182
|
"affectsGlobalScope": false
|
|
183
183
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@financial-times/dotcom-ui-base-styles",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.3.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "component.js",
|
|
6
6
|
"browser": "browser.js",
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
"build:browser": "tsc --module es2015 --outDir ./dist/browser",
|
|
16
16
|
"build:node": "tsc",
|
|
17
17
|
"build": "npm run build:node && npm run build:browser",
|
|
18
|
-
"dev": "echo -n node browser | parallel -u -d ' ' npm run build:{} -- --watch"
|
|
19
|
-
"preinstall": "[ \"$INIT_CWD\" != \"$PWD\" ] || npm_config_yes=true npx check-engine"
|
|
18
|
+
"dev": "echo -n node browser | parallel -u -d ' ' npm run build:{} -- --watch"
|
|
20
19
|
},
|
|
21
20
|
"keywords": [],
|
|
22
21
|
"author": "",
|
|
@@ -25,17 +24,15 @@
|
|
|
25
24
|
"focus-visible": "^5.0.0"
|
|
26
25
|
},
|
|
27
26
|
"devDependencies": {
|
|
28
|
-
"check-engine": "^1.10.1",
|
|
29
27
|
"@financial-times/o-typography": "^7.2.0"
|
|
30
28
|
},
|
|
31
29
|
"peerDependencies": {
|
|
32
|
-
"react": "17.x || 18.x",
|
|
33
30
|
"@financial-times/o-typography": "^7.2.0",
|
|
34
|
-
"n-ui-foundations": "^9.0.0 || ^10.0.0"
|
|
31
|
+
"n-ui-foundations": "^9.0.0 || ^10.0.0",
|
|
32
|
+
"react": "17.x || 18.x"
|
|
35
33
|
},
|
|
36
34
|
"engines": {
|
|
37
|
-
"node": "18.x || 20.x"
|
|
38
|
-
"npm": "8.x || 9.x || 10.x"
|
|
35
|
+
"node": "18.x || 20.x || 22.x"
|
|
39
36
|
},
|
|
40
37
|
"files": [
|
|
41
38
|
"dist/",
|
package/src/lib/fontFaces.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// NOTE: please also update dotcom-ui-base-styles/styles.scss $o-fonts-path when updating the URLs defined below. They
|
|
2
2
|
// need to stay in-sync to ensure our CSS output matches the resource hints we set.
|
|
3
3
|
export const fontFaceURLs = [
|
|
4
|
-
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=MetricWeb-Regular&system_code=
|
|
5
|
-
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=MetricWeb-Semibold&system_code=
|
|
6
|
-
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=FinancierDisplayWeb-Regular&system_code=
|
|
7
|
-
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=FinancierDisplayWeb-Bold&system_code=
|
|
4
|
+
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=MetricWeb-Regular&system_code=page-kit&version=1.12',
|
|
5
|
+
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=MetricWeb-Semibold&system_code=page-kit&version=1.12',
|
|
6
|
+
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=FinancierDisplayWeb-Regular&system_code=page-kit&version=1.12',
|
|
7
|
+
'https://www.ft.com/__origami/service/build/v3/font?font_format=woff2&font_name=FinancierDisplayWeb-Bold&system_code=page-kit&version=1.12'
|
|
8
8
|
]
|