@apexcura/ui-components 0.0.11-Beta141 → 0.0.11-Beta142
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 +37 -18
- package/dist/index.d.mts +0 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.js +7 -6
- package/dist/index.mjs +8 -7
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -338,6 +338,12 @@ 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
|
+
}
|
|
341
347
|
.flex {
|
|
342
348
|
display: flex;
|
|
343
349
|
}
|
|
@@ -350,53 +356,62 @@ video {
|
|
|
350
356
|
.w-\[126px\] {
|
|
351
357
|
width: 126px;
|
|
352
358
|
}
|
|
359
|
+
.w-full {
|
|
360
|
+
width: 100%;
|
|
361
|
+
}
|
|
362
|
+
.justify-between {
|
|
363
|
+
justify-content: space-between;
|
|
364
|
+
}
|
|
353
365
|
.rounded-\[8px\] {
|
|
354
366
|
border-radius: 8px;
|
|
355
367
|
}
|
|
356
368
|
.rounded-full {
|
|
357
369
|
border-radius: 9999px;
|
|
358
370
|
}
|
|
359
|
-
.\!border {
|
|
360
|
-
border-width: 1px !important;
|
|
361
|
-
}
|
|
362
371
|
.border {
|
|
363
372
|
border-width: 1px;
|
|
364
373
|
}
|
|
365
374
|
.border-none {
|
|
366
375
|
border-style: none;
|
|
367
376
|
}
|
|
368
|
-
|
|
369
|
-
--tw-border-opacity: 1
|
|
370
|
-
border-color: rgb(
|
|
377
|
+
.border-\[\#919191\] {
|
|
378
|
+
--tw-border-opacity: 1;
|
|
379
|
+
border-color: rgb(145 145 145 / var(--tw-border-opacity));
|
|
371
380
|
}
|
|
372
|
-
.border-\[\#
|
|
381
|
+
.border-\[\#B8A4DE\] {
|
|
373
382
|
--tw-border-opacity: 1;
|
|
374
|
-
border-color: rgb(
|
|
383
|
+
border-color: rgb(184 164 222 / var(--tw-border-opacity));
|
|
375
384
|
}
|
|
376
|
-
|
|
377
|
-
--tw-bg-opacity: 1
|
|
378
|
-
background-color: rgb(226 214 248 / var(--tw-bg-opacity))
|
|
385
|
+
.bg-\[\#E2D6F8\] {
|
|
386
|
+
--tw-bg-opacity: 1;
|
|
387
|
+
background-color: rgb(226 214 248 / var(--tw-bg-opacity));
|
|
379
388
|
}
|
|
380
|
-
.bg
|
|
389
|
+
.bg-\[\#F2F2F2\] {
|
|
381
390
|
--tw-bg-opacity: 1;
|
|
382
|
-
background-color: rgb(
|
|
391
|
+
background-color: rgb(242 242 242 / var(--tw-bg-opacity));
|
|
383
392
|
}
|
|
384
|
-
.bg-
|
|
393
|
+
.bg-purple-800 {
|
|
385
394
|
--tw-bg-opacity: 1;
|
|
386
|
-
background-color: rgb(
|
|
395
|
+
background-color: rgb(107 33 168 / var(--tw-bg-opacity));
|
|
387
396
|
}
|
|
388
397
|
.p-\[6px\] {
|
|
389
398
|
padding: 6px;
|
|
390
399
|
}
|
|
400
|
+
.pl-\[3px\] {
|
|
401
|
+
padding-left: 3px;
|
|
402
|
+
}
|
|
391
403
|
.text-center {
|
|
392
404
|
text-align: center;
|
|
393
405
|
}
|
|
406
|
+
.text-\[10px\] {
|
|
407
|
+
font-size: 10px;
|
|
408
|
+
}
|
|
394
409
|
.italic {
|
|
395
410
|
font-style: italic;
|
|
396
411
|
}
|
|
397
|
-
|
|
398
|
-
--tw-text-opacity: 1
|
|
399
|
-
color: rgb(0 0 0 / var(--tw-text-opacity))
|
|
412
|
+
.text-black {
|
|
413
|
+
--tw-text-opacity: 1;
|
|
414
|
+
color: rgb(0 0 0 / var(--tw-text-opacity));
|
|
400
415
|
}
|
|
401
416
|
.text-white {
|
|
402
417
|
--tw-text-opacity: 1;
|
|
@@ -465,3 +480,7 @@ video {
|
|
|
465
480
|
:where(.css-dev-only-do-not-override-1r287do).ant-radio-button-wrapper:first-child {
|
|
466
481
|
border-inline-start: 1px solid rgb(145 145 145);
|
|
467
482
|
}
|
|
483
|
+
.hover\:bg-\[\#F2F2F2\]:hover {
|
|
484
|
+
--tw-bg-opacity: 1;
|
|
485
|
+
background-color: rgb(242 242 242 / var(--tw-bg-opacity));
|
|
486
|
+
}
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -188,8 +188,8 @@ var SelectElement = (props) => {
|
|
|
188
188
|
var import_react6 = __toESM(require("react"));
|
|
189
189
|
var import_antd6 = require("antd");
|
|
190
190
|
var containerClassName = " ";
|
|
191
|
-
var radioDefaultStyle = "bg-
|
|
192
|
-
var radioSelectedDefaultStyle = "
|
|
191
|
+
var radioDefaultStyle = "bg-[#F2F2F2] border border-[#919191] rounded-[8px] m-[10px] hover:bg-[#F2F2F2] text-center text-black shadow-[0px_0px_1px_1px_#919191]";
|
|
192
|
+
var radioSelectedDefaultStyle = "bg-[#E2D6F8] border border-[#B8A4DE] rounded-[8px] p-[6px] m-[10px] shadow-[0px_0px_1px_1px_#B8A4DE] text-center text-black shadow-[0px_0px_1px_1px_#919191]";
|
|
193
193
|
var RadioElement = (props) => {
|
|
194
194
|
const [isDisabled, setIsDisabled] = (0, import_react6.useState)(props.disabled);
|
|
195
195
|
const [selectedValue, setSelectedValue] = (0, import_react6.useState)(props.value);
|
|
@@ -540,7 +540,7 @@ var Sidebar = (props) => {
|
|
|
540
540
|
}
|
|
541
541
|
};
|
|
542
542
|
return /* @__PURE__ */ import_react14.default.createElement("div", { className: props.className, key: props.name }, /* @__PURE__ */ import_react14.default.createElement("div", null, /* @__PURE__ */ import_react14.default.createElement("img", { src: props.img, alt: "logo" })), /* @__PURE__ */ import_react14.default.createElement("ul", { className: props.listClassName }, props.items?.map((item) => {
|
|
543
|
-
return /* @__PURE__ */ import_react14.default.createElement("li", {
|
|
543
|
+
return /* @__PURE__ */ import_react14.default.createElement("li", { onClick: () => {
|
|
544
544
|
handleChange(item);
|
|
545
545
|
}, key: item.label, className: `${props.listItemClassName} ${item.active && props.activeClassName}` }, /* @__PURE__ */ import_react14.default.createElement("span", null, item.icon), /* @__PURE__ */ import_react14.default.createElement("span", null, item.label));
|
|
546
546
|
})));
|
|
@@ -554,7 +554,7 @@ var import_react15 = __toESM(require("react"));
|
|
|
554
554
|
var import_antd12 = require("antd");
|
|
555
555
|
var Notification = (props) => /* @__PURE__ */ import_react15.default.createElement(import_antd12.Popover, { className: props.notification.className, content: props.notification.items?.map((eachItem) => {
|
|
556
556
|
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));
|
|
557
|
-
}), trigger: "focus", placement: "bottomRight" }, /* @__PURE__ */ import_react15.default.createElement(import_antd12.
|
|
557
|
+
}), trigger: "focus", placement: "bottomRight" }, /* @__PURE__ */ import_react15.default.createElement(import_antd12.Badge, { count: props.notification.count }), /* @__PURE__ */ import_react15.default.createElement(import_antd12.Avatar, { ...props.notification.icon }));
|
|
558
558
|
|
|
559
559
|
// src/Components/Profile.tsx
|
|
560
560
|
var import_react16 = __toESM(require("react"));
|
|
@@ -562,8 +562,9 @@ var Profile = (props) => /* @__PURE__ */ import_react16.default.createElement("d
|
|
|
562
562
|
|
|
563
563
|
// src/Components/Navbar.tsx
|
|
564
564
|
var Navbar = (props) => {
|
|
565
|
-
const test = "
|
|
566
|
-
|
|
565
|
+
const test = "w-full flex justify-between";
|
|
566
|
+
const dashboradClass = "text-xl,text-default-600";
|
|
567
|
+
return /* @__PURE__ */ import_react17.default.createElement("div", { className: `${test}` }, /* @__PURE__ */ import_react17.default.createElement("div", { className: `${dashboradClass} ${props.dashboard.className}` }, props.dashboard.label), /* @__PURE__ */ import_react17.default.createElement("div", { className: "flex" }, /* @__PURE__ */ import_react17.default.createElement(Notification, { ...props }), /* @__PURE__ */ import_react17.default.createElement(Profile, { ...props })));
|
|
567
568
|
};
|
|
568
569
|
// Annotate the CommonJS export names for ESM import in node:
|
|
569
570
|
0 && (module.exports = {
|
package/dist/index.mjs
CHANGED
|
@@ -139,8 +139,8 @@ var SelectElement = (props) => {
|
|
|
139
139
|
import React6, { useState as useState2 } from "react";
|
|
140
140
|
import { Radio } from "antd";
|
|
141
141
|
var containerClassName = " ";
|
|
142
|
-
var radioDefaultStyle = "bg-
|
|
143
|
-
var radioSelectedDefaultStyle = "
|
|
142
|
+
var radioDefaultStyle = "bg-[#F2F2F2] border border-[#919191] rounded-[8px] m-[10px] hover:bg-[#F2F2F2] text-center text-black shadow-[0px_0px_1px_1px_#919191]";
|
|
143
|
+
var radioSelectedDefaultStyle = "bg-[#E2D6F8] border border-[#B8A4DE] rounded-[8px] p-[6px] m-[10px] shadow-[0px_0px_1px_1px_#B8A4DE] text-center text-black shadow-[0px_0px_1px_1px_#919191]";
|
|
144
144
|
var RadioElement = (props) => {
|
|
145
145
|
const [isDisabled, setIsDisabled] = useState2(props.disabled);
|
|
146
146
|
const [selectedValue, setSelectedValue] = useState2(props.value);
|
|
@@ -491,7 +491,7 @@ var Sidebar = (props) => {
|
|
|
491
491
|
}
|
|
492
492
|
};
|
|
493
493
|
return /* @__PURE__ */ React13.createElement("div", { className: props.className, key: props.name }, /* @__PURE__ */ React13.createElement("div", null, /* @__PURE__ */ React13.createElement("img", { src: props.img, alt: "logo" })), /* @__PURE__ */ React13.createElement("ul", { className: props.listClassName }, props.items?.map((item) => {
|
|
494
|
-
return /* @__PURE__ */ React13.createElement("li", {
|
|
494
|
+
return /* @__PURE__ */ React13.createElement("li", { onClick: () => {
|
|
495
495
|
handleChange(item);
|
|
496
496
|
}, key: item.label, className: `${props.listItemClassName} ${item.active && props.activeClassName}` }, /* @__PURE__ */ React13.createElement("span", null, item.icon), /* @__PURE__ */ React13.createElement("span", null, item.label));
|
|
497
497
|
})));
|
|
@@ -502,10 +502,10 @@ import React16 from "react";
|
|
|
502
502
|
|
|
503
503
|
// src/Components/Notofication.tsx
|
|
504
504
|
import React14 from "react";
|
|
505
|
-
import {
|
|
505
|
+
import { Popover, Avatar, Badge } from "antd";
|
|
506
506
|
var Notification = (props) => /* @__PURE__ */ React14.createElement(Popover, { className: props.notification.className, content: props.notification.items?.map((eachItem) => {
|
|
507
507
|
return /* @__PURE__ */ React14.createElement("div", null, /* @__PURE__ */ React14.createElement("p", null, eachItem.text), /* @__PURE__ */ React14.createElement("p", null, eachItem.time));
|
|
508
|
-
}), trigger: "focus", placement: "bottomRight" }, /* @__PURE__ */ React14.createElement(
|
|
508
|
+
}), trigger: "focus", placement: "bottomRight" }, /* @__PURE__ */ React14.createElement(Badge, { count: props.notification.count }), /* @__PURE__ */ React14.createElement(Avatar, { ...props.notification.icon }));
|
|
509
509
|
|
|
510
510
|
// src/Components/Profile.tsx
|
|
511
511
|
import React15 from "react";
|
|
@@ -513,8 +513,9 @@ var Profile = (props) => /* @__PURE__ */ React15.createElement("div", { classNam
|
|
|
513
513
|
|
|
514
514
|
// src/Components/Navbar.tsx
|
|
515
515
|
var Navbar = (props) => {
|
|
516
|
-
const test = "
|
|
517
|
-
|
|
516
|
+
const test = "w-full flex justify-between";
|
|
517
|
+
const dashboradClass = "text-xl,text-default-600";
|
|
518
|
+
return /* @__PURE__ */ React16.createElement("div", { className: `${test}` }, /* @__PURE__ */ React16.createElement("div", { className: `${dashboradClass} ${props.dashboard.className}` }, props.dashboard.label), /* @__PURE__ */ React16.createElement("div", { className: "flex" }, /* @__PURE__ */ React16.createElement(Notification, { ...props }), /* @__PURE__ */ React16.createElement(Profile, { ...props })));
|
|
518
519
|
};
|
|
519
520
|
export {
|
|
520
521
|
AddMoreTable,
|