@atlaskit/editor-plugin-status 12.0.16 → 13.0.0

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,43 @@
1
1
  # @atlaskit/editor-plugin-status
2
2
 
3
+ ## 13.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`f2dc9097319f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2dc9097319f0) - ###
8
+ Dropped support for _legacy_ Typescript 4 types. **Typescript 5 is now the new minimum**.
9
+
10
+ Removes the `typesVersions` property and `dist/types-ts4.5` directory from the dist.
11
+
12
+ Types are now exclusively via the `"types": "dist/types/index.d.ts"` property.
13
+
14
+ ```diff
15
+ - "typesVersions": {
16
+ - ">=4.5 <4.9": {
17
+ - "*": [
18
+ - "dist/types-ts4.5/*",
19
+ - "dist/types-ts4.5/index.d.ts"
20
+ - ]
21
+ - }
22
+ - },
23
+ ```
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies
28
+
29
+ ## 12.0.17
30
+
31
+ ### Patch Changes
32
+
33
+ - [`0f79b5238fada`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0f79b5238fada) -
34
+ Cleaned up stale feature gate \_editor_a11y_aria_label_removal_popup (FFCLEANUP-90178). Removed
35
+ gate checks and always use the enabled path: nullish coalescing for popup ariaLabel, localized
36
+ labels for color picker and status picker popups. Replaced obsolete `[aria-label="Popup"]`
37
+ selectors with `[data-testid="popup-wrapper"]` in dependent tests and page-models. Guarded the
38
+ search-common ESLint test helper so it loads correctly outside Jest.
39
+ - Updated dependencies
40
+
3
41
  ## 12.0.16
4
42
 
5
43
  ### Patch Changes
@@ -342,7 +342,7 @@ var StatusPickerWithIntl = /*#__PURE__*/function (_React$Component) {
342
342
  return null;
343
343
  }
344
344
  return target && (0, _react2.jsx)(PopupWithListeners, {
345
- ariaLabel: (0, _platformFeatureFlags.fg)('_editor_a11y_aria_label_removal_popup') ? intl.formatMessage(_messages.statusMessages.statusEditorLabel) : undefined,
345
+ ariaLabel: intl.formatMessage(_messages.statusMessages.statusEditorLabel),
346
346
  target: target
347
347
  // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
348
348
  ,
@@ -316,7 +316,7 @@ class StatusPickerWithIntl extends React.Component {
316
316
  return null;
317
317
  }
318
318
  return target && jsx(PopupWithListeners, {
319
- ariaLabel: fg('_editor_a11y_aria_label_removal_popup') ? intl.formatMessage(messages.statusEditorLabel) : undefined,
319
+ ariaLabel: intl.formatMessage(messages.statusEditorLabel),
320
320
  target: target
321
321
  // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
322
322
  ,
@@ -339,7 +339,7 @@ var StatusPickerWithIntl = /*#__PURE__*/function (_React$Component) {
339
339
  return null;
340
340
  }
341
341
  return target && jsx(PopupWithListeners, {
342
- ariaLabel: fg('_editor_a11y_aria_label_removal_popup') ? intl.formatMessage(messages.statusEditorLabel) : undefined,
342
+ ariaLabel: intl.formatMessage(messages.statusEditorLabel),
343
343
  target: target
344
344
  // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
345
345
  ,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-status",
3
- "version": "12.0.16",
3
+ "version": "13.0.0",
4
4
  "description": "Status plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -16,36 +16,28 @@
16
16
  "module": "dist/esm/index.js",
17
17
  "module:es2019": "dist/es2019/index.js",
18
18
  "types": "dist/types/index.d.ts",
19
- "typesVersions": {
20
- ">=4.5 <4.9": {
21
- "*": [
22
- "dist/types-ts4.5/*",
23
- "dist/types-ts4.5/index.d.ts"
24
- ]
25
- }
26
- },
27
19
  "sideEffects": [
28
20
  "*.compiled.css"
29
21
  ],
30
22
  "atlaskit:src": "src/index.ts",
31
23
  "dependencies": {
32
- "@atlaskit/adf-schema": "^54.0.0",
33
- "@atlaskit/analytics-next": "^11.3.0",
34
- "@atlaskit/browser-apis": "^0.0.2",
35
- "@atlaskit/editor-plugin-analytics": "^11.0.0",
36
- "@atlaskit/editor-prosemirror": "^7.3.0",
37
- "@atlaskit/editor-shared-styles": "^3.11.0",
38
- "@atlaskit/icon": "^35.4.0",
39
- "@atlaskit/platform-feature-flags": "^1.1.0",
40
- "@atlaskit/status": "^4.1.0",
41
- "@atlaskit/tmp-editor-statsig": "^103.0.0",
42
- "@atlaskit/tokens": "^13.4.0",
43
- "@atlaskit/visually-hidden": "^3.1.0",
24
+ "@atlaskit/adf-schema": "^55.0.0",
25
+ "@atlaskit/analytics-next": "^12.0.0",
26
+ "@atlaskit/browser-apis": "^1.0.0",
27
+ "@atlaskit/editor-plugin-analytics": "^12.0.0",
28
+ "@atlaskit/editor-prosemirror": "^8.0.0",
29
+ "@atlaskit/editor-shared-styles": "^4.0.0",
30
+ "@atlaskit/icon": "^36.0.0",
31
+ "@atlaskit/platform-feature-flags": "^2.0.0",
32
+ "@atlaskit/status": "^5.0.0",
33
+ "@atlaskit/tmp-editor-statsig": "^104.0.0",
34
+ "@atlaskit/tokens": "^14.0.0",
35
+ "@atlaskit/visually-hidden": "^4.0.0",
44
36
  "@babel/runtime": "^7.0.0",
45
37
  "@emotion/react": "^11.7.1"
46
38
  },
47
39
  "peerDependencies": {
48
- "@atlaskit/editor-common": "^115.15.0",
40
+ "@atlaskit/editor-common": "^116.0.0",
49
41
  "react": "^18.2.0",
50
42
  "react-dom": "^18.2.0",
51
43
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
@@ -97,9 +89,6 @@
97
89
  "platform-component-visual-refresh": {
98
90
  "type": "boolean"
99
91
  },
100
- "_editor_a11y_aria_label_removal_popup": {
101
- "type": "boolean"
102
- },
103
92
  "platform-lozenge-custom-letterspacing": {
104
93
  "type": "boolean"
105
94
  },