@apexcura/core 0.0.16-Beta21 → 0.0.16-Beta22
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -307,7 +307,7 @@ var ElementExecutor = (props) => {
|
|
|
307
307
|
const renderFields = (schema2) => {
|
|
308
308
|
return schema2 && schema2.map((eachSection) => {
|
|
309
309
|
if (eachSection.visible !== false) {
|
|
310
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
310
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, eachSection.fields && eachSection.fields.length > 0 ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, renderElement(eachSection), /* @__PURE__ */ import_react.default.createElement("div", { className: eachSection.className, key: eachSection.name }, renderFields(eachSection.fields))) : renderElement(eachSection));
|
|
311
311
|
}
|
|
312
312
|
return null;
|
|
313
313
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -294,7 +294,7 @@ var ElementExecutor = (props) => {
|
|
|
294
294
|
const renderFields = (schema2) => {
|
|
295
295
|
return schema2 && schema2.map((eachSection) => {
|
|
296
296
|
if (eachSection.visible !== false) {
|
|
297
|
-
return /* @__PURE__ */ React.createElement(
|
|
297
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, eachSection.fields && eachSection.fields.length > 0 ? /* @__PURE__ */ React.createElement(React.Fragment, null, renderElement(eachSection), /* @__PURE__ */ React.createElement("div", { className: eachSection.className, key: eachSection.name }, renderFields(eachSection.fields))) : renderElement(eachSection));
|
|
298
298
|
}
|
|
299
299
|
return null;
|
|
300
300
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apexcura/core",
|
|
3
|
-
"version": "0.0.16-
|
|
3
|
+
"version": "0.0.16-Beta22",
|
|
4
4
|
"description": "Apex cura React components library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"apex cura",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"build": "tsup"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@apexcura/ui-components": "^0.0.14-
|
|
31
|
+
"@apexcura/ui-components": "^0.0.14-Beta22",
|
|
32
32
|
"@testing-library/jest-dom": "^6.4.2",
|
|
33
33
|
"@testing-library/react": "^15.0.6",
|
|
34
34
|
"@types/react-global-configuration": "^1.3.3",
|