@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.
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];
@@ -7189,6 +7189,8 @@ declare type RecordPathValue<T, P extends string> = P extends keyof T ? T[P] : P
7189
7189
  */
7190
7190
  export declare type RecordType = Record<string, unknown>;
7191
7191
 
7192
+ declare type ReferenceType = "none" | "striped";
7193
+
7192
7194
  declare type RegularAction = BaseAction & {
7193
7195
  type: "regular";
7194
7196
  variant: ButtonVariant;
@@ -7649,6 +7651,11 @@ declare type TableVisualizationOptions<R extends RecordType, _Filters extends Fi
7649
7651
  * Allow users to hide columns (you can define especifcally non hiddable columns in col props, also frozen columns are not hiddable)
7650
7652
  */
7651
7653
  allowColumnHiding?: boolean;
7654
+ /**
7655
+ * Marks one or more rows as reference rows.
7656
+ * Reference rows are rendered with a slanted background pattern across the full row.
7657
+ */
7658
+ referenceRowType?: (item: R) => ReferenceType;
7652
7659
  };
7653
7660
 
7654
7661
  declare type TableVisualizationSettings = {
@@ -8800,10 +8807,8 @@ declare module "@tiptap/core" {
8800
8807
 
8801
8808
  declare module "@tiptap/core" {
8802
8809
  interface Commands<ReturnType> {
8803
- videoEmbed: {
8804
- setVideoEmbed: (options: {
8805
- src: string;
8806
- }) => ReturnType;
8810
+ transcript: {
8811
+ insertTranscript: (data: TranscriptData) => ReturnType;
8807
8812
  };
8808
8813
  }
8809
8814
  }
@@ -8811,8 +8816,10 @@ declare module "@tiptap/core" {
8811
8816
 
8812
8817
  declare module "@tiptap/core" {
8813
8818
  interface Commands<ReturnType> {
8814
- transcript: {
8815
- insertTranscript: (data: TranscriptData) => ReturnType;
8819
+ videoEmbed: {
8820
+ setVideoEmbed: (options: {
8821
+ src: string;
8822
+ }) => ReturnType;
8816
8823
  };
8817
8824
  }
8818
8825
  }
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,
@@ -682,10 +682,8 @@ declare module "@tiptap/core" {
682
682
 
683
683
  declare module "@tiptap/core" {
684
684
  interface Commands<ReturnType> {
685
- videoEmbed: {
686
- setVideoEmbed: (options: {
687
- src: string;
688
- }) => ReturnType;
685
+ transcript: {
686
+ insertTranscript: (data: TranscriptData) => ReturnType;
689
687
  };
690
688
  }
691
689
  }
@@ -693,8 +691,10 @@ declare module "@tiptap/core" {
693
691
 
694
692
  declare module "@tiptap/core" {
695
693
  interface Commands<ReturnType> {
696
- transcript: {
697
- insertTranscript: (data: TranscriptData) => ReturnType;
694
+ videoEmbed: {
695
+ setVideoEmbed: (options: {
696
+ src: string;
697
+ }) => ReturnType;
698
698
  };
699
699
  }
700
700
  }