@apexcura/ui-components 0.0.15-Beta27 → 0.0.15-Beta29
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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -5
- package/dist/index.mjs +7 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -734,13 +734,13 @@ var Profile = (props) => /* @__PURE__ */ import_react17.default.createElement("d
|
|
|
734
734
|
|
|
735
735
|
// src/Components/Navbar.tsx
|
|
736
736
|
var Navbar = (props) => {
|
|
737
|
-
return /* @__PURE__ */ import_react18.default.createElement("div", { className: `${props.className}
|
|
737
|
+
return /* @__PURE__ */ import_react18.default.createElement("div", { className: `${props.className}` }, props.items && props.items.map((item) => {
|
|
738
738
|
if (item.element === "span") {
|
|
739
|
-
return /* @__PURE__ */ import_react18.default.createElement(SpanElement, { ...item });
|
|
739
|
+
return /* @__PURE__ */ import_react18.default.createElement(SpanElement, { key: item.name, ...item });
|
|
740
740
|
} else if (item.element === "notifications") {
|
|
741
|
-
return /* @__PURE__ */ import_react18.default.createElement(Notification, { ...item });
|
|
741
|
+
return /* @__PURE__ */ import_react18.default.createElement(Notification, { key: item.name, ...item });
|
|
742
742
|
} else if (item.name === "profile") {
|
|
743
|
-
return /* @__PURE__ */ import_react18.default.createElement(Profile, { ...item });
|
|
743
|
+
return /* @__PURE__ */ import_react18.default.createElement(Profile, { key: item.name, ...item });
|
|
744
744
|
}
|
|
745
745
|
return null;
|
|
746
746
|
}));
|
|
@@ -1628,7 +1628,8 @@ var NotificationAlert = (props) => {
|
|
|
1628
1628
|
message: props.message,
|
|
1629
1629
|
description: props.description,
|
|
1630
1630
|
duration: 4.5,
|
|
1631
|
-
pauseOnHover
|
|
1631
|
+
pauseOnHover,
|
|
1632
|
+
showProgress: props.showProgress
|
|
1632
1633
|
});
|
|
1633
1634
|
};
|
|
1634
1635
|
const openNotification = (pauseOnHover) => {
|
|
@@ -1636,6 +1637,7 @@ var NotificationAlert = (props) => {
|
|
|
1636
1637
|
message: props.message,
|
|
1637
1638
|
description: props.description,
|
|
1638
1639
|
duration: 4.5,
|
|
1640
|
+
showProgress: props.showProgress,
|
|
1639
1641
|
pauseOnHover
|
|
1640
1642
|
});
|
|
1641
1643
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -665,13 +665,13 @@ var Profile = (props) => /* @__PURE__ */ React17.createElement("div", { classNam
|
|
|
665
665
|
|
|
666
666
|
// src/Components/Navbar.tsx
|
|
667
667
|
var Navbar = (props) => {
|
|
668
|
-
return /* @__PURE__ */ React18.createElement("div", { className: `${props.className}
|
|
668
|
+
return /* @__PURE__ */ React18.createElement("div", { className: `${props.className}` }, props.items && props.items.map((item) => {
|
|
669
669
|
if (item.element === "span") {
|
|
670
|
-
return /* @__PURE__ */ React18.createElement(SpanElement, { ...item });
|
|
670
|
+
return /* @__PURE__ */ React18.createElement(SpanElement, { key: item.name, ...item });
|
|
671
671
|
} else if (item.element === "notifications") {
|
|
672
|
-
return /* @__PURE__ */ React18.createElement(Notification, { ...item });
|
|
672
|
+
return /* @__PURE__ */ React18.createElement(Notification, { key: item.name, ...item });
|
|
673
673
|
} else if (item.name === "profile") {
|
|
674
|
-
return /* @__PURE__ */ React18.createElement(Profile, { ...item });
|
|
674
|
+
return /* @__PURE__ */ React18.createElement(Profile, { key: item.name, ...item });
|
|
675
675
|
}
|
|
676
676
|
return null;
|
|
677
677
|
}));
|
|
@@ -1583,7 +1583,8 @@ var NotificationAlert = (props) => {
|
|
|
1583
1583
|
message: props.message,
|
|
1584
1584
|
description: props.description,
|
|
1585
1585
|
duration: 4.5,
|
|
1586
|
-
pauseOnHover
|
|
1586
|
+
pauseOnHover,
|
|
1587
|
+
showProgress: props.showProgress
|
|
1587
1588
|
});
|
|
1588
1589
|
};
|
|
1589
1590
|
const openNotification = (pauseOnHover) => {
|
|
@@ -1591,6 +1592,7 @@ var NotificationAlert = (props) => {
|
|
|
1591
1592
|
message: props.message,
|
|
1592
1593
|
description: props.description,
|
|
1593
1594
|
duration: 4.5,
|
|
1595
|
+
showProgress: props.showProgress,
|
|
1594
1596
|
pauseOnHover
|
|
1595
1597
|
});
|
|
1596
1598
|
};
|