@atlaskit/editor-plugin-code-block 8.1.20 → 8.1.21

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,13 @@
1
1
  # @atlaskit/editor-plugin-code-block
2
2
 
3
+ ## 8.1.21
4
+
5
+ ### Patch Changes
6
+
7
+ - [`90abe9b926a6f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/90abe9b926a6f) -
8
+ Icon entrypoint migration
9
+ - Updated dependencies
10
+
3
11
  ## 8.1.20
4
12
 
5
13
  ### Patch Changes
@@ -14,7 +14,6 @@ var _toolbarFlagCheck = require("@atlaskit/editor-common/toolbar-flag-check");
14
14
  var _utils = require("@atlaskit/editor-prosemirror/utils");
15
15
  var _delete = _interopRequireDefault(require("@atlaskit/icon/core/delete"));
16
16
  var _copy = _interopRequireDefault(require("@atlaskit/icon/core/migration/copy"));
17
- var _deleteEditorRemove = _interopRequireDefault(require("@atlaskit/icon/core/migration/delete--editor-remove"));
18
17
  var _textWrap = _interopRequireDefault(require("@atlaskit/icon/core/text-wrap"));
19
18
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
20
19
  var _editorCommands = require("../editor-commands");
@@ -144,7 +143,7 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig() {
144
143
  type: 'button',
145
144
  appearance: 'danger',
146
145
  icon: _delete.default,
147
- iconFallback: _deleteEditorRemove.default,
146
+ iconFallback: _delete.default,
148
147
  onMouseEnter: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, true),
149
148
  onMouseLeave: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, false),
150
149
  onFocus: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, true),
@@ -4,7 +4,6 @@ import { areToolbarFlagsEnabled } from '@atlaskit/editor-common/toolbar-flag-che
4
4
  import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
5
5
  import DeleteIcon from '@atlaskit/icon/core/delete';
6
6
  import CopyIcon from '@atlaskit/icon/core/migration/copy';
7
- import RemoveIcon from '@atlaskit/icon/core/migration/delete--editor-remove';
8
7
  import TextWrapIcon from '@atlaskit/icon/core/text-wrap';
9
8
  import { fg } from '@atlaskit/platform-feature-flags';
10
9
  import { changeLanguage, copyContentToClipboardWithAnalytics, removeCodeBlockWithAnalytics, resetCopiedState, toggleWordWrapStateForCodeBlockNode } from '../editor-commands';
@@ -120,7 +119,7 @@ export const getToolbarConfig = (allowCopyToClipboard = false, api, overrideLang
120
119
  type: 'button',
121
120
  appearance: 'danger',
122
121
  icon: DeleteIcon,
123
- iconFallback: RemoveIcon,
122
+ iconFallback: DeleteIcon,
124
123
  onMouseEnter: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, true),
125
124
  onMouseLeave: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, false),
126
125
  onFocus: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, true),
@@ -8,7 +8,6 @@ import { areToolbarFlagsEnabled } from '@atlaskit/editor-common/toolbar-flag-che
8
8
  import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
9
9
  import DeleteIcon from '@atlaskit/icon/core/delete';
10
10
  import CopyIcon from '@atlaskit/icon/core/migration/copy';
11
- import RemoveIcon from '@atlaskit/icon/core/migration/delete--editor-remove';
12
11
  import TextWrapIcon from '@atlaskit/icon/core/text-wrap';
13
12
  import { fg } from '@atlaskit/platform-feature-flags';
14
13
  import { changeLanguage, copyContentToClipboardWithAnalytics, removeCodeBlockWithAnalytics, resetCopiedState, toggleWordWrapStateForCodeBlockNode } from '../editor-commands';
@@ -135,7 +134,7 @@ export var getToolbarConfig = function getToolbarConfig() {
135
134
  type: 'button',
136
135
  appearance: 'danger',
137
136
  icon: DeleteIcon,
138
- iconFallback: RemoveIcon,
137
+ iconFallback: DeleteIcon,
139
138
  onMouseEnter: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, true),
140
139
  onMouseLeave: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, false),
141
140
  onFocus: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, true),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-code-block",
3
- "version": "8.1.20",
3
+ "version": "8.1.21",
4
4
  "description": "Code block plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -27,10 +27,10 @@
27
27
  "sideEffects": false,
28
28
  "atlaskit:src": "src/index.ts",
29
29
  "dependencies": {
30
- "@atlaskit/adf-schema": "^51.5.1",
31
- "@atlaskit/code": "^17.3.0",
30
+ "@atlaskit/adf-schema": "^51.5.0",
31
+ "@atlaskit/code": "^17.4.0",
32
32
  "@atlaskit/editor-plugin-analytics": "^6.2.0",
33
- "@atlaskit/editor-plugin-block-menu": "^5.1.0",
33
+ "@atlaskit/editor-plugin-block-menu": "^5.2.0",
34
34
  "@atlaskit/editor-plugin-composition": "^5.0.0",
35
35
  "@atlaskit/editor-plugin-decorations": "^6.1.0",
36
36
  "@atlaskit/editor-plugin-editor-disabled": "^6.1.0",
@@ -38,16 +38,16 @@
38
38
  "@atlaskit/editor-plugin-interaction": "^10.0.0",
39
39
  "@atlaskit/editor-plugin-selection": "^6.1.0",
40
40
  "@atlaskit/editor-plugin-toolbar": "^3.4.0",
41
- "@atlaskit/editor-prosemirror": "7.0.0",
41
+ "@atlaskit/editor-prosemirror": "^7.2.0",
42
42
  "@atlaskit/editor-toolbar": "^0.18.0",
43
- "@atlaskit/icon": "^29.0.0",
43
+ "@atlaskit/icon": "^29.1.0",
44
44
  "@atlaskit/platform-feature-flags": "^1.1.0",
45
45
  "@atlaskit/prosemirror-input-rules": "^3.6.0",
46
- "@atlaskit/tmp-editor-statsig": "^15.0.0",
46
+ "@atlaskit/tmp-editor-statsig": "^15.12.0",
47
47
  "@babel/runtime": "^7.0.0"
48
48
  },
49
49
  "peerDependencies": {
50
- "@atlaskit/editor-common": "^110.40.0",
50
+ "@atlaskit/editor-common": "^110.44.0",
51
51
  "react": "^18.2.0",
52
52
  "react-intl-next": "npm:react-intl@^5.18.1"
53
53
  },