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.es.js CHANGED
@@ -1530,6 +1530,7 @@ function DesktopHeader({
1530
1530
  value: 'BUY NOW'
1531
1531
  // isExternal: 1
1532
1532
  },
1533
+
1533
1534
  onClick: extraProps?.courseBuyNow,
1534
1535
  type: 'primary',
1535
1536
  size: 'small',
@@ -1545,6 +1546,7 @@ function DesktopHeader({
1545
1546
  value: 'BUY NOW'
1546
1547
  // isExternal: 1
1547
1548
  },
1549
+
1548
1550
  onClick: extraProps?.courseBuyNow,
1549
1551
  type: 'primary',
1550
1552
  size: 'medium',
@@ -1554,6 +1556,7 @@ function DesktopHeader({
1554
1556
  // styling={isMobile ? { margin: '0 40px' } : {}}
1555
1557
  });
1556
1558
  };
1559
+
1557
1560
  return /*#__PURE__*/React.createElement("nav", {
1558
1561
  className: classes.section
1559
1562
  }, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React.createElement("div", {
@@ -1762,6 +1765,7 @@ function MobileHeader({
1762
1765
  value: 'BUY NOW'
1763
1766
  // isExternal: 1
1764
1767
  },
1768
+
1765
1769
  onClick: extraProps?.courseBuyNow,
1766
1770
  type: 'primary',
1767
1771
  size: 'medium',
@@ -1771,6 +1775,7 @@ function MobileHeader({
1771
1775
  // styling={isMobile ? { margin: '0 40px' } : {}}
1772
1776
  }))));
1773
1777
  };
1778
+
1774
1779
  if (isTutorWebsite) {
1775
1780
  if (isAndroidDelisted && apkURL) {
1776
1781
  downloadLink = /*#__PURE__*/React.createElement(Button, {
@@ -1963,6 +1968,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1963
1968
 
1964
1969
  // '& img': { maxHeight: '55px' }
1965
1970
  },
1971
+
1966
1972
  upperContainerItem1Img: {
1967
1973
  maxHeight: '55px',
1968
1974
  paddingBottom: '84px',
@@ -2409,6 +2415,7 @@ const mobilePadding = {
2409
2415
  // 24px
2410
2416
  medium: baseFactor * 6 // 48px
2411
2417
  };
2418
+
2412
2419
  const padding = {
2413
2420
  minute: baseFactor * 2,
2414
2421
  // 16px
@@ -2878,6 +2885,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2878
2885
  // }
2879
2886
  // }
2880
2887
  },
2888
+
2881
2889
  sectionContainer: {
2882
2890
  margin: '0 auto',
2883
2891
  maxWidth: ({
@@ -2980,9 +2988,9 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2980
2988
  imageContainer: {
2981
2989
  height: 'undefined',
2982
2990
  width: '100%',
2983
- paddingBottom: ({
2984
- isCustomWebsite
2985
- }) => isCustomWebsite ? '100%' : 'unset'
2991
+ // paddingBottom: ({ isCustomWebsite }) =>
2992
+ // isCustomWebsite ? '100%' : 'unset'
2993
+ aspectRatio: "4/3"
2986
2994
  }
2987
2995
  }
2988
2996
  }));
@@ -3459,6 +3467,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
3459
3467
  // padding: '0'
3460
3468
  }
3461
3469
  },
3470
+
3462
3471
  '&:nth-child(2n+1)': {
3463
3472
  marginRight: '0',
3464
3473
  '& $contentText': {
@@ -3468,6 +3477,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
3468
3477
  }
3469
3478
  }
3470
3479
  },
3480
+
3471
3481
  contentNumber: {
3472
3482
  width: '100%',
3473
3483
  padding: '24px',
@@ -3874,6 +3884,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3874
3884
  // }
3875
3885
  // }
3876
3886
  },
3887
+
3877
3888
  sectionContainer: {
3878
3889
  margin: '0 auto',
3879
3890
  maxWidth: ({
@@ -3887,6 +3898,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3887
3898
 
3888
3899
  // padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
3889
3900
  },
3901
+
3890
3902
  imageContainerDiv: {
3891
3903
  width: '50%',
3892
3904
  position: 'relative'
@@ -3958,6 +3970,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3958
3970
  width: '100%'
3959
3971
  // padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
3960
3972
  },
3973
+
3961
3974
  imageContainer: {
3962
3975
  height: 'unset !important',
3963
3976
  '& img': {
@@ -4976,6 +4989,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4976
4989
  fontFamily: theme?.typography?.fontFamily
4977
4990
  // boxSizing: 'border-box'
4978
4991
  },
4992
+
4979
4993
  '& h2,& h3,& p': {
4980
4994
  marginTop: '0'
4981
4995
  }
@@ -5000,6 +5014,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
5000
5014
  wordBreak: 'break-word'
5001
5015
  // marginBottom: '8px'
5002
5016
  },
5017
+
5003
5018
  videoTestimonialTitle: {
5004
5019
  fontSize: theme.typography.fontSize.h2,
5005
5020
  // lineHeight: '71px',
@@ -5440,6 +5455,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
5440
5455
  // }
5441
5456
  // }
5442
5457
  },
5458
+
5443
5459
  sectionContainer: {
5444
5460
  margin: '0 auto',
5445
5461
  maxWidth: ({
@@ -5797,6 +5813,7 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5797
5813
  // }
5798
5814
  // }
5799
5815
  },
5816
+
5800
5817
  sectionContainer: {
5801
5818
  margin: '0 auto',
5802
5819
  maxWidth: ({
@@ -5827,6 +5844,7 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5827
5844
  position: 'relative',
5828
5845
  paddingBottom: '59.83%' // keeping aspect ratio 585x350
5829
5846
  },
5847
+
5830
5848
  contentRow: {
5831
5849
  display: 'grid',
5832
5850
  gridTemplateColumns: ({
@@ -6373,6 +6391,7 @@ const useCourseStyles = createUseStyles(theme => {
6373
6391
  // }
6374
6392
  // }
6375
6393
  },
6394
+
6376
6395
  sectionContainer: {
6377
6396
  margin: '0 auto',
6378
6397
  maxWidth: ({
@@ -6405,6 +6424,7 @@ const useCourseStyles = createUseStyles(theme => {
6405
6424
  // textAlign: 'center',
6406
6425
  // wordBreak: 'break-word'
6407
6426
  },
6427
+
6408
6428
  slickContainer: {
6409
6429
  marginRight: '-20px'
6410
6430
  },
@@ -6452,6 +6472,7 @@ const useCourseStyles = createUseStyles(theme => {
6452
6472
  justifyContent: 'space-between'
6453
6473
  //alignItems: 'center',
6454
6474
  },
6475
+
6455
6476
  courseCardTags: {
6456
6477
  display: 'flex',
6457
6478
  justifyContent: 'flex-start',
@@ -6482,6 +6503,7 @@ const useCourseStyles = createUseStyles(theme => {
6482
6503
  // whiteSpace: 'nowrap',
6483
6504
  // textOverflow: 'ellipsis'
6484
6505
  },
6506
+
6485
6507
  courseCardDiscount: {
6486
6508
  display: 'flex',
6487
6509
  justifyContent: 'flex-start',
@@ -6588,6 +6610,7 @@ const useCourseStyles = createUseStyles(theme => {
6588
6610
  // whiteSpace: 'nowrap',
6589
6611
  // textOverflow: 'ellipsis'
6590
6612
  },
6613
+
6591
6614
  singleCard: {
6592
6615
  margin: '6px 2px'
6593
6616
  // width: 'calc(100% - 12px)'
@@ -6935,6 +6958,7 @@ const useTeamStyles = createUseStyles(theme => {
6935
6958
  // gridTemplateColumns: ({ slidesToShow } = {}) =>
6936
6959
  // `repeat(${slidesToShow},minmax(0, 1fr))`
6937
6960
  },
6961
+
6938
6962
  singleSlideContainer: {
6939
6963
  backgroundColor: theme?.palette?.background?.default,
6940
6964
  margin: '20px 0',
@@ -6960,6 +6984,7 @@ const useTeamStyles = createUseStyles(theme => {
6960
6984
  padding: '24px'
6961
6985
  // overflowWrap: 'break-word'
6962
6986
  },
6987
+
6963
6988
  teamDetailsHeading: {
6964
6989
  fontSize: theme.typography.fontSize.h6,
6965
6990
  fontWeight: theme.typography.fontWeight.bold,
@@ -7222,6 +7247,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
7222
7247
  // }
7223
7248
  // }
7224
7249
  },
7250
+
7225
7251
  formContainer: {
7226
7252
  margin: '0 auto',
7227
7253
  maxWidth: ({
@@ -7258,12 +7284,14 @@ const useSectionStyles$1 = createUseStyles(theme => ({
7258
7284
  display: 'flex'
7259
7285
  // alignItems: 'flex-start',
7260
7286
  },
7287
+
7261
7288
  leftContainerForm: {
7262
7289
  width: '65%',
7263
7290
  display: 'flex',
7264
7291
  flexDirection: 'column'
7265
7292
  // justifyContent: 'space-between'
7266
7293
  },
7294
+
7267
7295
  subtitle: {
7268
7296
  // margin: '0 0 40px 0',
7269
7297
  fontSize: theme.typography.fontSize.h5,
@@ -7331,6 +7359,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
7331
7359
  width: '100%'
7332
7360
  // padding: '0 16ox'
7333
7361
  },
7362
+
7334
7363
  rightContainer: {
7335
7364
  width: '100%',
7336
7365
  padding: '0'
@@ -7643,6 +7672,7 @@ const useSectionStyles = createUseStyles(theme => ({
7643
7672
  // }
7644
7673
  // }
7645
7674
  },
7675
+
7646
7676
  contactContainer: {
7647
7677
  width: '100%',
7648
7678
  margin: '0 auto',
@@ -7681,6 +7711,7 @@ const useSectionStyles = createUseStyles(theme => ({
7681
7711
  // justifyContent: 'space-between',
7682
7712
  // flex: 1
7683
7713
  },
7714
+
7684
7715
  subtitle: {
7685
7716
  // margin: '0 0 auto 0',
7686
7717
  fontSize: theme.typography.fontSize.h6,
@@ -8125,6 +8156,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
8125
8156
  marginTop: '5%'
8126
8157
  // padding: '0px 5% 0px 5%'
8127
8158
  },
8159
+
8128
8160
  iframe: {
8129
8161
  position: 'absolute',
8130
8162
  width: '100%',
@@ -8472,6 +8504,7 @@ const SingleVideoSlide$1 = props => {
8472
8504
  value: data.isPaid ? buyNowText : registerNowText
8473
8505
  // isExternal: 1
8474
8506
  },
8507
+
8475
8508
  onClick: webinarCtaClick,
8476
8509
  type: 'primary',
8477
8510
  size: 'medium',
@@ -8540,6 +8573,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8540
8573
  // }
8541
8574
  // }
8542
8575
  },
8576
+
8543
8577
  sectionContainer: {
8544
8578
  margin: '0 auto',
8545
8579
  maxWidth: ({
@@ -8657,6 +8691,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8657
8691
  // paddingBottom: '10px',
8658
8692
  // paddingTop: '10px'
8659
8693
  },
8694
+
8660
8695
  bannerContainer: {
8661
8696
  width: '100%',
8662
8697
  background: theme?.colors?.bannerColor,
@@ -8671,6 +8706,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8671
8706
  clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
8672
8707
  // marginBottom: '16px'
8673
8708
  },
8709
+
8674
8710
  bannerContainerText: {
8675
8711
  transform: 'rotate(180deg)'
8676
8712
  },
@@ -8783,6 +8819,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8783
8819
  height: 'max-content'
8784
8820
  // paddingRight: '10px'
8785
8821
  },
8822
+
8786
8823
  videoDetails: {
8787
8824
  width: '100%'
8788
8825
  },
@@ -9041,6 +9078,7 @@ const SingleVideoSlide = props => {
9041
9078
  value: buyNowText
9042
9079
  // isExternal: 1
9043
9080
  },
9081
+
9044
9082
  onClick: courseBuyNow,
9045
9083
  type: 'primary',
9046
9084
  size: 'medium',
@@ -9145,6 +9183,7 @@ const useFormPageStyles = createUseStyles(theme => ({
9145
9183
  // border: '1px solid #D8E0F0',
9146
9184
  // borderRadius: '16px'
9147
9185
  },
9186
+
9148
9187
  inputFieldLabel: {
9149
9188
  color: theme?.colors?.lightblack,
9150
9189
  fontSize: theme.typography.fontSize.body,
@@ -9457,6 +9496,7 @@ const FormPage = ({
9457
9496
  value: countryCode === 'KR' ? '제출하기' : 'SUBMIT'
9458
9497
  // isExternal: 1
9459
9498
  },
9499
+
9460
9500
  type: 'primary',
9461
9501
  size: 'medium',
9462
9502
  target: null,
@@ -9639,6 +9679,7 @@ const useEmailStyles = createUseStyles(theme => ({
9639
9679
  height: '48px'
9640
9680
  /* margin: 18px 0px; */
9641
9681
  },
9682
+
9642
9683
  'p-young-guru-title': {
9643
9684
  fontFamily: theme?.typography?.fontFamily,
9644
9685
  fontStyle: 'normal',
@@ -9666,6 +9707,7 @@ const useEmailStyles = createUseStyles(theme => ({
9666
9707
  textAlign: 'center'
9667
9708
  /* padding:35px 0 40px */
9668
9709
  },
9710
+
9669
9711
  'two-columns .column': {
9670
9712
  width: '100%',
9671
9713
  maxWidth: '275px',
@@ -10135,6 +10177,7 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
10135
10177
  // borderRadius: '16px',
10136
10178
  // border: '1px solid var(--stroke, #D8E0F0)',
10137
10179
  },
10180
+
10138
10181
  image: {
10139
10182
  width: '100%',
10140
10183
  height: '100%',
@@ -10613,6 +10656,7 @@ const TimerAndCall = ({
10613
10656
  value: nodeData.timerButton.metadata.value
10614
10657
  // isExternal: 1
10615
10658
  },
10659
+
10616
10660
  onClick: extraProps?.courseBuyNow,
10617
10661
  type: 'primary',
10618
10662
  size: 'medium',