diy-template-components 0.2.70 → 0.2.72
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 +15 -13
- package/build/index.es.js.map +1 -1
- package/build/index.js +15 -13
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/build/650233e8e2d7dfee.png +0 -0
- package/build/d15660fcfffcc0c8.png +0 -0
package/build/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
function ___$insertStyle(css) {
|
|
2
|
-
if (!css ||
|
|
3
|
-
return;
|
|
4
|
-
}
|
|
5
|
-
const style = document.createElement('style');
|
|
6
|
-
style.setAttribute('type', 'text/css');
|
|
7
|
-
style.innerHTML = css;
|
|
8
|
-
document.head.appendChild(style);
|
|
9
|
-
return css;
|
|
1
|
+
function ___$insertStyle(css) {
|
|
2
|
+
if (!css || typeof window === 'undefined') {
|
|
3
|
+
return;
|
|
4
|
+
}
|
|
5
|
+
const style = document.createElement('style');
|
|
6
|
+
style.setAttribute('type', 'text/css');
|
|
7
|
+
style.innerHTML = css;
|
|
8
|
+
document.head.appendChild(style);
|
|
9
|
+
return css;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
import React, { createContext, useContext, forwardRef, useRef, useEffect, useState, useMemo, useLayoutEffect, Suspense, memo, lazy, Fragment } from 'react';
|
|
@@ -2857,7 +2857,7 @@ const useSectionStyles$6 = createUseStyles(theme => ({
|
|
|
2857
2857
|
// paddingBottom: '35rem',
|
|
2858
2858
|
paddingBottom: ({
|
|
2859
2859
|
isCustomWebsite
|
|
2860
|
-
}) => isCustomWebsite ? '
|
|
2860
|
+
}) => isCustomWebsite ? '55%' : 'unset',
|
|
2861
2861
|
backgroundSize: 'cover',
|
|
2862
2862
|
backgroundPosition: 'center center'
|
|
2863
2863
|
},
|
|
@@ -7222,7 +7222,7 @@ const SingleVideoSlide$1 = props => {
|
|
|
7222
7222
|
dangerouslySetInnerHTML: {
|
|
7223
7223
|
__html: data.title
|
|
7224
7224
|
}
|
|
7225
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
7225
|
+
}), props?.orgId !== 294413 ? /*#__PURE__*/React.createElement("div", {
|
|
7226
7226
|
className: classes.courseDetailsTags
|
|
7227
7227
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7228
7228
|
className: classes.courseDetailTag
|
|
@@ -7239,7 +7239,7 @@ const SingleVideoSlide$1 = props => {
|
|
|
7239
7239
|
color: theme.palette.primary.main,
|
|
7240
7240
|
width: "20px",
|
|
7241
7241
|
name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
|
|
7242
|
-
})), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("p", {
|
|
7242
|
+
})), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))) : null, /*#__PURE__*/React.createElement("p", {
|
|
7243
7243
|
ref: data?.videoTextContent?.refSetter,
|
|
7244
7244
|
className: classes.courseDetailContent,
|
|
7245
7245
|
dangerouslySetInnerHTML: {
|
|
@@ -7324,6 +7324,7 @@ function CoursePromotionPage$1({
|
|
|
7324
7324
|
const classes = useWebinarPromotionPage({
|
|
7325
7325
|
containerWidth
|
|
7326
7326
|
});
|
|
7327
|
+
console.log('extraprops', extraProps);
|
|
7327
7328
|
return /*#__PURE__*/React.createElement("div", {
|
|
7328
7329
|
className: classes.webinarSuperContainer
|
|
7329
7330
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -7334,7 +7335,8 @@ function CoursePromotionPage$1({
|
|
|
7334
7335
|
data: sectionData.components[0].metadata,
|
|
7335
7336
|
webinarCtaClick: extraProps.webinarCtaClick,
|
|
7336
7337
|
conversions: extraProps.conversions,
|
|
7337
|
-
sectionIndex: sectionIndex
|
|
7338
|
+
sectionIndex: sectionIndex,
|
|
7339
|
+
orgId: extraProps?.org_id
|
|
7338
7340
|
}))));
|
|
7339
7341
|
}
|
|
7340
7342
|
|