diy-template-components 2.0.37 → 2.0.39

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
@@ -6527,14 +6527,16 @@ const useTeamStyles = createUseStyles(theme => {
6527
6527
  margin: '0 -20px'
6528
6528
  },
6529
6529
  contentRow: {
6530
- display: 'grid',
6531
- gridTemplateColumns: ({
6532
- slidesToShow
6533
- } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
6530
+ display: 'flex',
6531
+ justifyContent: 'center',
6532
+ gap: '20px'
6533
+ // gridTemplateColumns: ({ slidesToShow } = {}) =>
6534
+ // `repeat(${slidesToShow},minmax(0, 1fr))`
6534
6535
  },
6536
+
6535
6537
  singleSlideContainer: {
6536
6538
  backgroundColor: theme?.palette?.background?.default,
6537
- margin: '20px',
6539
+ margin: '20px 0',
6538
6540
  width: 'calc(100% - 24px)',
6539
6541
  borderRadius: theme?.shape?.borderRadius?.large,
6540
6542
  boxShadow: theme?.shadows?.primary,
@@ -6683,7 +6685,13 @@ const SingleSlide = ({
6683
6685
  dangerouslySetInnerHTML: {
6684
6686
  __html: data.teamSlideTitle.metadata.value
6685
6687
  }
6686
- }), /*#__PURE__*/React.createElement("div", {
6688
+ }), data?.teamSlideSubTitle?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
6689
+ ref: data?.teamSlideSubTitle?.refSetter,
6690
+ className: classes.teamDetailsSubHeading,
6691
+ dangerouslySetInnerHTML: {
6692
+ __html: data.teamSlideSubTitle.metadata.value
6693
+ }
6694
+ }) : null, data?.teamSlideYearOfExperience?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
6687
6695
  className: classes.subHeadingWrapper
6688
6696
  }, /*#__PURE__*/React.createElement("img", {
6689
6697
  src: RankIcon
@@ -6693,7 +6701,7 @@ const SingleSlide = ({
6693
6701
  dangerouslySetInnerHTML: {
6694
6702
  __html: data.teamSlideYearOfExperience.metadata.value
6695
6703
  }
6696
- })), /*#__PURE__*/React.createElement("div", {
6704
+ })) : null, data?.teamSlideSpecialisation?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
6697
6705
  className: classes.subHeadingWrapper
6698
6706
  }, /*#__PURE__*/React.createElement("img", {
6699
6707
  src: Book
@@ -6703,7 +6711,7 @@ const SingleSlide = ({
6703
6711
  dangerouslySetInnerHTML: {
6704
6712
  __html: data.teamSlideSpecialisation.metadata.value
6705
6713
  }
6706
- })), /*#__PURE__*/React.createElement("div", {
6714
+ })) : null, data?.teamSlideQualification?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
6707
6715
  className: classes.subHeadingWrapper
6708
6716
  }, /*#__PURE__*/React.createElement("img", {
6709
6717
  src: Teacher
@@ -6713,7 +6721,7 @@ const SingleSlide = ({
6713
6721
  dangerouslySetInnerHTML: {
6714
6722
  __html: data.teamSlideQualification.metadata.value
6715
6723
  }
6716
- }))));
6724
+ })) : null));
6717
6725
  };
6718
6726
 
6719
6727
  function TeamCard({
@@ -9694,19 +9702,22 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9694
9702
  alignSelf: 'center',
9695
9703
  color: 'var(--Black, #0A1629)',
9696
9704
  fontSize: '24px',
9697
- fontWeight: '400'
9705
+ fontWeight: '400',
9706
+ fontFamily: theme?.typography?.fontFamily
9698
9707
  },
9699
9708
  metaChild: {
9700
9709
  fontSize: '16px',
9701
9710
  fontStyle: 'normal',
9702
- fontWeight: '400'
9711
+ fontWeight: '400',
9712
+ fontFamily: theme?.typography?.fontFamily
9703
9713
  },
9704
9714
  aboutInstWrapper: {
9705
9715
  padding: '64px 128px',
9706
9716
  display: 'flex',
9707
9717
  justifyContent: 'center',
9708
9718
  flexDirection: 'column',
9709
- background: '#FFF'
9719
+ background: '#FFF',
9720
+ fontFamily: theme?.typography?.fontFamily
9710
9721
  },
9711
9722
  abtoutInstText: {
9712
9723
  color: theme?.palette?.font?.secondary,
@@ -9769,7 +9780,8 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9769
9780
  // gap: '24px'
9770
9781
  display: 'flex',
9771
9782
  gap: '24px',
9772
- flex: 1
9783
+ flex: 1,
9784
+ lineHeight: 'normal'
9773
9785
  },
9774
9786
  card: {
9775
9787
  padding: '24px',
@@ -9787,7 +9799,8 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9787
9799
  infoDetails: {
9788
9800
  display: 'flex',
9789
9801
  flexDirection: 'Column',
9790
- gap: '4px'
9802
+ gap: '4px',
9803
+ lineHeight: 'normal'
9791
9804
  },
9792
9805
  infoContent: {
9793
9806
  display: 'flex',
@@ -9846,7 +9859,8 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9846
9859
  },
9847
9860
  cardWrapper: {
9848
9861
  flexDirection: 'column',
9849
- gap: '8px'
9862
+ gap: '8px',
9863
+ lineHeight: 'normal'
9850
9864
  },
9851
9865
  aboutInstWrapper: {
9852
9866
  padding: '16px'
@@ -9864,7 +9878,8 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9864
9878
  padding: '16px'
9865
9879
  },
9866
9880
  infoDetails: {
9867
- gap: '8px'
9881
+ gap: '8px',
9882
+ lineHeight: 'normal'
9868
9883
  },
9869
9884
  metaInfo: {
9870
9885
  gap: '8px'