@burdenoff/microfe-billing 2026.623.3 → 2026.624.2

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 (43) hide show
  1. package/dist/billing/BillingUserRoutes.js +3 -3
  2. package/dist/billing/BillingUserRoutes.js.map +1 -1
  3. package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.js +34 -34
  4. package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.js.map +1 -1
  5. package/dist/billing/modules/addons/pages/AddonsBrowsePage.js +94 -94
  6. package/dist/billing/modules/addons/pages/AddonsBrowsePage.js.map +1 -1
  7. package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.js +162 -187
  8. package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.js.map +1 -1
  9. package/dist/billing/modules/billing/pages/InvoiceDetailPage.js +146 -153
  10. package/dist/billing/modules/billing/pages/InvoiceDetailPage.js.map +1 -1
  11. package/dist/billing/modules/billing/pages/PaymentMethodsPage.js +10 -10
  12. package/dist/billing/modules/billing/pages/PaymentMethodsPage.js.map +1 -1
  13. package/dist/billing/modules/billing/pages/TransactionsPage.js +62 -62
  14. package/dist/billing/modules/billing/pages/TransactionsPage.js.map +1 -1
  15. package/dist/billing/modules/coupons/pages/CouponDetailPage.js +164 -179
  16. package/dist/billing/modules/coupons/pages/CouponDetailPage.js.map +1 -1
  17. package/dist/billing/modules/coupons/pages/CreateCouponPage.js +8 -8
  18. package/dist/billing/modules/coupons/pages/CreateCouponPage.js.map +1 -1
  19. package/dist/billing/modules/earnings/pages/EarningsPage.js +243 -305
  20. package/dist/billing/modules/earnings/pages/EarningsPage.js.map +1 -1
  21. package/dist/billing/modules/earnings/pages/PayoutAdminPage.js +73 -78
  22. package/dist/billing/modules/earnings/pages/PayoutAdminPage.js.map +1 -1
  23. package/dist/billing/modules/earnings/pages/PayoutsPage.js +173 -179
  24. package/dist/billing/modules/earnings/pages/PayoutsPage.js.map +1 -1
  25. package/dist/billing/modules/plans/pages/PlanAssignFreePage.js +4 -4
  26. package/dist/billing/modules/plans/pages/PlanAssignFreePage.js.map +1 -1
  27. package/dist/billing/modules/promotions/pages/CreatePromotionPage.js +4 -4
  28. package/dist/billing/modules/promotions/pages/CreatePromotionPage.js.map +1 -1
  29. package/dist/billing/modules/settings/pages/SettingsPage.js +181 -173
  30. package/dist/billing/modules/settings/pages/SettingsPage.js.map +1 -1
  31. package/dist/billing/modules/settings/pages/TeamPermissionsPage.js +111 -99
  32. package/dist/billing/modules/settings/pages/TeamPermissionsPage.js.map +1 -1
  33. package/dist/billing/modules/subscriptions/components/ManageSeatsModal.js +68 -83
  34. package/dist/billing/modules/subscriptions/components/ManageSeatsModal.js.map +1 -1
  35. package/dist/billing/shared/components/AccessDenied.js +4 -4
  36. package/dist/billing/shared/components/AccessDenied.js.map +1 -1
  37. package/dist/billing/shared/components/ActorIdentity.js +8 -8
  38. package/dist/billing/shared/components/ActorIdentity.js.map +1 -1
  39. package/dist/billing/shared/components/CurrencyPriceOverridesEditor.js +11 -11
  40. package/dist/billing/shared/components/CurrencyPriceOverridesEditor.js.map +1 -1
  41. package/dist/billing/shared/ui/MetricCard.js +1 -1
  42. package/dist/billing/shared/ui/MetricCard.js.map +1 -1
  43. package/package.json +1 -1
@@ -35,24 +35,24 @@ var F = {
35
35
  children: [/* @__PURE__ */ M("button", {
36
36
  type: "button",
37
37
  onClick: () => a(!i),
38
- className: "p-1.5 rounded-md hover:bg-muted/50 transition-colors",
38
+ className: "p-1.5 rounded-md hover:bg-bg-sunken/50 transition-colors",
39
39
  "aria-label": "Transaction actions",
40
- children: /* @__PURE__ */ M(E, { className: "size-4 text-muted-foreground" })
40
+ children: /* @__PURE__ */ M(E, { className: "size-4 text-text-secondary" })
41
41
  }), i && /* @__PURE__ */ N("div", {
42
- className: "absolute right-0 top-full mt-1 z-50 min-w-[160px] bg-popover border border-border rounded-md shadow-lg py-1",
42
+ className: "absolute right-0 top-full mt-1 z-50 min-w-[160px] bg-popover border border-border-subtle rounded-md shadow-lg py-1",
43
43
  children: [/* @__PURE__ */ N("button", {
44
44
  type: "button",
45
45
  onClick: () => {
46
46
  t(), a(!1);
47
47
  },
48
- className: "w-full flex items-center gap-2 px-3 py-2 text-sm text-foreground hover:bg-muted/50 transition-colors whitespace-nowrap",
48
+ className: "w-full flex items-center gap-2 px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken/50 transition-colors whitespace-nowrap",
49
49
  children: [/* @__PURE__ */ M(C, { className: "size-4" }), "View Details"]
50
50
  }), e.type === "payment" && r && /* @__PURE__ */ N("button", {
51
51
  type: "button",
52
52
  onClick: () => {
53
53
  n(), a(!1);
54
54
  },
55
- className: "w-full flex items-center gap-2 px-3 py-2 text-sm text-foreground hover:bg-muted/50 transition-colors whitespace-nowrap",
55
+ className: "w-full flex items-center gap-2 px-3 py-2 text-sm text-text-primary hover:bg-bg-sunken/50 transition-colors whitespace-nowrap",
56
56
  children: [/* @__PURE__ */ M(w, { className: "size-4" }), "View Invoice"]
57
57
  })]
58
58
  })]
@@ -66,13 +66,13 @@ var F = {
66
66
  className: "absolute inset-0 bg-overlay-scrim",
67
67
  onClick: t
68
68
  }), /* @__PURE__ */ N("div", {
69
- className: "relative bg-background border border-border rounded-lg shadow-xl max-w-md w-full mx-4 max-h-[90vh] overflow-auto",
69
+ className: "relative bg-bg-surface border border-border-subtle rounded-lg shadow-xl max-w-md w-full mx-4 max-h-[90vh] overflow-auto",
70
70
  role: "dialog",
71
71
  "aria-modal": "true",
72
72
  "aria-labelledby": "transaction-details-title",
73
73
  children: [
74
74
  /* @__PURE__ */ N("div", {
75
- className: "flex items-center justify-between p-4 border-b border-border",
75
+ className: "flex items-center justify-between p-4 border-b border-border-subtle",
76
76
  children: [/* @__PURE__ */ M("h2", {
77
77
  id: "transaction-details-title",
78
78
  className: "text-lg font-semibold",
@@ -80,7 +80,7 @@ var F = {
80
80
  }), /* @__PURE__ */ M("button", {
81
81
  type: "button",
82
82
  onClick: t,
83
- className: "p-1 rounded-md hover:bg-muted/50 transition-colors",
83
+ className: "p-1 rounded-md hover:bg-bg-sunken/50 transition-colors",
84
84
  "aria-label": "Close transaction details",
85
85
  children: /* @__PURE__ */ M(O, { className: "size-5" })
86
86
  })]
@@ -91,13 +91,13 @@ var F = {
91
91
  /* @__PURE__ */ N("div", {
92
92
  className: "grid grid-cols-2 gap-4",
93
93
  children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
94
- className: "text-xs text-muted-foreground mb-1",
94
+ className: "text-xs text-text-secondary mb-1",
95
95
  children: "Transaction ID"
96
96
  }), /* @__PURE__ */ M("p", {
97
97
  className: "text-sm font-mono break-all",
98
98
  children: e.id
99
99
  })] }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
100
- className: "text-xs text-muted-foreground mb-1",
100
+ className: "text-xs text-text-secondary mb-1",
101
101
  children: "Type"
102
102
  }), /* @__PURE__ */ M("p", {
103
103
  className: "text-sm capitalize",
@@ -110,14 +110,14 @@ var F = {
110
110
  /* @__PURE__ */ N("div", {
111
111
  className: "flex justify-between text-sm",
112
112
  children: [/* @__PURE__ */ M("span", {
113
- className: "text-muted-foreground",
113
+ className: "text-text-secondary",
114
114
  children: "Subtotal"
115
115
  }), /* @__PURE__ */ M("span", { children: i(f || e.amount, e.currency) })]
116
116
  }),
117
117
  p > 0 && /* @__PURE__ */ N("div", {
118
118
  className: "flex justify-between text-sm",
119
119
  children: [/* @__PURE__ */ N("span", {
120
- className: "text-muted-foreground",
120
+ className: "text-text-secondary",
121
121
  children: [
122
122
  h || "Tax",
123
123
  " ",
@@ -126,7 +126,7 @@ var F = {
126
126
  }), /* @__PURE__ */ M("span", { children: i(p, e.currency) })]
127
127
  }),
128
128
  /* @__PURE__ */ N("div", {
129
- className: "flex justify-between text-sm font-semibold border-t border-border pt-2",
129
+ className: "flex justify-between text-sm font-semibold border-t border-border-subtle pt-2",
130
130
  children: [/* @__PURE__ */ M("span", { children: "Total" }), /* @__PURE__ */ N("span", {
131
131
  className: e.type === "refund" ? "text-status-error-text" : "",
132
132
  children: [e.type === "refund" ? "-" : "", i(g, e.currency)]
@@ -135,13 +135,13 @@ var F = {
135
135
  ] }) : /* @__PURE__ */ N("div", {
136
136
  className: "grid grid-cols-2 gap-4",
137
137
  children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
138
- className: "text-xs text-muted-foreground mb-1",
138
+ className: "text-xs text-text-secondary mb-1",
139
139
  children: "Amount"
140
140
  }), /* @__PURE__ */ N("p", {
141
141
  className: `text-sm font-medium ${e.type === "refund" ? "text-status-error-text" : ""}`,
142
142
  children: [e.type === "refund" ? "-" : "", i(g || e.amount, e.currency)]
143
143
  })] }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
144
- className: "text-xs text-muted-foreground mb-1",
144
+ className: "text-xs text-text-secondary mb-1",
145
145
  children: "Status"
146
146
  }), /* @__PURE__ */ M("span", {
147
147
  className: `px-2 py-0.5 text-xs font-medium rounded ${o(s(e.status))}`,
@@ -150,33 +150,33 @@ var F = {
150
150
  })
151
151
  }),
152
152
  A && /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
153
- className: "text-xs text-muted-foreground mb-1",
153
+ className: "text-xs text-text-secondary mb-1",
154
154
  children: "Status"
155
155
  }), /* @__PURE__ */ M("span", {
156
156
  className: `px-2 py-0.5 text-xs font-medium rounded ${o(s(e.status))}`,
157
157
  children: e.status
158
158
  })] }),
159
159
  /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
160
- className: "text-xs text-muted-foreground mb-1",
160
+ className: "text-xs text-text-secondary mb-1",
161
161
  children: "Date & Time"
162
162
  }), /* @__PURE__ */ M("p", {
163
163
  className: "text-sm",
164
164
  children: a(e.createdAt)
165
165
  })] }),
166
166
  e.description && /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
167
- className: "text-xs text-muted-foreground mb-1",
167
+ className: "text-xs text-text-secondary mb-1",
168
168
  children: "Description"
169
169
  }), /* @__PURE__ */ M("p", {
170
170
  className: "text-sm",
171
171
  children: e.description
172
172
  })] }),
173
173
  _ && /* @__PURE__ */ N("div", {
174
- className: "p-3 bg-muted/50 rounded-lg space-y-2",
174
+ className: "p-3 bg-bg-sunken/50 rounded-lg space-y-2",
175
175
  children: [
176
176
  /* @__PURE__ */ N("div", {
177
177
  className: "flex items-center justify-between",
178
178
  children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
179
- className: "text-xs text-muted-foreground mb-1",
179
+ className: "text-xs text-text-secondary mb-1",
180
180
  children: "Invoice"
181
181
  }), /* @__PURE__ */ M("p", {
182
182
  className: "text-sm font-mono",
@@ -187,7 +187,7 @@ var F = {
187
187
  })]
188
188
  }),
189
189
  c && /* @__PURE__ */ N("p", {
190
- className: "text-xs text-muted-foreground",
190
+ className: "text-xs text-text-secondary",
191
191
  children: ["Provider: ", c]
192
192
  }),
193
193
  r && n && /* @__PURE__ */ N("button", {
@@ -199,7 +199,7 @@ var F = {
199
199
  ]
200
200
  }),
201
201
  !_ && r && n && /* @__PURE__ */ M("div", {
202
- className: "p-3 bg-muted/50 rounded-lg",
202
+ className: "p-3 bg-bg-sunken/50 rounded-lg",
203
203
  children: /* @__PURE__ */ N("button", {
204
204
  type: "button",
205
205
  onClick: () => n(e),
@@ -269,14 +269,14 @@ var F = {
269
269
  ]
270
270
  }),
271
271
  e.stripePaymentId && /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
272
- className: "text-xs text-muted-foreground mb-1",
272
+ className: "text-xs text-text-secondary mb-1",
273
273
  children: "Stripe Payment ID"
274
274
  }), /* @__PURE__ */ M("p", {
275
275
  className: "text-sm font-mono break-all",
276
276
  children: e.stripePaymentId
277
277
  })] }),
278
278
  e.razorpayPaymentId && /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
279
- className: "text-xs text-muted-foreground mb-1",
279
+ className: "text-xs text-text-secondary mb-1",
280
280
  children: "Razorpay Payment ID"
281
281
  }), /* @__PURE__ */ M("p", {
282
282
  className: "text-sm font-mono break-all",
@@ -285,11 +285,11 @@ var F = {
285
285
  ]
286
286
  }),
287
287
  /* @__PURE__ */ M("div", {
288
- className: "p-4 border-t border-border",
288
+ className: "p-4 border-t border-border-subtle",
289
289
  children: /* @__PURE__ */ M("button", {
290
290
  type: "button",
291
291
  onClick: t,
292
- className: "w-full py-2 px-4 bg-primary text-primary-foreground rounded-md hover:bg-primary/90 transition-colors",
292
+ className: "w-full py-2 px-4 bg-action-primary-bg text-action-primary-text rounded-md hover:bg-action-primary-bg/90 transition-colors",
293
293
  children: "Close"
294
294
  })
295
295
  })
@@ -318,7 +318,7 @@ var F = {
318
318
  className: "p-6",
319
319
  children: /* @__PURE__ */ M(n, {
320
320
  icon: /* @__PURE__ */ M("svg", {
321
- className: "size-6 text-muted-foreground",
321
+ className: "size-6 text-text-secondary",
322
322
  fill: "none",
323
323
  viewBox: "0 0 24 24",
324
324
  stroke: "currentColor",
@@ -345,7 +345,7 @@ var F = {
345
345
  let $ = K === "all" ? z : z.filter((e) => e.type === K);
346
346
  return V ? /* @__PURE__ */ N("div", {
347
347
  className: "space-y-6 p-6",
348
- children: [/* @__PURE__ */ M("div", { className: "h-8 w-48 bg-muted animate-pulse rounded" }), /* @__PURE__ */ M("div", {
348
+ children: [/* @__PURE__ */ M("div", { className: "h-8 w-48 bg-bg-sunken animate-pulse rounded" }), /* @__PURE__ */ M("div", {
349
349
  className: "space-y-2",
350
350
  children: [
351
351
  1,
@@ -353,7 +353,7 @@ var F = {
353
353
  3,
354
354
  4,
355
355
  5
356
- ].map((e) => /* @__PURE__ */ M("div", { className: "h-16 bg-muted animate-pulse rounded" }, e))
356
+ ].map((e) => /* @__PURE__ */ M("div", { className: "h-16 bg-bg-sunken animate-pulse rounded" }, e))
357
357
  })]
358
358
  }) : /* @__PURE__ */ N("div", {
359
359
  className: "space-y-6 p-6",
@@ -361,7 +361,7 @@ var F = {
361
361
  /* @__PURE__ */ N("button", {
362
362
  type: "button",
363
363
  onClick: () => O("/overview"),
364
- className: "inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground transition-colors",
364
+ className: "inline-flex items-center gap-2 text-sm text-text-secondary hover:text-text-primary transition-colors",
365
365
  children: [/* @__PURE__ */ M(_, { className: "size-4" }), "Back to Overview"]
366
366
  }),
367
367
  /* @__PURE__ */ M(t, {
@@ -369,15 +369,15 @@ var F = {
369
369
  description: j ? `Transactions for ${j.name}` : "View all your billing transactions"
370
370
  }),
371
371
  j && /* @__PURE__ */ M("div", {
372
- className: "border border-border rounded-lg p-4 bg-card",
372
+ className: "border border-border-subtle rounded-lg p-4 bg-bg-surface",
373
373
  children: /* @__PURE__ */ N("div", {
374
374
  className: "grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-4",
375
375
  children: [
376
376
  /* @__PURE__ */ N("div", {
377
377
  className: "flex items-start gap-2",
378
- children: [/* @__PURE__ */ M(S, { className: "size-4 text-muted-foreground mt-0.5" }), /* @__PURE__ */ N("div", { children: [
378
+ children: [/* @__PURE__ */ M(S, { className: "size-4 text-text-secondary mt-0.5" }), /* @__PURE__ */ N("div", { children: [
379
379
  /* @__PURE__ */ M("p", {
380
- className: "text-xs text-muted-foreground mb-0.5",
380
+ className: "text-xs text-text-secondary mb-0.5",
381
381
  children: "Account"
382
382
  }),
383
383
  /* @__PURE__ */ M("p", {
@@ -395,8 +395,8 @@ var F = {
395
395
  }),
396
396
  /* @__PURE__ */ N("div", {
397
397
  className: "flex items-start gap-2",
398
- children: [/* @__PURE__ */ M(T, { className: "size-4 text-muted-foreground mt-0.5" }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
399
- className: "text-xs text-muted-foreground mb-0.5",
398
+ children: [/* @__PURE__ */ M(T, { className: "size-4 text-text-secondary mt-0.5" }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
399
+ className: "text-xs text-text-secondary mb-0.5",
400
400
  children: "Email"
401
401
  }), /* @__PURE__ */ M("p", {
402
402
  className: "text-sm font-medium break-all",
@@ -405,18 +405,18 @@ var F = {
405
405
  }),
406
406
  /* @__PURE__ */ N("div", {
407
407
  className: "flex items-start gap-2",
408
- children: [/* @__PURE__ */ M(D, { className: "size-4 text-muted-foreground mt-0.5" }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
409
- className: "text-xs text-muted-foreground mb-0.5",
408
+ children: [/* @__PURE__ */ M(D, { className: "size-4 text-text-secondary mt-0.5" }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
409
+ className: "text-xs text-text-secondary mb-0.5",
410
410
  children: "Credits Balance"
411
411
  }), /* @__PURE__ */ N("p", {
412
- className: "text-sm font-semibold text-foreground",
412
+ className: "text-sm font-semibold text-text-primary",
413
413
  children: [(j.creditAmount || 0).toLocaleString(), " Credits"]
414
414
  })] })]
415
415
  }),
416
416
  /* @__PURE__ */ N("div", {
417
417
  className: "flex items-start gap-2",
418
- children: [/* @__PURE__ */ M(w, { className: "size-4 text-muted-foreground mt-0.5" }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
419
- className: "text-xs text-muted-foreground mb-0.5",
418
+ children: [/* @__PURE__ */ M(w, { className: "size-4 text-text-secondary mt-0.5" }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
419
+ className: "text-xs text-text-secondary mb-0.5",
420
420
  children: "Tax ID"
421
421
  }), /* @__PURE__ */ M("p", {
422
422
  className: "text-sm font-medium",
@@ -425,8 +425,8 @@ var F = {
425
425
  }),
426
426
  /* @__PURE__ */ N("div", {
427
427
  className: "flex items-start gap-2",
428
- children: [/* @__PURE__ */ M(v, { className: "size-4 text-muted-foreground mt-0.5" }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
429
- className: "text-xs text-muted-foreground mb-0.5",
428
+ children: [/* @__PURE__ */ M(v, { className: "size-4 text-text-secondary mt-0.5" }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
429
+ className: "text-xs text-text-secondary mb-0.5",
430
430
  children: "Member Since"
431
431
  }), /* @__PURE__ */ M("p", {
432
432
  className: "text-sm font-medium",
@@ -439,7 +439,7 @@ var F = {
439
439
  /* @__PURE__ */ M("div", {
440
440
  className: "flex items-center gap-4",
441
441
  children: /* @__PURE__ */ M("div", {
442
- className: "inline-flex rounded-lg border border-border p-1 bg-muted/50",
442
+ className: "inline-flex rounded-lg border border-border-subtle p-1 bg-bg-sunken/50",
443
443
  children: [
444
444
  "all",
445
445
  "payment",
@@ -448,14 +448,14 @@ var F = {
448
448
  ].map((e) => /* @__PURE__ */ M("button", {
449
449
  type: "button",
450
450
  onClick: () => q(e),
451
- className: `px-3 py-1.5 text-sm font-medium rounded-md transition-colors ${K === e ? "bg-background text-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"}`,
451
+ className: `px-3 py-1.5 text-sm font-medium rounded-md transition-colors ${K === e ? "bg-bg-surface text-text-primary shadow-sm" : "text-text-secondary hover:text-text-primary"}`,
452
452
  children: e === "all" ? "All" : F[e]
453
453
  }, e))
454
454
  })
455
455
  }),
456
456
  $.length === 0 ? /* @__PURE__ */ M(n, {
457
457
  icon: /* @__PURE__ */ M("svg", {
458
- className: "size-6 text-muted-foreground",
458
+ className: "size-6 text-text-secondary",
459
459
  fill: "none",
460
460
  viewBox: "0 0 24 24",
461
461
  stroke: "currentColor",
@@ -469,30 +469,30 @@ var F = {
469
469
  title: h("billing.transactions.noTransactionsFound", "No transactions found"),
470
470
  description: K === "all" ? h("billing.transactions.noTransactionsYet", "Your transaction history will appear here.") : h("billing.transactions.noTransactionsFiltered", "No transactions match your filter.")
471
471
  }) : /* @__PURE__ */ M("div", {
472
- className: "border border-border rounded-lg overflow-visible",
472
+ className: "border border-border-subtle rounded-lg overflow-visible",
473
473
  children: /* @__PURE__ */ N("table", {
474
474
  className: "w-full",
475
475
  children: [/* @__PURE__ */ M("thead", {
476
- className: "bg-muted/50",
476
+ className: "bg-bg-sunken/50",
477
477
  children: /* @__PURE__ */ N("tr", { children: [
478
478
  /* @__PURE__ */ M("th", {
479
- className: "text-left text-sm font-medium text-muted-foreground px-3 py-2 whitespace-nowrap",
479
+ className: "text-left text-sm font-medium text-text-secondary px-3 py-2 whitespace-nowrap",
480
480
  children: "Date"
481
481
  }),
482
482
  /* @__PURE__ */ M("th", {
483
- className: "text-left text-sm font-medium text-muted-foreground px-3 py-2 whitespace-nowrap",
483
+ className: "text-left text-sm font-medium text-text-secondary px-3 py-2 whitespace-nowrap",
484
484
  children: "Type"
485
485
  }),
486
486
  /* @__PURE__ */ M("th", {
487
- className: "text-left text-sm font-medium text-muted-foreground px-3 py-2 whitespace-nowrap",
487
+ className: "text-left text-sm font-medium text-text-secondary px-3 py-2 whitespace-nowrap",
488
488
  children: "Description"
489
489
  }),
490
490
  /* @__PURE__ */ M("th", {
491
- className: "text-right text-sm font-medium text-muted-foreground px-3 py-2 whitespace-nowrap",
491
+ className: "text-right text-sm font-medium text-text-secondary px-3 py-2 whitespace-nowrap",
492
492
  children: "Amount"
493
493
  }),
494
494
  /* @__PURE__ */ M("th", {
495
- className: "text-center text-sm font-medium text-muted-foreground px-3 py-2 whitespace-nowrap",
495
+ className: "text-center text-sm font-medium text-text-secondary px-3 py-2 whitespace-nowrap",
496
496
  children: "Status"
497
497
  }),
498
498
  /* @__PURE__ */ M("th", { className: "p-2 w-10" })
@@ -500,22 +500,22 @@ var F = {
500
500
  }), /* @__PURE__ */ M("tbody", {
501
501
  className: "divide-y divide-border",
502
502
  children: $.map((e) => /* @__PURE__ */ N("tr", {
503
- className: "hover:bg-muted/30 transition-colors",
503
+ className: "hover:bg-bg-sunken/30 transition-colors",
504
504
  children: [
505
505
  /* @__PURE__ */ M("td", {
506
- className: "px-3 py-2 text-sm text-foreground whitespace-nowrap",
506
+ className: "px-3 py-2 text-sm text-text-primary whitespace-nowrap",
507
507
  children: a(e.createdAt)
508
508
  }),
509
509
  /* @__PURE__ */ M("td", {
510
- className: "px-3 py-2 text-sm text-foreground capitalize whitespace-nowrap",
510
+ className: "px-3 py-2 text-sm text-text-primary capitalize whitespace-nowrap",
511
511
  children: I(e.type)
512
512
  }),
513
513
  /* @__PURE__ */ M("td", {
514
- className: "px-3 py-2 text-sm text-muted-foreground",
514
+ className: "px-3 py-2 text-sm text-text-secondary",
515
515
  children: e.description ?? "-"
516
516
  }),
517
517
  /* @__PURE__ */ N("td", {
518
- className: `px-3 py-2 text-sm text-right font-medium whitespace-nowrap ${e.type === "refund" ? "text-status-error-text" : "text-foreground"}`,
518
+ className: `px-3 py-2 text-sm text-right font-medium whitespace-nowrap ${e.type === "refund" ? "text-status-error-text" : "text-text-primary"}`,
519
519
  children: [e.type === "refund" ? "-" : "", i(Z(e), e.currency)]
520
520
  }),
521
521
  /* @__PURE__ */ M("td", {
@@ -540,9 +540,9 @@ var F = {
540
540
  })
541
541
  }),
542
542
  B.totalCount > 0 && /* @__PURE__ */ N("div", {
543
- className: "flex items-center justify-between border-t border-border pt-4",
543
+ className: "flex items-center justify-between border-t border-border-subtle pt-4",
544
544
  children: [/* @__PURE__ */ N("p", {
545
- className: "text-sm text-muted-foreground",
545
+ className: "text-sm text-text-secondary",
546
546
  children: [
547
547
  "Showing ",
548
548
  B.page * B.pageSize + 1,
@@ -561,11 +561,11 @@ var F = {
561
561
  type: "button",
562
562
  onClick: G,
563
563
  disabled: !B.hasPrevious,
564
- className: "inline-flex items-center gap-1 px-3 py-1.5 text-sm font-medium rounded-md border border-border bg-background hover:bg-muted/50 disabled:opacity-50 disabled:cursor-not-allowed transition-colors",
564
+ className: "inline-flex items-center gap-1 px-3 py-1.5 text-sm font-medium rounded-md border border-border-subtle bg-bg-surface hover:bg-bg-sunken/50 disabled:opacity-50 disabled:cursor-not-allowed transition-colors",
565
565
  children: [/* @__PURE__ */ M(b, { className: "size-4" }), "Previous"]
566
566
  }),
567
567
  /* @__PURE__ */ N("span", {
568
- className: "text-sm text-muted-foreground px-2",
568
+ className: "text-sm text-text-secondary px-2",
569
569
  children: [
570
570
  "Page ",
571
571
  B.page + 1,
@@ -577,7 +577,7 @@ var F = {
577
577
  type: "button",
578
578
  onClick: W,
579
579
  disabled: !B.hasMore,
580
- className: "inline-flex items-center gap-1 px-3 py-1.5 text-sm font-medium rounded-md border border-border bg-background hover:bg-muted/50 disabled:opacity-50 disabled:cursor-not-allowed transition-colors",
580
+ className: "inline-flex items-center gap-1 px-3 py-1.5 text-sm font-medium rounded-md border border-border-subtle bg-bg-surface hover:bg-bg-sunken/50 disabled:opacity-50 disabled:cursor-not-allowed transition-colors",
581
581
  children: ["Next", /* @__PURE__ */ M(x, { className: "size-4" })]
582
582
  })
583
583
  ]