@apexcura/ui-components 0.0.11-Beta113 → 0.0.11-Beta114
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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -546,13 +546,13 @@ var import_react17 = __toESM(require("react"));
|
|
|
546
546
|
// src/Components/Notofication.tsx
|
|
547
547
|
var import_react15 = __toESM(require("react"));
|
|
548
548
|
var import_antd12 = require("antd");
|
|
549
|
-
var Notification = (props) => /* @__PURE__ */ import_react15.default.createElement(import_antd12.Popover, { content: props.items?.map((eachItem) => {
|
|
549
|
+
var Notification = (props) => /* @__PURE__ */ import_react15.default.createElement(import_antd12.Popover, { content: props.notification.items?.map((eachItem) => {
|
|
550
550
|
return /* @__PURE__ */ import_react15.default.createElement("div", null, /* @__PURE__ */ import_react15.default.createElement("p", null, eachItem.text), /* @__PURE__ */ import_react15.default.createElement("p", null, eachItem.time));
|
|
551
|
-
}), trigger: "focus", placement: "bottomRight" }, /* @__PURE__ */ import_react15.default.createElement(import_antd12.Button, null, /* @__PURE__ */ import_react15.default.createElement("div", null, /* @__PURE__ */ import_react15.default.createElement("span", null, props.icon), /* @__PURE__ */ import_react15.default.createElement("span", null, props.count))));
|
|
551
|
+
}), trigger: "focus", placement: "bottomRight" }, /* @__PURE__ */ import_react15.default.createElement(import_antd12.Button, null, /* @__PURE__ */ import_react15.default.createElement("div", null, /* @__PURE__ */ import_react15.default.createElement("span", null, props.notification.icon), /* @__PURE__ */ import_react15.default.createElement("span", null, props.notification.count))));
|
|
552
552
|
|
|
553
553
|
// src/Components/Profile.tsx
|
|
554
554
|
var import_react16 = __toESM(require("react"));
|
|
555
|
-
var Profile = (props) => /* @__PURE__ */ import_react16.default.createElement("div", null, /* @__PURE__ */ import_react16.default.createElement("img", { src: props.profileImage }), /* @__PURE__ */ import_react16.default.createElement("div", null, /* @__PURE__ */ import_react16.default.createElement("span", null, props.primaryText), /* @__PURE__ */ import_react16.default.createElement("span", null, props.secondaryText)));
|
|
555
|
+
var Profile = (props) => /* @__PURE__ */ import_react16.default.createElement("div", null, /* @__PURE__ */ import_react16.default.createElement("img", { src: props.profile.profileImage }), /* @__PURE__ */ import_react16.default.createElement("div", null, /* @__PURE__ */ import_react16.default.createElement("span", null, props.profile.primaryText), /* @__PURE__ */ import_react16.default.createElement("span", null, props.profile.secondaryText)));
|
|
556
556
|
|
|
557
557
|
// src/Components/Navbar.tsx
|
|
558
558
|
var Navbar = (props) => {
|
package/dist/index.mjs
CHANGED
|
@@ -497,13 +497,13 @@ import React16 from "react";
|
|
|
497
497
|
// src/Components/Notofication.tsx
|
|
498
498
|
import React14 from "react";
|
|
499
499
|
import { Button as Button4, Popover } from "antd";
|
|
500
|
-
var Notification = (props) => /* @__PURE__ */ React14.createElement(Popover, { content: props.items?.map((eachItem) => {
|
|
500
|
+
var Notification = (props) => /* @__PURE__ */ React14.createElement(Popover, { content: props.notification.items?.map((eachItem) => {
|
|
501
501
|
return /* @__PURE__ */ React14.createElement("div", null, /* @__PURE__ */ React14.createElement("p", null, eachItem.text), /* @__PURE__ */ React14.createElement("p", null, eachItem.time));
|
|
502
|
-
}), trigger: "focus", placement: "bottomRight" }, /* @__PURE__ */ React14.createElement(Button4, null, /* @__PURE__ */ React14.createElement("div", null, /* @__PURE__ */ React14.createElement("span", null, props.icon), /* @__PURE__ */ React14.createElement("span", null, props.count))));
|
|
502
|
+
}), trigger: "focus", placement: "bottomRight" }, /* @__PURE__ */ React14.createElement(Button4, null, /* @__PURE__ */ React14.createElement("div", null, /* @__PURE__ */ React14.createElement("span", null, props.notification.icon), /* @__PURE__ */ React14.createElement("span", null, props.notification.count))));
|
|
503
503
|
|
|
504
504
|
// src/Components/Profile.tsx
|
|
505
505
|
import React15 from "react";
|
|
506
|
-
var Profile = (props) => /* @__PURE__ */ React15.createElement("div", null, /* @__PURE__ */ React15.createElement("img", { src: props.profileImage }), /* @__PURE__ */ React15.createElement("div", null, /* @__PURE__ */ React15.createElement("span", null, props.primaryText), /* @__PURE__ */ React15.createElement("span", null, props.secondaryText)));
|
|
506
|
+
var Profile = (props) => /* @__PURE__ */ React15.createElement("div", null, /* @__PURE__ */ React15.createElement("img", { src: props.profile.profileImage }), /* @__PURE__ */ React15.createElement("div", null, /* @__PURE__ */ React15.createElement("span", null, props.profile.primaryText), /* @__PURE__ */ React15.createElement("span", null, props.profile.secondaryText)));
|
|
507
507
|
|
|
508
508
|
// src/Components/Navbar.tsx
|
|
509
509
|
var Navbar = (props) => {
|