@gfazioli/mantine-flip 1.0.20 → 1.0.21
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.
|
@@ -4,6 +4,6 @@ interface FlipContext {
|
|
|
4
4
|
}
|
|
5
5
|
export declare const FlipContextProvider: ({ children, value }: {
|
|
6
6
|
value: FlipContext;
|
|
7
|
-
children:
|
|
7
|
+
children: import("react").ReactNode;
|
|
8
8
|
}) => import("react/jsx-runtime").JSX.Element, useFlipContext: () => FlipContext;
|
|
9
9
|
export {};
|
package/dist/types/Flip.d.ts
CHANGED
|
@@ -45,17 +45,17 @@ export type FlipFactory = PolymorphicFactory<{
|
|
|
45
45
|
Target: typeof FlipTarget;
|
|
46
46
|
};
|
|
47
47
|
}>;
|
|
48
|
-
export declare const Flip: (<C = "div">(props: import("@mantine/core").PolymorphicComponentProps<C, FlipProps>) => React.ReactElement) & Omit<React.FunctionComponent<(FlipProps & {
|
|
48
|
+
export declare const Flip: (<C = "div">(props: import("@mantine/core").PolymorphicComponentProps<C, FlipProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & Omit<React.FunctionComponent<(FlipProps & {
|
|
49
49
|
component?: any;
|
|
50
50
|
} & Omit<Omit<any, "ref">, keyof FlipProps | "component"> & {
|
|
51
51
|
ref?: any;
|
|
52
|
-
renderRoot?: (
|
|
52
|
+
renderRoot?: (props: any) => any;
|
|
53
53
|
}) | (FlipProps & {
|
|
54
|
-
component:
|
|
55
|
-
renderRoot?: (
|
|
54
|
+
component: React.ElementType<any, keyof React.JSX.IntrinsicElements>;
|
|
55
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
56
56
|
})>, never> & import("@mantine/core/lib/core/factory/factory").ThemeExtend<{
|
|
57
57
|
props: FlipProps;
|
|
58
|
-
defaultComponent:
|
|
58
|
+
defaultComponent: 'div';
|
|
59
59
|
defaultRef: HTMLDivElement;
|
|
60
60
|
stylesNames: FlipStylesNames;
|
|
61
61
|
vars: FlipCssVariables;
|
|
@@ -64,7 +64,7 @@ export declare const Flip: (<C = "div">(props: import("@mantine/core").Polymorph
|
|
|
64
64
|
};
|
|
65
65
|
}> & import("@mantine/core/lib/core/factory/factory").ComponentClasses<{
|
|
66
66
|
props: FlipProps;
|
|
67
|
-
defaultComponent:
|
|
67
|
+
defaultComponent: 'div';
|
|
68
68
|
defaultRef: HTMLDivElement;
|
|
69
69
|
stylesNames: FlipStylesNames;
|
|
70
70
|
vars: FlipCssVariables;
|
|
@@ -73,7 +73,7 @@ export declare const Flip: (<C = "div">(props: import("@mantine/core").Polymorph
|
|
|
73
73
|
};
|
|
74
74
|
}> & import("@mantine/core/lib/core/factory/polymorphic-factory").PolymorphicComponentWithProps<{
|
|
75
75
|
props: FlipProps;
|
|
76
|
-
defaultComponent:
|
|
76
|
+
defaultComponent: 'div';
|
|
77
77
|
defaultRef: HTMLDivElement;
|
|
78
78
|
stylesNames: FlipStylesNames;
|
|
79
79
|
vars: FlipCssVariables;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gfazioli/mantine-flip",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.21",
|
|
4
4
|
"description": "Flip component is a wrapper for any component that can be flipped. It is used to create cards, flip boxes and more.",
|
|
5
5
|
"homepage": "https://gfazioli.github.io/mantine-flip/",
|
|
6
6
|
"packageManager": "yarn@4.0.1",
|