@bigbinary/neeto-site-blocks 1.2.2 → 1.2.3
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 +21 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +21 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2833,6 +2833,20 @@ var IMAGE_POSITIONS = {
|
|
|
2833
2833
|
left: "left",
|
|
2834
2834
|
right: "right"
|
|
2835
2835
|
};
|
|
2836
|
+
var LOGO_SIZE_VALUES = {
|
|
2837
|
+
xs: 10,
|
|
2838
|
+
sm: 14,
|
|
2839
|
+
md: 20,
|
|
2840
|
+
lg: 24,
|
|
2841
|
+
xl: 28,
|
|
2842
|
+
"2xl": 32,
|
|
2843
|
+
"3xl": 36,
|
|
2844
|
+
"4xl": 40,
|
|
2845
|
+
"5xl": 44,
|
|
2846
|
+
"6xl": 48,
|
|
2847
|
+
"7xl": 52,
|
|
2848
|
+
"8xl": 56
|
|
2849
|
+
};
|
|
2836
2850
|
|
|
2837
2851
|
var index$1 = /*#__PURE__*/Object.freeze({
|
|
2838
2852
|
__proto__: null,
|
|
@@ -2857,7 +2871,8 @@ var index$1 = /*#__PURE__*/Object.freeze({
|
|
|
2857
2871
|
DEFAULT_BUTTON_STYLES: DEFAULT_BUTTON_STYLES,
|
|
2858
2872
|
DEFAULT_TYPOGRAPHY_STYLES: DEFAULT_TYPOGRAPHY_STYLES,
|
|
2859
2873
|
DEFAULT_LINK_STYLES: DEFAULT_LINK_STYLES,
|
|
2860
|
-
IMAGE_POSITIONS: IMAGE_POSITIONS
|
|
2874
|
+
IMAGE_POSITIONS: IMAGE_POSITIONS,
|
|
2875
|
+
LOGO_SIZE_VALUES: LOGO_SIZE_VALUES
|
|
2861
2876
|
});
|
|
2862
2877
|
|
|
2863
2878
|
var _excluded$1A = ["size"];
|
|
@@ -40532,8 +40547,8 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
40532
40547
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
40533
40548
|
ref: headerIntersectorRef
|
|
40534
40549
|
}), /*#__PURE__*/React__default.createElement(BlockWrapper, {
|
|
40535
|
-
design: design.body,
|
|
40536
40550
|
id: id,
|
|
40551
|
+
design: design.body,
|
|
40537
40552
|
nestedClassName: baseClasses,
|
|
40538
40553
|
nestedComponent: StyledWrapper,
|
|
40539
40554
|
className: classnames({
|
|
@@ -40543,7 +40558,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
40543
40558
|
}, /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
40544
40559
|
design: design.logo,
|
|
40545
40560
|
src: properties.logo.src,
|
|
40546
|
-
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-
|
|
40561
|
+
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", {
|
|
40547
40562
|
"col-span-10": isEmpty(buttons),
|
|
40548
40563
|
"col-span-3 sm:col-span-4 sm:col-start-2": isNotEmpty(buttons)
|
|
40549
40564
|
})
|
|
@@ -40608,8 +40623,8 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
40608
40623
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
40609
40624
|
ref: headerIntersectorRef
|
|
40610
40625
|
}), /*#__PURE__*/React__default.createElement(BlockWrapper, {
|
|
40611
|
-
design: design.body,
|
|
40612
40626
|
id: id,
|
|
40627
|
+
design: design.body,
|
|
40613
40628
|
nestedClassName: baseClasses,
|
|
40614
40629
|
nestedComponent: StyledWrapper,
|
|
40615
40630
|
className: classnames({
|
|
@@ -40624,7 +40639,7 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
40624
40639
|
style: design.links
|
|
40625
40640
|
}, link, otherProps));
|
|
40626
40641
|
})), /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
40627
|
-
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-
|
|
40642
|
+
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",
|
|
40628
40643
|
design: design.logo,
|
|
40629
40644
|
src: properties.logo.src
|
|
40630
40645
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -40718,7 +40733,7 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
|
|
|
40718
40733
|
"col-span-4": isNotEmpty(buttons)
|
|
40719
40734
|
})
|
|
40720
40735
|
}, /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
40721
|
-
className: "max-h-8 sm:max-h-10 lg:max-h-
|
|
40736
|
+
className: "max-h-8 sm:max-h-10 lg:max-h-14",
|
|
40722
40737
|
design: design.logo,
|
|
40723
40738
|
src: properties.logo.src
|
|
40724
40739
|
}), /*#__PURE__*/React__default.createElement(Typography$1, {
|