@burdenoff/microfe-adaptercloud 2026.614.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 (110) hide show
  1. package/dist/adaptercloud/components/EmptyState.js +17 -21
  2. package/dist/adaptercloud/components/EmptyState.js.map +1 -1
  3. package/dist/adaptercloud/components/InvestmentCard.js +30 -28
  4. package/dist/adaptercloud/components/InvestmentCard.js.map +1 -1
  5. package/dist/adaptercloud/components/MetricsCard.js +21 -15
  6. package/dist/adaptercloud/components/MetricsCard.js.map +1 -1
  7. package/dist/adaptercloud/components/PageLayout.js +38 -19
  8. package/dist/adaptercloud/components/PageLayout.js.map +1 -1
  9. package/dist/adaptercloud/components/RatingDisplay.js +3 -3
  10. package/dist/adaptercloud/components/RatingDisplay.js.map +1 -1
  11. package/dist/adaptercloud/components/StatusBadge.js +36 -16
  12. package/dist/adaptercloud/components/StatusBadge.js.map +1 -1
  13. package/dist/adaptercloud/pages/HomePage.js +286 -275
  14. package/dist/adaptercloud/pages/HomePage.js.map +1 -1
  15. package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js +87 -87
  16. package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js.map +1 -1
  17. package/dist/adaptercloud/pages/admin/AdminDashboard.js +101 -101
  18. package/dist/adaptercloud/pages/admin/AdminDashboard.js.map +1 -1
  19. package/dist/adaptercloud/pages/admin/AdminFinancialPage.js +48 -48
  20. package/dist/adaptercloud/pages/admin/AdminFinancialPage.js.map +1 -1
  21. package/dist/adaptercloud/pages/admin/AdminOrdersPage.js +95 -95
  22. package/dist/adaptercloud/pages/admin/AdminOrdersPage.js.map +1 -1
  23. package/dist/adaptercloud/pages/admin/AdminProfilePage.js +34 -34
  24. package/dist/adaptercloud/pages/admin/AdminProfilePage.js.map +1 -1
  25. package/dist/adaptercloud/pages/admin/AdminSettingsPage.js +40 -40
  26. package/dist/adaptercloud/pages/admin/AdminSettingsPage.js.map +1 -1
  27. package/dist/adaptercloud/pages/admin/CartManagementPage.js +107 -107
  28. package/dist/adaptercloud/pages/admin/CartManagementPage.js.map +1 -1
  29. package/dist/adaptercloud/pages/admin/UserManagementPage.js +98 -98
  30. package/dist/adaptercloud/pages/admin/UserManagementPage.js.map +1 -1
  31. package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js +117 -117
  32. package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  33. package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js +33 -33
  34. package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  35. package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js +112 -109
  36. package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  37. package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js +115 -115
  38. package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  39. package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js +85 -85
  40. package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  41. package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js +106 -106
  42. package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  43. package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js +88 -88
  44. package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js.map +1 -1
  45. package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js +94 -94
  46. package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js.map +1 -1
  47. package/dist/adaptercloud/pages/common/HelpSupportPage.js +142 -142
  48. package/dist/adaptercloud/pages/common/HelpSupportPage.js.map +1 -1
  49. package/dist/adaptercloud/pages/common/NotificationCenterPage.js +67 -66
  50. package/dist/adaptercloud/pages/common/NotificationCenterPage.js.map +1 -1
  51. package/dist/adaptercloud/pages/common/SettingsPage.js +115 -115
  52. package/dist/adaptercloud/pages/common/SettingsPage.js.map +1 -1
  53. package/dist/adaptercloud/pages/customer/BookingDetailsPage.js +74 -73
  54. package/dist/adaptercloud/pages/customer/BookingDetailsPage.js.map +1 -1
  55. package/dist/adaptercloud/pages/customer/CartDetailPage.js +87 -86
  56. package/dist/adaptercloud/pages/customer/CartDetailPage.js.map +1 -1
  57. package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js +66 -65
  58. package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js.map +1 -1
  59. package/dist/adaptercloud/pages/customer/CheckoutPage.js +80 -80
  60. package/dist/adaptercloud/pages/customer/CheckoutPage.js.map +1 -1
  61. package/dist/adaptercloud/pages/customer/CustomerDashboard.js +88 -88
  62. package/dist/adaptercloud/pages/customer/CustomerDashboard.js.map +1 -1
  63. package/dist/adaptercloud/pages/customer/CustomerProfilePage.js +84 -84
  64. package/dist/adaptercloud/pages/customer/CustomerProfilePage.js.map +1 -1
  65. package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js +92 -91
  66. package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js.map +1 -1
  67. package/dist/adaptercloud/pages/customer/FavoritesPage.js +34 -33
  68. package/dist/adaptercloud/pages/customer/FavoritesPage.js.map +1 -1
  69. package/dist/adaptercloud/pages/customer/OrderHistoryPage.js +44 -43
  70. package/dist/adaptercloud/pages/customer/OrderHistoryPage.js.map +1 -1
  71. package/dist/adaptercloud/pages/customer/OrderTrackingPage.js +61 -60
  72. package/dist/adaptercloud/pages/customer/OrderTrackingPage.js.map +1 -1
  73. package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js +58 -57
  74. package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js.map +1 -1
  75. package/dist/adaptercloud/pages/customer/ReviewsPage.js +48 -47
  76. package/dist/adaptercloud/pages/customer/ReviewsPage.js.map +1 -1
  77. package/dist/adaptercloud/pages/customer/SavedAddressesPage.js +46 -45
  78. package/dist/adaptercloud/pages/customer/SavedAddressesPage.js.map +1 -1
  79. package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js +128 -128
  80. package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js.map +1 -1
  81. package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js +88 -87
  82. package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  83. package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js +88 -88
  84. package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  85. package/dist/adaptercloud/pages/investor/InvestorDashboard.js +62 -62
  86. package/dist/adaptercloud/pages/investor/InvestorDashboard.js.map +1 -1
  87. package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js +39 -38
  88. package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  89. package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js +66 -66
  90. package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js.map +1 -1
  91. package/dist/adaptercloud/pages/investor/InvestorProfilePage.js +153 -153
  92. package/dist/adaptercloud/pages/investor/InvestorProfilePage.js.map +1 -1
  93. package/dist/adaptercloud/pages/worker/TaskDetailsPage.js +81 -80
  94. package/dist/adaptercloud/pages/worker/TaskDetailsPage.js.map +1 -1
  95. package/dist/adaptercloud/pages/worker/WorkerDashboard.js +106 -106
  96. package/dist/adaptercloud/pages/worker/WorkerDashboard.js.map +1 -1
  97. package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js +73 -72
  98. package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js.map +1 -1
  99. package/dist/adaptercloud/pages/worker/WorkerProfilePage.js +107 -107
  100. package/dist/adaptercloud/pages/worker/WorkerProfilePage.js.map +1 -1
  101. package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js +71 -69
  102. package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js.map +1 -1
  103. package/dist/adaptercloud/utils/cn.js +2 -2
  104. package/dist/node_modules/{.bun/clsx@2.1.1/node_modules/clsx → clsx}/dist/clsx.js +1 -1
  105. package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
  106. package/dist/node_modules/{.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge → tailwind-merge}/dist/bundle-mjs.js +212 -170
  107. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
  108. package/package.json +3 -3
  109. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +0 -1
  110. package/dist/node_modules/.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
@@ -118,14 +118,14 @@ function v() {
118
118
  }, 800);
119
119
  return () => clearTimeout(e);
120
120
  }, [C]);
121
- let D = (e) => e >= 1e7 ? `₹${(e / 1e7).toFixed(1)}Cr` : e >= 1e5 ? `₹${(e / 1e5).toFixed(1)}L` : i(e, { minimumFractionDigits: 0 }), O = (e) => e === 0 ? /* @__PURE__ */ g(s, { className: "h-5 w-5 text-yellow-500" }) : e === 1 ? /* @__PURE__ */ g(s, { className: "h-5 w-5 text-gray-400" }) : e === 2 ? /* @__PURE__ */ g(s, { className: "h-5 w-5 text-amber-700" }) : /* @__PURE__ */ g(c, { className: "h-5 w-5 text-muted-foreground" });
121
+ let D = (e) => e >= 1e7 ? `₹${(e / 1e7).toFixed(1)}Cr` : e >= 1e5 ? `₹${(e / 1e5).toFixed(1)}L` : i(e, { minimumFractionDigits: 0 }), O = (e) => e === 0 ? /* @__PURE__ */ g(s, { className: "h-5 w-5 text-status-warning-text" }) : e === 1 ? /* @__PURE__ */ g(s, { className: "h-5 w-5 text-text-secondary" }) : e === 2 ? /* @__PURE__ */ g(s, { className: "h-5 w-5 text-status-warning-text" }) : /* @__PURE__ */ g(c, { className: "h-5 w-5 text-text-secondary" });
122
122
  if (x || !y) return /* @__PURE__ */ g(n, {
123
123
  title: "Platform Analytics",
124
124
  description: "Loading analytics...",
125
125
  children: /* @__PURE__ */ _("div", {
126
126
  className: "flex flex-col items-center justify-center py-20",
127
- children: [/* @__PURE__ */ g(u, { className: "h-10 w-10 animate-spin text-muted-foreground mb-4" }), /* @__PURE__ */ g("p", {
128
- className: "text-muted-foreground",
127
+ children: [/* @__PURE__ */ g(u, { className: "h-10 w-10 animate-spin text-text-secondary mb-4" }), /* @__PURE__ */ g("p", {
128
+ className: "text-text-secondary",
129
129
  children: "Loading analytics..."
130
130
  })]
131
131
  })
@@ -161,7 +161,7 @@ function v() {
161
161
  children: [/* @__PURE__ */ _("select", {
162
162
  value: C,
163
163
  onChange: (e) => w(e.target.value),
164
- className: "rounded-lg border border-border bg-card py-2 px-3 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring w-fit",
164
+ className: "rounded-lg border border-border-subtle bg-bg-surface py-2 px-3 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] w-fit",
165
165
  children: [
166
166
  /* @__PURE__ */ g("option", {
167
167
  value: "today",
@@ -185,7 +185,7 @@ function v() {
185
185
  })
186
186
  ]
187
187
  }), /* @__PURE__ */ _("span", {
188
- className: "text-sm text-muted-foreground",
188
+ className: "text-sm text-text-secondary",
189
189
  children: ["Last updated: ", (/* @__PURE__ */ new Date()).toLocaleString("en-IN")]
190
190
  })]
191
191
  }),
@@ -222,9 +222,9 @@ function v() {
222
222
  ]
223
223
  }),
224
224
  /* @__PURE__ */ _("div", {
225
- className: "rounded-lg border border-border bg-card mb-8",
225
+ className: "rounded-lg border border-border-subtle bg-bg-surface mb-8",
226
226
  children: [/* @__PURE__ */ g("div", {
227
- className: "border-b border-border",
227
+ className: "border-b border-border-subtle",
228
228
  children: /* @__PURE__ */ g("nav", {
229
229
  className: "flex -mb-px overflow-x-auto",
230
230
  children: k.map((e) => {
@@ -232,7 +232,7 @@ function v() {
232
232
  return /* @__PURE__ */ _("button", {
233
233
  type: "button",
234
234
  onClick: () => E(e.key),
235
- className: t("flex items-center gap-2 py-3 px-4 sm:px-6 text-sm font-medium whitespace-nowrap border-b-2 transition-colors", T === e.key ? "border-primary text-primary" : "border-transparent text-muted-foreground hover:text-foreground"),
235
+ className: t("flex items-center gap-2 py-3 px-4 sm:px-6 text-sm font-medium whitespace-nowrap border-b-2 transition-colors", T === e.key ? "border-primary text-primary" : "border-transparent text-text-secondary hover:text-text-primary"),
236
236
  children: [/* @__PURE__ */ g(n, { className: "h-4 w-4" }), /* @__PURE__ */ g("span", {
237
237
  className: "hidden sm:inline",
238
238
  children: e.label
@@ -246,87 +246,87 @@ function v() {
246
246
  T === "overview" && /* @__PURE__ */ _("div", {
247
247
  className: "space-y-8",
248
248
  children: [/* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("h3", {
249
- className: "text-lg font-semibold text-foreground mb-4",
249
+ className: "text-lg font-semibold text-text-primary mb-4",
250
250
  children: "Order Status Distribution"
251
251
  }), /* @__PURE__ */ _("div", {
252
252
  className: "grid grid-cols-1 sm:grid-cols-3 gap-4",
253
253
  children: [
254
254
  /* @__PURE__ */ _("div", {
255
- className: "rounded-lg border border-green-500/30 bg-green-500/10 p-4",
255
+ className: "rounded-lg border border-status-success-border/30 bg-status-success-bg-subtle/10 p-4",
256
256
  children: [
257
257
  /* @__PURE__ */ g("p", {
258
- className: "text-sm text-green-600 dark:text-green-400",
258
+ className: "text-sm text-status-success-text",
259
259
  children: "Completed Orders"
260
260
  }),
261
261
  /* @__PURE__ */ g("p", {
262
- className: "text-2xl font-bold text-green-700 dark:text-green-300",
262
+ className: "text-2xl font-bold text-status-success-text",
263
263
  children: y.orders.completed.toLocaleString("en-IN")
264
264
  }),
265
265
  /* @__PURE__ */ _("p", {
266
- className: "text-sm text-green-600/80 dark:text-green-400/80",
266
+ className: "text-sm text-status-success-text",
267
267
  children: [(y.orders.completed / y.orders.total * 100).toFixed(1), "% of total"]
268
268
  })
269
269
  ]
270
270
  }),
271
271
  /* @__PURE__ */ _("div", {
272
- className: "rounded-lg border border-yellow-500/30 bg-yellow-500/10 p-4",
272
+ className: "rounded-lg border border-status-warning-border/30 bg-status-warning-bg-subtle/10 p-4",
273
273
  children: [
274
274
  /* @__PURE__ */ g("p", {
275
- className: "text-sm text-yellow-600 dark:text-yellow-400",
275
+ className: "text-sm text-status-warning-text",
276
276
  children: "Pending Orders"
277
277
  }),
278
278
  /* @__PURE__ */ g("p", {
279
- className: "text-2xl font-bold text-yellow-700 dark:text-yellow-300",
279
+ className: "text-2xl font-bold text-status-warning-text",
280
280
  children: y.orders.pending.toLocaleString("en-IN")
281
281
  }),
282
282
  /* @__PURE__ */ _("p", {
283
- className: "text-sm text-yellow-600/80 dark:text-yellow-400/80",
283
+ className: "text-sm text-status-warning-text",
284
284
  children: [(y.orders.pending / y.orders.total * 100).toFixed(1), "% of total"]
285
285
  })
286
286
  ]
287
287
  }),
288
288
  /* @__PURE__ */ _("div", {
289
- className: "rounded-lg border border-red-500/30 bg-red-500/10 p-4",
289
+ className: "rounded-lg border border-status-error-border/30 bg-status-error-bg-subtle/10 p-4",
290
290
  children: [
291
291
  /* @__PURE__ */ g("p", {
292
- className: "text-sm text-red-600 dark:text-red-400",
292
+ className: "text-sm text-status-error-text",
293
293
  children: "Cancelled Orders"
294
294
  }),
295
295
  /* @__PURE__ */ g("p", {
296
- className: "text-2xl font-bold text-red-700 dark:text-red-300",
296
+ className: "text-2xl font-bold text-status-error-text",
297
297
  children: y.orders.cancelled.toLocaleString("en-IN")
298
298
  }),
299
299
  /* @__PURE__ */ _("p", {
300
- className: "text-sm text-red-600/80 dark:text-red-400/80",
300
+ className: "text-sm text-status-error-text",
301
301
  children: [(y.orders.cancelled / y.orders.total * 100).toFixed(1), "% of total"]
302
302
  })
303
303
  ]
304
304
  })
305
305
  ]
306
306
  })] }), /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("h3", {
307
- className: "text-lg font-semibold text-foreground mb-4",
307
+ className: "text-lg font-semibold text-text-primary mb-4",
308
308
  children: "Top Performing Carts"
309
309
  }), /* @__PURE__ */ g("div", {
310
- className: "rounded-lg border border-border overflow-hidden",
310
+ className: "rounded-lg border border-border-subtle overflow-hidden",
311
311
  children: /* @__PURE__ */ _("table", {
312
312
  className: "w-full",
313
313
  children: [/* @__PURE__ */ g("thead", { children: /* @__PURE__ */ _("tr", {
314
- className: "border-b border-border bg-muted/50",
314
+ className: "border-b border-border-subtle bg-bg-sunken/50",
315
315
  children: [
316
316
  /* @__PURE__ */ g("th", {
317
- className: "px-4 py-3 text-left text-xs font-medium text-muted-foreground uppercase",
317
+ className: "px-4 py-3 text-left text-xs font-medium text-text-secondary uppercase",
318
318
  children: "Cart Name"
319
319
  }),
320
320
  /* @__PURE__ */ g("th", {
321
- className: "px-4 py-3 text-right text-xs font-medium text-muted-foreground uppercase",
321
+ className: "px-4 py-3 text-right text-xs font-medium text-text-secondary uppercase",
322
322
  children: "Revenue"
323
323
  }),
324
324
  /* @__PURE__ */ g("th", {
325
- className: "px-4 py-3 text-right text-xs font-medium text-muted-foreground uppercase",
325
+ className: "px-4 py-3 text-right text-xs font-medium text-text-secondary uppercase",
326
326
  children: "Orders"
327
327
  }),
328
328
  /* @__PURE__ */ g("th", {
329
- className: "px-4 py-3 text-right text-xs font-medium text-muted-foreground uppercase",
329
+ className: "px-4 py-3 text-right text-xs font-medium text-text-secondary uppercase",
330
330
  children: "Rating"
331
331
  })
332
332
  ]
@@ -340,24 +340,24 @@ function v() {
340
340
  children: /* @__PURE__ */ _("div", {
341
341
  className: "flex items-center gap-2",
342
342
  children: [O(t), /* @__PURE__ */ g("span", {
343
- className: "text-sm font-medium text-foreground",
343
+ className: "text-sm font-medium text-text-primary",
344
344
  children: e.name
345
345
  })]
346
346
  })
347
347
  }),
348
348
  /* @__PURE__ */ g("td", {
349
- className: "px-4 py-3 text-sm text-right font-medium text-foreground",
349
+ className: "px-4 py-3 text-sm text-right font-medium text-text-primary",
350
350
  children: D(e.revenue)
351
351
  }),
352
352
  /* @__PURE__ */ g("td", {
353
- className: "px-4 py-3 text-sm text-right text-foreground",
353
+ className: "px-4 py-3 text-sm text-right text-text-primary",
354
354
  children: e.orders.toLocaleString("en-IN")
355
355
  }),
356
356
  /* @__PURE__ */ g("td", {
357
- className: "px-4 py-3 text-sm text-right text-foreground",
357
+ className: "px-4 py-3 text-sm text-right text-text-primary",
358
358
  children: /* @__PURE__ */ _("span", {
359
359
  className: "flex items-center justify-end gap-1",
360
- children: [/* @__PURE__ */ g(f, { className: "h-3.5 w-3.5 fill-yellow-400 text-yellow-400" }), e.rating]
360
+ children: [/* @__PURE__ */ g(f, { className: "h-3.5 w-3.5 fill-status-warning-text text-status-warning-text" }), e.rating]
361
361
  })
362
362
  })
363
363
  ]
@@ -372,59 +372,59 @@ function v() {
372
372
  className: "grid grid-cols-1 md:grid-cols-3 gap-4",
373
373
  children: [
374
374
  /* @__PURE__ */ _("div", {
375
- className: "rounded-lg border border-blue-500/30 bg-blue-500/10 p-6",
375
+ className: "rounded-lg border border-accent-blue-subtle/30 bg-accent-blue-subtle/10 p-6",
376
376
  children: [/* @__PURE__ */ g("h4", {
377
- className: "text-sm font-medium text-blue-600 dark:text-blue-400 mb-2",
377
+ className: "text-sm font-medium text-accent-blue mb-2",
378
378
  children: "This Month"
379
379
  }), /* @__PURE__ */ g("p", {
380
- className: "text-2xl font-bold text-blue-700 dark:text-blue-300",
380
+ className: "text-2xl font-bold text-accent-blue",
381
381
  children: D(y.revenue.thisMonth)
382
382
  })]
383
383
  }),
384
384
  /* @__PURE__ */ _("div", {
385
- className: "rounded-lg border border-border bg-muted/30 p-6",
385
+ className: "rounded-lg border border-border-subtle bg-bg-sunken/30 p-6",
386
386
  children: [/* @__PURE__ */ g("h4", {
387
- className: "text-sm font-medium text-muted-foreground mb-2",
387
+ className: "text-sm font-medium text-text-secondary mb-2",
388
388
  children: "Last Month"
389
389
  }), /* @__PURE__ */ g("p", {
390
- className: "text-2xl font-bold text-foreground",
390
+ className: "text-2xl font-bold text-text-primary",
391
391
  children: D(y.revenue.lastMonth)
392
392
  })]
393
393
  }),
394
394
  /* @__PURE__ */ _("div", {
395
- className: "rounded-lg border border-green-500/30 bg-green-500/10 p-6",
395
+ className: "rounded-lg border border-status-success-border/30 bg-status-success-bg-subtle/10 p-6",
396
396
  children: [/* @__PURE__ */ g("h4", {
397
- className: "text-sm font-medium text-green-600 dark:text-green-400 mb-2",
397
+ className: "text-sm font-medium text-status-success-text mb-2",
398
398
  children: "Average Order Value"
399
399
  }), /* @__PURE__ */ _("p", {
400
- className: "text-2xl font-bold text-green-700 dark:text-green-300",
400
+ className: "text-2xl font-bold text-status-success-text",
401
401
  children: ["₹", y.orders.averageOrderValue]
402
402
  })]
403
403
  })
404
404
  ]
405
405
  }), /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("h3", {
406
- className: "text-lg font-semibold text-foreground mb-4",
406
+ className: "text-lg font-semibold text-text-primary mb-4",
407
407
  children: "Revenue by City"
408
408
  }), /* @__PURE__ */ g("div", {
409
409
  className: "space-y-3",
410
410
  children: y.geography.topCities.map((e, t) => /* @__PURE__ */ _("div", {
411
- className: "flex items-center justify-between p-4 rounded-lg border border-border bg-muted/30",
411
+ className: "flex items-center justify-between p-4 rounded-lg border border-border-subtle bg-bg-sunken/30",
412
412
  children: [/* @__PURE__ */ _("div", {
413
413
  className: "flex items-center gap-3",
414
414
  children: [O(t), /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
415
- className: "font-medium text-foreground",
415
+ className: "font-medium text-text-primary",
416
416
  children: e.city
417
417
  }), /* @__PURE__ */ _("p", {
418
- className: "text-sm text-muted-foreground",
418
+ className: "text-sm text-text-secondary",
419
419
  children: [e.orders.toLocaleString("en-IN"), " orders"]
420
420
  })] })]
421
421
  }), /* @__PURE__ */ _("div", {
422
422
  className: "text-right",
423
423
  children: [/* @__PURE__ */ g("p", {
424
- className: "font-bold text-foreground",
424
+ className: "font-bold text-text-primary",
425
425
  children: D(e.revenue)
426
426
  }), /* @__PURE__ */ _("p", {
427
- className: "text-sm text-muted-foreground",
427
+ className: "text-sm text-text-secondary",
428
428
  children: [(e.revenue / y.revenue.total * 100).toFixed(1), "%"]
429
429
  })]
430
430
  })]
@@ -474,23 +474,23 @@ function v() {
474
474
  ]
475
475
  }, e.label))
476
476
  }), /* @__PURE__ */ _("div", {
477
- className: "rounded-lg border border-border bg-muted/20 p-6",
477
+ className: "rounded-lg border border-border-subtle bg-bg-sunken/20 p-6",
478
478
  children: [/* @__PURE__ */ g("h3", {
479
- className: "text-lg font-semibold text-foreground mb-4",
479
+ className: "text-lg font-semibold text-text-primary mb-4",
480
480
  children: "User Growth Insights"
481
481
  }), /* @__PURE__ */ _("div", {
482
482
  className: "grid grid-cols-1 md:grid-cols-2 gap-6",
483
483
  children: [/* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
484
- className: "text-sm text-muted-foreground mb-2",
484
+ className: "text-sm text-text-secondary mb-2",
485
485
  children: "New Users This Month"
486
486
  }), /* @__PURE__ */ g("p", {
487
- className: "text-3xl font-bold text-blue-600 dark:text-blue-400",
487
+ className: "text-3xl font-bold text-accent-blue",
488
488
  children: y.users.newThisMonth
489
489
  })] }), /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
490
- className: "text-sm text-muted-foreground mb-2",
490
+ className: "text-sm text-text-secondary mb-2",
491
491
  children: "Active Users Rate"
492
492
  }), /* @__PURE__ */ _("p", {
493
- className: "text-3xl font-bold text-green-600 dark:text-green-400",
493
+ className: "text-3xl font-bold text-status-success-text",
494
494
  children: [(y.users.active / y.users.total * 100).toFixed(1), "%"]
495
495
  })] })]
496
496
  })]
@@ -503,61 +503,61 @@ function v() {
503
503
  className: "grid grid-cols-1 md:grid-cols-3 gap-6",
504
504
  children: [
505
505
  /* @__PURE__ */ _("div", {
506
- className: "rounded-lg border border-border bg-card p-6",
506
+ className: "rounded-lg border border-border-seam bg-bg-surface p-6 bg-gloss-card shadow-pop",
507
507
  children: [
508
508
  /* @__PURE__ */ _("div", {
509
509
  className: "flex items-center gap-2 mb-2",
510
- children: [/* @__PURE__ */ g(p, { className: "h-4 w-4 text-muted-foreground" }), /* @__PURE__ */ g("h4", {
511
- className: "text-sm font-medium text-muted-foreground",
510
+ children: [/* @__PURE__ */ g(p, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ g("h4", {
511
+ className: "text-sm font-medium text-text-secondary",
512
512
  children: "Avg Delivery Time"
513
513
  })]
514
514
  }),
515
515
  /* @__PURE__ */ _("p", {
516
- className: "text-3xl font-bold text-foreground",
516
+ className: "text-3xl font-bold text-text-primary",
517
517
  children: [y.performance.averageDeliveryTime, " min"]
518
518
  }),
519
519
  /* @__PURE__ */ g("p", {
520
- className: "text-sm text-muted-foreground mt-1",
520
+ className: "text-sm text-text-secondary mt-1",
521
521
  children: "Target: < 30 min"
522
522
  })
523
523
  ]
524
524
  }),
525
525
  /* @__PURE__ */ _("div", {
526
- className: "rounded-lg border border-border bg-card p-6",
526
+ className: "rounded-lg border border-border-seam bg-bg-surface p-6 bg-gloss-card shadow-pop",
527
527
  children: [
528
528
  /* @__PURE__ */ _("div", {
529
529
  className: "flex items-center gap-2 mb-2",
530
- children: [/* @__PURE__ */ g(f, { className: "h-4 w-4 text-muted-foreground" }), /* @__PURE__ */ g("h4", {
531
- className: "text-sm font-medium text-muted-foreground",
530
+ children: [/* @__PURE__ */ g(f, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ g("h4", {
531
+ className: "text-sm font-medium text-text-secondary",
532
532
  children: "Customer Satisfaction"
533
533
  })]
534
534
  }),
535
535
  /* @__PURE__ */ _("p", {
536
- className: "text-3xl font-bold text-foreground flex items-center gap-1",
537
- children: [/* @__PURE__ */ g(f, { className: "h-6 w-6 fill-yellow-400 text-yellow-400" }), y.performance.customerSatisfaction]
536
+ className: "text-3xl font-bold text-text-primary flex items-center gap-1",
537
+ children: [/* @__PURE__ */ g(f, { className: "h-6 w-6 fill-status-warning-text text-status-warning-text" }), y.performance.customerSatisfaction]
538
538
  }),
539
539
  /* @__PURE__ */ g("p", {
540
- className: "text-sm text-muted-foreground mt-1",
540
+ className: "text-sm text-text-secondary mt-1",
541
541
  children: "Based on ratings"
542
542
  })
543
543
  ]
544
544
  }),
545
545
  /* @__PURE__ */ _("div", {
546
- className: "rounded-lg border border-border bg-card p-6",
546
+ className: "rounded-lg border border-border-seam bg-bg-surface p-6 bg-gloss-card shadow-pop",
547
547
  children: [
548
548
  /* @__PURE__ */ _("div", {
549
549
  className: "flex items-center gap-2 mb-2",
550
- children: [/* @__PURE__ */ g(l, { className: "h-4 w-4 text-muted-foreground" }), /* @__PURE__ */ g("h4", {
551
- className: "text-sm font-medium text-muted-foreground",
550
+ children: [/* @__PURE__ */ g(l, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ g("h4", {
551
+ className: "text-sm font-medium text-text-secondary",
552
552
  children: "Platform Fee"
553
553
  })]
554
554
  }),
555
555
  /* @__PURE__ */ _("p", {
556
- className: "text-3xl font-bold text-foreground",
556
+ className: "text-3xl font-bold text-text-primary",
557
557
  children: [y.performance.platformFee, "%"]
558
558
  }),
559
559
  /* @__PURE__ */ g("p", {
560
- className: "text-sm text-muted-foreground mt-1",
560
+ className: "text-sm text-text-secondary mt-1",
561
561
  children: "Per transaction"
562
562
  })
563
563
  ]
@@ -565,68 +565,68 @@ function v() {
565
565
  ]
566
566
  }),
567
567
  /* @__PURE__ */ _("div", {
568
- className: "rounded-lg border border-border bg-muted/20 p-6",
568
+ className: "rounded-lg border border-border-subtle bg-bg-sunken/20 p-6",
569
569
  children: [
570
570
  /* @__PURE__ */ g("h3", {
571
- className: "text-lg font-semibold text-foreground mb-4",
571
+ className: "text-lg font-semibold text-text-primary mb-4",
572
572
  children: "Financial Performance"
573
573
  }),
574
574
  /* @__PURE__ */ _("div", {
575
575
  className: "grid grid-cols-1 md:grid-cols-3 gap-6",
576
576
  children: [
577
577
  /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
578
- className: "text-sm text-muted-foreground mb-2",
578
+ className: "text-sm text-text-secondary mb-2",
579
579
  children: "Operating Costs"
580
580
  }), /* @__PURE__ */ g("p", {
581
- className: "text-2xl font-bold text-red-600 dark:text-red-400",
581
+ className: "text-2xl font-bold text-status-error-text",
582
582
  children: D(y.performance.operatingCosts)
583
583
  })] }),
584
584
  /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
585
- className: "text-sm text-muted-foreground mb-2",
585
+ className: "text-sm text-text-secondary mb-2",
586
586
  children: "Total Revenue"
587
587
  }), /* @__PURE__ */ g("p", {
588
- className: "text-2xl font-bold text-blue-600 dark:text-blue-400",
588
+ className: "text-2xl font-bold text-accent-blue",
589
589
  children: D(y.revenue.total)
590
590
  })] }),
591
591
  /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
592
- className: "text-sm text-muted-foreground mb-2",
592
+ className: "text-sm text-text-secondary mb-2",
593
593
  children: "Net Profit"
594
594
  }), /* @__PURE__ */ g("p", {
595
- className: "text-2xl font-bold text-green-600 dark:text-green-400",
595
+ className: "text-2xl font-bold text-status-success-text",
596
596
  children: D(y.performance.netProfit)
597
597
  })] })
598
598
  ]
599
599
  }),
600
600
  /* @__PURE__ */ _("div", {
601
- className: "mt-4 rounded-lg border border-border bg-card p-4",
601
+ className: "mt-4 rounded-lg border border-border-seam bg-bg-surface p-4 bg-gloss-card shadow-pop",
602
602
  children: [/* @__PURE__ */ g("p", {
603
- className: "text-sm text-muted-foreground",
603
+ className: "text-sm text-text-secondary",
604
604
  children: "Profit Margin"
605
605
  }), /* @__PURE__ */ _("p", {
606
- className: "text-xl font-bold text-foreground",
606
+ className: "text-xl font-bold text-text-primary",
607
607
  children: [(y.performance.netProfit / y.revenue.total * 100).toFixed(1), "%"]
608
608
  })]
609
609
  })
610
610
  ]
611
611
  }),
612
612
  /* @__PURE__ */ _("div", {
613
- className: "rounded-lg border border-border bg-card p-6",
613
+ className: "rounded-lg border border-border-seam bg-bg-surface p-6 bg-gloss-card shadow-pop",
614
614
  children: [/* @__PURE__ */ g("h3", {
615
- className: "text-lg font-semibold text-foreground mb-4",
615
+ className: "text-lg font-semibold text-text-primary mb-4",
616
616
  children: "Today's Performance"
617
617
  }), /* @__PURE__ */ _("div", {
618
618
  className: "grid grid-cols-1 md:grid-cols-2 gap-6",
619
619
  children: [/* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
620
- className: "text-sm text-muted-foreground mb-2",
620
+ className: "text-sm text-text-secondary mb-2",
621
621
  children: "Orders Today"
622
622
  }), /* @__PURE__ */ g("p", {
623
- className: "text-3xl font-bold text-blue-600 dark:text-blue-400",
623
+ className: "text-3xl font-bold text-accent-blue",
624
624
  children: y.orders.ordersToday
625
625
  })] }), /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
626
- className: "text-sm text-muted-foreground mb-2",
626
+ className: "text-sm text-text-secondary mb-2",
627
627
  children: "Estimated Revenue"
628
628
  }), /* @__PURE__ */ g("p", {
629
- className: "text-3xl font-bold text-green-600 dark:text-green-400",
629
+ className: "text-3xl font-bold text-status-success-text",
630
630
  children: D(y.orders.ordersToday * y.orders.averageOrderValue)
631
631
  })] })]
632
632
  })]