@bigbinary/neeto-site-blocks 1.1.9 → 1.2.1

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.js CHANGED
@@ -37924,6 +37924,51 @@ var FAQItem = function FAQItem(_ref3) {
37924
37924
  }, answer)))));
37925
37925
  };
37926
37926
 
37927
+ var FeatureWithBulletList = function FeatureWithBulletList(_ref) {
37928
+ var configurations = _ref.configurations,
37929
+ _ref$className = _ref.className,
37930
+ className = _ref$className === void 0 ? "" : _ref$className,
37931
+ id = _ref.id;
37932
+ var properties = configurations.properties,
37933
+ design = configurations.design;
37934
+ var _properties$content = properties.content,
37935
+ title = _properties$content.title,
37936
+ description = _properties$content.description,
37937
+ enableAnimation = properties.enableAnimation,
37938
+ bulletList = properties.bulletList,
37939
+ src = properties.backgroundImage.src;
37940
+ var baseClasses = "grid grid-cols-12 items-center";
37941
+ return /*#__PURE__*/React__default.createElement(BlockWrapper, {
37942
+ className: className,
37943
+ enableAnimation: enableAnimation,
37944
+ id: id,
37945
+ backgroundImage: mergeLeft({
37946
+ src: src
37947
+ }, design.backgroundImage),
37948
+ design: design.body,
37949
+ nestedClassName: baseClasses
37950
+ }, /*#__PURE__*/React__default.createElement("div", {
37951
+ className: "col-span-12 sm:col-span-5"
37952
+ }, /*#__PURE__*/React__default.createElement(Typography$1, {
37953
+ isTitle: true,
37954
+ component: "h1",
37955
+ style: design.title
37956
+ }, title), /*#__PURE__*/React__default.createElement(Typography$1, {
37957
+ component: "p",
37958
+ style: design.description
37959
+ }, description)), /*#__PURE__*/React__default.createElement("div", {
37960
+ className: "col-span-12 flex justify-center sm:col-span-6 sm:col-start-7"
37961
+ }, /*#__PURE__*/React__default.createElement("ul", {
37962
+ className: "list-disc"
37963
+ }, bulletList.map(function (featureTitle, index) {
37964
+ return /*#__PURE__*/React__default.createElement(Typography$1, {
37965
+ component: "li",
37966
+ key: getUniqueKey(featureTitle, index),
37967
+ style: design.bulletList
37968
+ }, featureTitle);
37969
+ }))));
37970
+ };
37971
+
37927
37972
  function ownKeys$5(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
37928
37973
  function _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$5(Object(source), !0).forEach(function (key) { _defineProperty$1(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$5(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
37929
37974
  var FeatureWithDetails = function FeatureWithDetails(_ref) {
@@ -40749,13 +40794,13 @@ var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
40749
40794
  "sm:justify-start": mediaURL && (mediaPosition === POSITIONS.LEFT.label || mediaPosition === POSITIONS.RIGHT.label)
40750
40795
  });
40751
40796
  return /*#__PURE__*/React__default.createElement(BlockWrapper, {
40797
+ className: className,
40798
+ enableAnimation: enableAnimation,
40799
+ id: id,
40752
40800
  backgroundImage: mergeLeft({
40753
40801
  src: src
40754
40802
  }, design.backgroundImage),
40755
- className: className,
40756
40803
  design: design.body,
40757
- enableAnimation: enableAnimation,
40758
- id: id,
40759
40804
  nestedClassName: baseClasses
40760
40805
  }, /*#__PURE__*/React__default.createElement("div", {
40761
40806
  className: textBaseClasses
@@ -40772,24 +40817,17 @@ var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
40772
40817
  style: design.description
40773
40818
  }, description), /*#__PURE__*/React__default.createElement("div", {
40774
40819
  className: buttonBaseClasses
40775
- }, properties.buttons.map(function (_ref2, index) {
40776
- var label = _ref2.label,
40777
- url = _ref2.url,
40778
- action = _ref2.action,
40779
- type = _ref2.type;
40820
+ }, properties.buttons.map(function (button, index) {
40780
40821
  return /*#__PURE__*/React__default.createElement(Button$1, _extends$2({
40781
- action: action,
40782
40822
  className: "w-full justify-center sm:w-auto sm:justify-start",
40783
- key: getUniqueKey(label, type, index),
40784
- label: label,
40785
- to: url,
40786
- style: type === "primary" ? design.primaryButtons : design.secondaryButtons
40787
- }, otherProps));
40823
+ key: getUniqueKey(button.label, button.to, index),
40824
+ style: button.type === "primary" ? design.primaryButtons : design.secondaryButtons
40825
+ }, button, otherProps));
40788
40826
  }))), /*#__PURE__*/React__default.createElement("div", {
40789
40827
  className: mediaBaseClasses
40790
40828
  }, /*#__PURE__*/React__default.createElement(Media, {
40791
- design: design.media,
40792
40829
  isEmbedded: isEmbedded,
40830
+ design: design.media,
40793
40831
  src: mediaURL
40794
40832
  })));
40795
40833
  };
@@ -41348,5 +41386,5 @@ var index = /*#__PURE__*/Object.freeze({
41348
41386
  Outlined: OutlineIcons
41349
41387
  });
41350
41388
 
41351
- export { BlogContent, CardsClassic, CardsInGridView, CardsWithCustomizableGrid, CardsWithImage, CtaClassic, CtaWithEmailAction, CtaWithLogo, index$1 as DESIGN_OPTIONS, Embed, FaqWithHamburgerView as FaqWithAccordion, FeatureWithDetails, FeatureWithGrid, FeatureWithImage, FeatureWithJumboText, FeatureWithList, FeatureWithProgressBar, FooterClassic, FooterWithIcons, FooterWithLinks, GalleryClassic, GalleryWithAutoplay, HeaderWithButtons, HeaderWithIcons, HeaderWithLogoTitle, HeroWithCallToAction, HeroWithMultipleLayouts, index as Icons, LogoClouds, Paragraph, PricingInCardView, TestimonialWithSlider, TestimonialWithVerticalView };
41389
+ export { BlogContent, CardsClassic, CardsInGridView, CardsWithCustomizableGrid, CardsWithImage, CtaClassic, CtaWithEmailAction, CtaWithLogo, index$1 as DESIGN_OPTIONS, Embed, FaqWithHamburgerView as FaqWithAccordion, FeatureWithBulletList, FeatureWithDetails, FeatureWithGrid, FeatureWithImage, FeatureWithJumboText, FeatureWithList, FeatureWithProgressBar, FooterClassic, FooterWithIcons, FooterWithLinks, GalleryClassic, GalleryWithAutoplay, HeaderWithButtons, HeaderWithIcons, HeaderWithLogoTitle, HeroWithCallToAction, HeroWithMultipleLayouts, index as Icons, LogoClouds, Paragraph, PricingInCardView, TestimonialWithSlider, TestimonialWithVerticalView };
41352
41390
  //# sourceMappingURL=index.js.map