hey-pharmacist-ecommerce 1.1.32 → 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.d.mts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +356 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +356 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/NotificationDrawer.tsx +2 -2
- package/src/components/ui/Button.tsx +1 -1
- package/src/index.ts +3 -0
- package/src/screens/ChangePasswordScreen.tsx +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hey-pharmacist-ecommerce",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.34",
|
|
4
4
|
"description": "Production-ready, multi-tenant e‑commerce UI + API adapter for Next.js with auth, carts, checkout, orders, theming, and pharmacist-focused UX.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -69,7 +69,7 @@ export function NotificationDrawer() {
|
|
|
69
69
|
closeDrawer();
|
|
70
70
|
router.push(buildPath('/account/notifications'));
|
|
71
71
|
};
|
|
72
|
-
|
|
72
|
+
|
|
73
73
|
return (
|
|
74
74
|
<AnimatePresence>
|
|
75
75
|
{isDrawerOpen && (
|
|
@@ -89,7 +89,7 @@ console.log(notifications)
|
|
|
89
89
|
animate={{ x: 0 }}
|
|
90
90
|
exit={{ x: '100%' }}
|
|
91
91
|
transition={{ type: 'spring', damping: 25, stiffness: 200 }}
|
|
92
|
-
className="fixed right-0 top-0 bottom-0 w-full sm:w-[480px] bg-white shadow-2xl z-50 flex flex-col"
|
|
92
|
+
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]"
|
|
93
93
|
>
|
|
94
94
|
{/* Header */}
|
|
95
95
|
<div className="flex items-center justify-between p-4 border-b border-gray-200 bg-white">
|
|
@@ -26,7 +26,7 @@ export function Button({
|
|
|
26
26
|
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';
|
|
27
27
|
|
|
28
28
|
const variants = {
|
|
29
|
-
primary: 'bg-
|
|
29
|
+
primary: 'bg-[#0E172B] text-white hover:bg-[#0E172B]/80 shadow-lg shadow-[#0E172B]/30 hover:shadow-xl hover:shadow-[#0E172B]/40',
|
|
30
30
|
secondary: 'bg-secondary-600 text-white hover:bg-secondary-700 shadow-lg shadow-secondary-500/30 hover:shadow-xl hover:shadow-secondary-500/40',
|
|
31
31
|
'outline-solid': 'border-2 border-primary-600 text-primary-600 hover:bg-primary-50',
|
|
32
32
|
ghost: 'text-gray-700 hover:bg-gray-100',
|
package/src/index.ts
CHANGED
|
@@ -28,6 +28,9 @@ export { default as NewAddressScreen } from './screens/NewAddressScreen';
|
|
|
28
28
|
export { EditProfileScreen } from './screens/EditProfileScreen';
|
|
29
29
|
export { OrderReviewsScreen } from './screens/OrderReviewsScreen';
|
|
30
30
|
export { NotificationSettingsScreen } from './screens/NotificationSettingsScreen';
|
|
31
|
+
export { OrderDetailScreen } from './screens/OrderDetailScreen';
|
|
32
|
+
export { ChangePasswordScreen } from './screens/ChangePasswordScreen';
|
|
33
|
+
|
|
31
34
|
|
|
32
35
|
// Components
|
|
33
36
|
export { Header } from './components/Header';
|
|
@@ -125,7 +125,9 @@ export function ChangePasswordScreen() {
|
|
|
125
125
|
error={errors.confirmPassword?.message}
|
|
126
126
|
/>
|
|
127
127
|
<div className="flex flex-wrap gap-3">
|
|
128
|
-
<Button
|
|
128
|
+
<Button
|
|
129
|
+
variant='primary'
|
|
130
|
+
type="submit" size="lg" isLoading={isSubmitting}>
|
|
129
131
|
Save password
|
|
130
132
|
</Button>
|
|
131
133
|
<Button
|