@factorialco/f0-react 1.201.7 → 1.201.8
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 +11 -10
- package/dist/experimental.js +4332 -4345
- package/dist/f0.d.ts +5 -5
- package/dist/f0.js +2 -2
- package/dist/{hooks-Bg3-9LHc.js → hooks-cSFsvOLC.js} +44 -45
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -319,23 +319,24 @@ export declare const AlertDescription: React_2.ForwardRefExoticComponent<React_2
|
|
|
319
319
|
declare interface AlertProps extends VariantProps<typeof alertVariants> {
|
|
320
320
|
title: string;
|
|
321
321
|
description: string;
|
|
322
|
-
action
|
|
322
|
+
action?: {
|
|
323
323
|
label: string;
|
|
324
|
-
onClick
|
|
324
|
+
onClick: () => void;
|
|
325
325
|
};
|
|
326
326
|
link?: {
|
|
327
327
|
label: string;
|
|
328
328
|
href: string;
|
|
329
329
|
};
|
|
330
|
+
icon?: IconType;
|
|
330
331
|
variant: AlertVariant;
|
|
331
332
|
}
|
|
332
333
|
|
|
333
334
|
export declare const AlertTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLHeadingElement> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
334
335
|
|
|
335
|
-
declare type AlertVariant = "info" | "warning" | "critical";
|
|
336
|
+
declare type AlertVariant = "info" | "warning" | "critical" | "neutral" | "positive";
|
|
336
337
|
|
|
337
338
|
declare const alertVariants: (props?: ({
|
|
338
|
-
variant?: "info" | "critical" | "warning" | undefined;
|
|
339
|
+
variant?: "info" | "critical" | "warning" | "positive" | "neutral" | undefined;
|
|
339
340
|
} & ({
|
|
340
341
|
class?: ClassValue;
|
|
341
342
|
className?: never;
|
|
@@ -3114,7 +3115,7 @@ action: BulkAction,
|
|
|
3114
3115
|
...Parameters<OnSelectItemsCallback<Record, Filters>>
|
|
3115
3116
|
]) => void;
|
|
3116
3117
|
|
|
3117
|
-
export declare const OneAlert: ({ title, description, action, link, variant, }: AlertProps) => JSX_2.Element;
|
|
3118
|
+
export declare const OneAlert: ({ title, description, action, link, icon, variant, }: AlertProps) => JSX_2.Element;
|
|
3118
3119
|
|
|
3119
3120
|
export declare const OneApprovalHistory: FC<OneApprovalHistoryProps>;
|
|
3120
3121
|
|
|
@@ -5040,11 +5041,6 @@ declare module "@tiptap/core" {
|
|
|
5040
5041
|
}
|
|
5041
5042
|
|
|
5042
5043
|
|
|
5043
|
-
declare namespace Calendar {
|
|
5044
|
-
var displayName: string;
|
|
5045
|
-
}
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
5044
|
declare module "@tiptap/core" {
|
|
5049
5045
|
interface Commands<ReturnType> {
|
|
5050
5046
|
moodTracker: {
|
|
@@ -5052,3 +5048,8 @@ declare module "@tiptap/core" {
|
|
|
5052
5048
|
};
|
|
5053
5049
|
}
|
|
5054
5050
|
}
|
|
5051
|
+
|
|
5052
|
+
|
|
5053
|
+
declare namespace Calendar {
|
|
5054
|
+
var displayName: string;
|
|
5055
|
+
}
|