@atlaskit/help 7.4.1 → 7.4.2
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 +759 -752
- 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 +3 -0
- 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 +6 -2
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/styled.js +5 -0
- package/dist/cjs/components/Article/HelpArticle/index.js +1 -1
- package/dist/cjs/components/Article/WhatsNewArticle/Loading/index.js +4 -0
- package/dist/cjs/components/Article/WhatsNewArticle/index.js +4 -2
- package/dist/cjs/components/Article/WhatsNewArticle/styled.js +11 -0
- package/dist/cjs/components/Article/styled.js +1 -0
- package/dist/cjs/components/ArticlesList/ArticlesList.js +1 -1
- package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/cjs/components/ArticlesList/ArticlesListItem/styled.js +11 -0
- package/dist/cjs/components/ArticlesList/index.js +3 -1
- package/dist/cjs/components/ArticlesList/styled.js +4 -0
- package/dist/cjs/components/HelpContentButton/index.js +1 -1
- package/dist/cjs/components/HelpContentButton/styled.js +5 -5
- package/dist/cjs/components/RelatedArticles/index.js +4 -2
- package/dist/cjs/components/RelatedArticles/styled.js +7 -0
- package/dist/cjs/components/Search/SearchInput/index.js +1 -1
- package/dist/cjs/components/Search/SearchInput/styled.js +5 -0
- package/dist/cjs/components/Search/SearchResults/styled.js +9 -0
- package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +3 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +3 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +9 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.js +3 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +8 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.js +16 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/index.js +3 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/styled.js +7 -0
- package/dist/cjs/components/contexts/helpArticleContext.js +0 -2
- package/dist/cjs/components/styled.js +4 -0
- package/dist/cjs/util/styled.js +5 -1
- 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 +3 -0
- 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 +6 -2
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/styled.js +5 -0
- package/dist/es2019/components/Article/HelpArticle/index.js +1 -1
- package/dist/es2019/components/Article/WhatsNewArticle/Loading/index.js +4 -0
- package/dist/es2019/components/Article/WhatsNewArticle/index.js +4 -2
- package/dist/es2019/components/Article/WhatsNewArticle/styled.js +11 -0
- package/dist/es2019/components/Article/index.js +3 -0
- package/dist/es2019/components/Article/styled.js +1 -0
- package/dist/es2019/components/ArticlesList/ArticlesList.js +1 -1
- package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/es2019/components/ArticlesList/ArticlesListItem/styled.js +11 -0
- package/dist/es2019/components/ArticlesList/index.js +3 -1
- package/dist/es2019/components/ArticlesList/styled.js +4 -0
- package/dist/es2019/components/HelpContentButton/index.js +1 -1
- package/dist/es2019/components/HelpContentButton/styled.js +5 -5
- package/dist/es2019/components/RelatedArticles/index.js +4 -2
- package/dist/es2019/components/RelatedArticles/styled.js +7 -0
- package/dist/es2019/components/Search/SearchInput/index.js +1 -1
- package/dist/es2019/components/Search/SearchInput/styled.js +5 -0
- package/dist/es2019/components/Search/SearchResults/index.js +2 -0
- package/dist/es2019/components/Search/SearchResults/styled.js +9 -0
- package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +3 -0
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +3 -0
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +9 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.js +3 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +8 -0
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.js +16 -0
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -0
- package/dist/es2019/components/WhatsNew/WhatsNewResults/index.js +5 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/styled.js +7 -0
- package/dist/es2019/components/contexts/helpArticleContext.js +0 -2
- package/dist/es2019/components/styled.js +4 -0
- package/dist/es2019/util/styled.js +6 -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 +3 -0
- 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 +6 -2
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/styled.js +5 -0
- package/dist/esm/components/Article/HelpArticle/index.js +1 -1
- package/dist/esm/components/Article/WhatsNewArticle/Loading/index.js +4 -0
- package/dist/esm/components/Article/WhatsNewArticle/index.js +4 -2
- package/dist/esm/components/Article/WhatsNewArticle/styled.js +11 -0
- package/dist/esm/components/Article/styled.js +1 -0
- package/dist/esm/components/ArticlesList/ArticlesList.js +1 -1
- package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/esm/components/ArticlesList/ArticlesListItem/styled.js +11 -0
- package/dist/esm/components/ArticlesList/index.js +3 -1
- package/dist/esm/components/ArticlesList/styled.js +4 -0
- package/dist/esm/components/HelpContentButton/index.js +1 -1
- package/dist/esm/components/HelpContentButton/styled.js +5 -5
- package/dist/esm/components/RelatedArticles/index.js +4 -2
- package/dist/esm/components/RelatedArticles/styled.js +7 -0
- package/dist/esm/components/Search/SearchInput/index.js +1 -1
- package/dist/esm/components/Search/SearchInput/styled.js +5 -0
- package/dist/esm/components/Search/SearchResults/styled.js +9 -0
- package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +3 -0
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +3 -0
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +9 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.js +3 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +8 -0
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.js +16 -0
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -0
- package/dist/esm/components/WhatsNew/WhatsNewResults/index.js +3 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/styled.js +7 -0
- package/dist/esm/components/contexts/helpArticleContext.js +0 -2
- package/dist/esm/components/styled.js +4 -0
- package/dist/esm/util/styled.js +6 -1
- package/dist/types/components/Article/ArticleContent/index.d.ts +2 -2
- package/dist/types/components/Article/ArticleLoadingFail/index.d.ts +2 -2
- package/dist/types/components/Article/HelpArticle/Loading/index.d.ts +1 -1
- package/dist/types/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.d.ts +2 -2
- package/dist/types/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.d.ts +2 -2
- package/dist/types/components/Article/HelpArticle/WasHelpfulForm/index.d.ts +3 -3
- package/dist/types/components/Article/HelpArticle/index.d.ts +1 -1
- package/dist/types/components/Article/WhatsNewArticle/Loading/index.d.ts +1 -1
- package/dist/types/components/Article/WhatsNewArticle/index.d.ts +2 -2
- package/dist/types/components/ArticlesList/index.d.ts +1 -1
- package/dist/types/components/ArticlesList/model/ArticlesListItem.d.ts +2 -2
- package/dist/types/components/Help.d.ts +2 -2
- package/dist/types/components/HelpContentButton/index.d.ts +2 -2
- package/dist/types/components/RelatedArticles/RelatedArticlesLoading.d.ts +1 -1
- package/dist/types/components/RelatedArticles/index.d.ts +3 -3
- package/dist/types/components/Search/SearchInput/index.d.ts +1 -1
- package/dist/types/components/Search/SearchResults/SearchExternalSite.d.ts +2 -2
- package/dist/types/components/Search/SearchResults/SearchResults.d.ts +2 -2
- package/dist/types/components/Search/SearchResults/SearchResultsEmpty.d.ts +2 -2
- package/dist/types/components/Search/SearchResults/SearchResultsError.d.ts +1 -1
- package/dist/types/components/ShowMoreButton/index.d.ts +2 -2
- package/dist/types/components/WhatsNew/WhatsNewButton/index.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/index.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.d.ts +2 -2
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.d.ts +3 -3
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/model/WhatsNewResultsList.d.ts +2 -2
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/index.d.ts +1 -1
- package/dist/types/components/contexts/headerContext.d.ts +2 -2
- package/dist/types/components/contexts/helpArticleContext.d.ts +3 -3
- package/dist/types/components/contexts/homeContext.d.ts +1 -1
- package/dist/types/components/contexts/relatedArticlesContext.d.ts +3 -3
- package/dist/types/components/contexts/whatsNewArticleContext.d.ts +6 -6
- package/dist/types/model/WhatsNew.d.ts +1 -1
- package/dist/types/util/helpers.d.ts +1 -1
- package/dist/types/util/testing/mock.d.ts +2 -2
- package/dist/types-ts4.5/components/Article/ArticleContent/index.d.ts +2 -2
- package/dist/types-ts4.5/components/Article/ArticleLoadingFail/index.d.ts +2 -2
- package/dist/types-ts4.5/components/Article/HelpArticle/Loading/index.d.ts +1 -1
- package/dist/types-ts4.5/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.d.ts +2 -2
- package/dist/types-ts4.5/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.d.ts +2 -2
- package/dist/types-ts4.5/components/Article/HelpArticle/WasHelpfulForm/index.d.ts +3 -3
- package/dist/types-ts4.5/components/Article/HelpArticle/index.d.ts +1 -1
- package/dist/types-ts4.5/components/Article/WhatsNewArticle/Loading/index.d.ts +1 -1
- package/dist/types-ts4.5/components/Article/WhatsNewArticle/index.d.ts +2 -2
- package/dist/types-ts4.5/components/ArticlesList/index.d.ts +1 -1
- package/dist/types-ts4.5/components/ArticlesList/model/ArticlesListItem.d.ts +2 -2
- package/dist/types-ts4.5/components/Help.d.ts +2 -2
- package/dist/types-ts4.5/components/HelpContentButton/index.d.ts +2 -2
- package/dist/types-ts4.5/components/RelatedArticles/RelatedArticlesLoading.d.ts +1 -1
- package/dist/types-ts4.5/components/RelatedArticles/index.d.ts +3 -3
- package/dist/types-ts4.5/components/Search/SearchInput/index.d.ts +1 -1
- package/dist/types-ts4.5/components/Search/SearchResults/SearchExternalSite.d.ts +2 -2
- package/dist/types-ts4.5/components/Search/SearchResults/SearchResults.d.ts +2 -2
- package/dist/types-ts4.5/components/Search/SearchResults/SearchResultsEmpty.d.ts +2 -2
- package/dist/types-ts4.5/components/Search/SearchResults/SearchResultsError.d.ts +1 -1
- package/dist/types-ts4.5/components/ShowMoreButton/index.d.ts +2 -2
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewButton/index.d.ts +1 -1
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/index.d.ts +1 -1
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.d.ts +2 -2
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.d.ts +3 -3
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.d.ts +1 -1
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.d.ts +1 -1
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/model/WhatsNewResultsList.d.ts +2 -2
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.d.ts +1 -1
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/index.d.ts +1 -1
- package/dist/types-ts4.5/components/contexts/headerContext.d.ts +2 -2
- package/dist/types-ts4.5/components/contexts/helpArticleContext.d.ts +3 -3
- package/dist/types-ts4.5/components/contexts/homeContext.d.ts +1 -1
- package/dist/types-ts4.5/components/contexts/relatedArticlesContext.d.ts +3 -3
- package/dist/types-ts4.5/components/contexts/whatsNewArticleContext.d.ts +6 -6
- package/dist/types-ts4.5/model/WhatsNew.d.ts +1 -1
- package/dist/types-ts4.5/util/helpers.d.ts +1 -1
- package/dist/types-ts4.5/util/testing/mock.d.ts +2 -2
- package/package.json +5 -7
package/dist/cjs/analytics.js
CHANGED
|
@@ -14,5 +14,5 @@ var createAndFire = exports.createAndFire = x.createAndFireEvent('atlaskit');
|
|
|
14
14
|
var defaultAnalyticsAttributes = exports.defaultAnalyticsAttributes = {
|
|
15
15
|
componentName: 'help',
|
|
16
16
|
packageName: "@atlaskit/help",
|
|
17
|
-
packageVersion: "7.4.
|
|
17
|
+
packageVersion: "7.4.2"
|
|
18
18
|
};
|
|
@@ -15,7 +15,7 @@ var _styled = require("./styled");
|
|
|
15
15
|
var ANALYTICS_CONTEXT_DATA = {
|
|
16
16
|
componentName: 'ArticleLoadingFail',
|
|
17
17
|
packageName: "@atlaskit/help",
|
|
18
|
-
packageVersion: "7.4.
|
|
18
|
+
packageVersion: "7.4.2"
|
|
19
19
|
};
|
|
20
20
|
var ArticleLoadingFail = exports.ArticleLoadingFail = function ArticleLoadingFail(_ref) {
|
|
21
21
|
var onTryAgainButtonClick = _ref.onTryAgainButtonClick,
|
|
@@ -8,10 +8,13 @@ exports.LoadingErrorMessage = exports.LoadingErrorButtonContainer = void 0;
|
|
|
8
8
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
9
9
|
/** @jsx jsx */
|
|
10
10
|
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
11
12
|
var LoadingErrorMessage = exports.LoadingErrorMessage = _styled.default.div({
|
|
12
13
|
paddingTop: "var(--ds-space-300, 24px)",
|
|
13
14
|
textAlign: 'center'
|
|
14
15
|
});
|
|
16
|
+
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
15
18
|
var LoadingErrorButtonContainer = exports.LoadingErrorButtonContainer = _styled.default.div({
|
|
16
19
|
paddingTop: "var(--ds-space-300, 24px)",
|
|
17
20
|
textAlign: 'center'
|
|
@@ -13,7 +13,7 @@ var _messages = require("../../../../messages");
|
|
|
13
13
|
var ANALYTICS_CONTEXT_DATA = {
|
|
14
14
|
componentName: 'ArticleWasHelpfulNoButton',
|
|
15
15
|
packageName: "@atlaskit/help",
|
|
16
|
-
packageVersion: "7.4.
|
|
16
|
+
packageVersion: "7.4.2"
|
|
17
17
|
};
|
|
18
18
|
var ArticleWasHelpfulNoButton = exports.ArticleWasHelpfulNoButton = function ArticleWasHelpfulNoButton(_ref) {
|
|
19
19
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -13,7 +13,7 @@ var _messages = require("../../../../messages");
|
|
|
13
13
|
var ANALYTICS_CONTEXT_DATA = {
|
|
14
14
|
componentName: 'ArticleWasHelpfulYesButton',
|
|
15
15
|
packageName: "@atlaskit/help",
|
|
16
|
-
packageVersion: "7.4.
|
|
16
|
+
packageVersion: "7.4.2"
|
|
17
17
|
};
|
|
18
18
|
var ArticleWasHelpfulYesButton = exports.ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
|
|
19
19
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -37,7 +37,7 @@ var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
|
|
|
37
37
|
var ANALYTICS_CONTEXT_DATA = {
|
|
38
38
|
componentName: 'ArticleWasHelpfulForm',
|
|
39
39
|
packageName: "@atlaskit/help",
|
|
40
|
-
packageVersion: "7.4.
|
|
40
|
+
packageVersion: "7.4.2"
|
|
41
41
|
};
|
|
42
42
|
var ArticleWasHelpfulForm = exports.ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
|
|
43
43
|
var onWasHelpfulSubmit = _ref.onWasHelpfulSubmit,
|
|
@@ -152,7 +152,9 @@ var ArticleWasHelpfulForm = exports.ArticleWasHelpfulForm = function ArticleWasH
|
|
|
152
152
|
};
|
|
153
153
|
if (!wasHelpfulFormSubmitedFailed) {
|
|
154
154
|
if ((handleArticleWasHelpfulYesButtonClick || handleArticleWasHelpfulNoButtonClick) && !wasHelpfulFormSubmited) {
|
|
155
|
-
return (0, _react2.jsx)(_react.default.Fragment, null, (0, _react2.jsx)(_styled.ArticleFeedbackContainer, null, (0, _react2.jsx)(_styled.ArticleFeedbackText
|
|
155
|
+
return (0, _react2.jsx)(_react.default.Fragment, null, (0, _react2.jsx)(_styled.ArticleFeedbackContainer, null, (0, _react2.jsx)(_styled.ArticleFeedbackText
|
|
156
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
157
|
+
, {
|
|
156
158
|
style: {
|
|
157
159
|
paddingRight: "var(--ds-space-100, 8px)"
|
|
158
160
|
}
|
|
@@ -209,7 +211,9 @@ var ArticleWasHelpfulForm = exports.ArticleWasHelpfulForm = function ArticleWasH
|
|
|
209
211
|
} else if (wasHelpfulFormSubmited && wasHelpful === null) {
|
|
210
212
|
return (0, _react2.jsx)(_styled.ArticleFeedbackContainer, null, (0, _react2.jsx)("span", {
|
|
211
213
|
style: {
|
|
214
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
212
215
|
paddingRight: "var(--ds-space-100, 8px)",
|
|
216
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
213
217
|
verticalAlign: 'middle'
|
|
214
218
|
}
|
|
215
219
|
}, (0, _react2.jsx)(_checkCircle.default, {
|
|
@@ -13,15 +13,20 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
13
13
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
14
14
|
/** @jsx jsx */
|
|
15
15
|
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
16
17
|
var ArticleFeedbackContainer = exports.ArticleFeedbackContainer = _styled.default.div({
|
|
17
18
|
position: 'relative'
|
|
18
19
|
});
|
|
20
|
+
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
19
22
|
var ArticleFeedbackText = exports.ArticleFeedbackText = _styled.default.div({
|
|
20
23
|
font: "var(--ds-font-heading-xxsmall, ".concat(_typography.fontFallback.heading.xxsmall, ")"),
|
|
21
24
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")"),
|
|
22
25
|
position: 'relative',
|
|
23
26
|
display: 'inline-block'
|
|
24
27
|
});
|
|
28
|
+
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
25
30
|
var ArticleFeedbackAnswerWrapper = exports.ArticleFeedbackAnswerWrapper = _styled.default.div({
|
|
26
31
|
paddingTop: "var(--ds-space-200, 16px)"
|
|
27
32
|
});
|
|
@@ -64,7 +64,7 @@ var HelpArticle = exports.HelpArticle = function HelpArticle(_ref) {
|
|
|
64
64
|
analyticsEvent.payload.attributes = {
|
|
65
65
|
componentName: 'Article',
|
|
66
66
|
packageName: "@atlaskit/help",
|
|
67
|
-
packageVersion: "7.4.
|
|
67
|
+
packageVersion: "7.4.2"
|
|
68
68
|
};
|
|
69
69
|
if (onRelatedArticlesShowMoreClick) {
|
|
70
70
|
onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
|
|
@@ -16,8 +16,11 @@ var Loading = exports.Loading = function Loading(_ref) {
|
|
|
16
16
|
role: "img"
|
|
17
17
|
}, /*#__PURE__*/_react.default.createElement(_styled.LoadingRectangle, {
|
|
18
18
|
style: {
|
|
19
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
19
20
|
display: 'inline-block',
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
20
22
|
verticalAlign: 'middle',
|
|
23
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
21
24
|
position: 'relative'
|
|
22
25
|
},
|
|
23
26
|
contentHeight: "16px",
|
|
@@ -25,6 +28,7 @@ var Loading = exports.Loading = function Loading(_ref) {
|
|
|
25
28
|
marginTop: "4px"
|
|
26
29
|
}), /*#__PURE__*/_react.default.createElement(_styled.LoadingRectangle, {
|
|
27
30
|
style: {
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
28
32
|
marginLeft: "var(--ds-space-100, 8px)"
|
|
29
33
|
},
|
|
30
34
|
contentHeight: "11px",
|
|
@@ -22,7 +22,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
22
22
|
var analyticsContextData = {
|
|
23
23
|
componentName: 'ArticlesListItem',
|
|
24
24
|
packageName: "@atlaskit/help",
|
|
25
|
-
packageVersion: "7.4.
|
|
25
|
+
packageVersion: "7.4.2"
|
|
26
26
|
};
|
|
27
27
|
var WhatsNewArticle = exports.WhatsNewArticle = function WhatsNewArticle(_ref) {
|
|
28
28
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -38,7 +38,9 @@ var WhatsNewArticle = exports.WhatsNewArticle = function WhatsNewArticle(_ref) {
|
|
|
38
38
|
}, (0, _util.getTypeIcon)(article.type)), /*#__PURE__*/_react.default.createElement(_styled2.WhatsNewTypeTitle, null, typeTitle)), /*#__PURE__*/_react.default.createElement(_styled2.WhatsNewTitleText, null, article.title), /*#__PURE__*/_react.default.createElement(_helpArticle.default, {
|
|
39
39
|
body: article.description,
|
|
40
40
|
bodyFormat: article.bodyFormat ? article.bodyFormat : _helpArticle.BODY_FORMAT_TYPES.html
|
|
41
|
-
}), (article.relatedExternalLinks || article.communityUrl) && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styled.DividerLine
|
|
41
|
+
}), (article.relatedExternalLinks || article.communityUrl) && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styled.DividerLine
|
|
42
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
43
|
+
, {
|
|
42
44
|
style: {
|
|
43
45
|
marginTop: 0,
|
|
44
46
|
marginBottom: "var(--ds-space-200, 16px)"
|
|
@@ -14,6 +14,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
14
14
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
15
15
|
/** @jsx jsx */
|
|
16
16
|
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
17
18
|
var WhatsNewTypeTitle = exports.WhatsNewTypeTitle = _styled.default.span({
|
|
18
19
|
textDecoration: 'none',
|
|
19
20
|
color: "var(--ds-text-subtlest, ".concat(colors.N300, ")"),
|
|
@@ -23,10 +24,14 @@ var WhatsNewTypeTitle = exports.WhatsNewTypeTitle = _styled.default.span({
|
|
|
23
24
|
whiteSpace: 'normal',
|
|
24
25
|
overflowX: 'hidden'
|
|
25
26
|
});
|
|
27
|
+
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
26
29
|
var WhatsNewIconContainer = exports.WhatsNewIconContainer = _styled.default.div({
|
|
27
30
|
display: 'block',
|
|
28
31
|
paddingBottom: "var(--ds-space-100, 8px)"
|
|
29
32
|
});
|
|
33
|
+
|
|
34
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
30
35
|
var WhatsNewTitleText = exports.WhatsNewTitleText = _styled.default.span({
|
|
31
36
|
textDecoration: 'none',
|
|
32
37
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
@@ -37,6 +42,8 @@ var WhatsNewTitleText = exports.WhatsNewTitleText = _styled.default.span({
|
|
|
37
42
|
paddingBottom: "var(--ds-space-100, 8px)",
|
|
38
43
|
display: 'block'
|
|
39
44
|
});
|
|
45
|
+
|
|
46
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
40
47
|
var WhatsNewRelatedLinksTitleText = exports.WhatsNewRelatedLinksTitleText = _styled.default.span({
|
|
41
48
|
textDecoration: 'none',
|
|
42
49
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
@@ -47,9 +54,13 @@ var WhatsNewRelatedLinksTitleText = exports.WhatsNewRelatedLinksTitleText = _sty
|
|
|
47
54
|
paddingBottom: "var(--ds-space-100, 8px)",
|
|
48
55
|
display: 'block'
|
|
49
56
|
});
|
|
57
|
+
|
|
58
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
50
59
|
var RelatedLinkContainer = exports.RelatedLinkContainer = _styled.default.div({
|
|
51
60
|
marginBottom: "var(--ds-space-100, 8px)"
|
|
52
61
|
});
|
|
62
|
+
|
|
63
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
53
64
|
var ExternalLinkIconContainer = exports.ExternalLinkIconContainer = _styled.default.div({
|
|
54
65
|
display: 'inline-block',
|
|
55
66
|
verticalAlign: 'middle',
|
|
@@ -8,6 +8,7 @@ exports.ArticleContainer = void 0;
|
|
|
8
8
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
9
9
|
/** @jsx jsx */
|
|
10
10
|
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
11
12
|
var ArticleContainer = exports.ArticleContainer = _styled.default.div({
|
|
12
13
|
padding: "var(--ds-space-200, 16px)".concat(" ", "var(--ds-space-300, 24px)"),
|
|
13
14
|
position: 'absolute',
|
|
@@ -18,7 +18,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
18
18
|
var ANALYTICS_CONTEXT_DATA = {
|
|
19
19
|
componentName: 'ArticlesListItem',
|
|
20
20
|
packageName: "@atlaskit/help",
|
|
21
|
-
packageVersion: "7.4.
|
|
21
|
+
packageVersion: "7.4.2"
|
|
22
22
|
};
|
|
23
23
|
var ArticlesListItem = exports.ArticlesListItem = function ArticlesListItem(_ref) {
|
|
24
24
|
var styles = _ref.styles,
|
|
@@ -13,6 +13,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
13
13
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
14
14
|
/** @jsx jsx */
|
|
15
15
|
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
16
17
|
var ArticlesListItemWrapper = exports.ArticlesListItemWrapper = _styled.default.a({
|
|
17
18
|
position: 'relative',
|
|
18
19
|
boxSizing: 'border-box',
|
|
@@ -40,6 +41,8 @@ var ArticlesListItemWrapper = exports.ArticlesListItemWrapper = _styled.default.
|
|
|
40
41
|
}, function (props) {
|
|
41
42
|
return props.styles;
|
|
42
43
|
});
|
|
44
|
+
|
|
45
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
43
46
|
var ArticlesListItemContainer = exports.ArticlesListItemContainer = _styled.default.div({
|
|
44
47
|
width: '100%',
|
|
45
48
|
whiteSpace: 'nowrap',
|
|
@@ -50,16 +53,22 @@ var ArticlesListItemTitleSection = exports.ArticlesListItemTitleSection = _style
|
|
|
50
53
|
flexDirection: 'column',
|
|
51
54
|
flexGrow: 1
|
|
52
55
|
});
|
|
56
|
+
|
|
57
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
53
58
|
var ArticlesListItemTypeTitle = exports.ArticlesListItemTypeTitle = _styled.default.div({
|
|
54
59
|
font: "var(--ds-font-body-small, ".concat(_typography.fontFallback.body.small, ")"),
|
|
55
60
|
fontWeight: "var(--ds-font-weight-bold, bold)",
|
|
56
61
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")")
|
|
57
62
|
});
|
|
63
|
+
|
|
64
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
58
65
|
var ArticlesListItemLinkIcon = exports.ArticlesListItemLinkIcon = _styled.default.span({
|
|
59
66
|
alignSelf: 'auto',
|
|
60
67
|
paddingInlineStart: "var(--ds-space-050, 4px)",
|
|
61
68
|
verticalAlign: 'middle'
|
|
62
69
|
});
|
|
70
|
+
|
|
71
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
63
72
|
var ArticlesListItemTitleText = exports.ArticlesListItemTitleText = _styled.default.p({
|
|
64
73
|
textDecoration: 'none',
|
|
65
74
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
@@ -69,6 +78,8 @@ var ArticlesListItemTitleText = exports.ArticlesListItemTitleText = _styled.defa
|
|
|
69
78
|
overflow: 'hidden',
|
|
70
79
|
marginBottom: "var(--ds-space-100, 4px)"
|
|
71
80
|
});
|
|
81
|
+
|
|
82
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
72
83
|
var ArticlesListItemDescription = exports.ArticlesListItemDescription = _styled.default.p({
|
|
73
84
|
display: 'block',
|
|
74
85
|
lineHeight: '20px',
|
|
@@ -43,7 +43,9 @@ var ArticleList = function ArticleList(_ref) {
|
|
|
43
43
|
onToggleArticlesList(event, analyticsEvent, !showMoreToggled);
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
-
return articles && articles.length > 0 ? /*#__PURE__*/_react.default.createElement(_styled.ArticlesListContainer, null, /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_ArticlesList.default
|
|
46
|
+
return articles && articles.length > 0 ? /*#__PURE__*/_react.default.createElement(_styled.ArticlesListContainer, null, /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_ArticlesList.default
|
|
47
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
48
|
+
, {
|
|
47
49
|
style: style,
|
|
48
50
|
onArticlesListItemClick: onArticlesListItemClick,
|
|
49
51
|
articles: articles,
|
|
@@ -18,9 +18,13 @@ var truncate = exports.truncate = function truncate() {
|
|
|
18
18
|
width: width
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
|
+
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
21
23
|
var ArticlesListContainer = exports.ArticlesListContainer = _styled.default.div({
|
|
22
24
|
position: 'relative'
|
|
23
25
|
});
|
|
26
|
+
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
24
28
|
var ToggleShowMoreArticlesContainer = exports.ToggleShowMoreArticlesContainer = _styled.default.div({
|
|
25
29
|
padding: "var(--ds-space-100, 8px)".concat(" 0"),
|
|
26
30
|
span: {
|
|
@@ -17,7 +17,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
17
17
|
var analitycsContextData = {
|
|
18
18
|
componentName: 'HelpContentButton',
|
|
19
19
|
packageName: "@atlaskit/help",
|
|
20
|
-
packageVersion: "7.4.
|
|
20
|
+
packageVersion: "7.4.2"
|
|
21
21
|
};
|
|
22
22
|
var HelpContentButton = function HelpContentButton(_ref) {
|
|
23
23
|
var _ref$id = _ref.id,
|
|
@@ -13,17 +13,17 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _temp
|
|
|
13
13
|
/** @jsx jsx */
|
|
14
14
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
15
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression --
|
|
16
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
17
17
|
var HelpContentButtonContainer = exports.HelpContentButtonContainer = _styledComponents.default.a(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: block;\n cursor: pointer;\n width: calc(100% - ", ");\n color: ", ";\n padding: ", ";\n border-radius: 3px;\n\n &:hover,\n &:focus,\n &:visited,\n &:active {\n text-decoration: none;\n outline: none;\n outline-offset: none;\n color: ", ";\n }\n\n &:focus {\n box-shadow: ", " 0 0 0 2px inset;\n }\n\n &:hover {\n background-color: ", ";\n }\n\n &:active {\n background-color: ", ";\n }\n"])), "var(--ds-space-200, 16px)", "var(--ds-text-subtle, ".concat(colors.N600, ")"), "var(--ds-space-100, 8px)", "var(--ds-text-subtle, ".concat(colors.N600, ")"), "var(--ds-border-focused, ".concat(colors.B100, ")"), "var(--ds-background-neutral-subtle-hovered, ".concat(colors.N30, ")"), "var(--ds-background-neutral-subtle-pressed, ".concat(colors.B50, ")"));
|
|
18
18
|
|
|
19
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression --
|
|
19
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
20
20
|
var HelpContentButtonIcon = exports.HelpContentButtonIcon = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: inline-block;\n vertical-align: middle;\n width: 20px;\n height: 20px;\n border-radius: 4px;\n position: relative;\n\n & span {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n"])));
|
|
21
21
|
|
|
22
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression --
|
|
22
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
23
23
|
var HelpContentButtonText = exports.HelpContentButtonText = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n width: calc(100% - 20px);\n display: inline-block;\n vertical-align: middle;\n padding: 0 ", ";\n box-sizing: border-box;\n"])), "var(--ds-space-100, 8px)");
|
|
24
24
|
|
|
25
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression --
|
|
25
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
26
26
|
var HelpContentButtonExternalLinkIcon = exports.HelpContentButtonExternalLinkIcon = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n display: inline-block;\n vertical-align: middle;\n padding-left: ", ";\n"])), "var(--ds-space-050, 4px)");
|
|
27
27
|
|
|
28
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression --
|
|
28
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
29
29
|
var HelpContentButtonExternalNotificationIcon = exports.HelpContentButtonExternalNotificationIcon = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n display: inline-block;\n vertical-align: middle;\n margin-top: ", ";\n padding-left: ", ";\n"])), "var(--ds-space-negative-050, -4px)", "var(--ds-space-050, 4px)");
|
|
@@ -28,7 +28,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
28
28
|
/** @jsxFrag */
|
|
29
29
|
|
|
30
30
|
var packageName = "@atlaskit/help";
|
|
31
|
-
var packageVersion = "7.4.
|
|
31
|
+
var packageVersion = "7.4.2";
|
|
32
32
|
var RelatedArticles = exports.RelatedArticles = function RelatedArticles(_ref) {
|
|
33
33
|
var _ref$style = _ref.style,
|
|
34
34
|
style = _ref$style === void 0 ? 'primary' : _ref$style,
|
|
@@ -119,7 +119,9 @@ var RelatedArticles = exports.RelatedArticles = function RelatedArticles(_ref) {
|
|
|
119
119
|
onClick: updateRelatedArticles
|
|
120
120
|
}, formatMessage(_messages.messages.help_related_article_endpoint_error_button_label))));
|
|
121
121
|
} else {
|
|
122
|
-
return (0, _react2.jsx)(_react.default.Fragment, null, style === 'secondary' && relatedArticles.length > 0 && (0, _react2.jsx)(_react.default.Fragment, null, (0, _react2.jsx)(_styled.DividerLine, null), (0, _react2.jsx)(_styled2.RelatedArticlesTitle, null, formatMessage(_messages.messages.help_related_article_title))), isLoading ? (0, _react2.jsx)(_RelatedArticlesLoading.default, null) : (0, _react2.jsx)(_ArticlesList.default
|
|
122
|
+
return (0, _react2.jsx)(_react.default.Fragment, null, style === 'secondary' && relatedArticles.length > 0 && (0, _react2.jsx)(_react.default.Fragment, null, (0, _react2.jsx)(_styled.DividerLine, null), (0, _react2.jsx)(_styled2.RelatedArticlesTitle, null, formatMessage(_messages.messages.help_related_article_title))), isLoading ? (0, _react2.jsx)(_RelatedArticlesLoading.default, null) : (0, _react2.jsx)(_ArticlesList.default
|
|
123
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
124
|
+
, {
|
|
123
125
|
style: style,
|
|
124
126
|
articles: relatedArticles,
|
|
125
127
|
onArticlesListItemClick: onRelatedArticlesListItemClick,
|
|
@@ -26,6 +26,8 @@ var truncate = exports.truncate = function truncate() {
|
|
|
26
26
|
width: width
|
|
27
27
|
});
|
|
28
28
|
};
|
|
29
|
+
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
29
31
|
var RelatedArticlesTitle = exports.RelatedArticlesTitle = _styled.default.div(baseHeading(16, 20), {
|
|
30
32
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
31
33
|
fontWeight: 600,
|
|
@@ -36,15 +38,20 @@ var RelatedArticlesTitle = exports.RelatedArticlesTitle = _styled.default.div(ba
|
|
|
36
38
|
/**
|
|
37
39
|
* Loading styled-components
|
|
38
40
|
*/
|
|
41
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
39
42
|
var LoadignRelatedArticleSection = exports.LoadignRelatedArticleSection = _styled.default.div({
|
|
40
43
|
marginTop: "var(--ds-space-100, 8px)"
|
|
41
44
|
});
|
|
45
|
+
|
|
46
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
42
47
|
var LoadignRelatedArticleList = exports.LoadignRelatedArticleList = _styled.default.ul({
|
|
43
48
|
width: '100%',
|
|
44
49
|
margin: 0,
|
|
45
50
|
padding: 0,
|
|
46
51
|
boxSizing: 'border-box'
|
|
47
52
|
});
|
|
53
|
+
|
|
54
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
48
55
|
var LoadignRelatedArticleListItem = exports.LoadignRelatedArticleListItem = _styled.default.li({
|
|
49
56
|
display: 'block',
|
|
50
57
|
width: '100%',
|
|
@@ -27,7 +27,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
27
27
|
var ANALYTICS_CONTEXT_DATA = {
|
|
28
28
|
componentName: 'searchInput',
|
|
29
29
|
packageName: "@atlaskit/help",
|
|
30
|
-
packageVersion: "7.4.
|
|
30
|
+
packageVersion: "7.4.2"
|
|
31
31
|
};
|
|
32
32
|
var SearchInput = exports.SearchInput = function SearchInput(_ref) {
|
|
33
33
|
var formatMessage = _ref.intl.formatMessage;
|
|
@@ -8,6 +8,7 @@ exports.SearchInputContainer = exports.SearchIconContainer = exports.CloseButton
|
|
|
8
8
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
9
9
|
/** @jsx jsx */
|
|
10
10
|
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
11
12
|
var SearchInputContainer = exports.SearchInputContainer = _styled.default.div({
|
|
12
13
|
order: 0,
|
|
13
14
|
flex: '0 1 auto',
|
|
@@ -15,6 +16,8 @@ var SearchInputContainer = exports.SearchInputContainer = _styled.default.div({
|
|
|
15
16
|
width: '100%',
|
|
16
17
|
boxSizing: 'border-box'
|
|
17
18
|
});
|
|
19
|
+
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
18
21
|
var SearchIconContainer = exports.SearchIconContainer = _styled.default.div({
|
|
19
22
|
width: "var(--ds-space-300, 24px)",
|
|
20
23
|
height: "var(--ds-space-300, 24px)",
|
|
@@ -26,6 +29,8 @@ var SearchIconContainer = exports.SearchIconContainer = _styled.default.div({
|
|
|
26
29
|
boxSizing: 'border-box'
|
|
27
30
|
}
|
|
28
31
|
});
|
|
32
|
+
|
|
33
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
29
34
|
var CloseButtonAndSpinnerContainer = exports.CloseButtonAndSpinnerContainer = _styled.default.div({
|
|
30
35
|
fontSize: 0,
|
|
31
36
|
paddingRight: "var(--ds-space-100, 8px)",
|
|
@@ -12,6 +12,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
12
12
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
13
13
|
/** @jsx jsx */
|
|
14
14
|
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
15
16
|
var SearchResultsContainer = exports.SearchResultsContainer = _styled.default.div({
|
|
16
17
|
position: 'absolute',
|
|
17
18
|
height: '100%',
|
|
@@ -26,14 +27,20 @@ var SearchResultsContainer = exports.SearchResultsContainer = _styled.default.di
|
|
|
26
27
|
zIndex: 10,
|
|
27
28
|
padding: "0 ".concat("var(--ds-space-200, 16px)")
|
|
28
29
|
});
|
|
30
|
+
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
29
32
|
var SearchResultsList = exports.SearchResultsList = _styled.default.div({
|
|
30
33
|
paddingTop: "var(--ds-space-300, 24px)",
|
|
31
34
|
position: 'relative'
|
|
32
35
|
});
|
|
36
|
+
|
|
37
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
33
38
|
var SearchResultEmptyMessageImage = exports.SearchResultEmptyMessageImage = _styled.default.div({
|
|
34
39
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
35
40
|
textAlign: 'center'
|
|
36
41
|
});
|
|
42
|
+
|
|
43
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
37
44
|
var SearchResultEmptyMessageText = exports.SearchResultEmptyMessageText = _styled.default.div({
|
|
38
45
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
39
46
|
textAlign: 'center',
|
|
@@ -41,6 +48,8 @@ var SearchResultEmptyMessageText = exports.SearchResultEmptyMessageText = _style
|
|
|
41
48
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")")
|
|
42
49
|
}
|
|
43
50
|
});
|
|
51
|
+
|
|
52
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
44
53
|
var SearchResultSearchExternalSiteContainer = exports.SearchResultSearchExternalSiteContainer = _styled.default.div({
|
|
45
54
|
padding: "var(--ds-space-300, 24px)",
|
|
46
55
|
textAlign: 'center',
|
|
@@ -21,7 +21,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
21
21
|
var ANALYTICS_CONTEXT_DATA = {
|
|
22
22
|
componentName: 'WhatsNewButton',
|
|
23
23
|
packageName: "@atlaskit/help",
|
|
24
|
-
packageVersion: "7.4.
|
|
24
|
+
packageVersion: "7.4.2"
|
|
25
25
|
};
|
|
26
26
|
var WhatsNewButton = exports.WhatsNewButton = function WhatsNewButton(_ref) {
|
|
27
27
|
var productName = _ref.productName,
|
|
@@ -12,10 +12,13 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
12
12
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
13
13
|
/** @jsx jsx */
|
|
14
14
|
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
15
16
|
var WhatsNewResultsEmptyMessageImage = exports.WhatsNewResultsEmptyMessageImage = _styled.default.div({
|
|
16
17
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
17
18
|
textAlign: 'center'
|
|
18
19
|
});
|
|
20
|
+
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
19
22
|
var WhatsNewResultsEmptyMessageText = exports.WhatsNewResultsEmptyMessageText = _styled.default.div({
|
|
20
23
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
21
24
|
textAlign: 'center',
|
|
@@ -12,10 +12,13 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
12
12
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
13
13
|
/** @jsx jsx */
|
|
14
14
|
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
15
16
|
var SearchResultEmptyMessageImage = exports.SearchResultEmptyMessageImage = _styled.default.div({
|
|
16
17
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
17
18
|
textAlign: 'center'
|
|
18
19
|
});
|
|
20
|
+
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
19
22
|
var SearchResultEmptyMessageText = exports.SearchResultEmptyMessageText = _styled.default.div({
|
|
20
23
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
21
24
|
textAlign: 'center',
|
package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var _styled2 = require("./styled");
|
|
|
15
15
|
var ANALYTICS_CONTEXT_DATA = {
|
|
16
16
|
componentName: 'ArticlesListItem',
|
|
17
17
|
packageName: "@atlaskit/help",
|
|
18
|
-
packageVersion: "7.4.
|
|
18
|
+
packageVersion: "7.4.2"
|
|
19
19
|
};
|
|
20
20
|
var WhatsNewResultListItem = exports.WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
|
|
21
21
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -13,7 +13,9 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
13
13
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
14
14
|
/** @jsx jsx */
|
|
15
15
|
|
|
16
|
-
var WhatsNewResultListItemWrapper = exports.WhatsNewResultListItemWrapper =
|
|
16
|
+
var WhatsNewResultListItemWrapper = exports.WhatsNewResultListItemWrapper =
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
18
|
+
_styled.default.a({
|
|
17
19
|
position: "relative",
|
|
18
20
|
boxSizing: "border-box",
|
|
19
21
|
padding: "var(--ds-space-100, 8px)",
|
|
@@ -40,11 +42,15 @@ var WhatsNewResultListItemWrapper = exports.WhatsNewResultListItemWrapper = _sty
|
|
|
40
42
|
}, function (props) {
|
|
41
43
|
return props.styles;
|
|
42
44
|
});
|
|
45
|
+
|
|
46
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
43
47
|
var WhatsNewResultListItemTitleContainer = exports.WhatsNewResultListItemTitleContainer = _styled.default.div({
|
|
44
48
|
width: '100%',
|
|
45
49
|
whiteSpace: 'nowrap',
|
|
46
50
|
marginBottom: "var(--ds-space-050, 4px)"
|
|
47
51
|
});
|
|
52
|
+
|
|
53
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
48
54
|
var WhatsNewResultListItemTitleText = exports.WhatsNewResultListItemTitleText = _styled.default.span({
|
|
49
55
|
fontSize: "".concat((0, _constants.fontSizeSmall)(), "px"),
|
|
50
56
|
lineHeight: "".concat((0, _constants.fontSize)(), "px"),
|
|
@@ -55,6 +61,8 @@ var WhatsNewResultListItemTitleText = exports.WhatsNewResultListItemTitleText =
|
|
|
55
61
|
whiteSpace: 'normal',
|
|
56
62
|
overflowX: 'hidden'
|
|
57
63
|
});
|
|
64
|
+
|
|
65
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
58
66
|
var WhatsNewResultListItemDescription = exports.WhatsNewResultListItemDescription = _styled.default.p({
|
|
59
67
|
display: 'block',
|
|
60
68
|
lineHeight: '20px',
|
|
@@ -40,7 +40,9 @@ var WhatsNewResultsList = function WhatsNewResultsList(_ref) {
|
|
|
40
40
|
onWhatsNewResultItemClick(event, analyticsEvent, articleData);
|
|
41
41
|
}
|
|
42
42
|
}, [onWhatsNewResultItemClick, openArticle]);
|
|
43
|
-
return whatsNewArticles && whatsNewArticles.length > 0 ? /*#__PURE__*/_react.default.createElement(_styled.WhatsNewResultsListContainer, null, /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_WhatsNewResultsList.default
|
|
43
|
+
return whatsNewArticles && whatsNewArticles.length > 0 ? /*#__PURE__*/_react.default.createElement(_styled.WhatsNewResultsListContainer, null, /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_WhatsNewResultsList.default
|
|
44
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
45
|
+
, {
|
|
44
46
|
style: style,
|
|
45
47
|
onWhatsNewResultItemClick: handleOnWhatsNewResultItemClick,
|
|
46
48
|
whatsNewArticles: whatsNewArticles
|
|
@@ -23,12 +23,18 @@ var truncate = exports.truncate = function truncate() {
|
|
|
23
23
|
width: width
|
|
24
24
|
});
|
|
25
25
|
};
|
|
26
|
+
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
26
28
|
var WhatsNewResultsListContainer = exports.WhatsNewResultsListContainer = _styled.default.div({
|
|
27
29
|
position: 'relative'
|
|
28
30
|
});
|
|
31
|
+
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
29
33
|
var WhatsNewResultsListGroupWrapper = exports.WhatsNewResultsListGroupWrapper = _styled.default.div({
|
|
30
34
|
padding: "var(--ds-space-100, 8px)".concat(" 0 ", "var(--ds-space-100, 8px)", " 0")
|
|
31
35
|
});
|
|
36
|
+
|
|
37
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
32
38
|
var WhatsNewResultsListGroupTitle = exports.WhatsNewResultsListGroupTitle = _styled.default.div({
|
|
33
39
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")"),
|
|
34
40
|
fontSize: "".concat((0, _constants.fontSizeSmall)(), "px"),
|
|
@@ -36,6 +42,8 @@ var WhatsNewResultsListGroupTitle = exports.WhatsNewResultsListGroupTitle = _sty
|
|
|
36
42
|
padding: "0 ".concat("var(--ds-space-100, 8px)", " ", "var(--ds-space-100, 8px)", " ", "var(--ds-space-100, 8px)"),
|
|
37
43
|
textTransform: 'uppercase'
|
|
38
44
|
});
|
|
45
|
+
|
|
46
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
39
47
|
var ToggleShowWhatsNewResultsContainer = exports.ToggleShowWhatsNewResultsContainer = _styled.default.div({
|
|
40
48
|
padding: "var(--ds-space-100, 8px)".concat(" 0"),
|
|
41
49
|
span: {
|