@financial-times/o-private-foundation 1.4.0 → 1.5.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.5.1](https://github.com/Financial-Times/origami/compare/o-private-foundation-v1.5.0...o-private-foundation-v1.5.1) (2025-06-09)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Allow 200+ financier display weights. ([4262f95](https://github.com/Financial-Times/origami/commit/4262f95de7efed36d420cfb7b578355c481b2494))
9
+
10
+ ## [1.5.0](https://github.com/Financial-Times/origami/compare/o-private-foundation-v1.4.0...o-private-foundation-v1.5.0) (2025-04-10)
11
+
12
+
13
+ ### Features
14
+
15
+ * Adjust headline type use-case tokens. ([94de648](https://github.com/Financial-Times/origami/commit/94de648780ab8d8877a7263fc07634fd29d035c8))
16
+
3
17
  ## [1.4.0](https://github.com/Financial-Times/origami/compare/o-private-foundation-v1.3.0...o-private-foundation-v1.4.0) (2025-04-04)
4
18
 
5
19
 
package/main.scss CHANGED
@@ -5,7 +5,7 @@
5
5
  @import './src/scss/o-spacing/main';
6
6
  @import './src/scss/o-colors/main';
7
7
  @import './src/scss/o-normalise/main';
8
- @import "./src/scss/o-icons/main";
8
+ @import './src/scss/o-icons/main';
9
9
  @import './src/scss/o-visual-effects/main';
10
10
  @import './src/scss/o-buttons/main';
11
11
  @import './src/scss/o-grid/main';
@@ -25,7 +25,7 @@
25
25
  src: url('https://www.ft.com/__origami/service/build/v3/font?version=1.13&font_name=FinancierDisplay-VF&system_code=origami&font_format=woff2')
26
26
  format('woff2-variations');
27
27
  font-family: 'financier display VF';
28
- font-weight: 300 800;
28
+ font-weight: 200 800;
29
29
  font-style: normal;
30
30
  font-display: swap;
31
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financial-times/o-private-foundation",
3
- "version": "1.4.0",
3
+ "version": "1.5.1",
4
4
  "description": "Foundation components for use in Origami components only.",
5
5
  "keywords": [],
6
6
  "homepage": "https://registry.origami.ft.com/components/o-private-foundation",
@@ -305,9 +305,9 @@ $tokens: (
305
305
  // Use this style for small screens headlines in smaller teasers and text only toppers (eg. Opinion and News).
306
306
  'o3-type-headline-sm-font-weight': 300,
307
307
  // Use this style for small screens headlines in smaller teasers and text only toppers (eg. Opinion and News).
308
- 'o3-type-headline-sm-font-size': 1.5rem,
308
+ 'o3-type-headline-sm-font-size': 1.25rem,
309
309
  // Use this style for small screens headlines in smaller teasers and text only toppers (eg. Opinion and News).
310
- 'o3-type-headline-sm-line-height': 1.75rem,
310
+ 'o3-type-headline-sm-line-height': 1.5rem,
311
311
  // Use for the main page title H1 in functional pages such as account and settings. Use across all breakpoints.
312
312
  'o3-type-title-lg-font-family': ('metric 2 VF', sans-serif),
313
313
  // Use for the main page title H1 in functional pages such as account and settings. Use across all breakpoints.
@@ -363,10 +363,10 @@ $tokens: (
363
363
  'o3-font-size-metric2-9': 4.5rem,
364
364
  'o3-font-size-metric2-negative-2': 0.75rem,
365
365
  'o3-font-size-metric2-negative-1': 0.875rem,
366
- 'o3-focus-use-case-ring-inner': 0px 0px 0px 4px #ffffff,
367
- 'o3-focus-use-case-ring-outer': 0px 0px 0px 8px #4d4d4d,
368
- 'o3-focus-use-case-ring-inverse-inner': 0px 0px 0px 4px #4d4d4d,
369
- 'o3-focus-use-case-ring-inverse-outer': 0px 0px 0px 8px #ffffff,
366
+ 'o3-focus-use-case-ring-inner': 0px 0px 0px 2px #ffffff,
367
+ 'o3-focus-use-case-ring-outer': 0px 0px 0px 4px #4d4d4d,
368
+ 'o3-focus-use-case-ring-inverse-inner': 0px 0px 0px 2px #4d4d4d,
369
+ 'o3-focus-use-case-ring-inverse-outer': 0px 0px 0px 4px #ffffff,
370
370
  'o3-focus-use-case-outline-color': 0px 0px 0px 2px #808080,
371
371
  'o3-focus-use-case-outline-inverse-color': 0px 0px 0px 2px #ffffff,
372
372
  // for default radius on interactive elements
@@ -178,9 +178,9 @@ $tokens: (
178
178
  // Use this style for small screens headlines in smaller teasers and text only toppers (eg. Opinion and News).
179
179
  'o3-type-headline-sm-font-weight': 300,
180
180
  // Use this style for small screens headlines in smaller teasers and text only toppers (eg. Opinion and News).
181
- 'o3-type-headline-sm-font-size': 1.5rem,
181
+ 'o3-type-headline-sm-font-size': 1.25rem,
182
182
  // Use this style for small screens headlines in smaller teasers and text only toppers (eg. Opinion and News).
183
- 'o3-type-headline-sm-line-height': 1.75rem,
183
+ 'o3-type-headline-sm-line-height': 1.5rem,
184
184
  // Use for the main page title H1 in functional pages such as account and settings. Use across all breakpoints.
185
185
  'o3-type-title-lg-font-family': ('metric 2 VF', sans-serif),
186
186
  // Use for the main page title H1 in functional pages such as account and settings. Use across all breakpoints.
@@ -237,9 +237,9 @@ $tokens: (
237
237
  // Use this style for small screens headlines in smaller teasers and text only toppers (eg. Opinion and News).
238
238
  'o3-type-headline-sm-font-weight': 400,
239
239
  // Use this style for small screens headlines in smaller teasers and text only toppers (eg. Opinion and News).
240
- 'o3-type-headline-sm-font-size': 1.5rem,
240
+ 'o3-type-headline-sm-font-size': 1.25rem,
241
241
  // Use this style for small screens headlines in smaller teasers and text only toppers (eg. Opinion and News).
242
- 'o3-type-headline-sm-line-height': 2rem,
242
+ 'o3-type-headline-sm-line-height': 1.75rem,
243
243
  // Use for the main page title H1 in functional pages such as account and settings. Use across all breakpoints.
244
244
  'o3-type-title-lg-font-family': ('metric 2 VF', sans-serif),
245
245
  // Use for the main page title H1 in functional pages such as account and settings. Use across all breakpoints.
@@ -247,9 +247,9 @@ $tokens: (
247
247
  // Use this style for small screens headlines in smaller teasers and text only toppers (eg. Opinion and News).
248
248
  'o3-type-headline-sm-font-weight': 300,
249
249
  // Use this style for small screens headlines in smaller teasers and text only toppers (eg. Opinion and News).
250
- 'o3-type-headline-sm-font-size': 1.5rem,
250
+ 'o3-type-headline-sm-font-size': 1.25rem,
251
251
  // Use this style for small screens headlines in smaller teasers and text only toppers (eg. Opinion and News).
252
- 'o3-type-headline-sm-line-height': 1.75rem,
252
+ 'o3-type-headline-sm-line-height': 1.5rem,
253
253
  // Use for the main page title H1 in functional pages such as account and settings. Use across all breakpoints.
254
254
  'o3-type-title-lg-font-family': ('metric 2 VF', sans-serif),
255
255
  // Use for the main page title H1 in functional pages such as account and settings. Use across all breakpoints.