@streamlayer/react-ui 1.20.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.d.ts +1 -0
- package/lib/app/masters/BetPack/BetPackContent/EmergencyScreen/index.js +11 -11
- 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 +68 -66
- package/lib/app/masters/BetPack/BetPackOverlay/index.js +3 -2
- package/lib/app/masters/BetPack/index.js +64 -62
- 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.js +5 -5
- package/lib/app/masters/Features/index.d.ts +2 -2
- package/lib/app/masters/Features/index.js +1 -1
- package/lib/app/masters/Header/index.js +19 -23
- package/lib/app/masters/Notifications/Onboarding/index.d.ts +0 -1
- package/lib/app/masters/Notifications/Onboarding/index.js +42 -43
- package/lib/app/masters/Notifications/index.js +50 -55
- package/lib/app/masters/masters.js +60 -56
- package/lib/app/masters/useOrientation.d.ts +3 -0
- package/lib/app/masters/useOrientation.js +12 -0
- 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 +79 -40323
- package/lib/ui/advertisement/overlay/externalAd/styles.d.ts +10 -0
- package/lib/ui/advertisement/overlay/externalAd/styles.js +49 -0
- 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 +98 -95
- 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
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const WhyThisAd: React.FC<{
|
|
2
|
+
whyThisAd: any;
|
|
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>>;
|
|
6
|
+
export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
7
|
+
export declare const ControlsContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
8
|
+
export declare const mediaStyle: import('@linaria/core').LinariaClassName;
|
|
9
|
+
export declare const mediaVisible: import('@linaria/core').LinariaClassName;
|
|
10
|
+
export declare const mediaHidden: import('@linaria/core').LinariaClassName;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { styled as s } from "@linaria/react";
|
|
3
|
+
const n = /* @__PURE__ */ s("a")({
|
|
4
|
+
name: "WhyThisAdLink",
|
|
5
|
+
class: "w13o8uld",
|
|
6
|
+
propsAsIs: !1
|
|
7
|
+
}), r = ({
|
|
8
|
+
whyThisAd: o
|
|
9
|
+
}) => !o.iconClickThroughURLTemplate || !o.staticResource ? null : /* @__PURE__ */ e(n, {
|
|
10
|
+
style: {
|
|
11
|
+
width: o.width,
|
|
12
|
+
height: o.height,
|
|
13
|
+
[o.xPosition]: 1,
|
|
14
|
+
[o.yPosition]: 1
|
|
15
|
+
},
|
|
16
|
+
href: o.iconClickThroughURLTemplate,
|
|
17
|
+
target: "_blank",
|
|
18
|
+
rel: "noreferrer",
|
|
19
|
+
children: /* @__PURE__ */ e("img", {
|
|
20
|
+
alt: "GoogleWhyThisAd",
|
|
21
|
+
src: o.staticResource
|
|
22
|
+
})
|
|
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")({
|
|
32
|
+
name: "Container",
|
|
33
|
+
class: "c13efyu8",
|
|
34
|
+
propsAsIs: !1
|
|
35
|
+
}), m = /* @__PURE__ */ s("div")({
|
|
36
|
+
name: "ControlsContainer",
|
|
37
|
+
class: "cladkgh",
|
|
38
|
+
propsAsIs: !1
|
|
39
|
+
}), p = "mjnga56", u = "m7qs1am", f = "m12n261r";
|
|
40
|
+
export {
|
|
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
|
|
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 {};
|