@streamlayer/react-ui 0.100.5 → 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 (270) 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}/app/Features/FeatureProvider.d.ts +2 -2
  4. package/lib/{ui → app}/app/Features/FeatureProvider.js +10 -10
  5. package/lib/{ui → app}/app/Features/Gamification/Friends.d.ts +0 -1
  6. package/lib/{ui → app}/app/Features/Gamification/Friends.js +2 -2
  7. package/lib/app/app/Features/Gamification/Leaderboard.d.ts +9 -0
  8. package/lib/app/app/Features/Gamification/Leaderboard.js +55 -0
  9. package/lib/{ui → 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/Features/Gamification/QuestionsList.d.ts +2 -2
  12. package/lib/app/app/Features/Gamification/QuestionsList.js +11 -0
  13. package/lib/app/app/Features/Gamification/Tabs.d.ts +14 -0
  14. package/lib/{ui → app}/app/Features/Gamification/Tabs.js +12 -12
  15. package/lib/{ui → app}/app/Features/Gamification/UserSummary.d.ts +2 -2
  16. package/lib/{ui → app}/app/Features/Gamification/UserSummary.js +1 -1
  17. package/lib/{ui → app}/app/Features/Gamification/gamification-feature.d.ts +1 -0
  18. package/lib/{ui → app}/app/Features/Gamification/index.d.ts +5 -5
  19. package/lib/app/app/Features/Gamification/index.js +88 -0
  20. package/lib/{ui → app}/app/Features/index.d.ts +5 -5
  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/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/app/app/Notifications/Onboarding/index.d.ts +14 -0
  27. package/lib/app/app/Notifications/Onboarding/index.js +168 -0
  28. package/lib/app/app/Notifications/index.d.ts +13 -0
  29. package/lib/{ui → app}/app/Notifications/index.js +24 -24
  30. package/lib/app/app/Notifications/styles.d.ts +9 -0
  31. package/lib/app/app/Notifications/styles.js +31 -0
  32. package/lib/app/app/Points/index.d.ts +5 -0
  33. package/lib/{ui → app}/app/Points/index.js +1 -1
  34. package/lib/app/app/index.d.ts +11 -0
  35. package/lib/app/app/index.js +101 -0
  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/app/app/useApp.d.ts +20 -0
  45. package/lib/app/app/useApp.js +48 -0
  46. package/lib/app/app/useAppContext.d.ts +8 -0
  47. package/lib/app/app/useAppContext.js +8 -0
  48. package/lib/app/index.d.ts +6 -0
  49. package/lib/app/login/demo.d.ts +5 -0
  50. package/lib/{ui → app}/login/index.d.ts +0 -1
  51. package/lib/{ui → app}/login/index.js +1 -1
  52. package/lib/app/login/styles.d.ts +7 -0
  53. package/lib/app/login/styles.js +39 -0
  54. package/lib/app/masters/Features/FeatureProvider.d.ts +11 -0
  55. package/lib/app/masters/Features/FeatureProvider.js +38 -0
  56. package/lib/app/masters/Features/Gamification/Friends.d.ts +3 -0
  57. package/lib/app/masters/Features/Gamification/Friends.js +19 -0
  58. package/lib/app/masters/Features/Gamification/Leaderboard.d.ts +9 -0
  59. package/lib/{ui/app → app/masters}/Features/Gamification/Leaderboard.js +10 -10
  60. package/lib/app/masters/Features/Gamification/Question.d.ts +5 -0
  61. package/lib/{ui/app → app/masters}/Features/Gamification/Question.js +15 -15
  62. package/lib/app/masters/Features/Gamification/QuestionsList.d.ts +6 -0
  63. package/lib/{ui/app → app/masters}/Features/Gamification/QuestionsList.js +1 -1
  64. package/lib/app/masters/Features/Gamification/Tabs.d.ts +14 -0
  65. package/lib/app/masters/Features/Gamification/Tabs.js +44 -0
  66. package/lib/app/masters/Features/Gamification/UserSummary.d.ts +5 -0
  67. package/lib/app/masters/Features/Gamification/UserSummary.js +18 -0
  68. package/lib/app/masters/Features/Gamification/gamification-feature.d.ts +3 -0
  69. package/lib/app/masters/Features/Gamification/gamification-feature.js +4 -0
  70. package/lib/app/masters/Features/Gamification/index.d.ts +23 -0
  71. package/lib/{ui/app → app/masters}/Features/Gamification/index.js +28 -28
  72. package/lib/app/masters/Features/index.d.ts +24 -0
  73. package/lib/app/masters/Features/index.js +37 -0
  74. package/lib/{ui/app → app/masters}/Navigation/MastersNavigation/index.d.ts +6 -6
  75. package/lib/{ui/app → app/masters}/Navigation/MastersNavigation/index.js +5 -5
  76. package/lib/app/masters/Notifications/Onboarding/Notification/index.d.ts +8 -0
  77. package/lib/app/masters/Notifications/Onboarding/Notification/index.js +18 -0
  78. package/lib/app/masters/Notifications/Onboarding/Notification/styles.d.ts +9 -0
  79. package/lib/{ui/app → app/masters}/Notifications/Onboarding/Notification/styles.js +16 -16
  80. package/lib/app/masters/Notifications/Onboarding/index.d.ts +14 -0
  81. package/lib/{ui/app → app/masters}/Notifications/Onboarding/index.js +87 -90
  82. package/lib/app/masters/Notifications/index.d.ts +13 -0
  83. package/lib/app/masters/Notifications/index.js +164 -0
  84. package/lib/app/masters/Notifications/styles.d.ts +9 -0
  85. package/lib/{ui/app → app/masters}/Notifications/styles.js +11 -11
  86. package/lib/app/masters/Points/index.d.ts +5 -0
  87. package/lib/app/masters/Points/index.js +28 -0
  88. package/lib/app/masters/masters.d.ts +14 -0
  89. package/lib/{ui/app → app/masters}/masters.js +33 -31
  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/app/useClipboardCopy.d.ts +3 -0
  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 -4
  106. package/lib/index.js +4 -4
  107. package/lib/ui/advertisement/banner/index.d.ts +6 -0
  108. package/lib/ui/advertisement/banner/index.js +27 -0
  109. package/lib/ui/advertisement/index.d.ts +9 -0
  110. package/lib/ui/advertisement/index.js +31 -0
  111. package/lib/ui/advertisement/mock.d.ts +3 -0
  112. package/lib/ui/advertisement/mock.js +33 -0
  113. package/lib/ui/advertisement/overlay/index.d.ts +5 -0
  114. package/lib/ui/advertisement/overlay/index.js +21 -0
  115. package/lib/ui/advertisement/sidebar/index.d.ts +6 -0
  116. package/lib/ui/advertisement/sidebar/index.js +23 -0
  117. package/lib/ui/animated-counter/index.d.ts +1 -1
  118. package/lib/ui/button/index.d.ts +0 -1
  119. package/lib/ui/button/styles.d.ts +2 -3
  120. package/lib/ui/gamification/constants.d.ts +1 -0
  121. package/lib/ui/gamification/copyNotification/index.d.ts +0 -1
  122. package/lib/ui/gamification/copyNotification/styles.d.ts +3 -4
  123. package/lib/ui/gamification/detail/header/index.d.ts +1 -1
  124. package/lib/ui/gamification/detail/header/styles.d.ts +4 -5
  125. package/lib/ui/gamification/detail/sponsor/index.d.ts +1 -1
  126. package/lib/ui/gamification/detail/sponsor/index.js +13 -7
  127. package/lib/ui/gamification/insight/index.d.ts +1 -1
  128. package/lib/ui/gamification/insight/styles.d.ts +8 -9
  129. package/lib/ui/gamification/insight-list/index.d.ts +1 -1
  130. package/lib/ui/gamification/insight-list/styles.d.ts +2 -3
  131. package/lib/ui/gamification/invite-link/index.d.ts +0 -1
  132. package/lib/ui/gamification/invite-link/index.js +13 -13
  133. package/lib/ui/gamification/invite-link/styles.d.ts +5 -6
  134. package/lib/ui/gamification/invite-link/styles.js +11 -11
  135. package/lib/ui/gamification/leaderboard/index.d.ts +1 -1
  136. package/lib/ui/gamification/leaderboard/list-item/index.d.ts +2 -2
  137. package/lib/ui/gamification/leaderboard/list-item/styles.d.ts +7 -8
  138. package/lib/ui/gamification/leaderboard/static.d.ts +3 -3
  139. package/lib/ui/gamification/leaderboard/styles.d.ts +1 -2
  140. package/lib/ui/gamification/leaderboard/styles.js +1 -1
  141. package/lib/ui/gamification/onboarding/index.d.ts +3 -3
  142. package/lib/ui/gamification/onboarding/invitingUser/index.d.ts +0 -1
  143. package/lib/ui/gamification/onboarding/invitingUser/styles.d.ts +5 -6
  144. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/index.d.ts +1 -0
  145. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/styles.d.ts +10 -11
  146. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.d.ts +1 -1
  147. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.js +6 -6
  148. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/styles.d.ts +9 -10
  149. package/lib/ui/gamification/onboarding/slides/onboarding-rules/index.d.ts +1 -1
  150. package/lib/ui/gamification/onboarding/slides/onboarding-rules/styles.d.ts +8 -9
  151. package/lib/ui/gamification/onboarding/slides/onboarding-terms/index.d.ts +0 -1
  152. package/lib/ui/gamification/onboarding/slides/onboarding-terms/styles.d.ts +4 -5
  153. package/lib/ui/gamification/onboarding/styles.d.ts +5 -6
  154. package/lib/ui/gamification/points/index.d.ts +0 -1
  155. package/lib/ui/gamification/points/styles.d.ts +5 -6
  156. package/lib/ui/gamification/question/index.d.ts +2 -2
  157. package/lib/ui/gamification/question/index.js +26 -26
  158. package/lib/ui/gamification/question/insight/index.d.ts +1 -1
  159. package/lib/ui/gamification/question/insight/styles.d.ts +2 -3
  160. package/lib/ui/gamification/question/list/index.d.ts +2 -2
  161. package/lib/ui/gamification/question/list/styles.d.ts +1 -2
  162. package/lib/ui/gamification/question/notification/index.d.ts +2 -2
  163. package/lib/ui/gamification/question/notification/insight/index.d.ts +2 -2
  164. package/lib/ui/gamification/question/notification/insight/styles.d.ts +7 -8
  165. package/lib/ui/gamification/question/notification/pill/index.d.ts +0 -1
  166. package/lib/ui/gamification/question/notification/pill/styles.d.ts +3 -4
  167. package/lib/ui/gamification/question/notification/prediction-result/animation-lines/index.d.ts +0 -1
  168. package/lib/ui/gamification/question/notification/prediction-result/animation-lines/styles.d.ts +58 -31
  169. package/lib/ui/gamification/question/notification/prediction-result/index.d.ts +3 -2
  170. package/lib/ui/gamification/question/notification/prediction-result/index.js +55 -54
  171. package/lib/ui/gamification/question/notification/prediction-result/styles.d.ts +11 -10
  172. package/lib/ui/gamification/question/notification/styles.d.ts +6 -7
  173. package/lib/ui/gamification/question/notification/tweet/index.d.ts +3 -3
  174. package/lib/ui/gamification/question/notification/tweet/styles.d.ts +4 -5
  175. package/lib/ui/gamification/question/styles.d.ts +14 -14
  176. package/lib/ui/gamification/question/styles.js +48 -43
  177. package/lib/ui/gamification/question/twitter/index.d.ts +2 -2
  178. package/lib/ui/gamification/question/twitter/styles.d.ts +3 -4
  179. package/lib/ui/gamification/tabs/index.d.ts +0 -1
  180. package/lib/ui/gamification/tabs/styles.d.ts +4 -5
  181. package/lib/ui/gamification/user-statistics/components/rank/index.d.ts +0 -1
  182. package/lib/ui/gamification/user-statistics/components/rank/styles.d.ts +3 -4
  183. package/lib/ui/gamification/user-statistics/components/statistic/index.d.ts +0 -1
  184. package/lib/ui/gamification/user-statistics/components/statistic/styles.d.ts +3 -4
  185. package/lib/ui/gamification/user-statistics/index.d.ts +0 -1
  186. package/lib/ui/gamification/user-statistics/styles.d.ts +17 -18
  187. package/lib/ui/gamification/vote/alert/index.d.ts +2 -1
  188. package/lib/ui/gamification/vote/alert/styles.d.ts +3 -4
  189. package/lib/ui/gamification/vote/feedback/index.d.ts +1 -1
  190. package/lib/ui/gamification/vote/feedback/styles.d.ts +8 -9
  191. package/lib/ui/gamification/vote/index.d.ts +1 -1
  192. package/lib/ui/gamification/vote/insight-details/index.d.ts +1 -1
  193. package/lib/ui/gamification/vote/insight-details/styles.d.ts +2 -3
  194. package/lib/ui/gamification/vote/styles.d.ts +4 -5
  195. package/lib/ui/gamification/vote/styles.js +1 -1
  196. package/lib/ui/gamification/vote/twitter-details/index.d.ts +2 -2
  197. package/lib/ui/gamification/vote/twitter-details/styles.d.ts +2 -3
  198. package/lib/ui/gamification/vote/vote-option/index.d.ts +1 -1
  199. package/lib/ui/gamification/vote/vote-option/styles.d.ts +19 -16
  200. package/lib/ui/gamification/vote/win-bar/index.d.ts +1 -1
  201. package/lib/ui/gamification/vote/win-bar/styles.d.ts +6 -7
  202. package/lib/ui/icons/index.d.ts +1 -1
  203. package/lib/ui/icons/index.js +107 -47
  204. package/lib/ui/lottie/index.d.ts +0 -1
  205. package/lib/ui/modal/index.d.ts +0 -1
  206. package/lib/ui/modal/index.js +1 -1
  207. package/lib/ui/navigation/button/Channels.d.ts +1 -1
  208. package/lib/ui/navigation/button/FeaturedGroups.d.ts +1 -1
  209. package/lib/ui/navigation/button/LeaderBoard.d.ts +1 -1
  210. package/lib/ui/navigation/button/index.d.ts +1 -1
  211. package/lib/ui/navigation/button/styles.d.ts +6 -7
  212. package/lib/ui/navigation/index.d.ts +1 -1
  213. package/lib/ui/navigation/masters.d.ts +6 -5
  214. package/lib/ui/questions/insight/index.d.ts +1 -1
  215. package/lib/ui/questions/insight/styles.d.ts +6 -7
  216. package/lib/ui/questions/twitter/account/index.d.ts +0 -1
  217. package/lib/ui/questions/twitter/account/styles.d.ts +6 -7
  218. package/lib/ui/questions/twitter/index.d.ts +1 -1
  219. package/lib/ui/questions/twitter/styles.d.ts +14 -11
  220. package/lib/ui/show-in/index.d.ts +2 -1
  221. package/lib/ui/skeleton/index.d.ts +0 -1
  222. package/lib/ui/skeleton/styles.d.ts +1 -2
  223. package/lib/ui/slide-in/index.d.ts +11 -0
  224. package/lib/ui/slide-in/index.js +29 -0
  225. package/lib/ui/theme/MastersColors.d.ts +1 -0
  226. package/lib/ui/theme/MastersColors.js +15 -0
  227. package/lib/ui/theme/ThemeColors.js +1 -1
  228. package/lib/ui/theme/breakpoints.d.ts +1 -0
  229. package/lib/ui/theme/constants.d.ts +12 -59
  230. package/lib/ui/theme/constants.js +26 -55
  231. package/lib/ui/theme/index.d.ts +0 -1
  232. package/lib/ui/theme/masters-theme.d.ts +5 -0
  233. package/lib/ui/theme/masters-theme.js +64 -0
  234. package/lib/ui/theme/masters.d.ts +4 -0
  235. package/lib/ui/theme/masters.js +6 -0
  236. package/lib/ui/theme/theme.d.ts +1 -1
  237. package/lib/ui/theme/theme.js +2 -2
  238. package/lib/ui/timer/index.d.ts +3 -2
  239. package/lib/ui/timer/index.js +32 -32
  240. package/lib/ui/video-player/index.d.ts +0 -1
  241. package/lib/ui/video-player/styles.d.ts +5 -6
  242. package/lib/utils/debug/storage.js +1 -1
  243. package/lib/utils/storage.js +1 -1
  244. package/package.json +48 -38
  245. package/lib/ui/app/Features/Gamification/Leaderboard.d.ts +0 -9
  246. package/lib/ui/app/Features/Gamification/Tabs.d.ts +0 -14
  247. package/lib/ui/app/Navigation/index.d.ts +0 -9
  248. package/lib/ui/app/Navigation/index.js +0 -30
  249. package/lib/ui/app/Notifications/Onboarding/Notification/styles.d.ts +0 -10
  250. package/lib/ui/app/Notifications/Onboarding/index.d.ts +0 -14
  251. package/lib/ui/app/Notifications/index.d.ts +0 -13
  252. package/lib/ui/app/Notifications/styles.d.ts +0 -8
  253. package/lib/ui/app/Points/index.d.ts +0 -5
  254. package/lib/ui/app/masters.d.ts +0 -20
  255. package/lib/ui/app/styles.d.ts +0 -15
  256. package/lib/ui/app/useClipboardCopy.d.ts +0 -3
  257. package/lib/ui/app/useMastersApp.js +0 -68
  258. package/lib/ui/app/useMastersContext.d.ts +0 -8
  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/Features/Gamification/gamification-feature.js +0 -0
  263. /package/lib/{ui → app}/app/Features/index.js +0 -0
  264. /package/lib/{ui → app}/app/Notifications/Onboarding/Notification/index.js +0 -0
  265. /package/lib/{styles_z07sl8-l0sNRNKZ.js → app/index.js} +0 -0
  266. /package/lib/{ui → app}/login/demo.js +0 -0
  267. /package/lib/{ui/app → app/masters}/useMastersContext.js +0 -0
  268. /package/lib/{ui/app → app}/useImagesPreload.d.ts +0 -0
  269. /package/lib/{ui/app → app}/useImagesPreload.js +0 -0
  270. /package/lib/{ui/app → app}/useSdkFeature.js +0 -0
@@ -1,45 +1,45 @@
1
- import { jsx as R } from "react/jsx-runtime";
2
- import { styled as _ } from "@linaria/react";
3
- import { useState as c, useEffect as a, useCallback as n } from "react";
4
- import { CountdownCircleTimer as N } from "react-countdown-circle-timer";
5
- import { COLORS as t } from "../theme/constants.js";
6
- const D = [t.PRIMARY_GREEN1, t.SECONDARY_RED1, t.SECONDARY_RED1, t.NEUTRALS_GRAY3], T = [10, 10, 1, 0], Y = /* @__PURE__ */ _("div")({
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { styled as M } from "@linaria/react";
3
+ import { useState as c, useEffect as _, useCallback as n } from "react";
4
+ import { CountdownCircleTimer as h } from "react-countdown-circle-timer";
5
+ import { TIMER_COLORS as p, TIMER_GREEN as E, TIMER_RED as S, TIMER_GRAY as g } from "../theme/constants.js";
6
+ const k = [10, 10, 1, 0], O = /* @__PURE__ */ M("div")({
7
7
  name: "RemainingTime",
8
8
  class: "r165427",
9
9
  propsAsIs: !1
10
- }), h = t.SECONDARY_GREEN6, l = t.SECONDARY_RED3, m = t.NEUTRALS_GRAY3, G = ({
10
+ }), u = E, l = S, m = g, L = ({
11
11
  isPlaying: i = !0,
12
- duration: o = 30,
13
- onTimerExpired: e
12
+ duration: t = 30,
13
+ onTimerExpired: s
14
14
  }) => {
15
- const [C, s] = c(o > 10 ? h : l), [E, S] = c(2);
16
- a(() => {
17
- o === 0 && (S(0), s(m));
15
+ const [R, o] = c(t > 10 ? u : l), [f, a] = c(2);
16
+ _(() => {
17
+ t === 0 && (a(0), o(m));
18
+ }, [t]);
19
+ const C = ({
20
+ remainingTime: e
21
+ }) => /* @__PURE__ */ r(O, {
22
+ children: t === 0 ? 0 : e
23
+ }), T = n(() => {
24
+ s == null || s(), o(m);
25
+ }, [s, o]), I = n((e) => {
26
+ e === 10 && o(l);
18
27
  }, [o]);
19
- const f = ({
20
- remainingTime: r
21
- }) => /* @__PURE__ */ R(Y, {
22
- children: o === 0 ? 0 : r
23
- }), A = n(() => {
24
- e == null || e(), s(m);
25
- }, [e, s]), O = n((r) => {
26
- r === 10 && s(l);
27
- }, [s]);
28
- return /* @__PURE__ */ R(N, {
28
+ return /* @__PURE__ */ r(h, {
29
29
  isPlaying: i,
30
- duration: o,
31
- colors: D,
32
- colorsTime: T,
30
+ duration: t,
31
+ colors: p,
32
+ colorsTime: k,
33
33
  size: 32,
34
- strokeWidth: E,
34
+ strokeWidth: f,
35
35
  trailStrokeWidth: 2,
36
- trailColor: C,
37
- onComplete: A,
38
- onUpdate: O,
39
- children: f
36
+ trailColor: R,
37
+ onComplete: T,
38
+ onUpdate: I,
39
+ children: C
40
40
  });
41
41
  };
42
42
  export {
43
- Y as RemainingTime,
44
- G as Timer
43
+ O as RemainingTime,
44
+ L as Timer
45
45
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type ControlVideoProps = {
3
2
  muted: boolean;
4
3
  };
@@ -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 Player: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLVideoElement> & import("react").VideoHTMLAttributes<HTMLVideoElement> & Record<never, unknown>>;
4
- export declare const Poster: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
5
- export declare const Control: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
- export declare const ToggleIconPause: import("@linaria/core").LinariaClassName;
1
+ export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
2
+ export declare const Player: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLVideoElement> & import('react').VideoHTMLAttributes<HTMLVideoElement> & Record<never, unknown>>;
3
+ export declare const Poster: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
4
+ export declare const Control: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
+ export declare const ToggleIconPause: import('@linaria/core').LinariaClassName;
@@ -1,6 +1,6 @@
1
1
  var n = Object.defineProperty;
2
2
  var i = (s, r, e) => r in s ? n(s, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[r] = e;
3
- var t = (s, r, e) => (i(s, typeof r != "symbol" ? r + "" : r, e), e);
3
+ var t = (s, r, e) => i(s, typeof r != "symbol" ? r + "" : r, e);
4
4
  import { Storage as h } from "@streamlayer/sdk-web-storage";
5
5
  class d extends h {
6
6
  constructor() {
@@ -1,6 +1,6 @@
1
1
  var n = Object.defineProperty;
2
2
  var i = (s, r, e) => r in s ? n(s, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[r] = e;
3
- var t = (s, r, e) => (i(s, typeof r != "symbol" ? r + "" : r, e), e);
3
+ var t = (s, r, e) => i(s, typeof r != "symbol" ? r + "" : r, e);
4
4
  import { Storage as h } from "@streamlayer/sdk-web-storage";
5
5
  class d extends h {
6
6
  constructor() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamlayer/react-ui",
3
- "version": "0.100.5",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "main": "./src/index.js",
6
6
  "typings": "./lib/index.d.ts",
@@ -11,14 +11,24 @@
11
11
  "types": "./lib/index.d.ts"
12
12
  },
13
13
  "./masters": {
14
- "import": "./lib/ui/app/masters.js",
15
- "default": "./lib/ui/app/masters.js",
16
- "types": "./lib/ui/app/masters.d.ts"
14
+ "import": "./lib/app/masters/masters.js",
15
+ "default": "./lib/app/masters/masters.js",
16
+ "types": "./lib/app/masters/masters.d.ts"
17
+ },
18
+ "./mastersPoints": {
19
+ "import": "./lib/app/masters/Points/index.js",
20
+ "default": "./lib/app/masters/Points/index.js",
21
+ "types": "./lib/app/masters/Points/index.d.ts"
17
22
  },
18
23
  "./points": {
19
- "import": "./lib/ui/app/Points/index.js",
20
- "default": "./lib/ui/app/Points/index.js",
21
- "types": "./lib/ui/app/Points/index.d.ts"
24
+ "import": "./lib/app/app/Points/index.js",
25
+ "default": "./lib/app/app/Points/index.js",
26
+ "types": "./lib/app/app/Points/index.d.ts"
27
+ },
28
+ "./advertisement": {
29
+ "import": "./lib/app/app/Advertisement/index.js",
30
+ "default": "./lib/app/app/Advertisement/index.js",
31
+ "types": "./lib/app/app/Advertisement/index.d.ts"
22
32
  },
23
33
  "./*": {
24
34
  "import": "./lib/*/index.js",
@@ -35,8 +45,8 @@
35
45
  "package.json"
36
46
  ],
37
47
  "peerDependencies": {
38
- "@lottiefiles/react-lottie-player": "^3.5.3",
39
- "@streamlayer/sl-eslib": "^5.85.0",
48
+ "@lottiefiles/react-lottie-player": "^3.5.4",
49
+ "@streamlayer/sl-eslib": "^5.104.1",
40
50
  "@types/lodash.throttle": "^4.1.9",
41
51
  "lodash.throttle": "^4.1.1",
42
52
  "nanoid": "3.3.7",
@@ -44,18 +54,18 @@
44
54
  "react-virtualized-auto-sizer": "^1.0.24",
45
55
  "react-window": "^1.8.10",
46
56
  "react-window-infinite-loader": "^1.0.9",
47
- "@streamlayer/feature-gamification": "^0.41.3",
48
- "@streamlayer/sdk-web": "^0.33.7",
49
- "@streamlayer/sdk-web-analytics": "^0.2.3",
50
- "@streamlayer/sdk-web-anonymous-auth": "^0.11.49",
51
- "@streamlayer/sdk-web-api": "^0.25.2",
52
- "@streamlayer/sdk-web-core": "^0.23.2",
53
- "@streamlayer/sdk-web-features": "^0.11.31",
54
- "@streamlayer/sdk-web-interfaces": "^0.22.2",
55
- "@streamlayer/sdk-web-logger": "^0.5.22",
56
- "@streamlayer/sdk-web-notifications": "^0.16.2",
57
- "@streamlayer/sdk-web-storage": "^0.4.9",
58
- "@streamlayer/sdk-web-types": "^0.23.4"
57
+ "@streamlayer/feature-gamification": "^1.1.0",
58
+ "@streamlayer/sdk-web": "^1.0.1",
59
+ "@streamlayer/sdk-web-analytics": "^1.0.1",
60
+ "@streamlayer/sdk-web-anonymous-auth": "^1.0.1",
61
+ "@streamlayer/sdk-web-api": "^1.1.0",
62
+ "@streamlayer/sdk-web-core": "^1.0.1",
63
+ "@streamlayer/sdk-web-features": "^1.0.1",
64
+ "@streamlayer/sdk-web-interfaces": "^1.0.1",
65
+ "@streamlayer/sdk-web-logger": "^1.0.1",
66
+ "@streamlayer/sdk-web-notifications": "^1.0.1",
67
+ "@streamlayer/sdk-web-storage": "^1.0.1",
68
+ "@streamlayer/sdk-web-types": "^1.1.0"
59
69
  },
60
70
  "nx": {
61
71
  "implicitDependencies": [
@@ -68,33 +78,33 @@
68
78
  "@esbuild-plugins/node-globals-polyfill": "^0.2.3",
69
79
  "@esbuild-plugins/node-modules-polyfill": "^0.2.2",
70
80
  "@linaria/babel-preset": "^5.0.4",
71
- "@linaria/core": "^6.0.0",
72
- "@linaria/react": "^6.0.0",
81
+ "@linaria/core": "^6.2.0",
82
+ "@linaria/react": "^6.2.1",
73
83
  "@nanostores/react": "^0.7.2",
74
- "@storybook/addon-docs": "^8.0.4",
75
- "@storybook/addon-viewport": "^8.0.4",
76
- "@storybook/blocks": "^8.0.4",
77
- "@storybook/jest": "~0.2.3",
78
- "@storybook/react": "^8.0.4",
79
- "@storybook/testing-library": "~0.2.2",
84
+ "@storybook/addon-docs": "^8.1.11",
85
+ "@storybook/addon-viewport": "^8.1.11",
86
+ "@storybook/blocks": "^8.1.11",
87
+ "@storybook/jest": "^0.2.3",
88
+ "@storybook/react": "^8.1.11",
89
+ "@storybook/testing-library": "^0.2.2",
80
90
  "@types/react-infinite-scroller": "^1.2.5",
81
91
  "@types/react-window": "^1.8.8",
82
92
  "@types/react-window-infinite-loader": "^1.0.9",
83
- "@wyw-in-js/vite": "^0.2.2",
93
+ "@wyw-in-js/vite": "^0.5.3",
84
94
  "esbuild-plugin-babel": "^0.2.3",
85
- "glob": "^10.3.10",
86
- "react": "18.2.0",
95
+ "glob": "^10.4.2",
96
+ "react": "18.3.1",
87
97
  "react-auth-code-input": "^3.2.1",
88
98
  "react-countdown-circle-timer": "^3.2.1",
89
- "react-countup": "^6.5.0",
90
- "react-phone-number-input": "^3.3.9",
99
+ "react-countup": "^6.5.3",
100
+ "react-phone-number-input": "^3.4.3",
91
101
  "rollup-plugin-node-polyfills": "^0.2.1",
92
- "tslib": "^2.6.2",
93
- "vite": "5.2.6",
94
- "vite-plugin-node-polyfills": "^0.21.0",
102
+ "tslib": "^2.6.3",
103
+ "vite": "5.3.2",
104
+ "vite-plugin-node-polyfills": "^0.22.0",
95
105
  "vite-plugin-svgr": "^4.2.0",
96
106
  "vite-svg-loader": "^5.1.0",
97
107
  "vite-tsconfig-paths": "^4.3.2",
98
- "@streamlayer/react": "^0.41.10"
108
+ "@streamlayer/react": "^1.1.0"
99
109
  }
100
110
  }
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import type { Gamification } from '@streamlayer/feature-gamification';
3
- import type { ScrollNodeRef } from '../../masters';
4
- import { ScrollStore } from '../../useSdkScroll';
5
- export declare const Leaderboard: React.FC<{
6
- gamification: Gamification;
7
- scrollNode: ScrollNodeRef;
8
- scrollStore: ScrollStore;
9
- }>;
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import { type Gamification } from '@streamlayer/feature-gamification';
3
- import type { AppNodeRef, ScrollNodeRef } from '../../masters';
4
- import { ResponsiveStore } from '../../useSdkResponsive';
5
- import { ScrollStore } from '../../useSdkScroll';
6
- export declare const Tabs: React.FC<{
7
- appNode: AppNodeRef;
8
- gamification: Gamification;
9
- scrollStore: ScrollStore;
10
- scrollNode: ScrollNodeRef;
11
- responsiveStore: ResponsiveStore;
12
- className?: string;
13
- style?: React.CSSProperties;
14
- }>;
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
3
- import { Overlays } from '../masters';
4
- import { ButtonProps } from '../../navigation/button';
5
- export declare const SDKNavigation: React.FC<{
6
- customOverlays: Overlays;
7
- activeButton?: ButtonProps['id'];
8
- sdk: StreamLayerSDK;
9
- }>;
@@ -1,30 +0,0 @@
1
- import { jsx as n } from "react/jsx-runtime";
2
- import { useStore as s } from "@nanostores/react";
3
- import { useMemo as e } from "react";
4
- import { AvailableFeatures as d } from "@streamlayer/sdk-web-features";
5
- import { Navigation as v } from "../../navigation/index.js";
6
- import { Button as b } from "../../navigation/button/index.js";
7
- const x = ({ customOverlays: a, activeButton: c, sdk: i }) => {
8
- const t = s(i.sdkStore.organizationSettings), r = s(i.sdkStore.streamSettings), p = e(() => {
9
- const o = (r == null ? void 0 : r.data) || (t == null ? void 0 : t.data);
10
- return o != null && o.overlays ? o.overlays : [];
11
- }, [t, r]), m = e(
12
- () => [
13
- ...p.filter(({ enableSdkButton: o }) => o).map((o) => ({
14
- id: o.type,
15
- onClick: () => i.openFeature(o.type),
16
- disabled: !(o.type in d),
17
- label: o.name,
18
- icon: /* @__PURE__ */ n("img", { src: o.icon, alt: "" }),
19
- /** multiplied by 10 to add the ability to insert custom buttons between our buttons */
20
- position: o.position * 10
21
- })),
22
- ...Object.values(a).map(({ button: o }) => o)
23
- ].sort((o, l) => o.position - l.position),
24
- [p, i, a]
25
- );
26
- return /* @__PURE__ */ n(v, { children: m.map((o) => /* @__PURE__ */ n(b, { ...o, active: o.id === c })) });
27
- };
28
- export {
29
- x as SDKNavigation
30
- };
@@ -1,10 +0,0 @@
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 CloseIconWrap: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
- export declare const CloseIcon: any;
5
- export declare const Title: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
- export declare const SponsorLogo: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
7
- export declare const PresentsTitle: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
- export declare const Subtitle: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
9
- export declare const Description: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
10
- export declare const ActionButton: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import { type StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
3
- import { type Notification } from '@streamlayer/sdk-web-notifications';
4
- import { type AppNodeRef } from '../../masters';
5
- import { ResponsiveStore } from '../../useSdkResponsive';
6
- export declare const Onboarding: React.FC<{
7
- sdk: StreamLayerSDK;
8
- notification: Notification;
9
- saveHeight: (height: number) => void;
10
- appNode: AppNodeRef;
11
- sdkInDesktopView?: boolean;
12
- style?: React.CSSProperties;
13
- responsiveStore: ResponsiveStore;
14
- }>;
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import { type StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
3
- import type { AppNodeRef, ScrollNodeRef, HeaderNodeRef } from '../masters';
4
- import { ResponsiveStore } from '../useSdkResponsive';
5
- import { ScrollStore } from '../useSdkScroll';
6
- export declare const SDKNotifications: React.FC<{
7
- sdk: StreamLayerSDK;
8
- scrollNode: ScrollNodeRef;
9
- appNode: AppNodeRef;
10
- headerNode: HeaderNodeRef;
11
- scrollStore: ScrollStore;
12
- responsiveStore: ResponsiveStore;
13
- }>;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Container: any;
3
- export declare const InnerContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
- export declare const HiddenContainer: import("@linaria/react").WYWEvalMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
5
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
- }>;
7
- export declare const NotificationRefreshing: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
- export declare const Pill: any;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { type StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
3
- export declare const StreamLayerSDKPoints: React.FC<{
4
- sdk: StreamLayerSDK;
5
- }>;
@@ -1,20 +0,0 @@
1
- /// <reference types="react" />
2
- import { type StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
3
- export type Overlays = {};
4
- export type MastersAppChildrenProps = {
5
- activateEventWithId: (event: string) => void;
6
- deactivate: () => void;
7
- };
8
- type AppNode = HTMLDivElement | null;
9
- export type AppNodeRef = React.MutableRefObject<AppNode>;
10
- export type ScrollNode = HTMLDivElement | null;
11
- export type ScrollNodeRef = React.MutableRefObject<ScrollNode>;
12
- export type HeaderNode = HTMLDivElement | null;
13
- export type HeaderNodeRef = React.MutableRefObject<HeaderNode>;
14
- export type MastersAppProps = {
15
- sdk: StreamLayerSDK;
16
- overlays?: Overlays;
17
- children: (methods: MastersAppChildrenProps) => React.ReactNode;
18
- };
19
- export declare const MastersApp: React.FC<MastersAppProps>;
20
- export {};
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const SDKContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
- export declare const SDKScrollContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
- export declare const SDKContentContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
- export declare const SDKWhiteContainer: import("@linaria/react").WYWEvalMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
6
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
7
- }>;
8
- export declare const TabsContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
9
- export declare const LeaderboardContainer: import("@linaria/react").WYWEvalMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
10
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
11
- }>;
12
- export declare const TabsNavContainer: import("@linaria/react").WYWEvalMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown> & {
13
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
14
- }>;
15
- export declare const UserSummaryContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { HeaderNodeRef, type AppNodeRef } from './masters';
3
- export declare const useClipboardCopy: (renderToNode: AppNodeRef | HeaderNodeRef) => [(link: string | undefined) => Promise<void>, import("react").ReactPortal | null];
@@ -1,68 +0,0 @@
1
- import { useStore as u } from "@nanostores/react";
2
- import { useRef as y, useState as d, useCallback as z, useEffect as c } from "react";
3
- import { FeatureType as l } from "@streamlayer/sdk-web-types";
4
- import "./Navigation/MastersNavigation/index.js";
5
- import { FeaturedGroupsButtonId as p } from "../navigation/button/FeaturedGroups.js";
6
- import { ChannelsButtonId as i } from "../navigation/button/Channels.js";
7
- const C = (e) => {
8
- const f = y(""), [v, a] = d(!1), E = u(e.status), g = u(e.sdkStore.slStreamId), n = u(e.userId()), m = u(e.getActiveFeature()), o = E === "ready" && !!g.data, [A, r] = d(p), S = z(
9
- (t, s) => {
10
- r(s), t && e.createEventSession(t), s === p ? window.requestAnimationFrame(() => {
11
- e.openFeature(l.GAMES);
12
- }) : e.closeFeature(!1);
13
- },
14
- [e]
15
- );
16
- c(() => {
17
- !o && A === p && (r(i), e.closeFeature(!0));
18
- }, [o, A, e]), c(() => {
19
- m === l.GAMES ? r(p) : m === l.UNSET && r(i);
20
- const t = e.getFeature(l.GAMES);
21
- t && (t.closeQuestion(), t.closeUser());
22
- }, [m, e]);
23
- const F = (t) => {
24
- f.current = t, a(!0), e.initializeApp({ skipOrganizationSettings: !0 }).then(({ enabled: s, err: I }) => {
25
- if (I) {
26
- S(t, i);
27
- return;
28
- }
29
- if (s) {
30
- e.isUserAuthorized().then((h) => {
31
- if (h) {
32
- S(t, i);
33
- return;
34
- } else
35
- e.disableApp();
36
- });
37
- return;
38
- }
39
- });
40
- }, b = () => {
41
- a(!1), e.disableApp();
42
- };
43
- return c(() => {
44
- if (!n) {
45
- o && (r(i), e.disableApp());
46
- return;
47
- }
48
- if (n && f.current && v) {
49
- e.initializeApp({ skipOrganizationSettings: !0 }).then(() => {
50
- e.createEventSession(f.current);
51
- });
52
- return;
53
- }
54
- }, [n]), c(() => () => {
55
- a(!1), e.disableApp();
56
- }, [a, e]), {
57
- sdkEnabled: v,
58
- sdkReady: o,
59
- activeOverlay: A,
60
- activateAndLoadOverlay: S,
61
- activateEventWithId: F,
62
- deactivate: b,
63
- isLogged: !!n
64
- };
65
- };
66
- export {
67
- C as useMastersApp
68
- };
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import type { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
3
- export declare const MastersContext: import("react").Context<{
4
- sdk: StreamLayerSDK | null;
5
- }>;
6
- export declare const useMastersContext: () => {
7
- sdk: StreamLayerSDK | null;
8
- };
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import type { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
3
- import '@streamlayer/sdk-web-anonymous-auth';
4
- export declare const LoginComponent: React.FC<{
5
- sdk: StreamLayerSDK;
6
- }>;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Panel: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
- export declare const Form: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLFormElement> & import("react").FormHTMLAttributes<HTMLFormElement> & Record<never, unknown>>;
4
- export declare const FormTitle: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
- export declare const FormDescription: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
- export declare const FormSubmit: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
7
- export declare const FormInputContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
- export declare const Digits: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
@@ -1,39 +0,0 @@
1
- import { styled as s } from "@linaria/react";
2
- const a = /* @__PURE__ */ s("div")({
3
- name: "Panel",
4
- class: "p1liu7r",
5
- propsAsIs: !1
6
- }), e = /* @__PURE__ */ s("form")({
7
- name: "Form",
8
- class: "fhf9n1f",
9
- propsAsIs: !1
10
- }), n = /* @__PURE__ */ s("div")({
11
- name: "FormTitle",
12
- class: "fmf7e3h",
13
- propsAsIs: !1
14
- }), r = /* @__PURE__ */ s("div")({
15
- name: "FormDescription",
16
- class: "fg7be0w",
17
- propsAsIs: !1
18
- }), m = /* @__PURE__ */ s("button")({
19
- name: "FormSubmit",
20
- class: "fvxx8fg",
21
- propsAsIs: !1
22
- }), t = /* @__PURE__ */ s("div")({
23
- name: "FormInputContainer",
24
- class: "f1sfffsg",
25
- propsAsIs: !1
26
- }), f = /* @__PURE__ */ s("div")({
27
- name: "Digits",
28
- class: "d1majgb2",
29
- propsAsIs: !1
30
- });
31
- export {
32
- f as Digits,
33
- e as Form,
34
- r as FormDescription,
35
- t as FormInputContainer,
36
- m as FormSubmit,
37
- n as FormTitle,
38
- a as Panel
39
- };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes