@bigbinary/neeto-site-blocks 1.14.0 → 1.14.2
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 +4 -7
- 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 +4 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -12983,12 +12983,9 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
12983
12983
|
alt = _ref2.alt;
|
|
12984
12984
|
return /*#__PURE__*/jsxRuntime.jsx(MotionWrapper, {
|
|
12985
12985
|
enableAnimation: enableAnimation,
|
|
12986
|
+
className: "col-span-12 h-full cursor-pointer space-y-8 sm:col-span-6 lg:col-span-4",
|
|
12986
12987
|
design: design.card,
|
|
12987
12988
|
duration: 0.01,
|
|
12988
|
-
className: classnames__default["default"]("ns-card-in-grid-view col-span-12 cursor-pointer space-y-8 sm:col-span-6 lg:col-span-4", {
|
|
12989
|
-
"ns-card-in-grid-view--landscape": mode === "landscape",
|
|
12990
|
-
"ns-card-in-grid-view--portrait": mode === "portrait"
|
|
12991
|
-
}),
|
|
12992
12989
|
children: /*#__PURE__*/jsxRuntime.jsxs(Link, _objectSpread$s(_objectSpread$s({
|
|
12993
12990
|
action: action,
|
|
12994
12991
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
@@ -13005,9 +13002,9 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
13005
13002
|
isAddNewPane: otherProps.isAddNewPane,
|
|
13006
13003
|
src: imageUrl,
|
|
13007
13004
|
wrapperClassName: "h-full w-full",
|
|
13008
|
-
className: classnames__default["default"]("mx-auto", {
|
|
13005
|
+
className: classnames__default["default"]("mx-auto !aspect-video", {
|
|
13009
13006
|
"max-h-40": mode === "landscape",
|
|
13010
|
-
"max-h-
|
|
13007
|
+
"max-h-96": mode === "portrait"
|
|
13011
13008
|
})
|
|
13012
13009
|
}), /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
13013
13010
|
className: "gap-x-2 sm:gap-y-4",
|
|
@@ -13772,7 +13769,7 @@ var EmbedBooking = function EmbedBooking(_ref) {
|
|
|
13772
13769
|
src = properties.backgroundImage.src;
|
|
13773
13770
|
var iframeInitialContent = neetoCist.isNotEmpty(code) ? "<!DOCTYPE html><html><head></head><body><div class=\"embed-booking\">\n ".concat(code, "\n </div></body></html>") : (disableButtonAndLinks || isAddNewPane) && embedPage(embedUrl);
|
|
13774
13771
|
var baseClasses = "grid gap-y-6 lg:gap-6 grid-cols-12 grid-flow-row-dense";
|
|
13775
|
-
var mediaBaseClasses = classnames__default["default"]("col-span-12 flex flex-col items-center justify-center w-full h-[550px] border border-gray-100", {
|
|
13772
|
+
var mediaBaseClasses = classnames__default["default"]("col-span-12 flex flex-col items-center justify-center !w-full h-[550px] border border-gray-100", {
|
|
13776
13773
|
"order-1 lg:col-span-7": POSITIONS.LEFT.label === embedPosition,
|
|
13777
13774
|
"order-2 lg:col-span-7": POSITIONS.RIGHT.label === embedPosition,
|
|
13778
13775
|
"lg:col-span-12 flex justify-center": POSITIONS.BOTTOM.label === embedPosition,
|