@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
@@ -1,14 +1,14 @@
1
1
  import { styled as s } from "@linaria/react";
2
2
  import { SvgIcon as n } from "../../icons/index.js";
3
- const c = /* @__PURE__ */ s("div")({
3
+ const r = /* @__PURE__ */ s("div")({
4
4
  name: "Container",
5
5
  class: "c1ux29ft",
6
6
  propsAsIs: !1
7
- }), r = /* @__PURE__ */ s("img")({
7
+ }), o = () => n, a = /* @__PURE__ */ s(o())({
8
8
  name: "FriendsIcon",
9
9
  class: "f10ncfg2",
10
- propsAsIs: !1
11
- }), a = /* @__PURE__ */ s("div")({
10
+ propsAsIs: !0
11
+ }), p = /* @__PURE__ */ s("div")({
12
12
  name: "Content",
13
13
  class: "c1yc07bd",
14
14
  propsAsIs: !1
@@ -16,20 +16,20 @@ const c = /* @__PURE__ */ s("div")({
16
16
  name: "Title",
17
17
  class: "tj6cq7w",
18
18
  propsAsIs: !1
19
- }), p = /* @__PURE__ */ s("div")({
19
+ }), l = /* @__PURE__ */ s("div")({
20
20
  name: "Description",
21
21
  class: "d1ag78xo",
22
22
  propsAsIs: !1
23
- }), o = () => n, l = /* @__PURE__ */ s(o())({
23
+ }), e = () => n, I = /* @__PURE__ */ s(e())({
24
24
  name: "ArrowInviteIcon",
25
25
  class: "awohrz6",
26
26
  propsAsIs: !0
27
27
  });
28
28
  export {
29
- l as ArrowInviteIcon,
30
- c as Container,
31
- a as Content,
32
- p as Description,
33
- r as FriendsIcon,
29
+ I as ArrowInviteIcon,
30
+ r as Container,
31
+ p as Content,
32
+ l as Description,
33
+ a as FriendsIcon,
34
34
  i as Title
35
35
  };
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { ListProps } from 'react-window';
3
2
  import { LeaderboardItemProps } from './list-item';
3
+
4
4
  type LeaderboardListProps = {
5
5
  items: Omit<LeaderboardItemProps, 'openItemDetail'>[];
6
6
  currentUserId?: string;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- import type { LeaderboardItem as ILeaderboardItem } from '@streamlayer/sdk-web-types';
1
+ import { LeaderboardItem as ILeaderboardItem } from '@streamlayer/sdk-web-types';
2
+
3
3
  export type LeaderboardItemProps = Partial<ILeaderboardItem> & {
4
4
  userId: string;
5
5
  isCurrentUser?: boolean;
@@ -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 Position: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
- export declare const Avatar: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
5
- export declare const AvatarPlaceholder: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
- export declare const Content: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
7
- export declare const NameContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
- export declare const Name: 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<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
2
+ export declare const Position: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
+ export declare const Avatar: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
4
+ export declare const AvatarPlaceholder: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
+ export declare const Content: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
+ export declare const NameContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
7
+ export declare const Name: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLSpanElement> & import('react').HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
9
8
  export declare const CurrentUserBadge: any;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
2
- import { type ScrollNodeRef } from '../../app/masters';
3
- import { ScrollStore } from '../../app/useSdkScroll';
1
+ import { ScrollNodeRef } from '../../../app/masters';
2
+ import { ScrollStore } from '../../../app/useSdkScroll';
4
3
  import { LeaderboardItemProps } from './list-item';
4
+
5
5
  type LeaderboardListProps = {
6
6
  items: Omit<LeaderboardItemProps, 'openItemDetail'>[];
7
7
  currentUserId?: string;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
- export declare const ScrollContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
1
+ export declare const ScrollContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
@@ -1,5 +1,5 @@
1
1
  import { styled as o } from "@linaria/react";
2
- import "../../../styles_z07sl8-l0sNRNKZ.js";
2
+ /* empty css */
3
3
  const l = /* @__PURE__ */ o("div")({
4
4
  name: "ScrollContainer",
5
5
  class: "s13d8sg6",
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
2
- import type { Gamification } from '@streamlayer/feature-gamification';
3
- import { type StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
1
+ import { Gamification } from '@streamlayer/feature-gamification';
2
+ import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
4
3
  import { OnboardingStep } from './slides/onboarding-instructions';
5
4
  import { OnboardingInviteCardProps } from './slides/onboarding-invite-card';
6
5
  import { OnboardingRule } from './slides/onboarding-rules';
6
+
7
7
  type OnboardingType = OnboardingInviteCardProps & {
8
8
  gamification: Gamification;
9
9
  sdk: StreamLayerSDK;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type InvitingUserType = {
3
2
  avatar?: string;
4
3
  name?: string;
@@ -1,6 +1,5 @@
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 Avatar: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
4
- export declare const AvatarPlaceholder: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
- export declare const Content: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
- export declare const Name: 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<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
2
+ export declare const Avatar: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
3
+ export declare const AvatarPlaceholder: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & 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 Name: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLSpanElement> & import('react').HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
@@ -1,4 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
+
2
3
  type OnboardingInstructionsProps = {
3
4
  loading: boolean;
4
5
  steps: OnboardingStep[];
@@ -1,11 +1,10 @@
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 Graphic: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
- export declare const GraphicImage: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
5
- export declare const Headline: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
- export declare const TaglineContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
7
- export declare const Tagline: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
- export declare const Content: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
9
- export declare const StepsContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
10
- export declare const StepIndicator: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
11
- export declare const InvitingUserWrap: 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 Graphic: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
+ export declare const GraphicImage: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
4
+ export declare const Headline: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
+ export declare const TaglineContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
+ export declare const Tagline: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
7
+ export declare const Content: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
+ export declare const StepsContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
9
+ export declare const StepIndicator: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLSpanElement> & import('react').HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
10
+ export declare const InvitingUserWrap: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { icons } from '../../../../icons';
2
+
3
3
  export type OnboardingInviteCardProps = {
4
4
  inviteLink?: string;
5
5
  inviteCardTitle?: string;
@@ -1,8 +1,8 @@
1
1
  import { jsxs as o, jsx as n } from "react/jsx-runtime";
2
- import { useAnalyticsHandle as s } from "../../../../../hooks/analytics.js";
3
- import { useRef as p } from "react";
4
- import { InvitationFrom as f } from "@streamlayer/sdk-web-types";
5
- import { useClipboardCopy as h } from "../../../../app/useClipboardCopy.js";
2
+ import { useClipboardCopy as s } from "../../../../../app/useClipboardCopy.js";
3
+ import { useAnalyticsHandle as p } from "../../../../../hooks/analytics.js";
4
+ import { useRef as f } from "react";
5
+ import { InvitationFrom as h } from "@streamlayer/sdk-web-types";
6
6
  import { Container as y, IconContainer as C, InviteGameIcon as I, Content as k, Heading as u, Subtext as b, LinkContainer as g, LinkInfo as v, LinkTitle as x, LinkAddress as A, LinkIcon as L } from "./styles.js";
7
7
  const M = ({
8
8
  inviteLink: i,
@@ -11,11 +11,11 @@ const M = ({
11
11
  primaryColor: c,
12
12
  className: l
13
13
  }) => {
14
- const e = p(null), [a, d] = h(e), [m] = s({
14
+ const e = f(null), [a, d] = s(e), [m] = p({
15
15
  type: "invitation",
16
16
  action: "sent",
17
17
  payload: {
18
- from: f.MENU
18
+ from: h.MENU
19
19
  }
20
20
  });
21
21
  return /* @__PURE__ */ o(y, { className: l, children: [
@@ -1,12 +1,11 @@
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 IconContainer: 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 IconContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
3
  export declare const InviteGameIcon: any;
5
- export declare const Content: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
- export declare const Heading: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
7
- export declare const Subtext: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
- export declare const LinkContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
9
- export declare const LinkInfo: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
10
- export declare const LinkTitle: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
11
- export declare const LinkAddress: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & 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 Heading: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
+ export declare const Subtext: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
7
+ export declare const LinkContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
+ export declare const LinkInfo: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
9
+ export declare const LinkTitle: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLSpanElement> & import('react').HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
10
+ export declare const LinkAddress: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLSpanElement> & import('react').HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
12
11
  export declare const LinkIcon: any;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { icons } from '../../../../icons';
2
+
3
3
  type OnboardingRulesProps = {
4
4
  rules?: OnboardingRule[];
5
5
  rulesTitle?: string;
@@ -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 Title: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
- export declare const RulesList: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
- export declare const RulesItem: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
7
- export declare const RuleIcon: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
- export declare const RuleText: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
9
- export declare const TermsButton: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & 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 Title: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
+ export declare const RulesList: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
+ export declare const RulesItem: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
+ export declare const RuleIcon: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
7
+ export declare const RuleText: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
+ export declare const TermsButton: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type OnboardingTermsProps = {
3
2
  termsTitle?: string;
4
3
  termsText?: string;
@@ -1,5 +1,4 @@
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 Title: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
- export declare const ScrollingText: 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 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<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
+ export declare const ScrollingText: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
@@ -1,8 +1,7 @@
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 OnboardingHeader: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
- export declare const CloseBtn: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & 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 OnboardingHeader: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
+ export declare const CloseBtn: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
6
5
  export declare const IconClose: any;
7
- export declare const OnboardingFooter: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
+ export declare const OnboardingFooter: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
7
  export declare const OnboardingActionBtn: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type PointsProps = {
3
2
  points?: number;
4
3
  onClick?: () => void;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
- export declare const PointsContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
- export declare const PointsIcon: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
1
+ export declare const PointsContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
2
+ export declare const PointsIcon: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
3
  export declare const PointsSvg: any;
5
- export declare const PointsBody: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
- export declare const PointsTitle: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
7
- export declare const PointsValue: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
+ export declare const PointsBody: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
+ export declare const PointsTitle: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
+ export declare const PointsValue: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
2
- import { type PickHistory } from '@streamlayer/sdk-web-types';
1
+ import { PickHistory } from '@streamlayer/sdk-web-types';
2
+
3
3
  export declare const QuestionSkeleton: React.FC;
4
4
  export declare const Question: React.FC<PickHistory>;
@@ -1,18 +1,18 @@
1
1
  import { jsx as t, jsxs as n } from "react/jsx-runtime";
2
- import { PickHistoryStatus as e, QuestionType as a, QuestionStatus as p } from "@streamlayer/sdk-web-types";
2
+ import { PickHistoryStatus as e, QuestionType as r, QuestionStatus as p } from "@streamlayer/sdk-web-types";
3
3
  import { QuestionTypeData as h } from "../constants.js";
4
- import { Skeleton as c } from "../../skeleton/index.js";
5
- import { QuestionActionIcon as i, SkeletonContainer as y, SkeletonButton as I, QuestionItem as S, QuestionContent as f, QuestionCaption as k, QuestionTypeIcon as A, QuestionTypeLabel as T, QuestionBody as L, QuestionAction as P, PlayButton as w } from "./styles.js";
6
- const x = {
7
- [e.LOST]: /* @__PURE__ */ t(i, { name: "incorrectVoted" }),
8
- [e.WON]: /* @__PURE__ */ t(i, { name: "icon-check" }),
9
- [e.UNSET]: /* @__PURE__ */ t(i, { name: "icon-arrow" }),
10
- [e.DNP]: /* @__PURE__ */ t(i, { name: "icon-arrow" })
11
- }, B = () => /* @__PURE__ */ n(y, { children: [
12
- /* @__PURE__ */ t(c, { loading: !0, style: { width: "35%" } }),
13
- /* @__PURE__ */ t(c, { loading: !0, style: { width: "70%" } }),
14
- /* @__PURE__ */ t(I, {})
15
- ] }), C = ({
4
+ import { Skeleton as a } from "../../skeleton/index.js";
5
+ import { QuestionActionIcon as c, QuestionCheckIcon as y, SkeletonContainer as I, SkeletonButton as S, QuestionItem as k, QuestionContent as f, QuestionCaption as A, QuestionTypeIcon as T, QuestionTypeLabel as L, QuestionBody as P, QuestionAction as w, PlayButton as x } from "./styles.js";
6
+ const C = {
7
+ [e.LOST]: /* @__PURE__ */ t(c, { name: "incorrectVoted" }),
8
+ [e.WON]: /* @__PURE__ */ t(y, { name: "icon-check" }),
9
+ [e.UNSET]: /* @__PURE__ */ t(c, { name: "icon-arrow" }),
10
+ [e.DNP]: /* @__PURE__ */ t(c, { name: "icon-arrow" })
11
+ }, B = () => /* @__PURE__ */ n(I, { children: [
12
+ /* @__PURE__ */ t(a, { loading: !0, style: { width: "35%" } }),
13
+ /* @__PURE__ */ t(a, { loading: !0, style: { width: "70%" } }),
14
+ /* @__PURE__ */ t(S, {})
15
+ ] }), R = ({
16
16
  questionId: s,
17
17
  questionType: o,
18
18
  questionStatus: l,
@@ -20,29 +20,30 @@ const x = {
20
20
  openForVoting: d,
21
21
  status: m
22
22
  }) => {
23
- const r = h[o], Q = x[m];
24
- return r ? /* @__PURE__ */ n(S, { "data-name": s, children: [
23
+ const i = h[o], Q = C[m];
24
+ return i ? /* @__PURE__ */ n(k, { "data-name": s, children: [
25
25
  /* @__PURE__ */ n(f, { children: [
26
- /* @__PURE__ */ n(k, { children: [
26
+ /* @__PURE__ */ n(A, { children: [
27
27
  /* @__PURE__ */ t(
28
- A,
28
+ T,
29
29
  {
30
- "data-type-trivia": o === a.TRIVIA,
31
- "data-type-poll": o === a.POLL,
32
- name: r.iconName
30
+ "data-testid": "question-type-icon",
31
+ "data-type-trivia": o === r.TRIVIA,
32
+ "data-type-poll": o === r.POLL,
33
+ name: i.iconName
33
34
  }
34
35
  ),
35
- /* @__PURE__ */ n(T, { children: [
36
- r.label,
37
- o === a.TRIVIA && l === p.RESOLVED && " • Expired"
36
+ /* @__PURE__ */ n(L, { children: [
37
+ i.label,
38
+ o === r.TRIVIA && l === p.RESOLVED && " • Expired"
38
39
  ] })
39
40
  ] }),
40
- /* @__PURE__ */ t(L, { children: u || "" })
41
+ /* @__PURE__ */ t(P, { children: u || "" })
41
42
  ] }),
42
- /* @__PURE__ */ t(P, { children: d ? /* @__PURE__ */ t(w, { children: "Play" }) : Q })
43
+ /* @__PURE__ */ t(w, { children: d ? /* @__PURE__ */ t(x, { children: "Play" }) : Q })
43
44
  ] }) : null;
44
45
  };
45
46
  export {
46
- C as Question,
47
+ R as Question,
47
48
  B as QuestionSkeleton
48
49
  };
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { InsightContentProps } from '../../../questions/insight';
3
2
  import { VideoPlayerProps } from '../../../video-player';
3
+
4
4
  type InsightProps = InsightContentProps & {
5
5
  controlVideo: VideoPlayerProps['controlVideo'];
6
6
  };
@@ -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 ActionBtn: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & 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 ActionBtn: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
- import type { Gamification } from '@streamlayer/feature-gamification';
1
+ import { Gamification } from '@streamlayer/feature-gamification';
3
2
  import { VideoPlayerProps } from '../../../video-player';
3
+
4
4
  type FeedItem = Exclude<Awaited<ReturnType<Exclude<Gamification['feedList'], undefined>['getValue']>>, undefined>;
5
5
  interface QuestionListProps {
6
6
  questions: FeedItem;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
- export declare const QuestionsContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
1
+ export declare const QuestionsContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
2
- import type { Notification as NotificationProps } from '@streamlayer/sdk-web-notifications';
1
+ import { Notification as NotificationProps } from '@streamlayer/sdk-web-notifications';
3
2
  import { VideoPlayerProps } from '../../../video-player';
3
+
4
4
  export declare const Notification: React.FC<NotificationProps & Pick<VideoPlayerProps, 'controlVideo'>>;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
2
- import type { Notification } from '@streamlayer/sdk-web-notifications';
1
+ import { Notification } from '@streamlayer/sdk-web-notifications';
3
2
  import { InsightHistory, InstantView } from '@streamlayer/sdk-web-types';
4
3
  import { VideoPlayerProps } from '../../../../video-player';
4
+
5
5
  export type InsightProps = InstantView & {
6
6
  imageMode?: InsightHistory['imageMode'];
7
7
  action: Notification['action'];
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
- export declare const InsightContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
- export declare const Image: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
4
- export declare const ImageContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
- export declare const InsightContent: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
- export declare const Title: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLHeadingElement> & import("react").HTMLAttributes<HTMLHeadingElement> & Record<never, unknown>>;
7
- export declare const Description: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
- export declare const ActionBtn: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
1
+ export declare const InsightContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
2
+ export declare const Image: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
3
+ export declare const ImageContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
+ export declare const InsightContent: 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<HTMLHeadingElement> & import('react').HTMLAttributes<HTMLHeadingElement> & Record<never, unknown>>;
6
+ export declare const Description: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
7
+ export declare const ActionBtn: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type PillProps = {
3
2
  title?: string;
4
3
  onClick: () => void;
@@ -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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const AnimationLines: React.FC<{
3
2
  step: number;
4
3
  correct?: boolean;