@prosperitainova/mirage-ui 1.0.89 → 1.0.91
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 +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/lib/BottomModal/BottomModal.d.ts +11 -0
- package/dist/cjs/types/lib/BottomModal/BottomModal.stories.d.ts +8 -0
- package/dist/cjs/types/lib/BottomModal/index.d.ts +1 -0
- package/dist/cjs/types/lib/TooltTip/Tooltip.d.ts +7 -0
- package/dist/cjs/types/lib/TooltTip/Tooltip.stories.d.ts +8 -0
- package/dist/cjs/types/lib/TooltTip/index.d.ts +1 -0
- package/dist/cjs/types/lib/index.d.ts +2 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/BottomModal/BottomModal.d.ts +11 -0
- package/dist/esm/types/lib/BottomModal/BottomModal.stories.d.ts +8 -0
- package/dist/esm/types/lib/BottomModal/index.d.ts +1 -0
- package/dist/esm/types/lib/TooltTip/Tooltip.d.ts +7 -0
- package/dist/esm/types/lib/TooltTip/Tooltip.stories.d.ts +8 -0
- package/dist/esm/types/lib/TooltTip/index.d.ts +1 -0
- package/dist/esm/types/lib/index.d.ts +2 -0
- package/dist/index.d.ts +23 -7
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "react";
|
|
2
|
+
import "../../../src/theme/fonts/ProximaNova.css";
|
|
3
|
+
export type ModalProps = HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
open?: boolean;
|
|
5
|
+
header?: boolean;
|
|
6
|
+
title?: string;
|
|
7
|
+
children?: JSX.Element;
|
|
8
|
+
toggleModal: () => void;
|
|
9
|
+
};
|
|
10
|
+
declare const BottomModal: (props: ModalProps) => JSX.Element;
|
|
11
|
+
export default BottomModal;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Story } from "@storybook/react";
|
|
2
|
+
import { ModalProps } from "./BottomModal";
|
|
3
|
+
declare const LateraleModalStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: ModalProps) => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default LateraleModalStories;
|
|
8
|
+
export declare const Bottom: Story<ModalProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./BottomModal";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IconProps } from "./Tooltip";
|
|
2
|
+
import { Story } from "@storybook/react";
|
|
3
|
+
declare const TooltipStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: IconProps) => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default TooltipStories;
|
|
8
|
+
export declare const Icon: Story<IconProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Tooltip";
|
|
@@ -29,3 +29,5 @@ export { default as ParcelSelector } from "./ParcelSelector";
|
|
|
29
29
|
export { default as ButtonMoreDetails } from "./ButtonMoreDetails";
|
|
30
30
|
export { default as AddBalanceOutput } from "./AddBalanceOutput";
|
|
31
31
|
export { default as IconWithTooltip } from "./IconWithTooltip";
|
|
32
|
+
export { default as Tooltip } from "./TooltTip";
|
|
33
|
+
export { default as BottomModal } from "./BottomModal";
|
package/dist/index.d.ts
CHANGED
|
@@ -85,7 +85,7 @@ type InputProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes
|
|
|
85
85
|
};
|
|
86
86
|
declare const Input: (props: InputProps) => JSX.Element;
|
|
87
87
|
|
|
88
|
-
type ModalProps$
|
|
88
|
+
type ModalProps$2 = HTMLAttributes<HTMLDivElement> & {
|
|
89
89
|
open?: boolean;
|
|
90
90
|
header?: boolean;
|
|
91
91
|
title?: string;
|
|
@@ -93,16 +93,16 @@ type ModalProps$1 = HTMLAttributes<HTMLDivElement> & {
|
|
|
93
93
|
size: "md" | "lg";
|
|
94
94
|
toggleModal: (event: any) => void;
|
|
95
95
|
};
|
|
96
|
-
declare const InteractiveModal: (props: ModalProps$
|
|
96
|
+
declare const InteractiveModal: (props: ModalProps$2) => JSX.Element;
|
|
97
97
|
|
|
98
|
-
type ModalProps = HTMLAttributes<HTMLDivElement> & {
|
|
98
|
+
type ModalProps$1 = HTMLAttributes<HTMLDivElement> & {
|
|
99
99
|
open?: boolean;
|
|
100
100
|
header?: boolean;
|
|
101
101
|
title?: string;
|
|
102
102
|
children?: JSX.Element;
|
|
103
103
|
toggleModal: () => void;
|
|
104
104
|
};
|
|
105
|
-
declare const lateralModal: (props: ModalProps) => JSX.Element;
|
|
105
|
+
declare const lateralModal: (props: ModalProps$1) => JSX.Element;
|
|
106
106
|
|
|
107
107
|
type UsersProps = {
|
|
108
108
|
img?: string;
|
|
@@ -356,14 +356,30 @@ type AddBalanceOutputProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
|
356
356
|
};
|
|
357
357
|
declare const AddBalanceOutput: (props: AddBalanceOutputProps) => JSX.Element;
|
|
358
358
|
|
|
359
|
-
type IconProps = {
|
|
359
|
+
type IconProps$1 = {
|
|
360
360
|
iconSize?: number;
|
|
361
361
|
tooltipColor?: string;
|
|
362
362
|
iconHoverFilterColor?: string;
|
|
363
363
|
tooltipLabel: string;
|
|
364
364
|
icon?: string;
|
|
365
365
|
};
|
|
366
|
-
declare const IconWithTooltip: (props: IconProps) => JSX.Element;
|
|
366
|
+
declare const IconWithTooltip: (props: IconProps$1) => JSX.Element;
|
|
367
|
+
|
|
368
|
+
type IconProps = {
|
|
369
|
+
tooltipColor?: string;
|
|
370
|
+
tooltipLabel: string;
|
|
371
|
+
visible?: boolean;
|
|
372
|
+
};
|
|
373
|
+
declare const Tooltip: (props: IconProps) => JSX.Element;
|
|
374
|
+
|
|
375
|
+
type ModalProps = HTMLAttributes<HTMLDivElement> & {
|
|
376
|
+
open?: boolean;
|
|
377
|
+
header?: boolean;
|
|
378
|
+
title?: string;
|
|
379
|
+
children?: JSX.Element;
|
|
380
|
+
toggleModal: () => void;
|
|
381
|
+
};
|
|
382
|
+
declare const BottomModal: (props: ModalProps) => JSX.Element;
|
|
367
383
|
|
|
368
|
-
export { AddBalanceOutput, BalanceAlert, Breadcrumb, Button, ButtonDropdown, ButtonMoreDetails, Checkbox, CustomSelect, Dropzone, IconWithTooltip, Input, InputCurrency, InputToken, InteractiveModal, lateralModal as LateralModal, MenuDropdown as Menudropdown, NotificationBar as NotificationsBar, Pagination, ParcelSelector, ProgressBar, Radio, RadioGroup, ReturnButton, Search, SideBar, Spacer, SummaryPanel, TabMenu, Table, Toast, Toggle };
|
|
384
|
+
export { AddBalanceOutput, BalanceAlert, BottomModal, Breadcrumb, Button, ButtonDropdown, ButtonMoreDetails, Checkbox, CustomSelect, Dropzone, IconWithTooltip, Input, InputCurrency, InputToken, InteractiveModal, lateralModal as LateralModal, MenuDropdown as Menudropdown, NotificationBar as NotificationsBar, Pagination, ParcelSelector, ProgressBar, Radio, RadioGroup, ReturnButton, Search, SideBar, Spacer, SummaryPanel, TabMenu, Table, Toast, Toggle, Tooltip };
|
|
369
385
|
//# sourceMappingURL=index.d.ts.map
|