@fluid-app/fluid-cli-theme-dev 0.1.534 → 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 +1 -1
  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
@@ -1,4 +1,4 @@
1
- import { l as r } from "./account-screen-runtime-B3e0JV6I.js";
1
+ import { l as r } from "./account-screen-runtime-BqMndJcu.js";
2
2
  const t = r.createContext(null), i = t.Provider;
3
3
  function n() {
4
4
  const e = r.use(t);
@@ -0,0 +1,74 @@
1
+ import { l } from "./account-screen-runtime-BqMndJcu.js";
2
+ function i(t, r) {
3
+ const [a, e] = l.useState(
4
+ () => t.getCached(r) ?? t.fallback
5
+ );
6
+ return l.useEffect(() => {
7
+ let n = !1;
8
+ if (r === t.fallbackLocale) {
9
+ e(t.fallback);
10
+ return;
11
+ }
12
+ const c = t.getCached(r);
13
+ if (c) {
14
+ e(c);
15
+ return;
16
+ }
17
+ return t.load(r).then((s) => {
18
+ n || e(s);
19
+ }).catch(() => {
20
+ n || e(t.fallback);
21
+ }), () => {
22
+ n = !0;
23
+ };
24
+ }, [t, r]), a;
25
+ }
26
+ function o(t) {
27
+ const r = t.fallbackLocale ?? "en", a = /* @__PURE__ */ new Map();
28
+ return {
29
+ fallback: t.fallback,
30
+ fallbackLocale: r,
31
+ getCached(e) {
32
+ return e === r ? t.fallback : a.get(e) ?? null;
33
+ },
34
+ async load(e) {
35
+ if (e === r) return t.fallback;
36
+ const n = a.get(e);
37
+ if (n) return n;
38
+ const c = t.loaders?.[e];
39
+ if (!c) return t.fallback;
40
+ const s = await c(), u = { ...t.fallback, ...s };
41
+ return a.set(e, u), u;
42
+ }
43
+ };
44
+ }
45
+ function b(t, r) {
46
+ return {
47
+ locale: t,
48
+ t(a, ...e) {
49
+ const n = r[a] ?? a, c = e[0];
50
+ return c ? n.replace(
51
+ /\{\{(\w+)\}\}/g,
52
+ (s, u) => u in c ? String(c[u]) : s
53
+ ) : n;
54
+ }
55
+ };
56
+ }
57
+ function k(t) {
58
+ const r = l.createContext(null);
59
+ function a() {
60
+ const e = l.use(r);
61
+ if (!e)
62
+ throw new Error(
63
+ `use${t}Translation must be used within a ${t}TranslationProvider`
64
+ );
65
+ return e;
66
+ }
67
+ return { Context: r, Provider: r.Provider, useTranslation: a };
68
+ }
69
+ export {
70
+ b as a,
71
+ k as b,
72
+ o as c,
73
+ i as u
74
+ };
@@ -3,7 +3,7 @@ var v = (n) => {
3
3
  };
4
4
  var y = (n, t, s) => t.has(n) || v("Cannot " + s);
5
5
  var i = (n, t, s) => (y(n, t, "read from private field"), s ? s.call(n) : t.get(n)), p = (n, t, s) => t.has(n) ? v("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(n) : t.set(n, s), f = (n, t, s, e) => (y(n, t, "write to private field"), e ? e.call(n, s) : t.set(n, s), s), c = (n, t, s) => (y(n, t, "access private method"), s);
6
- import { bp as C, bq as R, n as E, l as g } from "./account-screen-runtime-B3e0JV6I.js";
6
+ import { bk as C, bl as R, n as E, l as g } from "./account-screen-runtime-BqMndJcu.js";
7
7
  var m, u, o, l, h, d, P, O = (P = class extends C {
8
8
  constructor(t) {
9
9
  super();
@@ -1,5 +1,5 @@
1
- import { G as t } from "./account-screen-runtime-B3e0JV6I.js";
2
- import { a as r } from "./store-api-context-BCaEZBlj.js";
1
+ import { Y as t } from "./account-screen-runtime-BqMndJcu.js";
2
+ import { a as r } from "./store-api-context-0k_ECvSE.js";
3
3
  const o = ["portalTenant", "store"], n = 300 * 1e3;
4
4
  function s(e) {
5
5
  return async () => (await e.fetchStore()).store;
@@ -0,0 +1,76 @@
1
+ import { ax as m, Y as h } from "./account-screen-runtime-BqMndJcu.js";
2
+ import { u as S } from "./store-api-context-0k_ECvSE.js";
3
+ import { S as R, f as l, a as P } from "./use-optional-store-t4xzc2Rl.js";
4
+ var p = { exports: {} }, a, u;
5
+ function _() {
6
+ if (u) return a;
7
+ u = 1;
8
+ var t = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
9
+ return a = t, a;
10
+ }
11
+ var n, y;
12
+ function v() {
13
+ if (y) return n;
14
+ y = 1;
15
+ var t = /* @__PURE__ */ _();
16
+ function s() {
17
+ }
18
+ function i() {
19
+ }
20
+ return i.resetWarningCache = s, n = function() {
21
+ function e(O, d, q, x, b, f) {
22
+ if (f !== t) {
23
+ var c = new Error(
24
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
25
+ );
26
+ throw c.name = "Invariant Violation", c;
27
+ }
28
+ }
29
+ e.isRequired = e;
30
+ function r() {
31
+ return e;
32
+ }
33
+ var o = {
34
+ array: e,
35
+ bigint: e,
36
+ bool: e,
37
+ func: e,
38
+ number: e,
39
+ object: e,
40
+ string: e,
41
+ symbol: e,
42
+ any: e,
43
+ arrayOf: r,
44
+ element: e,
45
+ elementType: e,
46
+ instanceOf: r,
47
+ node: e,
48
+ objectOf: r,
49
+ oneOf: r,
50
+ oneOfType: r,
51
+ shape: r,
52
+ exact: r,
53
+ checkPropTypes: i,
54
+ resetWarningCache: s
55
+ };
56
+ return o.PropTypes = o, o;
57
+ }, n;
58
+ }
59
+ var T;
60
+ function E() {
61
+ return T || (T = 1, p.exports = /* @__PURE__ */ v()()), p.exports;
62
+ }
63
+ var g = /* @__PURE__ */ E();
64
+ const C = /* @__PURE__ */ m(g);
65
+ function I() {
66
+ const t = S();
67
+ return h({
68
+ queryKey: P,
69
+ queryFn: l(t),
70
+ staleTime: R
71
+ });
72
+ }
73
+ export {
74
+ C as P,
75
+ I as u
76
+ };
@@ -1,15 +1,5 @@
1
- import { c as g, bd as d, be as b, bf as v, bg as x } from "./account-screen-runtime-B3e0JV6I.js";
2
- /**
3
- * @license lucide-react v0.575.0 - ISC
4
- *
5
- * This source code is licensed under the ISC license.
6
- * See the LICENSE file in the root directory of this source tree.
7
- */
8
- const p = [
9
- ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
10
- ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
11
- ], R = g("search", p);
12
- var l = class extends d {
1
+ import { b5 as g, b6 as d, b7 as b, b8 as v } from "./account-screen-runtime-BqMndJcu.js";
2
+ var x = class extends g {
13
3
  constructor(e, t) {
14
4
  super(e, t);
15
5
  }
@@ -39,13 +29,13 @@ var l = class extends d {
39
29
  });
40
30
  }
41
31
  createResult(e, t) {
42
- const { state: s } = e, i = super.createResult(e, t), { isFetching: c, isRefetching: f, isError: a, isRefetchError: P } = i, r = s.fetchMeta?.fetchMore?.direction, h = a && r === "forward", n = c && r === "forward", o = a && r === "backward", u = c && r === "backward";
32
+ const { state: s } = e, i = super.createResult(e, t), { isFetching: a, isRefetching: f, isError: c, isRefetchError: P } = i, r = s.fetchMeta?.fetchMore?.direction, h = c && r === "forward", n = a && r === "forward", o = c && r === "backward", u = a && r === "backward";
43
33
  return {
44
34
  ...i,
45
35
  fetchNextPage: this.fetchNextPage,
46
36
  fetchPreviousPage: this.fetchPreviousPage,
47
- hasNextPage: v(t, s.data),
48
- hasPreviousPage: b(t, s.data),
37
+ hasNextPage: b(t, s.data),
38
+ hasPreviousPage: d(t, s.data),
49
39
  isFetchNextPageError: h,
50
40
  isFetchingNextPage: n,
51
41
  isFetchPreviousPageError: o,
@@ -55,13 +45,12 @@ var l = class extends d {
55
45
  };
56
46
  }
57
47
  };
58
- function m(e, t) {
59
- return x(
48
+ function N(e, t) {
49
+ return v(
60
50
  e,
61
- l
51
+ x
62
52
  );
63
53
  }
64
54
  export {
65
- R as S,
66
- m as u
55
+ N as u
67
56
  };
@@ -1,4 +1,4 @@
1
- import { c as e } from "./account-screen-runtime-B3e0JV6I.js";
1
+ import { c as e } from "./account-screen-runtime-BqMndJcu.js";
2
2
  /**
3
3
  * @license lucide-react v0.575.0 - ISC
4
4
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-app/fluid-cli-theme-dev",
3
- "version": "0.1.534",
3
+ "version": "0.1.535",
4
4
  "description": "Fluid CLI plugin for theme developer workflows — dev server, push, pull, init, crawl, compare",
5
5
  "files": [
6
6
  "dist",
@@ -1,91 +0,0 @@
1
- import { j as e, M as t, b2 as o, R as u } from "./account-screen-runtime-B3e0JV6I.js";
2
- function i({
3
- ...a
4
- }) {
5
- return /* @__PURE__ */ e.jsx("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...a });
6
- }
7
- function d({
8
- className: a,
9
- ...r
10
- }) {
11
- return /* @__PURE__ */ e.jsx(
12
- "ol",
13
- {
14
- "data-slot": "breadcrumb-list",
15
- className: t(
16
- "text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
17
- a
18
- ),
19
- ...r
20
- }
21
- );
22
- }
23
- function l({
24
- className: a,
25
- ...r
26
- }) {
27
- return /* @__PURE__ */ e.jsx(
28
- "li",
29
- {
30
- "data-slot": "breadcrumb-item",
31
- className: t("inline-flex items-center gap-1.5", a),
32
- ...r
33
- }
34
- );
35
- }
36
- function m({
37
- asChild: a,
38
- className: r,
39
- ...s
40
- }) {
41
- const n = a ? o : "a";
42
- return /* @__PURE__ */ e.jsx(
43
- n,
44
- {
45
- "data-slot": "breadcrumb-link",
46
- className: t("hover:text-foreground transition-colors", r),
47
- ...s
48
- }
49
- );
50
- }
51
- function b({
52
- className: a,
53
- ...r
54
- }) {
55
- return /* @__PURE__ */ e.jsx(
56
- "span",
57
- {
58
- "data-slot": "breadcrumb-page",
59
- role: "link",
60
- "aria-disabled": "true",
61
- "aria-current": "page",
62
- className: t("text-foreground font-normal", a),
63
- ...r
64
- }
65
- );
66
- }
67
- function x({
68
- children: a,
69
- className: r,
70
- ...s
71
- }) {
72
- return /* @__PURE__ */ e.jsx(
73
- "li",
74
- {
75
- "data-slot": "breadcrumb-separator",
76
- role: "presentation",
77
- "aria-hidden": "true",
78
- className: t("[&>svg]:size-3.5", r),
79
- ...s,
80
- children: a ?? /* @__PURE__ */ e.jsx(u, {})
81
- }
82
- );
83
- }
84
- export {
85
- i as B,
86
- d as a,
87
- l as b,
88
- b as c,
89
- m as d,
90
- x as e
91
- };
@@ -1,8 +0,0 @@
1
- import { j as e } from "./account-screen-runtime-B3e0JV6I.js";
2
- import { M as r } from "./MemberShareablesScreen-BulCAnNO.js";
3
- function t() {
4
- return /* @__PURE__ */ e.jsx(r, { curation: "when-served" });
5
- }
6
- export {
7
- t as MediaScreen
8
- };