igloo-d2c-components 1.0.23 → 1.0.25

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/esm/index.js CHANGED
@@ -81,7 +81,7 @@ function useIsTenant(checkTenantId) {
81
81
  * Igloo Typography Configuration
82
82
  */
83
83
  const iglooTypography = {
84
- fontFamily: 'Montserrat',
84
+ fontFamily: 'Inter, sans-serif',
85
85
  fontWeightRegular: 400,
86
86
  fontWeightMedium: 500,
87
87
  fontWeightSemiBold: 600,
@@ -829,29 +829,47 @@ function Banner(_a) {
829
829
  /**
830
830
  * Styled components for Desktop Header Menu Bar
831
831
  * Based on Figma Design: Tech-Solution-V1.0 (node 1581-22604)
832
+ *
833
+ * Design Specifications:
834
+ * - Header height: 80px
835
+ * - Background: white (#ffffff)
836
+ * - Content max-width: 1128px (equivalent to 156px padding on 1440px width)
837
+ * - Logo width: 126px
838
+ * - Gap between logo and menu items: 32px
839
+ * - Menu text: MetLife Circular Bold, 18px, #13131B
840
+ * - Login button: Text style, #0090da (teal/cyan)
832
841
  */
842
+ /**
843
+ * Design System Colors (from Figma node 1581-22604)
844
+ */
845
+ const designColors = {
846
+ natural: {
847
+ dim100: '#13131B',
848
+ light00: '#ffffff',
849
+ },
850
+ primary: {
851
+ main60: '#0090da',
852
+ },
853
+ };
833
854
  /**
834
855
  * Main AppBar container
835
856
  * Height: 80px, white background, centered content
836
857
  */
837
- const StyledAppBar$2 = styled(AppBar)(({ theme }) => {
838
- var _a;
839
- return ({
840
- backgroundColor: ((_a = theme.palette.background) === null || _a === void 0 ? void 0 : _a.paper) || '#ffffff',
841
- boxShadow: 'none',
842
- position: 'fixed',
843
- top: 0,
844
- left: 0,
845
- right: 0,
846
- zIndex: 1000,
847
- height: '80px',
848
- display: 'flex',
849
- justifyContent: 'center',
850
- });
851
- });
858
+ const StyledAppBar$2 = styled(AppBar)(({ theme }) => ({
859
+ backgroundColor: designColors.natural.light00,
860
+ boxShadow: 'none',
861
+ position: 'fixed',
862
+ top: 0,
863
+ left: 0,
864
+ right: 0,
865
+ zIndex: 1000,
866
+ height: '80px',
867
+ display: 'flex',
868
+ justifyContent: 'center',
869
+ }));
852
870
  /**
853
871
  * Inner container with max-width constraint
854
- * Max-width: 1128px, centered
872
+ * Max-width: 1128px, centered (equivalent to px-156 on 1440px viewport)
855
873
  */
856
874
  const HeaderContainer$1 = styled(Box)(({ theme }) => ({
857
875
  display: 'flex',
@@ -868,6 +886,7 @@ const HeaderContainer$1 = styled(Box)(({ theme }) => ({
868
886
  }));
869
887
  /**
870
888
  * Left section containing logo and menu items
889
+ * Gap: 32px between all children (logo and menu items)
871
890
  */
872
891
  const LeftSection = styled(Box)({
873
892
  display: 'flex',
@@ -883,57 +902,58 @@ const LogoContainer$2 = styled(Box)({
883
902
  alignItems: 'center',
884
903
  cursor: 'pointer',
885
904
  height: '100%',
905
+ flexShrink: 0,
886
906
  });
887
907
  /**
888
908
  * Logo image
889
- * Width: 126px, height: auto
909
+ * Width: 126px, height: 16px (per Figma)
890
910
  */
891
911
  const LogoImage$1 = styled('img')({
892
912
  width: '126px',
893
- height: 'auto',
913
+ height: '16px',
894
914
  objectFit: 'contain',
895
915
  });
896
916
  /**
897
917
  * Navigation menu container
918
+ * No additional gap - items are spaced by LeftSection's gap
898
919
  */
899
- const NavMenu = styled(Box)({
920
+ styled(Box)({
900
921
  display: 'flex',
901
922
  alignItems: 'center',
902
923
  height: '100%',
903
- gap: '32px',
924
+ gap: '0',
904
925
  });
905
926
  /**
906
927
  * Individual menu item button
907
- * Font: MetLife Circular Bold, 18px
928
+ * Font: MetLife Circular Bold, 18px, color: #13131B
929
+ * Padding: 10px horizontal (creates visual spacing between items)
908
930
  */
909
- const MenuItemButton = styled(Button$1)(({ theme }) => {
910
- var _a;
911
- return ({
912
- display: 'flex',
913
- alignItems: 'center',
914
- gap: '8px',
915
- padding: '0 10px',
916
- height: '100%',
917
- minWidth: 'auto',
918
- textTransform: 'none',
919
- color: '#13131B',
920
- fontFamily: '"Montserrat", "MetLife_Circular", sans-serif',
921
- fontWeight: 700,
922
- fontSize: '18px',
923
- lineHeight: '24px',
924
- letterSpacing: '0px',
925
- borderRadius: 0,
926
- '&:hover': {
927
- backgroundColor: 'transparent',
928
- color: ((_a = theme.palette.primary) === null || _a === void 0 ? void 0 : _a.main) || '#0090DA',
929
- },
930
- });
931
- });
931
+ const MenuItemButton = styled(Button$1)(({ theme }) => ({
932
+ display: 'flex',
933
+ alignItems: 'center',
934
+ gap: '8px',
935
+ padding: '0 10px',
936
+ height: '100%',
937
+ minWidth: 'auto',
938
+ textTransform: 'none',
939
+ color: designColors.natural.dim100,
940
+ fontFamily: '"MetLifeCircular", "Montserrat", "Roboto", "Helvetica", "Arial", sans-serif',
941
+ fontWeight: 700,
942
+ fontSize: '18px',
943
+ lineHeight: '24px',
944
+ letterSpacing: '0px',
945
+ borderRadius: 0,
946
+ '&:hover': {
947
+ backgroundColor: 'transparent',
948
+ color: designColors.primary.main60,
949
+ },
950
+ }));
932
951
  /**
933
952
  * Menu item text
953
+ * Font: MetLife Circular Bold, 18px
934
954
  */
935
955
  const MenuItemText = styled(Typography)({
936
- fontFamily: '"Montserrat", "MetLife_Circular", sans-serif',
956
+ fontFamily: '"MetLifeCircular", "Montserrat", "Roboto", "Helvetica", "Arial", sans-serif',
937
957
  fontWeight: 700,
938
958
  fontSize: '18px',
939
959
  lineHeight: '24px',
@@ -942,12 +962,12 @@ const MenuItemText = styled(Typography)({
942
962
  });
943
963
  /**
944
964
  * Dropdown arrow icon
945
- * Size: 24px
965
+ * Size: 24px, color: #13131B
946
966
  */
947
967
  const DropdownIcon = styled(ArrowDropDownIcon)({
948
968
  width: '24px',
949
969
  height: '24px',
950
- color: '#13131B',
970
+ color: designColors.natural.dim100,
951
971
  });
952
972
  /**
953
973
  * Right section containing login button
@@ -960,30 +980,28 @@ const RightSection = styled(Box)({
960
980
  /**
961
981
  * Login button (text style)
962
982
  * Based on Figma: Style=Text, State=enabled, Show Icon=False
983
+ * Color: #0090da (primary blue/teal)
963
984
  */
964
- const LoginButton = styled(Button$1)(({ theme }) => {
965
- var _a;
966
- return ({
967
- display: 'flex',
968
- alignItems: 'center',
969
- padding: '0 10px',
970
- height: '100%',
971
- minWidth: 'auto',
972
- textTransform: 'none',
973
- color: ((_a = theme.palette.primary) === null || _a === void 0 ? void 0 : _a.main) || '#E11931',
974
- fontFamily: '"Montserrat", "MetLife_Circular", sans-serif',
975
- fontWeight: 700,
976
- fontSize: '18px',
977
- lineHeight: '24px',
978
- letterSpacing: '0px',
979
- borderRadius: 0,
985
+ const LoginButton = styled(Button$1)(({ theme }) => ({
986
+ display: 'flex',
987
+ alignItems: 'center',
988
+ padding: '0 10px',
989
+ height: '100%',
990
+ minWidth: 'auto',
991
+ textTransform: 'none',
992
+ color: designColors.primary.main60,
993
+ fontFamily: '"MetLifeCircular", "Montserrat", "Roboto", "Helvetica", "Arial", sans-serif',
994
+ fontWeight: 700,
995
+ fontSize: '18px',
996
+ lineHeight: '24px',
997
+ letterSpacing: '0px',
998
+ borderRadius: 0,
999
+ backgroundColor: 'transparent',
1000
+ '&:hover': {
980
1001
  backgroundColor: 'transparent',
981
- '&:hover': {
982
- backgroundColor: 'transparent',
983
- textDecoration: 'underline',
984
- },
985
- });
986
- });
1002
+ textDecoration: 'underline',
1003
+ },
1004
+ }));
987
1005
  /**
988
1006
  * Dropdown menu container
989
1007
  */
@@ -1003,11 +1021,11 @@ const StyledMenuItem$1 = styled(MenuItem)(({ theme }) => ({
1003
1021
  alignItems: 'center',
1004
1022
  gap: '12px',
1005
1023
  padding: '16px 20px',
1006
- fontFamily: '"Montserrat", "MetLife_Circular", sans-serif',
1024
+ fontFamily: '"MetLifeCircular", "Montserrat", "Roboto", "Helvetica", "Arial", sans-serif',
1007
1025
  fontWeight: 500,
1008
1026
  fontSize: '16px',
1009
1027
  lineHeight: '24px',
1010
- color: '#13131B',
1028
+ color: designColors.natural.dim100,
1011
1029
  '&:hover': {
1012
1030
  backgroundColor: 'rgba(0, 144, 218, 0.08)',
1013
1031
  },
@@ -1072,15 +1090,15 @@ function DesktopHeaderMenuBar({ logo, logoAlt = 'Logo', menuItems, showLoginButt
1072
1090
  e.preventDefault();
1073
1091
  onLogoClick === null || onLogoClick === void 0 ? void 0 : onLogoClick();
1074
1092
  };
1075
- return (jsx(StyledAppBar$2, Object.assign({ className: className }, { children: jsxs(HeaderContainer$1, { children: [jsxs(LeftSection, { children: [jsx(LogoContainer$2, Object.assign({ onClick: handleLogoClick }, { children: jsx(LogoImage$1, { src: logo, alt: logoAlt }) })), jsx(NavMenu, { children: menuItems.map((item) => (jsxs(React.Fragment, { children: [jsxs(MenuItemButton, Object.assign({ onClick: (e) => handleMenuClick(e, item), "aria-haspopup": item.hasDropdown ? 'true' : undefined, "aria-expanded": item.hasDropdown ? openMenuKey === item.key : undefined, "data-testid": `menu-item-${item.key}` }, { children: [jsx(MenuItemText, { children: formatMessage({ id: item.label }) }), item.hasDropdown && jsx(DropdownIcon, {})] })), item.hasDropdown && item.subItems && (jsx(StyledMenu$1, Object.assign({ id: `menu-${item.key}`, anchorEl: anchorEl, open: openMenuKey === item.key, onClose: handleCloseMenu, anchorOrigin: {
1076
- vertical: 'bottom',
1077
- horizontal: 'left',
1078
- }, transformOrigin: {
1079
- vertical: 'top',
1080
- horizontal: 'left',
1081
- }, MenuListProps: {
1082
- 'aria-labelledby': `menu-button-${item.key}`,
1083
- } }, { children: item.subItems.map((subItem) => (jsxs(StyledMenuItem$1, Object.assign({ onClick: () => handleSubItemClick(item, subItem.key), "data-testid": `submenu-item-${subItem.key}` }, { children: [subItem.icon && (jsx(MenuItemIcon, { src: subItem.icon, alt: subItem.label })), formatMessage({ id: subItem.label })] }), subItem.key))) })))] }, item.key))) })] }), jsx(RightSection, { children: showLoginButton && (jsx(LoginButton, Object.assign({ onClick: onLoginClick, "data-testid": "header-login-button" }, { children: formatMessage({ id: loginButtonText }) }))) })] }) })));
1093
+ return (jsx(StyledAppBar$2, Object.assign({ className: className }, { children: jsxs(HeaderContainer$1, { children: [jsxs(LeftSection, { children: [jsx(LogoContainer$2, Object.assign({ onClick: handleLogoClick }, { children: jsx(LogoImage$1, { src: logo, alt: logoAlt }) })), menuItems.map((item) => (jsxs(React.Fragment, { children: [jsxs(MenuItemButton, Object.assign({ onClick: (e) => handleMenuClick(e, item), "aria-haspopup": item.hasDropdown ? 'true' : undefined, "aria-expanded": item.hasDropdown ? openMenuKey === item.key : undefined, "data-testid": `menu-item-${item.key}` }, { children: [jsx(MenuItemText, { children: formatMessage({ id: item.label }) }), item.hasDropdown && jsx(DropdownIcon, {})] })), item.hasDropdown && item.subItems && (jsx(StyledMenu$1, Object.assign({ id: `menu-${item.key}`, anchorEl: anchorEl, open: openMenuKey === item.key, onClose: handleCloseMenu, anchorOrigin: {
1094
+ vertical: 'bottom',
1095
+ horizontal: 'left',
1096
+ }, transformOrigin: {
1097
+ vertical: 'top',
1098
+ horizontal: 'left',
1099
+ }, MenuListProps: {
1100
+ 'aria-labelledby': `menu-button-${item.key}`,
1101
+ } }, { children: item.subItems.map((subItem) => (jsxs(StyledMenuItem$1, Object.assign({ onClick: () => handleSubItemClick(item, subItem.key), "data-testid": `submenu-item-${subItem.key}` }, { children: [subItem.icon && (jsx(MenuItemIcon, { src: subItem.icon, alt: subItem.label })), formatMessage({ id: subItem.label })] }), subItem.key))) })))] }, item.key)))] }), jsx(RightSection, { children: showLoginButton && (jsx(LoginButton, Object.assign({ onClick: onLoginClick, "data-testid": "header-login-button" }, { children: formatMessage({ id: loginButtonText }) }))) })] }) })));
1084
1102
  }
1085
1103
 
1086
1104
  const StyledAppBar$1 = styled(AppBar)(({ theme, ispartnershippagemobileview, scrolled }) => {
@@ -1974,14 +1992,16 @@ const CategoryIcon = styled(Box)(({ theme }) => ({
1974
1992
  justifyContent: 'center',
1975
1993
  }));
1976
1994
  const TitleText = styled(Typography)(({ theme }) => ({
1977
- fontFamily: '"Montserrat", sans-serif',
1978
1995
  fontWeight: 700,
1979
- fontSize: '20px',
1996
+ fontSize: '28px',
1980
1997
  lineHeight: '28px',
1981
1998
  color: '#13131B',
1999
+ [theme.breakpoints.down('md')]: {
2000
+ fontSize: '20px',
2001
+ lineHeight: '24px',
2002
+ },
1982
2003
  }));
1983
2004
  const SubtitleText = styled(Typography)(({ theme }) => ({
1984
- fontFamily: '"Montserrat", sans-serif',
1985
2005
  fontWeight: 400,
1986
2006
  fontSize: '14px',
1987
2007
  lineHeight: '18px',
@@ -1999,7 +2019,6 @@ const PrimaryButton = styled(Button$1)(({ theme }) => ({
1999
2019
  borderRadius: '24px',
2000
2020
  height: '48px',
2001
2021
  textTransform: 'none',
2002
- fontFamily: '"Montserrat", sans-serif',
2003
2022
  fontWeight: 500,
2004
2023
  fontSize: '14px',
2005
2024
  lineHeight: '18px',
@@ -2012,7 +2031,6 @@ const SecondaryButton = styled(Button$1)(({ theme }) => ({
2012
2031
  borderRadius: '8px',
2013
2032
  height: '40px',
2014
2033
  textTransform: 'none',
2015
- fontFamily: '"Montserrat", sans-serif',
2016
2034
  fontWeight: 500,
2017
2035
  fontSize: '14px',
2018
2036
  lineHeight: '18px',
@@ -2231,24 +2249,34 @@ const QuestionHeader = styled(Box)(({ theme }) => ({
2231
2249
  width: '100%',
2232
2250
  }));
2233
2251
  const QuestionTitle = styled(Typography)(({ theme }) => ({
2234
- fontFamily: '"Montserrat", sans-serif',
2235
2252
  fontWeight: 700,
2236
- fontSize: '14px',
2237
- lineHeight: '20px',
2253
+ fontSize: '18px',
2254
+ lineHeight: '24px',
2238
2255
  color: '#13131B',
2256
+ [theme.breakpoints.down('md')]: {
2257
+ fontSize: '14px',
2258
+ lineHeight: '20px',
2259
+ },
2239
2260
  }));
2240
2261
  const QuestionSubtext = styled(Typography)(({ theme }) => ({
2241
- fontFamily: '"Montserrat", sans-serif',
2242
2262
  fontWeight: 400,
2243
- fontSize: '12px',
2244
- lineHeight: '16px',
2263
+ fontSize: '16px',
2264
+ lineHeight: '20px',
2245
2265
  color: '#5F5E62',
2266
+ [theme.breakpoints.down('md')]: {
2267
+ fontSize: '12px',
2268
+ lineHeight: '14px',
2269
+ },
2246
2270
  }));
2247
2271
  const OptionsContainer$1 = styled(Box)(({ theme }) => ({
2248
2272
  display: 'flex',
2249
- flexDirection: 'column',
2273
+ flexDirection: 'row',
2274
+ flexWrap: 'wrap',
2250
2275
  gap: '8px',
2251
2276
  width: '100%',
2277
+ [theme.breakpoints.down('md')]: {
2278
+ flexDirection: 'column',
2279
+ },
2252
2280
  }));
2253
2281
 
2254
2282
  /**
@@ -2302,7 +2330,9 @@ const variantColors = {
2302
2330
  hoverBorder: '#5f5e62',
2303
2331
  },
2304
2332
  };
2305
- const StyledOptionButton = styled(ButtonBase)(({ selected, size = 'medium', fullWidth, colorVariant = 'default' }) => {
2333
+ const StyledOptionButton = styled(ButtonBase, {
2334
+ shouldForwardProp: (prop) => prop !== 'colorVariant',
2335
+ })(({ theme, selected, size = 'medium', fullWidth, colorVariant = 'default' }) => {
2306
2336
  const heights = {
2307
2337
  small: '32px',
2308
2338
  medium: '40px',
@@ -2311,6 +2341,7 @@ const StyledOptionButton = styled(ButtonBase)(({ selected, size = 'medium', full
2311
2341
  const colors = variantColors[colorVariant];
2312
2342
  return {
2313
2343
  height: heights[size],
2344
+ // On desktop: auto width (inline), on mobile: full width
2314
2345
  width: fullWidth ? '100%' : 'auto',
2315
2346
  borderRadius: '24px',
2316
2347
  border: selected
@@ -2333,6 +2364,10 @@ const StyledOptionButton = styled(ButtonBase)(({ selected, size = 'medium', full
2333
2364
  cursor: 'not-allowed',
2334
2365
  opacity: 0.6,
2335
2366
  },
2367
+ // Mobile: always full width
2368
+ [theme.breakpoints.down('md')]: {
2369
+ width: '100%',
2370
+ },
2336
2371
  };
2337
2372
  });
2338
2373
  const OptionContent = styled(Box)(() => ({
@@ -2347,14 +2382,18 @@ const OptionIcon = styled('span')(() => ({
2347
2382
  lineHeight: 1,
2348
2383
  flexShrink: 0,
2349
2384
  }));
2350
- const OptionLabel = styled(Typography)(({ selected, colorVariant = 'default' }) => {
2385
+ const OptionLabel = styled(Typography)(({ theme, selected, colorVariant = 'default' }) => {
2351
2386
  const colors = variantColors[colorVariant];
2352
2387
  return {
2353
- fontWeight: selected ? 600 : 500,
2388
+ fontWeight: selected ? 700 : 500,
2354
2389
  fontSize: '16px',
2355
- lineHeight: '20px',
2390
+ lineHeight: '24px',
2356
2391
  color: selected ? '#0090DA' : colors.unselectedText,
2357
2392
  textAlign: 'center',
2393
+ [theme.breakpoints.down('md')]: {
2394
+ lineHeight: '20px',
2395
+ fontWeight: 500,
2396
+ },
2358
2397
  };
2359
2398
  });
2360
2399
 
@@ -2381,7 +2420,7 @@ const OptionLabel = styled(Typography)(({ selected, colorVariant = 'default' })
2381
2420
  * />
2382
2421
  * ```
2383
2422
  */
2384
- function OptionButton({ value, label, icon, selected = false, disabled = false, onClick, size = 'medium', fullWidth = true, variant = 'default', formatMessage = (descriptor) => descriptor.id, }) {
2423
+ function OptionButton({ value, label, icon, selected = false, disabled = false, onClick, size = 'medium', fullWidth = false, variant = 'default', formatMessage = (descriptor) => descriptor.id, }) {
2385
2424
  const handleClick = () => {
2386
2425
  if (!disabled && onClick) {
2387
2426
  onClick(value);
@@ -2571,8 +2610,7 @@ const ToggleButton = styled(Box)(({ theme, active }) => {
2571
2610
  const ToggleText = styled(Typography)(({ theme }) => {
2572
2611
  var _a, _b, _c, _d, _e, _f;
2573
2612
  return ({
2574
- fontFamily: ((_a = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _a === void 0 ? void 0 : _a.fontFamily) ||
2575
- "'Montserrat', sans-serif",
2613
+ fontFamily: (_a = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _a === void 0 ? void 0 : _a.fontFamily,
2576
2614
  fontSize: ((_c = (_b = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _b === void 0 ? void 0 : _b.bodyMedium) === null || _c === void 0 ? void 0 : _c.fontSize) || '14px',
2577
2615
  fontWeight: ((_d = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _d === void 0 ? void 0 : _d.fontWeightSemiBold) || 600,
2578
2616
  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) || '20px',
@@ -2651,23 +2689,30 @@ const CalloutIcon = styled(InfoIcon)(({ theme }) => {
2651
2689
  const CalloutTitle = styled(Typography)(({ theme }) => {
2652
2690
  var _a, _b, _c, _d, _e, _f, _g, _h;
2653
2691
  return ({
2654
- fontFamily: ((_a = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _a === void 0 ? void 0 : _a.fontFamily) ||
2655
- "'Montserrat', sans-serif",
2656
- fontSize: ((_c = (_b = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _b === void 0 ? void 0 : _b.bodyMedium) === null || _c === void 0 ? void 0 : _c.fontSize) || '14px',
2657
- fontWeight: ((_d = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _d === void 0 ? void 0 : _d.fontWeightSemiBold) || 600,
2692
+ fontFamily: (_a = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _a === void 0 ? void 0 : _a.fontFamily,
2693
+ fontSize: ((_c = (_b = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _b === void 0 ? void 0 : _b.bodyMedium) === null || _c === void 0 ? void 0 : _c.fontSize) || '16px',
2694
+ fontWeight: ((_d = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _d === void 0 ? void 0 : _d.fontWeightSemiBold) || 700,
2658
2695
  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) || '20px',
2659
2696
  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',
2697
+ [theme.breakpoints.down('md')]: {
2698
+ fontSize: '14px',
2699
+ lineHeight: '20px',
2700
+ },
2660
2701
  });
2661
2702
  });
2662
2703
  const CalloutText = styled(Typography)(({ theme }) => {
2663
2704
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
2664
2705
  return ({
2665
2706
  fontFamily: ((_a = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _a === void 0 ? void 0 : _a.fontFamily) ||
2666
- "'Montserrat', sans-serif",
2667
- fontSize: ((_c = (_b = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _b === void 0 ? void 0 : _b.bodySmall) === null || _c === void 0 ? void 0 : _c.fontSize) || '12px',
2707
+ '',
2708
+ fontSize: ((_c = (_b = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _b === void 0 ? void 0 : _b.bodySmall) === null || _c === void 0 ? void 0 : _c.fontSize) || '14px',
2668
2709
  fontWeight: ((_e = (_d = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _d === void 0 ? void 0 : _d.bodySmall) === null || _e === void 0 ? void 0 : _e.fontWeight) || 400,
2669
2710
  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',
2670
2711
  color: ((_j = (_h = theme === null || theme === void 0 ? void 0 : theme.palette) === null || _h === void 0 ? void 0 : _h.natural) === null || _j === void 0 ? void 0 : _j.dark) || '#5f5e62',
2712
+ [theme.breakpoints.down('md')]: {
2713
+ fontSize: '12px',
2714
+ lineHeight: '14px',
2715
+ },
2671
2716
  });
2672
2717
  });
2673
2718
 
@@ -2721,7 +2766,7 @@ const InputLabel = styled(Typography)(({ theme }) => {
2721
2766
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
2722
2767
  return ({
2723
2768
  fontFamily: ((_a = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _a === void 0 ? void 0 : _a.fontFamily) ||
2724
- "'Montserrat', sans-serif",
2769
+ '',
2725
2770
  fontSize: ((_c = (_b = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _b === void 0 ? void 0 : _b.bodySmall) === null || _c === void 0 ? void 0 : _c.fontSize) || '12px',
2726
2771
  fontWeight: ((_e = (_d = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _d === void 0 ? void 0 : _d.bodySmall) === null || _e === void 0 ? void 0 : _e.fontWeight) || 400,
2727
2772
  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',
@@ -2748,7 +2793,7 @@ const InputValue = styled(Typography)(({ theme }) => {
2748
2793
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
2749
2794
  return ({
2750
2795
  fontFamily: ((_a = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _a === void 0 ? void 0 : _a.fontFamily) ||
2751
- "'Montserrat', sans-serif",
2796
+ '',
2752
2797
  fontSize: ((_c = (_b = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _b === void 0 ? void 0 : _b.bodyMedium) === null || _c === void 0 ? void 0 : _c.fontSize) || '14px',
2753
2798
  fontWeight: ((_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.fontWeight) || 400,
2754
2799
  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',
@@ -2836,7 +2881,7 @@ const RangeLabel = styled(Typography)(({ theme }) => {
2836
2881
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
2837
2882
  return ({
2838
2883
  fontFamily: ((_a = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _a === void 0 ? void 0 : _a.fontFamily) ||
2839
- "'Montserrat', sans-serif",
2884
+ '',
2840
2885
  fontSize: ((_c = (_b = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _b === void 0 ? void 0 : _b.smallText) === null || _c === void 0 ? void 0 : _c.fontSize) || '8px',
2841
2886
  fontWeight: ((_e = (_d = theme === null || theme === void 0 ? void 0 : theme.typography) === null || _d === void 0 ? void 0 : _d.smallText) === null || _e === void 0 ? void 0 : _e.fontWeight) || 500,
2842
2887
  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',
@@ -3051,7 +3096,6 @@ const ProgressFill = styled(Box)(({ width, progressBarTheme }) => ({
3051
3096
  transition: 'width 0.3s ease',
3052
3097
  }));
3053
3098
  const ProgressText = styled(Typography)({
3054
- fontFamily: 'Montserrat',
3055
3099
  fontSize: '12px',
3056
3100
  color: '#5F5E62',
3057
3101
  fontWeight: 400,
@@ -3094,14 +3138,12 @@ const ProductInfo = styled(Box)({
3094
3138
  marginLeft: '4px',
3095
3139
  });
3096
3140
  const ProductName = styled(Typography)({
3097
- fontFamily: 'Montserrat',
3098
3141
  fontSize: '14px',
3099
3142
  fontWeight: 600,
3100
3143
  color: '#13131B',
3101
3144
  lineHeight: '20px',
3102
3145
  });
3103
3146
  const PlanName = styled(Typography)({
3104
- fontFamily: 'Montserrat',
3105
3147
  fontSize: '12px',
3106
3148
  fontWeight: 400,
3107
3149
  color: '#13131B',
@@ -3113,14 +3155,12 @@ const PriceContainer = styled(Box)({
3113
3155
  gap: '2px',
3114
3156
  });
3115
3157
  const Price = styled(Typography)({
3116
- fontFamily: 'Montserrat',
3117
3158
  fontSize: '14px',
3118
3159
  fontWeight: 600,
3119
3160
  color: '#13131B',
3120
3161
  lineHeight: '20px',
3121
3162
  });
3122
3163
  const PricePeriod = styled(Typography)({
3123
- fontFamily: 'Montserrat',
3124
3164
  fontSize: '12px',
3125
3165
  fontWeight: 400,
3126
3166
  color: '#13131B',
@@ -3140,7 +3180,6 @@ const SectionHeader = styled(Box)({
3140
3180
  padding: '0 16px 24px',
3141
3181
  });
3142
3182
  const SectionTitle$2 = styled(Typography)({
3143
- fontFamily: 'Montserrat',
3144
3183
  fontSize: '20px',
3145
3184
  fontWeight: 700,
3146
3185
  color: '#13131B',
@@ -3148,7 +3187,6 @@ const SectionTitle$2 = styled(Typography)({
3148
3187
  marginBottom: '8px',
3149
3188
  });
3150
3189
  const SectionDescription = styled(Typography)({
3151
- fontFamily: 'Montserrat',
3152
3190
  fontSize: '14px',
3153
3191
  fontWeight: 400,
3154
3192
  color: '#5F5E62',
@@ -3191,7 +3229,6 @@ const StyledButton = styled('button')(({ isDisabled, desktopWidth }) => ({
3191
3229
  ? '#E1E2EB'
3192
3230
  : '#0090DA',
3193
3231
  color: isDisabled ? '#929094' : '#fff',
3194
- fontFamily: 'Montserrat',
3195
3232
  fontSize: '14px',
3196
3233
  fontWeight: 500,
3197
3234
  lineHeight: '18px',
@@ -3247,7 +3284,6 @@ styled(Box)(({ selected }) => ({
3247
3284
  },
3248
3285
  }));
3249
3286
  styled(Typography)(({ selected }) => ({
3250
- fontFamily: 'Montserrat',
3251
3287
  fontSize: '14px',
3252
3288
  fontWeight: 600,
3253
3289
  color: selected ? '#13131B' : '#5F5E62',
@@ -3295,7 +3331,7 @@ const FieldsGridContainer$2 = styled(Box)({
3295
3331
  /**
3296
3332
  * Full width field - spans both columns on desktop grid
3297
3333
  */
3298
- const FullWidthField$2 = styled(Box)({
3334
+ const FullWidthField$1 = styled(Box)({
3299
3335
  '@media (min-width: 900px)': {
3300
3336
  gridColumn: '1 / -1',
3301
3337
  },
@@ -3311,7 +3347,6 @@ const CheckboxContainer$1 = styled(Box)({
3311
3347
  },
3312
3348
  });
3313
3349
  const CheckboxLabel$1 = styled(Typography)({
3314
- fontFamily: 'Montserrat',
3315
3350
  fontSize: '14px',
3316
3351
  fontWeight: 400,
3317
3352
  color: '#5F5E62',
@@ -3332,8 +3367,7 @@ const PersonalInformationForm = ({ renderField, fields, consents, onSubmit, form
3332
3367
  ml: 2,
3333
3368
  color: '#5F5E62',
3334
3369
  fontSize: '12px',
3335
- fontFamily: 'Montserrat',
3336
- } }, { 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 ? (jsx(FullWidthField$2, { children: jsxs(CheckboxContainer$1, { children: [jsx(FormControlLabel, { control: jsx(Checkbox, { checked: consents.bank_account_confirmation.checked, onChange: (e) => consents.bank_account_confirmation.onChange(e.target.checked), name: "bank_account_confirmation" }), label: jsx(CheckboxLabel$1, { children: consents.bank_account_confirmation.label ||
3370
+ } }, { 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 ? (jsx(FullWidthField$1, { children: jsxs(CheckboxContainer$1, { children: [jsx(FormControlLabel, { control: jsx(Checkbox, { checked: consents.bank_account_confirmation.checked, onChange: (e) => consents.bank_account_confirmation.onChange(e.target.checked), name: "bank_account_confirmation" }), label: jsx(CheckboxLabel$1, { children: consents.bank_account_confirmation.label ||
3337
3371
  defaultBankConfirmationLabel }) }), consents.bank_account_confirmation.error && (jsx(Typography, Object.assign({ sx: {
3338
3372
  color: 'error.main',
3339
3373
  fontSize: '12px',
@@ -3345,7 +3379,7 @@ const PersonalInformationForm = ({ renderField, fields, consents, onSubmit, form
3345
3379
  fontSize: '12px',
3346
3380
  mt: 0.5,
3347
3381
  ml: 4,
3348
- } }, { children: consents.bank_account_confirmation.error })))] })), desktopGridLayout ? (jsx(FullWidthField$2, { children: jsx(CheckboxContainer$1, { children: jsx(FormControlLabel, { control: jsx(Checkbox, { checked: consents.marketing_consent.checked, onChange: (e) => consents.marketing_consent.onChange(e.target.checked), name: "marketing_consent" }), label: jsx(CheckboxLabel$1, { children: consents.marketing_consent.label || defaultMarketingLabel }) }) }) })) : (jsx(CheckboxContainer$1, { children: jsx(FormControlLabel, { control: jsx(Checkbox, { checked: consents.marketing_consent.checked, onChange: (e) => consents.marketing_consent.onChange(e.target.checked), name: "marketing_consent" }), label: jsx(CheckboxLabel$1, { children: consents.marketing_consent.label || defaultMarketingLabel }) }) }))] })) })));
3382
+ } }, { children: consents.bank_account_confirmation.error })))] })), desktopGridLayout ? (jsx(FullWidthField$1, { children: jsx(CheckboxContainer$1, { children: jsx(FormControlLabel, { control: jsx(Checkbox, { checked: consents.marketing_consent.checked, onChange: (e) => consents.marketing_consent.onChange(e.target.checked), name: "marketing_consent" }), label: jsx(CheckboxLabel$1, { children: consents.marketing_consent.label || defaultMarketingLabel }) }) }) })) : (jsx(CheckboxContainer$1, { children: jsx(FormControlLabel, { control: jsx(Checkbox, { checked: consents.marketing_consent.checked, onChange: (e) => consents.marketing_consent.onChange(e.target.checked), name: "marketing_consent" }), label: jsx(CheckboxLabel$1, { children: consents.marketing_consent.label || defaultMarketingLabel }) }) }))] })) })));
3349
3383
  };
3350
3384
 
3351
3385
  const FormContainer$2 = styled(Box)({
@@ -3381,7 +3415,7 @@ const FieldsGridContainer$1 = styled(Box)({
3381
3415
  /**
3382
3416
  * Full width field - spans both columns on desktop grid
3383
3417
  */
3384
- const FullWidthField$1 = styled(Box)({
3418
+ const FullWidthField = styled(Box)({
3385
3419
  '@media (min-width: 900px)': {
3386
3420
  gridColumn: '1 / -1',
3387
3421
  },
@@ -3400,14 +3434,12 @@ const CheckboxContainer = styled(Box)({
3400
3434
  },
3401
3435
  });
3402
3436
  const CheckboxLabel = styled(Typography)({
3403
- fontFamily: 'Montserrat',
3404
3437
  fontSize: '14px',
3405
3438
  fontWeight: 400,
3406
3439
  color: '#5F5E62',
3407
3440
  lineHeight: '18px',
3408
3441
  });
3409
3442
  const SectionTitle$1 = styled(Typography)({
3410
- fontFamily: 'Montserrat',
3411
3443
  fontSize: '16px',
3412
3444
  fontWeight: 600,
3413
3445
  color: '#13131B',
@@ -3420,7 +3452,7 @@ const ContactDetailsForm = ({ renderField, fields, mailingFields, mailingAddress
3420
3452
  // Helper to render field with or without full width wrapper
3421
3453
  const renderFieldWithLayout = (field, fullWidth = false) => {
3422
3454
  if (desktopGridLayout && fullWidth) {
3423
- return jsx(FullWidthField$1, { children: renderField(field) });
3455
+ return jsx(FullWidthField, { children: renderField(field) });
3424
3456
  }
3425
3457
  return renderField(field);
3426
3458
  };
@@ -3431,14 +3463,13 @@ const ContactDetailsForm = ({ renderField, fields, mailingFields, mailingAddress
3431
3463
  mt: 0.5,
3432
3464
  color: '#5F5E62',
3433
3465
  fontSize: '12px',
3434
- fontFamily: 'Montserrat',
3435
3466
  } }, { children: field.helperText })))] }));
3436
3467
  if (desktopGridLayout && fullWidth) {
3437
- return jsx(FullWidthField$1, { children: content });
3468
+ return jsx(FullWidthField, { children: content });
3438
3469
  }
3439
3470
  return content;
3440
3471
  };
3441
- return (jsx(Container, Object.assign({ ref: formRef, component: "form", onSubmit: onSubmit, sx: sx }, { children: desktopGridLayout ? (jsxs(FieldsGridContainer$1, { children: [renderFieldWithHelperText(fields.phone_number, false), renderFieldWithLayout(fields.email_address, false), jsx(FullWidthField$1, { children: jsx(Divider, { sx: { borderColor: 'rgba(0,0,0,0.1)' } }) }), jsx(FullWidthField$1, { children: jsx(SectionTitle$1, { children: "Residential address" }) }), renderFieldWithHelperText(fields.residential_address_line1, false), renderFieldWithHelperText(fields.residential_address_line2, false), renderField(fields.postal_code), renderField(fields.city), renderField(fields.state), jsx(FullWidthField$1, { children: jsx(Divider, { sx: { borderColor: 'rgba(0,0,0,0.1)' } }) }), (mailingAddressSame === null || mailingAddressSame === void 0 ? void 0 : mailingAddressSame.checked) && mailingFields && (jsxs(Fragment, { children: [jsx(FullWidthField$1, { children: jsx(SectionTitle$1, { children: "Mailing address" }) }), renderFieldWithHelperText(mailingFields.mailing_address_line1, false), renderFieldWithHelperText(mailingFields.mailing_address_line2, false), renderField(mailingFields.mailing_postal_code), renderField(mailingFields.mailing_city), renderField(mailingFields.mailing_state)] })), mailingAddressSame && (jsx(FullWidthField$1, { children: jsx(CheckboxContainer, { children: jsx(FormControlLabel, { control: jsx(Checkbox, { checked: mailingAddressSame.checked, onChange: (e) => mailingAddressSame.onChange(e.target.checked), name: "mailing_not_same_as_residential", sx: {
3472
+ return (jsx(Container, Object.assign({ ref: formRef, component: "form", onSubmit: onSubmit, sx: sx }, { children: desktopGridLayout ? (jsxs(FieldsGridContainer$1, { children: [renderFieldWithHelperText(fields.phone_number, false), renderFieldWithLayout(fields.email_address, false), jsx(FullWidthField, { children: jsx(Divider, { sx: { borderColor: 'rgba(0,0,0,0.1)' } }) }), jsx(FullWidthField, { children: jsx(SectionTitle$1, { children: "Residential address" }) }), renderFieldWithHelperText(fields.residential_address_line1, false), renderFieldWithHelperText(fields.residential_address_line2, false), renderField(fields.postal_code), renderField(fields.city), renderField(fields.state), jsx(FullWidthField, { children: jsx(Divider, { sx: { borderColor: 'rgba(0,0,0,0.1)' } }) }), (mailingAddressSame === null || mailingAddressSame === void 0 ? void 0 : mailingAddressSame.checked) && mailingFields && (jsxs(Fragment, { children: [jsx(FullWidthField, { children: jsx(SectionTitle$1, { children: "Mailing address" }) }), renderFieldWithHelperText(mailingFields.mailing_address_line1, false), renderFieldWithHelperText(mailingFields.mailing_address_line2, false), renderField(mailingFields.mailing_postal_code), renderField(mailingFields.mailing_city), renderField(mailingFields.mailing_state)] })), mailingAddressSame && (jsx(FullWidthField, { children: jsx(CheckboxContainer, { children: jsx(FormControlLabel, { control: jsx(Checkbox, { checked: mailingAddressSame.checked, onChange: (e) => mailingAddressSame.onChange(e.target.checked), name: "mailing_not_same_as_residential", sx: {
3442
3473
  color: '#929094',
3443
3474
  '&.Mui-checked': {
3444
3475
  color: '#317abc',
@@ -3449,31 +3480,26 @@ const ContactDetailsForm = ({ renderField, fields, mailingFields, mailingAddress
3449
3480
  ml: 2,
3450
3481
  color: '#5F5E62',
3451
3482
  fontSize: '12px',
3452
- fontFamily: 'Montserrat',
3453
3483
  } }, { children: fields.phone_number.helperText })))] }), renderField(fields.email_address), jsx(Divider, { sx: { borderColor: 'rgba(0,0,0,0.1)' } }), jsx(SectionTitle$1, { children: "Residential address" }), jsxs(Box, { children: [renderField(fields.residential_address_line1), fields.residential_address_line1.helperText && (jsx(Box, Object.assign({ component: "span", sx: {
3454
3484
  display: 'block',
3455
3485
  mt: 0.5,
3456
3486
  color: '#5F5E62',
3457
3487
  fontSize: '12px',
3458
- fontFamily: 'Montserrat',
3459
3488
  } }, { children: fields.residential_address_line1.helperText })))] }), jsxs(Box, { children: [renderField(fields.residential_address_line2), fields.residential_address_line2.helperText && (jsx(Box, Object.assign({ component: "span", sx: {
3460
3489
  display: 'block',
3461
3490
  mt: 0.5,
3462
3491
  color: '#5F5E62',
3463
3492
  fontSize: '12px',
3464
- fontFamily: 'Montserrat',
3465
3493
  } }, { children: fields.residential_address_line2.helperText })))] }), renderField(fields.postal_code), renderField(fields.city), renderField(fields.state), jsx(Divider, { sx: { borderColor: 'rgba(0,0,0,0.1)' } }), (mailingAddressSame === null || mailingAddressSame === void 0 ? void 0 : mailingAddressSame.checked) && mailingFields && (jsxs(Fragment, { children: [jsx(SectionTitle$1, { children: "Mailing address" }), jsxs(Box, { children: [renderField(mailingFields.mailing_address_line1), mailingFields.mailing_address_line1.helperText && (jsx(Box, Object.assign({ component: "span", sx: {
3466
3494
  display: 'block',
3467
3495
  mt: 0.5,
3468
3496
  color: '#5F5E62',
3469
3497
  fontSize: '12px',
3470
- fontFamily: 'Montserrat',
3471
3498
  } }, { children: mailingFields.mailing_address_line1.helperText })))] }), jsxs(Box, { children: [renderField(mailingFields.mailing_address_line2), mailingFields.mailing_address_line2.helperText && (jsx(Box, Object.assign({ component: "span", sx: {
3472
3499
  display: 'block',
3473
3500
  mt: 0.5,
3474
3501
  color: '#5F5E62',
3475
3502
  fontSize: '12px',
3476
- fontFamily: 'Montserrat',
3477
3503
  } }, { children: mailingFields.mailing_address_line2.helperText })))] }), renderField(mailingFields.mailing_postal_code), renderField(mailingFields.mailing_city), renderField(mailingFields.mailing_state)] })), mailingAddressSame && (jsx(CheckboxContainer, { children: jsx(FormControlLabel, { control: jsx(Checkbox, { checked: mailingAddressSame.checked, onChange: (e) => mailingAddressSame.onChange(e.target.checked), name: "mailing_not_same_as_residential", sx: {
3478
3504
  color: '#929094',
3479
3505
  '&.Mui-checked': {
@@ -3548,7 +3574,7 @@ const FieldsGridContainer = styled(Box)({
3548
3574
  /**
3549
3575
  * Full width field - spans both columns on desktop grid
3550
3576
  */
3551
- const FullWidthField = styled(Box)({
3577
+ styled(Box)({
3552
3578
  '@media (min-width: 900px)': {
3553
3579
  gridColumn: '1 / -1',
3554
3580
  },
@@ -3558,14 +3584,13 @@ const ChildInformationForm = ({ renderField, fields, onSubmit, formRef, sx, desk
3558
3584
  const Container = desktopGridLayout ? DesktopFormContainer : FormContainer;
3559
3585
  // Desktop layout with 2-column grid
3560
3586
  if (desktopGridLayout) {
3561
- return (jsx(Container, Object.assign({ ref: formRef, component: "form", onSubmit: onSubmit, sx: sx }, { children: jsxs(FieldsGridContainer, { children: [jsxs(FullWidthField, { children: [renderField(fields.full_name), fields.full_name.helperText && (jsx(Box, Object.assign({ component: "span", sx: {
3587
+ return (jsx(Container, Object.assign({ ref: formRef, component: "form", onSubmit: onSubmit, sx: sx }, { children: jsxs(FieldsGridContainer, { children: [jsxs(Box, { children: [renderField(fields.full_name), fields.full_name.helperText && (jsx(Box, Object.assign({ component: "span", sx: {
3562
3588
  display: 'block',
3563
3589
  mt: 0.5,
3564
3590
  ml: 2,
3565
3591
  color: '#5F5E62',
3566
3592
  fontSize: '12px',
3567
- fontFamily: 'Montserrat',
3568
- } }, { children: fields.full_name.helperText })))] }), fields.nric && (jsx(FullWidthField, { children: renderField(fields.nric) })), renderField(fields.date_of_birth), renderField(fields.gender), renderField(fields.nationality)] }) })));
3593
+ } }, { 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)] }) })));
3569
3594
  }
3570
3595
  // Mobile layout - single column
3571
3596
  return (jsx(Container, Object.assign({ ref: formRef, component: "form", onSubmit: onSubmit, sx: sx }, { children: jsxs(Box, Object.assign({ sx: { display: 'flex', flexDirection: 'column', gap: '24px' } }, { children: [jsxs(Box, { children: [renderField(fields.full_name), fields.full_name.helperText && (jsx(Box, Object.assign({ component: "span", sx: {
@@ -3574,7 +3599,6 @@ const ChildInformationForm = ({ renderField, fields, onSubmit, formRef, sx, desk
3574
3599
  ml: 2,
3575
3600
  color: '#5F5E62',
3576
3601
  fontSize: '12px',
3577
- fontFamily: 'Montserrat',
3578
3602
  } }, { children: fields.full_name.helperText })))] }), fields.nric && renderField(fields.nric), renderField(fields.date_of_birth), renderField(fields.gender), renderField(fields.nationality)] })) })));
3579
3603
  };
3580
3604