@prosperitainova/mirage-ui 1.0.84 → 1.0.86
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/AddBalanceOutput/AddBalanceOutput.d.ts +22 -0
- package/dist/cjs/types/lib/AddBalanceOutput/AddBalanceOutput.stories.d.ts +8 -0
- package/dist/cjs/types/lib/AddBalanceOutput/index.d.ts +1 -0
- package/dist/cjs/types/lib/IconWithTooltip/IconWithTooltip.d.ts +9 -0
- package/dist/cjs/types/lib/IconWithTooltip/IconWithTooltip.stories.d.ts +8 -0
- package/dist/cjs/types/lib/InputToken/InputToken.d.ts +3 -1
- package/dist/cjs/types/lib/index.d.ts +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/AddBalanceOutput/AddBalanceOutput.d.ts +22 -0
- package/dist/esm/types/lib/AddBalanceOutput/AddBalanceOutput.stories.d.ts +8 -0
- package/dist/esm/types/lib/AddBalanceOutput/index.d.ts +1 -0
- package/dist/esm/types/lib/IconWithTooltip/IconWithTooltip.d.ts +9 -0
- package/dist/esm/types/lib/IconWithTooltip/IconWithTooltip.stories.d.ts +8 -0
- package/dist/esm/types/lib/InputToken/InputToken.d.ts +3 -1
- package/dist/esm/types/lib/index.d.ts +1 -0
- package/dist/index.d.ts +24 -2
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ChangeEvent, InputHTMLAttributes } from "react";
|
|
2
|
+
import "../../../src/theme/fonts/ProximaNova.css";
|
|
3
|
+
export type AddBalanceOutputProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
4
|
+
value?: string;
|
|
5
|
+
error?: string | boolean;
|
|
6
|
+
success?: boolean;
|
|
7
|
+
helper?: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
newPassword?: boolean;
|
|
10
|
+
newPasswordLevel?: string;
|
|
11
|
+
search?: boolean;
|
|
12
|
+
mask?: string;
|
|
13
|
+
required?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
type?: string;
|
|
16
|
+
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
17
|
+
maxLength?: number;
|
|
18
|
+
fontSize?: "normal" | "large";
|
|
19
|
+
name?: string;
|
|
20
|
+
};
|
|
21
|
+
declare const AddBalanceOutput: (props: AddBalanceOutputProps) => JSX.Element;
|
|
22
|
+
export default AddBalanceOutput;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AddBalanceOutputProps } from "./AddBalanceOutput";
|
|
2
|
+
import { Story } from "@storybook/react";
|
|
3
|
+
declare const AddBalanceOutputStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: AddBalanceOutputProps) => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default AddBalanceOutputStories;
|
|
8
|
+
export declare const Output: Story<AddBalanceOutputProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./AddBalanceOutput";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IconProps } from "./IconWithTooltip";
|
|
2
|
+
import { Story } from "@storybook/react";
|
|
3
|
+
declare const IconWithTooltipStories: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: IconProps) => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export default IconWithTooltipStories;
|
|
8
|
+
export declare const Icon: Story<IconProps>;
|
|
@@ -3,6 +3,8 @@ export type InputTokenProps = {
|
|
|
3
3
|
inputsNumber?: number;
|
|
4
4
|
onInputChange?: (value: string) => void;
|
|
5
5
|
clearAll?: boolean;
|
|
6
|
+
color?: string;
|
|
7
|
+
bolder?: boolean;
|
|
6
8
|
};
|
|
7
|
-
declare function InputToken(
|
|
9
|
+
declare function InputToken(props: InputTokenProps): JSX.Element;
|
|
8
10
|
export default InputToken;
|
|
@@ -27,3 +27,4 @@ export { default as Pagination } from "./Pagination";
|
|
|
27
27
|
export { default as BalanceAlert } from "./BalanceAlert";
|
|
28
28
|
export { default as ParcelSelector } from "./ParcelSelector";
|
|
29
29
|
export { default as ButtonMoreDetails } from "./ButtonMoreDetails";
|
|
30
|
+
export { default as AddBalanceOutput } from "./AddBalanceOutput";
|
package/dist/index.d.ts
CHANGED
|
@@ -244,8 +244,10 @@ type InputTokenProps = {
|
|
|
244
244
|
inputsNumber?: number;
|
|
245
245
|
onInputChange?: (value: string) => void;
|
|
246
246
|
clearAll?: boolean;
|
|
247
|
+
color?: string;
|
|
248
|
+
bolder?: boolean;
|
|
247
249
|
};
|
|
248
|
-
declare function InputToken(
|
|
250
|
+
declare function InputToken(props: InputTokenProps): JSX.Element;
|
|
249
251
|
|
|
250
252
|
type TableColumn<T = any> = {
|
|
251
253
|
label: string;
|
|
@@ -334,5 +336,25 @@ type ButtonMoreDetailsProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
|
334
336
|
};
|
|
335
337
|
declare const ButtonMoreDetails: (props: ButtonMoreDetailsProps & DropContainerProps) => JSX.Element;
|
|
336
338
|
|
|
337
|
-
|
|
339
|
+
type AddBalanceOutputProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
340
|
+
value?: string;
|
|
341
|
+
error?: string | boolean;
|
|
342
|
+
success?: boolean;
|
|
343
|
+
helper?: string;
|
|
344
|
+
label?: string;
|
|
345
|
+
newPassword?: boolean;
|
|
346
|
+
newPasswordLevel?: string;
|
|
347
|
+
search?: boolean;
|
|
348
|
+
mask?: string;
|
|
349
|
+
required?: boolean;
|
|
350
|
+
disabled?: boolean;
|
|
351
|
+
type?: string;
|
|
352
|
+
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
353
|
+
maxLength?: number;
|
|
354
|
+
fontSize?: "normal" | "large";
|
|
355
|
+
name?: string;
|
|
356
|
+
};
|
|
357
|
+
declare const AddBalanceOutput: (props: AddBalanceOutputProps) => JSX.Element;
|
|
358
|
+
|
|
359
|
+
export { AddBalanceOutput, 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 };
|
|
338
360
|
//# sourceMappingURL=index.d.ts.map
|