jett.admin.npmpackage 1.0.55 → 1.0.57
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.js +3 -4
- package/dist/index.mjs +3 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -69,7 +69,6 @@ var CustomButton = ({
|
|
|
69
69
|
disabled = false,
|
|
70
70
|
icon
|
|
71
71
|
}) => {
|
|
72
|
-
console.log(disabled);
|
|
73
72
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
74
73
|
"div",
|
|
75
74
|
{
|
|
@@ -491,7 +490,7 @@ var navItemsConstant = [
|
|
|
491
490
|
{
|
|
492
491
|
label: "Reports",
|
|
493
492
|
onClick: () => {
|
|
494
|
-
window.open
|
|
493
|
+
window.open("https://viz.jett.travel", "_blank");
|
|
495
494
|
}
|
|
496
495
|
},
|
|
497
496
|
{
|
|
@@ -910,11 +909,11 @@ var RightSheet = ({
|
|
|
910
909
|
"div",
|
|
911
910
|
{
|
|
912
911
|
className: `absolute flex flex-col right-0 top-0 min-h-full min-w-[100%] md:min-w-[576px]
|
|
913
|
-
${visible ? "sheetRightSlide" : "transition-all duration-200 translate-x-[100%]"} justify-between bg-[#fff]`,
|
|
912
|
+
${visible ? "sheetRightSlide" : "transition-all duration-200 translate-x-[100%]"} justify-between bg-[#fff] dark:bg-[#18181b] dark:text-white`,
|
|
914
913
|
onClick: (e) => e.stopPropagation()
|
|
915
914
|
},
|
|
916
915
|
/* @__PURE__ */ import_react13.default.createElement("div", { className: " min-h-full " }, children),
|
|
917
|
-
/* @__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
|
|
916
|
+
/* @__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))
|
|
918
917
|
)
|
|
919
918
|
);
|
|
920
919
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -21,7 +21,6 @@ var CustomButton = ({
|
|
|
21
21
|
disabled = false,
|
|
22
22
|
icon
|
|
23
23
|
}) => {
|
|
24
|
-
console.log(disabled);
|
|
25
24
|
return /* @__PURE__ */ React.createElement(
|
|
26
25
|
"div",
|
|
27
26
|
{
|
|
@@ -457,7 +456,7 @@ var navItemsConstant = [
|
|
|
457
456
|
{
|
|
458
457
|
label: "Reports",
|
|
459
458
|
onClick: () => {
|
|
460
|
-
window.open
|
|
459
|
+
window.open("https://viz.jett.travel", "_blank");
|
|
461
460
|
}
|
|
462
461
|
},
|
|
463
462
|
{
|
|
@@ -876,11 +875,11 @@ var RightSheet = ({
|
|
|
876
875
|
"div",
|
|
877
876
|
{
|
|
878
877
|
className: `absolute flex flex-col right-0 top-0 min-h-full min-w-[100%] md:min-w-[576px]
|
|
879
|
-
${visible ? "sheetRightSlide" : "transition-all duration-200 translate-x-[100%]"} justify-between bg-[#fff]`,
|
|
878
|
+
${visible ? "sheetRightSlide" : "transition-all duration-200 translate-x-[100%]"} justify-between bg-[#fff] dark:bg-[#18181b] dark:text-white`,
|
|
880
879
|
onClick: (e) => e.stopPropagation()
|
|
881
880
|
},
|
|
882
881
|
/* @__PURE__ */ React13.createElement("div", { className: " min-h-full " }, children),
|
|
883
|
-
/* @__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
|
|
882
|
+
/* @__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))
|
|
884
883
|
)
|
|
885
884
|
);
|
|
886
885
|
};
|