@prosperitainova/mirage-ui 1.0.10 → 1.0.12
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/src/lib/InteractiveModal/InteractiveModal.d.ts +1 -0
- package/dist/cjs/types/src/lib/InteractiveModal/InteractiveModal.stories.d.ts +0 -1
- package/dist/cjs/types/src/lib/InteractiveModal/TesterInteractiveModal.d.ts +2 -0
- package/dist/cjs/types/src/lib/InteractiveModal/TesterInteractiveModal.stories.d.ts +8 -0
- package/dist/cjs/types/src/lib/LateralModal/LateralModal.d.ts +1 -0
- package/dist/cjs/types/src/lib/LateralModal/TesterLateralModal.d.ts +2 -0
- package/dist/cjs/types/src/lib/LateralModal/TesterLateralModal.stories.d.ts +8 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/lib/InteractiveModal/InteractiveModal.d.ts +1 -0
- package/dist/esm/types/src/lib/InteractiveModal/InteractiveModal.stories.d.ts +0 -1
- package/dist/esm/types/src/lib/InteractiveModal/TesterInteractiveModal.d.ts +2 -0
- package/dist/esm/types/src/lib/InteractiveModal/TesterInteractiveModal.stories.d.ts +8 -0
- package/dist/esm/types/src/lib/LateralModal/LateralModal.d.ts +1 -0
- package/dist/esm/types/src/lib/LateralModal/TesterLateralModal.d.ts +2 -0
- package/dist/esm/types/src/lib/LateralModal/TesterLateralModal.stories.d.ts +8 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ export type ModalProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
6
6
|
title?: string;
|
|
7
7
|
children?: JSX.Element;
|
|
8
8
|
size: "md" | "lg";
|
|
9
|
+
toggleModal: (event: any) => void;
|
|
9
10
|
};
|
|
10
11
|
declare const InteractiveModal: (props: ModalProps) => JSX.Element;
|
|
11
12
|
export default InteractiveModal;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Story } from "@storybook/react";
|
|
2
|
+
import { ModalProps } from "./InteractiveModal";
|
|
3
|
+
declare const TesterInteractiveModalStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: () => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default TesterInteractiveModalStories;
|
|
8
|
+
export declare const Interactive: Story<ModalProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Story } from "@storybook/react";
|
|
2
|
+
import { ModalProps } from "./LateralModal";
|
|
3
|
+
declare const TesterLateralModalStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: () => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default TesterLateralModalStories;
|
|
8
|
+
export declare const Lateral: Story<ModalProps>;
|
package/dist/index.d.ts
CHANGED
|
@@ -77,6 +77,7 @@ type ModalProps$1 = HTMLAttributes<HTMLDivElement> & {
|
|
|
77
77
|
title?: string;
|
|
78
78
|
children?: JSX.Element;
|
|
79
79
|
size: "md" | "lg";
|
|
80
|
+
toggleModal: (event: any) => void;
|
|
80
81
|
};
|
|
81
82
|
declare const InteractiveModal: (props: ModalProps$1) => JSX.Element;
|
|
82
83
|
|
|
@@ -85,6 +86,7 @@ type ModalProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
85
86
|
header?: boolean;
|
|
86
87
|
title?: string;
|
|
87
88
|
children?: JSX.Element;
|
|
89
|
+
toggleModal: () => void;
|
|
88
90
|
};
|
|
89
91
|
declare const lateralModal: (props: ModalProps) => JSX.Element;
|
|
90
92
|
|