diy-template-components 2.0.102 → 2.0.103

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
@@ -1546,6 +1546,7 @@ function DesktopHeader({
1546
1546
  value: 'BUY NOW'
1547
1547
  // isExternal: 1
1548
1548
  },
1549
+
1549
1550
  onClick: extraProps?.courseBuyNow,
1550
1551
  type: 'primary',
1551
1552
  size: 'small',
@@ -1561,6 +1562,7 @@ function DesktopHeader({
1561
1562
  value: 'BUY NOW'
1562
1563
  // isExternal: 1
1563
1564
  },
1565
+
1564
1566
  onClick: extraProps?.courseBuyNow,
1565
1567
  type: 'primary',
1566
1568
  size: 'medium',
@@ -1570,6 +1572,7 @@ function DesktopHeader({
1570
1572
  // styling={isMobile ? { margin: '0 40px' } : {}}
1571
1573
  });
1572
1574
  };
1575
+
1573
1576
  return /*#__PURE__*/React__default["default"].createElement("nav", {
1574
1577
  className: classes.section
1575
1578
  }, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React__default["default"].createElement("div", {
@@ -1778,6 +1781,7 @@ function MobileHeader({
1778
1781
  value: 'BUY NOW'
1779
1782
  // isExternal: 1
1780
1783
  },
1784
+
1781
1785
  onClick: extraProps?.courseBuyNow,
1782
1786
  type: 'primary',
1783
1787
  size: 'medium',
@@ -1787,6 +1791,7 @@ function MobileHeader({
1787
1791
  // styling={isMobile ? { margin: '0 40px' } : {}}
1788
1792
  }))));
1789
1793
  };
1794
+
1790
1795
  if (isTutorWebsite) {
1791
1796
  if (isAndroidDelisted && apkURL) {
1792
1797
  downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
@@ -1979,6 +1984,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1979
1984
 
1980
1985
  // '& img': { maxHeight: '55px' }
1981
1986
  },
1987
+
1982
1988
  upperContainerItem1Img: {
1983
1989
  maxHeight: '55px',
1984
1990
  paddingBottom: '84px',
@@ -2425,6 +2431,7 @@ const mobilePadding = {
2425
2431
  // 24px
2426
2432
  medium: baseFactor * 6 // 48px
2427
2433
  };
2434
+
2428
2435
  const padding = {
2429
2436
  minute: baseFactor * 2,
2430
2437
  // 16px
@@ -2894,6 +2901,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2894
2901
  // }
2895
2902
  // }
2896
2903
  },
2904
+
2897
2905
  sectionContainer: {
2898
2906
  margin: '0 auto',
2899
2907
  maxWidth: ({
@@ -2996,9 +3004,9 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2996
3004
  imageContainer: {
2997
3005
  height: 'undefined',
2998
3006
  width: '100%',
2999
- paddingBottom: ({
3000
- isCustomWebsite
3001
- }) => isCustomWebsite ? '100%' : 'unset'
3007
+ // paddingBottom: ({ isCustomWebsite }) =>
3008
+ // isCustomWebsite ? '100%' : 'unset'
3009
+ aspectRatio: "4/3"
3002
3010
  }
3003
3011
  }
3004
3012
  }));
@@ -3475,6 +3483,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
3475
3483
  // padding: '0'
3476
3484
  }
3477
3485
  },
3486
+
3478
3487
  '&:nth-child(2n+1)': {
3479
3488
  marginRight: '0',
3480
3489
  '& $contentText': {
@@ -3484,6 +3493,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
3484
3493
  }
3485
3494
  }
3486
3495
  },
3496
+
3487
3497
  contentNumber: {
3488
3498
  width: '100%',
3489
3499
  padding: '24px',
@@ -3890,6 +3900,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3890
3900
  // }
3891
3901
  // }
3892
3902
  },
3903
+
3893
3904
  sectionContainer: {
3894
3905
  margin: '0 auto',
3895
3906
  maxWidth: ({
@@ -3903,6 +3914,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3903
3914
 
3904
3915
  // padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
3905
3916
  },
3917
+
3906
3918
  imageContainerDiv: {
3907
3919
  width: '50%',
3908
3920
  position: 'relative'
@@ -3974,6 +3986,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3974
3986
  width: '100%'
3975
3987
  // padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
3976
3988
  },
3989
+
3977
3990
  imageContainer: {
3978
3991
  height: 'unset !important',
3979
3992
  '& img': {
@@ -4992,6 +5005,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4992
5005
  fontFamily: theme?.typography?.fontFamily
4993
5006
  // boxSizing: 'border-box'
4994
5007
  },
5008
+
4995
5009
  '& h2,& h3,& p': {
4996
5010
  marginTop: '0'
4997
5011
  }
@@ -5016,6 +5030,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
5016
5030
  wordBreak: 'break-word'
5017
5031
  // marginBottom: '8px'
5018
5032
  },
5033
+
5019
5034
  videoTestimonialTitle: {
5020
5035
  fontSize: theme.typography.fontSize.h2,
5021
5036
  // lineHeight: '71px',
@@ -5456,6 +5471,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
5456
5471
  // }
5457
5472
  // }
5458
5473
  },
5474
+
5459
5475
  sectionContainer: {
5460
5476
  margin: '0 auto',
5461
5477
  maxWidth: ({
@@ -5813,6 +5829,7 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5813
5829
  // }
5814
5830
  // }
5815
5831
  },
5832
+
5816
5833
  sectionContainer: {
5817
5834
  margin: '0 auto',
5818
5835
  maxWidth: ({
@@ -5843,6 +5860,7 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5843
5860
  position: 'relative',
5844
5861
  paddingBottom: '59.83%' // keeping aspect ratio 585x350
5845
5862
  },
5863
+
5846
5864
  contentRow: {
5847
5865
  display: 'grid',
5848
5866
  gridTemplateColumns: ({
@@ -6389,6 +6407,7 @@ const useCourseStyles = createUseStyles(theme => {
6389
6407
  // }
6390
6408
  // }
6391
6409
  },
6410
+
6392
6411
  sectionContainer: {
6393
6412
  margin: '0 auto',
6394
6413
  maxWidth: ({
@@ -6421,6 +6440,7 @@ const useCourseStyles = createUseStyles(theme => {
6421
6440
  // textAlign: 'center',
6422
6441
  // wordBreak: 'break-word'
6423
6442
  },
6443
+
6424
6444
  slickContainer: {
6425
6445
  marginRight: '-20px'
6426
6446
  },
@@ -6468,6 +6488,7 @@ const useCourseStyles = createUseStyles(theme => {
6468
6488
  justifyContent: 'space-between'
6469
6489
  //alignItems: 'center',
6470
6490
  },
6491
+
6471
6492
  courseCardTags: {
6472
6493
  display: 'flex',
6473
6494
  justifyContent: 'flex-start',
@@ -6498,6 +6519,7 @@ const useCourseStyles = createUseStyles(theme => {
6498
6519
  // whiteSpace: 'nowrap',
6499
6520
  // textOverflow: 'ellipsis'
6500
6521
  },
6522
+
6501
6523
  courseCardDiscount: {
6502
6524
  display: 'flex',
6503
6525
  justifyContent: 'flex-start',
@@ -6604,6 +6626,7 @@ const useCourseStyles = createUseStyles(theme => {
6604
6626
  // whiteSpace: 'nowrap',
6605
6627
  // textOverflow: 'ellipsis'
6606
6628
  },
6629
+
6607
6630
  singleCard: {
6608
6631
  margin: '6px 2px'
6609
6632
  // width: 'calc(100% - 12px)'
@@ -6951,6 +6974,7 @@ const useTeamStyles = createUseStyles(theme => {
6951
6974
  // gridTemplateColumns: ({ slidesToShow } = {}) =>
6952
6975
  // `repeat(${slidesToShow},minmax(0, 1fr))`
6953
6976
  },
6977
+
6954
6978
  singleSlideContainer: {
6955
6979
  backgroundColor: theme?.palette?.background?.default,
6956
6980
  margin: '20px 0',
@@ -6976,6 +7000,7 @@ const useTeamStyles = createUseStyles(theme => {
6976
7000
  padding: '24px'
6977
7001
  // overflowWrap: 'break-word'
6978
7002
  },
7003
+
6979
7004
  teamDetailsHeading: {
6980
7005
  fontSize: theme.typography.fontSize.h6,
6981
7006
  fontWeight: theme.typography.fontWeight.bold,
@@ -7238,6 +7263,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
7238
7263
  // }
7239
7264
  // }
7240
7265
  },
7266
+
7241
7267
  formContainer: {
7242
7268
  margin: '0 auto',
7243
7269
  maxWidth: ({
@@ -7274,12 +7300,14 @@ const useSectionStyles$1 = createUseStyles(theme => ({
7274
7300
  display: 'flex'
7275
7301
  // alignItems: 'flex-start',
7276
7302
  },
7303
+
7277
7304
  leftContainerForm: {
7278
7305
  width: '65%',
7279
7306
  display: 'flex',
7280
7307
  flexDirection: 'column'
7281
7308
  // justifyContent: 'space-between'
7282
7309
  },
7310
+
7283
7311
  subtitle: {
7284
7312
  // margin: '0 0 40px 0',
7285
7313
  fontSize: theme.typography.fontSize.h5,
@@ -7347,6 +7375,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
7347
7375
  width: '100%'
7348
7376
  // padding: '0 16ox'
7349
7377
  },
7378
+
7350
7379
  rightContainer: {
7351
7380
  width: '100%',
7352
7381
  padding: '0'
@@ -7659,6 +7688,7 @@ const useSectionStyles = createUseStyles(theme => ({
7659
7688
  // }
7660
7689
  // }
7661
7690
  },
7691
+
7662
7692
  contactContainer: {
7663
7693
  width: '100%',
7664
7694
  margin: '0 auto',
@@ -7697,6 +7727,7 @@ const useSectionStyles = createUseStyles(theme => ({
7697
7727
  // justifyContent: 'space-between',
7698
7728
  // flex: 1
7699
7729
  },
7730
+
7700
7731
  subtitle: {
7701
7732
  // margin: '0 0 auto 0',
7702
7733
  fontSize: theme.typography.fontSize.h6,
@@ -8141,6 +8172,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
8141
8172
  marginTop: '5%'
8142
8173
  // padding: '0px 5% 0px 5%'
8143
8174
  },
8175
+
8144
8176
  iframe: {
8145
8177
  position: 'absolute',
8146
8178
  width: '100%',
@@ -8488,6 +8520,7 @@ const SingleVideoSlide$1 = props => {
8488
8520
  value: data.isPaid ? buyNowText : registerNowText
8489
8521
  // isExternal: 1
8490
8522
  },
8523
+
8491
8524
  onClick: webinarCtaClick,
8492
8525
  type: 'primary',
8493
8526
  size: 'medium',
@@ -8556,6 +8589,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8556
8589
  // }
8557
8590
  // }
8558
8591
  },
8592
+
8559
8593
  sectionContainer: {
8560
8594
  margin: '0 auto',
8561
8595
  maxWidth: ({
@@ -8673,6 +8707,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8673
8707
  // paddingBottom: '10px',
8674
8708
  // paddingTop: '10px'
8675
8709
  },
8710
+
8676
8711
  bannerContainer: {
8677
8712
  width: '100%',
8678
8713
  background: theme?.colors?.bannerColor,
@@ -8687,6 +8722,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8687
8722
  clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
8688
8723
  // marginBottom: '16px'
8689
8724
  },
8725
+
8690
8726
  bannerContainerText: {
8691
8727
  transform: 'rotate(180deg)'
8692
8728
  },
@@ -8799,6 +8835,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8799
8835
  height: 'max-content'
8800
8836
  // paddingRight: '10px'
8801
8837
  },
8838
+
8802
8839
  videoDetails: {
8803
8840
  width: '100%'
8804
8841
  },
@@ -9057,6 +9094,7 @@ const SingleVideoSlide = props => {
9057
9094
  value: buyNowText
9058
9095
  // isExternal: 1
9059
9096
  },
9097
+
9060
9098
  onClick: courseBuyNow,
9061
9099
  type: 'primary',
9062
9100
  size: 'medium',
@@ -9161,6 +9199,7 @@ const useFormPageStyles = createUseStyles(theme => ({
9161
9199
  // border: '1px solid #D8E0F0',
9162
9200
  // borderRadius: '16px'
9163
9201
  },
9202
+
9164
9203
  inputFieldLabel: {
9165
9204
  color: theme?.colors?.lightblack,
9166
9205
  fontSize: theme.typography.fontSize.body,
@@ -9473,6 +9512,7 @@ const FormPage = ({
9473
9512
  value: countryCode === 'KR' ? '제출하기' : 'SUBMIT'
9474
9513
  // isExternal: 1
9475
9514
  },
9515
+
9476
9516
  type: 'primary',
9477
9517
  size: 'medium',
9478
9518
  target: null,
@@ -9655,6 +9695,7 @@ const useEmailStyles = createUseStyles(theme => ({
9655
9695
  height: '48px'
9656
9696
  /* margin: 18px 0px; */
9657
9697
  },
9698
+
9658
9699
  'p-young-guru-title': {
9659
9700
  fontFamily: theme?.typography?.fontFamily,
9660
9701
  fontStyle: 'normal',
@@ -9682,6 +9723,7 @@ const useEmailStyles = createUseStyles(theme => ({
9682
9723
  textAlign: 'center'
9683
9724
  /* padding:35px 0 40px */
9684
9725
  },
9726
+
9685
9727
  'two-columns .column': {
9686
9728
  width: '100%',
9687
9729
  maxWidth: '275px',
@@ -10151,6 +10193,7 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
10151
10193
  // borderRadius: '16px',
10152
10194
  // border: '1px solid var(--stroke, #D8E0F0)',
10153
10195
  },
10196
+
10154
10197
  image: {
10155
10198
  width: '100%',
10156
10199
  height: '100%',
@@ -10629,6 +10672,7 @@ const TimerAndCall = ({
10629
10672
  value: nodeData.timerButton.metadata.value
10630
10673
  // isExternal: 1
10631
10674
  },
10675
+
10632
10676
  onClick: extraProps?.courseBuyNow,
10633
10677
  type: 'primary',
10634
10678
  size: 'medium',