@bigbinary/neeto-site-blocks 1.2.1 → 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 +31 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +31 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2827,6 +2827,26 @@ var DEFAULT_LINK_STYLES = {
|
|
|
2827
2827
|
marginBottom: 0,
|
|
2828
2828
|
marginTop: 0
|
|
2829
2829
|
};
|
|
2830
|
+
var IMAGE_POSITIONS = {
|
|
2831
|
+
top: "top",
|
|
2832
|
+
bottom: "bottom",
|
|
2833
|
+
left: "left",
|
|
2834
|
+
right: "right"
|
|
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
|
+
};
|
|
2830
2850
|
|
|
2831
2851
|
var index$1 = /*#__PURE__*/Object.freeze({
|
|
2832
2852
|
__proto__: null,
|
|
@@ -2850,7 +2870,9 @@ var index$1 = /*#__PURE__*/Object.freeze({
|
|
|
2850
2870
|
PRICING_PLANS: PRICING_PLANS,
|
|
2851
2871
|
DEFAULT_BUTTON_STYLES: DEFAULT_BUTTON_STYLES,
|
|
2852
2872
|
DEFAULT_TYPOGRAPHY_STYLES: DEFAULT_TYPOGRAPHY_STYLES,
|
|
2853
|
-
DEFAULT_LINK_STYLES: DEFAULT_LINK_STYLES
|
|
2873
|
+
DEFAULT_LINK_STYLES: DEFAULT_LINK_STYLES,
|
|
2874
|
+
IMAGE_POSITIONS: IMAGE_POSITIONS,
|
|
2875
|
+
LOGO_SIZE_VALUES: LOGO_SIZE_VALUES
|
|
2854
2876
|
});
|
|
2855
2877
|
|
|
2856
2878
|
var _excluded$1A = ["size"];
|
|
@@ -37960,8 +37982,10 @@ var FeatureWithBulletList = function FeatureWithBulletList(_ref) {
|
|
|
37960
37982
|
className: "col-span-12 flex justify-center sm:col-span-6 sm:col-start-7"
|
|
37961
37983
|
}, /*#__PURE__*/React__default.createElement("ul", {
|
|
37962
37984
|
className: "list-disc"
|
|
37963
|
-
}, bulletList.map(function (
|
|
37985
|
+
}, bulletList.map(function (_ref2, index) {
|
|
37986
|
+
var featureTitle = _ref2.title;
|
|
37964
37987
|
return /*#__PURE__*/React__default.createElement(Typography$1, {
|
|
37988
|
+
isTitle: true,
|
|
37965
37989
|
component: "li",
|
|
37966
37990
|
key: getUniqueKey(featureTitle, index),
|
|
37967
37991
|
style: design.bulletList
|
|
@@ -40523,8 +40547,8 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
40523
40547
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
40524
40548
|
ref: headerIntersectorRef
|
|
40525
40549
|
}), /*#__PURE__*/React__default.createElement(BlockWrapper, {
|
|
40526
|
-
design: design.body,
|
|
40527
40550
|
id: id,
|
|
40551
|
+
design: design.body,
|
|
40528
40552
|
nestedClassName: baseClasses,
|
|
40529
40553
|
nestedComponent: StyledWrapper,
|
|
40530
40554
|
className: classnames({
|
|
@@ -40534,7 +40558,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
40534
40558
|
}, /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
40535
40559
|
design: design.logo,
|
|
40536
40560
|
src: properties.logo.src,
|
|
40537
|
-
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", {
|
|
40538
40562
|
"col-span-10": isEmpty(buttons),
|
|
40539
40563
|
"col-span-3 sm:col-span-4 sm:col-start-2": isNotEmpty(buttons)
|
|
40540
40564
|
})
|
|
@@ -40599,8 +40623,8 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
40599
40623
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
40600
40624
|
ref: headerIntersectorRef
|
|
40601
40625
|
}), /*#__PURE__*/React__default.createElement(BlockWrapper, {
|
|
40602
|
-
design: design.body,
|
|
40603
40626
|
id: id,
|
|
40627
|
+
design: design.body,
|
|
40604
40628
|
nestedClassName: baseClasses,
|
|
40605
40629
|
nestedComponent: StyledWrapper,
|
|
40606
40630
|
className: classnames({
|
|
@@ -40615,7 +40639,7 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
40615
40639
|
style: design.links
|
|
40616
40640
|
}, link, otherProps));
|
|
40617
40641
|
})), /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
40618
|
-
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",
|
|
40619
40643
|
design: design.logo,
|
|
40620
40644
|
src: properties.logo.src
|
|
40621
40645
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -40709,7 +40733,7 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
|
|
|
40709
40733
|
"col-span-4": isNotEmpty(buttons)
|
|
40710
40734
|
})
|
|
40711
40735
|
}, /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
40712
|
-
className: "max-h-8 sm:max-h-10 lg:max-h-
|
|
40736
|
+
className: "max-h-8 sm:max-h-10 lg:max-h-14",
|
|
40713
40737
|
design: design.logo,
|
|
40714
40738
|
src: properties.logo.src
|
|
40715
40739
|
}), /*#__PURE__*/React__default.createElement(Typography$1, {
|