jett.admin.npmpackage 1.0.56 → 1.0.58
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 +5 -5
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -334,7 +334,7 @@ var CustomSearch = ({
|
|
|
334
334
|
onChange,
|
|
335
335
|
placeholder = "Search Markets..."
|
|
336
336
|
}) => {
|
|
337
|
-
return /* @__PURE__ */ import_react8.default.createElement("div", { className: "flex items-center border bg-transparent text-[14px] border-[hsl(0_0%_89.8%)] \r\n rounded-md h-10 px-2 w-full focus-within:outline-2 focus-within:outline-black focus-within:outline-offset-2 dark:text-white" }, /* @__PURE__ */ import_react8.default.createElement(import_lucide_react2.Search, { width: 16, height: 16, color: "gray", className: "mr-2" }), /* @__PURE__ */ import_react8.default.createElement(
|
|
337
|
+
return /* @__PURE__ */ import_react8.default.createElement("div", { className: "flex items-center border bg-transparent text-[14px] border-[hsl(0_0%_89.8%)] dark:border-[#303036] \r\n rounded-md h-10 px-2 w-full focus-within:outline-2 focus-within:outline-black focus-within:outline-offset-2 dark:text-white" }, /* @__PURE__ */ import_react8.default.createElement(import_lucide_react2.Search, { width: 16, height: 16, color: "gray", className: "mr-2" }), /* @__PURE__ */ import_react8.default.createElement(
|
|
338
338
|
"input",
|
|
339
339
|
{
|
|
340
340
|
type: "text",
|
|
@@ -687,7 +687,7 @@ var CustomSelect = ({
|
|
|
687
687
|
"div",
|
|
688
688
|
{
|
|
689
689
|
onClick: () => !disabled && setOpen((prev) => !prev),
|
|
690
|
-
className: `flex justify-between items-center rounded-md px-3 py-2 text-sm border h-10 cursor-pointer dark:bg-[#18181b] dark:text-white
|
|
690
|
+
className: `flex justify-between items-center rounded-md px-3 py-2 text-sm border h-10 cursor-pointer dark:border-[#303036] dark:bg-[#18181b] dark:text-white
|
|
691
691
|
${disabled ? "bg-gray-100 text-gray-400" : "bg-white hover:border-gray-400 dark:bg-[#18181b] dark:text-white"}
|
|
692
692
|
${error ? "border-red-500" : "border-gray-300"}
|
|
693
693
|
`
|
|
@@ -853,7 +853,7 @@ var AppSideBar = ({
|
|
|
853
853
|
));
|
|
854
854
|
})
|
|
855
855
|
));
|
|
856
|
-
}))), /* @__PURE__ */ import_react12.default.createElement("div", { className: "mt-auto bg-[#fafafa] dark:bg-
|
|
856
|
+
}))), /* @__PURE__ */ import_react12.default.createElement("div", { className: "mt-auto bg-[#fafafa] dark:bg-[#18181b] sticky bottom-0 pt-2" }, /* @__PURE__ */ import_react12.default.createElement(
|
|
857
857
|
"div",
|
|
858
858
|
{
|
|
859
859
|
className: "flex items-center justify-between p-2 rounded-lg hover:bg-accent dark:hover:bg-[#27272a] cursor-pointer",
|
|
@@ -909,11 +909,11 @@ var RightSheet = ({
|
|
|
909
909
|
"div",
|
|
910
910
|
{
|
|
911
911
|
className: `absolute flex flex-col right-0 top-0 min-h-full min-w-[100%] md:min-w-[576px]
|
|
912
|
-
${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`,
|
|
913
913
|
onClick: (e) => e.stopPropagation()
|
|
914
914
|
},
|
|
915
915
|
/* @__PURE__ */ import_react13.default.createElement("div", { className: " min-h-full " }, children),
|
|
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
|
|
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))
|
|
917
917
|
)
|
|
918
918
|
);
|
|
919
919
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -286,7 +286,7 @@ var CustomSearch = ({
|
|
|
286
286
|
onChange,
|
|
287
287
|
placeholder = "Search Markets..."
|
|
288
288
|
}) => {
|
|
289
|
-
return /* @__PURE__ */ React8.createElement("div", { className: "flex items-center border bg-transparent text-[14px] border-[hsl(0_0%_89.8%)] \r\n rounded-md h-10 px-2 w-full focus-within:outline-2 focus-within:outline-black focus-within:outline-offset-2 dark:text-white" }, /* @__PURE__ */ React8.createElement(Search2, { width: 16, height: 16, color: "gray", className: "mr-2" }), /* @__PURE__ */ React8.createElement(
|
|
289
|
+
return /* @__PURE__ */ React8.createElement("div", { className: "flex items-center border bg-transparent text-[14px] border-[hsl(0_0%_89.8%)] dark:border-[#303036] \r\n rounded-md h-10 px-2 w-full focus-within:outline-2 focus-within:outline-black focus-within:outline-offset-2 dark:text-white" }, /* @__PURE__ */ React8.createElement(Search2, { width: 16, height: 16, color: "gray", className: "mr-2" }), /* @__PURE__ */ React8.createElement(
|
|
290
290
|
"input",
|
|
291
291
|
{
|
|
292
292
|
type: "text",
|
|
@@ -653,7 +653,7 @@ var CustomSelect = ({
|
|
|
653
653
|
"div",
|
|
654
654
|
{
|
|
655
655
|
onClick: () => !disabled && setOpen((prev) => !prev),
|
|
656
|
-
className: `flex justify-between items-center rounded-md px-3 py-2 text-sm border h-10 cursor-pointer dark:bg-[#18181b] dark:text-white
|
|
656
|
+
className: `flex justify-between items-center rounded-md px-3 py-2 text-sm border h-10 cursor-pointer dark:border-[#303036] dark:bg-[#18181b] dark:text-white
|
|
657
657
|
${disabled ? "bg-gray-100 text-gray-400" : "bg-white hover:border-gray-400 dark:bg-[#18181b] dark:text-white"}
|
|
658
658
|
${error ? "border-red-500" : "border-gray-300"}
|
|
659
659
|
`
|
|
@@ -819,7 +819,7 @@ var AppSideBar = ({
|
|
|
819
819
|
));
|
|
820
820
|
})
|
|
821
821
|
));
|
|
822
|
-
}))), /* @__PURE__ */ React12.createElement("div", { className: "mt-auto bg-[#fafafa] dark:bg-
|
|
822
|
+
}))), /* @__PURE__ */ React12.createElement("div", { className: "mt-auto bg-[#fafafa] dark:bg-[#18181b] sticky bottom-0 pt-2" }, /* @__PURE__ */ React12.createElement(
|
|
823
823
|
"div",
|
|
824
824
|
{
|
|
825
825
|
className: "flex items-center justify-between p-2 rounded-lg hover:bg-accent dark:hover:bg-[#27272a] cursor-pointer",
|
|
@@ -875,11 +875,11 @@ var RightSheet = ({
|
|
|
875
875
|
"div",
|
|
876
876
|
{
|
|
877
877
|
className: `absolute flex flex-col right-0 top-0 min-h-full min-w-[100%] md:min-w-[576px]
|
|
878
|
-
${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`,
|
|
879
879
|
onClick: (e) => e.stopPropagation()
|
|
880
880
|
},
|
|
881
881
|
/* @__PURE__ */ React13.createElement("div", { className: " min-h-full " }, children),
|
|
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
|
|
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))
|
|
883
883
|
)
|
|
884
884
|
);
|
|
885
885
|
};
|