@atlaskit/help 7.4.2 → 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 +14 -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/contexts/searchContext.js +3 -2
- 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/contexts/searchContext.js +3 -2
- 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/contexts/searchContext.js +3 -2
- package/dist/esm/components/styled.js +6 -3
- package/dist/esm/util/styled.js +30 -7
- package/dist/types/components/contexts/searchContext.d.ts +2 -1
- package/dist/types/model/Help.d.ts +1 -0
- package/dist/types-ts4.5/components/contexts/searchContext.d.ts +2 -1
- package/dist/types-ts4.5/model/Help.d.ts +1 -0
- package/package.json +98 -98
- package/report.api.md +288 -301
|
@@ -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'
|
|
@@ -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
|
});
|
|
@@ -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.
|
|
24
|
+
packageVersion: "7.5.1"
|
|
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
|
});
|
|
@@ -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.
|
|
18
|
+
packageVersion: "7.5.1"
|
|
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
|
});
|
|
@@ -28,7 +28,8 @@ var SearchContextProvider = exports.SearchContextProvider = function SearchConte
|
|
|
28
28
|
onSearchExternalUrlClick = _ref.onSearchExternalUrlClick,
|
|
29
29
|
searchExternalUrl = _ref.searchExternalUrl,
|
|
30
30
|
children = _ref.children,
|
|
31
|
-
openExternalSearchUrlInNewTab = _ref.openExternalSearchUrlInNewTab
|
|
31
|
+
openExternalSearchUrlInNewTab = _ref.openExternalSearchUrlInNewTab,
|
|
32
|
+
searchOnEnterKeyPress = _ref.searchOnEnterKeyPress;
|
|
32
33
|
// Search
|
|
33
34
|
var _useState = (0, _react.useState)(''),
|
|
34
35
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
@@ -86,7 +87,7 @@ var SearchContextProvider = exports.SearchContextProvider = function SearchConte
|
|
|
86
87
|
var debouncedDoSearch = (0, _debounce.default)(doSearch, 500);
|
|
87
88
|
var search = onSearch && function (newSearchValue) {
|
|
88
89
|
if (newSearchValue !== searchValue) {
|
|
89
|
-
if (newSearchValue.length >= _constants.MIN_CHARACTERS_FOR_SEARCH) {
|
|
90
|
+
if (newSearchValue.length >= _constants.MIN_CHARACTERS_FOR_SEARCH && !searchOnEnterKeyPress) {
|
|
90
91
|
try {
|
|
91
92
|
setSearchState(_Requests.REQUEST_STATE.loading);
|
|
92
93
|
debouncedDoSearch(newSearchValue);
|
|
@@ -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'
|
package/dist/cjs/util/styled.js
CHANGED
|
@@ -14,10 +14,13 @@ var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
|
|
|
14
14
|
var _WhatsNew = require("../model/WhatsNew");
|
|
15
15
|
var _templateObject;
|
|
16
16
|
/** @jsx jsx */
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
19
|
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); }
|
|
18
20
|
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; }
|
|
19
|
-
// 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
|
|
20
22
|
var DividerLine = exports.DividerLine = _styled.default.div({
|
|
23
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
21
24
|
backgroundColor: "var(--ds-border, ".concat(colors.N30A, ")"),
|
|
22
25
|
height: '2px',
|
|
23
26
|
width: '100%',
|
|
@@ -39,14 +42,17 @@ var shimmer = (0, _react.keyframes)({
|
|
|
39
42
|
}
|
|
40
43
|
});
|
|
41
44
|
|
|
42
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled
|
|
45
|
+
// 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
|
|
43
46
|
var LoadingRectangle = exports.LoadingRectangle = _styled.default.div(function (props) {
|
|
44
47
|
return {
|
|
45
48
|
display: 'inline-block',
|
|
46
49
|
verticalAlign: 'middle',
|
|
47
50
|
position: 'relative',
|
|
51
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
48
52
|
height: props.contentHeight ? props.contentHeight : '1rem',
|
|
53
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
49
54
|
marginTop: props.marginTop ? props.marginTop : (0, _constants.gridSize)() + 'px',
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
50
56
|
width: props.contentWidth ? props.contentWidth : '100%',
|
|
51
57
|
borderRadius: '2px',
|
|
52
58
|
animationDuration: '1.2s',
|
|
@@ -54,8 +60,15 @@ var LoadingRectangle = exports.LoadingRectangle = _styled.default.div(function (
|
|
|
54
60
|
animationIterationCount: 'infinite',
|
|
55
61
|
animationName: shimmer,
|
|
56
62
|
animationTimingFunction: 'linear',
|
|
63
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
57
64
|
backgroundColor: "var(--ds-background-neutral, ".concat(colors.N30, ")"),
|
|
58
|
-
backgroundImage: "linear-gradient( to right, ".concat("var(--ds-background-neutral-subtle, ".concat(
|
|
65
|
+
backgroundImage: "linear-gradient( to right, ".concat("var(--ds-background-neutral-subtle, ".concat(
|
|
66
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
67
|
+
colors.N30
|
|
68
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
69
|
+
, ")"), " 10%, ", "var(--ds-background-neutral, ".concat(colors.N40, ")"), " 20%, ", "var(--ds-background-neutral-subtle, ".concat(
|
|
70
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
71
|
+
colors.N30, ")"), " 30% )"),
|
|
59
72
|
backgroundRepeat: 'no-repeat'
|
|
60
73
|
};
|
|
61
74
|
});
|
|
@@ -64,14 +77,17 @@ var LoadingRectangle = exports.LoadingRectangle = _styled.default.div(function (
|
|
|
64
77
|
* Loading Circle
|
|
65
78
|
*/
|
|
66
79
|
|
|
67
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled
|
|
80
|
+
// 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
|
|
68
81
|
var LoadingCircle = exports.LoadingCircle = _styled.default.div(function (props) {
|
|
69
82
|
return {
|
|
70
83
|
display: 'inline-block',
|
|
71
84
|
verticalAlign: 'middle',
|
|
72
85
|
position: 'relative',
|
|
86
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
73
87
|
height: props.radius ? props.radius : "".concat((0, _constants.gridSize)() * 4, "px"),
|
|
88
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
74
89
|
marginTop: props.marginTop ? props.marginTop : '',
|
|
90
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
75
91
|
width: props.radius ? props.radius : "".concat((0, _constants.gridSize)() * 4, "px"),
|
|
76
92
|
borderRadius: '50%',
|
|
77
93
|
animationDuration: '1.2s',
|
|
@@ -79,8 +95,15 @@ var LoadingCircle = exports.LoadingCircle = _styled.default.div(function (props)
|
|
|
79
95
|
animationIterationCount: 'infinite',
|
|
80
96
|
animationName: shimmer,
|
|
81
97
|
animationTimingFunction: 'linear',
|
|
98
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
82
99
|
backgroundColor: "var(--ds-background-neutral, ".concat(colors.N30, ")"),
|
|
83
|
-
backgroundImage: "linear-gradient( to right, ".concat("var(--ds-background-neutral-subtle, ".concat(
|
|
100
|
+
backgroundImage: "linear-gradient( to right, ".concat("var(--ds-background-neutral-subtle, ".concat(
|
|
101
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
102
|
+
colors.N30
|
|
103
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
104
|
+
, ")"), " 10%, ", "var(--ds-background-neutral, ".concat(colors.N40, ")"), " 20%, ", "var(--ds-background-neutral-subtle, ".concat(
|
|
105
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
106
|
+
colors.N30, ")"), " 30% )"),
|
|
84
107
|
backgroundRepeat: 'no-repeat'
|
|
85
108
|
};
|
|
86
109
|
});
|
|
@@ -89,8 +112,8 @@ var LoadingCircle = exports.LoadingCircle = _styled.default.div(function (props)
|
|
|
89
112
|
* What's new icon
|
|
90
113
|
*/
|
|
91
114
|
|
|
92
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled --
|
|
93
|
-
var WhatsNewTypeIcon = exports.WhatsNewTypeIcon = _styled.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n
|
|
115
|
+
// 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
|
|
116
|
+
var WhatsNewTypeIcon = exports.WhatsNewTypeIcon = _styled.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: inline-block;\n\tvertical-align: middle;\n\tposition: relative;\n\theight: ", ";\n\twidth: ", ";\n\tborder-radius: 2px;\n\tbackground-color: ", ";\n\n\t& > img {\n\t\twidth: calc(100% - ", "px);\n\t\theight: calc(100% - ", "px);\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: 50%;\n\t\ttransform: translate(-50%, -50%);\n\n\t\t& > svg {\n\t\t\theight: 100%;\n\t\t\twidth: 100%;\n\t\t}\n\t}\n"])), "var(--ds-space-200, 16px)", "var(--ds-space-200, 16px)", function (_ref) {
|
|
94
117
|
var type = _ref.type;
|
|
95
118
|
switch (type) {
|
|
96
119
|
case _WhatsNew.WHATS_NEW_ITEM_TYPES.IMPROVEMENT:
|
package/dist/es2019/analytics.js
CHANGED
|
@@ -8,7 +8,7 @@ import { LoadingErrorMessage, LoadingErrorButtonContainer } from './styled';
|
|
|
8
8
|
const ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticleLoadingFail',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.
|
|
11
|
+
packageVersion: "7.5.1"
|
|
12
12
|
};
|
|
13
13
|
export const ArticleLoadingFail = ({
|
|
14
14
|
onTryAgainButtonClick,
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import styled from '@emotion/styled';
|
|
3
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
4
5
|
export const LoadingErrorMessage = styled.div({
|
|
5
6
|
paddingTop: "var(--ds-space-300, 24px)",
|
|
6
7
|
textAlign: 'center'
|
|
7
8
|
});
|
|
8
9
|
|
|
9
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
10
11
|
export const LoadingErrorButtonContainer = styled.div({
|
|
11
12
|
paddingTop: "var(--ds-space-300, 24px)",
|
|
12
13
|
textAlign: 'center'
|
|
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
|
|
|
6
6
|
const ANALYTICS_CONTEXT_DATA = {
|
|
7
7
|
componentName: 'ArticleWasHelpfulNoButton',
|
|
8
8
|
packageName: "@atlaskit/help",
|
|
9
|
-
packageVersion: "7.
|
|
9
|
+
packageVersion: "7.5.1"
|
|
10
10
|
};
|
|
11
11
|
export const ArticleWasHelpfulNoButton = ({
|
|
12
12
|
isSelected = false,
|
|
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
|
|
|
6
6
|
const ANALYTICS_CONTEXT_DATA = {
|
|
7
7
|
componentName: 'ArticleWasHelpfulYesButton',
|
|
8
8
|
packageName: "@atlaskit/help",
|
|
9
|
-
packageVersion: "7.
|
|
9
|
+
packageVersion: "7.5.1"
|
|
10
10
|
};
|
|
11
11
|
export const ArticleWasHelpfulYesButton = ({
|
|
12
12
|
isSelected = false,
|