@bigbinary/neeto-site-blocks 0.28.2 → 0.28.3

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
@@ -52142,7 +52142,7 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
52142
52142
 
52143
52143
  function cov_w4covn2rn() {
52144
52144
  var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/HeroWithCallToAction.jsx";
52145
- var hash = "bd11f35560f10e19c8c3f30d0e6b59a799b08176";
52145
+ var hash = "567d58f9d4c9b3ef903190001bb27bdad5af8a57";
52146
52146
  var global = new Function("return this")();
52147
52147
  var gcv = "__coverage__";
52148
52148
  var coverageData = {
@@ -52154,7 +52154,7 @@ function cov_w4covn2rn() {
52154
52154
  column: 29
52155
52155
  },
52156
52156
  end: {
52157
- line: 104,
52157
+ line: 106,
52158
52158
  column: 1
52159
52159
  }
52160
52160
  },
@@ -52204,37 +52204,37 @@ function cov_w4covn2rn() {
52204
52204
  column: 26
52205
52205
  },
52206
52206
  end: {
52207
- line: 47,
52207
+ line: 49,
52208
52208
  column: 4
52209
52209
  }
52210
52210
  },
52211
52211
  "6": {
52212
52212
  start: {
52213
- line: 49,
52213
+ line: 51,
52214
52214
  column: 28
52215
52215
  },
52216
52216
  end: {
52217
- line: 57,
52217
+ line: 59,
52218
52218
  column: 3
52219
52219
  }
52220
52220
  },
52221
52221
  "7": {
52222
52222
  start: {
52223
- line: 59,
52223
+ line: 61,
52224
52224
  column: 2
52225
52225
  },
52226
52226
  end: {
52227
- line: 103,
52227
+ line: 105,
52228
52228
  column: 4
52229
52229
  }
52230
52230
  },
52231
52231
  "8": {
52232
52232
  start: {
52233
- line: 80,
52233
+ line: 82,
52234
52234
  column: 12
52235
52235
  },
52236
52236
  end: {
52237
- line: 91,
52237
+ line: 93,
52238
52238
  column: 14
52239
52239
  }
52240
52240
  }
@@ -52258,7 +52258,7 @@ function cov_w4covn2rn() {
52258
52258
  column: 73
52259
52259
  },
52260
52260
  end: {
52261
- line: 104,
52261
+ line: 106,
52262
52262
  column: 1
52263
52263
  }
52264
52264
  },
@@ -52268,25 +52268,25 @@ function cov_w4covn2rn() {
52268
52268
  name: "(anonymous_1)",
52269
52269
  decl: {
52270
52270
  start: {
52271
- line: 79,
52271
+ line: 81,
52272
52272
  column: 34
52273
52273
  },
52274
52274
  end: {
52275
- line: 79,
52275
+ line: 81,
52276
52276
  column: 35
52277
52277
  }
52278
52278
  },
52279
52279
  loc: {
52280
52280
  start: {
52281
- line: 80,
52281
+ line: 82,
52282
52282
  column: 12
52283
52283
  },
52284
52284
  end: {
52285
- line: 91,
52285
+ line: 93,
52286
52286
  column: 14
52287
52287
  }
52288
52288
  },
52289
- line: 80
52289
+ line: 82
52290
52290
  }
52291
52291
  },
52292
52292
  branchMap: {
@@ -52317,77 +52317,209 @@ function cov_w4covn2rn() {
52317
52317
  "1": {
52318
52318
  loc: {
52319
52319
  start: {
52320
- line: 53,
52321
- column: 8
52320
+ line: 41,
52321
+ column: 6
52322
+ },
52323
+ end: {
52324
+ line: 41,
52325
+ column: 56
52326
+ }
52327
+ },
52328
+ type: "binary-expr",
52329
+ locations: [{
52330
+ start: {
52331
+ line: 41,
52332
+ column: 6
52333
+ },
52334
+ end: {
52335
+ line: 41,
52336
+ column: 44
52337
+ }
52338
+ }, {
52339
+ start: {
52340
+ line: 41,
52341
+ column: 48
52322
52342
  },
52323
52343
  end: {
52344
+ line: 41,
52345
+ column: 56
52346
+ }
52347
+ }],
52348
+ line: 41
52349
+ },
52350
+ "2": {
52351
+ loc: {
52352
+ start: {
52353
+ line: 43,
52354
+ column: 6
52355
+ },
52356
+ end: {
52357
+ line: 43,
52358
+ column: 57
52359
+ }
52360
+ },
52361
+ type: "binary-expr",
52362
+ locations: [{
52363
+ start: {
52364
+ line: 43,
52365
+ column: 6
52366
+ },
52367
+ end: {
52368
+ line: 43,
52369
+ column: 45
52370
+ }
52371
+ }, {
52372
+ start: {
52373
+ line: 43,
52374
+ column: 49
52375
+ },
52376
+ end: {
52377
+ line: 43,
52378
+ column: 57
52379
+ }
52380
+ }],
52381
+ line: 43
52382
+ },
52383
+ "3": {
52384
+ loc: {
52385
+ start: {
52386
+ line: 45,
52387
+ column: 6
52388
+ },
52389
+ end: {
52390
+ line: 45,
52391
+ column: 58
52392
+ }
52393
+ },
52394
+ type: "binary-expr",
52395
+ locations: [{
52396
+ start: {
52397
+ line: 45,
52398
+ column: 6
52399
+ },
52400
+ end: {
52401
+ line: 45,
52402
+ column: 46
52403
+ }
52404
+ }, {
52405
+ start: {
52406
+ line: 45,
52407
+ column: 50
52408
+ },
52409
+ end: {
52410
+ line: 45,
52411
+ column: 58
52412
+ }
52413
+ }],
52414
+ line: 45
52415
+ },
52416
+ "4": {
52417
+ loc: {
52418
+ start: {
52419
+ line: 47,
52420
+ column: 6
52421
+ },
52422
+ end: {
52423
+ line: 47,
52424
+ column: 55
52425
+ }
52426
+ },
52427
+ type: "binary-expr",
52428
+ locations: [{
52429
+ start: {
52430
+ line: 47,
52431
+ column: 6
52432
+ },
52433
+ end: {
52434
+ line: 47,
52435
+ column: 43
52436
+ }
52437
+ }, {
52438
+ start: {
52439
+ line: 47,
52440
+ column: 47
52441
+ },
52442
+ end: {
52443
+ line: 47,
52444
+ column: 55
52445
+ }
52446
+ }],
52447
+ line: 47
52448
+ },
52449
+ "5": {
52450
+ loc: {
52451
+ start: {
52324
52452
  line: 55,
52453
+ column: 8
52454
+ },
52455
+ end: {
52456
+ line: 57,
52325
52457
  column: 50
52326
52458
  }
52327
52459
  },
52328
52460
  type: "binary-expr",
52329
52461
  locations: [{
52330
52462
  start: {
52331
- line: 53,
52463
+ line: 55,
52332
52464
  column: 8
52333
52465
  },
52334
52466
  end: {
52335
- line: 53,
52467
+ line: 55,
52336
52468
  column: 16
52337
52469
  }
52338
52470
  }, {
52339
52471
  start: {
52340
- line: 54,
52472
+ line: 56,
52341
52473
  column: 9
52342
52474
  },
52343
52475
  end: {
52344
- line: 54,
52476
+ line: 56,
52345
52477
  column: 47
52346
52478
  }
52347
52479
  }, {
52348
52480
  start: {
52349
- line: 55,
52481
+ line: 57,
52350
52482
  column: 10
52351
52483
  },
52352
52484
  end: {
52353
- line: 55,
52485
+ line: 57,
52354
52486
  column: 49
52355
52487
  }
52356
52488
  }],
52357
- line: 53
52489
+ line: 55
52358
52490
  },
52359
- "2": {
52491
+ "6": {
52360
52492
  loc: {
52361
52493
  start: {
52362
- line: 87,
52494
+ line: 89,
52363
52495
  column: 16
52364
52496
  },
52365
52497
  end: {
52366
- line: 89,
52498
+ line: 91,
52367
52499
  column: 43
52368
52500
  }
52369
52501
  },
52370
52502
  type: "cond-expr",
52371
52503
  locations: [{
52372
52504
  start: {
52373
- line: 88,
52505
+ line: 90,
52374
52506
  column: 20
52375
52507
  },
52376
52508
  end: {
52377
- line: 88,
52509
+ line: 90,
52378
52510
  column: 41
52379
52511
  }
52380
52512
  }, {
52381
52513
  start: {
52382
- line: 89,
52514
+ line: 91,
52383
52515
  column: 20
52384
52516
  },
52385
52517
  end: {
52386
- line: 89,
52518
+ line: 91,
52387
52519
  column: 43
52388
52520
  }
52389
52521
  }],
52390
- line: 87
52522
+ line: 89
52391
52523
  }
52392
52524
  },
52393
52525
  s: {
@@ -52407,11 +52539,15 @@ function cov_w4covn2rn() {
52407
52539
  },
52408
52540
  b: {
52409
52541
  "0": [0],
52410
- "1": [0, 0, 0],
52411
- "2": [0, 0]
52542
+ "1": [0, 0],
52543
+ "2": [0, 0],
52544
+ "3": [0, 0],
52545
+ "4": [0, 0],
52546
+ "5": [0, 0, 0],
52547
+ "6": [0, 0]
52412
52548
  },
52413
52549
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
52414
- hash: "bd11f35560f10e19c8c3f30d0e6b59a799b08176"
52550
+ hash: "567d58f9d4c9b3ef903190001bb27bdad5af8a57"
52415
52551
  };
52416
52552
  var coverage = global[gcv] || (global[gcv] = {});
52417
52553
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -52456,14 +52592,14 @@ var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
52456
52592
  hidden: !imageURL
52457
52593
  }));
52458
52594
  var textBaseClasses = (cov_w4covn2rn().s[5]++, classnames("col-span-12", {
52459
- "sm:col-span-6 sm:col-start-7": POSITIONS.LEFT.label === imagePosition,
52460
- "sm:col-span-6 sm:col-start-1": POSITIONS.RIGHT.label === imagePosition,
52461
- "sm:col-span-12 sm:col-start-1 flex flex-col justify-center": POSITIONS.BOTTOM.label === imagePosition,
52462
- "sm:col-span-12 sm:col-start-1 flex flex-col justify-center order-2": POSITIONS.TOP.label === imagePosition,
52595
+ "sm:col-span-6 sm:col-start-7": (cov_w4covn2rn().b[1][0]++, POSITIONS.LEFT.label === imagePosition) && (cov_w4covn2rn().b[1][1]++, imageURL),
52596
+ "sm:col-span-6 sm:col-start-1": (cov_w4covn2rn().b[2][0]++, POSITIONS.RIGHT.label === imagePosition) && (cov_w4covn2rn().b[2][1]++, imageURL),
52597
+ "sm:col-span-12 sm:col-start-1 flex flex-col justify-center": (cov_w4covn2rn().b[3][0]++, POSITIONS.BOTTOM.label === imagePosition) && (cov_w4covn2rn().b[3][1]++, imageURL),
52598
+ "sm:col-span-12 sm:col-start-1 flex flex-col justify-center order-2": (cov_w4covn2rn().b[4][0]++, POSITIONS.TOP.label === imagePosition) && (cov_w4covn2rn().b[4][1]++, imageURL),
52463
52599
  "sm:col-span-12 lg:col-start-1": !imageURL
52464
52600
  }));
52465
52601
  var buttonBaseClasses = (cov_w4covn2rn().s[6]++, classnames("flex w-full items-center gap-x-3 justify-center", {
52466
- "sm:justify-start": (cov_w4covn2rn().b[1][0]++, imageURL) && ((cov_w4covn2rn().b[1][1]++, imagePosition === POSITIONS.LEFT.label) || (cov_w4covn2rn().b[1][2]++, imagePosition === POSITIONS.RIGHT.label))
52602
+ "sm:justify-start": (cov_w4covn2rn().b[5][0]++, imageURL) && ((cov_w4covn2rn().b[5][1]++, imagePosition === POSITIONS.LEFT.label) || (cov_w4covn2rn().b[5][2]++, imagePosition === POSITIONS.RIGHT.label))
52467
52603
  }));
52468
52604
  cov_w4covn2rn().s[7]++;
52469
52605
  return /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
@@ -52503,7 +52639,7 @@ var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
52503
52639
  key: getUniqueKey(label, type, index),
52504
52640
  label: label,
52505
52641
  to: url,
52506
- style: type === "primary" ? (cov_w4covn2rn().b[2][0]++, design.primaryButtons) : (cov_w4covn2rn().b[2][1]++, design.secondaryButtons)
52642
+ style: type === "primary" ? (cov_w4covn2rn().b[6][0]++, design.primaryButtons) : (cov_w4covn2rn().b[6][1]++, design.secondaryButtons)
52507
52643
  });
52508
52644
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
52509
52645
  className: imageBaseClasses
@@ -52516,7 +52652,7 @@ var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
52516
52652
 
52517
52653
  function cov_i5yta5aq6() {
52518
52654
  var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/HeroWithMultipleLayouts.jsx";
52519
- var hash = "1044756a45b192156a100ced8659fd61f2925855";
52655
+ var hash = "ea9311292c018d156a04d2c6534bbf213312f67d";
52520
52656
  var global = new Function("return this")();
52521
52657
  var gcv = "__coverage__";
52522
52658
  var coverageData = {
@@ -53032,7 +53168,7 @@ function cov_i5yta5aq6() {
53032
53168
  },
53033
53169
  end: {
53034
53170
  line: 31,
53035
- column: 65
53171
+ column: 72
53036
53172
  }
53037
53173
  },
53038
53174
  type: "binary-expr",
@@ -53054,6 +53190,15 @@ function cov_i5yta5aq6() {
53054
53190
  line: 31,
53055
53191
  column: 65
53056
53192
  }
53193
+ }, {
53194
+ start: {
53195
+ line: 31,
53196
+ column: 69
53197
+ },
53198
+ end: {
53199
+ line: 31,
53200
+ column: 72
53201
+ }
53057
53202
  }],
53058
53203
  line: 31
53059
53204
  },
@@ -53065,7 +53210,7 @@ function cov_i5yta5aq6() {
53065
53210
  },
53066
53211
  end: {
53067
53212
  line: 33,
53068
- column: 50
53213
+ column: 57
53069
53214
  }
53070
53215
  },
53071
53216
  type: "binary-expr",
@@ -53087,6 +53232,15 @@ function cov_i5yta5aq6() {
53087
53232
  line: 33,
53088
53233
  column: 50
53089
53234
  }
53235
+ }, {
53236
+ start: {
53237
+ line: 33,
53238
+ column: 54
53239
+ },
53240
+ end: {
53241
+ line: 33,
53242
+ column: 57
53243
+ }
53090
53244
  }],
53091
53245
  line: 33
53092
53246
  },
@@ -53098,7 +53252,7 @@ function cov_i5yta5aq6() {
53098
53252
  },
53099
53253
  end: {
53100
53254
  line: 34,
53101
- column: 64
53255
+ column: 71
53102
53256
  }
53103
53257
  },
53104
53258
  type: "binary-expr",
@@ -53120,6 +53274,15 @@ function cov_i5yta5aq6() {
53120
53274
  line: 34,
53121
53275
  column: 64
53122
53276
  }
53277
+ }, {
53278
+ start: {
53279
+ line: 34,
53280
+ column: 68
53281
+ },
53282
+ end: {
53283
+ line: 34,
53284
+ column: 71
53285
+ }
53123
53286
  }],
53124
53287
  line: 34
53125
53288
  },
@@ -53360,9 +53523,9 @@ function cov_i5yta5aq6() {
53360
53523
  },
53361
53524
  b: {
53362
53525
  "0": [0],
53363
- "1": [0, 0],
53364
- "2": [0, 0],
53365
- "3": [0, 0],
53526
+ "1": [0, 0, 0],
53527
+ "2": [0, 0, 0],
53528
+ "3": [0, 0, 0],
53366
53529
  "4": [0, 0],
53367
53530
  "5": [0, 0],
53368
53531
  "6": [0, 0],
@@ -53371,7 +53534,7 @@ function cov_i5yta5aq6() {
53371
53534
  "9": [0, 0]
53372
53535
  },
53373
53536
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
53374
- hash: "1044756a45b192156a100ced8659fd61f2925855"
53537
+ hash: "ea9311292c018d156a04d2c6534bbf213312f67d"
53375
53538
  };
53376
53539
  var coverage = global[gcv] || (global[gcv] = {});
53377
53540
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -53416,9 +53579,9 @@ var HeroWithMultipleLayouts = function HeroWithMultipleLayouts(_ref) {
53416
53579
  cov_i5yta5aq6().f[1]++;
53417
53580
  cov_i5yta5aq6().s[7]++;
53418
53581
  return classnames("sm:col-span-6 col-span-12", {
53419
- "sm:col-start-1": (cov_i5yta5aq6().b[1][0]++, src) && (cov_i5yta5aq6().b[1][1]++, position === POSITIONS.RIGHT.label),
53420
- "sm:col-span-8 sm:col-start-3": (cov_i5yta5aq6().b[2][0]++, src) && (cov_i5yta5aq6().b[2][1]++, position === POSITIONS.CENTER.label),
53421
- "sm:col-start-7": (cov_i5yta5aq6().b[3][0]++, src) && (cov_i5yta5aq6().b[3][1]++, position === POSITIONS.LEFT.label),
53582
+ "sm:col-start-1": (cov_i5yta5aq6().b[1][0]++, src) && (cov_i5yta5aq6().b[1][1]++, position === POSITIONS.RIGHT.label) && (cov_i5yta5aq6().b[1][2]++, src),
53583
+ "sm:col-span-8 sm:col-start-3": (cov_i5yta5aq6().b[2][0]++, src) && (cov_i5yta5aq6().b[2][1]++, position === POSITIONS.CENTER.label) && (cov_i5yta5aq6().b[2][2]++, src),
53584
+ "sm:col-start-7": (cov_i5yta5aq6().b[3][0]++, src) && (cov_i5yta5aq6().b[3][1]++, position === POSITIONS.LEFT.label) && (cov_i5yta5aq6().b[3][2]++, src),
53422
53585
  "flex flex-col justify-center sm:col-span-12": !src
53423
53586
  });
53424
53587
  };