@factorialco/f0-react 1.201.3 → 1.201.5
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 +15 -1
- package/dist/experimental.js +7645 -7955
- package/dist/f0.js +2 -2
- package/dist/{hooks-CIWKebfc.js → hooks-XMhoGznF.js} +14 -13
- 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>;
|
|
@@ -1912,7 +1916,7 @@ declare interface ErrorMessageProps {
|
|
|
1912
1916
|
export declare type ExtractPropertyKeys<RecordType> = keyof RecordType;
|
|
1913
1917
|
|
|
1914
1918
|
export declare const F0AiBanner: ForwardRefExoticComponent<AiBannerInternalProps & RefAttributes<HTMLDivElement>> & {
|
|
1915
|
-
Skeleton: () => JSX_2.Element;
|
|
1919
|
+
Skeleton: ({ compact }: AiBannerSkeletonProps) => JSX_2.Element;
|
|
1916
1920
|
};
|
|
1917
1921
|
|
|
1918
1922
|
export declare type F0AiBannerProps = AiBannerInternalProps;
|
|
@@ -3005,6 +3009,14 @@ export declare interface NotesTextEditorProps {
|
|
|
3005
3009
|
withPadding?: boolean;
|
|
3006
3010
|
}
|
|
3007
3011
|
|
|
3012
|
+
export declare const NotesTextEditorSkeleton: ({ withHeader, withTitle, withPadding, }: NotesTextEditorSkeletonProps) => JSX_2.Element;
|
|
3013
|
+
|
|
3014
|
+
export declare interface NotesTextEditorSkeletonProps {
|
|
3015
|
+
withHeader?: boolean;
|
|
3016
|
+
withTitle?: boolean;
|
|
3017
|
+
withPadding?: boolean;
|
|
3018
|
+
}
|
|
3019
|
+
|
|
3008
3020
|
export declare const NumberInput: ForwardRefExoticComponent<Omit<NumberInputProps, "ref"> & RefAttributes<HTMLInputElement>>;
|
|
3009
3021
|
|
|
3010
3022
|
export declare type NumberInputProps = Omit<InputProps<string>, "value" | "type" | "onChange"> & {
|
|
@@ -3833,6 +3845,7 @@ showBar?: boolean;
|
|
|
3833
3845
|
viewportRef?: React.RefObject<HTMLDivElement>;
|
|
3834
3846
|
onScrollTop?: () => void;
|
|
3835
3847
|
onScrollBottom?: () => void;
|
|
3848
|
+
scrollMargin?: number;
|
|
3836
3849
|
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
|
|
3837
3850
|
|
|
3838
3851
|
export declare function SearchBar({ onClick, placeholder, shortcut, ...props }: SearchBarProps): JSX_2.Element;
|
|
@@ -3967,6 +3980,7 @@ export declare type SelectProps<T extends string, R = unknown> = {
|
|
|
3967
3980
|
} | {
|
|
3968
3981
|
source?: never;
|
|
3969
3982
|
mapOptions?: never;
|
|
3983
|
+
searchFn?: (option: SelectItemProps<T, unknown>, search?: string) => boolean | undefined;
|
|
3970
3984
|
options: SelectItemProps<T, unknown>[];
|
|
3971
3985
|
}) & Pick<InputFieldProps<T>, "loading" | "hideLabel" | "clearable" | "labelIcon" | "size" | "label" | "icon" | "placeholder" | "disabled" | "name" | "error" | "status" | "hint">;
|
|
3972
3986
|
|