@atlaskit/help 7.1.26 → 7.2.0
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 +16 -0
- package/dist/cjs/components/Article/ArticleLoadingFail/styled.js +1 -0
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/index.js +0 -1
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/styled.js +3 -3
- package/dist/cjs/components/Article/WhatsNewArticle/styled.js +7 -6
- package/dist/cjs/components/Article/styled.js +2 -2
- package/dist/cjs/components/ArticlesList/ArticlesListItem/styled.js +5 -4
- package/dist/cjs/components/ArticlesList/styled.js +2 -2
- package/dist/cjs/components/HelpContentButton/styled.js +5 -5
- package/dist/cjs/components/RelatedArticles/index.js +28 -30
- package/dist/cjs/components/RelatedArticles/styled.js +4 -3
- package/dist/cjs/components/Search/SearchInput/styled.js +3 -3
- package/dist/cjs/components/Search/SearchResults/styled.js +1 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +1 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +1 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +5 -4
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +2 -3
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +4 -3
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -3
- package/dist/cjs/components/WhatsNew/WhatsNewResults/styled.js +4 -3
- package/dist/cjs/components/constants.js +8 -8
- package/dist/cjs/components/contexts/navigationContext.js +122 -130
- package/dist/cjs/components/contexts/searchContext.js +28 -30
- package/dist/cjs/components/contexts/whatsNewArticleContext.js +51 -53
- package/dist/cjs/components/styled.js +3 -3
- package/dist/cjs/model/Article.js +4 -4
- package/dist/cjs/model/Help.js +4 -4
- package/dist/cjs/model/Requests.js +4 -4
- package/dist/cjs/model/WhatsNew.js +4 -4
- package/dist/cjs/util/styled.js +3 -2
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/styled.js +2 -3
- package/dist/es2019/components/Article/WhatsNewArticle/styled.js +8 -8
- package/dist/es2019/components/Article/styled.js +1 -2
- package/dist/es2019/components/ArticlesList/ArticlesListItem/styled.js +7 -7
- package/dist/es2019/components/ArticlesList/styled.js +1 -2
- package/dist/es2019/components/HelpContentButton/styled.js +6 -7
- package/dist/es2019/components/RelatedArticles/styled.js +5 -5
- package/dist/es2019/components/Search/SearchInput/styled.js +8 -9
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +4 -5
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +2 -3
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +5 -4
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +2 -4
- package/dist/es2019/components/WhatsNew/WhatsNewResults/styled.js +3 -3
- package/dist/es2019/components/constants.js +8 -8
- package/dist/es2019/components/styled.js +1 -2
- package/dist/es2019/model/Article.js +3 -3
- package/dist/es2019/model/Help.js +3 -3
- package/dist/es2019/model/Requests.js +3 -3
- package/dist/es2019/model/WhatsNew.js +3 -3
- package/dist/es2019/util/styled.js +4 -4
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/styled.js +2 -3
- package/dist/esm/components/Article/WhatsNewArticle/styled.js +7 -7
- package/dist/esm/components/Article/styled.js +1 -2
- package/dist/esm/components/ArticlesList/ArticlesListItem/styled.js +5 -5
- package/dist/esm/components/ArticlesList/styled.js +1 -2
- package/dist/esm/components/HelpContentButton/styled.js +4 -5
- package/dist/esm/components/RelatedArticles/index.js +28 -30
- package/dist/esm/components/RelatedArticles/styled.js +4 -4
- package/dist/esm/components/Search/SearchInput/styled.js +2 -3
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +4 -5
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +2 -3
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +4 -4
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +2 -4
- package/dist/esm/components/WhatsNew/WhatsNewResults/styled.js +3 -3
- package/dist/esm/components/constants.js +8 -8
- package/dist/esm/components/contexts/navigationContext.js +122 -130
- package/dist/esm/components/contexts/searchContext.js +28 -30
- package/dist/esm/components/contexts/whatsNewArticleContext.js +51 -53
- package/dist/esm/components/styled.js +2 -3
- package/dist/esm/model/Article.js +3 -3
- package/dist/esm/model/Help.js +3 -3
- package/dist/esm/model/Requests.js +3 -3
- package/dist/esm/model/WhatsNew.js +3 -3
- package/dist/esm/util/styled.js +2 -2
- package/dist/esm/version.json +1 -1
- package/package.json +21 -21
- package/tmp/api-report-tmp.d.ts +0 -300
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import { fontSize, fontSizeSmall
|
|
3
|
+
import { fontSize, fontSizeSmall } from '@atlaskit/theme/constants';
|
|
4
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
5
|
export const WhatsNewTypeTitle = styled.span`
|
|
6
6
|
text-decoration: none;
|
|
7
7
|
color: ${`var(--ds-text-subtlest, ${colors.N300})`};
|
|
8
8
|
font-size: ${fontSize()}px;
|
|
9
9
|
vertical-align: middle;
|
|
10
|
-
padding-left: ${
|
|
11
|
-
line-height: ${
|
|
10
|
+
padding-left: ${"var(--ds-space-050, 4px)"};
|
|
11
|
+
line-height: ${"var(--ds-font-lineHeight-200, 20px)"};
|
|
12
12
|
white-space: normal;
|
|
13
13
|
overflow-x: hidden;
|
|
14
14
|
`;
|
|
15
15
|
export const WhatsNewIconContainer = styled.div`
|
|
16
16
|
display: block;
|
|
17
|
-
padding-bottom: ${
|
|
17
|
+
padding-bottom: ${"var(--ds-space-100, 8px)"};
|
|
18
18
|
`;
|
|
19
19
|
export const WhatsNewTitleText = styled.span`
|
|
20
20
|
text-decoration: none;
|
|
@@ -23,7 +23,7 @@ export const WhatsNewTitleText = styled.span`
|
|
|
23
23
|
font-weight: 600;
|
|
24
24
|
white-space: normal;
|
|
25
25
|
overflow-x: hidden;
|
|
26
|
-
padding-bottom: ${
|
|
26
|
+
padding-bottom: ${"var(--ds-space-100, 8px)"};
|
|
27
27
|
display: block;
|
|
28
28
|
`;
|
|
29
29
|
export const WhatsNewRelatedLinksTitleText = styled.span`
|
|
@@ -33,14 +33,14 @@ export const WhatsNewRelatedLinksTitleText = styled.span`
|
|
|
33
33
|
font-weight: 600;
|
|
34
34
|
white-space: normal;
|
|
35
35
|
overflow-x: hidden;
|
|
36
|
-
padding-bottom: ${
|
|
36
|
+
padding-bottom: ${"var(--ds-space-100, 8px)"};
|
|
37
37
|
display: block;
|
|
38
38
|
`;
|
|
39
39
|
export const RelatedLinkContainer = styled.div`
|
|
40
|
-
margin-bottom: ${
|
|
40
|
+
margin-bottom: ${"var(--ds-space-100, 8px)"};
|
|
41
41
|
`;
|
|
42
42
|
export const ExternalLinkIconContainer = styled.div`
|
|
43
43
|
display: inline-block;
|
|
44
44
|
vertical-align: middle;
|
|
45
|
-
padding-left: ${
|
|
45
|
+
padding-left: ${"var(--ds-space-050, 4px)"};
|
|
46
46
|
`;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
5
4
|
export const ArticleContainer = styled.div`
|
|
6
|
-
padding: ${
|
|
5
|
+
padding: ${"var(--ds-space-200, 16px)"} ${"var(--ds-space-300, 24px)"};
|
|
7
6
|
position: absolute;
|
|
8
7
|
height: 100%;
|
|
9
8
|
width: 100%;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import { fontSize
|
|
3
|
+
import { fontSize } from '@atlaskit/theme/constants';
|
|
4
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
5
|
export const ArticlesListItemWrapper = styled.a({
|
|
6
6
|
position: `relative`,
|
|
7
7
|
boxSizing: `border-box`,
|
|
8
|
-
padding:
|
|
8
|
+
padding: "var(--ds-space-100, 8px)",
|
|
9
9
|
display: `block`,
|
|
10
10
|
textDecoration: `none`,
|
|
11
11
|
cursor: `pointer`,
|
|
@@ -34,9 +34,9 @@ export const ArticlesListItemContainer = styled.div`
|
|
|
34
34
|
export const ArticlesListItemTypeTitle = styled.div`
|
|
35
35
|
font-weight: bold;
|
|
36
36
|
font-size: 11px;
|
|
37
|
-
line-height: ${
|
|
37
|
+
line-height: ${"var(--ds-font-lineHeight-100, 16px)"};
|
|
38
38
|
color: ${`var(--ds-text-subtlest, ${colors.N200})`};
|
|
39
|
-
padding-bottom: ${
|
|
39
|
+
padding-bottom: ${"var(--ds-space-050, 4px)"};
|
|
40
40
|
`;
|
|
41
41
|
export const ArticlesListItemLinkIcon = styled.span`
|
|
42
42
|
align-self: auto;
|
|
@@ -49,14 +49,14 @@ export const ArticlesListItemTitleText = styled.span`
|
|
|
49
49
|
font-size: ${fontSize()}px;
|
|
50
50
|
font-weight: 600;
|
|
51
51
|
display: inline-block;
|
|
52
|
-
line-height: ${
|
|
52
|
+
line-height: ${"var(--ds-font-lineHeight-200, 20px)"};
|
|
53
53
|
white-space: normal;
|
|
54
54
|
overflow-x: hidden;
|
|
55
|
-
margin-bottom: ${
|
|
55
|
+
margin-bottom: ${"var(--ds-space-100, 8px)"};
|
|
56
56
|
`;
|
|
57
57
|
export const ArticlesListItemDescription = styled.p`
|
|
58
58
|
display: block;
|
|
59
|
-
line-height: ${
|
|
59
|
+
line-height: ${"var(--ds-font-lineHeight-200, 20px)"};
|
|
60
60
|
color: ${`var(--ds-text-subtle, ${colors.N400})`};
|
|
61
61
|
margin: 0;
|
|
62
62
|
`;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { css } from '@emotion/core';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
6
5
|
export const truncate = (width = '100%') => css`
|
|
7
6
|
overflow-x: hidden;
|
|
8
7
|
text-overflow: ellipsis;
|
|
@@ -13,7 +12,7 @@ export const ArticlesListContainer = styled.div`
|
|
|
13
12
|
position: relative;
|
|
14
13
|
`;
|
|
15
14
|
export const ToggleShowMoreArticlesContainer = styled.div`
|
|
16
|
-
padding: ${
|
|
15
|
+
padding: ${"var(--ds-space-100, 8px)"} 0;
|
|
17
16
|
span {
|
|
18
17
|
margin: 0;
|
|
19
18
|
}
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
import styled from 'styled-components';
|
|
4
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
6
5
|
export const HelpContentButtonContainer = styled.a`
|
|
7
6
|
display: block;
|
|
8
7
|
cursor: pointer;
|
|
9
|
-
width: calc(100% - ${
|
|
8
|
+
width: calc(100% - ${"var(--ds-space-200, 16px)"});
|
|
10
9
|
color: ${`var(--ds-text-subtle, ${colors.N600})`};
|
|
11
|
-
padding: ${
|
|
10
|
+
padding: ${"var(--ds-space-100, 8px)"};
|
|
12
11
|
border-radius: 3px;
|
|
13
12
|
|
|
14
13
|
&:hover,
|
|
@@ -52,17 +51,17 @@ export const HelpContentButtonText = styled.div`
|
|
|
52
51
|
width: calc(100% - 20px);
|
|
53
52
|
display: inline-block;
|
|
54
53
|
vertical-align: middle;
|
|
55
|
-
padding: 0 ${
|
|
54
|
+
padding: 0 ${"var(--ds-space-100, 8px)"};
|
|
56
55
|
box-sizing: border-box;
|
|
57
56
|
`;
|
|
58
57
|
export const HelpContentButtonExternalLinkIcon = styled.div`
|
|
59
58
|
display: inline-block;
|
|
60
59
|
vertical-align: middle;
|
|
61
|
-
padding-left: ${
|
|
60
|
+
padding-left: ${"var(--ds-space-050, 4px)"};
|
|
62
61
|
`;
|
|
63
62
|
export const HelpContentButtonExternalNotificationIcon = styled.div`
|
|
64
63
|
display: inline-block;
|
|
65
64
|
vertical-align: middle;
|
|
66
|
-
margin-top:
|
|
67
|
-
padding-left: ${
|
|
65
|
+
margin-top: calc(-1 * ${"var(--ds-space-050, 4px)"});
|
|
66
|
+
padding-left: ${"var(--ds-space-050, 4px)"};
|
|
68
67
|
`;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { css } from '@emotion/core';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
5
|
import * as colors from '@atlaskit/theme/colors';
|
|
6
|
-
import {
|
|
6
|
+
import { fontSize } from '@atlaskit/theme/constants';
|
|
7
7
|
const baseHeading = (size, lineHeight) => `
|
|
8
8
|
font-size: ${size / fontSize()}em;
|
|
9
9
|
font-style: inherit;
|
|
@@ -20,14 +20,14 @@ export const RelatedArticlesTitle = styled.div`
|
|
|
20
20
|
color: ${`var(--ds-text, ${colors.N800})`};
|
|
21
21
|
font-weight: 600;
|
|
22
22
|
letter-spacing: -0.006em;
|
|
23
|
-
padding: ${
|
|
23
|
+
padding: ${"var(--ds-space-200, 16px)"} 0;
|
|
24
24
|
`;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* Loading styled-components
|
|
28
28
|
*/
|
|
29
29
|
export const LoadignRelatedArticleSection = styled.div`
|
|
30
|
-
margin-top: ${
|
|
30
|
+
margin-top: ${"var(--ds-space-100, 8px)"};
|
|
31
31
|
`;
|
|
32
32
|
export const LoadignRelatedArticleList = styled.ul`
|
|
33
33
|
width: 100%;
|
|
@@ -38,7 +38,7 @@ export const LoadignRelatedArticleList = styled.ul`
|
|
|
38
38
|
export const LoadignRelatedArticleListItem = styled.li`
|
|
39
39
|
display: block;
|
|
40
40
|
width: 100%;
|
|
41
|
-
padding: ${
|
|
42
|
-
margin-bottom: ${
|
|
41
|
+
padding: ${"var(--ds-space-100, 8px)"};
|
|
42
|
+
margin-bottom: ${"var(--ds-space-200, 16px)"};
|
|
43
43
|
box-sizing: border-box;
|
|
44
44
|
`;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
4
3
|
export const SearchInputContainer = styled.div`
|
|
5
4
|
order: 0;
|
|
6
5
|
flex: 0 1 auto;
|
|
@@ -9,25 +8,25 @@ export const SearchInputContainer = styled.div`
|
|
|
9
8
|
box-sizing: border-box;
|
|
10
9
|
`;
|
|
11
10
|
export const SearchIconContainer = styled.div`
|
|
12
|
-
width: ${
|
|
13
|
-
height: ${
|
|
14
|
-
padding-left: ${
|
|
11
|
+
width: ${"var(--ds-space-300, 24px)"};
|
|
12
|
+
height: ${"var(--ds-space-300, 24px)"};
|
|
13
|
+
padding-left: ${"var(--ds-space-050, 4px)"};
|
|
15
14
|
|
|
16
15
|
& > span {
|
|
17
|
-
padding-left: ${
|
|
18
|
-
height: ${
|
|
19
|
-
width: ${
|
|
16
|
+
padding-left: ${"var(--ds-space-050, 4px)"};
|
|
17
|
+
height: ${"var(--ds-space-300, 24px)"};
|
|
18
|
+
width: ${"var(--ds-space-300, 24px)"};
|
|
20
19
|
box-sizing: border-box;
|
|
21
20
|
}
|
|
22
21
|
`;
|
|
23
22
|
export const CloseButtonAndSpinnerContainer = styled.div`
|
|
24
23
|
font-size: 0;
|
|
25
|
-
padding-right: ${
|
|
24
|
+
padding-right: ${"var(--ds-space-100, 8px)"};
|
|
26
25
|
position: relative;
|
|
27
26
|
white-space: nowrap;
|
|
28
27
|
|
|
29
28
|
& > span {
|
|
30
|
-
padding-right: ${
|
|
29
|
+
padding-right: ${"var(--ds-space-050, 4px)"};
|
|
31
30
|
}
|
|
32
31
|
|
|
33
32
|
& > button,
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
4
3
|
import { fontSize, fontSizeSmall } from '@atlaskit/theme/constants';
|
|
5
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
6
5
|
export const WhatsNewResultListItemWrapper = styled.a({
|
|
7
6
|
position: `relative`,
|
|
8
7
|
boxSizing: `border-box`,
|
|
9
|
-
padding:
|
|
8
|
+
padding: "var(--ds-space-100, 8px)",
|
|
10
9
|
display: `block`,
|
|
11
10
|
textDecoration: `none`,
|
|
12
11
|
cursor: `pointer`,
|
|
@@ -31,7 +30,7 @@ export const WhatsNewResultListItemWrapper = styled.a({
|
|
|
31
30
|
export const WhatsNewResultListItemTitleContainer = styled.div`
|
|
32
31
|
width: 100%;
|
|
33
32
|
white-space: nowrap;
|
|
34
|
-
margin-bottom: ${
|
|
33
|
+
margin-bottom: ${"var(--ds-space-050, 4px)"};
|
|
35
34
|
`;
|
|
36
35
|
export const WhatsNewResultListItemTitleText = styled.span`
|
|
37
36
|
font-size: ${fontSizeSmall()}px;
|
|
@@ -39,13 +38,13 @@ export const WhatsNewResultListItemTitleText = styled.span`
|
|
|
39
38
|
display: inline-block;
|
|
40
39
|
vertical-align: middle;
|
|
41
40
|
margin: 0;
|
|
42
|
-
padding-left: ${
|
|
41
|
+
padding-left: ${"var(--ds-space-050, 4px)"};
|
|
43
42
|
white-space: normal;
|
|
44
43
|
overflow-x: hidden;
|
|
45
44
|
`;
|
|
46
45
|
export const WhatsNewResultListItemDescription = styled.p`
|
|
47
46
|
display: block;
|
|
48
|
-
line-height: ${
|
|
47
|
+
line-height: ${"var(--ds-font-lineHeight-200, 20px)"};
|
|
49
48
|
color: ${`var(--ds-text, ${colors.N800})`};
|
|
50
49
|
margin: 0;
|
|
51
50
|
`;
|
package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React, { useEffect, useState } from 'react';
|
|
2
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
3
2
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
3
|
import toDate from 'date-fns/toDate';
|
|
5
4
|
import isYesterday from 'date-fns/isYesterday';
|
|
@@ -38,8 +37,8 @@ const WhatsNewResultsList = ({
|
|
|
38
37
|
}, /*#__PURE__*/React.createElement(WhatsNewResultsListGroupTitle, null, whatsNewArticlesGroupedByDate[key].title), whatsNewArticlesGroupedByDate[key].items.map((whatsNewArticle, i) => /*#__PURE__*/React.createElement(WhatsNewResultItem, {
|
|
39
38
|
styles: {
|
|
40
39
|
border: style === 'secondary' ? `2px solid ${`var(--ds-border, ${colors.N30})`}` : 0,
|
|
41
|
-
padding: style === 'secondary' ? `${
|
|
42
|
-
marginBottom: style === 'secondary' ? `${
|
|
40
|
+
padding: style === 'secondary' ? `${"var(--ds-space-100, 8px)"} ${"var(--ds-space-200, 16px)"}` : `${"var(--ds-space-100, 8px)"}`,
|
|
41
|
+
marginBottom: style === 'secondary' ? `${"var(--ds-space-150, 12px)"}` : 0
|
|
43
42
|
},
|
|
44
43
|
id: whatsNewArticle.id,
|
|
45
44
|
onClick: (event, analyticsEvent) => {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { css } from '@emotion/core';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
|
-
import { fontSizeSmall
|
|
5
|
+
import { fontSizeSmall } from '@atlaskit/theme/constants';
|
|
6
6
|
import * as colors from '@atlaskit/theme/colors';
|
|
7
7
|
export const truncate = (width = '100%') => css`
|
|
8
8
|
overflow-x: hidden;
|
|
@@ -14,17 +14,18 @@ export const WhatsNewResultsListContainer = styled.div`
|
|
|
14
14
|
position: relative;
|
|
15
15
|
`;
|
|
16
16
|
export const WhatsNewResultsListGroupWrapper = styled.div`
|
|
17
|
-
padding: ${
|
|
17
|
+
padding: ${"var(--ds-space-100, 8px)"} 0 ${"var(--ds-space-100, 8px)"} 0;
|
|
18
18
|
`;
|
|
19
19
|
export const WhatsNewResultsListGroupTitle = styled.div`
|
|
20
20
|
color: ${`var(--ds-text-subtlest, ${colors.N200})`};
|
|
21
21
|
font-size: ${fontSizeSmall()}px;
|
|
22
22
|
font-weight: bold;
|
|
23
|
-
padding: 0 ${
|
|
23
|
+
padding: 0 ${"var(--ds-space-100, 8px)"} ${"var(--ds-space-100, 8px)"}
|
|
24
|
+
${"var(--ds-space-100, 8px)"};
|
|
24
25
|
text-transform: uppercase;
|
|
25
26
|
`;
|
|
26
27
|
export const ToggleShowWhatsNewResultsContainer = styled.div`
|
|
27
|
-
padding: ${
|
|
28
|
+
padding: ${"var(--ds-space-100, 8px)"} 0;
|
|
28
29
|
span {
|
|
29
30
|
margin: 0;
|
|
30
31
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
4
|
-
|
|
5
3
|
/**
|
|
6
4
|
* Loading styled-components
|
|
7
5
|
*/
|
|
@@ -10,12 +8,12 @@ export const LoadignWhatsNewResultsList = styled.ul`
|
|
|
10
8
|
margin: 0;
|
|
11
9
|
padding: 0;
|
|
12
10
|
box-sizing: border-box;
|
|
13
|
-
margin-top: ${
|
|
11
|
+
margin-top: ${"var(--ds-space-200, 16px)"};
|
|
14
12
|
`;
|
|
15
13
|
export const LoadignWhatsNewResultsListItem = styled.li`
|
|
16
14
|
display: block;
|
|
17
15
|
width: 100%;
|
|
18
|
-
padding: ${
|
|
16
|
+
padding: ${"var(--ds-space-100, 8px)"};
|
|
19
17
|
margin: 0;
|
|
20
18
|
box-sizing: border-box;
|
|
21
19
|
`;
|
|
@@ -13,14 +13,14 @@ export const WhatsNewResultsContainer = styled.div`
|
|
|
13
13
|
overflow-x: hidden;
|
|
14
14
|
overflow-y: auto;
|
|
15
15
|
z-index: 1;
|
|
16
|
-
padding: ${
|
|
16
|
+
padding: ${"var(--ds-space-200, 16px)"};
|
|
17
17
|
`;
|
|
18
18
|
export const SelectContainer = styled.div`
|
|
19
19
|
width: ${19 * gridSize()}px;
|
|
20
20
|
`;
|
|
21
21
|
export const WhatsNewResultsListContainer = styled.div`
|
|
22
|
-
padding-top: ${
|
|
22
|
+
padding-top: ${"var(--ds-space-100, 8px)"};
|
|
23
23
|
`;
|
|
24
24
|
export const WhatsNewResultsListTitleContainer = styled.div`
|
|
25
|
-
padding: 0 ${
|
|
25
|
+
padding: 0 ${"var(--ds-space-100, 8px)"};
|
|
26
26
|
`;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
export const MIN_CHARACTERS_FOR_SEARCH = 3;
|
|
2
2
|
export const LOADING_TIMEOUT = 1000;
|
|
3
3
|
export const NUMBER_OF_WHATS_NEW_ITEMS_PER_PAGE = 10;
|
|
4
|
-
export let VIEW
|
|
5
|
-
|
|
6
|
-
// Animation related consts
|
|
7
|
-
(function (VIEW) {
|
|
4
|
+
export let VIEW = /*#__PURE__*/function (VIEW) {
|
|
8
5
|
VIEW["DEFAULT_CONTENT"] = "DEFAULT_CONTENT";
|
|
9
6
|
VIEW["SEARCH"] = "SEARCH";
|
|
10
7
|
VIEW["ARTICLE"] = "ARTICLE";
|
|
11
8
|
VIEW["WHATS_NEW"] = "WHATS_NEW";
|
|
12
9
|
VIEW["WHATS_NEW_ARTICLE"] = "WHATS_NEW_ARTICLE";
|
|
13
|
-
|
|
10
|
+
return VIEW;
|
|
11
|
+
}({});
|
|
12
|
+
|
|
13
|
+
// Animation related consts
|
|
14
14
|
export const SLIDEIN_OVERLAY_TRANSITION_DURATION_MS = 300;
|
|
15
15
|
export const FADEIN_OVERLAY_TRANSITION_DURATION_MS = 440;
|
|
16
16
|
export const HIDE_CONTENT_DELAY = FADEIN_OVERLAY_TRANSITION_DURATION_MS + 200;
|
|
17
|
-
export let TRANSITION_STATUS
|
|
18
|
-
(function (TRANSITION_STATUS) {
|
|
17
|
+
export let TRANSITION_STATUS = /*#__PURE__*/function (TRANSITION_STATUS) {
|
|
19
18
|
TRANSITION_STATUS["UNMOUNTED"] = "unmounted";
|
|
20
19
|
TRANSITION_STATUS["EXITED"] = "exited";
|
|
21
20
|
TRANSITION_STATUS["ENTERING"] = "entering";
|
|
22
21
|
TRANSITION_STATUS["ENTERED"] = "entered";
|
|
23
22
|
TRANSITION_STATUS["EXITING"] = "exiting";
|
|
24
|
-
|
|
23
|
+
return TRANSITION_STATUS;
|
|
24
|
+
}({});
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
5
4
|
export const HelpBodyContainer = styled.div`
|
|
6
5
|
flex-grow: 1;
|
|
7
6
|
min-height: 0;
|
|
@@ -29,6 +28,6 @@ export const Home = styled.div`
|
|
|
29
28
|
display: ${props => props.isOverlayFullyVisible ? 'none' : 'block'};
|
|
30
29
|
height: 100%;
|
|
31
30
|
overflow: ${props => props.isOverlayVisible ? 'hidden' : 'auto'};
|
|
32
|
-
padding: ${
|
|
31
|
+
padding: ${"var(--ds-space-200, 16px)"};
|
|
33
32
|
box-sizing: border-box;
|
|
34
33
|
`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// TODO - Check if we need to delete this
|
|
2
|
-
export let ARTICLE_ITEM_TYPES
|
|
3
|
-
(function (ARTICLE_ITEM_TYPES) {
|
|
2
|
+
export let ARTICLE_ITEM_TYPES = /*#__PURE__*/function (ARTICLE_ITEM_TYPES) {
|
|
4
3
|
ARTICLE_ITEM_TYPES["topicInProduct"] = "topicInProduct";
|
|
5
|
-
|
|
4
|
+
return ARTICLE_ITEM_TYPES;
|
|
5
|
+
}({});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ArticleItem } from './Article';
|
|
2
|
-
export let ARTICLE_TYPE
|
|
3
|
-
(function (ARTICLE_TYPE) {
|
|
2
|
+
export let ARTICLE_TYPE = /*#__PURE__*/function (ARTICLE_TYPE) {
|
|
4
3
|
ARTICLE_TYPE["HELP_ARTICLE"] = "HELP_ARTICLE";
|
|
5
4
|
ARTICLE_TYPE["WHATS_NEW"] = "WHATS_NEW";
|
|
6
|
-
|
|
5
|
+
return ARTICLE_TYPE;
|
|
6
|
+
}({});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export let REQUEST_STATE
|
|
2
|
-
(function (REQUEST_STATE) {
|
|
1
|
+
export let REQUEST_STATE = /*#__PURE__*/function (REQUEST_STATE) {
|
|
3
2
|
REQUEST_STATE["done"] = "done";
|
|
4
3
|
REQUEST_STATE["loading"] = "loading";
|
|
5
4
|
REQUEST_STATE["load"] = "load";
|
|
6
5
|
REQUEST_STATE["error"] = "error";
|
|
7
6
|
REQUEST_STATE["reload"] = "reload";
|
|
8
|
-
|
|
7
|
+
return REQUEST_STATE;
|
|
8
|
+
}({});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export let WHATS_NEW_ITEM_TYPES
|
|
2
|
-
(function (WHATS_NEW_ITEM_TYPES) {
|
|
1
|
+
export let WHATS_NEW_ITEM_TYPES = /*#__PURE__*/function (WHATS_NEW_ITEM_TYPES) {
|
|
3
2
|
WHATS_NEW_ITEM_TYPES["NEW_FEATURE"] = "Announcement";
|
|
4
3
|
WHATS_NEW_ITEM_TYPES["IMPROVEMENT"] = "Improvement";
|
|
5
4
|
WHATS_NEW_ITEM_TYPES["FIX"] = "Fix";
|
|
6
5
|
WHATS_NEW_ITEM_TYPES["REMOVED"] = "Removed";
|
|
7
6
|
WHATS_NEW_ITEM_TYPES["EXPERIMENT"] = "Experiment";
|
|
8
|
-
|
|
7
|
+
return WHATS_NEW_ITEM_TYPES;
|
|
8
|
+
}({});
|
|
@@ -9,8 +9,8 @@ export const DividerLine = styled.div`
|
|
|
9
9
|
background-color: ${`var(--ds-border, ${colors.N30A})`};
|
|
10
10
|
height: 2px;
|
|
11
11
|
width: 100%;
|
|
12
|
-
padding: 0 ${
|
|
13
|
-
margin-top: ${
|
|
12
|
+
padding: 0 ${"var(--ds-space-200, 16px)"};
|
|
13
|
+
margin-top: ${"var(--ds-space-200, 16px)"};
|
|
14
14
|
box-sizing: border-box;
|
|
15
15
|
`;
|
|
16
16
|
|
|
@@ -84,8 +84,8 @@ export const WhatsNewTypeIcon = styled.div`
|
|
|
84
84
|
display: inline-block;
|
|
85
85
|
vertical-align: middle;
|
|
86
86
|
position: relative;
|
|
87
|
-
height: ${
|
|
88
|
-
width: ${
|
|
87
|
+
height: ${"var(--ds-space-200, 16px)"};
|
|
88
|
+
width: ${"var(--ds-space-200, 16px)"};
|
|
89
89
|
border-radius: 2px;
|
|
90
90
|
background-color: ${({
|
|
91
91
|
type
|
package/dist/es2019/version.json
CHANGED
|
@@ -3,8 +3,7 @@ var _templateObject, _templateObject2, _templateObject3;
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
|
|
5
5
|
import styled from '@emotion/styled';
|
|
6
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
7
6
|
import * as colors from '@atlaskit/theme/colors';
|
|
8
7
|
export var ArticleFeedbackContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n"])));
|
|
9
|
-
export var ArticleFeedbackText = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-size: 0.75rem;\n font-weight: bold;\n color: ", ";\n line-height: ", "
|
|
10
|
-
export var ArticleFeedbackAnswerWrapper = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n padding-top: ", "
|
|
8
|
+
export var ArticleFeedbackText = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-size: 0.75rem;\n font-weight: bold;\n color: ", ";\n line-height: ", ";\n position: relative;\n display: inline-block;\n"])), "var(--ds-text-subtlest, ".concat(colors.N200, ")"), "var(--ds-font-lineHeight-500, 32px)");
|
|
9
|
+
export var ArticleFeedbackAnswerWrapper = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n padding-top: ", ";\n"])), "var(--ds-space-200, 16px)");
|
|
@@ -2,11 +2,11 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
|
|
|
2
2
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
|
-
import { fontSize, fontSizeSmall
|
|
5
|
+
import { fontSize, fontSizeSmall } from '@atlaskit/theme/constants';
|
|
6
6
|
import * as colors from '@atlaskit/theme/colors';
|
|
7
|
-
export var WhatsNewTypeTitle = styled.span(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n text-decoration: none;\n color: ", ";\n font-size: ", "px;\n vertical-align: middle;\n padding-left: ", "
|
|
8
|
-
export var WhatsNewIconContainer = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: block;\n padding-bottom: ", "
|
|
9
|
-
export var WhatsNewTitleText = styled.span(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n text-decoration: none;\n color: ", ";\n font-size: ", "px;\n font-weight: 600;\n white-space: normal;\n overflow-x: hidden;\n padding-bottom: ", "
|
|
10
|
-
export var WhatsNewRelatedLinksTitleText = styled.span(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n text-decoration: none;\n color: ", ";\n font-size: ", "px;\n font-weight: 600;\n white-space: normal;\n overflow-x: hidden;\n padding-bottom: ", "
|
|
11
|
-
export var RelatedLinkContainer = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n margin-bottom: ", "
|
|
12
|
-
export var ExternalLinkIconContainer = styled.div(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n padding-left: ", "
|
|
7
|
+
export var WhatsNewTypeTitle = styled.span(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n text-decoration: none;\n color: ", ";\n font-size: ", "px;\n vertical-align: middle;\n padding-left: ", ";\n line-height: ", ";\n white-space: normal;\n overflow-x: hidden;\n"])), "var(--ds-text-subtlest, ".concat(colors.N300, ")"), fontSize(), "var(--ds-space-050, 4px)", "var(--ds-font-lineHeight-200, 20px)");
|
|
8
|
+
export var WhatsNewIconContainer = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: block;\n padding-bottom: ", ";\n"])), "var(--ds-space-100, 8px)");
|
|
9
|
+
export var WhatsNewTitleText = styled.span(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n text-decoration: none;\n color: ", ";\n font-size: ", "px;\n font-weight: 600;\n white-space: normal;\n overflow-x: hidden;\n padding-bottom: ", ";\n display: block;\n"])), "var(--ds-text, ".concat(colors.N800, ")"), fontSize(), "var(--ds-space-100, 8px)");
|
|
10
|
+
export var WhatsNewRelatedLinksTitleText = styled.span(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n text-decoration: none;\n color: ", ";\n font-size: ", "px;\n font-weight: 600;\n white-space: normal;\n overflow-x: hidden;\n padding-bottom: ", ";\n display: block;\n"])), "var(--ds-text, ".concat(colors.N800, ")"), fontSizeSmall(), "var(--ds-space-100, 8px)");
|
|
11
|
+
export var RelatedLinkContainer = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n"])), "var(--ds-space-100, 8px)");
|
|
12
|
+
export var ExternalLinkIconContainer = styled.div(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n padding-left: ", ";\n"])), "var(--ds-space-050, 4px)");
|
|
@@ -3,5 +3,4 @@ var _templateObject;
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
|
|
5
5
|
import styled from '@emotion/styled';
|
|
6
|
-
|
|
7
|
-
export var ArticleContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: ", "px ", "px;\n position: absolute;\n height: 100%;\n width: 100%;\n top: 0;\n background-color: ", ";\n left: 100%;\n flex: 1;\n flex-direction: column;\n box-sizing: border-box;\n overflow-x: hidden;\n overflow-y: auto;\n z-index: 2;\n"])), gridSize() * 2, gridSize() * 3, "var(--ds-surface, #FFFFFF)");
|
|
6
|
+
export var ArticleContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: ", " ", ";\n position: absolute;\n height: 100%;\n width: 100%;\n top: 0;\n background-color: ", ";\n left: 100%;\n flex: 1;\n flex-direction: column;\n box-sizing: border-box;\n overflow-x: hidden;\n overflow-y: auto;\n z-index: 2;\n"])), "var(--ds-space-200, 16px)", "var(--ds-space-300, 24px)", "var(--ds-surface, #FFFFFF)");
|
|
@@ -2,12 +2,12 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
|
|
|
2
2
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
|
-
import { fontSize
|
|
5
|
+
import { fontSize } from '@atlaskit/theme/constants';
|
|
6
6
|
import * as colors from '@atlaskit/theme/colors';
|
|
7
7
|
export var ArticlesListItemWrapper = styled.a({
|
|
8
8
|
position: "relative",
|
|
9
9
|
boxSizing: "border-box",
|
|
10
|
-
padding: "
|
|
10
|
+
padding: "var(--ds-space-100, 8px)",
|
|
11
11
|
display: "block",
|
|
12
12
|
textDecoration: "none",
|
|
13
13
|
cursor: "pointer",
|
|
@@ -32,7 +32,7 @@ export var ArticlesListItemWrapper = styled.a({
|
|
|
32
32
|
return props.styles;
|
|
33
33
|
});
|
|
34
34
|
export var ArticlesListItemContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 100%;\n white-space: nowrap;\n"])));
|
|
35
|
-
export var ArticlesListItemTypeTitle = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 11px;\n line-height: ", "
|
|
35
|
+
export var ArticlesListItemTypeTitle = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 11px;\n line-height: ", ";\n color: ", ";\n padding-bottom: ", ";\n"])), "var(--ds-font-lineHeight-100, 16px)", "var(--ds-text-subtlest, ".concat(colors.N200, ")"), "var(--ds-space-050, 4px)");
|
|
36
36
|
export var ArticlesListItemLinkIcon = styled.span(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n align-self: auto;\n padding-inline-start: 5px;\n vertical-align: middle;\n"])));
|
|
37
|
-
export var ArticlesListItemTitleText = styled.span(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n text-decoration: none;\n color: ", ";\n font-size: ", "px;\n font-weight: 600;\n display: inline-block;\n line-height: ", "
|
|
38
|
-
export var ArticlesListItemDescription = styled.p(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n display: block;\n line-height: ", "
|
|
37
|
+
export var ArticlesListItemTitleText = styled.span(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n text-decoration: none;\n color: ", ";\n font-size: ", "px;\n font-weight: 600;\n display: inline-block;\n line-height: ", ";\n white-space: normal;\n overflow-x: hidden;\n margin-bottom: ", ";\n"])), "var(--ds-text, ".concat(colors.N800, ")"), fontSize(), "var(--ds-font-lineHeight-200, 20px)", "var(--ds-space-100, 8px)");
|
|
38
|
+
export var ArticlesListItemDescription = styled.p(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n display: block;\n line-height: ", ";\n color: ", ";\n margin: 0;\n"])), "var(--ds-font-lineHeight-200, 20px)", "var(--ds-text-subtle, ".concat(colors.N400, ")"));
|
|
@@ -4,10 +4,9 @@ var _templateObject, _templateObject2, _templateObject3;
|
|
|
4
4
|
|
|
5
5
|
import { css } from '@emotion/core';
|
|
6
6
|
import styled from '@emotion/styled';
|
|
7
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
8
7
|
export var truncate = function truncate() {
|
|
9
8
|
var width = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '100%';
|
|
10
9
|
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n overflow-x: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: ", ";\n"])), width);
|
|
11
10
|
};
|
|
12
11
|
export var ArticlesListContainer = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: relative;\n"])));
|
|
13
|
-
export var ToggleShowMoreArticlesContainer = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n padding: ", "
|
|
12
|
+
export var ToggleShowMoreArticlesContainer = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n padding: ", " 0;\n span {\n margin: 0;\n }\n"])), "var(--ds-space-100, 8px)");
|
|
@@ -4,9 +4,8 @@ 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
|
-
|
|
8
|
-
export var HelpContentButtonContainer = styled.a(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: block;\n cursor: pointer;\n width: calc(100% - ", "px);\n color: ", ";\n padding: ", "px;\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"])), gridSize() * 2, "var(--ds-text-subtle, ".concat(colors.N600, ")"), gridSize, "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, ")"));
|
|
7
|
+
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
8
|
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"])));
|
|
10
|
-
export var HelpContentButtonText = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n width: calc(100% - 20px);\n display: inline-block;\n vertical-align: middle;\n padding: 0 ", "
|
|
11
|
-
export var HelpContentButtonExternalLinkIcon = styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n padding-left: ", "
|
|
12
|
-
export var HelpContentButtonExternalNotificationIcon = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n margin-top: -", "
|
|
9
|
+
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)");
|
|
10
|
+
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)");
|
|
11
|
+
export var HelpContentButtonExternalNotificationIcon = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n margin-top: calc(-1 * ", ");\n padding-left: ", ";\n"])), "var(--ds-space-050, 4px)", "var(--ds-space-050, 4px)");
|