@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 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
- .\!border-\[\#B8A4DE\] {
369
- --tw-border-opacity: 1 !important;
370
- border-color: rgb(184 164 222 / var(--tw-border-opacity)) !important;
377
+ .border-\[\#919191\] {
378
+ --tw-border-opacity: 1;
379
+ border-color: rgb(145 145 145 / var(--tw-border-opacity));
371
380
  }
372
- .border-\[\#E2D6F8\] {
381
+ .border-\[\#B8A4DE\] {
373
382
  --tw-border-opacity: 1;
374
- border-color: rgb(226 214 248 / var(--tw-border-opacity));
383
+ border-color: rgb(184 164 222 / var(--tw-border-opacity));
375
384
  }
376
- .\!bg-\[\#E2D6F8\] {
377
- --tw-bg-opacity: 1 !important;
378
- background-color: rgb(226 214 248 / var(--tw-bg-opacity)) !important;
385
+ .bg-\[\#E2D6F8\] {
386
+ --tw-bg-opacity: 1;
387
+ background-color: rgb(226 214 248 / var(--tw-bg-opacity));
379
388
  }
380
- .bg-purple-800 {
389
+ .bg-\[\#F2F2F2\] {
381
390
  --tw-bg-opacity: 1;
382
- background-color: rgb(107 33 168 / var(--tw-bg-opacity));
391
+ background-color: rgb(242 242 242 / var(--tw-bg-opacity));
383
392
  }
384
- .bg-red-500 {
393
+ .bg-purple-800 {
385
394
  --tw-bg-opacity: 1;
386
- background-color: rgb(239 68 68 / var(--tw-bg-opacity));
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
- .\!text-black {
398
- --tw-text-opacity: 1 !important;
399
- color: rgb(0 0 0 / var(--tw-text-opacity)) !important;
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
@@ -40,8 +40,6 @@ type ElementType = {
40
40
  icon?: React.JSX.Element;
41
41
  placement?: string;
42
42
  profileImage?: string;
43
- subContainerClassName?: string;
44
- countClassName?: string;
45
43
  buttonClassName?: string;
46
44
  profileImageClassName?: string;
47
45
  profileSubClassName?: string;
package/dist/index.d.ts CHANGED
@@ -40,8 +40,6 @@ type ElementType = {
40
40
  icon?: React.JSX.Element;
41
41
  placement?: string;
42
42
  profileImage?: string;
43
- subContainerClassName?: string;
44
- countClassName?: string;
45
43
  buttonClassName?: string;
46
44
  profileImageClassName?: string;
47
45
  profileSubClassName?: string;
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-red-500 m-[10px]";
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]";
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", { onChange: () => {
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.Button, { className: props.notification.buttonClassName }, /* @__PURE__ */ import_react15.default.createElement("span", null, props.notification.icon), /* @__PURE__ */ import_react15.default.createElement("span", { className: props.notification.countClassName }, props.notification.count)));
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 = "flex flex-end bg-red-500 border border-[#E2D6F8]";
566
- return /* @__PURE__ */ import_react17.default.createElement("div", { className: `${test} ${props.subContainerClassName}` }, /* @__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 })));
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-red-500 m-[10px]";
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]";
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", { onChange: () => {
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 { Button as Button4, Popover } from "antd";
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(Button4, { className: props.notification.buttonClassName }, /* @__PURE__ */ React14.createElement("span", null, props.notification.icon), /* @__PURE__ */ React14.createElement("span", { className: props.notification.countClassName }, props.notification.count)));
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 = "flex flex-end bg-red-500 border border-[#E2D6F8]";
517
- return /* @__PURE__ */ React16.createElement("div", { className: `${test} ${props.subContainerClassName}` }, /* @__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 })));
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta141",
3
+ "version": "0.0.11-Beta142",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",