@atlaskit/help-article 6.0.0 → 6.0.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 +16 -0
- package/dist/cjs/components/HelpArticle.js +2 -2
- package/dist/es2019/components/HelpArticle.js +1 -1
- package/dist/esm/components/HelpArticle.js +1 -1
- package/dist/types/components/styled.d.ts +1 -1
- package/dist/types-ts4.5/components/styled.d.ts +1 -1
- package/package.json +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/help-article
|
|
2
2
|
|
|
3
|
+
## 6.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#142746](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/142746)
|
|
8
|
+
[`2fdbd6f2e517d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2fdbd6f2e517d) -
|
|
9
|
+
Migrated `@atlaskit/primitives` to `@atlaskit/primitives/compiled`
|
|
10
|
+
|
|
11
|
+
## 6.0.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#141987](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/141987)
|
|
16
|
+
[`f410194e60135`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f410194e60135) -
|
|
17
|
+
Updated sideEffects and techstack in package.json
|
|
18
|
+
|
|
3
19
|
## 6.0.0
|
|
4
20
|
|
|
5
21
|
### Major Changes
|
|
@@ -9,7 +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
|
|
12
|
+
var _compiled = require("@atlaskit/primitives/compiled");
|
|
13
13
|
var _styled = require("./styled");
|
|
14
14
|
var _ArticleBody = _interopRequireDefault(require("./ArticleBody"));
|
|
15
15
|
var HelpArticle = function HelpArticle(props) {
|
|
@@ -26,7 +26,7 @@ var HelpArticle = function HelpArticle(props) {
|
|
|
26
26
|
target: "_blank"
|
|
27
27
|
}, /*#__PURE__*/_react.default.createElement(_heading.default, {
|
|
28
28
|
size: "large"
|
|
29
|
-
}, title, /*#__PURE__*/_react.default.createElement(
|
|
29
|
+
}, title, /*#__PURE__*/_react.default.createElement(_compiled.Text, null, " "), /*#__PURE__*/_react.default.createElement(_linkExternalShortcut.default, {
|
|
30
30
|
color: "currentColor",
|
|
31
31
|
label: "link icon",
|
|
32
32
|
LEGACY_size: "small"
|
|
@@ -2,7 +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
|
+
import { Text } from '@atlaskit/primitives/compiled';
|
|
6
6
|
import { ArticleContentInner, ArticleContentTitle, ArticleContentTitleLink } from './styled';
|
|
7
7
|
import ArticleBody from './ArticleBody';
|
|
8
8
|
const HelpArticle = props => {
|
|
@@ -2,7 +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
|
+
import { Text } from '@atlaskit/primitives/compiled';
|
|
6
6
|
import { ArticleContentInner, ArticleContentTitle, ArticleContentTitleLink } from './styled';
|
|
7
7
|
import ArticleBody from './ArticleBody';
|
|
8
8
|
var HelpArticle = function HelpArticle(props) {
|
|
@@ -9,7 +9,7 @@ export declare const ArticleContentInner: ({ children }: {
|
|
|
9
9
|
export declare const ArticleContentTitle: ({ children }: {
|
|
10
10
|
children: React.ReactNode;
|
|
11
11
|
}) => JSX.Element;
|
|
12
|
-
export declare const ArticleContentTitleLink: ({ href, target, children }: {
|
|
12
|
+
export declare const ArticleContentTitleLink: ({ href, target, children, }: {
|
|
13
13
|
href: string;
|
|
14
14
|
target: string;
|
|
15
15
|
children: React.ReactNode;
|
|
@@ -9,7 +9,7 @@ export declare const ArticleContentInner: ({ children }: {
|
|
|
9
9
|
export declare const ArticleContentTitle: ({ children }: {
|
|
10
10
|
children: React.ReactNode;
|
|
11
11
|
}) => JSX.Element;
|
|
12
|
-
export declare const ArticleContentTitleLink: ({ href, target, children }: {
|
|
12
|
+
export declare const ArticleContentTitleLink: ({ href, target, children, }: {
|
|
13
13
|
href: string;
|
|
14
14
|
target: string;
|
|
15
15
|
children: React.ReactNode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/help-article",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.2",
|
|
4
4
|
"description": "A cross-product help-article component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"sideEffects": [
|
|
24
|
-
"
|
|
24
|
+
"**/*.compiled.css"
|
|
25
25
|
],
|
|
26
26
|
"atlaskit:src": "src/index.ts",
|
|
27
27
|
"af:exports": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@atlaskit/icon": "^25.6.0",
|
|
41
41
|
"@atlaskit/primitives": "^14.4.0",
|
|
42
42
|
"@atlaskit/renderer": "^114.9.0",
|
|
43
|
-
"@atlaskit/tokens": "^4.
|
|
43
|
+
"@atlaskit/tokens": "^4.8.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"@compiled/react": "^0.18.3",
|
|
46
46
|
"lodash": "^4.17.21"
|
|
@@ -65,6 +65,9 @@
|
|
|
65
65
|
"design-tokens": [
|
|
66
66
|
"color",
|
|
67
67
|
"spacing"
|
|
68
|
+
],
|
|
69
|
+
"styling": [
|
|
70
|
+
"compiled"
|
|
68
71
|
]
|
|
69
72
|
}
|
|
70
73
|
}
|