@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.
- package/lib/app/app/Advertisement/index.d.ts +8 -0
- package/lib/app/app/Advertisement/index.js +38 -0
- package/lib/{ui → app}/app/Features/FeatureProvider.d.ts +2 -2
- package/lib/{ui → app}/app/Features/FeatureProvider.js +10 -10
- package/lib/{ui → app}/app/Features/Gamification/Friends.d.ts +0 -1
- package/lib/{ui → app}/app/Features/Gamification/Friends.js +2 -2
- package/lib/app/app/Features/Gamification/Leaderboard.d.ts +9 -0
- package/lib/app/app/Features/Gamification/Leaderboard.js +55 -0
- package/lib/{ui → app}/app/Features/Gamification/Question.d.ts +1 -1
- package/lib/app/app/Features/Gamification/Question.js +69 -0
- package/lib/{ui → app}/app/Features/Gamification/QuestionsList.d.ts +2 -2
- package/lib/app/app/Features/Gamification/QuestionsList.js +11 -0
- package/lib/app/app/Features/Gamification/Tabs.d.ts +14 -0
- package/lib/{ui → app}/app/Features/Gamification/Tabs.js +12 -12
- package/lib/{ui → app}/app/Features/Gamification/UserSummary.d.ts +2 -2
- package/lib/{ui → app}/app/Features/Gamification/UserSummary.js +1 -1
- package/lib/{ui → app}/app/Features/Gamification/gamification-feature.d.ts +1 -0
- package/lib/{ui → app}/app/Features/Gamification/index.d.ts +5 -5
- package/lib/app/app/Features/Gamification/index.js +88 -0
- package/lib/{ui → app}/app/Features/index.d.ts +5 -5
- package/lib/app/app/Navigation/index.d.ts +6 -0
- package/lib/app/app/Navigation/index.js +64 -0
- package/lib/{ui → 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/app/app/Notifications/Onboarding/index.d.ts +14 -0
- package/lib/app/app/Notifications/Onboarding/index.js +168 -0
- package/lib/app/app/Notifications/index.d.ts +13 -0
- package/lib/{ui → app}/app/Notifications/index.js +24 -24
- package/lib/app/app/Notifications/styles.d.ts +9 -0
- package/lib/app/app/Notifications/styles.js +31 -0
- package/lib/app/app/Points/index.d.ts +5 -0
- package/lib/{ui → app}/app/Points/index.js +1 -1
- package/lib/app/app/index.d.ts +11 -0
- package/lib/app/app/index.js +101 -0
- 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/app/app/useApp.d.ts +20 -0
- package/lib/app/app/useApp.js +48 -0
- package/lib/app/app/useAppContext.d.ts +8 -0
- package/lib/app/app/useAppContext.js +8 -0
- package/lib/app/index.d.ts +6 -0
- 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/app/masters/Features/FeatureProvider.d.ts +11 -0
- package/lib/app/masters/Features/FeatureProvider.js +38 -0
- package/lib/app/masters/Features/Gamification/Friends.d.ts +3 -0
- package/lib/app/masters/Features/Gamification/Friends.js +19 -0
- package/lib/app/masters/Features/Gamification/Leaderboard.d.ts +9 -0
- package/lib/{ui/app → app/masters}/Features/Gamification/Leaderboard.js +10 -10
- package/lib/app/masters/Features/Gamification/Question.d.ts +5 -0
- package/lib/{ui/app → app/masters}/Features/Gamification/Question.js +15 -15
- package/lib/app/masters/Features/Gamification/QuestionsList.d.ts +6 -0
- package/lib/{ui/app → app/masters}/Features/Gamification/QuestionsList.js +1 -1
- package/lib/app/masters/Features/Gamification/Tabs.d.ts +14 -0
- package/lib/app/masters/Features/Gamification/Tabs.js +44 -0
- package/lib/app/masters/Features/Gamification/UserSummary.d.ts +5 -0
- package/lib/app/masters/Features/Gamification/UserSummary.js +18 -0
- package/lib/app/masters/Features/Gamification/gamification-feature.d.ts +3 -0
- package/lib/app/masters/Features/Gamification/gamification-feature.js +4 -0
- package/lib/app/masters/Features/Gamification/index.d.ts +23 -0
- package/lib/{ui/app → app/masters}/Features/Gamification/index.js +28 -28
- package/lib/app/masters/Features/index.d.ts +24 -0
- package/lib/app/masters/Features/index.js +37 -0
- package/lib/{ui/app → app/masters}/Navigation/MastersNavigation/index.d.ts +6 -6
- package/lib/{ui/app → app/masters}/Navigation/MastersNavigation/index.js +5 -5
- package/lib/app/masters/Notifications/Onboarding/Notification/index.d.ts +8 -0
- package/lib/app/masters/Notifications/Onboarding/Notification/index.js +18 -0
- package/lib/app/masters/Notifications/Onboarding/Notification/styles.d.ts +9 -0
- package/lib/{ui/app → app/masters}/Notifications/Onboarding/Notification/styles.js +16 -16
- package/lib/app/masters/Notifications/Onboarding/index.d.ts +14 -0
- package/lib/{ui/app → app/masters}/Notifications/Onboarding/index.js +87 -90
- package/lib/app/masters/Notifications/index.d.ts +13 -0
- package/lib/app/masters/Notifications/index.js +164 -0
- package/lib/app/masters/Notifications/styles.d.ts +9 -0
- package/lib/{ui/app → app/masters}/Notifications/styles.js +11 -11
- package/lib/app/masters/Points/index.d.ts +5 -0
- package/lib/app/masters/Points/index.js +28 -0
- package/lib/app/masters/masters.d.ts +14 -0
- package/lib/{ui/app → app/masters}/masters.js +33 -31
- 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/app/useClipboardCopy.d.ts +3 -0
- 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 -4
- package/lib/index.js +4 -4
- 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/MastersColors.d.ts +1 -0
- package/lib/ui/theme/MastersColors.js +15 -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 +5 -0
- package/lib/ui/theme/masters-theme.js +64 -0
- package/lib/ui/theme/masters.d.ts +4 -0
- package/lib/ui/theme/masters.js +6 -0
- package/lib/ui/theme/theme.d.ts +1 -1
- package/lib/ui/theme/theme.js +2 -2
- 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 +48 -38
- package/lib/ui/app/Features/Gamification/Leaderboard.d.ts +0 -9
- package/lib/ui/app/Features/Gamification/Tabs.d.ts +0 -14
- package/lib/ui/app/Navigation/index.d.ts +0 -9
- package/lib/ui/app/Navigation/index.js +0 -30
- package/lib/ui/app/Notifications/Onboarding/Notification/styles.d.ts +0 -10
- package/lib/ui/app/Notifications/Onboarding/index.d.ts +0 -14
- package/lib/ui/app/Notifications/index.d.ts +0 -13
- package/lib/ui/app/Notifications/styles.d.ts +0 -8
- package/lib/ui/app/Points/index.d.ts +0 -5
- package/lib/ui/app/masters.d.ts +0 -20
- package/lib/ui/app/styles.d.ts +0 -15
- package/lib/ui/app/useClipboardCopy.d.ts +0 -3
- package/lib/ui/app/useMastersApp.js +0 -68
- package/lib/ui/app/useMastersContext.d.ts +0 -8
- 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/Features/Gamification/gamification-feature.js +0 -0
- /package/lib/{ui → app}/app/Features/index.js +0 -0
- /package/lib/{ui → app}/app/Notifications/Onboarding/Notification/index.js +0 -0
- /package/lib/{styles_z07sl8-l0sNRNKZ.js → app/index.js} +0 -0
- /package/lib/{ui → app}/login/demo.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,7 +1,6 @@
|
|
|
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 HoverIconLeaderboardState: import("@linaria/core").LinariaClassName;
|
|
1
|
+
export declare const SButton: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
|
|
2
|
+
export declare const ButtonIcon: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLSpanElement> & import('react').HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
|
|
3
|
+
export declare const ButtonLabel: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLSpanElement> & import('react').HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
|
|
4
|
+
export declare const SelectedButton: import('@linaria/core').LinariaClassName;
|
|
5
|
+
export declare const HoverIconState: import('@linaria/core').LinariaClassName;
|
|
6
|
+
export declare const HoverIconLeaderboardState: import('@linaria/core').LinariaClassName;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export declare const Navigation: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
2
|
+
export declare const NavigationItems: {
|
|
3
|
+
__wyw_meta: unknown;
|
|
4
|
+
} & import('react').FC<{
|
|
5
|
+
children: React.ReactElement<import('./button').ButtonProps>[];
|
|
6
|
+
className?: string;
|
|
6
7
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { InsightHistory } from '@streamlayer/sdk-web-types';
|
|
3
2
|
import { VideoPlayerProps } from '../../video-player';
|
|
3
|
+
|
|
4
4
|
export type InsightContentProps = InsightHistory & {
|
|
5
5
|
isDetail?: boolean;
|
|
6
6
|
controlVideo: VideoPlayerProps['controlVideo'];
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const ImageContainer: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1
|
+
export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
2
|
+
export declare const Content: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
3
|
+
export declare const Title: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLHeadingElement> & import('react').HTMLAttributes<HTMLHeadingElement> & Record<never, unknown>>;
|
|
4
|
+
export declare const Description: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
5
|
+
export declare const Image: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
6
|
+
export declare const ImageContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const Image: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLImageElement> & import("react").ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
1
|
+
export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
2
|
+
export declare const ImageContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
3
|
+
export declare const Image: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
5
4
|
export declare const TwitterIcon: any;
|
|
6
|
-
export declare const Details: import(
|
|
7
|
-
export declare const Name: import(
|
|
8
|
-
export declare const UserNameAndDate: import(
|
|
5
|
+
export declare const Details: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
6
|
+
export declare const Name: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
7
|
+
export declare const UserNameAndDate: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { TweetHistory } from '@streamlayer/sdk-web-types';
|
|
3
2
|
import { VideoPlayerProps } from '../../video-player';
|
|
3
|
+
|
|
4
4
|
export type TwitterContentProps = TweetHistory & {
|
|
5
5
|
isDetail?: boolean;
|
|
6
6
|
controlVideo: VideoPlayerProps['controlVideo'];
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
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 Details: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
3
|
+
export declare const Body: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
4
|
+
export declare const ImagesContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
5
|
+
export declare const ImagesBlock: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
6
|
+
export declare const Image: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
|
|
7
|
+
export declare const ImageFullSize: {
|
|
8
|
+
__wyw_meta: unknown;
|
|
9
|
+
} & import('react').FunctionComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown> & {
|
|
10
|
+
as?: import('react').ElementType;
|
|
10
11
|
}>;
|
|
11
|
-
export declare const ImageHalfSize:
|
|
12
|
-
|
|
12
|
+
export declare const ImageHalfSize: {
|
|
13
|
+
__wyw_meta: unknown;
|
|
14
|
+
} & import('react').FunctionComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown> & {
|
|
15
|
+
as?: import('react').ElementType;
|
|
13
16
|
}>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const Container: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
1
|
+
export declare const Container: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type SlideInProps = {
|
|
2
|
+
children: React.ReactNode | React.ReactNode[];
|
|
3
|
+
direction: 'left' | 'right' | 'top' | 'bottom';
|
|
4
|
+
style?: React.CSSProperties;
|
|
5
|
+
className?: string;
|
|
6
|
+
enabled?: boolean;
|
|
7
|
+
hiding?: boolean;
|
|
8
|
+
onAnimationEnd?: React.AnimationEventHandler;
|
|
9
|
+
};
|
|
10
|
+
export declare const SlideIn: React.FC<SlideInProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { cx as a } from "@linaria/core";
|
|
3
|
+
import { styled as c } from "@linaria/react";
|
|
4
|
+
const l = /* @__PURE__ */ c("div")({
|
|
5
|
+
name: "Container",
|
|
6
|
+
class: "c5b6wdg",
|
|
7
|
+
propsAsIs: !1
|
|
8
|
+
}), d = {
|
|
9
|
+
left: "l1rlj479",
|
|
10
|
+
right: "r35f1di",
|
|
11
|
+
top: "tj4471g",
|
|
12
|
+
bottom: "b12050d8"
|
|
13
|
+
}, f = "h1d5ybek", h = ({
|
|
14
|
+
children: o,
|
|
15
|
+
style: i,
|
|
16
|
+
className: n,
|
|
17
|
+
enabled: t = !0,
|
|
18
|
+
hiding: r,
|
|
19
|
+
direction: s = "left",
|
|
20
|
+
onAnimationEnd: e
|
|
21
|
+
}) => /* @__PURE__ */ m(l, {
|
|
22
|
+
style: i,
|
|
23
|
+
className: a(n, t && d[s], t && r && f),
|
|
24
|
+
onAnimationEnd: e,
|
|
25
|
+
children: o
|
|
26
|
+
});
|
|
27
|
+
export {
|
|
28
|
+
h as SlideIn
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MastersColors: () => import("react/jsx-runtime").JSX.Element[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { ColorItem as s } from "@storybook/blocks";
|
|
3
|
+
import { MASTERS_COLORS as r } from "./masters-theme.js";
|
|
4
|
+
const l = Object.keys(r), i = () => l.map((o) => /* @__PURE__ */ t(
|
|
5
|
+
s,
|
|
6
|
+
{
|
|
7
|
+
title: o,
|
|
8
|
+
subtitle: `--color-${o.toLowerCase().replaceAll("_", "-")}`,
|
|
9
|
+
colors: [r[o]]
|
|
10
|
+
},
|
|
11
|
+
o
|
|
12
|
+
));
|
|
13
|
+
export {
|
|
14
|
+
i as MastersColors
|
|
15
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { ColorItem as e } from "@storybook/blocks";
|
|
3
|
-
import {
|
|
3
|
+
import { COLORS as r } from "./constants.js";
|
|
4
4
|
const l = Object.keys(r), p = () => l.map((o) => /* @__PURE__ */ t(
|
|
5
5
|
e,
|
|
6
6
|
{
|
|
@@ -1,66 +1,16 @@
|
|
|
1
|
-
export declare const MASTERS_COLORS: {
|
|
2
|
-
PRIMARY_GREEN1: string;
|
|
3
|
-
PRIMARY_GREEN2: string;
|
|
4
|
-
PRIMARY_GREEN3: string;
|
|
5
|
-
PRIMARY_GREEN4: string;
|
|
6
|
-
SECONDARY_RED1: string;
|
|
7
|
-
SECONDARY_RED2: string;
|
|
8
|
-
SECONDARY_RED3: string;
|
|
9
|
-
SECONDARY_YELLOW: string;
|
|
10
|
-
SECONDARY_GREEN5: string;
|
|
11
|
-
SECONDARY_GREEN6: string;
|
|
12
|
-
NEUTRALS_WHITE: string;
|
|
13
|
-
NEUTRALS_GRAY1: string;
|
|
14
|
-
NEUTRALS_GRAY2: string;
|
|
15
|
-
NEUTRALS_GRAY3: string;
|
|
16
|
-
NEUTRALS_GRAY4: string;
|
|
17
|
-
NEUTRALS_GRAY5: string;
|
|
18
|
-
NEUTRALS_GRAY6: string;
|
|
19
|
-
NEUTRALS_GRAY7: string;
|
|
20
|
-
NEUTRALS_GRAY8: string;
|
|
21
|
-
NEUTRALS_GRAY9: string;
|
|
22
|
-
NEUTRALS_BLACK: string;
|
|
23
|
-
};
|
|
24
1
|
export declare const COLORS: {
|
|
25
2
|
BG_TRANSPARENT: string;
|
|
26
|
-
BG_TRANSPARENT_VOTE_CONTAINER: string;
|
|
27
|
-
BG_TRANSPARENT_ITEM: string;
|
|
28
|
-
BG_TRANSPARENT_ITEM_VOTE: string;
|
|
29
|
-
BG_TRANSPARENT_ITEM_SUCCESS: string;
|
|
30
|
-
BG_TRANSPARENT_ITEM_ERROR: string;
|
|
31
|
-
BG_TRANSPARENT_VOTE_PROGRESS: string;
|
|
32
|
-
BG_TRANSPARENT_VOTE_PROGRESS_SUCCESS: string;
|
|
33
|
-
BG_TRANSPARENT_VOTE_PROGRESS_ERROR: string;
|
|
34
|
-
BG_TRANSPARENT_ONBOARDING_INAPP: string;
|
|
35
|
-
LEADERBOARD_UNIT: string;
|
|
36
|
-
BLUE_PRIMARY: string;
|
|
37
|
-
RED_PRIMARY: string;
|
|
38
|
-
RED_SECONDARY: string;
|
|
39
3
|
BLUE_QUESTION_ACTION_BTN: string;
|
|
40
4
|
WHITE: string;
|
|
41
|
-
|
|
42
|
-
GREY_2: string;
|
|
43
|
-
GREY_3: string;
|
|
44
|
-
GREY_4: string;
|
|
45
|
-
GREY_PRIMARY_ONBOARDING_INAPP: string;
|
|
46
|
-
BLACK_1: string;
|
|
47
|
-
GREEN_1: string;
|
|
48
|
-
RED_1: string;
|
|
49
|
-
RED_2: string;
|
|
5
|
+
BLUE: string;
|
|
50
6
|
GREY_PRIMARY: string;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
PRIMARY_GREEN4: string;
|
|
7
|
+
GREY_PRIMARY_ONBOARDING_INAPP: string;
|
|
8
|
+
PRIMARY_1: string;
|
|
9
|
+
PRIMARY_2: string;
|
|
10
|
+
PRIMARY_TEXT: string;
|
|
11
|
+
SUCCESS: string;
|
|
12
|
+
UNSUCCESS: string;
|
|
58
13
|
SECONDARY_RED1: string;
|
|
59
|
-
SECONDARY_RED2: string;
|
|
60
|
-
SECONDARY_RED3: string;
|
|
61
|
-
SECONDARY_YELLOW: string;
|
|
62
|
-
SECONDARY_GREEN5: string;
|
|
63
|
-
SECONDARY_GREEN6: string;
|
|
64
14
|
NEUTRALS_WHITE: string;
|
|
65
15
|
NEUTRALS_GRAY1: string;
|
|
66
16
|
NEUTRALS_GRAY2: string;
|
|
@@ -69,10 +19,13 @@ export declare const COLORS: {
|
|
|
69
19
|
NEUTRALS_GRAY5: string;
|
|
70
20
|
NEUTRALS_GRAY6: string;
|
|
71
21
|
NEUTRALS_GRAY7: string;
|
|
72
|
-
NEUTRALS_GRAY8: string;
|
|
73
22
|
NEUTRALS_GRAY9: string;
|
|
74
|
-
NEUTRALS_BLACK: string;
|
|
75
23
|
};
|
|
24
|
+
export declare const TIMER_COLORS: string[];
|
|
25
|
+
export declare const TIMER_GREEN = "#cee5de";
|
|
26
|
+
export declare const TIMER_RED = "#f9d6d8";
|
|
27
|
+
export declare const TIMER_GRAY = "#E8E8E8";
|
|
28
|
+
export type ICOLORS = typeof COLORS;
|
|
76
29
|
export declare const FONT: {
|
|
77
30
|
REGULAR: string;
|
|
78
31
|
SERIF: string;
|
|
@@ -1,43 +1,16 @@
|
|
|
1
|
-
const
|
|
1
|
+
const F = {
|
|
2
2
|
BG_TRANSPARENT: "rgba(0,0,0, .8)",
|
|
3
|
-
BG_TRANSPARENT_VOTE_CONTAINER: "rgba(10, 14, 19, 0.8)",
|
|
4
|
-
BG_TRANSPARENT_ITEM: "rgba(0, 0, 0, 0.7)",
|
|
5
|
-
BG_TRANSPARENT_ITEM_VOTE: "rgba(255, 255, 255, 0.1)",
|
|
6
|
-
BG_TRANSPARENT_ITEM_SUCCESS: "rgba(0, 139, 251, 0.2)",
|
|
7
|
-
BG_TRANSPARENT_ITEM_ERROR: "rgba(205, 37, 37, 0.2)",
|
|
8
|
-
BG_TRANSPARENT_VOTE_PROGRESS: "rgba(255, 255, 255, 0.2)",
|
|
9
|
-
BG_TRANSPARENT_VOTE_PROGRESS_SUCCESS: "rgba(60, 139, 251, 0.5)",
|
|
10
|
-
BG_TRANSPARENT_VOTE_PROGRESS_ERROR: "rgba(205, 37, 37, 0.5)",
|
|
11
|
-
BG_TRANSPARENT_ONBOARDING_INAPP: "rgba(138, 159, 182, 0.2)",
|
|
12
|
-
LEADERBOARD_UNIT: "rgba(255, 255, 255, 0.5)",
|
|
13
|
-
BLUE_PRIMARY: "#1589EE",
|
|
14
|
-
RED_PRIMARY: "#CD2525",
|
|
15
|
-
RED_SECONDARY: "#EB5757",
|
|
16
3
|
BLUE_QUESTION_ACTION_BTN: "#1589ee",
|
|
17
4
|
WHITE: "#FFFFFF",
|
|
18
|
-
|
|
19
|
-
GREY_2: "#22262b",
|
|
20
|
-
GREY_3: "#2d3135",
|
|
21
|
-
GREY_4: "#53565a",
|
|
22
|
-
GREY_PRIMARY_ONBOARDING_INAPP: "#B5B7B8",
|
|
23
|
-
BLACK_1: "#161a1f",
|
|
24
|
-
GREEN_1: "#F7B801",
|
|
25
|
-
RED_1: "#A30000",
|
|
26
|
-
RED_2: "#FF4170",
|
|
5
|
+
BLUE: "#2d6ffd",
|
|
27
6
|
GREY_PRIMARY: "#909395",
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
PRIMARY_GREEN4: "#193526",
|
|
7
|
+
GREY_PRIMARY_ONBOARDING_INAPP: "#B5B7B8",
|
|
8
|
+
PRIMARY_1: "#1D7BFF",
|
|
9
|
+
PRIMARY_2: "#095CD1",
|
|
10
|
+
PRIMARY_TEXT: "#090E13",
|
|
11
|
+
SUCCESS: "#107D57",
|
|
12
|
+
UNSUCCESS: "#DF2F3B",
|
|
35
13
|
SECONDARY_RED1: "#DF2F3B",
|
|
36
|
-
SECONDARY_RED2: "#BA0C2F",
|
|
37
|
-
SECONDARY_RED3: "#f9d6d8",
|
|
38
|
-
SECONDARY_YELLOW: "#fce300",
|
|
39
|
-
SECONDARY_GREEN5: "#C0DC8F",
|
|
40
|
-
SECONDARY_GREEN6: "#cee5de",
|
|
41
14
|
NEUTRALS_WHITE: "#FFFFFF",
|
|
42
15
|
NEUTRALS_GRAY1: "#F7F7F7",
|
|
43
16
|
NEUTRALS_GRAY2: "#F2F2F1",
|
|
@@ -46,36 +19,34 @@ const N = {
|
|
|
46
19
|
NEUTRALS_GRAY5: "#B1B3B3",
|
|
47
20
|
NEUTRALS_GRAY6: "#888B8D",
|
|
48
21
|
NEUTRALS_GRAY7: "#6B6F73",
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
REGULAR: "'Benton Sans', BentonSans, Arial, Helvetica, sans-serif",
|
|
54
|
-
SERIF: "'Tiempos', 'Tiempos Text', Times New Roman, serif",
|
|
22
|
+
NEUTRALS_GRAY9: "#25282A"
|
|
23
|
+
}, T = ["#107D57", "#DF2F3B", "#DF2F3B", "#E8E8E8"], _ = "#cee5de", e = "#f9d6d8", N = "#E8E8E8", S = {
|
|
24
|
+
REGULAR: "'SF Pro Text', Arial, Helvetica, sans-serif",
|
|
25
|
+
SERIF: "'SF Pro Display', Arial, Helvetica, sans-serif",
|
|
55
26
|
COLOR: "#fff",
|
|
56
27
|
WEIGHT_DEFAULT: "500"
|
|
57
|
-
},
|
|
28
|
+
}, s = {
|
|
58
29
|
xs: 324,
|
|
59
30
|
sm: 576,
|
|
60
31
|
md: 768,
|
|
61
32
|
lg: 992,
|
|
62
33
|
xl: 1200,
|
|
63
34
|
xxl: 1440
|
|
64
|
-
},
|
|
35
|
+
}, t = {
|
|
65
36
|
landscape: "landscape",
|
|
66
37
|
portrait: "portrait"
|
|
67
|
-
},
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
--color-${R.toLowerCase().replaceAll("_", "-")}: ${_};
|
|
72
|
-
`;
|
|
73
|
-
}, "");
|
|
38
|
+
}, o = Object.entries(F).reduce((R, [E, A]) => `
|
|
39
|
+
${R}
|
|
40
|
+
--color-${E.toLowerCase().replaceAll("_", "-")}: ${A};
|
|
41
|
+
`, "");
|
|
74
42
|
export {
|
|
75
|
-
|
|
76
|
-
|
|
43
|
+
s as BREAKPOINTS,
|
|
44
|
+
F as COLORS,
|
|
77
45
|
S as FONT,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
46
|
+
t as ORIENTATION,
|
|
47
|
+
T as TIMER_COLORS,
|
|
48
|
+
N as TIMER_GRAY,
|
|
49
|
+
_ as TIMER_GREEN,
|
|
50
|
+
e as TIMER_RED,
|
|
51
|
+
o as colors
|
|
81
52
|
};
|
package/lib/ui/theme/index.d.ts
CHANGED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { breakpoints as R } from "./breakpoints.js";
|
|
2
|
+
const a = {
|
|
3
|
+
BG_TRANSPARENT: "rgba(0,0,0, .8)",
|
|
4
|
+
BLUE_QUESTION_ACTION_BTN: "#1589ee",
|
|
5
|
+
WHITE: "#FFFFFF",
|
|
6
|
+
BLUE: "#2d6ffd",
|
|
7
|
+
GREY_PRIMARY_ONBOARDING_INAPP: "#B5B7B8",
|
|
8
|
+
GREY_PRIMARY: "#909395",
|
|
9
|
+
PRIMARY_1: "#107D57",
|
|
10
|
+
PRIMARY_2: "#006747",
|
|
11
|
+
PRIMARY_TEXT: "#006747",
|
|
12
|
+
SUCCESS: "#107D57",
|
|
13
|
+
UNSUCCESS: "#DF2F3B",
|
|
14
|
+
SECONDARY_RED1: "#DF2F3B",
|
|
15
|
+
NEUTRALS_WHITE: "#FFFFFF",
|
|
16
|
+
NEUTRALS_GRAY1: "#F7F7F7",
|
|
17
|
+
NEUTRALS_GRAY2: "#F2F2F1",
|
|
18
|
+
NEUTRALS_GRAY3: "#E8E8E8",
|
|
19
|
+
NEUTRALS_GRAY4: "#D9D9D6",
|
|
20
|
+
NEUTRALS_GRAY5: "#B1B3B3",
|
|
21
|
+
NEUTRALS_GRAY6: "#888B8D",
|
|
22
|
+
NEUTRALS_GRAY7: "#6B6F73",
|
|
23
|
+
NEUTRALS_GRAY9: "#25282A"
|
|
24
|
+
}, e = {
|
|
25
|
+
REGULAR: "'Benton Sans', BentonSans, Arial, Helvetica, sans-serif",
|
|
26
|
+
SERIF: "'Tiempos', 'Tiempos Text', Times New Roman, serif",
|
|
27
|
+
COLOR: "#fff",
|
|
28
|
+
WEIGHT_DEFAULT: "500"
|
|
29
|
+
}, n = Object.entries(a).reduce((t, [o, A]) => `
|
|
30
|
+
${t}
|
|
31
|
+
--color-${o.toLowerCase().replaceAll("_", "-")}: ${A};
|
|
32
|
+
`, ""), E = `
|
|
33
|
+
${n}
|
|
34
|
+
--font-family: ${e.REGULAR};
|
|
35
|
+
--font-regular: ${e.REGULAR};
|
|
36
|
+
--font-color: ${e.COLOR};
|
|
37
|
+
--font-serif: ${e.SERIF};
|
|
38
|
+
--font-weight-default: ${e.WEIGHT_DEFAULT};
|
|
39
|
+
|
|
40
|
+
--header-offset: 0px;
|
|
41
|
+
--header-height: 68px;
|
|
42
|
+
--watch-live-header: 0px;
|
|
43
|
+
--animation-duration: 0.5s;
|
|
44
|
+
--animation-function: ease;
|
|
45
|
+
--container-padding: 16px;
|
|
46
|
+
--border-radius: 8px;
|
|
47
|
+
--pill-offset: 0px;
|
|
48
|
+
--max-width: 600px;
|
|
49
|
+
--max-notifications-width: 400px;
|
|
50
|
+
|
|
51
|
+
${R.down("xl")`
|
|
52
|
+
--header-offset: 56px;
|
|
53
|
+
--watch-live-header: 46px;
|
|
54
|
+
`}
|
|
55
|
+
|
|
56
|
+
${R.intermediate("xl", "lg")`
|
|
57
|
+
--header-offset: 76px;
|
|
58
|
+
`}
|
|
59
|
+
`, i = "m1ojpy2l";
|
|
60
|
+
export {
|
|
61
|
+
a as MASTERS_COLORS,
|
|
62
|
+
i as mastersTheme,
|
|
63
|
+
E as mastersThemeStr
|
|
64
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { mastersTheme as a } from "./masters-theme.js";
|
|
3
|
+
const o = ({ children: r, style: m }) => /* @__PURE__ */ e("div", { className: "StreamLayerSDKTheme", children: /* @__PURE__ */ e("div", { className: a, style: m, children: r }) });
|
|
4
|
+
export {
|
|
5
|
+
o as StreamLayerMastersThemeProvider
|
|
6
|
+
};
|
package/lib/ui/theme/theme.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ export declare const themeStr: string;
|
|
|
3
3
|
* @link https://stackoverflow.com/a/65560812
|
|
4
4
|
*/
|
|
5
5
|
export declare const resetCss = "StreamLayerCSSReset";
|
|
6
|
-
export declare const theme: import(
|
|
6
|
+
export declare const theme: import('@linaria/core').LinariaClassName;
|
|
7
7
|
export declare const ThemeVariables: () => import("react/jsx-runtime").JSX.Element;
|
package/lib/ui/theme/theme.js
CHANGED
|
@@ -21,12 +21,12 @@ const l = `
|
|
|
21
21
|
--max-notifications-width: 400px;
|
|
22
22
|
|
|
23
23
|
${n.down("xl")`
|
|
24
|
-
--header-offset:
|
|
24
|
+
--header-offset: 0px;
|
|
25
25
|
--watch-live-header: 46px;
|
|
26
26
|
`}
|
|
27
27
|
|
|
28
28
|
${n.intermediate("xl", "lg")`
|
|
29
|
-
--header-offset:
|
|
29
|
+
--header-offset: 0px;
|
|
30
30
|
`}
|
|
31
31
|
`, p = "StreamLayerCSSReset", m = "ttkj0ah", x = () => /* @__PURE__ */ e("table", {
|
|
32
32
|
children: /* @__PURE__ */ r("table", {
|
package/lib/ui/timer/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
2
3
|
interface TimerProps {
|
|
3
4
|
isPlaying?: boolean;
|
|
4
5
|
duration?: number;
|
|
5
6
|
onTimerExpired?: () => void;
|
|
6
7
|
}
|
|
7
|
-
export declare const RemainingTime: import(
|
|
8
|
+
export declare const RemainingTime: import('@linaria/react').StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
8
9
|
export declare const Timer: React.FC<TimerProps>;
|
|
9
10
|
export {};
|