@streamlayer/react-ui 1.21.0 → 1.22.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/masters/BetPack/BetPackContent/EmergencyScreen/index.js +7 -7
- package/lib/app/masters/BetPack/BetPackContent/EndScreen/index.d.ts +0 -1
- package/lib/app/masters/BetPack/BetPackContent/EndScreen/index.js +18 -22
- package/lib/app/masters/BetPack/BetPackContent/ScreenContainer/index.d.ts +0 -1
- package/lib/app/masters/BetPack/BetPackContent/ScreenContainer/index.js +7 -7
- package/lib/app/masters/BetPack/BetPackContent/ScreenContainer/useDynamicParentFont.d.ts +1 -2
- package/lib/app/masters/BetPack/BetPackContent/ScreenContainer/useDynamicParentFont.js +16 -19
- package/lib/app/masters/BetPack/BetPackContent/StartScreen/index.d.ts +0 -1
- package/lib/app/masters/BetPack/BetPackContent/StartScreen/index.js +25 -24
- package/lib/app/masters/BetPack/BetPackContent/StartScreen/styles.d.ts +1 -0
- package/lib/app/masters/BetPack/BetPackContent/StartScreen/styles.js +14 -9
- package/lib/app/masters/BetPack/BetPackContent/index.js +64 -66
- package/lib/app/masters/BetPack/index.js +27 -27
- package/lib/app/masters/BetPack/utils.d.ts +1 -1
- package/lib/app/masters/BetPack/utils.js +8 -7
- package/lib/app/masters/Features/Gamification/index.d.ts +2 -0
- package/lib/app/masters/Features/Gamification/index.js +34 -29
- package/lib/app/masters/Features/index.d.ts +2 -0
- package/lib/app/masters/Features/index.js +12 -4
- package/lib/app/masters/Header/index.js +19 -23
- package/lib/app/masters/masters.js +68 -54
- package/lib/app/masters/useSdkResponsive.js +2 -2
- package/lib/app/masters/useSdkScroll.js +12 -12
- package/lib/app/useSdkResponsive.js +1 -1
- package/lib/app/useSdkScroll.js +1 -1
- package/lib/assets/style.css +1 -1
- package/lib/index-DSi8Qgfs.js +14 -0
- package/lib/index-DXvAPWiE.js +3743 -0
- package/lib/index-tnt2CtQe.js +55 -0
- package/lib/ui/advertisement/overlay/externalAd/index.d.ts +1 -1
- package/lib/ui/advertisement/overlay/externalAd/index.js +59 -40287
- package/lib/ui/advertisement/overlay/externalAd/styles.d.ts +2 -0
- package/lib/ui/advertisement/overlay/externalAd/styles.js +34 -24
- package/lib/ui/advertisement/overlay/externalAd/vast-player/module.d.js +1 -0
- package/lib/ui/advertisement/overlay/externalAd/vast-player/useGAMPlayer.d.ts +19 -0
- package/lib/ui/advertisement/overlay/externalAd/vast-player/useGAMPlayer.js +33199 -0
- package/lib/ui/advertisement/overlay/externalAd/vast-player/useVastAds.d.ts +24 -0
- package/lib/ui/advertisement/overlay/externalAd/vast-player/useVastAds.js +8 -0
- package/lib/ui/gamification/vote/feedback/index.d.ts +1 -0
- package/lib/ui/gamification/vote/feedback/index.js +83 -73
- package/lib/ui/gamification/vote/feedback/styles.d.ts +1 -0
- package/lib/ui/gamification/vote/feedback/styles.js +40 -39
- package/lib/ui/gamification/vote/index.js +94 -91
- package/lib/ui/icons/index.d.ts +1 -0
- package/lib/ui/icons/index.js +88 -79
- package/lib/ui/modal/index.js +31 -34
- package/lib/ui/theme/breakpoints.d.ts +1 -0
- package/lib/ui/theme/breakpoints.js +17 -9
- package/lib/ui/theme/masters-theme.js +1 -0
- package/lib/useVastAds-Dt_tRbpd.js +1284 -0
- package/package.json +18 -15
- package/lib/index-CLJzLXks.js +0 -64
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare const WhyThisAd: React.FC<{
|
|
2
2
|
whyThisAd: any;
|
|
3
3
|
}>;
|
|
4
|
+
export declare const MuteIcon: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
|
|
5
|
+
export declare const PlayIcon: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
|
|
4
6
|
export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
5
7
|
export declare const ControlsContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
6
8
|
export declare const mediaStyle: import('@linaria/core').LinariaClassName;
|
|
@@ -1,39 +1,49 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { styled as
|
|
3
|
-
const
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { styled as s } from "@linaria/react";
|
|
3
|
+
const n = /* @__PURE__ */ s("a")({
|
|
4
4
|
name: "WhyThisAdLink",
|
|
5
5
|
class: "w13o8uld",
|
|
6
6
|
propsAsIs: !1
|
|
7
|
-
}),
|
|
8
|
-
whyThisAd:
|
|
9
|
-
}) => !
|
|
7
|
+
}), r = ({
|
|
8
|
+
whyThisAd: o
|
|
9
|
+
}) => !o.iconClickThroughURLTemplate || !o.staticResource ? null : /* @__PURE__ */ e(n, {
|
|
10
10
|
style: {
|
|
11
|
-
width:
|
|
12
|
-
height:
|
|
13
|
-
[
|
|
14
|
-
[
|
|
11
|
+
width: o.width,
|
|
12
|
+
height: o.height,
|
|
13
|
+
[o.xPosition]: 1,
|
|
14
|
+
[o.yPosition]: 1
|
|
15
15
|
},
|
|
16
|
-
href:
|
|
16
|
+
href: o.iconClickThroughURLTemplate,
|
|
17
17
|
target: "_blank",
|
|
18
18
|
rel: "noreferrer",
|
|
19
|
-
children: /* @__PURE__ */
|
|
19
|
+
children: /* @__PURE__ */ e("img", {
|
|
20
20
|
alt: "GoogleWhyThisAd",
|
|
21
|
-
src:
|
|
21
|
+
src: o.staticResource
|
|
22
22
|
})
|
|
23
|
-
}),
|
|
23
|
+
}), l = /* @__PURE__ */ s("button")({
|
|
24
|
+
name: "MuteIcon",
|
|
25
|
+
class: "m1xzooj9",
|
|
26
|
+
propsAsIs: !1
|
|
27
|
+
}), c = /* @__PURE__ */ s("button")({
|
|
28
|
+
name: "PlayIcon",
|
|
29
|
+
class: "p1bo41vr",
|
|
30
|
+
propsAsIs: !1
|
|
31
|
+
}), i = /* @__PURE__ */ s("div")({
|
|
24
32
|
name: "Container",
|
|
25
|
-
class: "
|
|
33
|
+
class: "c13efyu8",
|
|
26
34
|
propsAsIs: !1
|
|
27
|
-
}),
|
|
35
|
+
}), m = /* @__PURE__ */ s("div")({
|
|
28
36
|
name: "ControlsContainer",
|
|
29
|
-
class: "
|
|
37
|
+
class: "cladkgh",
|
|
30
38
|
propsAsIs: !1
|
|
31
|
-
}),
|
|
39
|
+
}), p = "mjnga56", u = "m7qs1am", f = "m12n261r";
|
|
32
40
|
export {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
41
|
+
i as Container,
|
|
42
|
+
m as ControlsContainer,
|
|
43
|
+
l as MuteIcon,
|
|
44
|
+
c as PlayIcon,
|
|
45
|
+
r as WhyThisAd,
|
|
46
|
+
f as mediaHidden,
|
|
47
|
+
p as mediaStyle,
|
|
48
|
+
u as mediaVisible
|
|
39
49
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { VastIcon } from '@dailymotion/vast-client';
|
|
2
|
+
import { RefObject } from 'react';
|
|
3
|
+
type GAMPlayerCore = {
|
|
4
|
+
time: number;
|
|
5
|
+
adCount: number;
|
|
6
|
+
adPosition: number;
|
|
7
|
+
skipDelay?: number;
|
|
8
|
+
playing: boolean;
|
|
9
|
+
paused: boolean;
|
|
10
|
+
reset: () => void;
|
|
11
|
+
whyThisAd: VastIcon | null;
|
|
12
|
+
hasAdUrl: boolean;
|
|
13
|
+
playMuted: boolean;
|
|
14
|
+
muted: boolean;
|
|
15
|
+
autoplay: boolean;
|
|
16
|
+
adAction: (e: React.MouseEvent<HTMLElement>) => void;
|
|
17
|
+
};
|
|
18
|
+
export declare const useGAMPlayer: (container: RefObject<HTMLDivElement>, adUrl?: string) => readonly [import('nanostores').PreinitializedMapStore<GAMPlayerCore> & object, () => void, () => void, () => void];
|
|
19
|
+
export {};
|