@factorialco/f0-react 1.393.0 → 1.394.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.
@@ -714,10 +714,14 @@ void main() {
714
714
  vUV = aUV;
715
715
  gl_Position = vec4(aPosition, 0.0, 1.0);
716
716
  }`, $t = [
717
- "rgb(57, 182, 255)",
718
- "rgb(189, 69, 251)",
719
- "rgb(255, 87, 51)",
720
- "rgb(255, 214, 0)"
717
+ "rgb(229, 25, 67)",
718
+ // #E51943 red
719
+ "rgb(229, 86, 25)",
720
+ // #E55619 orange
721
+ "rgb(229, 25, 67)",
722
+ // #E51943 red
723
+ "rgb(161, 173, 229)"
724
+ // #A1ADE5 light blue
721
725
  ];
722
726
  function qt(t) {
723
727
  const e = t.match(/rgb\((\d+),\s*(\d+),\s*(\d+)\)/);
package/dist/ai.d.ts CHANGED
@@ -288,7 +288,7 @@ export declare const ChatSpinner: ForwardRefExoticComponent<Omit<SVGProps<SVGSVG
288
288
  * CSS RGB color string type
289
289
  * @example 'rgb(255, 0, 0)' or 'rgb(255,0,0)'
290
290
  */
291
- declare type CSSRgbString = `rgb(${number}, ${number}, ${number})` | `rgb(${number},${number},${number})`;
291
+ export declare type CSSRgbString = `rgb(${number}, ${number}, ${number})` | `rgb(${number},${number},${number})`;
292
292
 
293
293
  export declare const defaultTranslations: {
294
294
  readonly countries: {
@@ -1325,7 +1325,7 @@ declare type Join<T extends string[], D extends string> = T extends [] ? never :
1325
1325
 
1326
1326
  export declare function Li({ children, ...props }: React.HTMLAttributes<HTMLLIElement>): JSX_2.Element;
1327
1327
 
1328
- declare type MaskOptions = {
1328
+ export declare type MaskOptions = {
1329
1329
  /**
1330
1330
  * The width of the Mask element.
1331
1331
  * @default 600
@@ -1351,7 +1351,7 @@ declare type MaskOptions = {
1351
1351
  mode?: "dark" | "light";
1352
1352
  /**
1353
1353
  * Color list.
1354
- * @default ['rgb(57, 182, 255)', 'rgb(189, 69, 251)', 'rgb(255, 87, 51)', 'rgb(255, 214, 0)']
1354
+ * @default ['rgb(229, 25, 67)', 'rgb(229, 86, 25)', 'rgb(229, 25, 67)', 'rgb(161, 173, 229)']
1355
1355
  * @note The color list must be specified with 4 colors in an array, formatted as rgb color strings.
1356
1356
  */
1357
1357
  colors?: [CSSRgbString, CSSRgbString, CSSRgbString, CSSRgbString];
@@ -1525,16 +1525,11 @@ declare module "gridstack" {
1525
1525
  }
1526
1526
 
1527
1527
 
1528
- declare namespace Calendar {
1529
- var displayName: string;
1530
- }
1531
-
1532
-
1533
1528
  declare module "@tiptap/core" {
1534
1529
  interface Commands<ReturnType> {
1535
- aiBlock: {
1536
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
1537
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
1530
+ enhanceHighlight: {
1531
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
1532
+ clearEnhanceHighlight: () => ReturnType;
1538
1533
  };
1539
1534
  }
1540
1535
  }
@@ -1542,9 +1537,9 @@ declare module "@tiptap/core" {
1542
1537
 
1543
1538
  declare module "@tiptap/core" {
1544
1539
  interface Commands<ReturnType> {
1545
- enhanceHighlight: {
1546
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
1547
- clearEnhanceHighlight: () => ReturnType;
1540
+ aiBlock: {
1541
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
1542
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
1548
1543
  };
1549
1544
  }
1550
1545
  }
@@ -1577,3 +1572,8 @@ declare module "@tiptap/core" {
1577
1572
  };
1578
1573
  }
1579
1574
  }
1575
+
1576
+
1577
+ declare namespace Calendar {
1578
+ var displayName: string;
1579
+ }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { A as e, B as t, C as i, q as n, E as o, h as r, F as l, a as A, D as c, i as F, b as u, j as h, w as C, x as d, y as m, z as T, c as f, r as S, s as p, t as I, H as g, I as k, m as x, L as H, O as M, v as P, P as b, S as w, T as O, n as v, o as D, p as E, U as L, k as R, l as q, d as y, e as z, u as B, g as U, f as j } from "./F0AiChat-DJTQ9AEc.js";
2
2
  import { defaultTranslations as G } from "./i18n-provider-defaults.js";
3
- import { A as K, F as N, c as Q, d as W, b as X, a as Y, o as Z, u as _ } from "./F0HILActionConfirmation-oROEEYv_.js";
3
+ import { A as K, F as N, c as Q, d as W, b as X, a as Y, o as Z, u as _ } from "./F0HILActionConfirmation-DH49_Gi0.js";
4
4
  export {
5
5
  e as A,
6
6
  K as AiChatTranslationsProvider,
@@ -7205,16 +7205,11 @@ declare module "gridstack" {
7205
7205
  }
7206
7206
 
7207
7207
 
7208
- declare namespace Calendar {
7209
- var displayName: string;
7210
- }
7211
-
7212
-
7213
7208
  declare module "@tiptap/core" {
7214
7209
  interface Commands<ReturnType> {
7215
- aiBlock: {
7216
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
7217
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
7210
+ enhanceHighlight: {
7211
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
7212
+ clearEnhanceHighlight: () => ReturnType;
7218
7213
  };
7219
7214
  }
7220
7215
  }
@@ -7222,9 +7217,9 @@ declare module "@tiptap/core" {
7222
7217
 
7223
7218
  declare module "@tiptap/core" {
7224
7219
  interface Commands<ReturnType> {
7225
- enhanceHighlight: {
7226
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
7227
- clearEnhanceHighlight: () => ReturnType;
7220
+ aiBlock: {
7221
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
7222
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
7228
7223
  };
7229
7224
  }
7230
7225
  }
@@ -7257,3 +7252,8 @@ declare module "@tiptap/core" {
7257
7252
  };
7258
7253
  }
7259
7254
  }
7255
+
7256
+
7257
+ declare namespace Calendar {
7258
+ var displayName: string;
7259
+ }
package/dist/f0.d.ts CHANGED
@@ -1631,7 +1631,7 @@ export declare const createPageLayoutBlockGroup: <Props = unknown>(displayName:
1631
1631
  * CSS RGB color string type
1632
1632
  * @example 'rgb(255, 0, 0)' or 'rgb(255,0,0)'
1633
1633
  */
1634
- declare type CSSRgbString = `rgb(${number}, ${number}, ${number})` | `rgb(${number},${number},${number})`;
1634
+ export declare type CSSRgbString = `rgb(${number}, ${number}, ${number})` | `rgb(${number},${number},${number})`;
1635
1635
 
1636
1636
  /**
1637
1637
  * Extracts the current filters type from filter options.
@@ -6313,7 +6313,7 @@ export declare interface LoadingStateProps {
6313
6313
  /** Margin tokens (spacing + auto for centering) */
6314
6314
  export declare type MarginToken = SpacingToken | "auto";
6315
6315
 
6316
- declare type MaskOptions = {
6316
+ export declare type MaskOptions = {
6317
6317
  /**
6318
6318
  * The width of the Mask element.
6319
6319
  * @default 600
@@ -6339,7 +6339,7 @@ declare type MaskOptions = {
6339
6339
  mode?: "dark" | "light";
6340
6340
  /**
6341
6341
  * Color list.
6342
- * @default ['rgb(57, 182, 255)', 'rgb(189, 69, 251)', 'rgb(255, 87, 51)', 'rgb(255, 214, 0)']
6342
+ * @default ['rgb(229, 25, 67)', 'rgb(229, 86, 25)', 'rgb(229, 25, 67)', 'rgb(161, 173, 229)']
6343
6343
  * @note The color list must be specified with 4 colors in an array, formatted as rgb color strings.
6344
6344
  */
6345
6345
  colors?: [CSSRgbString, CSSRgbString, CSSRgbString, CSSRgbString];
@@ -8764,16 +8764,11 @@ declare module "gridstack" {
8764
8764
  }
8765
8765
 
8766
8766
 
8767
- declare namespace Calendar {
8768
- var displayName: string;
8769
- }
8770
-
8771
-
8772
8767
  declare module "@tiptap/core" {
8773
8768
  interface Commands<ReturnType> {
8774
- aiBlock: {
8775
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8776
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8769
+ enhanceHighlight: {
8770
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
8771
+ clearEnhanceHighlight: () => ReturnType;
8777
8772
  };
8778
8773
  }
8779
8774
  }
@@ -8781,9 +8776,9 @@ declare module "@tiptap/core" {
8781
8776
 
8782
8777
  declare module "@tiptap/core" {
8783
8778
  interface Commands<ReturnType> {
8784
- enhanceHighlight: {
8785
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
8786
- clearEnhanceHighlight: () => ReturnType;
8779
+ aiBlock: {
8780
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8781
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8787
8782
  };
8788
8783
  }
8789
8784
  }
@@ -8816,3 +8811,8 @@ declare module "@tiptap/core" {
8816
8811
  };
8817
8812
  }
8818
8813
  }
8814
+
8815
+
8816
+ declare namespace Calendar {
8817
+ var displayName: string;
8818
+ }
package/dist/f0.js CHANGED
@@ -6,7 +6,7 @@ import q, { forwardRef as Ke, useRef as Y, useImperativeHandle as Xc, Children a
6
6
  import { createPortal as Ao, unstable_batchedUpdates as en, flushSync as nd } from "react-dom";
7
7
  import { L as Oo, C as id, i as Mo, S as gs, a as sd, f as Jn, b as _r, c as od, A as ad, d as tn, e as Io, E as ld, g as sn, h as cd, j as dd, k as ud, l as ir, m as Lo, u as fd, G as hd, n as md, o as vs, p as pd, q as Po, r as gd, B as Fo, X as zo, Y as hi, s as vd, t as Bo, v as yd, w as bd, x as xd, y as wd, z as _d, D as Cd, F as Ed, H as Sd, I as ys, J as kd, K as Dd, M as Nd, N as Rd, O as Td, P as Ad, Q as Od, R as Md, V as Id, T as Ld, U as mi, W as Vo, Z as Pd, _ as Fd, $ as zd, a0 as Bd, a1 as Ho, a2 as jo, a3 as Vd, a4 as $o, a5 as Wo, a6 as Hd, a7 as jd, a8 as $d, a9 as Wd } from "./DataCollectionStorageProvider-CaTG4Ci9.js";
8
8
  import { af as cb, aa as db, ad as ub, ae as fb, ab as hb, ac as mb, ag as pb, ah as gb, ai as vb, aj as yb } from "./DataCollectionStorageProvider-CaTG4Ci9.js";
9
- import { A as xb, F as wb, c as _b, d as Cb, b as Eb, a as Sb, o as kb, u as Db } from "./F0HILActionConfirmation-oROEEYv_.js";
9
+ import { A as xb, F as wb, c as _b, d as Cb, b as Eb, a as Sb, o as kb, u as Db } from "./F0HILActionConfirmation-DH49_Gi0.js";
10
10
  import { defaultTranslations as Rb } from "./i18n-provider-defaults.js";
11
11
  import './f0.css';const Gd = {
12
12
  xs: 1,
@@ -646,16 +646,11 @@ declare module "gridstack" {
646
646
  }
647
647
 
648
648
 
649
- declare namespace Calendar {
650
- var displayName: string;
651
- }
652
-
653
-
654
649
  declare module "@tiptap/core" {
655
650
  interface Commands<ReturnType> {
656
- aiBlock: {
657
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
658
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
651
+ enhanceHighlight: {
652
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
653
+ clearEnhanceHighlight: () => ReturnType;
659
654
  };
660
655
  }
661
656
  }
@@ -663,9 +658,9 @@ declare module "@tiptap/core" {
663
658
 
664
659
  declare module "@tiptap/core" {
665
660
  interface Commands<ReturnType> {
666
- enhanceHighlight: {
667
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
668
- clearEnhanceHighlight: () => ReturnType;
661
+ aiBlock: {
662
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
663
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
669
664
  };
670
665
  }
671
666
  }
@@ -698,3 +693,8 @@ declare module "@tiptap/core" {
698
693
  };
699
694
  }
700
695
  }
696
+
697
+
698
+ declare namespace Calendar {
699
+ var displayName: string;
700
+ }