@bigbinary/neeto-editor 1.26.8 → 1.26.9

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/index.cjs.js CHANGED
@@ -122646,7 +122646,7 @@ function u(){return (u=Object.assign||function(e){for(var r=1;r<arguments.length
122646
122646
 
122647
122647
  function cov_bf1egtcv4() {
122648
122648
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/TextColorOption.jsx";
122649
- var hash = "042616887aa618a3693e146b32d2ad657abe58c2";
122649
+ var hash = "a7081e67fd19a079ac698c3d7d1336adc6c0ebc7";
122650
122650
  var global = new Function("return this")();
122651
122651
  var gcv = "__coverage__";
122652
122652
  var coverageData = {
@@ -122658,7 +122658,7 @@ function cov_bf1egtcv4() {
122658
122658
  column: 24
122659
122659
  },
122660
122660
  end: {
122661
- line: 91,
122661
+ line: 90,
122662
122662
  column: 1
122663
122663
  }
122664
122664
  },
@@ -122848,7 +122848,7 @@ function cov_bf1egtcv4() {
122848
122848
  column: 2
122849
122849
  },
122850
122850
  end: {
122851
- line: 49,
122851
+ line: 48,
122852
122852
  column: 15
122853
122853
  }
122854
122854
  },
@@ -122868,7 +122868,7 @@ function cov_bf1egtcv4() {
122868
122868
  column: 4
122869
122869
  },
122870
122870
  end: {
122871
- line: 48,
122871
+ line: 47,
122872
122872
  column: 5
122873
122873
  }
122874
122874
  },
@@ -122894,51 +122894,41 @@ function cov_bf1egtcv4() {
122894
122894
  },
122895
122895
  "24": {
122896
122896
  start: {
122897
- line: 47,
122898
- column: 6
122899
- },
122900
- end: {
122901
- line: 47,
122902
- column: 30
122903
- }
122904
- },
122905
- "25": {
122906
- start: {
122907
- line: 51,
122897
+ line: 50,
122908
122898
  column: 2
122909
122899
  },
122910
122900
  end: {
122911
- line: 90,
122901
+ line: 89,
122912
122902
  column: 4
122913
122903
  }
122914
122904
  },
122915
- "26": {
122905
+ "25": {
122916
122906
  start: {
122917
- line: 63,
122907
+ line: 62,
122918
122908
  column: 10
122919
122909
  },
122920
122910
  end: {
122921
- line: 63,
122911
+ line: 62,
122922
122912
  column: 60
122923
122913
  }
122924
122914
  },
122925
- "27": {
122915
+ "26": {
122926
122916
  start: {
122927
- line: 64,
122917
+ line: 63,
122928
122918
  column: 10
122929
122919
  },
122930
122920
  end: {
122931
- line: 64,
122921
+ line: 63,
122932
122922
  column: 25
122933
122923
  }
122934
122924
  },
122935
- "28": {
122925
+ "27": {
122936
122926
  start: {
122937
- line: 78,
122927
+ line: 77,
122938
122928
  column: 27
122939
122929
  },
122940
122930
  end: {
122941
- line: 78,
122931
+ line: 77,
122942
122932
  column: 51
122943
122933
  }
122944
122934
  }
@@ -122962,7 +122952,7 @@ function cov_bf1egtcv4() {
122962
122952
  column: 56
122963
122953
  },
122964
122954
  end: {
122965
- line: 91,
122955
+ line: 90,
122966
122956
  column: 1
122967
122957
  }
122968
122958
  },
@@ -123082,7 +123072,7 @@ function cov_bf1egtcv4() {
123082
123072
  column: 18
123083
123073
  },
123084
123074
  end: {
123085
- line: 49,
123075
+ line: 48,
123086
123076
  column: 3
123087
123077
  }
123088
123078
  },
@@ -123092,49 +123082,49 @@ function cov_bf1egtcv4() {
123092
123082
  name: "(anonymous_6)",
123093
123083
  decl: {
123094
123084
  start: {
123095
- line: 62,
123085
+ line: 61,
123096
123086
  column: 17
123097
123087
  },
123098
123088
  end: {
123099
- line: 62,
123089
+ line: 61,
123100
123090
  column: 18
123101
123091
  }
123102
123092
  },
123103
123093
  loc: {
123104
123094
  start: {
123105
- line: 62,
123095
+ line: 61,
123106
123096
  column: 23
123107
123097
  },
123108
123098
  end: {
123109
- line: 65,
123099
+ line: 64,
123110
123100
  column: 9
123111
123101
  }
123112
123102
  },
123113
- line: 62
123103
+ line: 61
123114
123104
  },
123115
123105
  "7": {
123116
123106
  name: "(anonymous_7)",
123117
123107
  decl: {
123118
123108
  start: {
123119
- line: 78,
123109
+ line: 77,
123120
123110
  column: 22
123121
123111
  },
123122
123112
  end: {
123123
- line: 78,
123113
+ line: 77,
123124
123114
  column: 23
123125
123115
  }
123126
123116
  },
123127
123117
  loc: {
123128
123118
  start: {
123129
- line: 78,
123119
+ line: 77,
123130
123120
  column: 27
123131
123121
  },
123132
123122
  end: {
123133
- line: 78,
123123
+ line: 77,
123134
123124
  column: 51
123135
123125
  }
123136
123126
  },
123137
- line: 78
123127
+ line: 77
123138
123128
  }
123139
123129
  },
123140
123130
  branchMap: {
@@ -123178,7 +123168,7 @@ function cov_bf1egtcv4() {
123178
123168
  column: 4
123179
123169
  },
123180
123170
  end: {
123181
- line: 48,
123171
+ line: 47,
123182
123172
  column: 5
123183
123173
  }
123184
123174
  },
@@ -123189,7 +123179,7 @@ function cov_bf1egtcv4() {
123189
123179
  column: 4
123190
123180
  },
123191
123181
  end: {
123192
- line: 48,
123182
+ line: 47,
123193
123183
  column: 5
123194
123184
  }
123195
123185
  }, {
@@ -123207,68 +123197,68 @@ function cov_bf1egtcv4() {
123207
123197
  "2": {
123208
123198
  loc: {
123209
123199
  start: {
123210
- line: 54,
123200
+ line: 53,
123211
123201
  column: 21
123212
123202
  },
123213
123203
  end: {
123214
- line: 54,
123204
+ line: 53,
123215
123205
  column: 50
123216
123206
  }
123217
123207
  },
123218
123208
  type: "cond-expr",
123219
123209
  locations: [{
123220
123210
  start: {
123221
- line: 54,
123211
+ line: 53,
123222
123212
  column: 30
123223
123213
  },
123224
123214
  end: {
123225
- line: 54,
123215
+ line: 53,
123226
123216
  column: 41
123227
123217
  }
123228
123218
  }, {
123229
123219
  start: {
123230
- line: 54,
123220
+ line: 53,
123231
123221
  column: 44
123232
123222
  },
123233
123223
  end: {
123234
- line: 54,
123224
+ line: 53,
123235
123225
  column: 50
123236
123226
  }
123237
123227
  }],
123238
- line: 54
123228
+ line: 53
123239
123229
  },
123240
123230
  "3": {
123241
123231
  loc: {
123242
123232
  start: {
123243
- line: 68,
123233
+ line: 67,
123244
123234
  column: 17
123245
123235
  },
123246
123236
  end: {
123247
- line: 68,
123237
+ line: 67,
123248
123238
  column: 35
123249
123239
  }
123250
123240
  },
123251
123241
  type: "binary-expr",
123252
123242
  locations: [{
123253
123243
  start: {
123254
- line: 68,
123244
+ line: 67,
123255
123245
  column: 17
123256
123246
  },
123257
123247
  end: {
123258
- line: 68,
123248
+ line: 67,
123259
123249
  column: 22
123260
123250
  }
123261
123251
  }, {
123262
123252
  start: {
123263
- line: 68,
123253
+ line: 67,
123264
123254
  column: 26
123265
123255
  },
123266
123256
  end: {
123267
- line: 68,
123257
+ line: 67,
123268
123258
  column: 35
123269
123259
  }
123270
123260
  }],
123271
- line: 68
123261
+ line: 67
123272
123262
  }
123273
123263
  },
123274
123264
  s: {
@@ -123299,8 +123289,7 @@ function cov_bf1egtcv4() {
123299
123289
  "24": 0,
123300
123290
  "25": 0,
123301
123291
  "26": 0,
123302
- "27": 0,
123303
- "28": 0
123292
+ "27": 0
123304
123293
  },
123305
123294
  f: {
123306
123295
  "0": 0,
@@ -123319,7 +123308,7 @@ function cov_bf1egtcv4() {
123319
123308
  "3": [0, 0]
123320
123309
  },
123321
123310
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
123322
- hash: "042616887aa618a3693e146b32d2ad657abe58c2"
123311
+ hash: "a7081e67fd19a079ac698c3d7d1336adc6c0ebc7"
123323
123312
  };
123324
123313
  var coverage = global[gcv] || (global[gcv] = {});
123325
123314
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -123402,13 +123391,11 @@ var TextColorOption = function TextColorOption(_ref) {
123402
123391
  editor.commands.unsetHighlightInternal();
123403
123392
  cov_bf1egtcv4().s[23]++;
123404
123393
  editor.commands.removeEmptyTextStyle();
123405
- cov_bf1egtcv4().s[24]++;
123406
- editor.commands.focus();
123407
123394
  } else {
123408
123395
  cov_bf1egtcv4().b[1][1]++;
123409
123396
  }
123410
123397
  }, [isOpen]);
123411
- cov_bf1egtcv4().s[25]++;
123398
+ cov_bf1egtcv4().s[24]++;
123412
123399
  return /*#__PURE__*/React__default["default"].createElement("div", {
123413
123400
  ref: dropdownWrapperRef
123414
123401
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Dropdown, {
@@ -123424,9 +123411,9 @@ var TextColorOption = function TextColorOption(_ref) {
123424
123411
  },
123425
123412
  onClick: function onClick() {
123426
123413
  cov_bf1egtcv4().f[6]++;
123427
- cov_bf1egtcv4().s[26]++;
123414
+ cov_bf1egtcv4().s[25]++;
123428
123415
  setColor(editor.getAttributes("textStyle").color);
123429
- cov_bf1egtcv4().s[27]++;
123416
+ cov_bf1egtcv4().s[26]++;
123430
123417
  setIsOpen(ramda.not);
123431
123418
  }
123432
123419
  }, /*#__PURE__*/React__default["default"].createElement(Z, {
@@ -123442,7 +123429,7 @@ var TextColorOption = function TextColorOption(_ref) {
123442
123429
  value: color,
123443
123430
  onChange: function onChange(e) {
123444
123431
  cov_bf1egtcv4().f[7]++;
123445
- cov_bf1egtcv4().s[28]++;
123432
+ cov_bf1egtcv4().s[27]++;
123446
123433
  return setColor(e.target.value);
123447
123434
  }
123448
123435
  }), /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
@@ -126009,7 +125996,7 @@ var FontSizeOption = function FontSizeOption(_ref2) {
126009
125996
 
126010
125997
  function cov_7xzegtncw() {
126011
125998
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/LinkOption.jsx";
126012
- var hash = "00ac6f0ef7b9efb21f7ff00bb225c049192f1e91";
125999
+ var hash = "f303b2c7aca50874aa023ccfb4cad9e7f5ef79b0";
126013
126000
  var global = new Function("return this")();
126014
126001
  var gcv = "__coverage__";
126015
126002
  var coverageData = {
@@ -126031,7 +126018,7 @@ function cov_7xzegtncw() {
126031
126018
  column: 19
126032
126019
  },
126033
126020
  end: {
126034
- line: 106,
126021
+ line: 105,
126035
126022
  column: 1
126036
126023
  }
126037
126024
  },
@@ -126311,7 +126298,7 @@ function cov_7xzegtncw() {
126311
126298
  column: 2
126312
126299
  },
126313
126300
  end: {
126314
- line: 62,
126301
+ line: 61,
126315
126302
  column: 15
126316
126303
  }
126317
126304
  },
@@ -126331,7 +126318,7 @@ function cov_7xzegtncw() {
126331
126318
  column: 4
126332
126319
  },
126333
126320
  end: {
126334
- line: 61,
126321
+ line: 60,
126335
126322
  column: 5
126336
126323
  }
126337
126324
  },
@@ -126357,41 +126344,31 @@ function cov_7xzegtncw() {
126357
126344
  },
126358
126345
  "34": {
126359
126346
  start: {
126360
- line: 60,
126361
- column: 6
126362
- },
126363
- end: {
126364
- line: 60,
126365
- column: 30
126366
- }
126367
- },
126368
- "35": {
126369
- start: {
126370
- line: 64,
126347
+ line: 63,
126371
126348
  column: 2
126372
126349
  },
126373
126350
  end: {
126374
- line: 105,
126351
+ line: 104,
126375
126352
  column: 4
126376
126353
  }
126377
126354
  },
126378
- "36": {
126355
+ "35": {
126379
126356
  start: {
126380
- line: 87,
126357
+ line: 86,
126381
126358
  column: 47
126382
126359
  },
126383
126360
  end: {
126384
- line: 87,
126361
+ line: 86,
126385
126362
  column: 66
126386
126363
  }
126387
126364
  },
126388
- "37": {
126365
+ "36": {
126389
126366
  start: {
126390
- line: 88,
126367
+ line: 87,
126391
126368
  column: 25
126392
126369
  },
126393
126370
  end: {
126394
- line: 88,
126371
+ line: 87,
126395
126372
  column: 37
126396
126373
  }
126397
126374
  }
@@ -126415,7 +126392,7 @@ function cov_7xzegtncw() {
126415
126392
  column: 51
126416
126393
  },
126417
126394
  end: {
126418
- line: 106,
126395
+ line: 105,
126419
126396
  column: 1
126420
126397
  }
126421
126398
  },
@@ -126583,7 +126560,7 @@ function cov_7xzegtncw() {
126583
126560
  column: 18
126584
126561
  },
126585
126562
  end: {
126586
- line: 62,
126563
+ line: 61,
126587
126564
  column: 3
126588
126565
  }
126589
126566
  },
@@ -126593,49 +126570,49 @@ function cov_7xzegtncw() {
126593
126570
  name: "(anonymous_8)",
126594
126571
  decl: {
126595
126572
  start: {
126596
- line: 87,
126573
+ line: 86,
126597
126574
  column: 20
126598
126575
  },
126599
126576
  end: {
126600
- line: 87,
126577
+ line: 86,
126601
126578
  column: 21
126602
126579
  }
126603
126580
  },
126604
126581
  loc: {
126605
126582
  start: {
126606
- line: 87,
126583
+ line: 86,
126607
126584
  column: 47
126608
126585
  },
126609
126586
  end: {
126610
- line: 87,
126587
+ line: 86,
126611
126588
  column: 66
126612
126589
  }
126613
126590
  },
126614
- line: 87
126591
+ line: 86
126615
126592
  },
126616
126593
  "9": {
126617
126594
  name: "(anonymous_9)",
126618
126595
  decl: {
126619
126596
  start: {
126620
- line: 88,
126597
+ line: 87,
126621
126598
  column: 19
126622
126599
  },
126623
126600
  end: {
126624
- line: 88,
126601
+ line: 87,
126625
126602
  column: 20
126626
126603
  }
126627
126604
  },
126628
126605
  loc: {
126629
126606
  start: {
126630
- line: 88,
126607
+ line: 87,
126631
126608
  column: 25
126632
126609
  },
126633
126610
  end: {
126634
- line: 88,
126611
+ line: 87,
126635
126612
  column: 37
126636
126613
  }
126637
126614
  },
126638
- line: 88
126615
+ line: 87
126639
126616
  }
126640
126617
  },
126641
126618
  branchMap: {
@@ -126745,7 +126722,7 @@ function cov_7xzegtncw() {
126745
126722
  column: 4
126746
126723
  },
126747
126724
  end: {
126748
- line: 61,
126725
+ line: 60,
126749
126726
  column: 5
126750
126727
  }
126751
126728
  },
@@ -126756,7 +126733,7 @@ function cov_7xzegtncw() {
126756
126733
  column: 4
126757
126734
  },
126758
126735
  end: {
126759
- line: 61,
126736
+ line: 60,
126760
126737
  column: 5
126761
126738
  }
126762
126739
  }, {
@@ -126774,68 +126751,68 @@ function cov_7xzegtncw() {
126774
126751
  "4": {
126775
126752
  loc: {
126776
126753
  start: {
126777
- line: 66,
126754
+ line: 65,
126778
126755
  column: 19
126779
126756
  },
126780
126757
  end: {
126781
- line: 66,
126758
+ line: 65,
126782
126759
  column: 50
126783
126760
  }
126784
126761
  },
126785
126762
  type: "cond-expr",
126786
126763
  locations: [{
126787
126764
  start: {
126788
- line: 66,
126765
+ line: 65,
126789
126766
  column: 30
126790
126767
  },
126791
126768
  end: {
126792
- line: 66,
126769
+ line: 65,
126793
126770
  column: 41
126794
126771
  }
126795
126772
  }, {
126796
126773
  start: {
126797
- line: 66,
126774
+ line: 65,
126798
126775
  column: 44
126799
126776
  },
126800
126777
  end: {
126801
- line: 66,
126778
+ line: 65,
126802
126779
  column: 50
126803
126780
  }
126804
126781
  }],
126805
- line: 66
126782
+ line: 65
126806
126783
  },
126807
126784
  "5": {
126808
126785
  loc: {
126809
126786
  start: {
126810
- line: 95,
126787
+ line: 94,
126811
126788
  column: 9
126812
126789
  },
126813
126790
  end: {
126814
- line: 102,
126791
+ line: 101,
126815
126792
  column: 9
126816
126793
  }
126817
126794
  },
126818
126795
  type: "binary-expr",
126819
126796
  locations: [{
126820
126797
  start: {
126821
- line: 95,
126798
+ line: 94,
126822
126799
  column: 9
126823
126800
  },
126824
126801
  end: {
126825
- line: 95,
126802
+ line: 94,
126826
126803
  column: 17
126827
126804
  }
126828
126805
  }, {
126829
126806
  start: {
126830
- line: 96,
126807
+ line: 95,
126831
126808
  column: 10
126832
126809
  },
126833
126810
  end: {
126834
- line: 101,
126811
+ line: 100,
126835
126812
  column: 12
126836
126813
  }
126837
126814
  }],
126838
- line: 95
126815
+ line: 94
126839
126816
  }
126840
126817
  },
126841
126818
  s: {
@@ -126875,8 +126852,7 @@ function cov_7xzegtncw() {
126875
126852
  "33": 0,
126876
126853
  "34": 0,
126877
126854
  "35": 0,
126878
- "36": 0,
126879
- "37": 0
126855
+ "36": 0
126880
126856
  },
126881
126857
  f: {
126882
126858
  "0": 0,
@@ -126899,7 +126875,7 @@ function cov_7xzegtncw() {
126899
126875
  "5": [0, 0]
126900
126876
  },
126901
126877
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
126902
- hash: "00ac6f0ef7b9efb21f7ff00bb225c049192f1e91"
126878
+ hash: "f303b2c7aca50874aa023ccfb4cad9e7f5ef79b0"
126903
126879
  };
126904
126880
  var coverage = global[gcv] || (global[gcv] = {});
126905
126881
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -127019,13 +126995,11 @@ var LinkOption = function LinkOption(_ref2) {
127019
126995
  editor.commands.unsetHighlightInternal();
127020
126996
  cov_7xzegtncw().s[33]++;
127021
126997
  editor.commands.removeEmptyTextStyle();
127022
- cov_7xzegtncw().s[34]++;
127023
- editor.commands.focus();
127024
126998
  } else {
127025
126999
  cov_7xzegtncw().b[3][1]++;
127026
127000
  }
127027
127001
  }, [isOpen]);
127028
- cov_7xzegtncw().s[35]++;
127002
+ cov_7xzegtncw().s[34]++;
127029
127003
  return /*#__PURE__*/React__default["default"].createElement(neetoui.Dropdown, {
127030
127004
  buttonStyle: isActive ? (cov_7xzegtncw().b[4][0]++, "secondary") : (cov_7xzegtncw().b[4][1]++, "text"),
127031
127005
  closeOnSelect: false,
@@ -127055,12 +127029,12 @@ var LinkOption = function LinkOption(_ref2) {
127055
127029
  onChange: function onChange(_ref10) {
127056
127030
  var value = _ref10.target.value;
127057
127031
  cov_7xzegtncw().f[8]++;
127058
- cov_7xzegtncw().s[36]++;
127032
+ cov_7xzegtncw().s[35]++;
127059
127033
  return setUrlString(value);
127060
127034
  },
127061
127035
  onFocus: function onFocus() {
127062
127036
  cov_7xzegtncw().f[9]++;
127063
- cov_7xzegtncw().s[37]++;
127037
+ cov_7xzegtncw().s[36]++;
127064
127038
  return setError("");
127065
127039
  }
127066
127040
  }), /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {