@streamlayer/react 0.41.3 → 0.41.4
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/cjs/app.js +1 -1
- package/lib/cjs/auth.js +1 -1
- package/lib/cjs/gamification-feature.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/index2.js +4 -4
- package/lib/cjs/masters.js +1 -1
- package/lib/cjs/masters2.js +26 -26
- package/lib/cjs/points.js +1 -1
- package/lib/cjs/useStreamLayerApp.js +1 -1
- package/lib/dist/cjs/gamification-feature.js +1 -0
- package/lib/dist/cjs/index.js +1 -197
- package/lib/dist/cjs/masters.js +197 -0
- package/lib/dist/es/gamification-feature.js +4 -0
- package/lib/dist/es/index.js +5 -44871
- package/lib/dist/es/masters.js +44936 -0
- package/lib/dist/index.d.ts +6 -6
- package/lib/dist/style.css +1 -1
- package/lib/es/app.js +6 -6
- package/lib/es/auth.js +4 -8
- package/lib/es/gamification-feature.js +2 -16
- package/lib/es/index.js +5 -9
- package/lib/es/index2.js +15 -15
- package/lib/es/masters.js +3 -14
- package/lib/es/masters2.js +2716 -2695
- package/lib/es/points.js +25 -28
- package/lib/es/useStreamLayerApp.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +29 -29
package/lib/es/index2.js
CHANGED
|
@@ -9,7 +9,7 @@ const f = c({
|
|
|
9
9
|
sdkKey: R,
|
|
10
10
|
plugins: E,
|
|
11
11
|
children: t,
|
|
12
|
-
production:
|
|
12
|
+
production: n = !0,
|
|
13
13
|
autoEnable: S = !0,
|
|
14
14
|
onDeepLinkHandled: A,
|
|
15
15
|
videoPlayerController: r
|
|
@@ -17,7 +17,7 @@ const f = c({
|
|
|
17
17
|
const e = O({
|
|
18
18
|
sdkKey: R,
|
|
19
19
|
plugins: E,
|
|
20
|
-
production:
|
|
20
|
+
production: n,
|
|
21
21
|
autoEnable: S,
|
|
22
22
|
onDeepLinkHandled: A,
|
|
23
23
|
videoPlayerController: r
|
|
@@ -98,42 +98,42 @@ const f = c({
|
|
|
98
98
|
lg: 992,
|
|
99
99
|
xl: 1200,
|
|
100
100
|
xxl: 1440
|
|
101
|
-
},
|
|
101
|
+
}, l = {
|
|
102
102
|
landscape: "landscape",
|
|
103
103
|
portrait: "portrait"
|
|
104
|
-
},
|
|
104
|
+
}, m = Object.keys(i).reduce((R, E) => {
|
|
105
105
|
const t = i[E];
|
|
106
106
|
return `
|
|
107
107
|
${R}
|
|
108
108
|
--color-${E.toLowerCase().replaceAll("_", "-")}: ${t};
|
|
109
109
|
`;
|
|
110
|
-
}, ""),
|
|
110
|
+
}, ""), a = (R) => (E) => `
|
|
111
111
|
@media only screen and (${R}) {
|
|
112
112
|
${E}
|
|
113
113
|
}
|
|
114
|
-
`,
|
|
114
|
+
`, p = (R, E) => (t) => `
|
|
115
115
|
@media only screen and (${R}) and (${E}) {
|
|
116
116
|
${t}
|
|
117
117
|
}
|
|
118
118
|
`, s = {
|
|
119
119
|
up: (R) => {
|
|
120
120
|
const E = N[R];
|
|
121
|
-
return
|
|
121
|
+
return a(`min-width: ${E}px`);
|
|
122
122
|
},
|
|
123
123
|
down: (R) => {
|
|
124
124
|
const E = N[R] - 1;
|
|
125
|
-
return
|
|
125
|
+
return a(`max-width: ${E}px`);
|
|
126
126
|
},
|
|
127
127
|
intermediate: (R, E) => {
|
|
128
|
-
const t = N[R] - 1,
|
|
129
|
-
return
|
|
128
|
+
const t = N[R] - 1, n = N[E];
|
|
129
|
+
return p(`max-width: ${t}px`, `min-width: ${n}px`);
|
|
130
130
|
},
|
|
131
131
|
orientation: (R) => {
|
|
132
|
-
const E =
|
|
133
|
-
return
|
|
132
|
+
const E = l[R];
|
|
133
|
+
return a(`orientation: ${E}`);
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
|
-
`${
|
|
136
|
+
`${m}${_.REGULAR}${_.REGULAR}${_.COLOR}${_.SERIF}${_.WEIGHT_DEFAULT}${s.down("xl")`
|
|
137
137
|
--header-offset: 56px;
|
|
138
138
|
--watch-live-header: 46px;
|
|
139
139
|
`}${s.intermediate("xl", "lg")`
|
|
@@ -146,6 +146,6 @@ export {
|
|
|
146
146
|
P as S,
|
|
147
147
|
f as a,
|
|
148
148
|
B as b,
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
u as i,
|
|
150
|
+
U as p
|
|
151
151
|
};
|
package/lib/es/masters.js
CHANGED
|
@@ -1,19 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "./index2.js";
|
|
3
|
-
import { M as
|
|
3
|
+
import { M as o, a as s } from "./masters2.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import "./useStreamLayerApp.js";
|
|
6
|
-
import "@streamlayer/sdk-web";
|
|
7
|
-
import "@nanostores/react";
|
|
8
|
-
import "lodash.throttle";
|
|
9
|
-
import "@streamlayer/sdk-web-interfaces";
|
|
10
|
-
import "@streamlayer/sdk-web-types";
|
|
11
|
-
import "./index3.js";
|
|
12
|
-
import "react-countup";
|
|
13
|
-
import "react-countdown-circle-timer";
|
|
14
|
-
import "react-infinite-scroller";
|
|
15
|
-
import "@streamlayer/sdk-web-notifications";
|
|
16
5
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
o as MastersStreamLayerProvider,
|
|
7
|
+
s as MastersStreamLayerSDKReact
|
|
19
8
|
};
|