diy-template-components 2.0.14 → 2.0.16
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 +2 -40
- package/build/index.es.js.map +1 -1
- package/build/index.js +2 -40
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -1097,7 +1097,6 @@ function OptionList({
|
|
|
1097
1097
|
const downloadAppText = countryCode === 'KR' ? '앱다운로드' : 'Download App';
|
|
1098
1098
|
const renderDownloadAppButton = () => {
|
|
1099
1099
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, apkURL && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
1100
|
-
download: true,
|
|
1101
1100
|
href: headerData?.apkURL,
|
|
1102
1101
|
target: "_blank",
|
|
1103
1102
|
className: classes.socialBtnItems,
|
|
@@ -1431,7 +1430,7 @@ function MobileHeader({
|
|
|
1431
1430
|
onClick: () => {
|
|
1432
1431
|
let url = getAppDownloadLink(apkURL, iosDownloadLink);
|
|
1433
1432
|
window.open(url, '_blank');
|
|
1434
|
-
if (
|
|
1433
|
+
if (url === apkURL && typeof onDownloadAppTriggered == 'function') {
|
|
1435
1434
|
onDownloadAppTriggered(header?.isAndroidDelisted, header?.apkURL);
|
|
1436
1435
|
}
|
|
1437
1436
|
}
|
|
@@ -1466,7 +1465,7 @@ function MobileHeader({
|
|
|
1466
1465
|
onClick: () => {
|
|
1467
1466
|
let url = getAppDownloadLink(apkURL, iosDownloadLink);
|
|
1468
1467
|
window.open(url, '_blank');
|
|
1469
|
-
if (
|
|
1468
|
+
if (url === apkURL && typeof onDownloadAppTriggered == 'function') {
|
|
1470
1469
|
onDownloadAppTriggered(header?.isAndroidDelisted, header?.apkURL);
|
|
1471
1470
|
}
|
|
1472
1471
|
}
|
|
@@ -1607,7 +1606,6 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
1607
1606
|
|
|
1608
1607
|
// '& img': { maxHeight: '55px' }
|
|
1609
1608
|
},
|
|
1610
|
-
|
|
1611
1609
|
upperContainerItem1Img: {
|
|
1612
1610
|
maxHeight: '55px',
|
|
1613
1611
|
paddingBottom: '84px',
|
|
@@ -2034,7 +2032,6 @@ const mobilePadding = {
|
|
|
2034
2032
|
// 24px
|
|
2035
2033
|
medium: baseFactor * 6 // 48px
|
|
2036
2034
|
};
|
|
2037
|
-
|
|
2038
2035
|
const padding = {
|
|
2039
2036
|
minute: baseFactor * 2,
|
|
2040
2037
|
// 16px
|
|
@@ -2500,7 +2497,6 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2500
2497
|
// }
|
|
2501
2498
|
// }
|
|
2502
2499
|
},
|
|
2503
|
-
|
|
2504
2500
|
sectionContainer: {
|
|
2505
2501
|
margin: '0 auto',
|
|
2506
2502
|
maxWidth: ({
|
|
@@ -3070,7 +3066,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3070
3066
|
// padding: '0'
|
|
3071
3067
|
}
|
|
3072
3068
|
},
|
|
3073
|
-
|
|
3074
3069
|
'&:nth-child(2n+1)': {
|
|
3075
3070
|
marginRight: '0',
|
|
3076
3071
|
'& $contentText': {
|
|
@@ -3080,7 +3075,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3080
3075
|
}
|
|
3081
3076
|
}
|
|
3082
3077
|
},
|
|
3083
|
-
|
|
3084
3078
|
contentNumber: {
|
|
3085
3079
|
width: '100%',
|
|
3086
3080
|
padding: '24px',
|
|
@@ -3473,7 +3467,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3473
3467
|
// }
|
|
3474
3468
|
// }
|
|
3475
3469
|
},
|
|
3476
|
-
|
|
3477
3470
|
sectionContainer: {
|
|
3478
3471
|
margin: '0 auto',
|
|
3479
3472
|
maxWidth: ({
|
|
@@ -3487,7 +3480,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3487
3480
|
|
|
3488
3481
|
// padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
|
|
3489
3482
|
},
|
|
3490
|
-
|
|
3491
3483
|
imageContainerDiv: {
|
|
3492
3484
|
width: '50%',
|
|
3493
3485
|
position: 'relative'
|
|
@@ -3559,7 +3551,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3559
3551
|
width: '100%'
|
|
3560
3552
|
// padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
|
|
3561
3553
|
},
|
|
3562
|
-
|
|
3563
3554
|
imageContainer: {
|
|
3564
3555
|
height: 'unset !important',
|
|
3565
3556
|
'& img': {
|
|
@@ -4566,7 +4557,6 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4566
4557
|
fontFamily: theme?.typography?.fontFamily
|
|
4567
4558
|
// boxSizing: 'border-box'
|
|
4568
4559
|
},
|
|
4569
|
-
|
|
4570
4560
|
'& h2,& h3,& p': {
|
|
4571
4561
|
marginTop: '0'
|
|
4572
4562
|
}
|
|
@@ -4591,7 +4581,6 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4591
4581
|
wordBreak: 'break-word'
|
|
4592
4582
|
// marginBottom: '8px'
|
|
4593
4583
|
},
|
|
4594
|
-
|
|
4595
4584
|
videoTestimonialTitle: {
|
|
4596
4585
|
fontSize: theme.typography.fontSize.h2,
|
|
4597
4586
|
// lineHeight: '71px',
|
|
@@ -5032,7 +5021,6 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5032
5021
|
// }
|
|
5033
5022
|
// }
|
|
5034
5023
|
},
|
|
5035
|
-
|
|
5036
5024
|
sectionContainer: {
|
|
5037
5025
|
margin: '0 auto',
|
|
5038
5026
|
maxWidth: ({
|
|
@@ -5390,7 +5378,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5390
5378
|
// }
|
|
5391
5379
|
// }
|
|
5392
5380
|
},
|
|
5393
|
-
|
|
5394
5381
|
sectionContainer: {
|
|
5395
5382
|
margin: '0 auto',
|
|
5396
5383
|
maxWidth: ({
|
|
@@ -5421,7 +5408,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5421
5408
|
position: 'relative',
|
|
5422
5409
|
paddingBottom: '59.83%' // keeping aspect ratio 585x350
|
|
5423
5410
|
},
|
|
5424
|
-
|
|
5425
5411
|
contentRow: {
|
|
5426
5412
|
display: 'grid',
|
|
5427
5413
|
gridTemplateColumns: ({
|
|
@@ -5968,7 +5954,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5968
5954
|
// }
|
|
5969
5955
|
// }
|
|
5970
5956
|
},
|
|
5971
|
-
|
|
5972
5957
|
sectionContainer: {
|
|
5973
5958
|
margin: '0 auto',
|
|
5974
5959
|
maxWidth: ({
|
|
@@ -6001,7 +5986,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6001
5986
|
// textAlign: 'center',
|
|
6002
5987
|
// wordBreak: 'break-word'
|
|
6003
5988
|
},
|
|
6004
|
-
|
|
6005
5989
|
slickContainer: {
|
|
6006
5990
|
marginRight: '-20px'
|
|
6007
5991
|
},
|
|
@@ -6049,7 +6033,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6049
6033
|
justifyContent: 'space-between'
|
|
6050
6034
|
//alignItems: 'center',
|
|
6051
6035
|
},
|
|
6052
|
-
|
|
6053
6036
|
courseCardTags: {
|
|
6054
6037
|
display: 'flex',
|
|
6055
6038
|
justifyContent: 'flex-start',
|
|
@@ -6080,7 +6063,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6080
6063
|
// whiteSpace: 'nowrap',
|
|
6081
6064
|
// textOverflow: 'ellipsis'
|
|
6082
6065
|
},
|
|
6083
|
-
|
|
6084
6066
|
courseCardDiscount: {
|
|
6085
6067
|
display: 'flex',
|
|
6086
6068
|
justifyContent: 'flex-start',
|
|
@@ -6187,7 +6169,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6187
6169
|
// whiteSpace: 'nowrap',
|
|
6188
6170
|
// textOverflow: 'ellipsis'
|
|
6189
6171
|
},
|
|
6190
|
-
|
|
6191
6172
|
singleCard: {
|
|
6192
6173
|
margin: '6px 2px'
|
|
6193
6174
|
// width: 'calc(100% - 12px)'
|
|
@@ -6563,7 +6544,6 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6563
6544
|
margin: '20px 0 0'
|
|
6564
6545
|
// overflowWrap: 'break-word'
|
|
6565
6546
|
},
|
|
6566
|
-
|
|
6567
6547
|
teamDetailsHeading: {
|
|
6568
6548
|
fontSize: theme.typography.fontSize.h6,
|
|
6569
6549
|
fontWeight: theme.typography.fontWeight.bold,
|
|
@@ -6607,7 +6587,6 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6607
6587
|
// margin: '15px 0 0',
|
|
6608
6588
|
// paddingBottom: '0'
|
|
6609
6589
|
},
|
|
6610
|
-
|
|
6611
6590
|
teamDetailsHeading: {
|
|
6612
6591
|
fontSize: '16px',
|
|
6613
6592
|
lineHeight: '24px',
|
|
@@ -6740,7 +6719,6 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6740
6719
|
// }
|
|
6741
6720
|
// }
|
|
6742
6721
|
},
|
|
6743
|
-
|
|
6744
6722
|
formContainer: {
|
|
6745
6723
|
margin: '0 auto',
|
|
6746
6724
|
maxWidth: ({
|
|
@@ -6777,14 +6755,12 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6777
6755
|
display: 'flex'
|
|
6778
6756
|
// alignItems: 'flex-start',
|
|
6779
6757
|
},
|
|
6780
|
-
|
|
6781
6758
|
leftContainerForm: {
|
|
6782
6759
|
width: '65%',
|
|
6783
6760
|
display: 'flex',
|
|
6784
6761
|
flexDirection: 'column'
|
|
6785
6762
|
// justifyContent: 'space-between'
|
|
6786
6763
|
},
|
|
6787
|
-
|
|
6788
6764
|
subtitle: {
|
|
6789
6765
|
// margin: '0 0 40px 0',
|
|
6790
6766
|
fontSize: theme.typography.fontSize.h5,
|
|
@@ -6852,7 +6828,6 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6852
6828
|
width: '100%'
|
|
6853
6829
|
// padding: '0 16ox'
|
|
6854
6830
|
},
|
|
6855
|
-
|
|
6856
6831
|
rightContainer: {
|
|
6857
6832
|
width: '100%',
|
|
6858
6833
|
padding: '0'
|
|
@@ -7160,7 +7135,6 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7160
7135
|
// }
|
|
7161
7136
|
// }
|
|
7162
7137
|
},
|
|
7163
|
-
|
|
7164
7138
|
contactContainer: {
|
|
7165
7139
|
width: '100%',
|
|
7166
7140
|
margin: '0 auto',
|
|
@@ -7199,7 +7173,6 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7199
7173
|
// justifyContent: 'space-between',
|
|
7200
7174
|
// flex: 1
|
|
7201
7175
|
},
|
|
7202
|
-
|
|
7203
7176
|
subtitle: {
|
|
7204
7177
|
// margin: '0 0 auto 0',
|
|
7205
7178
|
fontSize: theme.typography.fontSize.h6,
|
|
@@ -7639,7 +7612,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7639
7612
|
marginTop: '5%'
|
|
7640
7613
|
// padding: '0px 5% 0px 5%'
|
|
7641
7614
|
},
|
|
7642
|
-
|
|
7643
7615
|
iframe: {
|
|
7644
7616
|
position: 'absolute',
|
|
7645
7617
|
width: '100%',
|
|
@@ -7987,7 +7959,6 @@ const SingleVideoSlide$1 = props => {
|
|
|
7987
7959
|
value: data.isPaid ? buyNowText : registerNowText
|
|
7988
7960
|
// isExternal: 1
|
|
7989
7961
|
},
|
|
7990
|
-
|
|
7991
7962
|
onClick: webinarCtaClick,
|
|
7992
7963
|
type: 'primary',
|
|
7993
7964
|
size: 'medium',
|
|
@@ -8056,7 +8027,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8056
8027
|
// }
|
|
8057
8028
|
// }
|
|
8058
8029
|
},
|
|
8059
|
-
|
|
8060
8030
|
sectionContainer: {
|
|
8061
8031
|
margin: '0 auto',
|
|
8062
8032
|
maxWidth: ({
|
|
@@ -8174,7 +8144,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8174
8144
|
// paddingBottom: '10px',
|
|
8175
8145
|
// paddingTop: '10px'
|
|
8176
8146
|
},
|
|
8177
|
-
|
|
8178
8147
|
bannerContainer: {
|
|
8179
8148
|
width: '100%',
|
|
8180
8149
|
background: theme?.colors?.bannerColor,
|
|
@@ -8189,7 +8158,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8189
8158
|
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
8190
8159
|
// marginBottom: '16px'
|
|
8191
8160
|
},
|
|
8192
|
-
|
|
8193
8161
|
bannerContainerText: {
|
|
8194
8162
|
transform: 'rotate(180deg)'
|
|
8195
8163
|
},
|
|
@@ -8302,7 +8270,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8302
8270
|
height: 'max-content'
|
|
8303
8271
|
// paddingRight: '10px'
|
|
8304
8272
|
},
|
|
8305
|
-
|
|
8306
8273
|
videoDetails: {
|
|
8307
8274
|
width: '100%'
|
|
8308
8275
|
},
|
|
@@ -8561,7 +8528,6 @@ const SingleVideoSlide = props => {
|
|
|
8561
8528
|
value: buyNowText
|
|
8562
8529
|
// isExternal: 1
|
|
8563
8530
|
},
|
|
8564
|
-
|
|
8565
8531
|
onClick: courseBuyNow,
|
|
8566
8532
|
type: 'primary',
|
|
8567
8533
|
size: 'medium',
|
|
@@ -8666,7 +8632,6 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8666
8632
|
// border: '1px solid #D8E0F0',
|
|
8667
8633
|
// borderRadius: '16px'
|
|
8668
8634
|
},
|
|
8669
|
-
|
|
8670
8635
|
inputFieldLabel: {
|
|
8671
8636
|
color: theme?.colors?.lightblack,
|
|
8672
8637
|
fontSize: theme.typography.fontSize.body,
|
|
@@ -8979,7 +8944,6 @@ const FormPage = ({
|
|
|
8979
8944
|
value: countryCode === 'KR' ? '제출하기' : 'SUBMIT'
|
|
8980
8945
|
// isExternal: 1
|
|
8981
8946
|
},
|
|
8982
|
-
|
|
8983
8947
|
type: 'primary',
|
|
8984
8948
|
size: 'medium',
|
|
8985
8949
|
target: null,
|
|
@@ -9162,7 +9126,6 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9162
9126
|
height: '48px'
|
|
9163
9127
|
/* margin: 18px 0px; */
|
|
9164
9128
|
},
|
|
9165
|
-
|
|
9166
9129
|
'p-young-guru-title': {
|
|
9167
9130
|
fontFamily: theme?.typography?.fontFamily,
|
|
9168
9131
|
fontStyle: 'normal',
|
|
@@ -9190,7 +9153,6 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9190
9153
|
textAlign: 'center'
|
|
9191
9154
|
/* padding:35px 0 40px */
|
|
9192
9155
|
},
|
|
9193
|
-
|
|
9194
9156
|
'two-columns .column': {
|
|
9195
9157
|
width: '100%',
|
|
9196
9158
|
maxWidth: '275px',
|