@factorialco/f0-react 6.32.0 → 6.32.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/assets/fonts/style.css +25 -0
- package/dist/{LocationMap-Dnz_ze2c.js → LocationMap-D4qra2Lp.js} +1 -1
- package/dist/ai.d.ts +6 -6
- package/dist/component-status.d.ts +6 -6
- package/dist/component-status.js +1 -1
- package/dist/{experimental-C-ugcWbe.js → experimental-Cy-wq3QY.js} +8634 -8542
- package/dist/experimental.d.ts +6 -6
- package/dist/experimental.js +1 -1
- package/dist/f0.d.ts +6 -6
- package/dist/i18n-provider-defaults.d.ts +6 -6
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/assets/fonts/style.css
CHANGED
|
@@ -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 p } from "react/jsx-runtime";
|
|
2
|
-
import { m } from "./experimental-
|
|
2
|
+
import { m } from "./experimental-Cy-wq3QY.js";
|
|
3
3
|
import { useRef as l, useEffect as i, useState as b } from "react";
|
|
4
4
|
const k = "https://tiles.openfreemap.org/styles/positron", y = "https://tiles.openfreemap.org/styles/dark", R = 15, d = (n) => {
|
|
5
5
|
const [c, s] = b(!1);
|
package/dist/ai.d.ts
CHANGED
|
@@ -5678,10 +5678,8 @@ declare module "@tiptap/core" {
|
|
|
5678
5678
|
|
|
5679
5679
|
declare module "@tiptap/core" {
|
|
5680
5680
|
interface Commands<ReturnType> {
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
unsetIndent: () => ReturnType;
|
|
5684
|
-
outdent: () => ReturnType;
|
|
5681
|
+
moodTracker: {
|
|
5682
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
5685
5683
|
};
|
|
5686
5684
|
}
|
|
5687
5685
|
}
|
|
@@ -5689,8 +5687,10 @@ declare module "@tiptap/core" {
|
|
|
5689
5687
|
|
|
5690
5688
|
declare module "@tiptap/core" {
|
|
5691
5689
|
interface Commands<ReturnType> {
|
|
5692
|
-
|
|
5693
|
-
|
|
5690
|
+
indent: {
|
|
5691
|
+
setIndent: (level: number) => ReturnType;
|
|
5692
|
+
unsetIndent: () => ReturnType;
|
|
5693
|
+
outdent: () => ReturnType;
|
|
5694
5694
|
};
|
|
5695
5695
|
}
|
|
5696
5696
|
}
|
|
@@ -317,10 +317,8 @@ declare module "@tiptap/core" {
|
|
|
317
317
|
|
|
318
318
|
declare module "@tiptap/core" {
|
|
319
319
|
interface Commands<ReturnType> {
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
unsetIndent: () => ReturnType;
|
|
323
|
-
outdent: () => ReturnType;
|
|
320
|
+
moodTracker: {
|
|
321
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
324
322
|
};
|
|
325
323
|
}
|
|
326
324
|
}
|
|
@@ -328,8 +326,10 @@ declare module "@tiptap/core" {
|
|
|
328
326
|
|
|
329
327
|
declare module "@tiptap/core" {
|
|
330
328
|
interface Commands<ReturnType> {
|
|
331
|
-
|
|
332
|
-
|
|
329
|
+
indent: {
|
|
330
|
+
setIndent: (level: number) => ReturnType;
|
|
331
|
+
unsetIndent: () => ReturnType;
|
|
332
|
+
outdent: () => ReturnType;
|
|
333
333
|
};
|
|
334
334
|
}
|
|
335
335
|
}
|