@bigbinary/neeto-editor 1.27.3 → 1.27.5

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.js CHANGED
@@ -40781,8 +40781,8 @@ var common = {
40781
40781
  var attachments = {
40782
40782
  actionsBlocked: "You are not permitted to update or delete attachments",
40783
40783
  add: "Add attachment",
40784
- deleteConfirmation: "Are you sure you want to remove {{entity}}?",
40785
- deleteTitle: "Remove Attachment?",
40784
+ deleteConfirmation: "You are permanently deleting the attachment <strong>{{entity}}</strong>. This can't be undone.",
40785
+ deleteTitle: "Delete attachment?",
40786
40786
  maxNumberOfFiles: "You can only attach {{entity}} files",
40787
40787
  nameEmpty: "Filename cannot be empty",
40788
40788
  noPreview: "There is no preview available, click to <span>download</span>.",
@@ -64385,7 +64385,7 @@ var File$1 = function File(_ref) {
64385
64385
 
64386
64386
  function cov_13lrfxjoky() {
64387
64387
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Attachments/Attachment.jsx";
64388
- var hash = "ad070984e2846d3274c4e93405e4349d78692cd8";
64388
+ var hash = "b2ddbea9ebf2d4705c118839a8a3d077c5115944";
64389
64389
  var global = new Function("return this")();
64390
64390
  var gcv = "__coverage__";
64391
64391
  var coverageData = {
@@ -64407,7 +64407,7 @@ function cov_13lrfxjoky() {
64407
64407
  column: 19
64408
64408
  },
64409
64409
  end: {
64410
- line: 201,
64410
+ line: 207,
64411
64411
  column: 1
64412
64412
  }
64413
64413
  },
@@ -64837,7 +64837,7 @@ function cov_13lrfxjoky() {
64837
64837
  column: 2
64838
64838
  },
64839
64839
  end: {
64840
- line: 200,
64840
+ line: 206,
64841
64841
  column: 4
64842
64842
  }
64843
64843
  },
@@ -64903,11 +64903,11 @@ function cov_13lrfxjoky() {
64903
64903
  },
64904
64904
  "51": {
64905
64905
  start: {
64906
- line: 196,
64906
+ line: 202,
64907
64907
  column: 23
64908
64908
  },
64909
64909
  end: {
64910
- line: 196,
64910
+ line: 202,
64911
64911
  column: 50
64912
64912
  }
64913
64913
  }
@@ -64931,7 +64931,7 @@ function cov_13lrfxjoky() {
64931
64931
  column: 6
64932
64932
  },
64933
64933
  end: {
64934
- line: 201,
64934
+ line: 207,
64935
64935
  column: 1
64936
64936
  }
64937
64937
  },
@@ -65229,25 +65229,25 @@ function cov_13lrfxjoky() {
65229
65229
  name: "(anonymous_13)",
65230
65230
  decl: {
65231
65231
  start: {
65232
- line: 196,
65232
+ line: 202,
65233
65233
  column: 17
65234
65234
  },
65235
65235
  end: {
65236
- line: 196,
65236
+ line: 202,
65237
65237
  column: 18
65238
65238
  }
65239
65239
  },
65240
65240
  loc: {
65241
65241
  start: {
65242
- line: 196,
65242
+ line: 202,
65243
65243
  column: 23
65244
65244
  },
65245
65245
  end: {
65246
- line: 196,
65246
+ line: 202,
65247
65247
  column: 50
65248
65248
  }
65249
65249
  },
65250
- line: 196
65250
+ line: 202
65251
65251
  }
65252
65252
  },
65253
65253
  branchMap: {
@@ -65606,7 +65606,7 @@ function cov_13lrfxjoky() {
65606
65606
  "7": [0, 0]
65607
65607
  },
65608
65608
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
65609
- hash: "ad070984e2846d3274c4e93405e4349d78692cd8"
65609
+ hash: "b2ddbea9ebf2d4705c118839a8a3d077c5115944"
65610
65610
  };
65611
65611
  var coverage = global[gcv] || (global[gcv] = {});
65612
65612
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -65891,10 +65891,14 @@ var Attachment = function Attachment(_ref2) {
65891
65891
  }))))))), /*#__PURE__*/React__default.createElement(Alert, {
65892
65892
  isOpen: isDeleteAlertOpen,
65893
65893
  isSubmitting: isDeleting,
65894
- message: t("attachments.deleteConfirmation", {
65895
- entity: newFilename
65896
- }),
65894
+ submitButtonLabel: t("menu.delete"),
65897
65895
  title: t("attachments.deleteTitle"),
65896
+ message: /*#__PURE__*/React__default.createElement(Trans, {
65897
+ i18nKey: "attachments.deleteConfirmation",
65898
+ values: {
65899
+ entity: newFilename
65900
+ }
65901
+ }),
65898
65902
  onClose: function onClose() {
65899
65903
  cov_13lrfxjoky().f[13]++;
65900
65904
  cov_13lrfxjoky().s[51]++;
@@ -139036,7 +139040,7 @@ var Bubble = function Bubble(_ref) {
139036
139040
 
139037
139041
  function cov_g1sl3nnop() {
139038
139042
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/FontSizeOption.jsx";
139039
- var hash = "845d6428fa4220aa133d2328891f6a21afd81ca9";
139043
+ var hash = "b90f4710b428ac81e17d79fff5090d3693e04489";
139040
139044
  var global = new Function("return this")();
139041
139045
  var gcv = "__coverage__";
139042
139046
  var coverageData = {
@@ -139058,7 +139062,7 @@ function cov_g1sl3nnop() {
139058
139062
  column: 23
139059
139063
  },
139060
139064
  end: {
139061
- line: 50,
139065
+ line: 51,
139062
139066
  column: 1
139063
139067
  }
139064
139068
  },
@@ -139128,27 +139132,27 @@ function cov_g1sl3nnop() {
139128
139132
  column: 2
139129
139133
  },
139130
139134
  end: {
139131
- line: 49,
139135
+ line: 50,
139132
139136
  column: 4
139133
139137
  }
139134
139138
  },
139135
139139
  "9": {
139136
139140
  start: {
139137
- line: 39,
139141
+ line: 40,
139138
139142
  column: 10
139139
139143
  },
139140
139144
  end: {
139141
- line: 45,
139145
+ line: 46,
139142
139146
  column: 28
139143
139147
  }
139144
139148
  },
139145
139149
  "10": {
139146
139150
  start: {
139147
- line: 42,
139151
+ line: 43,
139148
139152
  column: 27
139149
139153
  },
139150
139154
  end: {
139151
- line: 42,
139155
+ line: 43,
139152
139156
  column: 45
139153
139157
  }
139154
139158
  }
@@ -139172,7 +139176,7 @@ function cov_g1sl3nnop() {
139172
139176
  column: 55
139173
139177
  },
139174
139178
  end: {
139175
- line: 50,
139179
+ line: 51,
139176
139180
  column: 1
139177
139181
  }
139178
139182
  },
@@ -139254,49 +139258,49 @@ function cov_g1sl3nnop() {
139254
139258
  name: "(anonymous_4)",
139255
139259
  decl: {
139256
139260
  start: {
139257
- line: 38,
139261
+ line: 39,
139258
139262
  column: 31
139259
139263
  },
139260
139264
  end: {
139261
- line: 38,
139265
+ line: 39,
139262
139266
  column: 32
139263
139267
  }
139264
139268
  },
139265
139269
  loc: {
139266
139270
  start: {
139267
- line: 39,
139271
+ line: 40,
139268
139272
  column: 10
139269
139273
  },
139270
139274
  end: {
139271
- line: 45,
139275
+ line: 46,
139272
139276
  column: 28
139273
139277
  }
139274
139278
  },
139275
- line: 39
139279
+ line: 40
139276
139280
  },
139277
139281
  "5": {
139278
139282
  name: "(anonymous_5)",
139279
139283
  decl: {
139280
139284
  start: {
139281
- line: 42,
139285
+ line: 43,
139282
139286
  column: 21
139283
139287
  },
139284
139288
  end: {
139285
- line: 42,
139289
+ line: 43,
139286
139290
  column: 22
139287
139291
  }
139288
139292
  },
139289
139293
  loc: {
139290
139294
  start: {
139291
- line: 42,
139295
+ line: 43,
139292
139296
  column: 27
139293
139297
  },
139294
139298
  end: {
139295
- line: 42,
139299
+ line: 43,
139296
139300
  column: 45
139297
139301
  }
139298
139302
  },
139299
- line: 42
139303
+ line: 43
139300
139304
  }
139301
139305
  },
139302
139306
  branchMap: {
@@ -139393,7 +139397,7 @@ function cov_g1sl3nnop() {
139393
139397
  "1": [0, 0]
139394
139398
  },
139395
139399
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
139396
- hash: "845d6428fa4220aa133d2328891f6a21afd81ca9"
139400
+ hash: "b90f4710b428ac81e17d79fff5090d3693e04489"
139397
139401
  };
139398
139402
  var coverage = global[gcv] || (global[gcv] = {});
139399
139403
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -139446,6 +139450,7 @@ var FontSizeOption = function FontSizeOption(_ref2) {
139446
139450
  "data-cy": "neeto-editor-fixed-menu-font-size-option",
139447
139451
  label: label,
139448
139452
  placement: "bottom-start",
139453
+ strategy: "fixed",
139449
139454
  buttonProps: {
139450
139455
  tooltipProps: {
139451
139456
  content: tooltipContent,
@@ -141201,7 +141206,7 @@ var TableOption = function TableOption(_ref2) {
141201
141206
 
141202
141207
  function cov_2dwl7m23tl() {
141203
141208
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/index.jsx";
141204
- var hash = "e29e3d6ee6695faf996207cd19da4c01a472ad4d";
141209
+ var hash = "41fb2b030bf45b03f593820dc163205bea7a071d";
141205
141210
  var global = new Function("return this")();
141206
141211
  var gcv = "__coverage__";
141207
141212
  var coverageData = {
@@ -141883,40 +141888,40 @@ function cov_2dwl7m23tl() {
141883
141888
  "11": {
141884
141889
  loc: {
141885
141890
  start: {
141886
- line: 109,
141891
+ line: 108,
141887
141892
  column: 26
141888
141893
  },
141889
141894
  end: {
141890
- line: 109,
141895
+ line: 108,
141891
141896
  column: 59
141892
141897
  }
141893
141898
  },
141894
141899
  type: "binary-expr",
141895
141900
  locations: [{
141896
141901
  start: {
141897
- line: 109,
141902
+ line: 108,
141898
141903
  column: 26
141899
141904
  },
141900
141905
  end: {
141901
- line: 109,
141906
+ line: 108,
141902
141907
  column: 40
141903
141908
  }
141904
141909
  }, {
141905
141910
  start: {
141906
- line: 109,
141911
+ line: 108,
141907
141912
  column: 44
141908
141913
  },
141909
141914
  end: {
141910
- line: 109,
141915
+ line: 108,
141911
141916
  column: 59
141912
141917
  }
141913
141918
  }],
141914
- line: 109
141919
+ line: 108
141915
141920
  },
141916
141921
  "12": {
141917
141922
  loc: {
141918
141923
  start: {
141919
- line: 111,
141924
+ line: 110,
141920
141925
  column: 9
141921
141926
  },
141922
141927
  end: {
@@ -141927,25 +141932,25 @@ function cov_2dwl7m23tl() {
141927
141932
  type: "binary-expr",
141928
141933
  locations: [{
141929
141934
  start: {
141930
- line: 111,
141935
+ line: 110,
141931
141936
  column: 10
141932
141937
  },
141933
141938
  end: {
141934
- line: 111,
141939
+ line: 110,
141935
141940
  column: 24
141936
141941
  }
141937
141942
  }, {
141938
141943
  start: {
141939
- line: 111,
141944
+ line: 110,
141940
141945
  column: 28
141941
141946
  },
141942
141947
  end: {
141943
- line: 111,
141948
+ line: 110,
141944
141949
  column: 50
141945
141950
  }
141946
141951
  }, {
141947
141952
  start: {
141948
- line: 112,
141953
+ line: 111,
141949
141954
  column: 10
141950
141955
  },
141951
141956
  end: {
@@ -141953,7 +141958,7 @@ function cov_2dwl7m23tl() {
141953
141958
  column: 16
141954
141959
  }
141955
141960
  }],
141956
- line: 111
141961
+ line: 110
141957
141962
  },
141958
141963
  "13": {
141959
141964
  loc: {
@@ -142549,7 +142554,7 @@ function cov_2dwl7m23tl() {
142549
142554
  "28": [0, 0]
142550
142555
  },
142551
142556
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
142552
- hash: "e29e3d6ee6695faf996207cd19da4c01a472ad4d"
142557
+ hash: "41fb2b030bf45b03f593820dc163205bea7a071d"
142553
142558
  };
142554
142559
  var coverage = global[gcv] || (global[gcv] = {});
142555
142560
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -142659,14 +142664,14 @@ var Fixed = function Fixed(_ref) {
142659
142664
  }, (cov_2dwl7m23tl().b[9][0]++, isFontSizeActive) && (cov_2dwl7m23tl().b[9][1]++, /*#__PURE__*/React__default.createElement(FontSizeOption, {
142660
142665
  editor: editor,
142661
142666
  tooltipContent: (cov_2dwl7m23tl().b[10][0]++, tooltips.fontSize) || (cov_2dwl7m23tl().b[10][1]++, t("menu.fontSize"))
142662
- })), fontStyleOptions.map(renderOptionButton), listStyleOptions.map(renderOptionButton), /*#__PURE__*/React__default.createElement(TableActions, {
142667
+ })), fontStyleOptions.map(renderOptionButton), /*#__PURE__*/React__default.createElement(TableActions, {
142663
142668
  editor: editor,
142664
142669
  tooltipContent: (cov_2dwl7m23tl().b[11][0]++, tooltips.table) || (cov_2dwl7m23tl().b[11][1]++, t("menu.table"))
142665
142670
  }), ((cov_2dwl7m23tl().b[12][0]++, isMenuExpanded) || (cov_2dwl7m23tl().b[12][1]++, not(isMenuCollapsible))) && (cov_2dwl7m23tl().b[12][2]++, /*#__PURE__*/React__default.createElement("div", {
142666
142671
  className: classnames$2("neeto-editor-fixed-menu__wrapper--collapsible", {
142667
142672
  "neeto-editor-fixed-menu__wrapper--collapsible--fade": isMenuCollapsible
142668
142673
  })
142669
- }, blockStyleOptions.map(renderOptionButton), (cov_2dwl7m23tl().b[13][0]++, isTextColorOptionActive) && (cov_2dwl7m23tl().b[13][1]++, /*#__PURE__*/React__default.createElement(TextColorOption, {
142674
+ }, listStyleOptions.map(renderOptionButton), blockStyleOptions.map(renderOptionButton), (cov_2dwl7m23tl().b[13][0]++, isTextColorOptionActive) && (cov_2dwl7m23tl().b[13][1]++, /*#__PURE__*/React__default.createElement(TextColorOption, {
142670
142675
  editor: editor,
142671
142676
  tooltipContent: (cov_2dwl7m23tl().b[14][0]++, tooltips.textColor) || (cov_2dwl7m23tl().b[14][1]++, t("menu.textColor"))
142672
142677
  })), (cov_2dwl7m23tl().b[15][0]++, isEmojiActive) && (cov_2dwl7m23tl().b[15][1]++, /*#__PURE__*/React__default.createElement(EmojiOption, {