@atlaskit/link-create 2.9.0 → 2.10.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 +8 -0
- package/dist/cjs/common/constants.js +1 -1
- package/dist/cjs/ui/create-form/form-footer/main.js +3 -2
- package/dist/es2019/common/constants.js +1 -1
- package/dist/es2019/ui/create-form/form-footer/main.js +3 -2
- package/dist/esm/common/constants.js +1 -1
- package/dist/esm/ui/create-form/form-footer/main.js +3 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/link-create
|
|
2
2
|
|
|
3
|
+
## 2.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#117215](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117215)
|
|
8
|
+
[`3f2423168897d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3f2423168897d) -
|
|
9
|
+
[ux] Updated components to use new iconography behind a feature flag
|
|
10
|
+
|
|
3
11
|
## 2.9.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -13,7 +13,7 @@ var CREATE_FORM_MIN_HEIGHT_IN_PX = exports.CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
|
|
|
13
13
|
var LINK_CREATE_FORM_POST_CREATE_FIELD = exports.LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
|
|
14
14
|
var PACKAGE_DATA = exports.PACKAGE_DATA = {
|
|
15
15
|
packageName: "@atlaskit/link-create" || '',
|
|
16
|
-
packageVersion: "2.
|
|
16
|
+
packageVersion: "2.10.0" || '',
|
|
17
17
|
component: COMPONENT_NAME,
|
|
18
18
|
componentName: COMPONENT_NAME
|
|
19
19
|
};
|
|
@@ -8,7 +8,7 @@ exports.CreateFormFooter = CreateFormFooter;
|
|
|
8
8
|
var _react = require("@emotion/react");
|
|
9
9
|
var _reactIntlNext = require("react-intl-next");
|
|
10
10
|
var _button = require("@atlaskit/button");
|
|
11
|
-
var _error = _interopRequireDefault(require("@atlaskit/icon/
|
|
11
|
+
var _error = _interopRequireDefault(require("@atlaskit/icon/core/migration/error"));
|
|
12
12
|
var _Button = require("../../../common/ui/Button");
|
|
13
13
|
var _editButton = require("./edit-button");
|
|
14
14
|
var _messages = require("./messages");
|
|
@@ -47,7 +47,8 @@ function CreateFormFooter(_ref) {
|
|
|
47
47
|
"data-testid": "".concat(testId, "-error")
|
|
48
48
|
}, (0, _react.jsx)(_error.default, {
|
|
49
49
|
label: formErrorMessage,
|
|
50
|
-
|
|
50
|
+
color: "var(--ds-icon-danger, #E34935)",
|
|
51
|
+
spacing: "spacious"
|
|
51
52
|
}), formErrorMessage), (0, _react.jsx)(_button.ButtonGroup, null, (0, _react.jsx)(_Button.Button, {
|
|
52
53
|
type: "button",
|
|
53
54
|
actionSubjectId: "cancel",
|
|
@@ -7,7 +7,7 @@ export const CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
|
|
|
7
7
|
export const LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
|
|
8
8
|
export const PACKAGE_DATA = {
|
|
9
9
|
packageName: "@atlaskit/link-create" || '',
|
|
10
|
-
packageVersion: "2.
|
|
10
|
+
packageVersion: "2.10.0" || '',
|
|
11
11
|
component: COMPONENT_NAME,
|
|
12
12
|
componentName: COMPONENT_NAME
|
|
13
13
|
};
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
7
|
import { useIntl } from 'react-intl-next';
|
|
8
8
|
import { ButtonGroup } from '@atlaskit/button';
|
|
9
|
-
import ErrorIcon from '@atlaskit/icon/
|
|
9
|
+
import ErrorIcon from '@atlaskit/icon/core/migration/error';
|
|
10
10
|
import { Button } from '../../../common/ui/Button';
|
|
11
11
|
import { EditButton } from './edit-button';
|
|
12
12
|
import { messages } from './messages';
|
|
@@ -40,7 +40,8 @@ export function CreateFormFooter({
|
|
|
40
40
|
"data-testid": `${testId}-error`
|
|
41
41
|
}, jsx(ErrorIcon, {
|
|
42
42
|
label: formErrorMessage,
|
|
43
|
-
|
|
43
|
+
color: "var(--ds-icon-danger, #E34935)",
|
|
44
|
+
spacing: "spacious"
|
|
44
45
|
}), formErrorMessage), jsx(ButtonGroup, null, jsx(Button, {
|
|
45
46
|
type: "button",
|
|
46
47
|
actionSubjectId: "cancel",
|
|
@@ -7,7 +7,7 @@ export var CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
|
|
|
7
7
|
export var LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
|
|
8
8
|
export var PACKAGE_DATA = {
|
|
9
9
|
packageName: "@atlaskit/link-create" || '',
|
|
10
|
-
packageVersion: "2.
|
|
10
|
+
packageVersion: "2.10.0" || '',
|
|
11
11
|
component: COMPONENT_NAME,
|
|
12
12
|
componentName: COMPONENT_NAME
|
|
13
13
|
};
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
7
|
import { useIntl } from 'react-intl-next';
|
|
8
8
|
import { ButtonGroup } from '@atlaskit/button';
|
|
9
|
-
import ErrorIcon from '@atlaskit/icon/
|
|
9
|
+
import ErrorIcon from '@atlaskit/icon/core/migration/error';
|
|
10
10
|
import { Button } from '../../../common/ui/Button';
|
|
11
11
|
import { EditButton } from './edit-button';
|
|
12
12
|
import { messages } from './messages';
|
|
@@ -39,7 +39,8 @@ export function CreateFormFooter(_ref) {
|
|
|
39
39
|
"data-testid": "".concat(testId, "-error")
|
|
40
40
|
}, jsx(ErrorIcon, {
|
|
41
41
|
label: formErrorMessage,
|
|
42
|
-
|
|
42
|
+
color: "var(--ds-icon-danger, #E34935)",
|
|
43
|
+
spacing: "spacious"
|
|
43
44
|
}), formErrorMessage), jsx(ButtonGroup, null, jsx(Button, {
|
|
44
45
|
type: "button",
|
|
45
46
|
actionSubjectId: "cancel",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-create",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0",
|
|
4
4
|
"description": "The driver component of meta creation flow",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
43
43
|
"@atlaskit/atlassian-context": "^0.0.0",
|
|
44
|
-
"@atlaskit/button": "^19.
|
|
44
|
+
"@atlaskit/button": "^19.1.0",
|
|
45
45
|
"@atlaskit/empty-state": "^7.9.0",
|
|
46
46
|
"@atlaskit/form": "^10.4.0",
|
|
47
47
|
"@atlaskit/icon": "^22.7.0",
|