@bigbinary/neeto-site-blocks 0.28.0 → 0.28.1

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
@@ -22297,7 +22297,7 @@ SwiperSlide.displayName = 'SwiperSlide';
22297
22297
 
22298
22298
  function cov_28vs9apug9() {
22299
22299
  var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/CardsInGridView.jsx";
22300
- var hash = "2d6586e7549a96cf628a3e0cfba1afba811f1daf";
22300
+ var hash = "736a81b1388a09af42d03fbc851c3b42e91dce68";
22301
22301
  var global = new Function("return this")();
22302
22302
  var gcv = "__coverage__";
22303
22303
  var coverageData = {
@@ -22309,7 +22309,7 @@ function cov_28vs9apug9() {
22309
22309
  column: 24
22310
22310
  },
22311
22311
  end: {
22312
- line: 164,
22312
+ line: 166,
22313
22313
  column: 1
22314
22314
  }
22315
22315
  },
@@ -22469,7 +22469,7 @@ function cov_28vs9apug9() {
22469
22469
  column: 2
22470
22470
  },
22471
22471
  end: {
22472
- line: 163,
22472
+ line: 165,
22473
22473
  column: 4
22474
22474
  }
22475
22475
  },
@@ -22503,7 +22503,7 @@ function cov_28vs9apug9() {
22503
22503
  column: 68
22504
22504
  },
22505
22505
  end: {
22506
- line: 164,
22506
+ line: 166,
22507
22507
  column: 1
22508
22508
  }
22509
22509
  },
@@ -22833,7 +22833,7 @@ function cov_28vs9apug9() {
22833
22833
  column: 7
22834
22834
  },
22835
22835
  end: {
22836
- line: 161,
22836
+ line: 163,
22837
22837
  column: 7
22838
22838
  }
22839
22839
  },
@@ -22853,8 +22853,8 @@ function cov_28vs9apug9() {
22853
22853
  column: 8
22854
22854
  },
22855
22855
  end: {
22856
- line: 160,
22857
- column: 10
22856
+ line: 162,
22857
+ column: 14
22858
22858
  }
22859
22859
  }],
22860
22860
  line: 155
@@ -22899,7 +22899,7 @@ function cov_28vs9apug9() {
22899
22899
  "4": [0, 0]
22900
22900
  },
22901
22901
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
22902
- hash: "2d6586e7549a96cf628a3e0cfba1afba811f1daf"
22902
+ hash: "736a81b1388a09af42d03fbc851c3b42e91dce68"
22903
22903
  };
22904
22904
  var coverage = global[gcv] || (global[gcv] = {});
22905
22905
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -23069,15 +23069,17 @@ var CardsInGridView = function CardsInGridView(_ref) {
23069
23069
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
23070
23070
  key: getUniqueKey(card.title, card.description, index)
23071
23071
  }, renderCard(card));
23072
- }), (cov_28vs9apug9().b[4][0]++, isButtonRequired) && (cov_28vs9apug9().b[4][1]++, /*#__PURE__*/React__default["default"].createElement(Button, _extends__default["default"]({
23072
+ }), (cov_28vs9apug9().b[4][0]++, isButtonRequired) && (cov_28vs9apug9().b[4][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
23073
+ className: "col-span-12 grid grid-cols-12"
23074
+ }, /*#__PURE__*/React__default["default"].createElement(Button, _extends__default["default"]({
23073
23075
  className: "col-span-12 flex justify-center sm:col-span-6 sm:col-start-4 lg:col-span-4 lg:col-start-5",
23074
23076
  style: design.button
23075
- }, button))));
23077
+ }, button)))));
23076
23078
  };
23077
23079
 
23078
23080
  function cov_27t2v2dfma() {
23079
23081
  var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/CardsWithCustomizableGrid.jsx";
23080
- var hash = "e4ada9327e46c07de15f31aada90d028566e31a0";
23082
+ var hash = "5a172e7bd5926ffcce34b3c4e35d8aaa1ed851f5";
23081
23083
  var global = new Function("return this")();
23082
23084
  var gcv = "__coverage__";
23083
23085
  var coverageData = {
@@ -23089,7 +23091,7 @@ function cov_27t2v2dfma() {
23089
23091
  column: 34
23090
23092
  },
23091
23093
  end: {
23092
- line: 96,
23094
+ line: 98,
23093
23095
  column: 1
23094
23096
  }
23095
23097
  },
@@ -23139,7 +23141,7 @@ function cov_27t2v2dfma() {
23139
23141
  column: 2
23140
23142
  },
23141
23143
  end: {
23142
- line: 95,
23144
+ line: 97,
23143
23145
  column: 4
23144
23146
  }
23145
23147
  },
@@ -23183,7 +23185,7 @@ function cov_27t2v2dfma() {
23183
23185
  column: 78
23184
23186
  },
23185
23187
  end: {
23186
- line: 96,
23188
+ line: 98,
23187
23189
  column: 1
23188
23190
  }
23189
23191
  },
@@ -23336,7 +23338,7 @@ function cov_27t2v2dfma() {
23336
23338
  column: 9
23337
23339
  },
23338
23340
  end: {
23339
- line: 92,
23341
+ line: 94,
23340
23342
  column: 9
23341
23343
  }
23342
23344
  },
@@ -23356,8 +23358,8 @@ function cov_27t2v2dfma() {
23356
23358
  column: 10
23357
23359
  },
23358
23360
  end: {
23359
- line: 91,
23360
- column: 12
23361
+ line: 93,
23362
+ column: 16
23361
23363
  }
23362
23364
  }],
23363
23365
  line: 86
@@ -23385,7 +23387,7 @@ function cov_27t2v2dfma() {
23385
23387
  "3": [0, 0]
23386
23388
  },
23387
23389
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
23388
- hash: "e4ada9327e46c07de15f31aada90d028566e31a0"
23390
+ hash: "5a172e7bd5926ffcce34b3c4e35d8aaa1ed851f5"
23389
23391
  };
23390
23392
  var coverage = global[gcv] || (global[gcv] = {});
23391
23393
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -23476,10 +23478,12 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
23476
23478
  component: "p",
23477
23479
  style: design.cardDescription
23478
23480
  }, description));
23479
- }), (cov_27t2v2dfma().b[3][0]++, isButtonRequired) && (cov_27t2v2dfma().b[3][1]++, /*#__PURE__*/React__default["default"].createElement(Button, _extends__default["default"]({
23481
+ }), (cov_27t2v2dfma().b[3][0]++, isButtonRequired) && (cov_27t2v2dfma().b[3][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
23482
+ className: "col-span-12 grid grid-cols-12"
23483
+ }, /*#__PURE__*/React__default["default"].createElement(Button, _extends__default["default"]({
23480
23484
  className: "col-span-12 flex justify-center sm:col-span-6 sm:col-start-4 lg:col-span-4 lg:col-start-5",
23481
23485
  style: design.button
23482
- }, button)))));
23486
+ }, button))))));
23483
23487
  };
23484
23488
 
23485
23489
  var lib = {};
@@ -26338,7 +26342,7 @@ var CardsWithGallery = function CardsWithGallery(_ref) {
26338
26342
 
26339
26343
  function cov_1ewhd24l3e() {
26340
26344
  var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/CardsWithImage.jsx";
26341
- var hash = "a75d275917730ebe5fd03d1bb0f427cc67fa2f65";
26345
+ var hash = "b19c1b0cd97c09f7e6ebb6b4e606ec22f6ec2aa6";
26342
26346
  var global = new Function("return this")();
26343
26347
  var gcv = "__coverage__";
26344
26348
  var coverageData = {
@@ -26350,7 +26354,7 @@ function cov_1ewhd24l3e() {
26350
26354
  column: 23
26351
26355
  },
26352
26356
  end: {
26353
- line: 105,
26357
+ line: 106,
26354
26358
  column: 1
26355
26359
  }
26356
26360
  },
@@ -26366,71 +26370,71 @@ function cov_1ewhd24l3e() {
26366
26370
  },
26367
26371
  "2": {
26368
26372
  start: {
26369
- line: 17,
26373
+ line: 18,
26370
26374
  column: 6
26371
26375
  },
26372
26376
  end: {
26373
- line: 17,
26377
+ line: 18,
26374
26378
  column: 16
26375
26379
  }
26376
26380
  },
26377
26381
  "3": {
26378
26382
  start: {
26379
- line: 19,
26383
+ line: 20,
26380
26384
  column: 22
26381
26385
  },
26382
26386
  end: {
26383
- line: 19,
26387
+ line: 20,
26384
26388
  column: 70
26385
26389
  }
26386
26390
  },
26387
26391
  "4": {
26388
26392
  start: {
26389
- line: 22,
26393
+ line: 23,
26390
26394
  column: 4
26391
26395
  },
26392
26396
  end: {
26393
- line: 22,
26397
+ line: 23,
26394
26398
  column: 143
26395
26399
  }
26396
26400
  },
26397
26401
  "5": {
26398
26402
  start: {
26399
- line: 24,
26403
+ line: 25,
26400
26404
  column: 2
26401
26405
  },
26402
26406
  end: {
26403
- line: 104,
26407
+ line: 105,
26404
26408
  column: 4
26405
26409
  }
26406
26410
  },
26407
26411
  "6": {
26408
26412
  start: {
26409
- line: 51,
26413
+ line: 52,
26410
26414
  column: 10
26411
26415
  },
26412
26416
  end: {
26413
- line: 81,
26417
+ line: 82,
26414
26418
  column: 26
26415
26419
  }
26416
26420
  },
26417
26421
  "7": {
26418
26422
  start: {
26419
- line: 60,
26423
+ line: 61,
26420
26424
  column: 27
26421
26425
  },
26422
26426
  end: {
26423
- line: 60,
26427
+ line: 61,
26424
26428
  column: 62
26425
26429
  }
26426
26430
  },
26427
26431
  "8": {
26428
26432
  start: {
26429
- line: 98,
26433
+ line: 99,
26430
26434
  column: 26
26431
26435
  },
26432
26436
  end: {
26433
- line: 98,
26437
+ line: 99,
26434
26438
  column: 60
26435
26439
  }
26436
26440
  }
@@ -26454,7 +26458,7 @@ function cov_1ewhd24l3e() {
26454
26458
  column: 67
26455
26459
  },
26456
26460
  end: {
26457
- line: 105,
26461
+ line: 106,
26458
26462
  column: 1
26459
26463
  }
26460
26464
  },
@@ -26464,73 +26468,73 @@ function cov_1ewhd24l3e() {
26464
26468
  name: "(anonymous_1)",
26465
26469
  decl: {
26466
26470
  start: {
26467
- line: 50,
26471
+ line: 51,
26468
26472
  column: 19
26469
26473
  },
26470
26474
  end: {
26471
- line: 50,
26475
+ line: 51,
26472
26476
  column: 20
26473
26477
  }
26474
26478
  },
26475
26479
  loc: {
26476
26480
  start: {
26477
- line: 51,
26481
+ line: 52,
26478
26482
  column: 10
26479
26483
  },
26480
26484
  end: {
26481
- line: 81,
26485
+ line: 82,
26482
26486
  column: 26
26483
26487
  }
26484
26488
  },
26485
- line: 51
26489
+ line: 52
26486
26490
  },
26487
26491
  "2": {
26488
26492
  name: "(anonymous_2)",
26489
26493
  decl: {
26490
26494
  start: {
26491
- line: 60,
26495
+ line: 61,
26492
26496
  column: 21
26493
26497
  },
26494
26498
  end: {
26495
- line: 60,
26499
+ line: 61,
26496
26500
  column: 22
26497
26501
  }
26498
26502
  },
26499
26503
  loc: {
26500
26504
  start: {
26501
- line: 60,
26505
+ line: 61,
26502
26506
  column: 27
26503
26507
  },
26504
26508
  end: {
26505
- line: 60,
26509
+ line: 61,
26506
26510
  column: 62
26507
26511
  }
26508
26512
  },
26509
- line: 60
26513
+ line: 61
26510
26514
  },
26511
26515
  "3": {
26512
26516
  name: "(anonymous_3)",
26513
26517
  decl: {
26514
26518
  start: {
26515
- line: 98,
26519
+ line: 99,
26516
26520
  column: 20
26517
26521
  },
26518
26522
  end: {
26519
- line: 98,
26523
+ line: 99,
26520
26524
  column: 21
26521
26525
  }
26522
26526
  },
26523
26527
  loc: {
26524
26528
  start: {
26525
- line: 98,
26529
+ line: 99,
26526
26530
  column: 26
26527
26531
  },
26528
26532
  end: {
26529
- line: 98,
26533
+ line: 99,
26530
26534
  column: 60
26531
26535
  }
26532
26536
  },
26533
- line: 98
26537
+ line: 99
26534
26538
  }
26535
26539
  },
26536
26540
  branchMap: {
@@ -26561,68 +26565,68 @@ function cov_1ewhd24l3e() {
26561
26565
  "1": {
26562
26566
  loc: {
26563
26567
  start: {
26564
- line: 60,
26568
+ line: 61,
26565
26569
  column: 27
26566
26570
  },
26567
26571
  end: {
26568
- line: 60,
26572
+ line: 61,
26569
26573
  column: 62
26570
26574
  }
26571
26575
  },
26572
26576
  type: "binary-expr",
26573
26577
  locations: [{
26574
26578
  start: {
26575
- line: 60,
26579
+ line: 61,
26576
26580
  column: 27
26577
26581
  },
26578
26582
  end: {
26579
- line: 60,
26583
+ line: 61,
26580
26584
  column: 31
26581
26585
  }
26582
26586
  }, {
26583
26587
  start: {
26584
- line: 60,
26588
+ line: 61,
26585
26589
  column: 35
26586
26590
  },
26587
26591
  end: {
26588
- line: 60,
26592
+ line: 61,
26589
26593
  column: 62
26590
26594
  }
26591
26595
  }],
26592
- line: 60
26596
+ line: 61
26593
26597
  },
26594
26598
  "2": {
26595
26599
  loc: {
26596
26600
  start: {
26597
- line: 83,
26601
+ line: 84,
26598
26602
  column: 9
26599
26603
  },
26600
26604
  end: {
26601
- line: 101,
26605
+ line: 102,
26602
26606
  column: 9
26603
26607
  }
26604
26608
  },
26605
26609
  type: "binary-expr",
26606
26610
  locations: [{
26607
26611
  start: {
26608
- line: 83,
26612
+ line: 84,
26609
26613
  column: 9
26610
26614
  },
26611
26615
  end: {
26612
- line: 83,
26613
- column: 25
26616
+ line: 84,
26617
+ column: 26
26614
26618
  }
26615
26619
  }, {
26616
26620
  start: {
26617
- line: 84,
26621
+ line: 85,
26618
26622
  column: 10
26619
26623
  },
26620
26624
  end: {
26621
- line: 100,
26625
+ line: 101,
26622
26626
  column: 26
26623
26627
  }
26624
26628
  }],
26625
- line: 83
26629
+ line: 84
26626
26630
  }
26627
26631
  },
26628
26632
  s: {
@@ -26648,7 +26652,7 @@ function cov_1ewhd24l3e() {
26648
26652
  "2": [0, 0]
26649
26653
  },
26650
26654
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
26651
- hash: "a75d275917730ebe5fd03d1bb0f427cc67fa2f65"
26655
+ hash: "b19c1b0cd97c09f7e6ebb6b4e606ec22f6ec2aa6"
26652
26656
  };
26653
26657
  var coverage = global[gcv] || (global[gcv] = {});
26654
26658
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -26683,6 +26687,7 @@ var CardsWithImage = function CardsWithImage(_ref) {
26683
26687
  enableAnimation = _ref3.enableAnimation,
26684
26688
  cards = _ref3.cards,
26685
26689
  addMore = _ref3.addMore,
26690
+ isAddMoreRequired = _ref3.isAddMoreRequired,
26686
26691
  src = _ref3.backgroundImage.src;
26687
26692
  var baseClasses = (cov_1ewhd24l3e().s[3]++, "grid grid-cols-12 gap-y-6 items-center ns-card");
26688
26693
  var gridBaseClasses = (cov_1ewhd24l3e().s[4]++, "relative sm:col-span-6 lg:col-span-4 col-span-12 grid grid-cols-6 h-40 justify-center items-center gap-2 ns-card-animation cursor-pointer");
@@ -26745,7 +26750,7 @@ var CardsWithImage = function CardsWithImage(_ref) {
26745
26750
  design: design.cardImage,
26746
26751
  src: imageUrl
26747
26752
  })));
26748
- }), (cov_1ewhd24l3e().b[2][0]++, cards.length > 1) && (cov_1ewhd24l3e().b[2][1]++, /*#__PURE__*/React__default["default"].createElement(MotionWrapper, {
26753
+ }), (cov_1ewhd24l3e().b[2][0]++, isAddMoreRequired) && (cov_1ewhd24l3e().b[2][1]++, /*#__PURE__*/React__default["default"].createElement(MotionWrapper, {
26749
26754
  className: "ns-card-animation col-span-12 flex h-40 items-center justify-center transition-all duration-300 ease-in-out sm:col-span-6 lg:col-span-4",
26750
26755
  enableAnimation: enableAnimation,
26751
26756
  design: _objectSpread$7(_objectSpread$7({}, design.card), {}, {
@@ -47036,7 +47041,7 @@ var FeatureWithJumboText = function FeatureWithJumboText(_ref) {
47036
47041
 
47037
47042
  function cov_26jzxz7dh2() {
47038
47043
  var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/FeatureWithList.jsx";
47039
- var hash = "5b1afb66e7608416cfc0050664a8fed560df0f20";
47044
+ var hash = "701620ec57e01715c8d92dbe6a539502685be02a";
47040
47045
  var global = new Function("return this")();
47041
47046
  var gcv = "__coverage__";
47042
47047
  var coverageData = {
@@ -47048,7 +47053,7 @@ function cov_26jzxz7dh2() {
47048
47053
  column: 24
47049
47054
  },
47050
47055
  end: {
47051
- line: 79,
47056
+ line: 89,
47052
47057
  column: 1
47053
47058
  }
47054
47059
  },
@@ -47108,7 +47113,7 @@ function cov_26jzxz7dh2() {
47108
47113
  column: 2
47109
47114
  },
47110
47115
  end: {
47111
- line: 78,
47116
+ line: 88,
47112
47117
  column: 4
47113
47118
  }
47114
47119
  },
@@ -47118,7 +47123,7 @@ function cov_26jzxz7dh2() {
47118
47123
  column: 12
47119
47124
  },
47120
47125
  end: {
47121
- line: 66,
47126
+ line: 76,
47122
47127
  column: 28
47123
47128
  }
47124
47129
  }
@@ -47142,7 +47147,7 @@ function cov_26jzxz7dh2() {
47142
47147
  column: 68
47143
47148
  },
47144
47149
  end: {
47145
- line: 79,
47150
+ line: 89,
47146
47151
  column: 1
47147
47152
  }
47148
47153
  },
@@ -47166,7 +47171,7 @@ function cov_26jzxz7dh2() {
47166
47171
  column: 12
47167
47172
  },
47168
47173
  end: {
47169
- line: 66,
47174
+ line: 76,
47170
47175
  column: 28
47171
47176
  }
47172
47177
  },
@@ -47310,7 +47315,7 @@ function cov_26jzxz7dh2() {
47310
47315
  "3": [0, 0]
47311
47316
  },
47312
47317
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
47313
- hash: "5b1afb66e7608416cfc0050664a8fed560df0f20"
47318
+ hash: "701620ec57e01715c8d92dbe6a539502685be02a"
47314
47319
  };
47315
47320
  var coverage = global[gcv] || (global[gcv] = {});
47316
47321
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -47386,14 +47391,17 @@ var FeatureWithList = function FeatureWithList(_ref) {
47386
47391
  cov_26jzxz7dh2().f[1]++;
47387
47392
  cov_26jzxz7dh2().s[7]++;
47388
47393
  return /*#__PURE__*/React__default["default"].createElement(MotionWrapper, {
47389
- className: "flex items-center gap-x-4",
47394
+ className: "grid grid-cols-12 gap-x-2",
47390
47395
  design: design.feature,
47391
47396
  enableAnimation: enableAnimation,
47392
47397
  key: getUniqueKey(featureTitle, index)
47398
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
47399
+ className: "col-span-1"
47393
47400
  }, renderIcon(_objectSpread$5({
47394
47401
  name: name
47395
- }, design.featureIcon)), /*#__PURE__*/React__default["default"].createElement(Typography, {
47402
+ }, design.featureIcon))), /*#__PURE__*/React__default["default"].createElement(Typography, {
47396
47403
  isTitle: true,
47404
+ className: "col-span-11 col-start-2 flex justify-start",
47397
47405
  component: "p",
47398
47406
  style: design.featureTitle
47399
47407
  }, featureTitle));