@atlaskit/help 7.14.3 → 7.14.5

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.
Files changed (47) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/analytics.js +1 -1
  3. package/dist/cjs/components/Article/ArticleLoadingFail/index.js +1 -1
  4. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  5. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  6. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -1
  7. package/dist/cjs/components/Article/HelpArticle/index.js +1 -1
  8. package/dist/cjs/components/Article/WhatsNewArticle/index.js +1 -1
  9. package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +1 -1
  10. package/dist/cjs/components/BackButton/index.js +1 -1
  11. package/dist/cjs/components/HelpContentButton/index.js +1 -1
  12. package/dist/cjs/components/RelatedArticles/index.js +1 -1
  13. package/dist/cjs/components/Search/SearchInput/index.js +1 -1
  14. package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -1
  15. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  16. package/dist/cjs/components/contexts/navigationContext.js +10 -5
  17. package/dist/es2019/analytics.js +1 -1
  18. package/dist/es2019/components/Article/ArticleLoadingFail/index.js +1 -1
  19. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  20. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  21. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -1
  22. package/dist/es2019/components/Article/HelpArticle/index.js +1 -1
  23. package/dist/es2019/components/Article/WhatsNewArticle/index.js +1 -1
  24. package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
  25. package/dist/es2019/components/BackButton/index.js +1 -1
  26. package/dist/es2019/components/HelpContentButton/index.js +1 -1
  27. package/dist/es2019/components/RelatedArticles/index.js +1 -1
  28. package/dist/es2019/components/Search/SearchInput/index.js +1 -1
  29. package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
  30. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  31. package/dist/es2019/components/contexts/navigationContext.js +10 -5
  32. package/dist/esm/analytics.js +1 -1
  33. package/dist/esm/components/Article/ArticleLoadingFail/index.js +1 -1
  34. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  35. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  36. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -1
  37. package/dist/esm/components/Article/HelpArticle/index.js +1 -1
  38. package/dist/esm/components/Article/WhatsNewArticle/index.js +1 -1
  39. package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
  40. package/dist/esm/components/BackButton/index.js +1 -1
  41. package/dist/esm/components/HelpContentButton/index.js +1 -1
  42. package/dist/esm/components/RelatedArticles/index.js +1 -1
  43. package/dist/esm/components/Search/SearchInput/index.js +1 -1
  44. package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
  45. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  46. package/dist/esm/components/contexts/navigationContext.js +10 -5
  47. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @atlaskit/help
2
2
 
3
+ ## 7.14.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#111434](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111434)
8
+ [`79cfad2b18287`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/79cfad2b18287) -
9
+ Fix navigation context to set contentAri in navigation state
10
+
11
+ ## 7.14.4
12
+
13
+ ### Patch Changes
14
+
15
+ - [#106600](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/106600)
16
+ [`6fa81748812d3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6fa81748812d3) -
17
+ Fix navigation context to set contentAri in navigation state
18
+
3
19
  ## 7.14.3
4
20
 
5
21
  ### Patch Changes
@@ -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.14.3"
17
+ packageVersion: "7.14.5"
18
18
  };
@@ -17,7 +17,7 @@ var _styled = require("./styled");
17
17
  var ANALYTICS_CONTEXT_DATA = {
18
18
  componentName: 'ArticleLoadingFail',
19
19
  packageName: "@atlaskit/help",
20
- packageVersion: "7.14.3"
20
+ packageVersion: "7.14.5"
21
21
  };
22
22
  var ArticleLoadingFail = exports.ArticleLoadingFail = function ArticleLoadingFail(_ref) {
23
23
  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.14.3"
16
+ packageVersion: "7.14.5"
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.14.3"
16
+ packageVersion: "7.14.5"
17
17
  };
18
18
  var ArticleWasHelpfulYesButton = exports.ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
19
19
  var _ref$isSelected = _ref.isSelected,
@@ -43,7 +43,7 @@ var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
43
43
  var ANALYTICS_CONTEXT_DATA = {
44
44
  componentName: 'ArticleWasHelpfulForm',
45
45
  packageName: "@atlaskit/help",
46
- packageVersion: "7.14.3"
46
+ packageVersion: "7.14.5"
47
47
  };
48
48
  var buttonStyles = (0, _react2.css)({
49
49
  padding: '0',
@@ -65,7 +65,7 @@ var HelpArticle = exports.HelpArticle = function HelpArticle(_ref) {
65
65
  analyticsEvent.payload.attributes = {
66
66
  componentName: 'Article',
67
67
  packageName: "@atlaskit/help",
68
- packageVersion: "7.14.3"
68
+ packageVersion: "7.14.5"
69
69
  };
70
70
  if (onRelatedArticlesShowMoreClick) {
71
71
  onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
@@ -22,7 +22,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
22
22
  var analyticsContextData = {
23
23
  componentName: 'ArticlesListItem',
24
24
  packageName: "@atlaskit/help",
25
- packageVersion: "7.14.3"
25
+ packageVersion: "7.14.5"
26
26
  };
27
27
  var WhatsNewArticle = exports.WhatsNewArticle = function WhatsNewArticle(_ref) {
28
28
  var formatMessage = _ref.intl.formatMessage,
@@ -18,7 +18,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
18
18
  var ANALYTICS_CONTEXT_DATA = {
19
19
  componentName: 'ArticlesListItem',
20
20
  packageName: "@atlaskit/help",
21
- packageVersion: "7.14.3"
21
+ packageVersion: "7.14.5"
22
22
  };
23
23
  var highlightText = function highlightText(text) {
24
24
  if (!text) {
@@ -76,7 +76,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
76
76
  data: {
77
77
  componentName: 'backButton',
78
78
  packageName: "@atlaskit/help",
79
- packageVersion: "7.14.3"
79
+ packageVersion: "7.14.5"
80
80
  }
81
81
  }, /*#__PURE__*/_react.default.createElement(BackButton, props));
82
82
  };
@@ -17,7 +17,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
17
17
  var analitycsContextData = {
18
18
  componentName: 'HelpContentButton',
19
19
  packageName: "@atlaskit/help",
20
- packageVersion: "7.14.3"
20
+ packageVersion: "7.14.5"
21
21
  };
22
22
  var HelpContentButton = function HelpContentButton(_ref) {
23
23
  var _ref$id = _ref.id,
@@ -34,7 +34,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
34
34
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
35
35
 
36
36
  var packageName = "@atlaskit/help";
37
- var packageVersion = "7.14.3";
37
+ var packageVersion = "7.14.5";
38
38
  var buttonStyles = (0, _react2.css)({
39
39
  padding: '0',
40
40
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
@@ -34,7 +34,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
34
34
  var ANALYTICS_CONTEXT_DATA = {
35
35
  componentName: 'searchInput',
36
36
  packageName: "@atlaskit/help",
37
- packageVersion: "7.14.3"
37
+ packageVersion: "7.14.5"
38
38
  };
39
39
  var buttonStyles = (0, _react2.css)({
40
40
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
@@ -21,7 +21,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
21
21
  var ANALYTICS_CONTEXT_DATA = {
22
22
  componentName: 'WhatsNewButton',
23
23
  packageName: "@atlaskit/help",
24
- packageVersion: "7.14.3"
24
+ packageVersion: "7.14.5"
25
25
  };
26
26
  var WhatsNewButton = exports.WhatsNewButton = function WhatsNewButton(_ref) {
27
27
  var productName = _ref.productName,
@@ -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.14.3"
18
+ packageVersion: "7.14.5"
19
19
  };
20
20
  var WhatsNewResultListItem = exports.WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
21
21
  var formatMessage = _ref.intl.formatMessage,
@@ -58,12 +58,14 @@ var getSimpleHistory = function getSimpleHistory(history) {
58
58
  return history.map(function (historyItem) {
59
59
  var id = historyItem.id,
60
60
  uid = historyItem.uid,
61
- type = historyItem.type;
61
+ type = historyItem.type,
62
+ contentAri = historyItem.contentAri;
62
63
  return {
63
64
  id: id,
64
65
  uid: uid,
65
66
  state: _Requests.REQUEST_STATE.reload,
66
- type: type
67
+ type: type,
68
+ contentAri: contentAri
67
69
  };
68
70
  });
69
71
  };
@@ -74,10 +76,12 @@ var getSimpleHistory = function getSimpleHistory(history) {
74
76
  var getHistoryData = function getHistoryData(history) {
75
77
  return history.map(function (historyItem) {
76
78
  var id = historyItem.id,
77
- uid = historyItem.uid;
79
+ uid = historyItem.uid,
80
+ contentAri = historyItem.contentAri;
78
81
  return {
79
82
  id: id,
80
- uid: uid
83
+ uid: uid,
84
+ contentAri: contentAri
81
85
  };
82
86
  });
83
87
  };
@@ -483,7 +487,8 @@ var NavigationContextProvider = exports.NavigationContextProvider = function Nav
483
487
  setNavigationData({
484
488
  articleId: {
485
489
  id: lastHistoryItem.id,
486
- type: lastHistoryItem.type
490
+ type: lastHistoryItem.type,
491
+ contentAri: lastHistoryItem.contentAri
487
492
  },
488
493
  history: simpleHistory
489
494
  });
@@ -5,5 +5,5 @@ export const createAndFire = x.createAndFireEvent('atlaskit');
5
5
  export const defaultAnalyticsAttributes = {
6
6
  componentName: 'help',
7
7
  packageName: "@atlaskit/help",
8
- packageVersion: "7.14.3"
8
+ packageVersion: "7.14.5"
9
9
  };
@@ -10,7 +10,7 @@ import { LoadingErrorMessage, LoadingErrorButtonContainer, LoadingErrorHeading }
10
10
  const ANALYTICS_CONTEXT_DATA = {
11
11
  componentName: 'ArticleLoadingFail',
12
12
  packageName: "@atlaskit/help",
13
- packageVersion: "7.14.3"
13
+ packageVersion: "7.14.5"
14
14
  };
15
15
  export const ArticleLoadingFail = ({
16
16
  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.14.3"
9
+ packageVersion: "7.14.5"
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.14.3"
9
+ packageVersion: "7.14.5"
10
10
  };
11
11
  export const ArticleWasHelpfulYesButton = ({
12
12
  isSelected = false,
@@ -30,7 +30,7 @@ const FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
30
30
  const ANALYTICS_CONTEXT_DATA = {
31
31
  componentName: 'ArticleWasHelpfulForm',
32
32
  packageName: "@atlaskit/help",
33
- packageVersion: "7.14.3"
33
+ packageVersion: "7.14.5"
34
34
  };
35
35
  const buttonStyles = css({
36
36
  padding: '0',
@@ -60,7 +60,7 @@ export const HelpArticle = ({
60
60
  analyticsEvent.payload.attributes = {
61
61
  componentName: 'Article',
62
62
  packageName: "@atlaskit/help",
63
- packageVersion: "7.14.3"
63
+ packageVersion: "7.14.5"
64
64
  };
65
65
  if (onRelatedArticlesShowMoreClick) {
66
66
  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.14.3"
16
+ packageVersion: "7.14.5"
17
17
  };
18
18
  export const WhatsNewArticle = ({
19
19
  intl: {
@@ -8,7 +8,7 @@ import { ArticlesListItemWrapper, ArticlesListItemContainer, ArticlesListItemTit
8
8
  const ANALYTICS_CONTEXT_DATA = {
9
9
  componentName: 'ArticlesListItem',
10
10
  packageName: "@atlaskit/help",
11
- packageVersion: "7.14.3"
11
+ packageVersion: "7.14.5"
12
12
  };
13
13
  const highlightText = text => {
14
14
  if (!text) {
@@ -72,7 +72,7 @@ const BackButtonWithContext = props => {
72
72
  data: {
73
73
  componentName: 'backButton',
74
74
  packageName: "@atlaskit/help",
75
- packageVersion: "7.14.3"
75
+ packageVersion: "7.14.5"
76
76
  }
77
77
  }, /*#__PURE__*/React.createElement(BackButton, props));
78
78
  };
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
7
7
  const analitycsContextData = {
8
8
  componentName: 'HelpContentButton',
9
9
  packageName: "@atlaskit/help",
10
- packageVersion: "7.14.3"
10
+ packageVersion: "7.14.5"
11
11
  };
12
12
  const HelpContentButton = ({
13
13
  id = '',
@@ -21,7 +21,7 @@ import { Text } from '@atlaskit/primitives';
21
21
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
22
22
  import { css, jsx } from '@emotion/react';
23
23
  const packageName = "@atlaskit/help";
24
- const packageVersion = "7.14.3";
24
+ const packageVersion = "7.14.5";
25
25
  const buttonStyles = css({
26
26
  padding: '0',
27
27
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
@@ -23,7 +23,7 @@ import { useNavigationContext } from '../../contexts/navigationContext';
23
23
  const ANALYTICS_CONTEXT_DATA = {
24
24
  componentName: 'searchInput',
25
25
  packageName: "@atlaskit/help",
26
- packageVersion: "7.14.3"
26
+ packageVersion: "7.14.5"
27
27
  };
28
28
  const buttonStyles = css({
29
29
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
@@ -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.14.3"
14
+ packageVersion: "7.14.5"
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.14.3"
11
+ packageVersion: "7.14.5"
12
12
  };
13
13
  export const WhatsNewResultListItem = ({
14
14
  intl: {
@@ -35,13 +35,15 @@ const getSimpleHistory = history => history.map(historyItem => {
35
35
  const {
36
36
  id,
37
37
  uid,
38
- type
38
+ type,
39
+ contentAri
39
40
  } = historyItem;
40
41
  return {
41
42
  id,
42
43
  uid,
43
44
  state: REQUEST_STATE.reload,
44
- type
45
+ type,
46
+ contentAri
45
47
  };
46
48
  });
47
49
 
@@ -51,11 +53,13 @@ const getSimpleHistory = history => history.map(historyItem => {
51
53
  const getHistoryData = history => history.map(historyItem => {
52
54
  const {
53
55
  id,
54
- uid
56
+ uid,
57
+ contentAri
55
58
  } = historyItem;
56
59
  return {
57
60
  id,
58
- uid
61
+ uid,
62
+ contentAri
59
63
  };
60
64
  });
61
65
 
@@ -430,7 +434,8 @@ export const NavigationContextProvider = ({
430
434
  setNavigationData({
431
435
  articleId: {
432
436
  id: lastHistoryItem.id,
433
- type: lastHistoryItem.type
437
+ type: lastHistoryItem.type,
438
+ contentAri: lastHistoryItem.contentAri
434
439
  },
435
440
  history: simpleHistory
436
441
  });
@@ -5,5 +5,5 @@ export var createAndFire = x.createAndFireEvent('atlaskit');
5
5
  export var defaultAnalyticsAttributes = {
6
6
  componentName: 'help',
7
7
  packageName: "@atlaskit/help",
8
- packageVersion: "7.14.3"
8
+ packageVersion: "7.14.5"
9
9
  };
@@ -10,7 +10,7 @@ import { LoadingErrorMessage, LoadingErrorButtonContainer, LoadingErrorHeading }
10
10
  var ANALYTICS_CONTEXT_DATA = {
11
11
  componentName: 'ArticleLoadingFail',
12
12
  packageName: "@atlaskit/help",
13
- packageVersion: "7.14.3"
13
+ packageVersion: "7.14.5"
14
14
  };
15
15
  export var ArticleLoadingFail = function ArticleLoadingFail(_ref) {
16
16
  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.14.3"
9
+ packageVersion: "7.14.5"
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.14.3"
9
+ packageVersion: "7.14.5"
10
10
  };
11
11
  export var ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
12
12
  var _ref$isSelected = _ref.isSelected,
@@ -31,7 +31,7 @@ var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
31
31
  var ANALYTICS_CONTEXT_DATA = {
32
32
  componentName: 'ArticleWasHelpfulForm',
33
33
  packageName: "@atlaskit/help",
34
- packageVersion: "7.14.3"
34
+ packageVersion: "7.14.5"
35
35
  };
36
36
  var buttonStyles = css({
37
37
  padding: '0',
@@ -56,7 +56,7 @@ export var HelpArticle = function HelpArticle(_ref) {
56
56
  analyticsEvent.payload.attributes = {
57
57
  componentName: 'Article',
58
58
  packageName: "@atlaskit/help",
59
- packageVersion: "7.14.3"
59
+ packageVersion: "7.14.5"
60
60
  };
61
61
  if (onRelatedArticlesShowMoreClick) {
62
62
  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.14.3"
16
+ packageVersion: "7.14.5"
17
17
  };
18
18
  export var WhatsNewArticle = function WhatsNewArticle(_ref) {
19
19
  var formatMessage = _ref.intl.formatMessage,
@@ -8,7 +8,7 @@ import { ArticlesListItemWrapper, ArticlesListItemContainer, ArticlesListItemTit
8
8
  var ANALYTICS_CONTEXT_DATA = {
9
9
  componentName: 'ArticlesListItem',
10
10
  packageName: "@atlaskit/help",
11
- packageVersion: "7.14.3"
11
+ packageVersion: "7.14.5"
12
12
  };
13
13
  var highlightText = function highlightText(text) {
14
14
  if (!text) {
@@ -69,7 +69,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
69
69
  data: {
70
70
  componentName: 'backButton',
71
71
  packageName: "@atlaskit/help",
72
- packageVersion: "7.14.3"
72
+ packageVersion: "7.14.5"
73
73
  }
74
74
  }, /*#__PURE__*/React.createElement(BackButton, props));
75
75
  };
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
7
7
  var analitycsContextData = {
8
8
  componentName: 'HelpContentButton',
9
9
  packageName: "@atlaskit/help",
10
- packageVersion: "7.14.3"
10
+ packageVersion: "7.14.5"
11
11
  };
12
12
  var HelpContentButton = function HelpContentButton(_ref) {
13
13
  var _ref$id = _ref.id,
@@ -24,7 +24,7 @@ import { Text } from '@atlaskit/primitives';
24
24
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
25
25
  import { css, jsx } from '@emotion/react';
26
26
  var packageName = "@atlaskit/help";
27
- var packageVersion = "7.14.3";
27
+ var packageVersion = "7.14.5";
28
28
  var buttonStyles = css({
29
29
  padding: '0',
30
30
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
@@ -23,7 +23,7 @@ import { useNavigationContext } from '../../contexts/navigationContext';
23
23
  var ANALYTICS_CONTEXT_DATA = {
24
24
  componentName: 'searchInput',
25
25
  packageName: "@atlaskit/help",
26
- packageVersion: "7.14.3"
26
+ packageVersion: "7.14.5"
27
27
  };
28
28
  var buttonStyles = css({
29
29
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
@@ -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.14.3"
14
+ packageVersion: "7.14.5"
15
15
  };
16
16
  export var WhatsNewButton = function WhatsNewButton(_ref) {
17
17
  var productName = _ref.productName,
@@ -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.14.3"
11
+ packageVersion: "7.14.5"
12
12
  };
13
13
  export var WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
14
14
  var formatMessage = _ref.intl.formatMessage,
@@ -49,12 +49,14 @@ var getSimpleHistory = function getSimpleHistory(history) {
49
49
  return history.map(function (historyItem) {
50
50
  var id = historyItem.id,
51
51
  uid = historyItem.uid,
52
- type = historyItem.type;
52
+ type = historyItem.type,
53
+ contentAri = historyItem.contentAri;
53
54
  return {
54
55
  id: id,
55
56
  uid: uid,
56
57
  state: REQUEST_STATE.reload,
57
- type: type
58
+ type: type,
59
+ contentAri: contentAri
58
60
  };
59
61
  });
60
62
  };
@@ -65,10 +67,12 @@ var getSimpleHistory = function getSimpleHistory(history) {
65
67
  var getHistoryData = function getHistoryData(history) {
66
68
  return history.map(function (historyItem) {
67
69
  var id = historyItem.id,
68
- uid = historyItem.uid;
70
+ uid = historyItem.uid,
71
+ contentAri = historyItem.contentAri;
69
72
  return {
70
73
  id: id,
71
- uid: uid
74
+ uid: uid,
75
+ contentAri: contentAri
72
76
  };
73
77
  });
74
78
  };
@@ -474,7 +478,8 @@ export var NavigationContextProvider = function NavigationContextProvider(_ref4)
474
478
  setNavigationData({
475
479
  articleId: {
476
480
  id: lastHistoryItem.id,
477
- type: lastHistoryItem.type
481
+ type: lastHistoryItem.type,
482
+ contentAri: lastHistoryItem.contentAri
478
483
  },
479
484
  history: simpleHistory
480
485
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/help",
3
- "version": "7.14.3",
3
+ "version": "7.14.5",
4
4
  "description": "A cross-product help component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"