@atlaskit/link-create 4.2.1 → 4.2.2

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,13 @@
1
1
  # @atlaskit/link-create
2
2
 
3
+ ## 4.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#186419](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/186419)
8
+ [`4464c7e383adf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4464c7e383adf) -
9
+ NAVX-1054 cleaning up platform link create button migration fg
10
+
3
11
  ## 4.2.1
4
12
 
5
13
  ### Patch Changes
@@ -16,7 +16,7 @@ var CREATE_FORM_MIN_HEIGHT_IN_PX = exports.CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
16
16
  var LINK_CREATE_FORM_POST_CREATE_FIELD = exports.LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
17
17
  var PACKAGE_DATA = exports.PACKAGE_DATA = {
18
18
  packageName: "@atlaskit/link-create" || '',
19
- packageVersion: "4.2.0" || '',
19
+ packageVersion: "4.2.1" || '',
20
20
  component: COMPONENT_NAME,
21
21
  componentName: COMPONENT_NAME
22
22
  };
@@ -9,10 +9,8 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
9
9
  var _react = _interopRequireDefault(require("react"));
10
10
  var _reactIntlNext = require("react-intl-next");
11
11
  var _atlassianContext = require("@atlaskit/atlassian-context");
12
- var _button = _interopRequireDefault(require("@atlaskit/button"));
13
12
  var _emptyState = _interopRequireDefault(require("@atlaskit/empty-state"));
14
13
  var _link = _interopRequireDefault(require("@atlaskit/link"));
15
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
14
  var _messages = _interopRequireDefault(require("../../messages"));
17
15
  var _errorSvg = _interopRequireDefault(require("./error-svg"));
18
16
  var _messages2 = _interopRequireDefault(require("./messages"));
@@ -28,13 +26,7 @@ var ErrorBoundaryUI = exports.ErrorBoundaryUI = function ErrorBoundaryUI() {
28
26
  description: /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _messages2.default.description, {
29
27
  values: {
30
28
  a: function a(label) {
31
- return (0, _platformFeatureFlags.fg)('platform-link-create-button-migration') ? /*#__PURE__*/_react.default.createElement(_link.default, {
32
- href: (0, _atlassianContext.isFedRamp)() ? CONTACT_SUPPORT_LINK_FEDRAMP : CONTACT_SUPPORT_LINK,
33
- target: "_blank",
34
- rel: "noopener noreferrer"
35
- }, label) : /*#__PURE__*/_react.default.createElement(_button.default, {
36
- appearance: "link",
37
- spacing: "none",
29
+ return /*#__PURE__*/_react.default.createElement(_link.default, {
38
30
  href: (0, _atlassianContext.isFedRamp)() ? CONTACT_SUPPORT_LINK_FEDRAMP : CONTACT_SUPPORT_LINK,
39
31
  target: "_blank",
40
32
  rel: "noopener noreferrer"
@@ -10,7 +10,7 @@ export const CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
10
10
  export const LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
11
11
  export const PACKAGE_DATA = {
12
12
  packageName: "@atlaskit/link-create" || '',
13
- packageVersion: "4.2.0" || '',
13
+ packageVersion: "4.2.1" || '',
14
14
  component: COMPONENT_NAME,
15
15
  componentName: COMPONENT_NAME
16
16
  };
@@ -2,10 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
3
  import { FormattedMessage, useIntl } from 'react-intl-next';
4
4
  import { isFedRamp } from '@atlaskit/atlassian-context';
5
- import Button from '@atlaskit/button';
6
5
  import EmptyState from '@atlaskit/empty-state';
7
6
  import Link from '@atlaskit/link';
8
- import { fg } from '@atlaskit/platform-feature-flags';
9
7
  import commonMessages from '../../messages';
10
8
  import ErrorSVG from './error-svg';
11
9
  import messages from './messages';
@@ -20,13 +18,7 @@ export const ErrorBoundaryUI = () => {
20
18
  headingLevel: 2,
21
19
  description: /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.description, {
22
20
  values: {
23
- a: label => fg('platform-link-create-button-migration') ? /*#__PURE__*/React.createElement(Link, {
24
- href: isFedRamp() ? CONTACT_SUPPORT_LINK_FEDRAMP : CONTACT_SUPPORT_LINK,
25
- target: "_blank",
26
- rel: "noopener noreferrer"
27
- }, label) : /*#__PURE__*/React.createElement(Button, {
28
- appearance: "link",
29
- spacing: "none",
21
+ a: label => /*#__PURE__*/React.createElement(Link, {
30
22
  href: isFedRamp() ? CONTACT_SUPPORT_LINK_FEDRAMP : CONTACT_SUPPORT_LINK,
31
23
  target: "_blank",
32
24
  rel: "noopener noreferrer"
@@ -10,7 +10,7 @@ export var CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
10
10
  export var LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
11
11
  export var PACKAGE_DATA = {
12
12
  packageName: "@atlaskit/link-create" || '',
13
- packageVersion: "4.2.0" || '',
13
+ packageVersion: "4.2.1" || '',
14
14
  component: COMPONENT_NAME,
15
15
  componentName: COMPONENT_NAME
16
16
  };
@@ -2,10 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
3
  import { FormattedMessage, useIntl } from 'react-intl-next';
4
4
  import { isFedRamp } from '@atlaskit/atlassian-context';
5
- import Button from '@atlaskit/button';
6
5
  import EmptyState from '@atlaskit/empty-state';
7
6
  import Link from '@atlaskit/link';
8
- import { fg } from '@atlaskit/platform-feature-flags';
9
7
  import commonMessages from '../../messages';
10
8
  import ErrorSVG from './error-svg';
11
9
  import messages from './messages';
@@ -21,13 +19,7 @@ export var ErrorBoundaryUI = function ErrorBoundaryUI() {
21
19
  description: /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.description, {
22
20
  values: {
23
21
  a: function a(label) {
24
- return fg('platform-link-create-button-migration') ? /*#__PURE__*/React.createElement(Link, {
25
- href: isFedRamp() ? CONTACT_SUPPORT_LINK_FEDRAMP : CONTACT_SUPPORT_LINK,
26
- target: "_blank",
27
- rel: "noopener noreferrer"
28
- }, label) : /*#__PURE__*/React.createElement(Button, {
29
- appearance: "link",
30
- spacing: "none",
22
+ return /*#__PURE__*/React.createElement(Link, {
31
23
  href: isFedRamp() ? CONTACT_SUPPORT_LINK_FEDRAMP : CONTACT_SUPPORT_LINK,
32
24
  target: "_blank",
33
25
  rel: "noopener noreferrer"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "4.2.1",
3
+ "version": "4.2.2",
4
4
  "description": "The driver component of meta creation flow",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -51,12 +51,12 @@
51
51
  "@atlaskit/modal-dialog": "^14.2.0",
52
52
  "@atlaskit/platform-feature-flags": "^1.1.0",
53
53
  "@atlaskit/primitives": "^14.10.0",
54
- "@atlaskit/select": "^21.1.0",
54
+ "@atlaskit/select": "^21.2.0",
55
55
  "@atlaskit/smart-user-picker": "^8.0.0",
56
56
  "@atlaskit/spinner": "^18.0.0",
57
57
  "@atlaskit/textfield": "^8.0.0",
58
58
  "@atlaskit/theme": "^19.0.0",
59
- "@atlaskit/tokens": "^5.4.0",
59
+ "@atlaskit/tokens": "^5.5.0",
60
60
  "@babel/runtime": "^7.0.0",
61
61
  "@compiled/react": "^0.18.3",
62
62
  "debounce-promise": "^3.1.2",
@@ -125,9 +125,6 @@
125
125
  }
126
126
  },
127
127
  "platform-feature-flags": {
128
- "platform-link-create-button-migration": {
129
- "type": "boolean"
130
- },
131
128
  "dst-a11y__replace-anchor-with-link__linking-platfo": {
132
129
  "type": "boolean"
133
130
  },