ywana-core8 0.0.342 → 0.0.345

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
@@ -3562,6 +3562,9 @@
3562
3562
  var ContentEditor = function ContentEditor(_ref) {
3563
3563
  var content = _ref.content,
3564
3564
  filter = _ref.filter,
3565
+ _ref$outlined = _ref.outlined,
3566
+ outlined = _ref$outlined === void 0 ? true : _ref$outlined,
3567
+ className = _ref.className,
3565
3568
  onChange = _ref.onChange;
3566
3569
 
3567
3570
  function change(id, value) {
@@ -3573,7 +3576,7 @@
3573
3576
 
3574
3577
  var sections = content.sections();
3575
3578
  return /*#__PURE__*/React__default["default"].createElement("div", {
3576
- className: "content-editor"
3579
+ className: "content-editor " + className
3577
3580
  }, sections.map(function (section) {
3578
3581
  var title = section.title,
3579
3582
  fields = section.fields;
@@ -3589,7 +3592,7 @@
3589
3592
  key: field.id,
3590
3593
  field: field,
3591
3594
  onChange: change,
3592
- outlined: true,
3595
+ outlined: outlined,
3593
3596
  content: content
3594
3597
  });
3595
3598
  }))) : null;
@@ -3947,7 +3950,7 @@
3947
3950
  }
3948
3951
 
3949
3952
  return /*#__PURE__*/React__default["default"].createElement("div", {
3950
- className: "field-editor string-editor"
3953
+ className: "field-editor string-editor " + id
3951
3954
  }, renderFormat(format, options));
3952
3955
  };
3953
3956
  /**
@@ -5314,7 +5317,7 @@
5314
5317
  user: user
5315
5318
  }) : null, canFilter ? /*#__PURE__*/React__default["default"].createElement(TableFilters, {
5316
5319
  schema: schema,
5317
- onSave: saveQuery
5320
+ onSave: canQuery ? saveQuery : null
5318
5321
  }) : null) : null, /*#__PURE__*/React__default["default"].createElement("main", {
5319
5322
  key: id,
5320
5323
  className: "table-page"