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.cjs CHANGED
@@ -2074,6 +2074,8 @@ var LoginBox = function LoginBox(_ref) {
2074
2074
  userLabel = _ref$userLabel === void 0 ? "User" : _ref$userLabel,
2075
2075
  _ref$passwordLabel = _ref.passwordLabel,
2076
2076
  passwordLabel = _ref$passwordLabel === void 0 ? "Password" : _ref$passwordLabel,
2077
+ _ref$passwordValue = _ref.passwordValue,
2078
+ passwordValue = _ref$passwordValue === void 0 ? '' : _ref$passwordValue,
2077
2079
  _ref$loginLabel = _ref.loginLabel,
2078
2080
  loginLabel = _ref$loginLabel === void 0 ? "Log In" : _ref$loginLabel,
2079
2081
  onOK = _ref.onOK,
@@ -2087,7 +2089,7 @@ var LoginBox = function LoginBox(_ref) {
2087
2089
  user = _useState[0],
2088
2090
  setUser = _useState[1];
2089
2091
 
2090
- var _useState2 = React.useState(''),
2092
+ var _useState2 = React.useState(passwordValue),
2091
2093
  password = _useState2[0],
2092
2094
  setPassword = _useState2[1];
2093
2095
 
@@ -4236,7 +4238,10 @@ var CreateContentDialog = function CreateContentDialog(_ref) {
4236
4238
  value = _ref$value === void 0 ? {} : _ref$value,
4237
4239
  filter = _ref.filter,
4238
4240
  validator = _ref.validator,
4239
- onOK = _ref.onOK;
4241
+ onOK = _ref.onOK,
4242
+ className = _ref.className,
4243
+ _ref$outlined = _ref.outlined,
4244
+ outlined = _ref$outlined === void 0 ? true : _ref$outlined;
4240
4245
  var site = React.useContext(SiteContext);
4241
4246
 
4242
4247
  var _useState = React.useState(value),
@@ -4304,7 +4309,9 @@ var CreateContentDialog = function CreateContentDialog(_ref) {
4304
4309
  }, /*#__PURE__*/React__default["default"].createElement(ContentEditor, {
4305
4310
  content: content,
4306
4311
  onChange: change,
4307
- filter: filterForm
4312
+ filter: filterForm,
4313
+ className: className,
4314
+ outlined: outlined
4308
4315
  }), errors.map(function (error) {
4309
4316
  return /*#__PURE__*/React__default["default"].createElement(Text, {
4310
4317
  use: "overline",