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.mjs
CHANGED
|
@@ -12861,7 +12861,6 @@ function NotificationDrawer() {
|
|
|
12861
12861
|
closeDrawer();
|
|
12862
12862
|
router.push(buildPath("/account/notifications"));
|
|
12863
12863
|
};
|
|
12864
|
-
console.log(notifications);
|
|
12865
12864
|
return /* @__PURE__ */ jsx(AnimatePresence, { children: isDrawerOpen && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12866
12865
|
/* @__PURE__ */ jsx(
|
|
12867
12866
|
motion.div,
|
|
@@ -12880,7 +12879,7 @@ function NotificationDrawer() {
|
|
|
12880
12879
|
animate: { x: 0 },
|
|
12881
12880
|
exit: { x: "100%" },
|
|
12882
12881
|
transition: { type: "spring", damping: 25, stiffness: 200 },
|
|
12883
|
-
className: "fixed right-0 top-0 bottom-0 w-full sm:w-[480px] bg-white shadow-2xl z-50 flex flex-col",
|
|
12882
|
+
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]",
|
|
12884
12883
|
children: [
|
|
12885
12884
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between p-4 border-b border-gray-200 bg-white", children: [
|
|
12886
12885
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
@@ -13518,7 +13517,7 @@ function Button({
|
|
|
13518
13517
|
}) {
|
|
13519
13518
|
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";
|
|
13520
13519
|
const variants = {
|
|
13521
|
-
primary: "bg-
|
|
13520
|
+
primary: "bg-[#0E172B] text-white hover:bg-[#0E172B]/80 shadow-lg shadow-[#0E172B]/30 hover:shadow-xl hover:shadow-[#0E172B]/40",
|
|
13522
13521
|
secondary: "bg-secondary-600 text-white hover:bg-secondary-700 shadow-lg shadow-secondary-500/30 hover:shadow-xl hover:shadow-secondary-500/40",
|
|
13523
13522
|
"outline-solid": "border-2 border-primary-600 text-primary-600 hover:bg-primary-50",
|
|
13524
13523
|
ghost: "text-gray-700 hover:bg-gray-100"
|
|
@@ -21932,7 +21931,16 @@ function ChangePasswordScreen() {
|
|
|
21932
21931
|
}
|
|
21933
21932
|
),
|
|
21934
21933
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-wrap gap-3", children: [
|
|
21935
|
-
/* @__PURE__ */ jsx(
|
|
21934
|
+
/* @__PURE__ */ jsx(
|
|
21935
|
+
Button,
|
|
21936
|
+
{
|
|
21937
|
+
variant: "primary",
|
|
21938
|
+
type: "submit",
|
|
21939
|
+
size: "lg",
|
|
21940
|
+
isLoading: isSubmitting,
|
|
21941
|
+
children: "Save password"
|
|
21942
|
+
}
|
|
21943
|
+
),
|
|
21936
21944
|
/* @__PURE__ */ jsx(
|
|
21937
21945
|
Button,
|
|
21938
21946
|
{
|