@multiplatform.one/core 7.83.2 → 7.84.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@multiplatform.one/core",
3
- "version": "7.83.2",
3
+ "version": "7.84.0",
4
4
  "description": "Core framework shell, provider composition, and layout factories for multiplatform.one",
5
5
  "keywords": [
6
6
  "app",
@@ -56,11 +56,11 @@
56
56
  "access": "public"
57
57
  },
58
58
  "dependencies": {
59
- "@multiplatform.one/i18n": "^7.83.2",
60
- "@multiplatform.one/logger": "^7.83.2",
61
- "@multiplatform.one/platform": "^7.83.2",
62
- "@multiplatform.one/store": "^7.83.2",
63
- "@multiplatform.one/theme": "^7.83.2",
59
+ "@multiplatform.one/i18n": "^7.84.0",
60
+ "@multiplatform.one/logger": "^7.84.0",
61
+ "@multiplatform.one/platform": "^7.84.0",
62
+ "@multiplatform.one/store": "^7.84.0",
63
+ "@multiplatform.one/theme": "^7.84.0",
64
64
  "@tanstack/devtools-utils": "^0.4.0",
65
65
  "@tanstack/pacer-devtools": "1.6.0",
66
66
  "@tanstack/react-devtools": "0.10.13",
@@ -68,8 +68,8 @@
68
68
  "react-cookie": "^8.1.2"
69
69
  },
70
70
  "devDependencies": {
71
- "@multiplatform.one/frappe": "7.83.2",
72
- "@multiplatform.one/web3": "7.83.2",
71
+ "@multiplatform.one/frappe": "7.84.0",
72
+ "@multiplatform.one/web3": "7.84.0",
73
73
  "@sentry/react": "^10.51.0",
74
74
  "@tamagui/build": "2.7.6",
75
75
  "@tanstack/react-query": "^5.104.3",
@@ -88,10 +88,10 @@
88
88
  "vitest": "^4.1.5"
89
89
  },
90
90
  "peerDependencies": {
91
- "@multiplatform.one/frappe": "^7.83.2",
92
- "@multiplatform.one/frappe-ui": "^7.83.2",
93
- "@multiplatform.one/keycloak": "^7.83.2",
94
- "@multiplatform.one/web3": "^7.83.2",
91
+ "@multiplatform.one/frappe": "^7.84.0",
92
+ "@multiplatform.one/frappe-ui": "^7.84.0",
93
+ "@multiplatform.one/keycloak": "^7.84.0",
94
+ "@multiplatform.one/web3": "^7.84.0",
95
95
  "@sentry/react": "^9.0.0 || ^10.0.0",
96
96
  "@tanstack/react-query": "^5.0.0",
97
97
  "@tanstack/react-query-devtools": "^5.0.0",
@@ -1,3 +1,6 @@
1
+ import { interFaceNames } from "@multiplatform.one/theme/src/fonts/interFaces";
2
+ import { existsSync } from "node:fs";
3
+ import { resolve } from "node:path";
1
4
  import { renderToStaticMarkup } from "react-dom/server";
2
5
  import { describe, expect, it, vi } from "vitest";
3
6
  import type { ReactNode } from "react";
@@ -117,6 +120,18 @@ describe("web root Inter faces (FZ-7158 WP-b3)", () => {
117
120
  }
118
121
  });
119
122
 
123
+ it("declares a face for every native face-map weight, and the One app serves each file (FZ-8572)", () => {
124
+ const html = renderRoot({ interFonts: true });
125
+ for (const weight of Object.keys(interFaceNames)) {
126
+ expect(html).toContain(
127
+ `font-weight:${weight};font-display:optional;src:url("/fonts/inter-${weight}.woff2")`,
128
+ );
129
+ expect(
130
+ existsSync(resolve(__dirname, `../../../../apps/one/public/fonts/inter-${weight}.woff2`)),
131
+ ).toBe(true);
132
+ }
133
+ });
134
+
120
135
  it("renders no Inter declarations or preloads when disabled", () => {
121
136
  const html = renderRoot({ interFonts: false });
122
137
  expect(html).not.toContain("@font-face");