@elliemae/ds-toast 3.17.0-next.9 → 3.17.0

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.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const ToastPosition: {
3
2
  readonly TOP_RIGHT: "top-right";
4
3
  readonly TOP_CENTER: "top-center";
@@ -17,10 +16,10 @@ export declare const ToastType: {
17
16
  };
18
17
  export declare const toastTypes: readonly ["info", "success", "warning", "error", "default"];
19
18
  export declare const TYPE_TO_ICON: {
20
- readonly success: (props: any) => JSX.Element;
21
- readonly warning: (props: import("@elliemae/ds-icons").SvgIconT.Props) => JSX.Element;
22
- readonly info: (rest: any) => JSX.Element;
23
- readonly error: (props: import("@elliemae/ds-icons").SvgIconT.Props) => JSX.Element;
19
+ readonly success: (props: import("@elliemae/ds-icons").SvgIconT.Props) => import("react/jsx-runtime").JSX.Element;
20
+ readonly warning: (props: import("@elliemae/ds-icons").SvgIconT.Props) => import("react/jsx-runtime").JSX.Element;
21
+ readonly info: (rest: import("@elliemae/ds-icons").SvgIconT.Props) => import("react/jsx-runtime").JSX.Element;
22
+ readonly error: (props: import("@elliemae/ds-icons").SvgIconT.Props) => import("react/jsx-runtime").JSX.Element;
24
23
  readonly default: () => null;
25
24
  };
26
25
  export declare const TYPE_TO_ICON_COLOR: {
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  import type { DSToastT } from '../react-desc-prop-types.js';
3
2
  interface CloseButtonProps {
4
3
  closeToast: () => void;
5
4
  }
6
5
  export declare const CloseButton: ({ closeButtonRef }: {
7
6
  closeButtonRef: DSToastT.Props['closeButtonRef'];
8
- }) => ({ closeToast }: CloseButtonProps) => JSX.Element;
7
+ }) => ({ closeToast }: CloseButtonProps) => import("react/jsx-runtime.js").JSX.Element;
9
8
  export {};
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { SvgIconT } from '@elliemae/ds-icons';
3
3
  import type { DSToastT } from '../react-desc-prop-types.js';
4
- export declare const getIconByToastType: (type: DSToastT.ToastTypes) => ((props: any) => JSX.Element) | ((props: SvgIconT.Props) => JSX.Element) | ((rest: any) => JSX.Element) | ((props: SvgIconT.Props) => JSX.Element) | (() => null);
4
+ export declare const getIconByToastType: (type: DSToastT.ToastTypes) => ((props: SvgIconT.Props) => import("react/jsx-runtime.js").JSX.Element) | ((props: SvgIconT.Props) => import("react/jsx-runtime.js").JSX.Element) | ((rest: SvgIconT.Props) => import("react/jsx-runtime.js").JSX.Element) | ((props: SvgIconT.Props) => import("react/jsx-runtime.js").JSX.Element) | (() => null);
5
5
  export declare const getIconColorByToastType: (type: DSToastT.ToastTypes) => SvgIconT.ColorType;
6
6
  export interface DSToastContentProps {
7
7
  type?: DSToastT.ToastTypes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-toast",
3
- "version": "3.17.0-next.9",
3
+ "version": "3.17.0",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Toast",
6
6
  "files": [
@@ -62,10 +62,10 @@
62
62
  "@xstyled/system": "~3.7.3",
63
63
  "@xstyled/util": "3.7.0",
64
64
  "react-toastify": "~6.2.0",
65
- "@elliemae/ds-button-v2": "3.17.0-next.9",
66
- "@elliemae/ds-system": "3.17.0-next.9",
67
- "@elliemae/ds-props-helpers": "3.17.0-next.9",
68
- "@elliemae/ds-icons": "3.17.0-next.9"
65
+ "@elliemae/ds-button-v2": "3.17.0",
66
+ "@elliemae/ds-props-helpers": "3.17.0",
67
+ "@elliemae/ds-system": "3.17.0",
68
+ "@elliemae/ds-icons": "3.17.0"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@testing-library/jest-dom": "~5.16.5",