@atlaskit/editor-plugin-extension 13.0.4 → 13.1.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,12 @@
1
1
  # @atlaskit/editor-plugin-extension
2
2
 
3
+ ## 13.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`3bce4b3e9d784`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3bce4b3e9d784) -
8
+ Remove flag to increase accessibility in links.
9
+
3
10
  ## 13.0.4
4
11
 
5
12
  ### Patch Changes
@@ -7,22 +7,13 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.HelpLink = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _link = _interopRequireDefault(require("@atlaskit/link"));
10
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
11
10
  var HelpLink = exports.HelpLink = function HelpLink(_ref) {
12
11
  var documentationUrl = _ref.documentationUrl,
13
12
  label = _ref.label;
14
- return (0, _platformFeatureFlags.fg)('dst-a11y__replace-anchor-with-link__editor-core-ex') ? /*#__PURE__*/_react.default.createElement(_link.default, {
13
+ return /*#__PURE__*/_react.default.createElement(_link.default, {
15
14
  target: "_blank",
16
15
  rel: "noopener noreferrer",
17
16
  href: documentationUrl,
18
- "data-testid": "config-panel-header-documentation-link"
19
- }, label) :
20
- /*#__PURE__*/
21
- // eslint-disable-next-line @atlaskit/design-system/no-html-anchor
22
- _react.default.createElement("a", {
23
- target: "_blank",
24
- rel: "noopener noreferrer",
25
- href: documentationUrl,
26
- "data-testid": "config-panel-header-documentation-link"
17
+ testId: "config-panel-header-documentation-link"
27
18
  }, label);
28
19
  };
@@ -1,22 +1,13 @@
1
1
  import React from 'react';
2
2
  import Link from '@atlaskit/link';
3
- import { fg } from '@atlaskit/platform-feature-flags';
4
3
  export const HelpLink = ({
5
4
  documentationUrl,
6
5
  label
7
6
  }) => {
8
- return fg('dst-a11y__replace-anchor-with-link__editor-core-ex') ? /*#__PURE__*/React.createElement(Link, {
7
+ return /*#__PURE__*/React.createElement(Link, {
9
8
  target: "_blank",
10
9
  rel: "noopener noreferrer",
11
10
  href: documentationUrl,
12
- "data-testid": "config-panel-header-documentation-link"
13
- }, label) :
14
- /*#__PURE__*/
15
- // eslint-disable-next-line @atlaskit/design-system/no-html-anchor
16
- React.createElement("a", {
17
- target: "_blank",
18
- rel: "noopener noreferrer",
19
- href: documentationUrl,
20
- "data-testid": "config-panel-header-documentation-link"
11
+ testId: "config-panel-header-documentation-link"
21
12
  }, label);
22
13
  };
@@ -1,21 +1,12 @@
1
1
  import React from 'react';
2
2
  import Link from '@atlaskit/link';
3
- import { fg } from '@atlaskit/platform-feature-flags';
4
3
  export var HelpLink = function HelpLink(_ref) {
5
4
  var documentationUrl = _ref.documentationUrl,
6
5
  label = _ref.label;
7
- return fg('dst-a11y__replace-anchor-with-link__editor-core-ex') ? /*#__PURE__*/React.createElement(Link, {
6
+ return /*#__PURE__*/React.createElement(Link, {
8
7
  target: "_blank",
9
8
  rel: "noopener noreferrer",
10
9
  href: documentationUrl,
11
- "data-testid": "config-panel-header-documentation-link"
12
- }, label) :
13
- /*#__PURE__*/
14
- // eslint-disable-next-line @atlaskit/design-system/no-html-anchor
15
- React.createElement("a", {
16
- target: "_blank",
17
- rel: "noopener noreferrer",
18
- href: documentationUrl,
19
- "data-testid": "config-panel-header-documentation-link"
10
+ testId: "config-panel-header-documentation-link"
20
11
  }, label);
21
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-extension",
3
- "version": "13.0.4",
3
+ "version": "13.1.0",
4
4
  "description": "editor-plugin-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -59,10 +59,10 @@
59
59
  "@atlaskit/tabs": "^19.1.0",
60
60
  "@atlaskit/textarea": "^8.3.0",
61
61
  "@atlaskit/textfield": "^8.3.0",
62
- "@atlaskit/tmp-editor-statsig": "^66.0.0",
62
+ "@atlaskit/tmp-editor-statsig": "^66.1.0",
63
63
  "@atlaskit/toggle": "^15.6.0",
64
64
  "@atlaskit/tokens": "^13.0.0",
65
- "@atlaskit/tooltip": "^21.1.0",
65
+ "@atlaskit/tooltip": "^21.2.0",
66
66
  "@babel/runtime": "^7.0.0",
67
67
  "@emotion/react": "^11.7.1",
68
68
  "bind-event-listener": "^3.0.0",
@@ -73,7 +73,7 @@
73
73
  "uuid": "^3.1.0"
74
74
  },
75
75
  "peerDependencies": {
76
- "@atlaskit/editor-common": "^114.7.0",
76
+ "@atlaskit/editor-common": "^114.8.0",
77
77
  "react": "^18.2.0",
78
78
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
79
79
  },
@@ -120,9 +120,6 @@
120
120
  },
121
121
  "platform_editor_conditionally_add_sidebar_summary": {
122
122
  "type": "boolean"
123
- },
124
- "dst-a11y__replace-anchor-with-link__editor-core-ex": {
125
- "type": "boolean"
126
123
  }
127
124
  },
128
125
  "stricter": {