igloo-d2c-components 1.0.30 → 1.0.32
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/cjs/index.js +143 -149
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +143 -149
- package/dist/esm/index.js.map +1 -1
- package/dist/types/components/BenefitsSummary/styled.d.ts +3 -3
- package/dist/types/components/BillingToggle/styled.d.ts +6 -5
- package/dist/types/components/CheckoutFormButton/CheckoutFormButton.d.ts +2 -1
- package/dist/types/components/CheckoutHeader/styled.d.ts +2 -2
- package/dist/types/components/CheckoutProgress/styled.d.ts +1 -1
- package/dist/types/components/ChildInformationForm/ChildInformationForm.d.ts +7 -6
- package/dist/types/components/ContactDetailsForm/ContactDetailsForm.d.ts +7 -6
- package/dist/types/components/ContactDetailsForm/styled.d.ts +2 -2
- package/dist/types/components/CoverageAmountSlider/styled.d.ts +25 -24
- package/dist/types/components/DesktopHeaderMenuBar/styled.d.ts +1 -1
- package/dist/types/components/FAQAccordion/styled.d.ts +2 -2
- package/dist/types/components/Footer/styled.d.ts +2 -2
- package/dist/types/components/Header/Header.d.ts +1 -1
- package/dist/types/components/Header/styled.d.ts +7 -7
- package/dist/types/components/HealthInformationForm/HealthInformationForm.d.ts +6 -5
- package/dist/types/components/HealthQuestionGroup/HealthQuestionGroup.d.ts +2 -1
- package/dist/types/components/HealthQuestionGroup/styled.d.ts +2 -2
- package/dist/types/components/InfoCallout/styled.d.ts +8 -7
- package/dist/types/components/NewHeader/NewHeader.d.ts +1 -1
- package/dist/types/components/OptionButton/styled.d.ts +1 -1
- package/dist/types/components/PersonalInformationForm/PersonalInformationForm.d.ts +7 -6
- package/dist/types/components/PersonalInformationForm/styled.d.ts +1 -1
- package/dist/types/components/ProductCard/ProductCard.d.ts +2 -1
- package/dist/types/components/ProductCard/styled.d.ts +4 -4
- package/dist/types/components/ProductSelectionDrawer/styled.d.ts +4 -4
- package/dist/types/components/QuestionSection/QuestionSection.d.ts +1 -1
- package/dist/types/components/QuestionSection/styled.d.ts +2 -2
- package/dist/types/components/RecommendationsDrawer/styled.d.ts +2 -2
- package/dist/types/components/ToggleGroup/styled.d.ts +1 -1
- package/dist/types/themes/typography.d.ts +1 -1
- package/dist/types/types/tenant.d.ts +42 -20
- package/dist/types/utils/theme.d.ts +3 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -999,7 +999,7 @@ const MenuItemButton = styles.styled(material.Button)(() => ({
|
|
|
999
999
|
fontSize: '18px',
|
|
1000
1000
|
lineHeight: '24px',
|
|
1001
1001
|
letterSpacing: '0px',
|
|
1002
|
-
wordSpacing: '
|
|
1002
|
+
wordSpacing: '0px',
|
|
1003
1003
|
borderRadius: 0,
|
|
1004
1004
|
'&:hover': {
|
|
1005
1005
|
backgroundColor: 'transparent',
|
|
@@ -1016,7 +1016,7 @@ const MenuItemText = styles.styled(material.Typography)({
|
|
|
1016
1016
|
fontSize: '18px',
|
|
1017
1017
|
lineHeight: '24px',
|
|
1018
1018
|
letterSpacing: '0px',
|
|
1019
|
-
wordSpacing: '
|
|
1019
|
+
wordSpacing: '0px',
|
|
1020
1020
|
color: 'inherit',
|
|
1021
1021
|
});
|
|
1022
1022
|
/**
|
|
@@ -1057,7 +1057,7 @@ styles.styled(material.Button)(() => ({
|
|
|
1057
1057
|
fontSize: '18px',
|
|
1058
1058
|
lineHeight: '24px',
|
|
1059
1059
|
letterSpacing: '0px',
|
|
1060
|
-
wordSpacing: '
|
|
1060
|
+
wordSpacing: '0px',
|
|
1061
1061
|
borderRadius: 0,
|
|
1062
1062
|
backgroundColor: 'transparent',
|
|
1063
1063
|
'&:hover': {
|
|
@@ -1086,7 +1086,7 @@ const PurchaseButton = styles.styled(material.Button)(() => ({
|
|
|
1086
1086
|
fontSize: '16px',
|
|
1087
1087
|
lineHeight: '20px',
|
|
1088
1088
|
letterSpacing: '0px',
|
|
1089
|
-
wordSpacing: '
|
|
1089
|
+
wordSpacing: '0',
|
|
1090
1090
|
borderRadius: '24px',
|
|
1091
1091
|
whiteSpace: 'nowrap',
|
|
1092
1092
|
'&:hover': {
|
|
@@ -1119,7 +1119,7 @@ const StyledMenuItem$1 = styles.styled(material.MenuItem)(() => ({
|
|
|
1119
1119
|
fontWeight: 500,
|
|
1120
1120
|
fontSize: '16px',
|
|
1121
1121
|
lineHeight: '24px',
|
|
1122
|
-
wordSpacing: '
|
|
1122
|
+
wordSpacing: '0px',
|
|
1123
1123
|
color: designColors.natural.dim100,
|
|
1124
1124
|
'&:hover': {
|
|
1125
1125
|
backgroundColor: 'rgba(0, 144, 218, 0.08)',
|
|
@@ -1259,7 +1259,7 @@ const StyledAppBar$1 = styles.styled(AppBar)(({ theme, ispartnershippagemobilevi
|
|
|
1259
1259
|
},
|
|
1260
1260
|
},
|
|
1261
1261
|
[theme.breakpoints.up(1025)]: {
|
|
1262
|
-
boxShadow: scrolled
|
|
1262
|
+
boxShadow: scrolled ? '0px 2px 20px 4px rgba(0, 0, 0, 0.14) !important' : 'none',
|
|
1263
1263
|
},
|
|
1264
1264
|
});
|
|
1265
1265
|
});
|
|
@@ -1270,7 +1270,7 @@ const ResponsiveB2CLayout = styles.styled('div')(({ theme }) => ({
|
|
|
1270
1270
|
margin: '0 auto',
|
|
1271
1271
|
},
|
|
1272
1272
|
}));
|
|
1273
|
-
const StyledContainer = styles.styled(Container)(({ theme,
|
|
1273
|
+
const StyledContainer = styles.styled(Container)(({ theme, scrolled }) => {
|
|
1274
1274
|
var _a;
|
|
1275
1275
|
return ({
|
|
1276
1276
|
boxShadow: 'none',
|
|
@@ -1306,7 +1306,7 @@ const ButtonDesktopMenu = styles.styled(material.Button)(({ theme }) => {
|
|
|
1306
1306
|
alignSelf: 'stretch',
|
|
1307
1307
|
});
|
|
1308
1308
|
});
|
|
1309
|
-
const AnchorLinks = styles.styled('a')((
|
|
1309
|
+
const AnchorLinks = styles.styled('a')(() => ({
|
|
1310
1310
|
color: 'inherit',
|
|
1311
1311
|
'&:hover': {
|
|
1312
1312
|
color: 'inherit',
|
|
@@ -1348,7 +1348,7 @@ const ButtonAuth = styles.styled(material.Button)(({ theme }) => ({
|
|
|
1348
1348
|
height: 40,
|
|
1349
1349
|
minWidth: 'max-content !important',
|
|
1350
1350
|
}));
|
|
1351
|
-
const TypographyAuth = styles.styled(material.Typography)((
|
|
1351
|
+
const TypographyAuth = styles.styled(material.Typography)(() => ({
|
|
1352
1352
|
textTransform: 'none',
|
|
1353
1353
|
}));
|
|
1354
1354
|
const StyledMenu = styles.styled(material.Menu)(({ theme }) => {
|
|
@@ -1398,13 +1398,13 @@ const StyledMenuItem = styles.styled(material.MenuItem)(({ theme }) => {
|
|
|
1398
1398
|
},
|
|
1399
1399
|
});
|
|
1400
1400
|
});
|
|
1401
|
-
const SpanImageWrapper = styles.styled('span')((
|
|
1401
|
+
const SpanImageWrapper = styles.styled('span')(() => ({
|
|
1402
1402
|
alignItems: 'center',
|
|
1403
1403
|
display: 'flex',
|
|
1404
1404
|
justifyContent: 'center',
|
|
1405
1405
|
margin: 'auto 0',
|
|
1406
1406
|
}));
|
|
1407
|
-
const ImageProductIcon = styles.styled('img')((
|
|
1407
|
+
const ImageProductIcon = styles.styled('img')(() => ({
|
|
1408
1408
|
aspectRatio: 1,
|
|
1409
1409
|
objectPosition: 'center',
|
|
1410
1410
|
width: 18,
|
|
@@ -1471,7 +1471,7 @@ const StyledDrawer$3 = styles.styled(material.Drawer)(({ theme }) => {
|
|
|
1471
1471
|
},
|
|
1472
1472
|
});
|
|
1473
1473
|
});
|
|
1474
|
-
const DivLogoWrapper = styles.styled('div')((
|
|
1474
|
+
const DivLogoWrapper = styles.styled('div')(() => ({
|
|
1475
1475
|
justifyContent: 'space-between',
|
|
1476
1476
|
alignSelf: 'stretch',
|
|
1477
1477
|
backgroundColor: '',
|
|
@@ -1496,7 +1496,7 @@ const DivLogo = styles.styled('div')(({ theme }) => {
|
|
|
1496
1496
|
},
|
|
1497
1497
|
});
|
|
1498
1498
|
});
|
|
1499
|
-
const DivCrossIconWrapper = styles.styled('div')((
|
|
1499
|
+
const DivCrossIconWrapper = styles.styled('div')(() => ({
|
|
1500
1500
|
display: 'flex',
|
|
1501
1501
|
alignItems: 'center',
|
|
1502
1502
|
justifyContent: 'center',
|
|
@@ -1509,14 +1509,14 @@ const StyledCloseIconBtn = styles.styled(material.IconButton)(({ theme }) => {
|
|
|
1509
1509
|
padding: '0 !important',
|
|
1510
1510
|
});
|
|
1511
1511
|
});
|
|
1512
|
-
const DivLoginActionContainer = styles.styled('div')((
|
|
1512
|
+
const DivLoginActionContainer = styles.styled('div')(() => ({
|
|
1513
1513
|
justifyContent: 'center',
|
|
1514
1514
|
alignSelf: 'stretch',
|
|
1515
1515
|
display: 'flex',
|
|
1516
1516
|
flexDirection: 'column',
|
|
1517
1517
|
padding: ' 0 16px',
|
|
1518
1518
|
}));
|
|
1519
|
-
const DivCommonMenus = styles.styled('div')((
|
|
1519
|
+
const DivCommonMenus = styles.styled('div')(() => ({
|
|
1520
1520
|
padding: 16,
|
|
1521
1521
|
display: 'flex',
|
|
1522
1522
|
flexDirection: 'column',
|
|
@@ -1536,7 +1536,7 @@ const MenuItemOtherLinks = styles.styled(material.MenuItem)(({ theme }) => ({
|
|
|
1536
1536
|
width: '100%',
|
|
1537
1537
|
gap: '50%',
|
|
1538
1538
|
}));
|
|
1539
|
-
const StyledFormControlLabel = styles.styled(material.FormControlLabel)((
|
|
1539
|
+
const StyledFormControlLabel = styles.styled(material.FormControlLabel)(() => ({
|
|
1540
1540
|
'& .MuiRadio-root': {
|
|
1541
1541
|
padding: '0 9px',
|
|
1542
1542
|
},
|
|
@@ -1558,10 +1558,10 @@ const ButtonLogout = styles.styled(material.Button)(({ theme }) => {
|
|
|
1558
1558
|
color: `${((_b = theme.palette.secondary) === null || _b === void 0 ? void 0 : _b.main) || '#f00'} !important`,
|
|
1559
1559
|
});
|
|
1560
1560
|
});
|
|
1561
|
-
const DivLogoutBtnWrapper = styles.styled('div')((
|
|
1561
|
+
const DivLogoutBtnWrapper = styles.styled('div')(() => ({
|
|
1562
1562
|
margin: 16,
|
|
1563
1563
|
}));
|
|
1564
|
-
const AnchorLink$1 = styles.styled('a')((
|
|
1564
|
+
const AnchorLink$1 = styles.styled('a')(() => ({
|
|
1565
1565
|
color: 'inherit',
|
|
1566
1566
|
'&:hover': {
|
|
1567
1567
|
color: 'inherit',
|
|
@@ -1578,7 +1578,7 @@ const StyledButton$1 = styles.styled(material.Button)(({ theme }) => {
|
|
|
1578
1578
|
padding: '10px 24px',
|
|
1579
1579
|
});
|
|
1580
1580
|
});
|
|
1581
|
-
const StyledButtonBanner = styles.styled(material.Button)((
|
|
1581
|
+
const StyledButtonBanner = styles.styled(material.Button)(() => ({
|
|
1582
1582
|
alignSelf: 'start',
|
|
1583
1583
|
height: '40px',
|
|
1584
1584
|
borderRadius: '100px',
|
|
@@ -1607,10 +1607,9 @@ const TypographyBtnText = styles.styled(material.Typography)(({ theme }) => {
|
|
|
1607
1607
|
* />
|
|
1608
1608
|
* ```
|
|
1609
1609
|
*/
|
|
1610
|
-
function Header$1({ logo,
|
|
1610
|
+
function Header$1({ logo, navigationLinks, languages, currentLocale, userToken, userFirstName, isMobile: propIsMobile, scrolled = false, isPartnershipPageMobileView = false, isPartnershipPagePCView = false, isSeoPageView = false, bannerData, host = '', welcomeMessage, formatMessage = (descriptor) => descriptor.id, menuItems, userProfileComponent, onLogoClick, onProductMenuClick, onLanguageChange, onLoginClick, onSignupClick, onLogoutClick, onPartnershipClick, onAboutUsClick, onBlogClick, onMyProfileClick, onGetQuoteClick, onPartnershipCTAClick, useNewDesktopLayout = false, desktopMenuItems = [], showCtaButton = true, ctaButtonText = 'Purchase Now', onCtaClick, ctaScrollTargetId, onScrollToSection, }) {
|
|
1611
1611
|
var _a, _b, _c;
|
|
1612
|
-
|
|
1613
|
-
tenantTheme === null || tenantTheme === void 0 ? void 0 : tenantTheme.theme;
|
|
1612
|
+
useTenantTheme();
|
|
1614
1613
|
const muiTheme = material.useTheme();
|
|
1615
1614
|
const themeBreakpoint = material.useMediaQuery((_a = muiTheme === null || muiTheme === void 0 ? void 0 : muiTheme.breakpoints) === null || _a === void 0 ? void 0 : _a.down('md'));
|
|
1616
1615
|
const isMobile = propIsMobile !== undefined ? propIsMobile : themeBreakpoint;
|
|
@@ -1790,19 +1789,19 @@ const StyledToolbar = styles.styled(material.Toolbar)(({ theme }) => ({
|
|
|
1790
1789
|
padding: '12px 16px',
|
|
1791
1790
|
},
|
|
1792
1791
|
}));
|
|
1793
|
-
const LogoContainer$1 = styles.styled('div')((
|
|
1792
|
+
const LogoContainer$1 = styles.styled('div')(() => ({
|
|
1794
1793
|
display: 'flex',
|
|
1795
1794
|
alignItems: 'center',
|
|
1796
1795
|
cursor: 'pointer',
|
|
1797
1796
|
height: '16px',
|
|
1798
1797
|
width: '116px',
|
|
1799
1798
|
}));
|
|
1800
|
-
const LogoImage = styles.styled('img')((
|
|
1799
|
+
const LogoImage = styles.styled('img')(() => ({
|
|
1801
1800
|
height: '16px',
|
|
1802
1801
|
width: '116px',
|
|
1803
1802
|
objectFit: 'contain',
|
|
1804
1803
|
}));
|
|
1805
|
-
const MenuIconButton = styles.styled(material.IconButton)((
|
|
1804
|
+
const MenuIconButton = styles.styled(material.IconButton)(() => ({
|
|
1806
1805
|
padding: '6px',
|
|
1807
1806
|
borderRadius: '25px',
|
|
1808
1807
|
width: '40px',
|
|
@@ -1812,26 +1811,26 @@ const MenuIconButton = styles.styled(material.IconButton)(({ theme }) => ({
|
|
|
1812
1811
|
fontSize: '24px',
|
|
1813
1812
|
},
|
|
1814
1813
|
}));
|
|
1815
|
-
const StyledDrawer$2 = styles.styled(material.Drawer)((
|
|
1814
|
+
const StyledDrawer$2 = styles.styled(material.Drawer)(() => ({
|
|
1816
1815
|
'& .MuiDrawer-paper': {
|
|
1817
1816
|
backgroundColor: '#FFFFFF',
|
|
1818
1817
|
boxSizing: 'border-box',
|
|
1819
1818
|
},
|
|
1820
1819
|
}));
|
|
1821
|
-
const DrawerHeader$2 = styles.styled(material.Box)((
|
|
1820
|
+
const DrawerHeader$2 = styles.styled(material.Box)(() => ({
|
|
1822
1821
|
display: 'flex',
|
|
1823
1822
|
alignItems: 'center',
|
|
1824
1823
|
justifyContent: 'space-between',
|
|
1825
1824
|
padding: '12px 16px',
|
|
1826
1825
|
minHeight: '64px',
|
|
1827
1826
|
}));
|
|
1828
|
-
const DrawerLogoContainer = styles.styled('div')((
|
|
1827
|
+
const DrawerLogoContainer = styles.styled('div')(() => ({
|
|
1829
1828
|
display: 'flex',
|
|
1830
1829
|
alignItems: 'center',
|
|
1831
1830
|
cursor: 'pointer',
|
|
1832
1831
|
height: '32px',
|
|
1833
1832
|
}));
|
|
1834
|
-
const CloseIconButton = styles.styled(material.IconButton)((
|
|
1833
|
+
const CloseIconButton = styles.styled(material.IconButton)(() => ({
|
|
1835
1834
|
padding: '6px',
|
|
1836
1835
|
'& .MuiSvgIcon-root': {
|
|
1837
1836
|
color: '#000000',
|
|
@@ -1860,7 +1859,7 @@ styles.styled(material.Box)(({ theme }) => ({
|
|
|
1860
1859
|
* />
|
|
1861
1860
|
* ```
|
|
1862
1861
|
*/
|
|
1863
|
-
function NewHeader({ logo: propLogo, navigationLinks = [],
|
|
1862
|
+
function NewHeader({ logo: propLogo, navigationLinks = [], isMobile: propIsMobile, onLogoClick, onMenuOpen, onMenuClose, customDrawerContent, formatMessage = (descriptor) => descriptor.id, }) {
|
|
1864
1863
|
var _a;
|
|
1865
1864
|
const tenantTheme = useTenantTheme();
|
|
1866
1865
|
const theme = tenantTheme === null || tenantTheme === void 0 ? void 0 : tenantTheme.theme;
|
|
@@ -1891,18 +1890,12 @@ function NewHeader({ logo: propLogo, navigationLinks = [], additionalMenuSection
|
|
|
1891
1890
|
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(StyledAppBar, Object.assign({ position: "fixed" }, { children: jsxRuntime.jsxs(StyledToolbar, Object.assign({ disableGutters: true }, { children: [jsxRuntime.jsx(LogoContainer$1, Object.assign({ onClick: handleLogoClick }, { children: jsxRuntime.jsx(LogoImage, { src: logo, alt: "Logo" }) })), jsxRuntime.jsx(MenuIconButton, Object.assign({ size: "large", edge: "end", "aria-label": "menu", onClick: handleDrawerOpen }, { children: jsxRuntime.jsx(MenuIcon, {}) }))] })) })), jsxRuntime.jsx(StyledDrawer$2, Object.assign({ anchor: "right", open: drawerOpen, onClose: handleDrawerClose }, { children: customDrawerContent ? (jsxRuntime.jsx(material.Box, Object.assign({ sx: { width: isMobile ? '100vw' : 350 } }, { children: customDrawerContent }))) : (jsxRuntime.jsxs(material.Box, Object.assign({ sx: { width: isMobile ? '100vw' : 350 } }, { children: [jsxRuntime.jsxs(DrawerHeader$2, { children: [jsxRuntime.jsx(DrawerLogoContainer, Object.assign({ onClick: handleLogoClick }, { children: jsxRuntime.jsx(LogoImage, { src: logo, alt: "Logo" }) })), jsxRuntime.jsx(CloseIconButton, Object.assign({ onClick: handleDrawerClose, "aria-label": "close" }, { children: jsxRuntime.jsx(CloseIcon, {}) }))] }), jsxRuntime.jsx(material.Divider, {}), jsxRuntime.jsx(DrawerContent$2, { children: navigationLinks.length > 0 && (jsxRuntime.jsx(material.List, { children: navigationLinks.map((item) => (jsxRuntime.jsx(material.ListItem, Object.assign({ disablePadding: true }, { children: jsxRuntime.jsx(material.ListItemButton, Object.assign({ onClick: () => handleMenuItemClick(item) }, { children: jsxRuntime.jsx(material.ListItemText, { primary: formatMessage({ id: item.label }) }) })) }), item.key))) })) })] }))) }))] }));
|
|
1892
1891
|
}
|
|
1893
1892
|
|
|
1894
|
-
const DivFooter = styles.styled('div')((
|
|
1893
|
+
const DivFooter = styles.styled('div')(() => ({
|
|
1895
1894
|
backgroundColor: '#424242',
|
|
1896
1895
|
padding: '20px 16px',
|
|
1897
1896
|
'@media (min-width: 769px)': {
|
|
1898
1897
|
padding: '70px 0px',
|
|
1899
1898
|
},
|
|
1900
|
-
anchorLinks: {
|
|
1901
|
-
color: 'inherit',
|
|
1902
|
-
'&:hover': {
|
|
1903
|
-
color: 'inherit',
|
|
1904
|
-
},
|
|
1905
|
-
},
|
|
1906
1899
|
}));
|
|
1907
1900
|
const DivFooterConterResponsiveLayout = styles.styled('div')(({ theme }) => ({
|
|
1908
1901
|
color: '#fff',
|
|
@@ -1912,7 +1905,7 @@ const DivFooterConterResponsiveLayout = styles.styled('div')(({ theme }) => ({
|
|
|
1912
1905
|
margin: '0 auto',
|
|
1913
1906
|
},
|
|
1914
1907
|
}));
|
|
1915
|
-
const FooterHiddenContent = styles.styled('div')(({
|
|
1908
|
+
const FooterHiddenContent = styles.styled('div')(({ simplifiedLayout }) => simplifiedLayout ? { display: 'none' } : { display: 'flex' });
|
|
1916
1909
|
const DivIglooIntro = styles.styled('div')(({ theme }) => {
|
|
1917
1910
|
var _a;
|
|
1918
1911
|
return ({
|
|
@@ -1926,7 +1919,7 @@ const DivIglooIntro = styles.styled('div')(({ theme }) => {
|
|
|
1926
1919
|
},
|
|
1927
1920
|
});
|
|
1928
1921
|
});
|
|
1929
|
-
const DivSocial = styles.styled('div')((
|
|
1922
|
+
const DivSocial = styles.styled('div')(() => ({
|
|
1930
1923
|
display: 'flex',
|
|
1931
1924
|
alignItems: 'center',
|
|
1932
1925
|
margin: '0 auto',
|
|
@@ -1944,14 +1937,14 @@ const ButtonIcon = styles.styled(material.Button)(({ theme }) => {
|
|
|
1944
1937
|
minWidth: 'auto !important',
|
|
1945
1938
|
});
|
|
1946
1939
|
});
|
|
1947
|
-
const TypographyIntro = styles.styled(material.Typography)((
|
|
1940
|
+
const TypographyIntro = styles.styled(material.Typography)(() => ({
|
|
1948
1941
|
textAlign: 'center',
|
|
1949
1942
|
color: `#fff !important`,
|
|
1950
1943
|
'@media (min-width: 769px)': {
|
|
1951
1944
|
textAlign: 'left',
|
|
1952
1945
|
},
|
|
1953
1946
|
}));
|
|
1954
|
-
const TypographyAddressFooter = styles.styled(material.Typography)((
|
|
1947
|
+
const TypographyAddressFooter = styles.styled(material.Typography)(() => ({
|
|
1955
1948
|
marginTop: 16,
|
|
1956
1949
|
textAlign: 'center',
|
|
1957
1950
|
color: '#fff',
|
|
@@ -1959,7 +1952,7 @@ const TypographyAddressFooter = styles.styled(material.Typography)(({ theme }) =
|
|
|
1959
1952
|
textAlign: 'left',
|
|
1960
1953
|
},
|
|
1961
1954
|
}));
|
|
1962
|
-
const DivLogos = styles.styled('div')((
|
|
1955
|
+
const DivLogos = styles.styled('div')(() => ({
|
|
1963
1956
|
display: 'flex',
|
|
1964
1957
|
flexDirection: 'column',
|
|
1965
1958
|
gap: 16,
|
|
@@ -1972,12 +1965,12 @@ const DivLogos = styles.styled('div')(({ theme }) => ({
|
|
|
1972
1965
|
alignItems: 'baseline',
|
|
1973
1966
|
},
|
|
1974
1967
|
}));
|
|
1975
|
-
const DivFirstRow = styles.styled('div')((
|
|
1968
|
+
const DivFirstRow = styles.styled('div')(() => ({
|
|
1976
1969
|
display: 'flex',
|
|
1977
1970
|
flexDirection: 'row',
|
|
1978
1971
|
gap: 16,
|
|
1979
1972
|
}));
|
|
1980
|
-
const ButtonOjkLink = styles.styled(material.Button)((
|
|
1973
|
+
const ButtonOjkLink = styles.styled(material.Button)(() => ({
|
|
1981
1974
|
display: 'flex',
|
|
1982
1975
|
justifyContent: 'flex-start',
|
|
1983
1976
|
'@media (min-width: 769px)': {
|
|
@@ -1985,18 +1978,18 @@ const ButtonOjkLink = styles.styled(material.Button)(({ theme }) => ({
|
|
|
1985
1978
|
justifyContent: 'flex-start !important ',
|
|
1986
1979
|
},
|
|
1987
1980
|
}));
|
|
1988
|
-
const ImageOjkLicense = styles.styled('img')((
|
|
1981
|
+
const ImageOjkLicense = styles.styled('img')(() => ({
|
|
1989
1982
|
alignSelf: 'flex-start',
|
|
1990
1983
|
height: 36,
|
|
1991
1984
|
}));
|
|
1992
|
-
const ButtonSolisoustamaLink = styles.styled(material.Button)((
|
|
1985
|
+
const ButtonSolisoustamaLink = styles.styled(material.Button)(() => ({
|
|
1993
1986
|
display: 'flex',
|
|
1994
1987
|
justifyContent: 'flex-start',
|
|
1995
1988
|
}));
|
|
1996
|
-
const ImageSolisoustama = styles.styled('img')((
|
|
1989
|
+
const ImageSolisoustama = styles.styled('img')(() => ({
|
|
1997
1990
|
height: 'auto',
|
|
1998
1991
|
}));
|
|
1999
|
-
const DivLinks = styles.styled('div')((
|
|
1992
|
+
const DivLinks = styles.styled('div')(() => ({
|
|
2000
1993
|
display: 'flex',
|
|
2001
1994
|
flex: 1,
|
|
2002
1995
|
alignItems: 'center',
|
|
@@ -2007,7 +2000,7 @@ const DivLinks = styles.styled('div')(({ theme }) => ({
|
|
|
2007
2000
|
alignItems: 'normal',
|
|
2008
2001
|
},
|
|
2009
2002
|
}));
|
|
2010
|
-
const DivSection = styles.styled('div')((
|
|
2003
|
+
const DivSection = styles.styled('div')(() => ({
|
|
2011
2004
|
display: 'flex',
|
|
2012
2005
|
flexDirection: 'column',
|
|
2013
2006
|
gap: 16,
|
|
@@ -2020,7 +2013,7 @@ const DivSection = styles.styled('div')(({ theme }) => ({
|
|
|
2020
2013
|
},
|
|
2021
2014
|
},
|
|
2022
2015
|
}));
|
|
2023
|
-
const ButtonBottomLink = styles.styled(material.Button)((
|
|
2016
|
+
const ButtonBottomLink = styles.styled(material.Button)(() => ({
|
|
2024
2017
|
color: '#fff !important',
|
|
2025
2018
|
textTransform: 'capitalize',
|
|
2026
2019
|
'@media (min-width: 769px)': {
|
|
@@ -2029,22 +2022,22 @@ const ButtonBottomLink = styles.styled(material.Button)(({ theme }) => ({
|
|
|
2029
2022
|
minWidth: 'auto !important',
|
|
2030
2023
|
},
|
|
2031
2024
|
}));
|
|
2032
|
-
const StyledDivider = styles.styled(material.Divider)((
|
|
2025
|
+
const StyledDivider = styles.styled(material.Divider)(() => ({
|
|
2033
2026
|
margin: '24px 0 16px !important',
|
|
2034
2027
|
borderColor: '#5F5E62 !important',
|
|
2035
2028
|
}));
|
|
2036
|
-
const DivBottom = styles.styled('div')((
|
|
2029
|
+
const DivBottom = styles.styled('div')(() => ({
|
|
2037
2030
|
display: 'flex',
|
|
2038
2031
|
justifyContent: 'space-between',
|
|
2039
2032
|
alignItems: 'center',
|
|
2040
2033
|
}));
|
|
2041
|
-
const DivSep = styles.styled('div')((
|
|
2034
|
+
const DivSep = styles.styled('div')(() => ({
|
|
2042
2035
|
width: '1px',
|
|
2043
2036
|
height: 10,
|
|
2044
2037
|
borderRadius: '1px',
|
|
2045
2038
|
backgroundColor: '#fff',
|
|
2046
2039
|
}));
|
|
2047
|
-
const AnchorLink = styles.styled('a')((
|
|
2040
|
+
const AnchorLink = styles.styled('a')(() => ({
|
|
2048
2041
|
color: 'inherit',
|
|
2049
2042
|
'&:hover': {
|
|
2050
2043
|
color: 'inherit',
|
|
@@ -2067,8 +2060,7 @@ const AnchorLink = styles.styled('a')(({ theme }) => ({
|
|
|
2067
2060
|
*/
|
|
2068
2061
|
function Footer({ simplifiedLayout = false, introText, addressText, socialLinks, licenseImages, poweredByImage, navigationLinks = [], currentLocale, host = '', isMobile: propIsMobile, onLinkClick, onSocialClick, onPrivacyPolicyClick, onTermsOfServiceClick, formatMessage = (descriptor) => descriptor.id, }) {
|
|
2069
2062
|
var _a;
|
|
2070
|
-
|
|
2071
|
-
tenantTheme === null || tenantTheme === void 0 ? void 0 : tenantTheme.theme;
|
|
2063
|
+
useTenantTheme();
|
|
2072
2064
|
const muiTheme = material.useTheme();
|
|
2073
2065
|
const themeBreakpoint = material.useMediaQuery((_a = muiTheme === null || muiTheme === void 0 ? void 0 : muiTheme.breakpoints) === null || _a === void 0 ? void 0 : _a.down('md'));
|
|
2074
2066
|
const isMobile = propIsMobile !== undefined ? propIsMobile : themeBreakpoint;
|
|
@@ -2085,7 +2077,7 @@ function Footer({ simplifiedLayout = false, introText, addressText, socialLinks,
|
|
|
2085
2077
|
}), index === navigationLinks.length - 1 && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ButtonBottomLink, Object.assign({ onClick: onPrivacyPolicyClick }, { children: jsxRuntime.jsx(material.Typography, Object.assign({ variant: "body1" }, { children: jsxRuntime.jsx(AnchorLink, Object.assign({ href: `${host}/${currentLocale}/terms/privacypolicy`, onClick: (e) => e === null || e === void 0 ? void 0 : e.preventDefault() }, { children: formatMessage({ id: 'Privacy Policy' }) })) })) })), jsxRuntime.jsx(ButtonBottomLink, Object.assign({ onClick: onTermsOfServiceClick }, { children: jsxRuntime.jsx(material.Typography, Object.assign({ variant: "body1" }, { children: jsxRuntime.jsx(AnchorLink, Object.assign({ href: `${host}/${currentLocale}/terms/termsofservice`, onClick: (e) => e === null || e === void 0 ? void 0 : e.preventDefault() }, { children: formatMessage({ id: 'Terms of Service' }) })) })) })), jsxRuntime.jsx(DivSocial, { children: socialLinks.map((social) => (jsxRuntime.jsx(ButtonIcon, Object.assign({ onClick: () => onSocialClick === null || onSocialClick === void 0 ? void 0 : onSocialClick(social.platform, social.url), "aria-label": social.ariaLabel || social.platform }, { children: jsxRuntime.jsx(AnchorLink, Object.assign({ href: social.url, onClick: (e) => e === null || e === void 0 ? void 0 : e.preventDefault() }, { children: jsxRuntime.jsx("img", { src: social.icon, alt: social.platform, height: isMobile ? '24' : '28', width: isMobile ? '24' : '28', loading: "lazy" }) })) }), social.platform))) })] }))] }, index))) }))] })), isMobile && jsxRuntime.jsx(StyledDivider, {}), isMobile && (jsxRuntime.jsx(DivBottom, { children: jsxRuntime.jsxs(DivLinks, { children: [jsxRuntime.jsx("div", Object.assign({ onClick: onPrivacyPolicyClick, style: { cursor: 'pointer' } }, { children: jsxRuntime.jsx(material.Typography, Object.assign({ variant: "body2" }, { children: jsxRuntime.jsx(AnchorLink, Object.assign({ href: `${host}/${currentLocale}/terms/privacypolicy`, onClick: (e) => e === null || e === void 0 ? void 0 : e.preventDefault() }, { children: formatMessage({ id: 'Privacy Policy' }) })) })) })), jsxRuntime.jsx(DivSep, {}), jsxRuntime.jsx("div", Object.assign({ onClick: onTermsOfServiceClick, style: { cursor: 'pointer' } }, { children: jsxRuntime.jsx(material.Typography, Object.assign({ variant: "body2" }, { children: jsxRuntime.jsx(AnchorLink, Object.assign({ href: `${host}/${currentLocale}/terms/termsofservice`, onClick: (e) => e === null || e === void 0 ? void 0 : e.preventDefault() }, { children: formatMessage({ id: 'Terms of Service' }) })) })) }))] }) }))] }) }));
|
|
2086
2078
|
}
|
|
2087
2079
|
|
|
2088
|
-
const StyledDrawer$1 = styles.styled(material.Drawer)((
|
|
2080
|
+
const StyledDrawer$1 = styles.styled(material.Drawer)(() => ({
|
|
2089
2081
|
zIndex: '1300 !important',
|
|
2090
2082
|
'& .MuiDrawer-root': {
|
|
2091
2083
|
zIndex: 1300,
|
|
@@ -2100,36 +2092,36 @@ const StyledDrawer$1 = styles.styled(material.Drawer)(({ theme }) => ({
|
|
|
2100
2092
|
zIndex: 1299,
|
|
2101
2093
|
},
|
|
2102
2094
|
}));
|
|
2103
|
-
const DrawerHeader$1 = styles.styled(material.Box)((
|
|
2095
|
+
const DrawerHeader$1 = styles.styled(material.Box)(() => ({
|
|
2104
2096
|
display: 'flex',
|
|
2105
2097
|
alignItems: 'center',
|
|
2106
2098
|
justifyContent: 'flex-end',
|
|
2107
2099
|
padding: '16px',
|
|
2108
2100
|
minHeight: '56px',
|
|
2109
2101
|
}));
|
|
2110
|
-
const DrawerContent$1 = styles.styled(material.Box)((
|
|
2102
|
+
const DrawerContent$1 = styles.styled(material.Box)(() => ({
|
|
2111
2103
|
flex: 1,
|
|
2112
2104
|
overflowY: 'auto',
|
|
2113
2105
|
padding: '16px 0',
|
|
2114
2106
|
}));
|
|
2115
|
-
const DrawerFooter = styles.styled(material.Box)((
|
|
2107
|
+
const DrawerFooter = styles.styled(material.Box)(() => ({
|
|
2116
2108
|
padding: '16px',
|
|
2117
2109
|
backgroundColor: '#FFFFFF',
|
|
2118
2110
|
borderTop: 'none',
|
|
2119
2111
|
boxShadow: '0px -2px 8px rgba(0, 0, 0, 0.08)',
|
|
2120
2112
|
}));
|
|
2121
|
-
styles.styled(material.Button)((
|
|
2113
|
+
styles.styled(material.Button)(() => ({
|
|
2122
2114
|
minWidth: 'auto',
|
|
2123
2115
|
padding: 0,
|
|
2124
2116
|
}));
|
|
2125
|
-
const HeaderSection = styles.styled(material.Box)((
|
|
2117
|
+
const HeaderSection = styles.styled(material.Box)(() => ({
|
|
2126
2118
|
backgroundColor: '#FFFFFF',
|
|
2127
2119
|
padding: '16px',
|
|
2128
2120
|
display: 'flex',
|
|
2129
2121
|
flexDirection: 'column',
|
|
2130
2122
|
gap: '12px',
|
|
2131
2123
|
}));
|
|
2132
|
-
const CategoryIcon = styles.styled(material.Box)((
|
|
2124
|
+
const CategoryIcon = styles.styled(material.Box)(() => ({
|
|
2133
2125
|
width: '32px',
|
|
2134
2126
|
height: '32px',
|
|
2135
2127
|
display: 'flex',
|
|
@@ -2147,21 +2139,21 @@ const TitleText = styles.styled(material.Typography)(({ theme }) => ({
|
|
|
2147
2139
|
lineHeight: '24px',
|
|
2148
2140
|
},
|
|
2149
2141
|
}));
|
|
2150
|
-
const SubtitleText = styles.styled(material.Typography)((
|
|
2142
|
+
const SubtitleText = styles.styled(material.Typography)(() => ({
|
|
2151
2143
|
fontWeight: 400,
|
|
2152
2144
|
fontSize: '14px',
|
|
2153
2145
|
lineHeight: '18px',
|
|
2154
2146
|
wordSpacing: '-5px',
|
|
2155
2147
|
color: '#5F5E62',
|
|
2156
2148
|
}));
|
|
2157
|
-
const FooterButtons = styles.styled(material.Box)((
|
|
2149
|
+
const FooterButtons = styles.styled(material.Box)(() => ({
|
|
2158
2150
|
display: 'flex',
|
|
2159
2151
|
flexDirection: 'column',
|
|
2160
2152
|
gap: '16px',
|
|
2161
2153
|
width: '100%',
|
|
2162
2154
|
}));
|
|
2163
2155
|
// Base button styles - colors will be injected via sx prop from component
|
|
2164
|
-
const PrimaryButton = styles.styled(material.Button)((
|
|
2156
|
+
const PrimaryButton = styles.styled(material.Button)(() => ({
|
|
2165
2157
|
color: '#FFFFFF',
|
|
2166
2158
|
borderRadius: '24px',
|
|
2167
2159
|
height: '48px',
|
|
@@ -2175,7 +2167,7 @@ const PrimaryButton = styles.styled(material.Button)(({ theme }) => ({
|
|
|
2175
2167
|
color: '#FFFFFF',
|
|
2176
2168
|
},
|
|
2177
2169
|
}));
|
|
2178
|
-
const SecondaryButton = styles.styled(material.Button)((
|
|
2170
|
+
const SecondaryButton = styles.styled(material.Button)(() => ({
|
|
2179
2171
|
borderRadius: '8px',
|
|
2180
2172
|
height: '40px',
|
|
2181
2173
|
textTransform: 'none',
|
|
@@ -2203,13 +2195,11 @@ const SecondaryButton = styles.styled(material.Button)(({ theme }) => ({
|
|
|
2203
2195
|
* ```
|
|
2204
2196
|
*/
|
|
2205
2197
|
function RecommendationsDrawer({ open, onClose, children, headerIcon, title, subtitle, showBackButton = false, onBack, primaryButtonText, onPrimaryAction, primaryButtonDisabled = false, secondaryButtonText, onSecondaryAction, showFooter = true, customFooter, formatMessage = (descriptor) => descriptor.id, }) {
|
|
2206
|
-
var _a, _b, _c
|
|
2207
|
-
|
|
2208
|
-
material.useMediaQuery((_a = muiTheme === null || muiTheme === void 0 ? void 0 : muiTheme.breakpoints) === null || _a === void 0 ? void 0 : _a.down('md'));
|
|
2198
|
+
var _a, _b, _c;
|
|
2199
|
+
material.useTheme();
|
|
2209
2200
|
const tenantTheme = useTenantTheme();
|
|
2210
2201
|
// Get primary color from tenant theme, fallback to default
|
|
2211
|
-
const primaryColor = ((
|
|
2212
|
-
((_g = (_f = (_e = tenantTheme === null || tenantTheme === void 0 ? void 0 : tenantTheme.theme) === null || _e === void 0 ? void 0 : _e.palette) === null || _f === void 0 ? void 0 : _f.primary) === null || _g === void 0 ? void 0 : _g.dark) || '#2869a8';
|
|
2202
|
+
const primaryColor = ((_c = (_b = (_a = tenantTheme === null || tenantTheme === void 0 ? void 0 : tenantTheme.theme) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0 ? void 0 : _b.primary) === null || _c === void 0 ? void 0 : _c.main) || '#0090DA';
|
|
2213
2203
|
// Helper to convert hex to rgba
|
|
2214
2204
|
const hexToRgba = (hex, alpha) => {
|
|
2215
2205
|
const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
|
|
@@ -2254,7 +2244,7 @@ function RecommendationsDrawer({ open, onClose, children, headerIcon, title, sub
|
|
|
2254
2244
|
} }, { children: formatMessage({ id: secondaryButtonText }) })))] })) }))] })) })));
|
|
2255
2245
|
}
|
|
2256
2246
|
|
|
2257
|
-
const StyledDrawer = material.styled(material.Drawer)((
|
|
2247
|
+
const StyledDrawer = material.styled(material.Drawer)(() => ({
|
|
2258
2248
|
zIndex: 1300,
|
|
2259
2249
|
'& .MuiDrawer-paper': {
|
|
2260
2250
|
borderTopLeftRadius: '8px',
|
|
@@ -2388,7 +2378,7 @@ function ProductSelectionDrawer({ open, onClose, products, onProductSelect, titl
|
|
|
2388
2378
|
} }, { children: viewPlansButtonText }))] }, product.id))) }) })] }) })));
|
|
2389
2379
|
}
|
|
2390
2380
|
|
|
2391
|
-
const QuestionContainer$1 = styles.styled(material.Box)((
|
|
2381
|
+
const QuestionContainer$1 = styles.styled(material.Box)(() => ({
|
|
2392
2382
|
backgroundColor: '#FFFFFF',
|
|
2393
2383
|
padding: '12px 16px',
|
|
2394
2384
|
display: 'flex',
|
|
@@ -2396,7 +2386,7 @@ const QuestionContainer$1 = styles.styled(material.Box)(({ theme }) => ({
|
|
|
2396
2386
|
gap: '16px',
|
|
2397
2387
|
width: '100%',
|
|
2398
2388
|
}));
|
|
2399
|
-
const QuestionHeader = styles.styled(material.Box)((
|
|
2389
|
+
const QuestionHeader = styles.styled(material.Box)(() => ({
|
|
2400
2390
|
display: 'flex',
|
|
2401
2391
|
flexDirection: 'column',
|
|
2402
2392
|
gap: '6px',
|
|
@@ -2450,7 +2440,7 @@ const OptionsContainer$1 = styles.styled(material.Box)(({ theme }) => ({
|
|
|
2450
2440
|
* />
|
|
2451
2441
|
* ```
|
|
2452
2442
|
*/
|
|
2453
|
-
function QuestionSection({ questionNumber, question, helperText, options, selectedValue,
|
|
2443
|
+
function QuestionSection({ questionNumber, question, helperText, options, selectedValue, multiple = false, selectedValues = [], renderOption, formatMessage = (descriptor) => descriptor.id, }) {
|
|
2454
2444
|
const isSelected = (optionValue) => {
|
|
2455
2445
|
if (multiple) {
|
|
2456
2446
|
return selectedValues.includes(optionValue);
|
|
@@ -2588,7 +2578,7 @@ function OptionButton({ value, label, icon, selected = false, disabled = false,
|
|
|
2588
2578
|
return (jsxRuntime.jsx(StyledOptionButton, Object.assign({ selected: selected, disabled: disabled, onClick: handleClick, size: size, fullWidth: fullWidth, colorVariant: variant }, { children: jsxRuntime.jsxs(OptionContent, { children: [icon && jsxRuntime.jsx(OptionIcon, { children: icon }), jsxRuntime.jsx(OptionLabel, Object.assign({ selected: selected, disabled: disabled, colorVariant: variant }, { children: formatMessage({ id: label }) }))] }) })));
|
|
2589
2579
|
}
|
|
2590
2580
|
|
|
2591
|
-
const ToggleContainer$1 = styles.styled(material.Box)((
|
|
2581
|
+
const ToggleContainer$1 = styles.styled(material.Box)(() => ({
|
|
2592
2582
|
backgroundColor: '#F9F9F9',
|
|
2593
2583
|
borderRadius: '40px',
|
|
2594
2584
|
display: 'flex',
|
|
@@ -2597,7 +2587,7 @@ const ToggleContainer$1 = styles.styled(material.Box)(({ theme }) => ({
|
|
|
2597
2587
|
padding: '0',
|
|
2598
2588
|
width: '100%',
|
|
2599
2589
|
}));
|
|
2600
|
-
const ToggleButton$1 = styles.styled(material.ButtonBase)(({
|
|
2590
|
+
const ToggleButton$1 = styles.styled(material.ButtonBase)(({ selected }) => ({
|
|
2601
2591
|
flex: 1,
|
|
2602
2592
|
display: 'flex',
|
|
2603
2593
|
alignItems: 'center',
|
|
@@ -2611,7 +2601,7 @@ const ToggleButton$1 = styles.styled(material.ButtonBase)(({ theme, selected })
|
|
|
2611
2601
|
backgroundColor: selected ? '#00D080' : 'rgba(0, 0, 0, 0.04)',
|
|
2612
2602
|
},
|
|
2613
2603
|
}));
|
|
2614
|
-
const ToggleIcon = styles.styled(material.Box)((
|
|
2604
|
+
const ToggleIcon = styles.styled(material.Box)(() => ({
|
|
2615
2605
|
backgroundColor: '#FFFFFF',
|
|
2616
2606
|
borderRadius: '50px',
|
|
2617
2607
|
width: '32px',
|
|
@@ -2621,7 +2611,7 @@ const ToggleIcon = styles.styled(material.Box)(({ theme }) => ({
|
|
|
2621
2611
|
justifyContent: 'center',
|
|
2622
2612
|
padding: '6px',
|
|
2623
2613
|
}));
|
|
2624
|
-
const ToggleLabel = styles.styled(material.Typography)(({
|
|
2614
|
+
const ToggleLabel = styles.styled(material.Typography)(({ selected }) => ({
|
|
2625
2615
|
fontFamily: '"Montserrat", sans-serif',
|
|
2626
2616
|
fontWeight: 600,
|
|
2627
2617
|
fontSize: '14px',
|
|
@@ -2768,12 +2758,12 @@ const ToggleButton = styles.styled(material.Box)(({ theme, active }) => {
|
|
|
2768
2758
|
});
|
|
2769
2759
|
});
|
|
2770
2760
|
const ToggleText = styles.styled(material.Typography)(({ theme }) => {
|
|
2771
|
-
var _a, _b, _c, _d, _e
|
|
2761
|
+
var _a, _b, _c, _d, _e;
|
|
2772
2762
|
return ({
|
|
2773
|
-
fontFamily:
|
|
2774
|
-
fontSize: ((
|
|
2775
|
-
fontWeight: ((
|
|
2776
|
-
lineHeight: ((
|
|
2763
|
+
fontFamily: theme.typography.fontFamily,
|
|
2764
|
+
fontSize: ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _a === void 0 ? void 0 : _a.bodyMedium) === null || _b === void 0 ? void 0 : _b.fontSize) || '14px',
|
|
2765
|
+
fontWeight: ((_c = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _c === void 0 ? void 0 : _c.fontWeightSemiBold) || 600,
|
|
2766
|
+
lineHeight: ((_e = (_d = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _d === void 0 ? void 0 : _d.bodyMedium) === null || _e === void 0 ? void 0 : _e.lineHeight) || '20px',
|
|
2777
2767
|
whiteSpace: 'nowrap',
|
|
2778
2768
|
wordSpacing: '-5px',
|
|
2779
2769
|
});
|
|
@@ -2834,7 +2824,7 @@ const CalloutContainer = styles.styled(material.Box)(({ theme }) => {
|
|
|
2834
2824
|
width: '100%',
|
|
2835
2825
|
});
|
|
2836
2826
|
});
|
|
2837
|
-
const CalloutHeader = styles.styled(material.Box)((
|
|
2827
|
+
const CalloutHeader = styles.styled(material.Box)(() => ({
|
|
2838
2828
|
display: 'flex',
|
|
2839
2829
|
gap: '4px',
|
|
2840
2830
|
alignItems: 'center',
|
|
@@ -2848,14 +2838,14 @@ const CalloutIcon = styles.styled(InfoIcon)(({ theme }) => {
|
|
|
2848
2838
|
});
|
|
2849
2839
|
});
|
|
2850
2840
|
const CalloutTitle = styles.styled(material.Typography)(({ theme }) => {
|
|
2851
|
-
var _a, _b, _c, _d, _e, _f, _g
|
|
2841
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
2852
2842
|
return ({
|
|
2853
|
-
fontFamily:
|
|
2854
|
-
fontSize: ((
|
|
2855
|
-
fontWeight: ((
|
|
2856
|
-
lineHeight: ((
|
|
2843
|
+
fontFamily: theme.typography.fontFamily,
|
|
2844
|
+
fontSize: ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _a === void 0 ? void 0 : _a.bodyMedium) === null || _b === void 0 ? void 0 : _b.fontSize) || '16px',
|
|
2845
|
+
fontWeight: ((_c = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _c === void 0 ? void 0 : _c.fontWeightSemiBold) || 700,
|
|
2846
|
+
lineHeight: ((_e = (_d = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _d === void 0 ? void 0 : _d.bodyMedium) === null || _e === void 0 ? void 0 : _e.lineHeight) || '20px',
|
|
2857
2847
|
wordSpacing: '-5px',
|
|
2858
|
-
color: ((
|
|
2848
|
+
color: ((_g = (_f = theme === null || theme === void 0 ? void 0 : theme.palette) === null || _f === void 0 ? void 0 : _f.natural) === null || _g === void 0 ? void 0 : _g.dim) || '#13131b',
|
|
2859
2849
|
[theme.breakpoints.down('md')]: {
|
|
2860
2850
|
fontSize: '14px',
|
|
2861
2851
|
lineHeight: '20px',
|
|
@@ -2863,15 +2853,14 @@ const CalloutTitle = styles.styled(material.Typography)(({ theme }) => {
|
|
|
2863
2853
|
});
|
|
2864
2854
|
});
|
|
2865
2855
|
const CalloutText = styles.styled(material.Typography)(({ theme }) => {
|
|
2866
|
-
var _a, _b, _c, _d, _e, _f, _g, _h
|
|
2856
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
2867
2857
|
return ({
|
|
2868
|
-
fontFamily:
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
lineHeight: ((_g = (_f = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _f === void 0 ? void 0 : _f.bodySmall) === null || _g === void 0 ? void 0 : _g.lineHeight) || '16px',
|
|
2858
|
+
fontFamily: theme.typography.fontFamily || '',
|
|
2859
|
+
fontSize: ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _a === void 0 ? void 0 : _a.bodySmall) === null || _b === void 0 ? void 0 : _b.fontSize) || '14px',
|
|
2860
|
+
fontWeight: ((_d = (_c = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _c === void 0 ? void 0 : _c.bodySmall) === null || _d === void 0 ? void 0 : _d.fontWeight) || 400,
|
|
2861
|
+
lineHeight: ((_f = (_e = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _e === void 0 ? void 0 : _e.bodySmall) === null || _f === void 0 ? void 0 : _f.lineHeight) || '16px',
|
|
2873
2862
|
wordSpacing: '-5px',
|
|
2874
|
-
color: ((
|
|
2863
|
+
color: ((_h = (_g = theme === null || theme === void 0 ? void 0 : theme.palette) === null || _g === void 0 ? void 0 : _g.natural) === null || _h === void 0 ? void 0 : _h.dark) || '#5f5e62',
|
|
2875
2864
|
[theme.breakpoints.down('md')]: {
|
|
2876
2865
|
fontSize: '12px',
|
|
2877
2866
|
lineHeight: '14px',
|
|
@@ -2919,22 +2908,21 @@ const SliderContainer = styles.styled(material.Box)(({ theme }) => {
|
|
|
2919
2908
|
width: '100%',
|
|
2920
2909
|
});
|
|
2921
2910
|
});
|
|
2922
|
-
const InputSection = styles.styled(material.Box)((
|
|
2911
|
+
const InputSection = styles.styled(material.Box)(() => ({
|
|
2923
2912
|
display: 'flex',
|
|
2924
2913
|
flexDirection: 'column',
|
|
2925
2914
|
gap: '8px',
|
|
2926
2915
|
width: '100%',
|
|
2927
2916
|
}));
|
|
2928
2917
|
const InputLabel = styles.styled(material.Typography)(({ theme }) => {
|
|
2929
|
-
var _a, _b, _c, _d, _e, _f, _g, _h
|
|
2918
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
2930
2919
|
return ({
|
|
2931
|
-
fontFamily:
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
lineHeight: ((_g = (_f = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _f === void 0 ? void 0 : _f.bodySmall) === null || _g === void 0 ? void 0 : _g.lineHeight) || '16px',
|
|
2920
|
+
fontFamily: theme.typography.fontFamily || '',
|
|
2921
|
+
fontSize: ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _a === void 0 ? void 0 : _a.bodySmall) === null || _b === void 0 ? void 0 : _b.fontSize) || '12px',
|
|
2922
|
+
fontWeight: ((_d = (_c = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _c === void 0 ? void 0 : _c.bodySmall) === null || _d === void 0 ? void 0 : _d.fontWeight) || 400,
|
|
2923
|
+
lineHeight: ((_f = (_e = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _e === void 0 ? void 0 : _e.bodySmall) === null || _f === void 0 ? void 0 : _f.lineHeight) || '16px',
|
|
2936
2924
|
wordSpacing: '-5px',
|
|
2937
|
-
color: ((
|
|
2925
|
+
color: ((_h = (_g = theme === null || theme === void 0 ? void 0 : theme.palette) === null || _g === void 0 ? void 0 : _g.natural) === null || _h === void 0 ? void 0 : _h.dim) || '#13131b',
|
|
2938
2926
|
});
|
|
2939
2927
|
});
|
|
2940
2928
|
const InputContainer = styles.styled(material.Box)(({ theme }) => {
|
|
@@ -2950,24 +2938,23 @@ const InputContainer = styles.styled(material.Box)(({ theme }) => {
|
|
|
2950
2938
|
border: `1px solid ${((_d = (_c = theme === null || theme === void 0 ? void 0 : theme.palette) === null || _c === void 0 ? void 0 : _c.ui) === null || _d === void 0 ? void 0 : _d.inputBorder) || '#eeeeee'}`,
|
|
2951
2939
|
borderRadius: '8px',
|
|
2952
2940
|
width: '100%',
|
|
2953
|
-
maxWidth: 'initial',
|
|
2941
|
+
maxWidth: 'initial',
|
|
2954
2942
|
});
|
|
2955
2943
|
});
|
|
2956
2944
|
const InputValue = styles.styled(material.Typography)(({ theme }) => {
|
|
2957
|
-
var _a, _b, _c, _d, _e, _f, _g, _h
|
|
2945
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
2958
2946
|
return ({
|
|
2959
|
-
fontFamily:
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
lineHeight: ((_g = (_f = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _f === void 0 ? void 0 : _f.bodyMedium) === null || _g === void 0 ? void 0 : _g.lineHeight) || '18px',
|
|
2947
|
+
fontFamily: theme.typography.fontFamily || '',
|
|
2948
|
+
fontSize: ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _a === void 0 ? void 0 : _a.bodyMedium) === null || _b === void 0 ? void 0 : _b.fontSize) || '14px',
|
|
2949
|
+
fontWeight: ((_d = (_c = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _c === void 0 ? void 0 : _c.bodyMedium) === null || _d === void 0 ? void 0 : _d.fontWeight) || 400,
|
|
2950
|
+
lineHeight: ((_f = (_e = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _e === void 0 ? void 0 : _e.bodyMedium) === null || _f === void 0 ? void 0 : _f.lineHeight) || '18px',
|
|
2964
2951
|
wordSpacing: '-5px',
|
|
2965
|
-
color: ((
|
|
2952
|
+
color: ((_h = (_g = theme === null || theme === void 0 ? void 0 : theme.palette) === null || _g === void 0 ? void 0 : _g.natural) === null || _h === void 0 ? void 0 : _h.dim) || '#13131b',
|
|
2966
2953
|
textAlign: 'center',
|
|
2967
2954
|
flex: 1,
|
|
2968
2955
|
});
|
|
2969
2956
|
});
|
|
2970
|
-
styles.styled(material.Box)((
|
|
2957
|
+
styles.styled(material.Box)(() => ({
|
|
2971
2958
|
display: 'flex',
|
|
2972
2959
|
alignItems: 'center',
|
|
2973
2960
|
position: 'relative',
|
|
@@ -3007,7 +2994,7 @@ styles.styled(material.Box)(({ theme, active }) => {
|
|
|
3007
2994
|
},
|
|
3008
2995
|
});
|
|
3009
2996
|
});
|
|
3010
|
-
styles.styled(material.Box)((
|
|
2997
|
+
styles.styled(material.Box)(() => ({
|
|
3011
2998
|
position: 'absolute',
|
|
3012
2999
|
width: '18px',
|
|
3013
3000
|
height: '18px',
|
|
@@ -3036,22 +3023,21 @@ styles.styled(material.Box)(({ theme }) => {
|
|
|
3036
3023
|
color: ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.palette) === null || _a === void 0 ? void 0 : _a.ui) === null || _b === void 0 ? void 0 : _b.sliderActive) || '#317abc',
|
|
3037
3024
|
});
|
|
3038
3025
|
});
|
|
3039
|
-
styles.styled(material.Box)((
|
|
3026
|
+
styles.styled(material.Box)(() => ({
|
|
3040
3027
|
display: 'flex',
|
|
3041
3028
|
justifyContent: 'space-between',
|
|
3042
3029
|
width: '100%',
|
|
3043
|
-
maxWidth: 'initial',
|
|
3030
|
+
maxWidth: 'initial',
|
|
3044
3031
|
}));
|
|
3045
3032
|
const RangeLabel = styles.styled(material.Typography)(({ theme }) => {
|
|
3046
|
-
var _a, _b, _c, _d, _e, _f, _g, _h
|
|
3033
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
3047
3034
|
return ({
|
|
3048
|
-
fontFamily:
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
lineHeight: ((_g = (_f = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _f === void 0 ? void 0 : _f.smallText) === null || _g === void 0 ? void 0 : _g.lineHeight) || '16px',
|
|
3035
|
+
fontFamily: theme.typography.fontFamily || '',
|
|
3036
|
+
fontSize: ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _a === void 0 ? void 0 : _a.smallText) === null || _b === void 0 ? void 0 : _b.fontSize) || '8px',
|
|
3037
|
+
fontWeight: ((_d = (_c = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _c === void 0 ? void 0 : _c.smallText) === null || _d === void 0 ? void 0 : _d.fontWeight) || 500,
|
|
3038
|
+
lineHeight: ((_f = (_e = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _e === void 0 ? void 0 : _e.smallText) === null || _f === void 0 ? void 0 : _f.lineHeight) || '16px',
|
|
3053
3039
|
wordSpacing: '-5px',
|
|
3054
|
-
color: ((
|
|
3040
|
+
color: ((_h = (_g = theme === null || theme === void 0 ? void 0 : theme.palette) === null || _g === void 0 ? void 0 : _g.natural) === null || _h === void 0 ? void 0 : _h.main) || '#929094',
|
|
3055
3041
|
});
|
|
3056
3042
|
});
|
|
3057
3043
|
const StyledMuiSlider = styles.styled(material.Slider)(({ theme, sliderActiveColor, sliderInactiveColor }) => {
|
|
@@ -3114,7 +3100,7 @@ const StyledMuiSlider = styles.styled(material.Slider)(({ theme, sliderActiveCol
|
|
|
3114
3100
|
},
|
|
3115
3101
|
});
|
|
3116
3102
|
});
|
|
3117
|
-
const SliderLabelsContainer = styles.styled(material.Box)((
|
|
3103
|
+
const SliderLabelsContainer = styles.styled(material.Box)(() => ({
|
|
3118
3104
|
display: 'flex',
|
|
3119
3105
|
justifyContent: 'space-between',
|
|
3120
3106
|
width: '100%',
|
|
@@ -3292,7 +3278,6 @@ const ProductCardContainer = styles.styled(material.Box)(({ theme, showIndicator
|
|
|
3292
3278
|
const LogoContainer = styles.styled(material.Box)({
|
|
3293
3279
|
width: '45px',
|
|
3294
3280
|
height: '40px',
|
|
3295
|
-
border: '1.25px solid rgba(0, 0, 0, 0.1)',
|
|
3296
3281
|
borderRadius: '10px',
|
|
3297
3282
|
display: 'flex',
|
|
3298
3283
|
alignItems: 'center',
|
|
@@ -3475,6 +3460,7 @@ const HealthQuestionGroup = ({ question, questionNumber, value, onChange, error,
|
|
|
3475
3460
|
color: 'error.main',
|
|
3476
3461
|
fontSize: '12px',
|
|
3477
3462
|
mt: 0.5,
|
|
3463
|
+
wordSpacing: '-5px',
|
|
3478
3464
|
} }, { children: error })))] })));
|
|
3479
3465
|
};
|
|
3480
3466
|
|
|
@@ -3548,18 +3534,21 @@ const PersonalInformationForm = ({ renderField, fields, consents, onSubmit, form
|
|
|
3548
3534
|
ml: 2,
|
|
3549
3535
|
color: '#5F5E62',
|
|
3550
3536
|
fontSize: '12px',
|
|
3537
|
+
wordSpacing: '-5px',
|
|
3551
3538
|
} }, { children: fields.full_name.helperText })))] }), renderField(fields.nric), renderField(fields.date_of_birth), renderField(fields.gender), renderField(fields.salutation), renderField(fields.nationality), renderField(fields.occupation), renderField(fields.industry), renderField(fields.crediting_bank_name), renderField(fields.crediting_bank_account_number), desktopGridLayout ? (jsxRuntime.jsx(FullWidthField$1, { children: jsxRuntime.jsxs(CheckboxContainer$1, { children: [jsxRuntime.jsx(material.FormControlLabel, { control: jsxRuntime.jsx(material.Checkbox, { checked: consents.bank_account_confirmation.checked, onChange: (e) => consents.bank_account_confirmation.onChange(e.target.checked), name: "bank_account_confirmation" }), label: jsxRuntime.jsx(CheckboxLabel$1, { children: consents.bank_account_confirmation.label ||
|
|
3552
3539
|
defaultBankConfirmationLabel }) }), consents.bank_account_confirmation.error && (jsxRuntime.jsx(material.Typography, Object.assign({ sx: {
|
|
3553
3540
|
color: 'error.main',
|
|
3554
3541
|
fontSize: '12px',
|
|
3555
3542
|
mt: 0.5,
|
|
3556
3543
|
ml: 4,
|
|
3544
|
+
wordSpacing: '-5px',
|
|
3557
3545
|
} }, { children: consents.bank_account_confirmation.error })))] }) })) : (jsxRuntime.jsxs(CheckboxContainer$1, { children: [jsxRuntime.jsx(material.FormControlLabel, { control: jsxRuntime.jsx(material.Checkbox, { checked: consents.bank_account_confirmation.checked, onChange: (e) => consents.bank_account_confirmation.onChange(e.target.checked), name: "bank_account_confirmation" }), label: jsxRuntime.jsx(CheckboxLabel$1, { children: consents.bank_account_confirmation.label ||
|
|
3558
3546
|
defaultBankConfirmationLabel }) }), consents.bank_account_confirmation.error && (jsxRuntime.jsx(material.Typography, Object.assign({ sx: {
|
|
3559
3547
|
color: 'error.main',
|
|
3560
3548
|
fontSize: '12px',
|
|
3561
3549
|
mt: 0.5,
|
|
3562
3550
|
ml: 4,
|
|
3551
|
+
wordSpacing: '-5px',
|
|
3563
3552
|
} }, { children: consents.bank_account_confirmation.error })))] })), desktopGridLayout ? (jsxRuntime.jsx(FullWidthField$1, { children: jsxRuntime.jsx(CheckboxContainer$1, { children: jsxRuntime.jsx(material.FormControlLabel, { control: jsxRuntime.jsx(material.Checkbox, { checked: consents.marketing_consent.checked, onChange: (e) => consents.marketing_consent.onChange(e.target.checked), name: "marketing_consent" }), label: jsxRuntime.jsx(CheckboxLabel$1, { children: consents.marketing_consent.label || defaultMarketingLabel }) }) }) })) : (jsxRuntime.jsx(CheckboxContainer$1, { children: jsxRuntime.jsx(material.FormControlLabel, { control: jsxRuntime.jsx(material.Checkbox, { checked: consents.marketing_consent.checked, onChange: (e) => consents.marketing_consent.onChange(e.target.checked), name: "marketing_consent" }), label: jsxRuntime.jsx(CheckboxLabel$1, { children: consents.marketing_consent.label || defaultMarketingLabel }) }) }))] })) })));
|
|
3564
3553
|
};
|
|
3565
3554
|
|
|
@@ -3773,6 +3762,7 @@ const ChildInformationForm = ({ renderField, fields, onSubmit, formRef, sx, desk
|
|
|
3773
3762
|
ml: 2,
|
|
3774
3763
|
color: '#5F5E62',
|
|
3775
3764
|
fontSize: '12px',
|
|
3765
|
+
wordSpacing: '-5px',
|
|
3776
3766
|
} }, { children: fields.full_name.helperText })))] }), fields.nric ? renderField(fields.nric) : renderField(fields.date_of_birth), fields.nric && renderField(fields.date_of_birth), renderField(fields.gender), renderField(fields.nationality)] }) })));
|
|
3777
3767
|
}
|
|
3778
3768
|
// Mobile layout - single column
|
|
@@ -3782,6 +3772,7 @@ const ChildInformationForm = ({ renderField, fields, onSubmit, formRef, sx, desk
|
|
|
3782
3772
|
ml: 2,
|
|
3783
3773
|
color: '#5F5E62',
|
|
3784
3774
|
fontSize: '12px',
|
|
3775
|
+
wordSpacing: '-5px',
|
|
3785
3776
|
} }, { children: fields.full_name.helperText })))] }), fields.nric && renderField(fields.nric), renderField(fields.date_of_birth), renderField(fields.gender), renderField(fields.nationality)] })) })));
|
|
3786
3777
|
};
|
|
3787
3778
|
|
|
@@ -3800,23 +3791,23 @@ const FAQContainer = material.styled(material.Box)(({ theme }) => ({
|
|
|
3800
3791
|
backgroundColor: '#ffffff',
|
|
3801
3792
|
[theme.breakpoints.up('md')]: {
|
|
3802
3793
|
padding: '70px 0',
|
|
3803
|
-
gap: '
|
|
3794
|
+
gap: '40px',
|
|
3804
3795
|
},
|
|
3805
3796
|
}));
|
|
3806
3797
|
const FAQTitle = material.styled(material.Typography)(({ theme }) => ({
|
|
3807
3798
|
fontWeight: 700,
|
|
3808
3799
|
fontSize: '20px',
|
|
3809
3800
|
lineHeight: '28px',
|
|
3810
|
-
wordSpacing: '
|
|
3801
|
+
wordSpacing: '0px',
|
|
3811
3802
|
textAlign: 'center',
|
|
3812
3803
|
width: '100%',
|
|
3813
3804
|
margin: 0,
|
|
3814
3805
|
[theme.breakpoints.up('md')]: {
|
|
3815
3806
|
fontSize: '28px',
|
|
3816
|
-
lineHeight: '
|
|
3807
|
+
lineHeight: '38px',
|
|
3817
3808
|
},
|
|
3818
3809
|
}));
|
|
3819
|
-
const StyledAccordion = material.styled(material.Accordion)((
|
|
3810
|
+
const StyledAccordion = material.styled(material.Accordion)(() => ({
|
|
3820
3811
|
backgroundColor: 'transparent',
|
|
3821
3812
|
boxShadow: 'none',
|
|
3822
3813
|
borderRadius: 0,
|
|
@@ -3829,16 +3820,8 @@ const StyledAccordion = material.styled(material.Accordion)(({ theme }) => ({
|
|
|
3829
3820
|
'&.Mui-expanded': {
|
|
3830
3821
|
margin: 0,
|
|
3831
3822
|
},
|
|
3832
|
-
[theme.breakpoints.up('md')]: {
|
|
3833
|
-
marginTop: '12px',
|
|
3834
|
-
marginBottom: '12px',
|
|
3835
|
-
'&.Mui-expanded': {
|
|
3836
|
-
marginTop: '12px',
|
|
3837
|
-
marginBottom: '12px',
|
|
3838
|
-
},
|
|
3839
|
-
},
|
|
3840
3823
|
}));
|
|
3841
|
-
const StyledAccordionSummary = material.styled(material.AccordionSummary)((
|
|
3824
|
+
const StyledAccordionSummary = material.styled(material.AccordionSummary)(() => ({
|
|
3842
3825
|
minHeight: '48px',
|
|
3843
3826
|
padding: '12px 0',
|
|
3844
3827
|
gap: '6px',
|
|
@@ -3853,34 +3836,45 @@ const StyledAccordionSummary = material.styled(material.AccordionSummary)(({ the
|
|
|
3853
3836
|
},
|
|
3854
3837
|
'& .MuiAccordionSummary-expandIconWrapper': {
|
|
3855
3838
|
transition: 'transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms',
|
|
3839
|
+
width: '48px',
|
|
3840
|
+
height: '48px',
|
|
3841
|
+
display: 'flex',
|
|
3842
|
+
alignItems: 'center',
|
|
3843
|
+
justifyContent: 'center',
|
|
3856
3844
|
},
|
|
3857
3845
|
}));
|
|
3858
3846
|
const FAQQuestion = material.styled(material.Typography)(({ theme }) => ({
|
|
3859
3847
|
fontWeight: 700,
|
|
3860
3848
|
fontSize: '14px',
|
|
3861
3849
|
lineHeight: '20px',
|
|
3862
|
-
wordSpacing: '
|
|
3850
|
+
wordSpacing: '0px',
|
|
3863
3851
|
flex: 1,
|
|
3864
3852
|
[theme.breakpoints.up('md')]: {
|
|
3865
|
-
fontSize: '
|
|
3866
|
-
lineHeight: '
|
|
3853
|
+
fontSize: '18px',
|
|
3854
|
+
lineHeight: '24px',
|
|
3867
3855
|
},
|
|
3868
3856
|
}));
|
|
3869
3857
|
const StyledAccordionDetails = material.styled(material.AccordionDetails)(({ theme }) => ({
|
|
3870
3858
|
fontWeight: 400,
|
|
3871
3859
|
fontSize: '14px',
|
|
3872
3860
|
lineHeight: '20px',
|
|
3873
|
-
wordSpacing: '
|
|
3861
|
+
wordSpacing: '0px',
|
|
3874
3862
|
padding: '0 0 16px 0',
|
|
3875
3863
|
[theme.breakpoints.up('md')]: {
|
|
3876
|
-
fontSize: '
|
|
3877
|
-
lineHeight: '
|
|
3864
|
+
fontSize: '16px',
|
|
3865
|
+
lineHeight: '20px',
|
|
3878
3866
|
padding: '0 0 20px 0',
|
|
3879
3867
|
},
|
|
3880
3868
|
}));
|
|
3881
|
-
const FAQContentWrapper = material.styled(material.Box)({
|
|
3869
|
+
const FAQContentWrapper = material.styled(material.Box)(({ theme }) => ({
|
|
3882
3870
|
width: '100%',
|
|
3883
|
-
|
|
3871
|
+
display: 'flex',
|
|
3872
|
+
flexDirection: 'column',
|
|
3873
|
+
borderRadius: '12px',
|
|
3874
|
+
[theme.breakpoints.up('md')]: {
|
|
3875
|
+
// gap: '12px',
|
|
3876
|
+
},
|
|
3877
|
+
}));
|
|
3884
3878
|
|
|
3885
3879
|
/**
|
|
3886
3880
|
* FAQAccordion - Displays a list of frequently asked questions in an accordion format
|