config-editor-base 1.6.3 → 1.6.4
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.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18179,7 +18179,7 @@ function EditorNavs(_ref) {
|
|
|
18179
18179
|
}))))));
|
|
18180
18180
|
}
|
|
18181
18181
|
|
|
18182
|
-
function
|
|
18182
|
+
function ArrayFieldTemplate(props) {
|
|
18183
18183
|
return /*#__PURE__*/React.createElement("div", {
|
|
18184
18184
|
className: "reset-margins"
|
|
18185
18185
|
}, /*#__PURE__*/React.createElement("legend", null, props.title), /*#__PURE__*/React.createElement("p", null, props.schema.description), props.items && props.items.map(function (element) {
|
|
@@ -18709,7 +18709,9 @@ var EditorSection = /*#__PURE__*/function (_React$Component) {
|
|
|
18709
18709
|
onChange: this.handleChange,
|
|
18710
18710
|
onError: this.handleError,
|
|
18711
18711
|
onNavChange: this.onNavChange.bind(this),
|
|
18712
|
-
|
|
18712
|
+
templates: {
|
|
18713
|
+
ArrayFieldTemplate: ArrayFieldTemplate
|
|
18714
|
+
},
|
|
18713
18715
|
activeNav: activatedTab
|
|
18714
18716
|
}, /*#__PURE__*/React.createElement(EditorChangesComparison$1, {
|
|
18715
18717
|
isCompareChanges: this.state.isCompareChanges,
|