@atlaskit/help-article 4.3.1 → 4.4.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 +20 -0
- package/afm-cc/tsconfig.json +3 -0
- package/afm-jira/tsconfig.json +3 -0
- package/afm-post-office/tsconfig.json +3 -0
- package/dist/cjs/components/HelpArticle.js +2 -1
- package/dist/es2019/components/HelpArticle.js +2 -1
- package/dist/esm/components/HelpArticle.js +2 -1
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/help-article
|
|
2
2
|
|
|
3
|
+
## 4.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
|
|
8
|
+
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
|
|
9
|
+
Update `React` from v16 to v18
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 4.3.2
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#103685](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103685)
|
|
20
|
+
[`eaf3b0b6f8112`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/eaf3b0b6f8112) -
|
|
21
|
+
Typography uplift for help packages
|
|
22
|
+
|
|
3
23
|
## 4.3.1
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
package/afm-jira/tsconfig.json
CHANGED
|
@@ -9,6 +9,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
var _linkExternalShortcut = _interopRequireDefault(require("@atlaskit/icon/core/migration/link-external--shortcut"));
|
|
10
10
|
var _heading = _interopRequireDefault(require("@atlaskit/heading"));
|
|
11
11
|
var _HelpArticle = require("../model/HelpArticle");
|
|
12
|
+
var _primitives = require("@atlaskit/primitives");
|
|
12
13
|
var _styled = require("./styled");
|
|
13
14
|
var _ArticleBody = _interopRequireDefault(require("./ArticleBody"));
|
|
14
15
|
var HelpArticle = function HelpArticle(props) {
|
|
@@ -25,7 +26,7 @@ var HelpArticle = function HelpArticle(props) {
|
|
|
25
26
|
target: "_blank"
|
|
26
27
|
}, /*#__PURE__*/_react.default.createElement(_heading.default, {
|
|
27
28
|
size: "large"
|
|
28
|
-
}, title, /*#__PURE__*/_react.default.createElement(
|
|
29
|
+
}, title, /*#__PURE__*/_react.default.createElement(_primitives.Text, null, " "), /*#__PURE__*/_react.default.createElement(_linkExternalShortcut.default, {
|
|
29
30
|
color: "currentColor",
|
|
30
31
|
label: "link icon",
|
|
31
32
|
LEGACY_size: "small"
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import ShortcutIcon from '@atlaskit/icon/core/migration/link-external--shortcut';
|
|
3
3
|
import Heading from '@atlaskit/heading';
|
|
4
4
|
import { BODY_FORMAT_TYPES } from '../model/HelpArticle';
|
|
5
|
+
import { Text } from '@atlaskit/primitives';
|
|
5
6
|
import { ArticleContentInner, ArticleContentTitle, ArticleContentTitleLink } from './styled';
|
|
6
7
|
import ArticleBody from './ArticleBody';
|
|
7
8
|
const HelpArticle = props => {
|
|
@@ -18,7 +19,7 @@ const HelpArticle = props => {
|
|
|
18
19
|
target: "_blank"
|
|
19
20
|
}, /*#__PURE__*/React.createElement(Heading, {
|
|
20
21
|
size: "large"
|
|
21
|
-
}, title, /*#__PURE__*/React.createElement(
|
|
22
|
+
}, title, /*#__PURE__*/React.createElement(Text, null, " "), /*#__PURE__*/React.createElement(ShortcutIcon, {
|
|
22
23
|
color: "currentColor",
|
|
23
24
|
label: "link icon",
|
|
24
25
|
LEGACY_size: "small"
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import ShortcutIcon from '@atlaskit/icon/core/migration/link-external--shortcut';
|
|
3
3
|
import Heading from '@atlaskit/heading';
|
|
4
4
|
import { BODY_FORMAT_TYPES } from '../model/HelpArticle';
|
|
5
|
+
import { Text } from '@atlaskit/primitives';
|
|
5
6
|
import { ArticleContentInner, ArticleContentTitle, ArticleContentTitleLink } from './styled';
|
|
6
7
|
import ArticleBody from './ArticleBody';
|
|
7
8
|
var HelpArticle = function HelpArticle(props) {
|
|
@@ -18,7 +19,7 @@ var HelpArticle = function HelpArticle(props) {
|
|
|
18
19
|
target: "_blank"
|
|
19
20
|
}, /*#__PURE__*/React.createElement(Heading, {
|
|
20
21
|
size: "large"
|
|
21
|
-
}, title, /*#__PURE__*/React.createElement(
|
|
22
|
+
}, title, /*#__PURE__*/React.createElement(Text, null, " "), /*#__PURE__*/React.createElement(ShortcutIcon, {
|
|
22
23
|
color: "currentColor",
|
|
23
24
|
label: "link icon",
|
|
24
25
|
LEGACY_size: "small"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/help-article",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"description": "A cross-product help-article component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -34,10 +34,11 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/css-reset": "^6.11.0",
|
|
37
|
-
"@atlaskit/heading": "^4.
|
|
38
|
-
"@atlaskit/icon": "^23.
|
|
39
|
-
"@atlaskit/
|
|
40
|
-
"@atlaskit/
|
|
37
|
+
"@atlaskit/heading": "^4.1.0",
|
|
38
|
+
"@atlaskit/icon": "^23.5.0",
|
|
39
|
+
"@atlaskit/primitives": "^13.4.0",
|
|
40
|
+
"@atlaskit/renderer": "^112.12.0",
|
|
41
|
+
"@atlaskit/tokens": "^3.3.0",
|
|
41
42
|
"@babel/runtime": "^7.0.0",
|
|
42
43
|
"@emotion/styled": "^11.0.0",
|
|
43
44
|
"lodash": "^4.17.21"
|
|
@@ -48,7 +49,7 @@
|
|
|
48
49
|
},
|
|
49
50
|
"devDependencies": {
|
|
50
51
|
"enzyme": "^3.10.0",
|
|
51
|
-
"react-test-renderer": "^
|
|
52
|
+
"react-test-renderer": "^18.2.0",
|
|
52
53
|
"typescript": "~5.4.2"
|
|
53
54
|
},
|
|
54
55
|
"keywords": [
|