@atlaskit/editor-plugin-text-formatting 1.16.4 → 1.16.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-plugin-text-formatting
2
2
 
3
+ ## 1.16.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 1.16.4
4
10
 
5
11
  ### Patch Changes
@@ -10,10 +10,10 @@ exports.strongRegex2 = exports.strongRegex1 = exports.strikeRegex = exports.ital
10
10
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
11
11
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
12
12
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
13
- var _get2 = _interopRequireDefault(require("@babel/runtime/helpers/get"));
14
- var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
15
13
  var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
16
14
  var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
15
+ var _get2 = _interopRequireDefault(require("@babel/runtime/helpers/get"));
16
+ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
17
17
  var _wrapNativeSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/wrapNativeSuper"));
18
18
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
19
19
  var _analytics = require("@atlaskit/editor-common/analytics");
@@ -21,9 +21,9 @@ var _mark = require("@atlaskit/editor-common/mark");
21
21
  var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
22
22
  var _utils = require("@atlaskit/editor-common/utils");
23
23
  var _prosemirrorInputRules = require("@atlaskit/prosemirror-input-rules");
24
- var _ValidCombinations;
25
- function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = (0, _getPrototypeOf2.default)(t); if (r) { var s = (0, _getPrototypeOf2.default)(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return (0, _possibleConstructorReturn2.default)(this, e); }; }
24
+ function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
26
25
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
26
+ function _superPropGet(t, o, e, r) { var p = (0, _get2.default)((0, _getPrototypeOf2.default)(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; }
27
27
  var ValidAutoformatChars = /*#__PURE__*/function (ValidAutoformatChars) {
28
28
  ValidAutoformatChars["STRONG"] = "__";
29
29
  ValidAutoformatChars["STRIKE"] = "~~";
@@ -33,7 +33,7 @@ var ValidAutoformatChars = /*#__PURE__*/function (ValidAutoformatChars) {
33
33
  ValidAutoformatChars["CODE"] = "`";
34
34
  return ValidAutoformatChars;
35
35
  }(ValidAutoformatChars || {});
36
- var ValidCombinations = exports.ValidCombinations = (_ValidCombinations = {}, (0, _defineProperty2.default)(_ValidCombinations, ValidAutoformatChars.STRIKE, [
36
+ var ValidCombinations = exports.ValidCombinations = (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, ValidAutoformatChars.STRIKE, [
37
37
  // e.g: _~~lol~~_
38
38
  ValidAutoformatChars.ITALIC,
39
39
  // e.g: __~~lol~~__
@@ -41,25 +41,25 @@ ValidAutoformatChars.STRONG,
41
41
  // e.g: **~~lol~~**
42
42
  ValidAutoformatChars.STRONG_MARKDOWN,
43
43
  // e.g: *~~lol~~*
44
- ValidAutoformatChars.ITALIC_MARKDOWN]), (0, _defineProperty2.default)(_ValidCombinations, ValidAutoformatChars.STRONG, [
44
+ ValidAutoformatChars.ITALIC_MARKDOWN]), ValidAutoformatChars.STRONG, [
45
45
  // e.g: ~~__lol__~~
46
46
  ValidAutoformatChars.STRIKE,
47
47
  // e.g: *__lol__*
48
- ValidAutoformatChars.ITALIC_MARKDOWN]), (0, _defineProperty2.default)(_ValidCombinations, ValidAutoformatChars.STRONG_MARKDOWN, [
48
+ ValidAutoformatChars.ITALIC_MARKDOWN]), ValidAutoformatChars.STRONG_MARKDOWN, [
49
49
  // e.g: _**lol**_
50
50
  ValidAutoformatChars.ITALIC,
51
51
  // e.g: ~~**lol**~~
52
- ValidAutoformatChars.STRIKE]), (0, _defineProperty2.default)(_ValidCombinations, ValidAutoformatChars.ITALIC_MARKDOWN, [
52
+ ValidAutoformatChars.STRIKE]), ValidAutoformatChars.ITALIC_MARKDOWN, [
53
53
  // e.g: ~~*lol*~~
54
54
  ValidAutoformatChars.STRIKE,
55
55
  // e.g: __*lol*__
56
- ValidAutoformatChars.STRONG]), (0, _defineProperty2.default)(_ValidCombinations, ValidAutoformatChars.ITALIC, [
56
+ ValidAutoformatChars.STRONG]), ValidAutoformatChars.ITALIC, [
57
57
  // e.g: ~~_lol_~~
58
58
  ValidAutoformatChars.STRIKE,
59
59
  // e.g: **_lol_**
60
- ValidAutoformatChars.STRONG_MARKDOWN]), (0, _defineProperty2.default)(_ValidCombinations, ValidAutoformatChars.CODE, [
60
+ ValidAutoformatChars.STRONG_MARKDOWN]), ValidAutoformatChars.CODE, [
61
61
  // e.g: loko (`some code`
62
- '( ']), _ValidCombinations);
62
+ '( ']);
63
63
  function addMark(markType, schema, char) {
64
64
  return function (state, match, start, end) {
65
65
  var _schema$marks;
@@ -111,20 +111,19 @@ function addMark(markType, schema, char) {
111
111
  };
112
112
  }
113
113
  var ReverseRegexExp = /*#__PURE__*/function (_RegExp) {
114
- (0, _inherits2.default)(ReverseRegexExp, _RegExp);
115
- var _super = _createSuper(ReverseRegexExp);
116
114
  function ReverseRegexExp() {
117
115
  (0, _classCallCheck2.default)(this, ReverseRegexExp);
118
- return _super.apply(this, arguments);
116
+ return _callSuper(this, ReverseRegexExp, arguments);
119
117
  }
120
- (0, _createClass2.default)(ReverseRegexExp, [{
118
+ (0, _inherits2.default)(ReverseRegexExp, _RegExp);
119
+ return (0, _createClass2.default)(ReverseRegexExp, [{
121
120
  key: "exec",
122
121
  value: function exec(str) {
123
122
  if (!str) {
124
123
  return null;
125
124
  }
126
125
  var reverseStr = (0, _toConsumableArray2.default)(str).reverse().join('');
127
- var result = (0, _get2.default)((0, _getPrototypeOf2.default)(ReverseRegexExp.prototype), "exec", this).call(this, reverseStr);
126
+ var result = _superPropGet(ReverseRegexExp, "exec", this, 3)([reverseStr]);
128
127
  if (!result) {
129
128
  return null;
130
129
  }
@@ -142,7 +141,6 @@ var ReverseRegexExp = /*#__PURE__*/function (_RegExp) {
142
141
  return result;
143
142
  }
144
143
  }]);
145
- return ReverseRegexExp;
146
144
  }( /*#__PURE__*/(0, _wrapNativeSuper2.default)(RegExp));
147
145
  var buildRegex = function buildRegex(char) {
148
146
  var escapedChar = char.replace(/(\W)/g, '\\$1');
@@ -5,12 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.plugin = void 0;
8
- Object.defineProperty(exports, "pluginKey", {
9
- enumerable: true,
10
- get: function get() {
11
- return _pluginKey.pluginKey;
12
- }
13
- });
14
8
  var _keymaps = require("@atlaskit/editor-common/keymaps");
15
9
  var _mark = require("@atlaskit/editor-common/mark");
16
10
  var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
@@ -16,6 +16,7 @@ var _cursor = _interopRequireDefault(require("./pm-plugins/cursor"));
16
16
  var _inputRule = _interopRequireDefault(require("./pm-plugins/input-rule"));
17
17
  var _keymap = _interopRequireDefault(require("./pm-plugins/keymap"));
18
18
  var _main = require("./pm-plugins/main");
19
+ var _pluginKey = require("./pm-plugins/plugin-key");
19
20
  var _smartInputRule = _interopRequireDefault(require("./pm-plugins/smart-input-rule"));
20
21
  var _FloatingToolbarComponent = require("./ui/FloatingToolbarComponent");
21
22
  var _PrimaryToolbarComponent = require("./ui/PrimaryToolbarComponent");
@@ -126,7 +127,7 @@ var textFormattingPlugin = exports.textFormattingPlugin = function textFormattin
126
127
  if (!editorState) {
127
128
  return undefined;
128
129
  }
129
- return _objectSpread(_objectSpread({}, _main.pluginKey.getState(editorState)), {}, {
130
+ return _objectSpread(_objectSpread({}, _pluginKey.pluginKey.getState(editorState)), {}, {
130
131
  formattingIsPresent: (_clearFormattingPlugi = _clearFormatting.pluginKey.getState(editorState)) === null || _clearFormattingPlugi === void 0 ? void 0 : _clearFormattingPlugi.formattingIsPresent
131
132
  });
132
133
  },
@@ -8,7 +8,6 @@ exports.ResponsiveCustomMenuNext = exports.ResponsiveCustomMenu = exports.Respon
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
9
  var _types = require("@atlaskit/editor-common/types");
10
10
  var _types2 = require("./types");
11
- var _ResponsiveCustomButt, _ResponsiveCustomMenu, _ResponsiveCustomButt2, _ResponsiveCustomMenu2;
12
11
  var DefaultButtonsToolbar = exports.DefaultButtonsToolbar = [_types2.IconTypes.strong, _types2.IconTypes.em];
13
12
  var DefaultButtonsMenu = exports.DefaultButtonsMenu = [_types2.IconTypes.underline, _types2.IconTypes.strike, _types2.IconTypes.code, _types2.IconTypes.subscript, _types2.IconTypes.superscript];
14
13
 
@@ -17,13 +16,13 @@ var DefaultButtonsMenu = exports.DefaultButtonsMenu = [_types2.IconTypes.underli
17
16
  * To be removed as part of ED-25129 in favour of ResponsiveCustomButtonToolbarNext along with references
18
17
  * to platform_editor_toolbar_responsive_fixes feature gate
19
18
  */
20
- var ResponsiveCustomButtonToolbar = exports.ResponsiveCustomButtonToolbar = (_ResponsiveCustomButt = {}, (0, _defineProperty2.default)(_ResponsiveCustomButt, _types.ToolbarSize.XXL, DefaultButtonsToolbar), (0, _defineProperty2.default)(_ResponsiveCustomButt, _types.ToolbarSize.XL, DefaultButtonsToolbar), (0, _defineProperty2.default)(_ResponsiveCustomButt, _types.ToolbarSize.L, DefaultButtonsToolbar), (0, _defineProperty2.default)(_ResponsiveCustomButt, _types.ToolbarSize.M, []), (0, _defineProperty2.default)(_ResponsiveCustomButt, _types.ToolbarSize.S, []), (0, _defineProperty2.default)(_ResponsiveCustomButt, _types.ToolbarSize.XXXS, []), _ResponsiveCustomButt);
19
+ var ResponsiveCustomButtonToolbar = exports.ResponsiveCustomButtonToolbar = (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, _types.ToolbarSize.XXL, DefaultButtonsToolbar), _types.ToolbarSize.XL, DefaultButtonsToolbar), _types.ToolbarSize.L, DefaultButtonsToolbar), _types.ToolbarSize.M, []), _types.ToolbarSize.S, []), _types.ToolbarSize.XXXS, []);
21
20
 
22
21
  // eslint-disable-next-line @repo/internal/deprecations/deprecation-ticket-required -- Ignored via go/ED-25883
23
22
  /** @deprecated
24
23
  * To be removed as part of ED-25129 in favour of ResponsiveCustomButtonToolbarNext along with references
25
24
  * to platform_editor_toolbar_responsive_fixes feature gate
26
25
  */
27
- var ResponsiveCustomMenu = exports.ResponsiveCustomMenu = (_ResponsiveCustomMenu = {}, (0, _defineProperty2.default)(_ResponsiveCustomMenu, _types.ToolbarSize.XXL, DefaultButtonsMenu), (0, _defineProperty2.default)(_ResponsiveCustomMenu, _types.ToolbarSize.XL, DefaultButtonsMenu), (0, _defineProperty2.default)(_ResponsiveCustomMenu, _types.ToolbarSize.L, DefaultButtonsMenu), (0, _defineProperty2.default)(_ResponsiveCustomMenu, _types.ToolbarSize.M, [_types2.IconTypes.strong, _types2.IconTypes.em].concat(DefaultButtonsMenu)), (0, _defineProperty2.default)(_ResponsiveCustomMenu, _types.ToolbarSize.S, [_types2.IconTypes.strong, _types2.IconTypes.em].concat(DefaultButtonsMenu)), (0, _defineProperty2.default)(_ResponsiveCustomMenu, _types.ToolbarSize.XXXS, [_types2.IconTypes.strong, _types2.IconTypes.em].concat(DefaultButtonsMenu)), _ResponsiveCustomMenu);
28
- var ResponsiveCustomButtonToolbarNext = exports.ResponsiveCustomButtonToolbarNext = (_ResponsiveCustomButt2 = {}, (0, _defineProperty2.default)(_ResponsiveCustomButt2, _types.ToolbarSize.XXL, DefaultButtonsToolbar), (0, _defineProperty2.default)(_ResponsiveCustomButt2, _types.ToolbarSize.XL, DefaultButtonsToolbar), (0, _defineProperty2.default)(_ResponsiveCustomButt2, _types.ToolbarSize.L, DefaultButtonsToolbar), (0, _defineProperty2.default)(_ResponsiveCustomButt2, _types.ToolbarSize.M, DefaultButtonsToolbar), (0, _defineProperty2.default)(_ResponsiveCustomButt2, _types.ToolbarSize.S, DefaultButtonsToolbar), (0, _defineProperty2.default)(_ResponsiveCustomButt2, _types.ToolbarSize.XXXS, []), _ResponsiveCustomButt2);
29
- var ResponsiveCustomMenuNext = exports.ResponsiveCustomMenuNext = (_ResponsiveCustomMenu2 = {}, (0, _defineProperty2.default)(_ResponsiveCustomMenu2, _types.ToolbarSize.XXL, DefaultButtonsMenu), (0, _defineProperty2.default)(_ResponsiveCustomMenu2, _types.ToolbarSize.XL, DefaultButtonsMenu), (0, _defineProperty2.default)(_ResponsiveCustomMenu2, _types.ToolbarSize.L, DefaultButtonsMenu), (0, _defineProperty2.default)(_ResponsiveCustomMenu2, _types.ToolbarSize.M, DefaultButtonsMenu), (0, _defineProperty2.default)(_ResponsiveCustomMenu2, _types.ToolbarSize.S, DefaultButtonsMenu), (0, _defineProperty2.default)(_ResponsiveCustomMenu2, _types.ToolbarSize.XXXS, [_types2.IconTypes.strong, _types2.IconTypes.em].concat(DefaultButtonsMenu)), _ResponsiveCustomMenu2);
26
+ var ResponsiveCustomMenu = exports.ResponsiveCustomMenu = (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, _types.ToolbarSize.XXL, DefaultButtonsMenu), _types.ToolbarSize.XL, DefaultButtonsMenu), _types.ToolbarSize.L, DefaultButtonsMenu), _types.ToolbarSize.M, [_types2.IconTypes.strong, _types2.IconTypes.em].concat(DefaultButtonsMenu)), _types.ToolbarSize.S, [_types2.IconTypes.strong, _types2.IconTypes.em].concat(DefaultButtonsMenu)), _types.ToolbarSize.XXXS, [_types2.IconTypes.strong, _types2.IconTypes.em].concat(DefaultButtonsMenu));
27
+ var ResponsiveCustomButtonToolbarNext = exports.ResponsiveCustomButtonToolbarNext = (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, _types.ToolbarSize.XXL, DefaultButtonsToolbar), _types.ToolbarSize.XL, DefaultButtonsToolbar), _types.ToolbarSize.L, DefaultButtonsToolbar), _types.ToolbarSize.M, DefaultButtonsToolbar), _types.ToolbarSize.S, DefaultButtonsToolbar), _types.ToolbarSize.XXXS, []);
28
+ var ResponsiveCustomMenuNext = exports.ResponsiveCustomMenuNext = (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, _types.ToolbarSize.XXL, DefaultButtonsMenu), _types.ToolbarSize.XL, DefaultButtonsMenu), _types.ToolbarSize.L, DefaultButtonsMenu), _types.ToolbarSize.M, DefaultButtonsMenu), _types.ToolbarSize.S, DefaultButtonsMenu), _types.ToolbarSize.XXXS, [_types2.IconTypes.strong, _types2.IconTypes.em].concat(DefaultButtonsMenu));
@@ -19,14 +19,15 @@ var _textItalicEditorItalic = _interopRequireDefault(require("@atlaskit/icon/cor
19
19
  var _commands = require("../../../pm-plugins/commands");
20
20
  var _inputMethodUtils = require("../input-method-utils");
21
21
  var _types = require("../types");
22
- var _IconsMarkSchema;
22
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
23
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
23
24
  /**
24
25
  * @jsxRuntime classic
25
26
  * @jsx jsx
26
27
  */
28
+
27
29
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
28
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
29
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
30
+
30
31
  var withInputMethod = function withInputMethod(toolbarType, func) {
31
32
  return (0, _preset.editorCommandToPMCommand)(func((0, _inputMethodUtils.getInputMethod)(toolbarType)));
32
33
  };
@@ -120,7 +121,7 @@ var getIcon = function getIcon(_ref) {
120
121
  'aria-keyshortcuts': (0, _keymaps.getAriaKeyshortcuts)(tooltipKeymap)
121
122
  };
122
123
  };
123
- var IconsMarkSchema = (_IconsMarkSchema = {}, (0, _defineProperty2.default)(_IconsMarkSchema, _types.IconTypes.strong, 'strong'), (0, _defineProperty2.default)(_IconsMarkSchema, _types.IconTypes.em, 'em'), (0, _defineProperty2.default)(_IconsMarkSchema, _types.IconTypes.strike, 'strike'), (0, _defineProperty2.default)(_IconsMarkSchema, _types.IconTypes.code, 'code'), (0, _defineProperty2.default)(_IconsMarkSchema, _types.IconTypes.underline, 'underline'), (0, _defineProperty2.default)(_IconsMarkSchema, _types.IconTypes.superscript, 'subsup'), (0, _defineProperty2.default)(_IconsMarkSchema, _types.IconTypes.subscript, 'subsup'), _IconsMarkSchema);
124
+ var IconsMarkSchema = (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, _types.IconTypes.strong, 'strong'), _types.IconTypes.em, 'em'), _types.IconTypes.strike, 'strike'), _types.IconTypes.code, 'code'), _types.IconTypes.underline, 'underline'), _types.IconTypes.superscript, 'subsup'), _types.IconTypes.subscript, 'subsup');
124
125
  var buildMenuIconState = function buildMenuIconState(iconMark) {
125
126
  return function (_ref2) {
126
127
  var schema = _ref2.schema,
@@ -8,8 +8,7 @@ exports.toolbarTypeToInputMethod = exports.getInputMethod = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
9
  var _analytics = require("@atlaskit/editor-common/analytics");
10
10
  var _types = require("./types");
11
- var _toolbarTypeToInputMe;
12
- var toolbarTypeToInputMethod = exports.toolbarTypeToInputMethod = (_toolbarTypeToInputMe = {}, (0, _defineProperty2.default)(_toolbarTypeToInputMe, _types.ToolbarType.PRIMARY, _analytics.INPUT_METHOD.TOOLBAR), (0, _defineProperty2.default)(_toolbarTypeToInputMe, _types.ToolbarType.FLOATING, _analytics.INPUT_METHOD.FLOATING_TB), _toolbarTypeToInputMe);
11
+ var toolbarTypeToInputMethod = exports.toolbarTypeToInputMethod = (0, _defineProperty2.default)((0, _defineProperty2.default)({}, _types.ToolbarType.PRIMARY, _analytics.INPUT_METHOD.TOOLBAR), _types.ToolbarType.FLOATING, _analytics.INPUT_METHOD.FLOATING_TB);
13
12
  var getInputMethod = exports.getInputMethod = function getInputMethod(toolbarType) {
14
13
  return toolbarTypeToInputMethod[toolbarType];
15
14
  };
@@ -21,8 +21,7 @@ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
21
21
  var MoreIconStyle = (0, _react2.css)({
22
22
  display: 'flex',
23
23
  alignItems: 'center',
24
- height: "var(--ds-space-300, 24px)",
25
- padding: "0 ".concat("var(--ds-space-025, 2px)")
24
+ height: "var(--ds-space-300, 24px)"
26
25
  });
27
26
  var MoreButton = exports.MoreButton = /*#__PURE__*/_react.default.memo(function (_ref) {
28
27
  var label = _ref.label,
@@ -46,7 +45,7 @@ var MoreButton = exports.MoreButton = /*#__PURE__*/_react.default.memo(function
46
45
  }, (0, _react2.jsx)(_showMoreHorizontalEditorMore.default, {
47
46
  label: "",
48
47
  color: "currentColor",
49
- spacing: "compact"
48
+ spacing: "spacious"
50
49
  })),
51
50
  "aria-expanded": ariaExpanded,
52
51
  "aria-label": label,
@@ -1 +1,4 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
1
4
  export { textFormattingPlugin } from './textFormattingPlugin';
@@ -10,7 +10,6 @@ import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
10
10
  import { createInlineCodeFromTextInputWithAnalytics } from '../editor-commands/text-formatting';
11
11
  import * as commands from '../editor-commands/text-formatting';
12
12
  import { pluginKey } from './plugin-key';
13
- export { pluginKey };
14
13
  const isSelectionInlineCursor = selection => {
15
14
  if (selection instanceof NodeSelection) {
16
15
  return true;
@@ -7,7 +7,8 @@ import { toggleCodeWithAnalytics, toggleEmWithAnalytics, toggleStrikeWithAnalyti
7
7
  import textFormattingCursorPlugin from './pm-plugins/cursor';
8
8
  import textFormattingInputRulePlugin from './pm-plugins/input-rule';
9
9
  import keymapPlugin from './pm-plugins/keymap';
10
- import { plugin as pmPlugin, pluginKey as textFormattingPluginKey } from './pm-plugins/main';
10
+ import { plugin as pmPlugin } from './pm-plugins/main';
11
+ import { pluginKey as textFormattingPluginKey } from './pm-plugins/plugin-key';
11
12
  import textFormattingSmartInputRulePlugin from './pm-plugins/smart-input-rule';
12
13
  import { FloatingToolbarTextFormalWithIntl as FloatingToolbarComponent } from './ui/FloatingToolbarComponent';
13
14
  import { PrimaryToolbarComponent } from './ui/PrimaryToolbarComponent';
@@ -13,8 +13,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
13
13
  const MoreIconStyle = css({
14
14
  display: 'flex',
15
15
  alignItems: 'center',
16
- height: "var(--ds-space-300, 24px)",
17
- padding: `0 ${"var(--ds-space-025, 2px)"}`
16
+ height: "var(--ds-space-300, 24px)"
18
17
  });
19
18
  export const MoreButton = /*#__PURE__*/React.memo(({
20
19
  label,
@@ -39,7 +38,7 @@ export const MoreButton = /*#__PURE__*/React.memo(({
39
38
  }, jsx(ShowMoreHorizontalIcon, {
40
39
  label: "",
41
40
  color: "currentColor",
42
- spacing: "compact"
41
+ spacing: "spacious"
43
42
  })),
44
43
  "aria-expanded": ariaExpanded,
45
44
  "aria-label": label,
package/dist/esm/index.js CHANGED
@@ -1 +1,4 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
1
4
  export { textFormattingPlugin } from './textFormattingPlugin';
@@ -1,15 +1,15 @@
1
1
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/createClass";
4
- import _get from "@babel/runtime/helpers/get";
5
- import _inherits from "@babel/runtime/helpers/inherits";
6
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
7
5
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
6
+ import _get from "@babel/runtime/helpers/get";
7
+ import _inherits from "@babel/runtime/helpers/inherits";
8
8
  import _wrapNativeSuper from "@babel/runtime/helpers/wrapNativeSuper";
9
9
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
10
- var _ValidCombinations;
11
- function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
10
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
12
11
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
12
+ function _superPropGet(t, o, e, r) { var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; }
13
13
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
14
14
  import { transformNonTextNodesToText } from '@atlaskit/editor-common/mark';
15
15
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
@@ -24,7 +24,7 @@ var ValidAutoformatChars = /*#__PURE__*/function (ValidAutoformatChars) {
24
24
  ValidAutoformatChars["CODE"] = "`";
25
25
  return ValidAutoformatChars;
26
26
  }(ValidAutoformatChars || {});
27
- export var ValidCombinations = (_ValidCombinations = {}, _defineProperty(_ValidCombinations, ValidAutoformatChars.STRIKE, [
27
+ export var ValidCombinations = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ValidAutoformatChars.STRIKE, [
28
28
  // e.g: _~~lol~~_
29
29
  ValidAutoformatChars.ITALIC,
30
30
  // e.g: __~~lol~~__
@@ -32,25 +32,25 @@ ValidAutoformatChars.STRONG,
32
32
  // e.g: **~~lol~~**
33
33
  ValidAutoformatChars.STRONG_MARKDOWN,
34
34
  // e.g: *~~lol~~*
35
- ValidAutoformatChars.ITALIC_MARKDOWN]), _defineProperty(_ValidCombinations, ValidAutoformatChars.STRONG, [
35
+ ValidAutoformatChars.ITALIC_MARKDOWN]), ValidAutoformatChars.STRONG, [
36
36
  // e.g: ~~__lol__~~
37
37
  ValidAutoformatChars.STRIKE,
38
38
  // e.g: *__lol__*
39
- ValidAutoformatChars.ITALIC_MARKDOWN]), _defineProperty(_ValidCombinations, ValidAutoformatChars.STRONG_MARKDOWN, [
39
+ ValidAutoformatChars.ITALIC_MARKDOWN]), ValidAutoformatChars.STRONG_MARKDOWN, [
40
40
  // e.g: _**lol**_
41
41
  ValidAutoformatChars.ITALIC,
42
42
  // e.g: ~~**lol**~~
43
- ValidAutoformatChars.STRIKE]), _defineProperty(_ValidCombinations, ValidAutoformatChars.ITALIC_MARKDOWN, [
43
+ ValidAutoformatChars.STRIKE]), ValidAutoformatChars.ITALIC_MARKDOWN, [
44
44
  // e.g: ~~*lol*~~
45
45
  ValidAutoformatChars.STRIKE,
46
46
  // e.g: __*lol*__
47
- ValidAutoformatChars.STRONG]), _defineProperty(_ValidCombinations, ValidAutoformatChars.ITALIC, [
47
+ ValidAutoformatChars.STRONG]), ValidAutoformatChars.ITALIC, [
48
48
  // e.g: ~~_lol_~~
49
49
  ValidAutoformatChars.STRIKE,
50
50
  // e.g: **_lol_**
51
- ValidAutoformatChars.STRONG_MARKDOWN]), _defineProperty(_ValidCombinations, ValidAutoformatChars.CODE, [
51
+ ValidAutoformatChars.STRONG_MARKDOWN]), ValidAutoformatChars.CODE, [
52
52
  // e.g: loko (`some code`
53
- '( ']), _ValidCombinations);
53
+ '( ']);
54
54
  function addMark(markType, schema, char) {
55
55
  return function (state, match, start, end) {
56
56
  var _schema$marks;
@@ -102,20 +102,19 @@ function addMark(markType, schema, char) {
102
102
  };
103
103
  }
104
104
  var ReverseRegexExp = /*#__PURE__*/function (_RegExp) {
105
- _inherits(ReverseRegexExp, _RegExp);
106
- var _super = _createSuper(ReverseRegexExp);
107
105
  function ReverseRegexExp() {
108
106
  _classCallCheck(this, ReverseRegexExp);
109
- return _super.apply(this, arguments);
107
+ return _callSuper(this, ReverseRegexExp, arguments);
110
108
  }
111
- _createClass(ReverseRegexExp, [{
109
+ _inherits(ReverseRegexExp, _RegExp);
110
+ return _createClass(ReverseRegexExp, [{
112
111
  key: "exec",
113
112
  value: function exec(str) {
114
113
  if (!str) {
115
114
  return null;
116
115
  }
117
116
  var reverseStr = _toConsumableArray(str).reverse().join('');
118
- var result = _get(_getPrototypeOf(ReverseRegexExp.prototype), "exec", this).call(this, reverseStr);
117
+ var result = _superPropGet(ReverseRegexExp, "exec", this, 3)([reverseStr]);
119
118
  if (!result) {
120
119
  return null;
121
120
  }
@@ -133,7 +132,6 @@ var ReverseRegexExp = /*#__PURE__*/function (_RegExp) {
133
132
  return result;
134
133
  }
135
134
  }]);
136
- return ReverseRegexExp;
137
135
  }( /*#__PURE__*/_wrapNativeSuper(RegExp));
138
136
  var buildRegex = function buildRegex(char) {
139
137
  var escapedChar = char.replace(/(\W)/g, '\\$1');
@@ -10,7 +10,6 @@ import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
10
10
  import { createInlineCodeFromTextInputWithAnalytics } from '../editor-commands/text-formatting';
11
11
  import * as commands from '../editor-commands/text-formatting';
12
12
  import { pluginKey } from './plugin-key';
13
- export { pluginKey };
14
13
  var isSelectionInlineCursor = function isSelectionInlineCursor(selection) {
15
14
  if (selection instanceof NodeSelection) {
16
15
  return true;
@@ -10,7 +10,8 @@ import { toggleCodeWithAnalytics, toggleEmWithAnalytics, toggleStrikeWithAnalyti
10
10
  import textFormattingCursorPlugin from './pm-plugins/cursor';
11
11
  import textFormattingInputRulePlugin from './pm-plugins/input-rule';
12
12
  import keymapPlugin from './pm-plugins/keymap';
13
- import { plugin as pmPlugin, pluginKey as textFormattingPluginKey } from './pm-plugins/main';
13
+ import { plugin as pmPlugin } from './pm-plugins/main';
14
+ import { pluginKey as textFormattingPluginKey } from './pm-plugins/plugin-key';
14
15
  import textFormattingSmartInputRulePlugin from './pm-plugins/smart-input-rule';
15
16
  import { FloatingToolbarTextFormalWithIntl as FloatingToolbarComponent } from './ui/FloatingToolbarComponent';
16
17
  import { PrimaryToolbarComponent } from './ui/PrimaryToolbarComponent';
@@ -1,5 +1,4 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- var _ResponsiveCustomButt, _ResponsiveCustomMenu, _ResponsiveCustomButt2, _ResponsiveCustomMenu2;
3
2
  import { ToolbarSize } from '@atlaskit/editor-common/types';
4
3
  import { IconTypes } from './types';
5
4
  export var DefaultButtonsToolbar = [IconTypes.strong, IconTypes.em];
@@ -10,13 +9,13 @@ export var DefaultButtonsMenu = [IconTypes.underline, IconTypes.strike, IconType
10
9
  * To be removed as part of ED-25129 in favour of ResponsiveCustomButtonToolbarNext along with references
11
10
  * to platform_editor_toolbar_responsive_fixes feature gate
12
11
  */
13
- export var ResponsiveCustomButtonToolbar = (_ResponsiveCustomButt = {}, _defineProperty(_ResponsiveCustomButt, ToolbarSize.XXL, DefaultButtonsToolbar), _defineProperty(_ResponsiveCustomButt, ToolbarSize.XL, DefaultButtonsToolbar), _defineProperty(_ResponsiveCustomButt, ToolbarSize.L, DefaultButtonsToolbar), _defineProperty(_ResponsiveCustomButt, ToolbarSize.M, []), _defineProperty(_ResponsiveCustomButt, ToolbarSize.S, []), _defineProperty(_ResponsiveCustomButt, ToolbarSize.XXXS, []), _ResponsiveCustomButt);
12
+ export var ResponsiveCustomButtonToolbar = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ToolbarSize.XXL, DefaultButtonsToolbar), ToolbarSize.XL, DefaultButtonsToolbar), ToolbarSize.L, DefaultButtonsToolbar), ToolbarSize.M, []), ToolbarSize.S, []), ToolbarSize.XXXS, []);
14
13
 
15
14
  // eslint-disable-next-line @repo/internal/deprecations/deprecation-ticket-required -- Ignored via go/ED-25883
16
15
  /** @deprecated
17
16
  * To be removed as part of ED-25129 in favour of ResponsiveCustomButtonToolbarNext along with references
18
17
  * to platform_editor_toolbar_responsive_fixes feature gate
19
18
  */
20
- export var ResponsiveCustomMenu = (_ResponsiveCustomMenu = {}, _defineProperty(_ResponsiveCustomMenu, ToolbarSize.XXL, DefaultButtonsMenu), _defineProperty(_ResponsiveCustomMenu, ToolbarSize.XL, DefaultButtonsMenu), _defineProperty(_ResponsiveCustomMenu, ToolbarSize.L, DefaultButtonsMenu), _defineProperty(_ResponsiveCustomMenu, ToolbarSize.M, [IconTypes.strong, IconTypes.em].concat(DefaultButtonsMenu)), _defineProperty(_ResponsiveCustomMenu, ToolbarSize.S, [IconTypes.strong, IconTypes.em].concat(DefaultButtonsMenu)), _defineProperty(_ResponsiveCustomMenu, ToolbarSize.XXXS, [IconTypes.strong, IconTypes.em].concat(DefaultButtonsMenu)), _ResponsiveCustomMenu);
21
- export var ResponsiveCustomButtonToolbarNext = (_ResponsiveCustomButt2 = {}, _defineProperty(_ResponsiveCustomButt2, ToolbarSize.XXL, DefaultButtonsToolbar), _defineProperty(_ResponsiveCustomButt2, ToolbarSize.XL, DefaultButtonsToolbar), _defineProperty(_ResponsiveCustomButt2, ToolbarSize.L, DefaultButtonsToolbar), _defineProperty(_ResponsiveCustomButt2, ToolbarSize.M, DefaultButtonsToolbar), _defineProperty(_ResponsiveCustomButt2, ToolbarSize.S, DefaultButtonsToolbar), _defineProperty(_ResponsiveCustomButt2, ToolbarSize.XXXS, []), _ResponsiveCustomButt2);
22
- export var ResponsiveCustomMenuNext = (_ResponsiveCustomMenu2 = {}, _defineProperty(_ResponsiveCustomMenu2, ToolbarSize.XXL, DefaultButtonsMenu), _defineProperty(_ResponsiveCustomMenu2, ToolbarSize.XL, DefaultButtonsMenu), _defineProperty(_ResponsiveCustomMenu2, ToolbarSize.L, DefaultButtonsMenu), _defineProperty(_ResponsiveCustomMenu2, ToolbarSize.M, DefaultButtonsMenu), _defineProperty(_ResponsiveCustomMenu2, ToolbarSize.S, DefaultButtonsMenu), _defineProperty(_ResponsiveCustomMenu2, ToolbarSize.XXXS, [IconTypes.strong, IconTypes.em].concat(DefaultButtonsMenu)), _ResponsiveCustomMenu2);
19
+ export var ResponsiveCustomMenu = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ToolbarSize.XXL, DefaultButtonsMenu), ToolbarSize.XL, DefaultButtonsMenu), ToolbarSize.L, DefaultButtonsMenu), ToolbarSize.M, [IconTypes.strong, IconTypes.em].concat(DefaultButtonsMenu)), ToolbarSize.S, [IconTypes.strong, IconTypes.em].concat(DefaultButtonsMenu)), ToolbarSize.XXXS, [IconTypes.strong, IconTypes.em].concat(DefaultButtonsMenu));
20
+ export var ResponsiveCustomButtonToolbarNext = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ToolbarSize.XXL, DefaultButtonsToolbar), ToolbarSize.XL, DefaultButtonsToolbar), ToolbarSize.L, DefaultButtonsToolbar), ToolbarSize.M, DefaultButtonsToolbar), ToolbarSize.S, DefaultButtonsToolbar), ToolbarSize.XXXS, []);
21
+ export var ResponsiveCustomMenuNext = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ToolbarSize.XXL, DefaultButtonsMenu), ToolbarSize.XL, DefaultButtonsMenu), ToolbarSize.L, DefaultButtonsMenu), ToolbarSize.M, DefaultButtonsMenu), ToolbarSize.S, DefaultButtonsMenu), ToolbarSize.XXXS, [IconTypes.strong, IconTypes.em].concat(DefaultButtonsMenu));
@@ -1,5 +1,4 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- var _IconsMarkSchema;
3
2
  /**
4
3
  * @jsxRuntime classic
5
4
  * @jsx jsx
@@ -111,7 +110,7 @@ var getIcon = function getIcon(_ref) {
111
110
  'aria-keyshortcuts': getAriaKeyshortcuts(tooltipKeymap)
112
111
  };
113
112
  };
114
- var IconsMarkSchema = (_IconsMarkSchema = {}, _defineProperty(_IconsMarkSchema, IconTypes.strong, 'strong'), _defineProperty(_IconsMarkSchema, IconTypes.em, 'em'), _defineProperty(_IconsMarkSchema, IconTypes.strike, 'strike'), _defineProperty(_IconsMarkSchema, IconTypes.code, 'code'), _defineProperty(_IconsMarkSchema, IconTypes.underline, 'underline'), _defineProperty(_IconsMarkSchema, IconTypes.superscript, 'subsup'), _defineProperty(_IconsMarkSchema, IconTypes.subscript, 'subsup'), _IconsMarkSchema);
113
+ var IconsMarkSchema = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, IconTypes.strong, 'strong'), IconTypes.em, 'em'), IconTypes.strike, 'strike'), IconTypes.code, 'code'), IconTypes.underline, 'underline'), IconTypes.superscript, 'subsup'), IconTypes.subscript, 'subsup');
115
114
  var buildMenuIconState = function buildMenuIconState(iconMark) {
116
115
  return function (_ref2) {
117
116
  var schema = _ref2.schema,
@@ -1,8 +1,7 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- var _toolbarTypeToInputMe;
3
2
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
3
  import { ToolbarType } from './types';
5
- export var toolbarTypeToInputMethod = (_toolbarTypeToInputMe = {}, _defineProperty(_toolbarTypeToInputMe, ToolbarType.PRIMARY, INPUT_METHOD.TOOLBAR), _defineProperty(_toolbarTypeToInputMe, ToolbarType.FLOATING, INPUT_METHOD.FLOATING_TB), _toolbarTypeToInputMe);
4
+ export var toolbarTypeToInputMethod = _defineProperty(_defineProperty({}, ToolbarType.PRIMARY, INPUT_METHOD.TOOLBAR), ToolbarType.FLOATING, INPUT_METHOD.FLOATING_TB);
6
5
  export var getInputMethod = function getInputMethod(toolbarType) {
7
6
  return toolbarTypeToInputMethod[toolbarType];
8
7
  };
@@ -13,8 +13,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
13
13
  var MoreIconStyle = css({
14
14
  display: 'flex',
15
15
  alignItems: 'center',
16
- height: "var(--ds-space-300, 24px)",
17
- padding: "0 ".concat("var(--ds-space-025, 2px)")
16
+ height: "var(--ds-space-300, 24px)"
18
17
  });
19
18
  export var MoreButton = /*#__PURE__*/React.memo(function (_ref) {
20
19
  var label = _ref.label,
@@ -38,7 +37,7 @@ export var MoreButton = /*#__PURE__*/React.memo(function (_ref) {
38
37
  }, jsx(ShowMoreHorizontalIcon, {
39
38
  label: "",
40
39
  color: "currentColor",
41
- spacing: "compact"
40
+ spacing: "spacious"
42
41
  })),
43
42
  "aria-expanded": ariaExpanded,
44
43
  "aria-label": label,
@@ -2,6 +2,4 @@ import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
2
2
  import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
3
3
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
4
4
  import type { TextFormattingState } from '@atlaskit/editor-common/types';
5
- import { pluginKey } from './plugin-key';
6
- export { pluginKey };
7
5
  export declare const plugin: (dispatch: Dispatch, editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => SafePlugin<TextFormattingState>;
@@ -2,6 +2,4 @@ import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
2
2
  import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
3
3
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
4
4
  import type { TextFormattingState } from '@atlaskit/editor-common/types';
5
- import { pluginKey } from './plugin-key';
6
- export { pluginKey };
7
5
  export declare const plugin: (dispatch: Dispatch, editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => SafePlugin<TextFormattingState>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-text-formatting",
3
- "version": "1.16.4",
3
+ "version": "1.16.5",
4
4
  "description": "Text-formatting plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,17 +32,17 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^46.1.0",
35
- "@atlaskit/editor-common": "^96.3.0",
35
+ "@atlaskit/editor-common": "^97.0.0",
36
36
  "@atlaskit/editor-plugin-analytics": "^1.10.0",
37
- "@atlaskit/editor-plugin-primary-toolbar": "^2.0.0",
37
+ "@atlaskit/editor-plugin-primary-toolbar": "^2.1.0",
38
38
  "@atlaskit/editor-prosemirror": "6.2.1",
39
39
  "@atlaskit/editor-shared-styles": "^3.2.0",
40
40
  "@atlaskit/editor-tables": "^2.8.0",
41
41
  "@atlaskit/icon": "^23.1.0",
42
42
  "@atlaskit/platform-feature-flags": "^0.3.0",
43
43
  "@atlaskit/prosemirror-input-rules": "^3.2.0",
44
- "@atlaskit/tmp-editor-statsig": "^2.23.0",
45
- "@atlaskit/tokens": "^2.4.0",
44
+ "@atlaskit/tmp-editor-statsig": "^2.29.0",
45
+ "@atlaskit/tokens": "^2.5.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "@emotion/react": "^11.7.1",
48
48
  "react-intl-next": "npm:react-intl@^5.18.1"