@bigbinary/neeto-site-blocks 1.2.7 → 1.2.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/dist/index.cjs.js +39 -20
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +39 -20
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -40618,14 +40618,20 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
40618
40618
|
"neeto-site-sticky-header": position === "sticky",
|
|
40619
40619
|
"neeto-site-sticky-header--scroll": !isHeadingWrapperVisible
|
|
40620
40620
|
}, className)
|
|
40621
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
40622
|
-
|
|
40623
|
-
|
|
40621
|
+
}, /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
|
|
40622
|
+
action: properties.logo.action,
|
|
40623
|
+
to: properties.logo.to,
|
|
40624
40624
|
className: classnames("col-start-2 ml-3 flex max-h-8 justify-start sm:ml-0 sm:max-h-10 lg:col-span-3 lg:col-start-1 lg:max-h-14", {
|
|
40625
40625
|
"col-span-10": isEmpty(buttons),
|
|
40626
40626
|
"col-span-3 sm:col-span-4 sm:col-start-2": neetoCist.isNotEmpty(buttons)
|
|
40627
|
-
})
|
|
40628
|
-
|
|
40627
|
+
}),
|
|
40628
|
+
icon: function icon() {
|
|
40629
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
40630
|
+
design: design.logo,
|
|
40631
|
+
src: properties.logo.src
|
|
40632
|
+
});
|
|
40633
|
+
}
|
|
40634
|
+
}, otherProps)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40629
40635
|
className: classnames("col-span-5 col-start-4 hidden items-center justify-center gap-x-6 lg:flex", {
|
|
40630
40636
|
"col-span-9 sm:justify-end": isEmpty(buttons)
|
|
40631
40637
|
})
|
|
@@ -40705,11 +40711,17 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
40705
40711
|
key: getUniqueKey(link.label, index),
|
|
40706
40712
|
style: design.links
|
|
40707
40713
|
}, link, otherProps));
|
|
40708
|
-
})), /*#__PURE__*/React__default["default"].createElement(
|
|
40714
|
+
})), /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
|
|
40715
|
+
action: properties.logo.action,
|
|
40709
40716
|
className: "col-span-6 col-start-4 m-auto flex max-h-8 justify-center sm:col-span-4 sm:col-start-5 sm:max-h-10 lg:col-span-3 lg:col-start-6 lg:max-h-14",
|
|
40710
|
-
|
|
40711
|
-
|
|
40712
|
-
|
|
40717
|
+
to: properties.logo.to,
|
|
40718
|
+
icon: function icon() {
|
|
40719
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
40720
|
+
design: design.logo,
|
|
40721
|
+
src: properties.logo.src
|
|
40722
|
+
});
|
|
40723
|
+
}
|
|
40724
|
+
}, otherProps)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40713
40725
|
className: "col-span-5 col-start-8 hidden justify-end sm:col-span-3 sm:col-start-10 sm:flex"
|
|
40714
40726
|
}, properties.icons.map(function (_icon, index) {
|
|
40715
40727
|
return /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
|
|
@@ -40801,17 +40813,24 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
|
|
|
40801
40813
|
"col-span-10": isEmpty(buttons),
|
|
40802
40814
|
"col-span-4": neetoCist.isNotEmpty(buttons)
|
|
40803
40815
|
})
|
|
40804
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
40805
|
-
|
|
40806
|
-
|
|
40807
|
-
|
|
40808
|
-
|
|
40809
|
-
|
|
40810
|
-
|
|
40811
|
-
|
|
40812
|
-
|
|
40813
|
-
|
|
40814
|
-
|
|
40816
|
+
}, /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
|
|
40817
|
+
action: properties.logo.action,
|
|
40818
|
+
className: "flex w-full gap-x-2",
|
|
40819
|
+
to: properties.logo.to,
|
|
40820
|
+
icon: function icon() {
|
|
40821
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
40822
|
+
className: "max-h-8 sm:max-h-10 lg:max-h-14",
|
|
40823
|
+
design: design.logo,
|
|
40824
|
+
src: properties.logo.src
|
|
40825
|
+
}), /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
40826
|
+
component: "p",
|
|
40827
|
+
style: design.logoTitle,
|
|
40828
|
+
className: classnames({
|
|
40829
|
+
"hidden sm:flex": properties.logo.src
|
|
40830
|
+
})
|
|
40831
|
+
}, properties.logo.title));
|
|
40832
|
+
}
|
|
40833
|
+
}, otherProps))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40815
40834
|
className: "col-span-6 col-start-7 flex items-center justify-end gap-x-6 sm:col-span-5 sm:col-start-8 lg:col-span-7 lg:col-start-6"
|
|
40816
40835
|
}, properties.links.map(function (link, index) {
|
|
40817
40836
|
return /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
|