@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/experimental.d.ts
CHANGED
|
@@ -1394,6 +1394,11 @@ export declare type CollectionProps<Record extends RecordType, Filters extends F
|
|
|
1394
1394
|
/** Function to handle data load */
|
|
1395
1395
|
onLoadData: OnLoadDataCallback<Record, Filters>;
|
|
1396
1396
|
onLoadError: OnLoadErrorCallback;
|
|
1397
|
+
/**
|
|
1398
|
+
* @deprecated This will be removed in the next major version
|
|
1399
|
+
* Temporary prop to force the full width of the data collection (removes the X padding)
|
|
1400
|
+
*/
|
|
1401
|
+
tmpFullWidth?: boolean;
|
|
1397
1402
|
} & VisualizationOptions;
|
|
1398
1403
|
|
|
1399
1404
|
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>> = {
|
|
@@ -3786,6 +3791,10 @@ declare type OneDataCollectionProps<R extends RecordType, Filters extends Filter
|
|
|
3786
3791
|
*/
|
|
3787
3792
|
features?: DataCollectionStorageFeaturesDefinition;
|
|
3788
3793
|
};
|
|
3794
|
+
/**
|
|
3795
|
+
* @deprecated removes the horizontal padding from the data collection
|
|
3796
|
+
*/
|
|
3797
|
+
tmpFullWidth?: boolean;
|
|
3789
3798
|
};
|
|
3790
3799
|
|
|
3791
3800
|
export declare function OneDateNavigator({ onSelect, defaultValue, presets, granularities, hideNavigation, hideGoToCurrent, compareTo, defaultCompareTo, onCompareToChange, value, ...props }: OneDatePickerProps): JSX_2.Element;
|
|
@@ -4208,7 +4217,11 @@ declare interface PrimaryActionButton extends PrimaryAction {
|
|
|
4208
4217
|
onClick: () => void;
|
|
4209
4218
|
}
|
|
4210
4219
|
|
|
4211
|
-
export declare type PrimaryActionItemDefinition = Pick<DropdownItemObject, "
|
|
4220
|
+
export declare type PrimaryActionItemDefinition = Pick<DropdownItemObject, "label" | "icon"> & {
|
|
4221
|
+
loading?: boolean;
|
|
4222
|
+
onClick?: () => void | Promise<void>;
|
|
4223
|
+
disabled?: boolean;
|
|
4224
|
+
};
|
|
4212
4225
|
|
|
4213
4226
|
/**
|
|
4214
4227
|
* Defines the structure and configuration of the primary action that can be performed on a collection.
|
|
@@ -4571,9 +4584,12 @@ export declare type SecondaryActionGroup = {
|
|
|
4571
4584
|
* Defines the structure and configuration of secondary actions that can be performed on a collection.
|
|
4572
4585
|
* @returns An array of actions
|
|
4573
4586
|
*/
|
|
4574
|
-
export declare type SecondaryActionItem = Pick<DropdownItemObject, "label" | "icon" | "description" | "critical"
|
|
4587
|
+
export declare type SecondaryActionItem = Pick<DropdownItemObject, "label" | "icon" | "description" | "critical"> & {
|
|
4575
4588
|
enabled?: boolean;
|
|
4576
4589
|
hideLabelWhenExpanded?: boolean;
|
|
4590
|
+
loading?: boolean;
|
|
4591
|
+
disabled?: boolean;
|
|
4592
|
+
onClick?: () => void | Promise<void>;
|
|
4577
4593
|
};
|
|
4578
4594
|
|
|
4579
4595
|
export declare type SecondaryActionsDefinition = {
|
|
@@ -5710,8 +5726,8 @@ declare module "@tiptap/core" {
|
|
|
5710
5726
|
|
|
5711
5727
|
declare module "@tiptap/core" {
|
|
5712
5728
|
interface Commands<ReturnType> {
|
|
5713
|
-
|
|
5714
|
-
|
|
5729
|
+
transcript: {
|
|
5730
|
+
insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
|
|
5715
5731
|
};
|
|
5716
5732
|
}
|
|
5717
5733
|
}
|
|
@@ -5719,18 +5735,13 @@ declare module "@tiptap/core" {
|
|
|
5719
5735
|
|
|
5720
5736
|
declare module "@tiptap/core" {
|
|
5721
5737
|
interface Commands<ReturnType> {
|
|
5722
|
-
|
|
5723
|
-
|
|
5738
|
+
liveCompanion: {
|
|
5739
|
+
insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
|
|
5724
5740
|
};
|
|
5725
5741
|
}
|
|
5726
5742
|
}
|
|
5727
5743
|
|
|
5728
5744
|
|
|
5729
|
-
declare namespace Calendar {
|
|
5730
|
-
var displayName: string;
|
|
5731
|
-
}
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
5745
|
declare module "@tiptap/core" {
|
|
5735
5746
|
interface Commands<ReturnType> {
|
|
5736
5747
|
moodTracker: {
|
|
@@ -5738,3 +5749,8 @@ declare module "@tiptap/core" {
|
|
|
5738
5749
|
};
|
|
5739
5750
|
}
|
|
5740
5751
|
}
|
|
5752
|
+
|
|
5753
|
+
|
|
5754
|
+
declare namespace Calendar {
|
|
5755
|
+
var displayName: string;
|
|
5756
|
+
}
|