@streamlayer/web-os 0.2.2 → 0.2.3

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.
@@ -1,4 +1,4 @@
1
- import { r as e } from "./index2.js";
1
+ import { a as f } from "./index2.js";
2
2
  export {
3
- e as default
3
+ f as default
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as s, Fragment as C } from "react/jsx-runtime";
2
- import { t as z, e as w, f as T, a as H, b as j, A as Y, s as a, i as W, I as $, c as U, B as h, D as K, d as f, u, g as L, S as D, O as q, h as O, R as P, j as _, k as ss, p as es, l as as, m as ns, n as ls, o as ts, q as is, v as os, w as rs, C as cs } from "./index2.js";
2
+ import { t as z, e as w, f as T, b as H, c as j, A as Y, s as a, i as W, I as $, d as U, B as h, D as K, g as f, u, r as L, S as D, O as q, h as O, R as P, j as _, w as ss, p as es, k as as, l as ns, m as ls, n as ts, o as is, q as os, v as rs, C as cs } from "./index2.js";
3
3
  import "@nanostores/react";
4
4
  import { useRef as G, useState as Z, useCallback as x, useEffect as R } from "react";
5
5
  import "nanostores";
@@ -68,11 +68,11 @@ const ps = /* @__PURE__ */ T("CjZzdHJlYW1sYXllci9hbmFseXRpY3MvdjEvaW52aXRhdGlvbn
68
68
  name: "UserInfo",
69
69
  class: "u10d4koz",
70
70
  propsAsIs: !1
71
- }), Ss = /* @__PURE__ */ a("div")({
71
+ }), Xs = /* @__PURE__ */ a("div")({
72
72
  name: "UserName",
73
73
  class: "u1q6roj0",
74
74
  propsAsIs: !1
75
- }), Xs = /* @__PURE__ */ a("div")({
75
+ }), Ss = /* @__PURE__ */ a("div")({
76
76
  name: "UserRating",
77
77
  class: "ui0m425",
78
78
  propsAsIs: !1
@@ -140,8 +140,8 @@ const ps = /* @__PURE__ */ T("CjZzdHJlYW1sYXllci9hbmFseXRpY3MvdjEvaW52aXRhdGlvbn
140
140
  !l && /* @__PURE__ */ s(Us, { children: $(o || "") })
141
141
  ] }),
142
142
  /* @__PURE__ */ i(Zs, { children: [
143
- /* @__PURE__ */ s(Ss, { children: o }),
144
- /* @__PURE__ */ i(Xs, { children: [
143
+ /* @__PURE__ */ s(Xs, { children: o }),
144
+ /* @__PURE__ */ i(Ss, { children: [
145
145
  /* @__PURE__ */ i(ys, { children: [
146
146
  /* @__PURE__ */ i(Ns, { children: [
147
147
  /* @__PURE__ */ s(Ys, { alt: "rank-icon", src: Ls }),
@@ -409,7 +409,7 @@ const F = ({ title: e, active: n, onClick: l }) => /* @__PURE__ */ s(Qs, { "data
409
409
  name: "LinkAddress",
410
410
  class: "lvi87q4",
411
411
  propsAsIs: !1
412
- }), Se = () => h, Xe = /* @__PURE__ */ a(Se())({
412
+ }), Xe = () => h, Se = /* @__PURE__ */ a(Xe())({
413
413
  name: "LinkIcon",
414
414
  class: "l1pqlvw3",
415
415
  propsAsIs: !0
@@ -438,7 +438,7 @@ const F = ({ title: e, active: n, onClick: l }) => /* @__PURE__ */ s(Qs, { "data
438
438
  /* @__PURE__ */ s(Ge, { children: "Invite link" }),
439
439
  /* @__PURE__ */ s(Ze, { children: e })
440
440
  ] }),
441
- /* @__PURE__ */ s(Xe, { name: "icon-copy" })
441
+ /* @__PURE__ */ s(Se, { name: "icon-copy" })
442
442
  ] }),
443
443
  p
444
444
  ] });
@@ -556,10 +556,10 @@ const F = ({ title: e, active: n, onClick: l }) => /* @__PURE__ */ s(Qs, { "data
556
556
  };
557
557
  }, [e]), /* @__PURE__ */ s(xs, { loading: !(l != null && l.summary), ...l == null ? void 0 : l.summary, successRate: (n = l == null ? void 0 : l.percentage) == null ? void 0 : n.correct });
558
558
  }, He = ({ gamification: e, className: n, scrollStore: l, scrollNode: o, appNode: t, style: r, responsiveStore: d }) => {
559
- const { tabsShown: p } = u(l, { keys: ["tabsShown"] }), c = u(e.friendsTabEnabled), [m, b] = Z(v.HOME), [, g] = as(), { sdkInDesktopView: S, screen: Q } = u(d, { keys: ["sdkInDesktopView"] }), M = (A) => {
559
+ const { tabsShown: p } = u(l, { keys: ["tabsShown"] }), c = u(e.friendsTabEnabled), [m, b] = Z(v.HOME), [, g] = as(), { sdkInDesktopView: X, screen: Q } = u(d, { keys: ["sdkInDesktopView"] }), M = (A) => {
560
560
  g(() => {
561
- var X;
562
- b(A), S === !1 && (((X = t.current) == null ? void 0 : X.getBoundingClientRect().y) || 0) < 0 && bs(t, Q.size, { behavior: "instant" });
561
+ var S;
562
+ b(A), X === !1 && (((S = t.current) == null ? void 0 : S.getBoundingClientRect().y) || 0) < 0 && bs(t, Q.size, { behavior: "instant" });
563
563
  });
564
564
  };
565
565
  R(() => l.subscribe((A) => {
@@ -572,7 +572,7 @@ const F = ({ title: e, active: n, onClick: l }) => /* @__PURE__ */ s(Qs, { "data
572
572
  c || b(v.HOME);
573
573
  }, [c]);
574
574
  let V = "0px";
575
- return S ? V = p ? "0px" : "calc(0px - var(--header-height))" : V = p ? "var(--header-height)" : "0px", /* @__PURE__ */ i(ns, { className: ls(n, "SL-Tabs", "sl-hide-on-modal"), style: r, children: [
575
+ return X ? V = p ? "0px" : "calc(0px - var(--header-height))" : V = p ? "var(--header-height)" : "0px", /* @__PURE__ */ i(ns, { className: ls(n, "SL-Tabs", "sl-hide-on-modal"), style: r, children: [
576
576
  c && /* @__PURE__ */ s(
577
577
  ts,
578
578
  {
package/lib/es/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { x as s, y, z as S, W as L } from "./index2.js";
2
+ import { x as s, y, Z as S, G as L } from "./index2.js";
3
3
  import "nanostores";
4
4
  import "react";
5
5
  import "@nanostores/react";