ywana-core8 0.0.846 → 0.0.847
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/index.cjs +10 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +16 -0
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +10 -8
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +10 -8
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/textfield.css +4 -0
- package/src/widgets/login/LoginBox.css +13 -0
- package/src/widgets/login/LoginBox.js +3 -3
- package/src/widgets/login/LoginBox.test.js +1 -1
package/dist/index.umd.js
CHANGED
@@ -2505,7 +2505,7 @@
|
|
2505
2505
|
loginLabel = _ref$loginLabel === void 0 ? "Log In" : _ref$loginLabel,
|
2506
2506
|
onOK = _ref.onOK,
|
2507
2507
|
_ref$forgotLabel = _ref.forgotLabel,
|
2508
|
-
forgotLabel = _ref$forgotLabel === void 0 ? "Forgot Password
|
2508
|
+
forgotLabel = _ref$forgotLabel === void 0 ? "Forgot Password?" : _ref$forgotLabel,
|
2509
2509
|
onForgot = _ref.onForgot,
|
2510
2510
|
message = _ref.message,
|
2511
2511
|
loading = _ref.loading;
|
@@ -2555,11 +2555,7 @@
|
|
2555
2555
|
onEnter: ok,
|
2556
2556
|
type: "password",
|
2557
2557
|
outlined: true
|
2558
|
-
})), /*#__PURE__*/React__default["default"].createElement("footer", null,
|
2559
|
-
label: tx(forgotLabel),
|
2560
|
-
action: forgot,
|
2561
|
-
disabled: !canForgot()
|
2562
|
-
}) : null, loading ? /*#__PURE__*/React__default["default"].createElement("div", {
|
2558
|
+
})), /*#__PURE__*/React__default["default"].createElement("footer", null, loading ? /*#__PURE__*/React__default["default"].createElement("div", {
|
2563
2559
|
className: "load-box"
|
2564
2560
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
2565
2561
|
icon: "refresh"
|
@@ -2567,8 +2563,14 @@
|
|
2567
2563
|
label: tx(loginLabel),
|
2568
2564
|
action: ok,
|
2569
2565
|
disabled: !canOK(),
|
2570
|
-
raised: true
|
2571
|
-
|
2566
|
+
raised: true,
|
2567
|
+
className: "login-button"
|
2568
|
+
}), onForgot ? /*#__PURE__*/React__default["default"].createElement(Button, {
|
2569
|
+
label: tx(forgotLabel),
|
2570
|
+
action: forgot,
|
2571
|
+
disabled: !canForgot(),
|
2572
|
+
className: "forgot-button"
|
2573
|
+
}) : null, message ? /*#__PURE__*/React__default["default"].createElement("div", {
|
2572
2574
|
className: "message"
|
2573
2575
|
}, /*#__PURE__*/React__default["default"].createElement(Text, null, message)) : null));
|
2574
2576
|
};
|