@atlaskit/link-create 0.4.1 → 0.4.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,11 @@
1
1
  # @atlaskit/link-create
2
2
 
3
+ ## 0.4.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`93af54caca2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93af54caca2) - EDM-6553: no functionality change, just updating UI so that there is padding between the cancel and create button for link-create. Also updated the dropdown error message.
8
+
3
9
  ## 0.4.1
4
10
 
5
11
  ### Patch Changes
@@ -13,6 +13,7 @@ var _react = require("react");
13
13
  var _react2 = require("@emotion/react");
14
14
  var _reactIntlNext = require("react-intl-next");
15
15
  var _analyticsNext = require("@atlaskit/analytics-next");
16
+ var _button = require("@atlaskit/button");
16
17
  var _loadingButton = _interopRequireDefault(require("@atlaskit/button/loading-button"));
17
18
  var _standardButton = _interopRequireDefault(require("@atlaskit/button/standard-button"));
18
19
  var _form = _interopRequireWildcard(require("@atlaskit/form"));
@@ -95,7 +96,7 @@ var CreateForm = function CreateForm(_ref) {
95
96
  }, (0, _react2.jsx)(_error.default, {
96
97
  label: formErrorMessage,
97
98
  primaryColor: "var(--ds-icon-danger, #E34935)"
98
- }), formErrorMessage), (0, _react2.jsx)(_standardButton.default, {
99
+ }), formErrorMessage), (0, _react2.jsx)(_button.ButtonGroup, null, (0, _react2.jsx)(_standardButton.default, {
99
100
  appearance: "subtle",
100
101
  onClick: handleCancel,
101
102
  testId: 'cancel-button'
@@ -104,7 +105,7 @@ var CreateForm = function CreateForm(_ref) {
104
105
  type: "submit",
105
106
  isLoading: submitting,
106
107
  testId: 'create-button'
107
- }, intl.formatMessage(_messages.messages.create))));
108
+ }, intl.formatMessage(_messages.messages.create)))));
108
109
  });
109
110
  };
110
111
  exports.CreateForm = CreateForm;
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "sideEffects": false
5
5
  }
@@ -4,6 +4,7 @@ import { useCallback } from 'react';
4
4
  import { css, jsx } from '@emotion/react';
5
5
  import { useIntl } from 'react-intl-next';
6
6
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
7
+ import { ButtonGroup } from '@atlaskit/button';
7
8
  import LoadingButton from '@atlaskit/button/loading-button';
8
9
  import Button from '@atlaskit/button/standard-button';
9
10
  import Form, { FormFooter, FormSection } from '@atlaskit/form';
@@ -68,7 +69,7 @@ export const CreateForm = ({
68
69
  }, jsx(ErrorIcon, {
69
70
  label: formErrorMessage,
70
71
  primaryColor: "var(--ds-icon-danger, #E34935)"
71
- }), formErrorMessage), jsx(Button, {
72
+ }), formErrorMessage), jsx(ButtonGroup, null, jsx(Button, {
72
73
  appearance: "subtle",
73
74
  onClick: handleCancel,
74
75
  testId: 'cancel-button'
@@ -77,5 +78,5 @@ export const CreateForm = ({
77
78
  type: "submit",
78
79
  isLoading: submitting,
79
80
  testId: 'create-button'
80
- }, intl.formatMessage(messages.create)))));
81
+ }, intl.formatMessage(messages.create))))));
81
82
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "sideEffects": false
5
5
  }
@@ -6,6 +6,7 @@ import { useCallback } from 'react';
6
6
  import { css, jsx } from '@emotion/react';
7
7
  import { useIntl } from 'react-intl-next';
8
8
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
9
+ import { ButtonGroup } from '@atlaskit/button';
9
10
  import LoadingButton from '@atlaskit/button/loading-button';
10
11
  import Button from '@atlaskit/button/standard-button';
11
12
  import Form, { FormFooter, FormSection } from '@atlaskit/form';
@@ -84,7 +85,7 @@ export var CreateForm = function CreateForm(_ref) {
84
85
  }, jsx(ErrorIcon, {
85
86
  label: formErrorMessage,
86
87
  primaryColor: "var(--ds-icon-danger, #E34935)"
87
- }), formErrorMessage), jsx(Button, {
88
+ }), formErrorMessage), jsx(ButtonGroup, null, jsx(Button, {
88
89
  appearance: "subtle",
89
90
  onClick: handleCancel,
90
91
  testId: 'cancel-button'
@@ -93,6 +94,6 @@ export var CreateForm = function CreateForm(_ref) {
93
94
  type: "submit",
94
95
  isLoading: submitting,
95
96
  testId: 'create-button'
96
- }, intl.formatMessage(messages.create))));
97
+ }, intl.formatMessage(messages.create)))));
97
98
  });
98
99
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "The driver component of meta creation flow",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "devDependencies": {
46
46
  "@atlaskit/docs": "*",
47
- "@atlaskit/link-picker": "^1.19.0",
47
+ "@atlaskit/link-picker": "^1.20.0",
48
48
  "@atlaskit/link-provider": "^1.6.0",
49
49
  "@atlaskit/link-test-helpers": "^2.3.0",
50
50
  "@atlaskit/popup": "^1.6.0",
@@ -54,7 +54,8 @@
54
54
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
55
55
  "@atlassian/link-create-confluence": "^5.0.0",
56
56
  "@atlassian/link-create-presets": "^3.0.0",
57
- "@atlassian/link-picker-plugins": "^19.0.0",
57
+ "@atlassian/link-picker-atlassian-plugin": "^30.0.0",
58
+ "@atlassian/link-picker-plugins": "^20.0.0",
58
59
  "@atlassian/recent-work-client": "^1.8.0",
59
60
  "@atlassian/search-client": "^0.8.0",
60
61
  "@testing-library/react": "^12.1.5",