@streamlayer/react-ui 1.18.0 → 1.19.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/Notifications/index.js +1 -1
- package/lib/app/masters/BetPack/BetPackContent/EmergencyScreen/index.js +12 -8
- package/lib/app/masters/BetPack/BetPackContent/EndScreen/index.js +42 -14
- package/lib/app/masters/BetPack/BetPackContent/EndScreen/styles.d.ts +12 -0
- package/lib/app/masters/BetPack/BetPackContent/EndScreen/styles.js +40 -20
- package/lib/app/masters/BetPack/BetPackContent/ScreenContainer/index.js +8 -4
- package/lib/app/masters/BetPack/BetPackContent/ScreenContainer/useDynamicParentFont.d.ts +4 -0
- package/lib/app/masters/BetPack/BetPackContent/ScreenContainer/useDynamicParentFont.js +27 -0
- package/lib/app/masters/BetPack/BetPackContent/StartScreen/index.js +21 -19
- package/lib/app/masters/BetPack/BetPackContent/StartScreen/styles.d.ts +1 -0
- package/lib/app/masters/BetPack/BetPackContent/StartScreen/styles.js +22 -17
- package/lib/app/masters/BetPack/BetPackContent/index.js +88 -62
- package/lib/app/masters/BetPack/BetPackContent/styles.d.ts +1 -0
- package/lib/app/masters/BetPack/BetPackContent/styles.js +8 -7
- package/lib/app/masters/BetPack/index.js +59 -53
- package/lib/app/masters/Features/Gamification/Question.js +3 -3
- package/lib/app/masters/Features/Gamification/Tabs.d.ts +0 -7
- package/lib/app/masters/Features/Gamification/Tabs.js +9 -42
- package/lib/app/masters/Features/Gamification/UserSummary.js +15 -14
- package/lib/app/masters/Features/Gamification/index.d.ts +1 -6
- package/lib/app/masters/Features/Gamification/index.js +37 -76
- package/lib/app/masters/Features/index.d.ts +1 -6
- package/lib/app/masters/Features/index.js +15 -25
- package/lib/app/masters/Header/index.d.ts +3 -0
- package/lib/app/masters/Header/index.js +38 -0
- package/lib/app/masters/Notifications/index.js +1 -1
- package/lib/app/masters/masters.d.ts +1 -0
- package/lib/app/masters/masters.js +75 -92
- package/lib/app/masters/story/index.d.ts +1 -0
- package/lib/app/masters/story/index.js +21 -22
- package/lib/app/masters/styles.d.ts +0 -10
- package/lib/app/masters/styles.js +13 -23
- package/lib/app/masters/useSdkResponsive.js +1 -1
- package/lib/app/masters/useSdkScroll.js +1 -1
- package/lib/app/useClipboardCopy.js +1 -1
- package/lib/app/useSdkResponsive.js +1 -1
- package/lib/app/useSdkScroll.js +1 -1
- package/lib/assets/style.css +1 -1
- package/lib/index-BEm7B1u1.js +72 -0
- package/lib/index-DALxy-8N.js +5437 -0
- package/lib/ui/gamification/user-statistics/index.d.ts +1 -0
- package/lib/ui/gamification/user-statistics/index.js +47 -39
- package/lib/ui/gamification/user-statistics/styles.d.ts +2 -0
- package/lib/ui/gamification/user-statistics/styles.js +34 -24
- package/lib/ui/gamification/vote/feedback/index.d.ts +1 -0
- package/lib/ui/gamification/vote/feedback/index.js +60 -47
- package/lib/ui/gamification/vote/feedback/styles.d.ts +12 -0
- package/lib/ui/gamification/vote/feedback/styles.js +47 -27
- package/lib/ui/gamification/vote/index.js +145 -136
- package/lib/ui/gamification/vote/styles.d.ts +3 -1
- package/lib/ui/gamification/vote/styles.js +42 -32
- package/lib/ui/gamification/vote/vote-option/index.d.ts +1 -0
- package/lib/ui/gamification/vote/vote-option/index.js +59 -60
- package/lib/ui/gamification/vote/vote-option/styles.d.ts +1 -0
- package/lib/ui/gamification/vote/vote-option/styles.js +16 -11
- package/lib/ui/icons/index.d.ts +3 -0
- package/lib/ui/icons/index.js +69 -51
- package/lib/ui/loader/index.js +4 -3
- package/lib/ui/modal/index.js +1 -1
- package/lib/ui/theme/masters-theme.js +152 -32
- package/lib/ui/theme/theme.js +66 -20
- package/package.json +16 -15
- package/lib/app/masters/Features/Gamification/Friends.d.ts +0 -3
- package/lib/app/masters/Features/Gamification/Friends.js +0 -19
- package/lib/app/masters/Features/Gamification/Leaderboard.d.ts +0 -8
- package/lib/app/masters/Features/Gamification/Leaderboard.js +0 -56
- package/lib/index-B1QdimmR.js +0 -19047
- package/lib/index-CZvwzN5o.js +0 -75
- package/lib/index-xuotMAFm.js +0 -118
package/lib/index-CZvwzN5o.js
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { p } from "./index-xuotMAFm.js";
|
|
2
|
-
let v = Symbol("clean"), t = [], c = (a, i) => {
|
|
3
|
-
let n = [], e = {
|
|
4
|
-
get() {
|
|
5
|
-
return e.lc || e.listen(() => {
|
|
6
|
-
})(), e.value;
|
|
7
|
-
},
|
|
8
|
-
l: i || 0,
|
|
9
|
-
lc: 0,
|
|
10
|
-
listen(u, f) {
|
|
11
|
-
return e.lc = n.push(u, f || e.l) / 2, () => {
|
|
12
|
-
let o = n.indexOf(u);
|
|
13
|
-
~o && (n.splice(o, 2), --e.lc || e.off());
|
|
14
|
-
};
|
|
15
|
-
},
|
|
16
|
-
notify(u, f) {
|
|
17
|
-
let o = !t.length;
|
|
18
|
-
for (let l = 0; l < n.length; l += 2)
|
|
19
|
-
t.push(
|
|
20
|
-
n[l],
|
|
21
|
-
n[l + 1],
|
|
22
|
-
e.value,
|
|
23
|
-
u,
|
|
24
|
-
f
|
|
25
|
-
);
|
|
26
|
-
if (o) {
|
|
27
|
-
for (let l = 0; l < t.length; l += 5) {
|
|
28
|
-
let r;
|
|
29
|
-
for (let s = l + 1; !r && (s += 5) < t.length; )
|
|
30
|
-
t[s] < t[l + 1] && (r = t.push(
|
|
31
|
-
t[l],
|
|
32
|
-
t[l + 1],
|
|
33
|
-
t[l + 2],
|
|
34
|
-
t[l + 3],
|
|
35
|
-
t[l + 4]
|
|
36
|
-
));
|
|
37
|
-
r || t[l](
|
|
38
|
-
t[l + 2],
|
|
39
|
-
t[l + 3],
|
|
40
|
-
t[l + 4]
|
|
41
|
-
);
|
|
42
|
-
}
|
|
43
|
-
t.length = 0;
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
/* It will be called on last listener unsubscribing.
|
|
47
|
-
We will redefine it in onMount and onStop. */
|
|
48
|
-
off() {
|
|
49
|
-
},
|
|
50
|
-
set(u) {
|
|
51
|
-
let f = e.value;
|
|
52
|
-
f !== u && (e.value = u, e.notify(f));
|
|
53
|
-
},
|
|
54
|
-
subscribe(u, f) {
|
|
55
|
-
let o = e.listen(u, f);
|
|
56
|
-
return u(e.value), o;
|
|
57
|
-
},
|
|
58
|
-
value: a
|
|
59
|
-
};
|
|
60
|
-
return p.env.NODE_ENV !== "production" && (e[v] = () => {
|
|
61
|
-
n = [], e.lc = 0, e.off();
|
|
62
|
-
}), e;
|
|
63
|
-
}, h = (a = {}) => {
|
|
64
|
-
let i = c(a);
|
|
65
|
-
return i.setKey = function(n, e) {
|
|
66
|
-
let u = i.value;
|
|
67
|
-
typeof e > "u" && n in i.value ? (i.value = { ...i.value }, delete i.value[n], i.notify(u, n)) : i.value[n] !== e && (i.value = {
|
|
68
|
-
...i.value,
|
|
69
|
-
[n]: e
|
|
70
|
-
}, i.notify(u, n));
|
|
71
|
-
}, i;
|
|
72
|
-
};
|
|
73
|
-
export {
|
|
74
|
-
h as m
|
|
75
|
-
};
|
package/lib/index-xuotMAFm.js
DELETED
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
function v(e) {
|
|
2
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
3
|
-
}
|
|
4
|
-
var m = { exports: {} }, t = m.exports = {}, n, o;
|
|
5
|
-
function f() {
|
|
6
|
-
throw new Error("setTimeout has not been defined");
|
|
7
|
-
}
|
|
8
|
-
function h() {
|
|
9
|
-
throw new Error("clearTimeout has not been defined");
|
|
10
|
-
}
|
|
11
|
-
(function() {
|
|
12
|
-
try {
|
|
13
|
-
typeof setTimeout == "function" ? n = setTimeout : n = f;
|
|
14
|
-
} catch {
|
|
15
|
-
n = f;
|
|
16
|
-
}
|
|
17
|
-
try {
|
|
18
|
-
typeof clearTimeout == "function" ? o = clearTimeout : o = h;
|
|
19
|
-
} catch {
|
|
20
|
-
o = h;
|
|
21
|
-
}
|
|
22
|
-
})();
|
|
23
|
-
function p(e) {
|
|
24
|
-
if (n === setTimeout)
|
|
25
|
-
return setTimeout(e, 0);
|
|
26
|
-
if ((n === f || !n) && setTimeout)
|
|
27
|
-
return n = setTimeout, setTimeout(e, 0);
|
|
28
|
-
try {
|
|
29
|
-
return n(e, 0);
|
|
30
|
-
} catch {
|
|
31
|
-
try {
|
|
32
|
-
return n.call(null, e, 0);
|
|
33
|
-
} catch {
|
|
34
|
-
return n.call(this, e, 0);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
function g(e) {
|
|
39
|
-
if (o === clearTimeout)
|
|
40
|
-
return clearTimeout(e);
|
|
41
|
-
if ((o === h || !o) && clearTimeout)
|
|
42
|
-
return o = clearTimeout, clearTimeout(e);
|
|
43
|
-
try {
|
|
44
|
-
return o(e);
|
|
45
|
-
} catch {
|
|
46
|
-
try {
|
|
47
|
-
return o.call(null, e);
|
|
48
|
-
} catch {
|
|
49
|
-
return o.call(this, e);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
var u = [], s = !1, a, l = -1;
|
|
54
|
-
function w() {
|
|
55
|
-
!s || !a || (s = !1, a.length ? u = a.concat(u) : l = -1, u.length && d());
|
|
56
|
-
}
|
|
57
|
-
function d() {
|
|
58
|
-
if (!s) {
|
|
59
|
-
var e = p(w);
|
|
60
|
-
s = !0;
|
|
61
|
-
for (var r = u.length; r; ) {
|
|
62
|
-
for (a = u, u = []; ++l < r; )
|
|
63
|
-
a && a[l].run();
|
|
64
|
-
l = -1, r = u.length;
|
|
65
|
-
}
|
|
66
|
-
a = null, s = !1, g(e);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
t.nextTick = function(e) {
|
|
70
|
-
var r = new Array(arguments.length - 1);
|
|
71
|
-
if (arguments.length > 1)
|
|
72
|
-
for (var c = 1; c < arguments.length; c++)
|
|
73
|
-
r[c - 1] = arguments[c];
|
|
74
|
-
u.push(new T(e, r)), u.length === 1 && !s && p(d);
|
|
75
|
-
};
|
|
76
|
-
function T(e, r) {
|
|
77
|
-
this.fun = e, this.array = r;
|
|
78
|
-
}
|
|
79
|
-
T.prototype.run = function() {
|
|
80
|
-
this.fun.apply(null, this.array);
|
|
81
|
-
};
|
|
82
|
-
t.title = "browser";
|
|
83
|
-
t.browser = !0;
|
|
84
|
-
t.env = {};
|
|
85
|
-
t.argv = [];
|
|
86
|
-
t.version = "";
|
|
87
|
-
t.versions = {};
|
|
88
|
-
function i() {
|
|
89
|
-
}
|
|
90
|
-
t.on = i;
|
|
91
|
-
t.addListener = i;
|
|
92
|
-
t.once = i;
|
|
93
|
-
t.off = i;
|
|
94
|
-
t.removeListener = i;
|
|
95
|
-
t.removeAllListeners = i;
|
|
96
|
-
t.emit = i;
|
|
97
|
-
t.prependListener = i;
|
|
98
|
-
t.prependOnceListener = i;
|
|
99
|
-
t.listeners = function(e) {
|
|
100
|
-
return [];
|
|
101
|
-
};
|
|
102
|
-
t.binding = function(e) {
|
|
103
|
-
throw new Error("process.binding is not supported");
|
|
104
|
-
};
|
|
105
|
-
t.cwd = function() {
|
|
106
|
-
return "/";
|
|
107
|
-
};
|
|
108
|
-
t.chdir = function(e) {
|
|
109
|
-
throw new Error("process.chdir is not supported");
|
|
110
|
-
};
|
|
111
|
-
t.umask = function() {
|
|
112
|
-
return 0;
|
|
113
|
-
};
|
|
114
|
-
var y = m.exports;
|
|
115
|
-
const b = /* @__PURE__ */ v(y);
|
|
116
|
-
export {
|
|
117
|
-
b as p
|
|
118
|
-
};
|