@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
- /* 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 _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  import "./index.compiled.css";
@@ -27,7 +27,7 @@ var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
27
27
  var ANALYTICS_CONTEXT_DATA = {
28
28
  componentName: 'ArticleWasHelpfulForm',
29
29
  packageName: "@atlaskit/help",
30
- packageVersion: "9.1.19"
30
+ packageVersion: "9.1.20"
31
31
  };
32
32
  var buttonStyles = null;
33
33
  export var ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
@@ -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 _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["id", "top", "paddingRight", "children"];
@@ -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: "9.1.19"
59
+ packageVersion: "9.1.20"
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: "9.1.19"
16
+ packageVersion: "9.1.20"
17
17
  };
18
18
  export var WhatsNewArticle = function WhatsNewArticle(_ref) {
19
19
  var formatMessage = _ref.intl.formatMessage,
@@ -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';
@@ -9,8 +9,8 @@
9
9
  ._1pbycs5v{z-index:2}
10
10
  ._1reo15vq{overflow-x:hidden}
11
11
  ._2lx21bp4{flex-direction:column}
12
+ ._4t3i1kz6{height:calc(100% - var(--ds-space-800, 60px))}
12
13
  ._4t3i1osq{height:100%}
13
- ._4t3is6me{height:var(--_fwkl53)}
14
14
  ._bfhkvuon{background-color:var(--ds-surface,#fff)}
15
15
  ._ca0qpxbi{padding-top:var(--ds-space-200,1pc)}
16
16
  ._i0dlf1ug{flex-basis:0%}
@@ -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 _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  import "./index.compiled.css";
@@ -118,10 +118,8 @@ export var Article = function Article(_ref) {
118
118
  }, function (state) {
119
119
  return /*#__PURE__*/React.createElement("div", {
120
120
  ref: articleContainerRef,
121
- className: ax(["_16jlkb7n _1o9zkb7n _i0dlf1ug _19bv1ejb _u5f31ejb _n3tdpxbi _kqswstnw _4t3is6me _1bsb1osq _154i1eca _bfhkvuon _1ltv1osq _2lx21bp4 _vchhusvi _1reo15vq _18m91wug _1pbycs5v"]),
122
- style: _objectSpread(_objectSpread(_objectSpread({}, transitionStyles[state]), enableTransition[!skipArticleSlideInAnimation ? 'enabled' : 'disabled']), {}, {
123
- "--_fwkl53": ix("calc(100% - ".concat("var(--ds-space-800, 60px)", ")"))
124
- })
121
+ style: _objectSpread(_objectSpread({}, transitionStyles[state]), enableTransition[!skipArticleSlideInAnimation ? 'enabled' : 'disabled']),
122
+ className: ax(["_16jlkb7n _1o9zkb7n _i0dlf1ug _19bv1ejb _u5f31ejb _n3tdpxbi _kqswstnw _4t3i1kz6 _1bsb1osq _154i1eca _bfhkvuon _1ltv1osq _2lx21bp4 _vchhusvi _1reo15vq _18m91wug _1pbycs5v"])
125
123
  }, /*#__PURE__*/React.createElement(ArticleContent, {
126
124
  currentArticle: currentArticle,
127
125
  onHelpArticleLoadingFailTryAgainButtonClick: reloadHelpArticle && handleOnHelpArticleLoadingFailTryAgainButtonClick,
@@ -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: "9.1.19"
11
+ packageVersion: "9.1.20"
12
12
  };
13
13
  var highlightText = function 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
  ._7ehi13ga:focus{box-shadow:var(--_1cokla9)}
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
  ._irr32tgk:hover{background-color:var(--_1y60f1n)}
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
  ._1di618xb:active{background-color:var(--_18th9fi)}
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 _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
@@ -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';
@@ -49,7 +49,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
49
49
  data: {
50
50
  componentName: 'backButton',
51
51
  packageName: "@atlaskit/help",
52
- packageVersion: "9.1.19"
52
+ packageVersion: "9.1.20"
53
53
  }
54
54
  }, /*#__PURE__*/React.createElement(BackButton, props));
55
55
  };
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
7
7
  var analitycsContextData = {
8
8
  componentName: 'HelpContentButton',
9
9
  packageName: "@atlaskit/help",
10
- packageVersion: "9.1.19"
10
+ packageVersion: "9.1.20"
11
11
  };
12
12
  var HelpContentButton = function HelpContentButton(_ref) {
13
13
  var _ref$id = _ref.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)}
@@ -7,8 +8,8 @@
7
8
  ._19bvu2gc{padding-left:var(--ds-space-100,8px)}
8
9
  ._19pkidpf{margin-top:0}
9
10
  ._19pkr5cr{margin-top:var(--ds-space-negative-050,-4px)}
10
- ._1bsbb8xr{width:var(--_2br7en)}
11
11
  ._1bsbgktf{width:20px}
12
+ ._1bsbnau3{width:calc(100% - var(--ds-space-200, 1pc))}
12
13
  ._1bsbwgn3{width:calc(100% - 20px)}
13
14
  ._1e0c1o8l{display:inline-block}
14
15
  ._1e0c1ule{display:block}
@@ -30,15 +31,38 @@
30
31
  ._syaz1a5u{color:var(--_1oh641w)}
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}._10531a5u:visited{color:var(--_1oh641w)}
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
  ._7ehiu5t6:focus{box-shadow:var(--_ow3z6t)}
49
+ ._f8pj1a5u:focus{color:var(--_1oh641w)}
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
+ ._30l31a5u:hover{color:var(--_1oh641w)}
55
+ ._4hz81o36:hover{outline-width:medium}
56
+ ._9oik1r31:hover{text-decoration-color:currentColor}
35
57
  ._irr32tgk:hover{background-color:var(--_1y60f1n)}
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
  ._1di618xb:active{background-color:var(--_18th9fi)}
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
- ._9h8h1a5u:active, ._f8pj1a5u:focus, ._30l31a5u:hover, ._10531a5u:visited{color:var(--_1oh641w)}
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
+ ._9h8h1a5u:active{color:var(--_1oh641w)}
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';
@@ -24,9 +24,8 @@ export var HelpContentButtonContainer = function HelpContentButtonContainer(_ref
24
24
  id: id,
25
25
  tabIndex: tabIndex,
26
26
  target: target,
27
- className: ax(["_2rkofajl _19itglyw _bfhk1j28 _11c8376l _1e0c1ule _80omtlke _1bsbb8xr _syaz1a5u _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _7ehiu5t6 _1nrm1r31 _1a3b1r31 _9oik1r31 _1ydc1r31 _c2waglyw _4fprglyw _1bnxglyw _1x28glyw _1iohnqa1 _5goinqa1 _jf4cnqa1 _1726nqa1 _1q5t1r31 _nt751r31 _1dit1r31 _9nxe1r31 _1ohyglyw _49pcglyw _ksodglyw _tpgfglyw _1r9x1o36 _1hvw1o36 _4hz81o36 _12gr1o36 _13roglyw _1bg4glyw _1qb1glyw _1dnaglyw _9h8h1a5u _f8pj1a5u _30l31a5u _10531a5u _irr32tgk _1di618xb"]),
27
+ className: ax(["_2rkofajl _19itglyw _bfhk1j28 _11c8376l _1e0c1ule _80omtlke _1bsbnau3 _syaz1a5u _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _7ehiu5t6 _1nrm1r31 _1a3b1r31 _9oik1r31 _1ydc1r31 _c2waglyw _4fprglyw _1bnxglyw _1x28glyw _1iohnqa1 _5goinqa1 _jf4cnqa1 _1726nqa1 _1q5t1r31 _nt751r31 _1dit1r31 _9nxe1r31 _1ohyglyw _49pcglyw _ksodglyw _tpgfglyw _1r9x1o36 _1hvw1o36 _4hz81o36 _12gr1o36 _13roglyw _1bg4glyw _1qb1glyw _1dnaglyw _9h8h1a5u _f8pj1a5u _30l31a5u _10531a5u _irr32tgk _1di618xb"]),
28
28
  style: {
29
- "--_2br7en": ix("calc(100% - ".concat("var(--ds-space-200, 16px)", ")")),
30
29
  "--_1oh641w": ix("var(--ds-text-subtle, ".concat(N600, ")")),
31
30
  "--_ow3z6t": ix("".concat("var(--ds-border-focused, ".concat(B100, ")"), " 0 0 0 2px inset")),
32
31
  "--_1y60f1n": ix("var(--ds-background-neutral-subtle-hovered, ".concat(N30, ")")),
@@ -43,9 +42,8 @@ export var HelpContentButtonContainer = function HelpContentButtonContainer(_ref
43
42
  onKeyDown: onKeyDown,
44
43
  id: id,
45
44
  tabIndex: tabIndex,
46
- className: ax(["_2rkofajl _19itglyw _bfhk1j28 _11c8376l _1e0c1ule _80omtlke _1bsbb8xr _syaz1a5u _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _7ehiu5t6 _1nrm1r31 _1a3b1r31 _9oik1r31 _1ydc1r31 _c2waglyw _4fprglyw _1bnxglyw _1x28glyw _1iohnqa1 _5goinqa1 _jf4cnqa1 _1726nqa1 _1q5t1r31 _nt751r31 _1dit1r31 _9nxe1r31 _1ohyglyw _49pcglyw _ksodglyw _tpgfglyw _1r9x1o36 _1hvw1o36 _4hz81o36 _12gr1o36 _13roglyw _1bg4glyw _1qb1glyw _1dnaglyw _9h8h1a5u _f8pj1a5u _30l31a5u _10531a5u _irr32tgk _1di618xb"]),
45
+ className: ax(["_2rkofajl _19itglyw _bfhk1j28 _11c8376l _1e0c1ule _80omtlke _1bsbnau3 _syaz1a5u _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _7ehiu5t6 _1nrm1r31 _1a3b1r31 _9oik1r31 _1ydc1r31 _c2waglyw _4fprglyw _1bnxglyw _1x28glyw _1iohnqa1 _5goinqa1 _jf4cnqa1 _1726nqa1 _1q5t1r31 _nt751r31 _1dit1r31 _9nxe1r31 _1ohyglyw _49pcglyw _ksodglyw _tpgfglyw _1r9x1o36 _1hvw1o36 _4hz81o36 _12gr1o36 _13roglyw _1bg4glyw _1qb1glyw _1dnaglyw _9h8h1a5u _f8pj1a5u _30l31a5u _10531a5u _irr32tgk _1di618xb"]),
47
46
  style: {
48
- "--_2br7en": ix("calc(100% - ".concat("var(--ds-space-200, 16px)", ")")),
49
47
  "--_1oh641w": ix("var(--ds-text-subtle, ".concat(N600, ")")),
50
48
  "--_ow3z6t": ix("".concat("var(--ds-border-focused, ".concat(B100, ")"), " 0 0 0 2px inset")),
51
49
  "--_1y60f1n": ix("var(--ds-background-neutral-subtle-hovered, ".concat(N30, ")")),
@@ -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 _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
3
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  import "./index.compiled.css";
@@ -20,7 +20,7 @@ import { RelatedArticlesTitle } from './styled';
20
20
  import useCancellablePromise from '../../util/hooks/cancellablePromise';
21
21
  import { usePrevious } from '../../util/hooks/previous';
22
22
  var packageName = "@atlaskit/help";
23
- var packageVersion = "9.1.19";
23
+ var packageVersion = "9.1.20";
24
24
  var buttonStyles = null;
25
25
  export var RelatedArticles = function RelatedArticles(_ref) {
26
26
  var _ref$style = _ref.style,
@@ -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 _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["children"];
@@ -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
  var 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
  var buttonStyles = null;
24
24
  export var SearchInput = function SearchInput(_ref) {
@@ -1,17 +1,19 @@
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)}
5
5
  ._19bv1b66{padding-left:var(--ds-space-050,4px)}
6
6
  ._19pkou31{margin-top:var(--ds-space-200,14px)}
7
- ._1bsb10tm{width:var(--_f02zv0)}
8
7
  ._1bsb1ejb{width:var(--ds-space-300,24px)}
8
+ ._1bsb1j1s{width:calc(100% - var(--ds-space-300, 24px) - var(--ds-space-300, 24px))}
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';
@@ -13,10 +13,7 @@ var searchInputContainerAiStyles = null;
13
13
  export var SearchInputContainerAi = function SearchInputContainerAi(_ref2) {
14
14
  var children = _ref2.children;
15
15
  return /*#__PURE__*/React.createElement("div", {
16
- className: ax(["_16jlidpf _1o9zkb7n _i0dl1wug _1bsb10tm _4t3ixy5q _18u01ejb _2hwx1ejb _19pkou31 _otyrou31 _1f49idpf _1wpz1wug _vchhusvi"]),
17
- style: {
18
- "--_f02zv0": ix("calc(100% - ".concat("var(--ds-space-300, 24px)", " - ", "var(--ds-space-300, 24px)", ")"))
19
- }
16
+ className: ax(["_16jlidpf _1o9zkb7n _i0dl1wug _1bsb1j1s _4t3ixy5q _18u01ejb _2hwx1ejb _19pkou31 _otyrou31 _1f49idpf _1wpz1wug _vchhusvi"])
20
17
  }, children);
21
18
  };
22
19
  var searchIconContainerStyles = null;
@@ -13,8 +13,8 @@
13
13
  ._1reo15vq{overflow-x:hidden}
14
14
  ._2lx21bp4{flex-direction:column}
15
15
  ._3um015vq{visibility:hidden}
16
+ ._4t3i1kz6{height:calc(100% - var(--ds-space-800, 60px))}
16
17
  ._4t3i1osq{height:100%}
17
- ._4t3is6me{height:var(--_fwkl53)}
18
18
  ._bfhkvuon{background-color:var(--ds-surface,#fff)}
19
19
  ._ca0q1ejb{padding-top:var(--ds-space-300,24px)}
20
20
  ._ca0qidpf{padding-top: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
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./styled.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -41,9 +41,8 @@ export var SearchResultsContainerAi = function SearchResultsContainerAi(_ref2) {
41
41
  var children = _ref2.children,
42
42
  transitionState = _ref2.transitionState;
43
43
  return /*#__PURE__*/React.createElement("div", {
44
- className: ax(["_16jlkb7n _1o9zkb7n _i0dlf1ug _v564tcs9 _kqswstnw _4t3is6me _1bsb1osq _154i1eca _bfhkvuon _2lx21bp4 _vchhusvi _1reo15vq _18m91wug _1pbyzo7u _ca0qidpf _u5f3pxbi _n3tdidpf _19bvpxbi _tzy4idpf _3um015vq"]),
44
+ className: ax(["_16jlkb7n _1o9zkb7n _i0dlf1ug _v564tcs9 _kqswstnw _4t3i1kz6 _1bsb1osq _154i1eca _bfhkvuon _2lx21bp4 _vchhusvi _1reo15vq _18m91wug _1pbyzo7u _ca0qidpf _u5f3pxbi _n3tdidpf _19bvpxbi _tzy4idpf _3um015vq"]),
45
45
  style: _objectSpread(_objectSpread({}, transitionStyles[transitionState]), {}, {
46
- "--_fwkl53": ix("calc(100% - ".concat("var(--ds-space-800, 60px)", ")")),
47
46
  "--_1peo1h6": ix("opacity ".concat(FADEIN_OVERLAY_TRANSITION_DURATION_MS, "ms"))
48
47
  })
49
48
  }, children);
@@ -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
  var 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 var WhatsNewButton = function WhatsNewButton(_ref) {
17
17
  var productName = _ref.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
  var 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 var WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
14
14
  var formatMessage = _ref.intl.formatMessage,
@@ -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
  ._7ehi13ga:focus{box-shadow:var(--_1cokla9)}
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
  ._irr31rbn:hover{background-color:var(--_1twi6n5)}
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
  ._1di6n0pj:active{background-color:var(--_1bsdhru)}
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 _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
@@ -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 _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["children"];
@@ -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 _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  import "./index.compiled.css";
@@ -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 @@ var _excluded = ["body", "relatedArticles"],
8
8
  import _regeneratorRuntime from "@babel/runtime/regenerator";
9
9
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
10
10
  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) { _defineProperty(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; }
11
- import React, { useReducer, useEffect, useCallback, useMemo } from 'react';
11
+ import React, { useReducer, useEffect, useCallback, useMemo, useRef } from 'react';
12
12
  import isEqual from 'lodash/isEqual';
13
13
  import { REQUEST_STATE } from '../../model/Requests';
14
14
  import { ARTICLE_TYPE } from '../../model/Help';
@@ -262,6 +262,14 @@ export var NavigationContextProvider = function NavigationContextProvider(_ref4)
262
262
  */
263
263
  return isOverlayVisible;
264
264
  }, [currentHistory.length, isDefaultContentDefined, isOverlayVisible, currentView, isAiEnabled]);
265
+
266
+ // Use refs to store the latest function references without causing re-renders
267
+ var onGetHelpArticleRef = useRef(onGetHelpArticle);
268
+ var onGetWhatsNewArticleRef = useRef(onGetWhatsNewArticle);
269
+
270
+ // Update refs when functions change
271
+ onGetHelpArticleRef.current = onGetHelpArticle;
272
+ onGetWhatsNewArticleRef.current = onGetWhatsNewArticle;
265
273
  var fetchArticleData = useCallback( /*#__PURE__*/function () {
266
274
  var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(historyItem) {
267
275
  var article;
@@ -273,14 +281,14 @@ export var NavigationContextProvider = function NavigationContextProvider(_ref4)
273
281
  _context.next = _context.t0 === ARTICLE_TYPE.HELP_ARTICLE ? 4 : _context.t0 === ARTICLE_TYPE.WHATS_NEW ? 10 : 18;
274
282
  break;
275
283
  case 4:
276
- if (onGetHelpArticle) {
284
+ if (onGetHelpArticleRef.current) {
277
285
  _context.next = 6;
278
286
  break;
279
287
  }
280
288
  throw new Error('onGetHelpArticle prop not defined');
281
289
  case 6:
282
290
  _context.next = 8;
283
- return onGetHelpArticle({
291
+ return onGetHelpArticleRef.current({
284
292
  id: historyItem.id,
285
293
  type: historyItem.type,
286
294
  contentAri: historyItem.contentAri
@@ -289,7 +297,7 @@ export var NavigationContextProvider = function NavigationContextProvider(_ref4)
289
297
  article = _context.sent;
290
298
  return _context.abrupt("break", 19);
291
299
  case 10:
292
- if (onGetWhatsNewArticle) {
300
+ if (onGetWhatsNewArticleRef.current) {
293
301
  _context.next = 12;
294
302
  break;
295
303
  }
@@ -302,7 +310,7 @@ export var NavigationContextProvider = function NavigationContextProvider(_ref4)
302
310
  return _context.abrupt("break", 19);
303
311
  case 14:
304
312
  _context.next = 16;
305
- return onGetWhatsNewArticle({
313
+ return onGetWhatsNewArticleRef.current({
306
314
  id: historyItem.id,
307
315
  type: historyItem.type
308
316
  });
@@ -332,7 +340,8 @@ export var NavigationContextProvider = function NavigationContextProvider(_ref4)
332
340
  return function (_x) {
333
341
  return _ref5.apply(this, arguments);
334
342
  };
335
- }(), [onGetHelpArticle, onGetWhatsNewArticle]);
343
+ }(), [] // Empty dependency array since we use refs
344
+ );
336
345
  var reloadArticle = useCallback( /*#__PURE__*/function () {
337
346
  var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(historyItem) {
338
347
  var historyItemToReload;
@@ -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 _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import _extends from "@babel/runtime/helpers/extends";
4
4
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
@@ -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
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  import "./styled.compiled.css";
@@ -77,10 +77,9 @@ export var WhatsNewTypeIcon = function WhatsNewTypeIcon(_ref3) {
77
77
  }
78
78
  }, [type]);
79
79
  return /*#__PURE__*/React.createElement("div", {
80
- className: ax(["_2rkolb4i _1e0c1o8l _s7n4nkob _kqswh2mm _4t3ipxbi _1bsbpxbi _syazu67f _iu1xwk75 _100gwk75 _yti7stnw _5s2h1ssb _se2z1ssb _9qcx1ooe _15jg1osq _1jrq1osq"]),
81
80
  style: {
82
- backgroundColor: backgroundColor,
83
- "--_ys364u": ix("calc(100% - ".concat("var(--ds-space-050, 4px)", ")"))
84
- }
81
+ backgroundColor: backgroundColor
82
+ },
83
+ className: ax(["_2rkolb4i _1e0c1o8l _s7n4nkob _kqswh2mm _4t3ipxbi _1bsbpxbi _syazu67f _iu1x1wgc _100g1wgc _yti7stnw _5s2h1ssb _se2z1ssb _9qcx1ooe _15jg1osq _1jrq1osq"])
85
84
  }, children);
86
85
  };