ywana-core8 0.0.346 → 0.0.349

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.umd.js CHANGED
@@ -2069,6 +2069,8 @@
2069
2069
  userLabel = _ref$userLabel === void 0 ? "User" : _ref$userLabel,
2070
2070
  _ref$passwordLabel = _ref.passwordLabel,
2071
2071
  passwordLabel = _ref$passwordLabel === void 0 ? "Password" : _ref$passwordLabel,
2072
+ _ref$passwordValue = _ref.passwordValue,
2073
+ passwordValue = _ref$passwordValue === void 0 ? '' : _ref$passwordValue,
2072
2074
  _ref$loginLabel = _ref.loginLabel,
2073
2075
  loginLabel = _ref$loginLabel === void 0 ? "Log In" : _ref$loginLabel,
2074
2076
  onOK = _ref.onOK,
@@ -2082,7 +2084,7 @@
2082
2084
  user = _useState[0],
2083
2085
  setUser = _useState[1];
2084
2086
 
2085
- var _useState2 = React.useState(''),
2087
+ var _useState2 = React.useState(passwordValue),
2086
2088
  password = _useState2[0],
2087
2089
  setPassword = _useState2[1];
2088
2090
 
@@ -4231,7 +4233,10 @@
4231
4233
  value = _ref$value === void 0 ? {} : _ref$value,
4232
4234
  filter = _ref.filter,
4233
4235
  validator = _ref.validator,
4234
- onOK = _ref.onOK;
4236
+ onOK = _ref.onOK,
4237
+ className = _ref.className,
4238
+ _ref$outlined = _ref.outlined,
4239
+ outlined = _ref$outlined === void 0 ? true : _ref$outlined;
4235
4240
  var site = React.useContext(SiteContext);
4236
4241
 
4237
4242
  var _useState = React.useState(value),
@@ -4299,7 +4304,9 @@
4299
4304
  }, /*#__PURE__*/React__default["default"].createElement(ContentEditor, {
4300
4305
  content: content,
4301
4306
  onChange: change,
4302
- filter: filterForm
4307
+ filter: filterForm,
4308
+ className: className,
4309
+ outlined: outlined
4303
4310
  }), errors.map(function (error) {
4304
4311
  return /*#__PURE__*/React__default["default"].createElement(Text, {
4305
4312
  use: "overline",