@atlaskit/help 7.4.0 → 7.4.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 +764 -749
- 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 -0
- 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 +6 -2
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/styled.js +5 -0
- package/dist/cjs/components/Article/HelpArticle/index.js +1 -1
- package/dist/cjs/components/Article/WhatsNewArticle/Loading/index.js +4 -0
- package/dist/cjs/components/Article/WhatsNewArticle/index.js +4 -2
- package/dist/cjs/components/Article/WhatsNewArticle/styled.js +11 -0
- package/dist/cjs/components/Article/styled.js +1 -0
- package/dist/cjs/components/ArticlesList/ArticlesList.js +1 -1
- package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/cjs/components/ArticlesList/ArticlesListItem/styled.js +14 -3
- package/dist/cjs/components/ArticlesList/index.js +3 -1
- package/dist/cjs/components/ArticlesList/styled.js +4 -0
- package/dist/cjs/components/HelpContentButton/index.js +1 -1
- package/dist/cjs/components/HelpContentButton/styled.js +5 -5
- package/dist/cjs/components/RelatedArticles/index.js +4 -2
- package/dist/cjs/components/RelatedArticles/styled.js +7 -0
- package/dist/cjs/components/Search/SearchInput/index.js +1 -1
- package/dist/cjs/components/Search/SearchInput/styled.js +5 -0
- package/dist/cjs/components/Search/SearchResults/styled.js +9 -0
- package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +3 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +3 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +9 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.js +3 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +8 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.js +16 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/index.js +3 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/styled.js +7 -0
- package/dist/cjs/components/contexts/helpArticleContext.js +0 -2
- package/dist/cjs/components/styled.js +4 -0
- package/dist/cjs/util/styled.js +5 -1
- 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 -0
- 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 +6 -2
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/styled.js +5 -0
- package/dist/es2019/components/Article/HelpArticle/index.js +1 -1
- package/dist/es2019/components/Article/WhatsNewArticle/Loading/index.js +4 -0
- package/dist/es2019/components/Article/WhatsNewArticle/index.js +4 -2
- package/dist/es2019/components/Article/WhatsNewArticle/styled.js +11 -0
- package/dist/es2019/components/Article/index.js +3 -0
- package/dist/es2019/components/Article/styled.js +1 -0
- package/dist/es2019/components/ArticlesList/ArticlesList.js +1 -1
- package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/es2019/components/ArticlesList/ArticlesListItem/styled.js +14 -3
- package/dist/es2019/components/ArticlesList/index.js +3 -1
- package/dist/es2019/components/ArticlesList/styled.js +4 -0
- package/dist/es2019/components/HelpContentButton/index.js +1 -1
- package/dist/es2019/components/HelpContentButton/styled.js +5 -5
- package/dist/es2019/components/RelatedArticles/index.js +4 -2
- package/dist/es2019/components/RelatedArticles/styled.js +7 -0
- package/dist/es2019/components/Search/SearchInput/index.js +1 -1
- package/dist/es2019/components/Search/SearchInput/styled.js +5 -0
- package/dist/es2019/components/Search/SearchResults/index.js +2 -0
- package/dist/es2019/components/Search/SearchResults/styled.js +9 -0
- package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +3 -0
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +3 -0
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +9 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.js +3 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +8 -0
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.js +16 -0
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -0
- package/dist/es2019/components/WhatsNew/WhatsNewResults/index.js +5 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/styled.js +7 -0
- package/dist/es2019/components/contexts/helpArticleContext.js +0 -2
- package/dist/es2019/components/styled.js +4 -0
- package/dist/es2019/util/styled.js +6 -1
- 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 -0
- 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 +6 -2
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/styled.js +5 -0
- package/dist/esm/components/Article/HelpArticle/index.js +1 -1
- package/dist/esm/components/Article/WhatsNewArticle/Loading/index.js +4 -0
- package/dist/esm/components/Article/WhatsNewArticle/index.js +4 -2
- package/dist/esm/components/Article/WhatsNewArticle/styled.js +11 -0
- package/dist/esm/components/Article/styled.js +1 -0
- package/dist/esm/components/ArticlesList/ArticlesList.js +1 -1
- package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/esm/components/ArticlesList/ArticlesListItem/styled.js +14 -3
- package/dist/esm/components/ArticlesList/index.js +3 -1
- package/dist/esm/components/ArticlesList/styled.js +4 -0
- package/dist/esm/components/HelpContentButton/index.js +1 -1
- package/dist/esm/components/HelpContentButton/styled.js +5 -5
- package/dist/esm/components/RelatedArticles/index.js +4 -2
- package/dist/esm/components/RelatedArticles/styled.js +7 -0
- package/dist/esm/components/Search/SearchInput/index.js +1 -1
- package/dist/esm/components/Search/SearchInput/styled.js +5 -0
- package/dist/esm/components/Search/SearchResults/styled.js +9 -0
- package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +3 -0
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +3 -0
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +9 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.js +3 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +8 -0
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.js +16 -0
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -0
- package/dist/esm/components/WhatsNew/WhatsNewResults/index.js +3 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/styled.js +7 -0
- package/dist/esm/components/contexts/helpArticleContext.js +0 -2
- package/dist/esm/components/styled.js +4 -0
- package/dist/esm/util/styled.js +6 -1
- package/dist/types/components/Article/ArticleContent/index.d.ts +2 -2
- package/dist/types/components/Article/ArticleLoadingFail/index.d.ts +2 -2
- package/dist/types/components/Article/HelpArticle/Loading/index.d.ts +1 -1
- package/dist/types/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.d.ts +2 -2
- package/dist/types/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.d.ts +2 -2
- package/dist/types/components/Article/HelpArticle/WasHelpfulForm/index.d.ts +3 -3
- package/dist/types/components/Article/HelpArticle/index.d.ts +1 -1
- package/dist/types/components/Article/WhatsNewArticle/Loading/index.d.ts +1 -1
- package/dist/types/components/Article/WhatsNewArticle/index.d.ts +2 -2
- package/dist/types/components/ArticlesList/index.d.ts +1 -1
- package/dist/types/components/ArticlesList/model/ArticlesListItem.d.ts +2 -2
- package/dist/types/components/Help.d.ts +2 -2
- package/dist/types/components/HelpContentButton/index.d.ts +2 -2
- package/dist/types/components/RelatedArticles/RelatedArticlesLoading.d.ts +1 -1
- package/dist/types/components/RelatedArticles/index.d.ts +3 -3
- package/dist/types/components/Search/SearchInput/index.d.ts +1 -1
- package/dist/types/components/Search/SearchResults/SearchExternalSite.d.ts +2 -2
- package/dist/types/components/Search/SearchResults/SearchResults.d.ts +2 -2
- package/dist/types/components/Search/SearchResults/SearchResultsEmpty.d.ts +2 -2
- package/dist/types/components/Search/SearchResults/SearchResultsError.d.ts +1 -1
- package/dist/types/components/ShowMoreButton/index.d.ts +2 -2
- package/dist/types/components/WhatsNew/WhatsNewButton/index.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/index.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.d.ts +2 -2
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.d.ts +3 -3
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/model/WhatsNewResultsList.d.ts +2 -2
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/index.d.ts +1 -1
- package/dist/types/components/contexts/headerContext.d.ts +2 -2
- package/dist/types/components/contexts/helpArticleContext.d.ts +3 -3
- package/dist/types/components/contexts/homeContext.d.ts +1 -1
- package/dist/types/components/contexts/relatedArticlesContext.d.ts +3 -3
- package/dist/types/components/contexts/whatsNewArticleContext.d.ts +6 -6
- package/dist/types/model/WhatsNew.d.ts +1 -1
- package/dist/types/util/helpers.d.ts +1 -1
- package/dist/types/util/testing/mock.d.ts +2 -2
- package/dist/types-ts4.5/components/Article/ArticleContent/index.d.ts +2 -2
- package/dist/types-ts4.5/components/Article/ArticleLoadingFail/index.d.ts +2 -2
- package/dist/types-ts4.5/components/Article/HelpArticle/Loading/index.d.ts +1 -1
- package/dist/types-ts4.5/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.d.ts +2 -2
- package/dist/types-ts4.5/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.d.ts +2 -2
- package/dist/types-ts4.5/components/Article/HelpArticle/WasHelpfulForm/index.d.ts +3 -3
- package/dist/types-ts4.5/components/Article/HelpArticle/index.d.ts +1 -1
- package/dist/types-ts4.5/components/Article/WhatsNewArticle/Loading/index.d.ts +1 -1
- package/dist/types-ts4.5/components/Article/WhatsNewArticle/index.d.ts +2 -2
- package/dist/types-ts4.5/components/ArticlesList/index.d.ts +1 -1
- package/dist/types-ts4.5/components/ArticlesList/model/ArticlesListItem.d.ts +2 -2
- package/dist/types-ts4.5/components/Help.d.ts +2 -2
- package/dist/types-ts4.5/components/HelpContentButton/index.d.ts +2 -2
- package/dist/types-ts4.5/components/RelatedArticles/RelatedArticlesLoading.d.ts +1 -1
- package/dist/types-ts4.5/components/RelatedArticles/index.d.ts +3 -3
- package/dist/types-ts4.5/components/Search/SearchInput/index.d.ts +1 -1
- package/dist/types-ts4.5/components/Search/SearchResults/SearchExternalSite.d.ts +2 -2
- package/dist/types-ts4.5/components/Search/SearchResults/SearchResults.d.ts +2 -2
- package/dist/types-ts4.5/components/Search/SearchResults/SearchResultsEmpty.d.ts +2 -2
- package/dist/types-ts4.5/components/Search/SearchResults/SearchResultsError.d.ts +1 -1
- package/dist/types-ts4.5/components/ShowMoreButton/index.d.ts +2 -2
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewButton/index.d.ts +1 -1
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/index.d.ts +1 -1
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.d.ts +2 -2
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.d.ts +3 -3
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.d.ts +1 -1
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.d.ts +1 -1
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/model/WhatsNewResultsList.d.ts +2 -2
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.d.ts +1 -1
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/index.d.ts +1 -1
- package/dist/types-ts4.5/components/contexts/headerContext.d.ts +2 -2
- package/dist/types-ts4.5/components/contexts/helpArticleContext.d.ts +3 -3
- package/dist/types-ts4.5/components/contexts/homeContext.d.ts +1 -1
- package/dist/types-ts4.5/components/contexts/relatedArticlesContext.d.ts +3 -3
- package/dist/types-ts4.5/components/contexts/whatsNewArticleContext.d.ts +6 -6
- package/dist/types-ts4.5/model/WhatsNew.d.ts +1 -1
- package/dist/types-ts4.5/util/helpers.d.ts +1 -1
- package/dist/types-ts4.5/util/testing/mock.d.ts +2 -2
- package/package.json +7 -9
|
@@ -3,6 +3,7 @@ import styled from '@emotion/styled';
|
|
|
3
3
|
import { fontSize, fontSizeSmall } from '@atlaskit/theme/constants';
|
|
4
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
5
|
import { fontFallback } from '@atlaskit/theme/typography';
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
6
7
|
export var WhatsNewTypeTitle = styled.span({
|
|
7
8
|
textDecoration: 'none',
|
|
8
9
|
color: "var(--ds-text-subtlest, ".concat(colors.N300, ")"),
|
|
@@ -12,10 +13,14 @@ export var WhatsNewTypeTitle = styled.span({
|
|
|
12
13
|
whiteSpace: 'normal',
|
|
13
14
|
overflowX: 'hidden'
|
|
14
15
|
});
|
|
16
|
+
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
15
18
|
export var WhatsNewIconContainer = styled.div({
|
|
16
19
|
display: 'block',
|
|
17
20
|
paddingBottom: "var(--ds-space-100, 8px)"
|
|
18
21
|
});
|
|
22
|
+
|
|
23
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
19
24
|
export var WhatsNewTitleText = styled.span({
|
|
20
25
|
textDecoration: 'none',
|
|
21
26
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
@@ -26,6 +31,8 @@ export var WhatsNewTitleText = styled.span({
|
|
|
26
31
|
paddingBottom: "var(--ds-space-100, 8px)",
|
|
27
32
|
display: 'block'
|
|
28
33
|
});
|
|
34
|
+
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
29
36
|
export var WhatsNewRelatedLinksTitleText = styled.span({
|
|
30
37
|
textDecoration: 'none',
|
|
31
38
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
@@ -36,9 +43,13 @@ export var WhatsNewRelatedLinksTitleText = styled.span({
|
|
|
36
43
|
paddingBottom: "var(--ds-space-100, 8px)",
|
|
37
44
|
display: 'block'
|
|
38
45
|
});
|
|
46
|
+
|
|
47
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
39
48
|
export var RelatedLinkContainer = styled.div({
|
|
40
49
|
marginBottom: "var(--ds-space-100, 8px)"
|
|
41
50
|
});
|
|
51
|
+
|
|
52
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
42
53
|
export var ExternalLinkIconContainer = styled.div({
|
|
43
54
|
display: 'inline-block',
|
|
44
55
|
verticalAlign: 'middle',
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
4
5
|
export var ArticleContainer = styled.div({
|
|
5
6
|
padding: "var(--ds-space-200, 16px)".concat(" ", "var(--ds-space-300, 24px)"),
|
|
6
7
|
position: 'absolute',
|
|
@@ -8,7 +8,7 @@ import { ArticlesListItemWrapper, ArticlesListItemContainer, ArticlesListItemTit
|
|
|
8
8
|
var ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticlesListItem',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.4.
|
|
11
|
+
packageVersion: "7.4.2"
|
|
12
12
|
};
|
|
13
13
|
export var ArticlesListItem = function ArticlesListItem(_ref) {
|
|
14
14
|
var styles = _ref.styles,
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
4
|
import { fontFallback } from '@atlaskit/theme/typography';
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
5
6
|
export var ArticlesListItemWrapper = styled.a({
|
|
6
7
|
position: 'relative',
|
|
7
8
|
boxSizing: 'border-box',
|
|
@@ -29,6 +30,8 @@ export var ArticlesListItemWrapper = styled.a({
|
|
|
29
30
|
}, function (props) {
|
|
30
31
|
return props.styles;
|
|
31
32
|
});
|
|
33
|
+
|
|
34
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
32
35
|
export var ArticlesListItemContainer = styled.div({
|
|
33
36
|
width: '100%',
|
|
34
37
|
whiteSpace: 'nowrap',
|
|
@@ -39,16 +42,22 @@ export var ArticlesListItemTitleSection = styled.div({
|
|
|
39
42
|
flexDirection: 'column',
|
|
40
43
|
flexGrow: 1
|
|
41
44
|
});
|
|
45
|
+
|
|
46
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
42
47
|
export var ArticlesListItemTypeTitle = styled.div({
|
|
43
48
|
font: "var(--ds-font-body-small, ".concat(fontFallback.body.small, ")"),
|
|
44
49
|
fontWeight: "var(--ds-font-weight-bold, bold)",
|
|
45
50
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")")
|
|
46
51
|
});
|
|
52
|
+
|
|
53
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
47
54
|
export var ArticlesListItemLinkIcon = styled.span({
|
|
48
55
|
alignSelf: 'auto',
|
|
49
56
|
paddingInlineStart: "var(--ds-space-050, 4px)",
|
|
50
57
|
verticalAlign: 'middle'
|
|
51
58
|
});
|
|
59
|
+
|
|
60
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
52
61
|
export var ArticlesListItemTitleText = styled.p({
|
|
53
62
|
textDecoration: 'none',
|
|
54
63
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
@@ -58,6 +67,8 @@ export var ArticlesListItemTitleText = styled.p({
|
|
|
58
67
|
overflow: 'hidden',
|
|
59
68
|
marginBottom: "var(--ds-space-100, 4px)"
|
|
60
69
|
});
|
|
70
|
+
|
|
71
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
61
72
|
export var ArticlesListItemDescription = styled.p({
|
|
62
73
|
display: 'block',
|
|
63
74
|
lineHeight: '20px',
|
|
@@ -69,7 +80,7 @@ export var ArticlesListItemSource = styled.div({
|
|
|
69
80
|
display: 'flex',
|
|
70
81
|
alignItems: 'center',
|
|
71
82
|
font: "var(--ds-font-heading-xxsmall, ".concat(fontFallback.heading.xxsmall, ")"),
|
|
72
|
-
color: "var(--ds-
|
|
83
|
+
color: "var(--ds-text-subtlest, ".concat(colors.N400A, ")"),
|
|
73
84
|
padding: "var(--ds-space-050, 4px)".concat(" 0"),
|
|
74
85
|
fontWeight: "var(--ds-font-weight-bold, bold)",
|
|
75
86
|
textTransform: 'uppercase'
|
|
@@ -78,7 +89,7 @@ export var ArticlesListItemTrustFactor = styled.div({
|
|
|
78
89
|
display: 'flex',
|
|
79
90
|
alignItems: 'center',
|
|
80
91
|
font: "var(--ds-font-body-small, ".concat(fontFallback.body.small, ")"),
|
|
81
|
-
color: "var(--ds-
|
|
92
|
+
color: "var(--ds-text-subtlest, ".concat(colors.N400A, ")"),
|
|
82
93
|
paddingTop: "var(--ds-space-025, 2px)"
|
|
83
94
|
});
|
|
84
95
|
export var ArticlesListItemViewCount = styled.span({
|
|
@@ -90,6 +101,6 @@ export var ArticlesListItemHelpfulCount = styled.span({
|
|
|
90
101
|
});
|
|
91
102
|
export var ArticlesListItemLastModified = styled.div({
|
|
92
103
|
font: "var(--ds-font-body-small, ".concat(fontFallback.body.small, ")"),
|
|
93
|
-
color: "var(--ds-text-
|
|
104
|
+
color: "var(--ds-text-subtlest, ".concat(colors.N400A, ")"),
|
|
94
105
|
padding: "var(--ds-space-050, 4px)".concat(" 0")
|
|
95
106
|
});
|
|
@@ -33,7 +33,9 @@ var ArticleList = function ArticleList(_ref) {
|
|
|
33
33
|
onToggleArticlesList(event, analyticsEvent, !showMoreToggled);
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
|
-
return articles && articles.length > 0 ? /*#__PURE__*/React.createElement(ArticlesListContainer, null, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ArticlesList
|
|
36
|
+
return articles && articles.length > 0 ? /*#__PURE__*/React.createElement(ArticlesListContainer, null, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ArticlesList
|
|
37
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
38
|
+
, {
|
|
37
39
|
style: style,
|
|
38
40
|
onArticlesListItemClick: onArticlesListItemClick,
|
|
39
41
|
articles: articles,
|
|
@@ -11,9 +11,13 @@ export var truncate = function truncate() {
|
|
|
11
11
|
width: width
|
|
12
12
|
});
|
|
13
13
|
};
|
|
14
|
+
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
14
16
|
export var ArticlesListContainer = styled.div({
|
|
15
17
|
position: 'relative'
|
|
16
18
|
});
|
|
19
|
+
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
17
21
|
export var ToggleShowMoreArticlesContainer = styled.div({
|
|
18
22
|
padding: "var(--ds-space-100, 8px)".concat(" 0"),
|
|
19
23
|
span: {
|
|
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
|
|
|
7
7
|
var analitycsContextData = {
|
|
8
8
|
componentName: 'HelpContentButton',
|
|
9
9
|
packageName: "@atlaskit/help",
|
|
10
|
-
packageVersion: "7.4.
|
|
10
|
+
packageVersion: "7.4.2"
|
|
11
11
|
};
|
|
12
12
|
var HelpContentButton = function HelpContentButton(_ref) {
|
|
13
13
|
var _ref$id = _ref.id,
|
|
@@ -4,17 +4,17 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _temp
|
|
|
4
4
|
|
|
5
5
|
import styled from 'styled-components';
|
|
6
6
|
import * as colors from '@atlaskit/theme/colors';
|
|
7
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression --
|
|
7
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
8
8
|
export var HelpContentButtonContainer = styled.a(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: block;\n cursor: pointer;\n width: calc(100% - ", ");\n color: ", ";\n padding: ", ";\n border-radius: 3px;\n\n &:hover,\n &:focus,\n &:visited,\n &:active {\n text-decoration: none;\n outline: none;\n outline-offset: none;\n color: ", ";\n }\n\n &:focus {\n box-shadow: ", " 0 0 0 2px inset;\n }\n\n &:hover {\n background-color: ", ";\n }\n\n &:active {\n background-color: ", ";\n }\n"])), "var(--ds-space-200, 16px)", "var(--ds-text-subtle, ".concat(colors.N600, ")"), "var(--ds-space-100, 8px)", "var(--ds-text-subtle, ".concat(colors.N600, ")"), "var(--ds-border-focused, ".concat(colors.B100, ")"), "var(--ds-background-neutral-subtle-hovered, ".concat(colors.N30, ")"), "var(--ds-background-neutral-subtle-pressed, ".concat(colors.B50, ")"));
|
|
9
9
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression --
|
|
10
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
11
11
|
export var HelpContentButtonIcon = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n width: 20px;\n height: 20px;\n border-radius: 4px;\n position: relative;\n\n & span {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n"])));
|
|
12
12
|
|
|
13
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression --
|
|
13
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
14
14
|
export var HelpContentButtonText = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n width: calc(100% - 20px);\n display: inline-block;\n vertical-align: middle;\n padding: 0 ", ";\n box-sizing: border-box;\n"])), "var(--ds-space-100, 8px)");
|
|
15
15
|
|
|
16
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression --
|
|
16
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
17
17
|
export var HelpContentButtonExternalLinkIcon = styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n padding-left: ", ";\n"])), "var(--ds-space-050, 4px)");
|
|
18
18
|
|
|
19
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression --
|
|
19
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
20
20
|
export var HelpContentButtonExternalNotificationIcon = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n margin-top: ", ";\n padding-left: ", ";\n"])), "var(--ds-space-negative-050, -4px)", "var(--ds-space-050, 4px)");
|
|
@@ -18,7 +18,7 @@ import useCancellablePromise from '../../util/hooks/cancellablePromise';
|
|
|
18
18
|
import { usePrevious } from '../../util/hooks/previous';
|
|
19
19
|
import { jsx } from '@emotion/react';
|
|
20
20
|
var packageName = "@atlaskit/help";
|
|
21
|
-
var packageVersion = "7.4.
|
|
21
|
+
var packageVersion = "7.4.2";
|
|
22
22
|
export var RelatedArticles = function RelatedArticles(_ref) {
|
|
23
23
|
var _ref$style = _ref.style,
|
|
24
24
|
style = _ref$style === void 0 ? 'primary' : _ref$style,
|
|
@@ -109,7 +109,9 @@ export var RelatedArticles = function RelatedArticles(_ref) {
|
|
|
109
109
|
onClick: updateRelatedArticles
|
|
110
110
|
}, formatMessage(messages.help_related_article_endpoint_error_button_label))));
|
|
111
111
|
} else {
|
|
112
|
-
return jsx(React.Fragment, null, style === 'secondary' && relatedArticles.length > 0 && jsx(React.Fragment, null, jsx(DividerLine, null), jsx(RelatedArticlesTitle, null, formatMessage(messages.help_related_article_title))), isLoading ? jsx(RelatedArticlesLoading, null) : jsx(ArticlesList
|
|
112
|
+
return jsx(React.Fragment, null, style === 'secondary' && relatedArticles.length > 0 && jsx(React.Fragment, null, jsx(DividerLine, null), jsx(RelatedArticlesTitle, null, formatMessage(messages.help_related_article_title))), isLoading ? jsx(RelatedArticlesLoading, null) : jsx(ArticlesList
|
|
113
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
114
|
+
, {
|
|
113
115
|
style: style,
|
|
114
116
|
articles: relatedArticles,
|
|
115
117
|
onArticlesListItemClick: onRelatedArticlesListItemClick,
|
|
@@ -16,6 +16,8 @@ export var truncate = function truncate() {
|
|
|
16
16
|
width: width
|
|
17
17
|
});
|
|
18
18
|
};
|
|
19
|
+
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
19
21
|
export var RelatedArticlesTitle = styled.div(baseHeading(16, 20), {
|
|
20
22
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
21
23
|
fontWeight: 600,
|
|
@@ -26,15 +28,20 @@ export var RelatedArticlesTitle = styled.div(baseHeading(16, 20), {
|
|
|
26
28
|
/**
|
|
27
29
|
* Loading styled-components
|
|
28
30
|
*/
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
29
32
|
export var LoadignRelatedArticleSection = styled.div({
|
|
30
33
|
marginTop: "var(--ds-space-100, 8px)"
|
|
31
34
|
});
|
|
35
|
+
|
|
36
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
32
37
|
export var LoadignRelatedArticleList = styled.ul({
|
|
33
38
|
width: '100%',
|
|
34
39
|
margin: 0,
|
|
35
40
|
padding: 0,
|
|
36
41
|
boxSizing: 'border-box'
|
|
37
42
|
});
|
|
43
|
+
|
|
44
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
38
45
|
export var LoadignRelatedArticleListItem = styled.li({
|
|
39
46
|
display: 'block',
|
|
40
47
|
width: '100%',
|
|
@@ -17,7 +17,7 @@ import { SearchInputContainer, SearchIconContainer, CloseButtonAndSpinnerContain
|
|
|
17
17
|
var ANALYTICS_CONTEXT_DATA = {
|
|
18
18
|
componentName: 'searchInput',
|
|
19
19
|
packageName: "@atlaskit/help",
|
|
20
|
-
packageVersion: "7.4.
|
|
20
|
+
packageVersion: "7.4.2"
|
|
21
21
|
};
|
|
22
22
|
export var SearchInput = function SearchInput(_ref) {
|
|
23
23
|
var formatMessage = _ref.intl.formatMessage;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
3
4
|
export var SearchInputContainer = styled.div({
|
|
4
5
|
order: 0,
|
|
5
6
|
flex: '0 1 auto',
|
|
@@ -7,6 +8,8 @@ export var SearchInputContainer = styled.div({
|
|
|
7
8
|
width: '100%',
|
|
8
9
|
boxSizing: 'border-box'
|
|
9
10
|
});
|
|
11
|
+
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
10
13
|
export var SearchIconContainer = styled.div({
|
|
11
14
|
width: "var(--ds-space-300, 24px)",
|
|
12
15
|
height: "var(--ds-space-300, 24px)",
|
|
@@ -18,6 +21,8 @@ export var SearchIconContainer = styled.div({
|
|
|
18
21
|
boxSizing: 'border-box'
|
|
19
22
|
}
|
|
20
23
|
});
|
|
24
|
+
|
|
25
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
21
26
|
export var CloseButtonAndSpinnerContainer = styled.div({
|
|
22
27
|
fontSize: 0,
|
|
23
28
|
paddingRight: "var(--ds-space-100, 8px)",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
4
5
|
export var SearchResultsContainer = styled.div({
|
|
5
6
|
position: 'absolute',
|
|
6
7
|
height: '100%',
|
|
@@ -15,14 +16,20 @@ export var SearchResultsContainer = styled.div({
|
|
|
15
16
|
zIndex: 10,
|
|
16
17
|
padding: "0 ".concat("var(--ds-space-200, 16px)")
|
|
17
18
|
});
|
|
19
|
+
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
18
21
|
export var SearchResultsList = styled.div({
|
|
19
22
|
paddingTop: "var(--ds-space-300, 24px)",
|
|
20
23
|
position: 'relative'
|
|
21
24
|
});
|
|
25
|
+
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
22
27
|
export var SearchResultEmptyMessageImage = styled.div({
|
|
23
28
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
24
29
|
textAlign: 'center'
|
|
25
30
|
});
|
|
31
|
+
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
26
33
|
export var SearchResultEmptyMessageText = styled.div({
|
|
27
34
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
28
35
|
textAlign: 'center',
|
|
@@ -30,6 +37,8 @@ export var SearchResultEmptyMessageText = styled.div({
|
|
|
30
37
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")")
|
|
31
38
|
}
|
|
32
39
|
});
|
|
40
|
+
|
|
41
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
33
42
|
export var SearchResultSearchExternalSiteContainer = styled.div({
|
|
34
43
|
padding: "var(--ds-space-300, 24px)",
|
|
35
44
|
textAlign: 'center',
|
|
@@ -11,7 +11,7 @@ import { ARTICLE_TYPE } from '../../../model/Help';
|
|
|
11
11
|
var ANALYTICS_CONTEXT_DATA = {
|
|
12
12
|
componentName: 'WhatsNewButton',
|
|
13
13
|
packageName: "@atlaskit/help",
|
|
14
|
-
packageVersion: "7.4.
|
|
14
|
+
packageVersion: "7.4.2"
|
|
15
15
|
};
|
|
16
16
|
export var WhatsNewButton = function WhatsNewButton(_ref) {
|
|
17
17
|
var productName = _ref.productName,
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
4
5
|
export var WhatsNewResultsEmptyMessageImage = styled.div({
|
|
5
6
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
6
7
|
textAlign: 'center'
|
|
7
8
|
});
|
|
9
|
+
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
8
11
|
export var WhatsNewResultsEmptyMessageText = styled.div({
|
|
9
12
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
10
13
|
textAlign: 'center',
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
4
5
|
export var SearchResultEmptyMessageImage = styled.div({
|
|
5
6
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
6
7
|
textAlign: 'center'
|
|
7
8
|
});
|
|
9
|
+
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
8
11
|
export var SearchResultEmptyMessageText = styled.div({
|
|
9
12
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
10
13
|
textAlign: 'center',
|
package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { WhatsNewResultListItemWrapper, WhatsNewResultListItemTitleContainer, Wh
|
|
|
8
8
|
var ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticlesListItem',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.4.
|
|
11
|
+
packageVersion: "7.4.2"
|
|
12
12
|
};
|
|
13
13
|
export var WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
|
|
14
14
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import { fontSize, fontSizeSmall } from '@atlaskit/theme/constants';
|
|
4
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
|
-
export var WhatsNewResultListItemWrapper =
|
|
5
|
+
export var WhatsNewResultListItemWrapper =
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
7
|
+
styled.a({
|
|
6
8
|
position: "relative",
|
|
7
9
|
boxSizing: "border-box",
|
|
8
10
|
padding: "var(--ds-space-100, 8px)",
|
|
@@ -29,11 +31,15 @@ export var WhatsNewResultListItemWrapper = styled.a({
|
|
|
29
31
|
}, function (props) {
|
|
30
32
|
return props.styles;
|
|
31
33
|
});
|
|
34
|
+
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
32
36
|
export var WhatsNewResultListItemTitleContainer = styled.div({
|
|
33
37
|
width: '100%',
|
|
34
38
|
whiteSpace: 'nowrap',
|
|
35
39
|
marginBottom: "var(--ds-space-050, 4px)"
|
|
36
40
|
});
|
|
41
|
+
|
|
42
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
37
43
|
export var WhatsNewResultListItemTitleText = styled.span({
|
|
38
44
|
fontSize: "".concat(fontSizeSmall(), "px"),
|
|
39
45
|
lineHeight: "".concat(fontSize(), "px"),
|
|
@@ -44,6 +50,8 @@ export var WhatsNewResultListItemTitleText = styled.span({
|
|
|
44
50
|
whiteSpace: 'normal',
|
|
45
51
|
overflowX: 'hidden'
|
|
46
52
|
});
|
|
53
|
+
|
|
54
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
47
55
|
export var WhatsNewResultListItemDescription = styled.p({
|
|
48
56
|
display: 'block',
|
|
49
57
|
lineHeight: '20px',
|
|
@@ -30,7 +30,9 @@ var WhatsNewResultsList = function WhatsNewResultsList(_ref) {
|
|
|
30
30
|
onWhatsNewResultItemClick(event, analyticsEvent, articleData);
|
|
31
31
|
}
|
|
32
32
|
}, [onWhatsNewResultItemClick, openArticle]);
|
|
33
|
-
return whatsNewArticles && whatsNewArticles.length > 0 ? /*#__PURE__*/React.createElement(WhatsNewResultsListContainer, null, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ArticlesList
|
|
33
|
+
return whatsNewArticles && whatsNewArticles.length > 0 ? /*#__PURE__*/React.createElement(WhatsNewResultsListContainer, null, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ArticlesList
|
|
34
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
35
|
+
, {
|
|
34
36
|
style: style,
|
|
35
37
|
onWhatsNewResultItemClick: handleOnWhatsNewResultItemClick,
|
|
36
38
|
whatsNewArticles: whatsNewArticles
|
|
@@ -13,12 +13,18 @@ export var truncate = function truncate() {
|
|
|
13
13
|
width: width
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
|
+
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
16
18
|
export var WhatsNewResultsListContainer = styled.div({
|
|
17
19
|
position: 'relative'
|
|
18
20
|
});
|
|
21
|
+
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
19
23
|
export var WhatsNewResultsListGroupWrapper = styled.div({
|
|
20
24
|
padding: "var(--ds-space-100, 8px)".concat(" 0 ", "var(--ds-space-100, 8px)", " 0")
|
|
21
25
|
});
|
|
26
|
+
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
22
28
|
export var WhatsNewResultsListGroupTitle = styled.div({
|
|
23
29
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")"),
|
|
24
30
|
fontSize: "".concat(fontSizeSmall(), "px"),
|
|
@@ -26,6 +32,8 @@ export var WhatsNewResultsListGroupTitle = styled.div({
|
|
|
26
32
|
padding: "0 ".concat("var(--ds-space-100, 8px)", " ", "var(--ds-space-100, 8px)", " ", "var(--ds-space-100, 8px)"),
|
|
27
33
|
textTransform: 'uppercase'
|
|
28
34
|
});
|
|
35
|
+
|
|
36
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
29
37
|
export var ToggleShowWhatsNewResultsContainer = styled.div({
|
|
30
38
|
padding: "var(--ds-space-100, 8px)".concat(" 0"),
|
|
31
39
|
span: {
|
|
@@ -20,8 +20,11 @@ export var WhatsNewResultsLoading = function WhatsNewResultsLoading(_ref) {
|
|
|
20
20
|
marginTop: "0"
|
|
21
21
|
})), /*#__PURE__*/React.createElement(LoadignWhatsNewResultsListItem, null, /*#__PURE__*/React.createElement(LoadingRectangle, {
|
|
22
22
|
style: {
|
|
23
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
23
24
|
display: 'inline-block',
|
|
25
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
24
26
|
verticalAlign: 'middle',
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
25
28
|
position: 'relative'
|
|
26
29
|
},
|
|
27
30
|
contentHeight: "16px",
|
|
@@ -29,6 +32,7 @@ export var WhatsNewResultsLoading = function WhatsNewResultsLoading(_ref) {
|
|
|
29
32
|
marginTop: "4px"
|
|
30
33
|
}), /*#__PURE__*/React.createElement(LoadingRectangle, {
|
|
31
34
|
style: {
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
32
36
|
marginLeft: "var(--ds-space-100, 8px)"
|
|
33
37
|
},
|
|
34
38
|
contentHeight: "11px",
|
|
@@ -42,8 +46,11 @@ export var WhatsNewResultsLoading = function WhatsNewResultsLoading(_ref) {
|
|
|
42
46
|
marginTop: "4px"
|
|
43
47
|
})), /*#__PURE__*/React.createElement(LoadignWhatsNewResultsListItem, null, /*#__PURE__*/React.createElement(LoadingRectangle, {
|
|
44
48
|
style: {
|
|
49
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
45
50
|
display: 'inline-block',
|
|
51
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
46
52
|
verticalAlign: 'middle',
|
|
53
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
47
54
|
position: 'relative'
|
|
48
55
|
},
|
|
49
56
|
contentHeight: "16px",
|
|
@@ -51,6 +58,7 @@ export var WhatsNewResultsLoading = function WhatsNewResultsLoading(_ref) {
|
|
|
51
58
|
marginTop: "4px"
|
|
52
59
|
}), /*#__PURE__*/React.createElement(LoadingRectangle, {
|
|
53
60
|
style: {
|
|
61
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
54
62
|
marginLeft: "var(--ds-space-100, 8px)"
|
|
55
63
|
},
|
|
56
64
|
contentHeight: "11px",
|
|
@@ -68,8 +76,11 @@ export var WhatsNewResultsLoading = function WhatsNewResultsLoading(_ref) {
|
|
|
68
76
|
marginTop: "0"
|
|
69
77
|
})), /*#__PURE__*/React.createElement(LoadignWhatsNewResultsListItem, null, /*#__PURE__*/React.createElement(LoadingRectangle, {
|
|
70
78
|
style: {
|
|
79
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
71
80
|
display: 'inline-block',
|
|
81
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
72
82
|
verticalAlign: 'middle',
|
|
83
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
73
84
|
position: 'relative'
|
|
74
85
|
},
|
|
75
86
|
contentHeight: "16px",
|
|
@@ -77,6 +88,7 @@ export var WhatsNewResultsLoading = function WhatsNewResultsLoading(_ref) {
|
|
|
77
88
|
marginTop: "4px"
|
|
78
89
|
}), /*#__PURE__*/React.createElement(LoadingRectangle, {
|
|
79
90
|
style: {
|
|
91
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
80
92
|
marginLeft: "var(--ds-space-100, 8px)"
|
|
81
93
|
},
|
|
82
94
|
contentHeight: "11px",
|
|
@@ -90,8 +102,11 @@ export var WhatsNewResultsLoading = function WhatsNewResultsLoading(_ref) {
|
|
|
90
102
|
marginTop: "4px"
|
|
91
103
|
})), /*#__PURE__*/React.createElement(LoadignWhatsNewResultsListItem, null, /*#__PURE__*/React.createElement(LoadingRectangle, {
|
|
92
104
|
style: {
|
|
105
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
93
106
|
display: 'inline-block',
|
|
107
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
94
108
|
verticalAlign: 'middle',
|
|
109
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
95
110
|
position: 'relative'
|
|
96
111
|
},
|
|
97
112
|
contentHeight: "16px",
|
|
@@ -99,6 +114,7 @@ export var WhatsNewResultsLoading = function WhatsNewResultsLoading(_ref) {
|
|
|
99
114
|
marginTop: "4px"
|
|
100
115
|
}), /*#__PURE__*/React.createElement(LoadingRectangle, {
|
|
101
116
|
style: {
|
|
117
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
102
118
|
marginLeft: "var(--ds-space-100, 8px)"
|
|
103
119
|
},
|
|
104
120
|
contentHeight: "11px",
|
|
@@ -3,6 +3,7 @@ import styled from '@emotion/styled';
|
|
|
3
3
|
/**
|
|
4
4
|
* Loading styled-components
|
|
5
5
|
*/
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
6
7
|
export var LoadignWhatsNewResultsList = styled.ul({
|
|
7
8
|
width: '100%',
|
|
8
9
|
margin: 0,
|
|
@@ -10,6 +11,8 @@ export var LoadignWhatsNewResultsList = styled.ul({
|
|
|
10
11
|
boxSizing: 'border-box',
|
|
11
12
|
marginTop: "var(--ds-space-200, 16px)"
|
|
12
13
|
});
|
|
14
|
+
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
13
16
|
export var LoadignWhatsNewResultsListItem = styled.li({
|
|
14
17
|
display: 'block',
|
|
15
18
|
width: '100%',
|
|
@@ -112,7 +112,9 @@ export var WhatsNewResults = function WhatsNewResults(_ref) {
|
|
|
112
112
|
ref: containerRef,
|
|
113
113
|
style: _objectSpread(_objectSpread({}, defaultStyle), transitionStyles[state])
|
|
114
114
|
}, /*#__PURE__*/React.createElement(React.Fragment, null, searchWhatsNewArticlesState === REQUEST_STATE.loading && searchWhatsNewArticlesResult === null && state !== 'exited' && /*#__PURE__*/React.createElement(WhatsNewResultsLoading, null), (searchWhatsNewArticlesState === REQUEST_STATE.done || searchWhatsNewArticlesState === REQUEST_STATE.loading) && searchWhatsNewArticlesResult !== null && state !== 'exited' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SelectContainer, null, /*#__PURE__*/React.createElement(Select, {
|
|
115
|
-
defaultValue: selectedOption
|
|
115
|
+
defaultValue: selectedOption
|
|
116
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
117
|
+
,
|
|
116
118
|
className: "single-select",
|
|
117
119
|
classNamePrefix: "react-select",
|
|
118
120
|
options: [{
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
4
5
|
export var WhatsNewResultsContainer = styled.div({
|
|
5
6
|
position: 'absolute',
|
|
6
7
|
height: '100%',
|
|
@@ -15,12 +16,18 @@ export var WhatsNewResultsContainer = styled.div({
|
|
|
15
16
|
zIndex: 1,
|
|
16
17
|
padding: "var(--ds-space-200, 16px)"
|
|
17
18
|
});
|
|
19
|
+
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
18
21
|
export var SelectContainer = styled.div({
|
|
19
22
|
width: "".concat(19 * gridSize(), "px")
|
|
20
23
|
});
|
|
24
|
+
|
|
25
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
21
26
|
export var WhatsNewResultsListContainer = styled.div({
|
|
22
27
|
paddingTop: "var(--ds-space-100, 8px)"
|
|
23
28
|
});
|
|
29
|
+
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
24
31
|
export var WhatsNewResultsListTitleContainer = styled.div({
|
|
25
32
|
padding: "0 ".concat("var(--ds-space-100, 8px)")
|
|
26
33
|
});
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { ArticleItem } from '../../model/Article';
|
|
4
|
-
import { articleId } from '../../model/Help';
|
|
5
3
|
import { createCtx } from '../../util/hooks/ctx';
|
|
6
4
|
var _createCtx = createCtx(),
|
|
7
5
|
_createCtx2 = _slicedToArray(_createCtx, 2),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
4
5
|
export var HelpBodyContainer = styled.div({
|
|
5
6
|
flexGrow: 1,
|
|
6
7
|
minHeight: 0,
|
|
@@ -14,6 +15,8 @@ export var HelpBodyContainer = styled.div({
|
|
|
14
15
|
alignContent: 'stretch',
|
|
15
16
|
alignItems: 'flex-start'
|
|
16
17
|
});
|
|
18
|
+
|
|
19
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
17
20
|
export var HelpBody = styled.div({
|
|
18
21
|
width: '100%',
|
|
19
22
|
boxSizing: 'border-box',
|
|
@@ -24,6 +27,7 @@ export var HelpBody = styled.div({
|
|
|
24
27
|
overflowX: 'hidden',
|
|
25
28
|
overflowY: 'auto'
|
|
26
29
|
});
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
27
31
|
export var Home = styled.div(function (props) {
|
|
28
32
|
return {
|
|
29
33
|
display: props.isOverlayFullyVisible ? 'none' : 'block',
|