diy-template-components 0.2.87 → 0.2.89
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 +26 -17
- package/build/index.es.js.map +1 -1
- package/build/index.js +26 -17
- package/build/index.js.map +1 -1
- package/package.json +3 -3
package/build/index.js
CHANGED
|
@@ -594,7 +594,7 @@ var menu = "data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20v
|
|
|
594
594
|
|
|
595
595
|
var clpLogo = "478367302082f28d.svg";
|
|
596
596
|
|
|
597
|
-
var videoPlay = "data:image/svg+xml,%3Csvg%20width%3D%
|
|
597
|
+
var videoPlay = "data:image/svg+xml,%3Csvg%20width%3D%2297%22%20height%3D%2266%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20%3E%3Cpath%20d%3D%22M8%200.5C3.86%200.5%200.5%203.86%200.5%208C0.5%2012.14%203.86%2015.5%208%2015.5C12.14%2015.5%2015.5%2012.14%2015.5%208C15.5%203.86%2012.14%200.5%208%200.5ZM6.5%2011.375V4.625L11%208L6.5%2011.375Z%22%20fill%3D%22%234E93FF%22%2F%3E%3C%2Fsvg%3E";
|
|
598
598
|
|
|
599
599
|
var stockGrowth = "data:image/svg+xml,%3Csvg%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M44%205.5H4C3.18%205.5%202.5%204.82%202.5%204C2.5%203.18%203.18%202.5%204%202.5H44C44.82%202.5%2045.5%203.18%2045.5%204C45.5%204.82%2044.82%205.5%2044%205.5Z%22%20fill%3D%22%23549BF6%22%2F%3E%3Cpath%20d%3D%22M33.34%2044.68C33.08%2045.2%2032.54%2045.5%2032%2045.5C31.78%2045.5%2031.54%2045.44%2031.34%2045.34L24%2041.68L16.66%2045.34C16.46%2045.44%2016.22%2045.5%2016%2045.5C15.46%2045.5%2014.92%2045.2%2014.66%2044.68C14.28%2043.92%2014.58%2043.02%2015.34%2042.66L22.5%2039.08V34H25.5V39.08L32.66%2042.66C33.42%2043.02%2033.72%2043.92%2033.34%2044.68Z%22%20fill%3D%22%23549BF6%22%2F%3E%3Cpath%20d%3D%22M6%204V28.2C6%2032%208%2034%2011.8%2034H36.2C40%2034%2042%2032%2042%2028.2V4H6ZM33.96%2017.16L27.66%2022.42C27.08%2022.9%2026.34%2023.1%2025.64%2022.98C24.92%2022.86%2024.3%2022.42%2023.92%2021.78L21.82%2018.28L15.96%2023.16C15.68%2023.4%2015.34%2023.5%2015%2023.5C14.58%2023.5%2014.14%2023.32%2013.84%2022.96C13.3%2022.32%2013.4%2021.38%2014.04%2020.84L20.34%2015.58C20.92%2015.1%2021.66%2014.9%2022.36%2015.02C23.08%2015.14%2023.7%2015.58%2024.08%2016.22L26.18%2019.72L32.04%2014.84C32.68%2014.3%2033.62%2014.4%2034.16%2015.04C34.68%2015.68%2034.6%2016.62%2033.96%2017.16Z%22%20fill%3D%22%23549BF6%22%2F%3E%3C%2Fsvg%3E";
|
|
600
600
|
|
|
@@ -2271,12 +2271,13 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2271
2271
|
imageContainer: {
|
|
2272
2272
|
width: '100%',
|
|
2273
2273
|
position: 'relative',
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2274
|
+
paddingBottom: ({
|
|
2275
|
+
isCustomWebsite
|
|
2276
|
+
}) => isCustomWebsite ? '35%' : '',
|
|
2277
|
+
'& img': {
|
|
2278
|
+
height: '520px',
|
|
2279
|
+
objectFit: 'cover'
|
|
2280
|
+
}
|
|
2280
2281
|
},
|
|
2281
2282
|
subTitleHeading: {
|
|
2282
2283
|
marginBottom: '8px',
|
|
@@ -3822,7 +3823,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3822
3823
|
fontSize: theme.typography.fontSize.subHead,
|
|
3823
3824
|
wordBreak: 'break-word',
|
|
3824
3825
|
color: theme?.palette?.font?.primary,
|
|
3825
|
-
lineHeight: '
|
|
3826
|
+
lineHeight: '24px'
|
|
3826
3827
|
},
|
|
3827
3828
|
userContainer: {
|
|
3828
3829
|
display: 'flex',
|
|
@@ -4161,7 +4162,8 @@ const useVideoStyles$1 = createUseStyles(theme => {
|
|
|
4161
4162
|
height: '100%',
|
|
4162
4163
|
width: '100%',
|
|
4163
4164
|
objectFit: 'cover',
|
|
4164
|
-
objectPosition: 'top'
|
|
4165
|
+
objectPosition: 'top',
|
|
4166
|
+
opacity: '0.8'
|
|
4165
4167
|
},
|
|
4166
4168
|
'@media (max-width: 767px)': {
|
|
4167
4169
|
iframe: {
|
|
@@ -4196,7 +4198,10 @@ function VideoPlayer(props) {
|
|
|
4196
4198
|
}
|
|
4197
4199
|
}
|
|
4198
4200
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, !isLoaded && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4199
|
-
className: classes.imgContainer
|
|
4201
|
+
className: classes.imgContainer,
|
|
4202
|
+
onClick: () => {
|
|
4203
|
+
setIsEnableed(true);
|
|
4204
|
+
}
|
|
4200
4205
|
}, /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
|
|
4201
4206
|
src: imageUrl,
|
|
4202
4207
|
sectionIndex: props?.sectionIndex,
|
|
@@ -4581,7 +4586,10 @@ const SingleSlide$1 = props => {
|
|
|
4581
4586
|
className: classes.singleSlideContainer
|
|
4582
4587
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4583
4588
|
ref: data?.videoFrame?.refSetter,
|
|
4584
|
-
className: classes.iframeContainer
|
|
4589
|
+
className: classes.iframeContainer,
|
|
4590
|
+
style: {
|
|
4591
|
+
background: 'linear-gradient(#333333,rgb(0 0 0))'
|
|
4592
|
+
}
|
|
4585
4593
|
}, /*#__PURE__*/React__default["default"].createElement(VideoPlayer, {
|
|
4586
4594
|
imageUrl: data.videoFrame.metadata?.thumbnail,
|
|
4587
4595
|
videoUrl: data.videoFrame.metadata?.value
|
|
@@ -6104,7 +6112,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6104
6112
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6105
6113
|
padding: theme.spacing.padding.tiny,
|
|
6106
6114
|
boxShadow: theme?.shadows?.primary,
|
|
6107
|
-
minHeight:
|
|
6115
|
+
minHeight: '390px'
|
|
6108
6116
|
},
|
|
6109
6117
|
imageContainer: {
|
|
6110
6118
|
minWidth: '100%',
|
|
@@ -6721,7 +6729,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6721
6729
|
title: {
|
|
6722
6730
|
margin: '0',
|
|
6723
6731
|
fontSize: theme.typography.fontSize.h2,
|
|
6724
|
-
color: theme?.palette?.font?.
|
|
6732
|
+
color: theme?.palette?.font?.default,
|
|
6725
6733
|
lineHeight: '71px',
|
|
6726
6734
|
letterSpacing: '-3px',
|
|
6727
6735
|
textAlign: 'left',
|
|
@@ -6742,7 +6750,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6742
6750
|
subtitle: {
|
|
6743
6751
|
margin: '0 0 auto 0',
|
|
6744
6752
|
fontSize: theme.typography.fontSize.h6,
|
|
6745
|
-
color: theme?.palette?.font?.
|
|
6753
|
+
color: theme?.palette?.font?.default,
|
|
6746
6754
|
lineHeight: '32px',
|
|
6747
6755
|
margin: '20px 0px'
|
|
6748
6756
|
},
|
|
@@ -8715,7 +8723,8 @@ function Section({
|
|
|
8715
8723
|
style: {
|
|
8716
8724
|
textAlign: 'center',
|
|
8717
8725
|
width: '100%',
|
|
8718
|
-
backgroundColor: '#ffffff'
|
|
8726
|
+
backgroundColor: '#ffffff',
|
|
8727
|
+
padding: '0px 24px'
|
|
8719
8728
|
}
|
|
8720
8729
|
}, /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", null, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8721
8730
|
style: {
|
|
@@ -8742,10 +8751,10 @@ function Section({
|
|
|
8742
8751
|
marginBottom: '15px'
|
|
8743
8752
|
},
|
|
8744
8753
|
ref: body?.components[1]?.refSetter
|
|
8745
|
-
}, body?.components[1]?.metadata?.text), /*#__PURE__*/React__default["default"].createElement("
|
|
8754
|
+
}, body?.components[1]?.metadata?.text), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8746
8755
|
style: {
|
|
8747
8756
|
maxWidth: '435px',
|
|
8748
|
-
margin: '
|
|
8757
|
+
// margin: '0px 10px',
|
|
8749
8758
|
// fontFamily: 'Roboto',
|
|
8750
8759
|
fontStyle: 'normal',
|
|
8751
8760
|
fontWeight: '400',
|