@fluid-app/fluid-cli-theme-dev 0.1.533 → 0.1.535

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 (65) hide show
  1. package/dist/dist-cli-preview/.vite/manifest.json +276 -295
  2. package/dist/dist-cli-preview/account-screens.js +1 -1
  3. package/dist/dist-cli-preview/chunks/{Combobox-CJDvxjNn.js → Combobox-D4l7DbBy.js} +54 -53
  4. package/dist/dist-cli-preview/chunks/{ContactsScreen-DD3XWK3Q.js → ContactsScreen-CEtA3-1c.js} +903 -850
  5. package/dist/dist-cli-preview/chunks/MediaScreen-C2rOxuuv.js +8 -0
  6. package/dist/dist-cli-preview/chunks/{MemberManagementProviders-iVdfo0DH.js → MemberManagementProviders-B_YXVcDi.js} +13 -13
  7. package/dist/dist-cli-preview/chunks/{MemberShareablesScreen-BulCAnNO.js → MemberShareablesScreen-UNjYr5R6.js} +4207 -3757
  8. package/dist/dist-cli-preview/chunks/{MessagingScreen-DlDsOy19.js → MessagingScreen-Btga_V0H.js} +24118 -21933
  9. package/dist/dist-cli-preview/chunks/MobileActionSheet-CrEH2vO7.js +1384 -0
  10. package/dist/dist-cli-preview/chunks/{MySiteScreen-BfPfyV4m.js → MySiteScreen-B1fGtPDj.js} +177 -163
  11. package/dist/dist-cli-preview/chunks/OrdersScreen-Bf9DtOCA.js +9 -0
  12. package/dist/dist-cli-preview/chunks/{OrdersScreen-C4yi3z2p.js → OrdersScreen-DyyL-P7j.js} +35 -34
  13. package/dist/dist-cli-preview/chunks/PlaylistsScreen-tws56I3H.js +8 -0
  14. package/dist/dist-cli-preview/chunks/{PortalTenantClientProvider-Clys_Bme.js → PortalTenantClientProvider-DUOOCXfW.js} +1 -1
  15. package/dist/dist-cli-preview/chunks/{ProfileScreen-e4QhExeS.js → ProfileScreen-wZO6QMrU.js} +259 -234
  16. package/dist/dist-cli-preview/chunks/ResponsiveDialog-DSDcOjhm.js +731 -0
  17. package/dist/dist-cli-preview/chunks/Select-DmRoXIkQ.js +2499 -0
  18. package/dist/dist-cli-preview/chunks/{SubscriptionsScreen-DysTJ6w_.js → SubscriptionsScreen-BR2C0m7M.js} +3 -3
  19. package/dist/dist-cli-preview/chunks/Textarea-C59p5Cek.js +365 -0
  20. package/dist/dist-cli-preview/chunks/{account-screen-runtime-B3e0JV6I.js → account-screen-runtime-BqMndJcu.js} +1389 -1409
  21. package/dist/dist-cli-preview/chunks/{arrow-left-BOYuYcvT.js → arrow-left-CFy5J6Id.js} +1 -1
  22. package/dist/dist-cli-preview/chunks/{cli-preview-cY0EPyxC.js → cli-preview-DZOhxtLy.js} +10 -10
  23. package/dist/dist-cli-preview/chunks/{client.gen-jwIybX1j.js → client.gen-DTVKCFco.js} +12 -12
  24. package/dist/dist-cli-preview/chunks/{copy-Cm_EKxcg.js → copy-Da4VLOCZ.js} +1 -1
  25. package/dist/dist-cli-preview/chunks/{countries-api-adapter-BCS0247N.js → countries-api-adapter-Bh5QfCO1.js} +2 -2
  26. package/dist/dist-cli-preview/chunks/{create-card-entry-container-CZi7shLR.js → create-card-entry-container-ohrRYgww.js} +1939 -1929
  27. package/dist/dist-cli-preview/chunks/{hey-api-client-B6n5a7q-.js → hey-api-client-BIjWueui.js} +1 -1
  28. package/dist/dist-cli-preview/chunks/{index-CfLLmITa.js → index-BMWjXC9i.js} +405 -869
  29. package/dist/dist-cli-preview/chunks/{index-DFIsiT9r.js → index-BVehJyDQ.js} +2080 -2372
  30. package/dist/dist-cli-preview/chunks/index-_r1wSvno.js +427 -0
  31. package/dist/dist-cli-preview/chunks/{isAfter-D0zQuNEJ.js → isAfter-BR4uNpua.js} +145 -156
  32. package/dist/dist-cli-preview/chunks/{map-pin-Vt1smsNu.js → map-pin-C_cK_i_W.js} +1 -1
  33. package/dist/dist-cli-preview/chunks/messaging-B1UjYRdl.js +4 -0
  34. package/dist/dist-cli-preview/chunks/{mount-account-screen-BOVvR3Og.js → mount-account-screen-JJGALFRE.js} +8 -8
  35. package/dist/dist-cli-preview/chunks/{navigate-account-screen-D756rD78.js → navigate-account-screen-C0VoUNOi.js} +1 -1
  36. package/dist/dist-cli-preview/chunks/schemas-D0s3rDQw.js +4851 -0
  37. package/dist/dist-cli-preview/chunks/{screen-route-slug-utils-HNXiCpo6.js → screen-route-slug-utils-n2BiDZmp.js} +205 -260
  38. package/dist/dist-cli-preview/chunks/search-zEnxG69C.js +14 -0
  39. package/dist/dist-cli-preview/chunks/sheet-haptics-context-p5ZPxslK.js +133 -0
  40. package/dist/dist-cli-preview/chunks/{sidebar-BDgHluGp.js → sidebar-CjPHl33n.js} +8 -8
  41. package/dist/dist-cli-preview/chunks/{sortable.esm-Cw91KlVU.js → sortable.esm-CrxUZkb-.js} +373 -362
  42. package/dist/dist-cli-preview/chunks/{store-api-context-BCaEZBlj.js → store-api-context-0k_ECvSE.js} +1 -1
  43. package/dist/dist-cli-preview/chunks/translation-api-context-factory-CP0LBb-M.js +74 -0
  44. package/dist/dist-cli-preview/chunks/{use-mobile-BztyG-mE.js → use-mobile-DIhDH3dI.js} +1 -1
  45. package/dist/dist-cli-preview/chunks/{use-optional-store-Dl6PSQur.js → use-optional-store-t4xzc2Rl.js} +2 -2
  46. package/dist/dist-cli-preview/chunks/use-store-YC0Ovzht.js +76 -0
  47. package/dist/dist-cli-preview/chunks/{useInfiniteQuery-fL_VYHHr.js → useInfiniteQuery-Bnzu0kZa.js} +9 -20
  48. package/dist/dist-cli-preview/chunks/{users-B3YJ3D1U.js → users-CabXl4EL.js} +1 -1
  49. package/package.json +2 -2
  50. package/dist/dist-cli-preview/chunks/Breadcrumb-ixf0cTR_.js +0 -91
  51. package/dist/dist-cli-preview/chunks/MediaScreen-D8WSOaze.js +0 -8
  52. package/dist/dist-cli-preview/chunks/MobileActionSheet-aGr-nGxu.js +0 -3884
  53. package/dist/dist-cli-preview/chunks/OrdersScreen-hidM-JR_.js +0 -9
  54. package/dist/dist-cli-preview/chunks/PlaylistsScreen-BIqSXZ5B.js +0 -8
  55. package/dist/dist-cli-preview/chunks/ellipsis-C1sJRT_T.js +0 -15
  56. package/dist/dist-cli-preview/chunks/eye-BHBOtWLw.js +0 -20
  57. package/dist/dist-cli-preview/chunks/index-COIiY5Im.js +0 -135
  58. package/dist/dist-cli-preview/chunks/log-out-segl_UhK.js +0 -30
  59. package/dist/dist-cli-preview/chunks/messaging-C_IkzF0O.js +0 -4
  60. package/dist/dist-cli-preview/chunks/pause-YWP8mWBs.js +0 -41
  61. package/dist/dist-cli-preview/chunks/schemas-BiM-ImW1.js +0 -5565
  62. package/dist/dist-cli-preview/chunks/sheet-haptics-context-d9udqor0.js +0 -116
  63. package/dist/dist-cli-preview/chunks/trash-2-CZEbdFT_.js +0 -17
  64. package/dist/dist-cli-preview/chunks/use-store-aahN8SDp.js +0 -400
  65. package/dist/dist-cli-preview/chunks/user-B4pULYRZ.js +0 -14
@@ -0,0 +1,9 @@
1
+ import { j as r } from "./account-screen-runtime-BqMndJcu.js";
2
+ import { O as e } from "./OrdersScreen-DyyL-P7j.js";
3
+ import { M as o } from "./MemberManagementProviders-B_YXVcDi.js";
4
+ function t() {
5
+ return /* @__PURE__ */ r.jsx(o, { children: /* @__PURE__ */ r.jsx(e, {}) });
6
+ }
7
+ export {
8
+ t as OrdersScreen
9
+ };
@@ -1,10 +1,11 @@
1
- import { G as de, l as u, a8 as ce, j as t, M as F, N as K, as as ue, B as T, a9 as me, E as pe } from "./account-screen-runtime-B3e0JV6I.js";
2
- import { c as xe, a as fe, b as ge, u as he, I as _e, S as g } from "./sheet-haptics-context-d9udqor0.js";
3
- import { f as Y, h as be, I as je, R as ye, m as Ne, r as E, n as W, i as z, e as ve, p as we } from "./MemberManagementProviders-iVdfo0DH.js";
4
- import { u as ke, S as q } from "./useInfiniteQuery-fL_VYHHr.js";
5
- import { B as G, a as V, b as C, c as X, d as Se, e as Oe } from "./Breadcrumb-ixf0cTR_.js";
6
- import "./store-api-context-BCaEZBlj.js";
7
- import { u as De } from "./use-optional-store-Dl6PSQur.js";
1
+ import { Y as de, l as u, aj as ce, j as t, X as F, a1 as K, ay as ue, B as T, ak as me, E as pe } from "./account-screen-runtime-BqMndJcu.js";
2
+ import { c as xe, a as fe, b as ge, u as he } from "./translation-api-context-factory-CP0LBb-M.js";
3
+ import { f as Y, h as _e, I as be, R as je, m as ye, r as E, n as W, i as z, e as Ne, p as ve } from "./MemberManagementProviders-B_YXVcDi.js";
4
+ import { u as we } from "./useInfiniteQuery-Bnzu0kZa.js";
5
+ import { B as q, a as G, b as C, c as X, I as ke, S as g, d as Se, e as Oe } from "./sheet-haptics-context-p5ZPxslK.js";
6
+ import "./store-api-context-0k_ECvSE.js";
7
+ import { S as V } from "./search-zEnxG69C.js";
8
+ import { u as De } from "./use-optional-store-t4xzc2Rl.js";
8
9
  const Ce = {
9
10
  all: ["orders"]
10
11
  }, L = {
@@ -14,7 +15,7 @@ const Ce = {
14
15
  };
15
16
  function Le(e, r) {
16
17
  const s = Y();
17
- return ke({
18
+ return we({
18
19
  queryKey: [...Ce.all, "infinite-list", e],
19
20
  queryFn: ({ pageParam: a }) => {
20
21
  if (!s.fetchCustomerOrders)
@@ -281,14 +282,14 @@ const Ue = {
281
282
  blue: "bg-blue-500/15 text-foreground",
282
283
  orange: "bg-orange-500/15 text-foreground",
283
284
  gray: "bg-foreground/10 text-foreground"
284
- }, Me = {
285
+ }, Re = {
285
286
  green: "bg-green-500",
286
287
  yellow: "bg-yellow-500",
287
288
  red: "bg-red-500",
288
289
  blue: "bg-blue-500",
289
290
  orange: "bg-orange-500",
290
291
  gray: "bg-gray-500"
291
- }, Re = {
292
+ }, Me = {
292
293
  xs: "px-1.5 py-0.5 text-[10px]",
293
294
  sm: "px-2 py-0.5 text-xs",
294
295
  md: "px-2.5 py-1 text-sm"
@@ -306,14 +307,14 @@ function Ke({
306
307
  className: F(
307
308
  "inline-flex items-center gap-1 rounded-full font-medium whitespace-nowrap capitalize",
308
309
  Ue[e],
309
- Re[s],
310
+ Me[s],
310
311
  a
311
312
  ),
312
313
  children: [
313
314
  r && /* @__PURE__ */ t.jsx(
314
315
  "span",
315
316
  {
316
- className: F("h-1.5 w-1.5 rounded-full", Me[e])
317
+ className: F("h-1.5 w-1.5 rounded-full", Re[e])
317
318
  }
318
319
  ),
319
320
  n
@@ -345,7 +346,7 @@ function qe(e, r) {
345
346
  function Ge(e) {
346
347
  return e.sale_date ?? e.created_at;
347
348
  }
348
- const Ve = {
349
+ const Xe = {
349
350
  fulfilled: "gray",
350
351
  unfulfilled: "yellow",
351
352
  in_progress: "yellow",
@@ -360,7 +361,7 @@ const Ve = {
360
361
  returned: "red",
361
362
  refunded: "red"
362
363
  };
363
- function Xe(e) {
364
+ function Ve(e) {
364
365
  return e.includes("fulfilled") || e.includes("complete") ? "gray" : e.includes("hold") ? "orange" : "yellow";
365
366
  }
366
367
  const He = new Set(Object.keys(Q)), U = "refunded";
@@ -370,7 +371,7 @@ function J(e, r, s) {
370
371
  function Qe(e) {
371
372
  if (!e) return "gray";
372
373
  const r = e.toLowerCase();
373
- return Ve[r] ?? Q[r] ?? Xe(r);
374
+ return Xe[r] ?? Q[r] ?? Ve(r);
374
375
  }
375
376
  function Z({
376
377
  status: e,
@@ -544,26 +545,26 @@ function it({
544
545
  () => v?.pages.flatMap((f) => f.orders) ?? [],
545
546
  [v]
546
547
  ), w = v?.pages[0]?.counts;
547
- w && w !== c && h(w), be(ne) && !p && _(!0);
548
+ w && w !== c && h(w), _e(ne) && !p && _(!0);
548
549
  const $ = c ?? tt(b), k = u.useMemo(
549
550
  () => N ? b : b.filter((f) => y(o, f)),
550
551
  [N, b, o]
551
552
  ), oe = u.useMemo(() => rt(k, n), [k, n]);
552
553
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
553
- /* @__PURE__ */ t.jsx(K, { children: /* @__PURE__ */ t.jsx(G, { children: /* @__PURE__ */ t.jsx(V, { className: "text-lg", children: /* @__PURE__ */ t.jsx(C, { children: /* @__PURE__ */ t.jsx(X, { className: "font-semibold", children: n("order_history") }) }) }) }) }),
554
+ /* @__PURE__ */ t.jsx(K, { children: /* @__PURE__ */ t.jsx(q, { children: /* @__PURE__ */ t.jsx(G, { className: "text-lg", children: /* @__PURE__ */ t.jsx(C, { children: /* @__PURE__ */ t.jsx(X, { className: "font-semibold", children: n("order_history") }) }) }) }) }),
554
555
  /* @__PURE__ */ t.jsx("div", { className: "relative", children: /* @__PURE__ */ t.jsxs("div", { className: "relative mx-auto max-w-4xl px-5 pt-8 pb-20 md:px-8", children: [
555
556
  /* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-3", children: [
556
557
  /* @__PURE__ */ t.jsx("h1", { className: "text-foreground flex-1 truncate text-xl font-bold tracking-tight md:text-2xl", children: n("order_history") }),
557
558
  /* @__PURE__ */ t.jsxs("div", { className: "relative hidden sm:block", children: [
558
559
  /* @__PURE__ */ t.jsx(
559
- q,
560
+ V,
560
561
  {
561
562
  className: "text-muted-foreground pointer-events-none absolute top-1/2 left-3 size-4 -translate-y-1/2",
562
563
  strokeWidth: 2
563
564
  }
564
565
  ),
565
566
  /* @__PURE__ */ t.jsx(
566
- _e,
567
+ ke,
567
568
  {
568
569
  value: l,
569
570
  onChange: (f) => i(f.target.value),
@@ -695,7 +696,7 @@ function ct({
695
696
  const n = (e && e.length > 0 ? e : r?.image_url ? [r.image_url] : []).slice(0, 3);
696
697
  if (n.length === 0)
697
698
  return /* @__PURE__ */ t.jsxs("div", { className: "ring-border bg-muted text-muted-foreground relative flex size-12 shrink-0 items-center justify-center rounded-xl ring-1", children: [
698
- /* @__PURE__ */ t.jsx(je, { className: "size-5", strokeWidth: 1.75 }),
699
+ /* @__PURE__ */ t.jsx(be, { className: "size-5", strokeWidth: 1.75 }),
699
700
  s && /* @__PURE__ */ t.jsx(O, { t: a })
700
701
  ] });
701
702
  if (n.length === 1)
@@ -731,7 +732,7 @@ function O({ t: e }) {
731
732
  {
732
733
  className: "bg-primary text-primary-foreground ring-background absolute -top-1 -right-1 z-40 flex size-5 items-center justify-center rounded-full ring-2",
733
734
  title: e("from_subscription"),
734
- children: /* @__PURE__ */ t.jsx(ye, { className: "size-2.5", strokeWidth: 2.75 })
735
+ children: /* @__PURE__ */ t.jsx(je, { className: "size-2.5", strokeWidth: 2.75 })
735
736
  }
736
737
  );
737
738
  }
@@ -756,7 +757,7 @@ function mt({
756
757
  t: r
757
758
  }) {
758
759
  return /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col items-center gap-2 px-4 py-12 text-center", children: [
759
- /* @__PURE__ */ t.jsx("div", { className: "bg-muted flex size-12 items-center justify-center rounded-full", children: /* @__PURE__ */ t.jsx(q, { className: "text-muted-foreground size-5", strokeWidth: 2 }) }),
760
+ /* @__PURE__ */ t.jsx("div", { className: "bg-muted flex size-12 items-center justify-center rounded-full", children: /* @__PURE__ */ t.jsx(V, { className: "text-muted-foreground size-5", strokeWidth: 2 }) }),
760
761
  /* @__PURE__ */ t.jsx("div", { className: "text-foreground text-sm font-bold", children: r(e ? "no_matching_orders" : "no_orders_yet") }),
761
762
  /* @__PURE__ */ t.jsx("div", { className: "text-muted-foreground max-w-sm text-xs", children: r(e ? "search_hint" : "empty_hint") })
762
763
  ] });
@@ -794,7 +795,7 @@ function ft() {
794
795
  }
795
796
  );
796
797
  }
797
- const M = {
798
+ const R = {
798
799
  display: "inline-flex",
799
800
  minHeight: "1.5rem",
800
801
  alignItems: "center",
@@ -831,8 +832,8 @@ function yt({
831
832
  label: e,
832
833
  className: r
833
834
  }) {
834
- const s = Ne(e);
835
- return s ? /* @__PURE__ */ t.jsx("p", { className: r, style: M, "aria-label": e, children: /* @__PURE__ */ t.jsx("span", { "aria-hidden": "true", style: gt, children: s.map((a, n) => {
835
+ const s = ye(e);
836
+ return s ? /* @__PURE__ */ t.jsx("p", { className: r, style: R, "aria-label": e, children: /* @__PURE__ */ t.jsx("span", { "aria-hidden": "true", style: gt, children: s.map((a, n) => {
836
837
  if (a.kind === "gap") return null;
837
838
  const l = s[n + 1]?.kind === "gap" ? { marginInlineEnd: jt } : null;
838
839
  if (a.kind === "dots")
@@ -856,13 +857,13 @@ function yt({
856
857
  },
857
858
  `${a.kind}-${n}`
858
859
  );
859
- }) }) }) : /* @__PURE__ */ t.jsx("p", { className: r, style: M, children: e });
860
+ }) }) }) : /* @__PURE__ */ t.jsx("p", { className: r, style: R, children: e });
860
861
  }
861
862
  function Nt(e) {
862
- return e.last4 != null || ve(e.card_network) != null || W(e.card_network) != null || z(e.source) || z(e.payment_type);
863
+ return e.last4 != null || Ne(e.card_network) != null || W(e.card_network) != null || z(e.source) || z(e.payment_type);
863
864
  }
864
865
  function vt(e) {
865
- return we(
866
+ return ve(
866
867
  e.payment_title,
867
868
  e.payment_type,
868
869
  e.source
@@ -915,7 +916,7 @@ function j({ label: e, value: r }) {
915
916
  /* @__PURE__ */ t.jsx("p", { className: "text-foreground", children: r })
916
917
  ] });
917
918
  }
918
- function R(e) {
919
+ function M(e) {
919
920
  return e.startsWith("-") ? e : `-${e}`;
920
921
  }
921
922
  function x(e, r) {
@@ -1097,7 +1098,7 @@ function Pt({
1097
1098
  j,
1098
1099
  {
1099
1100
  label: s("discount"),
1100
- value: R(
1101
+ value: M(
1101
1102
  x(e.discount_in_currency, e.discount)
1102
1103
  )
1103
1104
  }
@@ -1134,7 +1135,7 @@ function Pt({
1134
1135
  ")"
1135
1136
  ] })
1136
1137
  ] }),
1137
- /* @__PURE__ */ t.jsx("p", { className: "text-foreground", children: R(
1138
+ /* @__PURE__ */ t.jsx("p", { className: "text-foreground", children: M(
1138
1139
  x(
1139
1140
  e.points_applied_amount_in_currency ?? null,
1140
1141
  String(e.points_applied_amount ?? 0)
@@ -1277,7 +1278,7 @@ function Et({
1277
1278
  }) {
1278
1279
  const { t: i } = m(), { data: o } = H(e), d = o?.order.order_number ?? o?.order.id.toString() ?? String(e);
1279
1280
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1280
- /* @__PURE__ */ t.jsx(K, { children: /* @__PURE__ */ t.jsx(G, { children: /* @__PURE__ */ t.jsxs(V, { className: "text-lg", children: [
1281
+ /* @__PURE__ */ t.jsx(K, { children: /* @__PURE__ */ t.jsx(q, { children: /* @__PURE__ */ t.jsxs(G, { className: "text-lg", children: [
1281
1282
  /* @__PURE__ */ t.jsx(C, { children: /* @__PURE__ */ t.jsx(
1282
1283
  Se,
1283
1284
  {
@@ -1328,7 +1329,7 @@ function zt({
1328
1329
  function At(e, r) {
1329
1330
  pe({ title: e, type: r });
1330
1331
  }
1331
- function Wt({
1332
+ function qt({
1332
1333
  onToast: e,
1333
1334
  /* eslint-disable @typescript-eslint/no-unused-vars -- destructured to exclude from divProps spread */
1334
1335
  background: r,
@@ -1343,5 +1344,5 @@ function Wt({
1343
1344
  return c !== void 0 ? /* @__PURE__ */ t.jsx(I, { children: /* @__PURE__ */ t.jsx("div", { ...i, children: /* @__PURE__ */ t.jsx(zt, { token: c, onToast: d }) }) }) : /* @__PURE__ */ t.jsx(I, { children: /* @__PURE__ */ t.jsx("div", { ...i, children: /* @__PURE__ */ t.jsx(ft, {}) }) });
1344
1345
  }
1345
1346
  export {
1346
- Wt as O
1347
+ qt as O
1347
1348
  };
@@ -0,0 +1,8 @@
1
+ import { j as r } from "./account-screen-runtime-BqMndJcu.js";
2
+ import { M as e } from "./MemberShareablesScreen-UNjYr5R6.js";
3
+ function a() {
4
+ return /* @__PURE__ */ r.jsx(e, { curation: "always" });
5
+ }
6
+ export {
7
+ a as PlaylistsScreen
8
+ };
@@ -1,4 +1,4 @@
1
- import { l as t } from "./account-screen-runtime-B3e0JV6I.js";
1
+ import { l as t } from "./account-screen-runtime-BqMndJcu.js";
2
2
  const n = t.createContext(null), r = t.createContext(null), a = n.Provider;
3
3
  r.Provider;
4
4
  function l() {