@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.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/cjs/components/Article/ArticleLoadingFail/styled.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/index.js +2 -2
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/styled.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/index.js +1 -1
- package/dist/cjs/components/Article/WhatsNewArticle/index.js +1 -1
- package/dist/cjs/components/Article/WhatsNewArticle/styled.js +1 -1
- package/dist/cjs/components/Article/index.compiled.css +1 -1
- package/dist/cjs/components/Article/index.js +3 -5
- package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/cjs/components/ArticlesList/ArticlesListItem/styled.compiled.css +28 -7
- package/dist/cjs/components/ArticlesList/ArticlesListItem/styled.js +1 -1
- package/dist/cjs/components/ArticlesList/styled.js +1 -1
- package/dist/cjs/components/BackButton/index.js +1 -1
- package/dist/cjs/components/HelpContentButton/index.js +1 -1
- package/dist/cjs/components/HelpContentButton/styled.compiled.css +34 -10
- package/dist/cjs/components/HelpContentButton/styled.js +3 -5
- package/dist/cjs/components/NeedMoreHelp/styled.js +1 -1
- package/dist/cjs/components/RelatedArticles/index.js +2 -2
- package/dist/cjs/components/RelatedArticles/styled.js +1 -1
- package/dist/cjs/components/Search/SearchInput/index.js +2 -2
- package/dist/cjs/components/Search/SearchInput/styled.compiled.css +5 -3
- package/dist/cjs/components/Search/SearchInput/styled.js +2 -5
- package/dist/cjs/components/Search/SearchResults/styled.compiled.css +1 -1
- package/dist/cjs/components/Search/SearchResults/styled.js +2 -3
- package/dist/cjs/components/Tabs/styled.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.compiled.css +28 -7
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/styled.js +1 -1
- package/dist/cjs/components/contexts/navigationContext.js +14 -5
- package/dist/cjs/components/styled.js +1 -1
- package/dist/cjs/util/styled.compiled.css +2 -2
- package/dist/cjs/util/styled.js +4 -5
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/es2019/components/Article/ArticleLoadingFail/styled.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/index.js +2 -2
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/styled.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/index.js +1 -1
- package/dist/es2019/components/Article/WhatsNewArticle/index.js +1 -1
- package/dist/es2019/components/Article/WhatsNewArticle/styled.js +1 -1
- package/dist/es2019/components/Article/index.js +1 -1
- package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/es2019/components/ArticlesList/ArticlesListItem/styled.compiled.css +28 -7
- package/dist/es2019/components/ArticlesList/ArticlesListItem/styled.js +1 -1
- package/dist/es2019/components/ArticlesList/styled.js +1 -1
- package/dist/es2019/components/BackButton/index.js +1 -1
- package/dist/es2019/components/HelpContentButton/index.js +1 -1
- package/dist/es2019/components/HelpContentButton/styled.compiled.css +33 -9
- package/dist/es2019/components/HelpContentButton/styled.js +1 -1
- package/dist/es2019/components/NeedMoreHelp/styled.js +1 -1
- package/dist/es2019/components/RelatedArticles/index.js +2 -2
- package/dist/es2019/components/RelatedArticles/styled.js +1 -1
- package/dist/es2019/components/Search/SearchInput/index.js +2 -2
- package/dist/es2019/components/Search/SearchInput/styled.compiled.css +4 -2
- package/dist/es2019/components/Search/SearchInput/styled.js +1 -1
- package/dist/es2019/components/Search/SearchResults/styled.js +1 -1
- package/dist/es2019/components/Tabs/styled.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.compiled.css +28 -7
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/styled.js +1 -1
- package/dist/es2019/components/contexts/navigationContext.js +15 -6
- package/dist/es2019/components/styled.js +1 -1
- package/dist/es2019/util/styled.js +1 -1
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/esm/components/Article/ArticleLoadingFail/styled.js +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/index.js +2 -2
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/styled.js +1 -1
- package/dist/esm/components/Article/HelpArticle/index.js +1 -1
- package/dist/esm/components/Article/WhatsNewArticle/index.js +1 -1
- package/dist/esm/components/Article/WhatsNewArticle/styled.js +1 -1
- package/dist/esm/components/Article/index.compiled.css +1 -1
- package/dist/esm/components/Article/index.js +3 -5
- package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/esm/components/ArticlesList/ArticlesListItem/styled.compiled.css +28 -7
- package/dist/esm/components/ArticlesList/ArticlesListItem/styled.js +1 -1
- package/dist/esm/components/ArticlesList/styled.js +1 -1
- package/dist/esm/components/BackButton/index.js +1 -1
- package/dist/esm/components/HelpContentButton/index.js +1 -1
- package/dist/esm/components/HelpContentButton/styled.compiled.css +34 -10
- package/dist/esm/components/HelpContentButton/styled.js +3 -5
- package/dist/esm/components/NeedMoreHelp/styled.js +1 -1
- package/dist/esm/components/RelatedArticles/index.js +2 -2
- package/dist/esm/components/RelatedArticles/styled.js +1 -1
- package/dist/esm/components/Search/SearchInput/index.js +2 -2
- package/dist/esm/components/Search/SearchInput/styled.compiled.css +5 -3
- package/dist/esm/components/Search/SearchInput/styled.js +2 -5
- package/dist/esm/components/Search/SearchResults/styled.compiled.css +1 -1
- package/dist/esm/components/Search/SearchResults/styled.js +2 -3
- package/dist/esm/components/Tabs/styled.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.compiled.css +28 -7
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/styled.js +1 -1
- package/dist/esm/components/contexts/navigationContext.js +15 -6
- package/dist/esm/components/styled.js +1 -1
- package/dist/esm/util/styled.compiled.css +2 -2
- package/dist/esm/util/styled.js +4 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/cjs/analytics.js
CHANGED
|
@@ -13,5 +13,5 @@ var createAndFire = exports.createAndFire = x.createAndFireEvent('atlaskit');
|
|
|
13
13
|
var defaultAnalyticsAttributes = exports.defaultAnalyticsAttributes = {
|
|
14
14
|
componentName: 'help',
|
|
15
15
|
packageName: "@atlaskit/help",
|
|
16
|
-
packageVersion: "9.1.
|
|
16
|
+
packageVersion: "9.1.20"
|
|
17
17
|
};
|
|
@@ -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: "9.1.
|
|
20
|
+
packageVersion: "9.1.20"
|
|
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: "9.1.
|
|
16
|
+
packageVersion: "9.1.20"
|
|
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: "9.1.
|
|
16
|
+
packageVersion: "9.1.20"
|
|
17
17
|
};
|
|
18
18
|
var ArticleWasHelpfulYesButton = exports.ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
|
|
19
19
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -35,7 +35,7 @@ var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
|
|
|
35
35
|
var ANALYTICS_CONTEXT_DATA = {
|
|
36
36
|
componentName: 'ArticleWasHelpfulForm',
|
|
37
37
|
packageName: "@atlaskit/help",
|
|
38
|
-
packageVersion: "9.1.
|
|
38
|
+
packageVersion: "9.1.20"
|
|
39
39
|
};
|
|
40
40
|
var buttonStyles = null;
|
|
41
41
|
var ArticleWasHelpfulForm = exports.ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
|
|
@@ -64,7 +64,7 @@ var HelpArticle = exports.HelpArticle = function HelpArticle(_ref) {
|
|
|
64
64
|
analyticsEvent.payload.attributes = {
|
|
65
65
|
componentName: 'Article',
|
|
66
66
|
packageName: "@atlaskit/help",
|
|
67
|
-
packageVersion: "9.1.
|
|
67
|
+
packageVersion: "9.1.20"
|
|
68
68
|
};
|
|
69
69
|
if (onRelatedArticlesShowMoreClick) {
|
|
70
70
|
onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
|
|
@@ -21,7 +21,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
21
21
|
var analyticsContextData = {
|
|
22
22
|
componentName: 'ArticlesListItem',
|
|
23
23
|
packageName: "@atlaskit/help",
|
|
24
|
-
packageVersion: "9.1.
|
|
24
|
+
packageVersion: "9.1.20"
|
|
25
25
|
};
|
|
26
26
|
var WhatsNewArticle = exports.WhatsNewArticle = function WhatsNewArticle(_ref) {
|
|
27
27
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -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.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -127,10 +127,8 @@ var Article = exports.Article = function Article(_ref) {
|
|
|
127
127
|
}, function (state) {
|
|
128
128
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
129
129
|
ref: articleContainerRef,
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
"--_fwkl53": (0, _runtime.ix)("calc(100% - ".concat("var(--ds-space-800, 60px)", ")"))
|
|
133
|
-
})
|
|
130
|
+
style: _objectSpread(_objectSpread({}, transitionStyles[state]), enableTransition[!skipArticleSlideInAnimation ? 'enabled' : 'disabled']),
|
|
131
|
+
className: (0, _runtime.ax)(["_16jlkb7n _1o9zkb7n _i0dlf1ug _19bv1ejb _u5f31ejb _n3tdpxbi _kqswstnw _4t3i1kz6 _1bsb1osq _154i1eca _bfhkvuon _1ltv1osq _2lx21bp4 _vchhusvi _1reo15vq _18m91wug _1pbycs5v"])
|
|
134
132
|
}, /*#__PURE__*/_react.default.createElement(_ArticleContent.default, {
|
|
135
133
|
currentArticle: currentArticle,
|
|
136
134
|
onHelpArticleLoadingFailTryAgainButtonClick: reloadHelpArticle && handleOnHelpArticleLoadingFailTryAgainButtonClick,
|
|
@@ -17,7 +17,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
17
17
|
var ANALYTICS_CONTEXT_DATA = {
|
|
18
18
|
componentName: 'ArticlesListItem',
|
|
19
19
|
packageName: "@atlaskit/help",
|
|
20
|
-
packageVersion: "9.1.
|
|
20
|
+
packageVersion: "9.1.20"
|
|
21
21
|
};
|
|
22
22
|
var highlightText = function highlightText(text) {
|
|
23
23
|
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
|
-
.
|
|
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
|
|
56
|
-
._1nrm1r31:active
|
|
57
|
-
._1ohyglyw:active
|
|
58
|
-
._1q5t1r31:active
|
|
59
|
-
._1r9x1o36:active
|
|
60
|
-
._c2waglyw:active
|
|
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}
|
|
@@ -56,7 +56,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
|
|
|
56
56
|
data: {
|
|
57
57
|
componentName: 'backButton',
|
|
58
58
|
packageName: "@atlaskit/help",
|
|
59
|
-
packageVersion: "9.1.
|
|
59
|
+
packageVersion: "9.1.20"
|
|
60
60
|
}
|
|
61
61
|
}, /*#__PURE__*/_react.default.createElement(BackButton, props));
|
|
62
62
|
};
|
|
@@ -16,7 +16,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
16
16
|
var analitycsContextData = {
|
|
17
17
|
componentName: 'HelpContentButton',
|
|
18
18
|
packageName: "@atlaskit/help",
|
|
19
|
-
packageVersion: "9.1.
|
|
19
|
+
packageVersion: "9.1.20"
|
|
20
20
|
};
|
|
21
21
|
var HelpContentButton = function HelpContentButton(_ref) {
|
|
22
22
|
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
|
-
.
|
|
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
|
|
39
|
-
._1nrm1r31:active
|
|
40
|
-
._1ohyglyw:active
|
|
41
|
-
._1q5t1r31:active
|
|
42
|
-
._1r9x1o36:active
|
|
43
|
-
._9h8h1a5u:active
|
|
44
|
-
._c2waglyw:active
|
|
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.
|
|
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");
|
|
@@ -31,9 +31,8 @@ var HelpContentButtonContainer = exports.HelpContentButtonContainer = function H
|
|
|
31
31
|
id: id,
|
|
32
32
|
tabIndex: tabIndex,
|
|
33
33
|
target: target,
|
|
34
|
-
className: (0, _runtime.ax)(["_2rkofajl _19itglyw _bfhk1j28 _11c8376l _1e0c1ule _80omtlke
|
|
34
|
+
className: (0, _runtime.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"]),
|
|
35
35
|
style: {
|
|
36
|
-
"--_2br7en": (0, _runtime.ix)("calc(100% - ".concat("var(--ds-space-200, 16px)", ")")),
|
|
37
36
|
"--_1oh641w": (0, _runtime.ix)("var(--ds-text-subtle, ".concat(_colors.N600, ")")),
|
|
38
37
|
"--_ow3z6t": (0, _runtime.ix)("".concat("var(--ds-border-focused, ".concat(_colors.B100, ")"), " 0 0 0 2px inset")),
|
|
39
38
|
"--_1y60f1n": (0, _runtime.ix)("var(--ds-background-neutral-subtle-hovered, ".concat(_colors.N30, ")")),
|
|
@@ -50,9 +49,8 @@ var HelpContentButtonContainer = exports.HelpContentButtonContainer = function H
|
|
|
50
49
|
onKeyDown: onKeyDown,
|
|
51
50
|
id: id,
|
|
52
51
|
tabIndex: tabIndex,
|
|
53
|
-
className: (0, _runtime.ax)(["_2rkofajl _19itglyw _bfhk1j28 _11c8376l _1e0c1ule _80omtlke
|
|
52
|
+
className: (0, _runtime.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"]),
|
|
54
53
|
style: {
|
|
55
|
-
"--_2br7en": (0, _runtime.ix)("calc(100% - ".concat("var(--ds-space-200, 16px)", ")")),
|
|
56
54
|
"--_1oh641w": (0, _runtime.ix)("var(--ds-text-subtle, ".concat(_colors.N600, ")")),
|
|
57
55
|
"--_ow3z6t": (0, _runtime.ix)("".concat("var(--ds-border-focused, ".concat(_colors.B100, ")"), " 0 0 0 2px inset")),
|
|
58
56
|
"--_1y60f1n": (0, _runtime.ix)("var(--ds-background-neutral-subtle-hovered, ".concat(_colors.N30, ")")),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -28,7 +28,7 @@ var _previous = require("../../util/hooks/previous");
|
|
|
28
28
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
29
29
|
/** @jsxFrag */
|
|
30
30
|
var packageName = "@atlaskit/help";
|
|
31
|
-
var packageVersion = "9.1.
|
|
31
|
+
var packageVersion = "9.1.20";
|
|
32
32
|
var buttonStyles = null;
|
|
33
33
|
var RelatedArticles = exports.RelatedArticles = function RelatedArticles(_ref) {
|
|
34
34
|
var _ref$style = _ref.style,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -27,7 +27,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
27
27
|
var ANALYTICS_CONTEXT_DATA = {
|
|
28
28
|
componentName: 'searchInput',
|
|
29
29
|
packageName: "@atlaskit/help",
|
|
30
|
-
packageVersion: "9.1.
|
|
30
|
+
packageVersion: "9.1.20"
|
|
31
31
|
};
|
|
32
32
|
var buttonStyles = null;
|
|
33
33
|
var SearchInput = exports.SearchInput = function SearchInput(_ref) {
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
._1275nkob>button
|
|
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
|
|
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.
|
|
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");
|
|
@@ -20,10 +20,7 @@ var searchInputContainerAiStyles = null;
|
|
|
20
20
|
var SearchInputContainerAi = exports.SearchInputContainerAi = function SearchInputContainerAi(_ref2) {
|
|
21
21
|
var children = _ref2.children;
|
|
22
22
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
23
|
-
className: (0, _runtime.ax)(["_16jlidpf _1o9zkb7n _i0dl1wug
|
|
24
|
-
style: {
|
|
25
|
-
"--_f02zv0": (0, _runtime.ix)("calc(100% - ".concat("var(--ds-space-300, 24px)", " - ", "var(--ds-space-300, 24px)", ")"))
|
|
26
|
-
}
|
|
23
|
+
className: (0, _runtime.ax)(["_16jlidpf _1o9zkb7n _i0dl1wug _1bsb1j1s _4t3ixy5q _18u01ejb _2hwx1ejb _19pkou31 _otyrou31 _1f49idpf _1wpz1wug _vchhusvi"])
|
|
27
24
|
}, children);
|
|
28
25
|
};
|
|
29
26
|
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.
|
|
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");
|
|
@@ -48,9 +48,8 @@ var SearchResultsContainerAi = exports.SearchResultsContainerAi = function Searc
|
|
|
48
48
|
var children = _ref2.children,
|
|
49
49
|
transitionState = _ref2.transitionState;
|
|
50
50
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
51
|
-
className: (0, _runtime.ax)(["_16jlkb7n _1o9zkb7n _i0dlf1ug _v564tcs9 _kqswstnw
|
|
51
|
+
className: (0, _runtime.ax)(["_16jlkb7n _1o9zkb7n _i0dlf1ug _v564tcs9 _kqswstnw _4t3i1kz6 _1bsb1osq _154i1eca _bfhkvuon _2lx21bp4 _vchhusvi _1reo15vq _18m91wug _1pbyzo7u _ca0qidpf _u5f3pxbi _n3tdidpf _19bvpxbi _tzy4idpf _3um015vq"]),
|
|
52
52
|
style: _objectSpread(_objectSpread({}, transitionStyles[transitionState]), {}, {
|
|
53
|
-
"--_fwkl53": (0, _runtime.ix)("calc(100% - ".concat("var(--ds-space-800, 60px)", ")")),
|
|
54
53
|
"--_1peo1h6": (0, _runtime.ix)("opacity ".concat(FADEIN_OVERLAY_TRANSITION_DURATION_MS, "ms"))
|
|
55
54
|
})
|
|
56
55
|
}, children);
|
|
@@ -20,7 +20,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
20
20
|
var ANALYTICS_CONTEXT_DATA = {
|
|
21
21
|
componentName: 'WhatsNewButton',
|
|
22
22
|
packageName: "@atlaskit/help",
|
|
23
|
-
packageVersion: "9.1.
|
|
23
|
+
packageVersion: "9.1.20"
|
|
24
24
|
};
|
|
25
25
|
var WhatsNewButton = exports.WhatsNewButton = function WhatsNewButton(_ref) {
|
|
26
26
|
var productName = _ref.productName,
|
package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var _styled2 = require("./styled");
|
|
|
15
15
|
var ANALYTICS_CONTEXT_DATA = {
|
|
16
16
|
componentName: 'ArticlesListItem',
|
|
17
17
|
packageName: "@atlaskit/help",
|
|
18
|
-
packageVersion: "9.1.
|
|
18
|
+
packageVersion: "9.1.20"
|
|
19
19
|
};
|
|
20
20
|
var WhatsNewResultListItem = exports.WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
|
|
21
21
|
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
|
-
.
|
|
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
|
|
36
|
-
._1nrm1r31:active
|
|
37
|
-
._1ohyglyw:active
|
|
38
|
-
._1q5t1r31:active
|
|
39
|
-
._1r9x1o36:active
|
|
40
|
-
._c2waglyw:active
|
|
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}
|
|
@@ -270,6 +270,14 @@ var NavigationContextProvider = exports.NavigationContextProvider = function Nav
|
|
|
270
270
|
*/
|
|
271
271
|
return isOverlayVisible;
|
|
272
272
|
}, [currentHistory.length, isDefaultContentDefined, isOverlayVisible, currentView, isAiEnabled]);
|
|
273
|
+
|
|
274
|
+
// Use refs to store the latest function references without causing re-renders
|
|
275
|
+
var onGetHelpArticleRef = (0, _react.useRef)(onGetHelpArticle);
|
|
276
|
+
var onGetWhatsNewArticleRef = (0, _react.useRef)(onGetWhatsNewArticle);
|
|
277
|
+
|
|
278
|
+
// Update refs when functions change
|
|
279
|
+
onGetHelpArticleRef.current = onGetHelpArticle;
|
|
280
|
+
onGetWhatsNewArticleRef.current = onGetWhatsNewArticle;
|
|
273
281
|
var fetchArticleData = (0, _react.useCallback)( /*#__PURE__*/function () {
|
|
274
282
|
var _ref5 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(historyItem) {
|
|
275
283
|
var article;
|
|
@@ -281,14 +289,14 @@ var NavigationContextProvider = exports.NavigationContextProvider = function Nav
|
|
|
281
289
|
_context.next = _context.t0 === _Help.ARTICLE_TYPE.HELP_ARTICLE ? 4 : _context.t0 === _Help.ARTICLE_TYPE.WHATS_NEW ? 10 : 18;
|
|
282
290
|
break;
|
|
283
291
|
case 4:
|
|
284
|
-
if (
|
|
292
|
+
if (onGetHelpArticleRef.current) {
|
|
285
293
|
_context.next = 6;
|
|
286
294
|
break;
|
|
287
295
|
}
|
|
288
296
|
throw new Error('onGetHelpArticle prop not defined');
|
|
289
297
|
case 6:
|
|
290
298
|
_context.next = 8;
|
|
291
|
-
return
|
|
299
|
+
return onGetHelpArticleRef.current({
|
|
292
300
|
id: historyItem.id,
|
|
293
301
|
type: historyItem.type,
|
|
294
302
|
contentAri: historyItem.contentAri
|
|
@@ -297,7 +305,7 @@ var NavigationContextProvider = exports.NavigationContextProvider = function Nav
|
|
|
297
305
|
article = _context.sent;
|
|
298
306
|
return _context.abrupt("break", 19);
|
|
299
307
|
case 10:
|
|
300
|
-
if (
|
|
308
|
+
if (onGetWhatsNewArticleRef.current) {
|
|
301
309
|
_context.next = 12;
|
|
302
310
|
break;
|
|
303
311
|
}
|
|
@@ -310,7 +318,7 @@ var NavigationContextProvider = exports.NavigationContextProvider = function Nav
|
|
|
310
318
|
return _context.abrupt("break", 19);
|
|
311
319
|
case 14:
|
|
312
320
|
_context.next = 16;
|
|
313
|
-
return
|
|
321
|
+
return onGetWhatsNewArticleRef.current({
|
|
314
322
|
id: historyItem.id,
|
|
315
323
|
type: historyItem.type
|
|
316
324
|
});
|
|
@@ -340,7 +348,8 @@ var NavigationContextProvider = exports.NavigationContextProvider = function Nav
|
|
|
340
348
|
return function (_x) {
|
|
341
349
|
return _ref5.apply(this, arguments);
|
|
342
350
|
};
|
|
343
|
-
}(), [
|
|
351
|
+
}(), [] // Empty dependency array since we use refs
|
|
352
|
+
);
|
|
344
353
|
var reloadArticle = (0, _react.useCallback)( /*#__PURE__*/function () {
|
|
345
354
|
var _ref6 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(historyItem) {
|
|
346
355
|
var historyItemToReload;
|