@factorialco/f0-react 1.316.4 → 1.317.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/experimental.d.ts +35 -24
- package/dist/experimental.js +1608 -1593
- package/dist/f0.d.ts +50 -24
- package/dist/f0.js +27 -25
- package/dist/{hooks-DmXM-Y1T.js → hooks-CUFsqUWT.js} +5861 -5832
- package/dist/i18n-provider-defaults.d.ts +24 -24
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -1266,6 +1266,14 @@ declare type CardAvatarVariant = AvatarVariant | {
|
|
|
1266
1266
|
*/
|
|
1267
1267
|
declare type CardCollectionProps<Record extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<Record>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<Record>> = CollectionProps<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping, CardVisualizationOptions<Record, Filters, Sortings>>;
|
|
1268
1268
|
|
|
1269
|
+
declare type CardImageFit = (typeof cardImageFits)[number];
|
|
1270
|
+
|
|
1271
|
+
declare const cardImageFits: readonly ["contain", "cover", "fit-width", "fit-height", "scale-down"];
|
|
1272
|
+
|
|
1273
|
+
declare type CardImageSize = (typeof cardImageSizes)[number];
|
|
1274
|
+
|
|
1275
|
+
declare const cardImageSizes: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
1276
|
+
|
|
1269
1277
|
/**
|
|
1270
1278
|
* Card metadata property renderers.
|
|
1271
1279
|
* Each metadata item consists of an icon and a property with its data.
|
|
@@ -1309,6 +1317,9 @@ declare type CardVisualizationOptions<T, _Filters extends FiltersDefinition, _So
|
|
|
1309
1317
|
description?: (record: T) => string;
|
|
1310
1318
|
avatar?: (record: T) => CardAvatarVariant;
|
|
1311
1319
|
image?: (record: T) => string;
|
|
1320
|
+
imageFit?: CardImageFit;
|
|
1321
|
+
imageSize?: CardImageSize;
|
|
1322
|
+
blurredBackground?: boolean;
|
|
1312
1323
|
compact?: boolean;
|
|
1313
1324
|
};
|
|
1314
1325
|
|
|
@@ -6455,6 +6466,23 @@ declare global {
|
|
|
6455
6466
|
}
|
|
6456
6467
|
}
|
|
6457
6468
|
|
|
6469
|
+
declare module "gridstack" {
|
|
6470
|
+
interface GridStackWidget {
|
|
6471
|
+
id?: string;
|
|
6472
|
+
allowedSizes?: Array<{
|
|
6473
|
+
w: number;
|
|
6474
|
+
h: number;
|
|
6475
|
+
}>;
|
|
6476
|
+
meta?: Record<string, unknown>;
|
|
6477
|
+
}
|
|
6478
|
+
interface GridStackNode {
|
|
6479
|
+
allowedSizes?: Array<{
|
|
6480
|
+
w: number;
|
|
6481
|
+
h: number;
|
|
6482
|
+
}>;
|
|
6483
|
+
}
|
|
6484
|
+
}
|
|
6485
|
+
|
|
6458
6486
|
|
|
6459
6487
|
declare module "@tiptap/core" {
|
|
6460
6488
|
interface Commands<ReturnType> {
|
|
@@ -6467,8 +6495,8 @@ declare module "@tiptap/core" {
|
|
|
6467
6495
|
|
|
6468
6496
|
declare module "@tiptap/core" {
|
|
6469
6497
|
interface Commands<ReturnType> {
|
|
6470
|
-
|
|
6471
|
-
|
|
6498
|
+
transcript: {
|
|
6499
|
+
insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
|
|
6472
6500
|
};
|
|
6473
6501
|
}
|
|
6474
6502
|
}
|
|
@@ -6476,27 +6504,15 @@ declare module "@tiptap/core" {
|
|
|
6476
6504
|
|
|
6477
6505
|
declare module "@tiptap/core" {
|
|
6478
6506
|
interface Commands<ReturnType> {
|
|
6479
|
-
|
|
6480
|
-
|
|
6507
|
+
liveCompanion: {
|
|
6508
|
+
insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
|
|
6481
6509
|
};
|
|
6482
6510
|
}
|
|
6483
6511
|
}
|
|
6484
6512
|
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
|
|
6488
|
-
allowedSizes?: Array<{
|
|
6489
|
-
w: number;
|
|
6490
|
-
h: number;
|
|
6491
|
-
}>;
|
|
6492
|
-
meta?: Record<string, unknown>;
|
|
6493
|
-
}
|
|
6494
|
-
interface GridStackNode {
|
|
6495
|
-
allowedSizes?: Array<{
|
|
6496
|
-
w: number;
|
|
6497
|
-
h: number;
|
|
6498
|
-
}>;
|
|
6499
|
-
}
|
|
6513
|
+
|
|
6514
|
+
declare namespace Calendar {
|
|
6515
|
+
var displayName: string;
|
|
6500
6516
|
}
|
|
6501
6517
|
|
|
6502
6518
|
|
|
@@ -6507,8 +6523,3 @@ declare module "@tiptap/core" {
|
|
|
6507
6523
|
};
|
|
6508
6524
|
}
|
|
6509
6525
|
}
|
|
6510
|
-
|
|
6511
|
-
|
|
6512
|
-
declare namespace Calendar {
|
|
6513
|
-
var displayName: string;
|
|
6514
|
-
}
|