@bigbinary/neeto-site-blocks 0.25.4 → 0.25.6

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
@@ -48223,7 +48223,7 @@ var GalleryWithAutoplay = function GalleryWithAutoplay(_ref) {
48223
48223
 
48224
48224
  function cov_qyyffqgs8() {
48225
48225
  var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/HeaderWithButtons.jsx";
48226
- var hash = "043f49008e6ee3dc7be143c1b1934d4c31c7691c";
48226
+ var hash = "1995b8742e150408c530858c471fb7ddd7b832a9";
48227
48227
  var global = new Function("return this")();
48228
48228
  var gcv = "__coverage__";
48229
48229
  var coverageData = {
@@ -48231,121 +48231,111 @@ function cov_qyyffqgs8() {
48231
48231
  statementMap: {
48232
48232
  "0": {
48233
48233
  start: {
48234
- line: 11,
48234
+ line: 10,
48235
48235
  column: 26
48236
48236
  },
48237
48237
  end: {
48238
- line: 91,
48238
+ line: 86,
48239
48239
  column: 1
48240
48240
  }
48241
48241
  },
48242
48242
  "1": {
48243
48243
  start: {
48244
- line: 12,
48244
+ line: 11,
48245
48245
  column: 38
48246
48246
  },
48247
48247
  end: {
48248
- line: 12,
48248
+ line: 11,
48249
48249
  column: 53
48250
48250
  }
48251
48251
  },
48252
48252
  "2": {
48253
48253
  start: {
48254
- line: 13,
48254
+ line: 12,
48255
48255
  column: 33
48256
48256
  },
48257
48257
  end: {
48258
- line: 13,
48258
+ line: 12,
48259
48259
  column: 47
48260
48260
  }
48261
48261
  },
48262
48262
  "3": {
48263
48263
  start: {
48264
- line: 14,
48265
- column: 23
48264
+ line: 13,
48265
+ column: 32
48266
48266
  },
48267
48267
  end: {
48268
- line: 14,
48269
- column: 33
48268
+ line: 13,
48269
+ column: 42
48270
48270
  }
48271
48271
  },
48272
48272
  "4": {
48273
48273
  start: {
48274
- line: 15,
48275
- column: 22
48276
- },
48277
- end: {
48278
- line: 15,
48279
- column: 32
48280
- }
48281
- },
48282
- "5": {
48283
- start: {
48284
- line: 18,
48274
+ line: 16,
48285
48275
  column: 4
48286
48276
  },
48287
48277
  end: {
48288
- line: 18,
48278
+ line: 16,
48289
48279
  column: 67
48290
48280
  }
48291
48281
  },
48292
- "6": {
48282
+ "5": {
48293
48283
  start: {
48294
- line: 20,
48284
+ line: 18,
48295
48285
  column: 2
48296
48286
  },
48297
48287
  end: {
48298
- line: 90,
48288
+ line: 85,
48299
48289
  column: 4
48300
48290
  }
48301
48291
  },
48302
- "7": {
48292
+ "6": {
48303
48293
  start: {
48304
- line: 46,
48294
+ line: 41,
48305
48295
  column: 12
48306
48296
  },
48307
48297
  end: {
48308
- line: 51,
48298
+ line: 46,
48309
48299
  column: 14
48310
48300
  }
48311
48301
  },
48312
- "8": {
48302
+ "7": {
48313
48303
  start: {
48314
- line: 56,
48304
+ line: 51,
48315
48305
  column: 12
48316
48306
  },
48317
48307
  end: {
48318
- line: 68,
48308
+ line: 63,
48319
48309
  column: 14
48320
48310
  }
48321
48311
  },
48322
- "9": {
48312
+ "8": {
48323
48313
  start: {
48324
- line: 73,
48314
+ line: 68,
48325
48315
  column: 25
48326
48316
  },
48327
48317
  end: {
48328
- line: 73,
48318
+ line: 68,
48329
48319
  column: 53
48330
48320
  }
48331
48321
  },
48332
- "10": {
48322
+ "9": {
48333
48323
  start: {
48334
- line: 73,
48324
+ line: 68,
48335
48325
  column: 47
48336
48326
  },
48337
48327
  end: {
48338
- line: 73,
48328
+ line: 68,
48339
48329
  column: 52
48340
48330
  }
48341
48331
  },
48342
- "11": {
48332
+ "10": {
48343
48333
  start: {
48344
- line: 80,
48334
+ line: 75,
48345
48335
  column: 14
48346
48336
  },
48347
48337
  end: {
48348
- line: 84,
48338
+ line: 79,
48349
48339
  column: 16
48350
48340
  }
48351
48341
  }
@@ -48355,237 +48345,237 @@ function cov_qyyffqgs8() {
48355
48345
  name: "(anonymous_0)",
48356
48346
  decl: {
48357
48347
  start: {
48358
- line: 11,
48348
+ line: 10,
48359
48349
  column: 26
48360
48350
  },
48361
48351
  end: {
48362
- line: 11,
48352
+ line: 10,
48363
48353
  column: 27
48364
48354
  }
48365
48355
  },
48366
48356
  loc: {
48367
48357
  start: {
48368
- line: 11,
48358
+ line: 10,
48369
48359
  column: 70
48370
48360
  },
48371
48361
  end: {
48372
- line: 91,
48362
+ line: 86,
48373
48363
  column: 1
48374
48364
  }
48375
48365
  },
48376
- line: 11
48366
+ line: 10
48377
48367
  },
48378
48368
  "1": {
48379
48369
  name: "(anonymous_1)",
48380
48370
  decl: {
48381
48371
  start: {
48382
- line: 45,
48372
+ line: 40,
48383
48373
  column: 32
48384
48374
  },
48385
48375
  end: {
48386
- line: 45,
48376
+ line: 40,
48387
48377
  column: 33
48388
48378
  }
48389
48379
  },
48390
48380
  loc: {
48391
48381
  start: {
48392
- line: 46,
48382
+ line: 41,
48393
48383
  column: 12
48394
48384
  },
48395
48385
  end: {
48396
- line: 51,
48386
+ line: 46,
48397
48387
  column: 14
48398
48388
  }
48399
48389
  },
48400
- line: 46
48390
+ line: 41
48401
48391
  },
48402
48392
  "2": {
48403
48393
  name: "(anonymous_2)",
48404
48394
  decl: {
48405
48395
  start: {
48406
- line: 55,
48396
+ line: 50,
48407
48397
  column: 23
48408
48398
  },
48409
48399
  end: {
48410
- line: 55,
48400
+ line: 50,
48411
48401
  column: 24
48412
48402
  }
48413
48403
  },
48414
48404
  loc: {
48415
48405
  start: {
48416
- line: 56,
48406
+ line: 51,
48417
48407
  column: 12
48418
48408
  },
48419
48409
  end: {
48420
- line: 68,
48410
+ line: 63,
48421
48411
  column: 14
48422
48412
  }
48423
48413
  },
48424
- line: 56
48414
+ line: 51
48425
48415
  },
48426
48416
  "3": {
48427
48417
  name: "(anonymous_3)",
48428
48418
  decl: {
48429
48419
  start: {
48430
- line: 73,
48420
+ line: 68,
48431
48421
  column: 19
48432
48422
  },
48433
48423
  end: {
48434
- line: 73,
48424
+ line: 68,
48435
48425
  column: 20
48436
48426
  }
48437
48427
  },
48438
48428
  loc: {
48439
48429
  start: {
48440
- line: 73,
48430
+ line: 68,
48441
48431
  column: 25
48442
48432
  },
48443
48433
  end: {
48444
- line: 73,
48434
+ line: 68,
48445
48435
  column: 53
48446
48436
  }
48447
48437
  },
48448
- line: 73
48438
+ line: 68
48449
48439
  },
48450
48440
  "4": {
48451
48441
  name: "(anonymous_4)",
48452
48442
  decl: {
48453
48443
  start: {
48454
- line: 73,
48444
+ line: 68,
48455
48445
  column: 39
48456
48446
  },
48457
48447
  end: {
48458
- line: 73,
48448
+ line: 68,
48459
48449
  column: 40
48460
48450
  }
48461
48451
  },
48462
48452
  loc: {
48463
48453
  start: {
48464
- line: 73,
48454
+ line: 68,
48465
48455
  column: 47
48466
48456
  },
48467
48457
  end: {
48468
- line: 73,
48458
+ line: 68,
48469
48459
  column: 52
48470
48460
  }
48471
48461
  },
48472
- line: 73
48462
+ line: 68
48473
48463
  },
48474
48464
  "5": {
48475
48465
  name: "(anonymous_5)",
48476
48466
  decl: {
48477
48467
  start: {
48478
- line: 79,
48468
+ line: 74,
48479
48469
  column: 34
48480
48470
  },
48481
48471
  end: {
48482
- line: 79,
48472
+ line: 74,
48483
48473
  column: 35
48484
48474
  }
48485
48475
  },
48486
48476
  loc: {
48487
48477
  start: {
48488
- line: 80,
48478
+ line: 75,
48489
48479
  column: 14
48490
48480
  },
48491
48481
  end: {
48492
- line: 84,
48482
+ line: 79,
48493
48483
  column: 16
48494
48484
  }
48495
48485
  },
48496
- line: 80
48486
+ line: 75
48497
48487
  }
48498
48488
  },
48499
48489
  branchMap: {
48500
48490
  "0": {
48501
48491
  loc: {
48502
48492
  start: {
48503
- line: 11,
48493
+ line: 10,
48504
48494
  column: 45
48505
48495
  },
48506
48496
  end: {
48507
- line: 11,
48497
+ line: 10,
48508
48498
  column: 59
48509
48499
  }
48510
48500
  },
48511
48501
  type: "default-arg",
48512
48502
  locations: [{
48513
48503
  start: {
48514
- line: 11,
48504
+ line: 10,
48515
48505
  column: 57
48516
48506
  },
48517
48507
  end: {
48518
- line: 11,
48508
+ line: 10,
48519
48509
  column: 59
48520
48510
  }
48521
48511
  }],
48522
- line: 11
48512
+ line: 10
48523
48513
  },
48524
48514
  "1": {
48525
48515
  loc: {
48526
48516
  start: {
48527
- line: 63,
48517
+ line: 58,
48528
48518
  column: 16
48529
48519
  },
48530
48520
  end: {
48531
- line: 65,
48521
+ line: 60,
48532
48522
  column: 43
48533
48523
  }
48534
48524
  },
48535
48525
  type: "cond-expr",
48536
48526
  locations: [{
48537
48527
  start: {
48538
- line: 64,
48528
+ line: 59,
48539
48529
  column: 20
48540
48530
  },
48541
48531
  end: {
48542
- line: 64,
48532
+ line: 59,
48543
48533
  column: 41
48544
48534
  }
48545
48535
  }, {
48546
48536
  start: {
48547
- line: 65,
48537
+ line: 60,
48548
48538
  column: 20
48549
48539
  },
48550
48540
  end: {
48551
- line: 65,
48541
+ line: 60,
48552
48542
  column: 43
48553
48543
  }
48554
48544
  }],
48555
- line: 63
48545
+ line: 58
48556
48546
  },
48557
48547
  "2": {
48558
48548
  loc: {
48559
48549
  start: {
48560
- line: 77,
48550
+ line: 72,
48561
48551
  column: 9
48562
48552
  },
48563
48553
  end: {
48564
- line: 87,
48554
+ line: 82,
48565
48555
  column: 9
48566
48556
  }
48567
48557
  },
48568
48558
  type: "binary-expr",
48569
48559
  locations: [{
48570
48560
  start: {
48571
- line: 77,
48561
+ line: 72,
48572
48562
  column: 9
48573
48563
  },
48574
48564
  end: {
48575
- line: 77,
48565
+ line: 72,
48576
48566
  column: 19
48577
48567
  }
48578
48568
  }, {
48579
48569
  start: {
48580
- line: 78,
48570
+ line: 73,
48581
48571
  column: 10
48582
48572
  },
48583
48573
  end: {
48584
- line: 86,
48574
+ line: 81,
48585
48575
  column: 16
48586
48576
  }
48587
48577
  }],
48588
- line: 77
48578
+ line: 72
48589
48579
  }
48590
48580
  },
48591
48581
  s: {
@@ -48599,8 +48589,7 @@ function cov_qyyffqgs8() {
48599
48589
  "7": 0,
48600
48590
  "8": 0,
48601
48591
  "9": 0,
48602
- "10": 0,
48603
- "11": 0
48592
+ "10": 0
48604
48593
  },
48605
48594
  f: {
48606
48595
  "0": 0,
@@ -48616,7 +48605,7 @@ function cov_qyyffqgs8() {
48616
48605
  "2": [0, 0]
48617
48606
  },
48618
48607
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
48619
- hash: "043f49008e6ee3dc7be143c1b1934d4c31c7691c"
48608
+ hash: "1995b8742e150408c530858c471fb7ddd7b832a9"
48620
48609
  };
48621
48610
  var coverage = global[gcv] || (global[gcv] = {});
48622
48611
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -48647,11 +48636,10 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
48647
48636
  properties = _ref4.properties,
48648
48637
  design = _ref4.design;
48649
48638
  var _ref5 = (cov_qyyffqgs8().s[3]++, properties),
48650
- position = _ref5.position;
48651
- var _ref6 = (cov_qyyffqgs8().s[4]++, properties),
48652
- buttons = _ref6.buttons;
48653
- var baseClasses = (cov_qyyffqgs8().s[5]++, "grid grid-cols-12 sm:gap-x-4 items-center grid-flow-row-dense");
48654
- cov_qyyffqgs8().s[6]++;
48639
+ position = _ref5.position,
48640
+ buttons = _ref5.buttons;
48641
+ var baseClasses = (cov_qyyffqgs8().s[4]++, "grid grid-cols-12 sm:gap-x-4 items-center grid-flow-row-dense");
48642
+ cov_qyyffqgs8().s[5]++;
48655
48643
  return /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
48656
48644
  design: design.body,
48657
48645
  id: id,
@@ -48661,16 +48649,14 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
48661
48649
  }, /*#__PURE__*/React__default["default"].createElement("div", {
48662
48650
  className: classnames("neeto-site-block-wrapper", baseClasses)
48663
48651
  }, /*#__PURE__*/React__default["default"].createElement(StyledImage, {
48664
- className: "col-span-3 col-start-2 ml-3 sm:col-span-2 sm:col-start-2 sm:ml-0 lg:col-start-1",
48652
+ className: "col-span-3 col-start-2 ml-3 flex justify-start sm:col-span-4 sm:col-start-2 sm:ml-0 lg:col-span-3 lg:col-start-1",
48665
48653
  design: design.logo,
48666
48654
  src: properties.logo.src
48667
48655
  }), /*#__PURE__*/React__default["default"].createElement("div", {
48668
- className: classnames("col-span-5 col-start-4 hidden items-center justify-center gap-x-6 lg:flex", {
48669
- "col-span-9 sm:justify-end": isEmpty(buttons)
48670
- })
48656
+ className: classnames("col-span-5 col-start-4 hidden items-center justify-center gap-x-6 lg:flex")
48671
48657
  }, properties.links.map(function (link, index) {
48672
48658
  cov_qyyffqgs8().f[1]++;
48673
- cov_qyyffqgs8().s[7]++;
48659
+ cov_qyyffqgs8().s[6]++;
48674
48660
  return /*#__PURE__*/React__default["default"].createElement(LinkElement, _extends__default["default"]({
48675
48661
  className: "hover:text-gray-700",
48676
48662
  key: getUniqueKey(link.label, index),
@@ -48680,7 +48666,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
48680
48666
  className: "col-span-8 col-start-5 flex justify-end sm:col-span-4 sm:col-start-9"
48681
48667
  }, buttons.map(function (button, index) {
48682
48668
  cov_qyyffqgs8().f[2]++;
48683
- cov_qyyffqgs8().s[8]++;
48669
+ cov_qyyffqgs8().s[7]++;
48684
48670
  return /*#__PURE__*/React__default["default"].createElement(Button, _extends__default["default"]({
48685
48671
  key: getUniqueKey(button.label, index),
48686
48672
  className: classnames({
@@ -48693,10 +48679,10 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
48693
48679
  className: "col-span-1 col-start-1 flex items-center sm:col-span-1 lg:hidden",
48694
48680
  onClick: function onClick() {
48695
48681
  cov_qyyffqgs8().f[3]++;
48696
- cov_qyyffqgs8().s[9]++;
48682
+ cov_qyyffqgs8().s[8]++;
48697
48683
  return setIsMenuOpen(function (open) {
48698
48684
  cov_qyyffqgs8().f[4]++;
48699
- cov_qyyffqgs8().s[10]++;
48685
+ cov_qyyffqgs8().s[9]++;
48700
48686
  return !open;
48701
48687
  });
48702
48688
  }
@@ -48706,7 +48692,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
48706
48692
  className: "fadeIn col-span-2 col-start-1 ml-2 mt-3 block space-y-2 lg:hidden"
48707
48693
  }, properties.links.map(function (button, index) {
48708
48694
  cov_qyyffqgs8().f[5]++;
48709
- cov_qyyffqgs8().s[11]++;
48695
+ cov_qyyffqgs8().s[10]++;
48710
48696
  return /*#__PURE__*/React__default["default"].createElement(LinkElement, _extends__default["default"]({
48711
48697
  key: getUniqueKey(button.url, button.label, index),
48712
48698
  style: design.links
@@ -49348,11 +49334,11 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
49348
49334
  style: design.links
49349
49335
  }, link));
49350
49336
  })), /*#__PURE__*/React__default["default"].createElement(StyledImage, {
49351
- className: "col-span-3 col-start-6 m-auto sm:col-start-5 lg:col-span-2 lg:col-start-6",
49337
+ className: "col-span-6 col-start-4 m-auto flex justify-center sm:col-span-4 sm:col-start-5 lg:col-span-3 lg:col-start-6",
49352
49338
  design: design.logo,
49353
49339
  src: properties.logo.src
49354
49340
  }), /*#__PURE__*/React__default["default"].createElement("div", {
49355
- className: "col-span-5 col-start-8 hidden justify-end sm:col-span-4 sm:col-start-9 sm:flex"
49341
+ className: "col-span-5 col-start-8 hidden justify-end sm:col-span-3 sm:col-start-10 sm:flex"
49356
49342
  }, properties.icons.map(function (_icon, index) {
49357
49343
  cov_2bx587e265().f[2]++;
49358
49344
  cov_2bx587e265().s[8]++;
@@ -49831,18 +49817,18 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
49831
49817
  }, /*#__PURE__*/React__default["default"].createElement("div", {
49832
49818
  className: classnames("neeto-site-block-wrapper", baseClasses)
49833
49819
  }, /*#__PURE__*/React__default["default"].createElement("div", {
49834
- className: "col-span-4 col-start-2 grid grid-cols-4 sm:col-span-4 sm:col-start-2 lg:col-span-4 lg:col-start-1"
49820
+ className: "col-span-5 col-start-2 grid grid-cols-6 sm:gap-x-2 lg:col-start-1 lg:gap-x-0"
49835
49821
  }, /*#__PURE__*/React__default["default"].createElement(StyledImage, {
49836
- className: "col-span-4 mx-auto sm:col-span-2 sm:flex sm:justify-end",
49822
+ className: "col-span-6 mx-auto sm:col-span-4 sm:flex sm:justify-end",
49837
49823
  design: design.logo,
49838
49824
  src: properties.logo.src
49839
49825
  }), /*#__PURE__*/React__default["default"].createElement(Typography, {
49840
49826
  isTitle: true,
49841
- className: "hidden items-center sm:col-span-2 sm:col-start-3 sm:flex lg:col-span-2",
49827
+ className: "hidden items-center sm:col-span-2 sm:col-start-5 sm:flex",
49842
49828
  component: "p",
49843
49829
  style: design.logoTitle
49844
49830
  }, properties.logo.title)), /*#__PURE__*/React__default["default"].createElement("div", {
49845
- className: "col-span-6 col-start-7 flex items-center justify-end gap-x-6 sm:col-span-6 sm:col-start-7 lg:col-span-8 lg:col-start-5"
49831
+ className: "col-span-6 col-start-7 flex items-center justify-end gap-x-6 sm:col-span-5 sm:col-start-8 lg:col-span-7 lg:col-start-6"
49846
49832
  }, properties.links.map(function (link, index) {
49847
49833
  cov_1pkgtwnnmf().f[1]++;
49848
49834
  cov_1pkgtwnnmf().s[7]++;