@burdenoff/microfe-adaptercloud 2026.614.1 → 2026.624.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 +3 -3
  2. package/dist/adaptercloud/components/EmptyState.js.map +1 -1
  3. package/dist/adaptercloud/components/InvestmentCard.js +9 -9
  4. package/dist/adaptercloud/components/InvestmentCard.js.map +1 -1
  5. package/dist/adaptercloud/components/MetricsCard.js +5 -5
  6. package/dist/adaptercloud/components/MetricsCard.js.map +1 -1
  7. package/dist/adaptercloud/components/PageLayout.js +3 -3
  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 +2 -2
  12. package/dist/adaptercloud/components/StatusBadge.js.map +1 -1
  13. package/dist/adaptercloud/pages/HomePage.js +54 -54
  14. package/dist/adaptercloud/pages/HomePage.js.map +1 -1
  15. package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js +60 -60
  16. package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js.map +1 -1
  17. package/dist/adaptercloud/pages/admin/AdminDashboard.js +77 -77
  18. package/dist/adaptercloud/pages/admin/AdminDashboard.js.map +1 -1
  19. package/dist/adaptercloud/pages/admin/AdminFinancialPage.js +43 -43
  20. package/dist/adaptercloud/pages/admin/AdminFinancialPage.js.map +1 -1
  21. package/dist/adaptercloud/pages/admin/AdminOrdersPage.js +85 -85
  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 +86 -86
  28. package/dist/adaptercloud/pages/admin/CartManagementPage.js.map +1 -1
  29. package/dist/adaptercloud/pages/admin/UserManagementPage.js +80 -80
  30. package/dist/adaptercloud/pages/admin/UserManagementPage.js.map +1 -1
  31. package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js +100 -100
  32. package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  33. package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js +29 -29
  34. package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  35. package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js +81 -81
  36. package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  37. package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js +100 -100
  38. package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  39. package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js +67 -67
  40. package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  41. package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js +94 -94
  42. package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  43. package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js +57 -57
  44. package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js.map +1 -1
  45. package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js +75 -75
  46. package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js.map +1 -1
  47. package/dist/adaptercloud/pages/common/HelpSupportPage.js +102 -102
  48. package/dist/adaptercloud/pages/common/HelpSupportPage.js.map +1 -1
  49. package/dist/adaptercloud/pages/common/NotificationCenterPage.js +35 -35
  50. package/dist/adaptercloud/pages/common/NotificationCenterPage.js.map +1 -1
  51. package/dist/adaptercloud/pages/common/SettingsPage.js +109 -109
  52. package/dist/adaptercloud/pages/common/SettingsPage.js.map +1 -1
  53. package/dist/adaptercloud/pages/customer/BookingDetailsPage.js +60 -60
  54. package/dist/adaptercloud/pages/customer/BookingDetailsPage.js.map +1 -1
  55. package/dist/adaptercloud/pages/customer/CartDetailPage.js +71 -71
  56. package/dist/adaptercloud/pages/customer/CartDetailPage.js.map +1 -1
  57. package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js +54 -54
  58. package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js.map +1 -1
  59. package/dist/adaptercloud/pages/customer/CheckoutPage.js +75 -75
  60. package/dist/adaptercloud/pages/customer/CheckoutPage.js.map +1 -1
  61. package/dist/adaptercloud/pages/customer/CustomerDashboard.js +69 -69
  62. package/dist/adaptercloud/pages/customer/CustomerDashboard.js.map +1 -1
  63. package/dist/adaptercloud/pages/customer/CustomerProfilePage.js +72 -72
  64. package/dist/adaptercloud/pages/customer/CustomerProfilePage.js.map +1 -1
  65. package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js +75 -75
  66. package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js.map +1 -1
  67. package/dist/adaptercloud/pages/customer/FavoritesPage.js +30 -30
  68. package/dist/adaptercloud/pages/customer/FavoritesPage.js.map +1 -1
  69. package/dist/adaptercloud/pages/customer/OrderHistoryPage.js +41 -41
  70. package/dist/adaptercloud/pages/customer/OrderHistoryPage.js.map +1 -1
  71. package/dist/adaptercloud/pages/customer/OrderTrackingPage.js +53 -53
  72. package/dist/adaptercloud/pages/customer/OrderTrackingPage.js.map +1 -1
  73. package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js +51 -51
  74. package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js.map +1 -1
  75. package/dist/adaptercloud/pages/customer/ReviewsPage.js +33 -33
  76. package/dist/adaptercloud/pages/customer/ReviewsPage.js.map +1 -1
  77. package/dist/adaptercloud/pages/customer/SavedAddressesPage.js +33 -33
  78. package/dist/adaptercloud/pages/customer/SavedAddressesPage.js.map +1 -1
  79. package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js +108 -108
  80. package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js.map +1 -1
  81. package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js +76 -76
  82. package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  83. package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js +69 -69
  84. package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  85. package/dist/adaptercloud/pages/investor/InvestorDashboard.js +53 -53
  86. package/dist/adaptercloud/pages/investor/InvestorDashboard.js.map +1 -1
  87. package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js +32 -32
  88. package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  89. package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js +55 -55
  90. package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js.map +1 -1
  91. package/dist/adaptercloud/pages/investor/InvestorProfilePage.js +138 -138
  92. package/dist/adaptercloud/pages/investor/InvestorProfilePage.js.map +1 -1
  93. package/dist/adaptercloud/pages/worker/TaskDetailsPage.js +65 -65
  94. package/dist/adaptercloud/pages/worker/TaskDetailsPage.js.map +1 -1
  95. package/dist/adaptercloud/pages/worker/WorkerDashboard.js +74 -74
  96. package/dist/adaptercloud/pages/worker/WorkerDashboard.js.map +1 -1
  97. package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js +49 -49
  98. package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js.map +1 -1
  99. package/dist/adaptercloud/pages/worker/WorkerProfilePage.js +92 -92
  100. package/dist/adaptercloud/pages/worker/WorkerProfilePage.js.map +1 -1
  101. package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js +55 -55
  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 +1 -1
  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
@@ -283,7 +283,7 @@ var S = [
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-red-500/50 bg-red-500/5" : e.status === "preparing" && t > 30 ? "border-yellow-500/50 bg-yellow-500/5" : "border-border-subtle";
301
301
  }, O = () => {
302
302
  let { navigateTo: i } = e(), [h, g] = o(S), [O, k] = o({
303
303
  status: "",
@@ -373,7 +373,7 @@ var S = [
373
373
  actions: /* @__PURE__ */ x("button", {
374
374
  type: "button",
375
375
  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",
376
+ className: "inline-flex items-center gap-2 rounded-md border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken transition-colors",
377
377
  children: [/* @__PURE__ */ b(p, { className: "h-4 w-4" }), "Refresh"]
378
378
  }),
379
379
  children: [/* @__PURE__ */ x("div", {
@@ -390,12 +390,12 @@ var S = [
390
390
  className: "grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-6 gap-3",
391
391
  children: [
392
392
  /* @__PURE__ */ x("div", {
393
- className: "rounded-lg border border-border bg-card p-4 shadow-sm",
393
+ className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm",
394
394
  children: [/* @__PURE__ */ b("p", {
395
- className: "text-xs text-muted-foreground",
395
+ className: "text-xs text-text-secondary",
396
396
  children: "Total Orders"
397
397
  }), /* @__PURE__ */ b("p", {
398
- className: "text-2xl font-bold text-foreground",
398
+ className: "text-2xl font-bold text-text-primary",
399
399
  children: L.total
400
400
  })]
401
401
  }),
@@ -430,35 +430,35 @@ var S = [
430
430
  })]
431
431
  }),
432
432
  /* @__PURE__ */ x("div", {
433
- className: "rounded-lg border border-border bg-card p-4 shadow-sm",
433
+ className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm",
434
434
  children: [/* @__PURE__ */ b("p", {
435
- className: "text-xs text-muted-foreground",
435
+ className: "text-xs text-text-secondary",
436
436
  children: "Total Revenue"
437
437
  }), /* @__PURE__ */ b("p", {
438
- className: "text-2xl font-bold text-foreground",
438
+ className: "text-2xl font-bold text-text-primary",
439
439
  children: r(L.totalRevenue, { minimumFractionDigits: 0 })
440
440
  })]
441
441
  }),
442
442
  /* @__PURE__ */ x("div", {
443
- className: "rounded-lg border border-border bg-card p-4 shadow-sm",
443
+ className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm",
444
444
  children: [/* @__PURE__ */ b("p", {
445
- className: "text-xs text-muted-foreground",
445
+ className: "text-xs text-text-secondary",
446
446
  children: "Avg Order"
447
447
  }), /* @__PURE__ */ b("p", {
448
- className: "text-2xl font-bold text-foreground",
448
+ className: "text-2xl font-bold text-text-primary",
449
449
  children: r(L.avgOrder, { minimumFractionDigits: 0 })
450
450
  })]
451
451
  })
452
452
  ]
453
453
  }),
454
454
  /* @__PURE__ */ b("div", {
455
- className: "rounded-lg border border-border bg-card p-4 shadow-sm",
455
+ className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm",
456
456
  children: /* @__PURE__ */ x("div", {
457
457
  className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-3",
458
458
  children: [
459
459
  /* @__PURE__ */ x("div", {
460
460
  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", {
461
+ 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
462
  type: "text",
463
463
  placeholder: "Search orders...",
464
464
  value: O.searchQuery,
@@ -466,7 +466,7 @@ var S = [
466
466
  ...t,
467
467
  searchQuery: e.target.value
468
468
  })),
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"
469
+ className: "w-full rounded-md border border-border-subtle 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
470
  })]
471
471
  }),
472
472
  /* @__PURE__ */ x("select", {
@@ -475,7 +475,7 @@ var S = [
475
475
  ...t,
476
476
  status: e.target.value
477
477
  })),
478
- className: "rounded-md border border-border bg-card px-3 py-2 text-sm text-foreground",
478
+ className: "rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary",
479
479
  children: [
480
480
  /* @__PURE__ */ b("option", {
481
481
  value: "",
@@ -513,7 +513,7 @@ var S = [
513
513
  ...t,
514
514
  fulfillmentType: e.target.value
515
515
  })),
516
- className: "rounded-md border border-border bg-card px-3 py-2 text-sm text-foreground",
516
+ className: "rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary",
517
517
  children: [
518
518
  /* @__PURE__ */ b("option", {
519
519
  value: "",
@@ -539,7 +539,7 @@ var S = [
539
539
  ...t,
540
540
  dateRange: e.target.value
541
541
  })),
542
- className: "rounded-md border border-border bg-card px-3 py-2 text-sm text-foreground",
542
+ className: "rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary",
543
543
  children: [
544
544
  /* @__PURE__ */ b("option", {
545
545
  value: "today",
@@ -565,7 +565,7 @@ var S = [
565
565
  ...t,
566
566
  sortBy: e.target.value
567
567
  })),
568
- className: "rounded-md border border-border bg-card px-3 py-2 text-sm text-foreground",
568
+ className: "rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary",
569
569
  children: [
570
570
  /* @__PURE__ */ b("option", {
571
571
  value: "recent",
@@ -589,15 +589,15 @@ var S = [
589
589
  })
590
590
  }),
591
591
  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",
592
+ className: "flex flex-col items-center justify-center py-16 rounded-lg border border-border-subtle bg-bg-surface shadow-sm text-center",
593
593
  children: [
594
- /* @__PURE__ */ b(d, { className: "h-12 w-12 text-muted-foreground opacity-40 mb-3" }),
594
+ /* @__PURE__ */ b(d, { className: "h-12 w-12 text-text-secondary opacity-40 mb-3" }),
595
595
  /* @__PURE__ */ b("h3", {
596
- className: "text-lg font-semibold text-foreground mb-1",
596
+ className: "text-lg font-semibold text-text-primary mb-1",
597
597
  children: "No orders found"
598
598
  }),
599
599
  /* @__PURE__ */ b("p", {
600
- className: "text-sm text-muted-foreground",
600
+ className: "text-sm text-text-secondary",
601
601
  children: O.searchQuery || O.status ? "Try adjusting your filters" : "No orders to display"
602
602
  })
603
603
  ]
@@ -605,11 +605,11 @@ var S = [
605
605
  className: "space-y-4",
606
606
  children: R.map((e) => {
607
607
  let n = C[e.status] || {
608
- color: "bg-muted text-muted-foreground",
608
+ color: "bg-bg-sunken text-text-secondary",
609
609
  label: e.status
610
610
  }, i = w[e.fulfillmentType || "delivery"] || w.delivery, a = i.icon;
611
611
  return /* @__PURE__ */ b("div", {
612
- className: t("rounded-lg border bg-card shadow-sm transition-shadow hover:shadow-md", D(e)),
612
+ className: t("rounded-lg border bg-bg-surface shadow-sm transition-shadow hover:shadow-md", D(e)),
613
613
  children: /* @__PURE__ */ x("div", {
614
614
  className: "p-4 sm:p-5",
615
615
  children: [
@@ -621,7 +621,7 @@ var S = [
621
621
  className: "flex flex-wrap items-center gap-2 mb-1",
622
622
  children: [
623
623
  /* @__PURE__ */ x("h3", {
624
- className: "text-sm sm:text-base font-semibold text-foreground",
624
+ className: "text-sm sm:text-base font-semibold text-text-primary",
625
625
  children: ["Order #", e.id]
626
626
  }),
627
627
  /* @__PURE__ */ b("span", {
@@ -634,7 +634,7 @@ var S = [
634
634
  })
635
635
  ]
636
636
  }), /* @__PURE__ */ x("p", {
637
- className: "text-xs text-muted-foreground",
637
+ className: "text-xs text-text-secondary",
638
638
  children: [
639
639
  e.customerName || "Customer",
640
640
  " | ",
@@ -644,24 +644,24 @@ var S = [
644
644
  }), /* @__PURE__ */ x("div", {
645
645
  className: "flex items-center gap-3",
646
646
  children: [/* @__PURE__ */ b("p", {
647
- className: "text-lg font-bold text-foreground",
647
+ className: "text-lg font-bold text-text-primary",
648
648
  children: r(e.total, { minimumFractionDigits: 0 })
649
649
  }), /* @__PURE__ */ b("button", {
650
650
  type: "button",
651
651
  onClick: () => {
652
652
  j(e), N(!0);
653
653
  },
654
- className: "rounded-md border border-border px-3 py-1.5 text-xs font-medium text-foreground hover:bg-muted transition-colors",
654
+ className: "rounded-md border border-border-subtle px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-bg-sunken transition-colors",
655
655
  children: "View Details"
656
656
  })]
657
657
  })]
658
658
  }),
659
659
  /* @__PURE__ */ b("div", {
660
- className: "border-t border-border pt-3 mb-3",
660
+ className: "border-t border-border-subtle pt-3 mb-3",
661
661
  children: /* @__PURE__ */ b("div", {
662
662
  className: "flex flex-wrap gap-2",
663
663
  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",
664
+ className: "inline-flex items-center rounded bg-bg-sunken px-2 py-1 text-xs text-text-primary",
665
665
  children: [
666
666
  e.quantity,
667
667
  "x ",
@@ -709,7 +709,7 @@ var S = [
709
709
  ].includes(e.status) && /* @__PURE__ */ x("button", {
710
710
  type: "button",
711
711
  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",
712
+ className: "inline-flex items-center gap-1.5 rounded-md border border-border-subtle px-3 py-2 text-xs font-medium text-text-primary hover:bg-bg-sunken transition-colors",
713
713
  children: [/* @__PURE__ */ b(f, { className: "h-3.5 w-3.5" }), "Contact Customer"]
714
714
  })
715
715
  ]
@@ -733,18 +733,18 @@ var S = [
733
733
  }), M && A && /* @__PURE__ */ b("div", {
734
734
  className: "fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4",
735
735
  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",
736
+ className: "w-full max-w-2xl max-h-[90vh] overflow-y-auto rounded-lg border border-border-subtle bg-bg-surface shadow-xl",
737
737
  children: /* @__PURE__ */ x("div", {
738
738
  className: "p-6",
739
739
  children: [/* @__PURE__ */ x("div", {
740
740
  className: "flex items-center justify-between mb-4",
741
741
  children: [/* @__PURE__ */ b("h3", {
742
- className: "text-lg font-semibold text-foreground",
742
+ className: "text-lg font-semibold text-text-primary",
743
743
  children: "Order Details"
744
744
  }), /* @__PURE__ */ b("button", {
745
745
  type: "button",
746
746
  onClick: () => N(!1),
747
- className: "rounded p-1.5 text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",
747
+ className: "rounded p-1.5 text-text-secondary hover:text-text-primary hover:bg-bg-sunken transition-colors",
748
748
  children: /* @__PURE__ */ b(_, { className: "h-5 w-5" })
749
749
  })]
750
750
  }), /* @__PURE__ */ x("div", {
@@ -754,49 +754,49 @@ var S = [
754
754
  className: "grid grid-cols-2 gap-4",
755
755
  children: [
756
756
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
757
- className: "text-xs text-muted-foreground",
757
+ className: "text-xs text-text-secondary",
758
758
  children: "Order ID"
759
759
  }), /* @__PURE__ */ x("p", {
760
- className: "text-sm font-medium text-foreground",
760
+ className: "text-sm font-medium text-text-primary",
761
761
  children: ["#", A.id]
762
762
  })] }),
763
763
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
764
- className: "text-xs text-muted-foreground",
764
+ className: "text-xs text-text-secondary",
765
765
  children: "Status"
766
766
  }), /* @__PURE__ */ b("span", {
767
767
  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
768
  children: (C[A.status] || C.pending).label
769
769
  })] }),
770
770
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
771
- className: "text-xs text-muted-foreground",
771
+ className: "text-xs text-text-secondary",
772
772
  children: "Customer"
773
773
  }), /* @__PURE__ */ b("p", {
774
- className: "text-sm font-medium text-foreground",
774
+ className: "text-sm font-medium text-text-primary",
775
775
  children: A.customerName || "N/A"
776
776
  })] }),
777
777
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
778
- className: "text-xs text-muted-foreground",
778
+ className: "text-xs text-text-secondary",
779
779
  children: "Order Time"
780
780
  }), /* @__PURE__ */ b("p", {
781
- className: "text-sm font-medium text-foreground",
781
+ className: "text-sm font-medium text-text-primary",
782
782
  children: E(A.orderDate)
783
783
  })] })
784
784
  ]
785
785
  }),
786
786
  /* @__PURE__ */ x("div", {
787
- className: "border-t border-border pt-4",
787
+ className: "border-t border-border-subtle pt-4",
788
788
  children: [/* @__PURE__ */ b("h4", {
789
- className: "text-sm font-medium text-foreground mb-3",
789
+ className: "text-sm font-medium text-text-primary mb-3",
790
790
  children: "Order Items"
791
791
  }), /* @__PURE__ */ b("div", {
792
792
  className: "space-y-2",
793
793
  children: A.items.map((e, t) => /* @__PURE__ */ x("div", {
794
794
  className: "flex justify-between items-start",
795
795
  children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
796
- className: "text-sm font-medium text-foreground",
796
+ className: "text-sm font-medium text-text-primary",
797
797
  children: e.name
798
798
  }), /* @__PURE__ */ x("p", {
799
- className: "text-xs text-muted-foreground",
799
+ className: "text-xs text-text-secondary",
800
800
  children: [
801
801
  r(e.price, { minimumFractionDigits: 0 }),
802
802
  " x",
@@ -804,40 +804,40 @@ var S = [
804
804
  e.quantity
805
805
  ]
806
806
  })] }), /* @__PURE__ */ b("p", {
807
- className: "text-sm font-medium text-foreground",
807
+ className: "text-sm font-medium text-text-primary",
808
808
  children: r(e.price * e.quantity, { minimumFractionDigits: 0 })
809
809
  })]
810
810
  }, t))
811
811
  })]
812
812
  }),
813
813
  /* @__PURE__ */ x("div", {
814
- className: "border-t border-border pt-4 space-y-2",
814
+ className: "border-t border-border-subtle pt-4 space-y-2",
815
815
  children: [
816
816
  /* @__PURE__ */ x("div", {
817
- className: "flex justify-between text-sm text-muted-foreground",
817
+ className: "flex justify-between text-sm text-text-secondary",
818
818
  children: [/* @__PURE__ */ b("span", { children: "Subtotal" }), /* @__PURE__ */ b("span", { children: r(A.subtotal, { minimumFractionDigits: 0 }) })]
819
819
  }),
820
820
  /* @__PURE__ */ x("div", {
821
- className: "flex justify-between text-sm text-muted-foreground",
821
+ className: "flex justify-between text-sm text-text-secondary",
822
822
  children: [/* @__PURE__ */ b("span", { children: "Delivery Fee" }), /* @__PURE__ */ b("span", { children: r(A.deliveryFee, { minimumFractionDigits: 0 }) })]
823
823
  }),
824
824
  /* @__PURE__ */ x("div", {
825
- className: "flex justify-between text-sm text-muted-foreground",
825
+ className: "flex justify-between text-sm text-text-secondary",
826
826
  children: [/* @__PURE__ */ b("span", { children: "Tax" }), /* @__PURE__ */ b("span", { children: r(A.taxes, { minimumFractionDigits: 0 }) })]
827
827
  }),
828
828
  /* @__PURE__ */ x("div", {
829
- className: "flex justify-between font-semibold text-foreground pt-2 border-t border-border",
829
+ className: "flex justify-between font-semibold text-text-primary pt-2 border-t border-border-subtle",
830
830
  children: [/* @__PURE__ */ b("span", { children: "Total" }), /* @__PURE__ */ b("span", { children: r(A.total, { minimumFractionDigits: 0 }) })]
831
831
  })
832
832
  ]
833
833
  }),
834
834
  A.fulfillmentType === "delivery" && A.deliveryAddress && /* @__PURE__ */ x("div", {
835
- className: "border-t border-border pt-4",
835
+ className: "border-t border-border-subtle pt-4",
836
836
  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"]
837
+ className: "text-sm font-medium text-text-primary mb-2 flex items-center gap-1.5",
838
+ children: [/* @__PURE__ */ b(u, { className: "h-4 w-4 text-text-secondary" }), "Delivery Address"]
839
839
  }), /* @__PURE__ */ x("p", {
840
- className: "text-sm text-muted-foreground",
840
+ className: "text-sm text-text-secondary",
841
841
  children: [
842
842
  A.deliveryAddress.street,
843
843
  ", ",
@@ -854,7 +854,7 @@ var S = [
854
854
  children: [/* @__PURE__ */ b("button", {
855
855
  type: "button",
856
856
  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",
857
+ className: "flex-1 rounded-md border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken transition-colors",
858
858
  children: "Close"
859
859
  }), A.status === "pending" && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("button", {
860
860
  type: "button",