hey-pharmacist-ecommerce 1.1.33 → 1.1.34
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
CHANGED
|
@@ -12871,7 +12871,6 @@ function NotificationDrawer() {
|
|
|
12871
12871
|
closeDrawer();
|
|
12872
12872
|
router.push(buildPath("/account/notifications"));
|
|
12873
12873
|
};
|
|
12874
|
-
console.log(notifications);
|
|
12875
12874
|
return /* @__PURE__ */ jsxRuntime.jsx(framerMotion.AnimatePresence, { children: isDrawerOpen && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
12876
12875
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12877
12876
|
framerMotion.motion.div,
|
|
@@ -12890,7 +12889,7 @@ function NotificationDrawer() {
|
|
|
12890
12889
|
animate: { x: 0 },
|
|
12891
12890
|
exit: { x: "100%" },
|
|
12892
12891
|
transition: { type: "spring", damping: 25, stiffness: 200 },
|
|
12893
|
-
className: "fixed right-0 top-0 bottom-0 w-full sm:w-[480px] bg-white shadow-2xl z-50 flex flex-col",
|
|
12892
|
+
className: "fixed right-0 top-0 bottom-0 w-full sm:w-[480px] bg-white shadow-2xl z-50 flex flex-col max-w-[480px]",
|
|
12894
12893
|
children: [
|
|
12895
12894
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between p-4 border-b border-gray-200 bg-white", children: [
|
|
12896
12895
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
@@ -13528,7 +13527,7 @@ function Button({
|
|
|
13528
13527
|
}) {
|
|
13529
13528
|
const baseStyles = "font-medium rounded-full transition-all duration-200 inline-flex items-center justify-center gap-2 disabled:opacity-50 disabled:cursor-not-allowed focus:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary-500 hover:cursor-pointer";
|
|
13530
13529
|
const variants = {
|
|
13531
|
-
primary: "bg-
|
|
13530
|
+
primary: "bg-[#0E172B] text-white hover:bg-[#0E172B]/80 shadow-lg shadow-[#0E172B]/30 hover:shadow-xl hover:shadow-[#0E172B]/40",
|
|
13532
13531
|
secondary: "bg-secondary-600 text-white hover:bg-secondary-700 shadow-lg shadow-secondary-500/30 hover:shadow-xl hover:shadow-secondary-500/40",
|
|
13533
13532
|
"outline-solid": "border-2 border-primary-600 text-primary-600 hover:bg-primary-50",
|
|
13534
13533
|
ghost: "text-gray-700 hover:bg-gray-100"
|
|
@@ -21942,7 +21941,16 @@ function ChangePasswordScreen() {
|
|
|
21942
21941
|
}
|
|
21943
21942
|
),
|
|
21944
21943
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap gap-3", children: [
|
|
21945
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
21944
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
21945
|
+
Button,
|
|
21946
|
+
{
|
|
21947
|
+
variant: "primary",
|
|
21948
|
+
type: "submit",
|
|
21949
|
+
size: "lg",
|
|
21950
|
+
isLoading: isSubmitting,
|
|
21951
|
+
children: "Save password"
|
|
21952
|
+
}
|
|
21953
|
+
),
|
|
21946
21954
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
21947
21955
|
Button,
|
|
21948
21956
|
{
|