@atlaskit/help 7.5.0 → 7.5.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 +15 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/Article/ArticleLoadingFail/index.js +3 -3
- package/dist/cjs/components/Article/ArticleLoadingFail/styled.js +3 -2
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +3 -3
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +3 -3
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/index.js +22 -10
- 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 +4 -4
- 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/SearchExternalSite.js +2 -2
- package/dist/cjs/components/Search/SearchResults/SearchResultsEmpty.js +2 -2
- package/dist/cjs/components/Search/SearchResults/styled.js +10 -5
- package/dist/cjs/components/ShowMoreButton/index.js +3 -3
- 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/index.js +2 -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 +2 -2
- package/dist/es2019/components/Article/ArticleLoadingFail/styled.js +3 -2
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +2 -2
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +2 -2
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/index.js +22 -11
- 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 +2 -2
- 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/SearchExternalSite.js +1 -1
- package/dist/es2019/components/Search/SearchResults/SearchResultsEmpty.js +1 -1
- package/dist/es2019/components/Search/SearchResults/styled.js +10 -5
- package/dist/es2019/components/ShowMoreButton/index.js +1 -1
- 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/index.js +1 -1
- 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 +2 -2
- package/dist/esm/components/Article/ArticleLoadingFail/styled.js +3 -2
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +2 -2
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +2 -2
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/index.js +22 -11
- 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 +2 -2
- 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/SearchExternalSite.js +1 -1
- package/dist/esm/components/Search/SearchResults/SearchResultsEmpty.js +1 -1
- package/dist/esm/components/Search/SearchResults/styled.js +10 -5
- package/dist/esm/components/ShowMoreButton/index.js +1 -1
- 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/index.js +1 -1
- 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
|
@@ -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.2";
|
|
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.2"
|
|
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",
|
|
@@ -7,8 +7,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.SearchInputContainer = exports.SearchIconContainer = exports.CloseButtonAndSpinnerContainer = 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 SearchInputContainer = exports.SearchInputContainer = _styled.default.div({
|
|
13
14
|
order: 0,
|
|
14
15
|
flex: '0 1 auto',
|
|
@@ -17,11 +18,12 @@ var SearchInputContainer = exports.SearchInputContainer = _styled.default.div({
|
|
|
17
18
|
boxSizing: 'border-box'
|
|
18
19
|
});
|
|
19
20
|
|
|
20
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
21
22
|
var SearchIconContainer = exports.SearchIconContainer = _styled.default.div({
|
|
22
23
|
width: "var(--ds-space-300, 24px)",
|
|
23
24
|
height: "var(--ds-space-300, 24px)",
|
|
24
25
|
paddingLeft: "var(--ds-space-050, 4px)",
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
25
27
|
'& > span': {
|
|
26
28
|
paddingLeft: "var(--ds-space-050, 4px)",
|
|
27
29
|
height: "var(--ds-space-300, 24px)",
|
|
@@ -30,15 +32,17 @@ var SearchIconContainer = exports.SearchIconContainer = _styled.default.div({
|
|
|
30
32
|
}
|
|
31
33
|
});
|
|
32
34
|
|
|
33
|
-
// 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 -- Ignored via go/DSP-18766
|
|
34
36
|
var CloseButtonAndSpinnerContainer = exports.CloseButtonAndSpinnerContainer = _styled.default.div({
|
|
35
37
|
fontSize: 0,
|
|
36
38
|
paddingRight: "var(--ds-space-100, 8px)",
|
|
37
39
|
position: 'relative',
|
|
38
40
|
whiteSpace: 'nowrap',
|
|
41
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
39
42
|
'& > span': {
|
|
40
43
|
paddingRight: "var(--ds-space-050, 4px)"
|
|
41
44
|
},
|
|
45
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
42
46
|
'& > button, & > span': {
|
|
43
47
|
display: 'inline-block',
|
|
44
48
|
verticalAlign: 'middle'
|
|
@@ -9,7 +9,7 @@ exports.default = exports.SearchExternalSite = void 0;
|
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
11
11
|
var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
|
|
12
|
-
var
|
|
12
|
+
var _button = _interopRequireDefault(require("@atlaskit/button"));
|
|
13
13
|
var _shortcut = _interopRequireDefault(require("@atlaskit/icon/glyph/shortcut"));
|
|
14
14
|
var _reactIntlNext = require("react-intl-next");
|
|
15
15
|
var _messages = require("../../../messages");
|
|
@@ -34,7 +34,7 @@ var SearchExternalSite = exports.SearchExternalSite = function SearchExternalSit
|
|
|
34
34
|
data: {
|
|
35
35
|
componentName: 'searchExternalUrl'
|
|
36
36
|
}
|
|
37
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
37
|
+
}, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
38
38
|
appearance: "link",
|
|
39
39
|
iconAfter: /*#__PURE__*/_react.default.createElement(_shortcut.default, {
|
|
40
40
|
size: "small",
|
|
@@ -9,7 +9,7 @@ exports.default = exports.SearchResultsEmpty = void 0;
|
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
11
11
|
var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
|
|
12
|
-
var
|
|
12
|
+
var _button = _interopRequireDefault(require("@atlaskit/button"));
|
|
13
13
|
var _shortcut = _interopRequireDefault(require("@atlaskit/icon/glyph/shortcut"));
|
|
14
14
|
var _reactIntlNext = require("react-intl-next");
|
|
15
15
|
var _NotFoundImage = _interopRequireDefault(require("../../../assets/NotFoundImage"));
|
|
@@ -35,7 +35,7 @@ var SearchResultsEmpty = exports.SearchResultsEmpty = function SearchResultsEmpt
|
|
|
35
35
|
data: {
|
|
36
36
|
componentName: 'searchExternalUrl'
|
|
37
37
|
}
|
|
38
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
38
|
+
}, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
39
39
|
appearance: "link",
|
|
40
40
|
iconAfter: /*#__PURE__*/_react.default.createElement(_shortcut.default, {
|
|
41
41
|
size: "small",
|
|
@@ -11,8 +11,9 @@ var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
|
|
|
11
11
|
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); }
|
|
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
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
15
|
|
|
15
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
16
17
|
var SearchResultsContainer = exports.SearchResultsContainer = _styled.default.div({
|
|
17
18
|
position: 'absolute',
|
|
18
19
|
height: '100%',
|
|
@@ -28,32 +29,36 @@ var SearchResultsContainer = exports.SearchResultsContainer = _styled.default.di
|
|
|
28
29
|
padding: "0 ".concat("var(--ds-space-200, 16px)")
|
|
29
30
|
});
|
|
30
31
|
|
|
31
|
-
// 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
|
|
32
33
|
var SearchResultsList = exports.SearchResultsList = _styled.default.div({
|
|
33
34
|
paddingTop: "var(--ds-space-300, 24px)",
|
|
34
35
|
position: 'relative'
|
|
35
36
|
});
|
|
36
37
|
|
|
37
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
38
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
38
39
|
var SearchResultEmptyMessageImage = exports.SearchResultEmptyMessageImage = _styled.default.div({
|
|
39
40
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
40
41
|
textAlign: 'center'
|
|
41
42
|
});
|
|
42
43
|
|
|
43
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
44
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
44
45
|
var SearchResultEmptyMessageText = exports.SearchResultEmptyMessageText = _styled.default.div({
|
|
45
46
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
46
47
|
textAlign: 'center',
|
|
48
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
47
49
|
p: {
|
|
50
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
48
51
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")")
|
|
49
52
|
}
|
|
50
53
|
});
|
|
51
54
|
|
|
52
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
53
56
|
var SearchResultSearchExternalSiteContainer = exports.SearchResultSearchExternalSiteContainer = _styled.default.div({
|
|
54
57
|
padding: "var(--ds-space-300, 24px)",
|
|
55
58
|
textAlign: 'center',
|
|
59
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
56
60
|
p: {
|
|
61
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
57
62
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")")
|
|
58
63
|
}
|
|
59
64
|
});
|
|
@@ -8,7 +8,7 @@ exports.default = exports.ShowMoreButton = void 0;
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _spinner = _interopRequireDefault(require("@atlaskit/spinner"));
|
|
10
10
|
var _reactIntlNext = require("react-intl-next");
|
|
11
|
-
var
|
|
11
|
+
var _button = _interopRequireDefault(require("@atlaskit/button"));
|
|
12
12
|
var _messages = require("../../messages");
|
|
13
13
|
var _styled = require("../ArticlesList/styled");
|
|
14
14
|
var ShowMoreButton = exports.ShowMoreButton = function ShowMoreButton(_ref) {
|
|
@@ -20,7 +20,7 @@ var ShowMoreButton = exports.ShowMoreButton = function ShowMoreButton(_ref) {
|
|
|
20
20
|
_ref$loading = _ref.loading,
|
|
21
21
|
loading = _ref$loading === void 0 ? false : _ref$loading,
|
|
22
22
|
formatMessage = _ref.intl.formatMessage;
|
|
23
|
-
return showMoreToggeled ? /*#__PURE__*/_react.default.createElement(_styled.ToggleShowMoreArticlesContainer, null, /*#__PURE__*/_react.default.createElement(
|
|
23
|
+
return showMoreToggeled ? /*#__PURE__*/_react.default.createElement(_styled.ToggleShowMoreArticlesContainer, null, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
24
24
|
appearance: "link",
|
|
25
25
|
spacing: "compact",
|
|
26
26
|
onClick: onToggle
|
|
@@ -29,7 +29,7 @@ var ShowMoreButton = exports.ShowMoreButton = function ShowMoreButton(_ref) {
|
|
|
29
29
|
itemsType: itemsType
|
|
30
30
|
}), loading && /*#__PURE__*/_react.default.createElement("span", null, ' ', /*#__PURE__*/_react.default.createElement(_spinner.default, {
|
|
31
31
|
size: "medium"
|
|
32
|
-
})))) : /*#__PURE__*/_react.default.createElement(_styled.ToggleShowMoreArticlesContainer, null, /*#__PURE__*/_react.default.createElement(
|
|
32
|
+
})))) : /*#__PURE__*/_react.default.createElement(_styled.ToggleShowMoreArticlesContainer, null, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
33
33
|
appearance: "link",
|
|
34
34
|
spacing: "compact",
|
|
35
35
|
onClick: onToggle
|
|
@@ -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.5.
|
|
24
|
+
packageVersion: "7.5.2"
|
|
25
25
|
};
|
|
26
26
|
var WhatsNewButton = exports.WhatsNewButton = function WhatsNewButton(_ref) {
|
|
27
27
|
var productName = _ref.productName,
|
|
@@ -11,18 +11,21 @@ var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
|
|
|
11
11
|
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); }
|
|
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
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
15
|
|
|
15
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
16
17
|
var WhatsNewResultsEmptyMessageImage = exports.WhatsNewResultsEmptyMessageImage = _styled.default.div({
|
|
17
18
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
18
19
|
textAlign: 'center'
|
|
19
20
|
});
|
|
20
21
|
|
|
21
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
22
23
|
var WhatsNewResultsEmptyMessageText = exports.WhatsNewResultsEmptyMessageText = _styled.default.div({
|
|
23
24
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
24
25
|
textAlign: 'center',
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
25
27
|
p: {
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
26
29
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")")
|
|
27
30
|
}
|
|
28
31
|
});
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = exports.WhatsNewResultsError = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _button = _interopRequireDefault(require("@atlaskit/button"));
|
|
10
10
|
var _reactIntlNext = require("react-intl-next");
|
|
11
11
|
var _ErrorImage = _interopRequireDefault(require("../../../../assets/ErrorImage"));
|
|
12
12
|
var _messages = require("../../../../messages");
|
|
@@ -14,7 +14,7 @@ var _styled = require("./styled");
|
|
|
14
14
|
var WhatsNewResultsError = exports.WhatsNewResultsError = function WhatsNewResultsError(_ref) {
|
|
15
15
|
var onSearch = _ref.onSearch,
|
|
16
16
|
formatMessage = _ref.intl.formatMessage;
|
|
17
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styled.SearchResultEmptyMessageImage, null, /*#__PURE__*/_react.default.createElement(_ErrorImage.default, null)), /*#__PURE__*/_react.default.createElement(_styled.SearchResultEmptyMessageText, null, /*#__PURE__*/_react.default.createElement("strong", null, formatMessage(_messages.messages.help_search_error))), /*#__PURE__*/_react.default.createElement(_styled.SearchResultEmptyMessageText, null, /*#__PURE__*/_react.default.createElement("p", null, formatMessage(_messages.messages.help_search_error_line_two))), /*#__PURE__*/_react.default.createElement(_styled.SearchResultEmptyMessageText, null, onSearch && /*#__PURE__*/_react.default.createElement(
|
|
17
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styled.SearchResultEmptyMessageImage, null, /*#__PURE__*/_react.default.createElement(_ErrorImage.default, null)), /*#__PURE__*/_react.default.createElement(_styled.SearchResultEmptyMessageText, null, /*#__PURE__*/_react.default.createElement("strong", null, formatMessage(_messages.messages.help_search_error))), /*#__PURE__*/_react.default.createElement(_styled.SearchResultEmptyMessageText, null, /*#__PURE__*/_react.default.createElement("p", null, formatMessage(_messages.messages.help_search_error_line_two))), /*#__PURE__*/_react.default.createElement(_styled.SearchResultEmptyMessageText, null, onSearch && /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
18
18
|
onClick: function onClick() {
|
|
19
19
|
return onSearch('');
|
|
20
20
|
},
|
|
@@ -11,18 +11,21 @@ var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
|
|
|
11
11
|
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); }
|
|
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
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
15
|
|
|
15
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
16
17
|
var SearchResultEmptyMessageImage = exports.SearchResultEmptyMessageImage = _styled.default.div({
|
|
17
18
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
18
19
|
textAlign: 'center'
|
|
19
20
|
});
|
|
20
21
|
|
|
21
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
22
23
|
var SearchResultEmptyMessageText = exports.SearchResultEmptyMessageText = _styled.default.div({
|
|
23
24
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
24
25
|
textAlign: 'center',
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
25
27
|
p: {
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
26
29
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")")
|
|
27
30
|
}
|
|
28
31
|
});
|
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.5.
|
|
18
|
+
packageVersion: "7.5.2"
|
|
19
19
|
};
|
|
20
20
|
var WhatsNewResultListItem = exports.WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
|
|
21
21
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -12,7 +12,9 @@ var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
|
|
|
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
|
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
16
18
|
var WhatsNewResultListItemWrapper = exports.WhatsNewResultListItemWrapper =
|
|
17
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
18
20
|
_styled.default.a({
|
|
@@ -22,7 +24,9 @@ _styled.default.a({
|
|
|
22
24
|
display: "block",
|
|
23
25
|
textDecoration: "none",
|
|
24
26
|
cursor: "pointer",
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
25
28
|
color: "".concat("var(--ds-text-subtlest, ".concat(colors.N200, ")")),
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
26
30
|
backgroundColor: "".concat("var(--ds-background-neutral-subtle, ".concat(colors.N0, ")")),
|
|
27
31
|
borderRadius: "3px",
|
|
28
32
|
'&:hover, &:focus, &:visited, &:active': {
|
|
@@ -31,26 +35,31 @@ _styled.default.a({
|
|
|
31
35
|
outlineOffset: "none"
|
|
32
36
|
},
|
|
33
37
|
'&:focus': {
|
|
38
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
34
39
|
boxShadow: "".concat("var(--ds-border-focused, ".concat(colors.B100, ")"), " 0px 0px 0px 2px inset")
|
|
35
40
|
},
|
|
36
41
|
'&:hover': {
|
|
42
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
37
43
|
backgroundColor: "".concat("var(--ds-background-neutral-subtle-hovered, ".concat(colors.N30, ")"))
|
|
38
44
|
},
|
|
39
45
|
'&:active': {
|
|
46
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
40
47
|
backgroundColor: "".concat("var(--ds-background-neutral-subtle-pressed, ".concat(colors.B50, ")"))
|
|
41
48
|
}
|
|
42
|
-
},
|
|
49
|
+
},
|
|
50
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
|
|
51
|
+
function (props) {
|
|
43
52
|
return props.styles;
|
|
44
53
|
});
|
|
45
54
|
|
|
46
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
47
56
|
var WhatsNewResultListItemTitleContainer = exports.WhatsNewResultListItemTitleContainer = _styled.default.div({
|
|
48
57
|
width: '100%',
|
|
49
58
|
whiteSpace: 'nowrap',
|
|
50
59
|
marginBottom: "var(--ds-space-050, 4px)"
|
|
51
60
|
});
|
|
52
61
|
|
|
53
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
62
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
54
63
|
var WhatsNewResultListItemTitleText = exports.WhatsNewResultListItemTitleText = _styled.default.span({
|
|
55
64
|
fontSize: "".concat((0, _constants.fontSizeSmall)(), "px"),
|
|
56
65
|
lineHeight: "".concat((0, _constants.fontSize)(), "px"),
|
|
@@ -62,10 +71,11 @@ var WhatsNewResultListItemTitleText = exports.WhatsNewResultListItemTitleText =
|
|
|
62
71
|
overflowX: 'hidden'
|
|
63
72
|
});
|
|
64
73
|
|
|
65
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
74
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
66
75
|
var WhatsNewResultListItemDescription = exports.WhatsNewResultListItemDescription = _styled.default.p({
|
|
67
76
|
display: 'block',
|
|
68
77
|
lineHeight: '20px',
|
|
78
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
69
79
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
70
80
|
margin: 0
|
|
71
81
|
});
|
package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js
CHANGED
|
@@ -52,7 +52,8 @@ var WhatsNewResultsList = function WhatsNewResultsList(_ref) {
|
|
|
52
52
|
}, /*#__PURE__*/_react.default.createElement(_styled.WhatsNewResultsListGroupTitle, null, whatsNewArticlesGroupedByDate[key].title), whatsNewArticlesGroupedByDate[key].items.map(function (whatsNewArticle, i) {
|
|
53
53
|
return /*#__PURE__*/_react.default.createElement(_WhatsNewResultItem.default, {
|
|
54
54
|
styles: {
|
|
55
|
-
border: style === 'secondary' ?
|
|
55
|
+
border: style === 'secondary' ? // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
56
|
+
"2px solid ".concat("var(--ds-border, ".concat(colors.N30, ")")) : 0,
|
|
56
57
|
padding: style === 'secondary' ? "var(--ds-space-100, 8px)".concat(" ", "var(--ds-space-200, 16px)") : "var(--ds-space-100, 8px)",
|
|
57
58
|
marginBottom: style === 'secondary' ? "var(--ds-space-150, 12px)" : 0
|
|
58
59
|
},
|
|
@@ -14,28 +14,34 @@ 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 truncate = exports.truncate = function truncate() {
|
|
18
22
|
var width = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '100%';
|
|
19
23
|
return (0, _react.css)({
|
|
20
24
|
overflowX: 'hidden',
|
|
21
25
|
textOverflow: 'ellipsis',
|
|
22
26
|
whiteSpace: 'nowrap',
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
23
28
|
width: width
|
|
24
29
|
});
|
|
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 WhatsNewResultsListContainer = exports.WhatsNewResultsListContainer = _styled.default.div({
|
|
29
34
|
position: 'relative'
|
|
30
35
|
});
|
|
31
36
|
|
|
32
|
-
// 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
|
|
33
38
|
var WhatsNewResultsListGroupWrapper = exports.WhatsNewResultsListGroupWrapper = _styled.default.div({
|
|
34
39
|
padding: "var(--ds-space-100, 8px)".concat(" 0 ", "var(--ds-space-100, 8px)", " 0")
|
|
35
40
|
});
|
|
36
41
|
|
|
37
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
42
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
38
43
|
var WhatsNewResultsListGroupTitle = exports.WhatsNewResultsListGroupTitle = _styled.default.div({
|
|
44
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
39
45
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")"),
|
|
40
46
|
fontSize: "".concat((0, _constants.fontSizeSmall)(), "px"),
|
|
41
47
|
fontWeight: 'bold',
|
|
@@ -43,9 +49,10 @@ var WhatsNewResultsListGroupTitle = exports.WhatsNewResultsListGroupTitle = _sty
|
|
|
43
49
|
textTransform: 'uppercase'
|
|
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 ToggleShowWhatsNewResultsContainer = exports.ToggleShowWhatsNewResultsContainer = _styled.default.div({
|
|
48
54
|
padding: "var(--ds-space-100, 8px)".concat(" 0"),
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
49
56
|
span: {
|
|
50
57
|
margin: 0
|
|
51
58
|
}
|
|
@@ -7,11 +7,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.LoadignWhatsNewResultsListItem = exports.LoadignWhatsNewResultsList = 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
12
|
/**
|
|
12
13
|
* Loading styled-components
|
|
13
14
|
*/
|
|
14
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
15
16
|
var LoadignWhatsNewResultsList = exports.LoadignWhatsNewResultsList = _styled.default.ul({
|
|
16
17
|
width: '100%',
|
|
17
18
|
margin: 0,
|
|
@@ -20,7 +21,7 @@ var LoadignWhatsNewResultsList = exports.LoadignWhatsNewResultsList = _styled.de
|
|
|
20
21
|
marginTop: "var(--ds-space-200, 16px)"
|
|
21
22
|
});
|
|
22
23
|
|
|
23
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
24
25
|
var LoadignWhatsNewResultsListItem = exports.LoadignWhatsNewResultsListItem = _styled.default.li({
|
|
25
26
|
display: 'block',
|
|
26
27
|
width: '100%',
|
|
@@ -8,8 +8,9 @@ exports.WhatsNewResultsListTitleContainer = exports.WhatsNewResultsListContainer
|
|
|
8
8
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
9
9
|
var _constants = require("@atlaskit/theme/constants");
|
|
10
10
|
/** @jsx jsx */
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
12
|
|
|
12
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
13
14
|
var WhatsNewResultsContainer = exports.WhatsNewResultsContainer = _styled.default.div({
|
|
14
15
|
position: 'absolute',
|
|
15
16
|
height: '100%',
|
|
@@ -25,17 +26,18 @@ var WhatsNewResultsContainer = exports.WhatsNewResultsContainer = _styled.defaul
|
|
|
25
26
|
padding: "var(--ds-space-200, 16px)"
|
|
26
27
|
});
|
|
27
28
|
|
|
28
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
29
30
|
var SelectContainer = exports.SelectContainer = _styled.default.div({
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
30
32
|
width: "".concat(19 * (0, _constants.gridSize)(), "px")
|
|
31
33
|
});
|
|
32
34
|
|
|
33
|
-
// 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 -- Ignored via go/DSP-18766
|
|
34
36
|
var WhatsNewResultsListContainer = exports.WhatsNewResultsListContainer = _styled.default.div({
|
|
35
37
|
paddingTop: "var(--ds-space-100, 8px)"
|
|
36
38
|
});
|
|
37
39
|
|
|
38
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
40
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
39
41
|
var WhatsNewResultsListTitleContainer = exports.WhatsNewResultsListTitleContainer = _styled.default.div({
|
|
40
42
|
padding: "0 ".concat("var(--ds-space-100, 8px)")
|
|
41
43
|
});
|
|
@@ -8,7 +8,9 @@ exports.Home = exports.HelpBodyContainer = exports.HelpBody = 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 HelpBodyContainer = exports.HelpBodyContainer = _styled.default.div({
|
|
13
15
|
flexGrow: 1,
|
|
14
16
|
minHeight: 0,
|
|
@@ -23,7 +25,7 @@ var HelpBodyContainer = exports.HelpBodyContainer = _styled.default.div({
|
|
|
23
25
|
alignItems: 'flex-start'
|
|
24
26
|
});
|
|
25
27
|
|
|
26
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
27
29
|
var HelpBody = exports.HelpBody = _styled.default.div({
|
|
28
30
|
width: '100%',
|
|
29
31
|
boxSizing: 'border-box',
|
|
@@ -34,11 +36,13 @@ var HelpBody = exports.HelpBody = _styled.default.div({
|
|
|
34
36
|
overflowX: 'hidden',
|
|
35
37
|
overflowY: 'auto'
|
|
36
38
|
});
|
|
37
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
|
|
38
40
|
var Home = exports.Home = _styled.default.div(function (props) {
|
|
39
41
|
return {
|
|
42
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
40
43
|
display: props.isOverlayFullyVisible ? 'none' : 'block',
|
|
41
44
|
height: '100%',
|
|
45
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
42
46
|
overflow: props.isOverlayVisible ? 'hidden' : 'auto',
|
|
43
47
|
padding: "var(--ds-space-200, 16px)",
|
|
44
48
|
boxSizing: 'border-box'
|