hey-pharmacist-ecommerce 1.1.41 → 1.1.43

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.
Files changed (98) hide show
  1. package/README.md +70 -8
  2. package/dist/index.d.mts +380 -2364
  3. package/dist/index.d.ts +380 -2364
  4. package/dist/index.js +576 -615
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.mjs +576 -612
  7. package/dist/index.mjs.map +1 -1
  8. package/package.json +2 -2
  9. package/src/components/AccountAddressesTab.tsx +9 -9
  10. package/src/components/AccountOrdersTab.tsx +11 -11
  11. package/src/components/AccountOverviewTab.tsx +26 -26
  12. package/src/components/AccountPaymentTab.tsx +2 -2
  13. package/src/components/AccountReviewsTab.tsx +1 -1
  14. package/src/components/AccountSettingsTab.tsx +6 -6
  15. package/src/components/AddressFormModal.tsx +2 -2
  16. package/src/components/CartItem.tsx +15 -15
  17. package/src/components/FilterChips.tsx +7 -7
  18. package/src/components/Footer.tsx +9 -9
  19. package/src/components/Header.tsx +7 -7
  20. package/src/components/Notification.tsx +3 -3
  21. package/src/components/NotificationBell.tsx +3 -3
  22. package/src/components/NotificationDrawer.tsx +1 -1
  23. package/src/components/NotificationModal.tsx +1 -1
  24. package/src/components/OrderCard.tsx +2 -2
  25. package/src/components/ProductCard.tsx +13 -13
  26. package/src/components/QuickViewModal.tsx +28 -28
  27. package/src/components/ReviewCard.tsx +6 -6
  28. package/src/components/TabNavigation.tsx +2 -2
  29. package/src/components/ui/Badge.tsx +2 -2
  30. package/src/components/ui/Button.tsx +3 -3
  31. package/src/components/ui/ConfirmModal.tsx +3 -3
  32. package/src/components/ui/Input.tsx +1 -1
  33. package/src/lib/Apis/api.ts +0 -1
  34. package/src/lib/Apis/models/group-with-no-users-dto.ts +0 -6
  35. package/src/lib/Apis/models/group-with-users-dto.ts +0 -6
  36. package/src/lib/Apis/models/index.ts +0 -35
  37. package/src/lib/Apis/models/order.ts +0 -6
  38. package/src/lib/Apis/models/populated-order.ts +0 -6
  39. package/src/lib/Apis/models/preference-update-item.ts +1 -0
  40. package/src/lib/Apis/models/update-user-dto.ts +0 -6
  41. package/src/lib/Apis/models/user-group.ts +0 -6
  42. package/src/lib/Apis/models/user-with-no-id.ts +0 -6
  43. package/src/lib/Apis/sharedConfig.ts +1 -1
  44. package/src/providers/ThemeProvider.tsx +2 -2
  45. package/src/screens/AddressesScreen.tsx +6 -6
  46. package/src/screens/CartScreen.tsx +23 -23
  47. package/src/screens/ChangePasswordScreen.tsx +2 -2
  48. package/src/screens/CheckoutScreen.tsx +28 -28
  49. package/src/screens/CurrentOrdersScreen.tsx +4 -4
  50. package/src/screens/EditProfileScreen.tsx +1 -1
  51. package/src/screens/ForgotPasswordScreen.tsx +11 -11
  52. package/src/screens/LoginScreen.tsx +12 -12
  53. package/src/screens/OrderDetailScreen.tsx +30 -30
  54. package/src/screens/OrdersScreen.tsx +3 -3
  55. package/src/screens/ProductDetailScreen.tsx +59 -59
  56. package/src/screens/ProfileScreen.tsx +2 -2
  57. package/src/screens/RegisterScreen.tsx +15 -15
  58. package/src/screens/ResetPasswordScreen.tsx +14 -14
  59. package/src/screens/SearchResultsScreen.tsx +7 -7
  60. package/src/screens/ShopScreen.tsx +55 -55
  61. package/src/screens/WishlistScreen.tsx +22 -22
  62. package/src/styles/globals.css +43 -43
  63. package/src/lib/Apis/apis/marketing-api.ts +0 -3099
  64. package/src/lib/Apis/models/add-contact-to-list-dto.ts +0 -33
  65. package/src/lib/Apis/models/browser-stats-response-dto.ts +0 -40
  66. package/src/lib/Apis/models/campaign-content-response-dto.ts +0 -40
  67. package/src/lib/Apis/models/campaign-draft-dto.ts +0 -175
  68. package/src/lib/Apis/models/campaign-draft-response-dto.ts +0 -40
  69. package/src/lib/Apis/models/campaign-draft-schedule-dto.ts +0 -49
  70. package/src/lib/Apis/models/campaign-draft-schedule-response-dto.ts +0 -40
  71. package/src/lib/Apis/models/campaign-draft-sending-dto.ts +0 -43
  72. package/src/lib/Apis/models/campaign-draft-sending-response-dto.ts +0 -40
  73. package/src/lib/Apis/models/contact-aggregated-stats-response-dto.ts +0 -40
  74. package/src/lib/Apis/models/contact-full-dto.ts +0 -93
  75. package/src/lib/Apis/models/contact-full-response-dto.ts +0 -40
  76. package/src/lib/Apis/models/contact-list-stats-response-dto.ts +0 -40
  77. package/src/lib/Apis/models/contact-lists-response-dto.ts +0 -40
  78. package/src/lib/Apis/models/country-stats-response-dto.ts +0 -40
  79. package/src/lib/Apis/models/create-contact-dto.ts +0 -39
  80. package/src/lib/Apis/models/create-contact-list-dto.ts +0 -27
  81. package/src/lib/Apis/models/create-email-template-dto.ts +0 -51
  82. package/src/lib/Apis/models/create-marketing-campaign-dto.ts +0 -81
  83. package/src/lib/Apis/models/email-template-response-dto.ts +0 -117
  84. package/src/lib/Apis/models/general-stats-response-dto.ts +0 -40
  85. package/src/lib/Apis/models/link-stats-response-dto.ts +0 -40
  86. package/src/lib/Apis/models/marketing-campaign-content-dto.ts +0 -27
  87. package/src/lib/Apis/models/marketing-list-contact-dto.ts +0 -51
  88. package/src/lib/Apis/models/schedule-campaign-draft-dto.ts +0 -27
  89. package/src/lib/Apis/models/send-test-email-dto.ts +0 -28
  90. package/src/lib/Apis/models/single-browser-stats-dto.ts +0 -45
  91. package/src/lib/Apis/models/single-contact-aggregated-stats-dto.ts +0 -129
  92. package/src/lib/Apis/models/single-contact-list-stats-dto.ts +0 -117
  93. package/src/lib/Apis/models/single-country-stats-dto.ts +0 -39
  94. package/src/lib/Apis/models/single-general-stats.ts +0 -153
  95. package/src/lib/Apis/models/single-link-stats-dto.ts +0 -39
  96. package/src/lib/Apis/models/single-recipient-dto.ts +0 -33
  97. package/src/lib/Apis/models/update-campaign-draft-content-dto.ts +0 -27
  98. package/src/lib/Apis/models/update-marketing-camp-draft-dto.ts +0 -81
@@ -26,8 +26,8 @@ export function NotificationBell() {
26
26
  onClick={handleToggle}
27
27
  onMouseDown={(e) => e.stopPropagation()}
28
28
  className={`relative p-2.5 rounded-xl transition-all duration-300 group flex items-center justify-center ${isDrawerOpen
29
- ? 'bg-primary-50 text-primary-600'
30
- : 'hover:bg-gradient-to-br hover:from-primary-50 hover:to-primary-100/50 text-gray-700'
29
+ ? 'bg-hprimary-50 text-hprimary-600'
30
+ : 'hover:bg-gradient-to-br hover:from-hprimary-50 hover:to-hprimary-100/50 text-gray-700'
31
31
  }`}
32
32
  aria-label="Notifications"
33
33
  whileHover={isDrawerOpen ? {} : { scale: 1.05 }}
@@ -35,7 +35,7 @@ export function NotificationBell() {
35
35
  >
36
36
  {/* Bell Icon */}
37
37
  <Bell
38
- className={`w-6 h-6 transition-colors duration-300 ${isDrawerOpen ? 'text-primary-600 bg-gray-100 rounded-lg p-2 w-10 h-10 transition-all duration-300' : 'group-hover:text-primary-600'
38
+ className={`w-6 h-6 transition-colors duration-300 ${isDrawerOpen ? 'text-hprimary-600 bg-gray-100 rounded-lg p-2 w-10 h-10 transition-all duration-300' : 'group-hover:text-hprimary-600'
39
39
  }`}
40
40
  strokeWidth={2}
41
41
  />
@@ -167,7 +167,7 @@ export function NotificationDrawer() {
167
167
  {/* Loading indicator */}
168
168
  {isLoading && (
169
169
  <div className="flex justify-center py-4">
170
- <div className="w-6 h-6 border-2 border-primary-600 border-t-transparent rounded-full animate-spin" />
170
+ <div className="w-6 h-6 border-2 border-hprimary-600 border-t-transparent rounded-full animate-spin" />
171
171
  </div>
172
172
  )}
173
173
 
@@ -124,7 +124,7 @@ export function NotificationModal() {
124
124
  {/* Elegant arrow pointer connecting to the bell */}
125
125
  <div className="absolute -top-1 right-5 w-3 h-3 bg-white border-l border-t border-gray-100 transform rotate-45 z-10" />
126
126
  {/* Header */}
127
- <div className="flex items-center justify-between px-4 py-3 border-b bg-gradient-to-r from-primary-50 to-white">
127
+ <div className="flex items-center justify-between px-4 py-3 border-b bg-gradient-to-r from-hprimary-50 to-white">
128
128
  <div className="flex items-center gap-2">
129
129
  <h2
130
130
  id="notification-title"
@@ -81,7 +81,7 @@ export function OrderCard({ order, onDelete }: OrderCardProps) {
81
81
  {/* Header - Compact */}
82
82
  <div className="flex items-center justify-between mb-4 pb-4 border-b border-gray-200">
83
83
  <div className="flex items-center gap-3">
84
- <h3 className="text-base font-bold text-slate-900 group-hover:text-primary transition-colors">
84
+ <h3 className="text-base font-bold text-slate-900 group-hover:text-hprimary transition-colors">
85
85
  Order #{(order._id || order.id || '').slice(-8).toUpperCase()}
86
86
  </h3>
87
87
  <Badge variant={config as any}>{config}</Badge>
@@ -168,7 +168,7 @@ export function OrderCard({ order, onDelete }: OrderCardProps) {
168
168
  e.stopPropagation();
169
169
  window.open(order?.payment?.hostedInvoiceUrl || '', '_blank');
170
170
  }}
171
- className="inline-flex items-center gap-2 rounded-full border-2 border-primary-500 bg-primary-500 hover:bg-primary-600 text-white px-4 py-2 text-sm transition-colors"
171
+ className="inline-flex items-center gap-2 rounded-full border-2 border-hprimary-500 bg-hprimary-500 hover:bg-hprimary-600 text-white px-4 py-2 text-sm transition-colors"
172
172
  onPointerDown={(e) => e.stopPropagation()}
173
173
  >
174
174
  <CreditCard className="w-4 h-4" />
@@ -180,7 +180,7 @@ export function ProductCard({
180
180
  return (
181
181
  <>
182
182
  <motion.div
183
- className="bg-white rounded-[16px] overflow-hidden border-2 border-gray-100 hover:border-secondary hover:shadow-lg transition-all duration-300 group h-full flex flex-col"
183
+ className="bg-white rounded-[16px] overflow-hidden border-2 border-gray-100 hover:border-hsecondary hover:shadow-lg transition-all duration-300 group h-full flex flex-col"
184
184
  whileHover={{ y: -4 }}
185
185
  onMouseEnter={() => setIsHovered(true)}
186
186
  onMouseLeave={() => setIsHovered(false)}
@@ -218,7 +218,7 @@ export function ProductCard({
218
218
  {displayInventoryCount === 0 && (
219
219
  <div className="absolute inset-0 bg-black/50 backdrop-blur-xs flex items-center justify-center">
220
220
  <div className="bg-white rounded-full px-4 py-2">
221
- <span className="font-['Poppins',sans-serif] font-bold text-[11px] text-[#2B4B7C] uppercase">
221
+ <span className="font-bold text-[11px] text-[#2B4B7C] uppercase">
222
222
  Out of Stock
223
223
  </span>
224
224
  </div>
@@ -233,23 +233,23 @@ export function ProductCard({
233
233
  <div className="flex items-center gap-1 mb-2 flex-wrap">
234
234
  {displayIsDiscounted && (
235
235
  <span className="bg-[#E67E50] text-white rounded-full px-2 py-0.5 flex items-center gap-1">
236
- <span className="font-['Poppins',sans-serif] font-bold text-[8px] uppercase">-{displayDiscountAmount}%</span>
236
+ <span className="font-bold text-[8px] uppercase">-{displayDiscountAmount}%</span>
237
237
  </span>
238
238
  )}
239
239
 
240
240
  </div>
241
241
  <div className="mb-1">
242
- <p className="font-['Poppins',sans-serif] text-xs text-secondary uppercase tracking-wide font-medium">
242
+ <p className="text-xs text-hsecondary uppercase tracking-wide font-medium">
243
243
  {product.brand}
244
244
  </p>
245
245
  </div>
246
246
 
247
247
  <div className="h-[40px] mb-3">
248
- <h3 className="text-sm font-['Poppins',sans-serif] font-semibold text-[#2B4B7C] line-clamp-2">
248
+ <h3 className="text-sm font-semibold text-[#2B4B7C] line-clamp-2">
249
249
  {product.name}
250
250
  </h3>
251
251
  {selectedVariant && (
252
- <p className="text-xs font-['Poppins',sans-serif] text-[#676c80]">
252
+ <p className="text-xs text-[#676c80]">
253
253
  {selectedVariant.name}
254
254
  </p>
255
255
  )}
@@ -261,24 +261,24 @@ export function ProductCard({
261
261
  <Star
262
262
  key={i}
263
263
  className={`size-4 ${i < Math.floor(product.summary?.averageRating || 0)
264
- ? 'text-[#E67E50] fill-[#E67E50]'
264
+ ? 'text-hsecondary fill-hsecondary-500'
265
265
  : 'text-gray-300'
266
266
  }`}
267
267
  />
268
268
  ))}
269
269
  </div>
270
- <span className="font-['Poppins',sans-serif] text-[10px] text-[#676c80] ">
270
+ <span className="text-[10px] text-[#676c80] ">
271
271
  ({product.summary?.reviewCount || 0})
272
272
  </span>
273
273
  </div>
274
274
 
275
275
  {/* Price */}
276
276
  <div className="flex items-center gap-1.5 mb-3">
277
- <span className="font-['Poppins',sans-serif] font-bold text-md text-primary-600">
277
+ <span className="font-bold text-md text-hprimary-600">
278
278
  ${displayFinalPrice.toFixed(2)}
279
279
  </span>
280
280
  {displayIsDiscounted && (
281
- <span className="font-['Poppins',sans-serif] text-sm text-[#676c80] line-through">
281
+ <span className="text-sm text-[#676c80] line-through">
282
282
  ${displayPriceBeforeDiscount.toFixed(2)}
283
283
  </span>
284
284
  )}
@@ -304,8 +304,8 @@ export function ProductCard({
304
304
  setIsImageLoaded(false);
305
305
  }}
306
306
  className={`relative w-8 h-8 rounded-full overflow-hidden border-2 transition-all ${selectedVariantId === variant.variantId
307
- ? 'border-primary-500 ring-2 ring-primary-200'
308
- : 'border-gray-200 hover:border-primary-300'
307
+ ? 'border-hprimary-500 ring-2 ring-hprimary-200'
308
+ : 'border-gray-200 hover:border-hprimary-300'
309
309
  }`}
310
310
  aria-label={`Select ${variant.variantName || 'variant'}`}
311
311
  >
@@ -358,7 +358,7 @@ export function ProductCard({
358
358
  }
359
359
  }}
360
360
  disabled={isAddingToCart || (variantImages.length > 0 && !selectedVariantId) || displayInventoryCount === 0}
361
- className="w-full font-['Poppins',sans-serif] font-medium text-[11px] px-3 py-2 rounded-full bg-secondary text-white hover:bg-secondary/80 hover:shadow-lg transition-all duration-300 flex items-center justify-center gap-1.5 disabled:opacity-50 disabled:cursor-not-allowed cursor-pointer"
361
+ className="w-full font-medium text-[11px] px-3 py-2 rounded-full bg-hsecondary text-white hover:bg-hsecondary/80 hover:shadow-lg transition-all duration-300 flex items-center justify-center gap-1.5 disabled:opacity-50 disabled:cursor-not-allowed cursor-pointer"
362
362
  >
363
363
  <ShoppingCart className="h-4 w-4" />
364
364
  {displayInventoryCount === 0 ? 'Out of Stock' : 'Add to Cart'}
@@ -74,10 +74,10 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
74
74
  {/* Header */}
75
75
  <div className="flex items-start justify-between mb-6">
76
76
  <div>
77
- <p className="font-['Poppins',sans-serif] text-[11px] text-primary uppercase tracking-wide font-medium mb-2">
77
+ <p className="text-[11px] text-hprimary uppercase tracking-wide font-medium mb-2">
78
78
  {product.brand}
79
79
  </p>
80
- <h2 className="font-['Poppins',sans-serif] font-semibold text-secondary tracking-[-1px]">
80
+ <h2 className="font-semibold text-hsecondary tracking-[-1px]">
81
81
  {displayName}
82
82
  </h2>
83
83
 
@@ -88,13 +88,13 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
88
88
  <Star
89
89
  key={i}
90
90
  className={`size-4 ${i < Math.floor(product.summary?.averageRating || 0)
91
- ? 'text-accent fill-accent'
91
+ ? 'text-haccent fill-accent'
92
92
  : 'text-gray-300'
93
93
  }`}
94
94
  />
95
95
  ))}
96
96
  </div>
97
- <span className="font-['Poppins',sans-serif] text-[13px] text-muted">
97
+ <span className="text-[13px] text-hmuted">
98
98
  {product.summary?.averageRating || 0} ({product.summary?.reviewCount || 0} reviews)
99
99
  </span>
100
100
  </div>
@@ -103,7 +103,7 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
103
103
  onClick={onClose}
104
104
  className="p-2 hover:bg-gray-100 rounded-full transition-colors"
105
105
  >
106
- <X className="size-6 text-muted" />
106
+ <X className="size-6 text-hmuted" />
107
107
  </button>
108
108
  </div>
109
109
 
@@ -119,15 +119,15 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
119
119
  {/* Badges */}
120
120
  <div className="absolute top-4 left-4 flex flex-col gap-2">
121
121
  {isDiscounted && (
122
- <div className="bg-accent text-white rounded-full px-3 py-1.5">
123
- <span className="font-['Poppins',sans-serif] font-bold text-[11px] uppercase">
122
+ <div className="bg-haccent text-white rounded-full px-3 py-1.5">
123
+ <span className="font-bold text-[11px] uppercase">
124
124
  -{discountAmount}%
125
125
  </span>
126
126
  </div>
127
127
  )}
128
128
  {/* {product.bestseller && (
129
- <div className="bg-secondary text-white rounded-full px-3 py-1.5">
130
- <span className="font-['Poppins',sans-serif] font-semibold text-[10px] uppercase">
129
+ <div className="bg-hsecondary text-white rounded-full px-3 py-1.5">
130
+ <span className="font-semibold text-[10px] uppercase">
131
131
  Bestseller
132
132
  </span>
133
133
  </div>
@@ -141,7 +141,7 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
141
141
  {selectedVariant.media.map((image: any, index: any) => (
142
142
  <div
143
143
  key={index}
144
- className={`aspect-square rounded-xl overflow-hidden cursor-pointer transition-opacity ${selectedImageIndex === index ? 'ring-2 ring-primary' : 'bg-gray-50 hover:opacity-75'}`}
144
+ className={`aspect-square rounded-xl overflow-hidden cursor-pointer transition-opacity ${selectedImageIndex === index ? 'ring-2 ring-hprimary' : 'bg-gray-50 hover:opacity-75'}`}
145
145
  onClick={() => setSelectedImageIndex(index)}
146
146
  >
147
147
  <img
@@ -159,11 +159,11 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
159
159
  <div className="flex flex-col">
160
160
  {/* Price */}
161
161
  <div className="flex items-center gap-3 mb-4">
162
- <span className="font-['Poppins',sans-serif] font-bold text-[32px] text-accent">
162
+ <span className="font-bold text-[32px] text-haccent">
163
163
  ${displayPrice.toFixed(2)}
164
164
  </span>
165
165
  {isDiscounted && (
166
- <span className="font-['Poppins',sans-serif] text-[20px] text-muted line-through">
166
+ <span className="text-[20px] text-hmuted line-through">
167
167
  ${displayOriginalPrice.toFixed(2)}
168
168
  </span>
169
169
  )}
@@ -172,16 +172,16 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
172
172
  {/* Stock Status */}
173
173
  <div className="mb-6">
174
174
  {selectedVariant.inventoryCount === 0 ? (
175
- <span className="font-['Poppins',sans-serif] text-[12px] text-red-500 font-medium">
175
+ <span className="text-[12px] text-red-500 font-medium">
176
176
  Out of Stock
177
177
  </span>
178
178
  ) : selectedVariant.inventoryCount <= 10 ? (
179
- <span className="font-['Poppins',sans-serif] text-[12px] text-primary font-medium flex items-center gap-1">
179
+ <span className="text-[12px] text-hprimary font-medium flex items-center gap-1">
180
180
  <Package className="size-3" />
181
181
  Only {selectedVariant.inventoryCount} left in stock
182
182
  </span>
183
183
  ) : (
184
- <span className="font-['Poppins',sans-serif] text-[12px] text-green-600 font-medium flex items-center gap-1">
184
+ <span className="text-[12px] text-green-600 font-medium flex items-center gap-1">
185
185
  <Package className="size-3" />
186
186
  In Stock
187
187
  </span>
@@ -190,14 +190,14 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
190
190
 
191
191
  {/* Description */}
192
192
  <div
193
- className="font-['Poppins',sans-serif] text-[14px] text-muted leading-[1.7] mb-6 max-w-full overflow-hidden break-words"
193
+ className="text-[14px] text-hmuted leading-[1.7] mb-6 max-w-full overflow-hidden break-words"
194
194
  dangerouslySetInnerHTML={{ __html: product.description }}
195
195
  />
196
196
 
197
197
  {/* Color Selection */}
198
198
  <div className="mb-6">
199
- <h3 className="font-['Poppins',sans-serif] font-semibold text-[13px] text-secondary mb-3">
200
- Selected Variant: <span className="font-normal text-muted">{product.variants[selectedVariantIndex].name}</span>
199
+ <h3 className="font-semibold text-[13px] text-hsecondary mb-3">
200
+ Selected Variant: <span className="font-normal text-hmuted">{product.variants[selectedVariantIndex].name}</span>
201
201
  </h3>
202
202
  <div className="flex flex-wrap gap-3">
203
203
  {product.variants.map((variant: any, index: any) => (
@@ -209,8 +209,8 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
209
209
  setSelectedImageIndex(0); // Reset selected image index when variant changes
210
210
  }}
211
211
  className={`size-10 rounded-full border-2 transition-all ${selectedVariantIndex === index
212
- ? 'border-primary scale-110'
213
- : 'border-gray-200 hover:border-primary-50'
212
+ ? 'border-hprimary scale-110'
213
+ : 'border-gray-200 hover:border-hprimary-50'
214
214
  }`}
215
215
  style={{ backgroundColor: variant.colorHex }}
216
216
  title={variant.color}
@@ -231,8 +231,8 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
231
231
  <ul className="space-y-2">
232
232
  {product.tags.slice(0, 3).map((feature: any, index: any) => (
233
233
  <li key={index} className="flex items-start gap-2">
234
- <Check className="size-4 text-primary shrink-0 mt-0.5" />
235
- <span className="font-['Poppins',sans-serif] text-[12px] text-muted">
234
+ <Check className="size-4 text-hprimary shrink-0 mt-0.5" />
235
+ <span className="text-[12px] text-hmuted">
236
236
  {feature}
237
237
  </span>
238
238
  </li>
@@ -242,7 +242,7 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
242
242
 
243
243
  {/* Quantity Selector */}
244
244
  <div className="mb-6">
245
- <h3 className="font-['Poppins',sans-serif] font-semibold text-[13px] text-secondary mb-3">
245
+ <h3 className="font-semibold text-[13px] text-hsecondary mb-3">
246
246
  Quantity
247
247
  </h3>
248
248
  <div className="flex items-center gap-4">
@@ -251,7 +251,7 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
251
251
  disabled={quantity <= 1}
252
252
  className="p-2 rounded-full border border-gray-200 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed"
253
253
  >
254
- <Minus className="size-4 text-secondary" />
254
+ <Minus className="size-4 text-hsecondary" />
255
255
  </button>
256
256
  <span className="w-8 text-center font-medium">{quantity}</span>
257
257
  <button
@@ -259,7 +259,7 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
259
259
  disabled={quantity >= (selectedVariant.inventoryCount || 10)}
260
260
  className="p-2 rounded-full border border-gray-200 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed"
261
261
  >
262
- <Plus className="size-4 text-secondary" />
262
+ <Plus className="size-4 text-hsecondary" />
263
263
  </button>
264
264
  </div>
265
265
  </div>
@@ -269,9 +269,9 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
269
269
  <button
270
270
  onClick={handleAddToCart}
271
271
  disabled={addedToCart || selectedVariant.inventoryCount === 0}
272
- className={`w-full font-['Poppins',sans-serif] font-medium text-[14px] px-6 py-4 rounded-full transition-all duration-300 flex items-center justify-center gap-3 ${addedToCart
272
+ className={`w-full font-medium text-[14px] px-6 py-4 rounded-full transition-all duration-300 flex items-center justify-center gap-3 ${addedToCart
273
273
  ? 'bg-green-500 text-white'
274
- : 'bg-accent text-white hover:bg-[#d66f45] hover:shadow-lg disabled:opacity-50 disabled:cursor-not-allowed'
274
+ : 'bg-haccent text-white hover:bg-[#d66f45] hover:shadow-lg disabled:opacity-50 disabled:cursor-not-allowed'
275
275
  }`}
276
276
  >
277
277
  {isAddingToCart ? (
@@ -301,7 +301,7 @@ export function QuickViewModal({ product, onClose, onNavigateToProduct }: QuickV
301
301
  onClose();
302
302
  // onNavigateToProduct?.(product._id || product.id);
303
303
  }}
304
- className="w-full font-['Poppins',sans-serif] font-medium text-[13px] px-6 py-3 rounded-full bg-white text-secondary border-2 border-primary hover:bg-gray-50 transition-all flex items-center justify-center gap-2"
304
+ className="w-full font-medium text-[13px] px-6 py-3 rounded-full bg-white text-hsecondary border-2 border-hprimary hover:bg-gray-50 transition-all flex items-center justify-center gap-2"
305
305
  >
306
306
  View Full Details
307
307
  <ExternalLink className="size-4" />
@@ -16,11 +16,11 @@ export function ReviewCard({ review, showProductInfo = false }: ReviewCardProps)
16
16
  const replyDate = review.replyDate ? new Date(review.replyDate) : null;
17
17
 
18
18
  return (
19
- <div className="border border-gray-200 rounded-lg p-4 bg-white">
19
+ <div className="border border-gray-200 rounded-lg p-4 bg-hprimary-50">
20
20
  <div className="flex items-start justify-between mb-3">
21
21
  <div className="flex items-center gap-3">
22
- <div className="w-10 h-10 bg-secondary/10 rounded-full flex items-center justify-center">
23
- <User className="size-5 text-secondary" />
22
+ <div className="w-10 h-10 bg-hsecondary/10 rounded-full flex items-center justify-center">
23
+ <User className="size-5 text-hsecondary" />
24
24
  </div>
25
25
  <div>
26
26
  <p className="font-medium text-gray-900">Customer Review</p>
@@ -33,7 +33,7 @@ export function ReviewCard({ review, showProductInfo = false }: ReviewCardProps)
33
33
  </div>
34
34
 
35
35
  {review.reviewType && (
36
- <span className="inline-block px-2 py-1 text-xs bg-gray-100 text-gray-600 rounded mb-2">
36
+ <span className="inline-block px-2 py-1 text-xs bg-hprimary-100 text-gray-600 rounded mb-2">
37
37
  {review.reviewType}
38
38
  </span>
39
39
  )}
@@ -41,9 +41,9 @@ export function ReviewCard({ review, showProductInfo = false }: ReviewCardProps)
41
41
  <p className="text-gray-700 text-sm leading-relaxed mb-3">{review.review}</p>
42
42
 
43
43
  {review.reply && (
44
- <div className="mt-4 pl-4 border-l-2 border-secondary bg-gray-50 p-3 rounded">
44
+ <div className="mt-4 pl-4 border-l-2 border-hsecondary bg-gray-50 p-3 rounded">
45
45
  <div className="flex items-center gap-2 mb-2">
46
- <MessageCircle className="size-4 text-secondary" />
46
+ <MessageCircle className="size-4 text-hsecondary" />
47
47
  <p className="text-xs font-medium text-gray-900">Store Response</p>
48
48
  {replyDate && (
49
49
  <p className="text-xs text-gray-500">
@@ -31,8 +31,8 @@ export function TabNavigation({ tabs, activeTab, onTabChange }: TabNavigationPro
31
31
  flex items-center gap-2 px-6 py-3 mt-2 text-sm font-medium whitespace-nowrap
32
32
  border-b-2 transition-colors
33
33
  ${isActive
34
- ? 'bg-secondary text-white rounded-xl hover:transition-all hover:duration-300 hover:ease-in-out hover:-translate-y-1'
35
- : 'bg-white text-muted rounded-xl hover:text-secondary hover:transition-all hover:duration-150 hover:ease-in-out hover:-translate-y-1'
34
+ ? 'bg-hsecondary text-white rounded-xl hover:transition-all hover:duration-300 hover:ease-in-out hover:-translate-y-1'
35
+ : 'bg-white text-hmuted rounded-xl hover:text-hsecondary hover:transition-all hover:duration-150 hover:ease-in-out hover:-translate-y-1'
36
36
  }
37
37
  `}
38
38
  aria-current={isActive ? 'page' : undefined}
@@ -9,8 +9,8 @@ interface BadgeProps {
9
9
 
10
10
  export function Badge({ children, variant = 'primary', size = 'md', className = '' }: BadgeProps) {
11
11
  const variants = {
12
- primary: 'bg-primary-100 text-primary-700 border-primary-200',
13
- secondary: 'bg-secondary-100 text-secondary-700 border-secondary-200',
12
+ primary: 'bg-hprimary-100 text-hprimary-700 border-hprimary-200',
13
+ secondary: 'bg-hsecondary-100 text-hsecondary-700 border-hsecondary-200',
14
14
  success: 'bg-green-100 text-green-700 border-green-200',
15
15
  warning: 'bg-yellow-100 text-yellow-700 border-yellow-200',
16
16
  danger: 'bg-red-100 text-red-700 border-red-200',
@@ -23,12 +23,12 @@ export function Button({
23
23
  children,
24
24
  ...props
25
25
  }: ButtonProps) {
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';
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-hprimary-500 hover:cursor-pointer';
27
27
 
28
28
  const variants = {
29
29
  primary: 'bg-[#0E172B] text-white hover:bg-[#0E172B]/80 shadow-lg shadow-[#0E172B]/30 hover:shadow-xl hover:shadow-[#0E172B]/40',
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
- 'outline-solid': 'border-2 border-primary-600 text-primary-600 hover:bg-primary-50',
30
+ secondary: 'bg-hsecondary-600 text-white hover:bg-hsecondary-700 shadow-lg shadow-secondary-500/30 hover:shadow-xl hover:shadow-secondary-500/40',
31
+ 'outline-solid': 'border-2 border-hprimary-600 text-hprimary-600 hover:bg-hprimary-50',
32
32
  ghost: 'text-gray-700 hover:bg-gray-100',
33
33
  };
34
34
 
@@ -42,7 +42,7 @@ export function ConfirmModal({
42
42
  button: 'primary' as const,
43
43
  },
44
44
  info: {
45
- icon: 'text-secondary bg-blue-100',
45
+ icon: 'text-hsecondary bg-blue-100',
46
46
  button: 'primary' as const,
47
47
  },
48
48
  };
@@ -58,10 +58,10 @@ export function ConfirmModal({
58
58
  </div>
59
59
 
60
60
  {/* Title */}
61
- <h3 className="text-xl font-semibold text-secondary mb-2">{title}</h3>
61
+ <h3 className="text-xl font-semibold text-hsecondary mb-2">{title}</h3>
62
62
 
63
63
  {/* Message */}
64
- <p className="text-muted mb-6">{message}</p>
64
+ <p className="text-hmuted mb-6">{message}</p>
65
65
 
66
66
  {/* Actions */}
67
67
  <div className="flex gap-3 w-full justify-center">
@@ -21,7 +21,7 @@ export const Input = forwardRef<HTMLInputElement, InputProps>(
21
21
  w-full px-4 py-3 rounded-lg border-2 transition-all duration-200
22
22
  ${error
23
23
  ? 'border-red-500 focus:border-red-600 focus:ring-red-500/20'
24
- : 'border-gray-200 focus:border-primary-500 focus:ring-primary-500/20'
24
+ : 'border-gray-200 focus:border-hprimary-500 focus:ring-hprimary-500/20'
25
25
  }
26
26
  focus:outline-hidden focus:ring-4
27
27
  placeholder:text-gray-400
@@ -21,7 +21,6 @@ export * from './apis/events-api';
21
21
  export * from './apis/file-proccesor-api';
22
22
  export * from './apis/health-api';
23
23
  export * from './apis/images-api';
24
- export * from './apis/marketing-api';
25
24
  export * from './apis/notifications-api';
26
25
  export * from './apis/orders-api';
27
26
  export * from './apis/payments-api';
@@ -54,12 +54,6 @@ export interface GroupWithNoUsersDto {
54
54
  * @memberof GroupWithNoUsersDto
55
55
  */
56
56
  storeId: string;
57
- /**
58
- *
59
- * @type {number}
60
- * @memberof GroupWithNoUsersDto
61
- */
62
- mailJetListId: number;
63
57
  /**
64
58
  *
65
59
  * @type {number}
@@ -55,12 +55,6 @@ export interface GroupWithUsersDto {
55
55
  * @memberof GroupWithUsersDto
56
56
  */
57
57
  storeId?: string;
58
- /**
59
- *
60
- * @type {number}
61
- * @memberof GroupWithUsersDto
62
- */
63
- mailJetListId?: number;
64
58
  /**
65
59
  *
66
60
  * @type {number}
@@ -1,4 +1,3 @@
1
- export * from './add-contact-to-list-dto';
2
1
  export * from './address';
3
2
  export * from './address-created-request';
4
3
  export * from './allow-user-credit-dto';
@@ -7,17 +6,9 @@ export * from './appointment';
7
6
  export * from './available-dates-dto';
8
7
  export * from './available-suggested-dates-dto';
9
8
  export * from './blog';
10
- export * from './browser-stats-response-dto';
11
9
  export * from './bulk-channel-toggle-dto';
12
10
  export * from './bulk-move-subcategories-dto';
13
11
  export * from './bulk-unassign-subcategories-dto';
14
- export * from './campaign-content-response-dto';
15
- export * from './campaign-draft-dto';
16
- export * from './campaign-draft-response-dto';
17
- export * from './campaign-draft-schedule-dto';
18
- export * from './campaign-draft-schedule-response-dto';
19
- export * from './campaign-draft-sending-dto';
20
- export * from './campaign-draft-sending-response-dto';
21
12
  export * from './cart-body-dto';
22
13
  export * from './cart-body-populated';
23
14
  export * from './cart-item';
@@ -33,22 +24,12 @@ export * from './change-password-dto';
33
24
  export * from './change-user-email-dto';
34
25
  export * from './channel-settings-dto';
35
26
  export * from './completed-order-dto';
36
- export * from './contact-aggregated-stats-response-dto';
37
- export * from './contact-full-dto';
38
- export * from './contact-full-response-dto';
39
- export * from './contact-list-stats-response-dto';
40
- export * from './contact-lists-response-dto';
41
27
  export * from './contact-us';
42
- export * from './country-stats-response-dto';
43
28
  export * from './create-address-dto';
44
29
  export * from './create-blog-dto';
45
30
  export * from './create-category-dto';
46
- export * from './create-contact-dto';
47
- export * from './create-contact-list-dto';
48
31
  export * from './create-discount-dto';
49
- export * from './create-email-template-dto';
50
32
  export * from './create-event-dto';
51
- export * from './create-marketing-campaign-dto';
52
33
  export * from './create-message-dto';
53
34
  export * from './create-product-dto';
54
35
  export * from './create-review-dto';
@@ -66,24 +47,19 @@ export * from './delete-many-files-dto';
66
47
  export * from './discount';
67
48
  export * from './discounts-insights-dto';
68
49
  export * from './email-invoice-dto';
69
- export * from './email-template-response-dto';
70
50
  export * from './event';
71
51
  export * from './fileproccesor-upload-body';
72
52
  export * from './forget-password';
73
- export * from './general-stats-response-dto';
74
53
  export * from './generate-day-slots-dto';
75
54
  export * from './generate-month-slots-dto';
76
55
  export * from './generate-week-slots-dto';
77
56
  export * from './group-with-no-users-dto';
78
57
  export * from './group-with-users-dto';
79
58
  export * from './images-upload-body';
80
- export * from './link-stats-response-dto';
81
59
  export * from './login-dto';
82
60
  export * from './manual-discount-dto';
83
61
  export * from './manual-order-dto';
84
62
  export * from './manual-shipping-dto';
85
- export * from './marketing-campaign-content-dto';
86
- export * from './marketing-list-contact-dto';
87
63
  export * from './move-subcategory-dto';
88
64
  export * from './new-client-email-dto';
89
65
  export * from './object-id';
@@ -120,23 +96,14 @@ export * from './review';
120
96
  export * from './review-status-dto';
121
97
  export * from './reviewable-order-dto';
122
98
  export * from './reviewable-product-dto';
123
- export * from './schedule-campaign-draft-dto';
124
99
  export * from './schedule-tour-email-dto';
125
- export * from './send-test-email-dto';
126
100
  export * from './shipment';
127
101
  export * from './shipment-details-dto';
128
102
  export * from './shipment-status-dto';
129
103
  export * from './shipment-with-order';
130
104
  export * from './shipping-info';
131
105
  export * from './shippo-account-response-dto';
132
- export * from './single-browser-stats-dto';
133
- export * from './single-contact-aggregated-stats-dto';
134
- export * from './single-contact-list-stats-dto';
135
- export * from './single-country-stats-dto';
136
- export * from './single-general-stats';
137
- export * from './single-link-stats-dto';
138
106
  export * from './single-product-media';
139
- export * from './single-recipient-dto';
140
107
  export * from './store';
141
108
  export * from './store-api-keys-response-dto';
142
109
  export * from './store-capabilities-dto';
@@ -155,13 +122,11 @@ export * from './transfere-patients-request-dto';
155
122
  export * from './update-address-dto';
156
123
  export * from './update-api-keys-dto';
157
124
  export * from './update-blog-dto';
158
- export * from './update-campaign-draft-content-dto';
159
125
  export * from './update-category-dto';
160
126
  export * from './update-discount-dto';
161
127
  export * from './update-event-dto';
162
128
  export * from './update-items-order-dto';
163
129
  export * from './update-manual-shipment-status-dto';
164
- export * from './update-marketing-camp-draft-dto';
165
130
  export * from './update-message-dto';
166
131
  export * from './update-notification-settings-dto';
167
132
  export * from './update-product-dto';
@@ -134,12 +134,6 @@ export interface Order {
134
134
  * @memberof Order
135
135
  */
136
136
  storeId: string;
137
- /**
138
- *
139
- * @type {string}
140
- * @memberof Order
141
- */
142
- stringId: string;
143
137
  /**
144
138
  *
145
139
  * @type {Array<OrderTimeLineDTO>}
@@ -123,12 +123,6 @@ export interface PopulatedOrder {
123
123
  * @memberof PopulatedOrder
124
124
  */
125
125
  storeId?: string;
126
- /**
127
- *
128
- * @type {string}
129
- * @memberof PopulatedOrder
130
- */
131
- stringId?: string;
132
126
  /**
133
127
  *
134
128
  * @type {Array<OrderTimeLineDTO>}
@@ -43,6 +43,7 @@ export enum PreferenceUpdateItemTypeEnum {
43
43
  ORDERSHIPPED = 'ORDER_SHIPPED',
44
44
  ORDERDELIVERED = 'ORDER_DELIVERED',
45
45
  REFUNDPROCESSED = 'REFUND_PROCESSED',
46
+ REVIEWREPLY = 'REVIEW_REPLY',
46
47
  ABANDONEDCARTREMINDER = 'ABANDONED_CART_REMINDER',
47
48
  PRICEDROPALERT = 'PRICE_DROP_ALERT',
48
49
  BACKINSTOCK = 'BACK_IN_STOCK',