@atlaskit/editor-core 220.4.4 → 220.4.5

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-core
2
2
 
3
+ ## 220.4.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`0f79b5238fada`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0f79b5238fada) -
8
+ Cleaned up stale feature gate \_editor_a11y_aria_label_removal_popup (FFCLEANUP-90178). Removed
9
+ gate checks and always use the enabled path: nullish coalescing for popup ariaLabel, localized
10
+ labels for color picker and status picker popups. Replaced obsolete `[aria-label="Popup"]`
11
+ selectors with `[data-testid="popup-wrapper"]` in dependent tests and page-models. Guarded the
12
+ search-common ESLint test helper so it loads correctly outside Jest.
13
+ - [`fd3ef8de291ba`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fd3ef8de291ba) -
14
+ Cleanup feature gate `platform_editor_nov_a11y_fixes`
15
+ - Updated dependencies
16
+
3
17
  ## 220.4.4
4
18
 
5
19
  ### Patch Changes
@@ -143,9 +143,9 @@ var SwappableContentAreaInner = /*#__PURE__*/function (_React$PureComponent) {
143
143
  "data-testid": "context-panel-content"
144
144
  // Adding tabIndex=0 here to make content focusable as it is a scrollable region
145
145
  ,
146
- tabIndex: (0, _platformFeatureFlags.fg)('platform_editor_nov_a11y_fixes') ? 0 : undefined,
147
- role: (0, _platformFeatureFlags.fg)('platform_editor_nov_a11y_fixes') ? 'region' : undefined,
148
- "aria-label": (0, _platformFeatureFlags.fg)('platform_editor_nov_a11y_fixes') ? (_this2$props$intl2 = _this2.props.intl) === null || _this2$props$intl2 === void 0 ? void 0 : _this2$props$intl2.formatMessage(_messages.contextPanelMessages.panelContentLabel) : undefined
146
+ tabIndex: 0,
147
+ role: "region",
148
+ "aria-label": (_this2$props$intl2 = _this2.props.intl) === null || _this2$props$intl2 === void 0 ? void 0 : _this2$props$intl2.formatMessage(_messages.contextPanelMessages.panelContentLabel)
149
149
  }, _this2.showPluginContent() || _this2.showProvidedContent(userVisible)));
150
150
  });
151
151
  }
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
8
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
9
- var version = exports.version = "220.4.3";
9
+ var version = exports.version = "220.4.4";
@@ -125,9 +125,9 @@ class SwappableContentAreaInner extends React.PureComponent {
125
125
  "data-testid": "context-panel-content"
126
126
  // Adding tabIndex=0 here to make content focusable as it is a scrollable region
127
127
  ,
128
- tabIndex: fg('platform_editor_nov_a11y_fixes') ? 0 : undefined,
129
- role: fg('platform_editor_nov_a11y_fixes') ? 'region' : undefined,
130
- "aria-label": fg('platform_editor_nov_a11y_fixes') ? (_this$props$intl2 = this.props.intl) === null || _this$props$intl2 === void 0 ? void 0 : _this$props$intl2.formatMessage(contextPanelMessages.panelContentLabel) : undefined
128
+ tabIndex: 0,
129
+ role: "region",
130
+ "aria-label": (_this$props$intl2 = this.props.intl) === null || _this$props$intl2 === void 0 ? void 0 : _this$props$intl2.formatMessage(contextPanelMessages.panelContentLabel)
131
131
  }, this.showPluginContent() || this.showProvidedContent(userVisible)));
132
132
  });
133
133
  }
@@ -1,3 +1,3 @@
1
1
  export const name = "@atlaskit/editor-core";
2
2
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
3
- export const version = "220.4.3";
3
+ export const version = "220.4.4";
@@ -136,9 +136,9 @@ var SwappableContentAreaInner = /*#__PURE__*/function (_React$PureComponent) {
136
136
  "data-testid": "context-panel-content"
137
137
  // Adding tabIndex=0 here to make content focusable as it is a scrollable region
138
138
  ,
139
- tabIndex: fg('platform_editor_nov_a11y_fixes') ? 0 : undefined,
140
- role: fg('platform_editor_nov_a11y_fixes') ? 'region' : undefined,
141
- "aria-label": fg('platform_editor_nov_a11y_fixes') ? (_this2$props$intl2 = _this2.props.intl) === null || _this2$props$intl2 === void 0 ? void 0 : _this2$props$intl2.formatMessage(contextPanelMessages.panelContentLabel) : undefined
139
+ tabIndex: 0,
140
+ role: "region",
141
+ "aria-label": (_this2$props$intl2 = _this2.props.intl) === null || _this2$props$intl2 === void 0 ? void 0 : _this2$props$intl2.formatMessage(contextPanelMessages.panelContentLabel)
142
142
  }, _this2.showPluginContent() || _this2.showProvidedContent(userVisible)));
143
143
  });
144
144
  }
@@ -1,3 +1,3 @@
1
1
  export var name = "@atlaskit/editor-core";
2
2
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
3
- export var version = "220.4.3";
3
+ export var version = "220.4.4";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "220.4.4",
3
+ "version": "220.4.5",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -92,7 +92,7 @@
92
92
  "uuid": "^3.1.0"
93
93
  },
94
94
  "peerDependencies": {
95
- "@atlaskit/editor-common": "^115.15.0",
95
+ "@atlaskit/editor-common": "^115.16.0",
96
96
  "@atlaskit/link-provider": "^4.7.0",
97
97
  "@atlaskit/media-core": "^37.1.0",
98
98
  "react": "^18.2.0",
@@ -281,10 +281,6 @@
281
281
  "type": "boolean",
282
282
  "referenceOnly": true
283
283
  },
284
- "_editor_a11y_aria_label_removal_popup": {
285
- "type": "boolean",
286
- "referenceOnly": true
287
- },
288
284
  "platform_editor_tables_table_selector": {
289
285
  "type": "boolean",
290
286
  "referenceOnly": true
@@ -322,9 +318,6 @@
322
318
  "cc_fd_wb_create_priority_in_slash_menu_enabled": {
323
319
  "type": "boolean"
324
320
  },
325
- "platform_editor_nov_a11y_fixes": {
326
- "type": "boolean"
327
- },
328
321
  "rovo_chat_enable_skills_ui_m1": {
329
322
  "type": "boolean"
330
323
  },