@prosperitainova/mirage-ui 1.0.40 → 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.
@@ -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: string;
5
- name: string;
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
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { MenuDropdownProps } from "./MenuDropdown";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const MenuDropdownStories: {
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: string;
106
- name: string;
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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosperitainova/mirage-ui",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "publishConfig": {