@prosperitainova/mirage-ui 1.0.34 → 1.0.36
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/ButtonMoreDetails/ButtonMoreDetails.d.ts +19 -0
- package/dist/cjs/types/lib/ReturnButton/ReturnButton.d.ts +1 -0
- package/dist/cjs/types/lib/ReturnButton/ReturnButton.stories.d.ts +1 -0
- package/dist/cjs/types/lib/SideBar/SideBar.d.ts +1 -0
- package/dist/cjs/types/lib/SummaryPanel/SummaryPanel.stories.d.ts +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/ButtonMoreDetails/ButtonMoreDetails.d.ts +19 -0
- package/dist/esm/types/lib/ReturnButton/ReturnButton.d.ts +1 -0
- package/dist/esm/types/lib/ReturnButton/ReturnButton.stories.d.ts +1 -0
- package/dist/esm/types/lib/SideBar/SideBar.d.ts +1 -0
- package/dist/esm/types/lib/SummaryPanel/SummaryPanel.stories.d.ts +1 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes } from "react";
|
|
2
|
+
type DropContainerProps = {
|
|
3
|
+
open?: boolean;
|
|
4
|
+
};
|
|
5
|
+
export type DropdownOptions = {
|
|
6
|
+
value: string;
|
|
7
|
+
label: string;
|
|
8
|
+
color?: string;
|
|
9
|
+
icon?: string;
|
|
10
|
+
onClick?: (value: string) => void;
|
|
11
|
+
};
|
|
12
|
+
export type ButtonMoreDetailsProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
13
|
+
onClick?: () => void;
|
|
14
|
+
icon?: string;
|
|
15
|
+
value?: string;
|
|
16
|
+
options?: DropdownOptions[];
|
|
17
|
+
};
|
|
18
|
+
declare const ButtonMoreDetails: (props: ButtonMoreDetailsProps & DropContainerProps) => JSX.Element;
|
|
19
|
+
export default ButtonMoreDetails;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes } from "react";
|
|
2
2
|
export type ReturnButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
3
3
|
label: string;
|
|
4
|
+
onClick?: () => void;
|
|
4
5
|
};
|
|
5
6
|
declare const ReturnButton: (props: ReturnButtonProps) => JSX.Element;
|
|
6
7
|
export default ReturnButton;
|