@streamlayer/react-ui 1.26.1 → 1.27.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.
Files changed (205) hide show
  1. package/lib/app/app/Advertisement/index.d.ts +1 -0
  2. package/lib/app/app/Advertisement/index.js +125 -92
  3. package/lib/app/app/Banner/index.d.ts +6 -0
  4. package/lib/app/app/Banner/index.js +6 -0
  5. package/lib/app/app/Features/Gamification/Question.d.ts +4 -0
  6. package/lib/app/app/Features/Gamification/Question.js +79 -50
  7. package/lib/app/app/Features/Gamification/QuestionAdvertisement.d.ts +6 -0
  8. package/lib/app/app/Features/Gamification/QuestionAdvertisement.js +46 -0
  9. package/lib/app/app/Features/Gamification/Tabs.js +12 -12
  10. package/lib/app/app/Features/Gamification/index.d.ts +3 -0
  11. package/lib/app/app/Features/Gamification/index.js +56 -52
  12. package/lib/app/app/Features/index.d.ts +1 -0
  13. package/lib/app/app/Features/index.js +6 -4
  14. package/lib/app/app/InApp/index.d.ts +1 -0
  15. package/lib/app/app/InApp/index.js +44 -17
  16. package/lib/app/app/Insight/index.d.ts +3 -0
  17. package/lib/app/app/Insight/index.js +33 -30
  18. package/lib/app/app/Layout/index.d.ts +17 -0
  19. package/lib/app/app/Layout/index.js +105 -0
  20. package/lib/app/app/Layout/styles.d.ts +12 -0
  21. package/lib/app/app/Layout/styles.js +64 -0
  22. package/lib/app/app/Notifications/Onboarding/Notification/styles.d.ts +7 -1
  23. package/lib/app/app/Notifications/styles.d.ts +18 -2
  24. package/lib/app/app/index.d.ts +1 -0
  25. package/lib/app/app/index.js +91 -85
  26. package/lib/app/app/story/index.js +56 -58
  27. package/lib/app/app/story/promotion/index.js +31 -36
  28. package/lib/app/app/story/promotion/styles.d.ts +3 -1
  29. package/lib/app/app/story/promotion/video.js +63 -81
  30. package/lib/app/app/story/promotion-notification/styles.d.ts +3 -1
  31. package/lib/app/app/story/styles.d.ts +5 -1
  32. package/lib/app/app/story/styles.js +36 -16
  33. package/lib/app/app/story/video.d.ts +5 -1
  34. package/lib/app/app/story/video.js +70 -33
  35. package/lib/app/app/useApp.d.ts +1 -2
  36. package/lib/app/masters/BetPack/BetPackContent/StartScreen/styles.d.ts +7 -1
  37. package/lib/app/masters/BetPack/BetPackContent/index.js +175 -187
  38. package/lib/app/masters/BetPack/BetPackContent/styles.d.ts +84 -84
  39. package/lib/app/masters/BetPack/BetPackOverlay/styles.d.ts +14 -2
  40. package/lib/app/masters/Features/Gamification/Question.js +19 -17
  41. package/lib/app/masters/Notifications/Onboarding/Notification/styles.d.ts +7 -1
  42. package/lib/app/masters/Notifications/styles.d.ts +18 -2
  43. package/lib/app/masters/masters.d.ts +4 -1
  44. package/lib/app/masters/useMastersApp.d.ts +1 -1
  45. package/lib/app/tgl/styles.d.ts +3 -1
  46. package/lib/app/{tvos → webos/Advertisement}/AdvertisementUI.d.ts +7 -1
  47. package/lib/app/webos/Advertisement/AdvertisementUI.js +63 -0
  48. package/lib/app/{tvos/Advertisement.d.ts → webos/Advertisement/index.d.ts} +3 -1
  49. package/lib/app/webos/Advertisement/index.js +119 -0
  50. package/lib/app/webos/ExposedPauseAd/PauseAd.d.ts +15 -0
  51. package/lib/app/webos/ExposedPauseAd/PauseAd.js +93 -0
  52. package/lib/app/webos/ExposedPauseAd/styles.d.ts +12 -0
  53. package/lib/app/webos/ExposedPauseAd/styles.js +64 -0
  54. package/lib/app/webos/Question/index.d.ts +9 -0
  55. package/lib/app/webos/Question/index.js +56 -0
  56. package/lib/app/webos/index.d.ts +24 -0
  57. package/lib/app/webos/index.js +65 -0
  58. package/lib/app/webos/story.d.ts +9 -0
  59. package/lib/app/webos/story.js +74 -0
  60. package/lib/app/webos/styles.js +4 -0
  61. package/lib/app/webos/ui/Layout/index.js +78 -0
  62. package/lib/app/{tvos → webos}/ui/Layout/styles.js +25 -25
  63. package/lib/app/webos/ui/Sidebar/PromoAction.d.ts +7 -0
  64. package/lib/app/webos/ui/Sidebar/PromoAction.js +63 -0
  65. package/lib/app/{tvos → webos}/ui/Sidebar/index.d.ts +6 -0
  66. package/lib/app/webos/ui/Sidebar/index.js +176 -0
  67. package/lib/app/{tvos → webos}/ui/Sidebar/styles.d.ts +7 -3
  68. package/lib/app/{tvos → webos}/ui/Sidebar/styles.js +175 -170
  69. package/lib/app/webos/ui/insight/index.d.ts +9 -0
  70. package/lib/app/webos/ui/insight/index.js +100 -0
  71. package/lib/app/webos/ui/insight/styles.d.ts +12 -0
  72. package/lib/app/webos/ui/insight/styles.js +51 -0
  73. package/lib/app/webos/useTvButton.d.ts +9 -0
  74. package/lib/app/webos/useTvButton.js +23 -0
  75. package/lib/assets/style.css +1 -1
  76. package/lib/hooks/analytics.d.ts +14 -0
  77. package/lib/hooks/showIn.d.ts +9 -0
  78. package/lib/hooks/useKeyboardNavigation.d.ts +15 -0
  79. package/lib/hooks/useKeyboardNavigation.js +74 -0
  80. package/lib/index-T1iiS0ZO.js +17 -0
  81. package/lib/ui/advertisement/banner/index.d.ts +3 -0
  82. package/lib/ui/advertisement/banner/index.js +29 -17
  83. package/lib/ui/advertisement/banner/styles.d.ts +5 -1
  84. package/lib/ui/advertisement/index.d.ts +4 -1
  85. package/lib/ui/advertisement/index.js +56 -44
  86. package/lib/ui/advertisement/notification/index.d.ts +2 -0
  87. package/lib/ui/advertisement/notification/index.js +50 -34
  88. package/lib/ui/advertisement/notification/lower-third/index.d.ts +2 -0
  89. package/lib/ui/advertisement/notification/lower-third/index.js +42 -26
  90. package/lib/ui/advertisement/notification/lower-third/styles.d.ts +11 -0
  91. package/lib/ui/advertisement/notification/lower-third/styles.js +39 -24
  92. package/lib/ui/advertisement/notification/styles.d.ts +18 -1
  93. package/lib/ui/advertisement/notification/styles.js +48 -33
  94. package/lib/ui/advertisement/overlay/externalAd/vast-player/useGAMPlayer.d.ts +2 -2
  95. package/lib/ui/advertisement/overlay/externalAd/vast-player/useGAMPlayer.js +1 -1
  96. package/lib/ui/advertisement/overlay/index.d.ts +4 -1
  97. package/lib/ui/advertisement/overlay/index.js +135 -77
  98. package/lib/ui/gamification/detail/header/index.d.ts +2 -0
  99. package/lib/ui/gamification/detail/header/index.js +19 -16
  100. package/lib/ui/gamification/detail/header/styles.d.ts +15 -3
  101. package/lib/ui/gamification/detail/header/styles.js +1 -1
  102. package/lib/ui/gamification/detail/sponsor/index.d.ts +1 -0
  103. package/lib/ui/gamification/detail/sponsor/index.js +25 -13
  104. package/lib/ui/gamification/invite-link/styles.d.ts +14 -2
  105. package/lib/ui/gamification/leaderboard/list-item/styles.d.ts +7 -1
  106. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/styles.d.ts +14 -2
  107. package/lib/ui/gamification/onboarding/styles.d.ts +10 -2
  108. package/lib/ui/gamification/points/styles.d.ts +7 -1
  109. package/lib/ui/gamification/question/inapp/notification/AdNotification/NotificationMedia/index.d.ts +48 -0
  110. package/lib/ui/gamification/question/inapp/notification/AdNotification/NotificationMedia/index.js +94 -0
  111. package/lib/ui/gamification/question/inapp/notification/AdNotification/index.d.ts +9 -0
  112. package/lib/ui/gamification/question/inapp/notification/AdNotification/index.js +99 -0
  113. package/lib/ui/gamification/question/inapp/notification/AdNotification/styles.d.ts +42 -0
  114. package/lib/ui/gamification/question/inapp/notification/AdNotification/styles.js +117 -0
  115. package/lib/ui/gamification/question/inapp/notification/NotificationMedia/index.js +9 -8
  116. package/lib/ui/gamification/question/inapp/notification/styles.d.ts +7 -1
  117. package/lib/ui/gamification/question/inapp/onboarding/index.js +12 -12
  118. package/lib/ui/gamification/question/inapp/onboarding/styles.d.ts +18 -2
  119. package/lib/ui/gamification/question/inapp/prediction-result/frames/content.js +9 -9
  120. package/lib/ui/gamification/question/inapp/prediction-result/frames/styles.d.ts +7 -1
  121. package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/content.d.ts +5 -0
  122. package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/content.js +49 -0
  123. package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/index.d.ts +12 -0
  124. package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/index.js +56 -0
  125. package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/lines.d.ts +1 -0
  126. package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/lines.js +34 -0
  127. package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/step1.d.ts +1 -0
  128. package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/step1.js +19 -0
  129. package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/step2.d.ts +4 -0
  130. package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/step2.js +34 -0
  131. package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/step3.d.ts +7 -0
  132. package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/step3.js +43 -0
  133. package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/styles.d.ts +9 -0
  134. package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/styles.js +20 -0
  135. package/lib/ui/gamification/question/inapp/prediction-result-ad/index.d.ts +10 -0
  136. package/lib/ui/gamification/question/inapp/prediction-result-ad/index.js +20 -0
  137. package/lib/ui/gamification/question/inapp/prediction-result-ad/styles.d.ts +11 -0
  138. package/lib/ui/gamification/question/inapp/prediction-result-ad/styles.js +34 -0
  139. package/lib/ui/gamification/question/notification/prediction-result/styles.d.ts +38 -5
  140. package/lib/ui/gamification/question/notification/styles.d.ts +14 -2
  141. package/lib/ui/gamification/question/styles.d.ts +26 -4
  142. package/lib/ui/gamification/vote/alert/styles.d.ts +7 -1
  143. package/lib/ui/gamification/vote/feedback/styles.d.ts +19 -2
  144. package/lib/ui/gamification/vote/feedbackAlert/index.d.ts +9 -0
  145. package/lib/ui/gamification/vote/feedbackAlert/index.js +11 -0
  146. package/lib/ui/gamification/vote/feedbackAlert/styles.d.ts +11 -0
  147. package/lib/ui/gamification/vote/feedbackAlert/styles.js +30 -0
  148. package/lib/ui/gamification/vote/index.d.ts +3 -1
  149. package/lib/ui/gamification/vote/index.js +160 -130
  150. package/lib/ui/gamification/vote/insight-details/index.js +8 -7
  151. package/lib/ui/gamification/vote/insight-details/styles.d.ts +7 -1
  152. package/lib/ui/gamification/vote/styles.d.ts +29 -4
  153. package/lib/ui/gamification/vote/vote-option/index.d.ts +3 -0
  154. package/lib/ui/gamification/vote/vote-option/index.js +72 -64
  155. package/lib/ui/gamification/vote/vote-option/styles.d.ts +7 -1
  156. package/lib/ui/gamification/vote/win-bar/styles.d.ts +19 -2
  157. package/lib/ui/icons/index.d.ts +1 -0
  158. package/lib/ui/icons/index.js +80 -79
  159. package/lib/ui/modal/index.js +12 -17
  160. package/lib/ui/questions/insight/index.d.ts +4 -1
  161. package/lib/ui/questions/insight/index.js +29 -26
  162. package/lib/ui/questions/twitter/account/styles.d.ts +7 -1
  163. package/lib/ui/questions/twitter/index.d.ts +1 -0
  164. package/lib/ui/questions/twitter/index.js +27 -19
  165. package/lib/ui/theme/constants.d.ts +2 -0
  166. package/lib/ui/theme/constants.js +2 -0
  167. package/lib/ui/theme/masters-theme.js +1 -0
  168. package/lib/ui/theme/utils.d.ts +10 -0
  169. package/lib/ui/theme/utils.js +77 -0
  170. package/lib/ui/video-player/index.d.ts +10 -2
  171. package/lib/ui/video-player/index.js +189 -110
  172. package/lib/ui/video-player/styles.d.ts +36 -0
  173. package/lib/ui/video-player/styles.js +59 -11
  174. package/lib/utils/common.d.ts +6 -0
  175. package/lib/utils/createDemo.d.ts +12 -0
  176. package/lib/utils/debug/components/bypassLogin.d.ts +6 -0
  177. package/lib/utils/debug/components/copyLogs.d.ts +1 -0
  178. package/lib/utils/debug/components/developer.d.ts +14 -0
  179. package/lib/utils/debug/components/envToggle.d.ts +6 -0
  180. package/lib/utils/debug/components/eventInput.d.ts +8 -0
  181. package/lib/utils/debug/components/sdkKey.d.ts +6 -0
  182. package/lib/utils/debug/components/styles.d.ts +1 -0
  183. package/lib/utils/debug/index.d.ts +36 -0
  184. package/lib/utils/debug/storage.d.ts +14 -0
  185. package/lib/utils/decorators/container.d.ts +6 -0
  186. package/lib/utils/decorators/container.js +5 -5
  187. package/lib/utils/decorators/masters.d.ts +2 -0
  188. package/lib/utils/decorators/styles.d.ts +2 -0
  189. package/lib/utils/login.d.ts +3 -0
  190. package/lib/utils/storage.d.ts +14 -0
  191. package/package.json +27 -20
  192. package/lib/app/tvos/Advertisement.js +0 -88
  193. package/lib/app/tvos/AdvertisementUI.js +0 -40
  194. package/lib/app/tvos/index.d.ts +0 -16
  195. package/lib/app/tvos/index.js +0 -23
  196. package/lib/app/tvos/story.d.ts +0 -6
  197. package/lib/app/tvos/story.js +0 -34
  198. package/lib/app/tvos/styles.js +0 -4
  199. package/lib/app/tvos/ui/Layout/index.js +0 -76
  200. package/lib/app/tvos/ui/Sidebar/PromoAction.d.ts +0 -2
  201. package/lib/app/tvos/ui/Sidebar/PromoAction.js +0 -62
  202. package/lib/app/tvos/ui/Sidebar/index.js +0 -114
  203. /package/lib/app/{tvos → webos}/styles.d.ts +0 -0
  204. /package/lib/app/{tvos → webos}/ui/Layout/index.d.ts +0 -0
  205. /package/lib/app/{tvos → webos}/ui/Layout/styles.d.ts +0 -0
@@ -1,64 +1,79 @@
1
1
  import { styled as s } from "@linaria/react";
2
- const e = /* @__PURE__ */ s("div")({
2
+ const i = /* @__PURE__ */ s("div")({
3
3
  name: "NotificationContent",
4
4
  class: "n18wsqoo",
5
5
  propsAsIs: !1
6
- }), n = /* @__PURE__ */ s("div")({
6
+ }), p = /* @__PURE__ */ s("div")({
7
7
  name: "Body",
8
8
  class: "b1ia90c2",
9
9
  propsAsIs: !1
10
- }), c = /* @__PURE__ */ s("div")({
10
+ }), l = /* @__PURE__ */ s("div")({
11
11
  name: "Title",
12
12
  class: "tg2z08v",
13
13
  propsAsIs: !1
14
- }), i = /* @__PURE__ */ s("div")({
14
+ }), m = /* @__PURE__ */ s("div")({
15
15
  name: "Text",
16
16
  class: "t59zdk1",
17
17
  propsAsIs: !1
18
- }), o = /* @__PURE__ */ s("div")({
18
+ }), t = /* @__PURE__ */ s("div")({
19
19
  name: "MediaImgBottom",
20
20
  class: "m1ab9fq",
21
21
  propsAsIs: !1
22
- }), t = () => o, l = /* @__PURE__ */ s(t())({
22
+ }), n = () => t, r = /* @__PURE__ */ s(n())({
23
23
  name: "MediaImgMiddle",
24
24
  class: "m9fsr0y",
25
25
  propsAsIs: !0
26
- }), p = /* @__PURE__ */ s("img")({
26
+ }), f = /* @__PURE__ */ s("img")({
27
27
  name: "CtaIcon",
28
28
  class: "cvi9y5q",
29
29
  propsAsIs: !1
30
- }), m = /* @__PURE__ */ s("button")({
30
+ }), d = /* @__PURE__ */ s("button")({
31
31
  name: "Button",
32
32
  class: "bgl6boa",
33
33
  propsAsIs: !1
34
- }), r = /* @__PURE__ */ s("div")({
34
+ }), I = /* @__PURE__ */ s("div")({
35
35
  name: "Logo",
36
36
  class: "l5mq0z",
37
37
  propsAsIs: !1
38
- }), d = /* @__PURE__ */ s("div")({
38
+ }), A = /* @__PURE__ */ s("div")({
39
39
  name: "Footer",
40
40
  class: "f1mse0ft",
41
41
  propsAsIs: !1
42
- }), f = /* @__PURE__ */ s("div")({
42
+ }), u = /* @__PURE__ */ s("div")({
43
43
  name: "Vector",
44
44
  class: "v1hcloah",
45
45
  propsAsIs: !1
46
- }), I = /* @__PURE__ */ s("div")({
46
+ }), v = /* @__PURE__ */ s("div")({
47
47
  name: "NotificationContainer",
48
48
  class: "n3n65jf",
49
49
  propsAsIs: !1
50
+ }), o = /* @__PURE__ */ s("button")({
51
+ name: "TVButton",
52
+ class: "tkkfuqy",
53
+ propsAsIs: !1
54
+ }), a = () => o, B = /* @__PURE__ */ s(a())({
55
+ name: "DismissButton",
56
+ class: "dh9vato",
57
+ propsAsIs: !0
58
+ }), e = () => o, g = /* @__PURE__ */ s(e())({
59
+ name: "OpenButton",
60
+ class: "oeah8gv",
61
+ propsAsIs: !0
50
62
  });
51
63
  export {
52
- n as Body,
53
- m as Button,
54
- p as CtaIcon,
55
- d as Footer,
56
- r as Logo,
57
- o as MediaImgBottom,
58
- l as MediaImgMiddle,
59
- I as NotificationContainer,
60
- e as NotificationContent,
61
- i as Text,
62
- c as Title,
63
- f as Vector
64
+ p as Body,
65
+ d as Button,
66
+ f as CtaIcon,
67
+ B as DismissButton,
68
+ A as Footer,
69
+ I as Logo,
70
+ t as MediaImgBottom,
71
+ r as MediaImgMiddle,
72
+ v as NotificationContainer,
73
+ i as NotificationContent,
74
+ g as OpenButton,
75
+ o as TVButton,
76
+ m as Text,
77
+ l as Title,
78
+ u as Vector
64
79
  };
@@ -32,5 +32,22 @@ export declare const MediaImgMiddle: {
32
32
  }>;
33
33
  export declare const CtaIcon: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
34
34
  export declare const Button: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
35
- export declare const StyledChevronRight: any;
35
+ export declare const StyledChevronRight: {
36
+ __wyw_meta: unknown;
37
+ } & import('react').FC<{
38
+ name: keyof typeof import('../../icons').icons;
39
+ style?: React.CSSProperties;
40
+ className?: string;
41
+ }>;
36
42
  export declare const Logo: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
43
+ export declare const TVButton: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
44
+ export declare const DismissButton: {
45
+ __wyw_meta: unknown;
46
+ } & import('react').FunctionComponent<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown> & {
47
+ as?: React.ElementType;
48
+ }>;
49
+ export declare const OpenButton: {
50
+ __wyw_meta: unknown;
51
+ } & import('react').FunctionComponent<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown> & {
52
+ as?: React.ElementType;
53
+ }>;
@@ -1,85 +1,100 @@
1
1
  import { styled as s } from "@linaria/react";
2
- import { SvgIcon as t } from "../../icons/index.js";
3
- const d = /* @__PURE__ */ s("div")({
2
+ import { SvgIcon as e } from "../../icons/index.js";
3
+ const f = /* @__PURE__ */ s("div")({
4
4
  name: "CardContainer",
5
5
  class: "cghcyv4",
6
6
  propsAsIs: !1
7
- }), I = /* @__PURE__ */ s("div")({
7
+ }), g = /* @__PURE__ */ s("div")({
8
8
  name: "NotificationContent",
9
9
  class: "n1ku6hz",
10
10
  propsAsIs: !1
11
- }), g = /* @__PURE__ */ s("div")({
11
+ }), A = /* @__PURE__ */ s("div")({
12
12
  name: "NotificationContainer",
13
13
  class: "nbxqmol",
14
14
  propsAsIs: !1
15
- }), f = /* @__PURE__ */ s("div")({
15
+ }), v = /* @__PURE__ */ s("div")({
16
16
  name: "Body",
17
17
  class: "b1gu3eml",
18
18
  propsAsIs: !1
19
- }), v = /* @__PURE__ */ s("div")({
19
+ }), C = /* @__PURE__ */ s("div")({
20
20
  name: "Title",
21
21
  class: "t1u17zva",
22
22
  propsAsIs: !1
23
- }), A = /* @__PURE__ */ s("div")({
23
+ }), M = /* @__PURE__ */ s("div")({
24
24
  name: "Text",
25
25
  class: "t10ko1g",
26
26
  propsAsIs: !1
27
- }), o = /* @__PURE__ */ s("div")({
27
+ }), t = /* @__PURE__ */ s("div")({
28
28
  name: "Media",
29
29
  class: "mntc42e",
30
30
  propsAsIs: !1
31
- }), e = () => o, C = /* @__PURE__ */ s(e())({
31
+ }), n = () => t, x = /* @__PURE__ */ s(n())({
32
32
  name: "MediaImgFit",
33
33
  class: "ml060eo",
34
34
  propsAsIs: !0
35
- }), a = () => o, n = /* @__PURE__ */ s(a())({
35
+ }), a = () => t, c = /* @__PURE__ */ s(a())({
36
36
  name: "MediaImgCentered",
37
37
  class: "m1vqlvig",
38
38
  propsAsIs: !0
39
- }), i = () => n, M = /* @__PURE__ */ s(i())({
39
+ }), i = () => c, B = /* @__PURE__ */ s(i())({
40
40
  name: "MediaImgBottom",
41
41
  class: "m1e7tvi5",
42
42
  propsAsIs: !0
43
- }), c = () => o, u = /* @__PURE__ */ s(c())({
43
+ }), p = () => t, _ = /* @__PURE__ */ s(p())({
44
44
  name: "MediaImgSolid",
45
45
  class: "mqvntt2",
46
46
  propsAsIs: !0
47
- }), m = () => o, x = /* @__PURE__ */ s(m())({
47
+ }), m = () => t, h = /* @__PURE__ */ s(m())({
48
48
  name: "MediaImgMiddle",
49
49
  class: "m12jtj3u",
50
50
  propsAsIs: !0
51
- }), h = /* @__PURE__ */ s("img")({
51
+ }), y = /* @__PURE__ */ s("img")({
52
52
  name: "CtaIcon",
53
53
  class: "ckq1frv",
54
54
  propsAsIs: !1
55
- }), y = /* @__PURE__ */ s("button")({
55
+ }), b = /* @__PURE__ */ s("button")({
56
56
  name: "Button",
57
57
  class: "bis90pl",
58
58
  propsAsIs: !1
59
- }), p = () => t, B = /* @__PURE__ */ s(p())({
59
+ }), l = () => e, T = /* @__PURE__ */ s(l())({
60
60
  name: "StyledChevronRight",
61
61
  class: "s9mjmz3",
62
62
  propsAsIs: !0
63
- }), _ = /* @__PURE__ */ s("div")({
63
+ }), k = /* @__PURE__ */ s("div")({
64
64
  name: "Logo",
65
65
  class: "l1cf50a7",
66
66
  propsAsIs: !1
67
+ }), o = /* @__PURE__ */ s("button")({
68
+ name: "TVButton",
69
+ class: "thdqfl0",
70
+ propsAsIs: !1
71
+ }), r = () => o, q = /* @__PURE__ */ s(r())({
72
+ name: "DismissButton",
73
+ class: "d11pe8bx",
74
+ propsAsIs: !0
75
+ }), d = () => o, S = /* @__PURE__ */ s(d())({
76
+ name: "OpenButton",
77
+ class: "oy9k0kp",
78
+ propsAsIs: !0
67
79
  });
68
80
  export {
69
- f as Body,
70
- y as Button,
71
- d as CardContainer,
72
- h as CtaIcon,
73
- _ as Logo,
74
- o as Media,
75
- M as MediaImgBottom,
76
- n as MediaImgCentered,
77
- C as MediaImgFit,
78
- x as MediaImgMiddle,
79
- u as MediaImgSolid,
80
- g as NotificationContainer,
81
- I as NotificationContent,
82
- B as StyledChevronRight,
83
- A as Text,
84
- v as Title
81
+ v as Body,
82
+ b as Button,
83
+ f as CardContainer,
84
+ y as CtaIcon,
85
+ q as DismissButton,
86
+ k as Logo,
87
+ t as Media,
88
+ B as MediaImgBottom,
89
+ c as MediaImgCentered,
90
+ x as MediaImgFit,
91
+ h as MediaImgMiddle,
92
+ _ as MediaImgSolid,
93
+ A as NotificationContainer,
94
+ g as NotificationContent,
95
+ S as OpenButton,
96
+ T as StyledChevronRight,
97
+ o as TVButton,
98
+ M as Text,
99
+ C as Title
85
100
  };
@@ -1,4 +1,4 @@
1
- import { VastIcon } from '@dailymotion/vast-client';
1
+ import { VastIcon, VASTTracker } from '@dailymotion/vast-client';
2
2
  import { RefObject } from 'react';
3
3
  type GAMPlayerCore = {
4
4
  time: number;
@@ -15,5 +15,5 @@ type GAMPlayerCore = {
15
15
  autoplay: boolean;
16
16
  adAction: (e: React.MouseEvent<HTMLElement>) => void;
17
17
  };
18
- export declare const useGAMPlayer: (container: RefObject<HTMLDivElement>, adUrl?: string) => readonly [import('nanostores').PreinitializedMapStore<GAMPlayerCore> & object, () => void, () => void, () => void];
18
+ export declare const useGAMPlayer: (container: RefObject<HTMLDivElement>, adUrl?: string) => readonly [import('nanostores').PreinitializedMapStore<GAMPlayerCore> & object, () => void, () => void, () => void, import('react').MutableRefObject<VASTTracker | undefined>];
19
19
  export {};
@@ -33192,7 +33192,7 @@ const fv = (s) => {
33192
33192
  }));
33193
33193
  }, [l, n, i]), $a(() => t.subscribe((f) => {
33194
33194
  f && (xe.setKey("adCount", f.ads.length), xe.setKey("adPosition", 0), n());
33195
- }), [t, i, n]), [xe, a, l, d];
33195
+ }), [t, i, n]), [xe, a, l, d, r];
33196
33196
  };
33197
33197
  export {
33198
33198
  bv as useGAMPlayer
@@ -13,6 +13,9 @@ export type OverlayProps = {
13
13
  externalAd?: Advertisement['externalAd'];
14
14
  controlVideo: ControlVideoCb;
15
15
  advertisementPaused: boolean;
16
- togglePause: (flag: boolean) => void;
16
+ muted?: boolean;
17
+ togglePause?: (flag: boolean) => void;
18
+ isEventFired: Advertisement['isEventFired'];
19
+ fireEvent: Advertisement['fireEvent'];
17
20
  };
18
21
  export declare const Overlay: React.FC<OverlayProps>;
@@ -1,118 +1,176 @@
1
- import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
- import { cx as K } from "@linaria/core";
3
- import { useEffect as u } from "react";
4
- import { eventBus as eo } from "@streamlayer/sdk-web-interfaces";
5
- import { PromotionType as f, PromotionLogoMode as s, AutoPlayVideo as ro, PromotionButtonType as to } from "@streamlayer/sdk-web-types";
6
- import { CloseButton as no } from "../../close-btn/index.js";
7
- import { VideoPlayer as ao } from "../../video-player/index.js";
8
- import { ExternalAdOverlay as lo } from "./externalAd/index.js";
9
- import { PromoOverlay as io, Header as so, HeaderContent as mo, headerContentShift as po, SponsorLogo as Q, Sponsor as co, SponsorName as yo, SponsorText as uo, ADLogo as fo, SponsoredText as ho, Media as bo, shiftMedia as Ao, Content as X, PromoImg as vo, Title as Po, hideOnMobile as Bo, Description as No, ActionBtnWrap as To, ActionButton as xo } from "./styles.js";
10
- import { OverlayContainer as Fo } from "./styles.js";
11
- const Ro = (h) => {
12
- var v, P, B, N, T, x, C, E, g, I, S, M, L, O, D, R, _, k, F, U, V, G, j, H, w, W, $, q, z, J;
1
+ import { jsx as a, jsxs as l } from "react/jsx-runtime";
2
+ import { cx as oo } from "@linaria/core";
3
+ import { useEffect as A } from "react";
4
+ import { eventBus as d } from "@streamlayer/sdk-web-interfaces";
5
+ import { PromotionType as P, PromotionLogoMode as y, AutoPlayVideo as po, PlayVideoMuted as mo, PromotionButtonType as so } from "@streamlayer/sdk-web-types";
6
+ import { CloseButton as yo } from "../../close-btn/index.js";
7
+ import { VideoPlayer as co } from "../../video-player/index.js";
8
+ import { ExternalAdOverlay as uo } from "./externalAd/index.js";
9
+ import { PromoOverlay as ho, Header as bo, HeaderContent as fo, headerContentShift as Ao, SponsorLogo as eo, Sponsor as Po, SponsorName as Mo, SponsorText as Bo, ADLogo as No, SponsoredText as Co, Media as To, shiftMedia as xo, Content as to, PromoImg as go, Title as Io, hideOnMobile as So, Description as Lo, ActionBtnWrap as Ro, ActionButton as Oo } from "./styles.js";
10
+ import { OverlayContainer as Qo } from "./styles.js";
11
+ const Ho = (M) => {
12
+ var C, T, x, g, I, S, L, R, O, D, V, _, U, k, v, G, $, j, H, q, w, Q, W, z, J, K, X, Y, Z, E;
13
13
  const {
14
14
  promotion: o,
15
- open: d,
16
- advertisementPaused: Y,
17
- togglePause: r,
18
- controlVideo: n,
19
- skipAutoClose: Z,
20
- promotionId: l,
21
- onClose: oo,
22
- markAsViewed: m,
23
- externalAd: b
24
- } = h, p = o.type === f.INGAME_IAB11_LBAR || o.type === f.INGAME_IAB11 || o.type === f.INGAME_IAB11_SIDEBAR, c = ((v = o.sponsor) == null ? void 0 : v.logo) && o.logoMode === s.CENTER, A = !!((B = (P = o.banner) == null ? void 0 : P.video) != null && B.url), i = o.autoPlayVideo === ro.ENABLED;
25
- if (u(() => {
26
- r == null || r(A || i), d == null || d();
27
- }, []), u(() => {
28
- l && o.type && m && m();
29
- }, [l, o.type, m]), u(() => () => {
30
- n == null || n({ muted: !1 });
31
- }, [n]), b)
32
- return /* @__PURE__ */ e(lo, { ...h, externalAd: b });
33
- let a = (N = o.banner) == null ? void 0 : N.url;
34
- a && a.indexOf("http") !== 0 && (a = `https://${a}`);
35
- let y = !0;
36
- return A && (!Y || !i ? y = !0 : y = !1), /* @__PURE__ */ t(io, { className: "PromoOverlay", children: [
37
- /* @__PURE__ */ t("div", { children: [
38
- /* @__PURE__ */ t(so, { children: [
39
- /* @__PURE__ */ t(mo, { className: K(!c && po), children: [
40
- ((T = o.sponsor) == null ? void 0 : T.logo) && o.logoMode === s.LEFT && /* @__PURE__ */ e(Q, { className: "PromoSponsorLogo", src: (x = o.sponsor) == null ? void 0 : x.logo, alt: "promo" }),
41
- /* @__PURE__ */ t(
42
- co,
15
+ open: c,
16
+ advertisementPaused: ao,
17
+ togglePause: n,
18
+ controlVideo: p,
19
+ skipAutoClose: ro,
20
+ promotionId: r,
21
+ onClose: no,
22
+ markAsViewed: u,
23
+ externalAd: B,
24
+ isEventFired: e,
25
+ fireEvent: t,
26
+ muted: lo
27
+ } = M, h = o.type === P.INGAME_IAB11_LBAR || o.type === P.INGAME_IAB11 || o.type === P.INGAME_IAB11_SIDEBAR, b = ((C = o.sponsor) == null ? void 0 : C.logo) && o.logoMode === y.CENTER, N = !!((x = (T = o.banner) == null ? void 0 : T.video) != null && x.url), s = o.autoPlayVideo === po.ENABLED, io = o.playVideoMuted === mo.ENABLED;
28
+ if (A(() => {
29
+ n == null || n(N || s), c == null || c();
30
+ }, []), A(() => {
31
+ r && o.type && u && u();
32
+ }, [r, o.type, u]), A(() => () => {
33
+ p == null || p({ muted: !1 });
34
+ }, [p]), B)
35
+ return /* @__PURE__ */ a(uo, { ...M, externalAd: B });
36
+ let m = (g = o.banner) == null ? void 0 : g.url;
37
+ m && m.indexOf("http") !== 0 && (m = `https://${m}`);
38
+ let f = !0;
39
+ return N && (!ao || !s ? f = !0 : f = !1), /* @__PURE__ */ l(ho, { className: "PromoOverlay", children: [
40
+ /* @__PURE__ */ l("div", { children: [
41
+ /* @__PURE__ */ l(bo, { children: [
42
+ /* @__PURE__ */ l(fo, { className: oo(!b && Ao), children: [
43
+ ((I = o.sponsor) == null ? void 0 : I.logo) && o.logoMode === y.LEFT && /* @__PURE__ */ a(eo, { className: "PromoSponsorLogo", src: (S = o.sponsor) == null ? void 0 : S.logo, alt: "promo" }),
44
+ /* @__PURE__ */ l(
45
+ Po,
43
46
  {
44
47
  style: {
45
- paddingLeft: (C = o.sponsor) != null && C.logo && o.logoMode === s.LEFT ? "0px" : "8px"
48
+ paddingLeft: (L = o.sponsor) != null && L.logo && o.logoMode === y.LEFT ? "0px" : "8px"
46
49
  },
47
50
  children: [
48
- ((E = o.sponsor) == null ? void 0 : E.logo) && o.logoMode === s.LEFT && /* @__PURE__ */ e(yo, { children: (g = o.sponsor) == null ? void 0 : g.name }),
49
- /* @__PURE__ */ t(uo, { className: "SponsorText", children: [
50
- /* @__PURE__ */ e(fo, { children: "AD" }),
51
- /* @__PURE__ */ e(ho, { children: "SPONSORED" })
51
+ ((R = o.sponsor) == null ? void 0 : R.logo) && o.logoMode === y.LEFT && /* @__PURE__ */ a(Mo, { children: (O = o.sponsor) == null ? void 0 : O.name }),
52
+ /* @__PURE__ */ l(Bo, { className: "SponsorText", children: [
53
+ /* @__PURE__ */ a(No, { children: "AD" }),
54
+ /* @__PURE__ */ a(Co, { children: "SPONSORED" })
52
55
  ] })
53
56
  ]
54
57
  }
55
58
  )
56
59
  ] }),
57
- /* @__PURE__ */ e(
58
- no,
60
+ /* @__PURE__ */ a(
61
+ yo,
59
62
  {
60
63
  className: "ClosePromoIcon",
61
- close: oo,
62
- autoClose: (I = o.closeTimer) == null ? void 0 : I.auto,
63
- duration: Z ? 0 : (S = o.closeTimer) == null ? void 0 : S.seconds,
64
- isPlaying: y
64
+ close: no,
65
+ autoClose: (D = o.closeTimer) == null ? void 0 : D.auto,
66
+ duration: ro ? 0 : (V = o.closeTimer) == null ? void 0 : V.seconds,
67
+ isPlaying: f
65
68
  }
66
69
  )
67
70
  ] }),
68
- /* @__PURE__ */ t(bo, { children: [
69
- c && /* @__PURE__ */ e(Q, { className: Ao, src: (M = o.sponsor) == null ? void 0 : M.logo, alt: "promo" }),
70
- /* @__PURE__ */ e(X, { children: (O = (L = o.banner) == null ? void 0 : L.video) != null && O.url ? /* @__PURE__ */ e(
71
- ao,
71
+ /* @__PURE__ */ l(To, { children: [
72
+ b && /* @__PURE__ */ a(eo, { className: xo, src: (_ = o.sponsor) == null ? void 0 : _.logo, alt: "promo" }),
73
+ /* @__PURE__ */ a(to, { children: (k = (U = o.banner) == null ? void 0 : U.video) != null && k.url ? /* @__PURE__ */ a(
74
+ co,
72
75
  {
73
- source: (R = (D = o.banner) == null ? void 0 : D.video) == null ? void 0 : R.url,
74
- poster: (k = (_ = o.banner) == null ? void 0 : _.video) == null ? void 0 : k.thumbnailUrl,
75
- aspectRatio: p ? "1/1" : "2/1",
76
+ source: (G = (v = o.banner) == null ? void 0 : v.video) == null ? void 0 : G.url,
77
+ poster: (j = ($ = o.banner) == null ? void 0 : $.video) == null ? void 0 : j.thumbnailUrl,
78
+ aspectRatio: h ? "1/1" : "2/1",
79
+ onRender: () => {
80
+ e != null && e("video-rendered") || (d.emit("advertisement", {
81
+ action: "videoRendered",
82
+ payload: {
83
+ id: r,
84
+ type: o.type
85
+ }
86
+ }), t == null || t("video-rendered"));
87
+ },
88
+ onQuartile: (i) => {
89
+ e != null && e(`video-quartile-${i}`) || (d.emit("advertisement", {
90
+ action: "quartileCompleted",
91
+ payload: {
92
+ id: r,
93
+ type: o.type,
94
+ quartile: i
95
+ }
96
+ }), t == null || t(`video-quartile-${i}`));
97
+ },
98
+ onMute: (i) => {
99
+ const F = i ? "muted" : "unmuted";
100
+ e != null && e(F) || (d.emit("advertisement", {
101
+ action: i ? "videoMuted" : "videoUnmuted",
102
+ payload: {
103
+ id: r,
104
+ type: o.type
105
+ }
106
+ }), t == null || t(F));
107
+ },
76
108
  onPause: () => {
77
- i && (r == null || r(!0));
109
+ s && (n == null || n(!0));
110
+ },
111
+ onReplay: () => {
112
+ e != null && e("replayed") || (d.emit("advertisement", {
113
+ action: "videoReplayed",
114
+ payload: {
115
+ id: r,
116
+ type: o.type
117
+ }
118
+ }), t == null || t("replayed"));
78
119
  },
79
120
  onPlay: () => {
80
- eo.emit("advertisement", {
121
+ e != null && e("played") || (d.emit("advertisement", {
81
122
  action: "videoPlay",
82
123
  payload: {
83
- id: l,
124
+ id: r,
125
+ type: o.type
126
+ }
127
+ }), t == null || t("played")), n == null || n(!1), e != null && e("played") && (e != null && e("ended")) && !(e != null && e("replayed")) && (d.emit("advertisement", {
128
+ action: "videoReplayed",
129
+ payload: {
130
+ id: r,
131
+ type: o.type
132
+ }
133
+ }), t == null || t("replayed"));
134
+ },
135
+ onEnd: () => {
136
+ e != null && e("ended") || (d.emit("advertisement", {
137
+ action: "videoEnd",
138
+ payload: {
139
+ id: r,
84
140
  type: o.type
85
141
  }
86
- }), r == null || r(!1);
142
+ }), t == null || t("ended"));
87
143
  },
88
- controlVideo: n,
89
- autoPlay: i
144
+ controlVideo: p,
145
+ autoPlay: s,
146
+ playMuted: io,
147
+ muted: lo
90
148
  }
91
- ) : (F = o.banner) != null && F.imageUrl ? /* @__PURE__ */ e(vo, { style: p ? { aspectRatio: "1/1" } : {}, src: (U = o.banner) == null ? void 0 : U.imageUrl, alt: "promo" }) : null }),
92
- !p && /* @__PURE__ */ t(X, { children: [
93
- ((V = o.banner) == null ? void 0 : V.title) && /* @__PURE__ */ e(Po, { className: K("AdvTitle", c && Bo), children: (G = o.banner) == null ? void 0 : G.title }),
94
- ((j = o.banner) == null ? void 0 : j.body) && /* @__PURE__ */ e(No, { className: "AdvDescription", children: (H = o.banner) == null ? void 0 : H.body })
149
+ ) : (H = o.banner) != null && H.imageUrl ? /* @__PURE__ */ a(go, { style: h ? { aspectRatio: "1/1" } : {}, src: (q = o.banner) == null ? void 0 : q.imageUrl, alt: "promo" }) : null }),
150
+ !h && /* @__PURE__ */ l(to, { children: [
151
+ ((w = o.banner) == null ? void 0 : w.title) && /* @__PURE__ */ a(Io, { className: oo("AdvTitle", b && So), children: (Q = o.banner) == null ? void 0 : Q.title }),
152
+ ((W = o.banner) == null ? void 0 : W.body) && /* @__PURE__ */ a(Lo, { className: "AdvDescription", children: (z = o.banner) == null ? void 0 : z.body })
95
153
  ] })
96
154
  ] })
97
155
  ] }),
98
- o.buttonType === to.BASIC && /* @__PURE__ */ e(To, { children: /* @__PURE__ */ e(
99
- xo,
156
+ o.buttonType === so.BASIC && /* @__PURE__ */ a(Ro, { children: /* @__PURE__ */ a(
157
+ Oo,
100
158
  {
101
- href: a,
159
+ href: m,
102
160
  style: {
103
- backgroundColor: ((W = (w = o.banner) == null ? void 0 : w.ctaButton) == null ? void 0 : W.color) || "#009dc4",
104
- color: ((q = ($ = o.banner) == null ? void 0 : $.ctaButton) == null ? void 0 : q.textColor) || "#fff"
161
+ backgroundColor: ((K = (J = o.banner) == null ? void 0 : J.ctaButton) == null ? void 0 : K.color) || "#009dc4",
162
+ color: ((Y = (X = o.banner) == null ? void 0 : X.ctaButton) == null ? void 0 : Y.textColor) || "#fff"
105
163
  },
106
164
  "data-a": "button",
107
- "data-promo-id": l,
165
+ "data-promo-id": r,
108
166
  "data-promo-type": o.type,
109
167
  target: "_blank",
110
- children: (J = (z = o.banner) == null ? void 0 : z.ctaButton) == null ? void 0 : J.label
168
+ children: (E = (Z = o.banner) == null ? void 0 : Z.ctaButton) == null ? void 0 : E.label
111
169
  }
112
170
  ) })
113
171
  ] });
114
172
  };
115
173
  export {
116
- Ro as Overlay,
117
- Fo as OverlayContainer
174
+ Ho as Overlay,
175
+ Qo as OverlayContainer
118
176
  };
@@ -4,6 +4,8 @@ interface VoteHeaderProps {
4
4
  close: () => void;
5
5
  label?: string;
6
6
  closeTimer?: CloseTimer;
7
+ mastersApp?: boolean;
8
+ webos?: boolean;
7
9
  }
8
10
  export declare const VoteHeader: React.FC<VoteHeaderProps>;
9
11
  export {};
@@ -1,25 +1,28 @@
1
- import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
- import { QuestionType as e } from "@streamlayer/sdk-web-types";
3
- import { CloseButton as c } from "../../../close-btn/index.js";
4
- import { QuestionTypeData as p } from "../../constants.js";
5
- import { Container as s, QuestionTypeWrap as l, QuestionTypeIcon as m, QuestionTypeTitle as u, CloseIconWrap as C, CloseIcon as f } from "./styles.js";
6
- const b = ({ type: a, closeTimer: n, close: r, label: d }) => {
7
- const o = a ? p[a] : { label: d, iconName: void 0 };
8
- return /* @__PURE__ */ i(s, { children: [
9
- /* @__PURE__ */ i(l, { children: [
10
- (o == null ? void 0 : o.iconName) && /* @__PURE__ */ t(
11
- m,
1
+ import { jsxs as i, jsx as a } from "react/jsx-runtime";
2
+ import { withFocusable as c } from "../../../../app/webos/useTvButton.js";
3
+ import { QuestionType as r } from "@streamlayer/sdk-web-types";
4
+ import { CloseButton as l } from "../../../close-btn/index.js";
5
+ import { QuestionTypeData as m } from "../../constants.js";
6
+ import { Container as u, QuestionTypeWrap as C, QuestionTypeIcon as I, QuestionTypeTitle as b, CloseIcon as f, CloseIconWrap as h } from "./styles.js";
7
+ const Q = c(h, {}), y = ({ webos: d, type: t, closeTimer: n, close: e, label: s, mastersApp: p }) => {
8
+ const o = t ? m[t] : { label: s, iconName: void 0 };
9
+ return /* @__PURE__ */ i(u, { children: [
10
+ /* @__PURE__ */ i(C, { children: [
11
+ (o == null ? void 0 : o.iconName) && /* @__PURE__ */ a(
12
+ I,
12
13
  {
13
- "data-type-trivia": a === e.TRIVIA,
14
- "data-type-poll": a === e.POLL,
14
+ "data-type-trivia": t === r.TRIVIA,
15
+ "data-type-poll": t === r.POLL,
16
+ "data-type-prediction": t === r.PREDICTION,
17
+ "data-masters-app": !!p,
15
18
  name: o.iconName
16
19
  }
17
20
  ),
18
- (o == null ? void 0 : o.label) && /* @__PURE__ */ t(u, { children: o.label })
21
+ (o == null ? void 0 : o.label) && /* @__PURE__ */ a(b, { children: o.label })
19
22
  ] }),
20
- n != null && n.seconds ? /* @__PURE__ */ t(c, { close: r, autoClose: n.auto, duration: n.seconds }) : /* @__PURE__ */ t(C, { "data-a": "intr", onClick: r, children: /* @__PURE__ */ t(f, { "data-a": "intr", name: "icon-cross" }) })
23
+ n != null && n.seconds ? /* @__PURE__ */ a(l, { close: e, autoClose: n.auto, duration: n.seconds }) : /* @__PURE__ */ a(Q, { webos: d, "data-a": "intr", onClick: e, type: "button", "data-close-btn": "true", children: /* @__PURE__ */ a(f, { "data-a": "intr", name: "icon-cross" }) })
21
24
  ] });
22
25
  };
23
26
  export {
24
- b as VoteHeader
27
+ y as VoteHeader
25
28
  };
@@ -1,6 +1,18 @@
1
1
  export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
2
2
  export declare const QuestionTypeWrap: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
- export declare const QuestionTypeIcon: any;
3
+ export declare const QuestionTypeIcon: {
4
+ __wyw_meta: unknown;
5
+ } & import('react').FC<{
6
+ name: keyof typeof import('../../../icons').icons;
7
+ style?: React.CSSProperties;
8
+ className?: string;
9
+ }>;
4
10
  export declare const QuestionTypeTitle: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLSpanElement> & import('react').HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
5
- export declare const CloseIconWrap: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
- export declare const CloseIcon: any;
11
+ export declare const CloseIconWrap: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
12
+ export declare const CloseIcon: {
13
+ __wyw_meta: unknown;
14
+ } & import('react').FC<{
15
+ name: keyof typeof import('../../../icons').icons;
16
+ style?: React.CSSProperties;
17
+ className?: string;
18
+ }>;