@streamlayer/react-ui 1.15.0 → 1.16.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/app/Advertisement/index.js +1 -1
- package/lib/app/app/Features/FeatureProvider.js +1 -1
- package/lib/app/app/Features/Gamification/Leaderboard.js +1 -1
- package/lib/app/app/Features/Gamification/Question.js +1 -1
- package/lib/app/app/Features/Gamification/QuestionsList.js +3 -3
- package/lib/app/app/Features/Gamification/Tabs.js +2 -2
- package/lib/app/app/Features/Gamification/index.js +1 -1
- package/lib/app/app/InApp/index.js +4 -4
- package/lib/app/app/Insight/index.js +1 -1
- package/lib/app/app/Navigation/index.js +1 -1
- package/lib/app/app/Notifications/Onboarding/index.js +5 -5
- package/lib/app/app/Notifications/index.js +1 -1
- package/lib/app/app/Points/index.js +5 -5
- package/lib/app/app/index.js +17 -17
- package/lib/app/app/useApp.d.ts +1 -2
- package/lib/app/app/useApp.js +1 -1
- package/lib/app/login/demo.js +1 -1
- package/lib/app/masters/Features/FeatureProvider.js +1 -1
- package/lib/app/masters/Features/Gamification/Leaderboard.js +1 -1
- package/lib/app/masters/Features/Gamification/Question.js +1 -1
- package/lib/app/masters/Features/Gamification/QuestionsList.js +3 -3
- package/lib/app/masters/Features/Gamification/Tabs.js +4 -4
- package/lib/app/masters/Features/Gamification/index.js +1 -1
- package/lib/app/masters/Navigation/MastersNavigation/index.js +4 -4
- package/lib/app/masters/Notifications/Onboarding/index.js +5 -5
- package/lib/app/masters/Notifications/index.js +1 -1
- package/lib/app/masters/Points/index.js +5 -5
- package/lib/app/masters/masters.js +16 -16
- package/lib/app/masters/useMastersApp.js +7 -7
- package/lib/app/masters/useSdkScroll.js +7 -7
- package/lib/app/useSdkFeature.js +1 -1
- package/lib/app/useSdkScroll.js +7 -7
- package/lib/utils/debug/components/eventInput.js +1 -1
- package/package.json +15 -15
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { cx as b } from "@linaria/core";
|
|
3
3
|
import { styled as L } from "@linaria/react";
|
|
4
|
-
import { useStore as g } from "@nanostores/react";
|
|
5
4
|
import { useAnalyticsListener as P } from "../../../hooks/analytics.js";
|
|
6
5
|
import { useEffect as w, useRef as I } from "react";
|
|
6
|
+
import { useStore as g } from "@streamlayer/react-polyfills";
|
|
7
7
|
import { eventBus as A } from "@streamlayer/sdk-web-interfaces";
|
|
8
8
|
import { FeatureType as E, NotificationPromotionMode as T, PromotionType as U } from "@streamlayer/sdk-web-types";
|
|
9
9
|
import { AdvertisementUI as N } from "../../../ui/advertisement/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { styled as u } from "@linaria/react";
|
|
3
|
-
import { useStore as i } from "@
|
|
3
|
+
import { useStore as i } from "@streamlayer/react-polyfills";
|
|
4
4
|
import { FeatureStatus as c } from "@streamlayer/sdk-web-interfaces";
|
|
5
5
|
const o = /* @__PURE__ */ u("div")({
|
|
6
6
|
name: "LoadingContainer",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as r, jsxs as f, Fragment as L } from "react/jsx-runtime";
|
|
2
2
|
import { styled as h } from "@linaria/react";
|
|
3
|
-
import { useStore as n } from "@nanostores/react";
|
|
4
3
|
import { useClipboardCopy as k } from "../../../useClipboardCopy.js";
|
|
5
4
|
import { useRef as u } from "react";
|
|
5
|
+
import { useStore as n } from "@streamlayer/react-polyfills";
|
|
6
6
|
import { InviteLink as I } from "../../../../ui/gamification/invite-link/index.js";
|
|
7
7
|
import "react-virtualized-auto-sizer";
|
|
8
8
|
import "react-window";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as y, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { styled as v } from "@linaria/react";
|
|
3
|
-
import { useStore as d } from "@nanostores/react";
|
|
4
3
|
import { useAppContext as T } from "../../useAppContext.js";
|
|
4
|
+
import { useStore as d } from "@streamlayer/react-polyfills";
|
|
5
5
|
import { QuestionType as V } from "@streamlayer/sdk-web-types";
|
|
6
6
|
import { VoteHeader as h } from "../../../../ui/gamification/detail/header/index.js";
|
|
7
7
|
import { Sponsor as x } from "../../../../ui/gamification/detail/sponsor/index.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { useAppContext as i } from "../../useAppContext.js";
|
|
3
|
+
import { useStore as n } from "@streamlayer/react-polyfills";
|
|
4
4
|
import { QuestionList as m } from "../../../../ui/gamification/question/list/index.js";
|
|
5
5
|
const a = ({ store: t, openQuestion: r }) => {
|
|
6
|
-
const { sdk: o } =
|
|
6
|
+
const { sdk: o } = i(), e = n(t);
|
|
7
7
|
return /* @__PURE__ */ s(m, { openQuestion: r, questions: e.data, controlVideo: o == null ? void 0 : o.controlVideoPlayer });
|
|
8
8
|
};
|
|
9
9
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as f, jsx as e, Fragment as D } from "react/jsx-runtime";
|
|
2
2
|
import { cx as C } from "@linaria/core";
|
|
3
|
-
import { useStore as c } from "@nanostores/react";
|
|
4
3
|
import { TabsContainer as S, TabsNavContainer as E, SDKSummaryContainer as v, UserSummaryContainer as A, SDKContentContainer as I, LeaderboardContainer as L } from "../../styles.js";
|
|
5
4
|
import { scrollIntoAppView as P } from "../../../useSdkScroll.js";
|
|
6
|
-
import { useState as V,
|
|
5
|
+
import { useState as V, useEffect as l } from "react";
|
|
6
|
+
import { useStore as c, useTransition as K } from "@streamlayer/react-polyfills";
|
|
7
7
|
import { ActivePages as n, Tabs as F } from "../../../../ui/gamification/tabs/index.js";
|
|
8
8
|
import { Leaderboard as O } from "./Leaderboard.js";
|
|
9
9
|
import { QuestionsList as H } from "./QuestionsList.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o, jsxs as x } from "react/jsx-runtime";
|
|
2
2
|
import { cx as l } from "@linaria/core";
|
|
3
3
|
import { styled as f } from "@linaria/react";
|
|
4
|
-
import { useStore as c } from "@nanostores/react";
|
|
5
4
|
import { SDKWhiteContainer as k } from "../../styles.js";
|
|
6
5
|
import { useAppContext as v } from "../../useAppContext.js";
|
|
7
6
|
import { useHideTransition as S } from "../../../../hooks/showIn.js";
|
|
7
|
+
import { useStore as c } from "@streamlayer/react-polyfills";
|
|
8
8
|
import { VoteHeader as U } from "../../../../ui/gamification/detail/header/index.js";
|
|
9
9
|
import { UserStatistics as I } from "../../../../ui/gamification/user-statistics/index.js";
|
|
10
10
|
import { ModalPortal as y } from "../../../../ui/modal/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { useState as p, useMemo as c, useEffect as s } from "react";
|
|
3
|
+
import { useStore as u } from "@streamlayer/react-polyfills";
|
|
4
4
|
import { eventBus as f } from "@streamlayer/sdk-web-interfaces";
|
|
5
5
|
import { NotificationType as n } from "@streamlayer/sdk-web-notifications";
|
|
6
6
|
import { FeatureType as m, QuestionType as d } from "@streamlayer/sdk-web-types";
|
|
@@ -8,8 +8,8 @@ import { InAppNotification as l } from "../../../ui/gamification/question/inapp/
|
|
|
8
8
|
import { InAppOnboarding as y } from "../../../ui/gamification/question/inapp/onboarding/index.js";
|
|
9
9
|
import { InAppPredictionResult as I } from "../../../ui/gamification/question/inapp/prediction-result/index.js";
|
|
10
10
|
const R = ({ sdk: o }) => {
|
|
11
|
-
const [r] =
|
|
12
|
-
return
|
|
11
|
+
const [r] = p(o.getNotificationsStore()), a = u(r), e = o.getFeature(m.GAMES), t = c(() => o.getActiveNotification(), [o, a]);
|
|
12
|
+
return s(() => {
|
|
13
13
|
t && f.emit("notification", {
|
|
14
14
|
action: "rendered",
|
|
15
15
|
payload: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { styled as i } from "@linaria/react";
|
|
3
|
-
import { useStore as Q } from "@nanostores/react";
|
|
4
3
|
import { useRef as l, useEffect as m } from "react";
|
|
4
|
+
import { useStore as Q } from "@streamlayer/react-polyfills";
|
|
5
5
|
import { FeatureType as S } from "@streamlayer/sdk-web-types";
|
|
6
6
|
import { Question as y } from "../Features/Gamification/Question.js";
|
|
7
7
|
const I = () => y, b = /* @__PURE__ */ i(I())({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as c, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { cx as S } from "@linaria/core";
|
|
3
3
|
import { styled as n } from "@linaria/react";
|
|
4
|
-
import { useStore as v } from "@nanostores/react";
|
|
5
4
|
import { forwardRef as y, useMemo as u } from "react";
|
|
5
|
+
import { useStore as v } from "@streamlayer/react-polyfills";
|
|
6
6
|
import { AvailableFeatures as b } from "@streamlayer/sdk-web-features";
|
|
7
7
|
import { FeatureType as C } from "@streamlayer/sdk-web-types";
|
|
8
8
|
import { SvgIcon as h } from "../../../ui/icons/index.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as n, jsxs as w, Fragment as O } from "react/jsx-runtime";
|
|
2
2
|
import { styled as y } from "@linaria/react";
|
|
3
|
-
import { useStore as T } from "@nanostores/react";
|
|
4
3
|
import { useImagesPreload as _ } from "../../../useImagesPreload.js";
|
|
5
4
|
import { scrollIntoAppView as E } from "../../../useSdkScroll.js";
|
|
6
|
-
import { useRef as M, useState as
|
|
5
|
+
import { useRef as M, useState as T, useMemo as A, useLayoutEffect as R, useEffect as V } from "react";
|
|
6
|
+
import { useStore as F } from "@streamlayer/react-polyfills";
|
|
7
7
|
import { FeatureType as W } from "@streamlayer/sdk-web-types";
|
|
8
8
|
import { OnboardingUI as $ } from "../../../../ui/gamification/onboarding/index.js";
|
|
9
9
|
import { ModalPortal as j } from "../../../../ui/modal/index.js";
|
|
@@ -47,7 +47,7 @@ const C = [{
|
|
|
47
47
|
throttled: I
|
|
48
48
|
}) => {
|
|
49
49
|
var a, b, h, f, v, t, u;
|
|
50
|
-
const c =
|
|
50
|
+
const c = F(p.friends.getStore()), [r, k] = T(void 0), g = A(() => {
|
|
51
51
|
var m, S;
|
|
52
52
|
const i = d.getInviter();
|
|
53
53
|
return i ? (S = (m = c.data) == null ? void 0 : m.find(({
|
|
@@ -102,11 +102,11 @@ const C = [{
|
|
|
102
102
|
sdkInDesktopView: d,
|
|
103
103
|
responsiveStore: I
|
|
104
104
|
}) => {
|
|
105
|
-
const c = M(null), r = e.data.onboarding, [k, g] =
|
|
105
|
+
const c = M(null), r = e.data.onboarding, [k, g] = T(r == null ? void 0 : r.instantOpen), a = l.getFeature(W.GAMES), b = A(() => C == null ? void 0 : C.map(({
|
|
106
106
|
graphicSrc: t
|
|
107
107
|
}) => t), []), {
|
|
108
108
|
screen: h
|
|
109
|
-
} =
|
|
109
|
+
} = F(I, {
|
|
110
110
|
keys: ["screen"]
|
|
111
111
|
});
|
|
112
112
|
R(() => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as k, Fragment as b, jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import { cx as V } from "@linaria/core";
|
|
3
|
-
import { useStore as y } from "@nanostores/react";
|
|
4
3
|
import { useAppContext as O } from "../useAppContext.js";
|
|
5
4
|
import { scrollIntoAppView as T } from "../../useSdkScroll.js";
|
|
6
5
|
import { useState as I, useMemo as D, useEffect as a, useRef as E, useCallback as w } from "react";
|
|
7
6
|
import { r as R } from "../../../index-B1QdimmR.js";
|
|
7
|
+
import { useStore as y } from "@streamlayer/react-polyfills";
|
|
8
8
|
import { eventBus as q } from "@streamlayer/sdk-web-interfaces";
|
|
9
9
|
import { NotificationType as p } from "@streamlayer/sdk-web-notifications";
|
|
10
10
|
import { QuestionTypeData as C } from "../../../ui/gamification/constants.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { useState as f, useEffect as c } from "react";
|
|
3
|
+
import { useStore as l } from "@streamlayer/react-polyfills";
|
|
4
4
|
import { FeatureStatus as u } from "@streamlayer/sdk-web-interfaces";
|
|
5
5
|
import { FeatureType as p } from "@streamlayer/sdk-web-types";
|
|
6
6
|
import { Points as S } from "../../../ui/gamification/points/index.js";
|
|
7
7
|
const a = ({ gamification: e }) => {
|
|
8
|
-
const s = e.userSummary.$store, [r, m] =
|
|
9
|
-
return
|
|
8
|
+
const s = e.userSummary.$store, [r, m] = f(0);
|
|
9
|
+
return c(() => {
|
|
10
10
|
const i = s.subscribe((t) => {
|
|
11
11
|
var o;
|
|
12
12
|
(o = t == null ? void 0 : t.summary) != null && o.points && m(t.summary.points);
|
|
@@ -18,7 +18,7 @@ const a = ({ gamification: e }) => {
|
|
|
18
18
|
e.status.get() === u.Suspended ? e.openFeature() : e.status.get() === u.Ready && e.closeFeature(!1);
|
|
19
19
|
} });
|
|
20
20
|
}, k = ({ sdk: e }) => {
|
|
21
|
-
if (!
|
|
21
|
+
if (!l(e.featuresList.getStore()))
|
|
22
22
|
return null;
|
|
23
23
|
const r = e.getFeature(p.GAMES);
|
|
24
24
|
return r ? /* @__PURE__ */ n(a, { gamification: r }) : null;
|
package/lib/app/app/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as l, jsxs as f } from "react/jsx-runtime";
|
|
2
2
|
import { cx as v } from "@linaria/core";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
3
|
+
import { SDKContainer as N, SDKScrollContainer as A } from "./styles.js";
|
|
4
|
+
import { useSdkFeature as F } from "../useSdkFeature.js";
|
|
5
|
+
import { useSdkResponsive as x } from "../useSdkResponsive.js";
|
|
6
|
+
import { useSdkScroll as D } from "../useSdkScroll.js";
|
|
7
|
+
import { useAnalyticsListener as u, newTabLinkListener as L, appScrollListener as g, appClickListener as C } from "../../hooks/analytics.js";
|
|
8
|
+
import { useRef as p, useMemo as b, useEffect as y } from "react";
|
|
9
|
+
import { useStore as K } from "@streamlayer/react-polyfills";
|
|
10
10
|
import { resetCss as c } from "../../ui/theme/theme.js";
|
|
11
11
|
import { ActiveFeature as j, StandaloneFeature as R } from "./Features/index.js";
|
|
12
12
|
import { SDKNavigation as w, SDKHeader as E } from "./Navigation/index.js";
|
|
@@ -21,7 +21,7 @@ const M = ({
|
|
|
21
21
|
scrollNode: s,
|
|
22
22
|
responsiveStore: t
|
|
23
23
|
}) => {
|
|
24
|
-
const [, a] =
|
|
24
|
+
const [, a] = F(e);
|
|
25
25
|
return /* @__PURE__ */ l(j, {
|
|
26
26
|
className: n,
|
|
27
27
|
scrollNode: s,
|
|
@@ -37,7 +37,7 @@ const M = ({
|
|
|
37
37
|
appNode: r,
|
|
38
38
|
responsiveStore: i
|
|
39
39
|
}) => {
|
|
40
|
-
const s =
|
|
40
|
+
const s = K(e.featuresList.getStore());
|
|
41
41
|
return s ? Array.from(s, (t) => {
|
|
42
42
|
const a = e.getFeature(t);
|
|
43
43
|
return a ? /* @__PURE__ */ l(R, {
|
|
@@ -52,7 +52,7 @@ const M = ({
|
|
|
52
52
|
sdk: e,
|
|
53
53
|
topNavigation: n
|
|
54
54
|
}) => {
|
|
55
|
-
const r = p(null), i = p(null), [s] =
|
|
55
|
+
const r = p(null), i = p(null), [s] = x(r), [t, a] = D(r, s), {
|
|
56
56
|
sdkReady: d,
|
|
57
57
|
activeFeature: m,
|
|
58
58
|
isLogged: S
|
|
@@ -60,27 +60,27 @@ const M = ({
|
|
|
60
60
|
u(r, {
|
|
61
61
|
enabled: o,
|
|
62
62
|
event: "click",
|
|
63
|
-
listener:
|
|
63
|
+
listener: L
|
|
64
64
|
}), u(t, {
|
|
65
65
|
enabled: o,
|
|
66
66
|
event: "scrollend",
|
|
67
|
-
listener:
|
|
67
|
+
listener: g,
|
|
68
68
|
useDomNode: !0
|
|
69
69
|
}), u(t, {
|
|
70
70
|
enabled: o,
|
|
71
71
|
event: "click",
|
|
72
|
-
listener:
|
|
72
|
+
listener: C,
|
|
73
73
|
useDomNode: !0
|
|
74
74
|
});
|
|
75
|
-
const h =
|
|
75
|
+
const h = b(() => ({
|
|
76
76
|
sdk: e,
|
|
77
77
|
topNavigation: n
|
|
78
78
|
}), [e, n]);
|
|
79
|
-
return
|
|
79
|
+
return y(() => {
|
|
80
80
|
import("./Features/Gamification/gamification-feature.js");
|
|
81
81
|
}, []), /* @__PURE__ */ l(I.Provider, {
|
|
82
82
|
value: h,
|
|
83
|
-
children: /* @__PURE__ */ f(
|
|
83
|
+
children: /* @__PURE__ */ f(N, {
|
|
84
84
|
ref: r,
|
|
85
85
|
className: n ? "" : "c10llmat",
|
|
86
86
|
children: [o && n && /* @__PURE__ */ l(w, {
|
|
@@ -91,7 +91,7 @@ const M = ({
|
|
|
91
91
|
className: v(c, "sl-hide-on-modal"),
|
|
92
92
|
sdk: e,
|
|
93
93
|
ref: i
|
|
94
|
-
}), /* @__PURE__ */ f(
|
|
94
|
+
}), /* @__PURE__ */ f(A, {
|
|
95
95
|
className: "sl-hide-on-modal",
|
|
96
96
|
ref: t,
|
|
97
97
|
"data-nav": (!!m && o).toString(),
|
package/lib/app/app/useApp.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
|
|
2
|
-
import { FeatureType } from '@streamlayer/sdk-web-types';
|
|
3
2
|
export declare const useAppApp: (sdk: StreamLayerSDK) => {
|
|
4
3
|
sdkReady: boolean;
|
|
5
|
-
activeFeature:
|
|
4
|
+
activeFeature: any;
|
|
6
5
|
isLogged: boolean;
|
|
7
6
|
};
|
package/lib/app/app/useApp.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useStore as o } from "@nanostores/react";
|
|
2
1
|
import { useEffect as S } from "react";
|
|
2
|
+
import { useStore as o } from "@streamlayer/react-polyfills";
|
|
3
3
|
import { FeatureType as s } from "@streamlayer/sdk-web-types";
|
|
4
4
|
const A = (e) => {
|
|
5
5
|
const u = o(e.status), a = o(e.sdkStore.slStreamId), c = o(e.userId()), r = o(e.getActiveFeature()), n = u === "ready" && !!a.data;
|
package/lib/app/login/demo.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { useStore as a } from "@
|
|
2
|
+
import { useStore as a } from "@streamlayer/react-polyfills";
|
|
3
3
|
import "@streamlayer/sdk-web-anonymous-auth";
|
|
4
4
|
import { Login as s } from "./index.js";
|
|
5
5
|
const y = ({ sdk: o }) => a(o.getUserStore()).data ? /* @__PURE__ */ i("div", { children: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { styled as u } from "@linaria/react";
|
|
3
|
-
import { useStore as o } from "@
|
|
3
|
+
import { useStore as o } from "@streamlayer/react-polyfills";
|
|
4
4
|
import { FeatureStatus as p } from "@streamlayer/sdk-web-interfaces";
|
|
5
5
|
const i = /* @__PURE__ */ u("div")({
|
|
6
6
|
name: "LoadingContainer",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as r, jsxs as f, Fragment as L } from "react/jsx-runtime";
|
|
2
2
|
import { styled as h } from "@linaria/react";
|
|
3
|
-
import { useStore as i } from "@nanostores/react";
|
|
4
3
|
import { useClipboardCopy as k } from "../../../useClipboardCopy.js";
|
|
5
4
|
import { useRef as u } from "react";
|
|
5
|
+
import { useStore as i } from "@streamlayer/react-polyfills";
|
|
6
6
|
import { InviteLink as I } from "../../../../ui/gamification/invite-link/index.js";
|
|
7
7
|
import "react-virtualized-auto-sizer";
|
|
8
8
|
import "react-window";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as u, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { styled as l } from "@linaria/react";
|
|
3
|
-
import { useStore as n } from "@nanostores/react";
|
|
4
3
|
import { useMastersContext as a } from "../../useMastersContext.js";
|
|
4
|
+
import { useStore as n } from "@streamlayer/react-polyfills";
|
|
5
5
|
import { QuestionType as m } from "@streamlayer/sdk-web-types";
|
|
6
6
|
import { VoteHeader as c } from "../../../../ui/gamification/detail/header/index.js";
|
|
7
7
|
import { Sponsor as p } from "../../../../ui/gamification/detail/sponsor/index.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { useMastersContext as i } from "../../useMastersContext.js";
|
|
3
|
+
import { useStore as n } from "@streamlayer/react-polyfills";
|
|
4
4
|
import { QuestionList as m } from "../../../../ui/gamification/question/list/index.js";
|
|
5
5
|
const a = ({ store: t, openQuestion: r }) => {
|
|
6
|
-
const { sdk: o } =
|
|
6
|
+
const { sdk: o } = i(), e = n(t);
|
|
7
7
|
return /* @__PURE__ */ s(m, { openQuestion: r, questions: e.data, controlVideo: o == null ? void 0 : o.controlVideoPlayer });
|
|
8
8
|
};
|
|
9
9
|
export {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsxs as h, jsx as e, Fragment as x } from "react/jsx-runtime";
|
|
2
|
-
import { useStore as u } from "@nanostores/react";
|
|
3
2
|
import { TabsContainer as D, TabsNavContainer as T, SDKWhiteContainer as v, UserSummaryContainer as C, SDKContentContainer as A, LeaderboardContainer as I } from "../../styles.js";
|
|
4
3
|
import { scrollIntoAppView as P } from "../../useSdkScroll.js";
|
|
5
|
-
import { useState as S,
|
|
4
|
+
import { useState as S, useEffect as V } from "react";
|
|
5
|
+
import { useStore as u, useTransition as E } from "@streamlayer/react-polyfills";
|
|
6
6
|
import { ActivePages as a, Tabs as K } from "../../../../ui/gamification/tabs/index.js";
|
|
7
7
|
import { Leaderboard as L } from "./Leaderboard.js";
|
|
8
8
|
import { QuestionsList as F } from "./QuestionsList.js";
|
|
9
9
|
import { UserSummary as O } from "./UserSummary.js";
|
|
10
10
|
const q = ({ gamification: s, className: f, scrollStore: t, scrollNode: l, appNode: c, style: b, responsiveStore: n }) => {
|
|
11
|
-
const { tabsShown: d } = u(t, { keys: ["tabsShown"] }), [i, w] = S(a.HOME), [, y] =
|
|
11
|
+
const { tabsShown: d } = u(t, { keys: ["tabsShown"] }), [i, w] = S(a.HOME), [, y] = E(), { sdkInDesktopView: m, screen: g } = u(n, { keys: ["sdkInDesktopView"] }), k = (r) => {
|
|
12
12
|
y(() => {
|
|
13
13
|
var p;
|
|
14
14
|
w(r), m === !1 && (((p = c.current) == null ? void 0 : p.getBoundingClientRect().y) || 0) < 0 && P(c, g.size, { behavior: "instant" });
|
|
15
15
|
});
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
V(() => t.subscribe((r) => {
|
|
18
18
|
if (r.scrollPosition === 0) {
|
|
19
19
|
t.setKey("tabsShown", !0);
|
|
20
20
|
return;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as n, jsxs as f } from "react/jsx-runtime";
|
|
2
2
|
import { styled as m } from "@linaria/react";
|
|
3
|
-
import { useStore as a } from "@nanostores/react";
|
|
4
3
|
import { SDKWhiteContainer as h } from "../../styles.js";
|
|
5
4
|
import { useHideTransition as C } from "../../../../hooks/showIn.js";
|
|
5
|
+
import { useStore as a } from "@streamlayer/react-polyfills";
|
|
6
6
|
import { VoteHeader as k } from "../../../../ui/gamification/detail/header/index.js";
|
|
7
7
|
import { UserStatistics as S } from "../../../../ui/gamification/user-statistics/index.js";
|
|
8
8
|
import { ModalPortal as U } from "../../../../ui/modal/index.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as s, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { forwardRef as B } from "react";
|
|
3
|
+
import { useStore as l } from "@streamlayer/react-polyfills";
|
|
4
4
|
import { ChannelsButton as c, ChannelsButtonId as t } from "../../../../ui/navigation/button/Channels.js";
|
|
5
5
|
import { FeaturedGroupsButton as x, FeaturedGroupsButtonId as n } from "../../../../ui/navigation/button/FeaturedGroups.js";
|
|
6
6
|
import { LeaderBoardButtonId as S } from "../../../../ui/navigation/button/LeaderBoard.js";
|
|
7
7
|
import { Navigation as I, NavigationItems as h } from "../../../../ui/navigation/masters.js";
|
|
8
8
|
import { BREAKPOINTS as d } from "../../../../ui/theme/constants.js";
|
|
9
|
-
const z =
|
|
9
|
+
const z = B(
|
|
10
10
|
({ activeOverlay: o, setActiveOverlay: e, scrollToTop: i, sdkReady: u, className: a, responsiveStore: f }, p) => {
|
|
11
|
-
const { screen: m } =
|
|
11
|
+
const { screen: m } = l(f, { keys: ["screen"] });
|
|
12
12
|
return /* @__PURE__ */ s(I, { className: a, children: [
|
|
13
13
|
/* @__PURE__ */ s(h, { children: [
|
|
14
14
|
/* @__PURE__ */ r(
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as t, jsxs as Z, Fragment as w } from "react/jsx-runtime";
|
|
2
2
|
import { styled as v } from "@linaria/react";
|
|
3
|
-
import { useStore as I } from "@nanostores/react";
|
|
4
3
|
import { scrollIntoAppView as F } from "../../useSdkScroll.js";
|
|
5
4
|
import { useImagesPreload as T } from "../../../useImagesPreload.js";
|
|
6
|
-
import { useRef as A, useState as
|
|
5
|
+
import { useRef as A, useState as I, useMemo as S, useLayoutEffect as _, useEffect as B } from "react";
|
|
6
|
+
import { useStore as x } from "@streamlayer/react-polyfills";
|
|
7
7
|
import { FeatureType as j } from "@streamlayer/sdk-web-types";
|
|
8
8
|
import { OnboardingUI as E } from "../../../../ui/gamification/onboarding/index.js";
|
|
9
9
|
import { ModalPortal as G } from "../../../../ui/modal/index.js";
|
|
@@ -48,7 +48,7 @@ const R = "data:image/svg+xml,%3csvg%20width='92'%20height='19'%20viewBox='0%200
|
|
|
48
48
|
sdk: a
|
|
49
49
|
}) => {
|
|
50
50
|
var d, o, m, h, g, V, L;
|
|
51
|
-
const p =
|
|
51
|
+
const p = x(c.friends.getStore()), [u, e] = I(void 0), f = S(() => {
|
|
52
52
|
var n, b;
|
|
53
53
|
const C = a.getInviter();
|
|
54
54
|
return C ? (b = (n = p.data) == null ? void 0 : n.find(({
|
|
@@ -104,11 +104,11 @@ const R = "data:image/svg+xml,%3csvg%20width='92'%20height='19'%20viewBox='0%200
|
|
|
104
104
|
responsiveStore: p
|
|
105
105
|
}) => {
|
|
106
106
|
var L;
|
|
107
|
-
const u = A(null), e = r.data.onboarding, [f, d] =
|
|
107
|
+
const u = A(null), e = r.data.onboarding, [f, d] = I(e == null ? void 0 : e.instantOpen), o = l.getFeature(j.GAMES), m = S(() => H == null ? void 0 : H.map(({
|
|
108
108
|
graphicSrc: C
|
|
109
109
|
}) => C), []), {
|
|
110
110
|
screen: h
|
|
111
|
-
} =
|
|
111
|
+
} = x(p, {
|
|
112
112
|
keys: ["screen"]
|
|
113
113
|
});
|
|
114
114
|
(L = e == null ? void 0 : e.titleCard) != null && L.media && (e.titleCard.media.sponsorLogo = R), _(() => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as f, Fragment as D, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import { cx as N } from "@linaria/core";
|
|
3
|
-
import { useStore as g } from "@nanostores/react";
|
|
4
3
|
import { useMastersContext as T } from "../useMastersContext.js";
|
|
5
4
|
import { scrollIntoAppView as q } from "../useSdkScroll.js";
|
|
6
5
|
import { useState as p, useMemo as E, useEffect as h, useRef as O, useCallback as w } from "react";
|
|
7
6
|
import { r as b } from "../../../index-B1QdimmR.js";
|
|
7
|
+
import { useStore as g } from "@streamlayer/react-polyfills";
|
|
8
8
|
import { eventBus as C } from "@streamlayer/sdk-web-interfaces";
|
|
9
9
|
import { NotificationType as a } from "@streamlayer/sdk-web-notifications";
|
|
10
10
|
import { QuestionTypeData as R } from "../../../ui/gamification/constants.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { useState as i, useEffect as c } from "react";
|
|
3
|
+
import { useStore as f } from "@streamlayer/react-polyfills";
|
|
4
4
|
import { FeatureStatus as p } from "@streamlayer/sdk-web-interfaces";
|
|
5
5
|
import { FeatureType as S } from "@streamlayer/sdk-web-types";
|
|
6
6
|
import { Points as l } from "../../../ui/gamification/points/index.js";
|
|
7
7
|
const a = ({ gamification: e }) => {
|
|
8
|
-
const s = e.userSummary.$store, [r, u] =
|
|
9
|
-
return
|
|
8
|
+
const s = e.userSummary.$store, [r, u] = i(0);
|
|
9
|
+
return c(() => {
|
|
10
10
|
const m = s.subscribe((t) => {
|
|
11
11
|
var o;
|
|
12
12
|
(o = t == null ? void 0 : t.summary) != null && o.points && u(t.summary.points);
|
|
@@ -18,7 +18,7 @@ const a = ({ gamification: e }) => {
|
|
|
18
18
|
e.status.get() === p.Suspended && e.openFeature();
|
|
19
19
|
} });
|
|
20
20
|
}, h = ({ sdk: e }) => {
|
|
21
|
-
if (!
|
|
21
|
+
if (!f(e.featuresList.getStore()))
|
|
22
22
|
return null;
|
|
23
23
|
const r = e.getFeature(S.GAMES);
|
|
24
24
|
return r ? /* @__PURE__ */ n(a, { gamification: r }) : null;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as n, jsxs as v } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
2
|
+
import { SDKContainer as C, SDKScrollContainer as x } from "./styles.js";
|
|
3
|
+
import { useSdkScroll as A } from "./useSdkScroll.js";
|
|
4
|
+
import { useSdkFeature as F } from "../useSdkFeature.js";
|
|
5
|
+
import { useAnalyticsListener as d, newTabLinkListener as M, appScrollListener as b, appClickListener as D } from "../../hooks/analytics.js";
|
|
6
|
+
import { useRef as S, useMemo as I, useEffect as B } from "react";
|
|
7
|
+
import { useStore as T } from "@streamlayer/react-polyfills";
|
|
8
8
|
import { resetCss as p } from "../../ui/theme/theme.js";
|
|
9
9
|
import { ActiveFeature as j, StandaloneFeature as k } from "./Features/index.js";
|
|
10
10
|
import { MastersNavigation as E } from "./Navigation/MastersNavigation/index.js";
|
|
@@ -17,7 +17,7 @@ import { ChannelsButtonId as P } from "../../ui/navigation/button/Channels.js";
|
|
|
17
17
|
import { LeaderBoardButtonId as G } from "../../ui/navigation/button/LeaderBoard.js";
|
|
18
18
|
import { FeaturedGroupsButtonId as V } from "../../ui/navigation/button/FeaturedGroups.js";
|
|
19
19
|
const W = ({ sdk: e, className: i, scrollStore: l, appNode: t, scrollNode: s, responsiveStore: o }) => {
|
|
20
|
-
const [, r] =
|
|
20
|
+
const [, r] = F(e);
|
|
21
21
|
return /* @__PURE__ */ n(
|
|
22
22
|
j,
|
|
23
23
|
{
|
|
@@ -31,7 +31,7 @@ const W = ({ sdk: e, className: i, scrollStore: l, appNode: t, scrollNode: s, re
|
|
|
31
31
|
}
|
|
32
32
|
);
|
|
33
33
|
}, Y = ({ sdk: e, className: i, appNode: l, responsiveStore: t }) => {
|
|
34
|
-
const s =
|
|
34
|
+
const s = T(e.featuresList.getStore());
|
|
35
35
|
return s ? Array.from(s, (o) => {
|
|
36
36
|
const r = e.getFeature(o);
|
|
37
37
|
return r ? /* @__PURE__ */ n(
|
|
@@ -47,22 +47,22 @@ const W = ({ sdk: e, className: i, scrollStore: l, appNode: t, scrollNode: s, re
|
|
|
47
47
|
) : null;
|
|
48
48
|
}) : null;
|
|
49
49
|
}, ie = ({ sdk: e, overlays: i, children: l }) => {
|
|
50
|
-
const t = S(null), s = S(null), [o] = w(t), [r, f] =
|
|
51
|
-
d(t, { enabled: a, event: "click", listener:
|
|
50
|
+
const t = S(null), s = S(null), [o] = w(t), [r, f] = A(t, o), { sdkEnabled: a, sdkReady: c, activeOverlay: m, activateAndLoadOverlay: h, activateEventWithId: N, deactivate: g, isLogged: y } = O(e);
|
|
51
|
+
d(t, { enabled: a, event: "click", listener: M }), d(r, {
|
|
52
52
|
enabled: a,
|
|
53
53
|
event: "scrollend",
|
|
54
|
-
listener:
|
|
54
|
+
listener: b,
|
|
55
55
|
useDomNode: !0
|
|
56
56
|
}), d(r, {
|
|
57
57
|
enabled: a,
|
|
58
58
|
event: "click",
|
|
59
|
-
listener:
|
|
59
|
+
listener: D,
|
|
60
60
|
useDomNode: !0
|
|
61
61
|
});
|
|
62
|
-
const L =
|
|
63
|
-
return
|
|
62
|
+
const L = I(() => ({ sdk: e }), [e]);
|
|
63
|
+
return B(() => {
|
|
64
64
|
import("./Features/Gamification/gamification-feature.js");
|
|
65
|
-
}, []), /* @__PURE__ */ n(R.Provider, { value: L, children: /* @__PURE__ */ v(
|
|
65
|
+
}, []), /* @__PURE__ */ n(R.Provider, { value: L, children: /* @__PURE__ */ v(C, { ref: t, children: [
|
|
66
66
|
a && /* @__PURE__ */ n(
|
|
67
67
|
E,
|
|
68
68
|
{
|
|
@@ -78,7 +78,7 @@ const W = ({ sdk: e, className: i, scrollStore: l, appNode: t, scrollNode: s, re
|
|
|
78
78
|
responsiveStore: o
|
|
79
79
|
}
|
|
80
80
|
),
|
|
81
|
-
/* @__PURE__ */ v(
|
|
81
|
+
/* @__PURE__ */ v(x, { className: "sl-hide-on-modal", ref: r, "data-nav": a.toString(), children: [
|
|
82
82
|
c && /* @__PURE__ */ n(
|
|
83
83
|
K,
|
|
84
84
|
{
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { useRef as z, useState as d, useCallback as v, useEffect as c } from "react";
|
|
2
|
+
import { useStore as l } from "@streamlayer/react-polyfills";
|
|
3
3
|
import { FeatureType as p } from "@streamlayer/sdk-web-types";
|
|
4
4
|
import "./Navigation/MastersNavigation/index.js";
|
|
5
5
|
import { FeaturedGroupsButtonId as f } from "../../ui/navigation/button/FeaturedGroups.js";
|
|
6
6
|
import { ChannelsButtonId as i } from "../../ui/navigation/button/Channels.js";
|
|
7
7
|
const C = (e) => {
|
|
8
|
-
const m = z(""), [E, a] = d(!1), g =
|
|
8
|
+
const m = z(""), [E, a] = d(!1), g = l(e.status), F = l(e.sdkStore.slStreamId), n = l(e.userId()), A = l(e.getActiveFeature()), o = g === "ready" && !!F.data, [S, r] = d(f), s = v(
|
|
9
9
|
(t, u) => {
|
|
10
10
|
r(u), t && e.createEventSession(t), u === f ? window.requestAnimationFrame(() => {
|
|
11
11
|
e.openFeature(p.GAMES);
|
|
@@ -13,9 +13,9 @@ const C = (e) => {
|
|
|
13
13
|
},
|
|
14
14
|
[e]
|
|
15
15
|
);
|
|
16
|
-
|
|
16
|
+
c(() => {
|
|
17
17
|
!o && S === f && (r(i), e.closeFeature(!0));
|
|
18
|
-
}, [o, S, e]),
|
|
18
|
+
}, [o, S, e]), c(() => {
|
|
19
19
|
A === p.GAMES ? r(f) : A === p.UNSET && r(i);
|
|
20
20
|
const t = e.getFeature(p.GAMES);
|
|
21
21
|
t && (t.closeQuestion(), t.closeUser());
|
|
@@ -43,7 +43,7 @@ const C = (e) => {
|
|
|
43
43
|
), I = v(() => {
|
|
44
44
|
a(!1), e.disableApp();
|
|
45
45
|
}, [e]);
|
|
46
|
-
return
|
|
46
|
+
return c(() => {
|
|
47
47
|
if (!n) {
|
|
48
48
|
o && (r(i), e.disableApp());
|
|
49
49
|
return;
|
|
@@ -54,7 +54,7 @@ const C = (e) => {
|
|
|
54
54
|
});
|
|
55
55
|
return;
|
|
56
56
|
}
|
|
57
|
-
}, [n]),
|
|
57
|
+
}, [n]), c(() => () => {
|
|
58
58
|
a(!1), e.disableApp();
|
|
59
59
|
}, [a, e]), {
|
|
60
60
|
sdkEnabled: E,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import h from "
|
|
3
|
-
import {
|
|
1
|
+
import S from "lodash.throttle";
|
|
2
|
+
import { useRef as m, useState as h, useEffect as b } from "react";
|
|
3
|
+
import { useStore as g } from "@streamlayer/react-polyfills";
|
|
4
4
|
import { BREAKPOINTS as c } from "../../ui/theme/constants.js";
|
|
5
5
|
import { m as v } from "../../index-CZvwzN5o.js";
|
|
6
6
|
const C = (o, e, n) => {
|
|
@@ -10,19 +10,19 @@ const C = (o, e, n) => {
|
|
|
10
10
|
...n
|
|
11
11
|
});
|
|
12
12
|
}, T = 15, D = (o, e) => {
|
|
13
|
-
const n = m(null), t = m(0), [s] =
|
|
13
|
+
const n = m(null), t = m(0), [s] = h(
|
|
14
14
|
v({
|
|
15
15
|
scrollPosition: 0,
|
|
16
16
|
tabsShown: !0,
|
|
17
17
|
scrollDirection: "forward"
|
|
18
18
|
})
|
|
19
|
-
), i =
|
|
20
|
-
return
|
|
19
|
+
), i = g(e);
|
|
20
|
+
return b(() => {
|
|
21
21
|
const l = window.innerWidth < c.xl ? window : n.current;
|
|
22
22
|
if (!l)
|
|
23
23
|
return () => {
|
|
24
24
|
};
|
|
25
|
-
const f =
|
|
25
|
+
const f = S((d) => {
|
|
26
26
|
var a;
|
|
27
27
|
const u = d.target;
|
|
28
28
|
if (!u)
|
package/lib/app/useSdkFeature.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useStore as f } from "@nanostores/react";
|
|
2
1
|
import { useState as c, useEffect as l } from "react";
|
|
2
|
+
import { useStore as f } from "@streamlayer/react-polyfills";
|
|
3
3
|
import { FeatureStatus as a } from "@streamlayer/sdk-web-interfaces";
|
|
4
4
|
const p = (t) => {
|
|
5
5
|
const r = f(t.getActiveFeature()), n = f(t.streamStore()), [i, u] = c(null);
|
package/lib/app/useSdkScroll.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import b from "
|
|
3
|
-
import {
|
|
1
|
+
import h from "lodash.throttle";
|
|
2
|
+
import { useRef as u, useState as b, useEffect as g } from "react";
|
|
3
|
+
import { useStore as k } from "@streamlayer/react-polyfills";
|
|
4
4
|
import { BREAKPOINTS as a } from "../ui/theme/constants.js";
|
|
5
5
|
import { checkSdkInDesktopView as m } from "./useSdkResponsive.js";
|
|
6
6
|
import { m as v } from "../index-CZvwzN5o.js";
|
|
@@ -11,19 +11,19 @@ const I = (o, e, n) => {
|
|
|
11
11
|
...n
|
|
12
12
|
});
|
|
13
13
|
}, T = 15, L = (o, e) => {
|
|
14
|
-
const n = u(null), t = u(0), [s] =
|
|
14
|
+
const n = u(null), t = u(0), [s] = b(
|
|
15
15
|
v({
|
|
16
16
|
scrollPosition: 0,
|
|
17
17
|
tabsShown: !0,
|
|
18
18
|
scrollDirection: "forward"
|
|
19
19
|
})
|
|
20
|
-
), d =
|
|
21
|
-
return
|
|
20
|
+
), d = k(e);
|
|
21
|
+
return g(() => {
|
|
22
22
|
const c = m() ? n.current : window;
|
|
23
23
|
if (!c)
|
|
24
24
|
return () => {
|
|
25
25
|
};
|
|
26
|
-
const l =
|
|
26
|
+
const l = h((p) => {
|
|
27
27
|
var f;
|
|
28
28
|
const i = p.target;
|
|
29
29
|
if (!i)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n, jsxs as o } from "react/jsx-runtime";
|
|
2
|
-
import { useStore as d } from "@
|
|
2
|
+
import { useStore as d } from "@streamlayer/react-polyfills";
|
|
3
3
|
import "@streamlayer/sdk-web-core";
|
|
4
4
|
import { InputField as u } from "./styles.js";
|
|
5
5
|
const y = ({ sdk: t, storage: a, event: e, setEvent: l }) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamlayer/react-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"typings": "./lib/index.d.ts",
|
|
@@ -64,18 +64,19 @@
|
|
|
64
64
|
"react-virtualized-auto-sizer": "^1.0.24",
|
|
65
65
|
"react-window": "^1.8.10",
|
|
66
66
|
"react-window-infinite-loader": "^1.0.9",
|
|
67
|
-
"@streamlayer/
|
|
68
|
-
"@streamlayer/
|
|
69
|
-
"@streamlayer/sdk-web-analytics": "^1.5.
|
|
70
|
-
"@streamlayer/sdk-web-anonymous-auth": "^1.1.
|
|
71
|
-
"@streamlayer/sdk-web-api": "^1.6.
|
|
72
|
-
"@streamlayer/sdk-web-core": "^1.9.
|
|
73
|
-
"@streamlayer/sdk-web-features": "^1.0.
|
|
74
|
-
"@streamlayer/sdk-web-interfaces": "^1.4.
|
|
75
|
-
"@streamlayer/sdk-web-logger": "^1.0.
|
|
76
|
-
"@streamlayer/sdk-web-notifications": "^1.3.
|
|
77
|
-
"@streamlayer/sdk-web-storage": "^1.0.
|
|
78
|
-
"@streamlayer/sdk-web-types": "^1.9.
|
|
67
|
+
"@streamlayer/sdk-web": "^1.7.1",
|
|
68
|
+
"@streamlayer/feature-gamification": "^1.13.1",
|
|
69
|
+
"@streamlayer/sdk-web-analytics": "^1.5.5",
|
|
70
|
+
"@streamlayer/sdk-web-anonymous-auth": "^1.1.18",
|
|
71
|
+
"@streamlayer/sdk-web-api": "^1.6.18",
|
|
72
|
+
"@streamlayer/sdk-web-core": "^1.9.1",
|
|
73
|
+
"@streamlayer/sdk-web-features": "^1.0.39",
|
|
74
|
+
"@streamlayer/sdk-web-interfaces": "^1.4.5",
|
|
75
|
+
"@streamlayer/sdk-web-logger": "^1.0.39",
|
|
76
|
+
"@streamlayer/sdk-web-notifications": "^1.3.1",
|
|
77
|
+
"@streamlayer/sdk-web-storage": "^1.0.39",
|
|
78
|
+
"@streamlayer/sdk-web-types": "^1.9.1",
|
|
79
|
+
"@streamlayer/react-polyfills": "^0.0.1"
|
|
79
80
|
},
|
|
80
81
|
"nx": {
|
|
81
82
|
"implicitDependencies": [
|
|
@@ -90,7 +91,6 @@
|
|
|
90
91
|
"@linaria/babel-preset": "^5.0.4",
|
|
91
92
|
"@linaria/core": "^6.2.0",
|
|
92
93
|
"@linaria/react": "^6.2.1",
|
|
93
|
-
"@nanostores/react": "^0.7.2",
|
|
94
94
|
"@storybook/addon-docs": "^8.3.4",
|
|
95
95
|
"@storybook/addon-viewport": "^8.3.4",
|
|
96
96
|
"@storybook/blocks": "^8.3.4",
|
|
@@ -116,6 +116,6 @@
|
|
|
116
116
|
"vite-plugin-svgr": "^4.2.0",
|
|
117
117
|
"vite-svg-loader": "^5.1.0",
|
|
118
118
|
"vite-tsconfig-paths": "^5.0.1",
|
|
119
|
-
"@streamlayer/react": "^1.
|
|
119
|
+
"@streamlayer/react": "^1.11.0"
|
|
120
120
|
}
|
|
121
121
|
}
|