@atlaskit/editor-plugin-synced-block 14.0.13 → 14.0.15

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,21 @@
1
1
  # @atlaskit/editor-plugin-synced-block
2
2
 
3
+ ## 14.0.15
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ec66928dbdbeb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ec66928dbdbeb) -
8
+ For the platform_editor_slash_command experiment, reorder Structure items, update slash-command
9
+ icons, move Jira work items to Data & Charts, and move Create Jira work item and Mention to
10
+ Structure. Use BlockSyncedIcon for the Synced block command.
11
+ - Updated dependencies
12
+
13
+ ## 14.0.14
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
3
19
  ## 14.0.13
4
20
 
5
21
  ### Patch Changes
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
4
  var _typeof = require("@babel/runtime/helpers/typeof");
4
5
  Object.defineProperty(exports, "__esModule", {
5
6
  value: true
@@ -10,8 +11,8 @@ var _reactIntl = require("react-intl");
10
11
  var _analytics = require("@atlaskit/editor-common/analytics");
11
12
  var _hooks = require("@atlaskit/editor-common/hooks");
12
13
  var _messages = require("@atlaskit/editor-common/messages");
13
- var _assets = require("@atlaskit/editor-common/assets");
14
14
  var _menuItem = require("@atlaskit/editor-common/quick-insert/menu-item");
15
+ var _blockSynced = _interopRequireDefault(require("@atlaskit/icon-lab/core/block-synced"));
15
16
  var _editorCommands = require("../../editor-commands");
16
17
  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
18
  var SyncedBlockQuickInsertMenuItem = exports.SyncedBlockQuickInsertMenuItem = function SyncedBlockQuickInsertMenuItem(_ref) {
@@ -40,7 +41,7 @@ var SyncedBlockQuickInsertMenuItem = exports.SyncedBlockQuickInsertMenuItem = fu
40
41
  });
41
42
  }, [api, syncBlockStore]);
42
43
  return /*#__PURE__*/_react.default.createElement(_menuItem.QuickInsertMenuItem, {
43
- iconBefore: /*#__PURE__*/_react.default.createElement(_assets.IconSyncBlock, {
44
+ iconBefore: /*#__PURE__*/_react.default.createElement(_blockSynced.default, {
44
45
  label: ""
45
46
  }),
46
47
  isDisabled: editorDisabled,
@@ -3,8 +3,8 @@ import { useIntl } from 'react-intl';
3
3
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
5
5
  import { blockTypeMessages } from '@atlaskit/editor-common/messages';
6
- import { IconSyncBlock } from '@atlaskit/editor-common/assets';
7
6
  import { QuickInsertMenuItem } from '@atlaskit/editor-common/quick-insert/menu-item';
7
+ import BlockSyncedIcon from '@atlaskit/icon-lab/core/block-synced';
8
8
  import { createSyncedBlock } from '../../editor-commands';
9
9
  export const SyncedBlockQuickInsertMenuItem = ({
10
10
  api,
@@ -36,7 +36,7 @@ export const SyncedBlockQuickInsertMenuItem = ({
36
36
  });
37
37
  }, [api, syncBlockStore]);
38
38
  return /*#__PURE__*/React.createElement(QuickInsertMenuItem, {
39
- iconBefore: /*#__PURE__*/React.createElement(IconSyncBlock, {
39
+ iconBefore: /*#__PURE__*/React.createElement(BlockSyncedIcon, {
40
40
  label: ""
41
41
  }),
42
42
  isDisabled: editorDisabled,
@@ -3,8 +3,8 @@ import { useIntl } from 'react-intl';
3
3
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
5
5
  import { blockTypeMessages } from '@atlaskit/editor-common/messages';
6
- import { IconSyncBlock } from '@atlaskit/editor-common/assets';
7
6
  import { QuickInsertMenuItem } from '@atlaskit/editor-common/quick-insert/menu-item';
7
+ import BlockSyncedIcon from '@atlaskit/icon-lab/core/block-synced';
8
8
  import { createSyncedBlock } from '../../editor-commands';
9
9
  export var SyncedBlockQuickInsertMenuItem = function SyncedBlockQuickInsertMenuItem(_ref) {
10
10
  var api = _ref.api,
@@ -32,7 +32,7 @@ export var SyncedBlockQuickInsertMenuItem = function SyncedBlockQuickInsertMenuI
32
32
  });
33
33
  }, [api, syncBlockStore]);
34
34
  return /*#__PURE__*/React.createElement(QuickInsertMenuItem, {
35
- iconBefore: /*#__PURE__*/React.createElement(IconSyncBlock, {
35
+ iconBefore: /*#__PURE__*/React.createElement(BlockSyncedIcon, {
36
36
  label: ""
37
37
  }),
38
38
  isDisabled: editorDisabled,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-synced-block",
3
- "version": "14.0.13",
3
+ "version": "14.0.15",
4
4
  "description": "SyncedBlock plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -21,41 +21,41 @@
21
21
  "atlaskit:src": "src/index.ts",
22
22
  "dependencies": {
23
23
  "@atlaskit/adf-schema": "^57.2.0",
24
- "@atlaskit/button": "25.2.1",
25
- "@atlaskit/dropdown-menu": "18.2.2",
26
- "@atlaskit/editor-json-transformer": "^9.7.0",
27
- "@atlaskit/editor-plugin-analytics": "^16.0.0",
28
- "@atlaskit/editor-plugin-block-controls": "^17.2.0",
24
+ "@atlaskit/button": "25.3.0",
25
+ "@atlaskit/dropdown-menu": "18.3.0",
26
+ "@atlaskit/editor-json-transformer": "^9.8.0",
27
+ "@atlaskit/editor-plugin-analytics": "^16.1.0",
28
+ "@atlaskit/editor-plugin-block-controls": "^17.3.0",
29
29
  "@atlaskit/editor-plugin-block-menu": "^15.0.0",
30
30
  "@atlaskit/editor-plugin-connectivity": "16.0.0",
31
31
  "@atlaskit/editor-plugin-content-format": "^10.0.0",
32
- "@atlaskit/editor-plugin-decorations": "^16.0.0",
33
- "@atlaskit/editor-plugin-editor-disabled": "^16.0.0",
32
+ "@atlaskit/editor-plugin-decorations": "^16.1.0",
33
+ "@atlaskit/editor-plugin-editor-disabled": "^16.1.0",
34
34
  "@atlaskit/editor-plugin-editor-viewmode": "^18.0.0",
35
- "@atlaskit/editor-plugin-floating-toolbar": "^18.0.0",
36
- "@atlaskit/editor-plugin-focus": "^15.0.0",
37
- "@atlaskit/editor-plugin-selection": "^16.0.0",
35
+ "@atlaskit/editor-plugin-floating-toolbar": "^18.1.0",
36
+ "@atlaskit/editor-plugin-focus": "^15.1.0",
37
+ "@atlaskit/editor-plugin-selection": "^16.1.0",
38
38
  "@atlaskit/editor-plugin-toolbar": "^13.0.0",
39
39
  "@atlaskit/editor-plugin-ui-control-registry": "^10.0.0",
40
40
  "@atlaskit/editor-plugin-user-intent": "^14.0.0",
41
41
  "@atlaskit/editor-prosemirror": "^8.0.0",
42
- "@atlaskit/editor-shared-styles": "^4.0.0",
42
+ "@atlaskit/editor-shared-styles": "^4.1.0",
43
43
  "@atlaskit/editor-synced-block-provider": "^12.1.0",
44
44
  "@atlaskit/editor-toolbar": "^2.6.0",
45
- "@atlaskit/flag": "^18.4.0",
46
- "@atlaskit/icon": "37.5.3",
45
+ "@atlaskit/flag": "^18.5.0",
46
+ "@atlaskit/icon": "37.6.0",
47
47
  "@atlaskit/icon-lab": "^7.7.0",
48
- "@atlaskit/logo": "^21.5.0",
49
- "@atlaskit/lozenge": "^15.3.0",
50
- "@atlaskit/modal-dialog": "^16.5.0",
48
+ "@atlaskit/logo": "^21.6.0",
49
+ "@atlaskit/lozenge": "^15.4.0",
50
+ "@atlaskit/modal-dialog": "^16.6.0",
51
51
  "@atlaskit/platform-feature-experiments": "^0.3.0",
52
- "@atlaskit/platform-feature-flags": "^2.1.0",
53
- "@atlaskit/primitives": "^22.4.0",
54
- "@atlaskit/spinner": "20.3.1",
55
- "@atlaskit/tmp-editor-statsig": "^168.0.0",
56
- "@atlaskit/tokens": "16.9.0",
57
- "@atlaskit/tooltip": "^24.2.0",
58
- "@atlaskit/visually-hidden": "^4.3.0",
52
+ "@atlaskit/platform-feature-flags": "^2.2.0",
53
+ "@atlaskit/primitives": "^22.5.0",
54
+ "@atlaskit/spinner": "20.4.0",
55
+ "@atlaskit/tmp-editor-statsig": "^169.0.0",
56
+ "@atlaskit/tokens": "16.10.0",
57
+ "@atlaskit/tooltip": "^24.3.0",
58
+ "@atlaskit/visually-hidden": "^4.4.0",
59
59
  "@babel/runtime": "^7.0.0",
60
60
  "@compiled/react": "^1.0.2",
61
61
  "@emotion/react": "^11.7.1",
@@ -64,7 +64,7 @@
64
64
  "memoize-one": "^6.0.0"
65
65
  },
66
66
  "peerDependencies": {
67
- "@atlaskit/editor-common": "^120.8.0",
67
+ "@atlaskit/editor-common": "^120.10.0",
68
68
  "react": "^18.2.0 || ^19.2.0",
69
69
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
70
70
  },