@panneau/form-auth 3.0.0 → 3.0.1
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/es/index.js +2 -2
- package/lib/index.js +1 -1
- package/package.json +2 -2
package/es/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import Form from '@panneau/form';
|
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import React, { useCallback } from 'react';
|
|
6
6
|
import { FormattedMessage } from 'react-intl';
|
|
7
|
-
import Link
|
|
7
|
+
import Link from '@panneau/element-link';
|
|
8
8
|
import { postJSON, getCSRFHeaders } from '@folklore/fetch';
|
|
9
9
|
|
|
10
10
|
var _excluded$8 = ["action", "fields", "size", "currentPasswordLabel", "passwordLabel", "passwordConfirmationLabel", "submitButtonLabel"];
|
|
@@ -275,7 +275,7 @@ var Login = function Login(_ref) {
|
|
|
275
275
|
label: passwordLabel
|
|
276
276
|
}],
|
|
277
277
|
submitButtonLabel: submitButtonLabel,
|
|
278
|
-
actions: withForgotPassword ? /*#__PURE__*/React.createElement(Link
|
|
278
|
+
actions: withForgotPassword ? /*#__PURE__*/React.createElement(Link, {
|
|
279
279
|
href: forgotPasswordLink,
|
|
280
280
|
className: "py-2 px-4"
|
|
281
281
|
}, forgotPasswordLabel) : null
|
package/lib/index.js
CHANGED
|
@@ -287,7 +287,7 @@ var Login = function Login(_ref) {
|
|
|
287
287
|
label: passwordLabel
|
|
288
288
|
}],
|
|
289
289
|
submitButtonLabel: submitButtonLabel,
|
|
290
|
-
actions: withForgotPassword ? /*#__PURE__*/React__default["default"].createElement(
|
|
290
|
+
actions: withForgotPassword ? /*#__PURE__*/React__default["default"].createElement(Link__default["default"], {
|
|
291
291
|
href: forgotPasswordLink,
|
|
292
292
|
className: "py-2 px-4"
|
|
293
293
|
}, forgotPasswordLabel) : null
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/form-auth",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Basic forgot password form",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"publishConfig": {
|
|
60
60
|
"access": "public"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "7aa9d6a28fecbacf0b92248ae03da29a2dc8953b"
|
|
63
63
|
}
|