@heycater/qualification-funnel 1.19.21 → 1.19.22
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/dist/heycater-funnel.iife.js +84 -56
- package/dist/index.cjs.js +51 -23
- package/dist/index.esm.js +31 -2
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -9532,7 +9532,7 @@ const EmbeddedQuestionLayout = ({
|
|
|
9532
9532
|
title,
|
|
9533
9533
|
subtitle,
|
|
9534
9534
|
content,
|
|
9535
|
-
containerSize
|
|
9535
|
+
containerSize,
|
|
9536
9536
|
disableGutters,
|
|
9537
9537
|
answerContainerSize = 826,
|
|
9538
9538
|
side,
|
|
@@ -9541,6 +9541,7 @@ const EmbeddedQuestionLayout = ({
|
|
|
9541
9541
|
...boxProps
|
|
9542
9542
|
}) => {
|
|
9543
9543
|
const isFullscreen = mode === "fullscreen";
|
|
9544
|
+
const effectiveContainerSize = containerSize ?? (isFullscreen ? "md" : "sm");
|
|
9544
9545
|
const { state } = useQualification();
|
|
9545
9546
|
const isMobile = useBreakpointDown("sm");
|
|
9546
9547
|
if (state.status !== QUALIFICATION_STATUS.answered && state.status !== QUALIFICATION_STATUS.answering && state.status !== QUALIFICATION_STATUS.qualifiedForRequest) {
|
|
@@ -9553,7 +9554,7 @@ const EmbeddedQuestionLayout = ({
|
|
|
9553
9554
|
return /* @__PURE__ */ jsxs(
|
|
9554
9555
|
Container,
|
|
9555
9556
|
{
|
|
9556
|
-
size:
|
|
9557
|
+
size: effectiveContainerSize,
|
|
9557
9558
|
disableGutters,
|
|
9558
9559
|
...isFullscreen ? { style: { display: "flex", flexDirection: "column", flexGrow: 1 } } : {},
|
|
9559
9560
|
...boxProps,
|
|
@@ -9704,6 +9705,10 @@ const FullscreenTitle = styled.h2`
|
|
|
9704
9705
|
${({ theme }) => theme.breakpoints.up("md")} {
|
|
9705
9706
|
font-size: 30px;
|
|
9706
9707
|
}
|
|
9708
|
+
|
|
9709
|
+
${({ theme }) => theme.breakpoints.up("lg")} {
|
|
9710
|
+
font-size: 34px;
|
|
9711
|
+
}
|
|
9707
9712
|
`;
|
|
9708
9713
|
const StickyFooter = styled.div`
|
|
9709
9714
|
position: sticky;
|
|
@@ -10558,6 +10563,11 @@ const TilesWrapper = styled(Box)`
|
|
|
10558
10563
|
flex-wrap: wrap;
|
|
10559
10564
|
justify-content: center;
|
|
10560
10565
|
}
|
|
10566
|
+
|
|
10567
|
+
${({ theme }) => theme.breakpoints.up("lg")} {
|
|
10568
|
+
max-width: 1200px;
|
|
10569
|
+
gap: ${({ theme, $size }) => $size === "sm" ? theme.spacing(2) : theme.spacing(3)}px;
|
|
10570
|
+
}
|
|
10561
10571
|
`;
|
|
10562
10572
|
const StyledTileTypography = styled(Typography)`
|
|
10563
10573
|
line-height: 172.5%;
|
|
@@ -11491,6 +11501,11 @@ const ServiceTile = styled(Tile)`
|
|
|
11491
11501
|
flex-shrink: 0;
|
|
11492
11502
|
gap: ${({ theme }) => theme.spacing(1)}px;
|
|
11493
11503
|
}
|
|
11504
|
+
|
|
11505
|
+
${({ theme }) => theme.breakpoints.up("lg")} {
|
|
11506
|
+
height: 220px;
|
|
11507
|
+
width: 220px;
|
|
11508
|
+
}
|
|
11494
11509
|
`;
|
|
11495
11510
|
const IconWrapper$2 = styled(Box)`
|
|
11496
11511
|
min-width: 32px;
|
|
@@ -11503,6 +11518,11 @@ const IconWrapper$2 = styled(Box)`
|
|
|
11503
11518
|
height: 40px;
|
|
11504
11519
|
font-size: 36px;
|
|
11505
11520
|
}
|
|
11521
|
+
|
|
11522
|
+
${({ theme }) => theme.breakpoints.up("lg")} {
|
|
11523
|
+
height: 48px;
|
|
11524
|
+
font-size: 42px;
|
|
11525
|
+
}
|
|
11506
11526
|
`;
|
|
11507
11527
|
const ServiceTileLabel = styled(Typography)`
|
|
11508
11528
|
font-size: 11px;
|
|
@@ -11512,6 +11532,10 @@ const ServiceTileLabel = styled(Typography)`
|
|
|
11512
11532
|
${({ theme }) => theme.breakpoints.up("sm")} {
|
|
11513
11533
|
font-size: 15px;
|
|
11514
11534
|
}
|
|
11535
|
+
|
|
11536
|
+
${({ theme }) => theme.breakpoints.up("lg")} {
|
|
11537
|
+
font-size: 16px;
|
|
11538
|
+
}
|
|
11515
11539
|
`;
|
|
11516
11540
|
const SubtitleText = styled(Typography)`
|
|
11517
11541
|
font-size: 9px;
|
|
@@ -11523,6 +11547,11 @@ const SubtitleText = styled(Typography)`
|
|
|
11523
11547
|
${({ theme }) => theme.breakpoints.up("sm")} {
|
|
11524
11548
|
font-size: 12px;
|
|
11525
11549
|
}
|
|
11550
|
+
|
|
11551
|
+
${({ theme }) => theme.breakpoints.up("lg")} {
|
|
11552
|
+
font-size: 13px;
|
|
11553
|
+
max-width: 180px;
|
|
11554
|
+
}
|
|
11526
11555
|
`;
|
|
11527
11556
|
const ICON_BASE_PATH = "/artifacts/icons/catering_category";
|
|
11528
11557
|
const getIconUrl = (name) => getAssetUrl(`${ICON_BASE_PATH}/${name}.svg`);
|