@prosperitainova/mirage-ui 1.0.39 → 1.0.41
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/MenuDropdown/MenuDropdown.d.ts +3 -2
- package/dist/cjs/types/lib/MenuDropdown/MenuDropdown.stories.d.ts +0 -1
- package/dist/cjs/types/lib/ReturnButton/ReturnButton.stories.d.ts +0 -1
- package/dist/cjs/types/lib/SideBar/SideBar.stories.d.ts +0 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/MenuDropdown/MenuDropdown.d.ts +3 -2
- package/dist/esm/types/lib/MenuDropdown/MenuDropdown.stories.d.ts +0 -1
- package/dist/esm/types/lib/ReturnButton/ReturnButton.stories.d.ts +0 -1
- package/dist/esm/types/lib/SideBar/SideBar.stories.d.ts +0 -1
- package/dist/index.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes } from "react";
|
|
2
2
|
import "../../../src/theme/fonts/ProximaNova.css";
|
|
3
3
|
export type UsersProps = {
|
|
4
|
-
img
|
|
5
|
-
|
|
4
|
+
img?: string;
|
|
5
|
+
text: string;
|
|
6
6
|
label: string;
|
|
7
7
|
};
|
|
8
8
|
export type MenuDropdownProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
9
9
|
open?: boolean;
|
|
10
|
+
description?: string;
|
|
10
11
|
onUserChange?: (user: UsersProps, index: number) => void;
|
|
11
12
|
users?: UsersProps[];
|
|
12
13
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -102,12 +102,13 @@ type ModalProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
102
102
|
declare const lateralModal: (props: ModalProps) => JSX.Element;
|
|
103
103
|
|
|
104
104
|
type UsersProps = {
|
|
105
|
-
img
|
|
106
|
-
|
|
105
|
+
img?: string;
|
|
106
|
+
text: string;
|
|
107
107
|
label: string;
|
|
108
108
|
};
|
|
109
109
|
type MenuDropdownProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
110
110
|
open?: boolean;
|
|
111
|
+
description?: string;
|
|
111
112
|
onUserChange?: (user: UsersProps, index: number) => void;
|
|
112
113
|
users?: UsersProps[];
|
|
113
114
|
};
|