@streamlayer/react 0.38.0 → 0.39.1

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.
@@ -2,7 +2,7 @@ var Me = Object.defineProperty;
2
2
  var Ve = (e, t, s) => t in e ? Me(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
3
3
  var ne = (e, t, s) => (Ve(e, typeof t != "symbol" ? t + "" : t, s), s);
4
4
  import { jsxs as p, jsx as n, Fragment as x } from "react/jsx-runtime";
5
- import { s as r, c as R, Q as f, o as Ie, I as Ce, a as ge, b as V, d as _e, e as z, f as Ae, E as Q, w as Qe, L as ye, u as q, g as je, F as Ue, h as We, P as Y, i as Be, p as Fe, C as ze, n as $e, m as He, j as Ye, l as Ze, D as Ge, k as Ke, q as Xe } from "./masters.js";
5
+ import { s as r, c as R, Q as f, o as Ie, I as Ce, a as ge, b as V, d as _e, e as z, f as Ae, E as Q, H as Qe, G as ye, u as q, g as je, F as Ue, h as We, P as Y, i as Be, p as Fe, C as ze, n as $e, m as He, j as Ye, l as Ze, k as Ge, q as Ke, r as Xe } from "./masters.js";
6
6
  import W, { useState as P, useLayoutEffect as be, useRef as _, useCallback as B, useEffect as J, useMemo as M, PureComponent as Je, Component as et, useTransition as tt } from "react";
7
7
  const st = /* @__PURE__ */ r("div")({
8
8
  name: "Container",
@@ -292,7 +292,7 @@ const st = /* @__PURE__ */ r("div")({
292
292
  ] }),
293
293
  w && /* @__PURE__ */ p(x, { children: [
294
294
  /* @__PURE__ */ n(H, { "data-feedback-type": "correct", children: /* @__PURE__ */ n(R, { name: "correct" }) }),
295
- /* @__PURE__ */ n(U, { children: "That's for answering. Please stay tuned for the next question." })
295
+ /* @__PURE__ */ n(U, { children: "Thanks for answering. Please stay tuned for the next question." })
296
296
  ] }),
297
297
  (g || C) && /* @__PURE__ */ p(x, { children: [
298
298
  /* @__PURE__ */ n(H, { "data-feedback-type": b, children: /* @__PURE__ */ n(R, { name: b }) }),
@@ -1498,10 +1498,10 @@ const Nn = ({
1498
1498
  s.setKey("tabsShown", !0);
1499
1499
  return;
1500
1500
  }
1501
- s.setKey("tabsShown", g.scrollDirection === "backward");
1502
- }), [s]);
1501
+ a.get().sdkInDesktopView ? s.setKey("tabsShown", g.scrollDirection === "backward") : s.setKey("tabsShown", g.scrollDirection === "forward");
1502
+ }), [s, a]);
1503
1503
  let $ = "0px";
1504
- m ? $ = d ? "0px" : "calc(8px - var(--header-height) - var(--header-offset))" : $ = d ? "calc(var(--header-height) + var(--header-offset))" : "0px";
1504
+ m ? $ = d ? "0px" : "calc(8px - var(--header-height) - var(--header-offset))" : $ = d ? "calc(var(--header-height) + var(--header-offset) - 2px)" : "0px";
1505
1505
  const y = m ? i : c;
1506
1506
  return /* @__PURE__ */ p(Fe, { className: t, style: l, children: [
1507
1507
  /* @__PURE__ */ n(
@@ -1,4 +1,4 @@
1
- import { M as s, r as m, S as o, t as S } from "./masters.js";
1
+ import { M as s, t as m, S as o, v as S } from "./masters.js";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
4
  export {