@apexcura/ui-components 0.0.16-Beta37 → 0.0.16-Beta39

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 CHANGED
@@ -796,17 +796,17 @@ var Sidebar = (props) => {
796
796
  return getItem(
797
797
  eachItem.label,
798
798
  index.toString(),
799
- icons[eachItem.icon] || /* @__PURE__ */ import_react16.default.createElement("img", { src: eachItem.icon }),
799
+ eachItem.icon ? icons[eachItem.icon] || /* @__PURE__ */ import_react16.default.createElement("img", { src: eachItem.icon }) : "",
800
+ eachItem,
800
801
  eachItem.items?.map(
801
802
  (child, childIndex) => getItem(
802
803
  child.label,
803
804
  `${index}-${childIndex}`,
804
- icons[child.icon] || /* @__PURE__ */ import_react16.default.createElement("img", { src: child.icon }),
805
+ eachItem.icon ? icons[eachItem.icon] || /* @__PURE__ */ import_react16.default.createElement("img", { src: eachItem.icon }) : "",
805
806
  void 0,
806
807
  child
807
808
  )
808
- ),
809
- eachItem
809
+ )
810
810
  );
811
811
  });
812
812
  return /* @__PURE__ */ import_react16.default.createElement(import_antd11.Layout, { style: { minHeight: "100vh" } }, /* @__PURE__ */ import_react16.default.createElement(
package/dist/index.mjs CHANGED
@@ -725,17 +725,17 @@ var Sidebar = (props) => {
725
725
  return getItem(
726
726
  eachItem.label,
727
727
  index.toString(),
728
- icons[eachItem.icon] || /* @__PURE__ */ React15.createElement("img", { src: eachItem.icon }),
728
+ eachItem.icon ? icons[eachItem.icon] || /* @__PURE__ */ React15.createElement("img", { src: eachItem.icon }) : "",
729
+ eachItem,
729
730
  eachItem.items?.map(
730
731
  (child, childIndex) => getItem(
731
732
  child.label,
732
733
  `${index}-${childIndex}`,
733
- icons[child.icon] || /* @__PURE__ */ React15.createElement("img", { src: child.icon }),
734
+ eachItem.icon ? icons[eachItem.icon] || /* @__PURE__ */ React15.createElement("img", { src: eachItem.icon }) : "",
734
735
  void 0,
735
736
  child
736
737
  )
737
- ),
738
- eachItem
738
+ )
739
739
  );
740
740
  });
741
741
  return /* @__PURE__ */ React15.createElement(Layout, { style: { minHeight: "100vh" } }, /* @__PURE__ */ React15.createElement(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.16-Beta37",
3
+ "version": "0.0.16-Beta39",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",