@guillotinaweb/react-gmi 0.29.1 → 0.29.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/input/email.d.ts +1 -1
- package/dist/react-gmi.esm.js +4 -2
- package/dist/react-gmi.esm.js.map +1 -1
- package/dist/react-gmi.js +4 -2
- package/dist/react-gmi.js.map +1 -1
- package/dist/react-gmi.modern.js +4 -2
- package/dist/react-gmi.modern.js.map +1 -1
- package/dist/react-gmi.umd.js +4 -2
- package/dist/react-gmi.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -5,5 +5,5 @@ interface Props {
|
|
|
5
5
|
placeholder?: string;
|
|
6
6
|
id?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare const EmailInput: ({ value, dataTest, placeholder, id, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const EmailInput: ({ value, dataTest, placeholder, id, onChange, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export {};
|
package/dist/react-gmi.esm.js
CHANGED
|
@@ -1697,7 +1697,8 @@ var EmailInput = function EmailInput(_ref) {
|
|
|
1697
1697
|
value = _ref$value === void 0 ? '' : _ref$value,
|
|
1698
1698
|
dataTest = _ref.dataTest,
|
|
1699
1699
|
placeholder = _ref.placeholder,
|
|
1700
|
-
id = _ref.id
|
|
1700
|
+
id = _ref.id,
|
|
1701
|
+
onChange = _ref.onChange;
|
|
1701
1702
|
var intl = useIntl();
|
|
1702
1703
|
return jsx(Input, {
|
|
1703
1704
|
type: "email",
|
|
@@ -1715,7 +1716,8 @@ var EmailInput = function EmailInput(_ref) {
|
|
|
1715
1716
|
icon: "fas fa-envelope"
|
|
1716
1717
|
}),
|
|
1717
1718
|
id: id,
|
|
1718
|
-
placeholder: placeholder
|
|
1719
|
+
placeholder: placeholder,
|
|
1720
|
+
onChange: onChange
|
|
1719
1721
|
});
|
|
1720
1722
|
};
|
|
1721
1723
|
|