@prosperitainova/mirage-ui 1.0.40 → 1.0.42
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/BalanceAlert/BalanceAlert.d.ts +8 -0
- package/dist/cjs/types/lib/BalanceAlert/BalanceAlert.stories.d.ts +8 -0
- package/dist/cjs/types/lib/BalanceAlert/index.d.ts +1 -0
- package/dist/cjs/types/lib/LateralModal/TesterLateralModal.d.ts +1 -0
- 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/ParcelSelector/ParcelSelector.d.ts +7 -0
- package/dist/cjs/types/lib/ParcelSelector/ParcelSelector.stories.d.ts +8 -0
- package/dist/cjs/types/lib/ParcelSelector/index.d.ts +1 -0
- package/dist/cjs/types/lib/ProgressBar/ProgressBar.d.ts +0 -1
- package/dist/cjs/types/lib/Table/Table.stories.d.ts +1 -0
- package/dist/cjs/types/lib/index.d.ts +2 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/BalanceAlert/BalanceAlert.d.ts +8 -0
- package/dist/esm/types/lib/BalanceAlert/BalanceAlert.stories.d.ts +8 -0
- package/dist/esm/types/lib/BalanceAlert/index.d.ts +1 -0
- package/dist/esm/types/lib/LateralModal/TesterLateralModal.d.ts +1 -0
- 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/ParcelSelector/ParcelSelector.d.ts +7 -0
- package/dist/esm/types/lib/ParcelSelector/ParcelSelector.stories.d.ts +8 -0
- package/dist/esm/types/lib/ParcelSelector/index.d.ts +1 -0
- package/dist/esm/types/lib/ProgressBar/ProgressBar.d.ts +0 -1
- package/dist/esm/types/lib/Table/Table.stories.d.ts +1 -0
- package/dist/esm/types/lib/index.d.ts +2 -0
- package/dist/index.d.ts +18 -4
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BalanceAlertProps } from "./BalanceAlert";
|
|
2
|
+
import { Story } from "@storybook/react";
|
|
3
|
+
declare const CheckStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: BalanceAlertProps) => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default CheckStories;
|
|
8
|
+
export declare const BalanceAlertStory: Story<BalanceAlertProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./BalanceAlert";
|
|
@@ -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
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Story } from "@storybook/react";
|
|
2
|
+
import { ParcelSelectorProps } from "./ParcelSelector";
|
|
3
|
+
declare const ParcelSelectorStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<ParcelSelectorProps>;
|
|
6
|
+
};
|
|
7
|
+
export default ParcelSelectorStories;
|
|
8
|
+
export declare const Primary: Story<ParcelSelectorProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./ParcelSelector";
|
|
@@ -24,3 +24,5 @@ export { default as Table } from "./Table";
|
|
|
24
24
|
export { default as InputCurrency } from "./InputCurrency";
|
|
25
25
|
export { default as SummaryPanel } from "./SummaryPanel";
|
|
26
26
|
export { default as Pagination } from "./Pagination";
|
|
27
|
+
export { default as BalanceAlert } from "./BalanceAlert";
|
|
28
|
+
export { default as ParcelSelector } from "./ParcelSelector";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ButtonHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, HTMLAttributes, LiHTMLAttributes } from 'react';
|
|
2
|
+
import React, { ButtonHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, HTMLAttributes, LiHTMLAttributes } from 'react';
|
|
3
3
|
import { Props } from 'react-select';
|
|
4
4
|
|
|
5
5
|
type ItemsProps = {
|
|
@@ -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
|
};
|
|
@@ -291,4 +292,17 @@ type PaginationProps = LiHTMLAttributes<HTMLLIElement> & {
|
|
|
291
292
|
};
|
|
292
293
|
declare const Pagination: (props: PaginationProps) => JSX.Element;
|
|
293
294
|
|
|
294
|
-
|
|
295
|
+
type BalanceAlertProps = {
|
|
296
|
+
title: string;
|
|
297
|
+
message: string;
|
|
298
|
+
show?: boolean;
|
|
299
|
+
};
|
|
300
|
+
declare const BalanceAlert: (props: BalanceAlertProps) => JSX.Element;
|
|
301
|
+
|
|
302
|
+
type ParcelSelectorProps = {
|
|
303
|
+
value: number;
|
|
304
|
+
onChange: (value: number) => void;
|
|
305
|
+
};
|
|
306
|
+
declare const ParcelSelector: React.FC<ParcelSelectorProps>;
|
|
307
|
+
|
|
308
|
+
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 };
|