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

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
@@ -617,7 +617,8 @@ var icons = {
617
617
  fill: "#D9363E"
618
618
  }
619
619
  )),
620
- profile: /* @__PURE__ */ import_react13.default.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ import_react13.default.createElement("path", { d: "M17 19.5C18.3411 19.5 19.5979 18.3735 19.2664 16.9062C19.1476 16.3806 18.9841 15.8647 18.7769 15.3645C18.2994 14.2119 17.5997 13.1646 16.7175 12.2825C15.8354 11.4003 14.7881 10.7006 13.6355 10.2231C12.4829 9.74572 11.2476 9.5 10 9.5C8.75244 9.5 7.5171 9.74572 6.36451 10.2231C5.21191 10.7006 4.16464 11.4003 3.28249 12.2825C2.40033 13.1646 1.70056 14.2119 1.22314 15.3645C1.01594 15.8647 0.852378 16.3806 0.733607 16.9062C0.402069 18.3735 1.65891 19.5 3 19.5L10 19.5H17Z", fill: "#505050" }), /* @__PURE__ */ import_react13.default.createElement("circle", { cx: "10", cy: "6", r: "5.5", fill: "#505050" }))
620
+ profile: /* @__PURE__ */ import_react13.default.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ import_react13.default.createElement("path", { d: "M17 19.5C18.3411 19.5 19.5979 18.3735 19.2664 16.9062C19.1476 16.3806 18.9841 15.8647 18.7769 15.3645C18.2994 14.2119 17.5997 13.1646 16.7175 12.2825C15.8354 11.4003 14.7881 10.7006 13.6355 10.2231C12.4829 9.74572 11.2476 9.5 10 9.5C8.75244 9.5 7.5171 9.74572 6.36451 10.2231C5.21191 10.7006 4.16464 11.4003 3.28249 12.2825C2.40033 13.1646 1.70056 14.2119 1.22314 15.3645C1.01594 15.8647 0.852378 16.3806 0.733607 16.9062C0.402069 18.3735 1.65891 19.5 3 19.5L10 19.5H17Z", fill: "#505050" }), /* @__PURE__ */ import_react13.default.createElement("circle", { cx: "10", cy: "6", r: "5.5", fill: "#505050" })),
621
+ call: /* @__PURE__ */ import_react13.default.createElement("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ import_react13.default.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M0 2.57143C0 1.15127 1.15127 0 2.57143 0H3.74711C4.48457 0 5.1274 0.501906 5.30627 1.21735L6.25409 5.00865C6.41092 5.63597 6.17652 6.29618 5.65922 6.68416L4.5504 7.51577C4.43526 7.60213 4.41023 7.72858 4.44257 7.81687C5.41587 10.4738 7.52615 12.5841 10.1831 13.5574C10.2714 13.5898 10.3979 13.5647 10.4842 13.4496L11.3158 12.3408C11.7038 11.8235 12.364 11.5891 12.9913 11.7459L16.7826 12.6937C17.4981 12.8726 18 13.5154 18 14.2529V15.4286C18 16.8487 16.8487 18 15.4286 18H13.5C6.04416 18 0 11.9558 0 4.5V2.57143Z", fill: "#505050" }))
621
622
  };
622
623
 
623
624
  // src/Components/Button.tsx
@@ -795,12 +796,12 @@ var Sidebar = (props) => {
795
796
  return getItem(
796
797
  eachItem.label,
797
798
  index.toString(),
798
- icons[eachItem.icon],
799
- eachItem.children?.map(
799
+ icons[eachItem.icon] || /* @__PURE__ */ import_react16.default.createElement("img", { src: eachItem.icon }),
800
+ eachItem.items?.map(
800
801
  (child, childIndex) => getItem(
801
802
  child.label,
802
803
  `${index}-${childIndex}`,
803
- icons[child.icon],
804
+ icons[child.icon] || /* @__PURE__ */ import_react16.default.createElement("img", { src: child.icon }),
804
805
  void 0,
805
806
  child
806
807
  )
@@ -816,7 +817,15 @@ var Sidebar = (props) => {
816
817
  onCollapse: (value) => setCollapsed(value)
817
818
  },
818
819
  /* @__PURE__ */ import_react16.default.createElement("div", { className: "demo-logo-vertical" }),
819
- /* @__PURE__ */ import_react16.default.createElement(import_antd11.Menu, { theme: "dark", defaultSelectedKeys: ["1"], mode: "inline", items })
820
+ /* @__PURE__ */ import_react16.default.createElement(
821
+ import_antd11.Menu,
822
+ {
823
+ theme: "dark",
824
+ defaultSelectedKeys: ["1"],
825
+ mode: "inline",
826
+ items
827
+ }
828
+ )
820
829
  ));
821
830
  };
822
831
 
package/dist/index.mjs CHANGED
@@ -546,7 +546,8 @@ var icons = {
546
546
  fill: "#D9363E"
547
547
  }
548
548
  )),
549
- profile: /* @__PURE__ */ React12.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement("path", { d: "M17 19.5C18.3411 19.5 19.5979 18.3735 19.2664 16.9062C19.1476 16.3806 18.9841 15.8647 18.7769 15.3645C18.2994 14.2119 17.5997 13.1646 16.7175 12.2825C15.8354 11.4003 14.7881 10.7006 13.6355 10.2231C12.4829 9.74572 11.2476 9.5 10 9.5C8.75244 9.5 7.5171 9.74572 6.36451 10.2231C5.21191 10.7006 4.16464 11.4003 3.28249 12.2825C2.40033 13.1646 1.70056 14.2119 1.22314 15.3645C1.01594 15.8647 0.852378 16.3806 0.733607 16.9062C0.402069 18.3735 1.65891 19.5 3 19.5L10 19.5H17Z", fill: "#505050" }), /* @__PURE__ */ React12.createElement("circle", { cx: "10", cy: "6", r: "5.5", fill: "#505050" }))
549
+ profile: /* @__PURE__ */ React12.createElement("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement("path", { d: "M17 19.5C18.3411 19.5 19.5979 18.3735 19.2664 16.9062C19.1476 16.3806 18.9841 15.8647 18.7769 15.3645C18.2994 14.2119 17.5997 13.1646 16.7175 12.2825C15.8354 11.4003 14.7881 10.7006 13.6355 10.2231C12.4829 9.74572 11.2476 9.5 10 9.5C8.75244 9.5 7.5171 9.74572 6.36451 10.2231C5.21191 10.7006 4.16464 11.4003 3.28249 12.2825C2.40033 13.1646 1.70056 14.2119 1.22314 15.3645C1.01594 15.8647 0.852378 16.3806 0.733607 16.9062C0.402069 18.3735 1.65891 19.5 3 19.5L10 19.5H17Z", fill: "#505050" }), /* @__PURE__ */ React12.createElement("circle", { cx: "10", cy: "6", r: "5.5", fill: "#505050" })),
550
+ call: /* @__PURE__ */ React12.createElement("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M0 2.57143C0 1.15127 1.15127 0 2.57143 0H3.74711C4.48457 0 5.1274 0.501906 5.30627 1.21735L6.25409 5.00865C6.41092 5.63597 6.17652 6.29618 5.65922 6.68416L4.5504 7.51577C4.43526 7.60213 4.41023 7.72858 4.44257 7.81687C5.41587 10.4738 7.52615 12.5841 10.1831 13.5574C10.2714 13.5898 10.3979 13.5647 10.4842 13.4496L11.3158 12.3408C11.7038 11.8235 12.364 11.5891 12.9913 11.7459L16.7826 12.6937C17.4981 12.8726 18 13.5154 18 14.2529V15.4286C18 16.8487 16.8487 18 15.4286 18H13.5C6.04416 18 0 11.9558 0 4.5V2.57143Z", fill: "#505050" }))
550
551
  };
551
552
 
552
553
  // src/Components/Button.tsx
@@ -724,12 +725,12 @@ var Sidebar = (props) => {
724
725
  return getItem(
725
726
  eachItem.label,
726
727
  index.toString(),
727
- icons[eachItem.icon],
728
- eachItem.children?.map(
728
+ icons[eachItem.icon] || /* @__PURE__ */ React15.createElement("img", { src: eachItem.icon }),
729
+ eachItem.items?.map(
729
730
  (child, childIndex) => getItem(
730
731
  child.label,
731
732
  `${index}-${childIndex}`,
732
- icons[child.icon],
733
+ icons[child.icon] || /* @__PURE__ */ React15.createElement("img", { src: child.icon }),
733
734
  void 0,
734
735
  child
735
736
  )
@@ -745,7 +746,15 @@ var Sidebar = (props) => {
745
746
  onCollapse: (value) => setCollapsed(value)
746
747
  },
747
748
  /* @__PURE__ */ React15.createElement("div", { className: "demo-logo-vertical" }),
748
- /* @__PURE__ */ React15.createElement(Menu, { theme: "dark", defaultSelectedKeys: ["1"], mode: "inline", items })
749
+ /* @__PURE__ */ React15.createElement(
750
+ Menu,
751
+ {
752
+ theme: "dark",
753
+ defaultSelectedKeys: ["1"],
754
+ mode: "inline",
755
+ items
756
+ }
757
+ )
749
758
  ));
750
759
  };
751
760
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.16-Beta35",
3
+ "version": "0.0.16-Beta37",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",