@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
|
@@ -1,76 +1,77 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
4
|
import styled from 'styled-components';
|
|
4
5
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled --
|
|
6
|
+
// 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
|
|
6
7
|
export const HelpContentButtonContainer = styled.a`
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
display: block;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
width: calc(100% - ${"var(--ds-space-200, 16px)"});
|
|
11
|
+
color: ${`var(--ds-text-subtle, ${colors.N600})`};
|
|
12
|
+
padding: ${"var(--ds-space-100, 8px)"};
|
|
13
|
+
border-radius: 3px;
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
&:hover,
|
|
16
|
+
&:focus,
|
|
17
|
+
&:visited,
|
|
18
|
+
&:active {
|
|
19
|
+
text-decoration: none;
|
|
20
|
+
outline: none;
|
|
21
|
+
outline-offset: none;
|
|
22
|
+
color: ${`var(--ds-text-subtle, ${colors.N600})`};
|
|
23
|
+
}
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
&:focus {
|
|
26
|
+
box-shadow: ${`var(--ds-border-focused, ${colors.B100})`} 0 0 0 2px inset;
|
|
27
|
+
}
|
|
27
28
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
&:hover {
|
|
30
|
+
background-color: ${`var(--ds-background-neutral-subtle-hovered, ${colors.N30})`};
|
|
31
|
+
}
|
|
31
32
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
&:active {
|
|
34
|
+
background-color: ${`var(--ds-background-neutral-subtle-pressed, ${colors.B50})`};
|
|
35
|
+
}
|
|
35
36
|
`;
|
|
36
37
|
|
|
37
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled --
|
|
38
|
+
// 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
|
|
38
39
|
export const HelpContentButtonIcon = styled.div`
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
display: inline-block;
|
|
41
|
+
vertical-align: middle;
|
|
42
|
+
width: 20px;
|
|
43
|
+
height: 20px;
|
|
44
|
+
border-radius: 4px;
|
|
45
|
+
position: relative;
|
|
45
46
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
& span {
|
|
48
|
+
position: absolute;
|
|
49
|
+
top: 50%;
|
|
50
|
+
left: 50%;
|
|
51
|
+
transform: translate(-50%, -50%);
|
|
52
|
+
}
|
|
52
53
|
`;
|
|
53
54
|
|
|
54
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled --
|
|
55
|
+
// 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
|
|
55
56
|
export const HelpContentButtonText = styled.div`
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
57
|
+
width: calc(100% - 20px);
|
|
58
|
+
display: inline-block;
|
|
59
|
+
vertical-align: middle;
|
|
60
|
+
padding: 0 ${"var(--ds-space-100, 8px)"};
|
|
61
|
+
box-sizing: border-box;
|
|
61
62
|
`;
|
|
62
63
|
|
|
63
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled --
|
|
64
|
+
// 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
|
|
64
65
|
export const HelpContentButtonExternalLinkIcon = styled.div`
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
display: inline-block;
|
|
67
|
+
vertical-align: middle;
|
|
68
|
+
padding-left: ${"var(--ds-space-050, 4px)"};
|
|
68
69
|
`;
|
|
69
70
|
|
|
70
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled --
|
|
71
|
+
// 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
|
|
71
72
|
export const HelpContentButtonExternalNotificationIcon = styled.div`
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
display: inline-block;
|
|
74
|
+
vertical-align: middle;
|
|
75
|
+
margin-top: ${"var(--ds-space-negative-050, -4px)"};
|
|
76
|
+
padding-left: ${"var(--ds-space-050, 4px)"};
|
|
76
77
|
`;
|
|
@@ -13,9 +13,18 @@ import { DividerLine } from '../../util/styled';
|
|
|
13
13
|
import { RelatedArticlesTitle } from './styled';
|
|
14
14
|
import useCancellablePromise from '../../util/hooks/cancellablePromise';
|
|
15
15
|
import { usePrevious } from '../../util/hooks/previous';
|
|
16
|
-
|
|
16
|
+
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
18
|
+
import { css, jsx } from '@emotion/react';
|
|
17
19
|
const packageName = "@atlaskit/help";
|
|
18
|
-
const packageVersion = "7.5.
|
|
20
|
+
const packageVersion = "7.5.2";
|
|
21
|
+
const buttonStyles = css({
|
|
22
|
+
padding: '0',
|
|
23
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
24
|
+
'& span': {
|
|
25
|
+
margin: '0'
|
|
26
|
+
}
|
|
27
|
+
});
|
|
19
28
|
export const RelatedArticles = ({
|
|
20
29
|
style = 'primary',
|
|
21
30
|
routeGroup,
|
|
@@ -71,12 +80,7 @@ export const RelatedArticles = ({
|
|
|
71
80
|
}, jsx("p", null, jsx("strong", null, formatMessage(messages.help_related_article_endpoint_error_title))), jsx("p", null, formatMessage(messages.help_related_article_endpoint_error_description)), jsx("p", null, jsx(Button, {
|
|
72
81
|
appearance: "link",
|
|
73
82
|
spacing: "compact",
|
|
74
|
-
css:
|
|
75
|
-
padding: '0',
|
|
76
|
-
'& span': {
|
|
77
|
-
margin: '0'
|
|
78
|
-
}
|
|
79
|
-
},
|
|
83
|
+
css: buttonStyles,
|
|
80
84
|
onClick: updateRelatedArticles
|
|
81
85
|
}, formatMessage(messages.help_related_article_endpoint_error_button_label))));
|
|
82
86
|
} else {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
4
|
import { css } from '@emotion/react';
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import styled from '@emotion/styled';
|
|
5
7
|
import * as colors from '@atlaskit/theme/colors';
|
|
6
8
|
import { fontSize } from '@atlaskit/theme/constants';
|
|
@@ -13,11 +15,13 @@ export const truncate = (width = '100%') => css({
|
|
|
13
15
|
overflowX: 'hidden',
|
|
14
16
|
textOverflow: 'ellipsis',
|
|
15
17
|
whiteSpace: 'nowrap',
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
16
19
|
width: width
|
|
17
20
|
});
|
|
18
21
|
|
|
19
|
-
// 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, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
20
23
|
export const RelatedArticlesTitle = styled.div(baseHeading(16, 20), {
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
21
25
|
color: `var(--ds-text, ${colors.N800})`,
|
|
22
26
|
fontWeight: 600,
|
|
23
27
|
letterSpacing: '-0.006em',
|
|
@@ -27,12 +31,12 @@ export const RelatedArticlesTitle = styled.div(baseHeading(16, 20), {
|
|
|
27
31
|
/**
|
|
28
32
|
* Loading styled-components
|
|
29
33
|
*/
|
|
30
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
34
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
31
35
|
export const LoadignRelatedArticleSection = styled.div({
|
|
32
36
|
marginTop: "var(--ds-space-100, 8px)"
|
|
33
37
|
});
|
|
34
38
|
|
|
35
|
-
// 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 -- Ignored via go/DSP-18766
|
|
36
40
|
export const LoadignRelatedArticleList = styled.ul({
|
|
37
41
|
width: '100%',
|
|
38
42
|
margin: 0,
|
|
@@ -40,7 +44,7 @@ export const LoadignRelatedArticleList = styled.ul({
|
|
|
40
44
|
boxSizing: 'border-box'
|
|
41
45
|
});
|
|
42
46
|
|
|
43
|
-
// 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
|
|
44
48
|
export const LoadignRelatedArticleListItem = styled.li({
|
|
45
49
|
display: 'block',
|
|
46
50
|
width: '100%',
|
|
@@ -8,7 +8,8 @@ import { gridSize } from '@atlaskit/theme/constants';
|
|
|
8
8
|
import Spinner from '@atlaskit/spinner';
|
|
9
9
|
import SearchIcon from '@atlaskit/icon/glyph/search';
|
|
10
10
|
import EditorCloseIcon from '@atlaskit/icon/glyph/editor/close';
|
|
11
|
-
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
|
+
import { css, jsx } from '@emotion/react';
|
|
12
13
|
import { injectIntl } from 'react-intl-next';
|
|
13
14
|
import { REQUEST_STATE } from '../../../model/Requests';
|
|
14
15
|
import { useSearchContext } from '../../contexts/searchContext';
|
|
@@ -17,8 +18,14 @@ import { SearchInputContainer, SearchIconContainer, CloseButtonAndSpinnerContain
|
|
|
17
18
|
const ANALYTICS_CONTEXT_DATA = {
|
|
18
19
|
componentName: 'searchInput',
|
|
19
20
|
packageName: "@atlaskit/help",
|
|
20
|
-
packageVersion: "7.5.
|
|
21
|
+
packageVersion: "7.5.2"
|
|
21
22
|
};
|
|
23
|
+
const buttonStyles = css({
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
25
|
+
width: `${gridSize() * 3}px`,
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
27
|
+
height: `${gridSize() * 3}px`
|
|
28
|
+
});
|
|
22
29
|
export const SearchInput = ({
|
|
23
30
|
intl: {
|
|
24
31
|
formatMessage
|
|
@@ -83,10 +90,7 @@ export const SearchInput = ({
|
|
|
83
90
|
elemAfterInput: jsx(CloseButtonAndSpinnerContainer, null, searchState === REQUEST_STATE.loading && jsx(Spinner, {
|
|
84
91
|
size: "small"
|
|
85
92
|
}), searchValue !== '' && jsx(Button, {
|
|
86
|
-
css:
|
|
87
|
-
width: `${gridSize() * 3}px`,
|
|
88
|
-
height: `${gridSize() * 3}px`
|
|
89
|
-
},
|
|
93
|
+
css: buttonStyles,
|
|
90
94
|
appearance: "subtle",
|
|
91
95
|
onClick: handleOnClearButtonClick,
|
|
92
96
|
spacing: "none",
|
|
@@ -1,6 +1,7 @@
|
|
|
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 SearchInputContainer = styled.div({
|
|
5
6
|
order: 0,
|
|
6
7
|
flex: '0 1 auto',
|
|
@@ -9,11 +10,12 @@ export const SearchInputContainer = styled.div({
|
|
|
9
10
|
boxSizing: 'border-box'
|
|
10
11
|
});
|
|
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
|
export const SearchIconContainer = styled.div({
|
|
14
15
|
width: "var(--ds-space-300, 24px)",
|
|
15
16
|
height: "var(--ds-space-300, 24px)",
|
|
16
17
|
paddingLeft: "var(--ds-space-050, 4px)",
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
17
19
|
'& > span': {
|
|
18
20
|
paddingLeft: "var(--ds-space-050, 4px)",
|
|
19
21
|
height: "var(--ds-space-300, 24px)",
|
|
@@ -22,15 +24,17 @@ export const SearchIconContainer = styled.div({
|
|
|
22
24
|
}
|
|
23
25
|
});
|
|
24
26
|
|
|
25
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
26
28
|
export const CloseButtonAndSpinnerContainer = styled.div({
|
|
27
29
|
fontSize: 0,
|
|
28
30
|
paddingRight: "var(--ds-space-100, 8px)",
|
|
29
31
|
position: 'relative',
|
|
30
32
|
whiteSpace: 'nowrap',
|
|
33
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
31
34
|
'& > span': {
|
|
32
35
|
paddingRight: "var(--ds-space-050, 4px)"
|
|
33
36
|
},
|
|
37
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
34
38
|
'& > button, & > span': {
|
|
35
39
|
display: 'inline-block',
|
|
36
40
|
verticalAlign: 'middle'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
|
|
3
3
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
|
-
import Button from '@atlaskit/button
|
|
4
|
+
import Button from '@atlaskit/button';
|
|
5
5
|
import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
|
|
6
6
|
import { injectIntl } from 'react-intl-next';
|
|
7
7
|
import { messages } from '../../../messages';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
|
|
3
3
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
|
-
import Button from '@atlaskit/button
|
|
4
|
+
import Button from '@atlaskit/button';
|
|
5
5
|
import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
|
|
6
6
|
import { injectIntl } from 'react-intl-next';
|
|
7
7
|
import NotFoundImage from '../../../assets/NotFoundImage';
|
|
@@ -1,7 +1,8 @@
|
|
|
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
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
6
|
export const SearchResultsContainer = styled.div({
|
|
6
7
|
position: 'absolute',
|
|
7
8
|
height: '100%',
|
|
@@ -17,32 +18,36 @@ export const SearchResultsContainer = styled.div({
|
|
|
17
18
|
padding: `0 ${"var(--ds-space-200, 16px)"}`
|
|
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
|
export const SearchResultsList = styled.div({
|
|
22
23
|
paddingTop: "var(--ds-space-300, 24px)",
|
|
23
24
|
position: 'relative'
|
|
24
25
|
});
|
|
25
26
|
|
|
26
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
27
28
|
export const SearchResultEmptyMessageImage = styled.div({
|
|
28
29
|
padding: `${"var(--ds-space-300, 24px)"} ${"var(--ds-space-300, 24px)"} 0 ${"var(--ds-space-300, 24px)"}`,
|
|
29
30
|
textAlign: 'center'
|
|
30
31
|
});
|
|
31
32
|
|
|
32
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
33
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
33
34
|
export const SearchResultEmptyMessageText = styled.div({
|
|
34
35
|
padding: `${"var(--ds-space-300, 24px)"} ${"var(--ds-space-300, 24px)"} 0 ${"var(--ds-space-300, 24px)"}`,
|
|
35
36
|
textAlign: 'center',
|
|
37
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
36
38
|
p: {
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
37
40
|
color: `var(--ds-text-subtlest, ${colors.N200})`
|
|
38
41
|
}
|
|
39
42
|
});
|
|
40
43
|
|
|
41
|
-
// 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
|
|
42
45
|
export const SearchResultSearchExternalSiteContainer = styled.div({
|
|
43
46
|
padding: "var(--ds-space-300, 24px)",
|
|
44
47
|
textAlign: 'center',
|
|
48
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
45
49
|
p: {
|
|
50
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
46
51
|
color: `var(--ds-text-subtlest, ${colors.N200})`
|
|
47
52
|
}
|
|
48
53
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Spinner from '@atlaskit/spinner';
|
|
3
3
|
import { injectIntl } from 'react-intl-next';
|
|
4
|
-
import Button from '@atlaskit/button
|
|
4
|
+
import Button from '@atlaskit/button';
|
|
5
5
|
import { messages } from '../../messages';
|
|
6
6
|
import { ToggleShowMoreArticlesContainer } from '../ArticlesList/styled';
|
|
7
7
|
export const ShowMoreButton = ({
|
|
@@ -11,7 +11,7 @@ import { ARTICLE_TYPE } from '../../../model/Help';
|
|
|
11
11
|
const ANALYTICS_CONTEXT_DATA = {
|
|
12
12
|
componentName: 'WhatsNewButton',
|
|
13
13
|
packageName: "@atlaskit/help",
|
|
14
|
-
packageVersion: "7.5.
|
|
14
|
+
packageVersion: "7.5.2"
|
|
15
15
|
};
|
|
16
16
|
export const WhatsNewButton = ({
|
|
17
17
|
productName,
|
|
@@ -1,17 +1,20 @@
|
|
|
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
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
6
|
export const WhatsNewResultsEmptyMessageImage = styled.div({
|
|
6
7
|
padding: `${"var(--ds-space-300, 24px)"} ${"var(--ds-space-300, 24px)"} 0 ${"var(--ds-space-300, 24px)"}`,
|
|
7
8
|
textAlign: 'center'
|
|
8
9
|
});
|
|
9
10
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
12
|
export const WhatsNewResultsEmptyMessageText = styled.div({
|
|
12
13
|
padding: `${"var(--ds-space-300, 24px)"} ${"var(--ds-space-300, 24px)"} 0 ${"var(--ds-space-300, 24px)"}`,
|
|
13
14
|
textAlign: 'center',
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
14
16
|
p: {
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
15
18
|
color: `var(--ds-text-subtlest, ${colors.N200})`
|
|
16
19
|
}
|
|
17
20
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import Button from '@atlaskit/button
|
|
2
|
+
import Button from '@atlaskit/button';
|
|
3
3
|
import { injectIntl } from 'react-intl-next';
|
|
4
4
|
import ErrorImage from '../../../../assets/ErrorImage';
|
|
5
5
|
import { messages } from '../../../../messages';
|
|
@@ -1,17 +1,20 @@
|
|
|
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
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
6
|
export const SearchResultEmptyMessageImage = styled.div({
|
|
6
7
|
padding: `${"var(--ds-space-300, 24px)"} ${"var(--ds-space-300, 24px)"} 0 ${"var(--ds-space-300, 24px)"}`,
|
|
7
8
|
textAlign: 'center'
|
|
8
9
|
});
|
|
9
10
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
12
|
export const SearchResultEmptyMessageText = styled.div({
|
|
12
13
|
padding: `${"var(--ds-space-300, 24px)"} ${"var(--ds-space-300, 24px)"} 0 ${"var(--ds-space-300, 24px)"}`,
|
|
13
14
|
textAlign: 'center',
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
14
16
|
p: {
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
15
18
|
color: `var(--ds-text-subtlest, ${colors.N200})`
|
|
16
19
|
}
|
|
17
20
|
});
|
|
@@ -8,7 +8,7 @@ import { WhatsNewResultListItemWrapper, WhatsNewResultListItemTitleContainer, Wh
|
|
|
8
8
|
const ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticlesListItem',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.5.
|
|
11
|
+
packageVersion: "7.5.2"
|
|
12
12
|
};
|
|
13
13
|
export const WhatsNewResultListItem = ({
|
|
14
14
|
intl: {
|
|
@@ -1,7 +1,9 @@
|
|
|
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
4
|
import { fontSize, fontSizeSmall } from '@atlaskit/theme/constants';
|
|
4
5
|
import * as colors from '@atlaskit/theme/colors';
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
7
|
export const WhatsNewResultListItemWrapper =
|
|
6
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
7
9
|
styled.a({
|
|
@@ -11,7 +13,9 @@ styled.a({
|
|
|
11
13
|
display: `block`,
|
|
12
14
|
textDecoration: `none`,
|
|
13
15
|
cursor: `pointer`,
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
14
17
|
color: `${`var(--ds-text-subtlest, ${colors.N200})`}`,
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
15
19
|
backgroundColor: `${`var(--ds-background-neutral-subtle, ${colors.N0})`}`,
|
|
16
20
|
borderRadius: `3px`,
|
|
17
21
|
'&:hover, &:focus, &:visited, &:active': {
|
|
@@ -20,24 +24,29 @@ styled.a({
|
|
|
20
24
|
outlineOffset: `none`
|
|
21
25
|
},
|
|
22
26
|
'&:focus': {
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
23
28
|
boxShadow: `${`var(--ds-border-focused, ${colors.B100})`} 0px 0px 0px 2px inset`
|
|
24
29
|
},
|
|
25
30
|
'&:hover': {
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
26
32
|
backgroundColor: `${`var(--ds-background-neutral-subtle-hovered, ${colors.N30})`}`
|
|
27
33
|
},
|
|
28
34
|
'&:active': {
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
29
36
|
backgroundColor: `${`var(--ds-background-neutral-subtle-pressed, ${colors.B50})`}`
|
|
30
37
|
}
|
|
31
|
-
},
|
|
38
|
+
},
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
|
|
40
|
+
props => props.styles);
|
|
32
41
|
|
|
33
|
-
// 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
|
|
34
43
|
export const WhatsNewResultListItemTitleContainer = styled.div({
|
|
35
44
|
width: '100%',
|
|
36
45
|
whiteSpace: 'nowrap',
|
|
37
46
|
marginBottom: "var(--ds-space-050, 4px)"
|
|
38
47
|
});
|
|
39
48
|
|
|
40
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
49
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
41
50
|
export const WhatsNewResultListItemTitleText = styled.span({
|
|
42
51
|
fontSize: `${fontSizeSmall()}px`,
|
|
43
52
|
lineHeight: `${fontSize()}px`,
|
|
@@ -49,10 +58,11 @@ export const WhatsNewResultListItemTitleText = styled.span({
|
|
|
49
58
|
overflowX: 'hidden'
|
|
50
59
|
});
|
|
51
60
|
|
|
52
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
61
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
53
62
|
export const WhatsNewResultListItemDescription = styled.p({
|
|
54
63
|
display: 'block',
|
|
55
64
|
lineHeight: '20px',
|
|
65
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
56
66
|
color: `var(--ds-text, ${colors.N800})`,
|
|
57
67
|
margin: 0
|
|
58
68
|
});
|
package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js
CHANGED
|
@@ -36,7 +36,9 @@ const WhatsNewResultsList = ({
|
|
|
36
36
|
key: key
|
|
37
37
|
}, /*#__PURE__*/React.createElement(WhatsNewResultsListGroupTitle, null, whatsNewArticlesGroupedByDate[key].title), whatsNewArticlesGroupedByDate[key].items.map((whatsNewArticle, i) => /*#__PURE__*/React.createElement(WhatsNewResultItem, {
|
|
38
38
|
styles: {
|
|
39
|
-
border: style === 'secondary' ?
|
|
39
|
+
border: style === 'secondary' ?
|
|
40
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
41
|
+
`2px solid ${`var(--ds-border, ${colors.N30})`}` : 0,
|
|
40
42
|
padding: style === 'secondary' ? `${"var(--ds-space-100, 8px)"} ${"var(--ds-space-200, 16px)"}` : `${"var(--ds-space-100, 8px)"}`,
|
|
41
43
|
marginBottom: style === 'secondary' ? `${"var(--ds-space-150, 12px)"}` : 0
|
|
42
44
|
},
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
4
|
import { css } from '@emotion/react';
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import styled from '@emotion/styled';
|
|
5
7
|
import { fontSizeSmall } from '@atlaskit/theme/constants';
|
|
6
8
|
import * as colors from '@atlaskit/theme/colors';
|
|
@@ -8,21 +10,23 @@ export const truncate = (width = '100%') => css({
|
|
|
8
10
|
overflowX: 'hidden',
|
|
9
11
|
textOverflow: 'ellipsis',
|
|
10
12
|
whiteSpace: 'nowrap',
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
11
14
|
width: width
|
|
12
15
|
});
|
|
13
16
|
|
|
14
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
15
18
|
export const WhatsNewResultsListContainer = styled.div({
|
|
16
19
|
position: 'relative'
|
|
17
20
|
});
|
|
18
21
|
|
|
19
|
-
// 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
|
|
20
23
|
export const WhatsNewResultsListGroupWrapper = styled.div({
|
|
21
24
|
padding: `${"var(--ds-space-100, 8px)"} 0 ${"var(--ds-space-100, 8px)"} 0`
|
|
22
25
|
});
|
|
23
26
|
|
|
24
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
25
28
|
export const WhatsNewResultsListGroupTitle = styled.div({
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
26
30
|
color: `var(--ds-text-subtlest, ${colors.N200})`,
|
|
27
31
|
fontSize: `${fontSizeSmall()}px`,
|
|
28
32
|
fontWeight: 'bold',
|
|
@@ -30,9 +34,10 @@ export const WhatsNewResultsListGroupTitle = styled.div({
|
|
|
30
34
|
textTransform: 'uppercase'
|
|
31
35
|
});
|
|
32
36
|
|
|
33
|
-
// 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
|
|
34
38
|
export const ToggleShowWhatsNewResultsContainer = styled.div({
|
|
35
39
|
padding: `${"var(--ds-space-100, 8px)"} 0`,
|
|
40
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
36
41
|
span: {
|
|
37
42
|
margin: 0
|
|
38
43
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
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
4
|
/**
|
|
4
5
|
* Loading styled-components
|
|
5
6
|
*/
|
|
6
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
7
8
|
export const LoadignWhatsNewResultsList = styled.ul({
|
|
8
9
|
width: '100%',
|
|
9
10
|
margin: 0,
|
|
@@ -12,7 +13,7 @@ export const LoadignWhatsNewResultsList = styled.ul({
|
|
|
12
13
|
marginTop: "var(--ds-space-200, 16px)"
|
|
13
14
|
});
|
|
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
|
export const LoadignWhatsNewResultsListItem = styled.li({
|
|
17
18
|
display: 'block',
|
|
18
19
|
width: '100%',
|