@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.
- package/lib/app/app/Advertisement/index.d.ts +8 -0
- package/lib/app/app/Advertisement/index.js +38 -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 +3 -0
- package/lib/app/app/story/content.js +14 -0
- package/lib/app/app/story/index.d.ts +8 -0
- package/lib/app/app/story/index.js +96 -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/video.d.ts +8 -0
- package/lib/app/app/story/video.js +96 -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 +6 -0
- package/lib/ui/advertisement/banner/index.js +27 -0
- package/lib/ui/advertisement/index.d.ts +9 -0
- package/lib/ui/advertisement/index.js +31 -0
- package/lib/ui/advertisement/mock.d.ts +3 -0
- package/lib/ui/advertisement/mock.js +33 -0
- package/lib/ui/advertisement/overlay/index.d.ts +5 -0
- package/lib/ui/advertisement/overlay/index.js +21 -0
- package/lib/ui/advertisement/sidebar/index.d.ts +6 -0
- package/lib/ui/advertisement/sidebar/index.js +23 -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 +26 -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/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 +107 -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 +29 -0
- package/lib/ui/theme/ThemeColors.js +1 -1
- package/lib/ui/theme/breakpoints.d.ts +1 -0
- package/lib/ui/theme/constants.d.ts +12 -59
- package/lib/ui/theme/constants.js +26 -55
- 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 +3 -3
- 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 +0 -1
- 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 +46 -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
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { App } from './
|
|
1
|
+
export { App } from './app/app';
|
|
2
2
|
export { StreamLayerThemeProvider } from './ui/theme';
|
package/lib/index.js
CHANGED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { styled as a } from "@linaria/react";
|
|
3
|
+
import { SlideIn as t } from "../../slide-in/index.js";
|
|
4
|
+
const o = /* @__PURE__ */ a("div")({
|
|
5
|
+
name: "BannerContainer",
|
|
6
|
+
class: "bipmch2",
|
|
7
|
+
propsAsIs: !1
|
|
8
|
+
}), d = ({
|
|
9
|
+
promotion: r,
|
|
10
|
+
direction: i = "bottom"
|
|
11
|
+
}) => {
|
|
12
|
+
var e;
|
|
13
|
+
return (e = r.additionalBanner) != null && e.imageUrl ? /* @__PURE__ */ n(t, {
|
|
14
|
+
direction: i,
|
|
15
|
+
children: /* @__PURE__ */ n(o, {
|
|
16
|
+
children: /* @__PURE__ */ n("img", {
|
|
17
|
+
src: r.additionalBanner.imageUrl,
|
|
18
|
+
width: 400,
|
|
19
|
+
height: 100,
|
|
20
|
+
alt: "promo"
|
|
21
|
+
})
|
|
22
|
+
})
|
|
23
|
+
}) : null;
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
d as Banner
|
|
27
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Advertisement } from '@streamlayer/feature-gamification';
|
|
2
|
+
|
|
3
|
+
export declare const AdvertisementUI: React.FC<{
|
|
4
|
+
advertisement: Advertisement & {
|
|
5
|
+
data: Exclude<Advertisement['data'], undefined>;
|
|
6
|
+
};
|
|
7
|
+
sidebar?: 'left' | 'right';
|
|
8
|
+
banner?: 'top' | 'bottom';
|
|
9
|
+
}>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsxs as e, jsx as c, Fragment as d } from "react/jsx-runtime";
|
|
2
|
+
import { useStore as s } from "@nanostores/react";
|
|
3
|
+
import { PromotionType as t } from "@streamlayer/sdk-web-types";
|
|
4
|
+
import { Banner as a } from "./banner/index.js";
|
|
5
|
+
import { Overlay as u } from "./overlay/index.js";
|
|
6
|
+
import { Sidebar as h } from "./sidebar/index.js";
|
|
7
|
+
const f = (r) => (r == null ? void 0 : r.type) === t.INGAME_IAB11_LBAR || (r == null ? void 0 : r.type) === t.INGAME_IAB21_LBAR, A = (r) => (r == null ? void 0 : r.type) === t.INGAME_IAB11 || (r == null ? void 0 : r.type) === t.INGAME_IAB21, _ = ({ advertisement: r, sidebar: n, banner: i }) => {
|
|
8
|
+
const l = s(r.data);
|
|
9
|
+
return !l.data && l.loading ? /* @__PURE__ */ e("div", { children: [
|
|
10
|
+
"loading... ",
|
|
11
|
+
/* @__PURE__ */ c("button", { onClick: r.close, children: "close" })
|
|
12
|
+
] }) : l.error ? /* @__PURE__ */ e("div", { children: [
|
|
13
|
+
"error ",
|
|
14
|
+
/* @__PURE__ */ c("button", { onClick: r.close, children: "close" })
|
|
15
|
+
] }) : l.data ? i ? /* @__PURE__ */ e(d, { children: [
|
|
16
|
+
/* @__PURE__ */ c(a, { promotion: l.data, direction: i }),
|
|
17
|
+
/* @__PURE__ */ c("button", { onClick: r.close, children: "close" })
|
|
18
|
+
] }) : n && f(l.data) ? /* @__PURE__ */ e(d, { children: [
|
|
19
|
+
/* @__PURE__ */ c(h, { direction: n, children: /* @__PURE__ */ c(u, { promotion: l.data }) }),
|
|
20
|
+
/* @__PURE__ */ c("button", { onClick: r.close, children: "close" })
|
|
21
|
+
] }) : !n && A(l.data) ? /* @__PURE__ */ e(d, { children: [
|
|
22
|
+
/* @__PURE__ */ c(u, { promotion: l.data }),
|
|
23
|
+
/* @__PURE__ */ c("button", { onClick: r.close, children: "close" })
|
|
24
|
+
] }) : null : /* @__PURE__ */ e("div", { children: [
|
|
25
|
+
"empty promo ",
|
|
26
|
+
/* @__PURE__ */ c("button", { onClick: r.close, children: "close" })
|
|
27
|
+
] });
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
_ as AdvertisementUI
|
|
31
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { PromotionType as o, PromotionWallet as e, PromotionLogoMode as a, CtaIconMode as t } from "@streamlayer/sdk-web-types";
|
|
2
|
+
const d = {
|
|
3
|
+
type: o.INGAME_IAB21_LBAR,
|
|
4
|
+
enableWallet: e.DISABLED,
|
|
5
|
+
coupon: "",
|
|
6
|
+
logoMode: a.LEFT,
|
|
7
|
+
couponZip: "",
|
|
8
|
+
couponBarcodeUrl: "",
|
|
9
|
+
sponsor: {
|
|
10
|
+
logo: "https://static-next.streamlayer.io/a8b6c1738a31dd0076a01c8807253533/f1de6799-4502-4423-9cbe-4804cd0ba769/c911da1a-e4a1-4e9a-8eb2-d1a6aa17e05d.png",
|
|
11
|
+
name: "Coca Cola"
|
|
12
|
+
},
|
|
13
|
+
banner: {
|
|
14
|
+
imageUrl: "https://static-next.streamlayer.io/a8b6c1738a31dd0076a01c8807253533/be4af347-d124-4677-b413-cf288dadbdaf/059b6e6f-518d-46e6-b149-7e6afe01f756.png",
|
|
15
|
+
url: "google.com",
|
|
16
|
+
ctaButton: {
|
|
17
|
+
label: "Order",
|
|
18
|
+
color: "#1d7bff",
|
|
19
|
+
ctaIcon: "",
|
|
20
|
+
ctaIconMode: t.CTA_ICON_UNSET,
|
|
21
|
+
textColor: "#fff"
|
|
22
|
+
},
|
|
23
|
+
body: "Order pizza",
|
|
24
|
+
title: "Get free Cola"
|
|
25
|
+
},
|
|
26
|
+
additionalBanner: {
|
|
27
|
+
imageUrl: "https://static-next.streamlayer.io/a8b6c1738a31dd0076a01c8807253533/42b6d84a-3cca-4eed-98ed-195706b47882/fce903c3-9781-4613-ae1e-4cce7e8cde90.png",
|
|
28
|
+
url: "google.com"
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
d as promotionMock
|
|
33
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
const b = ({ promotion: r }) => {
|
|
3
|
+
var i, l, n, c, h, a, t, s, v;
|
|
4
|
+
return /* @__PURE__ */ d("div", { className: "PromoOverlay", children: [
|
|
5
|
+
/* @__PURE__ */ d("div", { children: [
|
|
6
|
+
/* @__PURE__ */ d("div", { children: [
|
|
7
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e("img", { src: (i = r.sponsor) == null ? void 0 : i.logo, width: 100, height: 50, alt: "promo" }) }),
|
|
8
|
+
/* @__PURE__ */ e("div", { children: (l = r.sponsor) == null ? void 0 : l.name })
|
|
9
|
+
] }),
|
|
10
|
+
/* @__PURE__ */ d("div", { children: [
|
|
11
|
+
/* @__PURE__ */ e("div", { children: "AD" }),
|
|
12
|
+
/* @__PURE__ */ e("div", { children: "SPONSORED" })
|
|
13
|
+
] })
|
|
14
|
+
] }),
|
|
15
|
+
/* @__PURE__ */ e("div", { children: (c = (n = r.banner) == null ? void 0 : n.video) != null && c.url ? /* @__PURE__ */ e("video", { src: r.banner.video.url, width: 250, height: 100, children: /* @__PURE__ */ e("source", { type: "video/streamlayer" }) }) : /* @__PURE__ */ e("img", { src: (h = r.banner) == null ? void 0 : h.imageUrl, width: 250, height: 100, alt: "promo" }) }),
|
|
16
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e("button", { style: { backgroundColor: (t = (a = r.banner) == null ? void 0 : a.ctaButton) == null ? void 0 : t.color }, children: (v = (s = r.banner) == null ? void 0 : s.ctaButton) == null ? void 0 : v.label }) })
|
|
17
|
+
] });
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
b as Overlay
|
|
21
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { styled as n } from "@linaria/react";
|
|
3
|
+
import { SlideIn as t } from "../../slide-in/index.js";
|
|
4
|
+
const a = /* @__PURE__ */ n("div")({
|
|
5
|
+
name: "SidebarContainer",
|
|
6
|
+
class: "s1abskp8",
|
|
7
|
+
propsAsIs: !1
|
|
8
|
+
}), l = ({
|
|
9
|
+
children: e,
|
|
10
|
+
direction: o,
|
|
11
|
+
style: s,
|
|
12
|
+
className: i
|
|
13
|
+
}) => /* @__PURE__ */ r(t, {
|
|
14
|
+
direction: o,
|
|
15
|
+
style: s,
|
|
16
|
+
className: i,
|
|
17
|
+
children: /* @__PURE__ */ r(a, {
|
|
18
|
+
children: e
|
|
19
|
+
})
|
|
20
|
+
});
|
|
21
|
+
export {
|
|
22
|
+
l as Sidebar
|
|
23
|
+
};
|
package/lib/ui/button/index.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const ButtonLabel: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
|
|
1
|
+
export declare const SButton: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
|
|
2
|
+
export declare const ButtonLabel: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLSpanElement> & import('react').HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const Title: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
|
|
1
|
+
export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
|
|
2
|
+
export declare const Content: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
3
|
+
export declare const Title: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLSpanElement> & import('react').HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const QuestionTypeWrap: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1
|
+
export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
2
|
+
export declare const QuestionTypeWrap: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
4
3
|
export declare const QuestionTypeIcon: any;
|
|
5
|
-
export declare const QuestionTypeTitle: import(
|
|
6
|
-
export declare const CloseIconWrap: import(
|
|
4
|
+
export declare const QuestionTypeTitle: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLSpanElement> & import('react').HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
|
|
5
|
+
export declare const CloseIconWrap: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
7
6
|
export declare const CloseIcon: any;
|
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { styled as
|
|
3
|
-
import { SvgIcon as
|
|
4
|
-
const
|
|
2
|
+
import { styled as n } from "@linaria/react";
|
|
3
|
+
import { SvgIcon as e } from "../../../icons/index.js";
|
|
4
|
+
const s = /* @__PURE__ */ n("div")({
|
|
5
5
|
name: "SponsorLogoWrap",
|
|
6
6
|
class: "s8p5v5z",
|
|
7
7
|
propsAsIs: !1
|
|
8
|
-
}),
|
|
8
|
+
}), t = () => e, r = /* @__PURE__ */ n(t())({
|
|
9
9
|
name: "SponsorLogo",
|
|
10
10
|
class: "s755yti",
|
|
11
11
|
propsAsIs: !0
|
|
12
|
-
}),
|
|
13
|
-
|
|
12
|
+
}), i = ({
|
|
13
|
+
mastersApp: p
|
|
14
|
+
}) => p ? /* @__PURE__ */ o(s, {
|
|
15
|
+
children: /* @__PURE__ */ o(r, {
|
|
14
16
|
name: "mastersLogo"
|
|
15
17
|
})
|
|
18
|
+
}) : /* @__PURE__ */ o(s, {
|
|
19
|
+
children: /* @__PURE__ */ o(r, {
|
|
20
|
+
name: "streamLayerLogo"
|
|
21
|
+
})
|
|
16
22
|
});
|
|
17
23
|
export {
|
|
18
|
-
|
|
24
|
+
i as Sponsor
|
|
19
25
|
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const NextIcon: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
1
|
+
export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
2
|
+
export declare const Content: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
3
|
+
export declare const Graphic: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
4
|
+
export declare const InsightIconDefault: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
5
|
+
export declare const InsightIconCircle: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
6
|
+
export declare const InsightIconAbsolute: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
7
|
+
export declare const Title: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
8
|
+
export declare const NextIcon: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const ItemsContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1
|
+
export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
2
|
+
export declare const ItemsContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { jsxs as i, jsx as
|
|
2
|
-
import { useAnalyticsHandle as
|
|
3
|
-
import { InvitationFrom as
|
|
4
|
-
import { Container as s, FriendsIcon as
|
|
5
|
-
const
|
|
6
|
-
const [
|
|
1
|
+
import { jsxs as i, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { useAnalyticsHandle as a } from "../../../hooks/analytics.js";
|
|
3
|
+
import { InvitationFrom as m } from "@streamlayer/sdk-web-types";
|
|
4
|
+
import { Container as s, FriendsIcon as l, Content as d, Title as p, Description as f, ArrowInviteIcon as I } from "./styles.js";
|
|
5
|
+
const C = ({ title: o, description: t, onClick: r, className: e }) => {
|
|
6
|
+
const [c] = a({
|
|
7
7
|
type: "invitation",
|
|
8
8
|
action: "sent",
|
|
9
9
|
payload: {
|
|
10
|
-
from:
|
|
10
|
+
from: m.TITLE_CARD
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
|
-
return /* @__PURE__ */ i(s, { onClick: r
|
|
14
|
-
/* @__PURE__ */
|
|
13
|
+
return /* @__PURE__ */ i(s, { onClick: c(r), className: e, children: [
|
|
14
|
+
/* @__PURE__ */ n(l, { name: "icon-friends" }),
|
|
15
15
|
/* @__PURE__ */ i(d, { children: [
|
|
16
|
-
/* @__PURE__ */
|
|
17
|
-
/* @__PURE__ */
|
|
16
|
+
/* @__PURE__ */ n(p, { children: o }),
|
|
17
|
+
/* @__PURE__ */ n(f, { children: t })
|
|
18
18
|
] }),
|
|
19
|
-
/* @__PURE__ */
|
|
19
|
+
/* @__PURE__ */ n(I, { name: "icon-copy" })
|
|
20
20
|
] });
|
|
21
21
|
};
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
C as InviteLink
|
|
24
24
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const Description: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1
|
+
export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
2
|
+
export declare const FriendsIcon: any;
|
|
3
|
+
export declare const Content: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
4
|
+
export declare const Title: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
5
|
+
export declare const Description: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
7
6
|
export declare const ArrowInviteIcon: any;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { styled as s } from "@linaria/react";
|
|
2
2
|
import { SvgIcon as n } from "../../icons/index.js";
|
|
3
|
-
const
|
|
3
|
+
const r = /* @__PURE__ */ s("div")({
|
|
4
4
|
name: "Container",
|
|
5
5
|
class: "c1ux29ft",
|
|
6
6
|
propsAsIs: !1
|
|
7
|
-
}),
|
|
7
|
+
}), o = () => n, a = /* @__PURE__ */ s(o())({
|
|
8
8
|
name: "FriendsIcon",
|
|
9
9
|
class: "f10ncfg2",
|
|
10
|
-
propsAsIs: !
|
|
11
|
-
}),
|
|
10
|
+
propsAsIs: !0
|
|
11
|
+
}), p = /* @__PURE__ */ s("div")({
|
|
12
12
|
name: "Content",
|
|
13
13
|
class: "c1yc07bd",
|
|
14
14
|
propsAsIs: !1
|
|
@@ -16,20 +16,20 @@ const c = /* @__PURE__ */ s("div")({
|
|
|
16
16
|
name: "Title",
|
|
17
17
|
class: "tj6cq7w",
|
|
18
18
|
propsAsIs: !1
|
|
19
|
-
}),
|
|
19
|
+
}), l = /* @__PURE__ */ s("div")({
|
|
20
20
|
name: "Description",
|
|
21
21
|
class: "d1ag78xo",
|
|
22
22
|
propsAsIs: !1
|
|
23
|
-
}),
|
|
23
|
+
}), e = () => n, I = /* @__PURE__ */ s(e())({
|
|
24
24
|
name: "ArrowInviteIcon",
|
|
25
25
|
class: "awohrz6",
|
|
26
26
|
propsAsIs: !0
|
|
27
27
|
});
|
|
28
28
|
export {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
I as ArrowInviteIcon,
|
|
30
|
+
r as Container,
|
|
31
|
+
p as Content,
|
|
32
|
+
l as Description,
|
|
33
|
+
a as FriendsIcon,
|
|
34
34
|
i as Title
|
|
35
35
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { LeaderboardItem as ILeaderboardItem } from '@streamlayer/sdk-web-types';
|
|
2
|
+
|
|
3
3
|
export type LeaderboardItemProps = Partial<ILeaderboardItem> & {
|
|
4
4
|
userId: string;
|
|
5
5
|
isCurrentUser?: boolean;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const Name: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
|
|
1
|
+
export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
2
|
+
export declare const Position: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
3
|
+
export declare const Avatar: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
4
|
+
export declare const AvatarPlaceholder: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
5
|
+
export declare const Content: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
6
|
+
export declare const NameContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
7
|
+
export declare const Name: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLSpanElement> & import('react').HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
|
|
9
8
|
export declare const CurrentUserBadge: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import { ScrollStore } from '../../app/useSdkScroll';
|
|
1
|
+
import { ScrollNodeRef } from '../../../app/masters';
|
|
2
|
+
import { ScrollStore } from '../../../app/useSdkScroll';
|
|
4
3
|
import { LeaderboardItemProps } from './list-item';
|
|
4
|
+
|
|
5
5
|
type LeaderboardListProps = {
|
|
6
6
|
items: Omit<LeaderboardItemProps, 'openItemDetail'>[];
|
|
7
7
|
currentUserId?: string;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const ScrollContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1
|
+
export declare const ScrollContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import { type StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
|
|
1
|
+
import { Gamification } from '@streamlayer/feature-gamification';
|
|
2
|
+
import { StreamLayerSDK } from '@streamlayer/sdk-web-interfaces';
|
|
4
3
|
import { OnboardingStep } from './slides/onboarding-instructions';
|
|
5
4
|
import { OnboardingInviteCardProps } from './slides/onboarding-invite-card';
|
|
6
5
|
import { OnboardingRule } from './slides/onboarding-rules';
|
|
6
|
+
|
|
7
7
|
type OnboardingType = OnboardingInviteCardProps & {
|
|
8
8
|
gamification: Gamification;
|
|
9
9
|
sdk: StreamLayerSDK;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const Name: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
|
|
1
|
+
export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
2
|
+
export declare const Avatar: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
3
|
+
export declare const AvatarPlaceholder: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
4
|
+
export declare const Content: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
5
|
+
export declare const Name: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLSpanElement> & import('react').HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
|