@prosperitainova/mirage-ui 1.1.43 → 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 +9 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/lib/Dropzone/Dropzone.d.ts +0 -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/NotControlledTooltip/NotControlledTooltip.d.ts +4 -0
- package/dist/cjs/types/lib/NotControlledTooltip/NotControlledTooltip.stories.d.ts +7 -0
- package/dist/cjs/types/lib/NotControlledTooltip/index.d.ts +1 -0
- package/dist/cjs/types/lib/SideBar/SideBar.d.ts +1 -0
- package/dist/cjs/types/lib/TooltipCustom/TooltipCustom.d.ts +4 -0
- package/dist/cjs/types/lib/TooltipCustom/TooltipCustom.stories.d.ts +7 -0
- package/dist/cjs/types/lib/TooltipCustom/index.d.ts +1 -0
- package/dist/cjs/types/lib/index.d.ts +3 -0
- package/dist/esm/index.js +9 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/Dropzone/Dropzone.d.ts +0 -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/NotControlledTooltip/NotControlledTooltip.d.ts +4 -0
- package/dist/esm/types/lib/NotControlledTooltip/NotControlledTooltip.stories.d.ts +7 -0
- package/dist/esm/types/lib/NotControlledTooltip/index.d.ts +1 -0
- package/dist/esm/types/lib/SideBar/SideBar.d.ts +1 -0
- package/dist/esm/types/lib/TooltipCustom/TooltipCustom.d.ts +4 -0
- package/dist/esm/types/lib/TooltipCustom/TooltipCustom.stories.d.ts +7 -0
- package/dist/esm/types/lib/TooltipCustom/index.d.ts +1 -0
- package/dist/esm/types/lib/index.d.ts +3 -0
- package/dist/index.d.ts +11 -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";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Story } from "@storybook/react";
|
|
2
|
+
declare const TooltipStories: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: (props: import("reactstrap").UncontrolledTooltipProps) => JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
export default TooltipStories;
|
|
7
|
+
export declare const Icon: Story<import("reactstrap").UncontrolledTooltipProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./NotControlledTooltip";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Story } from "@storybook/react";
|
|
2
|
+
declare const TooltipStories: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: (props: import("reactstrap").TooltipProps) => JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
export default TooltipStories;
|
|
7
|
+
export declare const Icon: Story<import("reactstrap").TooltipProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./TooltipCustom";
|
|
@@ -32,4 +32,7 @@ export { default as ButtonMoreDetails } from "./ButtonMoreDetails";
|
|
|
32
32
|
export { default as AddBalanceOutput } from "./AddBalanceOutput";
|
|
33
33
|
export { default as IconWithTooltip } from "./IconWithTooltip";
|
|
34
34
|
export { default as Tooltip } from "./TooltTip";
|
|
35
|
+
export { default as TooltipCustom } from "./TooltipCustom";
|
|
36
|
+
export { default as NotControlledToolTip } from "./NotControlledTooltip";
|
|
35
37
|
export { default as BottomModal } from "./BottomModal";
|
|
38
|
+
export { default as ExternalToast } from "./ExternalToast";
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import React, { ButtonHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, HTMLAttributes, ChangeEvent, LiHTMLAttributes } from 'react';
|
|
3
3
|
import { DropzoneProps as DropzoneProps$1 } from 'react-dropzone';
|
|
4
4
|
import { Props } from 'react-select';
|
|
5
|
+
import { TooltipProps, UncontrolledTooltipProps } from 'reactstrap';
|
|
5
6
|
|
|
6
7
|
type ItemsProps = {
|
|
7
8
|
label: string;
|
|
@@ -195,6 +196,7 @@ declare const CustomSelect: (props: SelectProps) => JSX.Element;
|
|
|
195
196
|
type MenuItem = {
|
|
196
197
|
icon: string;
|
|
197
198
|
text: string;
|
|
199
|
+
render?: () => JSX.Element;
|
|
198
200
|
onMenuClick?: (index: number) => void;
|
|
199
201
|
};
|
|
200
202
|
type SideBarProps = {
|
|
@@ -412,6 +414,12 @@ type IconProps = {
|
|
|
412
414
|
};
|
|
413
415
|
declare const Tooltip: (props: IconProps) => JSX.Element;
|
|
414
416
|
|
|
417
|
+
type TooltipCustomProps = {} & TooltipProps;
|
|
418
|
+
declare const TooltipCustom: (props: TooltipCustomProps) => JSX.Element;
|
|
419
|
+
|
|
420
|
+
type NotControlledTooltipsProps = {} & UncontrolledTooltipProps;
|
|
421
|
+
declare const NotcontrolledTooltip: (props: NotControlledTooltipsProps) => JSX.Element;
|
|
422
|
+
|
|
415
423
|
type ModalProps = HTMLAttributes<HTMLDivElement> & {
|
|
416
424
|
open?: boolean;
|
|
417
425
|
header?: boolean;
|
|
@@ -421,5 +429,7 @@ type ModalProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
421
429
|
};
|
|
422
430
|
declare const BottomModal: (props: ModalProps) => JSX.Element;
|
|
423
431
|
|
|
424
|
-
|
|
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 };
|
|
425
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
|
+
}
|