@apexcura/ui-components 0.0.11-Beta116 → 0.0.11-Beta118
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -40,9 +40,9 @@ type ElementType = {
|
|
|
40
40
|
icon?: React.JSX.Element;
|
|
41
41
|
placement?: string;
|
|
42
42
|
profileImage?: string;
|
|
43
|
-
|
|
43
|
+
subContainerClassName?: string;
|
|
44
44
|
countClassName?: string;
|
|
45
|
-
|
|
45
|
+
buttonClassName?: string;
|
|
46
46
|
};
|
|
47
47
|
|
|
48
48
|
interface ElementExecuterProps$3 extends ElementType {
|
package/dist/index.d.ts
CHANGED
|
@@ -40,9 +40,9 @@ type ElementType = {
|
|
|
40
40
|
icon?: React.JSX.Element;
|
|
41
41
|
placement?: string;
|
|
42
42
|
profileImage?: string;
|
|
43
|
-
|
|
43
|
+
subContainerClassName?: string;
|
|
44
44
|
countClassName?: string;
|
|
45
|
-
|
|
45
|
+
buttonClassName?: string;
|
|
46
46
|
};
|
|
47
47
|
|
|
48
48
|
interface ElementExecuterProps$3 extends ElementType {
|
package/dist/index.js
CHANGED
|
@@ -548,7 +548,7 @@ var import_react15 = __toESM(require("react"));
|
|
|
548
548
|
var import_antd12 = require("antd");
|
|
549
549
|
var Notification = (props) => /* @__PURE__ */ import_react15.default.createElement(import_antd12.Popover, { className: props.notification.className, 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, { className: props.notification.
|
|
551
|
+
}), trigger: "focus", placement: "bottomRight" }, /* @__PURE__ */ import_react15.default.createElement(import_antd12.Button, { className: props.notification.buttonClassName }, /* @__PURE__ */ import_react15.default.createElement("div", null, /* @__PURE__ */ import_react15.default.createElement("span", null, props.notification.icon), /* @__PURE__ */ import_react15.default.createElement("span", { className: props.notification.countClassName }, props.notification.count))));
|
|
552
552
|
|
|
553
553
|
// src/Components/Profile.tsx
|
|
554
554
|
var import_react16 = __toESM(require("react"));
|
|
@@ -556,7 +556,7 @@ var Profile = (props) => /* @__PURE__ */ import_react16.default.createElement("d
|
|
|
556
556
|
|
|
557
557
|
// src/Components/Navbar.tsx
|
|
558
558
|
var Navbar = (props) => {
|
|
559
|
-
return /* @__PURE__ */ import_react17.default.createElement("div",
|
|
559
|
+
return /* @__PURE__ */ import_react17.default.createElement("div", { className: props.className }, /* @__PURE__ */ import_react17.default.createElement("span", { className: props.dashboard.className }, props.dashboard.label), /* @__PURE__ */ import_react17.default.createElement("div", { className: props.subContainerClassName }, /* @__PURE__ */ import_react17.default.createElement(Notification, { ...props }), /* @__PURE__ */ import_react17.default.createElement(Profile, { ...props })));
|
|
560
560
|
};
|
|
561
561
|
// Annotate the CommonJS export names for ESM import in node:
|
|
562
562
|
0 && (module.exports = {
|
package/dist/index.mjs
CHANGED
|
@@ -499,7 +499,7 @@ import React14 from "react";
|
|
|
499
499
|
import { Button as Button4, Popover } from "antd";
|
|
500
500
|
var Notification = (props) => /* @__PURE__ */ React14.createElement(Popover, { className: props.notification.className, 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, { className: props.notification.
|
|
502
|
+
}), trigger: "focus", placement: "bottomRight" }, /* @__PURE__ */ React14.createElement(Button4, { className: props.notification.buttonClassName }, /* @__PURE__ */ React14.createElement("div", null, /* @__PURE__ */ React14.createElement("span", null, props.notification.icon), /* @__PURE__ */ React14.createElement("span", { className: props.notification.countClassName }, props.notification.count))));
|
|
503
503
|
|
|
504
504
|
// src/Components/Profile.tsx
|
|
505
505
|
import React15 from "react";
|
|
@@ -507,7 +507,7 @@ var Profile = (props) => /* @__PURE__ */ React15.createElement("div", { classNam
|
|
|
507
507
|
|
|
508
508
|
// src/Components/Navbar.tsx
|
|
509
509
|
var Navbar = (props) => {
|
|
510
|
-
return /* @__PURE__ */ React16.createElement("div",
|
|
510
|
+
return /* @__PURE__ */ React16.createElement("div", { className: props.className }, /* @__PURE__ */ React16.createElement("span", { className: props.dashboard.className }, props.dashboard.label), /* @__PURE__ */ React16.createElement("div", { className: props.subContainerClassName }, /* @__PURE__ */ React16.createElement(Notification, { ...props }), /* @__PURE__ */ React16.createElement(Profile, { ...props })));
|
|
511
511
|
};
|
|
512
512
|
export {
|
|
513
513
|
AddMoreTable,
|