@factorialco/f0-react 4.55.0 → 4.56.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.
@@ -4340,8 +4340,14 @@ declare type EditableTableColumnDefinition<R extends RecordType, Sortings extend
4340
4340
  /**
4341
4341
  * Configuration for `"date"` cells. Accepts `minDate` / `maxDate` to
4342
4342
  * restrict the selectable date range in the picker.
4343
+ *
4344
+ * Can be a static object or a function that receives the current row item
4345
+ * to return a per-row range (e.g. bound one date field by another field's
4346
+ * value: `(item) => ({ minDate: parseISO(item.startDate) })`). The picker's
4347
+ * default visible month follows `minDate`, so a per-row `minDate` also
4348
+ * opens the calendar on that date.
4343
4349
  */
4344
- dateConfig?: DateCellConfig;
4350
+ dateConfig?: DateCellConfig | ((item: R) => DateCellConfig);
4345
4351
  /**
4346
4352
  * Called after this cell's value changes. Use to compute derived values
4347
4353
  * and update other cells in the same row.
@@ -11432,8 +11438,10 @@ declare module "@tiptap/core" {
11432
11438
 
11433
11439
  declare module "@tiptap/core" {
11434
11440
  interface Commands<ReturnType> {
11435
- transcript: {
11436
- insertTranscript: (data: TranscriptData) => ReturnType;
11441
+ videoEmbed: {
11442
+ setVideoEmbed: (options: {
11443
+ src: string;
11444
+ }) => ReturnType;
11437
11445
  };
11438
11446
  }
11439
11447
  }
@@ -11441,10 +11449,8 @@ declare module "@tiptap/core" {
11441
11449
 
11442
11450
  declare module "@tiptap/core" {
11443
11451
  interface Commands<ReturnType> {
11444
- videoEmbed: {
11445
- setVideoEmbed: (options: {
11446
- src: string;
11447
- }) => ReturnType;
11452
+ transcript: {
11453
+ insertTranscript: (data: TranscriptData) => ReturnType;
11448
11454
  };
11449
11455
  }
11450
11456
  }