@smart-factor/gem-ui-components 0.0.63 → 0.0.64

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.
@@ -17,7 +17,7 @@ var T_ = (o, e, t, n) => ({
17
17
  import Gk, { jsx as Wt, jsxs as Fr, Fragment as Mb } from "react/jsx-runtime";
18
18
  import * as vr from "react";
19
19
  import { useCallback as pd, createContext as iQ, useContext as rQ, useState as kc, useEffect as uu, useMemo as Hm, useRef as aQ } from "react";
20
- import { ae as sQ, ag as lQ, G as Ix, ah as Mx, ai as A0, aj as cQ, a4 as tN, B as Um, ak as Rb, ac as eb, ad as nN, v as uQ, a8 as h2, aa as dQ, _ as AQ, n as hQ, f as pQ, a5 as gQ } from "./theme-BDBtRh3g.js";
20
+ import { ae as sQ, ag as lQ, G as Ix, ah as Mx, ai as A0, aj as cQ, a4 as tN, B as Um, ak as Rb, ac as eb, ad as nN, v as uQ, a8 as h2, aa as dQ, _ as AQ, n as hQ, f as pQ, a5 as gQ } from "./theme-Cpftb9Qh.js";
21
21
  import { C as oN, r as Qk } from "./Drawer-d8461jqd.js";
22
22
  import "react-dom";
23
23
  import "@mui/x-data-grid-pro";
@@ -5,3 +5,4 @@ export default meta;
5
5
  type Story = StoryObj<typeof meta>;
6
6
  export declare const Success: Story;
7
7
  export declare const Error: Story;
8
+ export declare const Info: Story;
@@ -8,5 +8,5 @@ export declare const StyledToastClose: import('@emotion/styled').StyledComponent
8
8
  export declare const ToastWrapper: import('@emotion/styled').StyledComponent<import('@mui/material').StackOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
9
9
  ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
10
10
  }, keyof import('@mui/material/OverridableComponent').CommonProps | keyof import('@mui/material').StackOwnProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
11
- type: 'success' | 'error';
11
+ type: 'success' | 'error' | 'info';
12
12
  }, {}, {}>;
@@ -1,4 +1,8 @@
1
- export declare function ToastContent({ message, id }: {
2
- message: string;
1
+ import { ReactNode } from 'react';
2
+
3
+ interface ToastContentProps {
4
+ message: ReactNode;
3
5
  id: string;
4
- }): import("react/jsx-runtime").JSX.Element;
6
+ }
7
+ export declare function ToastContent({ message, id }: ToastContentProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -1 +1,4 @@
1
- export declare const errorToast: (message: string) => void;
1
+ import { ReactNode } from 'react';
2
+ import { ToastOptions } from 'react-hot-toast';
3
+
4
+ export declare const errorToast: (message: ReactNode, options?: ToastOptions) => void;
@@ -1,2 +1,3 @@
1
1
  export { errorToast } from './errorToast';
2
+ export { infoToast } from './infoToast';
2
3
  export { successToast } from './successToast';
@@ -0,0 +1,4 @@
1
+ import { ReactNode } from 'react';
2
+ import { ToastOptions } from 'react-hot-toast';
3
+
4
+ export declare const infoToast: (message: ReactNode, options?: ToastOptions) => void;
@@ -1 +1,4 @@
1
- export declare const successToast: (message: string) => void;
1
+ import { ReactNode } from 'react';
2
+ import { ToastOptions } from 'react-hot-toast';
3
+
4
+ export declare const successToast: (message: ReactNode, options?: ToastOptions) => void;