diy-template-components 1.0.40 → 1.0.42

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.js CHANGED
@@ -2055,18 +2055,18 @@ const fontSize = {
2055
2055
  h4: 32,
2056
2056
  h5: 24,
2057
2057
  h6: 20,
2058
- subHead: 20,
2058
+ subHead: 24,
2059
2059
  description: 20,
2060
2060
  body: 16
2061
2061
  };
2062
2062
  const fontSizeMob = {
2063
2063
  h1: 40,
2064
- h2: 20,
2065
- h3: 32,
2064
+ h2: 24,
2065
+ h3: 20,
2066
2066
  h4: 16,
2067
2067
  h5: 16,
2068
2068
  h6: 14,
2069
- subHead: 16,
2069
+ subHead: 14,
2070
2070
  description: 16,
2071
2071
  body: 14
2072
2072
  };
@@ -2372,6 +2372,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2372
2372
  subTitleHeading: {
2373
2373
  marginBottom: '8px',
2374
2374
  fontSize: theme.typography.fontSize.subHead,
2375
+ letterSpacing: '3px',
2375
2376
  color: theme?.palette?.font?.default,
2376
2377
  wordBreak: 'break-word',
2377
2378
  maxWidth: '100%'
@@ -3012,21 +3013,13 @@ const useSectionStyles$6 = createUseStyles(theme => {
3012
3013
  return {
3013
3014
  bannerCarouselCenterSection: {
3014
3015
  width: '100%',
3015
- // height: '100%',
3016
3016
  textAlign: 'center',
3017
3017
  position: 'relative',
3018
3018
  '&, & *, & *:before, & *:after': {
3019
3019
  fontFamily: theme?.typography?.fontFamily,
3020
3020
  boxSizing: 'border-box'
3021
3021
  }
3022
- // '& h2,& h3': {
3023
- // fontWeight: '500',
3024
- // '& b,& strong': {
3025
- // fontWeight: '700'
3026
- // }
3027
- // }
3028
3022
  },
3029
-
3030
3023
  sectionContainer: {
3031
3024
  width: '100%',
3032
3025
  // maxWidth: ({ containerWidth } = {}) => containerWidth,
@@ -3046,20 +3039,9 @@ const useSectionStyles$6 = createUseStyles(theme => {
3046
3039
  margin: `${theme.spacing.margin.tiny}px 0px`
3047
3040
  },
3048
3041
  contentContainer: {
3049
- // padding: '100px 0',
3050
- // height: '100%',
3051
- // display: 'flex',
3052
- // alignItems: 'center'
3053
- // height: '100%',
3054
3042
  display: 'flex',
3055
- /* padding: 100px 0; */
3056
3043
  alignItems: 'center'
3057
- // backgroundImage: ({ imageUrl } = {}) =>
3058
- // `linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%), url("${imageUrl}")`,
3059
- // backgroundPosition: 'center',
3060
- // backgroundSize: 'cover'
3061
3044
  },
3062
-
3063
3045
  centerBgImageContainer: {
3064
3046
  width: '100%',
3065
3047
  position: 'relative',
@@ -3126,6 +3108,9 @@ const useSectionStyles$6 = createUseStyles(theme => {
3126
3108
  backgroundColor: "rgba(0, 0, 0, 0.5)"
3127
3109
  },
3128
3110
  '@media screen and (max-width: 767px)': {
3111
+ heading: {
3112
+ fontSize: theme.typography.fontSize.h2
3113
+ },
3129
3114
  partialBackground: {
3130
3115
  display: 'none'
3131
3116
  },
@@ -3150,7 +3135,7 @@ const useSectionStyles$6 = createUseStyles(theme => {
3150
3135
  isCustomWebsite
3151
3136
  }) => isCustomWebsite ? '100%' : 'unset',
3152
3137
  position: 'relative',
3153
- height: '34rem',
3138
+ height: '40rem',
3154
3139
  minHeight: '200px',
3155
3140
  paddingBottom: '0'
3156
3141
  },
@@ -3179,7 +3164,6 @@ const Section$3 = ({
3179
3164
  countryCode
3180
3165
  } = React.useContext(PageContext);
3181
3166
  const hasContent = Boolean(nodeData.cardHeading.metadata.value || nodeData.title.metadata.value || nodeData.description.metadata.value);
3182
- console.log(hasContent, 'lindwlinadilwan');
3183
3167
  const classes = useSectionStyles$6({
3184
3168
  wordBreakValue: wordBreakValue(countryCode),
3185
3169
  imageUrl: nodeData.image.metadata.value,
@@ -3334,6 +3318,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3334
3318
  subTitleHeading: {
3335
3319
  marginBottom: '8px',
3336
3320
  fontSize: theme?.typography?.fontSize?.subHead,
3321
+ letterSpacing: '3px',
3337
3322
  color: theme?.palette?.font?.default,
3338
3323
  wordBreak: 'break-word'
3339
3324
  },
@@ -3388,7 +3373,11 @@ const useSectionStyles$5 = createUseStyles(theme => {
3388
3373
  textAlign: 'center'
3389
3374
  },
3390
3375
  heading: {
3391
- fontSize: `${theme?.typography?.fontSize?.h3}px`
3376
+ fontSize: `${theme?.typography?.fontSize?.h2}px`
3377
+ },
3378
+ subTitleHeading: {
3379
+ letterSpacing: '3px',
3380
+ lineHeight: '17px'
3392
3381
  },
3393
3382
  description: {
3394
3383
  margin: '16px 0'
@@ -5239,14 +5228,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5239
5228
  textOverflow: 'ellipsis'
5240
5229
  },
5241
5230
  '@media (max-width: 768px)': {
5242
- // container: {
5243
- // padding: '60px 20px'
5244
- // },
5245
-
5246
- // cardHeading: {
5247
- // marginLeft: '3px'
5248
- // },
5249
-
5250
5231
  title: {
5251
5232
  lineHeight: '36px',
5252
5233
  letterSpacing: '-1px',
@@ -5256,10 +5237,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5256
5237
  whiteSpace: 'nowrap',
5257
5238
  textOverflow: 'ellipsis'
5258
5239
  }
5259
-
5260
- // sliderContainer: {
5261
- // marginRight: '-20px'
5262
- // }
5263
5240
  }
5264
5241
  };
5265
5242
  });
@@ -6254,7 +6231,7 @@ const useTeamStyles = createUseStyles(theme => {
6254
6231
  letterSpacing: '3px',
6255
6232
  marginBottom: '8px',
6256
6233
  color: theme?.palette?.font?.default,
6257
- wordBreak: 'break-word',
6234
+ // wordBreak: 'break-word',
6258
6235
  position: 'relative'
6259
6236
  },
6260
6237
  partialBackground: {
@@ -6286,13 +6263,13 @@ const useTeamStyles = createUseStyles(theme => {
6286
6263
  singleSlideContainer: {
6287
6264
  backgroundColor: theme?.palette?.background?.default,
6288
6265
  margin: '20px',
6289
- width: 'calc(100% - 32px)',
6266
+ width: 'calc(100% - 24px)',
6290
6267
  // height: 'calc(100% - 40px)',
6291
6268
  border: '3px solid #D8E0F0',
6292
6269
  borderRadius: theme?.shape?.borderRadius?.regular,
6293
6270
  padding: theme.spacing.padding.tiny,
6294
6271
  boxShadow: theme?.shadows?.primary,
6295
- minHeight: '390px'
6272
+ minHeight: '320px'
6296
6273
  },
6297
6274
  imageContainer: {
6298
6275
  minWidth: '100%',
@@ -6312,18 +6289,19 @@ const useTeamStyles = createUseStyles(theme => {
6312
6289
  },
6313
6290
  teamDetailsContainer: {
6314
6291
  textAlign: 'center',
6315
- margin: '20px 0 0',
6316
- overflowWrap: 'break-word'
6292
+ margin: '20px 0 0'
6293
+ // overflowWrap: 'break-word'
6317
6294
  },
6295
+
6318
6296
  teamDetailsHeading: {
6319
- fontSize: theme.typography.fontSize.h5,
6297
+ fontSize: theme.typography.fontSize.h6,
6320
6298
  fontWeight: theme.typography.fontWeight.bold,
6321
- lineHeight: '32px',
6299
+ lineHeight: '24px',
6322
6300
  margin: '0',
6323
6301
  color: theme?.palette?.font?.default
6324
6302
  },
6325
6303
  teamDetailsSubHeading: {
6326
- fontSize: theme.typography.fontSize.subHead,
6304
+ fontSize: theme.typography.fontSize.body,
6327
6305
  lineHeight: '24px',
6328
6306
  margin: '12px 0 0',
6329
6307
  color: theme?.palette?.font?.primary
@@ -6333,9 +6311,13 @@ const useTeamStyles = createUseStyles(theme => {
6333
6311
  // padding: '60px 20px'
6334
6312
  // },
6335
6313
  teamHeading: {
6336
- lineHeight: '20px'
6314
+ lineHeight: '20px',
6315
+ margin: 0,
6316
+ textAlign: 'center'
6337
6317
  },
6338
6318
  teamTitle: {
6319
+ textAlign: 'center',
6320
+ fontSize: theme.typography.fontSize.h3,
6339
6321
  lineHeight: '36px',
6340
6322
  letterSpacing: '-1px'
6341
6323
  },
@@ -9519,8 +9501,6 @@ const inverseComponentParser = compObj => {
9519
9501
  }
9520
9502
  };
9521
9503
 
9522
- ___$insertStyle("@import url(\"https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&display=swap\");\n* {\n font-family: \"Sora\" !important;\n}");
9523
-
9524
9504
  exports.Icon = Icon;
9525
9505
  exports.PageRenderer = PageRenderer$1;
9526
9506
  exports.PageRendererStatic = PageRenderer;