@apexcura/ui-components 0.0.16-Beta36 → 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 +11 -5
- package/dist/index.mjs +11 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -796,14 +796,12 @@ var Sidebar = (props) => {
|
|
|
796
796
|
return getItem(
|
|
797
797
|
eachItem.label,
|
|
798
798
|
index.toString(),
|
|
799
|
-
icons[eachItem.icon] || eachItem.icon,
|
|
800
|
-
// Handle icon URLs
|
|
799
|
+
icons[eachItem.icon] || /* @__PURE__ */ import_react16.default.createElement("img", { src: eachItem.icon }),
|
|
801
800
|
eachItem.items?.map(
|
|
802
801
|
(child, childIndex) => getItem(
|
|
803
802
|
child.label,
|
|
804
803
|
`${index}-${childIndex}`,
|
|
805
|
-
icons[child.icon] || child.icon,
|
|
806
|
-
// Handle icon URLs
|
|
804
|
+
icons[child.icon] || /* @__PURE__ */ import_react16.default.createElement("img", { src: child.icon }),
|
|
807
805
|
void 0,
|
|
808
806
|
child
|
|
809
807
|
)
|
|
@@ -819,7 +817,15 @@ var Sidebar = (props) => {
|
|
|
819
817
|
onCollapse: (value) => setCollapsed(value)
|
|
820
818
|
},
|
|
821
819
|
/* @__PURE__ */ import_react16.default.createElement("div", { className: "demo-logo-vertical" }),
|
|
822
|
-
/* @__PURE__ */ import_react16.default.createElement(
|
|
820
|
+
/* @__PURE__ */ import_react16.default.createElement(
|
|
821
|
+
import_antd11.Menu,
|
|
822
|
+
{
|
|
823
|
+
theme: "dark",
|
|
824
|
+
defaultSelectedKeys: ["1"],
|
|
825
|
+
mode: "inline",
|
|
826
|
+
items
|
|
827
|
+
}
|
|
828
|
+
)
|
|
823
829
|
));
|
|
824
830
|
};
|
|
825
831
|
|
package/dist/index.mjs
CHANGED
|
@@ -725,14 +725,12 @@ var Sidebar = (props) => {
|
|
|
725
725
|
return getItem(
|
|
726
726
|
eachItem.label,
|
|
727
727
|
index.toString(),
|
|
728
|
-
icons[eachItem.icon] || eachItem.icon,
|
|
729
|
-
// Handle icon URLs
|
|
728
|
+
icons[eachItem.icon] || /* @__PURE__ */ React15.createElement("img", { src: eachItem.icon }),
|
|
730
729
|
eachItem.items?.map(
|
|
731
730
|
(child, childIndex) => getItem(
|
|
732
731
|
child.label,
|
|
733
732
|
`${index}-${childIndex}`,
|
|
734
|
-
icons[child.icon] || child.icon,
|
|
735
|
-
// Handle icon URLs
|
|
733
|
+
icons[child.icon] || /* @__PURE__ */ React15.createElement("img", { src: child.icon }),
|
|
736
734
|
void 0,
|
|
737
735
|
child
|
|
738
736
|
)
|
|
@@ -748,7 +746,15 @@ var Sidebar = (props) => {
|
|
|
748
746
|
onCollapse: (value) => setCollapsed(value)
|
|
749
747
|
},
|
|
750
748
|
/* @__PURE__ */ React15.createElement("div", { className: "demo-logo-vertical" }),
|
|
751
|
-
/* @__PURE__ */ React15.createElement(
|
|
749
|
+
/* @__PURE__ */ React15.createElement(
|
|
750
|
+
Menu,
|
|
751
|
+
{
|
|
752
|
+
theme: "dark",
|
|
753
|
+
defaultSelectedKeys: ["1"],
|
|
754
|
+
mode: "inline",
|
|
755
|
+
items
|
|
756
|
+
}
|
|
757
|
+
)
|
|
752
758
|
));
|
|
753
759
|
};
|
|
754
760
|
|