@streamlayer/react 0.38.0 → 0.39.0
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.
- package/lib/app/provider.d.ts +2 -1
- package/lib/cjs/gamification-feature.js +1 -1
- package/lib/cjs/index2.js +5 -3
- package/lib/cjs/masters2.js +41 -41
- package/lib/cjs/useStreamLayerApp.js +1 -1
- package/lib/dist/cjs/gamification-feature.js +1 -1
- package/lib/dist/cjs/masters.js +60 -58
- package/lib/dist/es/gamification-feature.js +5 -5
- package/lib/dist/es/index.js +1 -1
- package/lib/dist/es/masters.js +14050 -13953
- package/lib/dist/index.d.ts +20 -12
- package/lib/dist/style.css +1 -1
- package/lib/es/gamification-feature.js +85 -85
- package/lib/es/index2.js +30 -27
- package/lib/es/masters.js +3 -3
- package/lib/es/masters2.js +6482 -6407
- package/lib/es/useStreamLayerApp.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +12 -12
|
@@ -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,
|
|
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: "
|
|
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(
|
package/lib/dist/es/index.js
CHANGED