jett.admin.npmpackage 1.0.49 → 1.0.51

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
@@ -560,6 +560,9 @@
560
560
  .bg-\[\#fafafa\] {
561
561
  background-color: #fafafa;
562
562
  }
563
+ .bg-\[\#fff\] {
564
+ background-color: #fff;
565
+ }
563
566
  .bg-black {
564
567
  background-color: var(--color-black);
565
568
  }
package/dist/index.js CHANGED
@@ -582,25 +582,34 @@ var navItemsConstant = [
582
582
  onClick: () => {
583
583
  },
584
584
  options: [
585
- { label: "Admin Users", onClick: () => {
586
- window.location.href = "/users/";
587
- } },
585
+ {
586
+ label: "Admin Users",
587
+ onClick: () => {
588
+ window.location.href = "/users/";
589
+ }
590
+ },
588
591
  { label: "Admin User Attributes", onClick: () => {
589
592
  } }
590
593
  ]
591
594
  },
592
- { label: "TMC Markets", onClick: () => {
593
- window.location.href = "/market/";
594
- } },
595
- { label: "Permissions", onClick: () => {
596
- window.location.href = "/permissions/";
597
- } },
598
- { label: "Report Configurations", onClick: () => {
599
- window.location.href = "/reports/";
600
- } },
601
- { label: "Whitelabelling", onClick: () => {
602
- window.location.href = "/whitelabel/";
603
- } }
595
+ {
596
+ label: "TMC Markets",
597
+ onClick: () => {
598
+ window.location.href = "/market/";
599
+ }
600
+ },
601
+ {
602
+ label: "Report Configurations",
603
+ onClick: () => {
604
+ window.location.href = "/reports/";
605
+ }
606
+ },
607
+ {
608
+ label: "Whitelabelling",
609
+ onClick: () => {
610
+ window.location.href = "/whitelabel/";
611
+ }
612
+ }
604
613
  ]
605
614
  }
606
615
  ];
@@ -895,11 +904,11 @@ var RightSheet = ({
895
904
  "div",
896
905
  {
897
906
  className: `absolute flex flex-col right-0 top-0 min-h-full min-w-[100%] md:min-w-[576px]
898
- ${visible ? "sheetRightSlide" : "transition-all duration-200 translate-x-[100%]"} justify-between`,
907
+ ${visible ? "sheetRightSlide" : "transition-all duration-200 translate-x-[100%]"} justify-between bg-[#fff]`,
899
908
  onClick: (e) => e.stopPropagation()
900
909
  },
901
- /* @__PURE__ */ import_react13.default.createElement("div", { className: "dark:[#18181b] min-h-full " }, children),
902
- /* @__PURE__ */ import_react13.default.createElement("div", { className: "h-[90px] flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2 p-6 border-t sticky bottom-0 bg-white border-[#e6e6e6] dark:border-[#303036] dark:bg-[#18181b] dark:text-white" }, /* @__PURE__ */ import_react13.default.createElement(CustomButton, { variant: "SECONDARY", onClick: () => handleClose() }, "Cancel"), /* @__PURE__ */ import_react13.default.createElement(CustomButton, { variant: "SECONDARY", onClick: handleAction }, actionLabel))
910
+ /* @__PURE__ */ import_react13.default.createElement("div", { className: " min-h-full " }, children),
911
+ /* @__PURE__ */ import_react13.default.createElement("div", { className: "h-[90px] flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2 p-6 border-t sticky bottom-0 bg-white border-[#e6e6e6] " }, /* @__PURE__ */ import_react13.default.createElement(CustomButton, { variant: "SECONDARY", onClick: () => handleClose() }, "Cancel"), /* @__PURE__ */ import_react13.default.createElement(CustomButton, { variant: "SECONDARY", onClick: handleAction }, actionLabel))
903
912
  )
904
913
  );
905
914
  };
package/dist/index.mjs CHANGED
@@ -396,7 +396,21 @@ import { ChevronDown as ChevronDown3, Globe as Globe2, LogOut } from "lucide-rea
396
396
  import React12, { useEffect, useState as useState3 } from "react";
397
397
 
398
398
  // ConstantUI.js
399
- import { Home, BaggageClaim, Users, Banknote, Globe, TrendingUp, FileText, FileKey2, LifeBuoy, Cog, Building, Handshake, DollarSign } from "lucide-react";
399
+ import {
400
+ Home,
401
+ BaggageClaim,
402
+ Users,
403
+ Banknote,
404
+ Globe,
405
+ TrendingUp,
406
+ FileText,
407
+ FileKey2,
408
+ LifeBuoy,
409
+ Cog,
410
+ Building,
411
+ Handshake,
412
+ DollarSign
413
+ } from "lucide-react";
400
414
  var encodedAuthData = localStorage.getItem("encodedAuthData");
401
415
  var navItemsConstant = [
402
416
  {
@@ -534,25 +548,34 @@ var navItemsConstant = [
534
548
  onClick: () => {
535
549
  },
536
550
  options: [
537
- { label: "Admin Users", onClick: () => {
538
- window.location.href = "/users/";
539
- } },
551
+ {
552
+ label: "Admin Users",
553
+ onClick: () => {
554
+ window.location.href = "/users/";
555
+ }
556
+ },
540
557
  { label: "Admin User Attributes", onClick: () => {
541
558
  } }
542
559
  ]
543
560
  },
544
- { label: "TMC Markets", onClick: () => {
545
- window.location.href = "/market/";
546
- } },
547
- { label: "Permissions", onClick: () => {
548
- window.location.href = "/permissions/";
549
- } },
550
- { label: "Report Configurations", onClick: () => {
551
- window.location.href = "/reports/";
552
- } },
553
- { label: "Whitelabelling", onClick: () => {
554
- window.location.href = "/whitelabel/";
555
- } }
561
+ {
562
+ label: "TMC Markets",
563
+ onClick: () => {
564
+ window.location.href = "/market/";
565
+ }
566
+ },
567
+ {
568
+ label: "Report Configurations",
569
+ onClick: () => {
570
+ window.location.href = "/reports/";
571
+ }
572
+ },
573
+ {
574
+ label: "Whitelabelling",
575
+ onClick: () => {
576
+ window.location.href = "/whitelabel/";
577
+ }
578
+ }
556
579
  ]
557
580
  }
558
581
  ];
@@ -847,11 +870,11 @@ var RightSheet = ({
847
870
  "div",
848
871
  {
849
872
  className: `absolute flex flex-col right-0 top-0 min-h-full min-w-[100%] md:min-w-[576px]
850
- ${visible ? "sheetRightSlide" : "transition-all duration-200 translate-x-[100%]"} justify-between`,
873
+ ${visible ? "sheetRightSlide" : "transition-all duration-200 translate-x-[100%]"} justify-between bg-[#fff]`,
851
874
  onClick: (e) => e.stopPropagation()
852
875
  },
853
- /* @__PURE__ */ React13.createElement("div", { className: "dark:[#18181b] min-h-full " }, children),
854
- /* @__PURE__ */ React13.createElement("div", { className: "h-[90px] flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2 p-6 border-t sticky bottom-0 bg-white border-[#e6e6e6] dark:border-[#303036] dark:bg-[#18181b] dark:text-white" }, /* @__PURE__ */ React13.createElement(CustomButton, { variant: "SECONDARY", onClick: () => handleClose() }, "Cancel"), /* @__PURE__ */ React13.createElement(CustomButton, { variant: "SECONDARY", onClick: handleAction }, actionLabel))
876
+ /* @__PURE__ */ React13.createElement("div", { className: " min-h-full " }, children),
877
+ /* @__PURE__ */ React13.createElement("div", { className: "h-[90px] flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2 p-6 border-t sticky bottom-0 bg-white border-[#e6e6e6] " }, /* @__PURE__ */ React13.createElement(CustomButton, { variant: "SECONDARY", onClick: () => handleClose() }, "Cancel"), /* @__PURE__ */ React13.createElement(CustomButton, { variant: "SECONDARY", onClick: handleAction }, actionLabel))
855
878
  )
856
879
  );
857
880
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jett.admin.npmpackage",
3
- "version": "1.0.49",
3
+ "version": "1.0.51",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "exports": {