@janbox/storefront-builder 2.0.16 → 2.0.18

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.
@@ -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-DyxX3P5n.js").then((t) => ({ default: t.WbTooltip }))), tl = z(
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),
@@ -23,3 +23,4 @@ export * from './date-picker';
23
23
  export * from './virtualized-list';
24
24
  export * from './svg-loader';
25
25
  export * from './floating';
26
+ export * from './toaster';
@@ -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,2 @@
1
+ export { pushToast } from './helpers';
2
+ export type { ToastVariant } from './helpers';
@@ -0,0 +1 @@
1
+ export declare const Toaster: () => import("@emotion/react/jsx-runtime").JSX.Element | null;