@atlaskit/link-datasource 4.0.0 → 4.0.1

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,14 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 4.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#127443](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/127443)
8
+ [`6b86eb614d535`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6b86eb614d535) -
9
+ [ux] Clean up feature gate fix_a11y_violations_in_link_datasource
10
+ - Updated dependencies
11
+
3
12
  ## 4.0.0
4
13
 
5
14
  ### Major Changes
@@ -17,7 +17,6 @@ var _reactIntlNext = require("react-intl-next");
17
17
  var _button = _interopRequireDefault(require("@atlaskit/button"));
18
18
  var _emptyState = _interopRequireDefault(require("@atlaskit/empty-state"));
19
19
  var _outboundAuthFlowClient = require("@atlaskit/outbound-auth-flow-client");
20
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
21
20
  var _compiled = require("@atlaskit/primitives/compiled");
22
21
  var _analytics = require("../../../analytics");
23
22
  var _useErrorLogger2 = _interopRequireDefault(require("../../../hooks/useErrorLogger"));
@@ -86,11 +85,10 @@ var ProviderAuthRequired = exports.ProviderAuthRequired = function ProviderAuthR
86
85
  return _ref2.apply(this, arguments);
87
86
  };
88
87
  }();
89
- var AnchorFFed = (0, _platformFeatureFlags.fg)('fix_a11y_violations_in_link_datasource') ? _compiled.Anchor : 'a';
90
88
  var renderAuthDescription = function renderAuthDescription() {
91
89
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, formatMessage(_messages.loadingErrorMessages.authScreenDescriptionText, {
92
90
  providerName: providerName
93
- }), ' ', /*#__PURE__*/_react.default.createElement(AnchorFFed, {
91
+ }), ' ', /*#__PURE__*/_react.default.createElement(_compiled.Anchor, {
94
92
  href: learnMoreAboutSmartLinksUrl,
95
93
  target: "_blank",
96
94
  rel: "noreferrer noopener"
@@ -6,7 +6,6 @@ import { useIntl } from 'react-intl-next';
6
6
  import Button from '@atlaskit/button';
7
7
  import EmptyState from '@atlaskit/empty-state';
8
8
  import { AuthError, auth as outboundAuth } from '@atlaskit/outbound-auth-flow-client';
9
- import { fg } from '@atlaskit/platform-feature-flags';
10
9
  import { Anchor } from '@atlaskit/primitives/compiled';
11
10
  import { useDatasourceAnalyticsEvents } from '../../../analytics';
12
11
  import useErrorLogger from '../../../hooks/useErrorLogger';
@@ -57,10 +56,9 @@ export const ProviderAuthRequired = ({
57
56
  onAuthError === null || onAuthError === void 0 ? void 0 : onAuthError();
58
57
  }
59
58
  };
60
- const AnchorFFed = fg('fix_a11y_violations_in_link_datasource') ? Anchor : 'a';
61
59
  const renderAuthDescription = () => /*#__PURE__*/React.createElement(React.Fragment, null, formatMessage(loadingErrorMessages.authScreenDescriptionText, {
62
60
  providerName
63
- }), ' ', /*#__PURE__*/React.createElement(AnchorFFed, {
61
+ }), ' ', /*#__PURE__*/React.createElement(Anchor, {
64
62
  href: learnMoreAboutSmartLinksUrl,
65
63
  target: "_blank",
66
64
  rel: "noreferrer noopener"
@@ -9,7 +9,6 @@ import { useIntl } from 'react-intl-next';
9
9
  import Button from '@atlaskit/button';
10
10
  import EmptyState from '@atlaskit/empty-state';
11
11
  import { AuthError, auth as outboundAuth } from '@atlaskit/outbound-auth-flow-client';
12
- import { fg } from '@atlaskit/platform-feature-flags';
13
12
  import { Anchor } from '@atlaskit/primitives/compiled';
14
13
  import { useDatasourceAnalyticsEvents } from '../../../analytics';
15
14
  import useErrorLogger from '../../../hooks/useErrorLogger';
@@ -76,11 +75,10 @@ export var ProviderAuthRequired = function ProviderAuthRequired(_ref) {
76
75
  return _ref2.apply(this, arguments);
77
76
  };
78
77
  }();
79
- var AnchorFFed = fg('fix_a11y_violations_in_link_datasource') ? Anchor : 'a';
80
78
  var renderAuthDescription = function renderAuthDescription() {
81
79
  return /*#__PURE__*/React.createElement(React.Fragment, null, formatMessage(loadingErrorMessages.authScreenDescriptionText, {
82
80
  providerName: providerName
83
- }), ' ', /*#__PURE__*/React.createElement(AnchorFFed, {
81
+ }), ' ', /*#__PURE__*/React.createElement(Anchor, {
84
82
  href: learnMoreAboutSmartLinksUrl,
85
83
  target: "_blank",
86
84
  rel: "noreferrer noopener"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -177,9 +177,6 @@
177
177
  "platform-datasources-enable-two-way-sync-assignee": {
178
178
  "type": "boolean"
179
179
  },
180
- "fix_a11y_violations_in_link_datasource": {
181
- "type": "boolean"
182
- },
183
180
  "confluence-issue-terminology-refresh": {
184
181
  "type": "boolean"
185
182
  },