@bigbinary/neeto-site-blocks 1.18.3 → 1.18.5

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
@@ -284,7 +284,10 @@ var LOGO_SIZE_VALUES = {
284
284
  "5xl": 44,
285
285
  "6xl": 48,
286
286
  "7xl": 52,
287
- "8xl": 56
287
+ "8xl": 56,
288
+ "9xl": 62,
289
+ "10xl": 70,
290
+ "11xl": 80
288
291
  };
289
292
  var IMAGE_FIT_VALUES = {
290
293
  auto: "auto",
@@ -13462,17 +13465,40 @@ var CtaClassic = function CtaClassic(_ref) {
13462
13465
  });
13463
13466
  };
13464
13467
 
13465
- //Ignoring PascalCase conventions since this is not react component and ignoring axios import outside /javascript/apis since this is a npm package
13466
- var subscribeForCtaWithInput = function subscribeForCtaWithInput(_ref) {
13467
- var apiEndpoint = _ref.apiEndpoint,
13468
- apiHeaders = _ref.apiHeaders,
13469
- email = _ref.email;
13470
- return axios.post(apiEndpoint, {
13471
- email: email
13472
- }, {
13473
- headers: apiHeaders
13474
- });
13475
- };
13468
+ var subscribeForCtaWithInput = /*#__PURE__*/function () {
13469
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {
13470
+ var apiEndpoint, apiHeaders, email, headers;
13471
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
13472
+ while (1) switch (_context.prev = _context.next) {
13473
+ case 0:
13474
+ apiEndpoint = _ref.apiEndpoint, apiHeaders = _ref.apiHeaders, email = _ref.email;
13475
+ _context.prev = 1;
13476
+ headers = JSON.parse(apiHeaders);
13477
+ _context.next = 5;
13478
+ return axios.post(apiEndpoint, {
13479
+ email: email
13480
+ }, {
13481
+ headers: headers
13482
+ });
13483
+ case 5:
13484
+ return _context.abrupt("return", _context.sent);
13485
+ case 8:
13486
+ _context.prev = 8;
13487
+ _context.t0 = _context["catch"](1);
13488
+ // eslint-disable-next-line no-console
13489
+ console.log(_context.t0);
13490
+ case 11:
13491
+ return _context.abrupt("return", {});
13492
+ case 12:
13493
+ case "end":
13494
+ return _context.stop();
13495
+ }
13496
+ }, _callee, null, [[1, 8]]);
13497
+ }));
13498
+ return function subscribeForCtaWithInput(_x) {
13499
+ return _ref2.apply(this, arguments);
13500
+ };
13501
+ }();
13476
13502
  var ctaApi = {
13477
13503
  subscribeForCtaWithInput: subscribeForCtaWithInput
13478
13504
  };
@@ -16190,7 +16216,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
16190
16216
  image: image,
16191
16217
  priority: true,
16192
16218
  alt: properties.logo.alt,
16193
- className: "max-h-8 sm:max-h-10 lg:max-h-14",
16219
+ className: "sm:max-h-18 max-h-16 lg:max-h-20",
16194
16220
  design: design.logo,
16195
16221
  src: properties.logo.src
16196
16222
  })
@@ -16315,7 +16341,7 @@ var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
16315
16341
  image: image,
16316
16342
  priority: true,
16317
16343
  alt: properties.logo.alt,
16318
- className: "max-h-8 sm:max-h-10 lg:max-h-14",
16344
+ className: "sm:max-h-18 max-h-16 lg:max-h-20",
16319
16345
  design: design.logo,
16320
16346
  disableButtonAndLinks: otherProps.disableButtonAndLinks,
16321
16347
  id: "header-with-dropdown-links-logo",
@@ -16570,7 +16596,7 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
16570
16596
  image: image,
16571
16597
  priority: true,
16572
16598
  alt: properties.logo.alt,
16573
- className: "max-h-8 sm:max-h-10 lg:max-h-14",
16599
+ className: "sm:max-h-18 max-h-16 lg:max-h-20",
16574
16600
  design: design.logo,
16575
16601
  disableButtonAndLinks: otherProps.disableButtonAndLinks,
16576
16602
  id: "header-with-logo-title-logo",