@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
@@ -242,48 +242,48 @@ var S = [
242
242
  }
243
243
  ], C = {
244
244
  pending: {
245
- color: "bg-yellow-500/20 text-yellow-600 dark:text-yellow-400",
245
+ color: "bg-status-warning-bg/20 text-status-warning-text",
246
246
  label: "New Order"
247
247
  },
248
248
  confirmed: {
249
- color: "bg-blue-500/20 text-blue-600 dark:text-blue-400",
249
+ color: "bg-status-info-bg/20 text-status-info-text",
250
250
  label: "Confirmed"
251
251
  },
252
252
  preparing: {
253
- color: "bg-orange-500/20 text-orange-600 dark:text-orange-400",
253
+ color: "bg-status-warning-bg/20 text-status-warning-text",
254
254
  label: "Preparing"
255
255
  },
256
256
  ready: {
257
- color: "bg-green-500/20 text-green-600 dark:text-green-400",
257
+ color: "bg-status-success-bg/20 text-status-success-text",
258
258
  label: "Ready"
259
259
  },
260
260
  out_for_delivery: {
261
- color: "bg-cyan-500/20 text-cyan-600 dark:text-cyan-400",
261
+ color: "bg-status-info-bg/20 text-status-info-text",
262
262
  label: "Out for Delivery"
263
263
  },
264
264
  delivered: {
265
- color: "bg-green-500/20 text-green-600 dark:text-green-400",
265
+ color: "bg-status-success-bg/20 text-status-success-text",
266
266
  label: "Completed"
267
267
  },
268
268
  cancelled: {
269
- color: "bg-red-500/20 text-red-600 dark:text-red-400",
269
+ color: "bg-status-error-bg/20 text-status-error-text",
270
270
  label: "Cancelled"
271
271
  }
272
272
  }, w = {
273
273
  delivery: {
274
274
  icon: g,
275
275
  label: "Delivery",
276
- color: "bg-purple-500/20 text-purple-600 dark:text-purple-400"
276
+ color: "bg-accent-purple-subtle text-accent-purple"
277
277
  },
278
278
  pickup: {
279
279
  icon: h,
280
280
  label: "Pickup",
281
- color: "bg-blue-500/20 text-blue-600 dark:text-blue-400"
281
+ color: "bg-status-info-bg/20 text-status-info-text"
282
282
  },
283
283
  cart_dispatch: {
284
284
  icon: u,
285
285
  label: "Cart Dispatch",
286
- color: "bg-muted text-muted-foreground"
286
+ color: "bg-bg-sunken text-text-secondary"
287
287
  }
288
288
  }, T = (e) => {
289
289
  let t = new Date(e), n = Math.floor(((/* @__PURE__ */ new Date()).getTime() - t.getTime()) / (1e3 * 60));
@@ -297,7 +297,7 @@ var S = [
297
297
  hour12: !0
298
298
  }), D = (e) => {
299
299
  let t = ((/* @__PURE__ */ new Date()).getTime() - new Date(e.orderDate).getTime()) / (1e3 * 60);
300
- return e.status === "pending" && t > 10 ? "border-red-500/50 bg-red-500/5" : e.status === "preparing" && t > 30 ? "border-yellow-500/50 bg-yellow-500/5" : "border-border";
300
+ return e.status === "pending" && t > 10 ? "border-status-error-border/50 bg-status-error-bg/5" : e.status === "preparing" && t > 30 ? "border-status-warning-border/50 bg-status-warning-bg/5" : "border-border-seam";
301
301
  }, O = () => {
302
302
  let { navigateTo: i } = e(), [h, g] = o(S), [O, k] = o({
303
303
  status: "",
@@ -370,19 +370,20 @@ var S = [
370
370
  return /* @__PURE__ */ x(n, {
371
371
  title: "Order Management",
372
372
  description: "Manage incoming and active orders",
373
+ titleGradient: !0,
373
374
  actions: /* @__PURE__ */ x("button", {
374
375
  type: "button",
375
376
  onClick: () => I("Orders refreshed", "success"),
376
- className: "inline-flex items-center gap-2 rounded-md border border-border px-4 py-2 text-sm font-medium text-foreground hover:bg-muted transition-colors",
377
+ className: "inline-flex items-center gap-2 rounded-md border border-border-seam px-4 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken transition-colors",
377
378
  children: [/* @__PURE__ */ b(p, { className: "h-4 w-4" }), "Refresh"]
378
379
  }),
379
380
  children: [/* @__PURE__ */ x("div", {
380
381
  className: "space-y-4",
381
382
  children: [
382
383
  P && /* @__PURE__ */ x("div", {
383
- className: t("flex items-center gap-2 rounded-lg border p-3", P.type === "success" ? "border-green-500/30 bg-green-500/10" : "border-red-500/30 bg-red-500/10"),
384
- children: [P.type === "success" ? /* @__PURE__ */ b(c, { className: "h-4 w-4 text-green-600 dark:text-green-400" }) : /* @__PURE__ */ b(s, { className: "h-4 w-4 text-red-600 dark:text-red-400" }), /* @__PURE__ */ b("span", {
385
- className: t("text-sm font-medium", P.type === "success" ? "text-green-600 dark:text-green-400" : "text-red-600 dark:text-red-400"),
384
+ className: t("flex items-center gap-2 rounded-lg border p-3", P.type === "success" ? "border-status-success-border/30 bg-status-success-bg/10" : "border-status-error-border/30 bg-status-error-bg/10"),
385
+ children: [P.type === "success" ? /* @__PURE__ */ b(c, { className: "h-4 w-4 text-status-success-text" }) : /* @__PURE__ */ b(s, { className: "h-4 w-4 text-status-error-text" }), /* @__PURE__ */ b("span", {
386
+ className: t("text-sm font-medium", P.type === "success" ? "text-status-success-text" : "text-status-error-text"),
386
387
  children: P.text
387
388
  })]
388
389
  }),
@@ -390,75 +391,75 @@ var S = [
390
391
  className: "grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-6 gap-3",
391
392
  children: [
392
393
  /* @__PURE__ */ x("div", {
393
- className: "rounded-lg border border-border bg-card p-4 shadow-sm",
394
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 shadow-sm",
394
395
  children: [/* @__PURE__ */ b("p", {
395
- className: "text-xs text-muted-foreground",
396
+ className: "text-xs text-text-secondary",
396
397
  children: "Total Orders"
397
398
  }), /* @__PURE__ */ b("p", {
398
- className: "text-2xl font-bold text-foreground",
399
+ className: "text-2xl font-bold text-text-primary",
399
400
  children: L.total
400
401
  })]
401
402
  }),
402
403
  /* @__PURE__ */ x("div", {
403
- className: "rounded-lg border border-yellow-500/30 bg-yellow-500/5 p-4 shadow-sm",
404
+ className: "rounded-lg border border-status-warning-border/30 bg-status-warning-bg/5 p-4 shadow-sm",
404
405
  children: [/* @__PURE__ */ b("p", {
405
- className: "text-xs text-yellow-600 dark:text-yellow-400",
406
+ className: "text-xs text-status-warning-text",
406
407
  children: "Pending"
407
408
  }), /* @__PURE__ */ b("p", {
408
- className: "text-2xl font-bold text-yellow-600 dark:text-yellow-400",
409
+ className: "text-2xl font-bold text-status-warning-text",
409
410
  children: L.pending
410
411
  })]
411
412
  }),
412
413
  /* @__PURE__ */ x("div", {
413
- className: "rounded-lg border border-blue-500/30 bg-blue-500/5 p-4 shadow-sm",
414
+ className: "rounded-lg border border-status-info-border/30 bg-status-info-bg/5 p-4 shadow-sm",
414
415
  children: [/* @__PURE__ */ b("p", {
415
- className: "text-xs text-blue-600 dark:text-blue-400",
416
+ className: "text-xs text-status-info-text",
416
417
  children: "Active"
417
418
  }), /* @__PURE__ */ b("p", {
418
- className: "text-2xl font-bold text-blue-600 dark:text-blue-400",
419
+ className: "text-2xl font-bold text-status-info-text",
419
420
  children: L.active
420
421
  })]
421
422
  }),
422
423
  /* @__PURE__ */ x("div", {
423
- className: "rounded-lg border border-green-500/30 bg-green-500/5 p-4 shadow-sm",
424
+ className: "rounded-lg border border-status-success-border/30 bg-status-success-bg/5 p-4 shadow-sm",
424
425
  children: [/* @__PURE__ */ b("p", {
425
- className: "text-xs text-green-600 dark:text-green-400",
426
+ className: "text-xs text-status-success-text",
426
427
  children: "Completed"
427
428
  }), /* @__PURE__ */ b("p", {
428
- className: "text-2xl font-bold text-green-600 dark:text-green-400",
429
+ className: "text-2xl font-bold text-status-success-text",
429
430
  children: L.completed
430
431
  })]
431
432
  }),
432
433
  /* @__PURE__ */ x("div", {
433
- className: "rounded-lg border border-border bg-card p-4 shadow-sm",
434
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 shadow-sm",
434
435
  children: [/* @__PURE__ */ b("p", {
435
- className: "text-xs text-muted-foreground",
436
+ className: "text-xs text-text-secondary",
436
437
  children: "Total Revenue"
437
438
  }), /* @__PURE__ */ b("p", {
438
- className: "text-2xl font-bold text-foreground",
439
+ className: "text-2xl font-bold text-text-primary",
439
440
  children: r(L.totalRevenue, { minimumFractionDigits: 0 })
440
441
  })]
441
442
  }),
442
443
  /* @__PURE__ */ x("div", {
443
- className: "rounded-lg border border-border bg-card p-4 shadow-sm",
444
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 shadow-sm",
444
445
  children: [/* @__PURE__ */ b("p", {
445
- className: "text-xs text-muted-foreground",
446
+ className: "text-xs text-text-secondary",
446
447
  children: "Avg Order"
447
448
  }), /* @__PURE__ */ b("p", {
448
- className: "text-2xl font-bold text-foreground",
449
+ className: "text-2xl font-bold text-text-primary",
449
450
  children: r(L.avgOrder, { minimumFractionDigits: 0 })
450
451
  })]
451
452
  })
452
453
  ]
453
454
  }),
454
455
  /* @__PURE__ */ b("div", {
455
- className: "rounded-lg border border-border bg-card p-4 shadow-sm",
456
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 shadow-sm",
456
457
  children: /* @__PURE__ */ x("div", {
457
458
  className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-3",
458
459
  children: [
459
460
  /* @__PURE__ */ x("div", {
460
461
  className: "relative sm:col-span-2 lg:col-span-1",
461
- children: [/* @__PURE__ */ b(m, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }), /* @__PURE__ */ b("input", {
462
+ children: [/* @__PURE__ */ b(m, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ b("input", {
462
463
  type: "text",
463
464
  placeholder: "Search orders...",
464
465
  value: O.searchQuery,
@@ -466,7 +467,7 @@ var S = [
466
467
  ...t,
467
468
  searchQuery: e.target.value
468
469
  })),
469
- className: "w-full rounded-md border border-border bg-card pl-10 pr-4 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring"
470
+ className: "w-full rounded-md border border-border-seam bg-bg-surface pl-10 pr-4 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
470
471
  })]
471
472
  }),
472
473
  /* @__PURE__ */ x("select", {
@@ -475,7 +476,7 @@ var S = [
475
476
  ...t,
476
477
  status: e.target.value
477
478
  })),
478
- className: "rounded-md border border-border bg-card px-3 py-2 text-sm text-foreground",
479
+ className: "rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary",
479
480
  children: [
480
481
  /* @__PURE__ */ b("option", {
481
482
  value: "",
@@ -513,7 +514,7 @@ var S = [
513
514
  ...t,
514
515
  fulfillmentType: e.target.value
515
516
  })),
516
- className: "rounded-md border border-border bg-card px-3 py-2 text-sm text-foreground",
517
+ className: "rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary",
517
518
  children: [
518
519
  /* @__PURE__ */ b("option", {
519
520
  value: "",
@@ -539,7 +540,7 @@ var S = [
539
540
  ...t,
540
541
  dateRange: e.target.value
541
542
  })),
542
- className: "rounded-md border border-border bg-card px-3 py-2 text-sm text-foreground",
543
+ className: "rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary",
543
544
  children: [
544
545
  /* @__PURE__ */ b("option", {
545
546
  value: "today",
@@ -565,7 +566,7 @@ var S = [
565
566
  ...t,
566
567
  sortBy: e.target.value
567
568
  })),
568
- className: "rounded-md border border-border bg-card px-3 py-2 text-sm text-foreground",
569
+ className: "rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary",
569
570
  children: [
570
571
  /* @__PURE__ */ b("option", {
571
572
  value: "recent",
@@ -589,15 +590,15 @@ var S = [
589
590
  })
590
591
  }),
591
592
  R.length === 0 ? /* @__PURE__ */ x("div", {
592
- className: "flex flex-col items-center justify-center py-16 rounded-lg border border-border bg-card shadow-sm text-center",
593
+ className: "flex flex-col items-center justify-center py-16 rounded-lg border border-border-seam bg-bg-surface shadow-sm text-center",
593
594
  children: [
594
- /* @__PURE__ */ b(d, { className: "h-12 w-12 text-muted-foreground opacity-40 mb-3" }),
595
+ /* @__PURE__ */ b(d, { className: "h-12 w-12 text-text-secondary opacity-40 mb-3" }),
595
596
  /* @__PURE__ */ b("h3", {
596
- className: "text-lg font-semibold text-foreground mb-1",
597
+ className: "text-lg font-semibold text-text-primary mb-1",
597
598
  children: "No orders found"
598
599
  }),
599
600
  /* @__PURE__ */ b("p", {
600
- className: "text-sm text-muted-foreground",
601
+ className: "text-sm text-text-secondary",
601
602
  children: O.searchQuery || O.status ? "Try adjusting your filters" : "No orders to display"
602
603
  })
603
604
  ]
@@ -605,11 +606,11 @@ var S = [
605
606
  className: "space-y-4",
606
607
  children: R.map((e) => {
607
608
  let n = C[e.status] || {
608
- color: "bg-muted text-muted-foreground",
609
+ color: "bg-bg-sunken text-text-secondary",
609
610
  label: e.status
610
611
  }, i = w[e.fulfillmentType || "delivery"] || w.delivery, a = i.icon;
611
612
  return /* @__PURE__ */ b("div", {
612
- className: t("rounded-lg border bg-card shadow-sm transition-shadow hover:shadow-md", D(e)),
613
+ className: t("rounded-lg border bg-bg-surface shadow-sm transition-shadow hover:shadow-md", D(e)),
613
614
  children: /* @__PURE__ */ x("div", {
614
615
  className: "p-4 sm:p-5",
615
616
  children: [
@@ -621,7 +622,7 @@ var S = [
621
622
  className: "flex flex-wrap items-center gap-2 mb-1",
622
623
  children: [
623
624
  /* @__PURE__ */ x("h3", {
624
- className: "text-sm sm:text-base font-semibold text-foreground",
625
+ className: "text-sm sm:text-base font-semibold text-text-primary",
625
626
  children: ["Order #", e.id]
626
627
  }),
627
628
  /* @__PURE__ */ b("span", {
@@ -634,7 +635,7 @@ var S = [
634
635
  })
635
636
  ]
636
637
  }), /* @__PURE__ */ x("p", {
637
- className: "text-xs text-muted-foreground",
638
+ className: "text-xs text-text-secondary",
638
639
  children: [
639
640
  e.customerName || "Customer",
640
641
  " | ",
@@ -644,24 +645,24 @@ var S = [
644
645
  }), /* @__PURE__ */ x("div", {
645
646
  className: "flex items-center gap-3",
646
647
  children: [/* @__PURE__ */ b("p", {
647
- className: "text-lg font-bold text-foreground",
648
+ className: "text-lg font-bold text-text-primary",
648
649
  children: r(e.total, { minimumFractionDigits: 0 })
649
650
  }), /* @__PURE__ */ b("button", {
650
651
  type: "button",
651
652
  onClick: () => {
652
653
  j(e), N(!0);
653
654
  },
654
- className: "rounded-md border border-border px-3 py-1.5 text-xs font-medium text-foreground hover:bg-muted transition-colors",
655
+ className: "rounded-md border border-border-seam px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-bg-sunken transition-colors",
655
656
  children: "View Details"
656
657
  })]
657
658
  })]
658
659
  }),
659
660
  /* @__PURE__ */ b("div", {
660
- className: "border-t border-border pt-3 mb-3",
661
+ className: "border-t border-border-seam pt-3 mb-3",
661
662
  children: /* @__PURE__ */ b("div", {
662
663
  className: "flex flex-wrap gap-2",
663
664
  children: e.items.map((e, t) => /* @__PURE__ */ x("span", {
664
- className: "inline-flex items-center rounded bg-muted px-2 py-1 text-xs text-foreground",
665
+ className: "inline-flex items-center rounded bg-bg-sunken px-2 py-1 text-xs text-text-primary",
665
666
  children: [
666
667
  e.quantity,
667
668
  "x ",
@@ -676,30 +677,30 @@ var S = [
676
677
  e.status === "pending" && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ x("button", {
677
678
  type: "button",
678
679
  onClick: () => z(e.id, "accept"),
679
- className: "inline-flex items-center gap-1.5 rounded-md bg-green-500/10 px-3 py-2 text-xs font-medium text-green-600 dark:text-green-400 hover:bg-green-500/20 transition-colors",
680
+ className: "inline-flex items-center gap-1.5 rounded-md bg-status-success-bg/10 px-3 py-2 text-xs font-medium text-status-success-text hover:bg-status-success-bg/20 transition-colors",
680
681
  children: [/* @__PURE__ */ b(c, { className: "h-3.5 w-3.5" }), "Accept Order"]
681
682
  }), /* @__PURE__ */ x("button", {
682
683
  type: "button",
683
684
  onClick: () => z(e.id, "reject"),
684
- className: "inline-flex items-center gap-1.5 rounded-md bg-red-500/10 px-3 py-2 text-xs font-medium text-red-600 dark:text-red-400 hover:bg-red-500/20 transition-colors",
685
+ className: "inline-flex items-center gap-1.5 rounded-md bg-status-error-bg/10 px-3 py-2 text-xs font-medium text-status-error-text hover:bg-status-error-bg/20 transition-colors",
685
686
  children: [/* @__PURE__ */ b(v, { className: "h-3.5 w-3.5" }), "Reject"]
686
687
  })] }),
687
688
  e.status === "confirmed" && /* @__PURE__ */ x("button", {
688
689
  type: "button",
689
690
  onClick: () => z(e.id, "ready"),
690
- className: "inline-flex items-center gap-1.5 rounded-md bg-orange-500/10 px-3 py-2 text-xs font-medium text-orange-600 dark:text-orange-400 hover:bg-orange-500/20 transition-colors",
691
+ className: "inline-flex items-center gap-1.5 rounded-md bg-status-warning-bg/10 px-3 py-2 text-xs font-medium text-status-warning-text hover:bg-status-warning-bg/20 transition-colors",
691
692
  children: [/* @__PURE__ */ b(l, { className: "h-3.5 w-3.5" }), "Start Preparing"]
692
693
  }),
693
694
  e.status === "preparing" && /* @__PURE__ */ x("button", {
694
695
  type: "button",
695
696
  onClick: () => z(e.id, "ready"),
696
- className: "inline-flex items-center gap-1.5 rounded-md bg-green-500/10 px-3 py-2 text-xs font-medium text-green-600 dark:text-green-400 hover:bg-green-500/20 transition-colors",
697
+ className: "inline-flex items-center gap-1.5 rounded-md bg-status-success-bg/10 px-3 py-2 text-xs font-medium text-status-success-text hover:bg-status-success-bg/20 transition-colors",
697
698
  children: [/* @__PURE__ */ b(d, { className: "h-3.5 w-3.5" }), "Mark as Ready"]
698
699
  }),
699
700
  e.status === "ready" && e.fulfillmentType === "pickup" && /* @__PURE__ */ x("button", {
700
701
  type: "button",
701
702
  onClick: () => z(e.id, "complete"),
702
- className: "inline-flex items-center gap-1.5 rounded-md bg-green-500/10 px-3 py-2 text-xs font-medium text-green-600 dark:text-green-400 hover:bg-green-500/20 transition-colors",
703
+ className: "inline-flex items-center gap-1.5 rounded-md bg-status-success-bg/10 px-3 py-2 text-xs font-medium text-status-success-text hover:bg-status-success-bg/20 transition-colors",
703
704
  children: [/* @__PURE__ */ b(c, { className: "h-3.5 w-3.5" }), "Complete Order"]
704
705
  }),
705
706
  [
@@ -709,18 +710,18 @@ var S = [
709
710
  ].includes(e.status) && /* @__PURE__ */ x("button", {
710
711
  type: "button",
711
712
  onClick: () => alert("Contact feature coming soon!"),
712
- className: "inline-flex items-center gap-1.5 rounded-md border border-border px-3 py-2 text-xs font-medium text-foreground hover:bg-muted transition-colors",
713
+ className: "inline-flex items-center gap-1.5 rounded-md border border-border-seam px-3 py-2 text-xs font-medium text-text-primary hover:bg-bg-sunken transition-colors",
713
714
  children: [/* @__PURE__ */ b(f, { className: "h-3.5 w-3.5" }), "Contact Customer"]
714
715
  })
715
716
  ]
716
717
  }),
717
718
  e.specialInstructions && /* @__PURE__ */ x("div", {
718
- className: "mt-3 rounded-md border border-yellow-500/30 bg-yellow-500/10 p-3",
719
+ className: "mt-3 rounded-md border border-status-warning-border/30 bg-status-warning-bg/10 p-3",
719
720
  children: [/* @__PURE__ */ b("p", {
720
- className: "text-xs font-medium text-yellow-600 dark:text-yellow-400",
721
+ className: "text-xs font-medium text-status-warning-text",
721
722
  children: "Special Instructions:"
722
723
  }), /* @__PURE__ */ b("p", {
723
- className: "text-xs text-yellow-600 dark:text-yellow-400 mt-0.5",
724
+ className: "text-xs text-status-warning-text mt-0.5",
724
725
  children: e.specialInstructions
725
726
  })]
726
727
  })
@@ -731,20 +732,20 @@ var S = [
731
732
  })
732
733
  ]
733
734
  }), M && A && /* @__PURE__ */ b("div", {
734
- className: "fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4",
735
+ className: "fixed inset-0 z-50 flex items-center justify-center bg-bg-canvas/50 p-4",
735
736
  children: /* @__PURE__ */ b("div", {
736
- className: "w-full max-w-2xl max-h-[90vh] overflow-y-auto rounded-lg border border-border bg-card shadow-xl",
737
+ className: "w-full max-w-2xl max-h-[90vh] overflow-y-auto rounded-lg border border-border-seam bg-bg-surface shadow-xl",
737
738
  children: /* @__PURE__ */ x("div", {
738
739
  className: "p-6",
739
740
  children: [/* @__PURE__ */ x("div", {
740
741
  className: "flex items-center justify-between mb-4",
741
742
  children: [/* @__PURE__ */ b("h3", {
742
- className: "text-lg font-semibold text-foreground",
743
+ className: "text-lg font-semibold text-text-primary",
743
744
  children: "Order Details"
744
745
  }), /* @__PURE__ */ b("button", {
745
746
  type: "button",
746
747
  onClick: () => N(!1),
747
- className: "rounded p-1.5 text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",
748
+ className: "rounded p-1.5 text-text-secondary hover:text-text-primary hover:bg-bg-sunken transition-colors",
748
749
  children: /* @__PURE__ */ b(_, { className: "h-5 w-5" })
749
750
  })]
750
751
  }), /* @__PURE__ */ x("div", {
@@ -754,49 +755,49 @@ var S = [
754
755
  className: "grid grid-cols-2 gap-4",
755
756
  children: [
756
757
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
757
- className: "text-xs text-muted-foreground",
758
+ className: "text-xs text-text-secondary",
758
759
  children: "Order ID"
759
760
  }), /* @__PURE__ */ x("p", {
760
- className: "text-sm font-medium text-foreground",
761
+ className: "text-sm font-medium text-text-primary",
761
762
  children: ["#", A.id]
762
763
  })] }),
763
764
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
764
- className: "text-xs text-muted-foreground",
765
+ className: "text-xs text-text-secondary",
765
766
  children: "Status"
766
767
  }), /* @__PURE__ */ b("span", {
767
768
  className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium mt-0.5", (C[A.status] || C.pending).color),
768
769
  children: (C[A.status] || C.pending).label
769
770
  })] }),
770
771
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
771
- className: "text-xs text-muted-foreground",
772
+ className: "text-xs text-text-secondary",
772
773
  children: "Customer"
773
774
  }), /* @__PURE__ */ b("p", {
774
- className: "text-sm font-medium text-foreground",
775
+ className: "text-sm font-medium text-text-primary",
775
776
  children: A.customerName || "N/A"
776
777
  })] }),
777
778
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
778
- className: "text-xs text-muted-foreground",
779
+ className: "text-xs text-text-secondary",
779
780
  children: "Order Time"
780
781
  }), /* @__PURE__ */ b("p", {
781
- className: "text-sm font-medium text-foreground",
782
+ className: "text-sm font-medium text-text-primary",
782
783
  children: E(A.orderDate)
783
784
  })] })
784
785
  ]
785
786
  }),
786
787
  /* @__PURE__ */ x("div", {
787
- className: "border-t border-border pt-4",
788
+ className: "border-t border-border-seam pt-4",
788
789
  children: [/* @__PURE__ */ b("h4", {
789
- className: "text-sm font-medium text-foreground mb-3",
790
+ className: "text-sm font-medium text-text-primary mb-3",
790
791
  children: "Order Items"
791
792
  }), /* @__PURE__ */ b("div", {
792
793
  className: "space-y-2",
793
794
  children: A.items.map((e, t) => /* @__PURE__ */ x("div", {
794
795
  className: "flex justify-between items-start",
795
796
  children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
796
- className: "text-sm font-medium text-foreground",
797
+ className: "text-sm font-medium text-text-primary",
797
798
  children: e.name
798
799
  }), /* @__PURE__ */ x("p", {
799
- className: "text-xs text-muted-foreground",
800
+ className: "text-xs text-text-secondary",
800
801
  children: [
801
802
  r(e.price, { minimumFractionDigits: 0 }),
802
803
  " x",
@@ -804,40 +805,40 @@ var S = [
804
805
  e.quantity
805
806
  ]
806
807
  })] }), /* @__PURE__ */ b("p", {
807
- className: "text-sm font-medium text-foreground",
808
+ className: "text-sm font-medium text-text-primary",
808
809
  children: r(e.price * e.quantity, { minimumFractionDigits: 0 })
809
810
  })]
810
811
  }, t))
811
812
  })]
812
813
  }),
813
814
  /* @__PURE__ */ x("div", {
814
- className: "border-t border-border pt-4 space-y-2",
815
+ className: "border-t border-border-seam pt-4 space-y-2",
815
816
  children: [
816
817
  /* @__PURE__ */ x("div", {
817
- className: "flex justify-between text-sm text-muted-foreground",
818
+ className: "flex justify-between text-sm text-text-secondary",
818
819
  children: [/* @__PURE__ */ b("span", { children: "Subtotal" }), /* @__PURE__ */ b("span", { children: r(A.subtotal, { minimumFractionDigits: 0 }) })]
819
820
  }),
820
821
  /* @__PURE__ */ x("div", {
821
- className: "flex justify-between text-sm text-muted-foreground",
822
+ className: "flex justify-between text-sm text-text-secondary",
822
823
  children: [/* @__PURE__ */ b("span", { children: "Delivery Fee" }), /* @__PURE__ */ b("span", { children: r(A.deliveryFee, { minimumFractionDigits: 0 }) })]
823
824
  }),
824
825
  /* @__PURE__ */ x("div", {
825
- className: "flex justify-between text-sm text-muted-foreground",
826
+ className: "flex justify-between text-sm text-text-secondary",
826
827
  children: [/* @__PURE__ */ b("span", { children: "Tax" }), /* @__PURE__ */ b("span", { children: r(A.taxes, { minimumFractionDigits: 0 }) })]
827
828
  }),
828
829
  /* @__PURE__ */ x("div", {
829
- className: "flex justify-between font-semibold text-foreground pt-2 border-t border-border",
830
+ className: "flex justify-between font-semibold text-text-primary pt-2 border-t border-border-seam",
830
831
  children: [/* @__PURE__ */ b("span", { children: "Total" }), /* @__PURE__ */ b("span", { children: r(A.total, { minimumFractionDigits: 0 }) })]
831
832
  })
832
833
  ]
833
834
  }),
834
835
  A.fulfillmentType === "delivery" && A.deliveryAddress && /* @__PURE__ */ x("div", {
835
- className: "border-t border-border pt-4",
836
+ className: "border-t border-border-seam pt-4",
836
837
  children: [/* @__PURE__ */ x("h4", {
837
- className: "text-sm font-medium text-foreground mb-2 flex items-center gap-1.5",
838
- children: [/* @__PURE__ */ b(u, { className: "h-4 w-4 text-muted-foreground" }), "Delivery Address"]
838
+ className: "text-sm font-medium text-text-primary mb-2 flex items-center gap-1.5",
839
+ children: [/* @__PURE__ */ b(u, { className: "h-4 w-4 text-text-secondary" }), "Delivery Address"]
839
840
  }), /* @__PURE__ */ x("p", {
840
- className: "text-sm text-muted-foreground",
841
+ className: "text-sm text-text-secondary",
841
842
  children: [
842
843
  A.deliveryAddress.street,
843
844
  ", ",
@@ -854,17 +855,17 @@ var S = [
854
855
  children: [/* @__PURE__ */ b("button", {
855
856
  type: "button",
856
857
  onClick: () => N(!1),
857
- className: "flex-1 rounded-md border border-border px-4 py-2 text-sm font-medium text-foreground hover:bg-muted transition-colors",
858
+ className: "flex-1 rounded-md border border-border-seam px-4 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken transition-colors",
858
859
  children: "Close"
859
860
  }), A.status === "pending" && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("button", {
860
861
  type: "button",
861
862
  onClick: () => z(A.id, "accept"),
862
- className: "flex-1 rounded-md bg-green-500/10 px-4 py-2 text-sm font-medium text-green-600 dark:text-green-400 hover:bg-green-500/20 transition-colors",
863
+ className: "flex-1 rounded-md bg-status-success-bg/10 px-4 py-2 text-sm font-medium text-status-success-text hover:bg-status-success-bg/20 transition-colors",
863
864
  children: "Accept Order"
864
865
  }), /* @__PURE__ */ b("button", {
865
866
  type: "button",
866
867
  onClick: () => z(A.id, "reject"),
867
- className: "flex-1 rounded-md bg-red-500/10 px-4 py-2 text-sm font-medium text-red-600 dark:text-red-400 hover:bg-red-500/20 transition-colors",
868
+ className: "flex-1 rounded-md bg-status-error-bg/10 px-4 py-2 text-sm font-medium text-status-error-text hover:bg-status-error-bg/20 transition-colors",
868
869
  children: "Reject Order"
869
870
  })] })]
870
871
  })