@atlaskit/editor-plugin-floating-toolbar 10.0.20 → 10.0.22

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,19 @@
1
1
  # @atlaskit/editor-plugin-floating-toolbar
2
2
 
3
+ ## 10.0.22
4
+
5
+ ### Patch Changes
6
+
7
+ - [`3f10d190b50a6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3f10d190b50a6) -
8
+ Clean up platform_editor_a11y_add_role_to_popup
9
+ - Updated dependencies
10
+
11
+ ## 10.0.21
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 10.0.20
4
18
 
5
19
  ### Patch Changes
@@ -23,7 +23,6 @@ var _toolbarFlagCheck = require("@atlaskit/editor-common/toolbar-flag-check");
23
23
  var _ui = require("@atlaskit/editor-common/ui");
24
24
  var _state = require("@atlaskit/editor-prosemirror/state");
25
25
  var _utils = require("@atlaskit/editor-prosemirror/utils");
26
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
27
26
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
28
27
  var _commands = require("./pm-plugins/commands");
29
28
  var _forceFocus = _interopRequireWildcard(require("./pm-plugins/force-focus"));
@@ -412,7 +411,7 @@ function ContentComponent(_ref5) {
412
411
  fallbackComponent: null
413
412
  }, /*#__PURE__*/_react.default.createElement(_ui.Popup, {
414
413
  ariaLabel: title,
415
- role: (0, _platformFeatureFlags.fg)('platform_editor_a11y_add_role_to_popup') ? 'toolbar' : undefined,
414
+ role: 'toolbar',
416
415
  offset: offset,
417
416
  target: targetRef,
418
417
  alignY: "bottom",
@@ -12,7 +12,6 @@ import { areToolbarFlagsEnabled } from '@atlaskit/editor-common/toolbar-flag-che
12
12
  import { Popup } from '@atlaskit/editor-common/ui';
13
13
  import { AllSelection, PluginKey, TextSelection } from '@atlaskit/editor-prosemirror/state';
14
14
  import { findDomRefAtPos, findSelectedNodeOfType } from '@atlaskit/editor-prosemirror/utils';
15
- import { fg } from '@atlaskit/platform-feature-flags';
16
15
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
17
16
  import { copyNode } from './pm-plugins/commands';
18
17
  import forceFocusPlugin, { forceFocusSelector } from './pm-plugins/force-focus';
@@ -395,7 +394,7 @@ export function ContentComponent({
395
394
  fallbackComponent: null
396
395
  }, /*#__PURE__*/React.createElement(Popup, {
397
396
  ariaLabel: title,
398
- role: fg('platform_editor_a11y_add_role_to_popup') ? 'toolbar' : undefined,
397
+ role: 'toolbar',
399
398
  offset: offset,
400
399
  target: targetRef,
401
400
  alignY: "bottom",
@@ -16,7 +16,6 @@ import { areToolbarFlagsEnabled } from '@atlaskit/editor-common/toolbar-flag-che
16
16
  import { Popup } from '@atlaskit/editor-common/ui';
17
17
  import { AllSelection, PluginKey, TextSelection } from '@atlaskit/editor-prosemirror/state';
18
18
  import { findDomRefAtPos, findSelectedNodeOfType } from '@atlaskit/editor-prosemirror/utils';
19
- import { fg } from '@atlaskit/platform-feature-flags';
20
19
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
21
20
  import { copyNode as _copyNode } from './pm-plugins/commands';
22
21
  import forceFocusPlugin, { forceFocusSelector } from './pm-plugins/force-focus';
@@ -402,7 +401,7 @@ export function ContentComponent(_ref5) {
402
401
  fallbackComponent: null
403
402
  }, /*#__PURE__*/React.createElement(Popup, {
404
403
  ariaLabel: title,
405
- role: fg('platform_editor_a11y_add_role_to_popup') ? 'toolbar' : undefined,
404
+ role: 'toolbar',
406
405
  offset: offset,
407
406
  target: targetRef,
408
407
  alignY: "bottom",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "10.0.20",
3
+ "version": "10.0.22",
4
4
  "description": "Floating toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -37,15 +37,15 @@
37
37
  "@atlaskit/editor-plugin-user-intent": "^6.0.0",
38
38
  "@atlaskit/editor-prosemirror": "^7.3.0",
39
39
  "@atlaskit/emoji": "^69.10.0",
40
- "@atlaskit/icon": "^33.1.0",
40
+ "@atlaskit/icon": "^34.0.0",
41
41
  "@atlaskit/menu": "^8.4.0",
42
- "@atlaskit/modal-dialog": "^14.13.0",
42
+ "@atlaskit/modal-dialog": "^14.14.0",
43
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
44
44
  "@atlaskit/primitives": "^18.1.0",
45
- "@atlaskit/select": "^21.9.0",
46
- "@atlaskit/tmp-editor-statsig": "^51.0.0",
45
+ "@atlaskit/select": "^21.10.0",
46
+ "@atlaskit/tmp-editor-statsig": "^53.0.0",
47
47
  "@atlaskit/tokens": "^11.4.0",
48
- "@atlaskit/tooltip": "^21.0.0",
48
+ "@atlaskit/tooltip": "^21.1.0",
49
49
  "@babel/runtime": "^7.0.0",
50
50
  "@emotion/react": "^11.7.1",
51
51
  "bind-event-listener": "^3.0.0",
@@ -55,7 +55,7 @@
55
55
  "react-loadable": "^5.1.0"
56
56
  },
57
57
  "peerDependencies": {
58
- "@atlaskit/editor-common": "^112.13.0",
58
+ "@atlaskit/editor-common": "^112.15.0",
59
59
  "react": "^18.2.0",
60
60
  "react-dom": "^18.2.0"
61
61
  },
@@ -107,9 +107,5 @@
107
107
  ]
108
108
  }
109
109
  },
110
- "platform-feature-flags": {
111
- "platform_editor_a11y_add_role_to_popup": {
112
- "type": "boolean"
113
- }
114
- }
110
+ "platform-feature-flags": {}
115
111
  }