diy-template-components 1.0.6 → 1.0.8
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 +4 -2
- package/build/index.es.js.map +1 -1
- package/build/index.js +4 -2
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -4198,7 +4198,8 @@ const useVideoStyles$1 = createUseStyles(theme => {
|
|
|
4198
4198
|
function VideoPlayer(props) {
|
|
4199
4199
|
const {
|
|
4200
4200
|
videoUrl,
|
|
4201
|
-
imageUrl
|
|
4201
|
+
imageUrl,
|
|
4202
|
+
onlyThumbnail
|
|
4202
4203
|
} = props;
|
|
4203
4204
|
const [isEnabled, setIsEnableed] = useState(!imageUrl);
|
|
4204
4205
|
const [isLoaded, setIsLoaded] = useState(!imageUrl);
|
|
@@ -4219,6 +4220,7 @@ function VideoPlayer(props) {
|
|
|
4219
4220
|
return /*#__PURE__*/React.createElement(React.Fragment, null, !isLoaded && /*#__PURE__*/React.createElement("div", {
|
|
4220
4221
|
className: classes.imgContainer,
|
|
4221
4222
|
onClick: () => {
|
|
4223
|
+
if (onlyThumbnail) return;
|
|
4222
4224
|
setIsEnableed(true);
|
|
4223
4225
|
}
|
|
4224
4226
|
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
@@ -7230,7 +7232,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7230
7232
|
lineHeight: '48px',
|
|
7231
7233
|
margin: '0',
|
|
7232
7234
|
letterSpacing: '-1px',
|
|
7233
|
-
wordBreak: wordBreakValue => wordBreakValue || 'break-
|
|
7235
|
+
wordBreak: wordBreakValue => wordBreakValue || 'break-word',
|
|
7234
7236
|
color: theme.palette.font.default
|
|
7235
7237
|
},
|
|
7236
7238
|
courseViewContainer: {
|