@apexcura/ui-components 0.0.12-Beta84 → 0.0.12-Beta86
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.css +0 -12
- package/dist/index.js +11 -4
- package/dist/index.mjs +11 -4
- package/package.json +2 -1
package/dist/index.css
CHANGED
|
@@ -338,12 +338,6 @@ video {
|
|
|
338
338
|
.m-\[10px\] {
|
|
339
339
|
margin: 10px;
|
|
340
340
|
}
|
|
341
|
-
.ml-\[-7px\] {
|
|
342
|
-
margin-left: -7px;
|
|
343
|
-
}
|
|
344
|
-
.mt-\[-10px\] {
|
|
345
|
-
margin-top: -10px;
|
|
346
|
-
}
|
|
347
341
|
.table {
|
|
348
342
|
display: table;
|
|
349
343
|
}
|
|
@@ -388,15 +382,9 @@ video {
|
|
|
388
382
|
.p-\[6px\] {
|
|
389
383
|
padding: 6px;
|
|
390
384
|
}
|
|
391
|
-
.pl-\[3px\] {
|
|
392
|
-
padding-left: 3px;
|
|
393
|
-
}
|
|
394
385
|
.text-center {
|
|
395
386
|
text-align: center;
|
|
396
387
|
}
|
|
397
|
-
.text-\[10px\] {
|
|
398
|
-
font-size: 10px;
|
|
399
|
-
}
|
|
400
388
|
.italic {
|
|
401
389
|
font-style: italic;
|
|
402
390
|
}
|
package/dist/index.js
CHANGED
|
@@ -553,11 +553,16 @@ var import_react18 = __toESM(require("react"));
|
|
|
553
553
|
// src/Components/Notification.tsx
|
|
554
554
|
var import_react15 = __toESM(require("react"));
|
|
555
555
|
var import_antd12 = require("antd");
|
|
556
|
+
var import_io = require("react-icons/io");
|
|
557
|
+
var popoverContentStyle = {
|
|
558
|
+
minWidth: "300px",
|
|
559
|
+
maxWidth: "100%"
|
|
560
|
+
};
|
|
556
561
|
var Notification = (props) => /* @__PURE__ */ import_react15.default.createElement(
|
|
557
562
|
import_antd12.Popover,
|
|
558
563
|
{
|
|
559
564
|
className: props.className,
|
|
560
|
-
content: /* @__PURE__ */ import_react15.default.createElement(
|
|
565
|
+
content: /* @__PURE__ */ import_react15.default.createElement("div", { style: popoverContentStyle }, " ", /* @__PURE__ */ import_react15.default.createElement(
|
|
561
566
|
import_antd12.List,
|
|
562
567
|
{
|
|
563
568
|
itemLayout: "horizontal",
|
|
@@ -571,11 +576,11 @@ var Notification = (props) => /* @__PURE__ */ import_react15.default.createEleme
|
|
|
571
576
|
}
|
|
572
577
|
))
|
|
573
578
|
}
|
|
574
|
-
),
|
|
579
|
+
)),
|
|
575
580
|
trigger: "focus",
|
|
576
581
|
placement: "bottomRight"
|
|
577
582
|
},
|
|
578
|
-
/* @__PURE__ */ import_react15.default.createElement(import_antd12.Button, { className: props.buttonClassName }, /* @__PURE__ */ import_react15.default.createElement(import_antd12.Badge, { size: "small", count: props.count }, /* @__PURE__ */ import_react15.default.createElement("span", { className: props.iconsClassName },
|
|
583
|
+
/* @__PURE__ */ import_react15.default.createElement(import_antd12.Button, { className: props.buttonClassName }, /* @__PURE__ */ import_react15.default.createElement(import_antd12.Badge, { size: "small", count: props.count }, /* @__PURE__ */ import_react15.default.createElement("span", { className: props.iconsClassName }, /* @__PURE__ */ import_react15.default.createElement(import_io.IoIosNotifications, null))))
|
|
579
584
|
);
|
|
580
585
|
|
|
581
586
|
// src/Components/SpanElement.tsx
|
|
@@ -584,7 +589,9 @@ var SpanElement = (props) => /* @__PURE__ */ import_react16.default.createElemen
|
|
|
584
589
|
|
|
585
590
|
// src/Components/Profile.tsx
|
|
586
591
|
var import_react17 = __toESM(require("react"));
|
|
587
|
-
var
|
|
592
|
+
var import_antd13 = require("antd");
|
|
593
|
+
var import_icons3 = require("@ant-design/icons");
|
|
594
|
+
var Profile = (props) => /* @__PURE__ */ import_react17.default.createElement("div", { className: props.className }, /* @__PURE__ */ import_react17.default.createElement(import_antd13.Avatar, { icon: /* @__PURE__ */ import_react17.default.createElement(import_icons3.UserOutlined, null) }), /* @__PURE__ */ import_react17.default.createElement("div", { className: props.profileSubClassName }, /* @__PURE__ */ import_react17.default.createElement("p", null, props.primaryText), /* @__PURE__ */ import_react17.default.createElement("p", { className: props.secondTextClassName }, " ", props.secondaryText)));
|
|
588
595
|
|
|
589
596
|
// src/Components/Navbar.tsx
|
|
590
597
|
var Navbar = (props) => {
|
package/dist/index.mjs
CHANGED
|
@@ -504,11 +504,16 @@ import React17 from "react";
|
|
|
504
504
|
// src/Components/Notification.tsx
|
|
505
505
|
import React14 from "react";
|
|
506
506
|
import { Popover, Badge, Button as Button4, Avatar, List } from "antd";
|
|
507
|
+
import { IoIosNotifications } from "react-icons/io";
|
|
508
|
+
var popoverContentStyle = {
|
|
509
|
+
minWidth: "300px",
|
|
510
|
+
maxWidth: "100%"
|
|
511
|
+
};
|
|
507
512
|
var Notification = (props) => /* @__PURE__ */ React14.createElement(
|
|
508
513
|
Popover,
|
|
509
514
|
{
|
|
510
515
|
className: props.className,
|
|
511
|
-
content: /* @__PURE__ */ React14.createElement(
|
|
516
|
+
content: /* @__PURE__ */ React14.createElement("div", { style: popoverContentStyle }, " ", /* @__PURE__ */ React14.createElement(
|
|
512
517
|
List,
|
|
513
518
|
{
|
|
514
519
|
itemLayout: "horizontal",
|
|
@@ -522,11 +527,11 @@ var Notification = (props) => /* @__PURE__ */ React14.createElement(
|
|
|
522
527
|
}
|
|
523
528
|
))
|
|
524
529
|
}
|
|
525
|
-
),
|
|
530
|
+
)),
|
|
526
531
|
trigger: "focus",
|
|
527
532
|
placement: "bottomRight"
|
|
528
533
|
},
|
|
529
|
-
/* @__PURE__ */ React14.createElement(Button4, { className: props.buttonClassName }, /* @__PURE__ */ React14.createElement(Badge, { size: "small", count: props.count }, /* @__PURE__ */ React14.createElement("span", { className: props.iconsClassName },
|
|
534
|
+
/* @__PURE__ */ React14.createElement(Button4, { className: props.buttonClassName }, /* @__PURE__ */ React14.createElement(Badge, { size: "small", count: props.count }, /* @__PURE__ */ React14.createElement("span", { className: props.iconsClassName }, /* @__PURE__ */ React14.createElement(IoIosNotifications, null))))
|
|
530
535
|
);
|
|
531
536
|
|
|
532
537
|
// src/Components/SpanElement.tsx
|
|
@@ -535,7 +540,9 @@ var SpanElement = (props) => /* @__PURE__ */ React15.createElement("span", null,
|
|
|
535
540
|
|
|
536
541
|
// src/Components/Profile.tsx
|
|
537
542
|
import React16 from "react";
|
|
538
|
-
|
|
543
|
+
import { Avatar as Avatar2 } from "antd";
|
|
544
|
+
import { UserOutlined } from "@ant-design/icons";
|
|
545
|
+
var Profile = (props) => /* @__PURE__ */ React16.createElement("div", { className: props.className }, /* @__PURE__ */ React16.createElement(Avatar2, { icon: /* @__PURE__ */ React16.createElement(UserOutlined, null) }), /* @__PURE__ */ React16.createElement("div", { className: props.profileSubClassName }, /* @__PURE__ */ React16.createElement("p", null, props.primaryText), /* @__PURE__ */ React16.createElement("p", { className: props.secondTextClassName }, " ", props.secondaryText)));
|
|
539
546
|
|
|
540
547
|
// src/Components/Navbar.tsx
|
|
541
548
|
var Navbar = (props) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apexcura/ui-components",
|
|
3
|
-
"version": "0.0.12-
|
|
3
|
+
"version": "0.0.12-Beta86",
|
|
4
4
|
"description": "Apex cura React components library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"apex cura",
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"esbuild": "^0.21.4",
|
|
54
54
|
"postcss": "^8.4.38",
|
|
55
55
|
"postcss-import": "^16.1.0",
|
|
56
|
+
"react-icons": "^5.2.1",
|
|
56
57
|
"tailwindcss": "^3.4.3"
|
|
57
58
|
}
|
|
58
59
|
}
|