@prosperitainova/mirage-ui 1.0.90 → 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/index.d.ts +1 -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/index.d.ts +1 -0
- package/dist/index.d.ts +14 -5
- 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";
|
|
@@ -30,3 +30,4 @@ export { default as ButtonMoreDetails } from "./ButtonMoreDetails";
|
|
|
30
30
|
export { default as AddBalanceOutput } from "./AddBalanceOutput";
|
|
31
31
|
export { default as IconWithTooltip } from "./IconWithTooltip";
|
|
32
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;
|
|
@@ -372,5 +372,14 @@ type IconProps = {
|
|
|
372
372
|
};
|
|
373
373
|
declare const Tooltip: (props: IconProps) => JSX.Element;
|
|
374
374
|
|
|
375
|
-
|
|
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;
|
|
383
|
+
|
|
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 };
|
|
376
385
|
//# sourceMappingURL=index.d.ts.map
|