@burdenoff/microfe-kadaikodi 2026.608.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 (103) hide show
  1. package/dist/kadaikodi/components/EmptyState.js +8 -21
  2. package/dist/kadaikodi/components/EmptyState.js.map +1 -1
  3. package/dist/kadaikodi/components/InvestmentCard.js +30 -28
  4. package/dist/kadaikodi/components/InvestmentCard.js.map +1 -1
  5. package/dist/kadaikodi/components/MetricsCard.js +18 -15
  6. package/dist/kadaikodi/components/MetricsCard.js.map +1 -1
  7. package/dist/kadaikodi/components/PageLayout.js +29 -19
  8. package/dist/kadaikodi/components/PageLayout.js.map +1 -1
  9. package/dist/kadaikodi/components/RatingDisplay.js +3 -3
  10. package/dist/kadaikodi/components/RatingDisplay.js.map +1 -1
  11. package/dist/kadaikodi/components/StatusBadge.js +28 -15
  12. package/dist/kadaikodi/components/StatusBadge.js.map +1 -1
  13. package/dist/kadaikodi/pages/HomePage.js +89 -88
  14. package/dist/kadaikodi/pages/HomePage.js.map +1 -1
  15. package/dist/kadaikodi/pages/admin/AdminAnalyticsPage.js +88 -87
  16. package/dist/kadaikodi/pages/admin/AdminAnalyticsPage.js.map +1 -1
  17. package/dist/kadaikodi/pages/admin/AdminDashboard.js +174 -180
  18. package/dist/kadaikodi/pages/admin/AdminDashboard.js.map +1 -1
  19. package/dist/kadaikodi/pages/admin/AdminFinancialPage.js +48 -48
  20. package/dist/kadaikodi/pages/admin/AdminFinancialPage.js.map +1 -1
  21. package/dist/kadaikodi/pages/admin/AdminOrdersPage.js +95 -95
  22. package/dist/kadaikodi/pages/admin/AdminOrdersPage.js.map +1 -1
  23. package/dist/kadaikodi/pages/admin/AdminProfilePage.js +34 -34
  24. package/dist/kadaikodi/pages/admin/AdminProfilePage.js.map +1 -1
  25. package/dist/kadaikodi/pages/admin/AdminSettingsPage.js +40 -40
  26. package/dist/kadaikodi/pages/admin/AdminSettingsPage.js.map +1 -1
  27. package/dist/kadaikodi/pages/admin/CartManagementPage.js +103 -103
  28. package/dist/kadaikodi/pages/admin/CartManagementPage.js.map +1 -1
  29. package/dist/kadaikodi/pages/admin/UserManagementPage.js +98 -98
  30. package/dist/kadaikodi/pages/admin/UserManagementPage.js.map +1 -1
  31. package/dist/kadaikodi/pages/cart-owner/AnalyticsDashboard.js +117 -117
  32. package/dist/kadaikodi/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  33. package/dist/kadaikodi/pages/cart-owner/BusinessSettingsPage.js +33 -33
  34. package/dist/kadaikodi/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  35. package/dist/kadaikodi/pages/cart-owner/CartOwnerDashboard.js +109 -109
  36. package/dist/kadaikodi/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  37. package/dist/kadaikodi/pages/cart-owner/CartOwnerProfilePage.js +115 -115
  38. package/dist/kadaikodi/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  39. package/dist/kadaikodi/pages/cart-owner/CartServiceConfigPage.js +84 -84
  40. package/dist/kadaikodi/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  41. package/dist/kadaikodi/pages/cart-owner/InventoryManagementPage.js +106 -106
  42. package/dist/kadaikodi/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  43. package/dist/kadaikodi/pages/cart-owner/OrderManagementPage.js +88 -88
  44. package/dist/kadaikodi/pages/cart-owner/OrderManagementPage.js.map +1 -1
  45. package/dist/kadaikodi/pages/cart-owner/StaffManagementPage.js +94 -94
  46. package/dist/kadaikodi/pages/cart-owner/StaffManagementPage.js.map +1 -1
  47. package/dist/kadaikodi/pages/common/HelpSupportPage.js +138 -138
  48. package/dist/kadaikodi/pages/common/HelpSupportPage.js.map +1 -1
  49. package/dist/kadaikodi/pages/common/NotificationCenterPage.js +67 -66
  50. package/dist/kadaikodi/pages/common/NotificationCenterPage.js.map +1 -1
  51. package/dist/kadaikodi/pages/common/SettingsPage.js +115 -115
  52. package/dist/kadaikodi/pages/common/SettingsPage.js.map +1 -1
  53. package/dist/kadaikodi/pages/customer/BookingDetailsPage.js +72 -72
  54. package/dist/kadaikodi/pages/customer/BookingDetailsPage.js.map +1 -1
  55. package/dist/kadaikodi/pages/customer/CartDetailPage.js +85 -85
  56. package/dist/kadaikodi/pages/customer/CartDetailPage.js.map +1 -1
  57. package/dist/kadaikodi/pages/customer/CartDiscoveryPage.js +65 -64
  58. package/dist/kadaikodi/pages/customer/CartDiscoveryPage.js.map +1 -1
  59. package/dist/kadaikodi/pages/customer/CheckoutPage.js +80 -80
  60. package/dist/kadaikodi/pages/customer/CheckoutPage.js.map +1 -1
  61. package/dist/kadaikodi/pages/customer/CustomerDashboard.js +88 -88
  62. package/dist/kadaikodi/pages/customer/CustomerDashboard.js.map +1 -1
  63. package/dist/kadaikodi/pages/customer/CustomerProfilePage.js +84 -84
  64. package/dist/kadaikodi/pages/customer/CustomerProfilePage.js.map +1 -1
  65. package/dist/kadaikodi/pages/customer/DirectServiceBookingPage.js +91 -91
  66. package/dist/kadaikodi/pages/customer/DirectServiceBookingPage.js.map +1 -1
  67. package/dist/kadaikodi/pages/customer/FavoritesPage.js +34 -33
  68. package/dist/kadaikodi/pages/customer/FavoritesPage.js.map +1 -1
  69. package/dist/kadaikodi/pages/customer/OrderHistoryPage.js +43 -43
  70. package/dist/kadaikodi/pages/customer/OrderHistoryPage.js.map +1 -1
  71. package/dist/kadaikodi/pages/customer/OrderTrackingPage.js +60 -60
  72. package/dist/kadaikodi/pages/customer/OrderTrackingPage.js.map +1 -1
  73. package/dist/kadaikodi/pages/customer/PaymentMethodsPage.js +58 -57
  74. package/dist/kadaikodi/pages/customer/PaymentMethodsPage.js.map +1 -1
  75. package/dist/kadaikodi/pages/customer/ReviewsPage.js +47 -47
  76. package/dist/kadaikodi/pages/customer/ReviewsPage.js.map +1 -1
  77. package/dist/kadaikodi/pages/customer/SavedAddressesPage.js +46 -45
  78. package/dist/kadaikodi/pages/customer/SavedAddressesPage.js.map +1 -1
  79. package/dist/kadaikodi/pages/investor/InvestmentDetailsPage.js +128 -128
  80. package/dist/kadaikodi/pages/investor/InvestmentDetailsPage.js.map +1 -1
  81. package/dist/kadaikodi/pages/investor/InvestmentOpportunitiesPage.js +87 -87
  82. package/dist/kadaikodi/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  83. package/dist/kadaikodi/pages/investor/InvestorAnalyticsPage.js +89 -88
  84. package/dist/kadaikodi/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  85. package/dist/kadaikodi/pages/investor/InvestorDashboard.js +63 -62
  86. package/dist/kadaikodi/pages/investor/InvestorDashboard.js.map +1 -1
  87. package/dist/kadaikodi/pages/investor/InvestorInvestmentsPage.js +38 -38
  88. package/dist/kadaikodi/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  89. package/dist/kadaikodi/pages/investor/InvestorPortfolioPage.js +66 -66
  90. package/dist/kadaikodi/pages/investor/InvestorPortfolioPage.js.map +1 -1
  91. package/dist/kadaikodi/pages/investor/InvestorProfilePage.js +153 -153
  92. package/dist/kadaikodi/pages/investor/InvestorProfilePage.js.map +1 -1
  93. package/dist/kadaikodi/pages/worker/TaskDetailsPage.js +79 -79
  94. package/dist/kadaikodi/pages/worker/TaskDetailsPage.js.map +1 -1
  95. package/dist/kadaikodi/pages/worker/WorkerDashboard.js +106 -106
  96. package/dist/kadaikodi/pages/worker/WorkerDashboard.js.map +1 -1
  97. package/dist/kadaikodi/pages/worker/WorkerOrdersPage.js +72 -72
  98. package/dist/kadaikodi/pages/worker/WorkerOrdersPage.js.map +1 -1
  99. package/dist/kadaikodi/pages/worker/WorkerProfilePage.js +107 -107
  100. package/dist/kadaikodi/pages/worker/WorkerProfilePage.js.map +1 -1
  101. package/dist/kadaikodi/pages/worker/WorkerSchedulePage.js +69 -69
  102. package/dist/kadaikodi/pages/worker/WorkerSchedulePage.js.map +1 -1
  103. package/package.json +2 -2
@@ -18,28 +18,28 @@ var Y = {
18
18
  description: "Browse carts near you",
19
19
  icon: /* @__PURE__ */ q(P, { className: "h-5 w-5" }),
20
20
  path: "/customer/carts",
21
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
21
+ color: "bg-[var(--color-accent-soft)] text-text-primary"
22
22
  },
23
23
  {
24
24
  label: "My Orders",
25
25
  description: "Track your orders",
26
26
  icon: /* @__PURE__ */ q(L, { className: "h-5 w-5" }),
27
27
  path: "/customer/orders",
28
- color: "bg-green-500/10 text-green-600 dark:text-green-400"
28
+ color: "bg-status-success-bg-subtle text-status-success-text"
29
29
  },
30
30
  {
31
31
  label: "Favorites",
32
32
  description: "Your saved carts",
33
33
  icon: /* @__PURE__ */ q(E, { className: "h-5 w-5" }),
34
34
  path: "/customer/favorites",
35
- color: "bg-pink-500/10 text-pink-600 dark:text-pink-400"
35
+ color: "bg-accent-purple-subtle text-text-primary"
36
36
  },
37
37
  {
38
38
  label: "Settings",
39
39
  description: "Manage preferences",
40
40
  icon: /* @__PURE__ */ q(F, { className: "h-5 w-5" }),
41
41
  path: "/settings",
42
- color: "bg-muted text-muted-foreground"
42
+ color: "bg-bg-sunken text-text-secondary"
43
43
  }
44
44
  ],
45
45
  cart_owner: [
@@ -48,28 +48,28 @@ var Y = {
48
48
  description: "Manage your cart",
49
49
  icon: /* @__PURE__ */ q(V, { className: "h-5 w-5" }),
50
50
  path: "/owner/dashboard",
51
- color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
51
+ color: "bg-accent-purple-subtle text-text-primary"
52
52
  },
53
53
  {
54
54
  label: "Orders",
55
55
  description: "Incoming orders",
56
56
  icon: /* @__PURE__ */ q(L, { className: "h-5 w-5" }),
57
57
  path: "/owner/orders",
58
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
58
+ color: "bg-[var(--color-accent-soft)] text-text-primary"
59
59
  },
60
60
  {
61
61
  label: "Analytics",
62
62
  description: "Revenue & insights",
63
63
  icon: /* @__PURE__ */ q(v, { className: "h-5 w-5" }),
64
64
  path: "/owner/analytics",
65
- color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
65
+ color: "bg-status-success-bg-subtle text-status-success-text"
66
66
  },
67
67
  {
68
68
  label: "Staff",
69
69
  description: "Manage workers",
70
70
  icon: /* @__PURE__ */ q(W, { className: "h-5 w-5" }),
71
71
  path: "/owner/staff",
72
- color: "bg-orange-500/10 text-orange-600 dark:text-orange-400"
72
+ color: "bg-status-warning-bg-subtle text-status-warning-text"
73
73
  }
74
74
  ],
75
75
  worker: [
@@ -78,28 +78,28 @@ var Y = {
78
78
  description: "View assigned tasks",
79
79
  icon: /* @__PURE__ */ q(x, { className: "h-5 w-5" }),
80
80
  path: "/worker/dashboard",
81
- color: "bg-orange-500/10 text-orange-600 dark:text-orange-400"
81
+ color: "bg-status-warning-bg-subtle text-status-warning-text"
82
82
  },
83
83
  {
84
84
  label: "Schedule",
85
85
  description: "View shifts",
86
86
  icon: /* @__PURE__ */ q(S, { className: "h-5 w-5" }),
87
87
  path: "/worker/schedule",
88
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
88
+ color: "bg-[var(--color-accent-soft)] text-text-primary"
89
89
  },
90
90
  {
91
91
  label: "Earnings",
92
92
  description: "Track pay",
93
93
  icon: /* @__PURE__ */ q(G, { className: "h-5 w-5" }),
94
94
  path: "/worker/earnings",
95
- color: "bg-green-500/10 text-green-600 dark:text-green-400"
95
+ color: "bg-status-success-bg-subtle text-status-success-text"
96
96
  },
97
97
  {
98
98
  label: "Performance",
99
99
  description: "Ratings & stats",
100
100
  icon: /* @__PURE__ */ q(B, { className: "h-5 w-5" }),
101
101
  path: "/worker/performance",
102
- color: "bg-yellow-500/10 text-yellow-600 dark:text-yellow-400"
102
+ color: "bg-status-warning-bg-subtle text-status-warning-text"
103
103
  }
104
104
  ],
105
105
  investor: [
@@ -108,28 +108,28 @@ var Y = {
108
108
  description: "Your investments",
109
109
  icon: /* @__PURE__ */ q(H, { className: "h-5 w-5" }),
110
110
  path: "/investor/dashboard",
111
- color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
111
+ color: "bg-status-success-bg-subtle text-status-success-text"
112
112
  },
113
113
  {
114
114
  label: "Opportunities",
115
115
  description: "New investments",
116
116
  icon: /* @__PURE__ */ q(T, { className: "h-5 w-5" }),
117
117
  path: "/investor/opportunities",
118
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
118
+ color: "bg-[var(--color-accent-soft)] text-text-primary"
119
119
  },
120
120
  {
121
121
  label: "Returns",
122
122
  description: "Earnings history",
123
123
  icon: /* @__PURE__ */ q(O, { className: "h-5 w-5" }),
124
124
  path: "/investor/returns",
125
- color: "bg-green-500/10 text-green-600 dark:text-green-400"
125
+ color: "bg-status-success-bg-subtle text-status-success-text"
126
126
  },
127
127
  {
128
128
  label: "Reports",
129
129
  description: "Performance reports",
130
130
  icon: /* @__PURE__ */ q(C, { className: "h-5 w-5" }),
131
131
  path: "/investor/reports",
132
- color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
132
+ color: "bg-accent-purple-subtle text-text-primary"
133
133
  }
134
134
  ],
135
135
  admin: [
@@ -138,28 +138,28 @@ var Y = {
138
138
  description: "Platform overview",
139
139
  icon: /* @__PURE__ */ q(k, { className: "h-5 w-5" }),
140
140
  path: "/admin/dashboard",
141
- color: "bg-red-500/10 text-red-600 dark:text-red-400"
141
+ color: "bg-status-error-bg-subtle text-status-error-text"
142
142
  },
143
143
  {
144
144
  label: "Users",
145
145
  description: "Manage accounts",
146
146
  icon: /* @__PURE__ */ q(W, { className: "h-5 w-5" }),
147
147
  path: "/admin/users",
148
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
148
+ color: "bg-[var(--color-accent-soft)] text-text-primary"
149
149
  },
150
150
  {
151
151
  label: "Carts",
152
152
  description: "Approve & manage",
153
153
  icon: /* @__PURE__ */ q(V, { className: "h-5 w-5" }),
154
154
  path: "/admin/carts",
155
- color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
155
+ color: "bg-accent-purple-subtle text-text-primary"
156
156
  },
157
157
  {
158
158
  label: "Analytics",
159
159
  description: "Revenue reports",
160
160
  icon: /* @__PURE__ */ q(v, { className: "h-5 w-5" }),
161
161
  path: "/admin/analytics",
162
- color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
162
+ color: "bg-status-success-bg-subtle text-status-success-text"
163
163
  }
164
164
  ]
165
165
  };
@@ -321,47 +321,47 @@ var Z = [
321
321
  {
322
322
  label: "Food & Beverage",
323
323
  icon: /* @__PURE__ */ q(b, { className: "h-6 w-6" }),
324
- color: "bg-orange-500/10 text-orange-600 dark:text-orange-400"
324
+ color: "bg-status-warning-bg-subtle text-status-warning-text"
325
325
  },
326
326
  {
327
327
  label: "Personal Care & Beauty",
328
328
  icon: /* @__PURE__ */ q(N, { className: "h-6 w-6" }),
329
- color: "bg-pink-500/10 text-pink-600 dark:text-pink-400"
329
+ color: "bg-accent-purple-subtle text-text-primary"
330
330
  },
331
331
  {
332
332
  label: "Repair & Maintenance",
333
333
  icon: /* @__PURE__ */ q(K, { className: "h-6 w-6" }),
334
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
334
+ color: "bg-[var(--color-accent-soft)] text-text-primary"
335
335
  },
336
336
  {
337
337
  label: "Home Services",
338
338
  icon: /* @__PURE__ */ q(D, { className: "h-6 w-6" }),
339
- color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
339
+ color: "bg-status-success-bg-subtle text-status-success-text"
340
340
  },
341
341
  {
342
342
  label: "Clothing & Fashion",
343
343
  icon: /* @__PURE__ */ q(I, { className: "h-6 w-6" }),
344
- color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
344
+ color: "bg-accent-purple-subtle text-text-primary"
345
345
  },
346
346
  {
347
347
  label: "Health & Wellness",
348
348
  icon: /* @__PURE__ */ q(E, { className: "h-6 w-6" }),
349
- color: "bg-red-500/10 text-red-600 dark:text-red-400"
349
+ color: "bg-status-error-bg-subtle text-status-error-text"
350
350
  },
351
351
  {
352
352
  label: "Education & Skills",
353
353
  icon: /* @__PURE__ */ q(w, { className: "h-6 w-6" }),
354
- color: "bg-yellow-500/10 text-yellow-600 dark:text-yellow-400"
354
+ color: "bg-status-warning-bg-subtle text-status-warning-text"
355
355
  },
356
356
  {
357
357
  label: "Retail & Merchandise",
358
358
  icon: /* @__PURE__ */ q(M, { className: "h-6 w-6" }),
359
- color: "bg-indigo-500/10 text-indigo-600 dark:text-indigo-400"
359
+ color: "bg-[var(--color-accent-soft)] text-text-primary"
360
360
  },
361
361
  {
362
362
  label: "Grocery & Essentials",
363
363
  icon: /* @__PURE__ */ q(R, { className: "h-6 w-6" }),
364
- color: "bg-green-500/10 text-green-600 dark:text-green-400"
364
+ color: "bg-status-success-bg-subtle text-status-success-text"
365
365
  }
366
366
  ], Q = [
367
367
  {
@@ -465,10 +465,10 @@ function te() {
465
465
  }
466
466
  return e.sort((e, t) => t.rating - e.rating).slice(0, 6);
467
467
  }, [w.data, x]), V = d(() => [...T.data ?? []].sort((e, t) => new Date(t.orderDate).getTime() - new Date(e.orderDate).getTime()).slice(0, 3), [T.data]), H = {
468
- order: "text-blue-600 dark:text-blue-400",
469
- review: "text-yellow-600 dark:text-yellow-400",
470
- investment: "text-green-600 dark:text-green-400",
471
- cart: "text-purple-600 dark:text-purple-400"
468
+ order: "text-text-primary",
469
+ review: "text-status-warning-text",
470
+ investment: "text-status-success-text",
471
+ cart: "text-text-primary"
472
472
  }, U = (T.data ?? []).length === 0 && !T.isLoading, W = w.isLoading || T.isLoading || E.isLoading, G = w.isError || T.isError || E.isError;
473
473
  return W ? /* @__PURE__ */ q(n, {
474
474
  title: D("kadaikodi.common.loading", "Loading..."),
@@ -481,13 +481,13 @@ function te() {
481
481
  children: /* @__PURE__ */ J("div", {
482
482
  className: "flex h-[60vh] flex-col items-center justify-center gap-4",
483
483
  children: [
484
- /* @__PURE__ */ q(h, { className: "h-12 w-12 text-destructive" }),
484
+ /* @__PURE__ */ q(h, { className: "h-12 w-12 text-status-error-text" }),
485
485
  /* @__PURE__ */ q("h2", {
486
486
  className: "text-xl font-semibold",
487
487
  children: D("kadaikodi.common.errorLoading", "Error loading data")
488
488
  }),
489
489
  /* @__PURE__ */ q("p", {
490
- className: "text-muted-foreground",
490
+ className: "text-text-secondary",
491
491
  children: D("kadaikodi.common.tryAgain", "Please try again later.")
492
492
  })
493
493
  ]
@@ -497,27 +497,27 @@ function te() {
497
497
  description: F[M],
498
498
  children: [
499
499
  U && /* @__PURE__ */ q("section", {
500
- className: "mb-6 rounded-xl border border-border bg-gradient-to-r from-primary/5 via-primary/10 to-primary/5 p-6",
500
+ className: "mb-6 rounded-xl border border-border-subtle bg-gradient-to-r from-primary/5 via-primary/10 to-primary/5 p-6",
501
501
  children: /* @__PURE__ */ J("div", {
502
502
  className: "flex items-start gap-4",
503
503
  children: [/* @__PURE__ */ q("div", {
504
- className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-primary/10",
504
+ className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-action-primary-bg/10",
505
505
  children: /* @__PURE__ */ q(z, { className: "h-6 w-6 text-primary" })
506
506
  }), /* @__PURE__ */ J("div", {
507
507
  className: "flex-1",
508
508
  children: [
509
509
  /* @__PURE__ */ q("h2", {
510
- className: "text-lg font-semibold text-foreground",
510
+ className: "text-lg font-semibold text-text-primary",
511
511
  children: D("kadaikodi.home.welcomeTitle", "Welcome to Kadaikodi!")
512
512
  }),
513
513
  /* @__PURE__ */ q("p", {
514
- className: "mt-1 text-sm text-muted-foreground",
514
+ className: "mt-1 text-sm text-text-secondary",
515
515
  children: D("kadaikodi.home.welcomeDescription", "Your local services marketplace. Start by exploring service providers near you or browse categories to find what you need.")
516
516
  }),
517
517
  /* @__PURE__ */ J("button", {
518
518
  type: "button",
519
519
  onClick: () => v("/customer/carts"),
520
- className: "mt-3 inline-flex items-center gap-1.5 rounded-lg bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 transition-colors",
520
+ className: "mt-3 inline-flex items-center gap-1.5 rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
521
521
  children: [/* @__PURE__ */ q(P, { className: "h-4 w-4" }), D("kadaikodi.home.exploreServices", "Explore Services")]
522
522
  })
523
523
  ]
@@ -525,19 +525,19 @@ function te() {
525
525
  })
526
526
  }),
527
527
  /* @__PURE__ */ q("section", {
528
- className: "mb-6 rounded-xl border border-border bg-card p-6",
528
+ className: "mb-6 rounded-xl border border-border-subtle bg-bg-surface p-6",
529
529
  children: /* @__PURE__ */ J("div", {
530
530
  className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",
531
531
  children: [/* @__PURE__ */ J("div", { children: [
532
532
  /* @__PURE__ */ q("div", {
533
533
  className: "flex items-center gap-2 mb-1",
534
534
  children: /* @__PURE__ */ J("span", {
535
- className: "inline-flex items-center rounded-full bg-primary/10 px-2.5 py-0.5 text-xs font-medium text-primary",
535
+ className: "inline-flex items-center rounded-full bg-action-primary-bg/10 px-2.5 py-0.5 text-xs font-medium text-primary",
536
536
  children: [/* @__PURE__ */ q(_, { className: "mr-1 h-3 w-3" }), N[M]]
537
537
  })
538
538
  }),
539
539
  /* @__PURE__ */ J("h2", {
540
- className: "text-xl font-bold text-foreground",
540
+ className: "text-xl font-bold text-text-primary",
541
541
  children: [
542
542
  D("kadaikodi.home.good", "Good"),
543
543
  " ",
@@ -547,17 +547,17 @@ function te() {
547
547
  ]
548
548
  }),
549
549
  /* @__PURE__ */ q("p", {
550
- className: "mt-1 text-sm text-muted-foreground",
550
+ className: "mt-1 text-sm text-text-secondary",
551
551
  children: F[M]
552
552
  })
553
553
  ] }), /* @__PURE__ */ J("div", {
554
554
  className: "relative w-full sm:w-72",
555
- children: [/* @__PURE__ */ q(P, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }), /* @__PURE__ */ q("input", {
555
+ children: [/* @__PURE__ */ q(P, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ q("input", {
556
556
  type: "text",
557
557
  placeholder: D("kadaikodi.home.searchPlaceholder", "Search services, carts..."),
558
558
  value: x,
559
559
  onChange: (e) => C(e.target.value),
560
- className: "w-full rounded-lg border border-border bg-card py-2.5 pl-10 pr-3 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring"
560
+ className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2.5 pl-10 pr-3 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
561
561
  })]
562
562
  })]
563
563
  })
@@ -565,7 +565,7 @@ function te() {
565
565
  /* @__PURE__ */ J("section", {
566
566
  className: "mb-8",
567
567
  children: [/* @__PURE__ */ q("h2", {
568
- className: "text-lg font-semibold text-foreground mb-4",
568
+ className: "text-lg font-semibold text-text-primary mb-4",
569
569
  children: D("kadaikodi.home.quickStats", "Quick Stats")
570
570
  }), /* @__PURE__ */ q("div", {
571
571
  className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
@@ -581,14 +581,14 @@ function te() {
581
581
  /* @__PURE__ */ J("section", {
582
582
  className: "mb-8",
583
583
  children: [/* @__PURE__ */ q("h2", {
584
- className: "text-lg font-semibold text-foreground mb-4",
584
+ className: "text-lg font-semibold text-text-primary mb-4",
585
585
  children: D("kadaikodi.home.quickActions", "Quick Actions")
586
586
  }), /* @__PURE__ */ q("div", {
587
587
  className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
588
588
  children: I.map((e) => /* @__PURE__ */ J("button", {
589
589
  type: "button",
590
590
  onClick: () => v(e.path),
591
- className: t("flex items-start gap-3 rounded-lg border border-border bg-card p-4 text-left shadow-sm transition-all", "hover:border-accent-foreground/20 hover:shadow-md"),
591
+ className: t("flex items-start gap-3 rounded-lg border border-border-subtle bg-bg-surface p-4 text-left shadow-sm transition-all", "hover:border-accent-foreground/20 hover:shadow-md"),
592
592
  children: [
593
593
  /* @__PURE__ */ q("div", {
594
594
  className: t("flex h-10 w-10 shrink-0 items-center justify-center rounded-lg", e.color),
@@ -597,14 +597,14 @@ function te() {
597
597
  /* @__PURE__ */ J("div", {
598
598
  className: "min-w-0 flex-1",
599
599
  children: [/* @__PURE__ */ q("p", {
600
- className: "text-sm font-semibold text-foreground",
600
+ className: "text-sm font-semibold text-text-primary",
601
601
  children: e.label
602
602
  }), /* @__PURE__ */ q("p", {
603
- className: "mt-0.5 text-xs text-muted-foreground",
603
+ className: "mt-0.5 text-xs text-text-secondary",
604
604
  children: e.description
605
605
  })]
606
606
  }),
607
- /* @__PURE__ */ q(g, { className: "h-4 w-4 text-muted-foreground shrink-0 mt-1" })
607
+ /* @__PURE__ */ q(g, { className: "h-4 w-4 text-text-secondary shrink-0 mt-1" })
608
608
  ]
609
609
  }, e.label))
610
610
  })]
@@ -614,7 +614,7 @@ function te() {
614
614
  children: [/* @__PURE__ */ J("div", {
615
615
  className: "flex items-center justify-between mb-4",
616
616
  children: [/* @__PURE__ */ q("h2", {
617
- className: "text-lg font-semibold text-foreground",
617
+ className: "text-lg font-semibold text-text-primary",
618
618
  children: x ? D("kadaikodi.home.searchResults", "Search Results") : D("kadaikodi.home.featuredCarts", "Featured Carts")
619
619
  }), /* @__PURE__ */ J("button", {
620
620
  type: "button",
@@ -627,13 +627,14 @@ function te() {
627
627
  ]
628
628
  })]
629
629
  }), R.length === 0 ? /* @__PURE__ */ q(a, {
630
+ illustration: "empty-search",
630
631
  icon: /* @__PURE__ */ q(P, { className: "h-10 w-10" }),
631
632
  title: D("kadaikodi.home.noCartsFound", "No carts found"),
632
633
  description: D("kadaikodi.home.noCartsDescription", "Try adjusting your search or browse all categories"),
633
634
  action: /* @__PURE__ */ q("button", {
634
635
  type: "button",
635
636
  onClick: () => C(""),
636
- className: "rounded-lg border border-border px-4 py-2 text-sm font-medium text-foreground hover:bg-accent transition-colors",
637
+ className: "rounded-lg border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
637
638
  children: D("kadaikodi.home.clearSearch", "Clear Search")
638
639
  })
639
640
  }) : /* @__PURE__ */ q("div", {
@@ -645,9 +646,9 @@ function te() {
645
646
  onKeyDown: (t) => {
646
647
  (t.key === "Enter" || t.key === " ") && (t.preventDefault(), v(`/customer/cart/${e.id}`));
647
648
  },
648
- className: "rounded-lg border border-border bg-card shadow-sm overflow-hidden transition-all hover:shadow-md hover:border-accent-foreground/20 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
649
+ className: "rounded-lg border border-border-subtle bg-bg-surface shadow-sm overflow-hidden transition-all hover:shadow-md hover:border-accent-foreground/20 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]",
649
650
  children: [/* @__PURE__ */ J("div", {
650
- className: "relative h-40 bg-muted",
651
+ className: "relative h-40 bg-bg-sunken",
651
652
  children: [
652
653
  /* @__PURE__ */ q("img", {
653
654
  src: e.image,
@@ -662,7 +663,7 @@ function te() {
662
663
  e.isVerified && /* @__PURE__ */ q("div", {
663
664
  className: "absolute top-2 left-2",
664
665
  children: /* @__PURE__ */ J("span", {
665
- className: "inline-flex items-center gap-1 rounded-full bg-blue-500/90 px-2 py-0.5 text-xs font-medium text-white backdrop-blur-sm",
666
+ className: "inline-flex items-center gap-1 rounded-full bg-[var(--color-accent-soft)] px-2 py-0.5 text-xs font-medium text-white backdrop-blur-sm",
666
667
  children: [
667
668
  /* @__PURE__ */ q(_, { className: "h-3 w-3" }),
668
669
  " ",
@@ -691,14 +692,14 @@ function te() {
691
692
  children: [/* @__PURE__ */ J("div", {
692
693
  className: "min-w-0 flex-1",
693
694
  children: [/* @__PURE__ */ q("h3", {
694
- className: "text-base font-semibold text-foreground truncate",
695
+ className: "text-base font-semibold text-text-primary truncate",
695
696
  children: e.name
696
697
  }), /* @__PURE__ */ q("p", {
697
- className: "mt-0.5 text-sm text-muted-foreground",
698
+ className: "mt-0.5 text-sm text-text-secondary",
698
699
  children: e.category
699
700
  })]
700
701
  }), /* @__PURE__ */ J("div", {
701
- className: "flex items-center gap-1 rounded bg-green-600 px-1.5 py-0.5 ml-2 shrink-0",
702
+ className: "flex items-center gap-1 rounded bg-status-success-text px-1.5 py-0.5 ml-2 shrink-0",
702
703
  children: [/* @__PURE__ */ q(B, { className: "h-3 w-3 fill-white text-white" }), /* @__PURE__ */ q("span", {
703
704
  className: "text-xs font-bold text-white",
704
705
  children: e.rating
@@ -706,7 +707,7 @@ function te() {
706
707
  })]
707
708
  }),
708
709
  /* @__PURE__ */ J("div", {
709
- className: "mt-3 flex items-center gap-4 text-xs text-muted-foreground",
710
+ className: "mt-3 flex items-center gap-4 text-xs text-text-secondary",
710
711
  children: [
711
712
  /* @__PURE__ */ J("span", {
712
713
  className: "flex items-center gap-1",
@@ -741,7 +742,7 @@ function te() {
741
742
  e.serviceTypes && e.serviceTypes.length > 0 && /* @__PURE__ */ q("div", {
742
743
  className: "mt-3 flex flex-wrap gap-1.5",
743
744
  children: e.serviceTypes.slice(0, 3).map((e) => /* @__PURE__ */ q("span", {
744
- className: "inline-flex items-center rounded-full bg-muted px-2 py-0.5 text-xs text-muted-foreground",
745
+ className: "inline-flex items-center rounded-full bg-bg-sunken px-2 py-0.5 text-xs text-text-secondary",
745
746
  children: e.replace(/_/g, " ")
746
747
  }, e))
747
748
  })
@@ -755,7 +756,7 @@ function te() {
755
756
  children: [/* @__PURE__ */ J("div", {
756
757
  className: "flex items-center justify-between mb-4",
757
758
  children: [/* @__PURE__ */ q("h2", {
758
- className: "text-lg font-semibold text-foreground",
759
+ className: "text-lg font-semibold text-text-primary",
759
760
  children: D("kadaikodi.home.recentOrders", "Recent Orders")
760
761
  }), /* @__PURE__ */ J("button", {
761
762
  type: "button",
@@ -768,7 +769,7 @@ function te() {
768
769
  ]
769
770
  })]
770
771
  }), /* @__PURE__ */ q("div", {
771
- className: "rounded-lg border border-border bg-card divide-y divide-border",
772
+ className: "rounded-lg border border-border-subtle bg-bg-surface divide-y divide-border",
772
773
  children: V.map((e) => /* @__PURE__ */ J("div", {
773
774
  role: "button",
774
775
  tabIndex: 0,
@@ -788,21 +789,21 @@ function te() {
788
789
  children: [/* @__PURE__ */ J("div", {
789
790
  className: "flex items-center gap-2",
790
791
  children: [/* @__PURE__ */ q("p", {
791
- className: "text-sm font-medium text-foreground truncate",
792
+ className: "text-sm font-medium text-text-primary truncate",
792
793
  children: e.cartName
793
794
  }), /* @__PURE__ */ q(i, { status: e.status })]
794
795
  }), /* @__PURE__ */ q("p", {
795
- className: "text-xs text-muted-foreground mt-0.5",
796
+ className: "text-xs text-text-secondary mt-0.5",
796
797
  children: e.items.map((e) => e.name).join(", ")
797
798
  })]
798
799
  }),
799
800
  /* @__PURE__ */ J("div", {
800
801
  className: "text-right shrink-0",
801
802
  children: [/* @__PURE__ */ q("p", {
802
- className: "text-sm font-semibold text-foreground",
803
+ className: "text-sm font-semibold text-text-primary",
803
804
  children: s(e.total, { minimumFractionDigits: 0 })
804
805
  }), /* @__PURE__ */ q("p", {
805
- className: "text-xs text-muted-foreground",
806
+ className: "text-xs text-text-secondary",
806
807
  children: l(e.orderDate)
807
808
  })]
808
809
  })
@@ -813,30 +814,30 @@ function te() {
813
814
  /* @__PURE__ */ J("section", {
814
815
  className: "mb-8",
815
816
  children: [/* @__PURE__ */ q("h2", {
816
- className: "text-lg font-semibold text-foreground mb-4",
817
+ className: "text-lg font-semibold text-text-primary mb-4",
817
818
  children: D("kadaikodi.home.howItWorks", "How It Works")
818
819
  }), /* @__PURE__ */ q("div", {
819
820
  className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
820
821
  children: Q.map((e) => /* @__PURE__ */ J("div", {
821
- className: "relative rounded-lg border border-border bg-card p-5 text-center",
822
+ className: "relative rounded-lg border border-border-subtle bg-bg-surface p-5 text-center",
822
823
  children: [
823
824
  /* @__PURE__ */ q("div", {
824
825
  className: "absolute -top-3 left-1/2 -translate-x-1/2",
825
826
  children: /* @__PURE__ */ q("span", {
826
- className: "inline-flex h-6 w-6 items-center justify-center rounded-full bg-primary text-xs font-bold text-primary-foreground",
827
+ className: "inline-flex h-6 w-6 items-center justify-center rounded-full bg-action-primary-bg text-xs font-bold text-action-primary-text",
827
828
  children: e.step
828
829
  })
829
830
  }),
830
831
  /* @__PURE__ */ q("div", {
831
- className: "mt-2 flex justify-center text-muted-foreground mb-3",
832
+ className: "mt-2 flex justify-center text-text-secondary mb-3",
832
833
  children: e.icon
833
834
  }),
834
835
  /* @__PURE__ */ q("h3", {
835
- className: "text-sm font-semibold text-foreground",
836
+ className: "text-sm font-semibold text-text-primary",
836
837
  children: e.title
837
838
  }),
838
839
  /* @__PURE__ */ q("p", {
839
- className: "mt-1 text-xs text-muted-foreground",
840
+ className: "mt-1 text-xs text-text-secondary",
840
841
  children: e.description
841
842
  })
842
843
  ]
@@ -846,19 +847,19 @@ function te() {
846
847
  /* @__PURE__ */ J("section", {
847
848
  className: "mb-8",
848
849
  children: [/* @__PURE__ */ q("h2", {
849
- className: "text-lg font-semibold text-foreground mb-4",
850
+ className: "text-lg font-semibold text-text-primary mb-4",
850
851
  children: D("kadaikodi.home.browseByCategory", "Browse by Category")
851
852
  }), /* @__PURE__ */ q("div", {
852
853
  className: "grid grid-cols-3 gap-3 sm:grid-cols-4 lg:grid-cols-5",
853
854
  children: Z.map((e) => /* @__PURE__ */ J("button", {
854
855
  type: "button",
855
856
  onClick: () => v(`/customer/carts?category=${encodeURIComponent(e.label)}`),
856
- className: "flex flex-col items-center gap-2 rounded-lg border border-border bg-card p-4 text-center hover:shadow-sm hover:border-accent-foreground/20 transition-all",
857
+ className: "flex flex-col items-center gap-2 rounded-lg border border-border-subtle bg-bg-surface p-4 text-center hover:shadow-sm hover:border-accent-foreground/20 transition-all",
857
858
  children: [/* @__PURE__ */ q("div", {
858
859
  className: t("flex h-12 w-12 items-center justify-center rounded-full", e.color),
859
860
  children: e.icon
860
861
  }), /* @__PURE__ */ q("span", {
861
- className: "text-xs font-medium text-foreground leading-tight",
862
+ className: "text-xs font-medium text-text-primary leading-tight",
862
863
  children: e.label
863
864
  })]
864
865
  }, e.label))
@@ -867,46 +868,46 @@ function te() {
867
868
  /* @__PURE__ */ J("section", {
868
869
  className: "mb-8",
869
870
  children: [/* @__PURE__ */ q("h2", {
870
- className: "text-lg font-semibold text-foreground mb-4",
871
+ className: "text-lg font-semibold text-text-primary mb-4",
871
872
  children: D("kadaikodi.home.platformStats", "Platform Stats")
872
873
  }), /* @__PURE__ */ q("div", {
873
874
  className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
874
875
  children: ee.map((e) => /* @__PURE__ */ J("div", {
875
- className: "flex items-center gap-3 rounded-lg border border-border bg-card p-4",
876
+ className: "flex items-center gap-3 rounded-lg border border-border-subtle bg-bg-surface p-4",
876
877
  children: [/* @__PURE__ */ q("div", {
877
- className: "flex h-10 w-10 items-center justify-center rounded-full bg-primary/10 text-primary shrink-0",
878
+ className: "flex h-10 w-10 items-center justify-center rounded-full bg-action-primary-bg/10 text-primary shrink-0",
878
879
  children: e.icon
879
880
  }), /* @__PURE__ */ J("div", { children: [/* @__PURE__ */ q("p", {
880
- className: "text-lg font-bold text-foreground",
881
+ className: "text-lg font-bold text-text-primary",
881
882
  children: e.value
882
883
  }), /* @__PURE__ */ q("p", {
883
- className: "text-xs text-muted-foreground",
884
+ className: "text-xs text-text-secondary",
884
885
  children: e.label
885
886
  })] })]
886
887
  }, e.label))
887
888
  })]
888
889
  }),
889
890
  /* @__PURE__ */ J("section", { children: [/* @__PURE__ */ q("h2", {
890
- className: "text-lg font-semibold text-foreground mb-4",
891
+ className: "text-lg font-semibold text-text-primary mb-4",
891
892
  children: D("kadaikodi.home.recentActivity", "Recent Activity")
892
893
  }), /* @__PURE__ */ q("div", {
893
- className: "rounded-lg border border-border bg-card divide-y divide-border",
894
+ className: "rounded-lg border border-border-subtle bg-bg-surface divide-y divide-border",
894
895
  children: $.map((e) => /* @__PURE__ */ J("div", {
895
896
  className: "flex items-center gap-3 px-4 py-3",
896
897
  children: [
897
898
  /* @__PURE__ */ q("div", {
898
- className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-muted",
899
- children: /* @__PURE__ */ q(m, { className: t("h-4 w-4", H[e.type] ?? "text-muted-foreground") })
899
+ className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-bg-sunken",
900
+ children: /* @__PURE__ */ q(m, { className: t("h-4 w-4", H[e.type] ?? "text-text-secondary") })
900
901
  }),
901
902
  /* @__PURE__ */ q("div", {
902
903
  className: "flex-1 min-w-0",
903
904
  children: /* @__PURE__ */ q("p", {
904
- className: "text-sm text-foreground truncate",
905
+ className: "text-sm text-text-primary truncate",
905
906
  children: e.description
906
907
  })
907
908
  }),
908
909
  /* @__PURE__ */ q("span", {
909
- className: "text-xs text-muted-foreground whitespace-nowrap",
910
+ className: "text-xs text-text-secondary whitespace-nowrap",
910
911
  children: e.time
911
912
  })
912
913
  ]