@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.js
CHANGED
|
@@ -40572,14 +40572,20 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
40572
40572
|
"neeto-site-sticky-header": position === "sticky",
|
|
40573
40573
|
"neeto-site-sticky-header--scroll": !isHeadingWrapperVisible
|
|
40574
40574
|
}, className)
|
|
40575
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
40576
|
-
|
|
40577
|
-
|
|
40575
|
+
}, /*#__PURE__*/React__default.createElement(Link, _extends$2({
|
|
40576
|
+
action: properties.logo.action,
|
|
40577
|
+
to: properties.logo.to,
|
|
40578
40578
|
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", {
|
|
40579
40579
|
"col-span-10": isEmpty(buttons),
|
|
40580
40580
|
"col-span-3 sm:col-span-4 sm:col-start-2": isNotEmpty(buttons)
|
|
40581
|
-
})
|
|
40582
|
-
|
|
40581
|
+
}),
|
|
40582
|
+
icon: function icon() {
|
|
40583
|
+
return /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
40584
|
+
design: design.logo,
|
|
40585
|
+
src: properties.logo.src
|
|
40586
|
+
});
|
|
40587
|
+
}
|
|
40588
|
+
}, otherProps)), /*#__PURE__*/React__default.createElement("div", {
|
|
40583
40589
|
className: classnames("col-span-5 col-start-4 hidden items-center justify-center gap-x-6 lg:flex", {
|
|
40584
40590
|
"col-span-9 sm:justify-end": isEmpty(buttons)
|
|
40585
40591
|
})
|
|
@@ -40659,11 +40665,17 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
40659
40665
|
key: getUniqueKey(link.label, index),
|
|
40660
40666
|
style: design.links
|
|
40661
40667
|
}, link, otherProps));
|
|
40662
|
-
})), /*#__PURE__*/React__default.createElement(
|
|
40668
|
+
})), /*#__PURE__*/React__default.createElement(Link, _extends$2({
|
|
40669
|
+
action: properties.logo.action,
|
|
40663
40670
|
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",
|
|
40664
|
-
|
|
40665
|
-
|
|
40666
|
-
|
|
40671
|
+
to: properties.logo.to,
|
|
40672
|
+
icon: function icon() {
|
|
40673
|
+
return /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
40674
|
+
design: design.logo,
|
|
40675
|
+
src: properties.logo.src
|
|
40676
|
+
});
|
|
40677
|
+
}
|
|
40678
|
+
}, otherProps)), /*#__PURE__*/React__default.createElement("div", {
|
|
40667
40679
|
className: "col-span-5 col-start-8 hidden justify-end sm:col-span-3 sm:col-start-10 sm:flex"
|
|
40668
40680
|
}, properties.icons.map(function (_icon, index) {
|
|
40669
40681
|
return /*#__PURE__*/React__default.createElement(Link, _extends$2({
|
|
@@ -40755,17 +40767,24 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
|
|
|
40755
40767
|
"col-span-10": isEmpty(buttons),
|
|
40756
40768
|
"col-span-4": isNotEmpty(buttons)
|
|
40757
40769
|
})
|
|
40758
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
40759
|
-
|
|
40760
|
-
|
|
40761
|
-
|
|
40762
|
-
|
|
40763
|
-
|
|
40764
|
-
|
|
40765
|
-
|
|
40766
|
-
|
|
40767
|
-
|
|
40768
|
-
|
|
40770
|
+
}, /*#__PURE__*/React__default.createElement(Link, _extends$2({
|
|
40771
|
+
action: properties.logo.action,
|
|
40772
|
+
className: "flex w-full gap-x-2",
|
|
40773
|
+
to: properties.logo.to,
|
|
40774
|
+
icon: function icon() {
|
|
40775
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
40776
|
+
className: "max-h-8 sm:max-h-10 lg:max-h-14",
|
|
40777
|
+
design: design.logo,
|
|
40778
|
+
src: properties.logo.src
|
|
40779
|
+
}), /*#__PURE__*/React__default.createElement(Typography$1, {
|
|
40780
|
+
component: "p",
|
|
40781
|
+
style: design.logoTitle,
|
|
40782
|
+
className: classnames({
|
|
40783
|
+
"hidden sm:flex": properties.logo.src
|
|
40784
|
+
})
|
|
40785
|
+
}, properties.logo.title));
|
|
40786
|
+
}
|
|
40787
|
+
}, otherProps))), /*#__PURE__*/React__default.createElement("div", {
|
|
40769
40788
|
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"
|
|
40770
40789
|
}, properties.links.map(function (link, index) {
|
|
40771
40790
|
return /*#__PURE__*/React__default.createElement(Link, _extends$2({
|