@atlaskit/editor-plugin-extension 18.0.0 → 18.0.2

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,17 @@
1
1
  # @atlaskit/editor-plugin-extension
2
2
 
3
+ ## 18.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 18.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 18.0.0
4
16
 
5
17
  ### Patch Changes
@@ -15,7 +15,7 @@ var _extensionApi = require("../pm-plugins/extension-api");
15
15
  var _pluginFactory = require("../pm-plugins/plugin-factory");
16
16
  var _utils2 = require("../pm-plugins/utils");
17
17
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
18
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
18
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } // oxlint-disable-next-line import/no-duplicates
19
19
  var buildExtensionNode = exports.buildExtensionNode = function buildExtensionNode(type, schema, attrs, content, marks) {
20
20
  switch (type) {
21
21
  case 'extension':
@@ -18,7 +18,6 @@ var _utils3 = require("../pm-plugins/utils");
18
18
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
19
19
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
20
20
  // AFP-2532 TODO: Fix automatic suppressions below
21
- // eslint-disable-next-line @atlassian/tangerine/import/entry-points
22
21
 
23
22
  function updateState(state) {
24
23
  return (0, _pluginFactory.createCommand)({
@@ -21,6 +21,8 @@ var _HelpLink = require("./HelpLink");
21
21
 
22
22
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
23
23
 
24
+ // oxlint-disable-next-line import/no-duplicates
25
+
24
26
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
25
27
 
26
28
  // Ignored via go/ees005
@@ -1,4 +1,7 @@
1
1
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE, INPUT_METHOD, TARGET_SELECTION_SOURCE } from '@atlaskit/editor-common/analytics';
2
+
3
+ // oxlint-disable-next-line import/no-duplicates
4
+
2
5
  import { NodeSelection, Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
3
6
  import { findSelectedNodeOfType, replaceParentNodeOfType, replaceSelectedNode } from '@atlaskit/editor-prosemirror/utils';
4
7
  import { createExtensionAPI, getEditInLegacyMacroBrowser } from '../pm-plugins/extension-api';
@@ -6,7 +6,6 @@ import { createCommand } from '../pm-plugins/plugin-factory';
6
6
  import { getSelectedExtension } from '../pm-plugins/utils';
7
7
 
8
8
  // AFP-2532 TODO: Fix automatic suppressions below
9
- // eslint-disable-next-line @atlassian/tangerine/import/entry-points
10
9
 
11
10
  export function updateState(state) {
12
11
  return createCommand({
@@ -8,6 +8,8 @@ import { Fragment, lazy, Suspense, useMemo } from 'react';
8
8
  import { css, jsx } from '@emotion/react';
9
9
  import { injectIntl } from 'react-intl';
10
10
  import { IconButton } from '@atlaskit/button/new';
11
+ // oxlint-disable-next-line import/no-duplicates
12
+
11
13
  import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
12
14
  import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
13
15
  import CrossIcon from '@atlaskit/icon/core/cross';
@@ -4,6 +4,9 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
4
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
6
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE, INPUT_METHOD, TARGET_SELECTION_SOURCE } from '@atlaskit/editor-common/analytics';
7
+
8
+ // oxlint-disable-next-line import/no-duplicates
9
+
7
10
  import { NodeSelection, Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
8
11
  import { findSelectedNodeOfType, replaceParentNodeOfType, replaceSelectedNode } from '@atlaskit/editor-prosemirror/utils';
9
12
  import { createExtensionAPI, getEditInLegacyMacroBrowser } from '../pm-plugins/extension-api';
@@ -9,7 +9,6 @@ import { createCommand } from '../pm-plugins/plugin-factory';
9
9
  import { getSelectedExtension } from '../pm-plugins/utils';
10
10
 
11
11
  // AFP-2532 TODO: Fix automatic suppressions below
12
- // eslint-disable-next-line @atlassian/tangerine/import/entry-points
13
12
 
14
13
  export function updateState(state) {
15
14
  return createCommand({
@@ -8,6 +8,8 @@ import { Fragment, lazy, Suspense, useMemo } from 'react';
8
8
  import { css, jsx } from '@emotion/react';
9
9
  import { injectIntl } from 'react-intl';
10
10
  import { IconButton } from '@atlaskit/button/new';
11
+ // oxlint-disable-next-line import/no-duplicates
12
+
11
13
  import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
12
14
  import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
13
15
  import CrossIcon from '@atlaskit/icon/core/cross';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-extension",
3
- "version": "18.0.0",
3
+ "version": "18.0.2",
4
4
  "description": "editor-plugin-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -21,15 +21,15 @@
21
21
  ],
22
22
  "atlaskit:src": "src/index.ts",
23
23
  "dependencies": {
24
- "@atlaskit/adf-schema": "^56.7.0",
25
- "@atlaskit/adf-utils": "^20.5.0",
24
+ "@atlaskit/adf-schema": "^57.0.0",
25
+ "@atlaskit/adf-utils": "^20.6.0",
26
26
  "@atlaskit/analytics-next": "^12.3.0",
27
27
  "@atlaskit/avatar": "^27.0.0",
28
28
  "@atlaskit/browser-apis": "^1.2.0",
29
29
  "@atlaskit/button": "^25.0.0",
30
30
  "@atlaskit/checkbox": "^19.0.0",
31
31
  "@atlaskit/datetime-picker": "^18.3.0",
32
- "@atlaskit/editor-json-transformer": "^9.2.0",
32
+ "@atlaskit/editor-json-transformer": "^9.4.0",
33
33
  "@atlaskit/editor-plugin-analytics": "^15.0.0",
34
34
  "@atlaskit/editor-plugin-block-menu": "^14.0.0",
35
35
  "@atlaskit/editor-plugin-connectivity": "^15.0.0",
@@ -38,7 +38,7 @@
38
38
  "@atlaskit/editor-plugin-copy-button": "^15.0.0",
39
39
  "@atlaskit/editor-plugin-decorations": "^15.0.0",
40
40
  "@atlaskit/editor-plugin-feature-flags": "^14.0.0",
41
- "@atlaskit/editor-plugin-mentions": "^17.0.0",
41
+ "@atlaskit/editor-plugin-mentions": "^17.1.0",
42
42
  "@atlaskit/editor-plugin-toolbar": "^12.0.0",
43
43
  "@atlaskit/editor-plugin-width": "^16.0.0",
44
44
  "@atlaskit/editor-prosemirror": "^8.0.0",
@@ -49,7 +49,7 @@
49
49
  "@atlaskit/heading": "^7.0.0",
50
50
  "@atlaskit/icon": "^37.3.0",
51
51
  "@atlaskit/link": "^5.0.0",
52
- "@atlaskit/mention": "^27.16.0",
52
+ "@atlaskit/mention": "^27.17.0",
53
53
  "@atlaskit/platform-feature-experiments": "^0.3.0",
54
54
  "@atlaskit/platform-feature-flags": "^2.1.0",
55
55
  "@atlaskit/primitives": "^22.2.0",
@@ -61,7 +61,7 @@
61
61
  "@atlaskit/tabs": "^21.0.0",
62
62
  "@atlaskit/textarea": "^10.0.0",
63
63
  "@atlaskit/textfield": "^10.0.0",
64
- "@atlaskit/tmp-editor-statsig": "^147.1.0",
64
+ "@atlaskit/tmp-editor-statsig": "^148.0.0",
65
65
  "@atlaskit/toggle": "^17.1.0",
66
66
  "@atlaskit/tokens": "^16.7.0",
67
67
  "@atlaskit/tooltip": "^24.0.0",
@@ -75,7 +75,7 @@
75
75
  "uuid": "^3.1.0"
76
76
  },
77
77
  "peerDependencies": {
78
- "@atlaskit/editor-common": "^119.0.0",
78
+ "@atlaskit/editor-common": "^119.5.0",
79
79
  "react": "^18.2.0 || ^19.2.0",
80
80
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
81
81
  },