@prosperitainova/mirage-ui 1.0.43 → 1.0.45

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.
@@ -14,6 +14,7 @@ export type ButtonMoreDetailsProps = ButtonHTMLAttributes<HTMLButtonElement> & {
14
14
  icon?: string;
15
15
  value?: string;
16
16
  options?: DropdownOptions[];
17
+ open?: boolean;
17
18
  };
18
19
  declare const ButtonMoreDetails: (props: ButtonMoreDetailsProps & DropContainerProps) => JSX.Element;
19
20
  export default ButtonMoreDetails;
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import { ButtonMoreDetailsProps } from "./ButtonMoreDetails";
3
+ import { Story } from "@storybook/react";
4
+ declare const ButtonMoreDetailsStories: {
5
+ title: string;
6
+ component: (props: React.ButtonHTMLAttributes<HTMLButtonElement> & {
7
+ onClick?: (() => void) | undefined;
8
+ icon?: string | undefined;
9
+ value?: string | undefined;
10
+ options?: import("./ButtonMoreDetails").DropdownOptions[] | undefined;
11
+ open?: boolean | undefined;
12
+ } & {
13
+ open?: boolean | undefined;
14
+ }) => JSX.Element;
15
+ };
16
+ export default ButtonMoreDetailsStories;
17
+ export declare const ButtonMoreDetailsStory: Story<ButtonMoreDetailsProps>;
@@ -0,0 +1 @@
1
+ export { default } from "./ButtonMoreDetails";
@@ -26,3 +26,4 @@ export { default as SummaryPanel } from "./SummaryPanel";
26
26
  export { default as Pagination } from "./Pagination";
27
27
  export { default as BalanceAlert } from "./BalanceAlert";
28
28
  export { default as ParcelSelector } from "./ParcelSelector";
29
+ export { default as ButtonMoreDetails } from "./ButtonMoreDetails";
package/dist/index.d.ts CHANGED
@@ -35,7 +35,7 @@ type ReturnButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
35
35
  };
36
36
  declare const ReturnButton: (props: ReturnButtonProps) => JSX.Element;
37
37
 
38
- type DropdownOptions = {
38
+ type DropdownOptions$1 = {
39
39
  value: string;
40
40
  label: string;
41
41
  color?: string;
@@ -49,7 +49,7 @@ type ButtonDropdownProps = ButtonHTMLAttributes<HTMLButtonElement> & {
49
49
  value?: string;
50
50
  type?: string;
51
51
  double?: boolean;
52
- options?: DropdownOptions[];
52
+ options?: DropdownOptions$1[];
53
53
  };
54
54
  declare const ButtonDropdown: (props: ButtonDropdownProps) => JSX.Element;
55
55
 
@@ -307,4 +307,23 @@ type ParcelSelectorProps = {
307
307
  };
308
308
  declare const ParcelSelector: React.FC<ParcelSelectorProps>;
309
309
 
310
- export { BalanceAlert, Breadcrumb, Button, ButtonDropdown, Checkbox, CustomSelect, Dropzone, Input, InputCurrency, InputToken, InteractiveModal, lateralModal as LateralModal, MenuDropdown as Menudropdown, NotificationBar as NotificationsBar, Pagination, ParcelSelector, ProgressBar, Radio, RadioGroup, ReturnButton, Search, SideBar, Spacer, SummaryPanel, TabMenu, Table, Toast, Toggle };
310
+ type DropContainerProps = {
311
+ open?: boolean;
312
+ };
313
+ type DropdownOptions = {
314
+ value: string;
315
+ label: string;
316
+ color?: string;
317
+ icon?: string;
318
+ onClick?: (value: string) => void;
319
+ };
320
+ type ButtonMoreDetailsProps = ButtonHTMLAttributes<HTMLButtonElement> & {
321
+ onClick?: () => void;
322
+ icon?: string;
323
+ value?: string;
324
+ options?: DropdownOptions[];
325
+ open?: boolean;
326
+ };
327
+ declare const ButtonMoreDetails: (props: ButtonMoreDetailsProps & DropContainerProps) => JSX.Element;
328
+
329
+ export { BalanceAlert, Breadcrumb, Button, ButtonDropdown, ButtonMoreDetails, Checkbox, CustomSelect, Dropzone, Input, InputCurrency, InputToken, InteractiveModal, lateralModal as LateralModal, MenuDropdown as Menudropdown, NotificationBar as NotificationsBar, Pagination, ParcelSelector, ProgressBar, Radio, RadioGroup, ReturnButton, Search, SideBar, Spacer, SummaryPanel, TabMenu, Table, Toast, Toggle };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosperitainova/mirage-ui",
3
- "version": "1.0.43",
3
+ "version": "1.0.45",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "publishConfig": {