@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.
- package/lib/app/app/Advertisement/index.d.ts +10 -0
- package/lib/app/app/Advertisement/index.js +89 -0
- package/lib/{ui/app/masters → app/app}/Features/FeatureProvider.d.ts +2 -2
- package/lib/{ui/app → app}/app/Features/FeatureProvider.js +8 -8
- package/lib/{ui/app → app}/app/Features/Gamification/Friends.d.ts +0 -1
- package/lib/{ui/app → app}/app/Features/Gamification/Friends.js +2 -2
- package/lib/{ui/app → app}/app/Features/Gamification/Leaderboard.d.ts +3 -3
- package/lib/{ui/app → app}/app/Features/Gamification/Leaderboard.js +16 -16
- package/lib/{ui/app/masters → app/app}/Features/Gamification/Question.d.ts +1 -1
- package/lib/app/app/Features/Gamification/Question.js +69 -0
- package/lib/{ui/app → app}/app/Features/Gamification/QuestionsList.d.ts +2 -2
- package/lib/{ui/app → app}/app/Features/Gamification/QuestionsList.js +1 -1
- package/lib/{ui/app/masters → app/app}/Features/Gamification/Tabs.d.ts +3 -3
- package/lib/{ui/app → app}/app/Features/Gamification/Tabs.js +12 -12
- package/lib/{ui/app → app}/app/Features/Gamification/UserSummary.d.ts +2 -2
- package/lib/{ui/app/masters → app/app}/Features/Gamification/UserSummary.js +1 -1
- package/lib/{ui/app → app}/app/Features/Gamification/gamification-feature.d.ts +1 -0
- package/lib/{ui/app → app}/app/Features/Gamification/index.d.ts +3 -3
- package/lib/{ui/app/masters → app/app}/Features/Gamification/index.js +29 -29
- package/lib/{ui/app/masters → app/app}/Features/index.d.ts +4 -4
- package/lib/app/app/Navigation/index.d.ts +6 -0
- package/lib/app/app/Navigation/index.js +64 -0
- package/lib/{ui/app → app}/app/Notifications/Onboarding/Notification/index.d.ts +2 -2
- package/lib/app/app/Notifications/Onboarding/Notification/styles.d.ts +9 -0
- package/lib/app/app/Notifications/Onboarding/Notification/styles.js +50 -0
- package/lib/{ui/app/masters → app/app}/Notifications/Onboarding/index.d.ts +4 -4
- package/lib/app/app/Notifications/Onboarding/index.js +168 -0
- package/lib/{ui/app → app}/app/Notifications/index.d.ts +3 -3
- package/lib/{ui/app → app}/app/Notifications/index.js +27 -27
- package/lib/app/app/Notifications/styles.d.ts +9 -0
- package/lib/app/app/Notifications/styles.js +31 -0
- package/lib/{ui/app/app/Navigation → app/app/Points}/index.d.ts +2 -2
- package/lib/{ui/app → app}/app/Points/index.js +1 -1
- package/lib/{ui/app → app}/app/index.d.ts +2 -2
- package/lib/{ui/app → app}/app/index.js +32 -32
- package/lib/app/app/story/content.d.ts +4 -0
- package/lib/app/app/story/content.js +30 -0
- package/lib/app/app/story/index.d.ts +10 -0
- package/lib/app/app/story/index.js +113 -0
- package/lib/app/app/story/login.d.ts +1 -0
- package/lib/app/app/story/login.js +34 -0
- package/lib/app/app/story/styles.d.ts +9 -0
- package/lib/app/app/story/styles.js +49 -0
- package/lib/app/app/story/useResponsive.d.ts +1 -0
- package/lib/app/app/story/useResponsive.js +15 -0
- package/lib/app/app/story/video.d.ts +10 -0
- package/lib/app/app/story/video.js +67 -0
- package/lib/{ui/app → app}/app/useApp.d.ts +2 -1
- package/lib/{ui/app → app}/app/useApp.js +20 -17
- package/lib/app/app/useAppContext.d.ts +8 -0
- package/lib/{ui/app → app}/index.d.ts +0 -1
- package/lib/app/login/demo.d.ts +5 -0
- package/lib/{ui → app}/login/index.d.ts +0 -1
- package/lib/{ui → app}/login/index.js +1 -1
- package/lib/app/login/styles.d.ts +7 -0
- package/lib/app/login/styles.js +39 -0
- package/lib/{ui/app/app → app/masters}/Features/FeatureProvider.d.ts +2 -2
- package/lib/{ui/app → app}/masters/Features/FeatureProvider.js +8 -8
- package/lib/{ui/app → app}/masters/Features/Gamification/Friends.d.ts +0 -1
- package/lib/app/masters/Features/Gamification/Friends.js +19 -0
- package/lib/{ui/app → app}/masters/Features/Gamification/Leaderboard.d.ts +3 -3
- package/lib/{ui/app → app}/masters/Features/Gamification/Leaderboard.js +10 -10
- package/lib/{ui/app/app → app/masters}/Features/Gamification/Question.d.ts +1 -1
- package/lib/{ui/app → app}/masters/Features/Gamification/Question.js +11 -11
- package/lib/{ui/app → app}/masters/Features/Gamification/QuestionsList.d.ts +2 -2
- package/lib/{ui/app → app}/masters/Features/Gamification/QuestionsList.js +1 -1
- package/lib/{ui/app/app → app/masters}/Features/Gamification/Tabs.d.ts +3 -3
- package/lib/{ui/app → app}/masters/Features/Gamification/Tabs.js +12 -12
- package/lib/{ui/app → app}/masters/Features/Gamification/UserSummary.d.ts +2 -2
- package/lib/{ui/app/app → app/masters}/Features/Gamification/UserSummary.js +1 -1
- package/lib/{ui/app → app}/masters/Features/Gamification/gamification-feature.d.ts +1 -0
- package/lib/{ui/app → app}/masters/Features/Gamification/index.d.ts +3 -3
- package/lib/app/masters/Features/Gamification/index.js +88 -0
- package/lib/{ui/app/app → app/masters}/Features/index.d.ts +4 -4
- package/lib/{ui/app → app}/masters/Navigation/MastersNavigation/index.d.ts +5 -5
- package/lib/{ui/app → app}/masters/Navigation/MastersNavigation/index.js +5 -5
- package/lib/{ui/app → app}/masters/Notifications/Onboarding/Notification/index.d.ts +2 -2
- package/lib/app/masters/Notifications/Onboarding/Notification/styles.d.ts +9 -0
- package/lib/{ui/app/app → app/masters}/Notifications/Onboarding/Notification/styles.js +16 -16
- package/lib/{ui/app/app → app/masters}/Notifications/Onboarding/index.d.ts +4 -4
- package/lib/{mastersLogoSolid-B4Dz-vm1.js → app/masters/Notifications/Onboarding/index.js} +166 -2
- package/lib/{ui/app → app}/masters/Notifications/index.d.ts +3 -3
- package/lib/{ui/app → app}/masters/Notifications/index.js +48 -47
- package/lib/app/masters/Notifications/styles.d.ts +9 -0
- package/lib/{ui/app/app → app/masters}/Notifications/styles.js +10 -10
- package/lib/app/masters/Points/index.d.ts +5 -0
- package/lib/{ui/app → app}/masters/Points/index.js +1 -1
- package/lib/{ui/app → app}/masters/masters.d.ts +3 -3
- package/lib/{ui/app → app}/masters/masters.js +20 -20
- package/lib/{ui/app → app}/masters/useMastersApp.d.ts +2 -1
- package/lib/app/masters/useMastersApp.js +71 -0
- package/lib/app/masters/useMastersContext.d.ts +8 -0
- package/lib/app/styles.d.ts +20 -0
- package/lib/{ui/app → app}/styles.js +13 -13
- package/lib/{ui/app → app}/useClipboardCopy.d.ts +3 -3
- package/lib/{ui/app → app}/useClipboardCopy.js +2 -2
- package/lib/{ui/app → app}/useSdkFeature.d.ts +2 -1
- package/lib/{ui/app → app}/useSdkResponsive.d.ts +3 -1
- package/lib/{ui/app → app}/useSdkResponsive.js +2 -2
- package/lib/{ui/app → app}/useSdkScroll.d.ts +3 -2
- package/lib/{ui/app → app}/useSdkScroll.js +2 -2
- package/lib/assets/style.css +1 -1
- package/lib/hooks/showIn.js +1 -1
- package/lib/{index-Bicco-Aq.js → index-B1QdimmR.js} +7737 -8219
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/ui/advertisement/banner/index.d.ts +8 -0
- package/lib/ui/advertisement/banner/index.js +32 -0
- package/lib/ui/advertisement/index.d.ts +10 -0
- package/lib/ui/advertisement/index.js +19 -0
- package/lib/ui/advertisement/mock.d.ts +4 -0
- package/lib/ui/advertisement/mock.js +67 -0
- package/lib/ui/advertisement/overlay/index.d.ts +7 -0
- package/lib/ui/advertisement/overlay/index.js +74 -0
- package/lib/ui/advertisement/overlay/styles.d.ts +18 -0
- package/lib/ui/advertisement/overlay/styles.js +95 -0
- package/lib/ui/advertisement/sidebar/index.d.ts +7 -0
- package/lib/ui/advertisement/sidebar/index.js +25 -0
- package/lib/ui/animated-counter/index.d.ts +1 -1
- package/lib/ui/button/index.d.ts +0 -1
- package/lib/ui/button/styles.d.ts +2 -3
- package/lib/ui/gamification/constants.d.ts +1 -0
- package/lib/ui/gamification/copyNotification/index.d.ts +0 -1
- package/lib/ui/gamification/copyNotification/styles.d.ts +3 -4
- package/lib/ui/gamification/detail/header/index.d.ts +1 -1
- package/lib/ui/gamification/detail/header/styles.d.ts +4 -5
- package/lib/ui/gamification/detail/sponsor/index.d.ts +1 -1
- package/lib/ui/gamification/detail/sponsor/index.js +13 -7
- package/lib/ui/gamification/insight/index.d.ts +1 -1
- package/lib/ui/gamification/insight/styles.d.ts +8 -9
- package/lib/ui/gamification/insight-list/index.d.ts +1 -1
- package/lib/ui/gamification/insight-list/styles.d.ts +2 -3
- package/lib/ui/gamification/invite-link/index.d.ts +0 -1
- package/lib/ui/gamification/invite-link/index.js +13 -13
- package/lib/ui/gamification/invite-link/styles.d.ts +5 -6
- package/lib/ui/gamification/invite-link/styles.js +11 -11
- package/lib/ui/gamification/leaderboard/index.d.ts +1 -1
- package/lib/ui/gamification/leaderboard/list-item/index.d.ts +2 -2
- package/lib/ui/gamification/leaderboard/list-item/styles.d.ts +7 -8
- package/lib/ui/gamification/leaderboard/static.d.ts +3 -3
- package/lib/ui/gamification/leaderboard/styles.d.ts +1 -2
- package/lib/ui/gamification/leaderboard/styles.js +1 -1
- package/lib/ui/gamification/onboarding/index.d.ts +3 -3
- package/lib/ui/gamification/onboarding/invitingUser/index.d.ts +0 -1
- package/lib/ui/gamification/onboarding/invitingUser/styles.d.ts +5 -6
- package/lib/ui/gamification/onboarding/slides/onboarding-instructions/index.d.ts +1 -0
- package/lib/ui/gamification/onboarding/slides/onboarding-instructions/styles.d.ts +10 -11
- package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.d.ts +1 -1
- package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.js +6 -6
- package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/styles.d.ts +9 -10
- package/lib/ui/gamification/onboarding/slides/onboarding-rules/index.d.ts +1 -1
- package/lib/ui/gamification/onboarding/slides/onboarding-rules/styles.d.ts +8 -9
- package/lib/ui/gamification/onboarding/slides/onboarding-terms/index.d.ts +0 -1
- package/lib/ui/gamification/onboarding/slides/onboarding-terms/styles.d.ts +4 -5
- package/lib/ui/gamification/onboarding/styles.d.ts +5 -6
- package/lib/ui/gamification/points/index.d.ts +0 -1
- package/lib/ui/gamification/points/styles.d.ts +5 -6
- package/lib/ui/gamification/question/index.d.ts +2 -2
- package/lib/ui/gamification/question/index.js +27 -26
- package/lib/ui/gamification/question/insight/index.d.ts +1 -1
- package/lib/ui/gamification/question/insight/styles.d.ts +2 -3
- package/lib/ui/gamification/question/list/index.d.ts +2 -2
- package/lib/ui/gamification/question/list/styles.d.ts +1 -2
- package/lib/ui/gamification/question/notification/index.d.ts +2 -2
- package/lib/ui/gamification/question/notification/insight/index.d.ts +2 -2
- package/lib/ui/gamification/question/notification/insight/styles.d.ts +7 -8
- package/lib/ui/gamification/question/notification/pill/index.d.ts +0 -1
- package/lib/ui/gamification/question/notification/pill/styles.d.ts +3 -4
- package/lib/ui/gamification/question/notification/prediction-result/animation-lines/index.d.ts +0 -1
- package/lib/ui/gamification/question/notification/prediction-result/animation-lines/styles.d.ts +58 -31
- package/lib/ui/gamification/question/notification/prediction-result/index.d.ts +3 -2
- package/lib/ui/gamification/question/notification/prediction-result/index.js +55 -54
- package/lib/ui/gamification/question/notification/prediction-result/styles.d.ts +11 -10
- package/lib/ui/gamification/question/notification/styles.d.ts +6 -7
- package/lib/ui/gamification/question/notification/tweet/index.d.ts +3 -3
- package/lib/ui/gamification/question/notification/tweet/styles.d.ts +4 -5
- package/lib/ui/gamification/question/styles.d.ts +14 -14
- package/lib/ui/gamification/question/styles.js +48 -43
- package/lib/ui/gamification/question/twitter/index.d.ts +2 -2
- package/lib/ui/gamification/question/twitter/styles.d.ts +3 -4
- package/lib/ui/gamification/tabs/index.d.ts +0 -1
- package/lib/ui/gamification/tabs/styles.d.ts +4 -5
- package/lib/ui/gamification/user-statistics/components/rank/index.d.ts +0 -1
- package/lib/ui/gamification/user-statistics/components/rank/styles.d.ts +3 -4
- package/lib/ui/gamification/user-statistics/components/statistic/index.d.ts +0 -1
- package/lib/ui/gamification/user-statistics/components/statistic/styles.d.ts +3 -4
- package/lib/ui/gamification/user-statistics/index.d.ts +0 -1
- package/lib/ui/gamification/user-statistics/styles.d.ts +17 -18
- package/lib/ui/gamification/vote/alert/index.d.ts +2 -1
- package/lib/ui/gamification/vote/alert/styles.d.ts +3 -4
- package/lib/ui/gamification/vote/feedback/index.d.ts +1 -1
- package/lib/ui/gamification/vote/feedback/styles.d.ts +8 -9
- package/lib/ui/gamification/vote/index.d.ts +1 -1
- package/lib/ui/gamification/vote/insight-details/index.d.ts +1 -1
- package/lib/ui/gamification/vote/insight-details/styles.d.ts +2 -3
- package/lib/ui/gamification/vote/styles.d.ts +4 -5
- package/lib/ui/gamification/vote/styles.js +1 -1
- package/lib/ui/gamification/vote/twitter-details/index.d.ts +2 -2
- package/lib/ui/gamification/vote/twitter-details/styles.d.ts +2 -3
- package/lib/ui/gamification/vote/vote-option/index.d.ts +1 -1
- package/lib/ui/gamification/vote/vote-option/index.js +6 -6
- package/lib/ui/gamification/vote/vote-option/styles.d.ts +19 -16
- package/lib/ui/gamification/vote/win-bar/index.d.ts +1 -1
- package/lib/ui/gamification/vote/win-bar/styles.d.ts +6 -7
- package/lib/ui/icons/index.d.ts +1 -1
- package/lib/ui/icons/index.js +108 -47
- package/lib/ui/lottie/index.d.ts +0 -1
- package/lib/ui/modal/index.d.ts +0 -1
- package/lib/ui/modal/index.js +1 -1
- package/lib/ui/navigation/button/Channels.d.ts +1 -1
- package/lib/ui/navigation/button/FeaturedGroups.d.ts +1 -1
- package/lib/ui/navigation/button/LeaderBoard.d.ts +1 -1
- package/lib/ui/navigation/button/index.d.ts +1 -1
- package/lib/ui/navigation/button/styles.d.ts +6 -7
- package/lib/ui/navigation/index.d.ts +1 -1
- package/lib/ui/navigation/masters.d.ts +6 -5
- package/lib/ui/questions/insight/index.d.ts +1 -1
- package/lib/ui/questions/insight/styles.d.ts +6 -7
- package/lib/ui/questions/twitter/account/index.d.ts +0 -1
- package/lib/ui/questions/twitter/account/styles.d.ts +6 -7
- package/lib/ui/questions/twitter/index.d.ts +1 -1
- package/lib/ui/questions/twitter/styles.d.ts +14 -11
- package/lib/ui/show-in/index.d.ts +2 -1
- package/lib/ui/skeleton/index.d.ts +0 -1
- package/lib/ui/skeleton/styles.d.ts +1 -2
- package/lib/ui/slide-in/index.d.ts +11 -0
- package/lib/ui/slide-in/index.js +24 -0
- package/lib/ui/theme/ThemeColors.js +1 -1
- package/lib/ui/theme/ThemeColorsAdvertisement.d.ts +1 -0
- package/lib/ui/theme/ThemeColorsAdvertisement.js +15 -0
- package/lib/ui/theme/breakpoints.d.ts +1 -0
- package/lib/ui/theme/constants.d.ts +23 -59
- package/lib/ui/theme/constants.js +41 -56
- package/lib/ui/theme/index.d.ts +0 -1
- package/lib/ui/theme/masters-theme.d.ts +4 -24
- package/lib/ui/theme/masters-theme.js +26 -58
- package/lib/ui/theme/masters.d.ts +0 -1
- package/lib/ui/theme/theme.d.ts +1 -1
- package/lib/ui/theme/theme.js +14 -11
- package/lib/ui/timer/index.d.ts +3 -2
- package/lib/ui/timer/index.js +32 -32
- package/lib/ui/video-player/index.d.ts +1 -1
- package/lib/ui/video-player/index.js +70 -62
- package/lib/ui/video-player/styles.d.ts +5 -6
- package/lib/utils/debug/storage.js +1 -1
- package/lib/utils/storage.js +1 -1
- package/package.json +47 -41
- package/lib/styles_z07sl8-l0sNRNKZ.js +0 -1
- package/lib/ui/app/app/Features/Gamification/Question.js +0 -69
- package/lib/ui/app/app/Features/Gamification/index.js +0 -88
- package/lib/ui/app/app/Navigation/index.js +0 -42
- package/lib/ui/app/app/Notifications/Onboarding/Notification/styles.d.ts +0 -10
- package/lib/ui/app/app/Notifications/Onboarding/index.js +0 -172
- package/lib/ui/app/app/Notifications/styles.d.ts +0 -8
- package/lib/ui/app/app/Points/index.d.ts +0 -5
- package/lib/ui/app/app/useAppContext.d.ts +0 -8
- package/lib/ui/app/masters/Features/Gamification/Friends.js +0 -19
- package/lib/ui/app/masters/Navigation/index.d.ts +0 -9
- package/lib/ui/app/masters/Navigation/index.js +0 -30
- package/lib/ui/app/masters/Notifications/Onboarding/Notification/styles.d.ts +0 -10
- package/lib/ui/app/masters/Notifications/Onboarding/Notification/styles.js +0 -50
- package/lib/ui/app/masters/Notifications/Onboarding/index.js +0 -172
- package/lib/ui/app/masters/Notifications/styles.d.ts +0 -8
- package/lib/ui/app/masters/Notifications/styles.js +0 -31
- package/lib/ui/app/masters/Points/index.d.ts +0 -5
- package/lib/ui/app/masters/useMastersApp.js +0 -68
- package/lib/ui/app/masters/useMastersContext.d.ts +0 -8
- package/lib/ui/app/styles.d.ts +0 -15
- package/lib/ui/login/demo.d.ts +0 -6
- package/lib/ui/login/styles.d.ts +0 -8
- package/lib/ui/login/styles.js +0 -39
- /package/lib/{ui/app → app}/app/Features/Gamification/gamification-feature.js +0 -0
- /package/lib/{ui/app → app}/app/Features/index.js +0 -0
- /package/lib/{ui/app → app}/app/Notifications/Onboarding/Notification/index.js +0 -0
- /package/lib/{ui/app → app}/app/useAppContext.js +0 -0
- /package/lib/{ui/app → app}/index.js +0 -0
- /package/lib/{ui → app}/login/demo.js +0 -0
- /package/lib/{ui/app → app}/masters/Features/Gamification/gamification-feature.js +0 -0
- /package/lib/{ui/app → app}/masters/Features/index.js +0 -0
- /package/lib/{ui/app → app}/masters/Notifications/Onboarding/Notification/index.js +0 -0
- /package/lib/{ui/app → app}/masters/useMastersContext.js +0 -0
- /package/lib/{ui/app → app}/useImagesPreload.d.ts +0 -0
- /package/lib/{ui/app → app}/useImagesPreload.js +0 -0
- /package/lib/{ui/app → app}/useSdkFeature.js +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsxs as u, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { styled as l } from "@linaria/react";
|
|
3
3
|
import { useStore as n } from "@nanostores/react";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { VoteHeader as c } from "../../../../gamification/detail/header/index.js";
|
|
7
|
-
import { Sponsor as p } from "../../../../gamification/detail/sponsor/index.js";
|
|
8
|
-
import { Vote as f, VoteSkeleton as b } from "../../../../gamification/vote/index.js";
|
|
9
|
-
import { InsightDetails as y } from "../../../../gamification/vote/insight-details/index.js";
|
|
10
|
-
import { TwitterDetails as V } from "../../../../gamification/vote/twitter-details/index.js";
|
|
4
|
+
import { useMastersContext as a } from "../../useMastersContext.js";
|
|
5
|
+
import { QuestionType as m } from "@streamlayer/sdk-web-types";
|
|
6
|
+
import { VoteHeader as c } from "../../../../ui/gamification/detail/header/index.js";
|
|
7
|
+
import { Sponsor as p } from "../../../../ui/gamification/detail/sponsor/index.js";
|
|
8
|
+
import { Vote as f, VoteSkeleton as b } from "../../../../ui/gamification/vote/index.js";
|
|
9
|
+
import { InsightDetails as y } from "../../../../ui/gamification/vote/insight-details/index.js";
|
|
10
|
+
import { TwitterDetails as V } from "../../../../ui/gamification/vote/twitter-details/index.js";
|
|
11
11
|
const h = /* @__PURE__ */ l("div")({
|
|
12
12
|
name: "QuestionContainer",
|
|
13
|
-
class: "
|
|
13
|
+
class: "qwgkhsv",
|
|
14
14
|
propsAsIs: !1
|
|
15
15
|
}), x = ({
|
|
16
16
|
openedQuestion: t
|
|
@@ -18,7 +18,7 @@ const h = /* @__PURE__ */ l("div")({
|
|
|
18
18
|
var s, o;
|
|
19
19
|
const {
|
|
20
20
|
sdk: r
|
|
21
|
-
} =
|
|
21
|
+
} = a();
|
|
22
22
|
return ((s = t == null ? void 0 : t.attributes) == null ? void 0 : s.attributes.case) === "insight" ? /* @__PURE__ */ e(y, {
|
|
23
23
|
...t.attributes.attributes.value,
|
|
24
24
|
controlVideo: r == null ? void 0 : r.controlVideoPlayer
|
|
@@ -52,7 +52,7 @@ const h = /* @__PURE__ */ l("div")({
|
|
|
52
52
|
return /* @__PURE__ */ u(h, {
|
|
53
53
|
children: [/* @__PURE__ */ e(c, {
|
|
54
54
|
close: t.closeQuestion,
|
|
55
|
-
type: ((i = r.attributes) == null ? void 0 : i.type) ||
|
|
55
|
+
type: ((i = r.attributes) == null ? void 0 : i.type) || m.UNSET
|
|
56
56
|
}), o === "question" && /* @__PURE__ */ e(d, {
|
|
57
57
|
vote: t.submitAnswer,
|
|
58
58
|
close: t.closeQuestion,
|
|
@@ -60,7 +60,7 @@ const h = /* @__PURE__ */ l("div")({
|
|
|
60
60
|
}), o !== "question" && /* @__PURE__ */ e(x, {
|
|
61
61
|
openedQuestion: r
|
|
62
62
|
}), /* @__PURE__ */ e(p, {
|
|
63
|
-
|
|
63
|
+
mastersLogo: !0
|
|
64
64
|
})]
|
|
65
65
|
});
|
|
66
66
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { Gamification } from '@streamlayer/feature-gamification';
|
|
2
|
+
|
|
3
3
|
export declare const QuestionsList: React.FC<{
|
|
4
4
|
store: ReturnType<Exclude<Gamification['feedList'], undefined>['getStore']>;
|
|
5
5
|
openQuestion: (questionId: string) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { useStore as i } from "@nanostores/react";
|
|
3
3
|
import { useMastersContext as n } from "../../useMastersContext.js";
|
|
4
|
-
import { QuestionList as m } from "../../../../gamification/question/list/index.js";
|
|
4
|
+
import { QuestionList as m } from "../../../../ui/gamification/question/list/index.js";
|
|
5
5
|
const a = ({ store: t, openQuestion: r }) => {
|
|
6
6
|
const { sdk: o } = n(), e = i(t);
|
|
7
7
|
return /* @__PURE__ */ s(m, { openQuestion: r, questions: e.data, controlVideo: o == null ? void 0 : o.controlVideoPlayer });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import { type Gamification } from '@streamlayer/feature-gamification';
|
|
3
|
-
import type { AppNodeRef, ScrollNodeRef } from '../../..';
|
|
1
|
+
import { AppNodeRef, ScrollNodeRef } from '../../..';
|
|
4
2
|
import { ResponsiveStore } from '../../../useSdkResponsive';
|
|
5
3
|
import { ScrollStore } from '../../../useSdkScroll';
|
|
4
|
+
import { Gamification } from '@streamlayer/feature-gamification';
|
|
5
|
+
|
|
6
6
|
export declare const Tabs: React.FC<{
|
|
7
7
|
appNode: AppNodeRef;
|
|
8
8
|
gamification: Gamification;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsxs as h, jsx as e, Fragment as x } from "react/jsx-runtime";
|
|
2
2
|
import { useStore as u } from "@nanostores/react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { ActivePages as a, Tabs as K } from "../../../../gamification/tabs/index.js";
|
|
3
|
+
import { TabsContainer as D, TabsNavContainer as T, SDKWhiteContainer as v, UserSummaryContainer as C, SDKContentContainer as A, LeaderboardContainer as I } from "../../../styles.js";
|
|
4
|
+
import { scrollIntoAppView as P } from "../../../useSdkScroll.js";
|
|
5
|
+
import { useState as S, useTransition as V, useEffect as E } from "react";
|
|
6
|
+
import { ActivePages as a, Tabs as K } from "../../../../ui/gamification/tabs/index.js";
|
|
7
7
|
import { Leaderboard as L } from "./Leaderboard.js";
|
|
8
8
|
import { QuestionsList as F } from "./QuestionsList.js";
|
|
9
9
|
import { UserSummary as O } from "./UserSummary.js";
|
|
10
10
|
const q = ({ gamification: s, className: f, scrollStore: t, scrollNode: l, appNode: c, style: b, responsiveStore: n }) => {
|
|
11
|
-
const { tabsShown: d } = u(t, { keys: ["tabsShown"] }), [i, w] =
|
|
11
|
+
const { tabsShown: d } = u(t, { keys: ["tabsShown"] }), [i, w] = S(a.HOME), [, y] = V(), { sdkInDesktopView: m, screen: g } = u(n, { keys: ["sdkInDesktopView"] }), k = (r) => {
|
|
12
12
|
y(() => {
|
|
13
13
|
var p;
|
|
14
|
-
w(r), m === !1 && (((p = c.current) == null ? void 0 : p.getBoundingClientRect().y) || 0) < 0 &&
|
|
14
|
+
w(r), m === !1 && (((p = c.current) == null ? void 0 : p.getBoundingClientRect().y) || 0) < 0 && P(c, g.size, { behavior: "instant" });
|
|
15
15
|
});
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
E(() => t.subscribe((r) => {
|
|
18
18
|
if (r.scrollPosition === 0) {
|
|
19
19
|
t.setKey("tabsShown", !0);
|
|
20
20
|
return;
|
|
@@ -22,9 +22,9 @@ const q = ({ gamification: s, className: f, scrollStore: t, scrollNode: l, appNo
|
|
|
22
22
|
n.get().sdkInDesktopView ? t.setKey("tabsShown", r.scrollDirection === "backward") : t.setKey("tabsShown", r.scrollDirection === "forward");
|
|
23
23
|
}), [t, n]);
|
|
24
24
|
let o = "0px";
|
|
25
|
-
return m ? o = d ? "0px" : "calc(8px - var(--header-height) - var(--header-offset))" : o = d ? "calc(var(--header-height) + var(--header-offset) - 2px)" : "0px", /* @__PURE__ */ h(
|
|
25
|
+
return m ? o = d ? "0px" : "calc(8px - var(--header-height) - var(--header-offset))" : o = d ? "calc(var(--header-height) + var(--header-offset) - 2px)" : "0px", /* @__PURE__ */ h(D, { className: f, style: b, children: [
|
|
26
26
|
/* @__PURE__ */ e(
|
|
27
|
-
|
|
27
|
+
T,
|
|
28
28
|
{
|
|
29
29
|
style: {
|
|
30
30
|
top: o
|
|
@@ -33,10 +33,10 @@ const q = ({ gamification: s, className: f, scrollStore: t, scrollNode: l, appNo
|
|
|
33
33
|
}
|
|
34
34
|
),
|
|
35
35
|
i === a.HOME && /* @__PURE__ */ h(x, { children: [
|
|
36
|
-
/* @__PURE__ */ e(
|
|
37
|
-
/* @__PURE__ */ e(
|
|
36
|
+
/* @__PURE__ */ e(v, { style: { paddingTop: "8px" }, children: /* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(O, { userSummary: s.userSummary }) }) }),
|
|
37
|
+
/* @__PURE__ */ e(A, { style: { flex: 1 }, children: /* @__PURE__ */ e(F, { openQuestion: s.openQuestion, store: s.feedList.getStore() }) })
|
|
38
38
|
] }),
|
|
39
|
-
i === a.LEADERBOARD && /* @__PURE__ */ e(
|
|
39
|
+
i === a.LEADERBOARD && /* @__PURE__ */ e(I, { children: /* @__PURE__ */ e(L, { scrollStore: t, scrollNode: l, gamification: s }) })
|
|
40
40
|
] });
|
|
41
41
|
};
|
|
42
42
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { Gamification } from '@streamlayer/feature-gamification';
|
|
2
|
+
|
|
3
3
|
export declare const UserSummary: React.FC<{
|
|
4
4
|
userSummary: Exclude<Gamification['userSummary'], undefined>;
|
|
5
5
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { useState as i, useEffect as n } from "react";
|
|
3
|
-
import { UserStatistics as a } from "../../../../gamification/user-statistics/index.js";
|
|
3
|
+
import { UserStatistics as a } from "../../../../ui/gamification/user-statistics/index.js";
|
|
4
4
|
const b = ({ userSummary: r }) => {
|
|
5
5
|
var e;
|
|
6
6
|
const [t, s] = i(void 0);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import { type Gamification as GamificationClass } from '@streamlayer/feature-gamification';
|
|
3
|
-
import type { AppNodeRef, ScrollNodeRef } from '../../..';
|
|
1
|
+
import { AppNodeRef, ScrollNodeRef } from '../../..';
|
|
4
2
|
import { ResponsiveStore } from '../../../useSdkResponsive';
|
|
5
3
|
import { ScrollStore } from '../../../useSdkScroll';
|
|
4
|
+
import { Gamification as GamificationClass } from '@streamlayer/feature-gamification';
|
|
5
|
+
|
|
6
6
|
export declare const GamificationOverlay: React.FC<{
|
|
7
7
|
gamification: GamificationClass;
|
|
8
8
|
className?: string;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { jsx as n, jsxs as f } from "react/jsx-runtime";
|
|
2
|
+
import { styled as m } from "@linaria/react";
|
|
3
|
+
import { useStore as a } from "@nanostores/react";
|
|
4
|
+
import { SDKWhiteContainer as h } from "../../../styles.js";
|
|
5
|
+
import { useHideTransition as C } from "../../../../hooks/showIn.js";
|
|
6
|
+
import { VoteHeader as k } from "../../../../ui/gamification/detail/header/index.js";
|
|
7
|
+
import { UserStatistics as S } from "../../../../ui/gamification/user-statistics/index.js";
|
|
8
|
+
import { ModalPortal as U } from "../../../../ui/modal/index.js";
|
|
9
|
+
import { ShowIn as y } from "../../../../ui/show-in/index.js";
|
|
10
|
+
import { Question as I } from "./Question.js";
|
|
11
|
+
import { Tabs as v } from "./Tabs.js";
|
|
12
|
+
const x = () => y, p = /* @__PURE__ */ m(x())({
|
|
13
|
+
name: "OpenedContainer",
|
|
14
|
+
class: "o1seszvt",
|
|
15
|
+
propsAsIs: !0
|
|
16
|
+
}), O = /* @__PURE__ */ m("div")({
|
|
17
|
+
name: "UserContainer",
|
|
18
|
+
class: "u1pbry50",
|
|
19
|
+
propsAsIs: !1
|
|
20
|
+
}), b = ({
|
|
21
|
+
correct: e,
|
|
22
|
+
incorrect: r
|
|
23
|
+
}) => {
|
|
24
|
+
const o = e + r;
|
|
25
|
+
return o === 0 ? 0 : Math.round(e / o * 100);
|
|
26
|
+
}, z = ({
|
|
27
|
+
gamification: e,
|
|
28
|
+
scrollStore: r,
|
|
29
|
+
className: o,
|
|
30
|
+
appNode: i,
|
|
31
|
+
scrollNode: s,
|
|
32
|
+
responsiveStore: t
|
|
33
|
+
}) => /* @__PURE__ */ n(v, {
|
|
34
|
+
appNode: i,
|
|
35
|
+
scrollStore: r,
|
|
36
|
+
scrollNode: s,
|
|
37
|
+
className: o,
|
|
38
|
+
gamification: e,
|
|
39
|
+
responsiveStore: t
|
|
40
|
+
}), E = ({
|
|
41
|
+
gamification: e,
|
|
42
|
+
className: r,
|
|
43
|
+
appNode: o,
|
|
44
|
+
responsiveStore: i
|
|
45
|
+
}) => {
|
|
46
|
+
const s = a(e.openedQuestion.$store), t = a(e.openedUser), {
|
|
47
|
+
sdkInDesktopView: d
|
|
48
|
+
} = a(i, {
|
|
49
|
+
keys: ["sdkInDesktopView"]
|
|
50
|
+
}), {
|
|
51
|
+
hiding: c,
|
|
52
|
+
onAnimationEnd: l
|
|
53
|
+
} = C();
|
|
54
|
+
if (!o.current || !s && !t)
|
|
55
|
+
return null;
|
|
56
|
+
const u = s ? /* @__PURE__ */ n(p, {
|
|
57
|
+
className: r,
|
|
58
|
+
hiding: c,
|
|
59
|
+
onAnimationEnd: l,
|
|
60
|
+
children: /* @__PURE__ */ n(I, {
|
|
61
|
+
gamification: e
|
|
62
|
+
})
|
|
63
|
+
}) : t ? /* @__PURE__ */ n(p, {
|
|
64
|
+
className: r,
|
|
65
|
+
hiding: c,
|
|
66
|
+
onAnimationEnd: l,
|
|
67
|
+
children: /* @__PURE__ */ f(O, {
|
|
68
|
+
children: [/* @__PURE__ */ n(k, {
|
|
69
|
+
label: "Friend's Rank",
|
|
70
|
+
close: e.closeUser
|
|
71
|
+
}), /* @__PURE__ */ n(h, {
|
|
72
|
+
children: /* @__PURE__ */ n(S, {
|
|
73
|
+
...t,
|
|
74
|
+
successRate: b(t)
|
|
75
|
+
})
|
|
76
|
+
})]
|
|
77
|
+
})
|
|
78
|
+
}) : null;
|
|
79
|
+
return /* @__PURE__ */ n(U, {
|
|
80
|
+
container: o,
|
|
81
|
+
useContainer: !d,
|
|
82
|
+
children: u
|
|
83
|
+
});
|
|
84
|
+
};
|
|
85
|
+
export {
|
|
86
|
+
z as GamificationOverlay,
|
|
87
|
+
E as GamificationOverlayStandalone
|
|
88
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import { Features } from '@streamlayer/sdk-web-features';
|
|
3
|
-
import { type StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
|
|
4
|
-
import type { AppNodeRef, ScrollNodeRef } from '../..';
|
|
1
|
+
import { AppNodeRef, ScrollNodeRef } from '../..';
|
|
5
2
|
import { ResponsiveStore } from '../../useSdkResponsive';
|
|
6
3
|
import { ScrollStore } from '../../useSdkScroll';
|
|
4
|
+
import { Features } from '@streamlayer/sdk-web-features';
|
|
5
|
+
import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
|
|
6
|
+
|
|
7
7
|
/** render feature by type */
|
|
8
8
|
export declare const ActiveFeature: React.FC<{
|
|
9
9
|
sdk: StreamLayerSDK;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ResponsiveStore } from '../../../useSdkResponsive';
|
|
3
|
-
import { ChannelsButtonId } from '../../../../navigation/button/Channels';
|
|
4
|
-
import { FeaturedGroupsButtonId } from '../../../../navigation/button/FeaturedGroups';
|
|
5
|
-
import { LeaderBoardButtonId } from '../../../../navigation/button/LeaderBoard';
|
|
2
|
+
import { ChannelsButtonId } from '../../../../ui/navigation/button/Channels';
|
|
3
|
+
import { FeaturedGroupsButtonId } from '../../../../ui/navigation/button/FeaturedGroups';
|
|
4
|
+
import { LeaderBoardButtonId } from '../../../../ui/navigation/button/LeaderBoard';
|
|
5
|
+
|
|
6
6
|
export { ChannelsButtonId, LeaderBoardButtonId, FeaturedGroupsButtonId };
|
|
7
7
|
export type AvailableOverlays = typeof ChannelsButtonId | typeof LeaderBoardButtonId | typeof FeaturedGroupsButtonId;
|
|
8
8
|
type MastersNavigationProps = {
|
|
@@ -13,4 +13,4 @@ type MastersNavigationProps = {
|
|
|
13
13
|
responsiveStore: ResponsiveStore;
|
|
14
14
|
scrollToTop: () => void;
|
|
15
15
|
};
|
|
16
|
-
export declare const MastersNavigation: import(
|
|
16
|
+
export declare const MastersNavigation: import('react').ForwardRefExoticComponent<MastersNavigationProps & import('react').RefAttributes<HTMLDivElement | null>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as s, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useStore as B } from "@nanostores/react";
|
|
3
3
|
import { forwardRef as l } from "react";
|
|
4
|
-
import { ChannelsButton as c, ChannelsButtonId as t } from "../../../../navigation/button/Channels.js";
|
|
5
|
-
import { FeaturedGroupsButton as x, FeaturedGroupsButtonId as n } from "../../../../navigation/button/FeaturedGroups.js";
|
|
6
|
-
import { LeaderBoardButtonId as S } from "../../../../navigation/button/LeaderBoard.js";
|
|
7
|
-
import { Navigation as I, NavigationItems as h } from "../../../../navigation/masters.js";
|
|
8
|
-
import { BREAKPOINTS as d } from "../../../../theme/constants.js";
|
|
4
|
+
import { ChannelsButton as c, ChannelsButtonId as t } from "../../../../ui/navigation/button/Channels.js";
|
|
5
|
+
import { FeaturedGroupsButton as x, FeaturedGroupsButtonId as n } from "../../../../ui/navigation/button/FeaturedGroups.js";
|
|
6
|
+
import { LeaderBoardButtonId as S } from "../../../../ui/navigation/button/LeaderBoard.js";
|
|
7
|
+
import { Navigation as I, NavigationItems as h } from "../../../../ui/navigation/masters.js";
|
|
8
|
+
import { BREAKPOINTS as d } from "../../../../ui/theme/constants.js";
|
|
9
9
|
const z = l(
|
|
10
10
|
({ activeOverlay: o, setActiveOverlay: e, scrollToTop: i, sdkReady: u, className: a, responsiveStore: f }, p) => {
|
|
11
11
|
const { screen: m } = B(f, { keys: ["screen"] });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import type { Notification } from '@streamlayer/sdk-web-notifications';
|
|
1
|
+
import { Notification } from '@streamlayer/sdk-web-notifications';
|
|
3
2
|
import { GameSettings } from '@streamlayer/sdk-web-types';
|
|
3
|
+
|
|
4
4
|
export declare const Onboarding: React.FC<{
|
|
5
5
|
close: Notification['close'];
|
|
6
6
|
action: Notification['action'];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
2
|
+
export declare const CloseIconWrap: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
3
|
+
export declare const CloseIcon: any;
|
|
4
|
+
export declare const Title: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
5
|
+
export declare const SponsorLogo: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
6
|
+
export declare const PresentsTitle: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
7
|
+
export declare const Subtitle: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
8
|
+
export declare const Description: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
9
|
+
export declare const ActionButton: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import { styled as s } from "@linaria/react";
|
|
2
|
-
import { SvgIcon as o } from "../../../../../icons/index.js";
|
|
2
|
+
import { SvgIcon as o } from "../../../../../ui/icons/index.js";
|
|
3
3
|
const a = /* @__PURE__ */ s("div")({
|
|
4
4
|
name: "Container",
|
|
5
|
-
class: "
|
|
5
|
+
class: "czz4rjk",
|
|
6
6
|
propsAsIs: !1
|
|
7
7
|
}), c = /* @__PURE__ */ s("div")({
|
|
8
8
|
name: "CloseIconWrap",
|
|
9
|
-
class: "
|
|
9
|
+
class: "cxmojsy",
|
|
10
10
|
propsAsIs: !1
|
|
11
|
-
}), n = () => o,
|
|
11
|
+
}), n = () => o, l = /* @__PURE__ */ s(n())({
|
|
12
12
|
name: "CloseIcon",
|
|
13
|
-
class: "
|
|
13
|
+
class: "c1urm3yx",
|
|
14
14
|
propsAsIs: !0
|
|
15
|
-
}),
|
|
15
|
+
}), p = /* @__PURE__ */ s("div")({
|
|
16
16
|
name: "Title",
|
|
17
|
-
class: "
|
|
17
|
+
class: "tme976v",
|
|
18
18
|
propsAsIs: !1
|
|
19
19
|
}), r = /* @__PURE__ */ s("img")({
|
|
20
20
|
name: "SponsorLogo",
|
|
21
|
-
class: "
|
|
21
|
+
class: "s1lal9yz",
|
|
22
22
|
propsAsIs: !1
|
|
23
23
|
}), i = /* @__PURE__ */ s("div")({
|
|
24
24
|
name: "PresentsTitle",
|
|
25
|
-
class: "
|
|
25
|
+
class: "pnn1sv1",
|
|
26
26
|
propsAsIs: !1
|
|
27
27
|
}), m = /* @__PURE__ */ s("div")({
|
|
28
28
|
name: "Subtitle",
|
|
29
|
-
class: "
|
|
29
|
+
class: "s1hjj1y8",
|
|
30
30
|
propsAsIs: !1
|
|
31
31
|
}), I = /* @__PURE__ */ s("div")({
|
|
32
32
|
name: "Description",
|
|
33
|
-
class: "
|
|
33
|
+
class: "dz7yjzw",
|
|
34
34
|
propsAsIs: !1
|
|
35
|
-
}),
|
|
35
|
+
}), A = /* @__PURE__ */ s("button")({
|
|
36
36
|
name: "ActionButton",
|
|
37
|
-
class: "
|
|
37
|
+
class: "avpowqk",
|
|
38
38
|
propsAsIs: !1
|
|
39
39
|
});
|
|
40
40
|
export {
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
A as ActionButton,
|
|
42
|
+
l as CloseIcon,
|
|
43
43
|
c as CloseIconWrap,
|
|
44
44
|
a as Container,
|
|
45
45
|
I as Description,
|
|
46
46
|
i as PresentsTitle,
|
|
47
47
|
r as SponsorLogo,
|
|
48
48
|
m as Subtitle,
|
|
49
|
-
|
|
49
|
+
p as Title
|
|
50
50
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import { type StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
|
|
3
|
-
import { type Notification } from '@streamlayer/sdk-web-notifications';
|
|
4
|
-
import { type AppNodeRef } from '../../..';
|
|
1
|
+
import { AppNodeRef } from '../../..';
|
|
5
2
|
import { ResponsiveStore } from '../../../useSdkResponsive';
|
|
3
|
+
import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
|
|
4
|
+
import { Notification } from '@streamlayer/sdk-web-notifications';
|
|
5
|
+
|
|
6
6
|
export declare const Onboarding: React.FC<{
|
|
7
7
|
sdk: StreamLayerSDK;
|
|
8
8
|
notification: Notification;
|