@factorialco/f0-react 1.394.1 → 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/ai.d.ts CHANGED
@@ -1525,11 +1525,16 @@ declare module "gridstack" {
1525
1525
  }
1526
1526
 
1527
1527
 
1528
+ declare namespace Calendar {
1529
+ var displayName: string;
1530
+ }
1531
+
1532
+
1528
1533
  declare module "@tiptap/core" {
1529
1534
  interface Commands<ReturnType> {
1530
- enhanceHighlight: {
1531
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
1532
- clearEnhanceHighlight: () => ReturnType;
1535
+ aiBlock: {
1536
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
1537
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
1533
1538
  };
1534
1539
  }
1535
1540
  }
@@ -1537,9 +1542,9 @@ declare module "@tiptap/core" {
1537
1542
 
1538
1543
  declare module "@tiptap/core" {
1539
1544
  interface Commands<ReturnType> {
1540
- aiBlock: {
1541
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
1542
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
1545
+ enhanceHighlight: {
1546
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
1547
+ clearEnhanceHighlight: () => ReturnType;
1543
1548
  };
1544
1549
  }
1545
1550
  }
@@ -1572,8 +1577,3 @@ declare module "@tiptap/core" {
1572
1577
  };
1573
1578
  }
1574
1579
  }
1575
-
1576
-
1577
- declare namespace Calendar {
1578
- var displayName: string;
1579
- }
@@ -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 = {
@@ -7205,11 +7212,16 @@ declare module "gridstack" {
7205
7212
  }
7206
7213
 
7207
7214
 
7215
+ declare namespace Calendar {
7216
+ var displayName: string;
7217
+ }
7218
+
7219
+
7208
7220
  declare module "@tiptap/core" {
7209
7221
  interface Commands<ReturnType> {
7210
- enhanceHighlight: {
7211
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
7212
- clearEnhanceHighlight: () => ReturnType;
7222
+ aiBlock: {
7223
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
7224
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
7213
7225
  };
7214
7226
  }
7215
7227
  }
@@ -7217,9 +7229,9 @@ declare module "@tiptap/core" {
7217
7229
 
7218
7230
  declare module "@tiptap/core" {
7219
7231
  interface Commands<ReturnType> {
7220
- aiBlock: {
7221
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
7222
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
7232
+ enhanceHighlight: {
7233
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
7234
+ clearEnhanceHighlight: () => ReturnType;
7223
7235
  };
7224
7236
  }
7225
7237
  }
@@ -7252,8 +7264,3 @@ declare module "@tiptap/core" {
7252
7264
  };
7253
7265
  }
7254
7266
  }
7255
-
7256
-
7257
- declare namespace Calendar {
7258
- var displayName: string;
7259
- }