@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.cjs.js CHANGED
@@ -303,7 +303,10 @@ var LOGO_SIZE_VALUES = {
303
303
  "5xl": 44,
304
304
  "6xl": 48,
305
305
  "7xl": 52,
306
- "8xl": 56
306
+ "8xl": 56,
307
+ "9xl": 62,
308
+ "10xl": 70,
309
+ "11xl": 80
307
310
  };
308
311
  var IMAGE_FIT_VALUES = {
309
312
  auto: "auto",
@@ -13481,17 +13484,40 @@ var CtaClassic = function CtaClassic(_ref) {
13481
13484
  });
13482
13485
  };
13483
13486
 
13484
- //Ignoring PascalCase conventions since this is not react component and ignoring axios import outside /javascript/apis since this is a npm package
13485
- var subscribeForCtaWithInput = function subscribeForCtaWithInput(_ref) {
13486
- var apiEndpoint = _ref.apiEndpoint,
13487
- apiHeaders = _ref.apiHeaders,
13488
- email = _ref.email;
13489
- return axios__default["default"].post(apiEndpoint, {
13490
- email: email
13491
- }, {
13492
- headers: apiHeaders
13493
- });
13494
- };
13487
+ var subscribeForCtaWithInput = /*#__PURE__*/function () {
13488
+ var _ref2 = _asyncToGenerator__default["default"]( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(_ref) {
13489
+ var apiEndpoint, apiHeaders, email, headers;
13490
+ return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
13491
+ while (1) switch (_context.prev = _context.next) {
13492
+ case 0:
13493
+ apiEndpoint = _ref.apiEndpoint, apiHeaders = _ref.apiHeaders, email = _ref.email;
13494
+ _context.prev = 1;
13495
+ headers = JSON.parse(apiHeaders);
13496
+ _context.next = 5;
13497
+ return axios__default["default"].post(apiEndpoint, {
13498
+ email: email
13499
+ }, {
13500
+ headers: headers
13501
+ });
13502
+ case 5:
13503
+ return _context.abrupt("return", _context.sent);
13504
+ case 8:
13505
+ _context.prev = 8;
13506
+ _context.t0 = _context["catch"](1);
13507
+ // eslint-disable-next-line no-console
13508
+ console.log(_context.t0);
13509
+ case 11:
13510
+ return _context.abrupt("return", {});
13511
+ case 12:
13512
+ case "end":
13513
+ return _context.stop();
13514
+ }
13515
+ }, _callee, null, [[1, 8]]);
13516
+ }));
13517
+ return function subscribeForCtaWithInput(_x) {
13518
+ return _ref2.apply(this, arguments);
13519
+ };
13520
+ }();
13495
13521
  var ctaApi = {
13496
13522
  subscribeForCtaWithInput: subscribeForCtaWithInput
13497
13523
  };
@@ -16209,7 +16235,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
16209
16235
  image: image,
16210
16236
  priority: true,
16211
16237
  alt: properties.logo.alt,
16212
- className: "max-h-8 sm:max-h-10 lg:max-h-14",
16238
+ className: "sm:max-h-18 max-h-16 lg:max-h-20",
16213
16239
  design: design.logo,
16214
16240
  src: properties.logo.src
16215
16241
  })
@@ -16334,7 +16360,7 @@ var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
16334
16360
  image: image,
16335
16361
  priority: true,
16336
16362
  alt: properties.logo.alt,
16337
- className: "max-h-8 sm:max-h-10 lg:max-h-14",
16363
+ className: "sm:max-h-18 max-h-16 lg:max-h-20",
16338
16364
  design: design.logo,
16339
16365
  disableButtonAndLinks: otherProps.disableButtonAndLinks,
16340
16366
  id: "header-with-dropdown-links-logo",
@@ -16589,7 +16615,7 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
16589
16615
  image: image,
16590
16616
  priority: true,
16591
16617
  alt: properties.logo.alt,
16592
- className: "max-h-8 sm:max-h-10 lg:max-h-14",
16618
+ className: "sm:max-h-18 max-h-16 lg:max-h-20",
16593
16619
  design: design.logo,
16594
16620
  disableButtonAndLinks: otherProps.disableButtonAndLinks,
16595
16621
  id: "header-with-logo-title-logo",