@factorialco/f0-react 1.338.1 → 1.338.2
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/{AiChatTranslationsProvider-BKb05OK7.js → AiChatTranslationsProvider-BulxdO3i.js} +1494 -1579
- package/dist/{DataCollectionStorageProvider-4dXvrEW_.js → DataCollectionStorageProvider-5taE9u3d.js} +5539 -5539
- package/dist/ai.d.ts +10 -0
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +154 -58
- package/dist/experimental.js +9179 -9341
- package/dist/f0.d.ts +29 -0
- package/dist/f0.js +1016 -935
- package/dist/i18n-provider-defaults.d.ts +10 -0
- package/dist/{index-DVftYrQG.js → index-fCzRlkIl.js} +12800 -12714
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/f0.d.ts
CHANGED
|
@@ -265,6 +265,8 @@ declare const alertAvatarVariants: (props?: ({
|
|
|
265
265
|
|
|
266
266
|
declare type AlertTagProps = ComponentProps<typeof F0TagAlert>;
|
|
267
267
|
|
|
268
|
+
export declare type AlertVariant = "info" | "warning" | "critical" | "neutral" | "positive";
|
|
269
|
+
|
|
268
270
|
declare const _allowedVariants: readonly ["heading", "heading-large"];
|
|
269
271
|
|
|
270
272
|
declare const _allowedVariants_2: readonly ["body", "description", "small", "inverse", "code", "label"];
|
|
@@ -2151,6 +2153,23 @@ declare type ExtractVisualizationSettings<T> = T extends {
|
|
|
2151
2153
|
};
|
|
2152
2154
|
} ? S : never;
|
|
2153
2155
|
|
|
2156
|
+
export declare const F0Alert: ({ title, description, action, link, icon, variant, }: F0AlertProps) => JSX_2.Element;
|
|
2157
|
+
|
|
2158
|
+
export declare interface F0AlertProps {
|
|
2159
|
+
title: string;
|
|
2160
|
+
description: string;
|
|
2161
|
+
action?: {
|
|
2162
|
+
label: string;
|
|
2163
|
+
onClick: () => void;
|
|
2164
|
+
};
|
|
2165
|
+
link?: {
|
|
2166
|
+
label: string;
|
|
2167
|
+
href: string;
|
|
2168
|
+
};
|
|
2169
|
+
icon?: IconType;
|
|
2170
|
+
variant: AlertVariant;
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2154
2173
|
export declare const F0Avatar: ({ avatar, size }: AvatarProps) => ReactNode;
|
|
2155
2174
|
|
|
2156
2175
|
export declare const F0AvatarAlert: ({ type, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: AlertAvatarProps) => JSX_2.Element;
|
|
@@ -5267,6 +5286,16 @@ declare global {
|
|
|
5267
5286
|
}
|
|
5268
5287
|
}
|
|
5269
5288
|
|
|
5289
|
+
|
|
5290
|
+
declare namespace _DaytimePage {
|
|
5291
|
+
var displayName: string;
|
|
5292
|
+
}
|
|
5293
|
+
|
|
5294
|
+
|
|
5295
|
+
declare namespace _Page {
|
|
5296
|
+
var displayName: string;
|
|
5297
|
+
}
|
|
5298
|
+
|
|
5270
5299
|
declare module "gridstack" {
|
|
5271
5300
|
interface GridStackWidget {
|
|
5272
5301
|
id?: string;
|