@streamlayer/react-ui 1.33.3 → 1.34.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/Polymarket/index.d.ts +4 -0
- package/lib/app/app/Polymarket/index.js +56 -0
- package/lib/app/app/Polymarket/story.d.ts +2 -0
- package/lib/app/app/Polymarket/story.js +17 -0
- package/lib/app/masters/useSdkResponsive.js +1 -1
- package/lib/app/masters/useSdkScroll.js +1 -1
- package/lib/app/useSdkResponsive.js +1 -1
- package/lib/app/useSdkScroll.js +1 -1
- package/lib/app/webos/Advertisement/index.js +61 -61
- package/lib/app/webos/ExposedPauseAd/PauseAd.js +130 -103
- package/lib/app/webos/Question/index.js +30 -27
- package/lib/app/webos/index.d.ts +1 -0
- package/lib/app/webos/ui/Sidebar/index.js +145 -141
- package/lib/app/webos/ui/Sidebar/styles.d.ts +2 -0
- package/lib/app/webos/ui/Sidebar/styles.js +95 -85
- package/lib/assets/style.css +1 -1
- package/lib/{index-tnt2CtQe.js → index-Deo5_bIg.js} +6 -12
- package/lib/{index-DSi8Qgfs.js → index-Fv2CC2QU.js} +4 -4
- package/lib/ui/advertisement/overlay/externalAd/vast-player/useGAMPlayer.js +1 -1
- package/lib/ui/advertisement/overlay/externalAd/vast-player/useVastAds.js +1 -1
- package/lib/ui/gamification/question/inapp/notification/AdNotification/index.d.ts +1 -0
- package/lib/ui/gamification/question/inapp/notification/AdNotification/index.js +62 -48
- package/lib/ui/gamification/question/inapp/prediction-result/index.d.ts +1 -0
- package/lib/ui/gamification/question/inapp/prediction-result/index.js +4 -4
- package/lib/ui/gamification/question/inapp/prediction-result-ad/index.d.ts +1 -0
- package/lib/ui/gamification/question/inapp/prediction-result-ad/index.js +27 -16
- package/lib/ui/gamification/vote/insight-details/index.js +5 -5
- package/lib/ui/polymarket/index.d.ts +21 -0
- package/lib/ui/polymarket/index.js +226 -0
- package/lib/ui/polymarket/styles.d.ts +13 -0
- package/lib/ui/polymarket/styles.js +69 -0
- package/lib/utils/decorators/container.d.ts +1 -0
- package/lib/utils/decorators/container.js +9 -8
- package/lib/utils/decorators/styles.d.ts +1 -0
- package/lib/utils/decorators/styles.js +9 -4
- package/package.json +19 -16
- package/lib/ui/advertisement/overlay/externalAd/vast-player/useGAMStatic.d.ts +0 -10
- package/lib/ui/advertisement/overlay/externalAd/vast-player/useGAMStatic.js +0 -69
|
@@ -12,34 +12,42 @@ const b = /* @__PURE__ */ s("div")({
|
|
|
12
12
|
class: "c18fzrta",
|
|
13
13
|
propsAsIs: !1
|
|
14
14
|
}), k = /* @__PURE__ */ s("div")({
|
|
15
|
-
name: "
|
|
16
|
-
class: "
|
|
15
|
+
name: "Content",
|
|
16
|
+
class: "cxfcca1",
|
|
17
17
|
propsAsIs: !1
|
|
18
18
|
}), V = /* @__PURE__ */ s("div")({
|
|
19
|
+
name: "ContentWrap",
|
|
20
|
+
class: "cz4xk2s",
|
|
21
|
+
propsAsIs: !1
|
|
22
|
+
}), Q = /* @__PURE__ */ s("div")({
|
|
23
|
+
name: "Header",
|
|
24
|
+
class: "h1udizru",
|
|
25
|
+
propsAsIs: !1
|
|
26
|
+
}), y = /* @__PURE__ */ s("div")({
|
|
19
27
|
name: "BrandBlock",
|
|
20
|
-
class: "
|
|
28
|
+
class: "b1keaj5j",
|
|
21
29
|
propsAsIs: !1
|
|
22
|
-
}),
|
|
30
|
+
}), S = /* @__PURE__ */ s("img")({
|
|
23
31
|
name: "LogoIcon",
|
|
24
|
-
class: "
|
|
32
|
+
class: "l17io0yd",
|
|
25
33
|
propsAsIs: !1
|
|
26
|
-
}),
|
|
34
|
+
}), T = /* @__PURE__ */ s("div")({
|
|
27
35
|
name: "BrandText",
|
|
28
|
-
class: "
|
|
36
|
+
class: "b4ldrvh",
|
|
29
37
|
propsAsIs: !1
|
|
30
|
-
}),
|
|
38
|
+
}), M = /* @__PURE__ */ s("div")({
|
|
31
39
|
name: "BrandNameContainer",
|
|
32
|
-
class: "
|
|
40
|
+
class: "bxfmzcm",
|
|
33
41
|
propsAsIs: !1
|
|
34
|
-
}),
|
|
42
|
+
}), _ = /* @__PURE__ */ s("span")({
|
|
35
43
|
name: "BrandName",
|
|
36
|
-
class: "
|
|
44
|
+
class: "baubznb",
|
|
37
45
|
propsAsIs: !1
|
|
38
|
-
}),
|
|
46
|
+
}), j = /* @__PURE__ */ s("span")({
|
|
39
47
|
name: "Sponsored",
|
|
40
|
-
class: "
|
|
48
|
+
class: "s1n8ue7o",
|
|
41
49
|
propsAsIs: !1
|
|
42
|
-
}),
|
|
50
|
+
}), H = (e) => /* @__PURE__ */ o("svg", {
|
|
43
51
|
viewBox: "0 0 24 24",
|
|
44
52
|
fill: "white",
|
|
45
53
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -49,53 +57,53 @@ const b = /* @__PURE__ */ s("div")({
|
|
|
49
57
|
clipRule: "evenodd",
|
|
50
58
|
d: "M6.225 4.811a.75.75 0 0 1 1.06 0L12 9.525l4.715-4.714a.75.75 0 1 1 1.06 1.06L13.06 10.5l4.715 4.715a.75.75 0 0 1-1.06 1.06L12 11.56l-4.715 4.715a.75.75 0 0 1-1.06-1.06L10.94 10.5 6.225 5.785a.75.75 0 0 1 0-1.06z"
|
|
51
59
|
})
|
|
52
|
-
}),
|
|
60
|
+
}), W = /* @__PURE__ */ s("button")({
|
|
53
61
|
name: "CloseButton",
|
|
54
|
-
class: "
|
|
62
|
+
class: "cexkm55",
|
|
55
63
|
propsAsIs: !1
|
|
56
|
-
}), f = () => d,
|
|
64
|
+
}), f = () => d, q = /* @__PURE__ */ s(f())({
|
|
57
65
|
name: "FocusableVideo",
|
|
58
|
-
class: "
|
|
66
|
+
class: "filh2qp",
|
|
59
67
|
propsAsIs: !0
|
|
60
|
-
}),
|
|
68
|
+
}), D = /* @__PURE__ */ s("div")({
|
|
61
69
|
name: "VideoWrapper",
|
|
62
|
-
class: "
|
|
70
|
+
class: "v1x04fia",
|
|
63
71
|
propsAsIs: !1
|
|
64
72
|
}), m = () => ({
|
|
65
73
|
isPlaying: e
|
|
66
|
-
}) => e ? "none" : "block",
|
|
74
|
+
}) => e ? "none" : "block", P = /* @__PURE__ */ s("button")({
|
|
67
75
|
name: "PlayPauseButton",
|
|
68
|
-
class: "
|
|
76
|
+
class: "p15di30w",
|
|
69
77
|
propsAsIs: !1,
|
|
70
78
|
vars: {
|
|
71
|
-
"
|
|
79
|
+
"p15di30w-0": [m()]
|
|
72
80
|
}
|
|
73
81
|
}), v = () => ({
|
|
74
82
|
visible: e
|
|
75
|
-
}) => e ? "flex" : "none",
|
|
83
|
+
}) => e ? "flex" : "none", Z = /* @__PURE__ */ s("div")({
|
|
76
84
|
name: "CenterIndicator",
|
|
77
|
-
class: "
|
|
85
|
+
class: "cui9wi2",
|
|
78
86
|
propsAsIs: !1,
|
|
79
87
|
vars: {
|
|
80
|
-
"
|
|
88
|
+
"cui9wi2-0": [v()]
|
|
81
89
|
}
|
|
82
|
-
}),
|
|
90
|
+
}), z = /* @__PURE__ */ s("div")({
|
|
83
91
|
name: "VideoBlock",
|
|
84
|
-
class: "
|
|
92
|
+
class: "vddh3kx",
|
|
85
93
|
propsAsIs: !1
|
|
86
94
|
}), I = () => ({
|
|
87
95
|
backgroundColor: e
|
|
88
96
|
}) => e || "#0f6cd4", x = () => ({
|
|
89
97
|
textColor: e
|
|
90
|
-
}) => e || "#fff",
|
|
98
|
+
}) => e || "#fff", N = /* @__PURE__ */ s("div")({
|
|
91
99
|
name: "SendToUserButton",
|
|
92
|
-
class: "
|
|
100
|
+
class: "s13i81d3",
|
|
93
101
|
propsAsIs: !1,
|
|
94
102
|
vars: {
|
|
95
|
-
"
|
|
96
|
-
"
|
|
103
|
+
"s13i81d3-0": [I()],
|
|
104
|
+
"s13i81d3-1": [x()]
|
|
97
105
|
}
|
|
98
|
-
}),
|
|
106
|
+
}), U = () => /* @__PURE__ */ o("svg", {
|
|
99
107
|
fill: "white",
|
|
100
108
|
style: {
|
|
101
109
|
fill: "white",
|
|
@@ -110,52 +118,52 @@ const b = /* @__PURE__ */ s("div")({
|
|
|
110
118
|
d: "M5.57502 27.5H34.9099C37.803 27.5 39.5 25.8713 39.5 22.645V5.355C39.5 2.12878 37.7869 0.5 34.4251 0.5H5.09014C2.19706 0.5 0.5 2.12878 0.5 5.355V22.645C0.5 25.8713 2.21323 27.5 5.57502 27.5ZM5.47805 25.1039C3.87796 25.1039 2.97286 24.2425 2.97286 22.6294V5.33933C2.97286 3.74189 3.87796 2.89618 5.47805 2.89618H34.5058C36.1059 2.89618 37.0272 3.74189 37.0272 5.355V22.645C37.0272 24.2425 36.1059 25.1039 34.5058 25.1039H5.47805ZM19.9919 18.1189C21.0263 18.1189 22.0285 17.7431 22.9496 16.9287L38.1586 3.66359L36.4776 2.01915L21.5435 15.0651C21.0425 15.5035 20.5253 15.7071 19.9919 15.7071C19.4586 15.7071 18.9414 15.5035 18.4403 15.0651L3.50622 2.01915L1.82532 3.66359L17.0342 16.9287C17.9554 17.7431 18.9575 18.1189 19.9919 18.1189ZM3.74866 25.4954L15.224 14.3602L13.5431 12.7315L2.06776 23.851L3.74866 25.4954ZM36.2676 25.5111L37.9484 23.8666L26.4569 12.7315L24.7598 14.3602L36.2676 25.5111Z",
|
|
111
119
|
fill: "white"
|
|
112
120
|
})
|
|
113
|
-
}),
|
|
121
|
+
}), F = /* @__PURE__ */ s("div")({
|
|
114
122
|
name: "SendToUserText",
|
|
115
|
-
class: "
|
|
123
|
+
class: "s1vr1bii",
|
|
116
124
|
propsAsIs: !1
|
|
117
|
-
}),
|
|
125
|
+
}), $ = /* @__PURE__ */ s("div")({
|
|
118
126
|
name: "VideoStatus",
|
|
119
|
-
class: "
|
|
127
|
+
class: "v1st3522",
|
|
120
128
|
propsAsIs: !1
|
|
121
|
-
}),
|
|
129
|
+
}), E = /* @__PURE__ */ s("h2")({
|
|
122
130
|
name: "Title",
|
|
123
|
-
class: "
|
|
131
|
+
class: "tjnj4vf",
|
|
124
132
|
propsAsIs: !1
|
|
125
|
-
}),
|
|
133
|
+
}), G = /* @__PURE__ */ s("p")({
|
|
126
134
|
name: "Description",
|
|
127
|
-
class: "
|
|
135
|
+
class: "d1bj8s6q",
|
|
128
136
|
propsAsIs: !1
|
|
129
|
-
}),
|
|
137
|
+
}), J = /* @__PURE__ */ s("div")({
|
|
130
138
|
name: "QRBlock",
|
|
131
|
-
class: "
|
|
139
|
+
class: "q1nyi744",
|
|
132
140
|
propsAsIs: !1
|
|
133
|
-
}),
|
|
141
|
+
}), K = /* @__PURE__ */ s("div")({
|
|
134
142
|
name: "QRDescBlock",
|
|
135
|
-
class: "
|
|
143
|
+
class: "q1ri138g",
|
|
136
144
|
propsAsIs: !1
|
|
137
|
-
}),
|
|
145
|
+
}), O = /* @__PURE__ */ s("div")({
|
|
138
146
|
name: "LearnMore",
|
|
139
|
-
class: "
|
|
147
|
+
class: "l1asn3je",
|
|
140
148
|
propsAsIs: !1
|
|
141
|
-
}),
|
|
149
|
+
}), X = /* @__PURE__ */ s("div")({
|
|
142
150
|
name: "QRHint",
|
|
143
|
-
class: "
|
|
151
|
+
class: "qa9pwin",
|
|
144
152
|
propsAsIs: !1
|
|
145
|
-
}),
|
|
153
|
+
}), A = /* @__PURE__ */ s("div")({
|
|
146
154
|
name: "QRWrapper",
|
|
147
|
-
class: "
|
|
155
|
+
class: "q1j7gm7x",
|
|
148
156
|
propsAsIs: !1
|
|
149
|
-
}),
|
|
157
|
+
}), C = () => i, u = /* @__PURE__ */ s(C())({
|
|
150
158
|
name: "StyledQRCode",
|
|
151
|
-
class: "
|
|
159
|
+
class: "s1sb0ho1",
|
|
152
160
|
propsAsIs: !0
|
|
153
|
-
}),
|
|
161
|
+
}), Y = p.forwardRef(({
|
|
154
162
|
value: e,
|
|
155
163
|
size: a = 200,
|
|
156
164
|
fgColor: n = "#0f172a",
|
|
157
|
-
bgColor:
|
|
158
|
-
level:
|
|
165
|
+
bgColor: t = "#ffffff",
|
|
166
|
+
level: r = "M",
|
|
159
167
|
tabIndex: l = 0
|
|
160
168
|
}, c) => /* @__PURE__ */ o("a", {
|
|
161
169
|
ref: c,
|
|
@@ -167,43 +175,45 @@ const b = /* @__PURE__ */ s("div")({
|
|
|
167
175
|
borderRadius: 10
|
|
168
176
|
},
|
|
169
177
|
tabIndex: l,
|
|
170
|
-
children: /* @__PURE__ */ o(
|
|
171
|
-
children: /* @__PURE__ */ o(
|
|
178
|
+
children: /* @__PURE__ */ o(A, {
|
|
179
|
+
children: /* @__PURE__ */ o(u, {
|
|
172
180
|
value: e,
|
|
173
181
|
size: a,
|
|
174
182
|
fgColor: n,
|
|
175
|
-
bgColor:
|
|
176
|
-
level:
|
|
183
|
+
bgColor: t,
|
|
184
|
+
level: r,
|
|
177
185
|
viewBox: `0 0 ${a} ${a}`
|
|
178
186
|
})
|
|
179
187
|
})
|
|
180
188
|
}));
|
|
181
189
|
export {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
190
|
+
y as BrandBlock,
|
|
191
|
+
_ as BrandName,
|
|
192
|
+
M as BrandNameContainer,
|
|
193
|
+
T as BrandText,
|
|
194
|
+
Z as CenterIndicator,
|
|
195
|
+
W as CloseButton,
|
|
196
|
+
H as CloseIcon,
|
|
189
197
|
g as Container,
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
Q as
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
F as
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
198
|
+
k as Content,
|
|
199
|
+
V as ContentWrap,
|
|
200
|
+
G as Description,
|
|
201
|
+
U as EnvelopeIcon,
|
|
202
|
+
q as FocusableVideo,
|
|
203
|
+
Q as Header,
|
|
204
|
+
O as LearnMore,
|
|
205
|
+
S as LogoIcon,
|
|
206
|
+
P as PlayPauseButton,
|
|
207
|
+
Y as QR,
|
|
208
|
+
J as QRBlock,
|
|
209
|
+
K as QRDescBlock,
|
|
210
|
+
X as QRHint,
|
|
211
|
+
N as SendToUserButton,
|
|
212
|
+
F as SendToUserText,
|
|
213
|
+
j as Sponsored,
|
|
214
|
+
E as Title,
|
|
215
|
+
z as VideoBlock,
|
|
216
|
+
$ as VideoStatus,
|
|
217
|
+
D as VideoWrapper,
|
|
208
218
|
b as Wrap
|
|
209
219
|
};
|