@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.js CHANGED
@@ -52096,7 +52096,7 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
52096
52096
 
52097
52097
  function cov_w4covn2rn() {
52098
52098
  var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/HeroWithCallToAction.jsx";
52099
- var hash = "bd11f35560f10e19c8c3f30d0e6b59a799b08176";
52099
+ var hash = "567d58f9d4c9b3ef903190001bb27bdad5af8a57";
52100
52100
  var global = new Function("return this")();
52101
52101
  var gcv = "__coverage__";
52102
52102
  var coverageData = {
@@ -52108,7 +52108,7 @@ function cov_w4covn2rn() {
52108
52108
  column: 29
52109
52109
  },
52110
52110
  end: {
52111
- line: 104,
52111
+ line: 106,
52112
52112
  column: 1
52113
52113
  }
52114
52114
  },
@@ -52158,37 +52158,37 @@ function cov_w4covn2rn() {
52158
52158
  column: 26
52159
52159
  },
52160
52160
  end: {
52161
- line: 47,
52161
+ line: 49,
52162
52162
  column: 4
52163
52163
  }
52164
52164
  },
52165
52165
  "6": {
52166
52166
  start: {
52167
- line: 49,
52167
+ line: 51,
52168
52168
  column: 28
52169
52169
  },
52170
52170
  end: {
52171
- line: 57,
52171
+ line: 59,
52172
52172
  column: 3
52173
52173
  }
52174
52174
  },
52175
52175
  "7": {
52176
52176
  start: {
52177
- line: 59,
52177
+ line: 61,
52178
52178
  column: 2
52179
52179
  },
52180
52180
  end: {
52181
- line: 103,
52181
+ line: 105,
52182
52182
  column: 4
52183
52183
  }
52184
52184
  },
52185
52185
  "8": {
52186
52186
  start: {
52187
- line: 80,
52187
+ line: 82,
52188
52188
  column: 12
52189
52189
  },
52190
52190
  end: {
52191
- line: 91,
52191
+ line: 93,
52192
52192
  column: 14
52193
52193
  }
52194
52194
  }
@@ -52212,7 +52212,7 @@ function cov_w4covn2rn() {
52212
52212
  column: 73
52213
52213
  },
52214
52214
  end: {
52215
- line: 104,
52215
+ line: 106,
52216
52216
  column: 1
52217
52217
  }
52218
52218
  },
@@ -52222,25 +52222,25 @@ function cov_w4covn2rn() {
52222
52222
  name: "(anonymous_1)",
52223
52223
  decl: {
52224
52224
  start: {
52225
- line: 79,
52225
+ line: 81,
52226
52226
  column: 34
52227
52227
  },
52228
52228
  end: {
52229
- line: 79,
52229
+ line: 81,
52230
52230
  column: 35
52231
52231
  }
52232
52232
  },
52233
52233
  loc: {
52234
52234
  start: {
52235
- line: 80,
52235
+ line: 82,
52236
52236
  column: 12
52237
52237
  },
52238
52238
  end: {
52239
- line: 91,
52239
+ line: 93,
52240
52240
  column: 14
52241
52241
  }
52242
52242
  },
52243
- line: 80
52243
+ line: 82
52244
52244
  }
52245
52245
  },
52246
52246
  branchMap: {
@@ -52271,77 +52271,209 @@ function cov_w4covn2rn() {
52271
52271
  "1": {
52272
52272
  loc: {
52273
52273
  start: {
52274
- line: 53,
52275
- column: 8
52274
+ line: 41,
52275
+ column: 6
52276
+ },
52277
+ end: {
52278
+ line: 41,
52279
+ column: 56
52280
+ }
52281
+ },
52282
+ type: "binary-expr",
52283
+ locations: [{
52284
+ start: {
52285
+ line: 41,
52286
+ column: 6
52287
+ },
52288
+ end: {
52289
+ line: 41,
52290
+ column: 44
52291
+ }
52292
+ }, {
52293
+ start: {
52294
+ line: 41,
52295
+ column: 48
52276
52296
  },
52277
52297
  end: {
52298
+ line: 41,
52299
+ column: 56
52300
+ }
52301
+ }],
52302
+ line: 41
52303
+ },
52304
+ "2": {
52305
+ loc: {
52306
+ start: {
52307
+ line: 43,
52308
+ column: 6
52309
+ },
52310
+ end: {
52311
+ line: 43,
52312
+ column: 57
52313
+ }
52314
+ },
52315
+ type: "binary-expr",
52316
+ locations: [{
52317
+ start: {
52318
+ line: 43,
52319
+ column: 6
52320
+ },
52321
+ end: {
52322
+ line: 43,
52323
+ column: 45
52324
+ }
52325
+ }, {
52326
+ start: {
52327
+ line: 43,
52328
+ column: 49
52329
+ },
52330
+ end: {
52331
+ line: 43,
52332
+ column: 57
52333
+ }
52334
+ }],
52335
+ line: 43
52336
+ },
52337
+ "3": {
52338
+ loc: {
52339
+ start: {
52340
+ line: 45,
52341
+ column: 6
52342
+ },
52343
+ end: {
52344
+ line: 45,
52345
+ column: 58
52346
+ }
52347
+ },
52348
+ type: "binary-expr",
52349
+ locations: [{
52350
+ start: {
52351
+ line: 45,
52352
+ column: 6
52353
+ },
52354
+ end: {
52355
+ line: 45,
52356
+ column: 46
52357
+ }
52358
+ }, {
52359
+ start: {
52360
+ line: 45,
52361
+ column: 50
52362
+ },
52363
+ end: {
52364
+ line: 45,
52365
+ column: 58
52366
+ }
52367
+ }],
52368
+ line: 45
52369
+ },
52370
+ "4": {
52371
+ loc: {
52372
+ start: {
52373
+ line: 47,
52374
+ column: 6
52375
+ },
52376
+ end: {
52377
+ line: 47,
52378
+ column: 55
52379
+ }
52380
+ },
52381
+ type: "binary-expr",
52382
+ locations: [{
52383
+ start: {
52384
+ line: 47,
52385
+ column: 6
52386
+ },
52387
+ end: {
52388
+ line: 47,
52389
+ column: 43
52390
+ }
52391
+ }, {
52392
+ start: {
52393
+ line: 47,
52394
+ column: 47
52395
+ },
52396
+ end: {
52397
+ line: 47,
52398
+ column: 55
52399
+ }
52400
+ }],
52401
+ line: 47
52402
+ },
52403
+ "5": {
52404
+ loc: {
52405
+ start: {
52278
52406
  line: 55,
52407
+ column: 8
52408
+ },
52409
+ end: {
52410
+ line: 57,
52279
52411
  column: 50
52280
52412
  }
52281
52413
  },
52282
52414
  type: "binary-expr",
52283
52415
  locations: [{
52284
52416
  start: {
52285
- line: 53,
52417
+ line: 55,
52286
52418
  column: 8
52287
52419
  },
52288
52420
  end: {
52289
- line: 53,
52421
+ line: 55,
52290
52422
  column: 16
52291
52423
  }
52292
52424
  }, {
52293
52425
  start: {
52294
- line: 54,
52426
+ line: 56,
52295
52427
  column: 9
52296
52428
  },
52297
52429
  end: {
52298
- line: 54,
52430
+ line: 56,
52299
52431
  column: 47
52300
52432
  }
52301
52433
  }, {
52302
52434
  start: {
52303
- line: 55,
52435
+ line: 57,
52304
52436
  column: 10
52305
52437
  },
52306
52438
  end: {
52307
- line: 55,
52439
+ line: 57,
52308
52440
  column: 49
52309
52441
  }
52310
52442
  }],
52311
- line: 53
52443
+ line: 55
52312
52444
  },
52313
- "2": {
52445
+ "6": {
52314
52446
  loc: {
52315
52447
  start: {
52316
- line: 87,
52448
+ line: 89,
52317
52449
  column: 16
52318
52450
  },
52319
52451
  end: {
52320
- line: 89,
52452
+ line: 91,
52321
52453
  column: 43
52322
52454
  }
52323
52455
  },
52324
52456
  type: "cond-expr",
52325
52457
  locations: [{
52326
52458
  start: {
52327
- line: 88,
52459
+ line: 90,
52328
52460
  column: 20
52329
52461
  },
52330
52462
  end: {
52331
- line: 88,
52463
+ line: 90,
52332
52464
  column: 41
52333
52465
  }
52334
52466
  }, {
52335
52467
  start: {
52336
- line: 89,
52468
+ line: 91,
52337
52469
  column: 20
52338
52470
  },
52339
52471
  end: {
52340
- line: 89,
52472
+ line: 91,
52341
52473
  column: 43
52342
52474
  }
52343
52475
  }],
52344
- line: 87
52476
+ line: 89
52345
52477
  }
52346
52478
  },
52347
52479
  s: {
@@ -52361,11 +52493,15 @@ function cov_w4covn2rn() {
52361
52493
  },
52362
52494
  b: {
52363
52495
  "0": [0],
52364
- "1": [0, 0, 0],
52365
- "2": [0, 0]
52496
+ "1": [0, 0],
52497
+ "2": [0, 0],
52498
+ "3": [0, 0],
52499
+ "4": [0, 0],
52500
+ "5": [0, 0, 0],
52501
+ "6": [0, 0]
52366
52502
  },
52367
52503
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
52368
- hash: "bd11f35560f10e19c8c3f30d0e6b59a799b08176"
52504
+ hash: "567d58f9d4c9b3ef903190001bb27bdad5af8a57"
52369
52505
  };
52370
52506
  var coverage = global[gcv] || (global[gcv] = {});
52371
52507
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -52410,14 +52546,14 @@ var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
52410
52546
  hidden: !imageURL
52411
52547
  }));
52412
52548
  var textBaseClasses = (cov_w4covn2rn().s[5]++, classnames("col-span-12", {
52413
- "sm:col-span-6 sm:col-start-7": POSITIONS.LEFT.label === imagePosition,
52414
- "sm:col-span-6 sm:col-start-1": POSITIONS.RIGHT.label === imagePosition,
52415
- "sm:col-span-12 sm:col-start-1 flex flex-col justify-center": POSITIONS.BOTTOM.label === imagePosition,
52416
- "sm:col-span-12 sm:col-start-1 flex flex-col justify-center order-2": POSITIONS.TOP.label === imagePosition,
52549
+ "sm:col-span-6 sm:col-start-7": (cov_w4covn2rn().b[1][0]++, POSITIONS.LEFT.label === imagePosition) && (cov_w4covn2rn().b[1][1]++, imageURL),
52550
+ "sm:col-span-6 sm:col-start-1": (cov_w4covn2rn().b[2][0]++, POSITIONS.RIGHT.label === imagePosition) && (cov_w4covn2rn().b[2][1]++, imageURL),
52551
+ "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),
52552
+ "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),
52417
52553
  "sm:col-span-12 lg:col-start-1": !imageURL
52418
52554
  }));
52419
52555
  var buttonBaseClasses = (cov_w4covn2rn().s[6]++, classnames("flex w-full items-center gap-x-3 justify-center", {
52420
- "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))
52556
+ "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))
52421
52557
  }));
52422
52558
  cov_w4covn2rn().s[7]++;
52423
52559
  return /*#__PURE__*/React__default.createElement(BlockWrapper, {
@@ -52457,7 +52593,7 @@ var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
52457
52593
  key: getUniqueKey(label, type, index),
52458
52594
  label: label,
52459
52595
  to: url,
52460
- style: type === "primary" ? (cov_w4covn2rn().b[2][0]++, design.primaryButtons) : (cov_w4covn2rn().b[2][1]++, design.secondaryButtons)
52596
+ style: type === "primary" ? (cov_w4covn2rn().b[6][0]++, design.primaryButtons) : (cov_w4covn2rn().b[6][1]++, design.secondaryButtons)
52461
52597
  });
52462
52598
  }))), /*#__PURE__*/React__default.createElement("div", {
52463
52599
  className: imageBaseClasses
@@ -52470,7 +52606,7 @@ var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
52470
52606
 
52471
52607
  function cov_i5yta5aq6() {
52472
52608
  var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/HeroWithMultipleLayouts.jsx";
52473
- var hash = "1044756a45b192156a100ced8659fd61f2925855";
52609
+ var hash = "ea9311292c018d156a04d2c6534bbf213312f67d";
52474
52610
  var global = new Function("return this")();
52475
52611
  var gcv = "__coverage__";
52476
52612
  var coverageData = {
@@ -52986,7 +53122,7 @@ function cov_i5yta5aq6() {
52986
53122
  },
52987
53123
  end: {
52988
53124
  line: 31,
52989
- column: 65
53125
+ column: 72
52990
53126
  }
52991
53127
  },
52992
53128
  type: "binary-expr",
@@ -53008,6 +53144,15 @@ function cov_i5yta5aq6() {
53008
53144
  line: 31,
53009
53145
  column: 65
53010
53146
  }
53147
+ }, {
53148
+ start: {
53149
+ line: 31,
53150
+ column: 69
53151
+ },
53152
+ end: {
53153
+ line: 31,
53154
+ column: 72
53155
+ }
53011
53156
  }],
53012
53157
  line: 31
53013
53158
  },
@@ -53019,7 +53164,7 @@ function cov_i5yta5aq6() {
53019
53164
  },
53020
53165
  end: {
53021
53166
  line: 33,
53022
- column: 50
53167
+ column: 57
53023
53168
  }
53024
53169
  },
53025
53170
  type: "binary-expr",
@@ -53041,6 +53186,15 @@ function cov_i5yta5aq6() {
53041
53186
  line: 33,
53042
53187
  column: 50
53043
53188
  }
53189
+ }, {
53190
+ start: {
53191
+ line: 33,
53192
+ column: 54
53193
+ },
53194
+ end: {
53195
+ line: 33,
53196
+ column: 57
53197
+ }
53044
53198
  }],
53045
53199
  line: 33
53046
53200
  },
@@ -53052,7 +53206,7 @@ function cov_i5yta5aq6() {
53052
53206
  },
53053
53207
  end: {
53054
53208
  line: 34,
53055
- column: 64
53209
+ column: 71
53056
53210
  }
53057
53211
  },
53058
53212
  type: "binary-expr",
@@ -53074,6 +53228,15 @@ function cov_i5yta5aq6() {
53074
53228
  line: 34,
53075
53229
  column: 64
53076
53230
  }
53231
+ }, {
53232
+ start: {
53233
+ line: 34,
53234
+ column: 68
53235
+ },
53236
+ end: {
53237
+ line: 34,
53238
+ column: 71
53239
+ }
53077
53240
  }],
53078
53241
  line: 34
53079
53242
  },
@@ -53314,9 +53477,9 @@ function cov_i5yta5aq6() {
53314
53477
  },
53315
53478
  b: {
53316
53479
  "0": [0],
53317
- "1": [0, 0],
53318
- "2": [0, 0],
53319
- "3": [0, 0],
53480
+ "1": [0, 0, 0],
53481
+ "2": [0, 0, 0],
53482
+ "3": [0, 0, 0],
53320
53483
  "4": [0, 0],
53321
53484
  "5": [0, 0],
53322
53485
  "6": [0, 0],
@@ -53325,7 +53488,7 @@ function cov_i5yta5aq6() {
53325
53488
  "9": [0, 0]
53326
53489
  },
53327
53490
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
53328
- hash: "1044756a45b192156a100ced8659fd61f2925855"
53491
+ hash: "ea9311292c018d156a04d2c6534bbf213312f67d"
53329
53492
  };
53330
53493
  var coverage = global[gcv] || (global[gcv] = {});
53331
53494
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -53370,9 +53533,9 @@ var HeroWithMultipleLayouts = function HeroWithMultipleLayouts(_ref) {
53370
53533
  cov_i5yta5aq6().f[1]++;
53371
53534
  cov_i5yta5aq6().s[7]++;
53372
53535
  return classnames("sm:col-span-6 col-span-12", {
53373
- "sm:col-start-1": (cov_i5yta5aq6().b[1][0]++, src) && (cov_i5yta5aq6().b[1][1]++, position === POSITIONS.RIGHT.label),
53374
- "sm:col-span-8 sm:col-start-3": (cov_i5yta5aq6().b[2][0]++, src) && (cov_i5yta5aq6().b[2][1]++, position === POSITIONS.CENTER.label),
53375
- "sm:col-start-7": (cov_i5yta5aq6().b[3][0]++, src) && (cov_i5yta5aq6().b[3][1]++, position === POSITIONS.LEFT.label),
53536
+ "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),
53537
+ "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),
53538
+ "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),
53376
53539
  "flex flex-col justify-center sm:col-span-12": !src
53377
53540
  });
53378
53541
  };