@streamlayer/react-ui 1.23.3 → 1.23.5
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/masters/story/index.js +27 -28
- package/package.json +15 -15
|
@@ -1,40 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
},
|
|
1
|
+
import { jsx as e, jsxs as d } from "react/jsx-runtime";
|
|
2
|
+
import { useState as l, Fragment as c } from "react";
|
|
3
|
+
import { MastersStreamLayerProvider as s, useStreamLayer as a } from "@streamlayer/react/masters";
|
|
4
|
+
import { MastersApp as p } from "../masters.js";
|
|
5
|
+
import { StreamLayerMastersThemeProvider as m } from "../../../ui/theme/masters.js";
|
|
6
|
+
import { useStreamLayerDebug as h } from "../../../utils/debug/index.js";
|
|
7
|
+
import { MobileHeader as u, Body as y, Container as k, AppContainer as T, HostAppContent as f, BackToTop as v, BackToTopLink as C } from "./components.js";
|
|
8
|
+
const L = ({ betPack: o }) => {
|
|
9
|
+
const r = a();
|
|
10
|
+
return r ? /* @__PURE__ */ e(m, { style: { height: "100%" }, children: /* @__PURE__ */ e(p, { sdk: r, betPack: o, useContainer: !0 }) }) : null;
|
|
11
|
+
}, S = () => {
|
|
11
12
|
console.log("deep link handled cb");
|
|
12
|
-
},
|
|
13
|
+
}, g = () => {
|
|
13
14
|
console.log("video player handled cb");
|
|
14
|
-
},
|
|
15
|
-
const r =
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
}, H = ({ betPack: o }) => {
|
|
16
|
+
const r = h(), [n, t] = l(0), i = () => {
|
|
17
|
+
t(n + 1);
|
|
18
|
+
};
|
|
19
|
+
return /* @__PURE__ */ e(c, { children: /* @__PURE__ */ d(
|
|
20
|
+
s,
|
|
18
21
|
{
|
|
19
22
|
sdkKey: r.sdkKey,
|
|
20
23
|
production: r.env === "production",
|
|
21
|
-
onDeepLinkHandled:
|
|
22
|
-
videoPlayerController:
|
|
24
|
+
onDeepLinkHandled: S,
|
|
25
|
+
videoPlayerController: g,
|
|
23
26
|
event: r.event,
|
|
24
27
|
children: [
|
|
25
|
-
/* @__PURE__ */ e(
|
|
26
|
-
/* @__PURE__ */ e(
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
] }),
|
|
31
|
-
/* @__PURE__ */ e(t, { style: { height: 3e3 }, children: "...host app content..." }),
|
|
32
|
-
/* @__PURE__ */ e(y, { onClick: () => document.documentElement.scrollTop = 0, children: "BackToTop" }),
|
|
33
|
-
/* @__PURE__ */ e(k, { href: "#", children: "BackToTop Link" })
|
|
28
|
+
/* @__PURE__ */ e(u, { onClick: () => i(), children: "header" }),
|
|
29
|
+
/* @__PURE__ */ e(y, { children: /* @__PURE__ */ e(k, { children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(T, { className: "StreamLayerSDK", children: /* @__PURE__ */ e(L, { betPack: o }) }) }) }) }),
|
|
30
|
+
/* @__PURE__ */ e(f, { style: { height: 3e3 }, children: "...host app content..." }),
|
|
31
|
+
/* @__PURE__ */ e(v, { onClick: () => document.documentElement.scrollTop = 0, children: "BackToTop" }),
|
|
32
|
+
/* @__PURE__ */ e(C, { href: "#", children: "BackToTop Link" })
|
|
34
33
|
]
|
|
35
34
|
}
|
|
36
|
-
);
|
|
35
|
+
) }, n);
|
|
37
36
|
};
|
|
38
37
|
export {
|
|
39
|
-
|
|
38
|
+
H as MastersStory
|
|
40
39
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamlayer/react-ui",
|
|
3
|
-
"version": "1.23.
|
|
3
|
+
"version": "1.23.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"typings": "./lib/index.d.ts",
|
|
@@ -69,19 +69,19 @@
|
|
|
69
69
|
"react-window": "^1.8.10",
|
|
70
70
|
"react-window-infinite-loader": "^1.0.9",
|
|
71
71
|
"uuid": "^11.1.0",
|
|
72
|
-
"@streamlayer/feature-gamification": "^1.16.
|
|
73
|
-
"@streamlayer/react-polyfills": "^0.1.
|
|
74
|
-
"@streamlayer/sdk-web": "^1.10.
|
|
75
|
-
"@streamlayer/sdk-web-
|
|
76
|
-
"@streamlayer/sdk-web-
|
|
77
|
-
"@streamlayer/sdk-web-api": "^1.8.
|
|
78
|
-
"@streamlayer/sdk-web-core": "^1.11.
|
|
79
|
-
"@streamlayer/sdk-web-features": "^1.0.
|
|
80
|
-
"@streamlayer/sdk-web-interfaces": "^1.5.
|
|
81
|
-
"@streamlayer/sdk-web-logger": "^1.0.
|
|
82
|
-
"@streamlayer/sdk-web-notifications": "^1.3.
|
|
83
|
-
"@streamlayer/sdk-web-storage": "^1.0.
|
|
84
|
-
"@streamlayer/sdk-web-types": "^1.10.
|
|
72
|
+
"@streamlayer/feature-gamification": "^1.16.14",
|
|
73
|
+
"@streamlayer/react-polyfills": "^0.1.21",
|
|
74
|
+
"@streamlayer/sdk-web": "^1.10.14",
|
|
75
|
+
"@streamlayer/sdk-web-anonymous-auth": "^1.1.40",
|
|
76
|
+
"@streamlayer/sdk-web-analytics": "^1.7.14",
|
|
77
|
+
"@streamlayer/sdk-web-api": "^1.8.14",
|
|
78
|
+
"@streamlayer/sdk-web-core": "^1.11.16",
|
|
79
|
+
"@streamlayer/sdk-web-features": "^1.0.61",
|
|
80
|
+
"@streamlayer/sdk-web-interfaces": "^1.5.5",
|
|
81
|
+
"@streamlayer/sdk-web-logger": "^1.0.61",
|
|
82
|
+
"@streamlayer/sdk-web-notifications": "^1.3.23",
|
|
83
|
+
"@streamlayer/sdk-web-storage": "^1.0.61",
|
|
84
|
+
"@streamlayer/sdk-web-types": "^1.10.18"
|
|
85
85
|
},
|
|
86
86
|
"nx": {
|
|
87
87
|
"implicitDependencies": [
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"vite-plugin-svgr": "^4.2.0",
|
|
122
122
|
"vite-svg-loader": "^5.1.0",
|
|
123
123
|
"vite-tsconfig-paths": "^5.0.1",
|
|
124
|
-
"@streamlayer/react": "^1.15.
|
|
124
|
+
"@streamlayer/react": "^1.15.5"
|
|
125
125
|
},
|
|
126
126
|
"dependencies": {
|
|
127
127
|
"@dailymotion/vast-client": "^6.2.0",
|