@janbox/storefront-builder 2.0.16 → 2.0.17
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/{countdown-timer.node-DkkpScmT.js → countdown-timer.node-B1zlySOV.js} +11 -1
- package/dist/editor/ui/index.d.ts +1 -0
- package/dist/editor/ui/toaster/helpers.d.ts +10 -0
- package/dist/editor/ui/toaster/index.d.ts +2 -0
- package/dist/editor/ui/toaster/toaster.d.ts +1 -0
- package/dist/editor.js +2416 -2214
- package/dist/{index-D7fewN0t.js → index-Cl02EX34.js} +1 -1
- package/dist/index-D6iOLmDe.js +4 -0
- package/dist/index.js +3 -3
- package/dist/templates.js +1 -1
- package/dist/{tooltip-wtuK4AA6.js → tooltip-CLs3ofGk.js} +1 -1
- package/package.json +1 -1
- package/dist/index-DyxX3P5n.js +0 -4
|
@@ -2078,11 +2078,21 @@ const Xa = {
|
|
|
2078
2078
|
light: "#f9f9f9",
|
|
2079
2079
|
red: {
|
|
2080
2080
|
"4s": "#ff7875",
|
|
2081
|
+
"5s": "#ff4d4f",
|
|
2081
2082
|
"6s": "#f5222d"
|
|
2082
2083
|
},
|
|
2083
2084
|
orange: {
|
|
2085
|
+
"5s": "#ffa940",
|
|
2084
2086
|
"6s": "#fa8c16"
|
|
2085
2087
|
},
|
|
2088
|
+
green: {
|
|
2089
|
+
"5s": "#73d13d",
|
|
2090
|
+
"6s": "#389e0d"
|
|
2091
|
+
},
|
|
2092
|
+
blue: {
|
|
2093
|
+
"4s": "#61a3ff",
|
|
2094
|
+
"6s": "#0f62fe"
|
|
2095
|
+
},
|
|
2086
2096
|
ink: {
|
|
2087
2097
|
"1s": "#f2f2f2",
|
|
2088
2098
|
"2s": "#dddddd",
|
|
@@ -2171,7 +2181,7 @@ O(Ja, {
|
|
|
2171
2181
|
displayName: "Grid"
|
|
2172
2182
|
}
|
|
2173
2183
|
});
|
|
2174
|
-
const Qa = Go(() => import("./index-
|
|
2184
|
+
const Qa = Go(() => import("./index-D6iOLmDe.js").then((t) => ({ default: t.WbTooltip }))), tl = z(
|
|
2175
2185
|
({ tooltip: t, size: e = "24", type: n = "button", isHighlighted: i, ...r }, s) => {
|
|
2176
2186
|
const o = {
|
|
2177
2187
|
width: Number(e),
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type ToastVariant = 'info' | 'success' | 'warning' | 'error';
|
|
2
|
+
export type Toast = {
|
|
3
|
+
id: string;
|
|
4
|
+
message: string;
|
|
5
|
+
variant?: ToastVariant;
|
|
6
|
+
duration?: number;
|
|
7
|
+
};
|
|
8
|
+
export declare const pushToast: (toast: Omit<Toast, "id">) => string;
|
|
9
|
+
export declare const dismissToast: (id: string) => void;
|
|
10
|
+
export declare const useToastStore: () => Toast[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Toaster: () => import("@emotion/react/jsx-runtime").JSX.Element | null;
|