@prosperitainova/mirage-ui 1.0.34 → 1.0.35

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.
@@ -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;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ReturnButtonProps } from "./ReturnButton";
2
3
  import { Story } from "@storybook/react";
3
4
  declare const ButtonStories: {
@@ -9,6 +9,7 @@ export type SideBarProps = {
9
9
  footer?: MenuItem[];
10
10
  logo: string;
11
11
  active?: boolean;
12
+ menuActiveIndex?: number;
12
13
  };
13
14
  declare const SideBar: (props: SideBarProps) => JSX.Element;
14
15
  export default SideBar;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Story } from "@storybook/react";
2
3
  import { SummaryPanelProps } from "./SummaryPanel";
3
4
  declare const TabMenuStories: {
package/dist/index.d.ts CHANGED
@@ -31,6 +31,7 @@ declare const Button: ({ onClick, ...props }: ButtonProps) => JSX.Element;
31
31
 
32
32
  type ReturnButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
33
33
  label: string;
34
+ onClick?: () => void;
34
35
  };
35
36
  declare const ReturnButton: (props: ReturnButtonProps) => JSX.Element;
36
37
 
@@ -191,6 +192,7 @@ type SideBarProps = {
191
192
  footer?: MenuItem[];
192
193
  logo: string;
193
194
  active?: boolean;
195
+ menuActiveIndex?: number;
194
196
  };
195
197
  declare const SideBar: (props: SideBarProps) => JSX.Element;
196
198
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosperitainova/mirage-ui",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "publishConfig": {