@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
|
@@ -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,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
|
});
|
|
@@ -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.
|
|
14
|
+
packageVersion: "7.5.1"
|
|
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,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.
|
|
11
|
+
packageVersion: "7.5.1"
|
|
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%',
|
|
@@ -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 { gridSize } from '@atlaskit/theme/constants';
|
|
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 WhatsNewResultsContainer = styled.div({
|
|
6
7
|
position: 'absolute',
|
|
7
8
|
height: '100%',
|
|
@@ -17,17 +18,18 @@ export const WhatsNewResultsContainer = styled.div({
|
|
|
17
18
|
padding: "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 SelectContainer = styled.div({
|
|
23
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
22
24
|
width: `${19 * gridSize()}px`
|
|
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 WhatsNewResultsListContainer = styled.div({
|
|
27
29
|
paddingTop: "var(--ds-space-100, 8px)"
|
|
28
30
|
});
|
|
29
31
|
|
|
30
|
-
// 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
|
|
31
33
|
export const WhatsNewResultsListTitleContainer = styled.div({
|
|
32
34
|
padding: `0 ${"var(--ds-space-100, 8px)"}`
|
|
33
35
|
});
|
|
@@ -12,7 +12,8 @@ export const SearchContextProvider = ({
|
|
|
12
12
|
onSearchExternalUrlClick,
|
|
13
13
|
searchExternalUrl,
|
|
14
14
|
children,
|
|
15
|
-
openExternalSearchUrlInNewTab
|
|
15
|
+
openExternalSearchUrlInNewTab,
|
|
16
|
+
searchOnEnterKeyPress
|
|
16
17
|
}) => {
|
|
17
18
|
// Search
|
|
18
19
|
const [searchValue, setSearchValue] = useState('');
|
|
@@ -36,7 +37,7 @@ export const SearchContextProvider = ({
|
|
|
36
37
|
const debouncedDoSearch = debounce(doSearch, 500);
|
|
37
38
|
const search = onSearch && (newSearchValue => {
|
|
38
39
|
if (newSearchValue !== searchValue) {
|
|
39
|
-
if (newSearchValue.length >= MIN_CHARACTERS_FOR_SEARCH) {
|
|
40
|
+
if (newSearchValue.length >= MIN_CHARACTERS_FOR_SEARCH && !searchOnEnterKeyPress) {
|
|
40
41
|
try {
|
|
41
42
|
setSearchState(REQUEST_STATE.loading);
|
|
42
43
|
debouncedDoSearch(newSearchValue);
|
|
@@ -1,7 +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 styled from '@emotion/styled';
|
|
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 HelpBodyContainer = styled.div({
|
|
6
7
|
flexGrow: 1,
|
|
7
8
|
minHeight: 0,
|
|
@@ -16,7 +17,7 @@ export const HelpBodyContainer = styled.div({
|
|
|
16
17
|
alignItems: 'flex-start'
|
|
17
18
|
});
|
|
18
19
|
|
|
19
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
20
21
|
export const HelpBody = styled.div({
|
|
21
22
|
width: '100%',
|
|
22
23
|
boxSizing: 'border-box',
|
|
@@ -27,10 +28,12 @@ export const HelpBody = styled.div({
|
|
|
27
28
|
overflowX: 'hidden',
|
|
28
29
|
overflowY: 'auto'
|
|
29
30
|
});
|
|
30
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
|
|
31
32
|
export const Home = styled.div(props => ({
|
|
33
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
32
34
|
display: props.isOverlayFullyVisible ? 'none' : 'block',
|
|
33
35
|
height: '100%',
|
|
36
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
34
37
|
overflow: props.isOverlayVisible ? 'hidden' : 'auto',
|
|
35
38
|
padding: "var(--ds-space-200, 16px)",
|
|
36
39
|
boxSizing: 'border-box'
|
|
@@ -1,13 +1,16 @@
|
|
|
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 { keyframes } 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 { gridSize } from '@atlaskit/theme/constants';
|
|
6
8
|
import * as colors from '@atlaskit/theme/colors';
|
|
7
9
|
import { WHATS_NEW_ITEM_TYPES } from '../model/WhatsNew';
|
|
8
10
|
|
|
9
|
-
// 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
|
|
10
12
|
export const DividerLine = styled.div({
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
11
14
|
backgroundColor: `var(--ds-border, ${colors.N30A})`,
|
|
12
15
|
height: '2px',
|
|
13
16
|
width: '100%',
|
|
@@ -29,13 +32,16 @@ const shimmer = keyframes({
|
|
|
29
32
|
}
|
|
30
33
|
});
|
|
31
34
|
|
|
32
|
-
// 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-dynamic-styles -- Ignored via go/DSP-18766
|
|
33
36
|
export const LoadingRectangle = styled.div(props => ({
|
|
34
37
|
display: 'inline-block',
|
|
35
38
|
verticalAlign: 'middle',
|
|
36
39
|
position: 'relative',
|
|
40
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
37
41
|
height: props.contentHeight ? props.contentHeight : '1rem',
|
|
42
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
38
43
|
marginTop: props.marginTop ? props.marginTop : gridSize() + 'px',
|
|
44
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
39
45
|
width: props.contentWidth ? props.contentWidth : '100%',
|
|
40
46
|
borderRadius: '2px',
|
|
41
47
|
animationDuration: '1.2s',
|
|
@@ -43,8 +49,15 @@ export const LoadingRectangle = styled.div(props => ({
|
|
|
43
49
|
animationIterationCount: 'infinite',
|
|
44
50
|
animationName: shimmer,
|
|
45
51
|
animationTimingFunction: 'linear',
|
|
52
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
46
53
|
backgroundColor: `var(--ds-background-neutral, ${colors.N30})`,
|
|
47
|
-
backgroundImage: `linear-gradient( to right, ${`var(--ds-background-neutral-subtle, ${
|
|
54
|
+
backgroundImage: `linear-gradient( to right, ${`var(--ds-background-neutral-subtle, ${
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
56
|
+
colors.N30
|
|
57
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
58
|
+
})`} 10%, ${`var(--ds-background-neutral, ${colors.N40})`} 20%, ${`var(--ds-background-neutral-subtle, ${
|
|
59
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
60
|
+
colors.N30})`} 30% )`,
|
|
48
61
|
backgroundRepeat: 'no-repeat'
|
|
49
62
|
}));
|
|
50
63
|
|
|
@@ -52,13 +65,16 @@ export const LoadingRectangle = styled.div(props => ({
|
|
|
52
65
|
* Loading Circle
|
|
53
66
|
*/
|
|
54
67
|
|
|
55
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled
|
|
68
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
|
|
56
69
|
export const LoadingCircle = styled.div(props => ({
|
|
57
70
|
display: 'inline-block',
|
|
58
71
|
verticalAlign: 'middle',
|
|
59
72
|
position: 'relative',
|
|
73
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
60
74
|
height: props.radius ? props.radius : `${gridSize() * 4}px`,
|
|
75
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
61
76
|
marginTop: props.marginTop ? props.marginTop : '',
|
|
77
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
62
78
|
width: props.radius ? props.radius : `${gridSize() * 4}px`,
|
|
63
79
|
borderRadius: '50%',
|
|
64
80
|
animationDuration: '1.2s',
|
|
@@ -66,8 +82,15 @@ export const LoadingCircle = styled.div(props => ({
|
|
|
66
82
|
animationIterationCount: 'infinite',
|
|
67
83
|
animationName: shimmer,
|
|
68
84
|
animationTimingFunction: 'linear',
|
|
85
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
69
86
|
backgroundColor: `var(--ds-background-neutral, ${colors.N30})`,
|
|
70
|
-
backgroundImage: `linear-gradient( to right, ${`var(--ds-background-neutral-subtle, ${
|
|
87
|
+
backgroundImage: `linear-gradient( to right, ${`var(--ds-background-neutral-subtle, ${
|
|
88
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
89
|
+
colors.N30
|
|
90
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
91
|
+
})`} 10%, ${`var(--ds-background-neutral, ${colors.N40})`} 20%, ${`var(--ds-background-neutral-subtle, ${
|
|
92
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
93
|
+
colors.N30})`} 30% )`,
|
|
71
94
|
backgroundRepeat: 'no-repeat'
|
|
72
95
|
}));
|
|
73
96
|
|
|
@@ -75,15 +98,15 @@ export const LoadingCircle = styled.div(props => ({
|
|
|
75
98
|
* What's new icon
|
|
76
99
|
*/
|
|
77
100
|
|
|
78
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled --
|
|
101
|
+
// 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
|
|
79
102
|
export const WhatsNewTypeIcon = styled.div`
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
103
|
+
display: inline-block;
|
|
104
|
+
vertical-align: middle;
|
|
105
|
+
position: relative;
|
|
106
|
+
height: ${"var(--ds-space-200, 16px)"};
|
|
107
|
+
width: ${"var(--ds-space-200, 16px)"};
|
|
108
|
+
border-radius: 2px;
|
|
109
|
+
background-color: ${({
|
|
87
110
|
type
|
|
88
111
|
}) => {
|
|
89
112
|
switch (type) {
|
|
@@ -102,17 +125,17 @@ export const WhatsNewTypeIcon = styled.div`
|
|
|
102
125
|
}
|
|
103
126
|
}};
|
|
104
127
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
128
|
+
& > img {
|
|
129
|
+
width: calc(100% - ${gridSize() / 2}px);
|
|
130
|
+
height: calc(100% - ${gridSize() / 2}px);
|
|
131
|
+
position: absolute;
|
|
132
|
+
left: 50%;
|
|
133
|
+
top: 50%;
|
|
134
|
+
transform: translate(-50%, -50%);
|
|
112
135
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
136
|
+
& > svg {
|
|
137
|
+
height: 100%;
|
|
138
|
+
width: 100%;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
118
141
|
`;
|
package/dist/esm/analytics.js
CHANGED
|
@@ -8,7 +8,7 @@ import { LoadingErrorMessage, LoadingErrorButtonContainer } from './styled';
|
|
|
8
8
|
var 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 var ArticleLoadingFail = function ArticleLoadingFail(_ref) {
|
|
14
14
|
var onTryAgainButtonClick = _ref.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 var 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 var 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
|
var 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 var ArticleWasHelpfulNoButton = function ArticleWasHelpfulNoButton(_ref) {
|
|
12
12
|
var _ref$isSelected = _ref.isSelected,
|
|
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
|
|
|
6
6
|
var 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 var ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
|
|
12
12
|
var _ref$isSelected = _ref.isSelected,
|