@prosperitainova/mirage-ui 1.1.142 → 1.1.143
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 +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/lib/AddBalanceOutput/AddBalanceOutput.d.ts +1 -1
- package/dist/cjs/types/lib/AddBalanceOutput/AddBalanceOutput.stories.d.ts +2 -3
- package/dist/cjs/types/lib/BalanceAlert/BalanceAlert.d.ts +1 -1
- package/dist/cjs/types/lib/BalanceAlert/BalanceAlert.stories.d.ts +2 -3
- package/dist/cjs/types/lib/BottomModal/BottomModal.d.ts +1 -1
- package/dist/cjs/types/lib/BottomModal/BottomModal.stories.d.ts +2 -3
- package/dist/cjs/types/lib/Breadcrumb/Breadcrumb.d.ts +1 -1
- package/dist/cjs/types/lib/Breadcrumb/Breadcrumb.stories.d.ts +2 -3
- package/dist/cjs/types/lib/Button/Button.d.ts +1 -1
- package/dist/cjs/types/lib/Button/Button.stories.d.ts +10 -12
- package/dist/cjs/types/lib/ButtonDropdown/ButtonDropdown.d.ts +2 -1
- package/dist/cjs/types/lib/ButtonDropdown/ButtonDropdown.stories.d.ts +5 -6
- package/dist/cjs/types/lib/ButtonMoreDetails/ButtonMoreDetails.d.ts +1 -1
- package/dist/cjs/types/lib/ButtonMoreDetails/ButtonMoreDetails.stories.d.ts +2 -3
- package/dist/cjs/types/lib/Checkbox/Checkbox.d.ts +1 -1
- package/dist/cjs/types/lib/Checkbox/Checkbox.stories.d.ts +2 -3
- package/dist/cjs/types/lib/CustomSelect/CustomSelect.d.ts +1 -1
- package/dist/cjs/types/lib/CustomSelect/CustomSelect.stories.d.ts +2 -3
- package/dist/cjs/types/lib/Dropzone/Dropzone.d.ts +1 -1
- package/dist/cjs/types/lib/Dropzone/Dropzone.stories.d.ts +2 -3
- package/dist/cjs/types/lib/IconWithTooltip/IconWithTooltip.d.ts +1 -1
- package/dist/cjs/types/lib/IconWithTooltip/IconWithTooltip.stories.d.ts +2 -3
- package/dist/cjs/types/lib/Input/Input.d.ts +2 -2
- package/dist/cjs/types/lib/Input/Input.stories.d.ts +5 -7
- package/dist/cjs/types/lib/InputCurrency/InputCurrency.d.ts +1 -1
- package/dist/cjs/types/lib/InputCurrency/InputCurrency.stories.d.ts +2 -3
- package/dist/cjs/types/lib/InputToken/InputToken.d.ts +1 -2
- package/dist/cjs/types/lib/InputToken/InputToken.stories.d.ts +1 -2
- package/dist/cjs/types/lib/InteractiveModal/InteractiveModal.d.ts +1 -1
- package/dist/cjs/types/lib/InteractiveModal/InteractiveModal.stories.d.ts +2 -3
- package/dist/cjs/types/lib/InteractiveModal/TesterInteractiveModal.d.ts +1 -1
- package/dist/cjs/types/lib/InteractiveModal/TesterInteractiveModal.stories.d.ts +2 -3
- package/dist/cjs/types/lib/LateralModal/LateralModal.d.ts +1 -1
- package/dist/cjs/types/lib/LateralModal/LateralModal.stories.d.ts +2 -3
- package/dist/cjs/types/lib/LateralModal/TesterLateralModal.d.ts +1 -1
- package/dist/cjs/types/lib/LateralModal/TesterLateralModal.stories.d.ts +2 -3
- package/dist/cjs/types/lib/Margin/Margin.d.ts +1 -1
- package/dist/cjs/types/lib/MenuDropdown/MenuDropdown.d.ts +2 -1
- package/dist/cjs/types/lib/MenuDropdown/MenuDropdown.stories.d.ts +2 -3
- package/dist/cjs/types/lib/NotControlledTooltip/NotControlledTooltip.d.ts +1 -1
- package/dist/cjs/types/lib/NotControlledTooltip/NotControlledTooltip.stories.d.ts +2 -3
- package/dist/cjs/types/lib/NotificationsBar/NotificationsBar.d.ts +1 -1
- package/dist/cjs/types/lib/NotificationsBar/NotificationsBar.stories.d.ts +3 -4
- package/dist/cjs/types/lib/Padding/Padding.d.ts +1 -1
- package/dist/cjs/types/lib/Pagination/Pagination.d.ts +1 -1
- package/dist/cjs/types/lib/Pagination/Pagination.stories.d.ts +2 -3
- package/dist/cjs/types/lib/ParcelSelector/ParcelSelector.stories.d.ts +2 -2
- package/dist/cjs/types/lib/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/cjs/types/lib/ProgressBar/ProgressBar.stories.d.ts +2 -3
- package/dist/cjs/types/lib/Radio/Radio.d.ts +1 -1
- package/dist/cjs/types/lib/Radio/Radio.stories.d.ts +2 -3
- package/dist/cjs/types/lib/RadioGroup/Radio.d.ts +1 -1
- package/dist/cjs/types/lib/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/cjs/types/lib/RadioGroup/RadioGroup.stories.d.ts +2 -3
- package/dist/cjs/types/lib/ReturnButton/ReturnButton.d.ts +1 -1
- package/dist/cjs/types/lib/ReturnButton/ReturnButton.stories.d.ts +2 -3
- package/dist/cjs/types/lib/Search/Search.d.ts +1 -1
- package/dist/cjs/types/lib/Search/Search.stories.d.ts +2 -3
- package/dist/cjs/types/lib/SideBar/SideBar.d.ts +1 -1
- package/dist/cjs/types/lib/SideBar/SideBar.stories.d.ts +2 -3
- package/dist/cjs/types/lib/Spacer/Spacer.d.ts +1 -1
- package/dist/cjs/types/lib/SubMenu/SubMenu.d.ts +10 -0
- package/dist/cjs/types/lib/SubMenu/SubMenu.stories.d.ts +7 -0
- package/dist/cjs/types/lib/SubMenu/index.d.ts +1 -0
- package/dist/cjs/types/lib/SummaryPanel/SummaryPanel.d.ts +2 -1
- package/dist/cjs/types/lib/SummaryPanel/SummaryPanel.stories.d.ts +2 -3
- package/dist/cjs/types/lib/SummaryPanelLoader/SummaryPanelLoader.d.ts +1 -1
- package/dist/cjs/types/lib/TabMenu/TabMenu.d.ts +1 -1
- package/dist/cjs/types/lib/TabMenu/TabMenu.stories.d.ts +2 -3
- package/dist/cjs/types/lib/Table/Table.d.ts +1 -1
- package/dist/cjs/types/lib/Table/Table.stories.d.ts +2 -3
- package/dist/cjs/types/lib/Table/second.d.ts +21 -0
- package/dist/cjs/types/lib/Toast/TesterToast.d.ts +1 -1
- package/dist/cjs/types/lib/Toast/TesterToast.stories.d.ts +2 -3
- package/dist/cjs/types/lib/Toast/Toast.d.ts +2 -1
- package/dist/cjs/types/lib/Toast/Toast.stories.d.ts +4 -5
- package/dist/cjs/types/lib/Toggle/Toggle.d.ts +1 -1
- package/dist/cjs/types/lib/Toggle/Toggle.stories.d.ts +3 -4
- package/dist/cjs/types/lib/TooltTip/Tooltip.d.ts +1 -1
- package/dist/cjs/types/lib/TooltTip/Tooltip.stories.d.ts +2 -3
- package/dist/cjs/types/lib/TooltipCustom/TooltipCustom.d.ts +1 -1
- package/dist/cjs/types/lib/TooltipCustom/TooltipCustom.stories.d.ts +2 -3
- package/dist/cjs/types/lib/index.d.ts +1 -0
- package/dist/cjs/types/theme/agro.d.ts +3 -0
- package/dist/cjs/types/theme/banksan.d.ts +3 -0
- package/dist/cjs/types/theme/blf.d.ts +3 -0
- package/dist/cjs/types/theme/inc.d.ts +3 -0
- package/dist/cjs/types/theme/maniabank.d.ts +3 -0
- package/dist/cjs/types/theme/mdtvm.d.ts +3 -0
- package/dist/cjs/types/theme/trustee.d.ts +3 -0
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/AddBalanceOutput/AddBalanceOutput.d.ts +1 -1
- package/dist/esm/types/lib/AddBalanceOutput/AddBalanceOutput.stories.d.ts +2 -3
- package/dist/esm/types/lib/BalanceAlert/BalanceAlert.d.ts +1 -1
- package/dist/esm/types/lib/BalanceAlert/BalanceAlert.stories.d.ts +2 -3
- package/dist/esm/types/lib/BottomModal/BottomModal.d.ts +1 -1
- package/dist/esm/types/lib/BottomModal/BottomModal.stories.d.ts +2 -3
- package/dist/esm/types/lib/Breadcrumb/Breadcrumb.d.ts +1 -1
- package/dist/esm/types/lib/Breadcrumb/Breadcrumb.stories.d.ts +2 -3
- package/dist/esm/types/lib/Button/Button.d.ts +1 -1
- package/dist/esm/types/lib/Button/Button.stories.d.ts +10 -12
- package/dist/esm/types/lib/ButtonDropdown/ButtonDropdown.d.ts +2 -1
- package/dist/esm/types/lib/ButtonDropdown/ButtonDropdown.stories.d.ts +5 -6
- package/dist/esm/types/lib/ButtonMoreDetails/ButtonMoreDetails.d.ts +1 -1
- package/dist/esm/types/lib/ButtonMoreDetails/ButtonMoreDetails.stories.d.ts +2 -3
- package/dist/esm/types/lib/Checkbox/Checkbox.d.ts +1 -1
- package/dist/esm/types/lib/Checkbox/Checkbox.stories.d.ts +2 -3
- package/dist/esm/types/lib/CustomSelect/CustomSelect.d.ts +1 -1
- package/dist/esm/types/lib/CustomSelect/CustomSelect.stories.d.ts +2 -3
- package/dist/esm/types/lib/Dropzone/Dropzone.d.ts +1 -1
- package/dist/esm/types/lib/Dropzone/Dropzone.stories.d.ts +2 -3
- package/dist/esm/types/lib/IconWithTooltip/IconWithTooltip.d.ts +1 -1
- package/dist/esm/types/lib/IconWithTooltip/IconWithTooltip.stories.d.ts +2 -3
- package/dist/esm/types/lib/Input/Input.d.ts +2 -2
- package/dist/esm/types/lib/Input/Input.stories.d.ts +5 -7
- package/dist/esm/types/lib/InputCurrency/InputCurrency.d.ts +1 -1
- package/dist/esm/types/lib/InputCurrency/InputCurrency.stories.d.ts +2 -3
- package/dist/esm/types/lib/InputToken/InputToken.d.ts +1 -2
- package/dist/esm/types/lib/InputToken/InputToken.stories.d.ts +1 -2
- package/dist/esm/types/lib/InteractiveModal/InteractiveModal.d.ts +1 -1
- package/dist/esm/types/lib/InteractiveModal/InteractiveModal.stories.d.ts +2 -3
- package/dist/esm/types/lib/InteractiveModal/TesterInteractiveModal.d.ts +1 -1
- package/dist/esm/types/lib/InteractiveModal/TesterInteractiveModal.stories.d.ts +2 -3
- package/dist/esm/types/lib/LateralModal/LateralModal.d.ts +1 -1
- package/dist/esm/types/lib/LateralModal/LateralModal.stories.d.ts +2 -3
- package/dist/esm/types/lib/LateralModal/TesterLateralModal.d.ts +1 -1
- package/dist/esm/types/lib/LateralModal/TesterLateralModal.stories.d.ts +2 -3
- package/dist/esm/types/lib/Margin/Margin.d.ts +1 -1
- package/dist/esm/types/lib/MenuDropdown/MenuDropdown.d.ts +2 -1
- package/dist/esm/types/lib/MenuDropdown/MenuDropdown.stories.d.ts +2 -3
- package/dist/esm/types/lib/NotControlledTooltip/NotControlledTooltip.d.ts +1 -1
- package/dist/esm/types/lib/NotControlledTooltip/NotControlledTooltip.stories.d.ts +2 -3
- package/dist/esm/types/lib/NotificationsBar/NotificationsBar.d.ts +1 -1
- package/dist/esm/types/lib/NotificationsBar/NotificationsBar.stories.d.ts +3 -4
- package/dist/esm/types/lib/Padding/Padding.d.ts +1 -1
- package/dist/esm/types/lib/Pagination/Pagination.d.ts +1 -1
- package/dist/esm/types/lib/Pagination/Pagination.stories.d.ts +2 -3
- package/dist/esm/types/lib/ParcelSelector/ParcelSelector.stories.d.ts +2 -2
- package/dist/esm/types/lib/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/esm/types/lib/ProgressBar/ProgressBar.stories.d.ts +2 -3
- package/dist/esm/types/lib/Radio/Radio.d.ts +1 -1
- package/dist/esm/types/lib/Radio/Radio.stories.d.ts +2 -3
- package/dist/esm/types/lib/RadioGroup/Radio.d.ts +1 -1
- package/dist/esm/types/lib/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/esm/types/lib/RadioGroup/RadioGroup.stories.d.ts +2 -3
- package/dist/esm/types/lib/ReturnButton/ReturnButton.d.ts +1 -1
- package/dist/esm/types/lib/ReturnButton/ReturnButton.stories.d.ts +2 -3
- package/dist/esm/types/lib/Search/Search.d.ts +1 -1
- package/dist/esm/types/lib/Search/Search.stories.d.ts +2 -3
- package/dist/esm/types/lib/SideBar/SideBar.d.ts +1 -1
- package/dist/esm/types/lib/SideBar/SideBar.stories.d.ts +2 -3
- package/dist/esm/types/lib/Spacer/Spacer.d.ts +1 -1
- package/dist/esm/types/lib/SubMenu/SubMenu.d.ts +10 -0
- package/dist/esm/types/lib/SubMenu/SubMenu.stories.d.ts +7 -0
- package/dist/esm/types/lib/SubMenu/index.d.ts +1 -0
- package/dist/esm/types/lib/SummaryPanel/SummaryPanel.d.ts +2 -1
- package/dist/esm/types/lib/SummaryPanel/SummaryPanel.stories.d.ts +2 -3
- package/dist/esm/types/lib/SummaryPanelLoader/SummaryPanelLoader.d.ts +1 -1
- package/dist/esm/types/lib/TabMenu/TabMenu.d.ts +1 -1
- package/dist/esm/types/lib/TabMenu/TabMenu.stories.d.ts +2 -3
- package/dist/esm/types/lib/Table/Table.d.ts +1 -1
- package/dist/esm/types/lib/Table/Table.stories.d.ts +2 -3
- package/dist/esm/types/lib/Table/second.d.ts +21 -0
- package/dist/esm/types/lib/Toast/TesterToast.d.ts +1 -1
- package/dist/esm/types/lib/Toast/TesterToast.stories.d.ts +2 -3
- package/dist/esm/types/lib/Toast/Toast.d.ts +2 -1
- package/dist/esm/types/lib/Toast/Toast.stories.d.ts +4 -5
- package/dist/esm/types/lib/Toggle/Toggle.d.ts +1 -1
- package/dist/esm/types/lib/Toggle/Toggle.stories.d.ts +3 -4
- package/dist/esm/types/lib/TooltTip/Tooltip.d.ts +1 -1
- package/dist/esm/types/lib/TooltTip/Tooltip.stories.d.ts +2 -3
- package/dist/esm/types/lib/TooltipCustom/TooltipCustom.d.ts +1 -1
- package/dist/esm/types/lib/TooltipCustom/TooltipCustom.stories.d.ts +2 -3
- package/dist/esm/types/lib/index.d.ts +1 -0
- package/dist/esm/types/theme/agro.d.ts +3 -0
- package/dist/esm/types/theme/banksan.d.ts +3 -0
- package/dist/esm/types/theme/blf.d.ts +3 -0
- package/dist/esm/types/theme/inc.d.ts +3 -0
- package/dist/esm/types/theme/maniabank.d.ts +3 -0
- package/dist/esm/types/theme/mdtvm.d.ts +3 -0
- package/dist/esm/types/theme/trustee.d.ts +3 -0
- package/dist/index.d.ts +53 -38
- package/package.json +2 -1
- package/dist/cjs/types/lib/ExternalToast/ExternalToast.d.ts +0 -3
- package/dist/cjs/types/lib/ExternalToast/ExternalToastTest.d.ts +0 -2
- package/dist/cjs/types/lib/ExternalToast/ExternalToastTest.stories.d.ts +0 -7
- package/dist/cjs/types/lib/ExternalToast/index.d.ts +0 -1
- package/dist/cjs/types/theme/DefaultTheme.d.ts +0 -4
- package/dist/cjs/types/theme/contaEscolaTheme.d.ts +0 -3
- package/dist/cjs/types/theme/pagCondominioTheme.d.ts +0 -3
- package/dist/cjs/types/theme/prosperitaTheme.d.ts +0 -3
- package/dist/esm/types/lib/ExternalToast/ExternalToast.d.ts +0 -3
- package/dist/esm/types/lib/ExternalToast/ExternalToastTest.d.ts +0 -2
- package/dist/esm/types/lib/ExternalToast/ExternalToastTest.stories.d.ts +0 -7
- package/dist/esm/types/lib/ExternalToast/index.d.ts +0 -1
- package/dist/esm/types/theme/DefaultTheme.d.ts +0 -4
- package/dist/esm/types/theme/contaEscolaTheme.d.ts +0 -3
- package/dist/esm/types/theme/pagCondominioTheme.d.ts +0 -3
- package/dist/esm/types/theme/prosperitaTheme.d.ts +0 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
3
|
import React, { ButtonHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, HTMLAttributes, ChangeEvent, LiHTMLAttributes } from 'react';
|
|
3
4
|
import { DropzoneProps as DropzoneProps$1 } from 'react-dropzone';
|
|
4
5
|
import { Props } from 'react-select';
|
|
@@ -13,7 +14,7 @@ type BreadcrumbProps = {
|
|
|
13
14
|
menus: ItemsProps[];
|
|
14
15
|
onClickHome?: () => void;
|
|
15
16
|
};
|
|
16
|
-
declare const Breadcrumb: (props: BreadcrumbProps) => JSX.Element;
|
|
17
|
+
declare const Breadcrumb: (props: BreadcrumbProps) => react_jsx_runtime.JSX.Element;
|
|
17
18
|
|
|
18
19
|
type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
19
20
|
mode: "main" | "border" | "phantom";
|
|
@@ -32,13 +33,13 @@ type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
|
32
33
|
full?: boolean;
|
|
33
34
|
children?: JSX.Element;
|
|
34
35
|
};
|
|
35
|
-
declare const Button: ({ onClick, ...props }: ButtonProps) => JSX.Element;
|
|
36
|
+
declare const Button: ({ onClick, ...props }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
36
37
|
|
|
37
38
|
type ReturnButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
38
39
|
label: string;
|
|
39
40
|
onClick?: () => void;
|
|
40
41
|
};
|
|
41
|
-
declare const ReturnButton: (props: ReturnButtonProps) => JSX.Element;
|
|
42
|
+
declare const ReturnButton: (props: ReturnButtonProps) => react_jsx_runtime.JSX.Element;
|
|
42
43
|
|
|
43
44
|
type DropdownOptions$1 = {
|
|
44
45
|
value?: string;
|
|
@@ -56,8 +57,9 @@ type ButtonDropdownProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
|
56
57
|
double?: boolean;
|
|
57
58
|
options?: DropdownOptions$1[];
|
|
58
59
|
iconColorFilter?: string;
|
|
60
|
+
padding?: number;
|
|
59
61
|
};
|
|
60
|
-
declare const ButtonDropdown: (props: ButtonDropdownProps) => JSX.Element;
|
|
62
|
+
declare const ButtonDropdown: (props: ButtonDropdownProps) => react_jsx_runtime.JSX.Element;
|
|
61
63
|
|
|
62
64
|
type CheckboxProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
63
65
|
label?: string;
|
|
@@ -68,7 +70,7 @@ type CheckboxProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
|
68
70
|
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
69
71
|
onClick?: (event: React.MouseEvent<HTMLInputElement>) => void;
|
|
70
72
|
};
|
|
71
|
-
declare const Checkbox: ({ onChange, ...props }: CheckboxProps) => JSX.Element;
|
|
73
|
+
declare const Checkbox: ({ onChange, ...props }: CheckboxProps) => react_jsx_runtime.JSX.Element;
|
|
72
74
|
|
|
73
75
|
interface DropzoneRootPropsLite extends Omit<DropzoneProps$1, "onDrop"> {
|
|
74
76
|
}
|
|
@@ -87,7 +89,7 @@ interface DropzoneProps extends DropzoneRootPropsLite {
|
|
|
87
89
|
onRemoveFile?: (removedIndex: number) => void;
|
|
88
90
|
onFilesChanged?: (files: DropzoneFileProps[]) => void;
|
|
89
91
|
}
|
|
90
|
-
declare const Dropzone: (props: DropzoneProps) => JSX.Element;
|
|
92
|
+
declare const Dropzone: (props: DropzoneProps) => react_jsx_runtime.JSX.Element;
|
|
91
93
|
|
|
92
94
|
type InputProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
93
95
|
value?: string | number | boolean | readonly string[] | undefined;
|
|
@@ -98,14 +100,14 @@ type InputProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes
|
|
|
98
100
|
newPassword?: boolean;
|
|
99
101
|
newPasswordLevel?: string;
|
|
100
102
|
search?: boolean;
|
|
101
|
-
mask?: string
|
|
103
|
+
mask?: string | Array<string | RegExp>;
|
|
102
104
|
maskChar?: string | null;
|
|
103
105
|
ref?: any;
|
|
104
106
|
onFocus?: boolean;
|
|
105
107
|
min?: string;
|
|
106
108
|
max?: string;
|
|
107
109
|
};
|
|
108
|
-
declare const Input: (props: InputProps) => JSX.Element;
|
|
110
|
+
declare const Input: (props: InputProps) => react_jsx_runtime.JSX.Element;
|
|
109
111
|
|
|
110
112
|
type ModalProps$2 = HTMLAttributes<HTMLDivElement> & {
|
|
111
113
|
open?: boolean;
|
|
@@ -115,7 +117,7 @@ type ModalProps$2 = HTMLAttributes<HTMLDivElement> & {
|
|
|
115
117
|
size: "md" | "lg";
|
|
116
118
|
toggleModal: (event: any) => void;
|
|
117
119
|
};
|
|
118
|
-
declare const InteractiveModal: (props: ModalProps$2) => JSX.Element;
|
|
120
|
+
declare const InteractiveModal: (props: ModalProps$2) => react_jsx_runtime.JSX.Element;
|
|
119
121
|
|
|
120
122
|
type ModalProps$1 = HTMLAttributes<HTMLDivElement> & {
|
|
121
123
|
open?: boolean;
|
|
@@ -124,12 +126,13 @@ type ModalProps$1 = HTMLAttributes<HTMLDivElement> & {
|
|
|
124
126
|
children?: JSX.Element;
|
|
125
127
|
toggleModal: () => void;
|
|
126
128
|
};
|
|
127
|
-
declare const lateralModal: (props: ModalProps$1) => JSX.Element;
|
|
129
|
+
declare const lateralModal: (props: ModalProps$1) => react_jsx_runtime.JSX.Element;
|
|
128
130
|
|
|
129
131
|
type UsersProps = {
|
|
130
132
|
img?: JSX.Element;
|
|
131
133
|
text: string;
|
|
132
134
|
label: string;
|
|
135
|
+
description?: string;
|
|
133
136
|
changeUser?: (index?: number) => void;
|
|
134
137
|
};
|
|
135
138
|
type BottonButtonProps = {
|
|
@@ -143,7 +146,7 @@ type MenuDropdownProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
|
143
146
|
onUserChange?: (user: UsersProps, index: number) => void;
|
|
144
147
|
users?: UsersProps[];
|
|
145
148
|
};
|
|
146
|
-
declare const MenuDropdown: (props: MenuDropdownProps) => JSX.Element;
|
|
149
|
+
declare const MenuDropdown: (props: MenuDropdownProps) => react_jsx_runtime.JSX.Element;
|
|
147
150
|
|
|
148
151
|
type NotificationsProps = {
|
|
149
152
|
img?: string;
|
|
@@ -161,7 +164,7 @@ type NotificationsBarProps = {
|
|
|
161
164
|
bottom?: number;
|
|
162
165
|
open?: boolean;
|
|
163
166
|
};
|
|
164
|
-
declare const NotificationBar: (props: NotificationsBarProps) => JSX.Element;
|
|
167
|
+
declare const NotificationBar: (props: NotificationsBarProps) => react_jsx_runtime.JSX.Element;
|
|
165
168
|
|
|
166
169
|
type RadioProps = {
|
|
167
170
|
label?: string;
|
|
@@ -170,7 +173,7 @@ type RadioProps = {
|
|
|
170
173
|
position?: "top" | "bottom" | "left" | "right";
|
|
171
174
|
onChange?: (value: boolean) => void;
|
|
172
175
|
};
|
|
173
|
-
declare const Radio: ({ onChange, ...props }: RadioProps) => JSX.Element;
|
|
176
|
+
declare const Radio: ({ onChange, ...props }: RadioProps) => react_jsx_runtime.JSX.Element;
|
|
174
177
|
|
|
175
178
|
type OptionsProps = {
|
|
176
179
|
title: string;
|
|
@@ -190,7 +193,7 @@ type RadioGroupProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
190
193
|
active?: boolean;
|
|
191
194
|
emptyValue?: boolean;
|
|
192
195
|
};
|
|
193
|
-
declare const RadioGroup: (props: RadioGroupProps) => JSX.Element;
|
|
196
|
+
declare const RadioGroup: (props: RadioGroupProps) => react_jsx_runtime.JSX.Element;
|
|
194
197
|
|
|
195
198
|
type ResultsProps = {
|
|
196
199
|
value: string;
|
|
@@ -200,7 +203,7 @@ type SearchProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
|
200
203
|
showResults?: ResultsProps[];
|
|
201
204
|
loading?: boolean;
|
|
202
205
|
};
|
|
203
|
-
declare const Search: (props: SearchProps) => JSX.Element;
|
|
206
|
+
declare const Search: (props: SearchProps) => react_jsx_runtime.JSX.Element;
|
|
204
207
|
|
|
205
208
|
type SelectProps = Omit<Props, "onChange"> & {
|
|
206
209
|
onChange?: (event: any) => void;
|
|
@@ -209,7 +212,7 @@ type SelectProps = Omit<Props, "onChange"> & {
|
|
|
209
212
|
helper?: string;
|
|
210
213
|
label?: string;
|
|
211
214
|
};
|
|
212
|
-
declare const CustomSelect: (props: SelectProps) => JSX.Element;
|
|
215
|
+
declare const CustomSelect: (props: SelectProps) => react_jsx_runtime.JSX.Element;
|
|
213
216
|
|
|
214
217
|
type MenuItem = {
|
|
215
218
|
icon: string;
|
|
@@ -226,7 +229,7 @@ type SideBarProps = {
|
|
|
226
229
|
logoWidth?: string;
|
|
227
230
|
useLogoFilter?: boolean;
|
|
228
231
|
};
|
|
229
|
-
declare const SideBar: (props: SideBarProps) => JSX.Element;
|
|
232
|
+
declare const SideBar: (props: SideBarProps) => react_jsx_runtime.JSX.Element;
|
|
230
233
|
|
|
231
234
|
type SpacerProps$2 = {
|
|
232
235
|
top?: number;
|
|
@@ -234,7 +237,7 @@ type SpacerProps$2 = {
|
|
|
234
237
|
left?: number;
|
|
235
238
|
right?: number;
|
|
236
239
|
};
|
|
237
|
-
declare const Spacer: (props: SpacerProps$2) => JSX.Element;
|
|
240
|
+
declare const Spacer: (props: SpacerProps$2) => react_jsx_runtime.JSX.Element;
|
|
238
241
|
|
|
239
242
|
type SpacerProps$1 = {
|
|
240
243
|
top?: number;
|
|
@@ -245,7 +248,7 @@ type SpacerProps$1 = {
|
|
|
245
248
|
type PaddingProps = SpacerProps$1 & {
|
|
246
249
|
children: React.ReactNode;
|
|
247
250
|
};
|
|
248
|
-
declare const Padding: (props: PaddingProps) => JSX.Element;
|
|
251
|
+
declare const Padding: (props: PaddingProps) => react_jsx_runtime.JSX.Element;
|
|
249
252
|
|
|
250
253
|
type SpacerProps = {
|
|
251
254
|
top?: number;
|
|
@@ -254,7 +257,7 @@ type SpacerProps = {
|
|
|
254
257
|
right?: number;
|
|
255
258
|
};
|
|
256
259
|
type MarginProps = SpacerProps;
|
|
257
|
-
declare const Margin: (props: MarginProps) => JSX.Element;
|
|
260
|
+
declare const Margin: (props: MarginProps) => react_jsx_runtime.JSX.Element;
|
|
258
261
|
|
|
259
262
|
type MenusProps = {
|
|
260
263
|
label: string;
|
|
@@ -266,7 +269,7 @@ type TabMenuProps = {
|
|
|
266
269
|
menus: MenusProps[];
|
|
267
270
|
onChangeTab?: (index: number) => void;
|
|
268
271
|
};
|
|
269
|
-
declare const TabMenu: (props: TabMenuProps) => JSX.Element;
|
|
272
|
+
declare const TabMenu: (props: TabMenuProps) => react_jsx_runtime.JSX.Element;
|
|
270
273
|
|
|
271
274
|
type ToastProps = HTMLAttributes<HTMLDivElement> & {
|
|
272
275
|
active?: boolean;
|
|
@@ -276,8 +279,9 @@ type ToastProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
276
279
|
position?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
277
280
|
toggleToast?: (event?: any) => void;
|
|
278
281
|
onClick?: (event?: any) => void;
|
|
282
|
+
absolute?: boolean;
|
|
279
283
|
};
|
|
280
|
-
declare const Toast: (props: ToastProps) => JSX.Element;
|
|
284
|
+
declare const Toast: (props: ToastProps) => react_jsx_runtime.JSX.Element;
|
|
281
285
|
|
|
282
286
|
type ToggleProps = {
|
|
283
287
|
mode: "small" | "large";
|
|
@@ -285,13 +289,13 @@ type ToggleProps = {
|
|
|
285
289
|
checked?: boolean;
|
|
286
290
|
onToggle?: () => void;
|
|
287
291
|
};
|
|
288
|
-
declare const Toggle: (props: ToggleProps) => JSX.Element;
|
|
292
|
+
declare const Toggle: (props: ToggleProps) => react_jsx_runtime.JSX.Element;
|
|
289
293
|
|
|
290
294
|
type ProgressBarProps = {
|
|
291
295
|
percent: number;
|
|
292
296
|
color?: string;
|
|
293
297
|
};
|
|
294
|
-
declare const ProgressBar: (props: ProgressBarProps) => JSX.Element;
|
|
298
|
+
declare const ProgressBar: (props: ProgressBarProps) => react_jsx_runtime.JSX.Element;
|
|
295
299
|
|
|
296
300
|
type InputTokenProps = {
|
|
297
301
|
inputsNumber?: number;
|
|
@@ -301,7 +305,7 @@ type InputTokenProps = {
|
|
|
301
305
|
bolder?: boolean;
|
|
302
306
|
keyDownFunction: () => void;
|
|
303
307
|
};
|
|
304
|
-
declare function InputToken(props: InputTokenProps): JSX.Element;
|
|
308
|
+
declare function InputToken(props: InputTokenProps): react_jsx_runtime.JSX.Element;
|
|
305
309
|
|
|
306
310
|
type TableColumn<T = any> = {
|
|
307
311
|
label: string;
|
|
@@ -320,7 +324,7 @@ type TableProps = {
|
|
|
320
324
|
haveHeader?: boolean;
|
|
321
325
|
renderHeader?: (columns: TableColumn<any>[]) => JSX.Element;
|
|
322
326
|
};
|
|
323
|
-
declare const Table: (props: TableProps) => JSX.Element;
|
|
327
|
+
declare const Table: (props: TableProps) => react_jsx_runtime.JSX.Element;
|
|
324
328
|
|
|
325
329
|
type InputCurrencyProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
326
330
|
value?: string;
|
|
@@ -342,7 +346,7 @@ type InputCurrencyProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAt
|
|
|
342
346
|
inputSize?: "normal" | "large";
|
|
343
347
|
isPercentage?: boolean;
|
|
344
348
|
};
|
|
345
|
-
declare const InputCurrency: (props: InputCurrencyProps) => JSX.Element;
|
|
349
|
+
declare const InputCurrency: (props: InputCurrencyProps) => react_jsx_runtime.JSX.Element;
|
|
346
350
|
|
|
347
351
|
type panelProps = {
|
|
348
352
|
label?: string;
|
|
@@ -357,8 +361,9 @@ type panelProps = {
|
|
|
357
361
|
type SummaryPanelProps = {
|
|
358
362
|
panel: panelProps[];
|
|
359
363
|
isLoading?: boolean;
|
|
364
|
+
isOddNumber?: boolean;
|
|
360
365
|
};
|
|
361
|
-
declare const SummaryPanel: (props: SummaryPanelProps) => JSX.Element;
|
|
366
|
+
declare const SummaryPanel: (props: SummaryPanelProps) => react_jsx_runtime.JSX.Element;
|
|
362
367
|
|
|
363
368
|
type PaginationProps = LiHTMLAttributes<HTMLLIElement> & {
|
|
364
369
|
total: number;
|
|
@@ -368,14 +373,14 @@ type PaginationProps = LiHTMLAttributes<HTMLLIElement> & {
|
|
|
368
373
|
changePage?: (page: number) => void;
|
|
369
374
|
setOffset?: (offset: number) => void;
|
|
370
375
|
};
|
|
371
|
-
declare const Pagination: (props: PaginationProps) => JSX.Element;
|
|
376
|
+
declare const Pagination: (props: PaginationProps) => react_jsx_runtime.JSX.Element;
|
|
372
377
|
|
|
373
378
|
type BalanceAlertProps = {
|
|
374
379
|
title: string;
|
|
375
380
|
message: string;
|
|
376
381
|
show?: boolean;
|
|
377
382
|
};
|
|
378
|
-
declare const BalanceAlert: (props: BalanceAlertProps) => JSX.Element;
|
|
383
|
+
declare const BalanceAlert: (props: BalanceAlertProps) => react_jsx_runtime.JSX.Element;
|
|
379
384
|
|
|
380
385
|
type ParcelSelectorProps = {
|
|
381
386
|
value: number;
|
|
@@ -399,7 +404,7 @@ type ButtonMoreDetailsProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
|
399
404
|
options?: DropdownOptions[];
|
|
400
405
|
open?: boolean;
|
|
401
406
|
};
|
|
402
|
-
declare const ButtonMoreDetails: (props: ButtonMoreDetailsProps & DropContainerProps) => JSX.Element;
|
|
407
|
+
declare const ButtonMoreDetails: (props: ButtonMoreDetailsProps & DropContainerProps) => react_jsx_runtime.JSX.Element;
|
|
403
408
|
|
|
404
409
|
type AddBalanceOutputProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
405
410
|
value?: string;
|
|
@@ -419,7 +424,7 @@ type AddBalanceOutputProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
|
419
424
|
fontSize?: "normal" | "large";
|
|
420
425
|
name?: string;
|
|
421
426
|
};
|
|
422
|
-
declare const AddBalanceOutput: (props: AddBalanceOutputProps) => JSX.Element;
|
|
427
|
+
declare const AddBalanceOutput: (props: AddBalanceOutputProps) => react_jsx_runtime.JSX.Element;
|
|
423
428
|
|
|
424
429
|
type IconProps$1 = {
|
|
425
430
|
iconSize?: number;
|
|
@@ -428,20 +433,20 @@ type IconProps$1 = {
|
|
|
428
433
|
tooltipLabel: string;
|
|
429
434
|
icon?: string;
|
|
430
435
|
};
|
|
431
|
-
declare const IconWithTooltip: (props: IconProps$1) => JSX.Element;
|
|
436
|
+
declare const IconWithTooltip: (props: IconProps$1) => react_jsx_runtime.JSX.Element;
|
|
432
437
|
|
|
433
438
|
type IconProps = {
|
|
434
439
|
tooltipColor?: string;
|
|
435
440
|
tooltipLabel: string;
|
|
436
441
|
visible?: boolean;
|
|
437
442
|
};
|
|
438
|
-
declare const Tooltip: (props: IconProps) => JSX.Element;
|
|
443
|
+
declare const Tooltip: (props: IconProps) => react_jsx_runtime.JSX.Element;
|
|
439
444
|
|
|
440
445
|
type TooltipCustomProps = {} & TooltipProps;
|
|
441
|
-
declare const TooltipCustom: (props: TooltipCustomProps) => JSX.Element;
|
|
446
|
+
declare const TooltipCustom: (props: TooltipCustomProps) => react_jsx_runtime.JSX.Element;
|
|
442
447
|
|
|
443
448
|
type NotControlledTooltipsProps = {} & UncontrolledTooltipProps;
|
|
444
|
-
declare const NotcontrolledTooltip: (props: NotControlledTooltipsProps) => JSX.Element;
|
|
449
|
+
declare const NotcontrolledTooltip: (props: NotControlledTooltipsProps) => react_jsx_runtime.JSX.Element;
|
|
445
450
|
|
|
446
451
|
type ModalProps = HTMLAttributes<HTMLDivElement> & {
|
|
447
452
|
open?: boolean;
|
|
@@ -450,7 +455,17 @@ type ModalProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
450
455
|
children?: JSX.Element;
|
|
451
456
|
toggleModal: () => void;
|
|
452
457
|
};
|
|
453
|
-
declare const BottomModal: (props: ModalProps) => JSX.Element;
|
|
458
|
+
declare const BottomModal: (props: ModalProps) => react_jsx_runtime.JSX.Element;
|
|
459
|
+
|
|
460
|
+
type MenuProps = {
|
|
461
|
+
title: string;
|
|
462
|
+
description: string;
|
|
463
|
+
onClick: () => void;
|
|
464
|
+
};
|
|
465
|
+
type SubMenuProps = {
|
|
466
|
+
menus: MenuProps[];
|
|
467
|
+
};
|
|
468
|
+
declare const SubMenu: (props: SubMenuProps) => react_jsx_runtime.JSX.Element;
|
|
454
469
|
|
|
455
470
|
type AppTheme = {
|
|
456
471
|
colors: Colors;
|
|
@@ -528,5 +543,5 @@ declare const UITheme: AppTheme;
|
|
|
528
543
|
|
|
529
544
|
declare const hexToFilter: (hex: string) => string;
|
|
530
545
|
|
|
531
|
-
export { AddBalanceOutput, BalanceAlert, BottomModal, Breadcrumb, Button, ButtonDropdown, ButtonMoreDetails, Checkbox, CustomSelect, Dropzone, IconWithTooltip, Input, InputCurrency, InputToken, InteractiveModal, lateralModal as LateralModal, Margin, MenuDropdown as Menudropdown, NotcontrolledTooltip as NotControlledToolTip, NotificationBar as NotificationsBar, Padding, Pagination, ParcelSelector, ProgressBar, Radio, RadioGroup, ReturnButton, Search, SideBar, Spacer, SummaryPanel, TabMenu, Table, Toast, Toggle, Tooltip, TooltipCustom, UITheme, hexToFilter };
|
|
546
|
+
export { AddBalanceOutput, BalanceAlert, BottomModal, Breadcrumb, Button, ButtonDropdown, ButtonMoreDetails, Checkbox, CustomSelect, Dropzone, IconWithTooltip, Input, InputCurrency, InputToken, InteractiveModal, lateralModal as LateralModal, Margin, MenuDropdown as Menudropdown, NotcontrolledTooltip as NotControlledToolTip, NotificationBar as NotificationsBar, Padding, Pagination, ParcelSelector, ProgressBar, Radio, RadioGroup, ReturnButton, Search, SideBar, Spacer, SubMenu, SummaryPanel, TabMenu, Table, Toast, Toggle, Tooltip, TooltipCustom, UITheme, hexToFilter };
|
|
532
547
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosperitainova/mirage-ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.143",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -66,6 +66,7 @@
|
|
|
66
66
|
"styled-components": "^5.3.6"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
+
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
|
69
70
|
"@rollup/plugin-babel": "^6.0.3",
|
|
70
71
|
"@rollup/plugin-commonjs": "^24.0.0",
|
|
71
72
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const ExternalToast: () => JSX.Element;
|
|
2
|
-
export default ExternalToast;
|
|
3
|
-
export declare const success: <TData = unknown>(content: import("react-toastify").ToastContent<TData>, options?: import("react-toastify").ToastOptions<{}> | undefined) => import("react-toastify").Id, error: <TData = unknown>(content: import("react-toastify").ToastContent<TData>, options?: import("react-toastify").ToastOptions<{}> | undefined) => import("react-toastify").Id, warning: <TData = unknown>(content: import("react-toastify").ToastContent<TData>, options?: import("react-toastify").ToastOptions<{}> | undefined) => import("react-toastify").Id, info: <TData = unknown>(content: import("react-toastify").ToastContent<TData>, options?: import("react-toastify").ToastOptions<{}> | undefined) => import("react-toastify").Id;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default, error, info, success, warning } from "./ExternalToast";
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const ExternalToast: () => JSX.Element;
|
|
2
|
-
export default ExternalToast;
|
|
3
|
-
export declare const success: <TData = unknown>(content: import("react-toastify").ToastContent<TData>, options?: import("react-toastify").ToastOptions<{}> | undefined) => import("react-toastify").Id, error: <TData = unknown>(content: import("react-toastify").ToastContent<TData>, options?: import("react-toastify").ToastOptions<{}> | undefined) => import("react-toastify").Id, warning: <TData = unknown>(content: import("react-toastify").ToastContent<TData>, options?: import("react-toastify").ToastOptions<{}> | undefined) => import("react-toastify").Id, info: <TData = unknown>(content: import("react-toastify").ToastContent<TData>, options?: import("react-toastify").ToastOptions<{}> | undefined) => import("react-toastify").Id;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default, error, info, success, warning } from "./ExternalToast";
|