@apexcura/ui-components 0.0.12-Beta76 → 0.0.12-Beta77
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 +3 -3
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -559,13 +559,13 @@ var Notification = (props) => /* @__PURE__ */ import_react15.default.createEleme
|
|
|
559
559
|
className: props.className,
|
|
560
560
|
content: props.items?.map(
|
|
561
561
|
(eachItem) => {
|
|
562
|
-
return /* @__PURE__ */ import_react15.default.createElement("div",
|
|
562
|
+
return /* @__PURE__ */ import_react15.default.createElement("div", { key: eachItem.text }, /* @__PURE__ */ import_react15.default.createElement("p", null, eachItem.text), /* @__PURE__ */ import_react15.default.createElement("p", null, eachItem.time));
|
|
563
563
|
}
|
|
564
564
|
),
|
|
565
565
|
trigger: "focus",
|
|
566
566
|
placement: "bottomRight"
|
|
567
567
|
},
|
|
568
|
-
/* @__PURE__ */ import_react15.default.createElement(import_antd12.
|
|
568
|
+
/* @__PURE__ */ import_react15.default.createElement(import_antd12.Button, { className: props.notification.buttonClassName }, /* @__PURE__ */ import_react15.default.createElement("span", null, props.notification.icon), /* @__PURE__ */ import_react15.default.createElement("span", null, props.notification.count))
|
|
569
569
|
);
|
|
570
570
|
|
|
571
571
|
// src/Components/Profile.tsx
|
|
@@ -574,7 +574,7 @@ var Profile = (props) => /* @__PURE__ */ import_react16.default.createElement("d
|
|
|
574
574
|
|
|
575
575
|
// src/Components/Navbar.tsx
|
|
576
576
|
var Navbar = (props) => {
|
|
577
|
-
return /* @__PURE__ */ import_react17.default.createElement("div", { className:
|
|
577
|
+
return /* @__PURE__ */ import_react17.default.createElement("div", { className: `${props.className}`, key: props.name }, props.items && props.items.map((item) => {
|
|
578
578
|
if (item.element === "span") {
|
|
579
579
|
return /* @__PURE__ */ import_react17.default.createElement("span", { className: item.className }, item.label);
|
|
580
580
|
} else if (item.element === "notifications") {
|
package/dist/index.mjs
CHANGED
|
@@ -503,20 +503,20 @@ import React16 from "react";
|
|
|
503
503
|
|
|
504
504
|
// src/Components/Notification.tsx
|
|
505
505
|
import React14 from "react";
|
|
506
|
-
import { Popover,
|
|
506
|
+
import { Popover, Button as Button4 } from "antd";
|
|
507
507
|
var Notification = (props) => /* @__PURE__ */ React14.createElement(
|
|
508
508
|
Popover,
|
|
509
509
|
{
|
|
510
510
|
className: props.className,
|
|
511
511
|
content: props.items?.map(
|
|
512
512
|
(eachItem) => {
|
|
513
|
-
return /* @__PURE__ */ React14.createElement("div",
|
|
513
|
+
return /* @__PURE__ */ React14.createElement("div", { key: eachItem.text }, /* @__PURE__ */ React14.createElement("p", null, eachItem.text), /* @__PURE__ */ React14.createElement("p", null, eachItem.time));
|
|
514
514
|
}
|
|
515
515
|
),
|
|
516
516
|
trigger: "focus",
|
|
517
517
|
placement: "bottomRight"
|
|
518
518
|
},
|
|
519
|
-
/* @__PURE__ */ React14.createElement(
|
|
519
|
+
/* @__PURE__ */ React14.createElement(Button4, { className: props.notification.buttonClassName }, /* @__PURE__ */ React14.createElement("span", null, props.notification.icon), /* @__PURE__ */ React14.createElement("span", null, props.notification.count))
|
|
520
520
|
);
|
|
521
521
|
|
|
522
522
|
// src/Components/Profile.tsx
|
|
@@ -525,7 +525,7 @@ var Profile = (props) => /* @__PURE__ */ React15.createElement("div", { classNam
|
|
|
525
525
|
|
|
526
526
|
// src/Components/Navbar.tsx
|
|
527
527
|
var Navbar = (props) => {
|
|
528
|
-
return /* @__PURE__ */ React16.createElement("div", { className:
|
|
528
|
+
return /* @__PURE__ */ React16.createElement("div", { className: `${props.className}`, key: props.name }, props.items && props.items.map((item) => {
|
|
529
529
|
if (item.element === "span") {
|
|
530
530
|
return /* @__PURE__ */ React16.createElement("span", { className: item.className }, item.label);
|
|
531
531
|
} else if (item.element === "notifications") {
|