@streamlayer/react-ui 1.17.0 → 1.18.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.
- package/lib/app/app/story/settings/login.js +18 -14
- package/lib/app/login/demo.d.ts +1 -4
- package/lib/app/login/demo.js +38 -24
- package/lib/app/masters/BetPack/BetPackContent/EmergencyScreen/index.d.ts +4 -0
- package/lib/app/masters/BetPack/BetPackContent/EmergencyScreen/index.js +10 -0
- package/lib/app/masters/BetPack/BetPackContent/EmergencyScreen/styles.d.ts +4 -0
- package/lib/app/masters/BetPack/BetPackContent/EmergencyScreen/styles.js +25 -0
- package/lib/app/masters/BetPack/BetPackContent/EndScreen/index.d.ts +5 -0
- package/lib/app/masters/BetPack/BetPackContent/EndScreen/index.js +18 -0
- package/lib/app/masters/BetPack/BetPackContent/EndScreen/styles.d.ts +7 -0
- package/lib/app/masters/BetPack/BetPackContent/EndScreen/styles.js +41 -0
- package/lib/app/masters/BetPack/BetPackContent/LoaderScreen/index.d.ts +1 -0
- package/lib/app/masters/BetPack/BetPackContent/LoaderScreen/index.js +13 -0
- package/lib/app/masters/BetPack/BetPackContent/QuestionScreen/index.d.ts +6 -0
- package/lib/app/masters/BetPack/BetPackContent/QuestionScreen/index.js +7 -0
- package/lib/app/masters/BetPack/BetPackContent/ScreenContainer/index.d.ts +4 -0
- package/lib/app/masters/BetPack/BetPackContent/ScreenContainer/index.js +6 -0
- package/lib/app/masters/BetPack/BetPackContent/ScreenContainer/styles.d.ts +1 -0
- package/lib/app/masters/BetPack/BetPackContent/ScreenContainer/styles.js +9 -0
- package/lib/app/masters/BetPack/BetPackContent/StartScreen/index.d.ts +5 -0
- package/lib/app/masters/BetPack/BetPackContent/StartScreen/index.js +33 -0
- package/lib/app/masters/BetPack/BetPackContent/StartScreen/styles.d.ts +7 -0
- package/lib/app/masters/BetPack/BetPackContent/StartScreen/styles.js +41 -0
- package/lib/app/masters/BetPack/BetPackContent/constants.d.ts +13 -0
- package/lib/app/masters/BetPack/BetPackContent/constants.js +22 -0
- package/lib/app/masters/BetPack/BetPackContent/index.d.ts +11 -0
- package/lib/app/masters/BetPack/BetPackContent/index.js +116 -0
- package/lib/app/masters/BetPack/BetPackContent/styles.d.ts +3 -0
- package/lib/app/masters/BetPack/BetPackContent/styles.js +20 -0
- package/lib/app/masters/BetPack/BetPackOverlay/index.d.ts +12 -0
- package/lib/app/masters/BetPack/BetPackOverlay/index.js +9 -0
- package/lib/app/masters/BetPack/BetPackOverlay/styles.d.ts +10 -0
- package/lib/app/masters/BetPack/BetPackOverlay/styles.js +51 -0
- package/lib/app/masters/BetPack/index.d.ts +14 -0
- package/lib/app/masters/BetPack/index.js +84 -0
- package/lib/app/masters/BetPack/styles.d.ts +4 -0
- package/lib/app/masters/BetPack/styles.js +24 -0
- package/lib/app/masters/BetPack/typings.d.js +1 -0
- package/lib/app/masters/BetPack/utils.d.ts +19 -0
- package/lib/app/masters/BetPack/utils.js +10 -0
- package/lib/app/masters/masters.d.ts +0 -2
- package/lib/app/masters/masters.js +89 -85
- package/lib/app/masters/story/components.d.ts +11 -0
- package/lib/app/masters/story/components.js +151 -0
- package/lib/app/masters/story/index.d.ts +3 -0
- package/lib/app/masters/story/index.js +53 -0
- package/lib/assets/style.css +1 -1
- package/lib/ui/gamification/vote/feedback/index.d.ts +3 -1
- package/lib/ui/gamification/vote/feedback/index.js +52 -50
- package/lib/ui/gamification/vote/feedback/styles.d.ts +1 -0
- package/lib/ui/gamification/vote/feedback/styles.js +5 -0
- package/lib/ui/gamification/vote/index.d.ts +1 -0
- package/lib/ui/gamification/vote/index.js +150 -126
- package/lib/ui/gamification/vote/styles.d.ts +5 -0
- package/lib/ui/gamification/vote/styles.js +40 -14
- package/lib/ui/gamification/vote/vote-option/index.js +43 -40
- package/lib/ui/icons/index.d.ts +5 -0
- package/lib/ui/icons/index.js +87 -66
- package/lib/ui/loader/index.d.ts +4 -0
- package/lib/ui/loader/index.js +5 -0
- package/lib/ui/theme/masters-theme.js +4 -4
- package/lib/ui/theme/masters.js +3 -2
- package/lib/utils/decorators/container.js +11 -9
- package/package.json +22 -16
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
const r = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20200%20200'%3e%3cradialGradient%20id='a9'%20cx='.66'%20fx='.66'%20cy='.3125'%20fy='.3125'%20gradientTransform='scale(1.5)'%3e%3cstop%20offset='0'%20stop-color='%23FFFFFF'%3e%3c/stop%3e%3cstop%20offset='.3'%20stop-color='%23FFFFFF'%20stop-opacity='.9'%3e%3c/stop%3e%3cstop%20offset='.6'%20stop-color='%23FFFFFF'%20stop-opacity='.6'%3e%3c/stop%3e%3cstop%20offset='.8'%20stop-color='%23FFFFFF'%20stop-opacity='.3'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23FFFFFF'%20stop-opacity='0'%3e%3c/stop%3e%3c/radialGradient%3e%3ccircle%20transform-origin='center'%20fill='none'%20stroke='url(%23a9)'%20stroke-width='17'%20stroke-linecap='round'%20stroke-dasharray='200%201000'%20stroke-dashoffset='0'%20cx='100'%20cy='100'%20r='70'%3e%3canimateTransform%20type='rotate'%20attributeName='transform'%20calcMode='spline'%20dur='1.8'%20values='360;0'%20keyTimes='0;1'%20keySplines='0%200%201%201'%20repeatCount='indefinite'%3e%3c/animateTransform%3e%3c/circle%3e%3ccircle%20transform-origin='center'%20fill='none'%20opacity='.2'%20stroke='%23FFFFFF'%20stroke-width='17'%20stroke-linecap='round'%20cx='100'%20cy='100'%20r='70'%3e%3c/circle%3e%3c/svg%3e", c = ({ height: o = "37px", width: t = "37px" }) => /* @__PURE__ */ e("div", { style: { height: o, width: t }, children: /* @__PURE__ */ e("img", { alt: "loader", src: r }) });
|
|
3
|
+
export {
|
|
4
|
+
c as Loader
|
|
5
|
+
};
|
|
@@ -93,7 +93,7 @@ const t = {
|
|
|
93
93
|
--font-header-title: 0.75rem;
|
|
94
94
|
|
|
95
95
|
--header-offset: 0px;
|
|
96
|
-
--header-height:
|
|
96
|
+
--header-height: 0px;
|
|
97
97
|
--watch-live-header: 0px;
|
|
98
98
|
--animation-duration: 0.5s;
|
|
99
99
|
--animation-function: ease;
|
|
@@ -118,12 +118,12 @@ const t = {
|
|
|
118
118
|
--insight-image-ratio: 16/9;
|
|
119
119
|
|
|
120
120
|
${T.down("xl")`
|
|
121
|
-
--header-offset:
|
|
122
|
-
--watch-live-header:
|
|
121
|
+
--header-offset: 0px;
|
|
122
|
+
--watch-live-header: 0px;
|
|
123
123
|
`}
|
|
124
124
|
|
|
125
125
|
${T.intermediate("xl", "lg")`
|
|
126
|
-
--header-offset:
|
|
126
|
+
--header-offset: 0px;
|
|
127
127
|
`}
|
|
128
128
|
`, A = "m1ojpy2l";
|
|
129
129
|
export {
|
package/lib/ui/theme/masters.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { cx as s } from "@linaria/core";
|
|
2
3
|
import { mastersTheme as a } from "./masters-theme.js";
|
|
3
|
-
const
|
|
4
|
+
const c = ({ children: r, style: m }) => /* @__PURE__ */ e("div", { className: "StreamLayerSDKTheme", children: /* @__PURE__ */ e("div", { className: s("masters-theme", a), style: m, children: r }) });
|
|
4
5
|
export {
|
|
5
|
-
|
|
6
|
+
c as StreamLayerMastersThemeProvider
|
|
6
7
|
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { StreamLayerThemeProvider as
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import { StreamLayerThemeProvider as n } from "../../ui/theme/index.js";
|
|
3
|
+
import { StreamLayerMastersThemeProvider as i } from "../../ui/theme/masters.js";
|
|
4
|
+
import { BGContainer as m, AppContainer as c } from "./styles.js";
|
|
5
|
+
const l = (r, t) => /* @__PURE__ */ e(i, { children: /* @__PURE__ */ e(r, {}) }), p = (r, t) => {
|
|
6
|
+
const o = t.globals.theme || "light";
|
|
7
|
+
return /* @__PURE__ */ e(n, { themeMode: o, children: /* @__PURE__ */ e(r, {}) });
|
|
8
|
+
}, f = (r) => /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(r, {}) }), u = (r) => /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e(c, { children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(r, {}) }) }) });
|
|
8
9
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
l as
|
|
10
|
+
f as bgContainer,
|
|
11
|
+
u as container,
|
|
12
|
+
l as mastersTheme,
|
|
13
|
+
p as theme
|
|
12
14
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamlayer/react-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.18.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"typings": "./lib/index.d.ts",
|
|
@@ -20,6 +20,11 @@
|
|
|
20
20
|
"default": "./lib/app/masters/Points/index.js",
|
|
21
21
|
"types": "./lib/app/masters/Points/index.d.ts"
|
|
22
22
|
},
|
|
23
|
+
"./bet-pack": {
|
|
24
|
+
"import": "./lib/app/masters/BetPack/index.js",
|
|
25
|
+
"default": "./lib/app/masters/BetPack/index.js",
|
|
26
|
+
"types": "./lib/app/masters/BetPack/index.d.ts"
|
|
27
|
+
},
|
|
23
28
|
"./points": {
|
|
24
29
|
"import": "./lib/app/app/Points/index.js",
|
|
25
30
|
"default": "./lib/app/app/Points/index.js",
|
|
@@ -56,7 +61,7 @@
|
|
|
56
61
|
],
|
|
57
62
|
"peerDependencies": {
|
|
58
63
|
"@lottiefiles/react-lottie-player": "^3.5.4",
|
|
59
|
-
"@streamlayer/sl-eslib": "^5.
|
|
64
|
+
"@streamlayer/sl-eslib": "^5.149.1",
|
|
60
65
|
"@types/lodash.throttle": "^4.1.9",
|
|
61
66
|
"lodash.throttle": "^4.1.1",
|
|
62
67
|
"nanoid": "3.3.7",
|
|
@@ -64,19 +69,19 @@
|
|
|
64
69
|
"react-virtualized-auto-sizer": "^1.0.24",
|
|
65
70
|
"react-window": "^1.8.10",
|
|
66
71
|
"react-window-infinite-loader": "^1.0.9",
|
|
67
|
-
"@streamlayer/feature-gamification": "^1.
|
|
68
|
-
"@streamlayer/sdk-web": "^1.
|
|
69
|
-
"@streamlayer/sdk-web-
|
|
70
|
-
"@streamlayer/sdk-web-
|
|
71
|
-
"@streamlayer/sdk-web
|
|
72
|
-
"@streamlayer/sdk-web-
|
|
73
|
-
"@streamlayer/sdk-web-
|
|
74
|
-
"@streamlayer/sdk-web-
|
|
75
|
-
"@streamlayer/sdk-web-
|
|
76
|
-
"@streamlayer/sdk-web-
|
|
77
|
-
"@streamlayer/sdk-web-
|
|
78
|
-
"@streamlayer/sdk-web-types": "^1.
|
|
79
|
-
"@streamlayer/react-polyfills": "^0.1.
|
|
72
|
+
"@streamlayer/feature-gamification": "^1.14.1",
|
|
73
|
+
"@streamlayer/sdk-web-analytics": "^1.6.1",
|
|
74
|
+
"@streamlayer/sdk-web-api": "^1.7.1",
|
|
75
|
+
"@streamlayer/sdk-web-core": "^1.10.1",
|
|
76
|
+
"@streamlayer/sdk-web": "^1.8.1",
|
|
77
|
+
"@streamlayer/sdk-web-features": "^1.0.44",
|
|
78
|
+
"@streamlayer/sdk-web-interfaces": "^1.4.10",
|
|
79
|
+
"@streamlayer/sdk-web-logger": "^1.0.44",
|
|
80
|
+
"@streamlayer/sdk-web-anonymous-auth": "^1.1.23",
|
|
81
|
+
"@streamlayer/sdk-web-storage": "^1.0.44",
|
|
82
|
+
"@streamlayer/sdk-web-notifications": "^1.3.6",
|
|
83
|
+
"@streamlayer/sdk-web-types": "^1.10.1",
|
|
84
|
+
"@streamlayer/react-polyfills": "^0.1.4"
|
|
80
85
|
},
|
|
81
86
|
"nx": {
|
|
82
87
|
"implicitDependencies": [
|
|
@@ -108,6 +113,7 @@
|
|
|
108
113
|
"react-countdown-circle-timer": "^3.2.1",
|
|
109
114
|
"react-countup": "^6.5.3",
|
|
110
115
|
"react-phone-number-input": "^3.4.8",
|
|
116
|
+
"react-slick": "^0.30.3",
|
|
111
117
|
"rollup-plugin-node-polyfills": "^0.2.1",
|
|
112
118
|
"screenfull": "^6.0.2",
|
|
113
119
|
"tslib": "^2.7.0",
|
|
@@ -116,6 +122,6 @@
|
|
|
116
122
|
"vite-plugin-svgr": "^4.2.0",
|
|
117
123
|
"vite-svg-loader": "^5.1.0",
|
|
118
124
|
"vite-tsconfig-paths": "^5.0.1",
|
|
119
|
-
"@streamlayer/react": "^1.
|
|
125
|
+
"@streamlayer/react": "^1.12.1"
|
|
120
126
|
}
|
|
121
127
|
}
|