@factorialco/f0-react 1.266.0 → 1.268.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/experimental.d.ts +27 -11
- package/dist/experimental.js +8612 -8602
- package/dist/f0.d.ts +23 -11
- package/package.json +1 -1
package/dist/f0.d.ts
CHANGED
|
@@ -955,6 +955,11 @@ declare type CollectionProps<Record extends RecordType, Filters extends FiltersD
|
|
|
955
955
|
/** Function to handle data load */
|
|
956
956
|
onLoadData: OnLoadDataCallback<Record, Filters>;
|
|
957
957
|
onLoadError: OnLoadErrorCallback;
|
|
958
|
+
/**
|
|
959
|
+
* @deprecated This will be removed in the next major version
|
|
960
|
+
* Temporary prop to force the full width of the data collection (removes the X padding)
|
|
961
|
+
*/
|
|
962
|
+
tmpFullWidth?: boolean;
|
|
958
963
|
} & VisualizationOptions;
|
|
959
964
|
|
|
960
965
|
declare type CollectionVisualizations<Record extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<Record>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<Record>> = {
|
|
@@ -2920,7 +2925,11 @@ declare type PrevNextDateNavigation = {
|
|
|
2920
2925
|
next: DateRange | false;
|
|
2921
2926
|
};
|
|
2922
2927
|
|
|
2923
|
-
declare type PrimaryActionItemDefinition = Pick<DropdownItemObject, "
|
|
2928
|
+
declare type PrimaryActionItemDefinition = Pick<DropdownItemObject, "label" | "icon"> & {
|
|
2929
|
+
loading?: boolean;
|
|
2930
|
+
onClick?: () => void | Promise<void>;
|
|
2931
|
+
disabled?: boolean;
|
|
2932
|
+
};
|
|
2924
2933
|
|
|
2925
2934
|
/**
|
|
2926
2935
|
* Defines the structure and configuration of the primary action that can be performed on a collection.
|
|
@@ -3175,9 +3184,12 @@ declare type SecondaryActionGroup = {
|
|
|
3175
3184
|
* Defines the structure and configuration of secondary actions that can be performed on a collection.
|
|
3176
3185
|
* @returns An array of actions
|
|
3177
3186
|
*/
|
|
3178
|
-
declare type SecondaryActionItem = Pick<DropdownItemObject, "label" | "icon" | "description" | "critical"
|
|
3187
|
+
declare type SecondaryActionItem = Pick<DropdownItemObject, "label" | "icon" | "description" | "critical"> & {
|
|
3179
3188
|
enabled?: boolean;
|
|
3180
3189
|
hideLabelWhenExpanded?: boolean;
|
|
3190
|
+
loading?: boolean;
|
|
3191
|
+
disabled?: boolean;
|
|
3192
|
+
onClick?: () => void | Promise<void>;
|
|
3181
3193
|
};
|
|
3182
3194
|
|
|
3183
3195
|
declare type SecondaryActionsDefinition = {
|
|
@@ -3958,8 +3970,8 @@ declare module "@tiptap/core" {
|
|
|
3958
3970
|
|
|
3959
3971
|
declare module "@tiptap/core" {
|
|
3960
3972
|
interface Commands<ReturnType> {
|
|
3961
|
-
|
|
3962
|
-
|
|
3973
|
+
transcript: {
|
|
3974
|
+
insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
|
|
3963
3975
|
};
|
|
3964
3976
|
}
|
|
3965
3977
|
}
|
|
@@ -3967,18 +3979,13 @@ declare module "@tiptap/core" {
|
|
|
3967
3979
|
|
|
3968
3980
|
declare module "@tiptap/core" {
|
|
3969
3981
|
interface Commands<ReturnType> {
|
|
3970
|
-
|
|
3971
|
-
|
|
3982
|
+
liveCompanion: {
|
|
3983
|
+
insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
|
|
3972
3984
|
};
|
|
3973
3985
|
}
|
|
3974
3986
|
}
|
|
3975
3987
|
|
|
3976
3988
|
|
|
3977
|
-
declare namespace Calendar {
|
|
3978
|
-
var displayName: string;
|
|
3979
|
-
}
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
3989
|
declare module "@tiptap/core" {
|
|
3983
3990
|
interface Commands<ReturnType> {
|
|
3984
3991
|
moodTracker: {
|
|
@@ -3986,3 +3993,8 @@ declare module "@tiptap/core" {
|
|
|
3986
3993
|
};
|
|
3987
3994
|
}
|
|
3988
3995
|
}
|
|
3996
|
+
|
|
3997
|
+
|
|
3998
|
+
declare namespace Calendar {
|
|
3999
|
+
var displayName: string;
|
|
4000
|
+
}
|