@streamlayer/react-ui 1.0.0 → 1.1.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 (274) hide show
  1. package/lib/app/app/Advertisement/index.d.ts +8 -0
  2. package/lib/app/app/Advertisement/index.js +38 -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 +3 -0
  37. package/lib/app/app/story/content.js +14 -0
  38. package/lib/app/app/story/index.d.ts +8 -0
  39. package/lib/app/app/story/index.js +96 -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/video.d.ts +8 -0
  43. package/lib/app/app/story/video.js +96 -0
  44. package/lib/{ui/app → app}/app/useApp.d.ts +2 -1
  45. package/lib/{ui/app → app}/app/useApp.js +20 -17
  46. package/lib/app/app/useAppContext.d.ts +8 -0
  47. package/lib/{ui/app → app}/index.d.ts +0 -1
  48. package/lib/app/login/demo.d.ts +5 -0
  49. package/lib/{ui → app}/login/index.d.ts +0 -1
  50. package/lib/{ui → app}/login/index.js +1 -1
  51. package/lib/app/login/styles.d.ts +7 -0
  52. package/lib/app/login/styles.js +39 -0
  53. package/lib/{ui/app/app → app/masters}/Features/FeatureProvider.d.ts +2 -2
  54. package/lib/{ui/app → app}/masters/Features/FeatureProvider.js +8 -8
  55. package/lib/{ui/app → app}/masters/Features/Gamification/Friends.d.ts +0 -1
  56. package/lib/app/masters/Features/Gamification/Friends.js +19 -0
  57. package/lib/{ui/app → app}/masters/Features/Gamification/Leaderboard.d.ts +3 -3
  58. package/lib/{ui/app → app}/masters/Features/Gamification/Leaderboard.js +10 -10
  59. package/lib/{ui/app/app → app/masters}/Features/Gamification/Question.d.ts +1 -1
  60. package/lib/{ui/app → app}/masters/Features/Gamification/Question.js +11 -11
  61. package/lib/{ui/app → app}/masters/Features/Gamification/QuestionsList.d.ts +2 -2
  62. package/lib/{ui/app → app}/masters/Features/Gamification/QuestionsList.js +1 -1
  63. package/lib/{ui/app/app → app/masters}/Features/Gamification/Tabs.d.ts +3 -3
  64. package/lib/{ui/app → app}/masters/Features/Gamification/Tabs.js +12 -12
  65. package/lib/{ui/app → app}/masters/Features/Gamification/UserSummary.d.ts +2 -2
  66. package/lib/{ui/app/app → app/masters}/Features/Gamification/UserSummary.js +1 -1
  67. package/lib/{ui/app → app}/masters/Features/Gamification/gamification-feature.d.ts +1 -0
  68. package/lib/{ui/app → app}/masters/Features/Gamification/index.d.ts +3 -3
  69. package/lib/app/masters/Features/Gamification/index.js +88 -0
  70. package/lib/{ui/app/app → app/masters}/Features/index.d.ts +4 -4
  71. package/lib/{ui/app → app}/masters/Navigation/MastersNavigation/index.d.ts +5 -5
  72. package/lib/{ui/app → app}/masters/Navigation/MastersNavigation/index.js +5 -5
  73. package/lib/{ui/app → app}/masters/Notifications/Onboarding/Notification/index.d.ts +2 -2
  74. package/lib/app/masters/Notifications/Onboarding/Notification/styles.d.ts +9 -0
  75. package/lib/{ui/app/app → app/masters}/Notifications/Onboarding/Notification/styles.js +16 -16
  76. package/lib/{ui/app/app → app/masters}/Notifications/Onboarding/index.d.ts +4 -4
  77. package/lib/{mastersLogoSolid-B4Dz-vm1.js → app/masters/Notifications/Onboarding/index.js} +166 -2
  78. package/lib/{ui/app → app}/masters/Notifications/index.d.ts +3 -3
  79. package/lib/{ui/app → app}/masters/Notifications/index.js +48 -47
  80. package/lib/app/masters/Notifications/styles.d.ts +9 -0
  81. package/lib/{ui/app/app → app/masters}/Notifications/styles.js +10 -10
  82. package/lib/app/masters/Points/index.d.ts +5 -0
  83. package/lib/{ui/app → app}/masters/Points/index.js +1 -1
  84. package/lib/{ui/app → app}/masters/masters.d.ts +3 -3
  85. package/lib/{ui/app → app}/masters/masters.js +20 -20
  86. package/lib/{ui/app → app}/masters/useMastersApp.d.ts +2 -1
  87. package/lib/app/masters/useMastersApp.js +71 -0
  88. package/lib/app/masters/useMastersContext.d.ts +8 -0
  89. package/lib/app/styles.d.ts +20 -0
  90. package/lib/{ui/app → app}/styles.js +13 -13
  91. package/lib/{ui/app → app}/useClipboardCopy.d.ts +3 -3
  92. package/lib/{ui/app → app}/useClipboardCopy.js +2 -2
  93. package/lib/{ui/app → app}/useSdkFeature.d.ts +2 -1
  94. package/lib/{ui/app → app}/useSdkResponsive.d.ts +3 -1
  95. package/lib/{ui/app → app}/useSdkResponsive.js +2 -2
  96. package/lib/{ui/app → app}/useSdkScroll.d.ts +3 -2
  97. package/lib/{ui/app → app}/useSdkScroll.js +2 -2
  98. package/lib/assets/style.css +1 -1
  99. package/lib/hooks/showIn.js +1 -1
  100. package/lib/{index-Bicco-Aq.js → index-B1QdimmR.js} +7737 -8219
  101. package/lib/index.d.ts +1 -1
  102. package/lib/index.js +1 -1
  103. package/lib/ui/advertisement/banner/index.d.ts +6 -0
  104. package/lib/ui/advertisement/banner/index.js +27 -0
  105. package/lib/ui/advertisement/index.d.ts +9 -0
  106. package/lib/ui/advertisement/index.js +31 -0
  107. package/lib/ui/advertisement/mock.d.ts +3 -0
  108. package/lib/ui/advertisement/mock.js +33 -0
  109. package/lib/ui/advertisement/overlay/index.d.ts +5 -0
  110. package/lib/ui/advertisement/overlay/index.js +21 -0
  111. package/lib/ui/advertisement/sidebar/index.d.ts +6 -0
  112. package/lib/ui/advertisement/sidebar/index.js +23 -0
  113. package/lib/ui/animated-counter/index.d.ts +1 -1
  114. package/lib/ui/button/index.d.ts +0 -1
  115. package/lib/ui/button/styles.d.ts +2 -3
  116. package/lib/ui/gamification/constants.d.ts +1 -0
  117. package/lib/ui/gamification/copyNotification/index.d.ts +0 -1
  118. package/lib/ui/gamification/copyNotification/styles.d.ts +3 -4
  119. package/lib/ui/gamification/detail/header/index.d.ts +1 -1
  120. package/lib/ui/gamification/detail/header/styles.d.ts +4 -5
  121. package/lib/ui/gamification/detail/sponsor/index.d.ts +1 -1
  122. package/lib/ui/gamification/detail/sponsor/index.js +13 -7
  123. package/lib/ui/gamification/insight/index.d.ts +1 -1
  124. package/lib/ui/gamification/insight/styles.d.ts +8 -9
  125. package/lib/ui/gamification/insight-list/index.d.ts +1 -1
  126. package/lib/ui/gamification/insight-list/styles.d.ts +2 -3
  127. package/lib/ui/gamification/invite-link/index.d.ts +0 -1
  128. package/lib/ui/gamification/invite-link/index.js +13 -13
  129. package/lib/ui/gamification/invite-link/styles.d.ts +5 -6
  130. package/lib/ui/gamification/invite-link/styles.js +11 -11
  131. package/lib/ui/gamification/leaderboard/index.d.ts +1 -1
  132. package/lib/ui/gamification/leaderboard/list-item/index.d.ts +2 -2
  133. package/lib/ui/gamification/leaderboard/list-item/styles.d.ts +7 -8
  134. package/lib/ui/gamification/leaderboard/static.d.ts +3 -3
  135. package/lib/ui/gamification/leaderboard/styles.d.ts +1 -2
  136. package/lib/ui/gamification/leaderboard/styles.js +1 -1
  137. package/lib/ui/gamification/onboarding/index.d.ts +3 -3
  138. package/lib/ui/gamification/onboarding/invitingUser/index.d.ts +0 -1
  139. package/lib/ui/gamification/onboarding/invitingUser/styles.d.ts +5 -6
  140. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/index.d.ts +1 -0
  141. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/styles.d.ts +10 -11
  142. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.d.ts +1 -1
  143. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.js +6 -6
  144. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/styles.d.ts +9 -10
  145. package/lib/ui/gamification/onboarding/slides/onboarding-rules/index.d.ts +1 -1
  146. package/lib/ui/gamification/onboarding/slides/onboarding-rules/styles.d.ts +8 -9
  147. package/lib/ui/gamification/onboarding/slides/onboarding-terms/index.d.ts +0 -1
  148. package/lib/ui/gamification/onboarding/slides/onboarding-terms/styles.d.ts +4 -5
  149. package/lib/ui/gamification/onboarding/styles.d.ts +5 -6
  150. package/lib/ui/gamification/points/index.d.ts +0 -1
  151. package/lib/ui/gamification/points/styles.d.ts +5 -6
  152. package/lib/ui/gamification/question/index.d.ts +2 -2
  153. package/lib/ui/gamification/question/index.js +26 -26
  154. package/lib/ui/gamification/question/insight/index.d.ts +1 -1
  155. package/lib/ui/gamification/question/insight/styles.d.ts +2 -3
  156. package/lib/ui/gamification/question/list/index.d.ts +2 -2
  157. package/lib/ui/gamification/question/list/styles.d.ts +1 -2
  158. package/lib/ui/gamification/question/notification/index.d.ts +2 -2
  159. package/lib/ui/gamification/question/notification/insight/index.d.ts +2 -2
  160. package/lib/ui/gamification/question/notification/insight/styles.d.ts +7 -8
  161. package/lib/ui/gamification/question/notification/pill/index.d.ts +0 -1
  162. package/lib/ui/gamification/question/notification/pill/styles.d.ts +3 -4
  163. package/lib/ui/gamification/question/notification/prediction-result/animation-lines/index.d.ts +0 -1
  164. package/lib/ui/gamification/question/notification/prediction-result/animation-lines/styles.d.ts +58 -31
  165. package/lib/ui/gamification/question/notification/prediction-result/index.d.ts +3 -2
  166. package/lib/ui/gamification/question/notification/prediction-result/index.js +55 -54
  167. package/lib/ui/gamification/question/notification/prediction-result/styles.d.ts +11 -10
  168. package/lib/ui/gamification/question/notification/styles.d.ts +6 -7
  169. package/lib/ui/gamification/question/notification/tweet/index.d.ts +3 -3
  170. package/lib/ui/gamification/question/notification/tweet/styles.d.ts +4 -5
  171. package/lib/ui/gamification/question/styles.d.ts +14 -14
  172. package/lib/ui/gamification/question/styles.js +48 -43
  173. package/lib/ui/gamification/question/twitter/index.d.ts +2 -2
  174. package/lib/ui/gamification/question/twitter/styles.d.ts +3 -4
  175. package/lib/ui/gamification/tabs/index.d.ts +0 -1
  176. package/lib/ui/gamification/tabs/styles.d.ts +4 -5
  177. package/lib/ui/gamification/user-statistics/components/rank/index.d.ts +0 -1
  178. package/lib/ui/gamification/user-statistics/components/rank/styles.d.ts +3 -4
  179. package/lib/ui/gamification/user-statistics/components/statistic/index.d.ts +0 -1
  180. package/lib/ui/gamification/user-statistics/components/statistic/styles.d.ts +3 -4
  181. package/lib/ui/gamification/user-statistics/index.d.ts +0 -1
  182. package/lib/ui/gamification/user-statistics/styles.d.ts +17 -18
  183. package/lib/ui/gamification/vote/alert/index.d.ts +2 -1
  184. package/lib/ui/gamification/vote/alert/styles.d.ts +3 -4
  185. package/lib/ui/gamification/vote/feedback/index.d.ts +1 -1
  186. package/lib/ui/gamification/vote/feedback/styles.d.ts +8 -9
  187. package/lib/ui/gamification/vote/index.d.ts +1 -1
  188. package/lib/ui/gamification/vote/insight-details/index.d.ts +1 -1
  189. package/lib/ui/gamification/vote/insight-details/styles.d.ts +2 -3
  190. package/lib/ui/gamification/vote/styles.d.ts +4 -5
  191. package/lib/ui/gamification/vote/styles.js +1 -1
  192. package/lib/ui/gamification/vote/twitter-details/index.d.ts +2 -2
  193. package/lib/ui/gamification/vote/twitter-details/styles.d.ts +2 -3
  194. package/lib/ui/gamification/vote/vote-option/index.d.ts +1 -1
  195. package/lib/ui/gamification/vote/vote-option/styles.d.ts +19 -16
  196. package/lib/ui/gamification/vote/win-bar/index.d.ts +1 -1
  197. package/lib/ui/gamification/vote/win-bar/styles.d.ts +6 -7
  198. package/lib/ui/icons/index.d.ts +1 -1
  199. package/lib/ui/icons/index.js +107 -47
  200. package/lib/ui/lottie/index.d.ts +0 -1
  201. package/lib/ui/modal/index.d.ts +0 -1
  202. package/lib/ui/modal/index.js +1 -1
  203. package/lib/ui/navigation/button/Channels.d.ts +1 -1
  204. package/lib/ui/navigation/button/FeaturedGroups.d.ts +1 -1
  205. package/lib/ui/navigation/button/LeaderBoard.d.ts +1 -1
  206. package/lib/ui/navigation/button/index.d.ts +1 -1
  207. package/lib/ui/navigation/button/styles.d.ts +6 -7
  208. package/lib/ui/navigation/index.d.ts +1 -1
  209. package/lib/ui/navigation/masters.d.ts +6 -5
  210. package/lib/ui/questions/insight/index.d.ts +1 -1
  211. package/lib/ui/questions/insight/styles.d.ts +6 -7
  212. package/lib/ui/questions/twitter/account/index.d.ts +0 -1
  213. package/lib/ui/questions/twitter/account/styles.d.ts +6 -7
  214. package/lib/ui/questions/twitter/index.d.ts +1 -1
  215. package/lib/ui/questions/twitter/styles.d.ts +14 -11
  216. package/lib/ui/show-in/index.d.ts +2 -1
  217. package/lib/ui/skeleton/index.d.ts +0 -1
  218. package/lib/ui/skeleton/styles.d.ts +1 -2
  219. package/lib/ui/slide-in/index.d.ts +11 -0
  220. package/lib/ui/slide-in/index.js +29 -0
  221. package/lib/ui/theme/ThemeColors.js +1 -1
  222. package/lib/ui/theme/breakpoints.d.ts +1 -0
  223. package/lib/ui/theme/constants.d.ts +12 -59
  224. package/lib/ui/theme/constants.js +26 -55
  225. package/lib/ui/theme/index.d.ts +0 -1
  226. package/lib/ui/theme/masters-theme.d.ts +4 -24
  227. package/lib/ui/theme/masters-theme.js +26 -58
  228. package/lib/ui/theme/masters.d.ts +0 -1
  229. package/lib/ui/theme/theme.d.ts +1 -1
  230. package/lib/ui/theme/theme.js +3 -3
  231. package/lib/ui/timer/index.d.ts +3 -2
  232. package/lib/ui/timer/index.js +32 -32
  233. package/lib/ui/video-player/index.d.ts +0 -1
  234. package/lib/ui/video-player/styles.d.ts +5 -6
  235. package/lib/utils/debug/storage.js +1 -1
  236. package/lib/utils/storage.js +1 -1
  237. package/package.json +46 -41
  238. package/lib/styles_z07sl8-l0sNRNKZ.js +0 -1
  239. package/lib/ui/app/app/Features/Gamification/Question.js +0 -69
  240. package/lib/ui/app/app/Features/Gamification/index.js +0 -88
  241. package/lib/ui/app/app/Navigation/index.js +0 -42
  242. package/lib/ui/app/app/Notifications/Onboarding/Notification/styles.d.ts +0 -10
  243. package/lib/ui/app/app/Notifications/Onboarding/index.js +0 -172
  244. package/lib/ui/app/app/Notifications/styles.d.ts +0 -8
  245. package/lib/ui/app/app/Points/index.d.ts +0 -5
  246. package/lib/ui/app/app/useAppContext.d.ts +0 -8
  247. package/lib/ui/app/masters/Features/Gamification/Friends.js +0 -19
  248. package/lib/ui/app/masters/Navigation/index.d.ts +0 -9
  249. package/lib/ui/app/masters/Navigation/index.js +0 -30
  250. package/lib/ui/app/masters/Notifications/Onboarding/Notification/styles.d.ts +0 -10
  251. package/lib/ui/app/masters/Notifications/Onboarding/Notification/styles.js +0 -50
  252. package/lib/ui/app/masters/Notifications/Onboarding/index.js +0 -172
  253. package/lib/ui/app/masters/Notifications/styles.d.ts +0 -8
  254. package/lib/ui/app/masters/Notifications/styles.js +0 -31
  255. package/lib/ui/app/masters/Points/index.d.ts +0 -5
  256. package/lib/ui/app/masters/useMastersApp.js +0 -68
  257. package/lib/ui/app/masters/useMastersContext.d.ts +0 -8
  258. package/lib/ui/app/styles.d.ts +0 -15
  259. package/lib/ui/login/demo.d.ts +0 -6
  260. package/lib/ui/login/styles.d.ts +0 -8
  261. package/lib/ui/login/styles.js +0 -39
  262. /package/lib/{ui/app → app}/app/Features/Gamification/gamification-feature.js +0 -0
  263. /package/lib/{ui/app → app}/app/Features/index.js +0 -0
  264. /package/lib/{ui/app → app}/app/Notifications/Onboarding/Notification/index.js +0 -0
  265. /package/lib/{ui/app → app}/app/useAppContext.js +0 -0
  266. /package/lib/{ui/app → app}/index.js +0 -0
  267. /package/lib/{ui → app}/login/demo.js +0 -0
  268. /package/lib/{ui/app → app}/masters/Features/Gamification/gamification-feature.js +0 -0
  269. /package/lib/{ui/app → app}/masters/Features/index.js +0 -0
  270. /package/lib/{ui/app → app}/masters/Notifications/Onboarding/Notification/index.js +0 -0
  271. /package/lib/{ui/app → app}/masters/useMastersContext.js +0 -0
  272. /package/lib/{ui/app → app}/useImagesPreload.d.ts +0 -0
  273. /package/lib/{ui/app → app}/useImagesPreload.js +0 -0
  274. /package/lib/{ui/app → app}/useSdkFeature.js +0 -0
@@ -1,7 +1,6 @@
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 ButtonIcon: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
4
- export declare const ButtonLabel: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
5
- export declare const SelectedButton: import("@linaria/core").LinariaClassName;
6
- export declare const HoverIconState: import("@linaria/core").LinariaClassName;
7
- export declare const HoverIconLeaderboardState: import("@linaria/core").LinariaClassName;
1
+ export declare const SButton: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
2
+ export declare const ButtonIcon: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLSpanElement> & import('react').HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
3
+ export declare const ButtonLabel: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLSpanElement> & import('react').HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
4
+ export declare const SelectedButton: import('@linaria/core').LinariaClassName;
5
+ export declare const HoverIconState: import('@linaria/core').LinariaClassName;
6
+ export declare const HoverIconLeaderboardState: import('@linaria/core').LinariaClassName;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from './button';
2
+
3
3
  export declare const Navigation: React.FC<{
4
4
  children: React.ReactElement<ButtonProps>[];
5
5
  className?: string;
@@ -1,6 +1,7 @@
1
- /// <reference types="react" />
2
- export declare const Navigation: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
- export declare const NavigationItems: import("@linaria/react").WYWEvalMeta & import("react").FC<{
4
- children: import("react").ReactElement<import("./button").ButtonProps, string | import("react").JSXElementConstructor<any>>[];
5
- className?: string | undefined;
1
+ export declare const Navigation: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
2
+ export declare const NavigationItems: {
3
+ __wyw_meta: unknown;
4
+ } & import('react').FC<{
5
+ children: React.ReactElement<import('./button').ButtonProps>[];
6
+ className?: string;
6
7
  }>;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { InsightHistory } from '@streamlayer/sdk-web-types';
3
2
  import { VideoPlayerProps } from '../../video-player';
3
+
4
4
  export type InsightContentProps = InsightHistory & {
5
5
  isDetail?: boolean;
6
6
  controlVideo: VideoPlayerProps['controlVideo'];
@@ -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 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<HTMLHeadingElement> & import("react").HTMLAttributes<HTMLHeadingElement> & Record<never, unknown>>;
5
- export declare const Description: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
- export declare const Image: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
7
- export declare const ImageContainer: 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<HTMLHeadingElement> & import('react').HTMLAttributes<HTMLHeadingElement> & Record<never, unknown>>;
4
+ export declare const Description: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
+ export declare const Image: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
6
+ export declare const ImageContainer: 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
  export type AccountProps = {
3
2
  image: string;
4
3
  name: string | undefined;
@@ -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 ImageContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
- export declare const Image: 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 ImageContainer: 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>>;
5
4
  export declare const TwitterIcon: any;
6
- export declare const Details: 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<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
- export declare const UserNameAndDate: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
+ export declare const Details: 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<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
7
+ export declare const UserNameAndDate: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { TweetHistory } from '@streamlayer/sdk-web-types';
3
2
  import { VideoPlayerProps } from '../../video-player';
3
+
4
4
  export type TwitterContentProps = TweetHistory & {
5
5
  isDetail?: boolean;
6
6
  controlVideo: VideoPlayerProps['controlVideo'];
@@ -1,13 +1,16 @@
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 Details: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
- export declare const Body: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
- export declare const ImagesContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
- export declare const ImagesBlock: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
7
- export declare const Image: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
8
- export declare const ImageFullSize: import("@linaria/react").WYWEvalMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown> & {
9
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
1
+ export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
2
+ export declare const Details: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
+ export declare const Body: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
+ export declare const ImagesContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
+ export declare const ImagesBlock: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
+ export declare const Image: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
7
+ export declare const ImageFullSize: {
8
+ __wyw_meta: unknown;
9
+ } & import('react').FunctionComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown> & {
10
+ as?: import('react').ElementType;
10
11
  }>;
11
- export declare const ImageHalfSize: import("@linaria/react").WYWEvalMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown> & {
12
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
12
+ export declare const ImageHalfSize: {
13
+ __wyw_meta: unknown;
14
+ } & import('react').FunctionComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown> & {
15
+ as?: import('react').ElementType;
13
16
  }>;
@@ -1,4 +1,5 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  type ShowInProps = {
3
4
  children: React.ReactNode | React.ReactNode[];
4
5
  style?: React.CSSProperties;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type SkeletonProps = {
3
2
  style?: React.CSSProperties;
4
3
  children?: React.ReactNode;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
- export declare const Container: 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>>;
@@ -0,0 +1,11 @@
1
+ type SlideInProps = {
2
+ children: React.ReactNode | React.ReactNode[];
3
+ direction: 'left' | 'right' | 'top' | 'bottom';
4
+ style?: React.CSSProperties;
5
+ className?: string;
6
+ enabled?: boolean;
7
+ hiding?: boolean;
8
+ onAnimationEnd?: React.AnimationEventHandler;
9
+ };
10
+ export declare const SlideIn: React.FC<SlideInProps>;
11
+ export {};
@@ -0,0 +1,29 @@
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import { cx as a } from "@linaria/core";
3
+ import { styled as c } from "@linaria/react";
4
+ const l = /* @__PURE__ */ c("div")({
5
+ name: "Container",
6
+ class: "c5b6wdg",
7
+ propsAsIs: !1
8
+ }), d = {
9
+ left: "l1rlj479",
10
+ right: "r35f1di",
11
+ top: "tj4471g",
12
+ bottom: "b12050d8"
13
+ }, f = "h1d5ybek", h = ({
14
+ children: o,
15
+ style: i,
16
+ className: n,
17
+ enabled: t = !0,
18
+ hiding: r,
19
+ direction: s = "left",
20
+ onAnimationEnd: e
21
+ }) => /* @__PURE__ */ m(l, {
22
+ style: i,
23
+ className: a(n, t && d[s], t && r && f),
24
+ onAnimationEnd: e,
25
+ children: o
26
+ });
27
+ export {
28
+ h as SlideIn
29
+ };
@@ -1,6 +1,6 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import { ColorItem as e } from "@storybook/blocks";
3
- import { PALETTE_COLORS as r } from "./constants.js";
3
+ import { COLORS as r } from "./constants.js";
4
4
  const l = Object.keys(r), p = () => l.map((o) => /* @__PURE__ */ t(
5
5
  e,
6
6
  {
@@ -1,4 +1,5 @@
1
1
  import { BREAKPOINTS, ORIENTATION } from './constants';
2
+
2
3
  export type Breakpoints = keyof typeof BREAKPOINTS;
3
4
  export type Orientation = keyof typeof ORIENTATION;
4
5
  export declare const breakpoints: {
@@ -1,66 +1,16 @@
1
- export declare const PALETTE_COLORS: {
2
- PRIMARY_GREEN1: string;
3
- PRIMARY_GREEN2: string;
4
- PRIMARY_GREEN3: string;
5
- PRIMARY_GREEN4: string;
6
- SECONDARY_RED1: string;
7
- SECONDARY_RED2: string;
8
- SECONDARY_RED3: string;
9
- SECONDARY_YELLOW: string;
10
- SECONDARY_GREEN5: string;
11
- SECONDARY_GREEN6: string;
12
- NEUTRALS_WHITE: string;
13
- NEUTRALS_GRAY1: string;
14
- NEUTRALS_GRAY2: string;
15
- NEUTRALS_GRAY3: string;
16
- NEUTRALS_GRAY4: string;
17
- NEUTRALS_GRAY5: string;
18
- NEUTRALS_GRAY6: string;
19
- NEUTRALS_GRAY7: string;
20
- NEUTRALS_GRAY8: string;
21
- NEUTRALS_GRAY9: string;
22
- NEUTRALS_BLACK: string;
23
- };
24
1
  export declare const COLORS: {
25
2
  BG_TRANSPARENT: string;
26
- BG_TRANSPARENT_VOTE_CONTAINER: string;
27
- BG_TRANSPARENT_ITEM: string;
28
- BG_TRANSPARENT_ITEM_VOTE: string;
29
- BG_TRANSPARENT_ITEM_SUCCESS: string;
30
- BG_TRANSPARENT_ITEM_ERROR: string;
31
- BG_TRANSPARENT_VOTE_PROGRESS: string;
32
- BG_TRANSPARENT_VOTE_PROGRESS_SUCCESS: string;
33
- BG_TRANSPARENT_VOTE_PROGRESS_ERROR: string;
34
- BG_TRANSPARENT_ONBOARDING_INAPP: string;
35
- LEADERBOARD_UNIT: string;
36
- BLUE_PRIMARY: string;
37
- RED_PRIMARY: string;
38
- RED_SECONDARY: string;
39
3
  BLUE_QUESTION_ACTION_BTN: string;
40
4
  WHITE: string;
41
- GREY_1: string;
42
- GREY_2: string;
43
- GREY_3: string;
44
- GREY_4: string;
45
- GREY_PRIMARY_ONBOARDING_INAPP: string;
46
- BLACK_1: string;
47
- GREEN_1: string;
48
- RED_1: string;
49
- RED_2: string;
5
+ BLUE: string;
50
6
  GREY_PRIMARY: string;
51
- DIVIDER_COLOR_SECONDARY: string;
52
- GREEN_PRIMARY_BTN: string;
53
- } & {
54
- PRIMARY_GREEN1: string;
55
- PRIMARY_GREEN2: string;
56
- PRIMARY_GREEN3: string;
57
- PRIMARY_GREEN4: string;
7
+ GREY_PRIMARY_ONBOARDING_INAPP: string;
8
+ PRIMARY_1: string;
9
+ PRIMARY_2: string;
10
+ PRIMARY_TEXT: string;
11
+ SUCCESS: string;
12
+ UNSUCCESS: string;
58
13
  SECONDARY_RED1: string;
59
- SECONDARY_RED2: string;
60
- SECONDARY_RED3: string;
61
- SECONDARY_YELLOW: string;
62
- SECONDARY_GREEN5: string;
63
- SECONDARY_GREEN6: string;
64
14
  NEUTRALS_WHITE: string;
65
15
  NEUTRALS_GRAY1: string;
66
16
  NEUTRALS_GRAY2: string;
@@ -69,10 +19,13 @@ export declare const COLORS: {
69
19
  NEUTRALS_GRAY5: string;
70
20
  NEUTRALS_GRAY6: string;
71
21
  NEUTRALS_GRAY7: string;
72
- NEUTRALS_GRAY8: string;
73
22
  NEUTRALS_GRAY9: string;
74
- NEUTRALS_BLACK: string;
75
23
  };
24
+ export declare const TIMER_COLORS: string[];
25
+ export declare const TIMER_GREEN = "#cee5de";
26
+ export declare const TIMER_RED = "#f9d6d8";
27
+ export declare const TIMER_GRAY = "#E8E8E8";
28
+ export type ICOLORS = typeof COLORS;
76
29
  export declare const FONT: {
77
30
  REGULAR: string;
78
31
  SERIF: string;
@@ -1,43 +1,16 @@
1
- const N = {
1
+ const F = {
2
2
  BG_TRANSPARENT: "rgba(0,0,0, .8)",
3
- BG_TRANSPARENT_VOTE_CONTAINER: "rgba(10, 14, 19, 0.8)",
4
- BG_TRANSPARENT_ITEM: "rgba(0, 0, 0, 0.7)",
5
- BG_TRANSPARENT_ITEM_VOTE: "rgba(255, 255, 255, 0.1)",
6
- BG_TRANSPARENT_ITEM_SUCCESS: "rgba(0, 139, 251, 0.2)",
7
- BG_TRANSPARENT_ITEM_ERROR: "rgba(205, 37, 37, 0.2)",
8
- BG_TRANSPARENT_VOTE_PROGRESS: "rgba(255, 255, 255, 0.2)",
9
- BG_TRANSPARENT_VOTE_PROGRESS_SUCCESS: "rgba(60, 139, 251, 0.5)",
10
- BG_TRANSPARENT_VOTE_PROGRESS_ERROR: "rgba(205, 37, 37, 0.5)",
11
- BG_TRANSPARENT_ONBOARDING_INAPP: "rgba(138, 159, 182, 0.2)",
12
- LEADERBOARD_UNIT: "rgba(255, 255, 255, 0.5)",
13
- BLUE_PRIMARY: "#1589EE",
14
- RED_PRIMARY: "#CD2525",
15
- RED_SECONDARY: "#EB5757",
16
3
  BLUE_QUESTION_ACTION_BTN: "#1589ee",
17
4
  WHITE: "#FFFFFF",
18
- GREY_1: "#909395",
19
- GREY_2: "#22262b",
20
- GREY_3: "#2d3135",
21
- GREY_4: "#53565a",
22
- GREY_PRIMARY_ONBOARDING_INAPP: "#B5B7B8",
23
- BLACK_1: "#161a1f",
24
- GREEN_1: "#F7B801",
25
- RED_1: "#A30000",
26
- RED_2: "#FF4170",
5
+ BLUE: "#2d6ffd",
27
6
  GREY_PRIMARY: "#909395",
28
- DIVIDER_COLOR_SECONDARY: "#53565a",
29
- GREEN_PRIMARY_BTN: "#009B77"
30
- }, T = {
31
- PRIMARY_GREEN1: "#5088C1",
32
- PRIMARY_GREEN2: "#3C6DB4",
33
- PRIMARY_GREEN3: "#2653A2",
34
- PRIMARY_GREEN4: "#1B3A73",
7
+ GREY_PRIMARY_ONBOARDING_INAPP: "#B5B7B8",
8
+ PRIMARY_1: "#1D7BFF",
9
+ PRIMARY_2: "#095CD1",
10
+ PRIMARY_TEXT: "#090E13",
11
+ SUCCESS: "#107D57",
12
+ UNSUCCESS: "#DF2F3B",
35
13
  SECONDARY_RED1: "#DF2F3B",
36
- SECONDARY_RED2: "#BA0C2F",
37
- SECONDARY_RED3: "#f9d6d8",
38
- SECONDARY_YELLOW: "#fce300",
39
- SECONDARY_GREEN5: "#C0DC8F",
40
- SECONDARY_GREEN6: "#cee5de",
41
14
  NEUTRALS_WHITE: "#FFFFFF",
42
15
  NEUTRALS_GRAY1: "#F7F7F7",
43
16
  NEUTRALS_GRAY2: "#F2F2F1",
@@ -46,36 +19,34 @@ const N = {
46
19
  NEUTRALS_GRAY5: "#B1B3B3",
47
20
  NEUTRALS_GRAY6: "#888B8D",
48
21
  NEUTRALS_GRAY7: "#6B6F73",
49
- NEUTRALS_GRAY8: "#53565A",
50
- NEUTRALS_GRAY9: "#25282A",
51
- NEUTRALS_BLACK: "#000000"
52
- }, E = Object.assign({}, N, T), S = {
53
- REGULAR: "'Benton Sans', BentonSans, Arial, Helvetica, sans-serif",
54
- SERIF: "'Tiempos', 'Tiempos Text', Times New Roman, serif",
22
+ NEUTRALS_GRAY9: "#25282A"
23
+ }, T = ["#107D57", "#DF2F3B", "#DF2F3B", "#E8E8E8"], _ = "#cee5de", e = "#f9d6d8", N = "#E8E8E8", S = {
24
+ REGULAR: "'SF Pro Text', Arial, Helvetica, sans-serif",
25
+ SERIF: "'SF Pro Display', Arial, Helvetica, sans-serif",
55
26
  COLOR: "#fff",
56
27
  WEIGHT_DEFAULT: "500"
57
- }, O = {
28
+ }, s = {
58
29
  xs: 324,
59
30
  sm: 576,
60
31
  md: 768,
61
32
  lg: 992,
62
33
  xl: 1200,
63
34
  xxl: 1440
64
- }, G = {
35
+ }, t = {
65
36
  landscape: "landscape",
66
37
  portrait: "portrait"
67
- }, B = Object.keys(E).reduce((A, R) => {
68
- const _ = E[R];
69
- return `
70
- ${A}
71
- --color-${R.toLowerCase().replaceAll("_", "-")}: ${_};
72
- `;
73
- }, "");
38
+ }, o = Object.entries(F).reduce((R, [E, A]) => `
39
+ ${R}
40
+ --color-${E.toLowerCase().replaceAll("_", "-")}: ${A};
41
+ `, "");
74
42
  export {
75
- O as BREAKPOINTS,
76
- E as COLORS,
43
+ s as BREAKPOINTS,
44
+ F as COLORS,
77
45
  S as FONT,
78
- G as ORIENTATION,
79
- T as PALETTE_COLORS,
80
- B as colors
46
+ t as ORIENTATION,
47
+ T as TIMER_COLORS,
48
+ N as TIMER_GRAY,
49
+ _ as TIMER_GREEN,
50
+ e as TIMER_RED,
51
+ o as colors
81
52
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const StreamLayerThemeProvider: React.FC<{
3
2
  children: React.ReactNode;
4
3
  style?: React.CSSProperties;
@@ -1,25 +1,5 @@
1
- export declare const MASTERS_COLORS: {
2
- PRIMARY_GREEN1: string;
3
- PRIMARY_GREEN2: string;
4
- PRIMARY_GREEN3: string;
5
- PRIMARY_GREEN4: string;
6
- SECONDARY_RED1: string;
7
- SECONDARY_RED2: string;
8
- SECONDARY_RED3: string;
9
- SECONDARY_YELLOW: string;
10
- SECONDARY_GREEN5: string;
11
- SECONDARY_GREEN6: string;
12
- NEUTRALS_WHITE: string;
13
- NEUTRALS_GRAY1: string;
14
- NEUTRALS_GRAY2: string;
15
- NEUTRALS_GRAY3: string;
16
- NEUTRALS_GRAY4: string;
17
- NEUTRALS_GRAY5: string;
18
- NEUTRALS_GRAY6: string;
19
- NEUTRALS_GRAY7: string;
20
- NEUTRALS_GRAY8: string;
21
- NEUTRALS_GRAY9: string;
22
- NEUTRALS_BLACK: string;
23
- };
1
+ import { ICOLORS } from './constants';
2
+
3
+ export declare const MASTERS_COLORS: ICOLORS;
24
4
  export declare const mastersThemeStr: string;
25
- export declare const mastersTheme: import("@linaria/core").LinariaClassName;
5
+ export declare const mastersTheme: import('@linaria/core').LinariaClassName;
@@ -1,44 +1,17 @@
1
- import { breakpoints as A } from "./breakpoints.js";
2
- const T = {
1
+ import { breakpoints as R } from "./breakpoints.js";
2
+ const a = {
3
3
  BG_TRANSPARENT: "rgba(0,0,0, .8)",
4
- BG_TRANSPARENT_VOTE_CONTAINER: "rgba(10, 14, 19, 0.8)",
5
- BG_TRANSPARENT_ITEM: "rgba(0, 0, 0, 0.7)",
6
- BG_TRANSPARENT_ITEM_VOTE: "rgba(255, 255, 255, 0.1)",
7
- BG_TRANSPARENT_ITEM_SUCCESS: "rgba(0, 139, 251, 0.2)",
8
- BG_TRANSPARENT_ITEM_ERROR: "rgba(205, 37, 37, 0.2)",
9
- BG_TRANSPARENT_VOTE_PROGRESS: "rgba(255, 255, 255, 0.2)",
10
- BG_TRANSPARENT_VOTE_PROGRESS_SUCCESS: "rgba(60, 139, 251, 0.5)",
11
- BG_TRANSPARENT_VOTE_PROGRESS_ERROR: "rgba(205, 37, 37, 0.5)",
12
- BG_TRANSPARENT_ONBOARDING_INAPP: "rgba(138, 159, 182, 0.2)",
13
- LEADERBOARD_UNIT: "rgba(255, 255, 255, 0.5)",
14
- BLUE_PRIMARY: "#1589EE",
15
- RED_PRIMARY: "#CD2525",
16
- RED_SECONDARY: "#EB5757",
17
4
  BLUE_QUESTION_ACTION_BTN: "#1589ee",
18
5
  WHITE: "#FFFFFF",
19
- GREY_1: "#909395",
20
- GREY_2: "#22262b",
21
- GREY_3: "#2d3135",
22
- GREY_4: "#53565a",
6
+ BLUE: "#2d6ffd",
23
7
  GREY_PRIMARY_ONBOARDING_INAPP: "#B5B7B8",
24
- BLACK_1: "#161a1f",
25
- GREEN_1: "#F7B801",
26
- RED_1: "#A30000",
27
- RED_2: "#FF4170",
28
8
  GREY_PRIMARY: "#909395",
29
- DIVIDER_COLOR_SECONDARY: "#53565a",
30
- GREEN_PRIMARY_BTN: "#009B77"
31
- }, S = {
32
- PRIMARY_GREEN1: "#107D57",
33
- PRIMARY_GREEN2: "#006747",
34
- PRIMARY_GREEN3: "#1C4932",
35
- PRIMARY_GREEN4: "#193526",
9
+ PRIMARY_1: "#107D57",
10
+ PRIMARY_2: "#006747",
11
+ PRIMARY_TEXT: "#006747",
12
+ SUCCESS: "#107D57",
13
+ UNSUCCESS: "#DF2F3B",
36
14
  SECONDARY_RED1: "#DF2F3B",
37
- SECONDARY_RED2: "#BA0C2F",
38
- SECONDARY_RED3: "#f9d6d8",
39
- SECONDARY_YELLOW: "#fce300",
40
- SECONDARY_GREEN5: "#C0DC8F",
41
- SECONDARY_GREEN6: "#cee5de",
42
15
  NEUTRALS_WHITE: "#FFFFFF",
43
16
  NEUTRALS_GRAY1: "#F7F7F7",
44
17
  NEUTRALS_GRAY2: "#F2F2F1",
@@ -47,27 +20,22 @@ const T = {
47
20
  NEUTRALS_GRAY5: "#B1B3B3",
48
21
  NEUTRALS_GRAY6: "#888B8D",
49
22
  NEUTRALS_GRAY7: "#6B6F73",
50
- NEUTRALS_GRAY8: "#53565A",
51
- NEUTRALS_GRAY9: "#25282A",
52
- NEUTRALS_BLACK: "#000000"
53
- }, _ = Object.assign({}, T, S), R = {
23
+ NEUTRALS_GRAY9: "#25282A"
24
+ }, e = {
54
25
  REGULAR: "'Benton Sans', BentonSans, Arial, Helvetica, sans-serif",
55
26
  SERIF: "'Tiempos', 'Tiempos Text', Times New Roman, serif",
56
27
  COLOR: "#fff",
57
28
  WEIGHT_DEFAULT: "500"
58
- }, a = Object.keys(_).reduce((e, E) => {
59
- const N = _[E];
60
- return `
61
- ${e}
62
- --color-${E.toLowerCase().replaceAll("_", "-")}: ${N};
63
- `;
64
- }, ""), r = `
65
- ${a}
66
- --font-family: ${R.REGULAR};
67
- --font-regular: ${R.REGULAR};
68
- --font-color: ${R.COLOR};
69
- --font-serif: ${R.SERIF};
70
- --font-weight-default: ${R.WEIGHT_DEFAULT};
29
+ }, n = Object.entries(a).reduce((t, [o, A]) => `
30
+ ${t}
31
+ --color-${o.toLowerCase().replaceAll("_", "-")}: ${A};
32
+ `, ""), E = `
33
+ ${n}
34
+ --font-family: ${e.REGULAR};
35
+ --font-regular: ${e.REGULAR};
36
+ --font-color: ${e.COLOR};
37
+ --font-serif: ${e.SERIF};
38
+ --font-weight-default: ${e.WEIGHT_DEFAULT};
71
39
 
72
40
  --header-offset: 0px;
73
41
  --header-height: 68px;
@@ -80,17 +48,17 @@ const T = {
80
48
  --max-width: 600px;
81
49
  --max-notifications-width: 400px;
82
50
 
83
- ${A.down("xl")`
51
+ ${R.down("xl")`
84
52
  --header-offset: 56px;
85
53
  --watch-live-header: 46px;
86
54
  `}
87
55
 
88
- ${A.intermediate("xl", "lg")`
56
+ ${R.intermediate("xl", "lg")`
89
57
  --header-offset: 76px;
90
58
  `}
91
- `, G = "m1ojpy2l";
59
+ `, i = "m1ojpy2l";
92
60
  export {
93
- S as MASTERS_COLORS,
94
- G as mastersTheme,
95
- r as mastersThemeStr
61
+ a as MASTERS_COLORS,
62
+ i as mastersTheme,
63
+ E as mastersThemeStr
96
64
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const StreamLayerMastersThemeProvider: React.FC<{
3
2
  children: React.ReactNode;
4
3
  style?: React.CSSProperties;
@@ -3,5 +3,5 @@ export declare const themeStr: string;
3
3
  * @link https://stackoverflow.com/a/65560812
4
4
  */
5
5
  export declare const resetCss = "StreamLayerCSSReset";
6
- export declare const theme: import("@linaria/core").LinariaClassName;
6
+ export declare const theme: import('@linaria/core').LinariaClassName;
7
7
  export declare const ThemeVariables: () => import("react/jsx-runtime").JSX.Element;
@@ -10,7 +10,7 @@ const l = `
10
10
  --font-weight-default: ${t.WEIGHT_DEFAULT};
11
11
 
12
12
  --header-offset: 0px;
13
- --header-height: 0px;
13
+ --header-height: 68px;
14
14
  --watch-live-header: 0px;
15
15
  --animation-duration: 0.5s;
16
16
  --animation-function: ease;
@@ -21,12 +21,12 @@ const l = `
21
21
  --max-notifications-width: 400px;
22
22
 
23
23
  ${n.down("xl")`
24
- --header-offset: 56px;
24
+ --header-offset: 0px;
25
25
  --watch-live-header: 46px;
26
26
  `}
27
27
 
28
28
  ${n.intermediate("xl", "lg")`
29
- --header-offset: 76px;
29
+ --header-offset: 0px;
30
30
  `}
31
31
  `, p = "StreamLayerCSSReset", m = "ttkj0ah", x = () => /* @__PURE__ */ e("table", {
32
32
  children: /* @__PURE__ */ r("table", {
@@ -1,9 +1,10 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  interface TimerProps {
3
4
  isPlaying?: boolean;
4
5
  duration?: number;
5
6
  onTimerExpired?: () => void;
6
7
  }
7
- export declare const RemainingTime: import("@linaria/react").StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
+ export declare const RemainingTime: import('@linaria/react').StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
9
  export declare const Timer: React.FC<TimerProps>;
9
10
  export {};