@factorialco/f0-react 6.86.4 → 6.87.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/dist/{F0AiProcessingOverlay-IEFixuXr.js → F0AiProcessingOverlay-Dpen_hcq.js} +4 -3
- package/dist/{LocationMap-DkbStywA.js → LocationMap-7LJCYAHA.js} +1 -1
- package/dist/ai.d.ts +12 -7
- package/dist/ai.js +1 -1
- package/dist/component-status.d.ts +7 -7
- package/dist/component-status.js +1 -1
- package/dist/{experimental-Cw7YWej_.js → experimental-CbOZz_Mw.js} +13674 -13495
- package/dist/experimental.d.ts +12 -7
- package/dist/experimental.js +1 -1
- package/dist/f0.d.ts +12 -7
- package/dist/f0.js +2 -2
- package/dist/i18n-provider-defaults.d.ts +7 -7
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -4246,9 +4246,9 @@ function k2({
|
|
|
4246
4246
|
const y2 = {
|
|
4247
4247
|
soft: {
|
|
4248
4248
|
text: "",
|
|
4249
|
-
bg: "bg-f1-background-
|
|
4250
|
-
fontColor: "text-f1-foreground-
|
|
4251
|
-
formBorder: "[&_form]:border-f1-border
|
|
4249
|
+
bg: "bg-f1-background-secondary",
|
|
4250
|
+
fontColor: "text-f1-foreground-secondary",
|
|
4251
|
+
formBorder: "[&_form]:border-f1-border"
|
|
4252
4252
|
}
|
|
4253
4253
|
}, M2 = ({
|
|
4254
4254
|
creditWarning: e,
|
|
@@ -4280,6 +4280,7 @@ const y2 = {
|
|
|
4280
4280
|
label: n.ai.creditWarning.getCredits ?? "",
|
|
4281
4281
|
size: "sm",
|
|
4282
4282
|
variant: "outline",
|
|
4283
|
+
icon: e.getCreditsIcon,
|
|
4283
4284
|
tooltip: n.ai.creditWarning.getCredits ?? "",
|
|
4284
4285
|
onClick: e.onGetCredits
|
|
4285
4286
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { m } from "./experimental-
|
|
2
|
+
import { m } from "./experimental-CbOZz_Mw.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
|
@@ -198,6 +198,11 @@ export declare type AiChatCreditWarning = {
|
|
|
198
198
|
onDismiss?: () => void;
|
|
199
199
|
/** Called when the user clicks the "Get Credits" button. */
|
|
200
200
|
onGetCredits?: () => void;
|
|
201
|
+
/**
|
|
202
|
+
* Icon rendered to the left of the "Get Credits" label. Only used when
|
|
203
|
+
* `onGetCredits` is provided. Hosts typically pass the `Upsell` icon.
|
|
204
|
+
*/
|
|
205
|
+
getCreditsIcon?: IconType;
|
|
201
206
|
};
|
|
202
207
|
|
|
203
208
|
/**
|
|
@@ -5801,9 +5806,10 @@ declare module "@tiptap/core" {
|
|
|
5801
5806
|
|
|
5802
5807
|
declare module "@tiptap/core" {
|
|
5803
5808
|
interface Commands<ReturnType> {
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
|
|
5809
|
+
indent: {
|
|
5810
|
+
setIndent: (level: number) => ReturnType;
|
|
5811
|
+
unsetIndent: () => ReturnType;
|
|
5812
|
+
outdent: () => ReturnType;
|
|
5807
5813
|
};
|
|
5808
5814
|
}
|
|
5809
5815
|
}
|
|
@@ -5811,10 +5817,9 @@ declare module "@tiptap/core" {
|
|
|
5811
5817
|
|
|
5812
5818
|
declare module "@tiptap/core" {
|
|
5813
5819
|
interface Commands<ReturnType> {
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
outdent: () => ReturnType;
|
|
5820
|
+
fontSize: {
|
|
5821
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
5822
|
+
unsetFontSize: () => ReturnType;
|
|
5818
5823
|
};
|
|
5819
5824
|
}
|
|
5820
5825
|
}
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as h } from "./F0CanvasPanel-DjWQhvxj.js";
|
|
2
2
|
import { defaultTranslations as c } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-
|
|
3
|
+
import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-Dpen_hcq.js";
|
|
4
4
|
export {
|
|
5
5
|
P as AiChatTranslationsProvider,
|
|
6
6
|
e as ChatSpinner,
|
|
@@ -318,9 +318,10 @@ declare module "@tiptap/core" {
|
|
|
318
318
|
|
|
319
319
|
declare module "@tiptap/core" {
|
|
320
320
|
interface Commands<ReturnType> {
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
321
|
+
indent: {
|
|
322
|
+
setIndent: (level: number) => ReturnType;
|
|
323
|
+
unsetIndent: () => ReturnType;
|
|
324
|
+
outdent: () => ReturnType;
|
|
324
325
|
};
|
|
325
326
|
}
|
|
326
327
|
}
|
|
@@ -328,10 +329,9 @@ declare module "@tiptap/core" {
|
|
|
328
329
|
|
|
329
330
|
declare module "@tiptap/core" {
|
|
330
331
|
interface Commands<ReturnType> {
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
outdent: () => ReturnType;
|
|
332
|
+
fontSize: {
|
|
333
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
334
|
+
unsetFontSize: () => ReturnType;
|
|
335
335
|
};
|
|
336
336
|
}
|
|
337
337
|
}
|