fansunited-frontend-components 0.0.1-RC3 → 0.0.1-RC5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/{dist/esm/components.js → classic-quiz-play.es.js} +1 -1
  2. package/classic-quiz-play.umd.js +174 -0
  3. package/index.d.ts +3 -0
  4. package/package.json +4 -26
  5. package/src/components/ClassicQuizNotFound.d.ts +4 -0
  6. package/src/components/ClassicQuizNotFound.d.ts.map +1 -0
  7. package/src/components/ClassicQuizNotFound.js +55 -0
  8. package/src/components/ClassicQuizPlay.d.ts +5 -0
  9. package/src/components/ClassicQuizPlay.d.ts.map +1 -0
  10. package/src/components/ClassicQuizPlay.js +321 -0
  11. package/src/components/Leads/CollectLead.d.ts +22 -0
  12. package/src/components/Leads/CollectLead.d.ts.map +1 -0
  13. package/src/components/Leads/CollectLead.js +20 -0
  14. package/src/components/Leads/LeadAgreementCheckbox.d.ts +10 -0
  15. package/src/components/Leads/LeadAgreementCheckbox.d.ts.map +1 -0
  16. package/src/components/Leads/LeadAgreementCheckbox.js +45 -0
  17. package/src/components/Leads/LeadForm.d.ts +20 -0
  18. package/src/components/Leads/LeadForm.d.ts.map +1 -0
  19. package/src/components/Leads/LeadForm.js +289 -0
  20. package/src/components/Shared/AlertMessage.d.ts +10 -0
  21. package/src/components/Shared/AlertMessage.d.ts.map +1 -0
  22. package/src/components/Shared/AlertMessage.js +37 -0
  23. package/src/components/Shared/Answers/Answers.d.ts +14 -0
  24. package/src/components/Shared/Answers/Answers.d.ts.map +1 -0
  25. package/src/components/Shared/Answers/Answers.js +31 -0
  26. package/src/components/Shared/Answers/Option.d.ts +13 -0
  27. package/src/components/Shared/Answers/Option.d.ts.map +1 -0
  28. package/src/components/Shared/Answers/Option.js +118 -0
  29. package/src/components/Shared/Button.d.ts +12 -0
  30. package/src/components/Shared/Button.d.ts.map +1 -0
  31. package/src/components/Shared/Button.js +43 -0
  32. package/src/components/Shared/MainCard.d.ts +10 -0
  33. package/src/components/Shared/MainCard.d.ts.map +1 -0
  34. package/src/components/Shared/MainCard.js +24 -0
  35. package/src/components/Shared/Pagination.d.ts +10 -0
  36. package/src/components/Shared/Pagination.d.ts.map +1 -0
  37. package/src/components/Shared/Pagination.js +118 -0
  38. package/src/components/Shared/PresentedBy.d.ts +8 -0
  39. package/src/components/Shared/PresentedBy.d.ts.map +1 -0
  40. package/src/components/Shared/PresentedBy.js +51 -0
  41. package/src/components/Shared/ScoreStateWrapper.d.ts +13 -0
  42. package/src/components/Shared/ScoreStateWrapper.d.ts.map +1 -0
  43. package/src/components/Shared/ScoreStateWrapper.js +254 -0
  44. package/src/components/Shared/Stepper.d.ts +11 -0
  45. package/src/components/Shared/Stepper.d.ts.map +1 -0
  46. package/src/components/Shared/Stepper.js +75 -0
  47. package/src/components/Shared/Stopwatch.d.ts +12 -0
  48. package/src/components/Shared/Stopwatch.d.ts.map +1 -0
  49. package/src/components/Shared/Stopwatch.js +103 -0
  50. package/src/components/Variants/Overlay/AuthError/OverlayAuthError.d.ts +8 -0
  51. package/src/components/Variants/Overlay/AuthError/OverlayAuthError.d.ts.map +1 -0
  52. package/src/components/Variants/Overlay/AuthError/OverlayAuthError.js +68 -0
  53. package/src/components/Variants/Overlay/AuthError/OverlayAuthError.styles.d.ts +118 -0
  54. package/src/components/Variants/Overlay/AuthError/OverlayAuthError.styles.d.ts.map +1 -0
  55. package/src/components/Variants/Overlay/AuthError/OverlayAuthError.styles.js +103 -0
  56. package/src/components/Variants/Overlay/OverlayVariant.d.ts +5 -0
  57. package/src/components/Variants/Overlay/OverlayVariant.d.ts.map +1 -0
  58. package/src/components/Variants/Overlay/OverlayVariant.js +100 -0
  59. package/src/components/Variants/Overlay/OverlayVariant.styles.d.ts +286 -0
  60. package/src/components/Variants/Overlay/OverlayVariant.styles.d.ts.map +1 -0
  61. package/src/components/Variants/Overlay/OverlayVariant.styles.js +266 -0
  62. package/src/components/Variants/Overlay/ScoreState/OverlayScoreState.d.ts +16 -0
  63. package/src/components/Variants/Overlay/ScoreState/OverlayScoreState.d.ts.map +1 -0
  64. package/src/components/Variants/Overlay/ScoreState/OverlayScoreState.js +90 -0
  65. package/src/components/Variants/Overlay/ScoreState/OverlayScoreState.styles.d.ts +364 -0
  66. package/src/components/Variants/Overlay/ScoreState/OverlayScoreState.styles.d.ts.map +1 -0
  67. package/src/components/Variants/Overlay/ScoreState/OverlayScoreState.styles.js +374 -0
  68. package/src/components/Variants/Split/AuthError/SplitAuthError.d.ts +8 -0
  69. package/src/components/Variants/Split/AuthError/SplitAuthError.d.ts.map +1 -0
  70. package/src/components/Variants/Split/AuthError/SplitAuthError.js +44 -0
  71. package/src/components/Variants/Split/AuthError/SplitAuthError.styles.d.ts +126 -0
  72. package/src/components/Variants/Split/AuthError/SplitAuthError.styles.d.ts.map +1 -0
  73. package/src/components/Variants/Split/AuthError/SplitAuthError.styles.js +95 -0
  74. package/src/components/Variants/Split/ScoreState/SplitScoreState.d.ts +16 -0
  75. package/src/components/Variants/Split/ScoreState/SplitScoreState.d.ts.map +1 -0
  76. package/src/components/Variants/Split/ScoreState/SplitScoreState.js +84 -0
  77. package/src/components/Variants/Split/ScoreState/SplitScoreState.styles.d.ts +403 -0
  78. package/src/components/Variants/Split/ScoreState/SplitScoreState.styles.d.ts.map +1 -0
  79. package/src/components/Variants/Split/ScoreState/SplitScoreState.styles.js +400 -0
  80. package/src/components/Variants/Split/SplitVariant.d.ts +5 -0
  81. package/src/components/Variants/Split/SplitVariant.d.ts.map +1 -0
  82. package/src/components/Variants/Split/SplitVariant.js +79 -0
  83. package/src/components/Variants/Split/SplitVariant.styles.d.ts +252 -0
  84. package/src/components/Variants/Split/SplitVariant.styles.d.ts.map +1 -0
  85. package/src/components/Variants/Split/SplitVariant.styles.js +216 -0
  86. package/src/components/Variants/Standard/AuthError/StandardAuthError.d.ts +9 -0
  87. package/src/components/Variants/Standard/AuthError/StandardAuthError.d.ts.map +1 -0
  88. package/src/components/Variants/Standard/AuthError/StandardAuthError.js +43 -0
  89. package/src/components/Variants/Standard/AuthError/StandardAuthError.styles.d.ts +231 -0
  90. package/src/components/Variants/Standard/AuthError/StandardAuthError.styles.d.ts.map +1 -0
  91. package/src/components/Variants/Standard/AuthError/StandardAuthError.styles.js +201 -0
  92. package/src/components/Variants/Standard/ScoreState/StandardScoreState.d.ts +17 -0
  93. package/src/components/Variants/Standard/ScoreState/StandardScoreState.d.ts.map +1 -0
  94. package/src/components/Variants/Standard/ScoreState/StandardScoreState.js +78 -0
  95. package/src/components/Variants/Standard/ScoreState/StandardScoreState.styles.d.ts +350 -0
  96. package/src/components/Variants/Standard/ScoreState/StandardScoreState.styles.d.ts.map +1 -0
  97. package/src/components/Variants/Standard/ScoreState/StandardScoreState.styles.js +349 -0
  98. package/src/components/Variants/Standard/StandardVariant.d.ts +10 -0
  99. package/src/components/Variants/Standard/StandardVariant.d.ts.map +1 -0
  100. package/src/components/Variants/Standard/StandardVariant.js +82 -0
  101. package/src/components/Variants/Standard/StandardVariant.styles.d.ts +414 -0
  102. package/src/components/Variants/Standard/StandardVariant.styles.d.ts.map +1 -0
  103. package/src/components/Variants/Standard/StandardVariant.styles.js +373 -0
  104. package/src/constants/constants.d.ts +7 -0
  105. package/src/constants/constants.d.ts.map +1 -0
  106. package/src/constants/constants.js +446 -0
  107. package/src/hooks/useClassicQuizById.d.ts +3 -0
  108. package/src/hooks/useClassicQuizById.d.ts.map +1 -0
  109. package/src/hooks/useClassicQuizById.js +20 -0
  110. package/src/hooks/useEmbedCodeContainer.d.ts +2 -0
  111. package/src/hooks/useEmbedCodeContainer.d.ts.map +1 -0
  112. package/src/hooks/useEmbedCodeContainer.js +38 -0
  113. package/src/hooks/useMyParticipation.d.ts +3 -0
  114. package/src/hooks/useMyParticipation.d.ts.map +1 -0
  115. package/src/hooks/useMyParticipation.js +22 -0
  116. package/src/hooks/useScoreStateHelpers.d.ts +18 -0
  117. package/src/hooks/useScoreStateHelpers.d.ts.map +1 -0
  118. package/src/hooks/useScoreStateHelpers.js +156 -0
  119. package/src/index.d.ts +3 -0
  120. package/src/index.d.ts.map +1 -0
  121. package/src/index.js +2 -0
  122. package/src/main.d.ts +5 -0
  123. package/src/main.d.ts.map +1 -0
  124. package/src/main.js +53 -0
  125. package/src/services/service.d.ts +1 -0
  126. package/src/services/service.d.ts.map +1 -0
  127. package/src/services/service.js +1 -0
  128. package/src/styles/form.styles.d.ts +19 -0
  129. package/src/styles/form.styles.d.ts.map +1 -0
  130. package/src/styles/form.styles.js +18 -0
  131. package/src/types/types.d.ts +28 -0
  132. package/src/types/types.d.ts.map +1 -0
  133. package/src/types/types.js +1 -0
  134. package/tsconfig.tsbuildinfo +1 -0
  135. package/dist/esm/components.d.ts +0 -1
  136. package/dist/esm/src/index.d.ts +0 -4
  137. package/dist/esm/src/index.d.ts.map +0 -1
  138. package/dist/esm/src/indexUmd.d.ts +0 -2
  139. package/dist/esm/src/indexUmd.d.ts.map +0 -1
  140. package/dist/esm/vite.config.d.ts +0 -3
  141. package/dist/esm/vite.config.d.ts.map +0 -1
  142. package/dist/esm/vite.config.umd.d.ts +0 -3
  143. package/dist/esm/vite.config.umd.d.ts.map +0 -1
  144. package/dist/src/index.d.ts +0 -3
  145. package/dist/src/index.d.ts.map +0 -1
  146. package/dist/src/index.js +0 -2
  147. package/dist/src/indexUmd.d.ts +0 -2
  148. package/dist/src/indexUmd.d.ts.map +0 -1
  149. package/dist/src/indexUmd.js +0 -4
  150. package/dist/tsconfig.tsbuildinfo +0 -1
  151. package/dist/vite.config.d.ts +0 -3
  152. package/dist/vite.config.d.ts.map +0 -1
  153. package/dist/vite.config.js +0 -38
  154. package/dist/vite.config.umd.d.ts +0 -3
  155. package/dist/vite.config.umd.d.ts.map +0 -1
  156. package/dist/vite.config.umd.js +0 -35
  157. package/src/index.ts +0 -3
  158. package/src/indexUmd.ts +0 -5
  159. package/tsconfig.json +0 -10
  160. package/vite.config.ts +0 -42
  161. package/vite.config.umd.ts +0 -39
  162. package/vite.config_2.ts +0 -30
@@ -0,0 +1,82 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import React from "react";
3
+ import { Box, Typography, Button as JoyButton, AspectRatio } from "@mui/joy";
4
+ import { hexToRgb, stripHtmlTags, useImageUrl, useFontFamily, useCornerRadius, useColors, isMobile, useSpacingScale, useInternalTheme, } from "@fansunited/common";
5
+ import ArrowRightAltIcon from "@mui/icons-material/ArrowRightAlt";
6
+ import Button from "../../Shared/Button";
7
+ import Answers from "../../Shared/Answers/Answers";
8
+ import Stepper from "../../Shared/Stepper";
9
+ import Stopwatch from "../../Shared/Stopwatch";
10
+ import MainCard from "../../Shared/MainCard";
11
+ import { useTranslation } from "react-i18next";
12
+ import PresentedBy from "../../Shared/PresentedBy";
13
+ import CollectLead from "../../Leads/CollectLead";
14
+ import { quizTypes } from "../../../constants/constants";
15
+ import { useEmbedCode } from "../../../hooks/useEmbedCodeContainer";
16
+ import { createStyles } from "./StandardVariant.styles";
17
+ const StandardVariant = (props) => {
18
+ const [showLead, setShowLead] = React.useState(props.leads?.position === "before" &&
19
+ props.classicQuiz.authRequirement === "LEAD");
20
+ const embedContainerRef = useEmbedCode(props.question.embedCode, props.applyFilterScreen);
21
+ const internalTheme = useInternalTheme();
22
+ const quizImage = useImageUrl(props.classicQuiz.images);
23
+ const questionImage = useImageUrl(props.question.images);
24
+ const { t } = useTranslation();
25
+ const brandingColors = props.classicQuiz.branding?.colors || null;
26
+ const brandingLogo = isMobile()
27
+ ? props.classicQuiz.branding?.images.mobileLogo ||
28
+ props.classicQuiz.branding?.images.mainLogo ||
29
+ ""
30
+ : props.classicQuiz.branding?.images.mainLogo || "";
31
+ const imagePosition = props.imagePosition || "left";
32
+ // Styling variables
33
+ const textColor = brandingColors?.contentColor || useColors().textColor;
34
+ const secondaryColor = brandingColors?.secondaryColor || useColors().textColor;
35
+ const fontFamilySecondary = useFontFamily().secondary;
36
+ const opacity = "60%";
37
+ const fontFamilyPrimary = useFontFamily().primary;
38
+ const bgcolor = brandingColors?.backgroundColor || useColors().surfaceVariant;
39
+ const mdBorderRadius = useCornerRadius().md;
40
+ const smBorderRadius = useCornerRadius().sm;
41
+ const primaryColor = brandingColors?.primaryColor || useColors().palette.primary.plainColor;
42
+ const buttonRadius = useCornerRadius().xl;
43
+ const spacingScale = useSpacingScale();
44
+ // Create styles with current props/theme values
45
+ const styles = createStyles({
46
+ quizImage,
47
+ questionImage,
48
+ spacingScale,
49
+ borderRadius: useCornerRadius(),
50
+ fontFamilyPrimary,
51
+ fontFamilySecondary,
52
+ textColor,
53
+ secondaryColor,
54
+ bgcolor: hexToRgb(bgcolor || ""),
55
+ mdBorderRadius,
56
+ smBorderRadius,
57
+ primaryColor,
58
+ buttonRadius,
59
+ opacity,
60
+ brandingColors,
61
+ imagePosition,
62
+ applyFilterScreen: props.applyFilterScreen,
63
+ darkTextColor: internalTheme.colorSchemes.dark.textColor,
64
+ });
65
+ const closeLeadForm = () => {
66
+ setShowLead(false);
67
+ };
68
+ const renderStartButton = () => (_jsx(JoyButton, { variant: "soft", sx: {
69
+ ...styles.startButton,
70
+ ...styles.pulseAnimation,
71
+ }, endDecorator: _jsx(ArrowRightAltIcon, {}), onClick: props.startPlaying, children: _jsx(Typography, { sx: styles.startButtonText, children: t("classicQuiz.buttons.start") }) }));
72
+ const renderPresentedBy = (textColor) => (_jsx(PresentedBy, { brandingLogo: brandingLogo, textColor: textColor }));
73
+ const renderStartButtonWithPresentedBy = (textColorOverride) => (_jsxs(Box, { sx: styles.startButtonContainer, children: [renderStartButton(), renderPresentedBy(textColorOverride || textColor)] }));
74
+ return (_jsxs(MainCard, { brandingBorderColor: brandingColors?.borderColor || null, children: [quizImage ? (_jsx(Box, { sx: styles.mobileHeadlineWithImage, children: _jsxs(Box, { sx: styles.mobileHeadlineContent, children: [_jsxs(Box, { children: [_jsx(Typography, { level: "body-sm", sx: styles.headlineTypographyMobileImage, children: t("classicQuiz.headline") }), _jsxs(Box, { sx: styles.contentContainer, children: [_jsx(Typography, { level: "body-lg", sx: styles.titleTypographyMobileImage, children: props.classicQuiz.title }), _jsx(Typography, { level: "body-md", sx: styles.descriptionTypographyMobileImage, children: stripHtmlTags(props.classicQuiz.description) })] })] }), props.applyFilterScreen && (_jsx(Box, { children: renderStartButtonWithPresentedBy(brandingColors?.contentColor ||
75
+ internalTheme.colorSchemes.dark.textColor) }))] }) })) : (_jsxs(Box, { sx: styles.mobileHeadlineWithoutImage, children: [_jsxs(Box, { children: [_jsx(Typography, { level: "body-sm", sx: styles.headlineTypography, children: t("classicQuiz.headline") }), _jsxs(Box, { sx: styles.contentContainer, children: [_jsx(Typography, { level: "h4", sx: styles.titleTypography, children: props.classicQuiz.title }), _jsx(Typography, { level: "body-md", sx: styles.descriptionTypography, children: stripHtmlTags(props.classicQuiz.description) })] })] }), props.applyFilterScreen && (_jsx(Box, { children: renderStartButtonWithPresentedBy() }))] })), quizImage && imagePosition === "left" && (_jsx(Box, { sx: styles.imageContainerLeft, children: _jsx("img", { src: quizImage, alt: "Quiz illustration", style: styles.quizImage }) })), _jsxs(Box, { sx: styles.mainContentArea, children: [_jsx(Box, { children: _jsxs(Box, { sx: styles.desktopHeadlineContainer, children: [_jsxs(Box, { children: [_jsx(Typography, { level: "body-sm", sx: styles.headlineTypographyDesktop, children: t("classicQuiz.headline") }), _jsxs(Box, { sx: styles.contentContainer, children: [_jsx(Typography, { level: "h4", sx: styles.titleTypographyDesktop, children: props.classicQuiz.title }), _jsx(Typography, { level: "body-md", sx: styles.descriptionTypographyDesktop, children: stripHtmlTags(props.classicQuiz.description) })] })] }), props.applyFilterScreen && (_jsx(Box, { children: renderStartButtonWithPresentedBy() }))] }) }), props.applyFilterScreen ? (_jsx(Box, { sx: styles.hiddenDesktopFilterContainer, children: renderStartButtonWithPresentedBy() })) : (_jsx(_Fragment, { children: showLead ? (_jsx(Box, { sx: styles.leadCollectionContainer, children: _jsx(Box, { sx: styles.leadQuestionContainer, children: _jsx(Box, { sx: styles.leadContentContainer, children: _jsx(CollectLead, { sdk: props.sdk, contentType: "quiz", startGame: closeLeadForm, contentId: props.classicQuiz.id, contentName: props.classicQuiz.title, brandingColors: props.classicQuiz.branding?.colors, brandingUrls: props.classicQuiz.branding?.urls, campaignId: props.leads?.campaignId, campaignName: props.leads?.campaignName, fields: props.leads?.fields, leadTitle: props.classicQuiz.labels?.leadTitle, leadDescription: props.classicQuiz.labels?.leadDescription, leadCta: props.classicQuiz.labels?.leadCta, leadSuccessTitle: props.classicQuiz.labels?.leadSuccessTitle, leadSuccessDescription: props.classicQuiz.labels?.leadSuccessDescription }) }) }) })) : (_jsxs(_Fragment, { children: [quizTypes.includes(props.classicQuiz.type?.toLocaleLowerCase()) && (_jsx(Box, { sx: styles.stopwatchContainer, children: _jsx(Stopwatch, { isRunning: props.isStopwatchRunning, timer: props.stopwatchTime, quizType: props.classicQuiz.type, initialTime: props.classicQuiz.time || 10, brandingPrimaryColor: brandingColors?.primaryColor || null, onTimeUpdate: props.onTimeUpdate }) })), _jsx(Box, { sx: styles.paginationContainer, children: _jsx(Stepper, { classicQuiz: props.classicQuiz, currentQuestion: props.currentQuestion, userParticipation: props.userParticipation, brandingPrimaryColor: brandingColors?.primaryColor }) }), _jsx(Box, { sx: styles.questionArea, children: _jsxs(Box, { sx: styles.questionContainer, children: [_jsxs(Box, { sx: styles.questionContentContainer, children: [props.question.embedCode && (_jsx(AspectRatio, { ratio: "16/9", sx: styles.aspectRatioContainer, children: _jsx(Box, { ref: embedContainerRef }) })), !props.question.embedCode && questionImage && (_jsx(AspectRatio, { ratio: "16/9", sx: styles.questionImageContainer, children: _jsx(Box, { sx: styles.questionImageBox, children: _jsx("img", { src: questionImage, alt: "Question illustration", style: styles.questionImage }) }) })), _jsx(Box, { sx: styles.questionTextContainer, children: _jsx(Typography, { level: "body-lg", sx: styles.questionText, children: props.question.question }) }), _jsx(Answers, { options: props.question.options || [], answerQuestion: props.answerQuestion, selectedOption: props.selectedOption, showAnswer: props.showAnswer, twoByTwo: true, questionImage: questionImage, brandingColors: brandingColors })] }), _jsxs(Box, { sx: brandingLogo
76
+ ? styles.footerContainer
77
+ : styles.footerContainerNoLogo, children: [_jsx(Box, { sx: styles.presentedByDesktop, children: renderPresentedBy(textColor) }), _jsx(Button, { showAnswer: props.showAnswer, selectedOption: props.selectedOption, endDecorator: _jsx(ArrowRightAltIcon, {}), label: props.currentQuestion ===
78
+ props.classicQuiz.questionsCount
79
+ ? t("classicQuiz.buttons.finish")
80
+ : t("classicQuiz.buttons.next"), buttonColor: primaryColor, onClick: props.handleNext })] }), _jsx(Box, { sx: styles.presentedByMobile, children: renderPresentedBy(textColor) })] }) })] })) }))] }), quizImage && imagePosition === "right" && (_jsx(Box, { sx: styles.imageContainerRight, children: _jsx("img", { src: quizImage, alt: "Quiz illustration", style: styles.quizImage }) }))] }));
81
+ };
82
+ export default StandardVariant;
@@ -0,0 +1,414 @@
1
+ import { CustomSpacingScale, CustomBorderRadius } from "@fansunited/common";
2
+ import { BrandingColorsModel } from "fansunited-sdk-esm";
3
+ import { CSSProperties } from "react";
4
+ interface StyleProps {
5
+ quizImage: string | null;
6
+ questionImage: string | null;
7
+ spacingScale: CustomSpacingScale;
8
+ borderRadius: CustomBorderRadius;
9
+ fontFamilyPrimary: string;
10
+ fontFamilySecondary: string;
11
+ textColor: string;
12
+ secondaryColor: string;
13
+ bgcolor: string;
14
+ mdBorderRadius: string;
15
+ smBorderRadius: string;
16
+ primaryColor: string;
17
+ buttonRadius: string;
18
+ opacity: string;
19
+ brandingColors: BrandingColorsModel | null;
20
+ imagePosition: "left" | "right";
21
+ applyFilterScreen: boolean;
22
+ darkTextColor: string;
23
+ }
24
+ export declare const createStyles: (props: StyleProps) => {
25
+ pulseAnimation: {
26
+ "@keyframes pulse": {
27
+ "0%": {
28
+ transform: string;
29
+ };
30
+ "50%": {
31
+ transform: string;
32
+ };
33
+ "100%": {
34
+ transform: string;
35
+ };
36
+ };
37
+ };
38
+ mobileHeadlineWithImage: {
39
+ display: {
40
+ xs: string;
41
+ md: string;
42
+ };
43
+ flexDirection: string;
44
+ justifyContent: string;
45
+ gap: string;
46
+ backgroundImage: string;
47
+ backgroundSize: string;
48
+ backgroundPosition: string;
49
+ borderTopLeftRadius: string;
50
+ borderTopRightRadius: string;
51
+ position: string;
52
+ minHeight: string;
53
+ overflow: string;
54
+ height: string;
55
+ "&::before": {
56
+ content: string;
57
+ position: string;
58
+ width: string;
59
+ height: string;
60
+ background: string;
61
+ borderTopLeftRadius: string;
62
+ borderTopRightRadius: string;
63
+ };
64
+ };
65
+ mobileHeadlineContent: {
66
+ zIndex: number;
67
+ height: string;
68
+ p: string;
69
+ gap: string;
70
+ display: string;
71
+ flexDirection: string;
72
+ justifyContent: string;
73
+ };
74
+ mobileHeadlineWithoutImage: {
75
+ display: {
76
+ xs: string;
77
+ md: string;
78
+ };
79
+ flex: string;
80
+ flexDirection: string;
81
+ justifyContent: string;
82
+ p: string;
83
+ gap: string;
84
+ };
85
+ headlineTypographyMobileImage: {
86
+ fontWeight: number;
87
+ lineHeight: string;
88
+ letterSpacing: string;
89
+ fontSize: string;
90
+ color: string;
91
+ opacity: string;
92
+ textTransform: string;
93
+ fontFamily: string;
94
+ textAlign: string;
95
+ };
96
+ headlineTypography: {
97
+ fontWeight: number;
98
+ lineHeight: string;
99
+ letterSpacing: string;
100
+ textTransform: string;
101
+ fontSize: string;
102
+ color: string;
103
+ opacity: string;
104
+ fontFamily: string;
105
+ textAlign: {
106
+ xs: string;
107
+ md: string;
108
+ };
109
+ };
110
+ headlineTypographyDesktop: {
111
+ fontWeight: number;
112
+ lineHeight: string;
113
+ letterSpacing: string;
114
+ textTransform: string;
115
+ fontSize: string;
116
+ color: string;
117
+ opacity: string;
118
+ fontFamily: string;
119
+ };
120
+ contentContainer: {
121
+ display: string;
122
+ flexDirection: string;
123
+ gap: string;
124
+ };
125
+ titleTypographyMobileImage: {
126
+ fontWeight: number;
127
+ lineHeight: string;
128
+ fontSize: string;
129
+ letterSpacing: string;
130
+ color: string;
131
+ fontFamily: string;
132
+ textAlign: string;
133
+ };
134
+ titleTypography: {
135
+ fontWeight: number;
136
+ lineHeight: string;
137
+ letterSpacing: string;
138
+ fontSize: string;
139
+ color: string;
140
+ fontFamily: string;
141
+ textAlign: {
142
+ xs: string;
143
+ md: string;
144
+ };
145
+ };
146
+ titleTypographyDesktop: {
147
+ fontWeight: number;
148
+ lineHeight: string;
149
+ letterSpacing: string;
150
+ fontSize: string;
151
+ color: string;
152
+ fontFamily: string;
153
+ };
154
+ descriptionTypographyMobileImage: {
155
+ fontWeight: number;
156
+ lineHeight: string;
157
+ fontSize: string;
158
+ letterSpacing: string;
159
+ color: string;
160
+ opacity: string;
161
+ fontFamily: string;
162
+ textAlign: string;
163
+ };
164
+ descriptionTypography: {
165
+ fontWeight: number;
166
+ lineHeight: string;
167
+ letterSpacing: string;
168
+ fontSize: string;
169
+ color: string;
170
+ opacity: string;
171
+ fontFamily: string;
172
+ textAlign: {
173
+ xs: string;
174
+ md: string;
175
+ };
176
+ };
177
+ descriptionTypographyDesktop: {
178
+ fontWeight: number;
179
+ lineHeight: string;
180
+ letterSpacing: string;
181
+ fontSize: string;
182
+ color: string;
183
+ opacity: string;
184
+ fontFamily: string;
185
+ };
186
+ startButtonContainer: {
187
+ display: string;
188
+ flexDirection: string;
189
+ justifyContent: string;
190
+ alignItems: string;
191
+ gap: string;
192
+ };
193
+ startButton: {
194
+ borderRadius: string;
195
+ py: string;
196
+ pr: string;
197
+ pl: string;
198
+ bgcolor: string;
199
+ color: string;
200
+ transition: string;
201
+ transform: string;
202
+ alignSelf: string;
203
+ "&:hover": {
204
+ bgcolor: string;
205
+ transform: string;
206
+ };
207
+ "&:active": {
208
+ color: string;
209
+ transform: string;
210
+ };
211
+ "&:disabled": {
212
+ bgcolor: string;
213
+ color: string;
214
+ opacity: string;
215
+ };
216
+ animation: string;
217
+ };
218
+ startButtonText: {
219
+ fontFamily: string;
220
+ fontWeight: number;
221
+ fontSize: string;
222
+ lineHeight: string;
223
+ letterSpacing: string;
224
+ textTransform: string;
225
+ color: string;
226
+ gap: string;
227
+ display: string;
228
+ alignItems: string;
229
+ };
230
+ imageContainerLeft: {
231
+ display: {
232
+ xs: string;
233
+ md: string;
234
+ };
235
+ flex: string;
236
+ borderTopLeftRadius: string;
237
+ borderBottomLeftRadius: string;
238
+ overflow: string;
239
+ height: string;
240
+ position: string;
241
+ };
242
+ imageContainerRight: {
243
+ display: {
244
+ xs: string;
245
+ md: string;
246
+ };
247
+ flex: string;
248
+ borderTopRightRadius: string;
249
+ borderBottomRightRadius: string;
250
+ overflow: string;
251
+ height: string;
252
+ position: string;
253
+ };
254
+ quizImage: {
255
+ width: string;
256
+ height: string;
257
+ objectFit: CSSProperties["objectFit"];
258
+ };
259
+ mainContentArea: {
260
+ flex: {
261
+ xs: string;
262
+ md: string;
263
+ };
264
+ display: {
265
+ md: string;
266
+ xs: string;
267
+ };
268
+ flexDirection: string;
269
+ p: string;
270
+ gap: {
271
+ xs: string;
272
+ md: string;
273
+ };
274
+ };
275
+ desktopHeadlineContainer: {
276
+ display: {
277
+ xs: string;
278
+ md: string;
279
+ };
280
+ flexDirection: string;
281
+ justifyContent: string;
282
+ gap: string;
283
+ textAlign: string;
284
+ };
285
+ hiddenDesktopFilterContainer: {
286
+ display: {
287
+ xs: string;
288
+ md: string;
289
+ };
290
+ };
291
+ stopwatchContainer: {
292
+ display: string;
293
+ justifyContent: string;
294
+ };
295
+ paginationContainer: {
296
+ display: string;
297
+ flexDirection: string;
298
+ alignItems: string;
299
+ gap: string;
300
+ };
301
+ leadCollectionContainer: {
302
+ display: string;
303
+ flexDirection: string;
304
+ p: string;
305
+ };
306
+ leadQuestionContainer: {
307
+ display: string;
308
+ flexDirection: string;
309
+ gap: {
310
+ xs: string;
311
+ md: string;
312
+ };
313
+ };
314
+ leadContentContainer: {
315
+ borderRadius: string;
316
+ px: string;
317
+ pt: string;
318
+ pb: string;
319
+ gap: string;
320
+ bgcolor: string;
321
+ display: string;
322
+ flexDirection: string;
323
+ backdropFilter: string;
324
+ };
325
+ questionArea: {
326
+ display: string;
327
+ flexDirection: string;
328
+ p: string;
329
+ };
330
+ questionContainer: {
331
+ display: string;
332
+ flexDirection: string;
333
+ gap: {
334
+ xs: string;
335
+ md: string;
336
+ };
337
+ };
338
+ questionContentContainer: {
339
+ borderRadius: string;
340
+ px: string;
341
+ pt: string;
342
+ pb: string;
343
+ gap: string;
344
+ bgcolor: string;
345
+ display: string;
346
+ flexDirection: string;
347
+ backdropFilter: string;
348
+ };
349
+ aspectRatioContainer: {
350
+ borderRadius: string;
351
+ };
352
+ questionImageContainer: {
353
+ overflow: string;
354
+ borderRadius: string;
355
+ };
356
+ questionImageBox: {
357
+ borderRadius: string;
358
+ overflow: string;
359
+ height: string;
360
+ };
361
+ questionImage: {
362
+ width: string;
363
+ height: string;
364
+ objectFit: CSSProperties["objectFit"];
365
+ };
366
+ questionTextContainer: {
367
+ gap: string;
368
+ display: string;
369
+ justifyContent: string;
370
+ };
371
+ questionText: {
372
+ fontFamily: string;
373
+ lineHeight: string;
374
+ letterSpacing: string;
375
+ fontWeight: number;
376
+ fontSize: string;
377
+ textAlign: string;
378
+ color: string;
379
+ };
380
+ footerContainer: {
381
+ display: string;
382
+ flexDirection: {
383
+ xs: string;
384
+ md: string;
385
+ };
386
+ justifyContent: string;
387
+ alignItems: string;
388
+ gap: string;
389
+ };
390
+ footerContainerNoLogo: {
391
+ display: string;
392
+ flexDirection: {
393
+ xs: string;
394
+ md: string;
395
+ };
396
+ justifyContent: string;
397
+ alignItems: string;
398
+ gap: string;
399
+ };
400
+ presentedByDesktop: {
401
+ display: {
402
+ xs: string;
403
+ md: string;
404
+ };
405
+ };
406
+ presentedByMobile: {
407
+ display: {
408
+ xs: string;
409
+ md: string;
410
+ };
411
+ };
412
+ };
413
+ export {};
414
+ //# sourceMappingURL=StandardVariant.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StandardVariant.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Variants/Standard/StandardVariant.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,UAAU,UAAU;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,YAAY,EAAE,kBAAkB,CAAC;IACjC,YAAY,EAAE,kBAAkB,CAAC;IACjC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAC3C,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,YAAY,UAAW,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAsPpB,aAAa,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA2H1B,aAAa,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDlD,CAAC"}