@bigbinary/neeto-editor 1.47.78 → 1.47.80

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.
Files changed (66) hide show
  1. package/dist/Attachments.js +1 -1
  2. package/dist/Editor.js +28 -28
  3. package/dist/Editor.js.map +1 -1
  4. package/dist/EditorContent.js +1 -1
  5. package/dist/EditorContent.js.map +1 -1
  6. package/dist/FormikEditor.js +2 -2
  7. package/dist/Menu.js +1 -1
  8. package/dist/{chunk-DADua5Hs.js → chunk-2rW8X4h9.js} +6 -6
  9. package/dist/{chunk-DADua5Hs.js.map → chunk-2rW8X4h9.js.map} +1 -1
  10. package/dist/{chunk-CXmkXuF3.js → chunk-B7WnAQ8d.js} +44 -44
  11. package/dist/{chunk-CXmkXuF3.js.map → chunk-B7WnAQ8d.js.map} +1 -1
  12. package/dist/{chunk-CZULBD4z.js → chunk-CS2xPYV-.js} +8 -8
  13. package/dist/chunk-CS2xPYV-.js.map +1 -0
  14. package/dist/cjs/Attachments.cjs.js +1 -1
  15. package/dist/cjs/Editor.cjs.js +28 -28
  16. package/dist/cjs/Editor.cjs.js.map +1 -1
  17. package/dist/cjs/EditorContent.cjs.js +1 -1
  18. package/dist/cjs/EditorContent.cjs.js.map +1 -1
  19. package/dist/cjs/FormikEditor.cjs.js +2 -2
  20. package/dist/cjs/Menu.cjs.js +1 -1
  21. package/dist/cjs/{chunk-BWh2yM_t.cjs.js → chunk-31Z6mjff.cjs.js} +6 -6
  22. package/dist/cjs/{chunk-BWh2yM_t.cjs.js.map → chunk-31Z6mjff.cjs.js.map} +1 -1
  23. package/dist/cjs/{chunk-pQ98WW7j.cjs.js → chunk-CX8UXLae.cjs.js} +44 -44
  24. package/dist/cjs/{chunk-pQ98WW7j.cjs.js.map → chunk-CX8UXLae.cjs.js.map} +1 -1
  25. package/dist/cjs/{chunk-D6gUFJOw.cjs.js → chunk-afvFA8i1.cjs.js} +8 -8
  26. package/dist/cjs/chunk-afvFA8i1.cjs.js.map +1 -0
  27. package/dist/cjs/index.cjs.js +2 -2
  28. package/dist/editor-stats.html +1 -1
  29. package/dist/index.js +2 -2
  30. package/package.json +1 -1
  31. package/src/translations/ar.json +2 -2
  32. package/src/translations/bg.json +2 -2
  33. package/src/translations/ca.json +2 -2
  34. package/src/translations/cs.json +2 -2
  35. package/src/translations/da.json +2 -2
  36. package/src/translations/de.json +2 -2
  37. package/src/translations/es-MX.json +2 -2
  38. package/src/translations/es.json +2 -2
  39. package/src/translations/et.json +2 -2
  40. package/src/translations/fi.json +2 -2
  41. package/src/translations/fil.json +2 -2
  42. package/src/translations/fr.json +2 -2
  43. package/src/translations/he.json +2 -2
  44. package/src/translations/hi.json +2 -2
  45. package/src/translations/hr.json +2 -2
  46. package/src/translations/id.json +2 -2
  47. package/src/translations/it.json +2 -2
  48. package/src/translations/ja.json +2 -2
  49. package/src/translations/ko.json +2 -2
  50. package/src/translations/nl.json +2 -2
  51. package/src/translations/pl.json +2 -2
  52. package/src/translations/pt-BR.json +2 -2
  53. package/src/translations/pt.json +2 -2
  54. package/src/translations/ro.json +2 -2
  55. package/src/translations/ru.json +2 -2
  56. package/src/translations/sk.json +2 -2
  57. package/src/translations/sl.json +2 -2
  58. package/src/translations/sv.json +2 -2
  59. package/src/translations/th.json +2 -2
  60. package/src/translations/tr.json +2 -2
  61. package/src/translations/uk.json +2 -2
  62. package/src/translations/vi.json +2 -2
  63. package/src/translations/zh-CN.json +2 -2
  64. package/src/translations/zh-TW.json +2 -2
  65. package/dist/chunk-CZULBD4z.js.map +0 -1
  66. package/dist/cjs/chunk-D6gUFJOw.cjs.js.map +0 -1
@@ -15703,7 +15703,7 @@ var EmojiPickerMenu = /*#__PURE__*/function (_React$Component) {
15703
15703
  key: "render",
15704
15704
  value: function render() {
15705
15705
  return /*#__PURE__*/jsx("div", {
15706
- "data-cy": "neeto-editor-emoji-picker",
15706
+ "data-testid": "neeto-editor-emoji-picker",
15707
15707
  ref: this.ref,
15708
15708
  style: {
15709
15709
  minWidth: "350px"
@@ -15778,7 +15778,7 @@ var MenuButton = function MenuButton(_ref) {
15778
15778
  disabled: disabled,
15779
15779
  icon: icon,
15780
15780
  className: "neeto-editor-fixed-menu__item",
15781
- "data-cy": "neeto-editor-fixed-menu-".concat(optionName, "-option"),
15781
+ "data-testid": "neeto-editor-fixed-menu-".concat(optionName, "-option"),
15782
15782
  style: isActive ? "secondary" : "text",
15783
15783
  tabIndex: "-1",
15784
15784
  tooltipProps: {
@@ -15819,7 +15819,7 @@ var CalloutTypeOption = function CalloutTypeOption(_ref) {
15819
15819
  className: optionClass,
15820
15820
  children: [/*#__PURE__*/jsx("span", {
15821
15821
  className: "neeto-editor-callout-dropdown__type-emoji",
15822
- "data-cy": "callout-type-emoji",
15822
+ "data-testid": "callout-type-emoji",
15823
15823
  children: /*#__PURE__*/jsx(Icon, {})
15824
15824
  }), /*#__PURE__*/jsx(Typography, {
15825
15825
  className: "neeto-editor-callout-dropdown__type-label",
@@ -15891,7 +15891,7 @@ var CalloutDropdown = function CalloutDropdown(_ref) {
15891
15891
  size: 12
15892
15892
  }),
15893
15893
  ref: dropdownRef,
15894
- "data-cy": "neeto-editor-fixed-menu-callout-option",
15894
+ "data-testid": "neeto-editor-fixed-menu-callout-option",
15895
15895
  onKeyDown: function onKeyDown(event) {
15896
15896
  var _dropdownRef$current;
15897
15897
  return event.key === "ArrowDown" && ((_dropdownRef$current = dropdownRef.current) === null || _dropdownRef$current === void 0 ? void 0 : _dropdownRef$current.click());
@@ -15931,7 +15931,7 @@ var SecondaryMenuTarget = function SecondaryMenuTarget(_ref) {
15931
15931
  var Icon = _ref.icon,
15932
15932
  label = _ref.label;
15933
15933
  return /*#__PURE__*/jsxs(MenuItem$3.Button, {
15934
- "data-cy": "neeto-editor-fixed-menu-".concat(hyphenate(label), "-option"),
15934
+ "data-testid": "neeto-editor-fixed-menu-".concat(hyphenate(label), "-option"),
15935
15935
  children: [/*#__PURE__*/jsx(Icon, {}), " ", label]
15936
15936
  });
15937
15937
  };
@@ -15958,7 +15958,7 @@ var EmojiOption = function EmojiOption(_ref) {
15958
15958
  position: "bottom"
15959
15959
  },
15960
15960
  className: "neeto-editor-fixed-menu__item",
15961
- "data-cy": "neeto-editor-fixed-menu-emoji-option"
15961
+ "data-testid": "neeto-editor-fixed-menu-emoji-option"
15962
15962
  },
15963
15963
  customTarget: isSecondaryMenu && /*#__PURE__*/jsx(SecondaryMenuTarget, {
15964
15964
  label: label,
@@ -16035,7 +16035,7 @@ var LinkOption = function LinkOption(_ref) {
16035
16035
  children: [/*#__PURE__*/jsx("input", {
16036
16036
  autoFocus: true,
16037
16037
  className: "neeto-editor-bubble-menu-link__input",
16038
- "data-cy": "neeto-editor-link-input",
16038
+ "data-testid": "neeto-editor-link-input",
16039
16039
  name: "url",
16040
16040
  placeholder: t("neetoEditor.placeholders.linkInput"),
16041
16041
  value: link,
@@ -16044,7 +16044,7 @@ var LinkOption = function LinkOption(_ref) {
16044
16044
  return setLink(validateAndFormatUrl(value));
16045
16045
  }
16046
16046
  }), /*#__PURE__*/jsx(Button$1, {
16047
- "data-cy": "neeto-editor-link-cancel-button",
16047
+ "data-testid": "neeto-editor-link-cancel-button",
16048
16048
  icon: Close,
16049
16049
  size: "small",
16050
16050
  style: "secondary",
@@ -16084,7 +16084,7 @@ var TableOption$2 = function TableOption(_ref) {
16084
16084
  children: t("neetoEditor.menu.rows")
16085
16085
  }), /*#__PURE__*/jsx("input", {
16086
16086
  autoFocus: true,
16087
- "data-cy": "neeto-editor-fixed-menu-table-option-input",
16087
+ "data-testid": "neeto-editor-bubble-menu-table-rows-input",
16088
16088
  min: "1",
16089
16089
  type: "number",
16090
16090
  value: rows,
@@ -16096,7 +16096,7 @@ var TableOption$2 = function TableOption(_ref) {
16096
16096
  className: "neeto-editor-bubble-menu__table__input-label",
16097
16097
  children: t("neetoEditor.menu.columns")
16098
16098
  }), /*#__PURE__*/jsx("input", {
16099
- "data-cy": "neeto-editor-bubble-menu-table-option-input",
16099
+ "data-testid": "neeto-editor-bubble-menu-table-option-input",
16100
16100
  min: "1",
16101
16101
  type: "number",
16102
16102
  value: columns,
@@ -16105,13 +16105,13 @@ var TableOption$2 = function TableOption(_ref) {
16105
16105
  }), /*#__PURE__*/jsxs("div", {
16106
16106
  className: "neeto-editor-bubble-menu__table__buttons",
16107
16107
  children: [/*#__PURE__*/jsx(Button$1, {
16108
- "data-cy": "neeto-editor-bubble-menu-table-option-create-button",
16108
+ "data-testid": "neeto-editor-bubble-menu-table-option-create-button",
16109
16109
  icon: Check,
16110
16110
  size: "small",
16111
16111
  style: "secondary",
16112
16112
  onClick: handleSubmit
16113
16113
  }), /*#__PURE__*/jsx(Button$1, {
16114
- "data-cy": "neeto-editor-bubble-menu-table-option-create-button",
16114
+ "data-testid": "neeto-editor-bubble-menu-table-option-close-button",
16115
16115
  icon: Close,
16116
16116
  size: "small",
16117
16117
  style: "secondary",
@@ -16350,7 +16350,7 @@ var renderOptionButton = function renderOptionButton(_ref4) {
16350
16350
  highlight = _ref4.highlight;
16351
16351
  return /*#__PURE__*/jsx(Button$1, _objectSpread$a({
16352
16352
  className: "neeto-editor-bubble-menu__item",
16353
- "data-cy": "neeto-editor-bubble-menu-".concat(optionName, "-option"),
16353
+ "data-testid": "neeto-editor-bubble-menu-".concat(optionName, "-option"),
16354
16354
  icon: Icon,
16355
16355
  size: "medium",
16356
16356
  style: active ? "secondary" : "text",
@@ -16375,7 +16375,7 @@ var Mentions = function Mentions(_ref) {
16375
16375
  if (isEmpty(mentions)) return null;
16376
16376
  return /*#__PURE__*/jsx(Dropdown$1, {
16377
16377
  buttonStyle: "text",
16378
- "data-cy": "neeto-editor-mention-option",
16378
+ "data-testid": "neeto-editor-mention-option",
16379
16379
  icon: Email,
16380
16380
  position: isSecondaryMenu ? "left-start" : "bottom-start",
16381
16381
  strategy: "fixed",
@@ -16399,7 +16399,7 @@ var Mentions = function Mentions(_ref) {
16399
16399
  name = _ref2.name,
16400
16400
  imageUrl = _ref2.imageUrl;
16401
16401
  return /*#__PURE__*/jsxs(MenuItem$2.Button, {
16402
- "data-cy": "neeto-editor-mention-option-".concat(key),
16402
+ "data-testid": "neeto-editor-mention-option-".concat(key),
16403
16403
  onClick: function onClick() {
16404
16404
  return editor.commands.setMention({
16405
16405
  id: key,
@@ -16605,7 +16605,7 @@ var Options = function Options(_ref) {
16605
16605
  label: /*#__PURE__*/jsx(Down, {
16606
16606
  size: 12
16607
16607
  }),
16608
- "data-cy": "neeto-editor-fixed-menu-font-size-option",
16608
+ "data-testid": "neeto-editor-fixed-menu-font-size-option",
16609
16609
  style: "text",
16610
16610
  size: "small",
16611
16611
  className: "neeto-editor-bubble-menu__item neeto-editor-font-size__wrapper"
@@ -16750,7 +16750,7 @@ var Progress = withT(function (_ref) {
16750
16750
  children: [/*#__PURE__*/jsx("div", {
16751
16751
  className: "ne-media-uploader__media__cancel-button-wrapper",
16752
16752
  children: /*#__PURE__*/jsx(Button$1, {
16753
- "data-cy": "neeto-editor-image-upload-cancel-button",
16753
+ "data-testid": "neeto-editor-image-upload-cancel-button",
16754
16754
  icon: Close,
16755
16755
  iconSize: 18,
16756
16756
  size: "small",
@@ -16867,7 +16867,7 @@ var LocalUploader = function LocalUploader(_ref) {
16867
16867
  queuedFiles: queuedFiles
16868
16868
  }) : /*#__PURE__*/jsxs("div", {
16869
16869
  className: "ne-media-uploader__dnd",
16870
- "data-cy": "neeto-editor-media-uploader-dnd",
16870
+ "data-testid": "neeto-editor-media-uploader-dnd",
16871
16871
  ref: dropTargetRef,
16872
16872
  tabIndex: 0,
16873
16873
  onClick: function onClick() {
@@ -16877,7 +16877,7 @@ var LocalUploader = function LocalUploader(_ref) {
16877
16877
  children: [/*#__PURE__*/jsx("input", {
16878
16878
  multiple: true,
16879
16879
  className: "ne-media-uploader__dnd-input",
16880
- "data-cy": "neeto-editor-media-uploader-input",
16880
+ "data-testid": "neeto-editor-media-uploader-input",
16881
16881
  ref: fileInputRef,
16882
16882
  type: "file",
16883
16883
  accept: isImage ? ALLOWED_IMAGE_TYPES.join(",") : ALLOWED_VIDEO_TYPES.join(","),
@@ -16930,7 +16930,7 @@ var VideoEmbedForm = function VideoEmbedForm(_ref) {
16930
16930
  children: /*#__PURE__*/jsx(Input$1, {
16931
16931
  autoFocus: true,
16932
16932
  unlimitedChars: true,
16933
- "data-cy": "neeto-editor-video-embed-input",
16933
+ "data-testid": "neeto-editor-video-embed-input",
16934
16934
  label: t("neetoEditor.common.videoUrl"),
16935
16935
  name: "url",
16936
16936
  placeholder: t("neetoEditor.placeholders.embedUrl"),
@@ -16939,7 +16939,7 @@ var VideoEmbedForm = function VideoEmbedForm(_ref) {
16939
16939
  })
16940
16940
  }), /*#__PURE__*/jsx(ActionBlock, {
16941
16941
  cancelButtonProps: {
16942
- "data-cy": "neeto-editor-video-embed-cancel",
16942
+ "data-testid": "neeto-editor-video-embed-cancel",
16943
16943
  label: t("neetoEditor.common.cancel"),
16944
16944
  size: "small",
16945
16945
  onClick: function onClick() {
@@ -16948,7 +16948,7 @@ var VideoEmbedForm = function VideoEmbedForm(_ref) {
16948
16948
  }
16949
16949
  },
16950
16950
  submitButtonProps: {
16951
- "data-cy": "neeto-editor-video-embed-submit",
16951
+ "data-testid": "neeto-editor-video-embed-submit",
16952
16952
  disabled: !dirty,
16953
16953
  label: t("neetoEditor.common.saveChanges"),
16954
16954
  loading: isSubmitting,
@@ -17074,7 +17074,7 @@ var MediaUploader = function MediaUploader(_ref) {
17074
17074
  title = _ref4.title;
17075
17075
  return /*#__PURE__*/jsx(Tab.Item, {
17076
17076
  active: activeTab === key,
17077
- "data-cy": "neeto-editor-media-uploader-".concat(key, "-tab"),
17077
+ "data-testid": "neeto-editor-media-uploader-".concat(key, "-tab"),
17078
17078
  onClick: function onClick() {
17079
17079
  return setActiveTab(key);
17080
17080
  },
@@ -17221,7 +17221,7 @@ var LinkAddPopOver = function LinkAddPopOver(_ref) {
17221
17221
  children: [/*#__PURE__*/jsx(Input, {
17222
17222
  required: true,
17223
17223
  autoFocus: !isLinkTextPresent,
17224
- "data-cy": "neeto-editor-add-link-text-input",
17224
+ "data-testid": "neeto-editor-add-link-text-input",
17225
17225
  label: t("neetoEditor.common.text"),
17226
17226
  placeholder: t("neetoEditor.placeholders.enterText"),
17227
17227
  size: "small",
@@ -17239,7 +17239,7 @@ var LinkAddPopOver = function LinkAddPopOver(_ref) {
17239
17239
  required: true,
17240
17240
  autoFocus: isLinkTextPresent,
17241
17241
  className: "ne-link-popover__url-input",
17242
- "data-cy": "neeto-editor-add-link-url-input",
17242
+ "data-testid": "neeto-editor-add-link-url-input",
17243
17243
  label: t("neetoEditor.common.url"),
17244
17244
  placeholder: t("neetoEditor.placeholders.url"),
17245
17245
  size: "small",
@@ -17258,7 +17258,7 @@ var LinkAddPopOver = function LinkAddPopOver(_ref) {
17258
17258
  }), /*#__PURE__*/jsx(Checkbox, {
17259
17259
  checked: openInNewTab,
17260
17260
  className: "ne-link-popover__checkbox",
17261
- "data-cy": "neeto-editor-add-link-open-in-new-tab-switch",
17261
+ "data-testid": "neeto-editor-add-link-open-in-new-tab-switch",
17262
17262
  label: t("neetoEditor.common.openInNewTab"),
17263
17263
  onChange: function onChange() {
17264
17264
  return setOpenInNewTab(not);
@@ -17266,13 +17266,13 @@ var LinkAddPopOver = function LinkAddPopOver(_ref) {
17266
17266
  }), /*#__PURE__*/jsxs("div", {
17267
17267
  className: "ne-link-popover__edit-prompt-buttons",
17268
17268
  children: [/*#__PURE__*/jsx(Button$1, {
17269
- "data-cy": "neeto-editor-add-link",
17269
+ "data-testid": "neeto-editor-add-link",
17270
17270
  disabled: isSubmitDisabled,
17271
17271
  label: t("neetoEditor.common.done"),
17272
17272
  size: "small",
17273
17273
  onClick: handleAddLink
17274
17274
  }), /*#__PURE__*/jsx(Button$1, {
17275
- "data-cy": "neeto-editor-link-popover-cancel",
17275
+ "data-testid": "neeto-editor-link-popover-cancel",
17276
17276
  label: t("neetoEditor.common.cancel"),
17277
17277
  size: "small",
17278
17278
  style: "text",
@@ -17307,7 +17307,7 @@ var MoreMenu = function MoreMenu(_ref) {
17307
17307
  if (type === MENU_ELEMENT_TYPES.BUTTON) {
17308
17308
  var Icon = props.icon;
17309
17309
  return /*#__PURE__*/jsxs(MenuItem$1.Button, _objectSpread$9(_objectSpread$9({
17310
- "data-cy": "neeto-editor-fixed-menu-".concat(props.optionName, "-option"),
17310
+ "data-testid": "neeto-editor-fixed-menu-".concat(props.optionName, "-option"),
17311
17311
  isActive: editor.isActive(props.optionName),
17312
17312
  tabIndex: "-1",
17313
17313
  onClick: props.command
@@ -17423,7 +17423,7 @@ var MenuDynamicVariables = function MenuDynamicVariables(_ref) {
17423
17423
  }).run();
17424
17424
  };
17425
17425
  return /*#__PURE__*/jsx("div", {
17426
- "data-cy": "neeto-editor-fixed-menu-variables",
17426
+ "data-testid": "neeto-editor-fixed-menu-variables",
17427
17427
  className: classnames("neeto-editor-fixed-menu__variables", {
17428
17428
  "neeto-editor-fixed-menu__variables--standalone": standalone
17429
17429
  }),
@@ -17572,7 +17572,7 @@ var Fixed = function Fixed(_ref) {
17572
17572
  }, className, className)),
17573
17573
  children: [/*#__PURE__*/jsxs("div", {
17574
17574
  className: "neeto-editor-fixed-menu__wrapper",
17575
- "data-cy": "neeto-editor-fixed-menu-wrapper",
17575
+ "data-testid": "neeto-editor-fixed-menu-wrapper",
17576
17576
  ref: menuRef,
17577
17577
  children: [menuItems.map(function (group) {
17578
17578
  return group.map(function (_ref2) {
@@ -17741,7 +17741,7 @@ var Emoji = function Emoji(_ref) {
17741
17741
  delay: [500],
17742
17742
  position: "bottom"
17743
17743
  },
17744
- "data-cy": "ne-emoji-picker"
17744
+ "data-testid": "ne-emoji-picker"
17745
17745
  },
17746
17746
  onClick: function onClick() {
17747
17747
  return setActive(function (active) {
@@ -17780,7 +17780,7 @@ var Option = function Option(_ref) {
17780
17780
  className: classnames({
17781
17781
  "ne-headless-btn--active": isActive
17782
17782
  }),
17783
- "data-cy": hyphenate(optionName),
17783
+ "data-testid": hyphenate(optionName),
17784
17784
  icon: Icon,
17785
17785
  tooltipProps: {
17786
17786
  content: tooltip,
@@ -18118,7 +18118,7 @@ var FontSizeOption = function FontSizeOption(_ref) {
18118
18118
  size: 12
18119
18119
  }),
18120
18120
  ref: dropdownRef,
18121
- "data-cy": "neeto-editor-fixed-menu-font-size-option",
18121
+ "data-testid": "neeto-editor-fixed-menu-font-size-option",
18122
18122
  onKeyDown: function onKeyDown(event) {
18123
18123
  var _dropdownRef$current;
18124
18124
  return event.key === "ArrowDown" && ((_dropdownRef$current = dropdownRef.current) === null || _dropdownRef$current === void 0 ? void 0 : _dropdownRef$current.click());
@@ -18140,7 +18140,7 @@ var FontSizeOption = function FontSizeOption(_ref) {
18140
18140
  key = _ref2.key;
18141
18141
  return /*#__PURE__*/jsx(MenuItem.Button, {
18142
18142
  className: "neeto-editor-menu-font-size-options__item-btn",
18143
- "data-cy": "neeto-editor-fixed-menu-font-size-option-".concat(key),
18143
+ "data-testid": "neeto-editor-fixed-menu-font-size-option-".concat(key),
18144
18144
  tooltipProps: {
18145
18145
  content: label,
18146
18146
  position: "bottom"
@@ -18180,7 +18180,7 @@ var ColorDot = function ColorDot(_ref) {
18180
18180
  onClick: onClick,
18181
18181
  className: dotClass,
18182
18182
  style: dotStyle,
18183
- "data-cy": "neeto-editor-highlight-".concat(hyphenize(isTextColor ? "text" : "background"), "-color-dot-").concat(colorNumber),
18183
+ "data-testid": "neeto-editor-highlight-".concat(hyphenize(isTextColor ? "text" : "background"), "-color-dot-").concat(colorNumber),
18184
18184
  children: isTextColor && /*#__PURE__*/jsx(Typography, {
18185
18185
  className: "neeto-editor-highlight-dropdown__color-dot-text",
18186
18186
  style: "body2",
@@ -18287,7 +18287,7 @@ var HighlightDropdown = function HighlightDropdown(_ref) {
18287
18287
  size: 12
18288
18288
  }),
18289
18289
  ref: dropdownRef,
18290
- "data-cy": "neeto-editor-fixed-menu-highlight-option",
18290
+ "data-testid": "neeto-editor-fixed-menu-highlight-option",
18291
18291
  onKeyDown: function onKeyDown(event) {
18292
18292
  var _dropdownRef$current;
18293
18293
  return event.key === "ArrowDown" && ((_dropdownRef$current = dropdownRef.current) === null || _dropdownRef$current === void 0 ? void 0 : _dropdownRef$current.click());
@@ -18315,7 +18315,7 @@ var HighlightDropdown = function HighlightDropdown(_ref) {
18315
18315
  children: title
18316
18316
  }), /*#__PURE__*/jsx("div", {
18317
18317
  className: "neeto-editor-highlight-dropdown__color-grid",
18318
- "data-cy": "neeto-editor-highlight-".concat(hyphenize(title), "-grid"),
18318
+ "data-testid": "neeto-editor-highlight-".concat(hyphenize(title), "-grid"),
18319
18319
  children: renderColorDots(colors, isTextColor)
18320
18320
  })]
18321
18321
  }, title);
@@ -18366,7 +18366,7 @@ var TableOption = function TableOption(_ref) {
18366
18366
  isOpen: isOpen,
18367
18367
  buttonStyle: isOpen ? "secondary" : "text",
18368
18368
  closeOnSelect: false,
18369
- "data-cy": "neeto-editor-fixed-menu-link-option",
18369
+ "data-testid": "neeto-editor-fixed-menu-link-option",
18370
18370
  icon: Column,
18371
18371
  position: isSecondaryMenu ? "left-start" : "bottom",
18372
18372
  buttonProps: {
@@ -18376,7 +18376,7 @@ var TableOption = function TableOption(_ref) {
18376
18376
  position: "bottom"
18377
18377
  },
18378
18378
  className: "neeto-editor-fixed-menu__item",
18379
- "data-cy": "neeto-editor-fixed-menu-table-option"
18379
+ "data-testid": "neeto-editor-fixed-menu-table-option"
18380
18380
  },
18381
18381
  customTarget: isSecondaryMenu && /*#__PURE__*/jsx(SecondaryMenuTarget, {
18382
18382
  label: label,
@@ -18388,7 +18388,7 @@ var TableOption = function TableOption(_ref) {
18388
18388
  className: "neeto-editor-table__item",
18389
18389
  children: [/*#__PURE__*/jsx(Input, {
18390
18390
  autoFocus: true,
18391
- "data-cy": "neeto-editor-fixed-menu-table-option-input",
18391
+ "data-testid": "neeto-editor-fixed-menu-table-rows-input",
18392
18392
  label: t("neetoEditor.menu.rows"),
18393
18393
  min: "1",
18394
18394
  placeholder: t("neetoEditor.placeholders.rows"),
@@ -18397,7 +18397,7 @@ var TableOption = function TableOption(_ref) {
18397
18397
  value: rows,
18398
18398
  onChange: withEventTargetValue(setRows)
18399
18399
  }), /*#__PURE__*/jsx(Input, {
18400
- "data-cy": "neeto-editor-fixed-menu-table-option-input",
18400
+ "data-testid": "neeto-editor-fixed-menu-table-columns-input",
18401
18401
  label: t("neetoEditor.menu.columns"),
18402
18402
  min: "1",
18403
18403
  placeholder: t("neetoEditor.placeholders.rows"),
@@ -18409,7 +18409,7 @@ var TableOption = function TableOption(_ref) {
18409
18409
  className: "neeto-editor-table-menu__button",
18410
18410
  children: /*#__PURE__*/jsx(Button$1, {
18411
18411
  className: "mt-auto",
18412
- "data-cy": "neeto-editor-fixed-menu-table-option-create-button",
18412
+ "data-testid": "neeto-editor-fixed-menu-table-option-create-button",
18413
18413
  label: t("neetoEditor.common.create"),
18414
18414
  size: "small",
18415
18415
  onClick: handleSubmit
@@ -18928,4 +18928,4 @@ var Menu = function Menu(props) {
18928
18928
  };
18929
18929
 
18930
18930
  export { getChangedRanges as A, findChildrenInRange as B, CALLOUT_TYPES as C, DecorationSet as D, Extension as E, getMarksBetween as F, getAttributes as G, highlightFocussedNode as H, InputRule as I, resetFocussedNode as J, findParentNodeClosestToPos as K, validateUrl as L, Menu as M, Node as N, BubbleMenu as O, PasteRule as P, getLinkPopoverPosition as Q, ReactNodeViewRenderer as R, getMarkType as S, getMarkRange as T, useEditor as U, useEditorState$1 as V, MenuDynamicVariables as W, EditorContent as X, MediaUploader as Y, LinkAddPopOver as Z, EditorView as _, Mark as a, markInputRule as b, markPasteRule as c, Decoration as d, callOrReturn as e, getExtensionField as f, getMarkAttributes as g, getNodeType as h, isNodeSelection as i, getNodeAtPosition as j, keydownHandler as k, isNodeActive as l, mergeAttributes as m, nodeInputRule as n, isAtStartOfNode as o, isAtEndOfNode as p, NodeViewWrapper as q, NodeViewContent as r, findChildren as s, textblockTypeInputRule as t, escapeForRegEx as u, ReactRenderer as v, wrappingInputRule as w, EmojiPickerMenu as x, emojiPickerApi as y, combineTransactionSteps as z };
18931
- //# sourceMappingURL=chunk-CXmkXuF3.js.map
18931
+ //# sourceMappingURL=chunk-B7WnAQ8d.js.map