@factorialco/f0-react 1.394.0 → 1.395.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.
@@ -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];
@@ -1561,10 +1561,8 @@ declare module "@tiptap/core" {
1561
1561
 
1562
1562
  declare module "@tiptap/core" {
1563
1563
  interface Commands<ReturnType> {
1564
- videoEmbed: {
1565
- setVideoEmbed: (options: {
1566
- src: string;
1567
- }) => ReturnType;
1564
+ transcript: {
1565
+ insertTranscript: (data: TranscriptData) => ReturnType;
1568
1566
  };
1569
1567
  }
1570
1568
  }
@@ -1572,8 +1570,10 @@ declare module "@tiptap/core" {
1572
1570
 
1573
1571
  declare module "@tiptap/core" {
1574
1572
  interface Commands<ReturnType> {
1575
- transcript: {
1576
- insertTranscript: (data: TranscriptData) => ReturnType;
1573
+ videoEmbed: {
1574
+ setVideoEmbed: (options: {
1575
+ src: string;
1576
+ }) => ReturnType;
1577
1577
  };
1578
1578
  }
1579
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,
@@ -5803,6 +5803,8 @@ declare type RecordPathValue<T, P extends string> = P extends keyof T ? T[P] : P
5803
5803
  */
5804
5804
  export declare type RecordType = Record<string, unknown>;
5805
5805
 
5806
+ declare type ReferenceType = "none" | "striped";
5807
+
5806
5808
  /**
5807
5809
  * A numeric value that can be formatted with an optional formatter and options.
5808
5810
  * This is a relaxed version of NumericWithFormatter that allows the numeric value to be a Numeric.
@@ -6420,6 +6422,11 @@ declare type TableVisualizationOptions<R extends RecordType, _Filters extends Fi
6420
6422
  * Allow users to hide columns (you can define especifcally non hiddable columns in col props, also frozen columns are not hiddable)
6421
6423
  */
6422
6424
  allowColumnHiding?: boolean;
6425
+ /**
6426
+ * Marks one or more rows as reference rows.
6427
+ * Reference rows are rendered with a slanted background pattern across the full row.
6428
+ */
6429
+ referenceRowType?: (item: R) => ReferenceType;
6423
6430
  };
6424
6431
 
6425
6432
  declare type TableVisualizationSettings = {
@@ -7241,10 +7248,8 @@ declare module "@tiptap/core" {
7241
7248
 
7242
7249
  declare module "@tiptap/core" {
7243
7250
  interface Commands<ReturnType> {
7244
- videoEmbed: {
7245
- setVideoEmbed: (options: {
7246
- src: string;
7247
- }) => ReturnType;
7251
+ transcript: {
7252
+ insertTranscript: (data: TranscriptData) => ReturnType;
7248
7253
  };
7249
7254
  }
7250
7255
  }
@@ -7252,8 +7257,10 @@ declare module "@tiptap/core" {
7252
7257
 
7253
7258
  declare module "@tiptap/core" {
7254
7259
  interface Commands<ReturnType> {
7255
- transcript: {
7256
- insertTranscript: (data: TranscriptData) => ReturnType;
7260
+ videoEmbed: {
7261
+ setVideoEmbed: (options: {
7262
+ src: string;
7263
+ }) => ReturnType;
7257
7264
  };
7258
7265
  }
7259
7266
  }