@atlaskit/editor-plugin-extension 6.1.4 → 6.1.6

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,22 @@
1
1
  # @atlaskit/editor-plugin-extension
2
2
 
3
+ ## 6.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`1099388054638`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1099388054638) -
8
+ [ENGLHEALTH-32398] Extension edit button should not be a radio button
9
+ - Updated dependencies
10
+
11
+ ## 6.1.5
12
+
13
+ ### Patch Changes
14
+
15
+ - [#195649](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/195649)
16
+ [`231bb33e06dfe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/231bb33e06dfe) -
17
+ EDITOR-1131 Bump adf-schema version to 50.2.0
18
+ - Updated dependencies
19
+
3
20
  ## 6.1.4
4
21
 
5
22
  ### Patch Changes
@@ -18,6 +18,7 @@ var _contentWidthWide = _interopRequireDefault(require("@atlaskit/icon/core/cont
18
18
  var _delete = _interopRequireDefault(require("@atlaskit/icon/core/delete"));
19
19
  var _expandHorizontal = _interopRequireDefault(require("@atlaskit/icon/core/expand-horizontal"));
20
20
  var _editEditorEdit = _interopRequireDefault(require("@atlaskit/icon/core/migration/edit--editor-edit"));
21
+ var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
21
22
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
22
23
  var _actions = require("../editor-actions/actions");
23
24
  var _commands = require("../editor-commands/commands");
@@ -202,7 +203,8 @@ var editButton = function editButton(formatMessage, extensionState, applyChangeT
202
203
  title: formatMessage(_extensions.messages.edit),
203
204
  tabIndex: null,
204
205
  focusEditoronEnter: true,
205
- disabled: isDisabled
206
+ disabled: isDisabled,
207
+ isRadioButton: (0, _expValEquals.expValEquals)('platform_editor_august_a11y', 'isEnabled', true) ? false : undefined
206
208
  }];
207
209
  if ((0, _experiments.editorExperiment)('platform_editor_controls', 'variant1')) {
208
210
  editButtonItems.push({
@@ -10,6 +10,7 @@ import ContentWidthWideIcon from '@atlaskit/icon/core/content-width-wide';
10
10
  import DeleteIcon from '@atlaskit/icon/core/delete';
11
11
  import ExpandHorizontalIcon from '@atlaskit/icon/core/expand-horizontal';
12
12
  import EditIcon from '@atlaskit/icon/core/migration/edit--editor-edit';
13
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
13
14
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
14
15
  import { editExtension } from '../editor-actions/actions';
15
16
  import { removeDescendantNodes, removeExtension, updateExtensionLayout } from '../editor-commands/commands';
@@ -201,7 +202,8 @@ const editButton = (formatMessage, extensionState, applyChangeToContextPanel, ed
201
202
  title: formatMessage(messages.edit),
202
203
  tabIndex: null,
203
204
  focusEditoronEnter: true,
204
- disabled: isDisabled
205
+ disabled: isDisabled,
206
+ isRadioButton: expValEquals('platform_editor_august_a11y', 'isEnabled', true) ? false : undefined
205
207
  }];
206
208
  if (editorExperiment('platform_editor_controls', 'variant1')) {
207
209
  editButtonItems.push({
@@ -11,6 +11,7 @@ import ContentWidthWideIcon from '@atlaskit/icon/core/content-width-wide';
11
11
  import DeleteIcon from '@atlaskit/icon/core/delete';
12
12
  import ExpandHorizontalIcon from '@atlaskit/icon/core/expand-horizontal';
13
13
  import EditIcon from '@atlaskit/icon/core/migration/edit--editor-edit';
14
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
14
15
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
15
16
  import { editExtension } from '../editor-actions/actions';
16
17
  import { removeDescendantNodes, removeExtension, updateExtensionLayout } from '../editor-commands/commands';
@@ -196,7 +197,8 @@ var editButton = function editButton(formatMessage, extensionState, applyChangeT
196
197
  title: formatMessage(messages.edit),
197
198
  tabIndex: null,
198
199
  focusEditoronEnter: true,
199
- disabled: isDisabled
200
+ disabled: isDisabled,
201
+ isRadioButton: expValEquals('platform_editor_august_a11y', 'isEnabled', true) ? false : undefined
200
202
  }];
201
203
  if (editorExperiment('platform_editor_controls', 'variant1')) {
202
204
  editButtonItems.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-extension",
3
- "version": "6.1.4",
3
+ "version": "6.1.6",
4
4
  "description": "editor-plugin-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -24,8 +24,8 @@
24
24
  ".": "./src/index.ts"
25
25
  },
26
26
  "dependencies": {
27
- "@atlaskit/adf-schema": "^50.0.1",
28
- "@atlaskit/adf-utils": "^19.20.0",
27
+ "@atlaskit/adf-schema": "^50.2.0",
28
+ "@atlaskit/adf-utils": "^19.21.0",
29
29
  "@atlaskit/analytics-next": "^11.1.0",
30
30
  "@atlaskit/avatar": "^25.1.0",
31
31
  "@atlaskit/button": "^23.3.0",
@@ -40,25 +40,25 @@
40
40
  "@atlaskit/editor-plugin-feature-flags": "^2.0.0",
41
41
  "@atlaskit/editor-plugin-width": "^4.0.0",
42
42
  "@atlaskit/editor-prosemirror": "7.0.0",
43
- "@atlaskit/editor-shared-styles": "^3.5.0",
43
+ "@atlaskit/editor-shared-styles": "^3.6.0",
44
44
  "@atlaskit/editor-tables": "^2.9.0",
45
45
  "@atlaskit/empty-state": "^10.1.0",
46
46
  "@atlaskit/form": "^12.0.0",
47
47
  "@atlaskit/heading": "^5.2.0",
48
- "@atlaskit/icon": "^27.9.0",
48
+ "@atlaskit/icon": "^27.10.0",
49
49
  "@atlaskit/link": "^3.2.0",
50
50
  "@atlaskit/platform-feature-flags": "^1.1.0",
51
51
  "@atlaskit/primitives": "^14.11.0",
52
- "@atlaskit/radio": "^8.1.0",
52
+ "@atlaskit/radio": "^8.2.0",
53
53
  "@atlaskit/section-message": "^8.5.0",
54
54
  "@atlaskit/select": "^21.2.0",
55
- "@atlaskit/smart-user-picker": "^8.0.0",
55
+ "@atlaskit/smart-user-picker": "^8.1.0",
56
56
  "@atlaskit/spinner": "^19.0.0",
57
57
  "@atlaskit/tabs": "^18.1.0",
58
58
  "@atlaskit/textarea": "^8.0.0",
59
59
  "@atlaskit/textfield": "^8.0.0",
60
60
  "@atlaskit/theme": "^19.0.0",
61
- "@atlaskit/tmp-editor-statsig": "^9.22.0",
61
+ "@atlaskit/tmp-editor-statsig": "^9.26.0",
62
62
  "@atlaskit/toggle": "^15.1.0",
63
63
  "@atlaskit/tokens": "^6.0.0",
64
64
  "@atlaskit/tooltip": "^20.4.0",
@@ -72,13 +72,12 @@
72
72
  "uuid": "^3.1.0"
73
73
  },
74
74
  "peerDependencies": {
75
- "@atlaskit/editor-common": "^107.16.0",
75
+ "@atlaskit/editor-common": "^107.20.0",
76
76
  "react": "^18.2.0",
77
77
  "react-intl-next": "npm:react-intl@^5.18.1"
78
78
  },
79
79
  "devDependencies": {
80
- "react-select": "^5.4.0",
81
- "typescript": "~5.4.2"
80
+ "react-select": "^5.4.0"
82
81
  },
83
82
  "techstack": {
84
83
  "@atlassian/frontend": {