@fluid-app/fluid-cli-theme-dev 0.1.173 → 0.1.175

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.
@@ -0,0 +1,8 @@
1
+ import { j as r } from "./account-screen-runtime-CCBl8DXt.js";
2
+ import { M as e } from "./MemberShareablesScreen-D-5-JyQq.js";
3
+ function a() {
4
+ return /* @__PURE__ */ r.jsx(e, { curation: "always" });
5
+ }
6
+ export {
7
+ a as PlaylistsScreen
8
+ };
@@ -1,6 +1,6 @@
1
1
  var g = Object.defineProperty;
2
2
  var b = (t, e, s) => e in t ? g(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
3
- var u = (t, e, s) => b(t, typeof e != "symbol" ? e + "" : e, s);
3
+ var l = (t, e, s) => b(t, typeof e != "symbol" ? e + "" : e, s);
4
4
  const p = {
5
5
  subscriptions: async () => {
6
6
  const [t, e] = await Promise.all([
@@ -18,11 +18,18 @@ const p = {
18
18
  },
19
19
  media: async () => {
20
20
  const [t, e] = await Promise.all([
21
- import("./MediaScreen-1akMnH12.js"),
21
+ import("./MediaScreen-DlrLPYRf.js"),
22
22
  import("./media-vkLeBb90.js")
23
23
  ]);
24
24
  return { Component: t.MediaScreen, styles: e.default };
25
25
  },
26
+ playlists: async () => {
27
+ const [t, e] = await Promise.all([
28
+ import("./PlaylistsScreen-DgYA1qcv.js"),
29
+ import("./playlists-vkLeBb90.js")
30
+ ]);
31
+ return { Component: t.PlaylistsScreen, styles: e.default };
32
+ },
26
33
  profile: async () => {
27
34
  const [t, e] = await Promise.all([
28
35
  import("./ProfileScreen-CCWM6TBs.js"),
@@ -81,8 +88,8 @@ function f(t, e) {
81
88
  for (const [s, o] of Object.entries(y)) {
82
89
  if (s !== e && !t.hasAttribute(s))
83
90
  continue;
84
- const a = t.getAttribute(s)?.trim(), l = `--fluid-account-default-${o}`, n = s.endsWith("font-family") ? "font-family" : "color";
85
- a && CSS.supports(n, a) ? t.style.setProperty(l, a) : t.style.removeProperty(l);
91
+ const c = t.getAttribute(s)?.trim(), u = `--fluid-account-default-${o}`, n = s.endsWith("font-family") ? "font-family" : "color";
92
+ c && CSS.supports(n, c) ? t.style.setProperty(u, c) : t.style.removeProperty(u);
86
93
  }
87
94
  }
88
95
  function h(t = "fluid-account-screen", e, s = !1) {
@@ -90,8 +97,8 @@ function h(t = "fluid-account-screen", e, s = !1) {
90
97
  class o extends HTMLElement {
91
98
  constructor() {
92
99
  super(...arguments);
93
- u(this, "generation", 0);
94
- u(this, "mounted");
100
+ l(this, "generation", 0);
101
+ l(this, "mounted");
95
102
  }
96
103
  connectedCallback() {
97
104
  f(this), this.mount();
@@ -107,8 +114,8 @@ function h(t = "fluid-account-screen", e, s = !1) {
107
114
  this.generation += 1, this.mounted?.unmount(), this.mounted = void 0;
108
115
  }
109
116
  status(n) {
110
- const r = this.shadowRoot ?? this.attachShadow({ mode: "open" }), c = document.createElement("p");
111
- if (c.setAttribute("role", n ? "alert" : "status"), c.textContent = n ? this.getAttribute("error-label") ?? "This screen couldn't load." : this.getAttribute("loading-label") ?? "Loading…", r.replaceChildren(c), n) {
117
+ const r = this.shadowRoot ?? this.attachShadow({ mode: "open" }), a = document.createElement("p");
118
+ if (a.setAttribute("role", n ? "alert" : "status"), a.textContent = n ? this.getAttribute("error-label") ?? "This screen couldn't load." : this.getAttribute("loading-label") ?? "Loading…", r.replaceChildren(a), n) {
112
119
  const i = document.createElement("button");
113
120
  i.type = "button", i.textContent = this.getAttribute("retry-label") ?? "Try again", i.addEventListener("click", () => {
114
121
  this.mount();
@@ -124,12 +131,12 @@ function h(t = "fluid-account-screen", e, s = !1) {
124
131
  }
125
132
  this.status(!1);
126
133
  try {
127
- const [c, i] = await Promise.all([
128
- import("./mount-account-screen--gdc5WO_.js"),
134
+ const [a, i] = await Promise.all([
135
+ import("./mount-account-screen-BuQhxURX.js"),
129
136
  w(r)
130
137
  ]);
131
138
  if (!this.isConnected || this.generation !== n) return;
132
- this.mounted = c.mountAccountScreen(
139
+ this.mounted = a.mountAccountScreen(
133
140
  this,
134
141
  r,
135
142
  i,
@@ -143,7 +150,7 @@ function h(t = "fluid-account-screen", e, s = !1) {
143
150
  }
144
151
  }
145
152
  }
146
- u(o, "observedAttributes", [
153
+ l(o, "observedAttributes", [
147
154
  "screen",
148
155
  "path",
149
156
  "preview",