@factorialco/f0-react 2.30.0 → 2.30.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.
package/dist/ai.d.ts CHANGED
@@ -4195,9 +4195,9 @@ declare module "gridstack" {
4195
4195
 
4196
4196
  declare module "@tiptap/core" {
4197
4197
  interface Commands<ReturnType> {
4198
- aiBlock: {
4199
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
4200
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
4198
+ enhanceHighlight: {
4199
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
4200
+ clearEnhanceHighlight: () => ReturnType;
4201
4201
  };
4202
4202
  }
4203
4203
  }
@@ -4205,9 +4205,9 @@ declare module "@tiptap/core" {
4205
4205
 
4206
4206
  declare module "@tiptap/core" {
4207
4207
  interface Commands<ReturnType> {
4208
- enhanceHighlight: {
4209
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
4210
- clearEnhanceHighlight: () => ReturnType;
4208
+ aiBlock: {
4209
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
4210
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
4211
4211
  };
4212
4212
  }
4213
4213
  }
@@ -4224,8 +4224,10 @@ declare module "@tiptap/core" {
4224
4224
 
4225
4225
  declare module "@tiptap/core" {
4226
4226
  interface Commands<ReturnType> {
4227
- transcript: {
4228
- insertTranscript: (data: TranscriptData) => ReturnType;
4227
+ videoEmbed: {
4228
+ setVideoEmbed: (options: {
4229
+ src: string;
4230
+ }) => ReturnType;
4229
4231
  };
4230
4232
  }
4231
4233
  }
@@ -4233,10 +4235,8 @@ declare module "@tiptap/core" {
4233
4235
 
4234
4236
  declare module "@tiptap/core" {
4235
4237
  interface Commands<ReturnType> {
4236
- videoEmbed: {
4237
- setVideoEmbed: (options: {
4238
- src: string;
4239
- }) => ReturnType;
4238
+ transcript: {
4239
+ insertTranscript: (data: TranscriptData) => ReturnType;
4240
4240
  };
4241
4241
  }
4242
4242
  }
@@ -2698,7 +2698,7 @@ declare type DateNavigatorFilterDefinition = NavigationFilterDefinitionBase<Date
2698
2698
  type: "date-navigator";
2699
2699
  } & DateNavigationOptions_2;
2700
2700
 
2701
- declare type DatePickerCompareTo = Record<GranularityDefinitionKey, CompareToDef[]>;
2701
+ declare type DatePickerCompareTo = Partial<Record<GranularityDefinitionKey, CompareToDef[]>>;
2702
2702
 
2703
2703
  declare interface DatePickerPopupProps {
2704
2704
  onSelect?: (value: DatePickerValue | undefined) => void;
@@ -5033,7 +5033,15 @@ export declare interface GranularityDefinition {
5033
5033
 
5034
5034
  export declare type GranularityDefinitionKey = keyof typeof granularityDefinitions;
5035
5035
 
5036
- export declare const granularityDefinitions: Record<string, GranularityDefinition>;
5036
+ export declare const granularityDefinitions: {
5037
+ readonly day: GranularityDefinition;
5038
+ readonly week: GranularityDefinition;
5039
+ readonly month: GranularityDefinition;
5040
+ readonly quarter: GranularityDefinition;
5041
+ readonly halfyear: GranularityDefinition;
5042
+ readonly year: GranularityDefinition;
5043
+ readonly range: GranularityDefinition;
5044
+ };
5037
5045
 
5038
5046
  export declare type GranularityDefinitionSimple = Pick<GranularityDefinition, "toRangeString" | "toString">;
5039
5047
 
@@ -8561,9 +8569,9 @@ declare module "gridstack" {
8561
8569
 
8562
8570
  declare module "@tiptap/core" {
8563
8571
  interface Commands<ReturnType> {
8564
- aiBlock: {
8565
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8566
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8572
+ enhanceHighlight: {
8573
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
8574
+ clearEnhanceHighlight: () => ReturnType;
8567
8575
  };
8568
8576
  }
8569
8577
  }
@@ -8571,9 +8579,9 @@ declare module "@tiptap/core" {
8571
8579
 
8572
8580
  declare module "@tiptap/core" {
8573
8581
  interface Commands<ReturnType> {
8574
- enhanceHighlight: {
8575
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
8576
- clearEnhanceHighlight: () => ReturnType;
8582
+ aiBlock: {
8583
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8584
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8577
8585
  };
8578
8586
  }
8579
8587
  }
@@ -8590,8 +8598,10 @@ declare module "@tiptap/core" {
8590
8598
 
8591
8599
  declare module "@tiptap/core" {
8592
8600
  interface Commands<ReturnType> {
8593
- transcript: {
8594
- insertTranscript: (data: TranscriptData) => ReturnType;
8601
+ videoEmbed: {
8602
+ setVideoEmbed: (options: {
8603
+ src: string;
8604
+ }) => ReturnType;
8595
8605
  };
8596
8606
  }
8597
8607
  }
@@ -8599,10 +8609,8 @@ declare module "@tiptap/core" {
8599
8609
 
8600
8610
  declare module "@tiptap/core" {
8601
8611
  interface Commands<ReturnType> {
8602
- videoEmbed: {
8603
- setVideoEmbed: (options: {
8604
- src: string;
8605
- }) => ReturnType;
8612
+ transcript: {
8613
+ insertTranscript: (data: TranscriptData) => ReturnType;
8606
8614
  };
8607
8615
  }
8608
8616
  }
package/dist/f0.d.ts CHANGED
@@ -3861,7 +3861,7 @@ declare type DateNavigatorFilterDefinition = NavigationFilterDefinitionBase<Date
3861
3861
  type: "date-navigator";
3862
3862
  } & DateNavigationOptions_2;
3863
3863
 
3864
- declare type DatePickerCompareTo = Record<GranularityDefinitionKey, CompareToDef[]>;
3864
+ declare type DatePickerCompareTo = Partial<Record<GranularityDefinitionKey, CompareToDef[]>>;
3865
3865
 
3866
3866
  declare interface DatePickerPopupProps {
3867
3867
  onSelect?: (value: DatePickerValue_2 | undefined) => void;
@@ -10497,7 +10497,15 @@ export declare interface GranularityDefinition {
10497
10497
 
10498
10498
  export declare type GranularityDefinitionKey = keyof typeof granularityDefinitions;
10499
10499
 
10500
- export declare const granularityDefinitions: Record<string, GranularityDefinition>;
10500
+ export declare const granularityDefinitions: {
10501
+ readonly day: GranularityDefinition;
10502
+ readonly week: GranularityDefinition;
10503
+ readonly month: GranularityDefinition;
10504
+ readonly quarter: GranularityDefinition;
10505
+ readonly halfyear: GranularityDefinition;
10506
+ readonly year: GranularityDefinition;
10507
+ readonly range: GranularityDefinition;
10508
+ };
10501
10509
 
10502
10510
  export declare type GranularityDefinitionSimple = Pick<GranularityDefinition, "toRangeString" | "toString">;
10503
10511
 
@@ -15155,9 +15163,9 @@ declare module "gridstack" {
15155
15163
 
15156
15164
  declare module "@tiptap/core" {
15157
15165
  interface Commands<ReturnType> {
15158
- aiBlock: {
15159
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
15160
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
15166
+ enhanceHighlight: {
15167
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
15168
+ clearEnhanceHighlight: () => ReturnType;
15161
15169
  };
15162
15170
  }
15163
15171
  }
@@ -15165,9 +15173,9 @@ declare module "@tiptap/core" {
15165
15173
 
15166
15174
  declare module "@tiptap/core" {
15167
15175
  interface Commands<ReturnType> {
15168
- enhanceHighlight: {
15169
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
15170
- clearEnhanceHighlight: () => ReturnType;
15176
+ aiBlock: {
15177
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
15178
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
15171
15179
  };
15172
15180
  }
15173
15181
  }
@@ -15184,8 +15192,10 @@ declare module "@tiptap/core" {
15184
15192
 
15185
15193
  declare module "@tiptap/core" {
15186
15194
  interface Commands<ReturnType> {
15187
- transcript: {
15188
- insertTranscript: (data: TranscriptData) => ReturnType;
15195
+ videoEmbed: {
15196
+ setVideoEmbed: (options: {
15197
+ src: string;
15198
+ }) => ReturnType;
15189
15199
  };
15190
15200
  }
15191
15201
  }
@@ -15193,10 +15203,8 @@ declare module "@tiptap/core" {
15193
15203
 
15194
15204
  declare module "@tiptap/core" {
15195
15205
  interface Commands<ReturnType> {
15196
- videoEmbed: {
15197
- setVideoEmbed: (options: {
15198
- src: string;
15199
- }) => ReturnType;
15206
+ transcript: {
15207
+ insertTranscript: (data: TranscriptData) => ReturnType;
15200
15208
  };
15201
15209
  }
15202
15210
  }
@@ -844,9 +844,9 @@ declare module "gridstack" {
844
844
 
845
845
  declare module "@tiptap/core" {
846
846
  interface Commands<ReturnType> {
847
- aiBlock: {
848
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
849
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
847
+ enhanceHighlight: {
848
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
849
+ clearEnhanceHighlight: () => ReturnType;
850
850
  };
851
851
  }
852
852
  }
@@ -854,9 +854,9 @@ declare module "@tiptap/core" {
854
854
 
855
855
  declare module "@tiptap/core" {
856
856
  interface Commands<ReturnType> {
857
- enhanceHighlight: {
858
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
859
- clearEnhanceHighlight: () => ReturnType;
857
+ aiBlock: {
858
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
859
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
860
860
  };
861
861
  }
862
862
  }
@@ -873,8 +873,10 @@ declare module "@tiptap/core" {
873
873
 
874
874
  declare module "@tiptap/core" {
875
875
  interface Commands<ReturnType> {
876
- transcript: {
877
- insertTranscript: (data: TranscriptData) => ReturnType;
876
+ videoEmbed: {
877
+ setVideoEmbed: (options: {
878
+ src: string;
879
+ }) => ReturnType;
878
880
  };
879
881
  }
880
882
  }
@@ -882,10 +884,8 @@ declare module "@tiptap/core" {
882
884
 
883
885
  declare module "@tiptap/core" {
884
886
  interface Commands<ReturnType> {
885
- videoEmbed: {
886
- setVideoEmbed: (options: {
887
- src: string;
888
- }) => ReturnType;
887
+ transcript: {
888
+ insertTranscript: (data: TranscriptData) => ReturnType;
889
889
  };
890
890
  }
891
891
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "2.30.0",
3
+ "version": "2.30.1",
4
4
  "private": false,
5
5
  "files": [
6
6
  "assets",