@bigbinary/neeto-site-blocks 1.10.8 → 1.10.10
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/dist/index.cjs.js +67 -19
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +67 -19
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -14120,7 +14120,7 @@ var withConditionalRender = function withConditionalRender(Component, condition)
|
|
|
14120
14120
|
return ConditionalRender;
|
|
14121
14121
|
};
|
|
14122
14122
|
|
|
14123
|
-
var _excluded$B = ["id", "disableButtonAndLinks", "wrapperClassName", "index", "image"];
|
|
14123
|
+
var _excluded$B = ["id", "disableButtonAndLinks", "wrapperClassName", "index", "image", "isAddNewPane"];
|
|
14124
14124
|
var StyledImage = styled__default["default"].img.attrs(function () {
|
|
14125
14125
|
return {
|
|
14126
14126
|
className: "hover:mix-blend-multiply"
|
|
@@ -14152,6 +14152,8 @@ var StyledImageWithWrapper = function StyledImageWithWrapper(_ref2) {
|
|
|
14152
14152
|
wrapperClassName = _ref2.wrapperClassName,
|
|
14153
14153
|
index = _ref2.index,
|
|
14154
14154
|
image = _ref2.image,
|
|
14155
|
+
_ref2$isAddNewPane = _ref2.isAddNewPane,
|
|
14156
|
+
isAddNewPane = _ref2$isAddNewPane === void 0 ? false : _ref2$isAddNewPane,
|
|
14155
14157
|
props = _objectWithoutProperties__default["default"](_ref2, _excluded$B);
|
|
14156
14158
|
var _useElementClick = useElementClick({
|
|
14157
14159
|
id: id,
|
|
@@ -14160,7 +14162,7 @@ var StyledImageWithWrapper = function StyledImageWithWrapper(_ref2) {
|
|
|
14160
14162
|
handleImageClick = _useElementClick.handleImageClick;
|
|
14161
14163
|
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
14162
14164
|
className: classnames__default["default"]("flex justify-center", _defineProperty__default["default"]({
|
|
14163
|
-
"neeto-site-highlight__element": disableButtonAndLinks
|
|
14165
|
+
"neeto-site-highlight__element": disableButtonAndLinks && !isAddNewPane
|
|
14164
14166
|
}, wrapperClassName, wrapperClassName)),
|
|
14165
14167
|
onClick: disableButtonAndLinks && handleImageClick
|
|
14166
14168
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage, _extends__default["default"]({
|
|
@@ -15373,11 +15375,13 @@ var Button = function Button(_ref) {
|
|
|
15373
15375
|
Link = _ref.link,
|
|
15374
15376
|
_ref$disableButtonAnd = _ref.disableButtonAndLinks,
|
|
15375
15377
|
disableButtonAndLinks = _ref$disableButtonAnd === void 0 ? false : _ref$disableButtonAnd,
|
|
15378
|
+
_ref$isAddNewPane = _ref.isAddNewPane,
|
|
15379
|
+
isAddNewPane = _ref$isAddNewPane === void 0 ? false : _ref$isAddNewPane,
|
|
15376
15380
|
id = _ref.id,
|
|
15377
15381
|
index = _ref.index;
|
|
15378
15382
|
var anchorBaseClass = classnames__default["default"]("inline-flex items-center justify-center transition-all duration-300 ease-in-out", {
|
|
15379
|
-
"neeto-site-highlight__element after:z-10": disableButtonAndLinks,
|
|
15380
|
-
"pointer-events-none": !disableButtonAndLinks && action === ""
|
|
15383
|
+
"neeto-site-highlight__element after:z-10": disableButtonAndLinks && !isAddNewPane,
|
|
15384
|
+
"pointer-events-none": isAddNewPane || !disableButtonAndLinks && action === ""
|
|
15381
15385
|
});
|
|
15382
15386
|
var _useElementClick = useElementClick({
|
|
15383
15387
|
id: id,
|
|
@@ -15449,7 +15453,7 @@ var PageAndScroll = function PageAndScroll(_ref) {
|
|
|
15449
15453
|
}), label, Icon && /*#__PURE__*/React__default["default"].createElement(Icon, null), children);
|
|
15450
15454
|
};
|
|
15451
15455
|
|
|
15452
|
-
var _excluded$x = ["to", "label", "style", "className", "icon", "action", "baseUrl", "draftMode", "link", "isHighlighted", "disableButtonAndLinks", "children", "disableHovering", "setIsMenuOpen", "id", "index", "router"];
|
|
15456
|
+
var _excluded$x = ["to", "label", "style", "className", "icon", "action", "baseUrl", "draftMode", "link", "isHighlighted", "disableButtonAndLinks", "children", "disableHovering", "setIsMenuOpen", "isAddNewPane", "id", "index", "router"];
|
|
15453
15457
|
function ownKeys$l(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
15454
15458
|
function _objectSpread$l(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$l(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$l(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
15455
15459
|
var LinkElement = function LinkElement(_ref) {
|
|
@@ -15478,13 +15482,15 @@ var LinkElement = function LinkElement(_ref) {
|
|
|
15478
15482
|
_ref$disableHovering = _ref.disableHovering,
|
|
15479
15483
|
disableHovering = _ref$disableHovering === void 0 ? false : _ref$disableHovering,
|
|
15480
15484
|
setIsMenuOpen = _ref.setIsMenuOpen,
|
|
15485
|
+
_ref$isAddNewPane = _ref.isAddNewPane,
|
|
15486
|
+
isAddNewPane = _ref$isAddNewPane === void 0 ? false : _ref$isAddNewPane,
|
|
15481
15487
|
id = _ref.id,
|
|
15482
15488
|
index = _ref.index,
|
|
15483
15489
|
router = _ref.router,
|
|
15484
15490
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$x);
|
|
15485
15491
|
var baseClass = classnames__default["default"]("inline-flex items-center transition-all duration-300 ease-in-out relative", {
|
|
15486
|
-
"neeto-site-highlight__element": disableButtonAndLinks,
|
|
15487
|
-
"pointer-events-none": !disableButtonAndLinks && action === ""
|
|
15492
|
+
"neeto-site-highlight__element": disableButtonAndLinks && !isAddNewPane,
|
|
15493
|
+
"pointer-events-none": isAddNewPane || !disableButtonAndLinks && action === ""
|
|
15488
15494
|
});
|
|
15489
15495
|
var _useElementClick = useElementClick({
|
|
15490
15496
|
id: id,
|
|
@@ -15492,6 +15498,7 @@ var LinkElement = function LinkElement(_ref) {
|
|
|
15492
15498
|
}),
|
|
15493
15499
|
handleClick = _useElementClick.handleClick;
|
|
15494
15500
|
var handleLinkClick = function handleLinkClick(event) {
|
|
15501
|
+
if (isAddNewPane) return;
|
|
15495
15502
|
setIsMenuOpen && setIsMenuOpen(false);
|
|
15496
15503
|
disableButtonAndLinks && handleClick(event);
|
|
15497
15504
|
};
|
|
@@ -15811,7 +15818,7 @@ var Toggle = function Toggle(_ref) {
|
|
|
15811
15818
|
})));
|
|
15812
15819
|
};
|
|
15813
15820
|
|
|
15814
|
-
var _excluded$u = ["style", "component", "className", "isTitle", "children", "disableButtonAndLinks", "id", "index"];
|
|
15821
|
+
var _excluded$u = ["style", "component", "className", "isTitle", "children", "disableButtonAndLinks", "id", "index", "isAddNewPane"];
|
|
15815
15822
|
var Typography = function Typography(_ref) {
|
|
15816
15823
|
var _ref$style = _ref.style,
|
|
15817
15824
|
style = _ref$style === void 0 ? DEFAULT_TYPOGRAPHY_STYLES : _ref$style,
|
|
@@ -15826,6 +15833,8 @@ var Typography = function Typography(_ref) {
|
|
|
15826
15833
|
disableButtonAndLinks = _ref$disableButtonAnd === void 0 ? false : _ref$disableButtonAnd,
|
|
15827
15834
|
id = _ref.id,
|
|
15828
15835
|
index = _ref.index,
|
|
15836
|
+
_ref$isAddNewPane = _ref.isAddNewPane,
|
|
15837
|
+
isAddNewPane = _ref$isAddNewPane === void 0 ? false : _ref$isAddNewPane,
|
|
15829
15838
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$u);
|
|
15830
15839
|
var _useElementClick = useElementClick({
|
|
15831
15840
|
id: id,
|
|
@@ -15841,9 +15850,9 @@ var Typography = function Typography(_ref) {
|
|
|
15841
15850
|
as: isTitle ? component : COMPONENTS.div,
|
|
15842
15851
|
design: style,
|
|
15843
15852
|
className: classnames__default["default"]("neeto-site-typography break-words", className, {
|
|
15844
|
-
"neeto-site-highlight__element": disableButtonAndLinks
|
|
15853
|
+
"neeto-site-highlight__element": disableButtonAndLinks && !isAddNewPane
|
|
15845
15854
|
}),
|
|
15846
|
-
onClick: handleTitleClick
|
|
15855
|
+
onClick: !isAddNewPane && handleTitleClick
|
|
15847
15856
|
}, otherProps), isTitle ? children : /*#__PURE__*/React__default["default"].createElement(StyledInterweave, {
|
|
15848
15857
|
className: "neeto-editor-content",
|
|
15849
15858
|
content: children,
|
|
@@ -15898,6 +15907,7 @@ var BlogContent = function BlogContent(_ref) {
|
|
|
15898
15907
|
design: design.image,
|
|
15899
15908
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
15900
15909
|
id: "blog-content-image",
|
|
15910
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
15901
15911
|
src: imageSrc
|
|
15902
15912
|
})), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
15903
15913
|
className: textClasses,
|
|
@@ -21096,7 +21106,9 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21096
21106
|
index: index,
|
|
21097
21107
|
design: ramda.mergeRight(design.cardImage, style),
|
|
21098
21108
|
id: "cards-in-grid-view-".concat(index, "-image"),
|
|
21109
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
21099
21110
|
src: imageUrl,
|
|
21111
|
+
wrapperClassName: "h-full w-full",
|
|
21100
21112
|
className: classnames__default["default"]("mx-auto", {
|
|
21101
21113
|
"max-h-40": mode === "landscape",
|
|
21102
21114
|
"max-h-72": mode === "portrait"
|
|
@@ -21109,11 +21121,13 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21109
21121
|
isTitle: true,
|
|
21110
21122
|
component: "h5",
|
|
21111
21123
|
id: "cards-in-grid-view-".concat(index, "-title"),
|
|
21124
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
21112
21125
|
style: design.cardTitle
|
|
21113
21126
|
}, title), /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
21114
21127
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
21115
21128
|
index: index,
|
|
21116
21129
|
id: "cards-in-grid-view-".concat(index, "-description"),
|
|
21130
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
21117
21131
|
style: design.cardDescription
|
|
21118
21132
|
}, description))));
|
|
21119
21133
|
};
|
|
@@ -21134,6 +21148,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21134
21148
|
className: "col-span-12",
|
|
21135
21149
|
component: "h3",
|
|
21136
21150
|
id: "cards-in-grid-view-title",
|
|
21151
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
21137
21152
|
style: design.title
|
|
21138
21153
|
}, title), /*#__PURE__*/React__default["default"].createElement(ArrowButton, {
|
|
21139
21154
|
isStart: true,
|
|
@@ -21406,8 +21421,9 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
21406
21421
|
className: "!justify-self-end",
|
|
21407
21422
|
design: design.cardImage,
|
|
21408
21423
|
id: "cards-with-image-".concat(index, "-image"),
|
|
21424
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
21409
21425
|
src: imageUrl,
|
|
21410
|
-
wrapperClassName: "grid"
|
|
21426
|
+
wrapperClassName: "grid h-full w-full"
|
|
21411
21427
|
}))));
|
|
21412
21428
|
}), isAddMoreRequired && /*#__PURE__*/React__default["default"].createElement(MotionWrapper, {
|
|
21413
21429
|
enableAnimation: enableAnimation,
|
|
@@ -21725,6 +21741,7 @@ var CtaWithLogo = function CtaWithLogo(_ref) {
|
|
|
21725
21741
|
design: design.logo,
|
|
21726
21742
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
21727
21743
|
id: "cta-with-logo-logo",
|
|
21744
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
21728
21745
|
src: logoUrl,
|
|
21729
21746
|
wrapperClassName: "flex item-center flex-shrink-0"
|
|
21730
21747
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -22052,6 +22069,7 @@ var FeatureWithDetails = function FeatureWithDetails(_ref) {
|
|
|
22052
22069
|
design: design.media,
|
|
22053
22070
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
22054
22071
|
id: "feature-with-details-media",
|
|
22072
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
22055
22073
|
lgImageWidth: design.media.width,
|
|
22056
22074
|
src: imageUrl
|
|
22057
22075
|
})));
|
|
@@ -22115,6 +22133,7 @@ var FeatureWithGrid = function FeatureWithGrid(_ref) {
|
|
|
22115
22133
|
design: design.media,
|
|
22116
22134
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
22117
22135
|
id: "feature-with-grid-media",
|
|
22136
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
22118
22137
|
src: imageURL
|
|
22119
22138
|
})), features.map(function (_ref2, index) {
|
|
22120
22139
|
var featureTitle = _ref2.title,
|
|
@@ -22134,6 +22153,7 @@ var FeatureWithGrid = function FeatureWithGrid(_ref) {
|
|
|
22134
22153
|
design: design.featureImage,
|
|
22135
22154
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
22136
22155
|
id: "feature-with-grid-".concat(index, "-image"),
|
|
22156
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
22137
22157
|
src: featureImageUrl,
|
|
22138
22158
|
title: featureImageTitle
|
|
22139
22159
|
}), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
@@ -22212,6 +22232,7 @@ var FeatureWithImage = function FeatureWithImage(_ref) {
|
|
|
22212
22232
|
design: design.media,
|
|
22213
22233
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
22214
22234
|
id: "feature-with-image-media",
|
|
22235
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
22215
22236
|
lgImageWidth: design.media.width,
|
|
22216
22237
|
src: imageUrl
|
|
22217
22238
|
})));
|
|
@@ -22357,6 +22378,7 @@ var FeatureWithList = function FeatureWithList(_ref) {
|
|
|
22357
22378
|
design: design.media,
|
|
22358
22379
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
22359
22380
|
id: "feature-with-list-media",
|
|
22381
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
22360
22382
|
lgImageWidth: design.media.width,
|
|
22361
22383
|
src: imageURL
|
|
22362
22384
|
})));
|
|
@@ -22484,6 +22506,7 @@ var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
|
|
|
22484
22506
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
22485
22507
|
id: "feature-with-progress-bar-".concat(selectedTabId - 1, "-media"),
|
|
22486
22508
|
index: selectedTabId - 1,
|
|
22509
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
22487
22510
|
isEmbedded: features[selectedTabId - 1].media.isEmbedded,
|
|
22488
22511
|
src: features[selectedTabId - 1].media.src,
|
|
22489
22512
|
videoUrl: features[selectedTabId - 1].media.videoUrl
|
|
@@ -22535,6 +22558,7 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
22535
22558
|
design: design.logo,
|
|
22536
22559
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
22537
22560
|
id: "footer-classic-logo",
|
|
22561
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
22538
22562
|
src: logo.src,
|
|
22539
22563
|
wrapperClassName: "mb-4 sm:mb-0"
|
|
22540
22564
|
}), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
|
|
@@ -22591,6 +22615,7 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
22591
22615
|
design: design.logo,
|
|
22592
22616
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
22593
22617
|
id: "footer-classic-logo",
|
|
22618
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
22594
22619
|
src: logo.src
|
|
22595
22620
|
})), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
|
|
22596
22621
|
className: "flex flex-grow flex-wrap gap-x-7 gap-y-4 sm:justify-end",
|
|
@@ -22672,6 +22697,7 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
|
22672
22697
|
design: design.logo,
|
|
22673
22698
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
22674
22699
|
id: "footer-with-icons-logo",
|
|
22700
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
22675
22701
|
src: logo.src,
|
|
22676
22702
|
wrapperClassName: "items-center"
|
|
22677
22703
|
}), logo.src && /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
@@ -22751,6 +22777,7 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
22751
22777
|
design: design.logo,
|
|
22752
22778
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
22753
22779
|
id: "footer-with-links-logo",
|
|
22780
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
22754
22781
|
src: logo.src
|
|
22755
22782
|
}), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
22756
22783
|
design: design.logoTitle,
|
|
@@ -22821,7 +22848,7 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
22821
22848
|
style: design.columnLinks,
|
|
22822
22849
|
to: type === "Email" ? "mailto:".concat(value) : "tel:".concat(value)
|
|
22823
22850
|
}, otherProps, {
|
|
22824
|
-
className: "break-all"
|
|
22851
|
+
className: "break-all leading-snug"
|
|
22825
22852
|
})));
|
|
22826
22853
|
})), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
|
|
22827
22854
|
className: "mt-2 flex gap-x-3",
|
|
@@ -22853,7 +22880,8 @@ var GalleryClassic = function GalleryClassic(_ref) {
|
|
|
22853
22880
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
22854
22881
|
id = _ref.id,
|
|
22855
22882
|
disableButtonAndLinks = _ref.disableButtonAndLinks,
|
|
22856
|
-
image = _ref.image
|
|
22883
|
+
image = _ref.image,
|
|
22884
|
+
isAddNewPane = _ref.isAddNewPane;
|
|
22857
22885
|
var _useState = React.useState(null),
|
|
22858
22886
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
22859
22887
|
swiper = _useState2[0],
|
|
@@ -22881,12 +22909,14 @@ var GalleryClassic = function GalleryClassic(_ref) {
|
|
|
22881
22909
|
className: "col-span-12 col-start-1 sm:col-span-6 sm:col-start-4"
|
|
22882
22910
|
}, /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
22883
22911
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
22912
|
+
isAddNewPane: isAddNewPane,
|
|
22884
22913
|
isTitle: true,
|
|
22885
22914
|
component: "h3",
|
|
22886
22915
|
id: "gallery-classic-title",
|
|
22887
22916
|
style: design.title
|
|
22888
22917
|
}, title), /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
22889
22918
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
22919
|
+
isAddNewPane: isAddNewPane,
|
|
22890
22920
|
id: "gallery-classic-description",
|
|
22891
22921
|
style: design.description
|
|
22892
22922
|
}, description)), /*#__PURE__*/React__default["default"].createElement(ArrowButton, {
|
|
@@ -22925,6 +22955,7 @@ var GalleryClassic = function GalleryClassic(_ref) {
|
|
|
22925
22955
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
22926
22956
|
image: image,
|
|
22927
22957
|
index: index,
|
|
22958
|
+
isAddNewPane: isAddNewPane,
|
|
22928
22959
|
src: src,
|
|
22929
22960
|
alt: caption,
|
|
22930
22961
|
className: "sliding-image",
|
|
@@ -23766,7 +23797,9 @@ var GalleryWithAutoplay = function GalleryWithAutoplay(_ref) {
|
|
|
23766
23797
|
design: style,
|
|
23767
23798
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
23768
23799
|
id: "gallery-with-autoplay-images-".concat(index, "-image"),
|
|
23769
|
-
|
|
23800
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
23801
|
+
title: caption,
|
|
23802
|
+
wrapperClassName: "h-full w-full"
|
|
23770
23803
|
}));
|
|
23771
23804
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23772
23805
|
className: "ns-gallery-with-sliding-images sm:col-span-6 sm:col-start-4"
|
|
@@ -23990,6 +24023,7 @@ var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
|
|
|
23990
24023
|
design: design.logo,
|
|
23991
24024
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
23992
24025
|
id: "header-with-dropdown-links-logo",
|
|
24026
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
23993
24027
|
src: properties.logo.src
|
|
23994
24028
|
}), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
23995
24029
|
component: "p",
|
|
@@ -24097,6 +24131,7 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
24097
24131
|
design: design.logo,
|
|
24098
24132
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
24099
24133
|
id: "header-with-icons-logo",
|
|
24134
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
24100
24135
|
src: properties.logo.src
|
|
24101
24136
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24102
24137
|
className: "col-span-5 col-start-8 hidden justify-end sm:col-span-3 sm:col-start-10 sm:flex"
|
|
@@ -24213,6 +24248,7 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
|
|
|
24213
24248
|
design: design.logo,
|
|
24214
24249
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
24215
24250
|
id: "header-with-logo-title-logo",
|
|
24251
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
24216
24252
|
src: properties.logo.src
|
|
24217
24253
|
}), /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
24218
24254
|
component: "p",
|
|
@@ -24323,7 +24359,7 @@ var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
|
|
|
24323
24359
|
"sm:col-span-12 lg:col-start-1": !mediaURL
|
|
24324
24360
|
});
|
|
24325
24361
|
var buttonBaseClasses = classnames__default["default"]("flex w-full items-center gap-x-3", {
|
|
24326
|
-
"sm
|
|
24362
|
+
"sm:!justify-start": mediaURL && (mediaPosition === POSITIONS.LEFT.label || mediaPosition === POSITIONS.RIGHT.label)
|
|
24327
24363
|
});
|
|
24328
24364
|
return /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
|
|
24329
24365
|
className: className,
|
|
@@ -24375,6 +24411,7 @@ var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
|
|
|
24375
24411
|
design: design.media,
|
|
24376
24412
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
24377
24413
|
id: "hero-with-call-to-action-media",
|
|
24414
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
24378
24415
|
src: imageURL
|
|
24379
24416
|
})));
|
|
24380
24417
|
};
|
|
@@ -24462,6 +24499,7 @@ var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
|
24462
24499
|
isTitle: true,
|
|
24463
24500
|
component: "h3",
|
|
24464
24501
|
id: "hero-with-gallery-slide-".concat(index, "-prefixTitle"),
|
|
24502
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
24465
24503
|
style: design.prefixTitle
|
|
24466
24504
|
}, content.prefixTitle), /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
24467
24505
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
@@ -24470,6 +24508,7 @@ var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
|
24470
24508
|
className: textClasses(_objectSpread$2({}, media)),
|
|
24471
24509
|
component: "h1",
|
|
24472
24510
|
id: "hero-with-gallery-slide-".concat(index, "-title"),
|
|
24511
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
24473
24512
|
style: design.title
|
|
24474
24513
|
}, content.title), /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
24475
24514
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
@@ -24477,6 +24516,7 @@ var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
|
24477
24516
|
className: textClasses(_objectSpread$2({}, media)),
|
|
24478
24517
|
component: "p",
|
|
24479
24518
|
id: "hero-with-gallery-slide-".concat(index, "-description"),
|
|
24519
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
24480
24520
|
style: design.description
|
|
24481
24521
|
}, content.description), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24482
24522
|
className: buttonBaseClasses(_objectSpread$2({}, media))
|
|
@@ -24502,6 +24542,7 @@ var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
|
24502
24542
|
autoPlay: media.autoPlay,
|
|
24503
24543
|
design: design.media,
|
|
24504
24544
|
id: "hero-with-gallery-slide-".concat(index, "-media"),
|
|
24545
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
24505
24546
|
isEmbedded: media.isEmbedded,
|
|
24506
24547
|
lgImageSize: design.media.width,
|
|
24507
24548
|
src: media.src,
|
|
@@ -24567,7 +24608,8 @@ var LogoClouds = function LogoClouds(_ref) {
|
|
|
24567
24608
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
24568
24609
|
id = _ref.id,
|
|
24569
24610
|
disableButtonAndLinks = _ref.disableButtonAndLinks,
|
|
24570
|
-
image = _ref.image
|
|
24611
|
+
image = _ref.image,
|
|
24612
|
+
isAddNewPane = _ref.isAddNewPane;
|
|
24571
24613
|
var properties = configurations.properties,
|
|
24572
24614
|
design = configurations.design;
|
|
24573
24615
|
var _properties$logos = properties.logos,
|
|
@@ -24599,6 +24641,7 @@ var LogoClouds = function LogoClouds(_ref) {
|
|
|
24599
24641
|
nestedClassName: baseClasses
|
|
24600
24642
|
}, /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
24601
24643
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
24644
|
+
isAddNewPane: isAddNewPane,
|
|
24602
24645
|
isTitle: true,
|
|
24603
24646
|
className: "col-span-12",
|
|
24604
24647
|
component: "h3",
|
|
@@ -24618,6 +24661,7 @@ var LogoClouds = function LogoClouds(_ref) {
|
|
|
24618
24661
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
24619
24662
|
image: image,
|
|
24620
24663
|
index: index,
|
|
24664
|
+
isAddNewPane: isAddNewPane,
|
|
24621
24665
|
src: src,
|
|
24622
24666
|
title: title,
|
|
24623
24667
|
className: "logo-image",
|
|
@@ -24987,7 +25031,7 @@ var TestimonialWithSlider = function TestimonialWithSlider(_ref) {
|
|
|
24987
25031
|
});
|
|
24988
25032
|
};
|
|
24989
25033
|
var contentClasses = function contentClasses(imagePosition) {
|
|
24990
|
-
return classnames__default["default"]("col-span-12 my-auto sm:col-span-7
|
|
25034
|
+
return classnames__default["default"]("col-span-12 my-auto sm:col-span-7", {
|
|
24991
25035
|
"sm:col-start-5": POSITIONS.LEFT.label === imagePosition,
|
|
24992
25036
|
"sm:col-start-2": POSITIONS.RIGHT.label === imagePosition
|
|
24993
25037
|
});
|
|
@@ -25041,7 +25085,8 @@ var TestimonialWithSlider = function TestimonialWithSlider(_ref) {
|
|
|
25041
25085
|
className: "ns-testimonial-image-aspect-ratio object-cover",
|
|
25042
25086
|
design: design.testimonialImage,
|
|
25043
25087
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
25044
|
-
id: "testimonial-with-slider-".concat(index, "-image")
|
|
25088
|
+
id: "testimonial-with-slider-".concat(index, "-image"),
|
|
25089
|
+
isAddNewPane: otherProps.isAddNewPane
|
|
25045
25090
|
}), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
25046
25091
|
index: index,
|
|
25047
25092
|
isTitle: true,
|
|
@@ -25064,6 +25109,7 @@ var TestimonialWithSlider = function TestimonialWithSlider(_ref) {
|
|
|
25064
25109
|
design: design.testimonialLogo,
|
|
25065
25110
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
25066
25111
|
id: "testimonial-with-slider-".concat(index, "-logo"),
|
|
25112
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
25067
25113
|
src: logoUrl
|
|
25068
25114
|
}), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
25069
25115
|
style: design.testimonialDescription
|
|
@@ -25160,7 +25206,8 @@ var TestimonialWithVerticalView = function TestimonialWithVerticalView(_ref) {
|
|
|
25160
25206
|
className: "ns-testimonial-image-aspect-ratio",
|
|
25161
25207
|
design: design.testimonialImage,
|
|
25162
25208
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
25163
|
-
id: "testimonial-with-vertical-view-images-".concat(index, "-image")
|
|
25209
|
+
id: "testimonial-with-vertical-view-images-".concat(index, "-image"),
|
|
25210
|
+
isAddNewPane: otherProps.isAddNewPane
|
|
25164
25211
|
}), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
25165
25212
|
index: index,
|
|
25166
25213
|
isTitle: true,
|
|
@@ -25181,6 +25228,7 @@ var TestimonialWithVerticalView = function TestimonialWithVerticalView(_ref) {
|
|
|
25181
25228
|
design: design.testimonialLogo,
|
|
25182
25229
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
25183
25230
|
id: "testimonial-with-vertical-view-images-".concat(index, "-logo"),
|
|
25231
|
+
isAddNewPane: otherProps.isAddNewPane,
|
|
25184
25232
|
src: logoUrl
|
|
25185
25233
|
}), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
25186
25234
|
index: index,
|