@atlaskit/help 9.1.20 → 9.1.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.
Files changed (128) hide show
  1. package/CHANGELOG.md +6 -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/ArticleLoadingFail/styled.js +1 -1
  5. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  6. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  7. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/index.js +2 -2
  8. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/styled.js +1 -1
  9. package/dist/cjs/components/Article/HelpArticle/index.js +1 -1
  10. package/dist/cjs/components/Article/WhatsNewArticle/index.js +1 -1
  11. package/dist/cjs/components/Article/WhatsNewArticle/styled.js +1 -1
  12. package/dist/cjs/components/Article/index.compiled.css +1 -1
  13. package/dist/cjs/components/Article/index.js +3 -5
  14. package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +1 -1
  15. package/dist/cjs/components/ArticlesList/ArticlesListItem/styled.compiled.css +28 -7
  16. package/dist/cjs/components/ArticlesList/ArticlesListItem/styled.js +1 -1
  17. package/dist/cjs/components/ArticlesList/styled.js +1 -1
  18. package/dist/cjs/components/BackButton/index.js +1 -1
  19. package/dist/cjs/components/HelpContentButton/index.js +1 -1
  20. package/dist/cjs/components/HelpContentButton/styled.compiled.css +34 -10
  21. package/dist/cjs/components/HelpContentButton/styled.js +3 -5
  22. package/dist/cjs/components/NeedMoreHelp/styled.js +1 -1
  23. package/dist/cjs/components/RelatedArticles/index.js +2 -2
  24. package/dist/cjs/components/RelatedArticles/styled.js +1 -1
  25. package/dist/cjs/components/Search/SearchInput/index.js +2 -2
  26. package/dist/cjs/components/Search/SearchInput/styled.compiled.css +5 -3
  27. package/dist/cjs/components/Search/SearchInput/styled.js +2 -5
  28. package/dist/cjs/components/Search/SearchResults/styled.compiled.css +1 -1
  29. package/dist/cjs/components/Search/SearchResults/styled.js +2 -3
  30. package/dist/cjs/components/Tabs/styled.js +1 -1
  31. package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -1
  32. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +1 -1
  33. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +1 -1
  34. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  35. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.compiled.css +28 -7
  36. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +1 -1
  37. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +1 -1
  38. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +1 -1
  39. package/dist/cjs/components/WhatsNew/WhatsNewResults/index.js +1 -1
  40. package/dist/cjs/components/WhatsNew/WhatsNewResults/styled.js +1 -1
  41. package/dist/cjs/components/contexts/navigationContext.js +14 -5
  42. package/dist/cjs/components/styled.js +1 -1
  43. package/dist/cjs/util/styled.compiled.css +2 -2
  44. package/dist/cjs/util/styled.js +4 -5
  45. package/dist/es2019/analytics.js +1 -1
  46. package/dist/es2019/components/Article/ArticleLoadingFail/index.js +1 -1
  47. package/dist/es2019/components/Article/ArticleLoadingFail/styled.js +1 -1
  48. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  49. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  50. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/index.js +2 -2
  51. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/styled.js +1 -1
  52. package/dist/es2019/components/Article/HelpArticle/index.js +1 -1
  53. package/dist/es2019/components/Article/WhatsNewArticle/index.js +1 -1
  54. package/dist/es2019/components/Article/WhatsNewArticle/styled.js +1 -1
  55. package/dist/es2019/components/Article/index.js +1 -1
  56. package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
  57. package/dist/es2019/components/ArticlesList/ArticlesListItem/styled.compiled.css +28 -7
  58. package/dist/es2019/components/ArticlesList/ArticlesListItem/styled.js +1 -1
  59. package/dist/es2019/components/ArticlesList/styled.js +1 -1
  60. package/dist/es2019/components/BackButton/index.js +1 -1
  61. package/dist/es2019/components/HelpContentButton/index.js +1 -1
  62. package/dist/es2019/components/HelpContentButton/styled.compiled.css +33 -9
  63. package/dist/es2019/components/HelpContentButton/styled.js +1 -1
  64. package/dist/es2019/components/NeedMoreHelp/styled.js +1 -1
  65. package/dist/es2019/components/RelatedArticles/index.js +2 -2
  66. package/dist/es2019/components/RelatedArticles/styled.js +1 -1
  67. package/dist/es2019/components/Search/SearchInput/index.js +2 -2
  68. package/dist/es2019/components/Search/SearchInput/styled.compiled.css +4 -2
  69. package/dist/es2019/components/Search/SearchInput/styled.js +1 -1
  70. package/dist/es2019/components/Search/SearchResults/styled.js +1 -1
  71. package/dist/es2019/components/Tabs/styled.js +1 -1
  72. package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
  73. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +1 -1
  74. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +1 -1
  75. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  76. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.compiled.css +28 -7
  77. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +1 -1
  78. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +1 -1
  79. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +1 -1
  80. package/dist/es2019/components/WhatsNew/WhatsNewResults/index.js +1 -1
  81. package/dist/es2019/components/WhatsNew/WhatsNewResults/styled.js +1 -1
  82. package/dist/es2019/components/contexts/navigationContext.js +15 -6
  83. package/dist/es2019/components/styled.js +1 -1
  84. package/dist/es2019/util/styled.js +1 -1
  85. package/dist/esm/analytics.js +1 -1
  86. package/dist/esm/components/Article/ArticleLoadingFail/index.js +1 -1
  87. package/dist/esm/components/Article/ArticleLoadingFail/styled.js +1 -1
  88. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  89. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  90. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/index.js +2 -2
  91. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/styled.js +1 -1
  92. package/dist/esm/components/Article/HelpArticle/index.js +1 -1
  93. package/dist/esm/components/Article/WhatsNewArticle/index.js +1 -1
  94. package/dist/esm/components/Article/WhatsNewArticle/styled.js +1 -1
  95. package/dist/esm/components/Article/index.compiled.css +1 -1
  96. package/dist/esm/components/Article/index.js +3 -5
  97. package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
  98. package/dist/esm/components/ArticlesList/ArticlesListItem/styled.compiled.css +28 -7
  99. package/dist/esm/components/ArticlesList/ArticlesListItem/styled.js +1 -1
  100. package/dist/esm/components/ArticlesList/styled.js +1 -1
  101. package/dist/esm/components/BackButton/index.js +1 -1
  102. package/dist/esm/components/HelpContentButton/index.js +1 -1
  103. package/dist/esm/components/HelpContentButton/styled.compiled.css +34 -10
  104. package/dist/esm/components/HelpContentButton/styled.js +3 -5
  105. package/dist/esm/components/NeedMoreHelp/styled.js +1 -1
  106. package/dist/esm/components/RelatedArticles/index.js +2 -2
  107. package/dist/esm/components/RelatedArticles/styled.js +1 -1
  108. package/dist/esm/components/Search/SearchInput/index.js +2 -2
  109. package/dist/esm/components/Search/SearchInput/styled.compiled.css +5 -3
  110. package/dist/esm/components/Search/SearchInput/styled.js +2 -5
  111. package/dist/esm/components/Search/SearchResults/styled.compiled.css +1 -1
  112. package/dist/esm/components/Search/SearchResults/styled.js +2 -3
  113. package/dist/esm/components/Tabs/styled.js +1 -1
  114. package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
  115. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +1 -1
  116. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +1 -1
  117. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  118. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.compiled.css +28 -7
  119. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +1 -1
  120. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +1 -1
  121. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +1 -1
  122. package/dist/esm/components/WhatsNew/WhatsNewResults/index.js +1 -1
  123. package/dist/esm/components/WhatsNew/WhatsNewResults/styled.js +1 -1
  124. package/dist/esm/components/contexts/navigationContext.js +15 -6
  125. package/dist/esm/components/styled.js +1 -1
  126. package/dist/esm/util/styled.compiled.css +2 -2
  127. package/dist/esm/util/styled.js +4 -5
  128. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,5 +1,5 @@
1
1
 
2
- ._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}._100gwk75>img{height:var(--_ys364u)}
2
+ ._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}._100g1wgc>img{height:calc(100% - var(--ds-space-050, 4px))}
3
3
  ._12vemgnk{background-repeat:no-repeat}
4
4
  ._15jg1osq>img>svg{height:100%}
5
5
  ._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
@@ -19,7 +19,7 @@
19
19
  ._bfhk17xe{background-color:var(--_kmlon4)}
20
20
  ._bfhkptpz{background-color:var(--_19g1tth)}
21
21
  ._ca0qidpf{padding-top:0}
22
- ._iu1xwk75>img{width:var(--_ys364u)}
22
+ ._iu1x1wgc>img{width:calc(100% - var(--ds-space-050, 4px))}
23
23
  ._j7hq1en8{animation-name:k6xje6p}
24
24
  ._kqswh2mm{position:relative}
25
25
  ._n3tdidpf{padding-bottom:0}
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -86,10 +86,9 @@ var WhatsNewTypeIcon = exports.WhatsNewTypeIcon = function WhatsNewTypeIcon(_ref
86
86
  }
87
87
  }, [type]);
88
88
  return /*#__PURE__*/_react.default.createElement("div", {
89
- className: (0, _runtime.ax)(["_2rkolb4i _1e0c1o8l _s7n4nkob _kqswh2mm _4t3ipxbi _1bsbpxbi _syazu67f _iu1xwk75 _100gwk75 _yti7stnw _5s2h1ssb _se2z1ssb _9qcx1ooe _15jg1osq _1jrq1osq"]),
90
89
  style: {
91
- backgroundColor: backgroundColor,
92
- "--_ys364u": (0, _runtime.ix)("calc(100% - ".concat("var(--ds-space-050, 4px)", ")"))
93
- }
90
+ backgroundColor: backgroundColor
91
+ },
92
+ className: (0, _runtime.ax)(["_2rkolb4i _1e0c1o8l _s7n4nkob _kqswh2mm _4t3ipxbi _1bsbpxbi _syazu67f _iu1x1wgc _100g1wgc _yti7stnw _5s2h1ssb _se2z1ssb _9qcx1ooe _15jg1osq _1jrq1osq"])
94
93
  }, children);
95
94
  };
@@ -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: "9.1.19"
8
+ packageVersion: "9.1.20"
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: "9.1.19"
13
+ packageVersion: "9.1.20"
14
14
  };
15
15
  export const ArticleLoadingFail = ({
16
16
  onTryAgainButtonClick,
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./styled.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -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: "9.1.19"
9
+ packageVersion: "9.1.20"
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: "9.1.19"
9
+ packageVersion: "9.1.20"
10
10
  };
11
11
  export const ArticleWasHelpfulYesButton = ({
12
12
  isSelected = false,
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./index.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -26,7 +26,7 @@ const FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
26
26
  const ANALYTICS_CONTEXT_DATA = {
27
27
  componentName: 'ArticleWasHelpfulForm',
28
28
  packageName: "@atlaskit/help",
29
- packageVersion: "9.1.19"
29
+ packageVersion: "9.1.20"
30
30
  };
31
31
  const buttonStyles = null;
32
32
  export const ArticleWasHelpfulForm = ({
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./styled.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -60,7 +60,7 @@ export const HelpArticle = ({
60
60
  analyticsEvent.payload.attributes = {
61
61
  componentName: 'Article',
62
62
  packageName: "@atlaskit/help",
63
- packageVersion: "9.1.19"
63
+ packageVersion: "9.1.20"
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: "9.1.19"
16
+ packageVersion: "9.1.20"
17
17
  };
18
18
  export const WhatsNewArticle = ({
19
19
  intl: {
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./styled.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./index.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useState, useLayoutEffect, useRef, useEffect, useCallback } from 'react';
@@ -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: "9.1.19"
11
+ packageVersion: "9.1.20"
12
12
  };
13
13
  const highlightText = text => {
14
14
  if (!text) {
@@ -48,13 +48,34 @@
48
48
  ._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
49
49
  ._vchhusvi{box-sizing:border-box}
50
50
  ._vwz4gktf{line-height:20px}
51
+ ._12gr1o36:visited{outline-width:medium}
52
+ ._1726nqa1:visited{text-decoration-style:solid}
53
+ ._1dnaglyw:visited{outline-offset:none}
54
+ ._1x28glyw:visited{text-decoration-line:none}
55
+ ._1ydc1r31:visited{text-decoration-color:currentColor}
56
+ ._9nxe1r31:visited{outline-color:currentColor}
57
+ ._tpgfglyw:visited{outline-style:none}
58
+ ._1a3b1r31:focus{text-decoration-color:currentColor}
59
+ ._1bg4glyw:focus{outline-offset:none}
60
+ ._1hvw1o36:focus{outline-width:medium}
61
+ ._49pcglyw:focus{outline-style:none}
62
+ ._4fprglyw:focus{text-decoration-line:none}
63
+ ._5goinqa1:focus{text-decoration-style:solid}
51
64
  ._7ehi1ssq:focus{box-shadow:var(--ds-border-focused,#4c9aff) 0 0 0 2px inset}
65
+ ._nt751r31:focus{outline-color:currentColor}
66
+ ._1bnxglyw:hover{text-decoration-line:none}
67
+ ._1dit1r31:hover{outline-color:currentColor}
68
+ ._1qb1glyw:hover{outline-offset:none}
69
+ ._4hz81o36:hover{outline-width:medium}
70
+ ._9oik1r31:hover{text-decoration-color:currentColor}
52
71
  ._irr314ae:hover{background-color:var(--ds-background-neutral-subtle-hovered,#ebecf0)}
53
- ._13roglyw:active, ._1bg4glyw:focus, ._1qb1glyw:hover, ._1dnaglyw:visited{outline-offset:none}
72
+ ._jf4cnqa1:hover{text-decoration-style:solid}
73
+ ._ksodglyw:hover{outline-style:none}
74
+ ._13roglyw:active{outline-offset:none}
54
75
  ._1di61l7b:active{background-color:var(--ds-background-neutral-subtle-pressed,#deebff)}
55
- ._1iohnqa1:active, ._5goinqa1:focus, ._jf4cnqa1:hover, ._1726nqa1:visited{text-decoration-style:solid}
56
- ._1nrm1r31:active, ._1a3b1r31:focus, ._9oik1r31:hover, ._1ydc1r31:visited{text-decoration-color:currentColor}
57
- ._1ohyglyw:active, ._49pcglyw:focus, ._ksodglyw:hover, ._tpgfglyw:visited{outline-style:none}
58
- ._1q5t1r31:active, ._nt751r31:focus, ._1dit1r31:hover, ._9nxe1r31:visited{outline-color:currentColor}
59
- ._1r9x1o36:active, ._1hvw1o36:focus, ._4hz81o36:hover, ._12gr1o36:visited{outline-width:medium}
60
- ._c2waglyw:active, ._4fprglyw:focus, ._1bnxglyw:hover, ._1x28glyw:visited{text-decoration-line:none}
76
+ ._1iohnqa1:active{text-decoration-style:solid}
77
+ ._1nrm1r31:active{text-decoration-color:currentColor}
78
+ ._1ohyglyw:active{outline-style:none}
79
+ ._1q5t1r31:active{outline-color:currentColor}
80
+ ._1r9x1o36:active{outline-width:medium}
81
+ ._c2waglyw:active{text-decoration-line:none}
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./styled.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./styled.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -50,7 +50,7 @@ const BackButtonWithContext = props => {
50
50
  data: {
51
51
  componentName: 'backButton',
52
52
  packageName: "@atlaskit/help",
53
- packageVersion: "9.1.19"
53
+ packageVersion: "9.1.20"
54
54
  }
55
55
  }, /*#__PURE__*/React.createElement(BackButton, props));
56
56
  };
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
7
7
  const analitycsContextData = {
8
8
  componentName: 'HelpContentButton',
9
9
  packageName: "@atlaskit/help",
10
- packageVersion: "9.1.19"
10
+ packageVersion: "9.1.20"
11
11
  };
12
12
  const HelpContentButton = ({
13
13
  id = '',
@@ -1,3 +1,4 @@
1
+
1
2
  ._11c8376l{font:var(--ds-font-body,inherit)}
2
3
  ._19itglyw{border:none}
3
4
  ._2rko12b0{border-radius:var(--ds-radius-small,4px)}
@@ -30,15 +31,38 @@
30
31
  ._syazc8hx{color:var(--ds-text-subtle,#344563)}
31
32
  ._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
32
33
  ._vchhusvi{box-sizing:border-box}
33
- ._vr2wstnw span{position:absolute}
34
+ ._vr2wstnw span{position:absolute}._1053c8hx:visited{color:var(--ds-text-subtle,#344563)}
35
+ ._12gr1o36:visited{outline-width:medium}
36
+ ._1726nqa1:visited{text-decoration-style:solid}
37
+ ._1dnaglyw:visited{outline-offset:none}
38
+ ._1x28glyw:visited{text-decoration-line:none}
39
+ ._1ydc1r31:visited{text-decoration-color:currentColor}
40
+ ._9nxe1r31:visited{outline-color:currentColor}
41
+ ._tpgfglyw:visited{outline-style:none}
42
+ ._1a3b1r31:focus{text-decoration-color:currentColor}
43
+ ._1bg4glyw:focus{outline-offset:none}
44
+ ._1hvw1o36:focus{outline-width:medium}
45
+ ._49pcglyw:focus{outline-style:none}
46
+ ._4fprglyw:focus{text-decoration-line:none}
47
+ ._5goinqa1:focus{text-decoration-style:solid}
34
48
  ._7ehi1ssq:focus{box-shadow:var(--ds-border-focused,#4c9aff) 0 0 0 2px inset}
49
+ ._f8pjc8hx:focus{color:var(--ds-text-subtle,#344563)}
50
+ ._nt751r31:focus{outline-color:currentColor}
51
+ ._1bnxglyw:hover{text-decoration-line:none}
52
+ ._1dit1r31:hover{outline-color:currentColor}
53
+ ._1qb1glyw:hover{outline-offset:none}
54
+ ._30l3c8hx:hover{color:var(--ds-text-subtle,#344563)}
55
+ ._4hz81o36:hover{outline-width:medium}
56
+ ._9oik1r31:hover{text-decoration-color:currentColor}
35
57
  ._irr314ae:hover{background-color:var(--ds-background-neutral-subtle-hovered,#ebecf0)}
36
- ._13roglyw:active, ._1bg4glyw:focus, ._1qb1glyw:hover, ._1dnaglyw:visited{outline-offset:none}
58
+ ._jf4cnqa1:hover{text-decoration-style:solid}
59
+ ._ksodglyw:hover{outline-style:none}
60
+ ._13roglyw:active{outline-offset:none}
37
61
  ._1di61l7b:active{background-color:var(--ds-background-neutral-subtle-pressed,#deebff)}
38
- ._1iohnqa1:active, ._5goinqa1:focus, ._jf4cnqa1:hover, ._1726nqa1:visited{text-decoration-style:solid}
39
- ._1nrm1r31:active, ._1a3b1r31:focus, ._9oik1r31:hover, ._1ydc1r31:visited{text-decoration-color:currentColor}
40
- ._1ohyglyw:active, ._49pcglyw:focus, ._ksodglyw:hover, ._tpgfglyw:visited{outline-style:none}
41
- ._1q5t1r31:active, ._nt751r31:focus, ._1dit1r31:hover, ._9nxe1r31:visited{outline-color:currentColor}
42
- ._1r9x1o36:active, ._1hvw1o36:focus, ._4hz81o36:hover, ._12gr1o36:visited{outline-width:medium}
43
- ._9h8hc8hx:active, ._f8pjc8hx:focus, ._30l3c8hx:hover, ._1053c8hx:visited{color:var(--ds-text-subtle,#344563)}
44
- ._c2waglyw:active, ._4fprglyw:focus, ._1bnxglyw:hover, ._1x28glyw:visited{text-decoration-line:none}
62
+ ._1iohnqa1:active{text-decoration-style:solid}
63
+ ._1nrm1r31:active{text-decoration-color:currentColor}
64
+ ._1ohyglyw:active{outline-style:none}
65
+ ._1q5t1r31:active{outline-color:currentColor}
66
+ ._1r9x1o36:active{outline-width:medium}
67
+ ._9h8hc8hx:active{color:var(--ds-text-subtle,#344563)}
68
+ ._c2waglyw:active{text-decoration-line:none}
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./styled.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./styled.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  /** @jsxFrag */
3
3
  import "./index.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -16,7 +16,7 @@ import { RelatedArticlesTitle } from './styled';
16
16
  import useCancellablePromise from '../../util/hooks/cancellablePromise';
17
17
  import { usePrevious } from '../../util/hooks/previous';
18
18
  const packageName = "@atlaskit/help";
19
- const packageVersion = "9.1.19";
19
+ const packageVersion = "9.1.20";
20
20
  const buttonStyles = null;
21
21
  export const RelatedArticles = ({
22
22
  style = 'primary',
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./styled.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./index.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useRef, useCallback } from 'react';
@@ -18,7 +18,7 @@ import { useNavigationContext } from '../../contexts/navigationContext';
18
18
  const ANALYTICS_CONTEXT_DATA = {
19
19
  componentName: 'searchInput',
20
20
  packageName: "@atlaskit/help",
21
- packageVersion: "9.1.19"
21
+ packageVersion: "9.1.20"
22
22
  };
23
23
  const buttonStyles = null;
24
24
  export const SearchInput = ({
@@ -1,4 +1,4 @@
1
- ._1275nkob>button, ._1skznkob>span{vertical-align:middle}
1
+ ._1275nkob>button{vertical-align:middle}
2
2
  ._16jlidpf{flex-grow:0}
3
3
  ._18u01ejb{margin-left:var(--ds-space-300,24px)}
4
4
  ._18u01i6y{margin-left:var(--ds-space-negative-025,-2px)}
@@ -9,9 +9,11 @@
9
9
  ._1bsb1osq{width:100%}
10
10
  ._1f021ejb>span{height:var(--ds-space-300,24px)}
11
11
  ._1f49idpf{order:0}
12
- ._1msb1o8l>button, ._1w7e1o8l>span{display:inline-block}
12
+ ._1msb1o8l>button{display:inline-block}
13
13
  ._1o9zkb7n{flex-shrink:1}
14
14
  ._1rckusvi>span{box-sizing:border-box}
15
+ ._1skznkob>span{vertical-align:middle}
16
+ ._1w7e1o8l>span{display:inline-block}
15
17
  ._1wpz1wug{align-self:auto}
16
18
  ._1wybidpf{font-size:0}
17
19
  ._1yg61b66>span{padding-left:var(--ds-space-050,4px)}
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./styled.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./styled.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./styled.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -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: "9.1.19"
14
+ packageVersion: "9.1.20"
15
15
  };
16
16
  export const WhatsNewButton = ({
17
17
  productName,
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./styled.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./styled.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -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: "9.1.19"
11
+ packageVersion: "9.1.20"
12
12
  };
13
13
  export const WhatsNewResultListItem = ({
14
14
  intl: {
@@ -28,13 +28,34 @@
28
28
  ._vchhusvi{box-sizing:border-box}
29
29
  ._vwz4gktf{line-height:20px}
30
30
  ._y3gn1e5h{text-align:left}
31
+ ._12gr1o36:visited{outline-width:medium}
32
+ ._1726nqa1:visited{text-decoration-style:solid}
33
+ ._1dnaglyw:visited{outline-offset:none}
34
+ ._1x28glyw:visited{text-decoration-line:none}
35
+ ._1ydc1r31:visited{text-decoration-color:currentColor}
36
+ ._9nxe1r31:visited{outline-color:currentColor}
37
+ ._tpgfglyw:visited{outline-style:none}
38
+ ._1a3b1r31:focus{text-decoration-color:currentColor}
39
+ ._1bg4glyw:focus{outline-offset:none}
40
+ ._1hvw1o36:focus{outline-width:medium}
41
+ ._49pcglyw:focus{outline-style:none}
42
+ ._4fprglyw:focus{text-decoration-line:none}
43
+ ._5goinqa1:focus{text-decoration-style:solid}
31
44
  ._7ehi1ssq:focus{box-shadow:var(--ds-border-focused,#4c9aff) 0 0 0 2px inset}
45
+ ._nt751r31:focus{outline-color:currentColor}
46
+ ._1bnxglyw:hover{text-decoration-line:none}
47
+ ._1dit1r31:hover{outline-color:currentColor}
48
+ ._1qb1glyw:hover{outline-offset:none}
49
+ ._4hz81o36:hover{outline-width:medium}
50
+ ._9oik1r31:hover{text-decoration-color:currentColor}
32
51
  ._irr314ae:hover{background-color:var(--ds-background-neutral-subtle-hovered,#ebecf0)}
33
- ._13roglyw:active, ._1bg4glyw:focus, ._1qb1glyw:hover, ._1dnaglyw:visited{outline-offset:none}
52
+ ._jf4cnqa1:hover{text-decoration-style:solid}
53
+ ._ksodglyw:hover{outline-style:none}
54
+ ._13roglyw:active{outline-offset:none}
34
55
  ._1di61l7b:active{background-color:var(--ds-background-neutral-subtle-pressed,#deebff)}
35
- ._1iohnqa1:active, ._5goinqa1:focus, ._jf4cnqa1:hover, ._1726nqa1:visited{text-decoration-style:solid}
36
- ._1nrm1r31:active, ._1a3b1r31:focus, ._9oik1r31:hover, ._1ydc1r31:visited{text-decoration-color:currentColor}
37
- ._1ohyglyw:active, ._49pcglyw:focus, ._ksodglyw:hover, ._tpgfglyw:visited{outline-style:none}
38
- ._1q5t1r31:active, ._nt751r31:focus, ._1dit1r31:hover, ._9nxe1r31:visited{outline-color:currentColor}
39
- ._1r9x1o36:active, ._1hvw1o36:focus, ._4hz81o36:hover, ._12gr1o36:visited{outline-width:medium}
40
- ._c2waglyw:active, ._4fprglyw:focus, ._1bnxglyw:hover, ._1x28glyw:visited{text-decoration-line:none}
56
+ ._1iohnqa1:active{text-decoration-style:solid}
57
+ ._1nrm1r31:active{text-decoration-color:currentColor}
58
+ ._1ohyglyw:active{outline-style:none}
59
+ ._1q5t1r31:active{outline-color:currentColor}
60
+ ._1r9x1o36:active{outline-width:medium}
61
+ ._c2waglyw:active{text-decoration-line:none}
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./styled.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./styled.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./styled.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  /** @jsxFrag */
3
3
  import "./index.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./styled.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- import React, { useReducer, useEffect, useCallback, useMemo } from 'react';
1
+ import React, { useReducer, useEffect, useCallback, useMemo, useRef } from 'react';
2
2
  import isEqual from 'lodash/isEqual';
3
3
  import { REQUEST_STATE } from '../../model/Requests';
4
4
  import { ARTICLE_TYPE } from '../../model/Help';
@@ -266,28 +266,36 @@ export const NavigationContextProvider = ({
266
266
  */
267
267
  return isOverlayVisible;
268
268
  }, [currentHistory.length, isDefaultContentDefined, isOverlayVisible, currentView, isAiEnabled]);
269
+
270
+ // Use refs to store the latest function references without causing re-renders
271
+ const onGetHelpArticleRef = useRef(onGetHelpArticle);
272
+ const onGetWhatsNewArticleRef = useRef(onGetWhatsNewArticle);
273
+
274
+ // Update refs when functions change
275
+ onGetHelpArticleRef.current = onGetHelpArticle;
276
+ onGetWhatsNewArticleRef.current = onGetWhatsNewArticle;
269
277
  const fetchArticleData = useCallback(async historyItem => {
270
278
  try {
271
279
  let article;
272
280
  switch (historyItem.type) {
273
281
  case ARTICLE_TYPE.HELP_ARTICLE:
274
- if (!onGetHelpArticle) {
282
+ if (!onGetHelpArticleRef.current) {
275
283
  throw new Error('onGetHelpArticle prop not defined');
276
284
  }
277
- article = await onGetHelpArticle({
285
+ article = await onGetHelpArticleRef.current({
278
286
  id: historyItem.id,
279
287
  type: historyItem.type,
280
288
  contentAri: historyItem.contentAri
281
289
  });
282
290
  break;
283
291
  case ARTICLE_TYPE.WHATS_NEW:
284
- if (!onGetWhatsNewArticle) {
292
+ if (!onGetWhatsNewArticleRef.current) {
285
293
  throw new Error('onGetWhatsNewArticle prop not defined');
286
294
  }
287
295
  if (historyItem.id === '') {
288
296
  break;
289
297
  }
290
- article = await onGetWhatsNewArticle({
298
+ article = await onGetWhatsNewArticleRef.current({
291
299
  id: historyItem.id,
292
300
  type: historyItem.type
293
301
  });
@@ -308,7 +316,8 @@ export const NavigationContextProvider = ({
308
316
  state: REQUEST_STATE.error
309
317
  };
310
318
  }
311
- }, [onGetHelpArticle, onGetWhatsNewArticle]);
319
+ }, [] // Empty dependency array since we use refs
320
+ );
312
321
  const reloadArticle = useCallback(async historyItem => {
313
322
  let historyItemToReload = {
314
323
  ...historyItem
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./styled.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./styled.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useEffect, useState } from 'react';
@@ -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: "9.1.19"
8
+ packageVersion: "9.1.20"
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: "9.1.19"
13
+ packageVersion: "9.1.20"
14
14
  };
15
15
  export var ArticleLoadingFail = function ArticleLoadingFail(_ref) {
16
16
  var onTryAgainButtonClick = _ref.onTryAgainButtonClick,
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./styled.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -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: "9.1.19"
9
+ packageVersion: "9.1.20"
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: "9.1.19"
9
+ packageVersion: "9.1.20"
10
10
  };
11
11
  export var ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
12
12
  var _ref$isSelected = _ref.isSelected,