@factorialco/f0-react 6.32.0 → 6.32.2

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,9 +1,14 @@
1
1
  /* #### Generated By: http://font.download #### */
2
2
 
3
+ /* `font-display: swap` paints text with the fallback immediately instead of
4
+ blocking up to 3s. The metric-adjusted fallback below keeps line wrapping
5
+ (and therefore chat row heights) stable across the swap. */
6
+
3
7
  @font-face {
4
8
  font-family: "Inter";
5
9
  font-style: normal;
6
10
  font-weight: 400;
11
+ font-display: swap;
7
12
  src: url("Inter-Regular.woff") format("woff");
8
13
  }
9
14
 
@@ -11,6 +16,7 @@
11
16
  font-family: "Inter";
12
17
  font-style: italic;
13
18
  font-weight: 400;
19
+ font-display: swap;
14
20
  src: url("Inter-Italic.woff") format("woff");
15
21
  }
16
22
 
@@ -18,6 +24,7 @@
18
24
  font-family: "Inter";
19
25
  font-style: normal;
20
26
  font-weight: 500;
27
+ font-display: swap;
21
28
  src: url("Inter-Medium.woff") format("woff");
22
29
  }
23
30
 
@@ -25,6 +32,7 @@
25
32
  font-family: "Inter";
26
33
  font-style: italic;
27
34
  font-weight: 500;
35
+ font-display: swap;
28
36
  src: url("Inter-MediumItalic.woff") format("woff");
29
37
  }
30
38
 
@@ -32,6 +40,7 @@
32
40
  font-family: "Inter";
33
41
  font-style: normal;
34
42
  font-weight: 600;
43
+ font-display: swap;
35
44
  src: url("Inter-SemiBold.woff") format("woff");
36
45
  }
37
46
 
@@ -39,5 +48,21 @@
39
48
  font-family: "Inter";
40
49
  font-style: italic;
41
50
  font-weight: 600;
51
+ font-display: swap;
42
52
  src: url("Inter-SemiBoldItalic.woff") format("woff");
43
53
  }
54
+
55
+ /* Arial adjusted to Inter's metrics (same overrides next/font computes), so
56
+ text laid out before the webfont arrives wraps at the same points and the
57
+ swap does not reflow already-measured content. Not part of the global
58
+ `font-sans` token — applied only where measured layout must survive the
59
+ swap (the chat shell rule in src/styles.css). */
60
+ @font-face {
61
+ font-family: "Inter Fallback";
62
+ font-style: normal;
63
+ src: local("Arial");
64
+ ascent-override: 90%;
65
+ descent-override: 22.43%;
66
+ line-gap-override: 0%;
67
+ size-adjust: 107.64%;
68
+ }
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { D as l, P as d, e as s } from "./pdfWorker-qpVTulv6.js";
2
+ import { D as l, P as d, e as s } from "./pdfWorker-CdFkbKW0.js";
3
3
  s();
4
4
  const f = ({
5
5
  url: n,