@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
@@ -8,13 +8,13 @@ import { Boxes as l, CalendarDays as u, CheckCircle2 as d, ChefHat as f, Chevron
8
8
  import { jsx as O, jsxs as k } from "react/jsx-runtime";
9
9
  //#region src/adaptercloud/pages/worker/WorkerDashboard.tsx
10
10
  var A = {
11
- high: "bg-red-500/20 text-red-600 dark:text-red-400",
12
- medium: "bg-yellow-500/20 text-yellow-600 dark:text-yellow-400",
13
- low: "bg-green-500/20 text-green-600 dark:text-green-400"
11
+ high: "bg-status-error-bg-subtle/20 text-status-error-text",
12
+ medium: "bg-status-warning-bg-subtle/20 text-status-warning-text",
13
+ low: "bg-status-success-bg-subtle/20 text-status-success-text"
14
14
  }, j = {
15
15
  pending: "bg-secondary text-secondary-foreground",
16
- in_progress: "bg-blue-500/20 text-blue-600 dark:text-blue-400",
17
- completed: "bg-green-500/20 text-green-600 dark:text-green-400"
16
+ in_progress: "bg-accent-blue-subtle/20 text-accent-blue",
17
+ completed: "bg-status-success-bg-subtle/20 text-status-success-text"
18
18
  };
19
19
  function M(e) {
20
20
  switch (e) {
@@ -81,8 +81,8 @@ var N = {
81
81
  className: "flex items-center justify-center py-24",
82
82
  children: /* @__PURE__ */ k("div", {
83
83
  className: "text-center",
84
- children: [/* @__PURE__ */ O(g, { className: "h-10 w-10 animate-spin text-muted-foreground mx-auto mb-4" }), /* @__PURE__ */ O("p", {
85
- className: "text-sm text-muted-foreground",
84
+ children: [/* @__PURE__ */ O(g, { className: "h-10 w-10 animate-spin text-text-secondary mx-auto mb-4" }), /* @__PURE__ */ O("p", {
85
+ className: "text-sm text-text-secondary",
86
86
  children: "Loading your dashboard..."
87
87
  })]
88
88
  })
@@ -95,14 +95,14 @@ var N = {
95
95
  actions: /* @__PURE__ */ k("button", {
96
96
  type: "button",
97
97
  onClick: () => l("/worker/orders"),
98
- className: "inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-medium text-foreground hover:bg-accent/80 transition-colors",
98
+ className: "inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent/80 transition-colors",
99
99
  children: ["View All Orders", /* @__PURE__ */ O(p, { className: "h-4 w-4" })]
100
100
  }),
101
101
  children: /* @__PURE__ */ k("div", {
102
102
  className: "space-y-6",
103
103
  children: [
104
104
  /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("h2", {
105
- className: "text-base font-semibold text-foreground mb-3",
105
+ className: "text-base font-semibold text-text-primary mb-3",
106
106
  children: "Quick Actions"
107
107
  }), /* @__PURE__ */ k("div", {
108
108
  className: "grid grid-cols-2 lg:grid-cols-4 gap-3",
@@ -110,25 +110,25 @@ var N = {
110
110
  /* @__PURE__ */ k("button", {
111
111
  type: "button",
112
112
  onClick: () => l("/worker/orders"),
113
- className: "flex items-center justify-center gap-2 rounded-lg border border-border bg-card px-4 py-3 text-sm font-medium text-foreground hover:bg-muted transition-colors",
113
+ className: "flex items-center justify-center gap-2 rounded-lg border border-border-subtle bg-bg-surface px-4 py-3 text-sm font-medium text-text-primary hover:bg-bg-sunken transition-colors",
114
114
  children: [/* @__PURE__ */ O(v, { className: "h-4 w-4" }), "My Orders"]
115
115
  }),
116
116
  /* @__PURE__ */ k("button", {
117
117
  type: "button",
118
118
  onClick: () => l("/worker/schedule"),
119
- className: "flex items-center justify-center gap-2 rounded-lg border border-border bg-card px-4 py-3 text-sm font-medium text-foreground hover:bg-muted transition-colors",
119
+ className: "flex items-center justify-center gap-2 rounded-lg border border-border-subtle bg-bg-surface px-4 py-3 text-sm font-medium text-text-primary hover:bg-bg-sunken transition-colors",
120
120
  children: [/* @__PURE__ */ O(u, { className: "h-4 w-4" }), "Schedule"]
121
121
  }),
122
122
  /* @__PURE__ */ k("button", {
123
123
  type: "button",
124
124
  onClick: () => l("/worker/profile"),
125
- className: "flex items-center justify-center gap-2 rounded-lg border border-border bg-card px-4 py-3 text-sm font-medium text-foreground hover:bg-muted transition-colors",
125
+ className: "flex items-center justify-center gap-2 rounded-lg border border-border-subtle bg-bg-surface px-4 py-3 text-sm font-medium text-text-primary hover:bg-bg-sunken transition-colors",
126
126
  children: [/* @__PURE__ */ O(E, { className: "h-4 w-4" }), "Profile"]
127
127
  }),
128
128
  /* @__PURE__ */ k("button", {
129
129
  type: "button",
130
130
  onClick: G,
131
- className: t("flex items-center justify-center gap-2 rounded-lg px-4 py-3 text-sm font-medium transition-colors", B ? "bg-red-500/10 text-red-600 dark:text-red-400 border border-red-500/30 hover:bg-red-500/20" : "bg-green-500/10 text-green-600 dark:text-green-400 border border-green-500/30 hover:bg-green-500/20"),
131
+ className: t("flex items-center justify-center gap-2 rounded-lg px-4 py-3 text-sm font-medium transition-colors", B ? "bg-status-error-bg-subtle/10 text-status-error-text border border-status-error-border/30 hover:bg-status-error-bg-subtle/20" : "bg-status-success-bg-subtle/10 text-status-success-text border border-status-success-border/30 hover:bg-status-success-bg-subtle/20"),
132
132
  children: [/* @__PURE__ */ O(C, { className: "h-4 w-4" }), B ? "Clock Out" : "Clock In"]
133
133
  })
134
134
  ]
@@ -136,15 +136,15 @@ var N = {
136
136
  P && /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ k("div", {
137
137
  className: "flex items-center justify-between mb-3",
138
138
  children: [/* @__PURE__ */ O("h2", {
139
- className: "text-base font-semibold text-foreground",
139
+ className: "text-base font-semibold text-text-primary",
140
140
  children: "Today's Overview"
141
141
  }), B && H && /* @__PURE__ */ k("div", {
142
- className: "flex items-center gap-2 rounded-lg bg-green-500/10 border border-green-500/20 px-3 py-1.5",
142
+ className: "flex items-center gap-2 rounded-lg bg-status-success-bg-subtle/10 border border-status-success-border/20 px-3 py-1.5",
143
143
  children: [/* @__PURE__ */ k("span", {
144
144
  className: "relative flex h-2 w-2",
145
- children: [/* @__PURE__ */ O("span", { className: "animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75" }), /* @__PURE__ */ O("span", { className: "relative inline-flex rounded-full h-2 w-2 bg-green-500" })]
145
+ children: [/* @__PURE__ */ O("span", { className: "animate-ping absolute inline-flex h-full w-full rounded-full bg-status-success-bg-subtle opacity-75" }), /* @__PURE__ */ O("span", { className: "relative inline-flex rounded-full h-2 w-2 bg-status-success-bg-subtle" })]
146
146
  }), /* @__PURE__ */ k("span", {
147
- className: "text-xs font-medium text-green-600 dark:text-green-400",
147
+ className: "text-xs font-medium text-status-success-text",
148
148
  children: ["Working since ", H]
149
149
  })]
150
150
  })]
@@ -152,121 +152,121 @@ var N = {
152
152
  className: "grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-3",
153
153
  children: [
154
154
  /* @__PURE__ */ k("div", {
155
- className: "rounded-lg border border-border bg-card p-4 shadow-sm",
155
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 bg-gloss-card shadow-pop",
156
156
  children: [
157
157
  /* @__PURE__ */ O("div", {
158
158
  className: "flex items-center gap-2 mb-2",
159
159
  children: /* @__PURE__ */ O("div", {
160
- className: "inline-flex rounded-md p-1.5 bg-green-500/10 text-green-600 dark:text-green-400",
160
+ className: "inline-flex rounded-md p-1.5 bg-status-success-bg-subtle/10 text-status-success-text",
161
161
  children: /* @__PURE__ */ O(d, { className: "h-4 w-4" })
162
162
  })
163
163
  }),
164
164
  /* @__PURE__ */ O("p", {
165
- className: "text-2xl font-bold text-green-600 dark:text-green-400",
165
+ className: "text-2xl font-bold text-status-success-text",
166
166
  children: P.tasksCompleted
167
167
  }),
168
168
  /* @__PURE__ */ O("p", {
169
- className: "text-xs text-muted-foreground",
169
+ className: "text-xs text-text-secondary",
170
170
  children: "Completed"
171
171
  })
172
172
  ]
173
173
  }),
174
174
  /* @__PURE__ */ k("div", {
175
- className: "rounded-lg border border-border bg-card p-4 shadow-sm",
175
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 bg-gloss-card shadow-pop",
176
176
  children: [
177
177
  /* @__PURE__ */ O("div", {
178
178
  className: "flex items-center gap-2 mb-2",
179
179
  children: /* @__PURE__ */ O("div", {
180
- className: "inline-flex rounded-md p-1.5 bg-blue-500/10 text-blue-600 dark:text-blue-400",
180
+ className: "inline-flex rounded-md p-1.5 bg-accent-blue-subtle/10 text-accent-blue",
181
181
  children: /* @__PURE__ */ O(b, { className: "h-4 w-4" })
182
182
  })
183
183
  }),
184
184
  /* @__PURE__ */ O("p", {
185
- className: "text-2xl font-bold text-blue-600 dark:text-blue-400",
185
+ className: "text-2xl font-bold text-accent-blue",
186
186
  children: P.tasksInProgress
187
187
  }),
188
188
  /* @__PURE__ */ O("p", {
189
- className: "text-xs text-muted-foreground",
189
+ className: "text-xs text-text-secondary",
190
190
  children: "In Progress"
191
191
  })
192
192
  ]
193
193
  }),
194
194
  /* @__PURE__ */ k("div", {
195
- className: "rounded-lg border border-border bg-card p-4 shadow-sm",
195
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 bg-gloss-card shadow-pop",
196
196
  children: [
197
197
  /* @__PURE__ */ O("div", {
198
198
  className: "flex items-center gap-2 mb-2",
199
199
  children: /* @__PURE__ */ O("div", {
200
- className: "inline-flex rounded-md p-1.5 bg-yellow-500/10 text-yellow-600 dark:text-yellow-400",
200
+ className: "inline-flex rounded-md p-1.5 bg-status-warning-bg-subtle/10 text-status-warning-text",
201
201
  children: /* @__PURE__ */ O(h, { className: "h-4 w-4" })
202
202
  })
203
203
  }),
204
204
  /* @__PURE__ */ O("p", {
205
- className: "text-2xl font-bold text-yellow-600 dark:text-yellow-400",
205
+ className: "text-2xl font-bold text-status-warning-text",
206
206
  children: P.tasksPending
207
207
  }),
208
208
  /* @__PURE__ */ O("p", {
209
- className: "text-xs text-muted-foreground",
209
+ className: "text-xs text-text-secondary",
210
210
  children: "Pending"
211
211
  })
212
212
  ]
213
213
  }),
214
214
  /* @__PURE__ */ k("div", {
215
- className: "rounded-lg border border-border bg-card p-4 shadow-sm",
215
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 bg-gloss-card shadow-pop",
216
216
  children: [
217
217
  /* @__PURE__ */ O("div", {
218
218
  className: "flex items-center gap-2 mb-2",
219
219
  children: /* @__PURE__ */ O("div", {
220
- className: "inline-flex rounded-md p-1.5 bg-purple-500/10 text-purple-600 dark:text-purple-400",
220
+ className: "inline-flex rounded-md p-1.5 bg-accent-purple-subtle/10 text-accent-purple",
221
221
  children: /* @__PURE__ */ O(C, { className: "h-4 w-4" })
222
222
  })
223
223
  }),
224
224
  /* @__PURE__ */ k("p", {
225
- className: "text-2xl font-bold text-purple-600 dark:text-purple-400",
225
+ className: "text-2xl font-bold text-accent-purple",
226
226
  children: [P.hoursWorked, "h"]
227
227
  }),
228
228
  /* @__PURE__ */ O("p", {
229
- className: "text-xs text-muted-foreground",
229
+ className: "text-xs text-text-secondary",
230
230
  children: "Hours Worked"
231
231
  })
232
232
  ]
233
233
  }),
234
234
  /* @__PURE__ */ k("div", {
235
- className: "rounded-lg border border-border bg-card p-4 shadow-sm",
235
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 bg-gloss-card shadow-pop",
236
236
  children: [
237
237
  /* @__PURE__ */ O("div", {
238
238
  className: "flex items-center gap-2 mb-2",
239
239
  children: /* @__PURE__ */ O("div", {
240
- className: "inline-flex rounded-md p-1.5 bg-indigo-500/10 text-indigo-600 dark:text-indigo-400",
240
+ className: "inline-flex rounded-md p-1.5 bg-accent-indigo-subtle/10 text-accent-indigo",
241
241
  children: /* @__PURE__ */ O(D, { className: "h-4 w-4" })
242
242
  })
243
243
  }),
244
244
  /* @__PURE__ */ k("p", {
245
- className: "text-2xl font-bold text-indigo-600 dark:text-indigo-400",
245
+ className: "text-2xl font-bold text-accent-indigo",
246
246
  children: [P.efficiency, "%"]
247
247
  }),
248
248
  /* @__PURE__ */ O("p", {
249
- className: "text-xs text-muted-foreground",
249
+ className: "text-xs text-text-secondary",
250
250
  children: "Efficiency"
251
251
  })
252
252
  ]
253
253
  }),
254
254
  /* @__PURE__ */ k("div", {
255
- className: "rounded-lg border border-border bg-card p-4 shadow-sm",
255
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4 bg-gloss-card shadow-pop",
256
256
  children: [
257
257
  /* @__PURE__ */ O("div", {
258
258
  className: "flex items-center gap-2 mb-2",
259
259
  children: /* @__PURE__ */ O("div", {
260
- className: "inline-flex rounded-md p-1.5 bg-yellow-500/10 text-yellow-600 dark:text-yellow-400",
260
+ className: "inline-flex rounded-md p-1.5 bg-status-warning-bg-subtle/10 text-status-warning-text",
261
261
  children: /* @__PURE__ */ O(S, { className: "h-4 w-4" })
262
262
  })
263
263
  }),
264
264
  /* @__PURE__ */ k("p", {
265
- className: "text-2xl font-bold text-yellow-500",
265
+ className: "text-2xl font-bold text-status-warning-text",
266
266
  children: [P.rating, "/5"]
267
267
  }),
268
268
  /* @__PURE__ */ O("p", {
269
- className: "text-xs text-muted-foreground",
269
+ className: "text-xs text-text-secondary",
270
270
  children: "Rating"
271
271
  })
272
272
  ]
@@ -274,28 +274,28 @@ var N = {
274
274
  ]
275
275
  })] }),
276
276
  K && /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("h2", {
277
- className: "text-base font-semibold text-foreground mb-3",
277
+ className: "text-base font-semibold text-text-primary mb-3",
278
278
  children: "Current Task"
279
279
  }), /* @__PURE__ */ O("div", {
280
- className: "rounded-lg border-2 border-blue-500/40 bg-blue-500/5 p-6",
280
+ className: "rounded-lg border-2 border-accent-blue-subtle/40 bg-accent-blue-subtle/5 p-6",
281
281
  children: /* @__PURE__ */ k("div", {
282
282
  className: "flex items-start justify-between mb-4",
283
283
  children: [/* @__PURE__ */ k("div", {
284
284
  className: "flex items-start gap-3",
285
285
  children: [/* @__PURE__ */ O("div", {
286
- className: "flex h-10 w-10 items-center justify-center rounded-lg bg-blue-500/10",
287
- children: /* @__PURE__ */ O(M(K.type), { className: "h-5 w-5 text-blue-600 dark:text-blue-400" })
286
+ className: "flex h-10 w-10 items-center justify-center rounded-lg bg-accent-blue-subtle/10",
287
+ children: /* @__PURE__ */ O(M(K.type), { className: "h-5 w-5 text-accent-blue" })
288
288
  }), /* @__PURE__ */ k("div", { children: [
289
289
  /* @__PURE__ */ O("h3", {
290
- className: "text-lg font-semibold text-foreground",
290
+ className: "text-lg font-semibold text-text-primary",
291
291
  children: K.title
292
292
  }),
293
293
  /* @__PURE__ */ O("p", {
294
- className: "text-sm text-muted-foreground mt-1",
294
+ className: "text-sm text-text-secondary mt-1",
295
295
  children: K.description
296
296
  }),
297
297
  /* @__PURE__ */ k("div", {
298
- className: "flex flex-wrap items-center gap-3 mt-2 text-sm text-muted-foreground",
298
+ className: "flex flex-wrap items-center gap-3 mt-2 text-sm text-text-secondary",
299
299
  children: [
300
300
  /* @__PURE__ */ k("span", {
301
301
  className: "flex items-center gap-1",
@@ -325,33 +325,33 @@ var N = {
325
325
  children: [/* @__PURE__ */ k("button", {
326
326
  type: "button",
327
327
  onClick: () => W(K.id, "complete"),
328
- className: "inline-flex items-center gap-1.5 rounded-md bg-green-500/10 px-3 py-2 text-sm font-medium text-green-600 dark:text-green-400 hover:bg-green-500/20 transition-colors",
328
+ className: "inline-flex items-center gap-1.5 rounded-md bg-status-success-bg-subtle/10 px-3 py-2 text-sm font-medium text-status-success-text hover:bg-status-success-bg-subtle/20 transition-colors",
329
329
  children: [/* @__PURE__ */ O(d, { className: "h-4 w-4" }), "Complete"]
330
330
  }), /* @__PURE__ */ k("button", {
331
331
  type: "button",
332
332
  onClick: () => W(K.id, "pause"),
333
- className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-2 text-sm font-medium text-foreground hover:bg-accent/80 transition-colors",
333
+ className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-2 text-sm font-medium text-text-primary hover:bg-accent/80 transition-colors",
334
334
  children: [/* @__PURE__ */ O(y, { className: "h-4 w-4" }), "Pause"]
335
335
  })]
336
336
  })]
337
337
  })
338
338
  })] }),
339
339
  /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("h2", {
340
- className: "text-base font-semibold text-foreground mb-3",
340
+ className: "text-base font-semibold text-text-primary mb-3",
341
341
  children: "Assigned Tasks"
342
342
  }), /* @__PURE__ */ O("div", {
343
- className: "rounded-lg border border-border bg-card shadow-sm overflow-hidden",
343
+ className: "rounded-lg border border-border-subtle bg-bg-surface shadow-sm overflow-hidden",
344
344
  children: q.length > 0 ? /* @__PURE__ */ O("div", {
345
345
  className: "divide-y divide-border",
346
346
  children: q.map((e) => /* @__PURE__ */ O("div", {
347
- className: "p-4 hover:bg-muted/30 transition-colors",
347
+ className: "p-4 hover:bg-bg-sunken/30 transition-colors",
348
348
  children: /* @__PURE__ */ k("div", {
349
349
  className: "flex flex-col sm:flex-row sm:items-start sm:justify-between gap-3",
350
350
  children: [/* @__PURE__ */ k("div", {
351
351
  className: "flex items-start gap-3 flex-1 min-w-0",
352
352
  children: [/* @__PURE__ */ O("div", {
353
- className: "flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-muted",
354
- children: /* @__PURE__ */ O(M(e.type), { className: "h-4.5 w-4.5 text-muted-foreground" })
353
+ className: "flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-bg-sunken",
354
+ children: /* @__PURE__ */ O(M(e.type), { className: "h-4.5 w-4.5 text-text-secondary" })
355
355
  }), /* @__PURE__ */ k("div", {
356
356
  className: "flex-1 min-w-0",
357
357
  children: [
@@ -359,7 +359,7 @@ var N = {
359
359
  className: "flex flex-wrap items-center gap-2 mb-1",
360
360
  children: [
361
361
  /* @__PURE__ */ O("h3", {
362
- className: "text-sm font-medium text-foreground",
362
+ className: "text-sm font-medium text-text-primary",
363
363
  children: e.title
364
364
  }),
365
365
  /* @__PURE__ */ O("span", {
@@ -373,11 +373,11 @@ var N = {
373
373
  ]
374
374
  }),
375
375
  /* @__PURE__ */ O("p", {
376
- className: "text-xs text-muted-foreground line-clamp-1",
376
+ className: "text-xs text-text-secondary line-clamp-1",
377
377
  children: e.description
378
378
  }),
379
379
  /* @__PURE__ */ k("div", {
380
- className: "flex flex-wrap items-center gap-3 mt-1.5 text-xs text-muted-foreground",
380
+ className: "flex flex-wrap items-center gap-3 mt-1.5 text-xs text-text-secondary",
381
381
  children: [
382
382
  /* @__PURE__ */ k("span", {
383
383
  className: "flex items-center gap-1",
@@ -414,19 +414,19 @@ var N = {
414
414
  type: "button",
415
415
  onClick: () => W(e.id, "start"),
416
416
  disabled: R !== null,
417
- className: t("inline-flex items-center gap-1.5 rounded-md px-3 py-1.5 text-xs font-medium transition-colors", R === null ? "bg-blue-500/10 text-blue-600 dark:text-blue-400 hover:bg-blue-500/20" : "bg-muted text-muted-foreground cursor-not-allowed"),
417
+ className: t("inline-flex items-center gap-1.5 rounded-md px-3 py-1.5 text-xs font-medium transition-colors", R === null ? "bg-accent-blue-subtle/10 text-accent-blue hover:bg-accent-blue-subtle/20" : "bg-bg-sunken text-text-secondary cursor-not-allowed"),
418
418
  children: [/* @__PURE__ */ O(b, { className: "h-3.5 w-3.5" }), "Start"]
419
419
  }),
420
420
  e.status === "in_progress" && e.id !== R && /* @__PURE__ */ k("button", {
421
421
  type: "button",
422
422
  onClick: () => z(e.id),
423
- className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-1.5 text-xs font-medium text-foreground hover:bg-accent/80 transition-colors",
423
+ className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-accent/80 transition-colors",
424
424
  children: [/* @__PURE__ */ O(b, { className: "h-3.5 w-3.5" }), "Resume"]
425
425
  }),
426
426
  /* @__PURE__ */ k("button", {
427
427
  type: "button",
428
428
  onClick: () => l(`/worker/task/${e.id}`),
429
- className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-1.5 text-xs font-medium text-foreground hover:bg-accent/80 transition-colors",
429
+ className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-accent/80 transition-colors",
430
430
  children: ["Details", /* @__PURE__ */ O(p, { className: "h-3.5 w-3.5" })]
431
431
  })
432
432
  ]
@@ -435,33 +435,33 @@ var N = {
435
435
  }, e.id))
436
436
  }) : /* @__PURE__ */ k("div", {
437
437
  className: "p-8 text-center",
438
- children: [/* @__PURE__ */ O(d, { className: "h-10 w-10 text-green-500 opacity-40 mx-auto mb-2" }), /* @__PURE__ */ O("p", {
439
- className: "text-sm text-muted-foreground",
438
+ children: [/* @__PURE__ */ O(d, { className: "h-10 w-10 text-status-success-text opacity-40 mx-auto mb-2" }), /* @__PURE__ */ O("p", {
439
+ className: "text-sm text-text-secondary",
440
440
  children: "All tasks completed!"
441
441
  })]
442
442
  })
443
443
  })] }),
444
444
  /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("h2", {
445
- className: "text-base font-semibold text-foreground mb-3",
445
+ className: "text-base font-semibold text-text-primary mb-3",
446
446
  children: "Recently Completed"
447
447
  }), /* @__PURE__ */ O("div", {
448
- className: "rounded-lg border border-border bg-card p-5 shadow-sm",
448
+ className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
449
449
  children: J.length > 0 ? /* @__PURE__ */ O("div", {
450
450
  className: "space-y-3",
451
451
  children: J.slice(0, 3).map((e) => /* @__PURE__ */ k("div", {
452
- className: "flex items-center gap-3 p-3 rounded-lg bg-green-500/5 border border-green-500/10",
452
+ className: "flex items-center gap-3 p-3 rounded-lg bg-status-success-bg-subtle/5 border border-status-success-border/10",
453
453
  children: [
454
454
  /* @__PURE__ */ O("div", {
455
- className: "flex h-8 w-8 items-center justify-center rounded-md bg-green-500/10",
456
- children: /* @__PURE__ */ O(M(e.type), { className: "h-4 w-4 text-green-600 dark:text-green-400" })
455
+ className: "flex h-8 w-8 items-center justify-center rounded-md bg-status-success-bg-subtle/10",
456
+ children: /* @__PURE__ */ O(M(e.type), { className: "h-4 w-4 text-status-success-text" })
457
457
  }),
458
458
  /* @__PURE__ */ k("div", {
459
459
  className: "flex-1 min-w-0",
460
460
  children: [/* @__PURE__ */ O("p", {
461
- className: "text-sm font-medium text-foreground",
461
+ className: "text-sm font-medium text-text-primary",
462
462
  children: e.title
463
463
  }), /* @__PURE__ */ k("p", {
464
- className: "text-xs text-muted-foreground",
464
+ className: "text-xs text-text-secondary",
465
465
  children: [
466
466
  "Completed at",
467
467
  " ",
@@ -473,111 +473,111 @@ var N = {
473
473
  ]
474
474
  })]
475
475
  }),
476
- /* @__PURE__ */ O(d, { className: "h-4 w-4 text-green-600 dark:text-green-400 shrink-0" })
476
+ /* @__PURE__ */ O(d, { className: "h-4 w-4 text-status-success-text shrink-0" })
477
477
  ]
478
478
  }, e.id))
479
479
  }) : /* @__PURE__ */ O("p", {
480
- className: "text-sm text-muted-foreground text-center py-4",
480
+ className: "text-sm text-text-secondary text-center py-4",
481
481
  children: "No completed tasks yet today"
482
482
  })
483
483
  })] }),
484
484
  /* @__PURE__ */ k("div", {
485
485
  className: "grid grid-cols-1 md:grid-cols-2 gap-6",
486
486
  children: [/* @__PURE__ */ k("div", {
487
- className: "rounded-lg border border-border bg-card p-5 shadow-sm",
487
+ className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
488
488
  children: [/* @__PURE__ */ k("h3", {
489
- className: "text-base font-semibold text-foreground flex items-center gap-2 mb-4",
490
- children: [/* @__PURE__ */ O(w, { className: "h-4 w-4 text-muted-foreground" }), "Performance This Week"]
489
+ className: "text-base font-semibold text-text-primary flex items-center gap-2 mb-4",
490
+ children: [/* @__PURE__ */ O(w, { className: "h-4 w-4 text-text-secondary" }), "Performance This Week"]
491
491
  }), /* @__PURE__ */ k("div", {
492
492
  className: "space-y-3",
493
493
  children: [
494
494
  /* @__PURE__ */ k("div", {
495
495
  className: "flex items-center justify-between",
496
496
  children: [/* @__PURE__ */ O("span", {
497
- className: "text-sm text-muted-foreground",
497
+ className: "text-sm text-text-secondary",
498
498
  children: "Tasks Completed"
499
499
  }), /* @__PURE__ */ O("span", {
500
- className: "text-sm font-medium text-foreground",
500
+ className: "text-sm font-medium text-text-primary",
501
501
  children: "47"
502
502
  })]
503
503
  }),
504
504
  /* @__PURE__ */ k("div", {
505
505
  className: "flex items-center justify-between",
506
506
  children: [/* @__PURE__ */ O("span", {
507
- className: "text-sm text-muted-foreground",
507
+ className: "text-sm text-text-secondary",
508
508
  children: "Average Time per Task"
509
509
  }), /* @__PURE__ */ O("span", {
510
- className: "text-sm font-medium text-foreground",
510
+ className: "text-sm font-medium text-text-primary",
511
511
  children: "23 min"
512
512
  })]
513
513
  }),
514
514
  /* @__PURE__ */ k("div", {
515
515
  className: "flex items-center justify-between",
516
516
  children: [/* @__PURE__ */ O("span", {
517
- className: "text-sm text-muted-foreground",
517
+ className: "text-sm text-text-secondary",
518
518
  children: "On-time Completion"
519
519
  }), /* @__PURE__ */ O("span", {
520
- className: "text-sm font-medium text-foreground",
520
+ className: "text-sm font-medium text-text-primary",
521
521
  children: "94%"
522
522
  })]
523
523
  }),
524
524
  /* @__PURE__ */ k("div", {
525
525
  className: "flex items-center justify-between",
526
526
  children: [/* @__PURE__ */ O("span", {
527
- className: "text-sm text-muted-foreground",
527
+ className: "text-sm text-text-secondary",
528
528
  children: "Customer Feedback"
529
529
  }), /* @__PURE__ */ k("span", {
530
- className: "text-sm font-medium text-foreground flex items-center gap-1",
531
- children: ["4.7/5", /* @__PURE__ */ O(S, { className: "h-3.5 w-3.5 fill-yellow-400 text-yellow-400" })]
530
+ className: "text-sm font-medium text-text-primary flex items-center gap-1",
531
+ children: ["4.7/5", /* @__PURE__ */ O(S, { className: "h-3.5 w-3.5 fill-status-warning-text text-status-warning-text" })]
532
532
  })]
533
533
  })
534
534
  ]
535
535
  })]
536
536
  }), /* @__PURE__ */ k("div", {
537
- className: "rounded-lg border border-border bg-card p-5 shadow-sm",
537
+ className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
538
538
  children: [/* @__PURE__ */ k("h3", {
539
- className: "text-base font-semibold text-foreground flex items-center gap-2 mb-4",
540
- children: [/* @__PURE__ */ O(u, { className: "h-4 w-4 text-muted-foreground" }), "Shift Information"]
539
+ className: "text-base font-semibold text-text-primary flex items-center gap-2 mb-4",
540
+ children: [/* @__PURE__ */ O(u, { className: "h-4 w-4 text-text-secondary" }), "Shift Information"]
541
541
  }), /* @__PURE__ */ k("div", {
542
542
  className: "space-y-3",
543
543
  children: [
544
544
  /* @__PURE__ */ k("div", {
545
545
  className: "flex items-center justify-between",
546
546
  children: [/* @__PURE__ */ O("span", {
547
- className: "text-sm text-muted-foreground",
547
+ className: "text-sm text-text-secondary",
548
548
  children: "Shift Start"
549
549
  }), /* @__PURE__ */ O("span", {
550
- className: "text-sm font-medium text-foreground",
550
+ className: "text-sm font-medium text-text-primary",
551
551
  children: "9:00 AM"
552
552
  })]
553
553
  }),
554
554
  /* @__PURE__ */ k("div", {
555
555
  className: "flex items-center justify-between",
556
556
  children: [/* @__PURE__ */ O("span", {
557
- className: "text-sm text-muted-foreground",
557
+ className: "text-sm text-text-secondary",
558
558
  children: "Shift End"
559
559
  }), /* @__PURE__ */ O("span", {
560
- className: "text-sm font-medium text-foreground",
560
+ className: "text-sm font-medium text-text-primary",
561
561
  children: "6:00 PM"
562
562
  })]
563
563
  }),
564
564
  /* @__PURE__ */ k("div", {
565
565
  className: "flex items-center justify-between",
566
566
  children: [/* @__PURE__ */ O("span", {
567
- className: "text-sm text-muted-foreground",
567
+ className: "text-sm text-text-secondary",
568
568
  children: "Break Time"
569
569
  }), /* @__PURE__ */ O("span", {
570
- className: "text-sm font-medium text-foreground",
570
+ className: "text-sm font-medium text-text-primary",
571
571
  children: "1:00 PM - 2:00 PM"
572
572
  })]
573
573
  }),
574
574
  /* @__PURE__ */ k("div", {
575
575
  className: "flex items-center justify-between",
576
576
  children: [/* @__PURE__ */ O("span", {
577
- className: "text-sm text-muted-foreground",
577
+ className: "text-sm text-text-secondary",
578
578
  children: "Supervisor"
579
579
  }), /* @__PURE__ */ O("span", {
580
- className: "text-sm font-medium text-foreground",
580
+ className: "text-sm font-medium text-text-primary",
581
581
  children: "Rajesh Kumar"
582
582
  })]
583
583
  })
@@ -586,39 +586,39 @@ var N = {
586
586
  })]
587
587
  }),
588
588
  /* @__PURE__ */ k("div", {
589
- className: "rounded-lg border border-border bg-card p-5 shadow-sm",
589
+ className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
590
590
  children: [/* @__PURE__ */ O("h2", {
591
- className: "text-base font-semibold text-foreground mb-4",
591
+ className: "text-base font-semibold text-text-primary mb-4",
592
592
  children: "Overall Performance"
593
593
  }), /* @__PURE__ */ k("div", {
594
594
  className: "grid grid-cols-2 gap-4 sm:grid-cols-4",
595
595
  children: [
596
596
  /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
597
- className: "text-xs text-muted-foreground",
597
+ className: "text-xs text-text-secondary",
598
598
  children: "Total Deliveries"
599
599
  }), /* @__PURE__ */ O("p", {
600
- className: "text-lg font-bold text-foreground",
600
+ className: "text-lg font-bold text-text-primary",
601
601
  children: P?.totalDeliveries || 0
602
602
  })] }),
603
603
  /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
604
- className: "text-xs text-muted-foreground",
604
+ className: "text-xs text-text-secondary",
605
605
  children: "Total Earnings"
606
606
  }), /* @__PURE__ */ O("p", {
607
- className: "text-lg font-bold text-foreground",
607
+ className: "text-lg font-bold text-text-primary",
608
608
  children: s(P?.totalEarnings || 0, { minimumFractionDigits: 0 })
609
609
  })] }),
610
610
  /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
611
- className: "text-xs text-muted-foreground",
611
+ className: "text-xs text-text-secondary",
612
612
  children: "Average Rating"
613
613
  }), /* @__PURE__ */ k("p", {
614
- className: "text-lg font-bold text-foreground flex items-center gap-1",
615
- children: [P?.averageRating || 0, /* @__PURE__ */ O(S, { className: "h-4 w-4 fill-yellow-400 text-yellow-400" })]
614
+ className: "text-lg font-bold text-text-primary flex items-center gap-1",
615
+ children: [P?.averageRating || 0, /* @__PURE__ */ O(S, { className: "h-4 w-4 fill-status-warning-text text-status-warning-text" })]
616
616
  })] }),
617
617
  /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
618
- className: "text-xs text-muted-foreground",
618
+ className: "text-xs text-text-secondary",
619
619
  children: "Completion Rate"
620
620
  }), /* @__PURE__ */ k("p", {
621
- className: "text-lg font-bold text-foreground",
621
+ className: "text-lg font-bold text-text-primary",
622
622
  children: [P?.completionRate || 0, "%"]
623
623
  })] })
624
624
  ]