@payfit/unity-themes 2.51.6 → 2.52.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.
@@ -3,7 +3,9 @@
3
3
  src: url('../fonts/heartbreak-eighties/HeartbreakEighties-Regular.woff2') format('woff2');
4
4
  font-style: normal;
5
5
  font-weight: 400;
6
- },@font-face {
6
+ }
7
+
8
+ @font-face {
7
9
  font-family: "Heartbreak Eighties";
8
10
  src: url('../fonts/heartbreak-eighties/HeartbreakEighties-Oblique.woff2') format('woff2');
9
11
  font-style: italic;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payfit/unity-themes",
3
- "version": "2.51.6",
3
+ "version": "2.52.1",
4
4
  "main": "./dist/esm/index.js",
5
5
  "types": "./dist/esm/index.d.ts",
6
6
  "style": "./dist/css/unity.css",
@@ -65,8 +65,8 @@
65
65
  "vite": "8.0.16",
66
66
  "vitest": "4.1.9",
67
67
  "@payfit/hr-app-eslint": "0.0.0-use.local",
68
- "@payfit/storybook-config": "0.0.0-use.local",
69
68
  "@payfit/hr-apps-tsconfigs": "0.0.0-use.local",
69
+ "@payfit/storybook-config": "0.0.0-use.local",
70
70
  "@payfit/vite-configs": "0.0.0-use.local"
71
71
  },
72
72
  "peerDependencies": {
@@ -305,7 +305,7 @@ async function build() {
305
305
  const generatedFontsCss = fs.readFileSync(GENERATED_FONTS_CSS_PATH, 'utf8')
306
306
  fs.writeFileSync(
307
307
  GENERATED_FONTS_CSS_PATH,
308
- generatedFontsCss.replaceAll('},`@font-face`', '}\n\n@font-face'),
308
+ generatedFontsCss.replace(/\},\s*@font-face/g, '}\n\n@font-face'),
309
309
  'utf8',
310
310
  )
311
311