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 CHANGED
@@ -2512,7 +2512,7 @@ var LoginBox = function LoginBox(_ref) {
2512
2512
  loginLabel = _ref$loginLabel === void 0 ? "Log In" : _ref$loginLabel,
2513
2513
  onOK = _ref.onOK,
2514
2514
  _ref$forgotLabel = _ref.forgotLabel,
2515
- forgotLabel = _ref$forgotLabel === void 0 ? "Forgot Password ?" : _ref$forgotLabel,
2515
+ forgotLabel = _ref$forgotLabel === void 0 ? "Forgot Password?" : _ref$forgotLabel,
2516
2516
  onForgot = _ref.onForgot,
2517
2517
  message = _ref.message,
2518
2518
  loading = _ref.loading;
@@ -2562,11 +2562,7 @@ var LoginBox = function LoginBox(_ref) {
2562
2562
  onEnter: ok,
2563
2563
  type: "password",
2564
2564
  outlined: true
2565
- })), /*#__PURE__*/React__default["default"].createElement("footer", null, onForgot ? /*#__PURE__*/React__default["default"].createElement(Button, {
2566
- label: tx(forgotLabel),
2567
- action: forgot,
2568
- disabled: !canForgot()
2569
- }) : null, loading ? /*#__PURE__*/React__default["default"].createElement("div", {
2565
+ })), /*#__PURE__*/React__default["default"].createElement("footer", null, loading ? /*#__PURE__*/React__default["default"].createElement("div", {
2570
2566
  className: "load-box"
2571
2567
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
2572
2568
  icon: "refresh"
@@ -2574,8 +2570,14 @@ var LoginBox = function LoginBox(_ref) {
2574
2570
  label: tx(loginLabel),
2575
2571
  action: ok,
2576
2572
  disabled: !canOK(),
2577
- raised: true
2578
- }), message ? /*#__PURE__*/React__default["default"].createElement("div", {
2573
+ raised: true,
2574
+ className: "login-button"
2575
+ }), onForgot ? /*#__PURE__*/React__default["default"].createElement(Button, {
2576
+ label: tx(forgotLabel),
2577
+ action: forgot,
2578
+ disabled: !canForgot(),
2579
+ className: "forgot-button"
2580
+ }) : null, message ? /*#__PURE__*/React__default["default"].createElement("div", {
2579
2581
  className: "message"
2580
2582
  }, /*#__PURE__*/React__default["default"].createElement(Text, null, message)) : null));
2581
2583
  };