@prosperitainova/mirage-ui 1.1.48 → 1.1.49
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/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/lib/ExternalToast/ExternalToast.d.ts +3 -0
- package/dist/cjs/types/lib/ExternalToast/ExternalToastTest.d.ts +2 -0
- package/dist/cjs/types/lib/ExternalToast/ExternalToastTest.stories.d.ts +7 -0
- package/dist/cjs/types/lib/ExternalToast/index.d.ts +1 -0
- package/dist/cjs/types/lib/SideBar/SideBar.d.ts +2 -0
- package/dist/cjs/types/lib/index.d.ts +1 -0
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/ExternalToast/ExternalToast.d.ts +3 -0
- package/dist/esm/types/lib/ExternalToast/ExternalToastTest.d.ts +2 -0
- package/dist/esm/types/lib/ExternalToast/ExternalToastTest.stories.d.ts +7 -0
- package/dist/esm/types/lib/ExternalToast/index.d.ts +1 -0
- package/dist/esm/types/lib/SideBar/SideBar.d.ts +2 -0
- package/dist/esm/types/lib/index.d.ts +1 -0
- package/dist/index.d.ts +4 -1
- package/package.json +3 -2
|
@@ -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 @@
|
|
|
1
|
+
export { default, error, info, success, warning } from "./ExternalToast";
|
|
@@ -35,3 +35,4 @@ export { default as Tooltip } from "./TooltTip";
|
|
|
35
35
|
export { default as TooltipCustom } from "./TooltipCustom";
|
|
36
36
|
export { default as NotControlledToolTip } from "./NotControlledTooltip";
|
|
37
37
|
export { default as BottomModal } from "./BottomModal";
|
|
38
|
+
export { default as ExternalToast } from "./ExternalToast";
|
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 = {
|
|
@@ -428,5 +429,7 @@ type ModalProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
428
429
|
};
|
|
429
430
|
declare const BottomModal: (props: ModalProps) => JSX.Element;
|
|
430
431
|
|
|
431
|
-
|
|
432
|
+
declare const ExternalToast: () => JSX.Element;
|
|
433
|
+
|
|
434
|
+
export { AddBalanceOutput, BalanceAlert, BottomModal, Breadcrumb, Button, ButtonDropdown, ButtonMoreDetails, Checkbox, CustomSelect, Dropzone, ExternalToast, IconWithTooltip, Input, InputCurrency, InputToken, InteractiveModal, lateralModal as LateralModal, Margin, MenuDropdown as Menudropdown, NotcontrolledTooltip as NotControlledToolTip, NotificationBar as NotificationsBar, Padding, Pagination, ParcelSelector, ProgressBar, Radio, RadioGroup, ReturnButton, Search, SideBar, Spacer, SummaryPanel, TabMenu, Table, Toast, Toggle, Tooltip, TooltipCustom };
|
|
432
435
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosperitainova/mirage-ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.49",
|
|
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
|
+
}
|