@streamlayer/react-ui 1.0.0 → 1.2.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 (284) hide show
  1. package/lib/app/app/Advertisement/index.d.ts +10 -0
  2. package/lib/app/app/Advertisement/index.js +89 -0
  3. package/lib/{ui/app/masters → app/app}/Features/FeatureProvider.d.ts +2 -2
  4. package/lib/{ui/app → app}/app/Features/FeatureProvider.js +8 -8
  5. package/lib/{ui/app → app}/app/Features/Gamification/Friends.d.ts +0 -1
  6. package/lib/{ui/app → app}/app/Features/Gamification/Friends.js +2 -2
  7. package/lib/{ui/app → app}/app/Features/Gamification/Leaderboard.d.ts +3 -3
  8. package/lib/{ui/app → app}/app/Features/Gamification/Leaderboard.js +16 -16
  9. package/lib/{ui/app/masters → app/app}/Features/Gamification/Question.d.ts +1 -1
  10. package/lib/app/app/Features/Gamification/Question.js +69 -0
  11. package/lib/{ui/app → app}/app/Features/Gamification/QuestionsList.d.ts +2 -2
  12. package/lib/{ui/app → app}/app/Features/Gamification/QuestionsList.js +1 -1
  13. package/lib/{ui/app/masters → app/app}/Features/Gamification/Tabs.d.ts +3 -3
  14. package/lib/{ui/app → app}/app/Features/Gamification/Tabs.js +12 -12
  15. package/lib/{ui/app → app}/app/Features/Gamification/UserSummary.d.ts +2 -2
  16. package/lib/{ui/app/masters → app/app}/Features/Gamification/UserSummary.js +1 -1
  17. package/lib/{ui/app → app}/app/Features/Gamification/gamification-feature.d.ts +1 -0
  18. package/lib/{ui/app → app}/app/Features/Gamification/index.d.ts +3 -3
  19. package/lib/{ui/app/masters → app/app}/Features/Gamification/index.js +29 -29
  20. package/lib/{ui/app/masters → app/app}/Features/index.d.ts +4 -4
  21. package/lib/app/app/Navigation/index.d.ts +6 -0
  22. package/lib/app/app/Navigation/index.js +64 -0
  23. package/lib/{ui/app → app}/app/Notifications/Onboarding/Notification/index.d.ts +2 -2
  24. package/lib/app/app/Notifications/Onboarding/Notification/styles.d.ts +9 -0
  25. package/lib/app/app/Notifications/Onboarding/Notification/styles.js +50 -0
  26. package/lib/{ui/app/masters → app/app}/Notifications/Onboarding/index.d.ts +4 -4
  27. package/lib/app/app/Notifications/Onboarding/index.js +168 -0
  28. package/lib/{ui/app → app}/app/Notifications/index.d.ts +3 -3
  29. package/lib/{ui/app → app}/app/Notifications/index.js +27 -27
  30. package/lib/app/app/Notifications/styles.d.ts +9 -0
  31. package/lib/app/app/Notifications/styles.js +31 -0
  32. package/lib/{ui/app/app/Navigation → app/app/Points}/index.d.ts +2 -2
  33. package/lib/{ui/app → app}/app/Points/index.js +1 -1
  34. package/lib/{ui/app → app}/app/index.d.ts +2 -2
  35. package/lib/{ui/app → app}/app/index.js +32 -32
  36. package/lib/app/app/story/content.d.ts +4 -0
  37. package/lib/app/app/story/content.js +30 -0
  38. package/lib/app/app/story/index.d.ts +10 -0
  39. package/lib/app/app/story/index.js +113 -0
  40. package/lib/app/app/story/login.d.ts +1 -0
  41. package/lib/app/app/story/login.js +34 -0
  42. package/lib/app/app/story/styles.d.ts +9 -0
  43. package/lib/app/app/story/styles.js +49 -0
  44. package/lib/app/app/story/useResponsive.d.ts +1 -0
  45. package/lib/app/app/story/useResponsive.js +15 -0
  46. package/lib/app/app/story/video.d.ts +10 -0
  47. package/lib/app/app/story/video.js +67 -0
  48. package/lib/{ui/app → app}/app/useApp.d.ts +2 -1
  49. package/lib/{ui/app → app}/app/useApp.js +20 -17
  50. package/lib/app/app/useAppContext.d.ts +8 -0
  51. package/lib/{ui/app → app}/index.d.ts +0 -1
  52. package/lib/app/login/demo.d.ts +5 -0
  53. package/lib/{ui → app}/login/index.d.ts +0 -1
  54. package/lib/{ui → app}/login/index.js +1 -1
  55. package/lib/app/login/styles.d.ts +7 -0
  56. package/lib/app/login/styles.js +39 -0
  57. package/lib/{ui/app/app → app/masters}/Features/FeatureProvider.d.ts +2 -2
  58. package/lib/{ui/app → app}/masters/Features/FeatureProvider.js +8 -8
  59. package/lib/{ui/app → app}/masters/Features/Gamification/Friends.d.ts +0 -1
  60. package/lib/app/masters/Features/Gamification/Friends.js +19 -0
  61. package/lib/{ui/app → app}/masters/Features/Gamification/Leaderboard.d.ts +3 -3
  62. package/lib/{ui/app → app}/masters/Features/Gamification/Leaderboard.js +10 -10
  63. package/lib/{ui/app/app → app/masters}/Features/Gamification/Question.d.ts +1 -1
  64. package/lib/{ui/app → app}/masters/Features/Gamification/Question.js +11 -11
  65. package/lib/{ui/app → app}/masters/Features/Gamification/QuestionsList.d.ts +2 -2
  66. package/lib/{ui/app → app}/masters/Features/Gamification/QuestionsList.js +1 -1
  67. package/lib/{ui/app/app → app/masters}/Features/Gamification/Tabs.d.ts +3 -3
  68. package/lib/{ui/app → app}/masters/Features/Gamification/Tabs.js +12 -12
  69. package/lib/{ui/app → app}/masters/Features/Gamification/UserSummary.d.ts +2 -2
  70. package/lib/{ui/app/app → app/masters}/Features/Gamification/UserSummary.js +1 -1
  71. package/lib/{ui/app → app}/masters/Features/Gamification/gamification-feature.d.ts +1 -0
  72. package/lib/{ui/app → app}/masters/Features/Gamification/index.d.ts +3 -3
  73. package/lib/app/masters/Features/Gamification/index.js +88 -0
  74. package/lib/{ui/app/app → app/masters}/Features/index.d.ts +4 -4
  75. package/lib/{ui/app → app}/masters/Navigation/MastersNavigation/index.d.ts +5 -5
  76. package/lib/{ui/app → app}/masters/Navigation/MastersNavigation/index.js +5 -5
  77. package/lib/{ui/app → app}/masters/Notifications/Onboarding/Notification/index.d.ts +2 -2
  78. package/lib/app/masters/Notifications/Onboarding/Notification/styles.d.ts +9 -0
  79. package/lib/{ui/app/app → app/masters}/Notifications/Onboarding/Notification/styles.js +16 -16
  80. package/lib/{ui/app/app → app/masters}/Notifications/Onboarding/index.d.ts +4 -4
  81. package/lib/{mastersLogoSolid-B4Dz-vm1.js → app/masters/Notifications/Onboarding/index.js} +166 -2
  82. package/lib/{ui/app → app}/masters/Notifications/index.d.ts +3 -3
  83. package/lib/{ui/app → app}/masters/Notifications/index.js +48 -47
  84. package/lib/app/masters/Notifications/styles.d.ts +9 -0
  85. package/lib/{ui/app/app → app/masters}/Notifications/styles.js +10 -10
  86. package/lib/app/masters/Points/index.d.ts +5 -0
  87. package/lib/{ui/app → app}/masters/Points/index.js +1 -1
  88. package/lib/{ui/app → app}/masters/masters.d.ts +3 -3
  89. package/lib/{ui/app → app}/masters/masters.js +20 -20
  90. package/lib/{ui/app → app}/masters/useMastersApp.d.ts +2 -1
  91. package/lib/app/masters/useMastersApp.js +71 -0
  92. package/lib/app/masters/useMastersContext.d.ts +8 -0
  93. package/lib/app/styles.d.ts +20 -0
  94. package/lib/{ui/app → app}/styles.js +13 -13
  95. package/lib/{ui/app → app}/useClipboardCopy.d.ts +3 -3
  96. package/lib/{ui/app → app}/useClipboardCopy.js +2 -2
  97. package/lib/{ui/app → app}/useSdkFeature.d.ts +2 -1
  98. package/lib/{ui/app → app}/useSdkResponsive.d.ts +3 -1
  99. package/lib/{ui/app → app}/useSdkResponsive.js +2 -2
  100. package/lib/{ui/app → app}/useSdkScroll.d.ts +3 -2
  101. package/lib/{ui/app → app}/useSdkScroll.js +2 -2
  102. package/lib/assets/style.css +1 -1
  103. package/lib/hooks/showIn.js +1 -1
  104. package/lib/{index-Bicco-Aq.js → index-B1QdimmR.js} +7737 -8219
  105. package/lib/index.d.ts +1 -1
  106. package/lib/index.js +1 -1
  107. package/lib/ui/advertisement/banner/index.d.ts +8 -0
  108. package/lib/ui/advertisement/banner/index.js +32 -0
  109. package/lib/ui/advertisement/index.d.ts +10 -0
  110. package/lib/ui/advertisement/index.js +19 -0
  111. package/lib/ui/advertisement/mock.d.ts +4 -0
  112. package/lib/ui/advertisement/mock.js +67 -0
  113. package/lib/ui/advertisement/overlay/index.d.ts +7 -0
  114. package/lib/ui/advertisement/overlay/index.js +74 -0
  115. package/lib/ui/advertisement/overlay/styles.d.ts +18 -0
  116. package/lib/ui/advertisement/overlay/styles.js +95 -0
  117. package/lib/ui/advertisement/sidebar/index.d.ts +7 -0
  118. package/lib/ui/advertisement/sidebar/index.js +25 -0
  119. package/lib/ui/animated-counter/index.d.ts +1 -1
  120. package/lib/ui/button/index.d.ts +0 -1
  121. package/lib/ui/button/styles.d.ts +2 -3
  122. package/lib/ui/gamification/constants.d.ts +1 -0
  123. package/lib/ui/gamification/copyNotification/index.d.ts +0 -1
  124. package/lib/ui/gamification/copyNotification/styles.d.ts +3 -4
  125. package/lib/ui/gamification/detail/header/index.d.ts +1 -1
  126. package/lib/ui/gamification/detail/header/styles.d.ts +4 -5
  127. package/lib/ui/gamification/detail/sponsor/index.d.ts +1 -1
  128. package/lib/ui/gamification/detail/sponsor/index.js +13 -7
  129. package/lib/ui/gamification/insight/index.d.ts +1 -1
  130. package/lib/ui/gamification/insight/styles.d.ts +8 -9
  131. package/lib/ui/gamification/insight-list/index.d.ts +1 -1
  132. package/lib/ui/gamification/insight-list/styles.d.ts +2 -3
  133. package/lib/ui/gamification/invite-link/index.d.ts +0 -1
  134. package/lib/ui/gamification/invite-link/index.js +13 -13
  135. package/lib/ui/gamification/invite-link/styles.d.ts +5 -6
  136. package/lib/ui/gamification/invite-link/styles.js +11 -11
  137. package/lib/ui/gamification/leaderboard/index.d.ts +1 -1
  138. package/lib/ui/gamification/leaderboard/list-item/index.d.ts +2 -2
  139. package/lib/ui/gamification/leaderboard/list-item/styles.d.ts +7 -8
  140. package/lib/ui/gamification/leaderboard/static.d.ts +3 -3
  141. package/lib/ui/gamification/leaderboard/styles.d.ts +1 -2
  142. package/lib/ui/gamification/leaderboard/styles.js +1 -1
  143. package/lib/ui/gamification/onboarding/index.d.ts +3 -3
  144. package/lib/ui/gamification/onboarding/invitingUser/index.d.ts +0 -1
  145. package/lib/ui/gamification/onboarding/invitingUser/styles.d.ts +5 -6
  146. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/index.d.ts +1 -0
  147. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/styles.d.ts +10 -11
  148. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.d.ts +1 -1
  149. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.js +6 -6
  150. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/styles.d.ts +9 -10
  151. package/lib/ui/gamification/onboarding/slides/onboarding-rules/index.d.ts +1 -1
  152. package/lib/ui/gamification/onboarding/slides/onboarding-rules/styles.d.ts +8 -9
  153. package/lib/ui/gamification/onboarding/slides/onboarding-terms/index.d.ts +0 -1
  154. package/lib/ui/gamification/onboarding/slides/onboarding-terms/styles.d.ts +4 -5
  155. package/lib/ui/gamification/onboarding/styles.d.ts +5 -6
  156. package/lib/ui/gamification/points/index.d.ts +0 -1
  157. package/lib/ui/gamification/points/styles.d.ts +5 -6
  158. package/lib/ui/gamification/question/index.d.ts +2 -2
  159. package/lib/ui/gamification/question/index.js +27 -26
  160. package/lib/ui/gamification/question/insight/index.d.ts +1 -1
  161. package/lib/ui/gamification/question/insight/styles.d.ts +2 -3
  162. package/lib/ui/gamification/question/list/index.d.ts +2 -2
  163. package/lib/ui/gamification/question/list/styles.d.ts +1 -2
  164. package/lib/ui/gamification/question/notification/index.d.ts +2 -2
  165. package/lib/ui/gamification/question/notification/insight/index.d.ts +2 -2
  166. package/lib/ui/gamification/question/notification/insight/styles.d.ts +7 -8
  167. package/lib/ui/gamification/question/notification/pill/index.d.ts +0 -1
  168. package/lib/ui/gamification/question/notification/pill/styles.d.ts +3 -4
  169. package/lib/ui/gamification/question/notification/prediction-result/animation-lines/index.d.ts +0 -1
  170. package/lib/ui/gamification/question/notification/prediction-result/animation-lines/styles.d.ts +58 -31
  171. package/lib/ui/gamification/question/notification/prediction-result/index.d.ts +3 -2
  172. package/lib/ui/gamification/question/notification/prediction-result/index.js +55 -54
  173. package/lib/ui/gamification/question/notification/prediction-result/styles.d.ts +11 -10
  174. package/lib/ui/gamification/question/notification/styles.d.ts +6 -7
  175. package/lib/ui/gamification/question/notification/tweet/index.d.ts +3 -3
  176. package/lib/ui/gamification/question/notification/tweet/styles.d.ts +4 -5
  177. package/lib/ui/gamification/question/styles.d.ts +14 -14
  178. package/lib/ui/gamification/question/styles.js +48 -43
  179. package/lib/ui/gamification/question/twitter/index.d.ts +2 -2
  180. package/lib/ui/gamification/question/twitter/styles.d.ts +3 -4
  181. package/lib/ui/gamification/tabs/index.d.ts +0 -1
  182. package/lib/ui/gamification/tabs/styles.d.ts +4 -5
  183. package/lib/ui/gamification/user-statistics/components/rank/index.d.ts +0 -1
  184. package/lib/ui/gamification/user-statistics/components/rank/styles.d.ts +3 -4
  185. package/lib/ui/gamification/user-statistics/components/statistic/index.d.ts +0 -1
  186. package/lib/ui/gamification/user-statistics/components/statistic/styles.d.ts +3 -4
  187. package/lib/ui/gamification/user-statistics/index.d.ts +0 -1
  188. package/lib/ui/gamification/user-statistics/styles.d.ts +17 -18
  189. package/lib/ui/gamification/vote/alert/index.d.ts +2 -1
  190. package/lib/ui/gamification/vote/alert/styles.d.ts +3 -4
  191. package/lib/ui/gamification/vote/feedback/index.d.ts +1 -1
  192. package/lib/ui/gamification/vote/feedback/styles.d.ts +8 -9
  193. package/lib/ui/gamification/vote/index.d.ts +1 -1
  194. package/lib/ui/gamification/vote/insight-details/index.d.ts +1 -1
  195. package/lib/ui/gamification/vote/insight-details/styles.d.ts +2 -3
  196. package/lib/ui/gamification/vote/styles.d.ts +4 -5
  197. package/lib/ui/gamification/vote/styles.js +1 -1
  198. package/lib/ui/gamification/vote/twitter-details/index.d.ts +2 -2
  199. package/lib/ui/gamification/vote/twitter-details/styles.d.ts +2 -3
  200. package/lib/ui/gamification/vote/vote-option/index.d.ts +1 -1
  201. package/lib/ui/gamification/vote/vote-option/index.js +6 -6
  202. package/lib/ui/gamification/vote/vote-option/styles.d.ts +19 -16
  203. package/lib/ui/gamification/vote/win-bar/index.d.ts +1 -1
  204. package/lib/ui/gamification/vote/win-bar/styles.d.ts +6 -7
  205. package/lib/ui/icons/index.d.ts +1 -1
  206. package/lib/ui/icons/index.js +108 -47
  207. package/lib/ui/lottie/index.d.ts +0 -1
  208. package/lib/ui/modal/index.d.ts +0 -1
  209. package/lib/ui/modal/index.js +1 -1
  210. package/lib/ui/navigation/button/Channels.d.ts +1 -1
  211. package/lib/ui/navigation/button/FeaturedGroups.d.ts +1 -1
  212. package/lib/ui/navigation/button/LeaderBoard.d.ts +1 -1
  213. package/lib/ui/navigation/button/index.d.ts +1 -1
  214. package/lib/ui/navigation/button/styles.d.ts +6 -7
  215. package/lib/ui/navigation/index.d.ts +1 -1
  216. package/lib/ui/navigation/masters.d.ts +6 -5
  217. package/lib/ui/questions/insight/index.d.ts +1 -1
  218. package/lib/ui/questions/insight/styles.d.ts +6 -7
  219. package/lib/ui/questions/twitter/account/index.d.ts +0 -1
  220. package/lib/ui/questions/twitter/account/styles.d.ts +6 -7
  221. package/lib/ui/questions/twitter/index.d.ts +1 -1
  222. package/lib/ui/questions/twitter/styles.d.ts +14 -11
  223. package/lib/ui/show-in/index.d.ts +2 -1
  224. package/lib/ui/skeleton/index.d.ts +0 -1
  225. package/lib/ui/skeleton/styles.d.ts +1 -2
  226. package/lib/ui/slide-in/index.d.ts +11 -0
  227. package/lib/ui/slide-in/index.js +24 -0
  228. package/lib/ui/theme/ThemeColors.js +1 -1
  229. package/lib/ui/theme/ThemeColorsAdvertisement.d.ts +1 -0
  230. package/lib/ui/theme/ThemeColorsAdvertisement.js +15 -0
  231. package/lib/ui/theme/breakpoints.d.ts +1 -0
  232. package/lib/ui/theme/constants.d.ts +23 -59
  233. package/lib/ui/theme/constants.js +41 -56
  234. package/lib/ui/theme/index.d.ts +0 -1
  235. package/lib/ui/theme/masters-theme.d.ts +4 -24
  236. package/lib/ui/theme/masters-theme.js +26 -58
  237. package/lib/ui/theme/masters.d.ts +0 -1
  238. package/lib/ui/theme/theme.d.ts +1 -1
  239. package/lib/ui/theme/theme.js +14 -11
  240. package/lib/ui/timer/index.d.ts +3 -2
  241. package/lib/ui/timer/index.js +32 -32
  242. package/lib/ui/video-player/index.d.ts +1 -1
  243. package/lib/ui/video-player/index.js +70 -62
  244. package/lib/ui/video-player/styles.d.ts +5 -6
  245. package/lib/utils/debug/storage.js +1 -1
  246. package/lib/utils/storage.js +1 -1
  247. package/package.json +47 -41
  248. package/lib/styles_z07sl8-l0sNRNKZ.js +0 -1
  249. package/lib/ui/app/app/Features/Gamification/Question.js +0 -69
  250. package/lib/ui/app/app/Features/Gamification/index.js +0 -88
  251. package/lib/ui/app/app/Navigation/index.js +0 -42
  252. package/lib/ui/app/app/Notifications/Onboarding/Notification/styles.d.ts +0 -10
  253. package/lib/ui/app/app/Notifications/Onboarding/index.js +0 -172
  254. package/lib/ui/app/app/Notifications/styles.d.ts +0 -8
  255. package/lib/ui/app/app/Points/index.d.ts +0 -5
  256. package/lib/ui/app/app/useAppContext.d.ts +0 -8
  257. package/lib/ui/app/masters/Features/Gamification/Friends.js +0 -19
  258. package/lib/ui/app/masters/Navigation/index.d.ts +0 -9
  259. package/lib/ui/app/masters/Navigation/index.js +0 -30
  260. package/lib/ui/app/masters/Notifications/Onboarding/Notification/styles.d.ts +0 -10
  261. package/lib/ui/app/masters/Notifications/Onboarding/Notification/styles.js +0 -50
  262. package/lib/ui/app/masters/Notifications/Onboarding/index.js +0 -172
  263. package/lib/ui/app/masters/Notifications/styles.d.ts +0 -8
  264. package/lib/ui/app/masters/Notifications/styles.js +0 -31
  265. package/lib/ui/app/masters/Points/index.d.ts +0 -5
  266. package/lib/ui/app/masters/useMastersApp.js +0 -68
  267. package/lib/ui/app/masters/useMastersContext.d.ts +0 -8
  268. package/lib/ui/app/styles.d.ts +0 -15
  269. package/lib/ui/login/demo.d.ts +0 -6
  270. package/lib/ui/login/styles.d.ts +0 -8
  271. package/lib/ui/login/styles.js +0 -39
  272. /package/lib/{ui/app → app}/app/Features/Gamification/gamification-feature.js +0 -0
  273. /package/lib/{ui/app → app}/app/Features/index.js +0 -0
  274. /package/lib/{ui/app → app}/app/Notifications/Onboarding/Notification/index.js +0 -0
  275. /package/lib/{ui/app → app}/app/useAppContext.js +0 -0
  276. /package/lib/{ui/app → app}/index.js +0 -0
  277. /package/lib/{ui → app}/login/demo.js +0 -0
  278. /package/lib/{ui/app → app}/masters/Features/Gamification/gamification-feature.js +0 -0
  279. /package/lib/{ui/app → app}/masters/Features/index.js +0 -0
  280. /package/lib/{ui/app → app}/masters/Notifications/Onboarding/Notification/index.js +0 -0
  281. /package/lib/{ui/app → app}/masters/useMastersContext.js +0 -0
  282. /package/lib/{ui/app → app}/useImagesPreload.d.ts +0 -0
  283. /package/lib/{ui/app → app}/useImagesPreload.js +0 -0
  284. /package/lib/{ui/app → app}/useSdkFeature.js +0 -0
package/lib/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { App } from './ui/app/app';
1
+ export { App } from './app/app';
2
2
  export { StreamLayerThemeProvider } from './ui/theme';
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { App as o } from "./ui/app/app/index.js";
1
+ import { App as o } from "./app/app/index.js";
2
2
  import { StreamLayerThemeProvider as p } from "./ui/theme/index.js";
3
3
  export {
4
4
  o as App,
@@ -0,0 +1,8 @@
1
+ import { PromotionOptions } from '@streamlayer/sdk-web-types';
2
+
3
+ export declare const BannerImg: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
4
+ export declare const Banner: React.FC<{
5
+ promotion: PromotionOptions;
6
+ direction?: 'top' | 'bottom';
7
+ hiding?: boolean;
8
+ }>;
@@ -0,0 +1,32 @@
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { styled as e } from "@linaria/react";
3
+ import { SlideIn as o } from "../../slide-in/index.js";
4
+ const t = /* @__PURE__ */ e("div")({
5
+ name: "BannerContainer",
6
+ class: "bipmch2",
7
+ propsAsIs: !1
8
+ }), l = /* @__PURE__ */ e("img")({
9
+ name: "BannerImg",
10
+ class: "bpkcihp",
11
+ propsAsIs: !1
12
+ }), d = ({
13
+ promotion: r,
14
+ hiding: i,
15
+ direction: s = "bottom"
16
+ }) => {
17
+ var a;
18
+ return (a = r.additionalBanner) != null && a.imageUrl ? /* @__PURE__ */ n(o, {
19
+ direction: s,
20
+ hiding: i,
21
+ children: /* @__PURE__ */ n(t, {
22
+ children: /* @__PURE__ */ n(l, {
23
+ src: r.additionalBanner.imageUrl,
24
+ alt: "promo"
25
+ })
26
+ })
27
+ }) : null;
28
+ };
29
+ export {
30
+ d as Banner,
31
+ l as BannerImg
32
+ };
@@ -0,0 +1,10 @@
1
+ import { Advertisement } from '@streamlayer/feature-gamification';
2
+
3
+ export declare const AdvertisementUI: React.FC<{
4
+ advertisement: Advertisement & {
5
+ data: Exclude<Advertisement['data'], undefined>;
6
+ };
7
+ layoutMode?: 'cover' | 'side-by-side';
8
+ sidebar?: 'left' | 'right';
9
+ banner?: 'top' | 'bottom';
10
+ }>;
@@ -0,0 +1,19 @@
1
+ import { jsxs as c, jsx as l } from "react/jsx-runtime";
2
+ import { useStore as a } from "@nanostores/react";
3
+ import { PromotionType as d } from "@streamlayer/sdk-web-types";
4
+ import { Banner as s } from "./banner/index.js";
5
+ import { Overlay as u } from "./overlay/index.js";
6
+ import { Sidebar as n } from "./sidebar/index.js";
7
+ const f = (r) => (r == null ? void 0 : r.type) === d.INGAME_IAB11_LBAR || (r == null ? void 0 : r.type) === d.INGAME_IAB21_LBAR, y = (r) => (r == null ? void 0 : r.type) === d.INGAME_IAB11 || (r == null ? void 0 : r.type) === d.INGAME_IAB21, C = ({ advertisement: r, layoutMode: A = "side-by-side", sidebar: i, banner: t }) => {
8
+ const e = a(r.data);
9
+ return !e.data && e.loading ? null : e.error ? /* @__PURE__ */ c("div", { children: [
10
+ "error ",
11
+ /* @__PURE__ */ l("button", { onClick: r.close, children: "close" })
12
+ ] }) : e.data ? !i && !t && y(e.data) ? /* @__PURE__ */ l(u, { promotion: e.data, onClose: r.close }) : i && f(e.data) ? /* @__PURE__ */ l(n, { direction: i, hiding: r.hiding, children: /* @__PURE__ */ l(u, { promotion: e.data, onClose: r.close, inSidebar: !0 }) }) : t ? /* @__PURE__ */ l(s, { hiding: r.hiding, promotion: e.data, direction: t }) : null : /* @__PURE__ */ c("div", { children: [
13
+ "empty promo ",
14
+ /* @__PURE__ */ l("button", { onClick: r.close, children: "close" })
15
+ ] });
16
+ };
17
+ export {
18
+ C as AdvertisementUI
19
+ };
@@ -0,0 +1,4 @@
1
+ import { PromotionOptions } from '@streamlayer/sdk-web-types';
2
+
3
+ export declare const promotionMock: PromotionOptions;
4
+ export declare const promotionMockWithVideo: PromotionOptions;
@@ -0,0 +1,67 @@
1
+ import { PromotionType as o, PromotionWallet as e, PromotionLogoMode as a, CtaIconMode as c } from "@streamlayer/sdk-web-types";
2
+ const d = {
3
+ type: o.INGAME_IAB21_LBAR,
4
+ enableWallet: e.DISABLED,
5
+ coupon: "",
6
+ logoMode: a.LEFT,
7
+ couponZip: "",
8
+ couponBarcodeUrl: "",
9
+ sponsor: {
10
+ logo: "https://static-next.streamlayer.io/a8b6c1738a31dd0076a01c8807253533/f1de6799-4502-4423-9cbe-4804cd0ba769/c911da1a-e4a1-4e9a-8eb2-d1a6aa17e05d.png",
11
+ name: "Coca Cola"
12
+ },
13
+ banner: {
14
+ imageUrl: "https://www.figma.com/file/8XscgUSGOMU6rCYDLBgrAc/image/58f7c29647f7ad5bd447f76534af79609bedc74f",
15
+ url: "google.com",
16
+ ctaButton: {
17
+ label: "Order",
18
+ color: "#1d7bff",
19
+ ctaIcon: "",
20
+ ctaIconMode: c.CTA_ICON_UNSET,
21
+ textColor: "#fff"
22
+ },
23
+ body: "Order pizza",
24
+ title: "Get free Cola"
25
+ },
26
+ additionalBanner: {
27
+ imageUrl: "https://static-next.streamlayer.io/a8b6c1738a31dd0076a01c8807253533/42b6d84a-3cca-4eed-98ed-195706b47882/fce903c3-9781-4613-ae1e-4cce7e8cde90.png",
28
+ url: "google.com"
29
+ }
30
+ }, r = {
31
+ type: o.INGAME_IAB21_LBAR,
32
+ enableWallet: e.DISABLED,
33
+ coupon: "",
34
+ logoMode: a.LEFT,
35
+ couponZip: "",
36
+ couponBarcodeUrl: "",
37
+ sponsor: {
38
+ logo: "https://static-next.streamlayer.io/a8b6c1738a31dd0076a01c8807253533/f1de6799-4502-4423-9cbe-4804cd0ba769/c911da1a-e4a1-4e9a-8eb2-d1a6aa17e05d.png",
39
+ name: "Lorem ipsum dolor sit 4434, co"
40
+ },
41
+ banner: {
42
+ imageUrl: "",
43
+ url: "",
44
+ video: {
45
+ id: "1",
46
+ thumbnailUrl: "https://www.figma.com/file/8XscgUSGOMU6rCYDLBgrAc/image/58f7c29647f7ad5bd447f76534af79609bedc74f",
47
+ url: "https://static-next.streamlayer.io/2e8700993dd42a9b3283ef7f1b4bddc0/aa7a51c8-b8fb-4e8c-97bd-eebf649fd04d/36163fdd-3d41-447c-a3b2-3faf35ae9235.mp4"
48
+ },
49
+ ctaButton: {
50
+ label: "Lorem ipsum dol",
51
+ color: "#1d7bff",
52
+ ctaIcon: "",
53
+ ctaIconMode: c.CTA_ICON_UNSET,
54
+ textColor: "#fff"
55
+ },
56
+ body: "Lorem ipsum dolor sit 4434, consectetur 1111192392 3333, sed do 4434343 342343 545454344 ut 234323 ",
57
+ title: "Lorem ipsum dolor sit 4434, co"
58
+ },
59
+ additionalBanner: {
60
+ imageUrl: "https://static-next.streamlayer.io/a8b6c1738a31dd0076a01c8807253533/42b6d84a-3cca-4eed-98ed-195706b47882/fce903c3-9781-4613-ae1e-4cce7e8cde90.png",
61
+ url: "google.com"
62
+ }
63
+ };
64
+ export {
65
+ d as promotionMock,
66
+ r as promotionMockWithVideo
67
+ };
@@ -0,0 +1,7 @@
1
+ import { PromotionOptions } from '@streamlayer/sdk-web-types';
2
+
3
+ export declare const Overlay: React.FC<{
4
+ promotion: PromotionOptions;
5
+ onClose?: () => void;
6
+ inSidebar?: boolean;
7
+ }>;
@@ -0,0 +1,74 @@
1
+ import { jsxs as l, jsx as r } from "react/jsx-runtime";
2
+ import { PromotionType as N, PromotionLogoMode as n } from "@streamlayer/sdk-web-types";
3
+ import { VideoPlayer as D } from "../../video-player/index.js";
4
+ import { PromoOverlay as F, Header as R, HeaderContent as _, SponsorLogo as S, SponsorName as U, SponsorText as j, ADLogo as m, SponsoredText as G, CloseIconWrap as H, CloseIcon as W, Media as w, Content as V, PromoImg as q, Text as z, Title as J, Description as K, ActionBtnWrap as Q, ActionButton as X } from "./styles.js";
5
+ const re = ({
6
+ promotion: e,
7
+ onClose: O,
8
+ inSidebar: k
9
+ }) => {
10
+ var a, s, c, d, t, g, h, i, b, u, y, x, f, p, A, C, E, T, B, L, M, v, I, P;
11
+ const o = e.type === N.INGAME_IAB11_LBAR || e.type === N.INGAME_IAB11;
12
+ return /* @__PURE__ */ l(F, { className: "PromoOverlay", style: { ...k ? {} : { backgroundColor: "#1E3344" } }, children: [
13
+ /* @__PURE__ */ l(R, { children: [
14
+ /* @__PURE__ */ l(_, { children: [
15
+ ((a = e.sponsor) == null ? void 0 : a.logo) && e.logoMode === n.LEFT && /* @__PURE__ */ r(S, { src: (s = e.sponsor) == null ? void 0 : s.logo, alt: "promo" }),
16
+ /* @__PURE__ */ l(
17
+ "div",
18
+ {
19
+ style: {
20
+ paddingLeft: (c = e.sponsor) != null && c.logo && e.logoMode === n.LEFT ? "0px" : "8px"
21
+ },
22
+ children: [
23
+ ((d = e.sponsor) == null ? void 0 : d.logo) && e.logoMode === n.LEFT && /* @__PURE__ */ r(U, { children: (t = e.sponsor) == null ? void 0 : t.name }),
24
+ /* @__PURE__ */ l(j, { children: [
25
+ /* @__PURE__ */ r(m, { children: "AD" }),
26
+ /* @__PURE__ */ r(G, { children: "SPONSORED" })
27
+ ] })
28
+ ]
29
+ }
30
+ )
31
+ ] }),
32
+ /* @__PURE__ */ r(H, { onClick: O, children: /* @__PURE__ */ r(W, { name: "icon-cross" }) })
33
+ ] }),
34
+ /* @__PURE__ */ l(w, { children: [
35
+ ((g = e.sponsor) == null ? void 0 : g.logo) && e.logoMode === n.CENTER && /* @__PURE__ */ r(S, { src: (h = e.sponsor) == null ? void 0 : h.logo, alt: "promo" }),
36
+ /* @__PURE__ */ l(V, { children: [
37
+ (b = (i = e.banner) == null ? void 0 : i.video) != null && b.url ? /* @__PURE__ */ r(
38
+ D,
39
+ {
40
+ source: (y = (u = e.banner) == null ? void 0 : u.video) == null ? void 0 : y.url,
41
+ poster: (f = (x = e.banner) == null ? void 0 : x.video) == null ? void 0 : f.thumbnailUrl,
42
+ aspectRatio: o ? "1/1" : "16/9"
43
+ }
44
+ ) : (p = e.banner) != null && p.imageUrl ? /* @__PURE__ */ r(
45
+ q,
46
+ {
47
+ style: o ? { width: "268px", height: "268px" } : {},
48
+ src: (A = e.banner) == null ? void 0 : A.imageUrl,
49
+ alt: "promo"
50
+ }
51
+ ) : null,
52
+ !o && /* @__PURE__ */ l(z, { children: [
53
+ /* @__PURE__ */ r(J, { children: (C = e.banner) == null ? void 0 : C.title }),
54
+ /* @__PURE__ */ r(K, { children: (E = e.banner) == null ? void 0 : E.body })
55
+ ] })
56
+ ] }),
57
+ /* @__PURE__ */ r(Q, { children: /* @__PURE__ */ r(
58
+ X,
59
+ {
60
+ href: (T = e.banner) == null ? void 0 : T.url,
61
+ style: {
62
+ backgroundColor: ((L = (B = e.banner) == null ? void 0 : B.ctaButton) == null ? void 0 : L.color) || "#009dc4",
63
+ color: ((v = (M = e.banner) == null ? void 0 : M.ctaButton) == null ? void 0 : v.textColor) || "#fff"
64
+ },
65
+ target: "_blank",
66
+ children: (P = (I = e.banner) == null ? void 0 : I.ctaButton) == null ? void 0 : P.label
67
+ }
68
+ ) })
69
+ ] })
70
+ ] });
71
+ };
72
+ export {
73
+ re as Overlay
74
+ };
@@ -0,0 +1,18 @@
1
+ export declare const Header: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
2
+ export declare const HeaderContent: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
+ export declare const SponsorLogo: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
4
+ export declare const SponsorName: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
+ export declare const PromoOverlay: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
+ export declare const Media: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
7
+ export declare const Text: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
+ export declare const Description: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
9
+ export declare const SponsorText: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
10
+ export declare const ADLogo: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
11
+ export declare const SponsoredText: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLSpanElement> & import('react').HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
12
+ export declare const CloseIconWrap: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
13
+ export declare const CloseIcon: any;
14
+ export declare const Content: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
15
+ export declare const ActionBtnWrap: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
16
+ export declare const ActionButton: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLAnchorElement> & import('react').AnchorHTMLAttributes<HTMLAnchorElement> & Record<never, unknown>>;
17
+ export declare const PromoImg: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
18
+ export declare const Title: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
@@ -0,0 +1,95 @@
1
+ import { styled as s } from "@linaria/react";
2
+ import { SvgIcon as o } from "../../icons/index.js";
3
+ const p = /* @__PURE__ */ s("div")({
4
+ name: "Header",
5
+ class: "hkzhq2w",
6
+ propsAsIs: !1
7
+ }), t = /* @__PURE__ */ s("div")({
8
+ name: "HeaderContent",
9
+ class: "hmgz5i",
10
+ propsAsIs: !1
11
+ }), c = /* @__PURE__ */ s("img")({
12
+ name: "SponsorLogo",
13
+ class: "syxi3jt",
14
+ propsAsIs: !1
15
+ }), r = /* @__PURE__ */ s("div")({
16
+ name: "SponsorName",
17
+ class: "s149e3gp",
18
+ propsAsIs: !1
19
+ }), l = /* @__PURE__ */ s("div")({
20
+ name: "PromoOverlay",
21
+ class: "p10toh7",
22
+ propsAsIs: !1
23
+ }), m = /* @__PURE__ */ s("div")({
24
+ name: "Media",
25
+ class: "m1jyea6t",
26
+ propsAsIs: !1
27
+ }), i = /* @__PURE__ */ s("div")({
28
+ name: "Text",
29
+ class: "tzpfa3h",
30
+ propsAsIs: !1
31
+ }), d = /* @__PURE__ */ s("div")({
32
+ name: "Description",
33
+ class: "d1crmu01",
34
+ propsAsIs: !1
35
+ }), I = /* @__PURE__ */ s("div")({
36
+ name: "SponsorText",
37
+ class: "s1l37r8s",
38
+ propsAsIs: !1
39
+ }), A = /* @__PURE__ */ s("div")({
40
+ name: "ADLogo",
41
+ class: "a1nmch9k",
42
+ propsAsIs: !1
43
+ }), f = /* @__PURE__ */ s("span")({
44
+ name: "SponsoredText",
45
+ class: "s1er0ljd",
46
+ propsAsIs: !1
47
+ }), v = /* @__PURE__ */ s("div")({
48
+ name: "CloseIconWrap",
49
+ class: "cydopmr",
50
+ propsAsIs: !1
51
+ }), e = () => o, x = /* @__PURE__ */ s(e())({
52
+ name: "CloseIcon",
53
+ class: "c1w6nt04",
54
+ propsAsIs: !0
55
+ }), g = /* @__PURE__ */ s("div")({
56
+ name: "Content",
57
+ class: "c1evcmtq",
58
+ propsAsIs: !1
59
+ }), S = /* @__PURE__ */ s("div")({
60
+ name: "ActionBtnWrap",
61
+ class: "awodx0x",
62
+ propsAsIs: !1
63
+ }), C = /* @__PURE__ */ s("a")({
64
+ name: "ActionButton",
65
+ class: "a1q3n6oi",
66
+ propsAsIs: !1
67
+ }), T = /* @__PURE__ */ s("img")({
68
+ name: "PromoImg",
69
+ class: "p8d4xfk",
70
+ propsAsIs: !1
71
+ }), h = /* @__PURE__ */ s("div")({
72
+ name: "Title",
73
+ class: "tt6oobh",
74
+ propsAsIs: !1
75
+ });
76
+ export {
77
+ A as ADLogo,
78
+ S as ActionBtnWrap,
79
+ C as ActionButton,
80
+ x as CloseIcon,
81
+ v as CloseIconWrap,
82
+ g as Content,
83
+ d as Description,
84
+ p as Header,
85
+ t as HeaderContent,
86
+ m as Media,
87
+ T as PromoImg,
88
+ l as PromoOverlay,
89
+ c as SponsorLogo,
90
+ r as SponsorName,
91
+ I as SponsorText,
92
+ f as SponsoredText,
93
+ i as Text,
94
+ h as Title
95
+ };
@@ -0,0 +1,7 @@
1
+ export declare const Sidebar: React.FC<{
2
+ children: React.ReactElement;
3
+ direction: 'left' | 'right';
4
+ style?: React.CSSProperties;
5
+ className?: string;
6
+ hiding?: boolean;
7
+ }>;
@@ -0,0 +1,25 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { styled as t } from "@linaria/react";
3
+ import { SlideIn as a } from "../../slide-in/index.js";
4
+ const d = /* @__PURE__ */ t("div")({
5
+ name: "SidebarContainer",
6
+ class: "s1abskp8",
7
+ propsAsIs: !1
8
+ }), b = ({
9
+ children: e,
10
+ direction: o,
11
+ style: s,
12
+ className: i,
13
+ hiding: n
14
+ }) => /* @__PURE__ */ r(a, {
15
+ direction: o,
16
+ style: s,
17
+ hiding: n,
18
+ className: i,
19
+ children: /* @__PURE__ */ r(d, {
20
+ children: e
21
+ })
22
+ });
23
+ export {
24
+ b as Sidebar
25
+ };
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { CountUpProps } from 'react-countup';
2
+
3
3
  export declare const AnimatedCounter: React.FC<Omit<CountUpProps, 'end' | 'start'> & {
4
4
  value?: number;
5
5
  }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type ButtonProps = {
3
2
  children?: string | React.ReactNode;
4
3
  disabled?: boolean;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const SButton: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
3
- export declare const ButtonLabel: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
1
+ export declare const SButton: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
2
+ export declare const ButtonLabel: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLSpanElement> & import('react').HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
@@ -1,5 +1,6 @@
1
1
  import { QuestionType } from '@streamlayer/sdk-web-types';
2
2
  import { icons } from '../icons';
3
+
3
4
  export declare const QuestionTypeData: Record<QuestionType, {
4
5
  label: string;
5
6
  iconName: keyof typeof icons;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const CopyNotification: React.FC;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const Container: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
3
- export declare const Content: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
- export declare const Title: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
1
+ export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
2
+ export declare const Content: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
+ export declare const Title: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLSpanElement> & import('react').HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { QuestionType } from '@streamlayer/sdk-web-types';
2
+
3
3
  interface VoteHeaderProps {
4
4
  type?: QuestionType;
5
5
  close: () => void;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
- export declare const Container: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
- export declare const QuestionTypeWrap: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
1
+ export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
2
+ export declare const QuestionTypeWrap: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
3
  export declare const QuestionTypeIcon: any;
5
- export declare const QuestionTypeTitle: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
6
- export declare const CloseIconWrap: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
+ 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>>;
7
6
  export declare const CloseIcon: any;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
2
1
  export declare const Sponsor: React.FC<{
3
2
  sponsorLogo?: string;
3
+ mastersApp?: boolean;
4
4
  }>;
@@ -1,19 +1,25 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { styled as s } from "@linaria/react";
3
- import { SvgIcon as r } from "../../../icons/index.js";
4
- const p = /* @__PURE__ */ s("div")({
2
+ import { styled as n } from "@linaria/react";
3
+ import { SvgIcon as e } from "../../../icons/index.js";
4
+ const s = /* @__PURE__ */ n("div")({
5
5
  name: "SponsorLogoWrap",
6
6
  class: "s8p5v5z",
7
7
  propsAsIs: !1
8
- }), n = () => r, t = /* @__PURE__ */ s(n())({
8
+ }), t = () => e, r = /* @__PURE__ */ n(t())({
9
9
  name: "SponsorLogo",
10
10
  class: "s755yti",
11
11
  propsAsIs: !0
12
- }), c = () => /* @__PURE__ */ o(p, {
13
- children: /* @__PURE__ */ o(t, {
12
+ }), i = ({
13
+ mastersApp: p
14
+ }) => p ? /* @__PURE__ */ o(s, {
15
+ children: /* @__PURE__ */ o(r, {
14
16
  name: "mastersLogo"
15
17
  })
18
+ }) : /* @__PURE__ */ o(s, {
19
+ children: /* @__PURE__ */ o(r, {
20
+ name: "streamLayerLogo"
21
+ })
16
22
  });
17
23
  export {
18
- c as Sponsor
24
+ i as Sponsor
19
25
  };
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { QuestionImages } from '@streamlayer/sdk-web-types';
2
+
3
3
  type InsightProps = {
4
4
  image?: string;
5
5
  imageMode: QuestionImages;
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
- export declare const Container: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
- export declare const Content: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
- export declare const Graphic: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
- export declare const InsightIconDefault: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
6
- export declare const InsightIconCircle: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
7
- export declare const InsightIconAbsolute: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
8
- export declare const Title: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
9
- export declare const NextIcon: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
1
+ export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
2
+ export declare const Content: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
+ export declare const Graphic: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
+ export declare const InsightIconDefault: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
5
+ export declare const InsightIconCircle: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
6
+ export declare const InsightIconAbsolute: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
7
+ export declare const Title: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
+ export declare const NextIcon: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { QuestionImages } from '@streamlayer/sdk-web-types';
2
+
3
3
  interface InsightListProps {
4
4
  insights?: Array<{
5
5
  image?: string;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const Container: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
- export declare const ItemsContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
1
+ export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
2
+ export declare const ItemsContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type InviteLinkProps = {
3
2
  title?: string;
4
3
  description?: string;
@@ -1,24 +1,24 @@
1
- import { jsxs as i, jsx as C } from "react/jsx-runtime";
2
- import { useAnalyticsHandle as c } from "../../../hooks/analytics.js";
3
- import { InvitationFrom as l } from "@streamlayer/sdk-web-types";
4
- import { Container as s, FriendsIcon as a, Content as d, Title as h, Description as m, ArrowInviteIcon as p } from "./styles.js";
5
- const f = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='16'%20fill='white'/%3e%3cpath%20d='M10.4615%2012.6875C9.44231%2012.6875%208.61538%2013.4665%208.61538%2014.4266C8.61538%2015.3868%209.44231%2016.1658%2010.4615%2016.1658C11.4808%2016.1658%2012.3077%2015.3868%2012.3077%2014.4266C12.3077%2013.4665%2011.4808%2012.6875%2010.4615%2012.6875ZM10.4615%2016.1658C9.10817%2016.1658%208%2017.2097%208%2018.4846V19.7527C8%2019.7527%208.61538%2020.2237%2010.4615%2020.2237C12.3077%2020.2237%2012.9231%2019.7527%2012.9231%2019.7527V18.4846C12.9231%2017.2097%2011.8149%2016.1658%2010.4615%2016.1658ZM21.5385%2012.6875C20.5192%2012.6875%2019.6923%2013.4665%2019.6923%2014.4266C19.6923%2015.3868%2020.5192%2016.1658%2021.5385%2016.1658C22.5577%2016.1658%2023.3846%2015.3868%2023.3846%2014.4266C23.3846%2013.4665%2022.5577%2012.6875%2021.5385%2012.6875ZM21.5385%2016.1658C20.1851%2016.1658%2019.0769%2017.2097%2019.0769%2018.4846V19.7527C19.0769%2019.7527%2019.6923%2020.2237%2021.5385%2020.2237C23.3846%2020.2237%2024%2019.7527%2024%2019.7527V18.4846C24%2017.2097%2022.8918%2016.1658%2021.5385%2016.1658ZM16%2015.0063C14.9808%2015.0063%2014.1538%2015.7853%2014.1538%2016.7455C14.1538%2017.7056%2014.9808%2018.4846%2016%2018.4846C17.0192%2018.4846%2017.8462%2017.7056%2017.8462%2016.7455C17.8462%2015.7853%2017.0192%2015.0063%2016%2015.0063ZM16%2018.4846C14.6466%2018.4846%2013.5385%2019.5285%2013.5385%2020.8034V22.0715C13.5385%2022.0715%2014.1538%2022.5425%2016%2022.5425C17.8462%2022.5425%2018.4615%2022.0715%2018.4615%2022.0715V20.8034C18.4615%2019.5285%2017.3534%2018.4846%2016%2018.4846Z'%20fill='%23107D57'/%3e%3cpath%20opacity='0.5'%20d='M13.3908%209C12.3103%209%2011.4336%209.82584%2011.4336%2010.8437C11.4336%2011.8616%2012.3103%2012.6875%2013.3908%2012.6875C14.4713%2012.6875%2015.348%2011.8616%2015.348%2010.8437C15.348%209.82584%2014.4713%209%2013.3908%209ZM13.3908%2012.6875C13.1946%2012.6875%2012.9958%2012.6827%2012.7996%2012.7451C13.192%2013.2372%2013.3908%2013.8542%2013.3908%2014.5312C13.3908%2014.7761%2013.3296%2015.0161%2013.3296%2015.261C13.8521%2014.524%2014.6956%2014.0391%2015.6742%2013.9166C15.218%2013.1796%2014.3694%2012.6875%2013.3908%2012.6875ZM18.61%209C17.5295%209%2016.6528%209.82584%2016.6528%2010.8437C16.6528%2011.8616%2017.5295%2012.6875%2018.61%2012.6875C19.6905%2012.6875%2020.5672%2011.8616%2020.5672%2010.8437C20.5672%209.82584%2019.6905%209%2018.61%209ZM18.61%2012.6875C17.6314%2012.6875%2016.7828%2013.1796%2016.3266%2013.9166C17.3052%2014.0391%2018.1487%2014.524%2018.6712%2015.261C18.6712%2015.0161%2018.61%2014.7761%2018.61%2014.5312C18.61%2013.8542%2018.8088%2013.2372%2019.2012%2012.7451C19.005%2012.6827%2018.8062%2012.6875%2018.61%2012.6875Z'%20fill='%23107D57'/%3e%3c/svg%3e", g = ({ title: n, description: t, onClick: e, className: o }) => {
6
- const [r] = c({
1
+ import { jsxs as i, jsx as n } from "react/jsx-runtime";
2
+ import { useAnalyticsHandle as a } from "../../../hooks/analytics.js";
3
+ import { InvitationFrom as m } from "@streamlayer/sdk-web-types";
4
+ import { Container as s, FriendsIcon as l, Content as d, Title as p, Description as f, ArrowInviteIcon as I } from "./styles.js";
5
+ const C = ({ title: o, description: t, onClick: r, className: e }) => {
6
+ const [c] = a({
7
7
  type: "invitation",
8
8
  action: "sent",
9
9
  payload: {
10
- from: l.TITLE_CARD
10
+ from: m.TITLE_CARD
11
11
  }
12
12
  });
13
- return /* @__PURE__ */ i(s, { onClick: r(e), className: o, children: [
14
- /* @__PURE__ */ C(a, { alt: "friends-icon", src: f }),
13
+ return /* @__PURE__ */ i(s, { onClick: c(r), className: e, children: [
14
+ /* @__PURE__ */ n(l, { name: "icon-friends" }),
15
15
  /* @__PURE__ */ i(d, { children: [
16
- /* @__PURE__ */ C(h, { children: n }),
17
- /* @__PURE__ */ C(m, { children: t })
16
+ /* @__PURE__ */ n(p, { children: o }),
17
+ /* @__PURE__ */ n(f, { children: t })
18
18
  ] }),
19
- /* @__PURE__ */ C(p, { name: "icon-copy" })
19
+ /* @__PURE__ */ n(I, { name: "icon-copy" })
20
20
  ] });
21
21
  };
22
22
  export {
23
- g as InviteLink
23
+ C as InviteLink
24
24
  };
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
- export declare const Container: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
- export declare const FriendsIcon: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
4
- export declare const Content: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
- export declare const Title: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
- export declare const Description: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
1
+ export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
2
+ export declare const FriendsIcon: any;
3
+ export declare const Content: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
+ export declare const Title: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
+ export declare const Description: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
7
6
  export declare const ArrowInviteIcon: any;