@atlaskit/editor-common 110.22.1 → 110.23.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 110.23.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`236d9310035ae`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/236d9310035ae) -
8
+ [https://product-fabric.atlassian.net/browse/ED-29205](ED-29205) - use native DOM element for
9
+ editor expand icon
10
+
11
+ ### Patch Changes
12
+
13
+ - [`e3336879840a4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e3336879840a4) -
14
+ [ux] EDITOR-2620 Toggle contextual menu when drag menu is opened
15
+ - Updated dependencies
16
+
17
+ ## 110.22.2
18
+
19
+ ### Patch Changes
20
+
21
+ - [`7bb84f91500cf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7bb84f91500cf) -
22
+ [ux] EDITOR-2442 update warning modal on source sync block deletion
23
+ - Updated dependencies
24
+
3
25
  ## 110.22.1
4
26
 
5
27
  ### Patch Changes
@@ -85,5 +85,25 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntlNext.defineMes
85
85
  id: 'fabric.editor.referenceSyncBlockTooltip',
86
86
  defaultMessage: 'Synced from: {title}',
87
87
  description: 'Tooltip that shows the source page title of the synced block'
88
+ },
89
+ deleteConfirmationModalTitle: {
90
+ id: 'fabric.editor.deleteConfirmationModalTitle',
91
+ defaultMessage: "You're about to delete synced content",
92
+ description: 'Title of delete confirmation modal that appears when user tries to delete source synced block'
93
+ },
94
+ deleteConfirmationModalCancelButton: {
95
+ id: 'fabric.editor.deleteConfirmationModalCancelButton',
96
+ defaultMessage: "Cancel",
97
+ description: 'Text on button which cancels deleting when user was trying to delete source synced block'
98
+ },
99
+ deleteConfirmationModalDeleteButton: {
100
+ id: 'fabric.editor.deleteConfirmationModalDeleteButton',
101
+ defaultMessage: "Delete",
102
+ description: 'Text on button which confirms deleting the sync block when user was trying to delete source synced block'
103
+ },
104
+ deleteConfirmationModalDescription: {
105
+ id: 'fabric.editor.deleteConfirmationModalDescriptionSingle',
106
+ defaultMessage: 'Deleting this content will also remove {syncBlockCount, plural, one {a synced block. References to this block} other {# synced blocks. References to these blocks}} in other locations will show an error. Continue with deletion?',
107
+ description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
88
108
  }
89
109
  });
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
16
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
17
17
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
18
18
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
19
- var packageVersion = "110.22.0";
19
+ var packageVersion = "110.22.2";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // Ignored via go/ees007
@@ -29,6 +29,8 @@ var expandClassNames = exports.expandClassNames = {
29
29
  inputContainer: "".concat(prefix, "__input-container"),
30
30
  iconContainer: "".concat(prefix, "__icon-container"),
31
31
  icon: "".concat(prefix, "__icon"),
32
+ iconButton: "".concat(prefix, "__icon-button"),
33
+ iconSvg: "".concat(prefix, "__icon-svg"),
32
34
  titleInput: "".concat(prefix, "__title-input"),
33
35
  content: "".concat(prefix, "__content"),
34
36
  type: function type(_type) {
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
24
24
  * @jsx jsx
25
25
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
26
26
  var packageName = "@atlaskit/editor-common";
27
- var packageVersion = "110.22.0";
27
+ var packageVersion = "110.22.2";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -20,7 +20,14 @@ var UserIntentPopupWrapper = exports.UserIntentPopupWrapper = function UserInten
20
20
  api === null || api === void 0 || api.core.actions.execute(api === null || api === void 0 || (_api$userIntent = api.userIntent) === null || _api$userIntent === void 0 ? void 0 : _api$userIntent.commands.setCurrentUserIntent((0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_user_intent', 'isEnabled', true) ? userIntent : 'popupOpen'));
21
21
  return function () {
22
22
  var _api$userIntent2;
23
- api === null || api === void 0 || api.core.actions.execute(api === null || api === void 0 || (_api$userIntent2 = api.userIntent) === null || _api$userIntent2 === void 0 ? void 0 : _api$userIntent2.commands.setCurrentUserIntent('default'));
23
+ if (userIntent === (api === null || api === void 0 || (_api$userIntent2 = api.userIntent) === null || _api$userIntent2 === void 0 ? void 0 : _api$userIntent2.sharedState.currentState().currentUserIntent) && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_user_intent', 'isEnabled', true)) {
24
+ var _api$userIntent3;
25
+ api === null || api === void 0 || api.core.actions.execute(api === null || api === void 0 || (_api$userIntent3 = api.userIntent) === null || _api$userIntent3 === void 0 ? void 0 : _api$userIntent3.commands.setCurrentUserIntent('default'));
26
+ }
27
+ if (!(0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_user_intent', 'isEnabled', true)) {
28
+ var _api$userIntent4;
29
+ api === null || api === void 0 || api.core.actions.execute(api === null || api === void 0 || (_api$userIntent4 = api.userIntent) === null || _api$userIntent4 === void 0 ? void 0 : _api$userIntent4.commands.setCurrentUserIntent('default'));
30
+ }
24
31
  };
25
32
 
26
33
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -62,11 +62,13 @@ var createWrappingJoinRule = exports.createWrappingJoinRule = function createWra
62
62
  return createRule(match, handler);
63
63
  };
64
64
  var createRule = exports.createRule = function createRule(match, handler) {
65
+ var allowsBackwardMatch = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
65
66
  return {
66
67
  match: match,
67
68
  handler: handler,
68
69
  onHandlerApply: function onHandlerApply(_state, tr) {
69
70
  (0, _prosemirrorHistory.closeHistory)(tr);
70
- }
71
+ },
72
+ allowsBackwardMatch: allowsBackwardMatch
71
73
  };
72
74
  };
@@ -79,5 +79,25 @@ export const syncBlockMessages = defineMessages({
79
79
  id: 'fabric.editor.referenceSyncBlockTooltip',
80
80
  defaultMessage: 'Synced from: {title}',
81
81
  description: 'Tooltip that shows the source page title of the synced block'
82
+ },
83
+ deleteConfirmationModalTitle: {
84
+ id: 'fabric.editor.deleteConfirmationModalTitle',
85
+ defaultMessage: "You're about to delete synced content",
86
+ description: 'Title of delete confirmation modal that appears when user tries to delete source synced block'
87
+ },
88
+ deleteConfirmationModalCancelButton: {
89
+ id: 'fabric.editor.deleteConfirmationModalCancelButton',
90
+ defaultMessage: "Cancel",
91
+ description: 'Text on button which cancels deleting when user was trying to delete source synced block'
92
+ },
93
+ deleteConfirmationModalDeleteButton: {
94
+ id: 'fabric.editor.deleteConfirmationModalDeleteButton',
95
+ defaultMessage: "Delete",
96
+ description: 'Text on button which confirms deleting the sync block when user was trying to delete source synced block'
97
+ },
98
+ deleteConfirmationModalDescription: {
99
+ id: 'fabric.editor.deleteConfirmationModalDescriptionSingle',
100
+ defaultMessage: 'Deleting this content will also remove {syncBlockCount, plural, one {a synced block. References to this block} other {# synced blocks. References to these blocks}} in other locations will show an error. Continue with deletion?',
101
+ description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
82
102
  }
83
103
  });
@@ -1,7 +1,7 @@
1
1
  import { isFedRamp } from './environment';
2
2
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
3
3
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
4
- const packageVersion = "110.22.0";
4
+ const packageVersion = "110.22.2";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // Ignored via go/ees007
@@ -22,6 +22,8 @@ export const expandClassNames = {
22
22
  inputContainer: `${prefix}__input-container`,
23
23
  iconContainer: `${prefix}__icon-container`,
24
24
  icon: `${prefix}__icon`,
25
+ iconButton: `${prefix}__icon-button`,
26
+ iconSvg: `${prefix}__icon-svg`,
25
27
  titleInput: `${prefix}__title-input`,
26
28
  content: `${prefix}__content`,
27
29
  type: type => `${prefix}__type-${type}`
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import { fg } from '@atlaskit/platform-feature-flags';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "110.22.0";
17
+ const packageVersion = "110.22.2";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -14,7 +14,14 @@ export const UserIntentPopupWrapper = ({
14
14
  api === null || api === void 0 ? void 0 : api.core.actions.execute(api === null || api === void 0 ? void 0 : (_api$userIntent = api.userIntent) === null || _api$userIntent === void 0 ? void 0 : _api$userIntent.commands.setCurrentUserIntent(expValEqualsNoExposure('platform_editor_lovability_user_intent', 'isEnabled', true) ? userIntent : 'popupOpen'));
15
15
  return () => {
16
16
  var _api$userIntent2;
17
- api === null || api === void 0 ? void 0 : api.core.actions.execute(api === null || api === void 0 ? void 0 : (_api$userIntent2 = api.userIntent) === null || _api$userIntent2 === void 0 ? void 0 : _api$userIntent2.commands.setCurrentUserIntent('default'));
17
+ if (userIntent === (api === null || api === void 0 ? void 0 : (_api$userIntent2 = api.userIntent) === null || _api$userIntent2 === void 0 ? void 0 : _api$userIntent2.sharedState.currentState().currentUserIntent) && expValEqualsNoExposure('platform_editor_lovability_user_intent', 'isEnabled', true)) {
18
+ var _api$userIntent3;
19
+ api === null || api === void 0 ? void 0 : api.core.actions.execute(api === null || api === void 0 ? void 0 : (_api$userIntent3 = api.userIntent) === null || _api$userIntent3 === void 0 ? void 0 : _api$userIntent3.commands.setCurrentUserIntent('default'));
20
+ }
21
+ if (!expValEqualsNoExposure('platform_editor_lovability_user_intent', 'isEnabled', true)) {
22
+ var _api$userIntent4;
23
+ api === null || api === void 0 ? void 0 : api.core.actions.execute(api === null || api === void 0 ? void 0 : (_api$userIntent4 = api.userIntent) === null || _api$userIntent4 === void 0 ? void 0 : _api$userIntent4.commands.setCurrentUserIntent('default'));
24
+ }
18
25
  };
19
26
 
20
27
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -53,12 +53,13 @@ export const createWrappingJoinRule = ({
53
53
  };
54
54
  return createRule(match, handler);
55
55
  };
56
- export const createRule = (match, handler) => {
56
+ export const createRule = (match, handler, allowsBackwardMatch = false) => {
57
57
  return {
58
58
  match,
59
59
  handler,
60
60
  onHandlerApply: (_state, tr) => {
61
61
  closeHistory(tr);
62
- }
62
+ },
63
+ allowsBackwardMatch
63
64
  };
64
65
  };
@@ -79,5 +79,25 @@ export var syncBlockMessages = defineMessages({
79
79
  id: 'fabric.editor.referenceSyncBlockTooltip',
80
80
  defaultMessage: 'Synced from: {title}',
81
81
  description: 'Tooltip that shows the source page title of the synced block'
82
+ },
83
+ deleteConfirmationModalTitle: {
84
+ id: 'fabric.editor.deleteConfirmationModalTitle',
85
+ defaultMessage: "You're about to delete synced content",
86
+ description: 'Title of delete confirmation modal that appears when user tries to delete source synced block'
87
+ },
88
+ deleteConfirmationModalCancelButton: {
89
+ id: 'fabric.editor.deleteConfirmationModalCancelButton',
90
+ defaultMessage: "Cancel",
91
+ description: 'Text on button which cancels deleting when user was trying to delete source synced block'
92
+ },
93
+ deleteConfirmationModalDeleteButton: {
94
+ id: 'fabric.editor.deleteConfirmationModalDeleteButton',
95
+ defaultMessage: "Delete",
96
+ description: 'Text on button which confirms deleting the sync block when user was trying to delete source synced block'
97
+ },
98
+ deleteConfirmationModalDescription: {
99
+ id: 'fabric.editor.deleteConfirmationModalDescriptionSingle',
100
+ defaultMessage: 'Deleting this content will also remove {syncBlockCount, plural, one {a synced block. References to this block} other {# synced blocks. References to these blocks}} in other locations will show an error. Continue with deletion?',
101
+ description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
82
102
  }
83
103
  });
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import { isFedRamp } from './environment';
8
8
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
9
9
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
10
- var packageVersion = "110.22.0";
10
+ var packageVersion = "110.22.2";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // Ignored via go/ees007
@@ -22,6 +22,8 @@ export var expandClassNames = {
22
22
  inputContainer: "".concat(prefix, "__input-container"),
23
23
  iconContainer: "".concat(prefix, "__icon-container"),
24
24
  icon: "".concat(prefix, "__icon"),
25
+ iconButton: "".concat(prefix, "__icon-button"),
26
+ iconSvg: "".concat(prefix, "__icon-svg"),
25
27
  titleInput: "".concat(prefix, "__title-input"),
26
28
  content: "".concat(prefix, "__content"),
27
29
  type: function type(_type) {
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import { fg } from '@atlaskit/platform-feature-flags';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "110.22.0";
24
+ var packageVersion = "110.22.2";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -14,7 +14,14 @@ export var UserIntentPopupWrapper = function UserIntentPopupWrapper(_ref) {
14
14
  api === null || api === void 0 || api.core.actions.execute(api === null || api === void 0 || (_api$userIntent = api.userIntent) === null || _api$userIntent === void 0 ? void 0 : _api$userIntent.commands.setCurrentUserIntent(expValEqualsNoExposure('platform_editor_lovability_user_intent', 'isEnabled', true) ? userIntent : 'popupOpen'));
15
15
  return function () {
16
16
  var _api$userIntent2;
17
- api === null || api === void 0 || api.core.actions.execute(api === null || api === void 0 || (_api$userIntent2 = api.userIntent) === null || _api$userIntent2 === void 0 ? void 0 : _api$userIntent2.commands.setCurrentUserIntent('default'));
17
+ if (userIntent === (api === null || api === void 0 || (_api$userIntent2 = api.userIntent) === null || _api$userIntent2 === void 0 ? void 0 : _api$userIntent2.sharedState.currentState().currentUserIntent) && expValEqualsNoExposure('platform_editor_lovability_user_intent', 'isEnabled', true)) {
18
+ var _api$userIntent3;
19
+ api === null || api === void 0 || api.core.actions.execute(api === null || api === void 0 || (_api$userIntent3 = api.userIntent) === null || _api$userIntent3 === void 0 ? void 0 : _api$userIntent3.commands.setCurrentUserIntent('default'));
20
+ }
21
+ if (!expValEqualsNoExposure('platform_editor_lovability_user_intent', 'isEnabled', true)) {
22
+ var _api$userIntent4;
23
+ api === null || api === void 0 || api.core.actions.execute(api === null || api === void 0 || (_api$userIntent4 = api.userIntent) === null || _api$userIntent4 === void 0 ? void 0 : _api$userIntent4.commands.setCurrentUserIntent('default'));
24
+ }
18
25
  };
19
26
 
20
27
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -55,11 +55,13 @@ export var createWrappingJoinRule = function createWrappingJoinRule(_ref) {
55
55
  return createRule(match, handler);
56
56
  };
57
57
  export var createRule = function createRule(match, handler) {
58
+ var allowsBackwardMatch = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
58
59
  return {
59
60
  match: match,
60
61
  handler: handler,
61
62
  onHandlerApply: function onHandlerApply(_state, tr) {
62
63
  closeHistory(tr);
63
- }
64
+ },
65
+ allowsBackwardMatch: allowsBackwardMatch
64
66
  };
65
67
  };
@@ -79,4 +79,24 @@ export declare const syncBlockMessages: {
79
79
  defaultMessage: string;
80
80
  description: string;
81
81
  };
82
+ deleteConfirmationModalTitle: {
83
+ id: string;
84
+ defaultMessage: string;
85
+ description: string;
86
+ };
87
+ deleteConfirmationModalCancelButton: {
88
+ id: string;
89
+ defaultMessage: string;
90
+ description: string;
91
+ };
92
+ deleteConfirmationModalDeleteButton: {
93
+ id: string;
94
+ defaultMessage: string;
95
+ description: string;
96
+ };
97
+ deleteConfirmationModalDescription: {
98
+ id: string;
99
+ defaultMessage: string;
100
+ description: string;
101
+ };
82
102
  };
@@ -12,6 +12,8 @@ export declare const expandClassNames: {
12
12
  inputContainer: string;
13
13
  iconContainer: string;
14
14
  icon: string;
15
+ iconButton: string;
16
+ iconSvg: string;
15
17
  titleInput: string;
16
18
  content: string;
17
19
  type: (type: string) => string;
@@ -2,6 +2,7 @@ import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/stat
2
2
  export type InputRuleHandler = (state: EditorState, matchResult: RegExpExecArray, start: number, end: number) => Transaction | null;
3
3
  export type OnHandlerApply = (state: EditorState, tr: Transaction, matchResult: RegExpExecArray) => void;
4
4
  export interface InputRuleWrapper {
5
+ allowsBackwardMatch?: boolean;
5
6
  handler: InputRuleHandler;
6
7
  match: RegExp;
7
8
  onHandlerApply?: OnHandlerApply;
@@ -1 +1 @@
1
- export type PopupUserIntent = 'popupOpen' | 'tablePopupOpen' | 'statusPickerOpen';
1
+ export type PopupUserIntent = 'popupOpen' | 'tableContextualMenuPopupOpen' | 'tableDragMenuPopupOpen' | 'statusPickerOpen';
@@ -12,5 +12,5 @@ type WrappingRuleProps = {
12
12
  nodeType: NodeType;
13
13
  };
14
14
  export declare const createWrappingJoinRule: ({ match, nodeType, getAttrs, joinPredicate, }: WrappingRuleProps) => InputRuleWrapper;
15
- export declare const createRule: (match: RegExp, handler: InputRuleHandler) => InputRuleWrapper;
15
+ export declare const createRule: (match: RegExp, handler: InputRuleHandler, allowsBackwardMatch?: boolean) => InputRuleWrapper;
16
16
  export {};
@@ -79,4 +79,24 @@ export declare const syncBlockMessages: {
79
79
  defaultMessage: string;
80
80
  description: string;
81
81
  };
82
+ deleteConfirmationModalTitle: {
83
+ id: string;
84
+ defaultMessage: string;
85
+ description: string;
86
+ };
87
+ deleteConfirmationModalCancelButton: {
88
+ id: string;
89
+ defaultMessage: string;
90
+ description: string;
91
+ };
92
+ deleteConfirmationModalDeleteButton: {
93
+ id: string;
94
+ defaultMessage: string;
95
+ description: string;
96
+ };
97
+ deleteConfirmationModalDescription: {
98
+ id: string;
99
+ defaultMessage: string;
100
+ description: string;
101
+ };
82
102
  };
@@ -12,6 +12,8 @@ export declare const expandClassNames: {
12
12
  inputContainer: string;
13
13
  iconContainer: string;
14
14
  icon: string;
15
+ iconButton: string;
16
+ iconSvg: string;
15
17
  titleInput: string;
16
18
  content: string;
17
19
  type: (type: string) => string;
@@ -2,6 +2,7 @@ import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/stat
2
2
  export type InputRuleHandler = (state: EditorState, matchResult: RegExpExecArray, start: number, end: number) => Transaction | null;
3
3
  export type OnHandlerApply = (state: EditorState, tr: Transaction, matchResult: RegExpExecArray) => void;
4
4
  export interface InputRuleWrapper {
5
+ allowsBackwardMatch?: boolean;
5
6
  handler: InputRuleHandler;
6
7
  match: RegExp;
7
8
  onHandlerApply?: OnHandlerApply;
@@ -1 +1 @@
1
- export type PopupUserIntent = 'popupOpen' | 'tablePopupOpen' | 'statusPickerOpen';
1
+ export type PopupUserIntent = 'popupOpen' | 'tableContextualMenuPopupOpen' | 'tableDragMenuPopupOpen' | 'statusPickerOpen';
@@ -12,5 +12,5 @@ type WrappingRuleProps = {
12
12
  nodeType: NodeType;
13
13
  };
14
14
  export declare const createWrappingJoinRule: ({ match, nodeType, getAttrs, joinPredicate, }: WrappingRuleProps) => InputRuleWrapper;
15
- export declare const createRule: (match: RegExp, handler: InputRuleHandler) => InputRuleWrapper;
15
+ export declare const createRule: (match: RegExp, handler: InputRuleHandler, allowsBackwardMatch?: boolean) => InputRuleWrapper;
16
16
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "110.22.1",
3
+ "version": "110.23.0",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -64,7 +64,7 @@
64
64
  "@atlaskit/media-picker": "^70.0.0",
65
65
  "@atlaskit/media-ui": "^28.7.0",
66
66
  "@atlaskit/media-viewer": "^52.4.0",
67
- "@atlaskit/mention": "^24.3.0",
67
+ "@atlaskit/mention": "^24.4.0",
68
68
  "@atlaskit/menu": "^8.4.0",
69
69
  "@atlaskit/onboarding": "^14.4.0",
70
70
  "@atlaskit/platform-feature-flags": "^1.1.0",
@@ -75,14 +75,14 @@
75
75
  "@atlaskit/prosemirror-history": "^0.2.0",
76
76
  "@atlaskit/react-ufo": "^4.14.0",
77
77
  "@atlaskit/section-message": "^8.9.0",
78
- "@atlaskit/smart-card": "^43.5.0",
78
+ "@atlaskit/smart-card": "^43.6.0",
79
79
  "@atlaskit/smart-user-picker": "^8.4.0",
80
80
  "@atlaskit/spinner": "^19.0.0",
81
81
  "@atlaskit/status": "^3.0.0",
82
82
  "@atlaskit/task-decision": "^19.2.0",
83
83
  "@atlaskit/textfield": "^8.0.0",
84
84
  "@atlaskit/theme": "^21.0.0",
85
- "@atlaskit/tmp-editor-statsig": "^13.26.0",
85
+ "@atlaskit/tmp-editor-statsig": "^13.30.0",
86
86
  "@atlaskit/tokens": "^7.1.0",
87
87
  "@atlaskit/tooltip": "^20.7.0",
88
88
  "@atlaskit/ufo": "^0.4.0",