@streamlayer/react-ui 0.66.0 → 0.67.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/LeaderBoard_16p26hz-4ed993c7.js +1 -0
- package/lib/assets/style.css +1 -0
- package/lib/index.js +4 -5
- package/lib/index_4nhkck-4ed993c7.js +1 -0
- package/lib/masters_k70xsy-4ed993c7.js +1 -0
- package/lib/ui/app/Features/FeatureProvider.js +1 -1
- package/lib/ui/app/Features/Gamification/Question.js +47 -34
- package/lib/ui/app/Features/Gamification/gamification-feature.d.ts +2 -0
- package/lib/ui/app/Features/Gamification/gamification-feature.js +66 -0
- package/lib/ui/app/Features/Gamification/index.d.ts +0 -1
- package/lib/ui/app/Features/Gamification/index.js +51 -38
- package/lib/ui/app/Features/index.js +1 -1
- package/lib/ui/app/Navigation/MastersNavigation/index.js +13 -10
- package/lib/ui/app/Navigation/index.js +13 -12
- package/lib/ui/app/Notifications/Onboarding/Notification/index.d.ts +8 -0
- package/lib/ui/app/Notifications/Onboarding/Notification/index.js +21 -0
- package/lib/ui/app/Notifications/Onboarding/Notification/styles.d.ts +10 -0
- package/lib/ui/app/Notifications/Onboarding/Notification/styles.js +52 -0
- package/lib/ui/app/Notifications/Onboarding/index.js +95 -73
- package/lib/ui/app/Notifications/index.js +37 -13
- package/lib/ui/app/Notifications/styles.js +8 -13
- package/lib/ui/app/masters.js +49 -28
- package/lib/ui/app/styles.js +20 -35
- package/lib/ui/app/useMastersApp.js +52 -36
- package/lib/ui/button/styles.js +12 -42
- package/lib/ui/gamification/detail/header/styles.js +33 -55
- package/lib/ui/gamification/detail/sponsor/index.js +18 -11
- package/lib/ui/gamification/insight/styles.js +40 -61
- package/lib/ui/gamification/insight-list/styles.js +11 -17
- package/lib/ui/gamification/invite-link/styles.js +31 -45
- package/lib/ui/gamification/leaderboard/list-item/styles.js +42 -64
- package/lib/ui/gamification/onboarding/slides/onboarding-instructions/styles.js +31 -44
- package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/styles.js +72 -99
- package/lib/ui/gamification/onboarding/slides/onboarding-rules/styles.js +41 -80
- package/lib/ui/gamification/onboarding/styles.js +38 -48
- package/lib/ui/gamification/points/index.d.ts +1 -1
- package/lib/ui/gamification/points/index.js +4 -6
- package/lib/ui/gamification/points/styles.js +32 -81
- package/lib/ui/gamification/question/insight/styles.js +11 -51
- package/lib/ui/gamification/question/list/styles.js +7 -9
- package/lib/ui/gamification/question/notification/insight/styles.js +27 -64
- package/lib/ui/gamification/question/notification/prediction-result/animation-lines/styles.js +82 -163
- package/lib/ui/gamification/question/notification/prediction-result/styles.js +53 -128
- package/lib/ui/gamification/question/notification/styles.js +43 -83
- package/lib/ui/gamification/question/notification/tweet/styles.js +35 -64
- package/lib/ui/gamification/question/styles.js +68 -94
- package/lib/ui/gamification/question/twitter/styles.js +13 -23
- package/lib/ui/gamification/tabs/styles.js +22 -65
- package/lib/ui/gamification/user-statistics/components/rank/styles.js +17 -23
- package/lib/ui/gamification/user-statistics/components/statistic/styles.js +17 -21
- package/lib/ui/gamification/user-statistics/styles.js +85 -120
- package/lib/ui/gamification/vote/expired-alert/styles.js +17 -27
- package/lib/ui/gamification/vote/feedback/styles.js +36 -64
- package/lib/ui/gamification/vote/insight-details/styles.js +12 -23
- package/lib/ui/gamification/vote/styles.js +22 -31
- package/lib/ui/gamification/vote/twitter-details/styles.js +7 -9
- package/lib/ui/gamification/vote/vote-option/styles.js +63 -147
- package/lib/ui/gamification/vote/win-bar/styles.js +37 -45
- package/lib/ui/icons/index.js +29 -14
- package/lib/ui/login/styles.js +37 -69
- package/lib/ui/navigation/button/Channels.js +19 -27
- package/lib/ui/navigation/button/FeaturedGroups.js +18 -26
- package/lib/ui/navigation/button/LeaderBoard.js +20 -21
- package/lib/ui/navigation/button/styles.js +16 -56
- package/lib/ui/navigation/index.js +13 -7
- package/lib/ui/navigation/masters.js +8 -32
- package/lib/ui/questions/insight/styles.js +26 -30
- package/lib/ui/questions/twitter/account/styles.js +30 -35
- package/lib/ui/questions/twitter/styles.js +31 -42
- package/lib/ui/show-in/index.js +18 -63
- package/lib/ui/theme/index.js +3 -4
- package/lib/ui/theme/masters.js +2 -9
- package/lib/ui/theme/theme.js +36 -32
- package/lib/ui/timer/index.js +36 -32
- package/lib/ui/video-player/styles.js +22 -27
- package/lib/utils/debug/components/bypassLogin.js +44 -60
- package/lib/utils/debug/components/developer.js +54 -86
- package/lib/utils/debug/components/envToggle.js +33 -58
- package/lib/utils/debug/components/eventInput.js +4 -4
- package/lib/utils/debug/components/styles.js +7 -49
- package/lib/utils/decorators/container.js +3 -4
- package/lib/utils/decorators/styles.js +7 -21
- package/package.json +13 -9
|
@@ -1,151 +1,67 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
import { SvgIcon as
|
|
1
|
+
import { styled as s } from "@linaria/react";
|
|
2
|
+
import { SvgIcon as o } from "../../../icons/index.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
height: 100%;
|
|
55
|
-
position: absolute;
|
|
56
|
-
background-color: var(--color-secondary-red1);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&[data-isNotChecked='true'] {
|
|
61
|
-
border-color: var(--color-neutrals-gray3);
|
|
62
|
-
background-color: var(--color-white);
|
|
63
|
-
}
|
|
64
|
-
`, l = o.div`
|
|
65
|
-
transition: width 1s ease-in;
|
|
66
|
-
position: absolute;
|
|
67
|
-
border-radius: 3px;
|
|
68
|
-
height: 100%;
|
|
69
|
-
z-index: 0;
|
|
70
|
-
left: 0;
|
|
71
|
-
top: 0;
|
|
72
|
-
|
|
73
|
-
background-color: var(--color-neutrals-gray3);
|
|
74
|
-
|
|
75
|
-
&[data-answerState='correct'] {
|
|
76
|
-
background-color: var(--color-primary-green1);
|
|
77
|
-
opacity: 0.3;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&[data-answerState='incorrect'] {
|
|
81
|
-
background-color: var(--color-secondary-red1);
|
|
82
|
-
opacity: 0.3;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&[data-answerState='unset'] {
|
|
86
|
-
background-color: var(--color-neutrals-gray3);
|
|
87
|
-
}
|
|
88
|
-
`, d = o.span`
|
|
89
|
-
font-weight: var(--font-weight-default);
|
|
90
|
-
color: var(--color-neutrals-gray9);
|
|
91
|
-
font-family: var(--font-regular);
|
|
92
|
-
background-color: transparent;
|
|
93
|
-
padding: 5px 15px 5px 9px;
|
|
94
|
-
align-items: center;
|
|
95
|
-
border-radius: 2px;
|
|
96
|
-
position: relative;
|
|
97
|
-
font-size: 12px;
|
|
98
|
-
outline: none;
|
|
99
|
-
display: flex;
|
|
100
|
-
height: 100%;
|
|
101
|
-
border: none;
|
|
102
|
-
width: 100%;
|
|
103
|
-
`, s = o.div`
|
|
104
|
-
width: 60px;
|
|
105
|
-
`, p = o.div`
|
|
106
|
-
position: absolute;
|
|
107
|
-
left: 0;
|
|
108
|
-
bottom: -1px;
|
|
109
|
-
background-repeat: no-repeat;
|
|
110
|
-
background-size: contain;
|
|
111
|
-
width: 52px;
|
|
112
|
-
height: 52px;
|
|
113
|
-
`, r = o.img`
|
|
114
|
-
margin-right: 8px;
|
|
115
|
-
`, g = o(r)`
|
|
116
|
-
height: 32px;
|
|
117
|
-
width: 32px;
|
|
118
|
-
`, h = o(r)`
|
|
119
|
-
border-radius: 50%;
|
|
120
|
-
height: 32px;
|
|
121
|
-
width: 32px;
|
|
122
|
-
`, u = o.span`
|
|
123
|
-
overflow: hidden;
|
|
124
|
-
text-align: left;
|
|
125
|
-
white-space: nowrap;
|
|
126
|
-
text-overflow: ellipsis;
|
|
127
|
-
flex: 1;
|
|
128
|
-
`, b = o.span`
|
|
129
|
-
display: flex;
|
|
130
|
-
`, x = o.span`
|
|
131
|
-
margin-left: 8px;
|
|
132
|
-
line-height: 17px;
|
|
133
|
-
`, v = o(t)`
|
|
134
|
-
margin-left: 8px;
|
|
135
|
-
height: 16px;
|
|
136
|
-
width: 16px;
|
|
137
|
-
`;
|
|
5
|
+
const i = /* @__PURE__ */ s("button")({
|
|
6
|
+
name: "ButtonContainer",
|
|
7
|
+
class: "b1b6dl8t",
|
|
8
|
+
propsAsIs: !1
|
|
9
|
+
}), I = /* @__PURE__ */ s("div")({
|
|
10
|
+
name: "ButtonPct",
|
|
11
|
+
class: "b4iik8i",
|
|
12
|
+
propsAsIs: !1
|
|
13
|
+
}), m = /* @__PURE__ */ s("span")({
|
|
14
|
+
name: "ButtonBody",
|
|
15
|
+
class: "b1gq1lnf",
|
|
16
|
+
propsAsIs: !1
|
|
17
|
+
}), u = /* @__PURE__ */ s("div")({
|
|
18
|
+
name: "IconContainer",
|
|
19
|
+
class: "i1j65z51",
|
|
20
|
+
propsAsIs: !1
|
|
21
|
+
}), f = /* @__PURE__ */ s("div")({
|
|
22
|
+
name: "IconWrap",
|
|
23
|
+
class: "i19tpfua",
|
|
24
|
+
propsAsIs: !1
|
|
25
|
+
}), n = /* @__PURE__ */ s("img")({
|
|
26
|
+
name: "Icon",
|
|
27
|
+
class: "i1tubmma",
|
|
28
|
+
propsAsIs: !1
|
|
29
|
+
}), t = () => n, A = /* @__PURE__ */ s(t())({
|
|
30
|
+
name: "IconDefault",
|
|
31
|
+
class: "i1grrgwj",
|
|
32
|
+
propsAsIs: !0
|
|
33
|
+
}), c = () => n, d = /* @__PURE__ */ s(c())({
|
|
34
|
+
name: "IconCircle",
|
|
35
|
+
class: "ibemyq8",
|
|
36
|
+
propsAsIs: !0
|
|
37
|
+
}), b = /* @__PURE__ */ s("span")({
|
|
38
|
+
name: "Title",
|
|
39
|
+
class: "t1dceht",
|
|
40
|
+
propsAsIs: !1
|
|
41
|
+
}), B = /* @__PURE__ */ s("span")({
|
|
42
|
+
name: "Indicators",
|
|
43
|
+
class: "i116q4vq",
|
|
44
|
+
propsAsIs: !1
|
|
45
|
+
}), C = /* @__PURE__ */ s("span")({
|
|
46
|
+
name: "Percentage",
|
|
47
|
+
class: "p17ajcu2",
|
|
48
|
+
propsAsIs: !1
|
|
49
|
+
}), a = () => o, g = /* @__PURE__ */ s(a())({
|
|
50
|
+
name: "CheckIcon",
|
|
51
|
+
class: "cu9kmlb",
|
|
52
|
+
propsAsIs: !0
|
|
53
|
+
});
|
|
138
54
|
export {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
55
|
+
m as ButtonBody,
|
|
56
|
+
i as ButtonContainer,
|
|
57
|
+
I as ButtonPct,
|
|
58
|
+
g as CheckIcon,
|
|
59
|
+
n as Icon,
|
|
60
|
+
d as IconCircle,
|
|
61
|
+
u as IconContainer,
|
|
62
|
+
A as IconDefault,
|
|
63
|
+
f as IconWrap,
|
|
64
|
+
B as Indicators,
|
|
65
|
+
C as Percentage,
|
|
66
|
+
b as Title
|
|
151
67
|
};
|
|
@@ -1,50 +1,42 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
import { SvgIcon as
|
|
1
|
+
import { styled as s } from "@linaria/react";
|
|
2
|
+
import { SvgIcon as n } from "../../../icons/index.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
align-items: flex-end;
|
|
35
|
-
`, c = t.span`
|
|
36
|
-
margin-right: 6px;
|
|
37
|
-
font-size: 14px;
|
|
38
|
-
line-height: 14px;
|
|
39
|
-
`, d = t.span`
|
|
40
|
-
font-size: 10px;
|
|
41
|
-
`;
|
|
5
|
+
const p = /* @__PURE__ */ s("div")({
|
|
6
|
+
name: "WinBarContainer",
|
|
7
|
+
class: "wie6cqo",
|
|
8
|
+
propsAsIs: !1
|
|
9
|
+
}), c = /* @__PURE__ */ s("div")({
|
|
10
|
+
name: "Content",
|
|
11
|
+
class: "cgizw4u",
|
|
12
|
+
propsAsIs: !1
|
|
13
|
+
}), l = /* @__PURE__ */ s("div")({
|
|
14
|
+
name: "Title",
|
|
15
|
+
class: "t1l3ucjp",
|
|
16
|
+
propsAsIs: !1
|
|
17
|
+
}), o = () => n, r = /* @__PURE__ */ s(o())({
|
|
18
|
+
name: "WinIcon",
|
|
19
|
+
class: "wx7j799",
|
|
20
|
+
propsAsIs: !0
|
|
21
|
+
}), m = /* @__PURE__ */ s("div")({
|
|
22
|
+
name: "Points",
|
|
23
|
+
class: "p4lwuj0",
|
|
24
|
+
propsAsIs: !1
|
|
25
|
+
}), I = /* @__PURE__ */ s("span")({
|
|
26
|
+
name: "PointsCount",
|
|
27
|
+
class: "po9i64o",
|
|
28
|
+
propsAsIs: !1
|
|
29
|
+
}), f = /* @__PURE__ */ s("span")({
|
|
30
|
+
name: "PointsUnits",
|
|
31
|
+
class: "pe5g05h",
|
|
32
|
+
propsAsIs: !1
|
|
33
|
+
});
|
|
42
34
|
export {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
35
|
+
c as Content,
|
|
36
|
+
m as Points,
|
|
37
|
+
I as PointsCount,
|
|
38
|
+
f as PointsUnits,
|
|
47
39
|
l as Title,
|
|
48
|
-
|
|
49
|
-
|
|
40
|
+
p as WinBarContainer,
|
|
41
|
+
r as WinIcon
|
|
50
42
|
};
|