@aveonline/ui-react 1.14.0 → 1.14.2
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/components/atoms/Checkbox/ICheckbox.d.ts +3 -2
- package/dist/components/atoms/RadioButton/IRadioButton.d.ts +3 -2
- package/dist/components/molecules/Header/Header.d.ts +1 -1
- package/dist/components/molecules/Header/IHeader.d.ts +1 -2
- package/dist/ui-react.mjs +152 -157
- package/dist/ui-react.umd.js +22 -22
- package/package.json +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { IColorText } from '../../../types';
|
|
1
2
|
declare type Change = {
|
|
2
3
|
value: string | number;
|
|
3
4
|
checked: boolean;
|
|
4
5
|
};
|
|
5
|
-
|
|
6
|
+
interface IPropsCheckbox extends IColorText {
|
|
6
7
|
/**
|
|
7
8
|
* ID unique
|
|
8
9
|
*/
|
|
@@ -43,5 +44,5 @@ declare type IPropsCheckbox = {
|
|
|
43
44
|
* Option for checked
|
|
44
45
|
*/
|
|
45
46
|
checked?: boolean;
|
|
46
|
-
}
|
|
47
|
+
}
|
|
47
48
|
export type { IPropsCheckbox };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { IColorText } from '../../../types';
|
|
1
2
|
declare type Change = {
|
|
2
3
|
value: string | number;
|
|
3
4
|
checked: boolean;
|
|
4
5
|
};
|
|
5
|
-
|
|
6
|
+
interface IPropsRadio extends IColorText {
|
|
6
7
|
/**
|
|
7
8
|
* ID unique
|
|
8
9
|
*/
|
|
@@ -35,5 +36,5 @@ declare type IPropsRadio = {
|
|
|
35
36
|
* Event for control to checked and value
|
|
36
37
|
*/
|
|
37
38
|
onChange?: (value: Change) => void;
|
|
38
|
-
}
|
|
39
|
+
}
|
|
39
40
|
export type { IPropsRadio };
|
|
@@ -3,5 +3,5 @@ import { IHeader } from './IHeader';
|
|
|
3
3
|
* Atom: Header
|
|
4
4
|
* The top bar is a header component that allows merchants to access menus, and navigate by clicking on the logo. It’s always visible at the top of interfaces.
|
|
5
5
|
*/
|
|
6
|
-
declare function Header({ hasLogo, className, menuMovil,
|
|
6
|
+
declare function Header({ hasLogo, className, menuMovil, options, ...rest }: IHeader): JSX.Element;
|
|
7
7
|
export default Header;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IDropdownUser } from '../DropdownUser';
|
|
2
1
|
declare type IModalMenuMovil = {
|
|
3
2
|
isOpen: boolean;
|
|
4
3
|
onClose: () => void;
|
|
@@ -6,8 +5,8 @@ declare type IModalMenuMovil = {
|
|
|
6
5
|
declare type IHeader = {
|
|
7
6
|
hasLogo?: boolean;
|
|
8
7
|
className?: string;
|
|
9
|
-
dropdownUser: IDropdownUser;
|
|
10
8
|
menuMovil?: (stateMenu: IModalMenuMovil) => JSX.Element;
|
|
9
|
+
options?: JSX.Element[];
|
|
11
10
|
[rest: string]: any;
|
|
12
11
|
};
|
|
13
12
|
export type { IHeader, IModalMenuMovil };
|