@atlaskit/help 7.5.0 → 7.5.1
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 +3 -2
- 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 +11 -7
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/styled.js +7 -3
- 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 +11 -6
- package/dist/cjs/components/Article/styled.js +3 -1
- package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/cjs/components/ArticlesList/ArticlesListItem/styled.js +37 -7
- package/dist/cjs/components/ArticlesList/styled.js +8 -2
- package/dist/cjs/components/HelpContentButton/index.js +1 -1
- package/dist/cjs/components/HelpContentButton/styled.js +11 -10
- package/dist/cjs/components/RelatedArticles/index.js +11 -7
- package/dist/cjs/components/RelatedArticles/styled.js +10 -4
- package/dist/cjs/components/Search/SearchInput/index.js +10 -5
- package/dist/cjs/components/Search/SearchInput/styled.js +7 -3
- package/dist/cjs/components/Search/SearchResults/styled.js +10 -5
- package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +5 -2
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +5 -2
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +14 -4
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +2 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +11 -4
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -2
- package/dist/cjs/components/WhatsNew/WhatsNewResults/styled.js +6 -4
- package/dist/cjs/components/styled.js +7 -3
- package/dist/cjs/util/styled.js +30 -7
- 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 -2
- 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 +11 -8
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/styled.js +6 -3
- 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 +11 -6
- package/dist/es2019/components/Article/styled.js +2 -1
- package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/es2019/components/ArticlesList/ArticlesListItem/styled.js +37 -7
- package/dist/es2019/components/ArticlesList/styled.js +6 -2
- package/dist/es2019/components/HelpContentButton/index.js +1 -1
- package/dist/es2019/components/HelpContentButton/styled.js +54 -53
- package/dist/es2019/components/RelatedArticles/index.js +12 -8
- package/dist/es2019/components/RelatedArticles/styled.js +8 -4
- package/dist/es2019/components/Search/SearchInput/index.js +10 -6
- package/dist/es2019/components/Search/SearchInput/styled.js +7 -3
- package/dist/es2019/components/Search/SearchResults/styled.js +10 -5
- package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +5 -2
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +5 -2
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +14 -4
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +3 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +9 -4
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -2
- package/dist/es2019/components/WhatsNew/WhatsNewResults/styled.js +6 -4
- package/dist/es2019/components/styled.js +6 -3
- package/dist/es2019/util/styled.js +48 -25
- 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 -2
- 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 +11 -8
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/styled.js +6 -3
- 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 +11 -6
- package/dist/esm/components/Article/styled.js +2 -1
- package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/esm/components/ArticlesList/ArticlesListItem/styled.js +37 -7
- package/dist/esm/components/ArticlesList/styled.js +6 -2
- package/dist/esm/components/HelpContentButton/index.js +1 -1
- package/dist/esm/components/HelpContentButton/styled.js +11 -10
- package/dist/esm/components/RelatedArticles/index.js +12 -8
- package/dist/esm/components/RelatedArticles/styled.js +8 -4
- package/dist/esm/components/Search/SearchInput/index.js +10 -6
- package/dist/esm/components/Search/SearchInput/styled.js +7 -3
- package/dist/esm/components/Search/SearchResults/styled.js +10 -5
- package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +5 -2
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +5 -2
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +14 -4
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +2 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +9 -4
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -2
- package/dist/esm/components/WhatsNew/WhatsNewResults/styled.js +6 -4
- package/dist/esm/components/styled.js +6 -3
- package/dist/esm/util/styled.js +30 -7
- package/package.json +98 -98
- package/report.api.md +288 -301
package/CHANGELOG.md
CHANGED
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.5.
|
|
17
|
+
packageVersion: "7.5.1"
|
|
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.5.
|
|
18
|
+
packageVersion: "7.5.1"
|
|
19
19
|
};
|
|
20
20
|
var ArticleLoadingFail = exports.ArticleLoadingFail = function ArticleLoadingFail(_ref) {
|
|
21
21
|
var onTryAgainButtonClick = _ref.onTryAgainButtonClick,
|
|
@@ -7,14 +7,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.LoadingErrorMessage = exports.LoadingErrorButtonContainer = void 0;
|
|
8
8
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
9
9
|
/** @jsx jsx */
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
11
|
|
|
11
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
12
13
|
var LoadingErrorMessage = exports.LoadingErrorMessage = _styled.default.div({
|
|
13
14
|
paddingTop: "var(--ds-space-300, 24px)",
|
|
14
15
|
textAlign: 'center'
|
|
15
16
|
});
|
|
16
17
|
|
|
17
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
18
19
|
var LoadingErrorButtonContainer = exports.LoadingErrorButtonContainer = _styled.default.div({
|
|
19
20
|
paddingTop: "var(--ds-space-300, 24px)",
|
|
20
21
|
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.5.
|
|
16
|
+
packageVersion: "7.5.1"
|
|
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.5.
|
|
16
|
+
packageVersion: "7.5.1"
|
|
17
17
|
};
|
|
18
18
|
var ArticleWasHelpfulYesButton = exports.ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
|
|
19
19
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -33,12 +33,21 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
33
33
|
// AFP-2532 TODO: Fix automatic suppressions below
|
|
34
34
|
// eslint-disable-next-line @atlassian/tangerine/import/entry-points
|
|
35
35
|
|
|
36
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
37
|
+
|
|
36
38
|
var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
|
|
37
39
|
var ANALYTICS_CONTEXT_DATA = {
|
|
38
40
|
componentName: 'ArticleWasHelpfulForm',
|
|
39
41
|
packageName: "@atlaskit/help",
|
|
40
|
-
packageVersion: "7.5.
|
|
42
|
+
packageVersion: "7.5.1"
|
|
41
43
|
};
|
|
44
|
+
var buttonStyles = (0, _react2.css)({
|
|
45
|
+
padding: '0',
|
|
46
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
47
|
+
'& span': {
|
|
48
|
+
margin: '0'
|
|
49
|
+
}
|
|
50
|
+
});
|
|
42
51
|
var ArticleWasHelpfulForm = exports.ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
|
|
43
52
|
var onWasHelpfulSubmit = _ref.onWasHelpfulSubmit,
|
|
44
53
|
onWasHelpfulYesButtonClick = _ref.onWasHelpfulYesButtonClick,
|
|
@@ -227,12 +236,7 @@ var ArticleWasHelpfulForm = exports.ArticleWasHelpfulForm = function ArticleWasH
|
|
|
227
236
|
}, (0, _react2.jsx)("p", null, formatMessage(_messages.messages.help_article_rating_form_failed)), (0, _react2.jsx)("p", null, (0, _react2.jsx)(_customThemeButton.default, {
|
|
228
237
|
appearance: "link",
|
|
229
238
|
spacing: "compact",
|
|
230
|
-
css:
|
|
231
|
-
padding: '0',
|
|
232
|
-
'& span': {
|
|
233
|
-
margin: '0'
|
|
234
|
-
}
|
|
235
|
-
},
|
|
239
|
+
css: buttonStyles,
|
|
236
240
|
onClick: handleTryAgainOnClick
|
|
237
241
|
}, formatMessage(_messages.messages.help_article_rating_form_failed_try_again))))));
|
|
238
242
|
}
|
|
@@ -13,20 +13,24 @@ 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/
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
|
+
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
17
19
|
var ArticleFeedbackContainer = exports.ArticleFeedbackContainer = _styled.default.div({
|
|
18
20
|
position: 'relative'
|
|
19
21
|
});
|
|
20
22
|
|
|
21
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
23
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
22
24
|
var ArticleFeedbackText = exports.ArticleFeedbackText = _styled.default.div({
|
|
25
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
23
26
|
font: "var(--ds-font-heading-xxsmall, ".concat(_typography.fontFallback.heading.xxsmall, ")"),
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
24
28
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")"),
|
|
25
29
|
position: 'relative',
|
|
26
30
|
display: 'inline-block'
|
|
27
31
|
});
|
|
28
32
|
|
|
29
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
33
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
30
34
|
var ArticleFeedbackAnswerWrapper = exports.ArticleFeedbackAnswerWrapper = _styled.default.div({
|
|
31
35
|
paddingTop: "var(--ds-space-200, 16px)"
|
|
32
36
|
});
|
|
@@ -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.5.
|
|
67
|
+
packageVersion: "7.5.1"
|
|
68
68
|
};
|
|
69
69
|
if (onRelatedArticlesShowMoreClick) {
|
|
70
70
|
onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
|
|
@@ -22,7 +22,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
22
22
|
var analyticsContextData = {
|
|
23
23
|
componentName: 'ArticlesListItem',
|
|
24
24
|
packageName: "@atlaskit/help",
|
|
25
|
-
packageVersion: "7.5.
|
|
25
|
+
packageVersion: "7.5.1"
|
|
26
26
|
};
|
|
27
27
|
var WhatsNewArticle = exports.WhatsNewArticle = function WhatsNewArticle(_ref) {
|
|
28
28
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -13,11 +13,14 @@ var _typography = require("@atlaskit/theme/typography");
|
|
|
13
13
|
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); }
|
|
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
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
17
|
|
|
17
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
18
19
|
var WhatsNewTypeTitle = exports.WhatsNewTypeTitle = _styled.default.span({
|
|
19
20
|
textDecoration: 'none',
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
20
22
|
color: "var(--ds-text-subtlest, ".concat(colors.N300, ")"),
|
|
23
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
21
24
|
font: "var(--ds-font-body, ".concat(_typography.fontFallback.body.medium, ")"),
|
|
22
25
|
verticalAlign: 'middle',
|
|
23
26
|
paddingLeft: "var(--ds-space-050, 4px)",
|
|
@@ -25,15 +28,16 @@ var WhatsNewTypeTitle = exports.WhatsNewTypeTitle = _styled.default.span({
|
|
|
25
28
|
overflowX: 'hidden'
|
|
26
29
|
});
|
|
27
30
|
|
|
28
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
29
32
|
var WhatsNewIconContainer = exports.WhatsNewIconContainer = _styled.default.div({
|
|
30
33
|
display: 'block',
|
|
31
34
|
paddingBottom: "var(--ds-space-100, 8px)"
|
|
32
35
|
});
|
|
33
36
|
|
|
34
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
37
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
35
38
|
var WhatsNewTitleText = exports.WhatsNewTitleText = _styled.default.span({
|
|
36
39
|
textDecoration: 'none',
|
|
40
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
37
41
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
38
42
|
fontSize: "".concat((0, _constants.fontSize)(), "px"),
|
|
39
43
|
fontWeight: 600,
|
|
@@ -43,9 +47,10 @@ var WhatsNewTitleText = exports.WhatsNewTitleText = _styled.default.span({
|
|
|
43
47
|
display: 'block'
|
|
44
48
|
});
|
|
45
49
|
|
|
46
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
50
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
47
51
|
var WhatsNewRelatedLinksTitleText = exports.WhatsNewRelatedLinksTitleText = _styled.default.span({
|
|
48
52
|
textDecoration: 'none',
|
|
53
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
49
54
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
50
55
|
fontSize: "".concat((0, _constants.fontSizeSmall)(), "px"),
|
|
51
56
|
fontWeight: 600,
|
|
@@ -55,12 +60,12 @@ var WhatsNewRelatedLinksTitleText = exports.WhatsNewRelatedLinksTitleText = _sty
|
|
|
55
60
|
display: 'block'
|
|
56
61
|
});
|
|
57
62
|
|
|
58
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
63
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
59
64
|
var RelatedLinkContainer = exports.RelatedLinkContainer = _styled.default.div({
|
|
60
65
|
marginBottom: "var(--ds-space-100, 8px)"
|
|
61
66
|
});
|
|
62
67
|
|
|
63
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
68
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
64
69
|
var ExternalLinkIconContainer = exports.ExternalLinkIconContainer = _styled.default.div({
|
|
65
70
|
display: 'inline-block',
|
|
66
71
|
verticalAlign: 'middle',
|
|
@@ -8,7 +8,9 @@ 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/
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
|
+
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
12
14
|
var ArticleContainer = exports.ArticleContainer = _styled.default.div({
|
|
13
15
|
padding: "var(--ds-space-200, 16px)".concat(" ", "var(--ds-space-300, 24px)"),
|
|
14
16
|
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.5.
|
|
21
|
+
packageVersion: "7.5.1"
|
|
22
22
|
};
|
|
23
23
|
var ArticlesListItem = exports.ArticlesListItem = function ArticlesListItem(_ref) {
|
|
24
24
|
var styles = _ref.styles,
|
|
@@ -12,8 +12,9 @@ var _typography = require("@atlaskit/theme/typography");
|
|
|
12
12
|
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); }
|
|
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
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
16
|
|
|
16
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
17
18
|
var ArticlesListItemWrapper = exports.ArticlesListItemWrapper = _styled.default.a({
|
|
18
19
|
position: 'relative',
|
|
19
20
|
boxSizing: 'border-box',
|
|
@@ -21,6 +22,7 @@ var ArticlesListItemWrapper = exports.ArticlesListItemWrapper = _styled.default.
|
|
|
21
22
|
display: 'block',
|
|
22
23
|
textDecoration: 'none',
|
|
23
24
|
cursor: 'pointer',
|
|
25
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
24
26
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")"),
|
|
25
27
|
borderRadius: '3px',
|
|
26
28
|
backgroundColor: "var(--ds-background-neutral-subtle, transparent)",
|
|
@@ -30,48 +32,59 @@ var ArticlesListItemWrapper = exports.ArticlesListItemWrapper = _styled.default.
|
|
|
30
32
|
outlineOffset: 'none'
|
|
31
33
|
},
|
|
32
34
|
'&:focus': {
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
33
36
|
boxShadow: "".concat("var(--ds-border-focused, ".concat(colors.B100, ")"), " 0px 0px 0px 2px inset")
|
|
34
37
|
},
|
|
35
38
|
'&:hover': {
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
36
40
|
backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat(colors.N30, ")")
|
|
37
41
|
},
|
|
38
42
|
'&:active': {
|
|
43
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
39
44
|
backgroundColor: "var(--ds-background-neutral-subtle-pressed, ".concat(colors.B50, ")")
|
|
40
45
|
}
|
|
41
|
-
},
|
|
46
|
+
},
|
|
47
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
|
|
48
|
+
function (props) {
|
|
42
49
|
return props.styles;
|
|
43
50
|
});
|
|
44
51
|
|
|
45
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
52
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
46
53
|
var ArticlesListItemContainer = exports.ArticlesListItemContainer = _styled.default.div({
|
|
47
54
|
width: '100%',
|
|
48
55
|
whiteSpace: 'nowrap',
|
|
49
56
|
display: 'flex'
|
|
50
57
|
});
|
|
58
|
+
|
|
59
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
|
|
51
60
|
var ArticlesListItemTitleSection = exports.ArticlesListItemTitleSection = _styled.default.div({
|
|
52
61
|
display: 'flex',
|
|
53
62
|
flexDirection: 'column',
|
|
54
63
|
flexGrow: 1
|
|
55
64
|
});
|
|
56
65
|
|
|
57
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
66
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
58
67
|
var ArticlesListItemTypeTitle = exports.ArticlesListItemTypeTitle = _styled.default.div({
|
|
68
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
59
69
|
font: "var(--ds-font-body-small, ".concat(_typography.fontFallback.body.small, ")"),
|
|
60
70
|
fontWeight: "var(--ds-font-weight-bold, bold)",
|
|
71
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
61
72
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")")
|
|
62
73
|
});
|
|
63
74
|
|
|
64
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
75
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
65
76
|
var ArticlesListItemLinkIcon = exports.ArticlesListItemLinkIcon = _styled.default.span({
|
|
66
77
|
alignSelf: 'auto',
|
|
67
78
|
paddingInlineStart: "var(--ds-space-050, 4px)",
|
|
68
79
|
verticalAlign: 'middle'
|
|
69
80
|
});
|
|
70
81
|
|
|
71
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
82
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
72
83
|
var ArticlesListItemTitleText = exports.ArticlesListItemTitleText = _styled.default.p({
|
|
73
84
|
textDecoration: 'none',
|
|
85
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
74
86
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
87
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
75
88
|
font: "var(--ds-font-heading-xsmall, ".concat(_typography.fontFallback.heading.xsmall, ")"),
|
|
76
89
|
display: 'inline-block',
|
|
77
90
|
whiteSpace: 'normal',
|
|
@@ -79,39 +92,56 @@ var ArticlesListItemTitleText = exports.ArticlesListItemTitleText = _styled.defa
|
|
|
79
92
|
marginBottom: "var(--ds-space-100, 4px)"
|
|
80
93
|
});
|
|
81
94
|
|
|
82
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
95
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
83
96
|
var ArticlesListItemDescription = exports.ArticlesListItemDescription = _styled.default.p({
|
|
84
97
|
display: 'block',
|
|
85
98
|
lineHeight: '20px',
|
|
99
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
86
100
|
color: "var(--ds-text-subtle, ".concat(colors.N400, ")"),
|
|
87
101
|
margin: 0,
|
|
88
102
|
paddingBottom: "var(--ds-space-025, 2px)"
|
|
89
103
|
});
|
|
104
|
+
|
|
105
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
|
|
90
106
|
var ArticlesListItemSource = exports.ArticlesListItemSource = _styled.default.div({
|
|
91
107
|
display: 'flex',
|
|
92
108
|
alignItems: 'center',
|
|
109
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
93
110
|
font: "var(--ds-font-heading-xxsmall, ".concat(_typography.fontFallback.heading.xxsmall, ")"),
|
|
111
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
94
112
|
color: "var(--ds-text-subtlest, ".concat(colors.N400A, ")"),
|
|
95
113
|
padding: "var(--ds-space-050, 4px)".concat(" 0"),
|
|
96
114
|
fontWeight: "var(--ds-font-weight-bold, bold)",
|
|
97
115
|
textTransform: 'uppercase'
|
|
98
116
|
});
|
|
117
|
+
|
|
118
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
|
|
99
119
|
var ArticlesListItemTrustFactor = exports.ArticlesListItemTrustFactor = _styled.default.div({
|
|
100
120
|
display: 'flex',
|
|
101
121
|
alignItems: 'center',
|
|
122
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
102
123
|
font: "var(--ds-font-body-small, ".concat(_typography.fontFallback.body.small, ")"),
|
|
124
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
103
125
|
color: "var(--ds-text-subtlest, ".concat(colors.N400A, ")"),
|
|
104
126
|
paddingTop: "var(--ds-space-025, 2px)"
|
|
105
127
|
});
|
|
128
|
+
|
|
129
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
|
|
106
130
|
var ArticlesListItemViewCount = exports.ArticlesListItemViewCount = _styled.default.span({
|
|
107
131
|
paddingRight: "var(--ds-space-100, 8px)"
|
|
108
132
|
});
|
|
133
|
+
|
|
134
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
|
|
109
135
|
var ArticlesListItemHelpfulCount = exports.ArticlesListItemHelpfulCount = _styled.default.span({
|
|
110
136
|
display: 'inline-flex',
|
|
111
137
|
paddingRight: "var(--ds-space-100, 8px)"
|
|
112
138
|
});
|
|
139
|
+
|
|
140
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
|
|
113
141
|
var ArticlesListItemLastModified = exports.ArticlesListItemLastModified = _styled.default.div({
|
|
142
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
114
143
|
font: "var(--ds-font-body-small, ".concat(_typography.fontFallback.body.small, ")"),
|
|
144
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
115
145
|
color: "var(--ds-text-subtlest, ".concat(colors.N400A, ")"),
|
|
116
146
|
padding: "var(--ds-space-050, 4px)".concat(" 0")
|
|
117
147
|
});
|
|
@@ -9,24 +9,30 @@ var _react = require("@emotion/react");
|
|
|
9
9
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
10
10
|
/** @jsx jsx */
|
|
11
11
|
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
13
|
+
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
|
+
|
|
12
16
|
var truncate = exports.truncate = function truncate() {
|
|
13
17
|
var width = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '100%';
|
|
14
18
|
return (0, _react.css)({
|
|
15
19
|
overflowX: 'hidden',
|
|
16
20
|
textOverflow: 'ellipsis',
|
|
17
21
|
whiteSpace: 'nowrap',
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
18
23
|
width: width
|
|
19
24
|
});
|
|
20
25
|
};
|
|
21
26
|
|
|
22
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
23
28
|
var ArticlesListContainer = exports.ArticlesListContainer = _styled.default.div({
|
|
24
29
|
position: 'relative'
|
|
25
30
|
});
|
|
26
31
|
|
|
27
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
28
33
|
var ToggleShowMoreArticlesContainer = exports.ToggleShowMoreArticlesContainer = _styled.default.div({
|
|
29
34
|
padding: "var(--ds-space-100, 8px)".concat(" 0"),
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
30
36
|
span: {
|
|
31
37
|
margin: 0
|
|
32
38
|
}
|
|
@@ -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.5.
|
|
20
|
+
packageVersion: "7.5.1"
|
|
21
21
|
};
|
|
22
22
|
var HelpContentButton = function HelpContentButton(_ref) {
|
|
23
23
|
var _ref$id = _ref.id,
|
|
@@ -11,19 +11,20 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
11
11
|
var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
|
|
12
12
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
13
13
|
/** @jsx jsx */
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
15
|
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
16
|
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, @atlaskit/ui-styling-standard/no-styled --
|
|
17
|
-
var HelpContentButtonContainer = exports.HelpContentButtonContainer = _styledComponents.default.a(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n
|
|
17
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
18
|
+
var HelpContentButtonContainer = exports.HelpContentButtonContainer = _styledComponents.default.a(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: block;\n\tcursor: pointer;\n\twidth: calc(100% - ", ");\n\tcolor: ", ";\n\tpadding: ", ";\n\tborder-radius: 3px;\n\n\t&:hover,\n\t&:focus,\n\t&:visited,\n\t&:active {\n\t\ttext-decoration: none;\n\t\toutline: none;\n\t\toutline-offset: none;\n\t\tcolor: ", ";\n\t}\n\n\t&:focus {\n\t\tbox-shadow: ", " 0 0 0 2px inset;\n\t}\n\n\t&:hover {\n\t\tbackground-color: ", ";\n\t}\n\n\t&:active {\n\t\tbackground-color: ", ";\n\t}\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
19
|
|
|
19
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled --
|
|
20
|
-
var HelpContentButtonIcon = exports.HelpContentButtonIcon = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n
|
|
20
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
21
|
+
var HelpContentButtonIcon = exports.HelpContentButtonIcon = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: inline-block;\n\tvertical-align: middle;\n\twidth: 20px;\n\theight: 20px;\n\tborder-radius: 4px;\n\tposition: relative;\n\n\t& span {\n\t\tposition: absolute;\n\t\ttop: 50%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, -50%);\n\t}\n"])));
|
|
21
22
|
|
|
22
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled --
|
|
23
|
-
var HelpContentButtonText = exports.HelpContentButtonText = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n
|
|
23
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
24
|
+
var HelpContentButtonText = exports.HelpContentButtonText = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n\twidth: calc(100% - 20px);\n\tdisplay: inline-block;\n\tvertical-align: middle;\n\tpadding: 0 ", ";\n\tbox-sizing: border-box;\n"])), "var(--ds-space-100, 8px)");
|
|
24
25
|
|
|
25
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled --
|
|
26
|
-
var HelpContentButtonExternalLinkIcon = exports.HelpContentButtonExternalLinkIcon = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n
|
|
26
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
27
|
+
var HelpContentButtonExternalLinkIcon = exports.HelpContentButtonExternalLinkIcon = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: inline-block;\n\tvertical-align: middle;\n\tpadding-left: ", ";\n"])), "var(--ds-space-050, 4px)");
|
|
27
28
|
|
|
28
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled --
|
|
29
|
-
var HelpContentButtonExternalNotificationIcon = exports.HelpContentButtonExternalNotificationIcon = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n
|
|
29
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
30
|
+
var HelpContentButtonExternalNotificationIcon = exports.HelpContentButtonExternalNotificationIcon = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: inline-block;\n\tvertical-align: middle;\n\tmargin-top: ", ";\n\tpadding-left: ", ";\n"])), "var(--ds-space-negative-050, -4px)", "var(--ds-space-050, 4px)");
|
|
@@ -27,8 +27,17 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
27
27
|
/** @jsx jsx */
|
|
28
28
|
/** @jsxFrag */
|
|
29
29
|
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
31
|
+
|
|
30
32
|
var packageName = "@atlaskit/help";
|
|
31
|
-
var packageVersion = "7.5.
|
|
33
|
+
var packageVersion = "7.5.1";
|
|
34
|
+
var buttonStyles = (0, _react2.css)({
|
|
35
|
+
padding: '0',
|
|
36
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
37
|
+
'& span': {
|
|
38
|
+
margin: '0'
|
|
39
|
+
}
|
|
40
|
+
});
|
|
32
41
|
var RelatedArticles = exports.RelatedArticles = function RelatedArticles(_ref) {
|
|
33
42
|
var _ref$style = _ref.style,
|
|
34
43
|
style = _ref$style === void 0 ? 'primary' : _ref$style,
|
|
@@ -110,12 +119,7 @@ var RelatedArticles = exports.RelatedArticles = function RelatedArticles(_ref) {
|
|
|
110
119
|
}, (0, _react2.jsx)("p", null, (0, _react2.jsx)("strong", null, formatMessage(_messages.messages.help_related_article_endpoint_error_title))), (0, _react2.jsx)("p", null, formatMessage(_messages.messages.help_related_article_endpoint_error_description)), (0, _react2.jsx)("p", null, (0, _react2.jsx)(_customThemeButton.default, {
|
|
111
120
|
appearance: "link",
|
|
112
121
|
spacing: "compact",
|
|
113
|
-
css:
|
|
114
|
-
padding: '0',
|
|
115
|
-
'& span': {
|
|
116
|
-
margin: '0'
|
|
117
|
-
}
|
|
118
|
-
},
|
|
122
|
+
css: buttonStyles,
|
|
119
123
|
onClick: updateRelatedArticles
|
|
120
124
|
}, formatMessage(_messages.messages.help_related_article_endpoint_error_button_label))));
|
|
121
125
|
} else {
|
|
@@ -14,6 +14,10 @@ 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/use-compiled -- Ignored via go/DSP-18766
|
|
18
|
+
|
|
19
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
20
|
+
|
|
17
21
|
var baseHeading = function baseHeading(size, lineHeight) {
|
|
18
22
|
return "\n font-size: ".concat(size / (0, _constants.fontSize)(), "em;\n font-style: inherit;\n line-height: ").concat(lineHeight / size, ";\n");
|
|
19
23
|
};
|
|
@@ -23,12 +27,14 @@ var truncate = exports.truncate = function truncate() {
|
|
|
23
27
|
overflowX: 'hidden',
|
|
24
28
|
textOverflow: 'ellipsis',
|
|
25
29
|
whiteSpace: 'nowrap',
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
26
31
|
width: width
|
|
27
32
|
});
|
|
28
33
|
};
|
|
29
34
|
|
|
30
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
31
36
|
var RelatedArticlesTitle = exports.RelatedArticlesTitle = _styled.default.div(baseHeading(16, 20), {
|
|
37
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
32
38
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
33
39
|
fontWeight: 600,
|
|
34
40
|
letterSpacing: '-0.006em',
|
|
@@ -38,12 +44,12 @@ var RelatedArticlesTitle = exports.RelatedArticlesTitle = _styled.default.div(ba
|
|
|
38
44
|
/**
|
|
39
45
|
* Loading styled-components
|
|
40
46
|
*/
|
|
41
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
47
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
42
48
|
var LoadignRelatedArticleSection = exports.LoadignRelatedArticleSection = _styled.default.div({
|
|
43
49
|
marginTop: "var(--ds-space-100, 8px)"
|
|
44
50
|
});
|
|
45
51
|
|
|
46
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
52
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
47
53
|
var LoadignRelatedArticleList = exports.LoadignRelatedArticleList = _styled.default.ul({
|
|
48
54
|
width: '100%',
|
|
49
55
|
margin: 0,
|
|
@@ -51,7 +57,7 @@ var LoadignRelatedArticleList = exports.LoadignRelatedArticleList = _styled.defa
|
|
|
51
57
|
boxSizing: 'border-box'
|
|
52
58
|
});
|
|
53
59
|
|
|
54
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
60
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
55
61
|
var LoadignRelatedArticleListItem = exports.LoadignRelatedArticleListItem = _styled.default.li({
|
|
56
62
|
display: 'block',
|
|
57
63
|
width: '100%',
|
|
@@ -24,11 +24,19 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
24
24
|
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; }
|
|
25
25
|
/** @jsx jsx */
|
|
26
26
|
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
28
|
+
|
|
27
29
|
var ANALYTICS_CONTEXT_DATA = {
|
|
28
30
|
componentName: 'searchInput',
|
|
29
31
|
packageName: "@atlaskit/help",
|
|
30
|
-
packageVersion: "7.5.
|
|
32
|
+
packageVersion: "7.5.1"
|
|
31
33
|
};
|
|
34
|
+
var buttonStyles = (0, _react2.css)({
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
36
|
+
width: "".concat((0, _constants.gridSize)() * 3, "px"),
|
|
37
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
38
|
+
height: "".concat((0, _constants.gridSize)() * 3, "px")
|
|
39
|
+
});
|
|
32
40
|
var SearchInput = exports.SearchInput = function SearchInput(_ref) {
|
|
33
41
|
var formatMessage = _ref.intl.formatMessage;
|
|
34
42
|
var _useSearchContext = (0, _searchContext.useSearchContext)(),
|
|
@@ -88,10 +96,7 @@ var SearchInput = exports.SearchInput = function SearchInput(_ref) {
|
|
|
88
96
|
elemAfterInput: (0, _react2.jsx)(_styled.CloseButtonAndSpinnerContainer, null, searchState === _Requests.REQUEST_STATE.loading && (0, _react2.jsx)(_spinner.default, {
|
|
89
97
|
size: "small"
|
|
90
98
|
}), searchValue !== '' && (0, _react2.jsx)(_customThemeButton.default, {
|
|
91
|
-
css:
|
|
92
|
-
width: "".concat((0, _constants.gridSize)() * 3, "px"),
|
|
93
|
-
height: "".concat((0, _constants.gridSize)() * 3, "px")
|
|
94
|
-
},
|
|
99
|
+
css: buttonStyles,
|
|
95
100
|
appearance: "subtle",
|
|
96
101
|
onClick: handleOnClearButtonClick,
|
|
97
102
|
spacing: "none",
|