@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
@@ -171,11 +171,11 @@ function C() {
171
171
  return w.slice(e, e + 10);
172
172
  }, [w, I]), Y = (e) => /* @__PURE__ */ b("span", {
173
173
  className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium", {
174
- customer: "bg-blue-500/20 text-blue-600 dark:text-blue-400",
175
- cart_owner: "bg-green-500/20 text-green-600 dark:text-green-400",
176
- worker: "bg-yellow-500/20 text-yellow-600 dark:text-yellow-400",
177
- investor: "bg-purple-500/20 text-purple-600 dark:text-purple-400",
178
- admin: "bg-red-500/20 text-red-600 dark:text-red-400"
174
+ customer: "bg-accent-blue-subtle/20 text-accent-blue",
175
+ cart_owner: "bg-status-success-bg-subtle/20 text-status-success-text",
176
+ worker: "bg-status-warning-bg-subtle/20 text-status-warning-text",
177
+ investor: "bg-accent-purple-subtle/20 text-accent-purple",
178
+ admin: "bg-status-error-bg-subtle/20 text-status-error-text"
179
179
  }[e]),
180
180
  children: {
181
181
  customer: "Customer",
@@ -186,10 +186,10 @@ function C() {
186
186
  }[e] ?? e
187
187
  }), X = (e) => /* @__PURE__ */ b("span", {
188
188
  className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium capitalize", {
189
- active: "bg-green-500/20 text-green-600 dark:text-green-400",
189
+ active: "bg-status-success-bg-subtle/20 text-status-success-text",
190
190
  inactive: "bg-secondary text-secondary-foreground",
191
- suspended: "bg-red-500/20 text-red-600 dark:text-red-400",
192
- pending: "bg-yellow-500/20 text-yellow-600 dark:text-yellow-400"
191
+ suspended: "bg-status-error-bg-subtle/20 text-status-error-text",
192
+ pending: "bg-status-warning-bg-subtle/20 text-status-warning-text"
193
193
  }[e]),
194
194
  children: e
195
195
  });
@@ -198,8 +198,8 @@ function C() {
198
198
  description: "Loading users...",
199
199
  children: /* @__PURE__ */ x("div", {
200
200
  className: "flex flex-col items-center justify-center py-20",
201
- children: [/* @__PURE__ */ b(u, { className: "h-10 w-10 animate-spin text-muted-foreground mb-4" }), /* @__PURE__ */ b("p", {
202
- className: "text-muted-foreground",
201
+ children: [/* @__PURE__ */ b(u, { className: "h-10 w-10 animate-spin text-text-secondary mb-4" }), /* @__PURE__ */ b("p", {
202
+ className: "text-text-secondary",
203
203
  children: "Loading users..."
204
204
  })]
205
205
  })
@@ -218,17 +218,17 @@ function C() {
218
218
  {
219
219
  label: "Active",
220
220
  value: B.activeUsers.toLocaleString("en-IN"),
221
- cls: "bg-green-500/10 border-green-500/30"
221
+ cls: "bg-status-success-bg-subtle/10 border-status-success-border/30"
222
222
  },
223
223
  {
224
224
  label: "New (30d)",
225
225
  value: B.newUsers.toString(),
226
- cls: "bg-blue-500/10 border-blue-500/30"
226
+ cls: "bg-accent-blue-subtle/10 border-accent-blue-subtle/30"
227
227
  },
228
228
  {
229
229
  label: "Verified",
230
230
  value: B.verifiedUsers.toLocaleString("en-IN"),
231
- cls: "bg-purple-500/10 border-purple-500/30"
231
+ cls: "bg-accent-purple-subtle/10 border-accent-purple-subtle/30"
232
232
  },
233
233
  {
234
234
  label: "Customers",
@@ -251,35 +251,35 @@ function C() {
251
251
  cls: ""
252
252
  }
253
253
  ].map((e) => /* @__PURE__ */ x("div", {
254
- className: t("rounded-lg border border-border bg-card p-3", e.cls),
254
+ className: t("rounded-lg border border-border-subtle bg-bg-surface p-3", e.cls),
255
255
  children: [/* @__PURE__ */ b("p", {
256
- className: "text-xs text-muted-foreground",
256
+ className: "text-xs text-text-secondary",
257
257
  children: e.label
258
258
  }), /* @__PURE__ */ b("p", {
259
- className: "text-lg font-bold text-foreground",
259
+ className: "text-lg font-bold text-text-primary",
260
260
  children: e.value
261
261
  })]
262
262
  }, e.label))
263
263
  }),
264
264
  /* @__PURE__ */ b("div", {
265
- className: "rounded-lg border border-border bg-card p-4 mb-6",
265
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 mb-6 bg-gloss-card shadow-pop",
266
266
  children: /* @__PURE__ */ x("div", {
267
267
  className: "grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-3",
268
268
  children: [
269
269
  /* @__PURE__ */ x("div", {
270
270
  className: "relative",
271
- children: [/* @__PURE__ */ b(d, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }), /* @__PURE__ */ b("input", {
271
+ children: [/* @__PURE__ */ b(d, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ b("input", {
272
272
  type: "text",
273
273
  placeholder: "Search users...",
274
274
  value: R.searchQuery,
275
275
  onChange: (e) => H("searchQuery", e.target.value),
276
- className: "w-full rounded-lg border border-border bg-card py-2 pl-10 pr-4 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring"
276
+ className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 pl-10 pr-4 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
277
277
  })]
278
278
  }),
279
279
  /* @__PURE__ */ x("select", {
280
280
  value: R.role,
281
281
  onChange: (e) => H("role", e.target.value),
282
- 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",
282
+ 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)]",
283
283
  children: [
284
284
  /* @__PURE__ */ b("option", {
285
285
  value: "",
@@ -306,7 +306,7 @@ function C() {
306
306
  /* @__PURE__ */ x("select", {
307
307
  value: R.status,
308
308
  onChange: (e) => H("status", e.target.value),
309
- 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",
309
+ 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)]",
310
310
  children: [
311
311
  /* @__PURE__ */ b("option", {
312
312
  value: "",
@@ -333,7 +333,7 @@ function C() {
333
333
  /* @__PURE__ */ x("select", {
334
334
  value: R.registrationDate,
335
335
  onChange: (e) => H("registrationDate", e.target.value),
336
- 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",
336
+ 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)]",
337
337
  children: [
338
338
  /* @__PURE__ */ b("option", {
339
339
  value: "",
@@ -360,7 +360,7 @@ function C() {
360
360
  /* @__PURE__ */ x("select", {
361
361
  value: R.sortBy,
362
362
  onChange: (e) => H("sortBy", e.target.value),
363
- 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",
363
+ 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)]",
364
364
  children: [
365
365
  /* @__PURE__ */ b("option", {
366
366
  value: "recent",
@@ -380,12 +380,12 @@ function C() {
380
380
  })
381
381
  }),
382
382
  /* @__PURE__ */ x("div", {
383
- className: "rounded-lg border border-border bg-card overflow-hidden",
383
+ className: "rounded-lg border border-border-subtle bg-bg-surface overflow-hidden",
384
384
  children: [
385
385
  /* @__PURE__ */ b("div", {
386
386
  className: "block md:hidden space-y-4 p-4",
387
387
  children: J.map((e) => /* @__PURE__ */ x("div", {
388
- className: "rounded-lg border border-border bg-muted/30 p-4",
388
+ className: "rounded-lg border border-border-subtle bg-bg-sunken/30 p-4",
389
389
  children: [
390
390
  /* @__PURE__ */ x("div", {
391
391
  className: "flex items-center mb-3",
@@ -394,13 +394,13 @@ function C() {
394
394
  alt: `${e.firstName} ${e.lastName}`,
395
395
  className: "w-12 h-12 rounded-full object-cover mr-3"
396
396
  }) : /* @__PURE__ */ b("div", {
397
- className: "w-12 h-12 rounded-full bg-muted flex items-center justify-center mr-3",
398
- children: /* @__PURE__ */ b(_, { className: "h-6 w-6 text-muted-foreground" })
397
+ className: "w-12 h-12 rounded-full bg-bg-sunken flex items-center justify-center mr-3",
398
+ children: /* @__PURE__ */ b(_, { className: "h-6 w-6 text-text-secondary" })
399
399
  }), /* @__PURE__ */ x("div", {
400
400
  className: "flex-1 min-w-0",
401
401
  children: [
402
402
  /* @__PURE__ */ x("h3", {
403
- className: "font-medium text-foreground",
403
+ className: "font-medium text-text-primary",
404
404
  children: [
405
405
  e.firstName,
406
406
  " ",
@@ -408,11 +408,11 @@ function C() {
408
408
  ]
409
409
  }),
410
410
  /* @__PURE__ */ b("p", {
411
- className: "text-sm text-muted-foreground truncate",
411
+ className: "text-sm text-text-secondary truncate",
412
412
  children: e.email
413
413
  }),
414
414
  /* @__PURE__ */ b("p", {
415
- className: "text-sm text-muted-foreground",
415
+ className: "text-sm text-text-secondary",
416
416
  children: e.phone
417
417
  })
418
418
  ]
@@ -425,16 +425,16 @@ function C() {
425
425
  /* @__PURE__ */ x("div", {
426
426
  className: "grid grid-cols-2 gap-4 text-sm mb-3",
427
427
  children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
428
- className: "text-muted-foreground",
428
+ className: "text-text-secondary",
429
429
  children: "Registered"
430
430
  }), /* @__PURE__ */ b("p", {
431
- className: "text-foreground",
431
+ className: "text-text-primary",
432
432
  children: K(e.registrationDate)
433
433
  })] }), /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
434
- className: "text-muted-foreground",
434
+ className: "text-text-secondary",
435
435
  children: "Last Login"
436
436
  }), /* @__PURE__ */ b("p", {
437
- className: "text-foreground",
437
+ className: "text-text-primary",
438
438
  children: e.lastLoginTime ? K(e.lastLoginTime) : "Never"
439
439
  })] })]
440
440
  }),
@@ -443,22 +443,22 @@ function C() {
443
443
  children: [
444
444
  /* @__PURE__ */ x("div", {
445
445
  className: "flex items-center",
446
- children: [/* @__PURE__ */ b("span", { className: t("w-2 h-2 rounded-full mr-2", e.isEmailVerified ? "bg-green-500" : "bg-red-500") }), /* @__PURE__ */ b("span", {
447
- className: "text-sm text-muted-foreground",
446
+ children: [/* @__PURE__ */ b("span", { className: t("w-2 h-2 rounded-full mr-2", e.isEmailVerified ? "bg-status-success-bg-subtle" : "bg-status-error-bg-subtle") }), /* @__PURE__ */ b("span", {
447
+ className: "text-sm text-text-secondary",
448
448
  children: "Email"
449
449
  })]
450
450
  }),
451
451
  /* @__PURE__ */ x("div", {
452
452
  className: "flex items-center",
453
- children: [/* @__PURE__ */ b("span", { className: t("w-2 h-2 rounded-full mr-2", e.isPhoneVerified ? "bg-green-500" : "bg-red-500") }), /* @__PURE__ */ b("span", {
454
- className: "text-sm text-muted-foreground",
453
+ children: [/* @__PURE__ */ b("span", { className: t("w-2 h-2 rounded-full mr-2", e.isPhoneVerified ? "bg-status-success-bg-subtle" : "bg-status-error-bg-subtle") }), /* @__PURE__ */ b("span", {
454
+ className: "text-sm text-text-secondary",
455
455
  children: "Phone"
456
456
  })]
457
457
  }),
458
458
  e.kycStatus && /* @__PURE__ */ x("div", {
459
459
  className: "flex items-center",
460
- children: [/* @__PURE__ */ b("span", { className: t("w-2 h-2 rounded-full mr-2", e.kycStatus === "verified" ? "bg-green-500" : e.kycStatus === "pending" ? "bg-yellow-500" : "bg-red-500") }), /* @__PURE__ */ b("span", {
461
- className: "text-sm text-muted-foreground",
460
+ children: [/* @__PURE__ */ b("span", { className: t("w-2 h-2 rounded-full mr-2", e.kycStatus === "verified" ? "bg-status-success-bg-subtle" : e.kycStatus === "pending" ? "bg-status-warning-bg-subtle" : "bg-status-error-bg-subtle") }), /* @__PURE__ */ b("span", {
461
+ className: "text-sm text-text-secondary",
462
462
  children: "KYC"
463
463
  })]
464
464
  })
@@ -470,24 +470,24 @@ function C() {
470
470
  /* @__PURE__ */ b("button", {
471
471
  type: "button",
472
472
  onClick: () => U(e, "edit"),
473
- className: "rounded-lg border border-border px-3 py-1.5 text-sm font-medium text-foreground hover:bg-accent transition-colors",
473
+ className: "rounded-lg border border-border-subtle px-3 py-1.5 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
474
474
  children: "Edit"
475
475
  }),
476
476
  e.status === "active" ? /* @__PURE__ */ b("button", {
477
477
  type: "button",
478
478
  onClick: () => U(e, "suspend"),
479
- className: "rounded-lg border border-border px-3 py-1.5 text-sm font-medium text-red-600 hover:bg-red-500/10 transition-colors",
479
+ className: "rounded-lg border border-border-subtle px-3 py-1.5 text-sm font-medium text-status-error-text hover:bg-status-error-bg-subtle/10 transition-colors",
480
480
  children: "Suspend"
481
481
  }) : /* @__PURE__ */ b("button", {
482
482
  type: "button",
483
483
  onClick: () => U(e, "activate"),
484
- className: "rounded-lg border border-border px-3 py-1.5 text-sm font-medium text-green-600 hover:bg-green-500/10 transition-colors",
484
+ className: "rounded-lg border border-border-subtle px-3 py-1.5 text-sm font-medium text-status-success-text hover:bg-status-success-bg-subtle/10 transition-colors",
485
485
  children: "Activate"
486
486
  }),
487
487
  e.kycStatus === "pending" && /* @__PURE__ */ b("button", {
488
488
  type: "button",
489
489
  onClick: () => U(e, "verify"),
490
- className: "rounded-lg bg-primary px-3 py-1.5 text-sm font-medium text-primary-foreground hover:bg-primary/90 transition-colors",
490
+ className: "rounded-lg bg-action-primary-bg px-3 py-1.5 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
491
491
  children: "Verify"
492
492
  })
493
493
  ]
@@ -500,30 +500,30 @@ function C() {
500
500
  children: /* @__PURE__ */ x("table", {
501
501
  className: "w-full",
502
502
  children: [/* @__PURE__ */ b("thead", { children: /* @__PURE__ */ x("tr", {
503
- className: "border-b border-border bg-muted/50",
503
+ className: "border-b border-border-subtle bg-bg-sunken/50",
504
504
  children: [
505
505
  /* @__PURE__ */ b("th", {
506
- className: "px-4 py-3 text-left text-xs font-medium text-muted-foreground uppercase tracking-wider",
506
+ className: "px-4 py-3 text-left text-xs font-medium text-text-secondary uppercase tracking-wider",
507
507
  children: "User"
508
508
  }),
509
509
  /* @__PURE__ */ b("th", {
510
- className: "px-4 py-3 text-left text-xs font-medium text-muted-foreground uppercase tracking-wider",
510
+ className: "px-4 py-3 text-left text-xs font-medium text-text-secondary uppercase tracking-wider",
511
511
  children: "Role & Status"
512
512
  }),
513
513
  /* @__PURE__ */ b("th", {
514
- className: "px-4 py-3 text-left text-xs font-medium text-muted-foreground uppercase tracking-wider",
514
+ className: "px-4 py-3 text-left text-xs font-medium text-text-secondary uppercase tracking-wider",
515
515
  children: "Activity"
516
516
  }),
517
517
  /* @__PURE__ */ b("th", {
518
- className: "px-4 py-3 text-left text-xs font-medium text-muted-foreground uppercase tracking-wider",
518
+ className: "px-4 py-3 text-left text-xs font-medium text-text-secondary uppercase tracking-wider",
519
519
  children: "Performance"
520
520
  }),
521
521
  /* @__PURE__ */ b("th", {
522
- className: "px-4 py-3 text-left text-xs font-medium text-muted-foreground uppercase tracking-wider",
522
+ className: "px-4 py-3 text-left text-xs font-medium text-text-secondary uppercase tracking-wider",
523
523
  children: "Verification"
524
524
  }),
525
525
  /* @__PURE__ */ b("th", {
526
- className: "px-4 py-3 text-left text-xs font-medium text-muted-foreground uppercase tracking-wider",
526
+ className: "px-4 py-3 text-left text-xs font-medium text-text-secondary uppercase tracking-wider",
527
527
  children: "Actions"
528
528
  })
529
529
  ]
@@ -541,11 +541,11 @@ function C() {
541
541
  alt: `${e.firstName}`,
542
542
  className: "w-10 h-10 rounded-full object-cover"
543
543
  }) : /* @__PURE__ */ b("div", {
544
- className: "w-10 h-10 rounded-full bg-muted flex items-center justify-center",
545
- children: /* @__PURE__ */ b(_, { className: "h-5 w-5 text-muted-foreground" })
544
+ className: "w-10 h-10 rounded-full bg-bg-sunken flex items-center justify-center",
545
+ children: /* @__PURE__ */ b(_, { className: "h-5 w-5 text-text-secondary" })
546
546
  }), /* @__PURE__ */ x("div", { children: [
547
547
  /* @__PURE__ */ x("p", {
548
- className: "text-sm font-medium text-foreground",
548
+ className: "text-sm font-medium text-text-primary",
549
549
  children: [
550
550
  e.firstName,
551
551
  " ",
@@ -553,11 +553,11 @@ function C() {
553
553
  ]
554
554
  }),
555
555
  /* @__PURE__ */ b("p", {
556
- className: "text-xs text-muted-foreground",
556
+ className: "text-xs text-text-secondary",
557
557
  children: e.email
558
558
  }),
559
559
  /* @__PURE__ */ b("p", {
560
- className: "text-xs text-muted-foreground",
560
+ className: "text-xs text-text-secondary",
561
561
  children: e.phone
562
562
  })
563
563
  ] })]
@@ -578,15 +578,15 @@ function C() {
578
578
  className: "px-4 py-3 text-sm",
579
579
  children: [
580
580
  /* @__PURE__ */ x("p", {
581
- className: "text-foreground",
581
+ className: "text-text-primary",
582
582
  children: ["Registered: ", K(e.registrationDate)]
583
583
  }),
584
584
  e.lastLoginTime && /* @__PURE__ */ x("p", {
585
- className: "text-muted-foreground",
585
+ className: "text-text-secondary",
586
586
  children: ["Last login: ", K(e.lastLoginTime)]
587
587
  }),
588
588
  e.deviceInfo && /* @__PURE__ */ x("p", {
589
- className: "text-muted-foreground flex items-center gap-1",
589
+ className: "text-text-secondary flex items-center gap-1",
590
590
  children: [/* @__PURE__ */ b(p, { className: "h-3 w-3" }), e.deviceInfo]
591
591
  })
592
592
  ]
@@ -595,18 +595,18 @@ function C() {
595
595
  className: "px-4 py-3 text-sm",
596
596
  children: [
597
597
  e.role === "customer" && e.totalOrders != null && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ x("p", {
598
- className: "text-foreground",
598
+ className: "text-text-primary",
599
599
  children: [e.totalOrders, " orders"]
600
600
  }), /* @__PURE__ */ x("p", {
601
- className: "text-muted-foreground",
601
+ className: "text-text-secondary",
602
602
  children: [q(e.totalSpent ?? 0), " spent"]
603
603
  })] }),
604
604
  (e.role === "cart_owner" || e.role === "worker") && e.totalEarnings != null && /* @__PURE__ */ x("p", {
605
- className: "text-foreground",
605
+ className: "text-text-primary",
606
606
  children: [q(e.totalEarnings), " earned"]
607
607
  }),
608
608
  e.role === "investor" && e.riskScore != null && /* @__PURE__ */ x("p", {
609
- className: "text-foreground",
609
+ className: "text-text-primary",
610
610
  children: [
611
611
  "Risk: ",
612
612
  e.riskScore,
@@ -622,22 +622,22 @@ function C() {
622
622
  children: [
623
623
  /* @__PURE__ */ x("div", {
624
624
  className: "flex items-center gap-2",
625
- children: [/* @__PURE__ */ b("span", { className: t("w-2 h-2 rounded-full", e.isEmailVerified ? "bg-green-500" : "bg-red-500") }), /* @__PURE__ */ b("span", {
626
- className: "text-sm text-muted-foreground",
625
+ children: [/* @__PURE__ */ b("span", { className: t("w-2 h-2 rounded-full", e.isEmailVerified ? "bg-status-success-bg-subtle" : "bg-status-error-bg-subtle") }), /* @__PURE__ */ b("span", {
626
+ className: "text-sm text-text-secondary",
627
627
  children: "Email"
628
628
  })]
629
629
  }),
630
630
  /* @__PURE__ */ x("div", {
631
631
  className: "flex items-center gap-2",
632
- children: [/* @__PURE__ */ b("span", { className: t("w-2 h-2 rounded-full", e.isPhoneVerified ? "bg-green-500" : "bg-red-500") }), /* @__PURE__ */ b("span", {
633
- className: "text-sm text-muted-foreground",
632
+ children: [/* @__PURE__ */ b("span", { className: t("w-2 h-2 rounded-full", e.isPhoneVerified ? "bg-status-success-bg-subtle" : "bg-status-error-bg-subtle") }), /* @__PURE__ */ b("span", {
633
+ className: "text-sm text-text-secondary",
634
634
  children: "Phone"
635
635
  })]
636
636
  }),
637
637
  e.kycStatus && /* @__PURE__ */ x("div", {
638
638
  className: "flex items-center gap-2",
639
- children: [/* @__PURE__ */ b("span", { className: t("w-2 h-2 rounded-full", e.kycStatus === "verified" ? "bg-green-500" : e.kycStatus === "pending" ? "bg-yellow-500" : "bg-red-500") }), /* @__PURE__ */ b("span", {
640
- className: "text-sm text-muted-foreground",
639
+ children: [/* @__PURE__ */ b("span", { className: t("w-2 h-2 rounded-full", e.kycStatus === "verified" ? "bg-status-success-bg-subtle" : e.kycStatus === "pending" ? "bg-status-warning-bg-subtle" : "bg-status-error-bg-subtle") }), /* @__PURE__ */ b("span", {
640
+ className: "text-sm text-text-secondary",
641
641
  children: "KYC"
642
642
  })]
643
643
  })
@@ -653,27 +653,27 @@ function C() {
653
653
  type: "button",
654
654
  onClick: () => U(e, "edit"),
655
655
  title: "Edit",
656
- className: "rounded p-1.5 text-muted-foreground hover:text-foreground hover:bg-accent transition-colors",
656
+ className: "rounded p-1.5 text-text-secondary hover:text-text-primary hover:bg-accent transition-colors",
657
657
  children: /* @__PURE__ */ b(l, { className: "h-4 w-4" })
658
658
  }),
659
659
  e.status === "active" ? /* @__PURE__ */ b("button", {
660
660
  type: "button",
661
661
  onClick: () => U(e, "suspend"),
662
662
  title: "Suspend",
663
- className: "rounded p-1.5 text-muted-foreground hover:text-red-600 hover:bg-red-500/10 transition-colors",
663
+ className: "rounded p-1.5 text-text-secondary hover:text-status-error-text hover:bg-status-error-bg-subtle/10 transition-colors",
664
664
  children: /* @__PURE__ */ b(g, { className: "h-4 w-4" })
665
665
  }) : /* @__PURE__ */ b("button", {
666
666
  type: "button",
667
667
  onClick: () => U(e, "activate"),
668
668
  title: "Activate",
669
- className: "rounded p-1.5 text-muted-foreground hover:text-green-600 hover:bg-green-500/10 transition-colors",
669
+ className: "rounded p-1.5 text-text-secondary hover:text-status-success-text hover:bg-status-success-bg-subtle/10 transition-colors",
670
670
  children: /* @__PURE__ */ b(h, { className: "h-4 w-4" })
671
671
  }),
672
672
  e.kycStatus === "pending" && /* @__PURE__ */ b("button", {
673
673
  type: "button",
674
674
  onClick: () => U(e, "verify"),
675
675
  title: "Verify",
676
- className: "rounded p-1.5 text-muted-foreground hover:text-blue-600 hover:bg-blue-500/10 transition-colors",
676
+ className: "rounded p-1.5 text-text-secondary hover:text-accent-blue hover:bg-accent-blue-subtle/10 transition-colors",
677
677
  children: /* @__PURE__ */ b(f, { className: "h-4 w-4" })
678
678
  })
679
679
  ]
@@ -686,8 +686,8 @@ function C() {
686
686
  }),
687
687
  w.length === 0 && /* @__PURE__ */ x("div", {
688
688
  className: "flex flex-col items-center justify-center py-12 px-4",
689
- children: [/* @__PURE__ */ b(_, { className: "h-10 w-10 text-muted-foreground/50 mb-3" }), /* @__PURE__ */ b("p", {
690
- className: "text-sm text-muted-foreground",
689
+ children: [/* @__PURE__ */ b(_, { className: "h-10 w-10 text-text-secondary/50 mb-3" }), /* @__PURE__ */ b("p", {
690
+ className: "text-sm text-text-secondary",
691
691
  children: "No users found matching your criteria"
692
692
  })]
693
693
  })
@@ -696,7 +696,7 @@ function C() {
696
696
  /* @__PURE__ */ x("div", {
697
697
  className: "mt-6 flex flex-col sm:flex-row sm:items-center justify-between gap-4",
698
698
  children: [/* @__PURE__ */ x("p", {
699
- className: "text-sm text-muted-foreground text-center sm:text-left",
699
+ className: "text-sm text-text-secondary text-center sm:text-left",
700
700
  children: [
701
701
  "Showing",
702
702
  " ",
@@ -725,13 +725,13 @@ function C() {
725
725
  type: "button",
726
726
  disabled: I === 1,
727
727
  onClick: () => L((e) => Math.max(1, e - 1)),
728
- className: "flex items-center gap-1.5 rounded-lg border border-border px-3 py-2 text-sm font-medium text-foreground hover:bg-accent transition-colors disabled:opacity-50 disabled:cursor-not-allowed",
728
+ className: "flex items-center gap-1.5 rounded-lg border border-border-subtle px-3 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors disabled:opacity-50 disabled:cursor-not-allowed",
729
729
  children: [/* @__PURE__ */ b(s, { className: "h-4 w-4" }), "Previous"]
730
730
  }), /* @__PURE__ */ x("button", {
731
731
  type: "button",
732
732
  disabled: I * 10 >= w.length,
733
733
  onClick: () => L((e) => e + 1),
734
- className: "flex items-center gap-1.5 rounded-lg border border-border px-3 py-2 text-sm font-medium text-foreground hover:bg-accent transition-colors disabled:opacity-50 disabled:cursor-not-allowed",
734
+ className: "flex items-center gap-1.5 rounded-lg border border-border-subtle px-3 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors disabled:opacity-50 disabled:cursor-not-allowed",
735
735
  children: ["Next", /* @__PURE__ */ b(c, { className: "h-4 w-4" })]
736
736
  })]
737
737
  })]
@@ -739,22 +739,22 @@ function C() {
739
739
  A && O && /* @__PURE__ */ b("div", {
740
740
  className: "fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4",
741
741
  children: /* @__PURE__ */ x("div", {
742
- className: "w-full max-w-md rounded-lg border border-border bg-card shadow-lg max-h-[90vh] overflow-y-auto",
742
+ className: "w-full max-w-md rounded-lg border border-border-subtle bg-bg-surface shadow-lg max-h-[90vh] overflow-y-auto",
743
743
  children: [/* @__PURE__ */ x("div", {
744
- className: "flex items-center justify-between p-4 border-b border-border",
744
+ className: "flex items-center justify-between p-4 border-b border-border-subtle",
745
745
  children: [/* @__PURE__ */ b("h3", {
746
- className: "text-lg font-semibold text-foreground",
746
+ className: "text-lg font-semibold text-text-primary",
747
747
  children: M === "edit" ? "Edit User" : "Delete User"
748
748
  }), /* @__PURE__ */ b("button", {
749
749
  type: "button",
750
750
  onClick: () => j(!1),
751
- className: "rounded p-1.5 text-muted-foreground hover:text-foreground hover:bg-accent transition-colors",
751
+ className: "rounded p-1.5 text-text-secondary hover:text-text-primary hover:bg-accent transition-colors",
752
752
  children: /* @__PURE__ */ b(v, { className: "h-5 w-5" })
753
753
  })]
754
754
  }), /* @__PURE__ */ b("div", {
755
755
  className: "p-4",
756
756
  children: M === "delete" ? /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ x("p", {
757
- className: "text-muted-foreground mb-4",
757
+ className: "text-text-secondary mb-4",
758
758
  children: [
759
759
  "Are you sure you want to delete user \"",
760
760
  O.firstName,
@@ -767,12 +767,12 @@ function C() {
767
767
  children: [/* @__PURE__ */ b("button", {
768
768
  type: "button",
769
769
  onClick: () => j(!1),
770
- className: "flex-1 rounded-lg border border-border py-2 text-sm font-medium text-foreground hover:bg-accent transition-colors",
770
+ className: "flex-1 rounded-lg border border-border-subtle py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
771
771
  children: "Cancel"
772
772
  }), /* @__PURE__ */ b("button", {
773
773
  type: "button",
774
774
  onClick: W,
775
- className: "flex-1 rounded-lg bg-red-600 hover:bg-red-700 py-2 text-sm font-medium text-white transition-colors",
775
+ className: "flex-1 rounded-lg bg-status-error-bg-subtle hover:bg-status-error-bg-subtle py-2 text-sm font-medium text-white transition-colors",
776
776
  children: "Delete User"
777
777
  })]
778
778
  })] }) : /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ x("div", {
@@ -781,7 +781,7 @@ function C() {
781
781
  /* @__PURE__ */ x("div", {
782
782
  className: "grid grid-cols-2 gap-4",
783
783
  children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
784
- className: "block text-sm font-medium text-muted-foreground mb-1",
784
+ className: "block text-sm font-medium text-text-secondary mb-1",
785
785
  children: "First Name"
786
786
  }), /* @__PURE__ */ b("input", {
787
787
  type: "text",
@@ -790,9 +790,9 @@ function C() {
790
790
  ...t,
791
791
  firstName: e.target.value
792
792
  })),
793
- className: "w-full rounded-lg border border-border bg-card py-2 px-3 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring"
793
+ className: "w-full 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)]"
794
794
  })] }), /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
795
- className: "block text-sm font-medium text-muted-foreground mb-1",
795
+ className: "block text-sm font-medium text-text-secondary mb-1",
796
796
  children: "Last Name"
797
797
  }), /* @__PURE__ */ b("input", {
798
798
  type: "text",
@@ -801,11 +801,11 @@ function C() {
801
801
  ...t,
802
802
  lastName: e.target.value
803
803
  })),
804
- className: "w-full rounded-lg border border-border bg-card py-2 px-3 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring"
804
+ className: "w-full 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)]"
805
805
  })] })]
806
806
  }),
807
807
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
808
- className: "block text-sm font-medium text-muted-foreground mb-1",
808
+ className: "block text-sm font-medium text-text-secondary mb-1",
809
809
  children: "Email"
810
810
  }), /* @__PURE__ */ b("input", {
811
811
  type: "email",
@@ -814,10 +814,10 @@ function C() {
814
814
  ...t,
815
815
  email: e.target.value
816
816
  })),
817
- className: "w-full rounded-lg border border-border bg-card py-2 px-3 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring"
817
+ className: "w-full 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)]"
818
818
  })] }),
819
819
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
820
- className: "block text-sm font-medium text-muted-foreground mb-1",
820
+ className: "block text-sm font-medium text-text-secondary mb-1",
821
821
  children: "Phone"
822
822
  }), /* @__PURE__ */ b("input", {
823
823
  type: "tel",
@@ -826,10 +826,10 @@ function C() {
826
826
  ...t,
827
827
  phone: e.target.value
828
828
  })),
829
- className: "w-full rounded-lg border border-border bg-card py-2 px-3 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring"
829
+ className: "w-full 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)]"
830
830
  })] }),
831
831
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
832
- className: "block text-sm font-medium text-muted-foreground mb-1",
832
+ className: "block text-sm font-medium text-text-secondary mb-1",
833
833
  children: "Role"
834
834
  }), /* @__PURE__ */ x("select", {
835
835
  value: P.role,
@@ -837,7 +837,7 @@ function C() {
837
837
  ...t,
838
838
  role: e.target.value
839
839
  })),
840
- className: "w-full rounded-lg border border-border bg-card py-2 px-3 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring",
840
+ className: "w-full 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)]",
841
841
  children: [
842
842
  /* @__PURE__ */ b("option", {
843
843
  value: "customer",
@@ -864,19 +864,19 @@ function C() {
864
864
  /* @__PURE__ */ b("button", {
865
865
  type: "button",
866
866
  onClick: () => j(!1),
867
- className: "flex-1 rounded-lg border border-border py-2 text-sm font-medium text-foreground hover:bg-accent transition-colors",
867
+ className: "flex-1 rounded-lg border border-border-subtle py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
868
868
  children: "Cancel"
869
869
  }),
870
870
  /* @__PURE__ */ b("button", {
871
871
  type: "button",
872
872
  onClick: G,
873
- className: "flex-1 rounded-lg bg-primary py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 transition-colors",
873
+ className: "flex-1 rounded-lg bg-action-primary-bg py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
874
874
  children: "Save Changes"
875
875
  }),
876
876
  /* @__PURE__ */ b("button", {
877
877
  type: "button",
878
878
  onClick: () => N("delete"),
879
- className: "rounded-lg border border-border py-2 px-3 text-sm font-medium text-red-600 hover:bg-red-500/10 transition-colors",
879
+ className: "rounded-lg border border-border-subtle py-2 px-3 text-sm font-medium text-status-error-text hover:bg-status-error-bg-subtle/10 transition-colors",
880
880
  children: /* @__PURE__ */ b(m, { className: "h-4 w-4" })
881
881
  })
882
882
  ]