@burdenoff/microfe-subscriberbot 2026.615.1 → 2026.625.1

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 (111) hide show
  1. package/dist/node_modules/{.bun/clsx@2.1.1/node_modules/clsx → clsx}/dist/clsx.js +1 -1
  2. package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
  3. package/dist/node_modules/{.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge → tailwind-merge}/dist/bundle-mjs.js +212 -170
  4. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
  5. package/dist/subscriberbot/components/EmptyState.js +20 -13
  6. package/dist/subscriberbot/components/EmptyState.js.map +1 -1
  7. package/dist/subscriberbot/components/InvestmentCard.js +29 -28
  8. package/dist/subscriberbot/components/InvestmentCard.js.map +1 -1
  9. package/dist/subscriberbot/components/MetricsCard.js +18 -15
  10. package/dist/subscriberbot/components/MetricsCard.js.map +1 -1
  11. package/dist/subscriberbot/components/PageLayout.js +27 -15
  12. package/dist/subscriberbot/components/PageLayout.js.map +1 -1
  13. package/dist/subscriberbot/components/RatingDisplay.js +3 -3
  14. package/dist/subscriberbot/components/RatingDisplay.js.map +1 -1
  15. package/dist/subscriberbot/components/StatusBadge.js +26 -14
  16. package/dist/subscriberbot/components/StatusBadge.js.map +1 -1
  17. package/dist/subscriberbot/context/SubscriberBotContext.js.map +1 -1
  18. package/dist/subscriberbot/pages/HomePage.js +109 -105
  19. package/dist/subscriberbot/pages/HomePage.js.map +1 -1
  20. package/dist/subscriberbot/pages/admin/AdminAnalyticsPage.js +87 -87
  21. package/dist/subscriberbot/pages/admin/AdminAnalyticsPage.js.map +1 -1
  22. package/dist/subscriberbot/pages/admin/AdminDashboard.js +102 -101
  23. package/dist/subscriberbot/pages/admin/AdminDashboard.js.map +1 -1
  24. package/dist/subscriberbot/pages/admin/AdminFinancialPage.js +48 -48
  25. package/dist/subscriberbot/pages/admin/AdminFinancialPage.js.map +1 -1
  26. package/dist/subscriberbot/pages/admin/AdminOrdersPage.js +96 -96
  27. package/dist/subscriberbot/pages/admin/AdminOrdersPage.js.map +1 -1
  28. package/dist/subscriberbot/pages/admin/AdminProfilePage.js +34 -34
  29. package/dist/subscriberbot/pages/admin/AdminProfilePage.js.map +1 -1
  30. package/dist/subscriberbot/pages/admin/AdminSettingsPage.js +40 -40
  31. package/dist/subscriberbot/pages/admin/AdminSettingsPage.js.map +1 -1
  32. package/dist/subscriberbot/pages/admin/CartManagementPage.js +104 -104
  33. package/dist/subscriberbot/pages/admin/CartManagementPage.js.map +1 -1
  34. package/dist/subscriberbot/pages/admin/UserManagementPage.js +99 -99
  35. package/dist/subscriberbot/pages/admin/UserManagementPage.js.map +1 -1
  36. package/dist/subscriberbot/pages/cart-owner/AnalyticsDashboard.js +117 -117
  37. package/dist/subscriberbot/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  38. package/dist/subscriberbot/pages/cart-owner/BusinessSettingsPage.js +34 -34
  39. package/dist/subscriberbot/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  40. package/dist/subscriberbot/pages/cart-owner/CartOwnerDashboard.js +158 -153
  41. package/dist/subscriberbot/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  42. package/dist/subscriberbot/pages/cart-owner/CartOwnerProfilePage.js +117 -117
  43. package/dist/subscriberbot/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  44. package/dist/subscriberbot/pages/cart-owner/CartServiceConfigPage.js +89 -89
  45. package/dist/subscriberbot/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  46. package/dist/subscriberbot/pages/cart-owner/InventoryManagementPage.js +109 -109
  47. package/dist/subscriberbot/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  48. package/dist/subscriberbot/pages/cart-owner/OrderManagementPage.js +90 -89
  49. package/dist/subscriberbot/pages/cart-owner/OrderManagementPage.js.map +1 -1
  50. package/dist/subscriberbot/pages/cart-owner/StaffManagementPage.js +97 -97
  51. package/dist/subscriberbot/pages/cart-owner/StaffManagementPage.js.map +1 -1
  52. package/dist/subscriberbot/pages/common/HelpSupportPage.js +138 -138
  53. package/dist/subscriberbot/pages/common/HelpSupportPage.js.map +1 -1
  54. package/dist/subscriberbot/pages/common/NotificationCenterPage.js +67 -66
  55. package/dist/subscriberbot/pages/common/NotificationCenterPage.js.map +1 -1
  56. package/dist/subscriberbot/pages/common/SettingsPage.js +116 -116
  57. package/dist/subscriberbot/pages/common/SettingsPage.js.map +1 -1
  58. package/dist/subscriberbot/pages/customer/BookingDetailsPage.js +73 -72
  59. package/dist/subscriberbot/pages/customer/BookingDetailsPage.js.map +1 -1
  60. package/dist/subscriberbot/pages/customer/CartDetailPage.js +89 -88
  61. package/dist/subscriberbot/pages/customer/CartDetailPage.js.map +1 -1
  62. package/dist/subscriberbot/pages/customer/CartDiscoveryPage.js +68 -66
  63. package/dist/subscriberbot/pages/customer/CartDiscoveryPage.js.map +1 -1
  64. package/dist/subscriberbot/pages/customer/CheckoutPage.js +80 -80
  65. package/dist/subscriberbot/pages/customer/CheckoutPage.js.map +1 -1
  66. package/dist/subscriberbot/pages/customer/CustomerDashboard.js +89 -88
  67. package/dist/subscriberbot/pages/customer/CustomerDashboard.js.map +1 -1
  68. package/dist/subscriberbot/pages/customer/CustomerProfilePage.js +84 -84
  69. package/dist/subscriberbot/pages/customer/CustomerProfilePage.js.map +1 -1
  70. package/dist/subscriberbot/pages/customer/DirectServiceBookingPage.js +92 -91
  71. package/dist/subscriberbot/pages/customer/DirectServiceBookingPage.js.map +1 -1
  72. package/dist/subscriberbot/pages/customer/FavoritesPage.js +34 -33
  73. package/dist/subscriberbot/pages/customer/FavoritesPage.js.map +1 -1
  74. package/dist/subscriberbot/pages/customer/OrderHistoryPage.js +45 -43
  75. package/dist/subscriberbot/pages/customer/OrderHistoryPage.js.map +1 -1
  76. package/dist/subscriberbot/pages/customer/OrderTrackingPage.js +61 -60
  77. package/dist/subscriberbot/pages/customer/OrderTrackingPage.js.map +1 -1
  78. package/dist/subscriberbot/pages/customer/PaymentMethodsPage.js +59 -58
  79. package/dist/subscriberbot/pages/customer/PaymentMethodsPage.js.map +1 -1
  80. package/dist/subscriberbot/pages/customer/ReviewsPage.js +49 -48
  81. package/dist/subscriberbot/pages/customer/ReviewsPage.js.map +1 -1
  82. package/dist/subscriberbot/pages/customer/SavedAddressesPage.js +47 -46
  83. package/dist/subscriberbot/pages/customer/SavedAddressesPage.js.map +1 -1
  84. package/dist/subscriberbot/pages/investor/InvestmentDetailsPage.js +129 -129
  85. package/dist/subscriberbot/pages/investor/InvestmentDetailsPage.js.map +1 -1
  86. package/dist/subscriberbot/pages/investor/InvestmentOpportunitiesPage.js +90 -88
  87. package/dist/subscriberbot/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  88. package/dist/subscriberbot/pages/investor/InvestorAnalyticsPage.js +88 -88
  89. package/dist/subscriberbot/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  90. package/dist/subscriberbot/pages/investor/InvestorDashboard.js +63 -62
  91. package/dist/subscriberbot/pages/investor/InvestorDashboard.js.map +1 -1
  92. package/dist/subscriberbot/pages/investor/InvestorInvestmentsPage.js +39 -38
  93. package/dist/subscriberbot/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  94. package/dist/subscriberbot/pages/investor/InvestorPortfolioPage.js +66 -66
  95. package/dist/subscriberbot/pages/investor/InvestorPortfolioPage.js.map +1 -1
  96. package/dist/subscriberbot/pages/investor/InvestorProfilePage.js +154 -154
  97. package/dist/subscriberbot/pages/investor/InvestorProfilePage.js.map +1 -1
  98. package/dist/subscriberbot/pages/worker/TaskDetailsPage.js +80 -79
  99. package/dist/subscriberbot/pages/worker/TaskDetailsPage.js.map +1 -1
  100. package/dist/subscriberbot/pages/worker/WorkerDashboard.js +107 -106
  101. package/dist/subscriberbot/pages/worker/WorkerDashboard.js.map +1 -1
  102. package/dist/subscriberbot/pages/worker/WorkerOrdersPage.js +73 -72
  103. package/dist/subscriberbot/pages/worker/WorkerOrdersPage.js.map +1 -1
  104. package/dist/subscriberbot/pages/worker/WorkerProfilePage.js +108 -108
  105. package/dist/subscriberbot/pages/worker/WorkerProfilePage.js.map +1 -1
  106. package/dist/subscriberbot/pages/worker/WorkerSchedulePage.js +71 -69
  107. package/dist/subscriberbot/pages/worker/WorkerSchedulePage.js.map +1 -1
  108. package/dist/subscriberbot/utils/cn.js +2 -2
  109. package/package.json +3 -3
  110. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +0 -1
  111. package/dist/node_modules/.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
@@ -71,7 +71,7 @@ function D() {
71
71
  children: /* @__PURE__ */ T("div", {
72
72
  className: "flex h-[60vh] flex-col items-center justify-center gap-4",
73
73
  children: [
74
- /* @__PURE__ */ w(u, { className: "h-12 w-12 text-destructive" }),
74
+ /* @__PURE__ */ w(u, { className: "h-12 w-12 text-status-error-text" }),
75
75
  /* @__PURE__ */ w("h2", {
76
76
  className: "text-xl font-semibold",
77
77
  children: "Error loading service providers"
@@ -79,7 +79,7 @@ function D() {
79
79
  /* @__PURE__ */ w("button", {
80
80
  type: "button",
81
81
  onClick: () => window.location.reload(),
82
- className: "rounded-lg bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
82
+ className: "rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text",
83
83
  children: "Retry"
84
84
  })
85
85
  ]
@@ -87,26 +87,27 @@ function D() {
87
87
  }) : /* @__PURE__ */ T(n, {
88
88
  title: "Discover Carts",
89
89
  description: "Find services and shops near you",
90
+ titleGradient: !0,
90
91
  actions: /* @__PURE__ */ T("span", {
91
- className: "text-sm text-muted-foreground",
92
+ className: "text-sm text-text-secondary",
92
93
  children: [Y.length, " carts found"]
93
94
  }),
94
95
  children: [
95
96
  /* @__PURE__ */ T("div", {
96
97
  className: "relative",
97
98
  children: [
98
- /* @__PURE__ */ w(v, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }),
99
+ /* @__PURE__ */ w(v, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }),
99
100
  /* @__PURE__ */ w("input", {
100
101
  type: "text",
101
102
  placeholder: "Search carts, services, or items...",
102
103
  value: O,
103
104
  onChange: (e) => k(e.target.value),
104
- className: t("w-full rounded-lg border border-border bg-card py-2.5 pl-10 pr-10 text-sm text-foreground", "placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring")
105
+ className: t("w-full rounded-lg border border-border-seam bg-bg-surface py-2.5 pl-10 pr-10 text-sm text-text-primary", "placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]")
105
106
  }),
106
107
  O && /* @__PURE__ */ w("button", {
107
108
  type: "button",
108
109
  onClick: () => k(""),
109
- className: "absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground",
110
+ className: "absolute right-3 top-1/2 -translate-y-1/2 text-text-secondary hover:text-text-primary",
110
111
  children: /* @__PURE__ */ w(S, { className: "h-4 w-4" })
111
112
  })
112
113
  ]
@@ -116,7 +117,7 @@ function D() {
116
117
  children: J.map((e) => /* @__PURE__ */ w("button", {
117
118
  type: "button",
118
119
  onClick: () => j(e),
119
- className: t("rounded-full px-3 py-1.5 text-xs font-medium transition-colors", A === e ? "bg-foreground text-background" : "bg-muted text-muted-foreground hover:bg-accent hover:text-foreground"),
120
+ className: t("rounded-full px-3 py-1.5 text-xs font-medium transition-colors", A === e ? "bg-foreground text-background" : "bg-bg-sunken text-text-secondary hover:bg-accent hover:text-text-primary"),
120
121
  children: e
121
122
  }, e))
122
123
  }),
@@ -126,7 +127,7 @@ function D() {
126
127
  /* @__PURE__ */ T("select", {
127
128
  value: M,
128
129
  onChange: (e) => N(e.target.value),
129
- className: "rounded-lg border border-border bg-card px-3 py-2 text-xs text-foreground focus:outline-none focus:ring-2 focus:ring-ring",
130
+ className: "rounded-lg border border-border-seam bg-bg-surface px-3 py-2 text-xs text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
130
131
  children: [
131
132
  /* @__PURE__ */ w("option", {
132
133
  value: "",
@@ -149,7 +150,7 @@ function D() {
149
150
  /* @__PURE__ */ T("select", {
150
151
  value: P,
151
152
  onChange: (e) => F(e.target.value),
152
- className: "rounded-lg border border-border bg-card px-3 py-2 text-xs text-foreground focus:outline-none focus:ring-2 focus:ring-ring",
153
+ className: "rounded-lg border border-border-seam bg-bg-surface px-3 py-2 text-xs text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
153
154
  children: [
154
155
  /* @__PURE__ */ w("option", {
155
156
  value: "",
@@ -172,7 +173,7 @@ function D() {
172
173
  /* @__PURE__ */ T("select", {
173
174
  value: I,
174
175
  onChange: (e) => L(e.target.value),
175
- className: "rounded-lg border border-border bg-card px-3 py-2 text-xs text-foreground focus:outline-none focus:ring-2 focus:ring-ring",
176
+ className: "rounded-lg border border-border-seam bg-bg-surface px-3 py-2 text-xs text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
176
177
  children: [
177
178
  /* @__PURE__ */ w("option", {
178
179
  value: "rating",
@@ -195,7 +196,7 @@ function D() {
195
196
  Q && /* @__PURE__ */ w("button", {
196
197
  type: "button",
197
198
  onClick: $,
198
- className: "rounded-lg border border-border px-3 py-2 text-xs font-medium text-muted-foreground hover:text-foreground transition-colors",
199
+ className: "rounded-lg border border-border-seam px-3 py-2 text-xs font-medium text-text-secondary hover:text-text-primary transition-colors",
199
200
  children: "Clear All Filters"
200
201
  })
201
202
  ]
@@ -205,9 +206,9 @@ function D() {
205
206
  children: X.map((e) => {
206
207
  let n = q.find((t) => t.cartId === e.id);
207
208
  return /* @__PURE__ */ T("div", {
208
- className: "rounded-lg border border-border bg-card shadow-sm overflow-hidden hover:shadow-md transition-shadow flex flex-col",
209
+ className: "rounded-lg border border-border-seam bg-bg-surface shadow-sm overflow-hidden hover:shadow-md transition-shadow flex flex-col",
209
210
  children: [/* @__PURE__ */ T("div", {
210
- className: "relative h-40 bg-muted",
211
+ className: "relative h-40 bg-bg-sunken",
211
212
  children: [
212
213
  /* @__PURE__ */ w("img", {
213
214
  src: e.image,
@@ -217,17 +218,17 @@ function D() {
217
218
  /* @__PURE__ */ T("div", {
218
219
  className: "absolute top-2 left-2 flex gap-1.5",
219
220
  children: [/* @__PURE__ */ w("span", {
220
- className: t("inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium backdrop-blur-sm", e.isOpen ? "bg-green-500/20 text-green-600 dark:text-green-400" : "bg-red-500/20 text-red-600 dark:text-red-400"),
221
+ className: t("inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium backdrop-blur-sm", e.isOpen ? "bg-status-success-bg/20 text-status-success-text" : "bg-status-error-bg/20 text-status-error-text"),
221
222
  children: e.isOpen ? "Open" : "Closed"
222
223
  }), e.isVerified && /* @__PURE__ */ T("span", {
223
- className: "inline-flex items-center gap-0.5 rounded-full bg-blue-500/20 px-2 py-0.5 text-xs font-medium text-blue-600 dark:text-blue-400 backdrop-blur-sm",
224
+ className: "inline-flex items-center gap-0.5 rounded-full bg-status-info-bg/20 px-2 py-0.5 text-xs font-medium text-status-info-text backdrop-blur-sm",
224
225
  children: [/* @__PURE__ */ w(f, { className: "h-3 w-3" }), "Verified"]
225
226
  })]
226
227
  }),
227
228
  /* @__PURE__ */ w("div", {
228
229
  className: "absolute top-2 right-2",
229
230
  children: /* @__PURE__ */ T("span", {
230
- className: "rounded-full bg-black/50 px-2 py-0.5 text-xs text-white backdrop-blur-sm",
231
+ className: "rounded-full bg-bg-canvas/50 px-2 py-0.5 text-xs text-text-inverse backdrop-blur-sm",
231
232
  children: [e.estimatedTime, " min"]
232
233
  })
233
234
  })
@@ -238,18 +239,18 @@ function D() {
238
239
  /* @__PURE__ */ T("div", {
239
240
  className: "flex items-start justify-between gap-2 mb-1",
240
241
  children: [/* @__PURE__ */ w("h3", {
241
- className: "text-sm font-semibold text-foreground truncate flex-1",
242
+ className: "text-sm font-semibold text-text-primary truncate flex-1",
242
243
  children: e.name
243
244
  }), /* @__PURE__ */ T("div", {
244
245
  className: "flex items-center gap-1 shrink-0",
245
246
  children: [
246
- /* @__PURE__ */ w(y, { className: "h-3.5 w-3.5 fill-yellow-400 text-yellow-400" }),
247
+ /* @__PURE__ */ w(y, { className: "h-3.5 w-3.5 fill-status-warning-text text-status-warning-text" }),
247
248
  /* @__PURE__ */ w("span", {
248
- className: "text-xs font-medium text-foreground",
249
+ className: "text-xs font-medium text-text-primary",
249
250
  children: e.rating
250
251
  }),
251
252
  /* @__PURE__ */ T("span", {
252
- className: "text-xs text-muted-foreground",
253
+ className: "text-xs text-text-secondary",
253
254
  children: [
254
255
  "(",
255
256
  e.totalRatings,
@@ -260,27 +261,27 @@ function D() {
260
261
  })]
261
262
  }),
262
263
  /* @__PURE__ */ w("p", {
263
- className: "text-xs text-muted-foreground mb-2",
264
+ className: "text-xs text-text-secondary mb-2",
264
265
  children: e.category
265
266
  }),
266
267
  /* @__PURE__ */ w("div", {
267
- className: "flex items-center gap-3 text-xs text-muted-foreground mb-2",
268
+ className: "flex items-center gap-3 text-xs text-text-secondary mb-2",
268
269
  children: /* @__PURE__ */ T("span", {
269
270
  className: "flex items-center gap-1",
270
271
  children: [/* @__PURE__ */ w(_, { className: "h-3 w-3" }), e.location?.address?.split(",")[0] || "Unknown"]
271
272
  })
272
273
  }),
273
274
  /* @__PURE__ */ T("div", {
274
- className: "flex items-center gap-3 text-xs text-muted-foreground mb-3",
275
+ className: "flex items-center gap-3 text-xs text-text-secondary mb-3",
275
276
  children: [e.averageOrderValue && /* @__PURE__ */ T("span", { children: ["Avg ", o(e.averageOrderValue, { minimumFractionDigits: 0 })] }), /* @__PURE__ */ T("span", {
276
277
  className: "flex items-center gap-1",
277
278
  children: [/* @__PURE__ */ w(_, { className: "h-3 w-3" }), s(e.distance)]
278
279
  })]
279
280
  }),
280
281
  e.serviceTypes?.includes("appointment") && /* @__PURE__ */ w("div", {
281
- className: "mb-3 rounded-md bg-blue-500/10 border border-blue-500/20 p-2",
282
+ className: "mb-3 rounded-md bg-status-info-bg/10 border border-status-info-border/20 p-2",
282
283
  children: /* @__PURE__ */ T("div", {
283
- className: "flex items-center gap-1 text-xs text-blue-600 dark:text-blue-400",
284
+ className: "flex items-center gap-1 text-xs text-status-info-text",
284
285
  children: [/* @__PURE__ */ w(d, { className: "h-3 w-3" }), /* @__PURE__ */ w("span", {
285
286
  className: "font-medium",
286
287
  children: "Appointment available"
@@ -288,9 +289,9 @@ function D() {
288
289
  })
289
290
  }),
290
291
  e.serviceTypes?.includes("direct_service") && /* @__PURE__ */ w("div", {
291
- className: "mb-3 rounded-md bg-purple-500/10 border border-purple-500/20 p-2",
292
+ className: "mb-3 rounded-md bg-accent-purple-subtle border border-accent-purple/20 p-2",
292
293
  children: /* @__PURE__ */ T("div", {
293
- className: "flex items-center gap-1 text-xs text-purple-600 dark:text-purple-400",
294
+ className: "flex items-center gap-1 text-xs text-accent-purple",
294
295
  children: [/* @__PURE__ */ w(m, { className: "h-3 w-3" }), /* @__PURE__ */ w("span", {
295
296
  className: "font-medium",
296
297
  children: "Direct Service Available"
@@ -300,7 +301,7 @@ function D() {
300
301
  e.serviceTypes && e.serviceTypes.length > 0 && /* @__PURE__ */ w("div", {
301
302
  className: "flex flex-wrap gap-1 mb-3",
302
303
  children: e.serviceTypes.slice(0, 3).map((e) => /* @__PURE__ */ w("span", {
303
- className: "rounded-full bg-muted px-2 py-0.5 text-[10px] text-muted-foreground",
304
+ className: "rounded-full bg-bg-sunken px-2 py-0.5 text-[10px] text-text-secondary",
304
305
  children: e.replace(/_/g, " ")
305
306
  }, e))
306
307
  }),
@@ -311,20 +312,20 @@ function D() {
311
312
  type: "button",
312
313
  onClick: () => D(`/customer/cart/${e.id}`),
313
314
  disabled: !e.isOpen,
314
- className: t("flex-1 rounded-lg py-2 text-xs font-medium transition-opacity", e.isOpen ? "bg-foreground text-background hover:opacity-90" : "bg-muted text-muted-foreground cursor-not-allowed"),
315
+ className: t("flex-1 rounded-lg py-2 text-xs font-medium transition-opacity", e.isOpen ? "bg-foreground text-background hover:opacity-90" : "bg-bg-sunken text-text-secondary cursor-not-allowed"),
315
316
  children: e.isOpen ? "View Services" : "Closed"
316
317
  }),
317
318
  e.serviceTypes?.includes("direct_service") && /* @__PURE__ */ w("button", {
318
319
  type: "button",
319
320
  onClick: () => D(`/customer/cart/${e.id}`),
320
- className: "rounded-lg border border-border px-2 py-2 text-xs text-foreground hover:bg-accent transition-colors",
321
+ className: "rounded-lg border border-border-seam px-2 py-2 text-xs text-text-primary hover:bg-accent transition-colors",
321
322
  title: "Book Direct Service",
322
323
  children: /* @__PURE__ */ w(m, { className: "h-3.5 w-3.5" })
323
324
  }),
324
325
  n && /* @__PURE__ */ w("button", {
325
326
  type: "button",
326
327
  onClick: () => alert("Investment opportunity available! View in Investor section."),
327
- className: "rounded-lg border border-green-500/30 bg-green-500/10 px-2 py-2 text-xs text-green-600 dark:text-green-400 hover:bg-green-500/20 transition-colors",
328
+ className: "rounded-lg border border-status-success-border/30 bg-status-success-bg/10 px-2 py-2 text-xs text-status-success-text hover:bg-status-success-bg/20 transition-colors",
328
329
  title: "Investment Opportunity",
329
330
  children: /* @__PURE__ */ w(x, { className: "h-3.5 w-3.5" })
330
331
  }),
@@ -333,7 +334,7 @@ function D() {
333
334
  onClick: () => {
334
335
  U(e), V(!0);
335
336
  },
336
- className: "rounded-lg border border-border px-2 py-2 text-xs text-foreground hover:bg-accent transition-colors",
337
+ className: "rounded-lg border border-border-seam px-2 py-2 text-xs text-text-primary hover:bg-accent transition-colors",
337
338
  title: "Cart Info",
338
339
  children: /* @__PURE__ */ w(h, { className: "h-3.5 w-3.5" })
339
340
  })
@@ -348,12 +349,13 @@ function D() {
348
349
  children: /* @__PURE__ */ w("button", {
349
350
  type: "button",
350
351
  onClick: () => z((e) => e + 9),
351
- className: "rounded-lg border border-border px-6 py-2.5 text-sm font-medium text-foreground hover:bg-accent transition-colors",
352
+ className: "rounded-lg border border-border-seam px-6 py-2.5 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
352
353
  children: "Load More Carts"
353
354
  })
354
355
  })] }) : /* @__PURE__ */ w("div", {
355
356
  className: "mt-6",
356
357
  children: /* @__PURE__ */ w(r, {
358
+ illustration: "empty-search",
357
359
  icon: /* @__PURE__ */ w(v, { className: "h-12 w-12" }),
358
360
  title: "No carts found",
359
361
  description: O ? `No results for "${O}". Try a different search term.` : "No carts available with these filters.",
@@ -366,21 +368,21 @@ function D() {
366
368
  })
367
369
  }),
368
370
  B && H && /* @__PURE__ */ w("div", {
369
- className: "fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4",
371
+ className: "fixed inset-0 z-50 flex items-center justify-center bg-bg-canvas/50 p-4",
370
372
  children: /* @__PURE__ */ w("div", {
371
- className: "w-full max-w-2xl max-h-[90vh] overflow-y-auto rounded-lg border border-border bg-card",
373
+ className: "w-full max-w-2xl max-h-[90vh] overflow-y-auto rounded-lg border border-border-seam bg-bg-surface",
372
374
  children: /* @__PURE__ */ T("div", {
373
375
  className: "p-5",
374
376
  children: [
375
377
  /* @__PURE__ */ T("div", {
376
378
  className: "flex items-center justify-between mb-4",
377
379
  children: [/* @__PURE__ */ w("h3", {
378
- className: "text-lg font-semibold text-foreground",
380
+ className: "text-lg font-semibold text-text-primary",
379
381
  children: "Cart Information"
380
382
  }), /* @__PURE__ */ w("button", {
381
383
  type: "button",
382
384
  onClick: () => V(!1),
383
- className: "rounded-md p-1 text-muted-foreground hover:text-foreground transition-colors",
385
+ className: "rounded-md p-1 text-text-secondary hover:text-text-primary transition-colors",
384
386
  children: /* @__PURE__ */ w(S, { className: "h-5 w-5" })
385
387
  })]
386
388
  }),
@@ -393,7 +395,7 @@ function D() {
393
395
  })
394
396
  }),
395
397
  /* @__PURE__ */ w("h4", {
396
- className: "text-xl font-semibold text-foreground mb-1",
398
+ className: "text-xl font-semibold text-text-primary mb-1",
397
399
  children: H.name
398
400
  }),
399
401
  /* @__PURE__ */ T("div", {
@@ -401,13 +403,13 @@ function D() {
401
403
  children: [/* @__PURE__ */ T("div", {
402
404
  className: "flex items-center gap-1",
403
405
  children: [
404
- /* @__PURE__ */ w(y, { className: "h-3.5 w-3.5 fill-yellow-400 text-yellow-400" }),
406
+ /* @__PURE__ */ w(y, { className: "h-3.5 w-3.5 fill-status-warning-text text-status-warning-text" }),
405
407
  /* @__PURE__ */ w("span", {
406
408
  className: "text-sm font-medium",
407
409
  children: H.rating
408
410
  }),
409
411
  /* @__PURE__ */ T("span", {
410
- className: "text-xs text-muted-foreground",
412
+ className: "text-xs text-text-secondary",
411
413
  children: [
412
414
  "(",
413
415
  H.totalRatings,
@@ -416,7 +418,7 @@ function D() {
416
418
  })
417
419
  ]
418
420
  }), /* @__PURE__ */ w("span", {
419
- className: t("inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium", H.isOpen ? "bg-green-500/20 text-green-600 dark:text-green-400" : "bg-red-500/20 text-red-600 dark:text-red-400"),
421
+ className: t("inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium", H.isOpen ? "bg-status-success-bg/20 text-status-success-text" : "bg-status-error-bg/20 text-status-error-text"),
420
422
  children: H.isOpen ? "Open" : "Closed"
421
423
  })]
422
424
  }),
@@ -424,62 +426,62 @@ function D() {
424
426
  className: "grid grid-cols-1 gap-3 sm:grid-cols-2 mb-4",
425
427
  children: [
426
428
  /* @__PURE__ */ T("div", {
427
- className: "rounded-md bg-muted p-3",
429
+ className: "rounded-md bg-bg-sunken p-3",
428
430
  children: [/* @__PURE__ */ T("p", {
429
- className: "text-xs font-medium text-muted-foreground flex items-center gap-1",
431
+ className: "text-xs font-medium text-text-secondary flex items-center gap-1",
430
432
  children: [/* @__PURE__ */ w(_, { className: "h-3 w-3" }), " Location"]
431
433
  }), /* @__PURE__ */ w("p", {
432
- className: "mt-1 text-sm text-foreground",
434
+ className: "mt-1 text-sm text-text-primary",
433
435
  children: H.location.address
434
436
  })]
435
437
  }),
436
438
  /* @__PURE__ */ T("div", {
437
- className: "rounded-md bg-muted p-3",
439
+ className: "rounded-md bg-bg-sunken p-3",
438
440
  children: [/* @__PURE__ */ T("p", {
439
- className: "text-xs font-medium text-muted-foreground flex items-center gap-1",
441
+ className: "text-xs font-medium text-text-secondary flex items-center gap-1",
440
442
  children: [/* @__PURE__ */ w(b, { className: "h-3 w-3" }), " Category"]
441
443
  }), /* @__PURE__ */ w("p", {
442
- className: "mt-1 text-sm text-foreground",
444
+ className: "mt-1 text-sm text-text-primary",
443
445
  children: H.category
444
446
  })]
445
447
  }),
446
448
  H.averageOrderValue && /* @__PURE__ */ T("div", {
447
- className: "rounded-md bg-muted p-3",
449
+ className: "rounded-md bg-bg-sunken p-3",
448
450
  children: [/* @__PURE__ */ w("p", {
449
- className: "text-xs font-medium text-muted-foreground",
451
+ className: "text-xs font-medium text-text-secondary",
450
452
  children: "Average Order"
451
453
  }), /* @__PURE__ */ w("p", {
452
- className: "mt-1 text-sm text-foreground",
454
+ className: "mt-1 text-sm text-text-primary",
453
455
  children: o(H.averageOrderValue, { minimumFractionDigits: 0 })
454
456
  })]
455
457
  }),
456
458
  /* @__PURE__ */ T("div", {
457
- className: "rounded-md bg-muted p-3",
459
+ className: "rounded-md bg-bg-sunken p-3",
458
460
  children: [/* @__PURE__ */ T("p", {
459
- className: "text-xs font-medium text-muted-foreground flex items-center gap-1",
461
+ className: "text-xs font-medium text-text-secondary flex items-center gap-1",
460
462
  children: [/* @__PURE__ */ w(p, { className: "h-3 w-3" }), " Estimated Time"]
461
463
  }), /* @__PURE__ */ T("p", {
462
- className: "mt-1 text-sm text-foreground",
464
+ className: "mt-1 text-sm text-text-primary",
463
465
  children: [H.estimatedTime, " minutes"]
464
466
  })]
465
467
  }),
466
468
  /* @__PURE__ */ T("div", {
467
- className: "rounded-md bg-muted p-3",
469
+ className: "rounded-md bg-bg-sunken p-3",
468
470
  children: [/* @__PURE__ */ w("p", {
469
- className: "text-xs font-medium text-muted-foreground",
471
+ className: "text-xs font-medium text-text-secondary",
470
472
  children: "Distance"
471
473
  }), /* @__PURE__ */ w("p", {
472
- className: "mt-1 text-sm text-foreground",
474
+ className: "mt-1 text-sm text-text-primary",
473
475
  children: s(H.distance)
474
476
  })]
475
477
  }),
476
478
  H.isVerified && /* @__PURE__ */ T("div", {
477
- className: "rounded-md bg-muted p-3",
479
+ className: "rounded-md bg-bg-sunken p-3",
478
480
  children: [/* @__PURE__ */ T("p", {
479
- className: "text-xs font-medium text-muted-foreground flex items-center gap-1",
481
+ className: "text-xs font-medium text-text-secondary flex items-center gap-1",
480
482
  children: [/* @__PURE__ */ w(f, { className: "h-3 w-3" }), " Verification"]
481
483
  }), /* @__PURE__ */ w("p", {
482
- className: "mt-1 text-sm text-foreground",
484
+ className: "mt-1 text-sm text-text-primary",
483
485
  children: "Verified cart"
484
486
  })]
485
487
  })
@@ -488,12 +490,12 @@ function D() {
488
490
  H.serviceTypes && H.serviceTypes.length > 0 && /* @__PURE__ */ T("div", {
489
491
  className: "mb-4",
490
492
  children: [/* @__PURE__ */ w("p", {
491
- className: "text-xs font-medium text-muted-foreground mb-2",
493
+ className: "text-xs font-medium text-text-secondary mb-2",
492
494
  children: "Service Types"
493
495
  }), /* @__PURE__ */ w("div", {
494
496
  className: "flex flex-wrap gap-2",
495
497
  children: H.serviceTypes.map((e) => /* @__PURE__ */ w("span", {
496
- className: "rounded-full bg-muted px-2.5 py-1 text-xs text-muted-foreground capitalize",
498
+ className: "rounded-full bg-bg-sunken px-2.5 py-1 text-xs text-text-secondary capitalize",
497
499
  children: e.replace(/_/g, " ")
498
500
  }, e))
499
501
  })]
@@ -501,17 +503,17 @@ function D() {
501
503
  H.businessHours && Object.keys(H.businessHours).length > 0 && /* @__PURE__ */ T("div", {
502
504
  className: "mb-4",
503
505
  children: [/* @__PURE__ */ w("p", {
504
- className: "text-xs font-medium text-muted-foreground mb-2",
506
+ className: "text-xs font-medium text-text-secondary mb-2",
505
507
  children: "Operating Hours"
506
508
  }), /* @__PURE__ */ w("div", {
507
509
  className: "space-y-1",
508
510
  children: Object.entries(H.businessHours).map(([e, t]) => /* @__PURE__ */ T("div", {
509
511
  className: "flex justify-between text-xs",
510
512
  children: [/* @__PURE__ */ w("span", {
511
- className: "capitalize text-foreground",
513
+ className: "capitalize text-text-primary",
512
514
  children: e
513
515
  }), /* @__PURE__ */ w("span", {
514
- className: "text-muted-foreground",
516
+ className: "text-text-secondary",
515
517
  children: t.isOpen ? `${t.open} - ${t.close}` : "Closed"
516
518
  })]
517
519
  }, e))
@@ -525,12 +527,12 @@ function D() {
525
527
  V(!1), D(`/customer/carts/${H.id}`);
526
528
  },
527
529
  disabled: !H.isOpen,
528
- className: t("flex-1 rounded-lg py-2.5 text-sm font-medium transition-opacity", H.isOpen ? "bg-foreground text-background hover:opacity-90" : "bg-muted text-muted-foreground cursor-not-allowed"),
530
+ className: t("flex-1 rounded-lg py-2.5 text-sm font-medium transition-opacity", H.isOpen ? "bg-foreground text-background hover:opacity-90" : "bg-bg-sunken text-text-secondary cursor-not-allowed"),
529
531
  children: H.isOpen ? "View Menu" : "Currently Closed"
530
532
  }), /* @__PURE__ */ w("button", {
531
533
  type: "button",
532
534
  onClick: () => V(!1),
533
- className: "rounded-lg border border-border px-4 py-2.5 text-sm font-medium text-foreground hover:bg-accent transition-colors",
535
+ className: "rounded-lg border border-border-seam px-4 py-2.5 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
534
536
  children: "Close"
535
537
  })]
536
538
  })