@factorialco/f0-react 1.201.4 → 1.201.6
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 -1
- package/dist/experimental.js +8165 -8459
- package/dist/f0.d.ts +4 -0
- package/dist/f0.js +6 -2
- package/dist/{hooks-XMhoGznF.js → hooks-DmNAjFCl.js} +1393 -1381
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -223,6 +223,10 @@ declare interface AiBannerInternalProps {
|
|
|
223
223
|
secondaryAction?: AiBannerAction;
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
+
declare interface AiBannerSkeletonProps {
|
|
227
|
+
compact?: boolean;
|
|
228
|
+
}
|
|
229
|
+
|
|
226
230
|
declare interface AIBlockConfig {
|
|
227
231
|
buttons?: AIButton[];
|
|
228
232
|
onClick: (type: string) => Promise<JSONContent_2 | null>;
|
|
@@ -1666,6 +1670,10 @@ declare const defaultTranslations: {
|
|
|
1666
1670
|
readonly welcome: "Ask or create with One";
|
|
1667
1671
|
readonly initialMessage: "How can I help you today?";
|
|
1668
1672
|
};
|
|
1673
|
+
readonly select: {
|
|
1674
|
+
readonly noResults: "No results found";
|
|
1675
|
+
readonly loadingMore: "Loading...";
|
|
1676
|
+
};
|
|
1669
1677
|
};
|
|
1670
1678
|
|
|
1671
1679
|
export declare const DetailsItem: ForwardRefExoticComponent<DetailsItemType & RefAttributes<HTMLDivElement>>;
|
|
@@ -1912,7 +1920,7 @@ declare interface ErrorMessageProps {
|
|
|
1912
1920
|
export declare type ExtractPropertyKeys<RecordType> = keyof RecordType;
|
|
1913
1921
|
|
|
1914
1922
|
export declare const F0AiBanner: ForwardRefExoticComponent<AiBannerInternalProps & RefAttributes<HTMLDivElement>> & {
|
|
1915
|
-
Skeleton: () => JSX_2.Element;
|
|
1923
|
+
Skeleton: ({ compact }: AiBannerSkeletonProps) => JSX_2.Element;
|
|
1916
1924
|
};
|
|
1917
1925
|
|
|
1918
1926
|
export declare type F0AiBannerProps = AiBannerInternalProps;
|
|
@@ -2508,6 +2516,16 @@ declare type InputFieldProps<T> = {
|
|
|
2508
2516
|
appendTag?: string;
|
|
2509
2517
|
lengthProvider?: (value: T | undefined) => number;
|
|
2510
2518
|
loading?: boolean;
|
|
2519
|
+
loadingIndicator?: {
|
|
2520
|
+
/**
|
|
2521
|
+
* If true, the loading spinner will be displayed over the content without affecting the layout
|
|
2522
|
+
*/
|
|
2523
|
+
asOverlay?: boolean;
|
|
2524
|
+
/**
|
|
2525
|
+
* The offset of the loading spinner from the content
|
|
2526
|
+
*/
|
|
2527
|
+
offset?: number;
|
|
2528
|
+
};
|
|
2511
2529
|
};
|
|
2512
2530
|
|
|
2513
2531
|
declare type InputFieldSize = (typeof INPUTFIELD_SIZES)[number];
|
|
@@ -3005,6 +3023,14 @@ export declare interface NotesTextEditorProps {
|
|
|
3005
3023
|
withPadding?: boolean;
|
|
3006
3024
|
}
|
|
3007
3025
|
|
|
3026
|
+
export declare const NotesTextEditorSkeleton: ({ withHeader, withTitle, withPadding, }: NotesTextEditorSkeletonProps) => JSX_2.Element;
|
|
3027
|
+
|
|
3028
|
+
export declare interface NotesTextEditorSkeletonProps {
|
|
3029
|
+
withHeader?: boolean;
|
|
3030
|
+
withTitle?: boolean;
|
|
3031
|
+
withPadding?: boolean;
|
|
3032
|
+
}
|
|
3033
|
+
|
|
3008
3034
|
export declare const NumberInput: ForwardRefExoticComponent<Omit<NumberInputProps, "ref"> & RefAttributes<HTMLInputElement>>;
|
|
3009
3035
|
|
|
3010
3036
|
export declare type NumberInputProps = Omit<InputProps<string>, "value" | "type" | "onChange"> & {
|