@bigbinary/neeto-site-blocks 1.18.5 → 1.18.7
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 +9 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -7227,9 +7227,15 @@ var Button = function Button(_ref) {
|
|
|
7227
7227
|
children: label
|
|
7228
7228
|
}));
|
|
7229
7229
|
}
|
|
7230
|
+
if (action === "embed") {
|
|
7231
|
+
return /*#__PURE__*/jsxRuntime.jsx(StyledAnchor, _objectSpread$B(_objectSpread$B({}, commonProps), {}, {
|
|
7232
|
+
as: "button",
|
|
7233
|
+
href: "",
|
|
7234
|
+
children: label
|
|
7235
|
+
}));
|
|
7236
|
+
}
|
|
7230
7237
|
return /*#__PURE__*/jsxRuntime.jsx(StyledAnchor, _objectSpread$B(_objectSpread$B({}, commonProps), {}, {
|
|
7231
|
-
|
|
7232
|
-
href: action === "embed" && "",
|
|
7238
|
+
to: commonProps.href,
|
|
7233
7239
|
children: label
|
|
7234
7240
|
}));
|
|
7235
7241
|
};
|
|
@@ -7471,7 +7477,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
7471
7477
|
})
|
|
7472
7478
|
})]
|
|
7473
7479
|
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
7474
|
-
className: classnames__default["default"]("hidden min-w-40 rounded-b border border-t-0 border-gray-300 bg-white", {
|
|
7480
|
+
className: classnames__default["default"]("z-[110] hidden min-w-40 rounded-b border border-t-0 border-gray-300 bg-white", {
|
|
7475
7481
|
"fixed flex-col lg:flex": isOpen
|
|
7476
7482
|
}),
|
|
7477
7483
|
onMouseEnter: function onMouseEnter() {
|