@atlaskit/help 7.2.19 → 7.2.21
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 +12 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/index.js +1 -1
- package/dist/cjs/components/Article/WhatsNewArticle/index.js +1 -1
- package/dist/cjs/components/Article/index.js +2 -2
- package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/cjs/components/ArticlesList/ArticlesListItem/styled.js +47 -22
- package/dist/cjs/components/HelpContentButton/index.js +1 -1
- package/dist/cjs/components/RelatedArticles/index.js +1 -1
- package/dist/cjs/components/Search/SearchInput/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/index.js +1 -1
- package/dist/es2019/components/Article/WhatsNewArticle/index.js +1 -1
- package/dist/es2019/components/Article/index.js +2 -2
- package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/es2019/components/ArticlesList/ArticlesListItem/styled.js +46 -48
- package/dist/es2019/components/HelpContentButton/index.js +1 -1
- package/dist/es2019/components/RelatedArticles/index.js +1 -1
- package/dist/es2019/components/Search/SearchInput/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -1
- package/dist/esm/components/Article/HelpArticle/index.js +1 -1
- package/dist/esm/components/Article/WhatsNewArticle/index.js +1 -1
- package/dist/esm/components/Article/index.js +2 -2
- package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/esm/components/ArticlesList/ArticlesListItem/styled.js +45 -21
- package/dist/esm/components/HelpContentButton/index.js +1 -1
- package/dist/esm/components/RelatedArticles/index.js +1 -1
- package/dist/esm/components/Search/SearchInput/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/docs/0-intro.tsx +2 -17
- package/package.json +12 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/help
|
|
2
2
|
|
|
3
|
+
## 7.2.21
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#77778](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77778) [`7fd2dabb944a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7fd2dabb944a) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
|
|
8
|
+
|
|
9
|
+
## 7.2.20
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#72381](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72381) [`613a669ad9bb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/613a669ad9bb) - Enrolling help packages to push model in JFE.
|
|
14
|
+
|
|
3
15
|
## 7.2.19
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/cjs/analytics.js
CHANGED
|
@@ -14,5 +14,5 @@ var createAndFire = exports.createAndFire = x.createAndFireEvent('atlaskit');
|
|
|
14
14
|
var defaultAnalyticsAttributes = exports.defaultAnalyticsAttributes = {
|
|
15
15
|
componentName: 'help',
|
|
16
16
|
packageName: "@atlaskit/help",
|
|
17
|
-
packageVersion: "7.2.
|
|
17
|
+
packageVersion: "7.2.21"
|
|
18
18
|
};
|
|
@@ -15,7 +15,7 @@ var _styled = require("./styled");
|
|
|
15
15
|
var ANALYTICS_CONTEXT_DATA = {
|
|
16
16
|
componentName: 'ArticleLoadingFail',
|
|
17
17
|
packageName: "@atlaskit/help",
|
|
18
|
-
packageVersion: "7.2.
|
|
18
|
+
packageVersion: "7.2.21"
|
|
19
19
|
};
|
|
20
20
|
var ArticleLoadingFail = exports.ArticleLoadingFail = function ArticleLoadingFail(_ref) {
|
|
21
21
|
var onTryAgainButtonClick = _ref.onTryAgainButtonClick,
|
|
@@ -13,7 +13,7 @@ var _messages = require("../../../../messages");
|
|
|
13
13
|
var ANALYTICS_CONTEXT_DATA = {
|
|
14
14
|
componentName: 'ArticleWasHelpfulNoButton',
|
|
15
15
|
packageName: "@atlaskit/help",
|
|
16
|
-
packageVersion: "7.2.
|
|
16
|
+
packageVersion: "7.2.21"
|
|
17
17
|
};
|
|
18
18
|
var ArticleWasHelpfulNoButton = exports.ArticleWasHelpfulNoButton = function ArticleWasHelpfulNoButton(_ref) {
|
|
19
19
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -13,7 +13,7 @@ var _messages = require("../../../../messages");
|
|
|
13
13
|
var ANALYTICS_CONTEXT_DATA = {
|
|
14
14
|
componentName: 'ArticleWasHelpfulYesButton',
|
|
15
15
|
packageName: "@atlaskit/help",
|
|
16
|
-
packageVersion: "7.2.
|
|
16
|
+
packageVersion: "7.2.21"
|
|
17
17
|
};
|
|
18
18
|
var ArticleWasHelpfulYesButton = exports.ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
|
|
19
19
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -36,7 +36,7 @@ var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
|
|
|
36
36
|
var ANALYTICS_CONTEXT_DATA = {
|
|
37
37
|
componentName: 'ArticleWasHelpfulForm',
|
|
38
38
|
packageName: "@atlaskit/help",
|
|
39
|
-
packageVersion: "7.2.
|
|
39
|
+
packageVersion: "7.2.21"
|
|
40
40
|
};
|
|
41
41
|
var ArticleWasHelpfulForm = exports.ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
|
|
42
42
|
var onWasHelpfulSubmit = _ref.onWasHelpfulSubmit,
|
|
@@ -64,7 +64,7 @@ var HelpArticle = exports.HelpArticle = function HelpArticle(_ref) {
|
|
|
64
64
|
analyticsEvent.payload.attributes = {
|
|
65
65
|
componentName: 'Article',
|
|
66
66
|
packageName: "@atlaskit/help",
|
|
67
|
-
packageVersion: "7.2.
|
|
67
|
+
packageVersion: "7.2.21"
|
|
68
68
|
};
|
|
69
69
|
if (onRelatedArticlesShowMoreClick) {
|
|
70
70
|
onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
|
|
@@ -22,7 +22,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
22
22
|
var analyticsContextData = {
|
|
23
23
|
componentName: 'ArticlesListItem',
|
|
24
24
|
packageName: "@atlaskit/help",
|
|
25
|
-
packageVersion: "7.2.
|
|
25
|
+
packageVersion: "7.2.21"
|
|
26
26
|
};
|
|
27
27
|
var WhatsNewArticle = exports.WhatsNewArticle = function WhatsNewArticle(_ref) {
|
|
28
28
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -21,7 +21,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
21
21
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
22
22
|
// Animation
|
|
23
23
|
var defaultStyle = {
|
|
24
|
-
left:
|
|
24
|
+
left: '100%'
|
|
25
25
|
};
|
|
26
26
|
var enableTransition = {
|
|
27
27
|
enabled: {
|
|
@@ -33,7 +33,7 @@ var transitionStyles = {
|
|
|
33
33
|
left: 0
|
|
34
34
|
},
|
|
35
35
|
exited: {
|
|
36
|
-
left:
|
|
36
|
+
left: '100%'
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
var Article = exports.Article = function Article() {
|
|
@@ -17,7 +17,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
17
17
|
var ANALYTICS_CONTEXT_DATA = {
|
|
18
18
|
componentName: 'ArticlesListItem',
|
|
19
19
|
packageName: "@atlaskit/help",
|
|
20
|
-
packageVersion: "7.2.
|
|
20
|
+
packageVersion: "7.2.21"
|
|
21
21
|
};
|
|
22
22
|
var ArticlesListItem = exports.ArticlesListItem = function ArticlesListItem(_ref) {
|
|
23
23
|
var styles = _ref.styles,
|
|
@@ -6,45 +6,70 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.ArticlesListItemWrapper = exports.ArticlesListItemTypeTitle = exports.ArticlesListItemTitleText = exports.ArticlesListItemLinkIcon = exports.ArticlesListItemDescription = exports.ArticlesListItemContainer = void 0;
|
|
9
|
-
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
10
9
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
11
10
|
var _constants = require("@atlaskit/theme/constants");
|
|
12
11
|
var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
|
|
13
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
14
|
-
/** @jsx jsx */
|
|
15
12
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
16
13
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
|
+
/** @jsx jsx */
|
|
15
|
+
|
|
17
16
|
var ArticlesListItemWrapper = exports.ArticlesListItemWrapper = _styled.default.a({
|
|
18
|
-
position:
|
|
19
|
-
boxSizing:
|
|
17
|
+
position: 'relative',
|
|
18
|
+
boxSizing: 'border-box',
|
|
20
19
|
padding: "var(--ds-space-100, 8px)",
|
|
21
|
-
display:
|
|
22
|
-
textDecoration:
|
|
23
|
-
cursor:
|
|
24
|
-
color: "
|
|
25
|
-
borderRadius:
|
|
20
|
+
display: 'block',
|
|
21
|
+
textDecoration: 'none',
|
|
22
|
+
cursor: 'pointer',
|
|
23
|
+
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")"),
|
|
24
|
+
borderRadius: '3px',
|
|
26
25
|
backgroundColor: "var(--ds-background-neutral-subtle, transparent)",
|
|
27
26
|
'&:hover, &:focus, &:visited, &:active': {
|
|
28
|
-
textDecoration:
|
|
29
|
-
outline:
|
|
30
|
-
outlineOffset:
|
|
27
|
+
textDecoration: 'none',
|
|
28
|
+
outline: 'none',
|
|
29
|
+
outlineOffset: 'none'
|
|
31
30
|
},
|
|
32
31
|
'&:focus': {
|
|
33
32
|
boxShadow: "".concat("var(--ds-border-focused, ".concat(colors.B100, ")"), " 0px 0px 0px 2px inset")
|
|
34
33
|
},
|
|
35
34
|
'&:hover': {
|
|
36
|
-
backgroundColor: "
|
|
35
|
+
backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat(colors.N30, ")")
|
|
37
36
|
},
|
|
38
37
|
'&:active': {
|
|
39
|
-
backgroundColor: "
|
|
38
|
+
backgroundColor: "var(--ds-background-neutral-subtle-pressed, ".concat(colors.B50, ")")
|
|
40
39
|
}
|
|
41
40
|
}, function (props) {
|
|
42
41
|
return props.styles;
|
|
43
42
|
});
|
|
44
|
-
var ArticlesListItemContainer = exports.ArticlesListItemContainer = _styled.default.div(
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
var
|
|
49
|
-
|
|
50
|
-
|
|
43
|
+
var ArticlesListItemContainer = exports.ArticlesListItemContainer = _styled.default.div({
|
|
44
|
+
width: '100%',
|
|
45
|
+
whiteSpace: 'nowrap'
|
|
46
|
+
});
|
|
47
|
+
var ArticlesListItemTypeTitle = exports.ArticlesListItemTypeTitle = _styled.default.div({
|
|
48
|
+
fontWeight: 'bold',
|
|
49
|
+
fontSize: '11px',
|
|
50
|
+
lineHeight: "var(--ds-font-lineHeight-100, 16px)",
|
|
51
|
+
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")"),
|
|
52
|
+
paddingBottom: "var(--ds-space-050, 4px)"
|
|
53
|
+
});
|
|
54
|
+
var ArticlesListItemLinkIcon = exports.ArticlesListItemLinkIcon = _styled.default.span({
|
|
55
|
+
alignSelf: 'auto',
|
|
56
|
+
paddingInlineStart: "var(--ds-space-050, 4px)",
|
|
57
|
+
verticalAlign: 'middle'
|
|
58
|
+
});
|
|
59
|
+
var ArticlesListItemTitleText = exports.ArticlesListItemTitleText = _styled.default.span({
|
|
60
|
+
textDecoration: 'none',
|
|
61
|
+
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
62
|
+
fontSize: "".concat((0, _constants.fontSize)(), "px"),
|
|
63
|
+
fontWeight: 600,
|
|
64
|
+
display: 'inline-block',
|
|
65
|
+
lineHeight: "var(--ds-font-lineHeight-200, 20px)",
|
|
66
|
+
whiteSpace: 'normal',
|
|
67
|
+
overflowX: 'hidden',
|
|
68
|
+
marginBottom: "var(--ds-space-100, 8px)"
|
|
69
|
+
});
|
|
70
|
+
var ArticlesListItemDescription = exports.ArticlesListItemDescription = _styled.default.p({
|
|
71
|
+
display: 'block',
|
|
72
|
+
lineHeight: "var(--ds-font-lineHeight-200, 20px)",
|
|
73
|
+
color: "var(--ds-text-subtle, ".concat(colors.N400, ")"),
|
|
74
|
+
margin: 0
|
|
75
|
+
});
|
|
@@ -17,7 +17,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
17
17
|
var analitycsContextData = {
|
|
18
18
|
componentName: 'HelpContentButton',
|
|
19
19
|
packageName: "@atlaskit/help",
|
|
20
|
-
packageVersion: "7.2.
|
|
20
|
+
packageVersion: "7.2.21"
|
|
21
21
|
};
|
|
22
22
|
var HelpContentButton = function HelpContentButton(_ref) {
|
|
23
23
|
var _ref$id = _ref.id,
|
|
@@ -28,7 +28,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
28
28
|
/** @jsxFrag */
|
|
29
29
|
|
|
30
30
|
var packageName = "@atlaskit/help";
|
|
31
|
-
var packageVersion = "7.2.
|
|
31
|
+
var packageVersion = "7.2.21";
|
|
32
32
|
var RelatedArticles = exports.RelatedArticles = function RelatedArticles(_ref) {
|
|
33
33
|
var _ref$style = _ref.style,
|
|
34
34
|
style = _ref$style === void 0 ? 'primary' : _ref$style,
|
|
@@ -27,7 +27,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
27
27
|
var ANALYTICS_CONTEXT_DATA = {
|
|
28
28
|
componentName: 'searchInput',
|
|
29
29
|
packageName: "@atlaskit/help",
|
|
30
|
-
packageVersion: "7.2.
|
|
30
|
+
packageVersion: "7.2.21"
|
|
31
31
|
};
|
|
32
32
|
var SearchInput = exports.SearchInput = function SearchInput(_ref) {
|
|
33
33
|
var formatMessage = _ref.intl.formatMessage;
|
|
@@ -21,7 +21,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
21
21
|
var ANALYTICS_CONTEXT_DATA = {
|
|
22
22
|
componentName: 'WhatsNewButton',
|
|
23
23
|
packageName: "@atlaskit/help",
|
|
24
|
-
packageVersion: "7.2.
|
|
24
|
+
packageVersion: "7.2.21"
|
|
25
25
|
};
|
|
26
26
|
var WhatsNewButton = exports.WhatsNewButton = function WhatsNewButton(_ref) {
|
|
27
27
|
var productName = _ref.productName,
|
package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var _styled2 = require("./styled");
|
|
|
15
15
|
var ANALYTICS_CONTEXT_DATA = {
|
|
16
16
|
componentName: 'ArticlesListItem',
|
|
17
17
|
packageName: "@atlaskit/help",
|
|
18
|
-
packageVersion: "7.2.
|
|
18
|
+
packageVersion: "7.2.21"
|
|
19
19
|
};
|
|
20
20
|
var WhatsNewResultListItem = exports.WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
|
|
21
21
|
var formatMessage = _ref.intl.formatMessage,
|
package/dist/es2019/analytics.js
CHANGED
|
@@ -8,7 +8,7 @@ import { LoadingErrorMessage, LoadingErrorButtonContainer } from './styled';
|
|
|
8
8
|
const ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticleLoadingFail',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.2.
|
|
11
|
+
packageVersion: "7.2.21"
|
|
12
12
|
};
|
|
13
13
|
export const ArticleLoadingFail = ({
|
|
14
14
|
onTryAgainButtonClick,
|
|
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
|
|
|
6
6
|
const ANALYTICS_CONTEXT_DATA = {
|
|
7
7
|
componentName: 'ArticleWasHelpfulNoButton',
|
|
8
8
|
packageName: "@atlaskit/help",
|
|
9
|
-
packageVersion: "7.2.
|
|
9
|
+
packageVersion: "7.2.21"
|
|
10
10
|
};
|
|
11
11
|
export const ArticleWasHelpfulNoButton = ({
|
|
12
12
|
isSelected = false,
|
|
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
|
|
|
6
6
|
const ANALYTICS_CONTEXT_DATA = {
|
|
7
7
|
componentName: 'ArticleWasHelpfulYesButton',
|
|
8
8
|
packageName: "@atlaskit/help",
|
|
9
|
-
packageVersion: "7.2.
|
|
9
|
+
packageVersion: "7.2.21"
|
|
10
10
|
};
|
|
11
11
|
export const ArticleWasHelpfulYesButton = ({
|
|
12
12
|
isSelected = false,
|
|
@@ -25,7 +25,7 @@ const FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
|
|
|
25
25
|
const ANALYTICS_CONTEXT_DATA = {
|
|
26
26
|
componentName: 'ArticleWasHelpfulForm',
|
|
27
27
|
packageName: "@atlaskit/help",
|
|
28
|
-
packageVersion: "7.2.
|
|
28
|
+
packageVersion: "7.2.21"
|
|
29
29
|
};
|
|
30
30
|
export const ArticleWasHelpfulForm = ({
|
|
31
31
|
onWasHelpfulSubmit,
|
|
@@ -59,7 +59,7 @@ export const HelpArticle = ({
|
|
|
59
59
|
analyticsEvent.payload.attributes = {
|
|
60
60
|
componentName: 'Article',
|
|
61
61
|
packageName: "@atlaskit/help",
|
|
62
|
-
packageVersion: "7.2.
|
|
62
|
+
packageVersion: "7.2.21"
|
|
63
63
|
};
|
|
64
64
|
if (onRelatedArticlesShowMoreClick) {
|
|
65
65
|
onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
|
|
@@ -13,7 +13,7 @@ import { WhatsNewTypeTitle, WhatsNewTitleText, WhatsNewIconContainer, RelatedLin
|
|
|
13
13
|
const analyticsContextData = {
|
|
14
14
|
componentName: 'ArticlesListItem',
|
|
15
15
|
packageName: "@atlaskit/help",
|
|
16
|
-
packageVersion: "7.2.
|
|
16
|
+
packageVersion: "7.2.21"
|
|
17
17
|
};
|
|
18
18
|
export const WhatsNewArticle = ({
|
|
19
19
|
intl: {
|
|
@@ -7,7 +7,7 @@ import { ArticleContainer } from './styled';
|
|
|
7
7
|
import ArticleContent from './ArticleContent';
|
|
8
8
|
// Animation
|
|
9
9
|
const defaultStyle = {
|
|
10
|
-
left:
|
|
10
|
+
left: '100%'
|
|
11
11
|
};
|
|
12
12
|
const enableTransition = {
|
|
13
13
|
enabled: {
|
|
@@ -19,7 +19,7 @@ const transitionStyles = {
|
|
|
19
19
|
left: 0
|
|
20
20
|
},
|
|
21
21
|
exited: {
|
|
22
|
-
left:
|
|
22
|
+
left: '100%'
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
export const Article = () => {
|
|
@@ -7,7 +7,7 @@ import { ArticlesListItemWrapper, ArticlesListItemContainer, ArticlesListItemTit
|
|
|
7
7
|
const ANALYTICS_CONTEXT_DATA = {
|
|
8
8
|
componentName: 'ArticlesListItem',
|
|
9
9
|
packageName: "@atlaskit/help",
|
|
10
|
-
packageVersion: "7.2.
|
|
10
|
+
packageVersion: "7.2.21"
|
|
11
11
|
};
|
|
12
12
|
export const ArticlesListItem = ({
|
|
13
13
|
styles,
|
|
@@ -3,62 +3,60 @@ import styled from '@emotion/styled';
|
|
|
3
3
|
import { fontSize } from '@atlaskit/theme/constants';
|
|
4
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
5
|
export const ArticlesListItemWrapper = styled.a({
|
|
6
|
-
position:
|
|
7
|
-
boxSizing:
|
|
6
|
+
position: 'relative',
|
|
7
|
+
boxSizing: 'border-box',
|
|
8
8
|
padding: "var(--ds-space-100, 8px)",
|
|
9
|
-
display:
|
|
10
|
-
textDecoration:
|
|
11
|
-
cursor:
|
|
12
|
-
color:
|
|
13
|
-
borderRadius:
|
|
14
|
-
backgroundColor:
|
|
9
|
+
display: 'block',
|
|
10
|
+
textDecoration: 'none',
|
|
11
|
+
cursor: 'pointer',
|
|
12
|
+
color: `var(--ds-text-subtlest, ${colors.N200})`,
|
|
13
|
+
borderRadius: '3px',
|
|
14
|
+
backgroundColor: "var(--ds-background-neutral-subtle, transparent)",
|
|
15
15
|
'&:hover, &:focus, &:visited, &:active': {
|
|
16
|
-
textDecoration:
|
|
17
|
-
outline:
|
|
18
|
-
outlineOffset:
|
|
16
|
+
textDecoration: 'none',
|
|
17
|
+
outline: 'none',
|
|
18
|
+
outlineOffset: 'none'
|
|
19
19
|
},
|
|
20
20
|
'&:focus': {
|
|
21
21
|
boxShadow: `${`var(--ds-border-focused, ${colors.B100})`} 0px 0px 0px 2px inset`
|
|
22
22
|
},
|
|
23
23
|
'&:hover': {
|
|
24
|
-
backgroundColor:
|
|
24
|
+
backgroundColor: `var(--ds-background-neutral-subtle-hovered, ${colors.N30})`
|
|
25
25
|
},
|
|
26
26
|
'&:active': {
|
|
27
|
-
backgroundColor:
|
|
27
|
+
backgroundColor: `var(--ds-background-neutral-subtle-pressed, ${colors.B50})`
|
|
28
28
|
}
|
|
29
29
|
}, props => props.styles);
|
|
30
|
-
export const ArticlesListItemContainer = styled.div
|
|
31
|
-
width: 100
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
export const ArticlesListItemTypeTitle = styled.div
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
color:
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
font-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
margin: 0;
|
|
64
|
-
`;
|
|
30
|
+
export const ArticlesListItemContainer = styled.div({
|
|
31
|
+
width: '100%',
|
|
32
|
+
whiteSpace: 'nowrap'
|
|
33
|
+
});
|
|
34
|
+
export const ArticlesListItemTypeTitle = styled.div({
|
|
35
|
+
fontWeight: 'bold',
|
|
36
|
+
fontSize: '11px',
|
|
37
|
+
lineHeight: "var(--ds-font-lineHeight-100, 16px)",
|
|
38
|
+
color: `var(--ds-text-subtlest, ${colors.N200})`,
|
|
39
|
+
paddingBottom: "var(--ds-space-050, 4px)"
|
|
40
|
+
});
|
|
41
|
+
export const ArticlesListItemLinkIcon = styled.span({
|
|
42
|
+
alignSelf: 'auto',
|
|
43
|
+
paddingInlineStart: "var(--ds-space-050, 4px)",
|
|
44
|
+
verticalAlign: 'middle'
|
|
45
|
+
});
|
|
46
|
+
export const ArticlesListItemTitleText = styled.span({
|
|
47
|
+
textDecoration: 'none',
|
|
48
|
+
color: `var(--ds-text, ${colors.N800})`,
|
|
49
|
+
fontSize: `${fontSize()}px`,
|
|
50
|
+
fontWeight: 600,
|
|
51
|
+
display: 'inline-block',
|
|
52
|
+
lineHeight: "var(--ds-font-lineHeight-200, 20px)",
|
|
53
|
+
whiteSpace: 'normal',
|
|
54
|
+
overflowX: 'hidden',
|
|
55
|
+
marginBottom: "var(--ds-space-100, 8px)"
|
|
56
|
+
});
|
|
57
|
+
export const ArticlesListItemDescription = styled.p({
|
|
58
|
+
display: 'block',
|
|
59
|
+
lineHeight: "var(--ds-font-lineHeight-200, 20px)",
|
|
60
|
+
color: `var(--ds-text-subtle, ${colors.N400})`,
|
|
61
|
+
margin: 0
|
|
62
|
+
});
|
|
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
|
|
|
7
7
|
const analitycsContextData = {
|
|
8
8
|
componentName: 'HelpContentButton',
|
|
9
9
|
packageName: "@atlaskit/help",
|
|
10
|
-
packageVersion: "7.2.
|
|
10
|
+
packageVersion: "7.2.21"
|
|
11
11
|
};
|
|
12
12
|
const HelpContentButton = ({
|
|
13
13
|
id = '',
|
|
@@ -15,7 +15,7 @@ import useCancellablePromise from '../../util/hooks/cancellablePromise';
|
|
|
15
15
|
import { usePrevious } from '../../util/hooks/previous';
|
|
16
16
|
import { jsx } from '@emotion/react';
|
|
17
17
|
const packageName = "@atlaskit/help";
|
|
18
|
-
const packageVersion = "7.2.
|
|
18
|
+
const packageVersion = "7.2.21";
|
|
19
19
|
export const RelatedArticles = ({
|
|
20
20
|
style = 'primary',
|
|
21
21
|
routeGroup,
|
|
@@ -17,7 +17,7 @@ import { SearchInputContainer, SearchIconContainer, CloseButtonAndSpinnerContain
|
|
|
17
17
|
const ANALYTICS_CONTEXT_DATA = {
|
|
18
18
|
componentName: 'searchInput',
|
|
19
19
|
packageName: "@atlaskit/help",
|
|
20
|
-
packageVersion: "7.2.
|
|
20
|
+
packageVersion: "7.2.21"
|
|
21
21
|
};
|
|
22
22
|
export const SearchInput = ({
|
|
23
23
|
intl: {
|
|
@@ -11,7 +11,7 @@ import { ARTICLE_TYPE } from '../../../model/Help';
|
|
|
11
11
|
const ANALYTICS_CONTEXT_DATA = {
|
|
12
12
|
componentName: 'WhatsNewButton',
|
|
13
13
|
packageName: "@atlaskit/help",
|
|
14
|
-
packageVersion: "7.2.
|
|
14
|
+
packageVersion: "7.2.21"
|
|
15
15
|
};
|
|
16
16
|
export const WhatsNewButton = ({
|
|
17
17
|
productName,
|
|
@@ -8,7 +8,7 @@ import { WhatsNewResultListItemWrapper, WhatsNewResultListItemTitleContainer, Wh
|
|
|
8
8
|
const ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticlesListItem',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.2.
|
|
11
|
+
packageVersion: "7.2.21"
|
|
12
12
|
};
|
|
13
13
|
export const WhatsNewResultListItem = ({
|
|
14
14
|
intl: {
|
package/dist/esm/analytics.js
CHANGED
|
@@ -8,7 +8,7 @@ import { LoadingErrorMessage, LoadingErrorButtonContainer } from './styled';
|
|
|
8
8
|
var ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticleLoadingFail',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.2.
|
|
11
|
+
packageVersion: "7.2.21"
|
|
12
12
|
};
|
|
13
13
|
export var ArticleLoadingFail = function ArticleLoadingFail(_ref) {
|
|
14
14
|
var onTryAgainButtonClick = _ref.onTryAgainButtonClick,
|
|
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
|
|
|
6
6
|
var ANALYTICS_CONTEXT_DATA = {
|
|
7
7
|
componentName: 'ArticleWasHelpfulNoButton',
|
|
8
8
|
packageName: "@atlaskit/help",
|
|
9
|
-
packageVersion: "7.2.
|
|
9
|
+
packageVersion: "7.2.21"
|
|
10
10
|
};
|
|
11
11
|
export var ArticleWasHelpfulNoButton = function ArticleWasHelpfulNoButton(_ref) {
|
|
12
12
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
|
|
|
6
6
|
var ANALYTICS_CONTEXT_DATA = {
|
|
7
7
|
componentName: 'ArticleWasHelpfulYesButton',
|
|
8
8
|
packageName: "@atlaskit/help",
|
|
9
|
-
packageVersion: "7.2.
|
|
9
|
+
packageVersion: "7.2.21"
|
|
10
10
|
};
|
|
11
11
|
export var ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
|
|
12
12
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -26,7 +26,7 @@ var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
|
|
|
26
26
|
var ANALYTICS_CONTEXT_DATA = {
|
|
27
27
|
componentName: 'ArticleWasHelpfulForm',
|
|
28
28
|
packageName: "@atlaskit/help",
|
|
29
|
-
packageVersion: "7.2.
|
|
29
|
+
packageVersion: "7.2.21"
|
|
30
30
|
};
|
|
31
31
|
export var ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
|
|
32
32
|
var onWasHelpfulSubmit = _ref.onWasHelpfulSubmit,
|
|
@@ -55,7 +55,7 @@ export var HelpArticle = function HelpArticle(_ref) {
|
|
|
55
55
|
analyticsEvent.payload.attributes = {
|
|
56
56
|
componentName: 'Article',
|
|
57
57
|
packageName: "@atlaskit/help",
|
|
58
|
-
packageVersion: "7.2.
|
|
58
|
+
packageVersion: "7.2.21"
|
|
59
59
|
};
|
|
60
60
|
if (onRelatedArticlesShowMoreClick) {
|
|
61
61
|
onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
|
|
@@ -13,7 +13,7 @@ import { WhatsNewTypeTitle, WhatsNewTitleText, WhatsNewIconContainer, RelatedLin
|
|
|
13
13
|
var analyticsContextData = {
|
|
14
14
|
componentName: 'ArticlesListItem',
|
|
15
15
|
packageName: "@atlaskit/help",
|
|
16
|
-
packageVersion: "7.2.
|
|
16
|
+
packageVersion: "7.2.21"
|
|
17
17
|
};
|
|
18
18
|
export var WhatsNewArticle = function WhatsNewArticle(_ref) {
|
|
19
19
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -11,7 +11,7 @@ import { ArticleContainer } from './styled';
|
|
|
11
11
|
import ArticleContent from './ArticleContent';
|
|
12
12
|
// Animation
|
|
13
13
|
var defaultStyle = {
|
|
14
|
-
left:
|
|
14
|
+
left: '100%'
|
|
15
15
|
};
|
|
16
16
|
var enableTransition = {
|
|
17
17
|
enabled: {
|
|
@@ -23,7 +23,7 @@ var transitionStyles = {
|
|
|
23
23
|
left: 0
|
|
24
24
|
},
|
|
25
25
|
exited: {
|
|
26
|
-
left:
|
|
26
|
+
left: '100%'
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
export var Article = function Article() {
|
|
@@ -7,7 +7,7 @@ import { ArticlesListItemWrapper, ArticlesListItemContainer, ArticlesListItemTit
|
|
|
7
7
|
var ANALYTICS_CONTEXT_DATA = {
|
|
8
8
|
componentName: 'ArticlesListItem',
|
|
9
9
|
packageName: "@atlaskit/help",
|
|
10
|
-
packageVersion: "7.2.
|
|
10
|
+
packageVersion: "7.2.21"
|
|
11
11
|
};
|
|
12
12
|
export var ArticlesListItem = function ArticlesListItem(_ref) {
|
|
13
13
|
var styles = _ref.styles,
|
|
@@ -1,40 +1,64 @@
|
|
|
1
|
-
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
3
1
|
/** @jsx jsx */
|
|
4
2
|
import styled from '@emotion/styled';
|
|
5
3
|
import { fontSize } from '@atlaskit/theme/constants';
|
|
6
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
7
5
|
export var ArticlesListItemWrapper = styled.a({
|
|
8
|
-
position:
|
|
9
|
-
boxSizing:
|
|
6
|
+
position: 'relative',
|
|
7
|
+
boxSizing: 'border-box',
|
|
10
8
|
padding: "var(--ds-space-100, 8px)",
|
|
11
|
-
display:
|
|
12
|
-
textDecoration:
|
|
13
|
-
cursor:
|
|
14
|
-
color: "
|
|
15
|
-
borderRadius:
|
|
9
|
+
display: 'block',
|
|
10
|
+
textDecoration: 'none',
|
|
11
|
+
cursor: 'pointer',
|
|
12
|
+
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")"),
|
|
13
|
+
borderRadius: '3px',
|
|
16
14
|
backgroundColor: "var(--ds-background-neutral-subtle, transparent)",
|
|
17
15
|
'&:hover, &:focus, &:visited, &:active': {
|
|
18
|
-
textDecoration:
|
|
19
|
-
outline:
|
|
20
|
-
outlineOffset:
|
|
16
|
+
textDecoration: 'none',
|
|
17
|
+
outline: 'none',
|
|
18
|
+
outlineOffset: 'none'
|
|
21
19
|
},
|
|
22
20
|
'&:focus': {
|
|
23
21
|
boxShadow: "".concat("var(--ds-border-focused, ".concat(colors.B100, ")"), " 0px 0px 0px 2px inset")
|
|
24
22
|
},
|
|
25
23
|
'&:hover': {
|
|
26
|
-
backgroundColor: "
|
|
24
|
+
backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat(colors.N30, ")")
|
|
27
25
|
},
|
|
28
26
|
'&:active': {
|
|
29
|
-
backgroundColor: "
|
|
27
|
+
backgroundColor: "var(--ds-background-neutral-subtle-pressed, ".concat(colors.B50, ")")
|
|
30
28
|
}
|
|
31
29
|
}, function (props) {
|
|
32
30
|
return props.styles;
|
|
33
31
|
});
|
|
34
|
-
export var ArticlesListItemContainer = styled.div(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
export var
|
|
39
|
-
|
|
40
|
-
|
|
32
|
+
export var ArticlesListItemContainer = styled.div({
|
|
33
|
+
width: '100%',
|
|
34
|
+
whiteSpace: 'nowrap'
|
|
35
|
+
});
|
|
36
|
+
export var ArticlesListItemTypeTitle = styled.div({
|
|
37
|
+
fontWeight: 'bold',
|
|
38
|
+
fontSize: '11px',
|
|
39
|
+
lineHeight: "var(--ds-font-lineHeight-100, 16px)",
|
|
40
|
+
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")"),
|
|
41
|
+
paddingBottom: "var(--ds-space-050, 4px)"
|
|
42
|
+
});
|
|
43
|
+
export var ArticlesListItemLinkIcon = styled.span({
|
|
44
|
+
alignSelf: 'auto',
|
|
45
|
+
paddingInlineStart: "var(--ds-space-050, 4px)",
|
|
46
|
+
verticalAlign: 'middle'
|
|
47
|
+
});
|
|
48
|
+
export var ArticlesListItemTitleText = styled.span({
|
|
49
|
+
textDecoration: 'none',
|
|
50
|
+
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
51
|
+
fontSize: "".concat(fontSize(), "px"),
|
|
52
|
+
fontWeight: 600,
|
|
53
|
+
display: 'inline-block',
|
|
54
|
+
lineHeight: "var(--ds-font-lineHeight-200, 20px)",
|
|
55
|
+
whiteSpace: 'normal',
|
|
56
|
+
overflowX: 'hidden',
|
|
57
|
+
marginBottom: "var(--ds-space-100, 8px)"
|
|
58
|
+
});
|
|
59
|
+
export var ArticlesListItemDescription = styled.p({
|
|
60
|
+
display: 'block',
|
|
61
|
+
lineHeight: "var(--ds-font-lineHeight-200, 20px)",
|
|
62
|
+
color: "var(--ds-text-subtle, ".concat(colors.N400, ")"),
|
|
63
|
+
margin: 0
|
|
64
|
+
});
|
|
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
|
|
|
7
7
|
var analitycsContextData = {
|
|
8
8
|
componentName: 'HelpContentButton',
|
|
9
9
|
packageName: "@atlaskit/help",
|
|
10
|
-
packageVersion: "7.2.
|
|
10
|
+
packageVersion: "7.2.21"
|
|
11
11
|
};
|
|
12
12
|
var HelpContentButton = function HelpContentButton(_ref) {
|
|
13
13
|
var _ref$id = _ref.id,
|
|
@@ -18,7 +18,7 @@ import useCancellablePromise from '../../util/hooks/cancellablePromise';
|
|
|
18
18
|
import { usePrevious } from '../../util/hooks/previous';
|
|
19
19
|
import { jsx } from '@emotion/react';
|
|
20
20
|
var packageName = "@atlaskit/help";
|
|
21
|
-
var packageVersion = "7.2.
|
|
21
|
+
var packageVersion = "7.2.21";
|
|
22
22
|
export var RelatedArticles = function RelatedArticles(_ref) {
|
|
23
23
|
var _ref$style = _ref.style,
|
|
24
24
|
style = _ref$style === void 0 ? 'primary' : _ref$style,
|
|
@@ -17,7 +17,7 @@ import { SearchInputContainer, SearchIconContainer, CloseButtonAndSpinnerContain
|
|
|
17
17
|
var ANALYTICS_CONTEXT_DATA = {
|
|
18
18
|
componentName: 'searchInput',
|
|
19
19
|
packageName: "@atlaskit/help",
|
|
20
|
-
packageVersion: "7.2.
|
|
20
|
+
packageVersion: "7.2.21"
|
|
21
21
|
};
|
|
22
22
|
export var SearchInput = function SearchInput(_ref) {
|
|
23
23
|
var formatMessage = _ref.intl.formatMessage;
|
|
@@ -11,7 +11,7 @@ import { ARTICLE_TYPE } from '../../../model/Help';
|
|
|
11
11
|
var ANALYTICS_CONTEXT_DATA = {
|
|
12
12
|
componentName: 'WhatsNewButton',
|
|
13
13
|
packageName: "@atlaskit/help",
|
|
14
|
-
packageVersion: "7.2.
|
|
14
|
+
packageVersion: "7.2.21"
|
|
15
15
|
};
|
|
16
16
|
export var WhatsNewButton = function WhatsNewButton(_ref) {
|
|
17
17
|
var productName = _ref.productName,
|
package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { WhatsNewResultListItemWrapper, WhatsNewResultListItemTitleContainer, Wh
|
|
|
8
8
|
var ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticlesListItem',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.2.
|
|
11
|
+
packageVersion: "7.2.21"
|
|
12
12
|
};
|
|
13
13
|
export var WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
|
|
14
14
|
var formatMessage = _ref.intl.formatMessage,
|
package/docs/0-intro.tsx
CHANGED
|
@@ -1,25 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
md,
|
|
4
|
-
code,
|
|
5
|
-
Props,
|
|
6
|
-
AtlassianInternalWarning,
|
|
7
|
-
DevPreviewWarning,
|
|
8
|
-
} from '@atlaskit/docs';
|
|
2
|
+
import { md, code, Props, AtlassianInternalWarning } from '@atlaskit/docs';
|
|
9
3
|
|
|
10
4
|
const helpProps = require('!!extract-react-types-loader!../src/components/Help');
|
|
11
5
|
|
|
12
6
|
export default md`
|
|
13
|
-
${(
|
|
14
|
-
<>
|
|
15
|
-
<div style={{ marginBottom: '0.5rem' }}>
|
|
16
|
-
<AtlassianInternalWarning />
|
|
17
|
-
</div>
|
|
18
|
-
<div style={{ marginTop: '0.5rem' }}>
|
|
19
|
-
<DevPreviewWarning />
|
|
20
|
-
</div>
|
|
21
|
-
</>
|
|
22
|
-
)}
|
|
7
|
+
${(<AtlassianInternalWarning />)}
|
|
23
8
|
|
|
24
9
|
## Usage
|
|
25
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/help",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.21",
|
|
4
4
|
"description": "A cross-product help component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -30,6 +30,9 @@
|
|
|
30
30
|
"atlassian": {
|
|
31
31
|
"team": "Self-Help Experiences",
|
|
32
32
|
"releaseModel": "continuous",
|
|
33
|
+
"productPushConsumption": [
|
|
34
|
+
"jira"
|
|
35
|
+
],
|
|
33
36
|
"website": {
|
|
34
37
|
"name": "Help"
|
|
35
38
|
}
|
|
@@ -38,23 +41,23 @@
|
|
|
38
41
|
"ak-postbuild": "ls -d dist/* | xargs -n 1 copyfiles -u 1 -V src/**/*.svg"
|
|
39
42
|
},
|
|
40
43
|
"dependencies": {
|
|
41
|
-
"@atlaskit/analytics-next": "^9.
|
|
42
|
-
"@atlaskit/button": "^17.
|
|
44
|
+
"@atlaskit/analytics-next": "^9.2.0",
|
|
45
|
+
"@atlaskit/button": "^17.6.0",
|
|
43
46
|
"@atlaskit/checkbox": "^13.0.0",
|
|
44
47
|
"@atlaskit/form": "^9.0.3",
|
|
45
|
-
"@atlaskit/help-article": "^4.1.
|
|
46
|
-
"@atlaskit/help-layout": "^4.2.
|
|
47
|
-
"@atlaskit/icon": "^22.
|
|
48
|
-
"@atlaskit/notification-indicator": "^9.
|
|
48
|
+
"@atlaskit/help-article": "^4.1.10",
|
|
49
|
+
"@atlaskit/help-layout": "^4.2.15",
|
|
50
|
+
"@atlaskit/icon": "^22.1.0",
|
|
51
|
+
"@atlaskit/notification-indicator": "^9.2.0",
|
|
49
52
|
"@atlaskit/notification-log-client": "^6.1.0",
|
|
50
53
|
"@atlaskit/radio": "^6.0.0",
|
|
51
54
|
"@atlaskit/section-message": "^6.4.0",
|
|
52
|
-
"@atlaskit/select": "^17.0
|
|
55
|
+
"@atlaskit/select": "^17.1.0",
|
|
53
56
|
"@atlaskit/spinner": "^16.0.0",
|
|
54
57
|
"@atlaskit/textarea": "^5.0.0",
|
|
55
58
|
"@atlaskit/textfield": "^6.0.0",
|
|
56
59
|
"@atlaskit/theme": "^12.6.0",
|
|
57
|
-
"@atlaskit/tokens": "^1.
|
|
60
|
+
"@atlaskit/tokens": "^1.39.0",
|
|
58
61
|
"@atlaskit/tooltip": "^18.1.0",
|
|
59
62
|
"@babel/runtime": "^7.0.0",
|
|
60
63
|
"@emotion/react": "^11.7.1",
|