diy-template-components 0.2.63 → 0.2.64

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/build/index.es.js CHANGED
@@ -1690,9 +1690,9 @@ function Footer({
1690
1690
  isCustomWebsite
1691
1691
  });
1692
1692
  return /*#__PURE__*/React.createElement("footer", {
1693
- className: data?.metadata?.isCpBranding ? `${classes.section}` : `${classes.section} ${classes.sectionNoBranding}`
1693
+ className: data.metadata.isCpBranding ? `${classes.section}` : `${classes.section} ${classes.sectionNoBranding}`
1694
1694
  }, /*#__PURE__*/React.createElement("div", {
1695
- className: data?.metadata?.isCpBranding ? `${classes.upperContainer}` : `${classes.upperContainer} ${classes.upperContainerNoBranding}`
1695
+ className: data.metadata.isCpBranding ? `${classes.upperContainer}` : `${classes.upperContainer} ${classes.upperContainerNoBranding}`
1696
1696
  }, /*#__PURE__*/React.createElement("div", {
1697
1697
  className: classes.upperContainerItem1
1698
1698
  }, /*#__PURE__*/React.createElement("div", {
@@ -1802,7 +1802,7 @@ function Footer({
1802
1802
  color: theme.palette.background.default,
1803
1803
  width: '16px',
1804
1804
  height: '16px'
1805
- })) : null)), data?.metadata?.isCpBranding ? /*#__PURE__*/React.createElement("div", {
1805
+ })) : null)), data.metadata.isCpBranding ? /*#__PURE__*/React.createElement("div", {
1806
1806
  className: classes.lowerContainer
1807
1807
  }, /*#__PURE__*/React.createElement("div", {
1808
1808
  className: classes.bottomLeftText
@@ -1889,8 +1889,7 @@ const generateThemePalette = themeColors => ({
1889
1889
  primary: colors.lightGrey,
1890
1890
  secondary: colors.grey,
1891
1891
  tertiary: colors.blueGrey
1892
- },
1893
- fontColor: themeColors.colorCode
1892
+ }
1894
1893
  });
1895
1894
  const bluePalette = generateThemePalette(blueTheme);
1896
1895
  const redPalette = generateThemePalette(redTheme);
@@ -2903,23 +2902,34 @@ const useSectionStyles$6 = createUseStyles(theme => ({
2903
2902
  padding: '0px'
2904
2903
  },
2905
2904
  textContainer: {
2906
- padding: '0px 20px',
2907
- height: '100%'
2905
+ padding: '20px 20px',
2906
+ height: '100%',
2907
+ width: '100%',
2908
+ backgroundColor: theme?.palette?.background?.primary
2909
+ },
2910
+ subTitleHeading: {
2911
+ color: theme?.palette?.font?.tertiary
2908
2912
  },
2909
2913
  heading: {
2910
- fontSize: '40px'
2914
+ fontSize: '40px',
2915
+ color: theme?.palette?.font?.default
2911
2916
  },
2912
2917
  description: {
2913
- margin: '16px 0'
2918
+ margin: '16px 0',
2919
+ color: theme?.palette?.font?.primary
2914
2920
  },
2915
2921
  centerBgImageContainer: {
2916
2922
  width: ({
2917
2923
  isCustomWebsite
2918
2924
  }) => isCustomWebsite ? '100%' : 'unset',
2919
- position: 'relative',
2920
- height: '34rem',
2925
+ // position: 'relative',
2926
+ // height: '34rem',
2927
+ minHeight: '200px',
2921
2928
  paddingBottom: '0'
2922
2929
  },
2930
+ sectionContainer: {
2931
+ position: 'unset'
2932
+ },
2923
2933
  centerBgImage: {
2924
2934
  objectFit: 'cover',
2925
2935
  width: '100%',
@@ -5092,7 +5102,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5092
5102
  lineHeight: '24px',
5093
5103
  maxHeight: ({
5094
5104
  isSelected
5095
- } = {}) => isSelected ? '100px' : '0',
5105
+ } = {}) => isSelected ? 'unset' : '0',
5096
5106
  transition: 'all 0.7s',
5097
5107
  overflow: 'hidden'
5098
5108
  },