@prosperitainova/mirage-ui 1.0.59 → 1.0.61

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.
@@ -4,6 +4,7 @@ export type UsersProps = {
4
4
  img?: string;
5
5
  text: string;
6
6
  label: string;
7
+ changeUser?: (index?: number) => void;
7
8
  };
8
9
  export type MenuDropdownProps = ButtonHTMLAttributes<HTMLButtonElement> & {
9
10
  open?: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { MenuDropdownProps } from "./MenuDropdown";
2
3
  import { Story } from "@storybook/react";
3
4
  declare const MenuDropdownStories: {
@@ -3,7 +3,7 @@ export type MenusProps = {
3
3
  label: string;
4
4
  value: string;
5
5
  disabled?: boolean;
6
- onClick?: (index: number) => void;
6
+ onClick?: () => void;
7
7
  };
8
8
  export type TabMenuProps = {
9
9
  menus: MenusProps[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from "@storybook/react";
3
2
  import { TabMenuProps } from "./TabMenu";
4
3
  declare const TabMenuStories: {
package/dist/index.d.ts CHANGED
@@ -108,6 +108,7 @@ type UsersProps = {
108
108
  img?: string;
109
109
  text: string;
110
110
  label: string;
111
+ changeUser?: (index?: number) => void;
111
112
  };
112
113
  type MenuDropdownProps = ButtonHTMLAttributes<HTMLButtonElement> & {
113
114
  open?: boolean;
@@ -207,7 +208,7 @@ type MenusProps = {
207
208
  label: string;
208
209
  value: string;
209
210
  disabled?: boolean;
210
- onClick?: (index: number) => void;
211
+ onClick?: () => void;
211
212
  };
212
213
  type TabMenuProps = {
213
214
  menus: MenusProps[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosperitainova/mirage-ui",
3
- "version": "1.0.59",
3
+ "version": "1.0.61",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "publishConfig": {