@prosperitainova/mirage-ui 1.1.48 → 1.1.50

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.
@@ -0,0 +1,3 @@
1
+ declare const ExternalToast: () => JSX.Element;
2
+ export default ExternalToast;
3
+ export declare const success: <TData = unknown>(content: import("react-toastify").ToastContent<TData>, options?: import("react-toastify").ToastOptions<{}> | undefined) => import("react-toastify").Id, error: <TData = unknown>(content: import("react-toastify").ToastContent<TData>, options?: import("react-toastify").ToastOptions<{}> | undefined) => import("react-toastify").Id, warning: <TData = unknown>(content: import("react-toastify").ToastContent<TData>, options?: import("react-toastify").ToastOptions<{}> | undefined) => import("react-toastify").Id, info: <TData = unknown>(content: import("react-toastify").ToastContent<TData>, options?: import("react-toastify").ToastOptions<{}> | undefined) => import("react-toastify").Id;
@@ -0,0 +1,2 @@
1
+ declare const ExternalToastTest: () => JSX.Element;
2
+ export default ExternalToastTest;
@@ -0,0 +1,7 @@
1
+ import { Story } from "@storybook/react";
2
+ declare const ExternalToastStories: {
3
+ title: string;
4
+ component: () => JSX.Element;
5
+ };
6
+ export default ExternalToastStories;
7
+ export declare const Success: Story<import("@storybook/react").Args>;
@@ -0,0 +1 @@
1
+ export { default, error, info, success, warning } from "./ExternalToast";
@@ -1,7 +1,9 @@
1
+ /// <reference types="react" />
1
2
  import "../../../src/theme/fonts/ProximaNova.css";
2
3
  export type MenuItem = {
3
4
  icon: string;
4
5
  text: string;
6
+ render?: () => JSX.Element;
5
7
  onMenuClick?: (index: number) => void;
6
8
  };
7
9
  export type SideBarProps = {
package/dist/index.d.ts CHANGED
@@ -196,6 +196,7 @@ declare const CustomSelect: (props: SelectProps) => JSX.Element;
196
196
  type MenuItem = {
197
197
  icon: string;
198
198
  text: string;
199
+ render?: () => JSX.Element;
199
200
  onMenuClick?: (index: number) => void;
200
201
  };
201
202
  type SideBarProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosperitainova/mirage-ui",
3
- "version": "1.1.48",
3
+ "version": "1.1.50",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -17,6 +17,7 @@
17
17
  "react-input-mask": "^2.0.4",
18
18
  "react-number-format": "^5.2.2",
19
19
  "react-select": "^5.7.0",
20
+ "react-toastify": "^9.1.3",
20
21
  "reactstrap": "^9.2.0",
21
22
  "typescript": "^4.9.4"
22
23
  },
@@ -105,4 +106,4 @@
105
106
  "dist"
106
107
  ],
107
108
  "types": "dist/index.d.ts"
108
- }
109
+ }