@atlaskit/link-create 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,12 @@
1
1
  # @atlaskit/link-create
2
2
 
3
+ ## 1.9.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#43347](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43347) [`378d75bbaad`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d75bbaad) - Clean up outer error boundary feature flag
8
+ - Updated dependencies
9
+
3
10
  ## 1.9.2
4
11
 
5
12
  ### Patch Changes
@@ -11,7 +11,6 @@ var _react = require("react");
11
11
  var _react2 = require("@emotion/react");
12
12
  var _analyticsNext = require("@atlaskit/analytics-next");
13
13
  var _intlMessagesProvider = require("@atlaskit/intl-messages-provider");
14
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
15
14
  var _constants = require("../common/constants");
16
15
  var _errorBoundaryModal = require("../common/ui/error-boundary-modal");
17
16
  var _analytics = require("../common/utils/analytics");
@@ -23,19 +22,16 @@ var _errorBoundary = require("./link-create/error-boundary");
23
22
 
24
23
  var LinkCreateWithAnalyticsContext = (0, _analytics.withLinkCreateAnalyticsContext)( /*#__PURE__*/(0, _react.memo)(function (_ref) {
25
24
  var props = (0, _extends2.default)({}, ((0, _objectDestructuringEmpty2.default)(_ref), _ref));
26
- if ((0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.link-create.outer-error-boundary')) {
27
- return (0, _react2.jsx)(_errorBoundary.ErrorBoundary, {
28
- errorComponent: (0, _react2.jsx)(_errorBoundaryModal.ErrorBoundaryModal, {
29
- active: props.active,
30
- onClose: props.onCancel
31
- })
32
- }, (0, _react2.jsx)(_linkCreate.default, props));
33
- }
34
- return (0, _react2.jsx)(_linkCreate.default, props);
25
+ return (0, _react2.jsx)(_errorBoundary.ErrorBoundary, {
26
+ errorComponent: (0, _react2.jsx)(_errorBoundaryModal.ErrorBoundaryModal, {
27
+ active: props.active,
28
+ onClose: props.onCancel
29
+ })
30
+ }, (0, _react2.jsx)(_linkCreate.default, props));
35
31
  }));
36
32
  var PACKAGE_DATA = exports.PACKAGE_DATA = {
37
33
  packageName: "@atlaskit/link-create" || '',
38
- packageVersion: "1.9.2" || '',
34
+ packageVersion: "1.9.3" || '',
39
35
  componentName: _constants.COMPONENT_NAME,
40
36
  source: _constants.COMPONENT_NAME
41
37
  };
@@ -3,7 +3,6 @@ import { memo } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
4
  import { AnalyticsContext } from '@atlaskit/analytics-next';
5
5
  import { IntlMessagesProvider } from '@atlaskit/intl-messages-provider';
6
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
7
6
  import { COMPONENT_NAME } from '../common/constants';
8
7
  import { ErrorBoundaryModal } from '../common/ui/error-boundary-modal';
9
8
  import { withLinkCreateAnalyticsContext } from '../common/utils/analytics';
@@ -14,19 +13,16 @@ import { ErrorBoundary } from './link-create/error-boundary';
14
13
  const LinkCreateWithAnalyticsContext = withLinkCreateAnalyticsContext( /*#__PURE__*/memo(({
15
14
  ...props
16
15
  }) => {
17
- if (getBooleanFF('platform.linking-platform.link-create.outer-error-boundary')) {
18
- return jsx(ErrorBoundary, {
19
- errorComponent: jsx(ErrorBoundaryModal, {
20
- active: props.active,
21
- onClose: props.onCancel
22
- })
23
- }, jsx(LinkCreate, props));
24
- }
25
- return jsx(LinkCreate, props);
16
+ return jsx(ErrorBoundary, {
17
+ errorComponent: jsx(ErrorBoundaryModal, {
18
+ active: props.active,
19
+ onClose: props.onCancel
20
+ })
21
+ }, jsx(LinkCreate, props));
26
22
  }));
27
23
  export const PACKAGE_DATA = {
28
24
  packageName: "@atlaskit/link-create" || '',
29
- packageVersion: "1.9.2" || '',
25
+ packageVersion: "1.9.3" || '',
30
26
  componentName: COMPONENT_NAME,
31
27
  source: COMPONENT_NAME
32
28
  };
@@ -5,7 +5,6 @@ import { memo } from 'react';
5
5
  import { jsx } from '@emotion/react';
6
6
  import { AnalyticsContext } from '@atlaskit/analytics-next';
7
7
  import { IntlMessagesProvider } from '@atlaskit/intl-messages-provider';
8
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
9
8
  import { COMPONENT_NAME } from '../common/constants';
10
9
  import { ErrorBoundaryModal } from '../common/ui/error-boundary-modal';
11
10
  import { withLinkCreateAnalyticsContext } from '../common/utils/analytics';
@@ -15,19 +14,16 @@ import LinkCreate from './link-create';
15
14
  import { ErrorBoundary } from './link-create/error-boundary';
16
15
  var LinkCreateWithAnalyticsContext = withLinkCreateAnalyticsContext( /*#__PURE__*/memo(function (_ref) {
17
16
  var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
18
- if (getBooleanFF('platform.linking-platform.link-create.outer-error-boundary')) {
19
- return jsx(ErrorBoundary, {
20
- errorComponent: jsx(ErrorBoundaryModal, {
21
- active: props.active,
22
- onClose: props.onCancel
23
- })
24
- }, jsx(LinkCreate, props));
25
- }
26
- return jsx(LinkCreate, props);
17
+ return jsx(ErrorBoundary, {
18
+ errorComponent: jsx(ErrorBoundaryModal, {
19
+ active: props.active,
20
+ onClose: props.onCancel
21
+ })
22
+ }, jsx(LinkCreate, props));
27
23
  }));
28
24
  export var PACKAGE_DATA = {
29
25
  packageName: "@atlaskit/link-create" || '',
30
- packageVersion: "1.9.2" || '',
26
+ packageVersion: "1.9.3" || '',
31
27
  componentName: COMPONENT_NAME,
32
28
  source: COMPONENT_NAME
33
29
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "1.9.2",
3
+ "version": "1.9.3",
4
4
  "description": "The driver component of meta creation flow",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -38,7 +38,7 @@
38
38
  "@atlaskit/button": "^16.16.0",
39
39
  "@atlaskit/empty-state": "^7.6.0",
40
40
  "@atlaskit/form": "^9.0.0",
41
- "@atlaskit/icon": "^21.12.0",
41
+ "@atlaskit/icon": "^22.0.0",
42
42
  "@atlaskit/intl-messages-provider": "^1.0.0",
43
43
  "@atlaskit/linking-common": "^4.18.0",
44
44
  "@atlaskit/modal-dialog": "^12.8.0",
@@ -119,9 +119,6 @@
119
119
  "platform.linking-platform.link-create.confirm-dismiss-dialog": {
120
120
  "type": "boolean"
121
121
  },
122
- "platform.linking-platform.link-create.outer-error-boundary": {
123
- "type": "boolean"
124
- },
125
122
  "platform.linking-platform.link-create.enable-sentry-client": {
126
123
  "type": "boolean"
127
124
  }