@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.cjs.js
CHANGED
|
@@ -2879,6 +2879,20 @@ var IMAGE_POSITIONS = {
|
|
|
2879
2879
|
left: "left",
|
|
2880
2880
|
right: "right"
|
|
2881
2881
|
};
|
|
2882
|
+
var LOGO_SIZE_VALUES = {
|
|
2883
|
+
xs: 10,
|
|
2884
|
+
sm: 14,
|
|
2885
|
+
md: 20,
|
|
2886
|
+
lg: 24,
|
|
2887
|
+
xl: 28,
|
|
2888
|
+
"2xl": 32,
|
|
2889
|
+
"3xl": 36,
|
|
2890
|
+
"4xl": 40,
|
|
2891
|
+
"5xl": 44,
|
|
2892
|
+
"6xl": 48,
|
|
2893
|
+
"7xl": 52,
|
|
2894
|
+
"8xl": 56
|
|
2895
|
+
};
|
|
2882
2896
|
|
|
2883
2897
|
var index$1 = /*#__PURE__*/Object.freeze({
|
|
2884
2898
|
__proto__: null,
|
|
@@ -2903,7 +2917,8 @@ var index$1 = /*#__PURE__*/Object.freeze({
|
|
|
2903
2917
|
DEFAULT_BUTTON_STYLES: DEFAULT_BUTTON_STYLES,
|
|
2904
2918
|
DEFAULT_TYPOGRAPHY_STYLES: DEFAULT_TYPOGRAPHY_STYLES,
|
|
2905
2919
|
DEFAULT_LINK_STYLES: DEFAULT_LINK_STYLES,
|
|
2906
|
-
IMAGE_POSITIONS: IMAGE_POSITIONS
|
|
2920
|
+
IMAGE_POSITIONS: IMAGE_POSITIONS,
|
|
2921
|
+
LOGO_SIZE_VALUES: LOGO_SIZE_VALUES
|
|
2907
2922
|
});
|
|
2908
2923
|
|
|
2909
2924
|
var _excluded$1A = ["size"];
|
|
@@ -40578,8 +40593,8 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
40578
40593
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40579
40594
|
ref: headerIntersectorRef
|
|
40580
40595
|
}), /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
|
|
40581
|
-
design: design.body,
|
|
40582
40596
|
id: id,
|
|
40597
|
+
design: design.body,
|
|
40583
40598
|
nestedClassName: baseClasses,
|
|
40584
40599
|
nestedComponent: StyledWrapper,
|
|
40585
40600
|
className: classnames({
|
|
@@ -40589,7 +40604,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
40589
40604
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
40590
40605
|
design: design.logo,
|
|
40591
40606
|
src: properties.logo.src,
|
|
40592
|
-
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-
|
|
40607
|
+
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", {
|
|
40593
40608
|
"col-span-10": isEmpty(buttons),
|
|
40594
40609
|
"col-span-3 sm:col-span-4 sm:col-start-2": neetoCist.isNotEmpty(buttons)
|
|
40595
40610
|
})
|
|
@@ -40654,8 +40669,8 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
40654
40669
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40655
40670
|
ref: headerIntersectorRef
|
|
40656
40671
|
}), /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
|
|
40657
|
-
design: design.body,
|
|
40658
40672
|
id: id,
|
|
40673
|
+
design: design.body,
|
|
40659
40674
|
nestedClassName: baseClasses,
|
|
40660
40675
|
nestedComponent: StyledWrapper,
|
|
40661
40676
|
className: classnames({
|
|
@@ -40670,7 +40685,7 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
40670
40685
|
style: design.links
|
|
40671
40686
|
}, link, otherProps));
|
|
40672
40687
|
})), /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
40673
|
-
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-
|
|
40688
|
+
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",
|
|
40674
40689
|
design: design.logo,
|
|
40675
40690
|
src: properties.logo.src
|
|
40676
40691
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -40764,7 +40779,7 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
|
|
|
40764
40779
|
"col-span-4": neetoCist.isNotEmpty(buttons)
|
|
40765
40780
|
})
|
|
40766
40781
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
40767
|
-
className: "max-h-8 sm:max-h-10 lg:max-h-
|
|
40782
|
+
className: "max-h-8 sm:max-h-10 lg:max-h-14",
|
|
40768
40783
|
design: design.logo,
|
|
40769
40784
|
src: properties.logo.src
|
|
40770
40785
|
}), /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|