@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 CHANGED
@@ -2873,6 +2873,26 @@ var DEFAULT_LINK_STYLES = {
2873
2873
  marginBottom: 0,
2874
2874
  marginTop: 0
2875
2875
  };
2876
+ var IMAGE_POSITIONS = {
2877
+ top: "top",
2878
+ bottom: "bottom",
2879
+ left: "left",
2880
+ right: "right"
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
+ };
2876
2896
 
2877
2897
  var index$1 = /*#__PURE__*/Object.freeze({
2878
2898
  __proto__: null,
@@ -2896,7 +2916,9 @@ var index$1 = /*#__PURE__*/Object.freeze({
2896
2916
  PRICING_PLANS: PRICING_PLANS,
2897
2917
  DEFAULT_BUTTON_STYLES: DEFAULT_BUTTON_STYLES,
2898
2918
  DEFAULT_TYPOGRAPHY_STYLES: DEFAULT_TYPOGRAPHY_STYLES,
2899
- DEFAULT_LINK_STYLES: DEFAULT_LINK_STYLES
2919
+ DEFAULT_LINK_STYLES: DEFAULT_LINK_STYLES,
2920
+ IMAGE_POSITIONS: IMAGE_POSITIONS,
2921
+ LOGO_SIZE_VALUES: LOGO_SIZE_VALUES
2900
2922
  });
2901
2923
 
2902
2924
  var _excluded$1A = ["size"];
@@ -38006,8 +38028,10 @@ var FeatureWithBulletList = function FeatureWithBulletList(_ref) {
38006
38028
  className: "col-span-12 flex justify-center sm:col-span-6 sm:col-start-7"
38007
38029
  }, /*#__PURE__*/React__default["default"].createElement("ul", {
38008
38030
  className: "list-disc"
38009
- }, bulletList.map(function (featureTitle, index) {
38031
+ }, bulletList.map(function (_ref2, index) {
38032
+ var featureTitle = _ref2.title;
38010
38033
  return /*#__PURE__*/React__default["default"].createElement(Typography$1, {
38034
+ isTitle: true,
38011
38035
  component: "li",
38012
38036
  key: getUniqueKey(featureTitle, index),
38013
38037
  style: design.bulletList
@@ -40569,8 +40593,8 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
40569
40593
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
40570
40594
  ref: headerIntersectorRef
40571
40595
  }), /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
40572
- design: design.body,
40573
40596
  id: id,
40597
+ design: design.body,
40574
40598
  nestedClassName: baseClasses,
40575
40599
  nestedComponent: StyledWrapper,
40576
40600
  className: classnames({
@@ -40580,7 +40604,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
40580
40604
  }, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
40581
40605
  design: design.logo,
40582
40606
  src: properties.logo.src,
40583
- 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-12", {
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", {
40584
40608
  "col-span-10": isEmpty(buttons),
40585
40609
  "col-span-3 sm:col-span-4 sm:col-start-2": neetoCist.isNotEmpty(buttons)
40586
40610
  })
@@ -40645,8 +40669,8 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
40645
40669
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
40646
40670
  ref: headerIntersectorRef
40647
40671
  }), /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
40648
- design: design.body,
40649
40672
  id: id,
40673
+ design: design.body,
40650
40674
  nestedClassName: baseClasses,
40651
40675
  nestedComponent: StyledWrapper,
40652
40676
  className: classnames({
@@ -40661,7 +40685,7 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
40661
40685
  style: design.links
40662
40686
  }, link, otherProps));
40663
40687
  })), /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
40664
- 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-12",
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",
40665
40689
  design: design.logo,
40666
40690
  src: properties.logo.src
40667
40691
  }), /*#__PURE__*/React__default["default"].createElement("div", {
@@ -40755,7 +40779,7 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
40755
40779
  "col-span-4": neetoCist.isNotEmpty(buttons)
40756
40780
  })
40757
40781
  }, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
40758
- className: "max-h-8 sm:max-h-10 lg:max-h-12",
40782
+ className: "max-h-8 sm:max-h-10 lg:max-h-14",
40759
40783
  design: design.logo,
40760
40784
  src: properties.logo.src
40761
40785
  }), /*#__PURE__*/React__default["default"].createElement(Typography$1, {