@smg-automotive/components 25.11.0-migrate-v3-header-full.4 → 25.11.0-migrate-use-toast.1
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/cjs/components/alert/index.d.ts +2 -2
- package/dist/cjs/components/alert/index.d.ts.map +1 -1
- package/dist/cjs/components/closeButton/index.d.ts +2 -2
- package/dist/cjs/components/closeButton/index.d.ts.map +1 -1
- package/dist/cjs/hooks/useToast/Toast.d.ts +12 -0
- package/dist/cjs/hooks/useToast/Toast.d.ts.map +1 -0
- package/dist/cjs/hooks/useToast/TopRightToast.d.ts +4 -0
- package/dist/cjs/hooks/useToast/TopRightToast.d.ts.map +1 -0
- package/dist/cjs/hooks/useToast/TopToaster.d.ts +4 -0
- package/dist/cjs/hooks/useToast/TopToaster.d.ts.map +1 -0
- package/dist/cjs/hooks/useToast/index.d.ts +9 -0
- package/dist/cjs/hooks/useToast/index.d.ts.map +1 -0
- package/dist/cjs/index.js +19 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/themes/shared/index.d.ts +16 -0
- package/dist/cjs/themes/shared/index.d.ts.map +1 -1
- package/dist/cjs/themes/shared/slotRecipes/alert.d.ts +16 -0
- package/dist/cjs/themes/shared/slotRecipes/alert.d.ts.map +1 -1
- package/dist/cjs/themes/shared/slotRecipes/index.d.ts +16 -0
- package/dist/cjs/themes/shared/slotRecipes/index.d.ts.map +1 -1
- package/dist/esm/components/alert/index.d.ts +2 -2
- package/dist/esm/components/alert/index.d.ts.map +1 -1
- package/dist/esm/components/closeButton/index.d.ts +2 -2
- package/dist/esm/components/closeButton/index.d.ts.map +1 -1
- package/dist/esm/hooks/useToast/Toast.d.ts +12 -0
- package/dist/esm/hooks/useToast/Toast.d.ts.map +1 -0
- package/dist/esm/hooks/useToast/TopRightToast.d.ts +4 -0
- package/dist/esm/hooks/useToast/TopRightToast.d.ts.map +1 -0
- package/dist/esm/hooks/useToast/TopToaster.d.ts +4 -0
- package/dist/esm/hooks/useToast/TopToaster.d.ts.map +1 -0
- package/dist/esm/hooks/useToast/index.d.ts +9 -0
- package/dist/esm/hooks/useToast/index.d.ts.map +1 -0
- package/dist/esm/themes/shared/index.d.ts +16 -0
- package/dist/esm/themes/shared/index.d.ts.map +1 -1
- package/dist/esm/themes/shared/slotRecipes/alert.d.ts +16 -0
- package/dist/esm/themes/shared/slotRecipes/alert.d.ts.map +1 -1
- package/dist/esm/themes/shared/slotRecipes/alert.js +19 -0
- package/dist/esm/themes/shared/slotRecipes/alert.js.map +1 -1
- package/dist/esm/themes/shared/slotRecipes/index.d.ts +16 -0
- package/dist/esm/themes/shared/slotRecipes/index.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1893,6 +1893,22 @@ export declare const getSharedConfig: () => {
|
|
|
1893
1893
|
};
|
|
1894
1894
|
};
|
|
1895
1895
|
};
|
|
1896
|
+
variant: {
|
|
1897
|
+
toast: {
|
|
1898
|
+
root: {
|
|
1899
|
+
translate: "var(--x) var(--y)";
|
|
1900
|
+
scale: "var(--scale)";
|
|
1901
|
+
width: "full";
|
|
1902
|
+
position: "relative";
|
|
1903
|
+
zIndex: "var(--z-index)";
|
|
1904
|
+
height: "var(--height)";
|
|
1905
|
+
opacity: "var(--opacity)";
|
|
1906
|
+
willChange: "translate, opacity, scale";
|
|
1907
|
+
transitionProperty: "common";
|
|
1908
|
+
transitionDuration: "normal";
|
|
1909
|
+
};
|
|
1910
|
+
};
|
|
1911
|
+
};
|
|
1896
1912
|
}>;
|
|
1897
1913
|
popoverFilter: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "body" | "trigger" | "close", import("@chakra-ui/react").SlotRecipeVariantRecord<"content" | "body" | "trigger" | "close">>;
|
|
1898
1914
|
numberInput: import("@chakra-ui/react").SlotRecipeDefinition<"root" | "control" | "input" | "incrementTrigger" | "decrementTrigger", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/themes/shared/index.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/themes/shared/index.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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37
37
|
};
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
|
+
variant: {
|
|
41
|
+
toast: {
|
|
42
|
+
root: {
|
|
43
|
+
translate: "var(--x) var(--y)";
|
|
44
|
+
scale: "var(--scale)";
|
|
45
|
+
width: "full";
|
|
46
|
+
position: "relative";
|
|
47
|
+
zIndex: "var(--z-index)";
|
|
48
|
+
height: "var(--height)";
|
|
49
|
+
opacity: "var(--opacity)";
|
|
50
|
+
willChange: "translate, opacity, scale";
|
|
51
|
+
transitionProperty: "common";
|
|
52
|
+
transitionDuration: "normal";
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
40
56
|
}>;
|
|
41
57
|
//# sourceMappingURL=alert.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../../../src/themes/shared/slotRecipes/alert.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../../../src/themes/shared/slotRecipes/alert.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsFtB,CAAC"}
|
|
@@ -1694,6 +1694,22 @@ export declare const slotRecipes: {
|
|
|
1694
1694
|
};
|
|
1695
1695
|
};
|
|
1696
1696
|
};
|
|
1697
|
+
variant: {
|
|
1698
|
+
toast: {
|
|
1699
|
+
root: {
|
|
1700
|
+
translate: "var(--x) var(--y)";
|
|
1701
|
+
scale: "var(--scale)";
|
|
1702
|
+
width: "full";
|
|
1703
|
+
position: "relative";
|
|
1704
|
+
zIndex: "var(--z-index)";
|
|
1705
|
+
height: "var(--height)";
|
|
1706
|
+
opacity: "var(--opacity)";
|
|
1707
|
+
willChange: "translate, opacity, scale";
|
|
1708
|
+
transitionProperty: "common";
|
|
1709
|
+
transitionDuration: "normal";
|
|
1710
|
+
};
|
|
1711
|
+
};
|
|
1712
|
+
};
|
|
1697
1713
|
}>;
|
|
1698
1714
|
popoverFilter: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "body" | "trigger" | "close", import("@chakra-ui/react").SlotRecipeVariantRecord<"content" | "body" | "trigger" | "close">>;
|
|
1699
1715
|
numberInput: import("@chakra-ui/react").SlotRecipeDefinition<"root" | "control" | "input" | "incrementTrigger" | "decrementTrigger", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/themes/shared/slotRecipes/index.ts"],"names":[],"mappings":"AA8BA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/themes/shared/slotRecipes/index.ts"],"names":[],"mappings":"AA8BA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BvB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
2
|
import { RecipeVariantProps } from '@chakra-ui/react';
|
|
3
3
|
import { alertRecipe } from 'src/themes/shared/slotRecipes/alert';
|
|
4
|
-
export
|
|
4
|
+
export type SharedProps = RecipeVariantProps<typeof alertRecipe> & {
|
|
5
5
|
description: string;
|
|
6
6
|
title?: string;
|
|
7
7
|
link?: {
|
|
@@ -13,7 +13,7 @@ export interface SharedProps extends RecipeVariantProps<typeof alertRecipe> {
|
|
|
13
13
|
};
|
|
14
14
|
icon?: React.ReactNode;
|
|
15
15
|
type?: 'error' | 'warning' | 'info' | 'success';
|
|
16
|
-
}
|
|
16
|
+
};
|
|
17
17
|
export type DismissibleProps = SharedProps & {
|
|
18
18
|
onDismiss?: () => void;
|
|
19
19
|
dismissible?: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAGL,kBAAkB,EAGnB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAKlE,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,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"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/closeButton/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGlC,KAAK,gBAAgB,GAAG;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAU5C,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { createToaster, RecipeVariantProps } from '@chakra-ui/react';
|
|
3
|
+
import { alertRecipe } from 'src/themes/shared/slotRecipes/alert';
|
|
4
|
+
export declare const toastConfig: {
|
|
5
|
+
pauseOnPageIdle: boolean;
|
|
6
|
+
max: number;
|
|
7
|
+
};
|
|
8
|
+
export type ToastProps = RecipeVariantProps<typeof alertRecipe> & {
|
|
9
|
+
toaster: ReturnType<typeof createToaster>;
|
|
10
|
+
};
|
|
11
|
+
export declare const Toast: FC<ToastProps>;
|
|
12
|
+
//# sourceMappingURL=Toast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useToast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAGL,aAAa,EAEb,kBAAkB,EAGnB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAIlE,eAAO,MAAM,WAAW;;;CAGvB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,kBAAkB,CAAC,OAAO,WAAW,CAAC,GAAG;IAChE,OAAO,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CA+ChC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TopRightToast.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useToast/TopRightToast.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKlC,eAAO,MAAM,eAAe,oCAG1B,CAAC;AAEH,eAAO,MAAM,aAAa,EAAE,EAE3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TopToaster.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useToast/TopToaster.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKlC,eAAO,MAAM,UAAU,oCAGrB,CAAC;AAEH,eAAO,MAAM,QAAQ,EAAE,EAEtB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SharedProps } from 'src/components/alert';
|
|
2
|
+
export type ToastOptions = {
|
|
3
|
+
position?: 'top' | 'top-right';
|
|
4
|
+
onClose?: () => void;
|
|
5
|
+
} & SharedProps;
|
|
6
|
+
export declare const useToast: () => (options: ToastOptions) => {
|
|
7
|
+
closeToast: () => void;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useToast/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAMnD,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,CAAC,EAAE,KAAK,GAAG,WAAW,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,GAAG,WAAW,CAAC;AAOhB,eAAO,MAAM,QAAQ,SACX,SAAS,YAAY;;CAgC9B,CAAC"}
|
|
@@ -1893,6 +1893,22 @@ export declare const getSharedConfig: () => {
|
|
|
1893
1893
|
};
|
|
1894
1894
|
};
|
|
1895
1895
|
};
|
|
1896
|
+
variant: {
|
|
1897
|
+
toast: {
|
|
1898
|
+
root: {
|
|
1899
|
+
translate: "var(--x) var(--y)";
|
|
1900
|
+
scale: "var(--scale)";
|
|
1901
|
+
width: "full";
|
|
1902
|
+
position: "relative";
|
|
1903
|
+
zIndex: "var(--z-index)";
|
|
1904
|
+
height: "var(--height)";
|
|
1905
|
+
opacity: "var(--opacity)";
|
|
1906
|
+
willChange: "translate, opacity, scale";
|
|
1907
|
+
transitionProperty: "common";
|
|
1908
|
+
transitionDuration: "normal";
|
|
1909
|
+
};
|
|
1910
|
+
};
|
|
1911
|
+
};
|
|
1896
1912
|
}>;
|
|
1897
1913
|
popoverFilter: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "body" | "trigger" | "close", import("@chakra-ui/react").SlotRecipeVariantRecord<"content" | "body" | "trigger" | "close">>;
|
|
1898
1914
|
numberInput: import("@chakra-ui/react").SlotRecipeDefinition<"root" | "control" | "input" | "incrementTrigger" | "decrementTrigger", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/themes/shared/index.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/themes/shared/index.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B1B,CAAC;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -37,5 +37,21 @@ export declare const alertRecipe: import("@chakra-ui/react").SlotRecipeDefinitio
|
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
|
+
variant: {
|
|
41
|
+
toast: {
|
|
42
|
+
root: {
|
|
43
|
+
translate: "var(--x) var(--y)";
|
|
44
|
+
scale: "var(--scale)";
|
|
45
|
+
width: "full";
|
|
46
|
+
position: "relative";
|
|
47
|
+
zIndex: "var(--z-index)";
|
|
48
|
+
height: "var(--height)";
|
|
49
|
+
opacity: "var(--opacity)";
|
|
50
|
+
willChange: "translate, opacity, scale";
|
|
51
|
+
transitionProperty: "common";
|
|
52
|
+
transitionDuration: "normal";
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
40
56
|
}>;
|
|
41
57
|
//# sourceMappingURL=alert.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../../../src/themes/shared/slotRecipes/alert.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../../../src/themes/shared/slotRecipes/alert.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsFtB,CAAC"}
|
|
@@ -65,6 +65,25 @@ var alertRecipe = defineSlotRecipe({
|
|
|
65
65
|
},
|
|
66
66
|
},
|
|
67
67
|
},
|
|
68
|
+
variant: {
|
|
69
|
+
toast: {
|
|
70
|
+
root: {
|
|
71
|
+
translate: 'var(--x) var(--y)',
|
|
72
|
+
scale: 'var(--scale)',
|
|
73
|
+
width: 'full',
|
|
74
|
+
position: 'relative',
|
|
75
|
+
zIndex: 'var(--z-index)',
|
|
76
|
+
height: 'var(--height)',
|
|
77
|
+
opacity: 'var(--opacity)',
|
|
78
|
+
willChange: 'translate, opacity, scale',
|
|
79
|
+
transitionProperty: 'common',
|
|
80
|
+
transitionDuration: 'normal',
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
defaultVariants: {
|
|
86
|
+
variant: 'toast',
|
|
68
87
|
},
|
|
69
88
|
});
|
|
70
89
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.js","sources":["../../../../../../src/themes/shared/slotRecipes/alert.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAEO,IAAM,WAAW,GAAG,gBAAgB,CAAC;AAC1C,IAAA,SAAS,EAAE,cAAc;IACzB,KAAK,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,aAAa,CAAC;AAE/D,IAAA,IAAI,EAAE;AACJ,QAAA,IAAI,EAAE;AACJ,YAAA,0BAA0B,EAAE,KAAK;AACjC,YAAA,OAAO,EAAE,MAAM;AACf,YAAA,UAAU,EAAE,QA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EAAE;AACT,oBAAA,KAAK,EAAE,WAAW;AACnB,iBAAA;AACF,aAAA;AACF,SAAA;AACF,KAAA;AACF,CAAA;;;;"}
|
|
1
|
+
{"version":3,"file":"alert.js","sources":["../../../../../../src/themes/shared/slotRecipes/alert.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAEO,IAAM,WAAW,GAAG,gBAAgB,CAAC;AAC1C,IAAA,SAAS,EAAE,cAAc;IACzB,KAAK,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,aAAa,CAAC;AAE/D,IAAA,IAAI,EAAE;AACJ,QAAA,IAAI,EAAE;AACJ,YAAA,0BAA0B,EAAE,KAAK;AACjC,YAAA,OAAO,EAAE,MAAM;AACf,YAAA,UAAU,EAAE,QAAQ;AACpB,YAAA,OAAO,EAAE,IAAI;AACb,YAAA,gBAAgB,EAAE,+BAA+B;AAClD,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,SAAS,EAAE,UAAU;AACtB,SAAA;AACD,QAAA,WAAW,EAAE;AACX,YAAA,SAAS,EAAE,MAAM;AAClB,SAAA;AACD,QAAA,SAAS,EAAE;AACT,YAAA,OAAO,EAAE,cAAc;AACvB,YAAA,UAAU,EAAE,CAAC;AACb,YAAA,SAAS,EAAE,OAAO;AAClB,YAAA,SAAS,EAAE,IAAI;AACf,YAAA,CAAC,EAAE,IAAI;AACP,YAAA,CAAC,EAAE,IAAI;AACR,SAAA;AACF,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,MAAM,EAAE;AACN,YAAA,KAAK,EAAE;AACL,gBAAA,IAAI,EAAE;AACJ,oBAAA,gBAAgB,EAAE,SAAS;AAC3B,oBAAA,EAAE,EAAE,SAAS;AACd,iBAAA;AACD,gBAAA,SAAS,EAAE;AACT,oBAAA,KAAK,EAAE,SAAS;AACjB,iBAAA;AACF,aAAA;AACD,YAAA,OAAO,EAAE;AACP,gBAAA,IAAI,EAAE;AACJ,oBAAA,gBAAg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
+
root: {
|
|
1700
|
+
translate: "var(--x) var(--y)";
|
|
1701
|
+
scale: "var(--scale)";
|
|
1702
|
+
width: "full";
|
|
1703
|
+
position: "relative";
|
|
1704
|
+
zIndex: "var(--z-index)";
|
|
1705
|
+
height: "var(--height)";
|
|
1706
|
+
opacity: "var(--opacity)";
|
|
1707
|
+
willChange: "translate, opacity, scale";
|
|
1708
|
+
transitionProperty: "common";
|
|
1709
|
+
transitionDuration: "normal";
|
|
1710
|
+
};
|
|
1711
|
+
};
|
|
1712
|
+
};
|
|
1697
1713
|
}>;
|
|
1698
1714
|
popoverFilter: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "body" | "trigger" | "close", import("@chakra-ui/react").SlotRecipeVariantRecord<"content" | "body" | "trigger" | "close">>;
|
|
1699
1715
|
numberInput: import("@chakra-ui/react").SlotRecipeDefinition<"root" | "control" | "input" | "incrementTrigger" | "decrementTrigger", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/themes/shared/slotRecipes/index.ts"],"names":[],"mappings":"AA8BA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/themes/shared/slotRecipes/index.ts"],"names":[],"mappings":"AA8BA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BvB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -431,7 +431,7 @@ type DatePickerProps = Pick<InputProps$1, 'onFocus' | 'onBlur' | 'onChange'> & I
|
|
|
431
431
|
value?: string;
|
|
432
432
|
invalid?: boolean;
|
|
433
433
|
};
|
|
434
|
-
declare const DatePicker: React__default.ForwardRefExoticComponent<Pick<InputProps$1, "
|
|
434
|
+
declare const DatePicker: React__default.ForwardRefExoticComponent<Pick<InputProps$1, "onFocus" | "onBlur" | "onChange"> & {
|
|
435
435
|
variant?: _chakra_ui_react.ConditionalValue<"outline" | undefined>;
|
|
436
436
|
size?: _chakra_ui_react.ConditionalValue<"md" | "lg" | undefined>;
|
|
437
437
|
} & {
|
package/package.json
CHANGED