@bigbinary/neeto-site-blocks 0.19.0 → 0.20.0

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
@@ -14701,6 +14701,197 @@ var CtaWithButtonOnBottom = function CtaWithButtonOnBottom(_ref) {
14701
14701
  }, secondaryButton)))));
14702
14702
  };
14703
14703
 
14704
+ function cov_181bbxwtja() {
14705
+ var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/CtaWithLogo.jsx";
14706
+ var hash = "c2b8a139ce8cb5a649e36e5806b83412790194c0";
14707
+ var global = new Function("return this")();
14708
+ var gcv = "__coverage__";
14709
+ var coverageData = {
14710
+ path: "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/CtaWithLogo.jsx",
14711
+ statementMap: {
14712
+ "0": {
14713
+ start: {
14714
+ line: 9,
14715
+ column: 20
14716
+ },
14717
+ end: {
14718
+ line: 54,
14719
+ column: 1
14720
+ }
14721
+ },
14722
+ "1": {
14723
+ start: {
14724
+ line: 10,
14725
+ column: 33
14726
+ },
14727
+ end: {
14728
+ line: 10,
14729
+ column: 47
14730
+ }
14731
+ },
14732
+ "2": {
14733
+ start: {
14734
+ line: 16,
14735
+ column: 6
14736
+ },
14737
+ end: {
14738
+ line: 16,
14739
+ column: 16
14740
+ }
14741
+ },
14742
+ "3": {
14743
+ start: {
14744
+ line: 18,
14745
+ column: 22
14746
+ },
14747
+ end: {
14748
+ line: 18,
14749
+ column: 62
14750
+ }
14751
+ },
14752
+ "4": {
14753
+ start: {
14754
+ line: 20,
14755
+ column: 2
14756
+ },
14757
+ end: {
14758
+ line: 53,
14759
+ column: 4
14760
+ }
14761
+ }
14762
+ },
14763
+ fnMap: {
14764
+ "0": {
14765
+ name: "(anonymous_0)",
14766
+ decl: {
14767
+ start: {
14768
+ line: 9,
14769
+ column: 20
14770
+ },
14771
+ end: {
14772
+ line: 9,
14773
+ column: 21
14774
+ }
14775
+ },
14776
+ loc: {
14777
+ start: {
14778
+ line: 9,
14779
+ column: 64
14780
+ },
14781
+ end: {
14782
+ line: 54,
14783
+ column: 1
14784
+ }
14785
+ },
14786
+ line: 9
14787
+ }
14788
+ },
14789
+ branchMap: {
14790
+ "0": {
14791
+ loc: {
14792
+ start: {
14793
+ line: 9,
14794
+ column: 39
14795
+ },
14796
+ end: {
14797
+ line: 9,
14798
+ column: 53
14799
+ }
14800
+ },
14801
+ type: "default-arg",
14802
+ locations: [{
14803
+ start: {
14804
+ line: 9,
14805
+ column: 51
14806
+ },
14807
+ end: {
14808
+ line: 9,
14809
+ column: 53
14810
+ }
14811
+ }],
14812
+ line: 9
14813
+ }
14814
+ },
14815
+ s: {
14816
+ "0": 0,
14817
+ "1": 0,
14818
+ "2": 0,
14819
+ "3": 0,
14820
+ "4": 0
14821
+ },
14822
+ f: {
14823
+ "0": 0
14824
+ },
14825
+ b: {
14826
+ "0": [0]
14827
+ },
14828
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
14829
+ hash: "c2b8a139ce8cb5a649e36e5806b83412790194c0"
14830
+ };
14831
+ var coverage = global[gcv] || (global[gcv] = {});
14832
+ if (!coverage[path] || coverage[path].hash !== hash) {
14833
+ coverage[path] = coverageData;
14834
+ }
14835
+ var actualCoverage = coverage[path];
14836
+ {
14837
+ // @ts-ignore
14838
+ cov_181bbxwtja = function () {
14839
+ return actualCoverage;
14840
+ };
14841
+ }
14842
+ return actualCoverage;
14843
+ }
14844
+ cov_181bbxwtja();
14845
+ cov_181bbxwtja().s[0]++;
14846
+ var CtaWithLogo = function CtaWithLogo(_ref) {
14847
+ var configurations = _ref.configurations,
14848
+ _ref$className = _ref.className,
14849
+ className = _ref$className === void 0 ? (cov_181bbxwtja().b[0][0]++, "") : _ref$className,
14850
+ id = _ref.id;
14851
+ cov_181bbxwtja().f[0]++;
14852
+ var _ref2 = (cov_181bbxwtja().s[1]++, configurations),
14853
+ properties = _ref2.properties,
14854
+ design = _ref2.design;
14855
+ var _ref3 = (cov_181bbxwtja().s[2]++, properties),
14856
+ _ref3$content = _ref3.content,
14857
+ title = _ref3$content.title,
14858
+ description = _ref3$content.description,
14859
+ logoUrl = _ref3.logoUrl,
14860
+ button = _ref3.button,
14861
+ src = _ref3.backgroundImage.src;
14862
+ var baseClasses = (cov_181bbxwtja().s[3]++, "grid grid-cols-12 items-center gap-x-4");
14863
+ cov_181bbxwtja().s[4]++;
14864
+ return /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
14865
+ backgroundImage: mergeLeft({
14866
+ src: src
14867
+ }, design.backgroundImage),
14868
+ className: className,
14869
+ design: design.body,
14870
+ id: id
14871
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
14872
+ className: classnames("neeto-site-block-wrapper gap-y-8", baseClasses)
14873
+ }, /*#__PURE__*/React__default["default"].createElement(StyledImage, {
14874
+ alt: "logo",
14875
+ className: "col-span-10 col-start-2 mx-auto sm:col-span-2 sm:col-start-1",
14876
+ design: design.logo,
14877
+ src: logoUrl
14878
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
14879
+ className: "col-span-12 sm:col-span-6 sm:col-start-3 lg:col-span-7"
14880
+ }, /*#__PURE__*/React__default["default"].createElement(Typography, {
14881
+ isTitle: true,
14882
+ component: "h1",
14883
+ style: design.title
14884
+ }, title), /*#__PURE__*/React__default["default"].createElement(Typography, {
14885
+ component: "p",
14886
+ style: design.description
14887
+ }, description)), /*#__PURE__*/React__default["default"].createElement("div", {
14888
+ className: "col-span-12 mx-auto w-full sm:col-span-3 sm:col-start-10 lg:col-span-3 lg:col-start-10"
14889
+ }, /*#__PURE__*/React__default["default"].createElement(Button, _extends$4({
14890
+ className: "neeto-site-primary-button flex w-full justify-center sm:w-auto",
14891
+ style: design.button
14892
+ }, button)))));
14893
+ };
14894
+
14704
14895
  /******************************************************************************
14705
14896
  Copyright (c) Microsoft Corporation.
14706
14897
 
@@ -35471,6 +35662,7 @@ exports.CardWithCustomizableGrid = CardWithCustomizableGrid;
35471
35662
  exports.CardWithGridText = CardWithGridText;
35472
35663
  exports.CardWithImage = CardWithImage;
35473
35664
  exports.CtaWithButtonOnBottom = CtaWithButtonOnBottom;
35665
+ exports.CtaWithLogo = CtaWithLogo;
35474
35666
  exports.DESIGN_OPTIONS = constants;
35475
35667
  exports.FaqWithHamburgerView = FaqWithHamburgerView;
35476
35668
  exports.FeatureWithGrid = FeatureWithGrid;