@atlaskit/editor-plugin-alignment 1.9.2 → 1.9.3

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,15 @@
1
1
  # @atlaskit/editor-plugin-alignment
2
2
 
3
+ ## 1.9.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#125082](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/125082)
8
+ [`ba605ab4da0e1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ba605ab4da0e1) -
9
+ [ED-23977] This change cleans up the use of the feature flag
10
+ 'platform.editor.a11y-main-toolbar-navigation_osrty'.
11
+ - Updated dependencies
12
+
3
13
  ## 1.9.2
4
14
 
5
15
  ### Patch Changes
@@ -80,11 +80,9 @@ var AlignmentToolbar = exports.AlignmentToolbar = /*#__PURE__*/function (_React$
80
80
  (_this$toolbarItemRef2 = _this.toolbarItemRef) === null || _this$toolbarItemRef2 === void 0 || (_this$toolbarItemRef2 = _this$toolbarItemRef2.current) === null || _this$toolbarItemRef2 === void 0 || _this$toolbarItemRef2.focus();
81
81
  });
82
82
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "onOpenChange", function () {
83
- if ((0, _platformFeatureFlags.fg)('platform.editor.a11y-main-toolbar-navigation_osrty')) {
84
- _this.setState({
85
- isOpen: false
86
- });
87
- }
83
+ _this.setState({
84
+ isOpen: false
85
+ });
88
86
  });
89
87
  return _this;
90
88
  }
@@ -61,11 +61,9 @@ export class AlignmentToolbar extends React.Component {
61
61
  (_this$toolbarItemRef2 = this.toolbarItemRef) === null || _this$toolbarItemRef2 === void 0 ? void 0 : (_this$toolbarItemRef3 = _this$toolbarItemRef2.current) === null || _this$toolbarItemRef3 === void 0 ? void 0 : _this$toolbarItemRef3.focus();
62
62
  });
63
63
  _defineProperty(this, "onOpenChange", () => {
64
- if (fg('platform.editor.a11y-main-toolbar-navigation_osrty')) {
65
- this.setState({
66
- isOpen: false
67
- });
68
- }
64
+ this.setState({
65
+ isOpen: false
66
+ });
69
67
  });
70
68
  }
71
69
  render() {
@@ -76,11 +76,9 @@ export var AlignmentToolbar = /*#__PURE__*/function (_React$Component) {
76
76
  (_this$toolbarItemRef2 = _this.toolbarItemRef) === null || _this$toolbarItemRef2 === void 0 || (_this$toolbarItemRef2 = _this$toolbarItemRef2.current) === null || _this$toolbarItemRef2 === void 0 || _this$toolbarItemRef2.focus();
77
77
  });
78
78
  _defineProperty(_assertThisInitialized(_this), "onOpenChange", function () {
79
- if (fg('platform.editor.a11y-main-toolbar-navigation_osrty')) {
80
- _this.setState({
81
- isOpen: false
82
- });
83
- }
79
+ _this.setState({
80
+ isOpen: false
81
+ });
84
82
  });
85
83
  return _this;
86
84
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-alignment",
3
- "version": "1.9.2",
3
+ "version": "1.9.3",
4
4
  "description": "Alignment plugin for @atlaskit/editor-core",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -22,12 +22,12 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@atlaskit/adf-schema": "^40.3.0",
25
- "@atlaskit/editor-common": "^87.1.0",
25
+ "@atlaskit/editor-common": "^87.2.0",
26
26
  "@atlaskit/editor-plugin-primary-toolbar": "^1.3.0",
27
27
  "@atlaskit/editor-prosemirror": "5.0.1",
28
28
  "@atlaskit/editor-tables": "^2.8.0",
29
- "@atlaskit/icon": "^22.8.0",
30
- "@atlaskit/platform-feature-flags": "^0.3.0",
29
+ "@atlaskit/icon": "^22.9.0",
30
+ "@atlaskit/platform-feature-flags": "0.3.0",
31
31
  "@atlaskit/tokens": "^1.56.0",
32
32
  "@babel/runtime": "^7.0.0",
33
33
  "@emotion/react": "^11.7.1"
@@ -93,9 +93,6 @@
93
93
  ".": "./src/index.ts"
94
94
  },
95
95
  "platform-feature-flags": {
96
- "platform.editor.a11y-main-toolbar-navigation_osrty": {
97
- "type": "boolean"
98
- },
99
96
  "platform_editor_migration_icon_and_typography": {
100
97
  "type": "boolean"
101
98
  }