@factorialco/f0-react 1.215.0 → 1.216.0
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 +38 -9
- package/dist/experimental.js +7088 -6956
- package/dist/f0.d.ts +5 -5
- package/dist/f0.js +2 -2
- package/dist/{hooks-ZMPySqdc.js → hooks-D6jAJ7EH.js} +64 -64
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -794,7 +794,7 @@ declare interface ButtonProps_2 extends React_2.ButtonHTMLAttributes<HTMLButtonE
|
|
|
794
794
|
|
|
795
795
|
declare type ButtonSize = (typeof sizes)[number];
|
|
796
796
|
|
|
797
|
-
declare type ButtonVariant = (typeof
|
|
797
|
+
declare type ButtonVariant = (typeof variants_3)[number];
|
|
798
798
|
|
|
799
799
|
declare const buttonVariants: (props?: ({
|
|
800
800
|
disabled?: boolean | undefined;
|
|
@@ -844,6 +844,27 @@ export declare type CalendarMode = "single" | "range";
|
|
|
844
844
|
|
|
845
845
|
export declare type CalendarView = "day" | "month" | "year" | "week" | "quarter" | "halfyear";
|
|
846
846
|
|
|
847
|
+
declare type CalloutAction = {
|
|
848
|
+
label: string;
|
|
849
|
+
onClick: () => void;
|
|
850
|
+
icon?: IconType;
|
|
851
|
+
};
|
|
852
|
+
|
|
853
|
+
declare interface CalloutInternalProps {
|
|
854
|
+
title: string;
|
|
855
|
+
onClose?: () => void;
|
|
856
|
+
children: React.ReactNode;
|
|
857
|
+
actions?: CalloutAction[];
|
|
858
|
+
variant: CalloutVariant;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
declare interface CalloutSkeletonProps {
|
|
862
|
+
compact?: boolean;
|
|
863
|
+
variant?: CalloutVariant;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
declare type CalloutVariant = (typeof variants)[number];
|
|
867
|
+
|
|
847
868
|
declare type CardAvatarVariant = AvatarVariant | {
|
|
848
869
|
type: "emoji";
|
|
849
870
|
emoji: string;
|
|
@@ -987,7 +1008,7 @@ declare type ChartConfig_2 = {
|
|
|
987
1008
|
|
|
988
1009
|
declare const ChartContainer: React_2.ForwardRefExoticComponent<Omit<ChartContainerComponentProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
989
1010
|
|
|
990
|
-
declare interface ChartContainerComponentProps extends React_2.ComponentProps<"div">, VariantProps<typeof
|
|
1011
|
+
declare interface ChartContainerComponentProps extends React_2.ComponentProps<"div">, VariantProps<typeof variants_2> {
|
|
991
1012
|
config: ChartConfig_2;
|
|
992
1013
|
children: React_2.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
993
1014
|
}
|
|
@@ -2113,6 +2134,12 @@ declare interface F0ButtonToggleProps {
|
|
|
2113
2134
|
size?: "sm" | "md" | "lg";
|
|
2114
2135
|
}
|
|
2115
2136
|
|
|
2137
|
+
export declare const F0Callout: ForwardRefExoticComponent<CalloutInternalProps & RefAttributes<HTMLDivElement>> & {
|
|
2138
|
+
Skeleton: ({ compact, variant }: CalloutSkeletonProps) => JSX_2.Element;
|
|
2139
|
+
};
|
|
2140
|
+
|
|
2141
|
+
export declare type F0CalloutProps = CalloutInternalProps;
|
|
2142
|
+
|
|
2116
2143
|
export declare function F0TableOfContent(props: TOCProps): JSX_2.Element;
|
|
2117
2144
|
|
|
2118
2145
|
declare const F0TagAlert: ForwardRefExoticComponent<Props_8 & RefAttributes<HTMLDivElement>>;
|
|
@@ -4830,7 +4857,9 @@ declare type ValueDisplayVisualizationType = "table" | "card" | "list" | (string
|
|
|
4830
4857
|
|
|
4831
4858
|
declare type Variant = "neutral" | "info" | "positive" | "warning" | "critical";
|
|
4832
4859
|
|
|
4833
|
-
declare const variants:
|
|
4860
|
+
declare const variants: readonly ["ai", "critical", "positive", "info", "warning"];
|
|
4861
|
+
|
|
4862
|
+
declare const variants_2: (props?: ({
|
|
4834
4863
|
aspect?: "small" | "square" | "wide" | undefined;
|
|
4835
4864
|
} & ({
|
|
4836
4865
|
class?: ClassValue;
|
|
@@ -4840,7 +4869,7 @@ declare const variants: (props?: ({
|
|
|
4840
4869
|
className?: ClassValue;
|
|
4841
4870
|
})) | undefined) => string;
|
|
4842
4871
|
|
|
4843
|
-
declare const
|
|
4872
|
+
declare const variants_3: readonly ["default", "outline", "critical", "neutral", "ghost", "promote", "outlinePromote"];
|
|
4844
4873
|
|
|
4845
4874
|
export declare const VerticalBarChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
|
|
4846
4875
|
chart: VerticalBarChartProps;
|
|
@@ -5084,6 +5113,11 @@ declare module "@tiptap/core" {
|
|
|
5084
5113
|
}
|
|
5085
5114
|
|
|
5086
5115
|
|
|
5116
|
+
declare namespace Calendar {
|
|
5117
|
+
var displayName: string;
|
|
5118
|
+
}
|
|
5119
|
+
|
|
5120
|
+
|
|
5087
5121
|
declare module "@tiptap/core" {
|
|
5088
5122
|
interface Commands<ReturnType> {
|
|
5089
5123
|
moodTracker: {
|
|
@@ -5091,8 +5125,3 @@ declare module "@tiptap/core" {
|
|
|
5091
5125
|
};
|
|
5092
5126
|
}
|
|
5093
5127
|
}
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
declare namespace Calendar {
|
|
5097
|
-
var displayName: string;
|
|
5098
|
-
}
|