@factorialco/f0-react 1.303.2 → 1.303.4
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 +31 -23
- package/dist/experimental.js +249 -246
- package/dist/f0.d.ts +31 -23
- package/dist/f0.js +2 -2
- package/dist/{hooks-gNB11mSA.js → hooks-BvQUUeUk.js} +9374 -9362
- package/dist/i18n-provider-defaults.d.ts +22 -22
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -183,6 +183,10 @@ declare interface ActionCommonProps {
|
|
|
183
183
|
* The size of the action.
|
|
184
184
|
*/
|
|
185
185
|
size?: ActionSize;
|
|
186
|
+
/**
|
|
187
|
+
* The font size of the action.
|
|
188
|
+
*/
|
|
189
|
+
fontSize?: FontSize;
|
|
186
190
|
/**
|
|
187
191
|
* The render mode.
|
|
188
192
|
* @default "default"
|
|
@@ -1072,7 +1076,7 @@ declare type ButtonDropdownItem<T = string> = {
|
|
|
1072
1076
|
description?: string;
|
|
1073
1077
|
};
|
|
1074
1078
|
|
|
1075
|
-
declare type ButtonInternalProps = Pick<ActionProps, "size" | "disabled" | "className" | "pressed" | "compact" | "tooltip"> & DataAttributes & {
|
|
1079
|
+
declare type ButtonInternalProps = Pick<ActionProps, "size" | "disabled" | "className" | "pressed" | "compact" | "tooltip" | "fontSize"> & DataAttributes & {
|
|
1076
1080
|
/**
|
|
1077
1081
|
* The aria-label of the button if not provided title or label will be used.
|
|
1078
1082
|
*/
|
|
@@ -3254,6 +3258,10 @@ export declare type FlattenedItem = {
|
|
|
3254
3258
|
};
|
|
3255
3259
|
};
|
|
3256
3260
|
|
|
3261
|
+
declare type FontSize = (typeof fontSizes)[number];
|
|
3262
|
+
|
|
3263
|
+
declare const fontSizes: readonly ["sm", "md", "lg"];
|
|
3264
|
+
|
|
3257
3265
|
export declare function Form<Schema extends SchemaType, FormData extends InferSchema<Schema>>({ onSubmit, children, ...form }: {
|
|
3258
3266
|
children: React.ReactNode;
|
|
3259
3267
|
} & FormType<Schema, FormData>): JSX_2.Element;
|
|
@@ -6374,6 +6382,23 @@ declare global {
|
|
|
6374
6382
|
}
|
|
6375
6383
|
}
|
|
6376
6384
|
|
|
6385
|
+
declare module "gridstack" {
|
|
6386
|
+
interface GridStackWidget {
|
|
6387
|
+
id?: string;
|
|
6388
|
+
allowedSizes?: Array<{
|
|
6389
|
+
w: number;
|
|
6390
|
+
h: number;
|
|
6391
|
+
}>;
|
|
6392
|
+
meta?: Record<string, unknown>;
|
|
6393
|
+
}
|
|
6394
|
+
interface GridStackNode {
|
|
6395
|
+
allowedSizes?: Array<{
|
|
6396
|
+
w: number;
|
|
6397
|
+
h: number;
|
|
6398
|
+
}>;
|
|
6399
|
+
}
|
|
6400
|
+
}
|
|
6401
|
+
|
|
6377
6402
|
|
|
6378
6403
|
declare module "@tiptap/core" {
|
|
6379
6404
|
interface Commands<ReturnType> {
|
|
@@ -6401,28 +6426,6 @@ declare module "@tiptap/core" {
|
|
|
6401
6426
|
}
|
|
6402
6427
|
}
|
|
6403
6428
|
|
|
6404
|
-
declare module "gridstack" {
|
|
6405
|
-
interface GridStackWidget {
|
|
6406
|
-
id?: string;
|
|
6407
|
-
allowedSizes?: Array<{
|
|
6408
|
-
w: number;
|
|
6409
|
-
h: number;
|
|
6410
|
-
}>;
|
|
6411
|
-
meta?: Record<string, unknown>;
|
|
6412
|
-
}
|
|
6413
|
-
interface GridStackNode {
|
|
6414
|
-
allowedSizes?: Array<{
|
|
6415
|
-
w: number;
|
|
6416
|
-
h: number;
|
|
6417
|
-
}>;
|
|
6418
|
-
}
|
|
6419
|
-
}
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
declare namespace Calendar {
|
|
6423
|
-
var displayName: string;
|
|
6424
|
-
}
|
|
6425
|
-
|
|
6426
6429
|
|
|
6427
6430
|
declare module "@tiptap/core" {
|
|
6428
6431
|
interface Commands<ReturnType> {
|
|
@@ -6431,3 +6434,8 @@ declare module "@tiptap/core" {
|
|
|
6431
6434
|
};
|
|
6432
6435
|
}
|
|
6433
6436
|
}
|
|
6437
|
+
|
|
6438
|
+
|
|
6439
|
+
declare namespace Calendar {
|
|
6440
|
+
var displayName: string;
|
|
6441
|
+
}
|