@oaknational/oak-components 2.45.0 → 2.45.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/dist/types.d.ts CHANGED
@@ -370,9 +370,9 @@ declare const oakFontTokens: {
370
370
  "body-2": ["font-size-3", 24, 300, "-0.005rem"];
371
371
  "body-3": ["font-size-2", 20, 300, "-0.005rem"];
372
372
  "body-4": ["font-size-1", 16, 300, "-0.005rem"];
373
- "body-1-bold": ["font-size-4", 28, 700, "-0.005rem"];
374
- "body-2-bold": ["font-size-3", 24, 700, "-0.005rem"];
375
- "body-3-bold": ["font-size-2", 20, 700, "-0.005rem"];
373
+ "body-1-bold": ["font-size-4", 28, 500, "-0.005rem"];
374
+ "body-2-bold": ["font-size-3", 24, 500, "-0.005rem"];
375
+ "body-3-bold": ["font-size-2", 20, 500, "-0.005rem"];
376
376
  "list-item-1": ["font-size-4", 32, 300, "-0.005rem"];
377
377
  "list-item-2": ["font-size-3", 24, 300, "-0.005rem"];
378
378
  "code-1": ["font-size-6", 32, 300, "0.0115rem"];
@@ -660,7 +660,7 @@ declare const parseTransitions: (variant?: OakTransitionToken | null) => string
660
660
  */
661
661
  declare function parseSpacing(value?: OakCombinedSpacingToken | null): string | 0 | undefined;
662
662
 
663
- declare const parseFontWeight: (font?: OakFontToken | null) => 300 | 400 | 600 | 700 | undefined;
663
+ declare const parseFontWeight: (font?: OakFontToken | null) => 300 | 400 | 500 | 600 | 700 | undefined;
664
664
  declare const parseFontSize: (font?: OakFontToken | null) => string | null | undefined;
665
665
  declare const parseLineHeight: (font?: OakFontToken | null) => string | null | undefined;
666
666
  declare const parseLetterSpacing: (font?: OakFontToken | null) => "0.0115rem" | "-0.005rem" | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oaknational/oak-components",
3
- "version": "2.45.0",
3
+ "version": "2.45.1",
4
4
  "licence": "MIT",
5
5
  "packageManager": "pnpm@11.2.0",
6
6
  "description": "Shared components for Oak applications",