@atlaskit/help 7.1.22 → 7.1.24
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 +12 -0
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -3
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/styled.js +1 -3
- package/dist/cjs/components/Article/WhatsNewArticle/styled.js +3 -5
- package/dist/cjs/components/Article/styled.js +1 -3
- package/dist/cjs/components/ArticlesList/ArticlesList.js +1 -3
- package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +2 -4
- package/dist/cjs/components/ArticlesList/ArticlesListItem/styled.js +8 -10
- package/dist/cjs/components/HelpContentButton/styled.js +1 -3
- package/dist/cjs/components/RelatedArticles/styled.js +1 -3
- package/dist/cjs/components/Search/SearchInput/index.js +1 -0
- package/dist/cjs/components/Search/SearchResults/SearchExternalSite.js +2 -4
- package/dist/cjs/components/Search/SearchResults/SearchResultsEmpty.js +2 -4
- package/dist/cjs/components/Search/SearchResults/styled.js +3 -5
- package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -3
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +1 -3
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +1 -3
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +6 -8
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +1 -3
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +1 -3
- package/dist/cjs/components/WhatsNew/WhatsNewResults/styled.js +1 -3
- package/dist/cjs/util/styled.js +9 -11
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -2
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/styled.js +1 -2
- package/dist/es2019/components/Article/WhatsNewArticle/styled.js +3 -4
- package/dist/es2019/components/Article/styled.js +1 -2
- package/dist/es2019/components/ArticlesList/ArticlesList.js +1 -2
- package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +2 -3
- package/dist/es2019/components/ArticlesList/ArticlesListItem/styled.js +8 -9
- package/dist/es2019/components/HelpContentButton/styled.js +5 -6
- package/dist/es2019/components/RelatedArticles/styled.js +1 -2
- package/dist/es2019/components/Search/SearchInput/index.js +1 -0
- package/dist/es2019/components/Search/SearchResults/SearchExternalSite.js +2 -3
- package/dist/es2019/components/Search/SearchResults/SearchResultsEmpty.js +2 -3
- package/dist/es2019/components/Search/SearchResults/styled.js +3 -4
- package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -2
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +1 -2
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +1 -2
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +6 -7
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +1 -2
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +1 -2
- package/dist/es2019/components/WhatsNew/WhatsNewResults/styled.js +1 -2
- package/dist/es2019/util/styled.js +15 -16
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -2
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/styled.js +1 -2
- package/dist/esm/components/Article/WhatsNewArticle/styled.js +3 -4
- package/dist/esm/components/Article/styled.js +1 -2
- package/dist/esm/components/ArticlesList/ArticlesList.js +1 -2
- package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +2 -3
- package/dist/esm/components/ArticlesList/ArticlesListItem/styled.js +8 -9
- package/dist/esm/components/HelpContentButton/styled.js +1 -2
- package/dist/esm/components/RelatedArticles/styled.js +1 -2
- package/dist/esm/components/Search/SearchInput/index.js +1 -0
- package/dist/esm/components/Search/SearchResults/SearchExternalSite.js +2 -3
- package/dist/esm/components/Search/SearchResults/SearchResultsEmpty.js +2 -3
- package/dist/esm/components/Search/SearchResults/styled.js +3 -4
- package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -2
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +1 -2
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +1 -2
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +6 -7
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +1 -2
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +1 -2
- package/dist/esm/components/WhatsNew/WhatsNewResults/styled.js +1 -2
- package/dist/esm/util/styled.js +9 -10
- package/dist/esm/version.json +1 -1
- package/package.json +2 -2
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
4
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
|
-
import { token } from '@atlaskit/tokens';
|
|
6
5
|
export const ArticleFeedbackContainer = styled.div`
|
|
7
6
|
position: relative;
|
|
8
7
|
`;
|
|
9
8
|
export const ArticleFeedbackText = styled.div`
|
|
10
9
|
font-size: 0.75rem;
|
|
11
10
|
font-weight: bold;
|
|
12
|
-
color: ${
|
|
11
|
+
color: ${`var(--ds-text-subtlest, ${colors.N200})`};
|
|
13
12
|
line-height: ${gridSize() * 4}px;
|
|
14
13
|
position: relative;
|
|
15
14
|
display: inline-block;
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import { fontSize, fontSizeSmall, gridSize } from '@atlaskit/theme/constants';
|
|
4
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
|
-
import { token } from '@atlaskit/tokens';
|
|
6
5
|
export const WhatsNewTypeTitle = styled.span`
|
|
7
6
|
text-decoration: none;
|
|
8
|
-
color: ${
|
|
7
|
+
color: ${`var(--ds-text-subtlest, ${colors.N300})`};
|
|
9
8
|
font-size: ${fontSize()}px;
|
|
10
9
|
vertical-align: middle;
|
|
11
10
|
padding-left: ${gridSize() / 2}px;
|
|
@@ -19,7 +18,7 @@ export const WhatsNewIconContainer = styled.div`
|
|
|
19
18
|
`;
|
|
20
19
|
export const WhatsNewTitleText = styled.span`
|
|
21
20
|
text-decoration: none;
|
|
22
|
-
color: ${
|
|
21
|
+
color: ${`var(--ds-text, ${colors.N800})`};
|
|
23
22
|
font-size: ${fontSize()}px;
|
|
24
23
|
font-weight: 600;
|
|
25
24
|
white-space: normal;
|
|
@@ -29,7 +28,7 @@ export const WhatsNewTitleText = styled.span`
|
|
|
29
28
|
`;
|
|
30
29
|
export const WhatsNewRelatedLinksTitleText = styled.span`
|
|
31
30
|
text-decoration: none;
|
|
32
|
-
color: ${
|
|
31
|
+
color: ${`var(--ds-text, ${colors.N800})`};
|
|
33
32
|
font-size: ${fontSizeSmall()}px;
|
|
34
33
|
font-weight: 600;
|
|
35
34
|
white-space: normal;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
4
|
-
import { token } from '@atlaskit/tokens';
|
|
5
4
|
export const ArticleContainer = styled.div`
|
|
6
5
|
padding: ${gridSize() * 2}px ${gridSize() * 3}px;
|
|
7
6
|
position: absolute;
|
|
8
7
|
height: 100%;
|
|
9
8
|
width: 100%;
|
|
10
9
|
top: 0;
|
|
11
|
-
background-color: ${
|
|
10
|
+
background-color: ${"var(--ds-surface, #FFFFFF)"};
|
|
12
11
|
left: 100%;
|
|
13
12
|
flex: 1;
|
|
14
13
|
flex-direction: column;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
3
3
|
import { N30 } from '@atlaskit/theme/colors';
|
|
4
|
-
import { token } from '@atlaskit/tokens';
|
|
5
4
|
import AnimateHeight from 'react-animate-height';
|
|
6
5
|
import ArticlesListItem from './ArticlesListItem';
|
|
7
6
|
import { MIN_ITEMS_TO_DISPLAY, ANIMATE_HEIGHT_TRANSITION_DURATION_MS } from './constants';
|
|
@@ -9,7 +8,7 @@ import { MIN_ITEMS_TO_DISPLAY, ANIMATE_HEIGHT_TRANSITION_DURATION_MS } from './c
|
|
|
9
8
|
const getStyles = style => {
|
|
10
9
|
if (style === 'secondary') {
|
|
11
10
|
return {
|
|
12
|
-
border: `2px solid ${
|
|
11
|
+
border: `2px solid ${`var(--ds-border, ${N30})`}`,
|
|
13
12
|
padding: `${gridSize() * 2}px`,
|
|
14
13
|
marginBottom: `${gridSize() * 1.5}px`
|
|
15
14
|
};
|
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import * as colors from '@atlaskit/theme/colors';
|
|
3
3
|
import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
|
|
4
4
|
import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
|
|
5
|
-
import { token } from '@atlaskit/tokens';
|
|
6
5
|
import { injectIntl } from 'react-intl-next';
|
|
7
6
|
import { name as packageName, version as packageVersion } from '../../../version.json';
|
|
8
7
|
import { ArticlesListItemWrapper, ArticlesListItemContainer, ArticlesListItemTitleText, ArticlesListItemDescription, ArticlesListItemLinkIcon } from './styled';
|
|
@@ -42,8 +41,8 @@ export const ArticlesListItem = ({
|
|
|
42
41
|
}, /*#__PURE__*/React.createElement(ArticlesListItemContainer, null, /*#__PURE__*/React.createElement(ArticlesListItemTitleText, null, title, href && /*#__PURE__*/React.createElement(ArticlesListItemLinkIcon, null, /*#__PURE__*/React.createElement(ShortcutIcon, {
|
|
43
42
|
size: "small",
|
|
44
43
|
label: "",
|
|
45
|
-
primaryColor:
|
|
46
|
-
secondaryColor:
|
|
44
|
+
primaryColor: `var(--ds-icon-subtle, ${colors.N90})`,
|
|
45
|
+
secondaryColor: `var(--ds-icon-subtle, ${colors.N90})`
|
|
47
46
|
})))), /*#__PURE__*/React.createElement(ArticlesListItemDescription, null, description));
|
|
48
47
|
};
|
|
49
48
|
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import { fontSize, gridSize } from '@atlaskit/theme/constants';
|
|
4
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
|
-
import { token } from '@atlaskit/tokens';
|
|
6
5
|
export const ArticlesListItemWrapper = styled.a({
|
|
7
6
|
position: `relative`,
|
|
8
7
|
boxSizing: `border-box`,
|
|
@@ -10,22 +9,22 @@ export const ArticlesListItemWrapper = styled.a({
|
|
|
10
9
|
display: `block`,
|
|
11
10
|
textDecoration: `none`,
|
|
12
11
|
cursor: `pointer`,
|
|
13
|
-
color: `${
|
|
12
|
+
color: `${`var(--ds-text-subtlest, ${colors.N200})`}`,
|
|
14
13
|
borderRadius: `3px`,
|
|
15
|
-
backgroundColor: `${
|
|
14
|
+
backgroundColor: `${"var(--ds-background-neutral-subtle, transparent)"}`,
|
|
16
15
|
'&:hover, &:focus, &:visited, &:active': {
|
|
17
16
|
textDecoration: `none`,
|
|
18
17
|
outline: `none`,
|
|
19
18
|
outlineOffset: `none`
|
|
20
19
|
},
|
|
21
20
|
'&:focus': {
|
|
22
|
-
boxShadow: `${
|
|
21
|
+
boxShadow: `${`var(--ds-border-focused, ${colors.B100})`} 0px 0px 0px 2px inset`
|
|
23
22
|
},
|
|
24
23
|
'&:hover': {
|
|
25
|
-
backgroundColor: `${
|
|
24
|
+
backgroundColor: `${`var(--ds-background-neutral-subtle-hovered, ${colors.N30})`}`
|
|
26
25
|
},
|
|
27
26
|
'&:active': {
|
|
28
|
-
backgroundColor: `${
|
|
27
|
+
backgroundColor: `${`var(--ds-background-neutral-subtle-pressed, ${colors.B50})`}`
|
|
29
28
|
}
|
|
30
29
|
}, props => props.styles);
|
|
31
30
|
export const ArticlesListItemContainer = styled.div`
|
|
@@ -36,7 +35,7 @@ export const ArticlesListItemTypeTitle = styled.div`
|
|
|
36
35
|
font-weight: bold;
|
|
37
36
|
font-size: 11px;
|
|
38
37
|
line-height: ${gridSize() * 2}px;
|
|
39
|
-
color: ${
|
|
38
|
+
color: ${`var(--ds-text-subtlest, ${colors.N200})`};
|
|
40
39
|
padding-bottom: ${gridSize() / 2}px;
|
|
41
40
|
`;
|
|
42
41
|
export const ArticlesListItemLinkIcon = styled.span`
|
|
@@ -46,7 +45,7 @@ export const ArticlesListItemLinkIcon = styled.span`
|
|
|
46
45
|
`;
|
|
47
46
|
export const ArticlesListItemTitleText = styled.span`
|
|
48
47
|
text-decoration: none;
|
|
49
|
-
color: ${
|
|
48
|
+
color: ${`var(--ds-text, ${colors.N800})`};
|
|
50
49
|
font-size: ${fontSize()}px;
|
|
51
50
|
font-weight: 600;
|
|
52
51
|
display: inline-block;
|
|
@@ -58,6 +57,6 @@ export const ArticlesListItemTitleText = styled.span`
|
|
|
58
57
|
export const ArticlesListItemDescription = styled.p`
|
|
59
58
|
display: block;
|
|
60
59
|
line-height: ${gridSize() * 2.5}px;
|
|
61
|
-
color: ${
|
|
60
|
+
color: ${`var(--ds-text-subtle, ${colors.N400})`};
|
|
62
61
|
margin: 0;
|
|
63
62
|
`;
|
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
4
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
5
|
-
import { token } from '@atlaskit/tokens';
|
|
6
5
|
export const HelpContentButtonContainer = styled.a`
|
|
7
6
|
display: block;
|
|
8
7
|
cursor: pointer;
|
|
9
8
|
width: calc(100% - ${gridSize() * 2}px);
|
|
10
|
-
color: ${
|
|
9
|
+
color: ${`var(--ds-text-subtle, ${colors.N600})`};
|
|
11
10
|
padding: ${gridSize}px;
|
|
12
11
|
border-radius: 3px;
|
|
13
12
|
|
|
@@ -18,19 +17,19 @@ export const HelpContentButtonContainer = styled.a`
|
|
|
18
17
|
text-decoration: none;
|
|
19
18
|
outline: none;
|
|
20
19
|
outline-offset: none;
|
|
21
|
-
color: ${
|
|
20
|
+
color: ${`var(--ds-text-subtle, ${colors.N600})`};
|
|
22
21
|
}
|
|
23
22
|
|
|
24
23
|
&:focus {
|
|
25
|
-
box-shadow: ${
|
|
24
|
+
box-shadow: ${`var(--ds-border-focused, ${colors.B100})`} 0 0 0 2px inset;
|
|
26
25
|
}
|
|
27
26
|
|
|
28
27
|
&:hover {
|
|
29
|
-
background-color: ${
|
|
28
|
+
background-color: ${`var(--ds-background-neutral-subtle-hovered, ${colors.N30})`};
|
|
30
29
|
}
|
|
31
30
|
|
|
32
31
|
&:active {
|
|
33
|
-
background-color: ${
|
|
32
|
+
background-color: ${`var(--ds-background-neutral-subtle-pressed, ${colors.B50})`};
|
|
34
33
|
}
|
|
35
34
|
`;
|
|
36
35
|
export const HelpContentButtonIcon = styled.div`
|
|
@@ -3,7 +3,6 @@ import { css } from '@emotion/core';
|
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
5
|
import { gridSize, fontSize } from '@atlaskit/theme/constants';
|
|
6
|
-
import { token } from '@atlaskit/tokens';
|
|
7
6
|
|
|
8
7
|
const baseHeading = (size, lineHeight) => `
|
|
9
8
|
font-size: ${size / fontSize()}em;
|
|
@@ -19,7 +18,7 @@ export const truncate = (width = '100%') => css`
|
|
|
19
18
|
`;
|
|
20
19
|
export const RelatedArticlesTitle = styled.div`
|
|
21
20
|
${baseHeading(16, 20)}
|
|
22
|
-
color: ${
|
|
21
|
+
color: ${`var(--ds-text, ${colors.N800})`};
|
|
23
22
|
font-weight: 600;
|
|
24
23
|
letter-spacing: -0.006em;
|
|
25
24
|
padding: ${gridSize() * 2}px 0;
|
|
@@ -77,6 +77,7 @@ export const SearchInput = ({
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
return /*#__PURE__*/React.createElement(SearchInputContainer, null, /*#__PURE__*/React.createElement(Textfield, {
|
|
80
|
+
title: "Help articles search input",
|
|
80
81
|
autoComplete: "off",
|
|
81
82
|
ref: inputRef,
|
|
82
83
|
name: "help-search-input",
|
|
@@ -6,7 +6,6 @@ import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
|
|
|
6
6
|
import { injectIntl } from 'react-intl-next';
|
|
7
7
|
import { messages } from '../../../messages';
|
|
8
8
|
import { SearchResultSearchExternalSiteContainer } from './styled';
|
|
9
|
-
import { token } from '@atlaskit/tokens';
|
|
10
9
|
export const SearchExternalSite = ({
|
|
11
10
|
searchExternalUrl,
|
|
12
11
|
onSearchExternalUrlClick,
|
|
@@ -36,8 +35,8 @@ export const SearchExternalSite = ({
|
|
|
36
35
|
iconAfter: /*#__PURE__*/React.createElement(ShortcutIcon, {
|
|
37
36
|
size: "small",
|
|
38
37
|
label: "",
|
|
39
|
-
primaryColor:
|
|
40
|
-
secondaryColor:
|
|
38
|
+
primaryColor: `var(--ds-icon-subtle, ${colors.N90})`,
|
|
39
|
+
secondaryColor: `var(--ds-icon-subtle, ${colors.N90})`
|
|
41
40
|
}),
|
|
42
41
|
spacing: "compact",
|
|
43
42
|
href: searchExternalUrl,
|
|
@@ -3,7 +3,6 @@ import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
|
|
|
3
3
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
4
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
5
5
|
import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
|
|
6
|
-
import { token } from '@atlaskit/tokens';
|
|
7
6
|
import { injectIntl } from 'react-intl-next';
|
|
8
7
|
import NotFoundImage from '../../../assets/NotFoundImage';
|
|
9
8
|
import { messages } from '../../../messages';
|
|
@@ -37,8 +36,8 @@ export const SearchResultsEmpty = ({
|
|
|
37
36
|
iconAfter: /*#__PURE__*/React.createElement(ShortcutIcon, {
|
|
38
37
|
size: "small",
|
|
39
38
|
label: "",
|
|
40
|
-
primaryColor:
|
|
41
|
-
secondaryColor:
|
|
39
|
+
primaryColor: `var(--ds-icon-subtle, ${colors.N90})`,
|
|
40
|
+
secondaryColor: `var(--ds-icon-subtle, ${colors.N90})`
|
|
42
41
|
}),
|
|
43
42
|
spacing: "compact",
|
|
44
43
|
href: searchExternalUrl,
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
4
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
|
-
import { token } from '@atlaskit/tokens';
|
|
6
5
|
export const SearchResultsContainer = styled.div`
|
|
7
6
|
position: absolute;
|
|
8
7
|
height: 100%;
|
|
9
8
|
width: 100%;
|
|
10
9
|
top: 0;
|
|
11
|
-
background-color: ${
|
|
10
|
+
background-color: ${"var(--ds-surface, #FFFFFF)"};
|
|
12
11
|
flex: 1;
|
|
13
12
|
flex-direction: column;
|
|
14
13
|
box-sizing: border-box;
|
|
@@ -30,7 +29,7 @@ export const SearchResultEmptyMessageText = styled.div`
|
|
|
30
29
|
text-align: center;
|
|
31
30
|
|
|
32
31
|
p {
|
|
33
|
-
color: ${
|
|
32
|
+
color: ${`var(--ds-text-subtlest, ${colors.N200})`};
|
|
34
33
|
}
|
|
35
34
|
`;
|
|
36
35
|
export const SearchResultSearchExternalSiteContainer = styled.div`
|
|
@@ -38,6 +37,6 @@ export const SearchResultSearchExternalSiteContainer = styled.div`
|
|
|
38
37
|
text-align: center;
|
|
39
38
|
|
|
40
39
|
p {
|
|
41
|
-
color: ${
|
|
40
|
+
color: ${`var(--ds-text-subtlest, ${colors.N200})`};
|
|
42
41
|
}
|
|
43
42
|
`;
|
|
@@ -2,7 +2,6 @@ import React, { useCallback } from 'react';
|
|
|
2
2
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
3
3
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
4
|
import LightbulbIcon from '@atlaskit/icon/glyph/lightbulb';
|
|
5
|
-
import { token } from '@atlaskit/tokens';
|
|
6
5
|
import { injectIntl } from 'react-intl-next';
|
|
7
6
|
import { name as packageName, version as packageVersion } from '../../../version.json';
|
|
8
7
|
import { useWhatsNewArticleContext } from '../../contexts/whatsNewArticleContext';
|
|
@@ -48,7 +47,7 @@ export const WhatsNewButton = ({
|
|
|
48
47
|
productName
|
|
49
48
|
}) : formatMessage(messages.help_whats_new_button_label_without_product_name),
|
|
50
49
|
icon: /*#__PURE__*/React.createElement(LightbulbIcon, {
|
|
51
|
-
primaryColor:
|
|
50
|
+
primaryColor: `var(--ds-icon-subtle, ${colors.N600})`,
|
|
52
51
|
size: "medium",
|
|
53
52
|
label: ""
|
|
54
53
|
})
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
4
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
|
-
import { token } from '@atlaskit/tokens';
|
|
6
5
|
export const WhatsNewResultsEmptyMessageImage = styled.div`
|
|
7
6
|
padding: ${3 * gridSize()}px ${3 * gridSize()}px 0 ${3 * gridSize()}px;
|
|
8
7
|
text-align: center;
|
|
@@ -12,6 +11,6 @@ export const WhatsNewResultsEmptyMessageText = styled.div`
|
|
|
12
11
|
text-align: center;
|
|
13
12
|
|
|
14
13
|
p {
|
|
15
|
-
color: ${
|
|
14
|
+
color: ${`var(--ds-text-subtlest, ${colors.N200})`};
|
|
16
15
|
}
|
|
17
16
|
`;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
4
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
|
-
import { token } from '@atlaskit/tokens';
|
|
6
5
|
export const SearchResultEmptyMessageImage = styled.div`
|
|
7
6
|
padding: ${3 * gridSize()}px ${3 * gridSize()}px 0 ${3 * gridSize()}px;
|
|
8
7
|
text-align: center;
|
|
@@ -12,6 +11,6 @@ export const SearchResultEmptyMessageText = styled.div`
|
|
|
12
11
|
text-align: center;
|
|
13
12
|
|
|
14
13
|
p {
|
|
15
|
-
color: ${
|
|
14
|
+
color: ${`var(--ds-text-subtlest, ${colors.N200})`};
|
|
16
15
|
}
|
|
17
16
|
`;
|
|
@@ -3,7 +3,6 @@ import styled from '@emotion/styled';
|
|
|
3
3
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
4
4
|
import { fontSize, fontSizeSmall } from '@atlaskit/theme/constants';
|
|
5
5
|
import * as colors from '@atlaskit/theme/colors';
|
|
6
|
-
import { token } from '@atlaskit/tokens';
|
|
7
6
|
export const WhatsNewResultListItemWrapper = styled.a({
|
|
8
7
|
position: `relative`,
|
|
9
8
|
boxSizing: `border-box`,
|
|
@@ -11,8 +10,8 @@ export const WhatsNewResultListItemWrapper = styled.a({
|
|
|
11
10
|
display: `block`,
|
|
12
11
|
textDecoration: `none`,
|
|
13
12
|
cursor: `pointer`,
|
|
14
|
-
color: `${
|
|
15
|
-
backgroundColor: `${
|
|
13
|
+
color: `${`var(--ds-text-subtlest, ${colors.N200})`}`,
|
|
14
|
+
backgroundColor: `${`var(--ds-background-neutral-subtle, ${colors.N0})`}`,
|
|
16
15
|
borderRadius: `3px`,
|
|
17
16
|
'&:hover, &:focus, &:visited, &:active': {
|
|
18
17
|
textDecoration: `none`,
|
|
@@ -20,13 +19,13 @@ export const WhatsNewResultListItemWrapper = styled.a({
|
|
|
20
19
|
outlineOffset: `none`
|
|
21
20
|
},
|
|
22
21
|
'&:focus': {
|
|
23
|
-
boxShadow: `${
|
|
22
|
+
boxShadow: `${`var(--ds-border-focused, ${colors.B100})`} 0px 0px 0px 2px inset`
|
|
24
23
|
},
|
|
25
24
|
'&:hover': {
|
|
26
|
-
backgroundColor: `${
|
|
25
|
+
backgroundColor: `${`var(--ds-background-neutral-subtle-hovered, ${colors.N30})`}`
|
|
27
26
|
},
|
|
28
27
|
'&:active': {
|
|
29
|
-
backgroundColor: `${
|
|
28
|
+
backgroundColor: `${`var(--ds-background-neutral-subtle-pressed, ${colors.B50})`}`
|
|
30
29
|
}
|
|
31
30
|
}, props => props.styles);
|
|
32
31
|
export const WhatsNewResultListItemTitleContainer = styled.div`
|
|
@@ -47,6 +46,6 @@ export const WhatsNewResultListItemTitleText = styled.span`
|
|
|
47
46
|
export const WhatsNewResultListItemDescription = styled.p`
|
|
48
47
|
display: block;
|
|
49
48
|
line-height: ${gridSize() * 2.5}px;
|
|
50
|
-
color: ${
|
|
49
|
+
color: ${`var(--ds-text, ${colors.N800})`};
|
|
51
50
|
margin: 0;
|
|
52
51
|
`;
|
package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { useEffect, useState } from 'react';
|
|
2
2
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
3
3
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
|
-
import { token } from '@atlaskit/tokens';
|
|
5
4
|
import toDate from 'date-fns/toDate';
|
|
6
5
|
import isYesterday from 'date-fns/isYesterday';
|
|
7
6
|
import isToday from 'date-fns/isToday';
|
|
@@ -41,7 +40,7 @@ const WhatsNewResultsList = ({
|
|
|
41
40
|
key: key
|
|
42
41
|
}, /*#__PURE__*/React.createElement(WhatsNewResultsListGroupTitle, null, whatsNewArticlesGroupedByDate[key].title), whatsNewArticlesGroupedByDate[key].items.map((whatsNewArticle, i) => /*#__PURE__*/React.createElement(WhatsNewResultItem, {
|
|
43
42
|
styles: {
|
|
44
|
-
border: style === 'secondary' ? `2px solid ${
|
|
43
|
+
border: style === 'secondary' ? `2px solid ${`var(--ds-border, ${colors.N30})`}` : 0,
|
|
45
44
|
padding: style === 'secondary' ? `${gridSize()}px ${gridSize() * 2}px` : `${gridSize()}px`,
|
|
46
45
|
marginBottom: style === 'secondary' ? `${gridSize() * 1.5}px` : 0
|
|
47
46
|
},
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { css } from '@emotion/core';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
4
|
import { fontSizeSmall, gridSize } from '@atlaskit/theme/constants';
|
|
5
|
-
import { token } from '@atlaskit/tokens';
|
|
6
5
|
import * as colors from '@atlaskit/theme/colors';
|
|
7
6
|
export const truncate = (width = '100%') => css`
|
|
8
7
|
overflow-x: hidden;
|
|
@@ -17,7 +16,7 @@ export const WhatsNewResultsListGroupWrapper = styled.div`
|
|
|
17
16
|
padding: ${gridSize()}px 0 ${gridSize()}px 0;
|
|
18
17
|
`;
|
|
19
18
|
export const WhatsNewResultsListGroupTitle = styled.div`
|
|
20
|
-
color: ${
|
|
19
|
+
color: ${`var(--ds-text-subtlest, ${colors.N200})`};
|
|
21
20
|
font-size: ${fontSizeSmall()}px;
|
|
22
21
|
font-weight: bold;
|
|
23
22
|
padding: 0 ${gridSize()}px ${gridSize()}px ${gridSize()}px;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
4
|
-
import { token } from '@atlaskit/tokens';
|
|
5
4
|
export const WhatsNewResultsContainer = styled.div`
|
|
6
5
|
position: absolute;
|
|
7
6
|
height: 100%;
|
|
8
7
|
width: 100%;
|
|
9
8
|
top: 0;
|
|
10
|
-
background-color: ${
|
|
9
|
+
background-color: ${"var(--ds-surface, #FFFFFF)"};
|
|
11
10
|
flex: 1;
|
|
12
11
|
flex-direction: column;
|
|
13
12
|
box-sizing: border-box;
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
4
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
|
-
import { token } from '@atlaskit/tokens';
|
|
6
5
|
import { keyframes } from '@emotion/core';
|
|
7
6
|
import { WHATS_NEW_ITEM_TYPES } from '../model/WhatsNew';
|
|
8
7
|
export const DividerLine = styled.div`
|
|
9
|
-
background-color: ${
|
|
8
|
+
background-color: ${`var(--ds-border, ${colors.N30A})`};
|
|
10
9
|
height: 2px;
|
|
11
10
|
width: 100%;
|
|
12
11
|
padding: 0 ${2 * gridSize()}px;
|
|
@@ -38,12 +37,12 @@ export const LoadingRectangle = styled.div`
|
|
|
38
37
|
animation-iteration-count: infinite;
|
|
39
38
|
animation-name: ${shimmer};
|
|
40
39
|
animation-timing-function: linear;
|
|
41
|
-
background-color: ${
|
|
40
|
+
background-color: ${`var(--ds-background-neutral, ${colors.N30})`};
|
|
42
41
|
background-image: linear-gradient(
|
|
43
42
|
to right,
|
|
44
|
-
${
|
|
45
|
-
${
|
|
46
|
-
${
|
|
43
|
+
${`var(--ds-background-neutral-subtle, ${colors.N30})`} 10%,
|
|
44
|
+
${`var(--ds-background-neutral, ${colors.N40})`} 20%,
|
|
45
|
+
${`var(--ds-background-neutral-subtle, ${colors.N30})`} 30%
|
|
47
46
|
);
|
|
48
47
|
background-repeat: no-repeat;
|
|
49
48
|
`;
|
|
@@ -64,12 +63,12 @@ export const LoadingCircle = styled.div`
|
|
|
64
63
|
animation-iteration-count: infinite;
|
|
65
64
|
animation-name: ${shimmer};
|
|
66
65
|
animation-timing-function: linear;
|
|
67
|
-
background-color: ${
|
|
66
|
+
background-color: ${`var(--ds-background-neutral, ${colors.N30})`};
|
|
68
67
|
background-image: linear-gradient(
|
|
69
68
|
to right,
|
|
70
|
-
${
|
|
71
|
-
${
|
|
72
|
-
${
|
|
69
|
+
${`var(--ds-background-neutral-subtle, ${colors.N30})`} 10%,
|
|
70
|
+
${`var(--ds-background-neutral, ${colors.N40})`} 20%,
|
|
71
|
+
${`var(--ds-background-neutral-subtle, ${colors.N30})`} 30%
|
|
73
72
|
);
|
|
74
73
|
background-repeat: no-repeat;
|
|
75
74
|
`;
|
|
@@ -89,22 +88,22 @@ export const WhatsNewTypeIcon = styled.div`
|
|
|
89
88
|
}) => {
|
|
90
89
|
switch (type) {
|
|
91
90
|
case WHATS_NEW_ITEM_TYPES.IMPROVEMENT:
|
|
92
|
-
return
|
|
91
|
+
return `var(--ds-icon-warning, ${colors.Y200})`;
|
|
93
92
|
|
|
94
93
|
case WHATS_NEW_ITEM_TYPES.NEW_FEATURE:
|
|
95
|
-
return
|
|
94
|
+
return `var(--ds-icon-success, ${colors.G300})`;
|
|
96
95
|
|
|
97
96
|
case WHATS_NEW_ITEM_TYPES.FIX:
|
|
98
|
-
return
|
|
97
|
+
return `var(--ds-icon-information, ${colors.B500})`;
|
|
99
98
|
|
|
100
99
|
case WHATS_NEW_ITEM_TYPES.EXPERIMENT:
|
|
101
|
-
return
|
|
100
|
+
return `var(--ds-icon-discovery, ${colors.P500})`;
|
|
102
101
|
|
|
103
102
|
case WHATS_NEW_ITEM_TYPES.REMOVED:
|
|
104
|
-
return
|
|
103
|
+
return `var(--ds-icon-disabled, ${colors.N700})`;
|
|
105
104
|
|
|
106
105
|
default:
|
|
107
|
-
return
|
|
106
|
+
return `var(--ds-icon, ${colors.N400})`;
|
|
108
107
|
}
|
|
109
108
|
}};
|
|
110
109
|
|
package/dist/es2019/version.json
CHANGED
|
@@ -11,7 +11,6 @@ import { RadioGroup } from '@atlaskit/radio';
|
|
|
11
11
|
import { Checkbox } from '@atlaskit/checkbox';
|
|
12
12
|
import TextArea from '@atlaskit/textarea';
|
|
13
13
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
14
|
-
import { token } from '@atlaskit/tokens';
|
|
15
14
|
import CheckCircleIcon from '@atlaskit/icon/glyph/check-circle'; // AFP-2532 TODO: Fix automatic suppressions below
|
|
16
15
|
// eslint-disable-next-line @atlassian/tangerine/import/entry-points
|
|
17
16
|
|
|
@@ -223,7 +222,7 @@ export var ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
|
|
|
223
222
|
verticalAlign: 'middle'
|
|
224
223
|
}
|
|
225
224
|
}, /*#__PURE__*/React.createElement(CheckCircleIcon, {
|
|
226
|
-
primaryColor:
|
|
225
|
+
primaryColor: "var(--ds-icon-success, ".concat(colors.G400, ")"),
|
|
227
226
|
label: ""
|
|
228
227
|
})), /*#__PURE__*/React.createElement(ArticleFeedbackText, null, formatMessage(messages.help_article_rating_form_Success)));
|
|
229
228
|
}
|
|
@@ -6,7 +6,6 @@ var _templateObject, _templateObject2, _templateObject3;
|
|
|
6
6
|
import styled from '@emotion/styled';
|
|
7
7
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
8
8
|
import * as colors from '@atlaskit/theme/colors';
|
|
9
|
-
import { token } from '@atlaskit/tokens';
|
|
10
9
|
export var ArticleFeedbackContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n"])));
|
|
11
|
-
export var ArticleFeedbackText = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-size: 0.75rem;\n font-weight: bold;\n color: ", ";\n line-height: ", "px;\n position: relative;\n display: inline-block;\n"])),
|
|
10
|
+
export var ArticleFeedbackText = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-size: 0.75rem;\n font-weight: bold;\n color: ", ";\n line-height: ", "px;\n position: relative;\n display: inline-block;\n"])), "var(--ds-text-subtlest, ".concat(colors.N200, ")"), gridSize() * 4);
|
|
12
11
|
export var ArticleFeedbackAnswerWrapper = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n padding-top: ", "px;\n"])), gridSize() * 2);
|
|
@@ -6,10 +6,9 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _temp
|
|
|
6
6
|
import styled from '@emotion/styled';
|
|
7
7
|
import { fontSize, fontSizeSmall, gridSize } from '@atlaskit/theme/constants';
|
|
8
8
|
import * as colors from '@atlaskit/theme/colors';
|
|
9
|
-
|
|
10
|
-
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: ", "px;\n line-height: ", "px;\n white-space: normal;\n overflow-x: hidden;\n"])), token('color.text.subtlest', colors.N300), fontSize(), gridSize() / 2, gridSize() * 2.5);
|
|
9
|
+
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: ", "px;\n line-height: ", "px;\n white-space: normal;\n overflow-x: hidden;\n"])), "var(--ds-text-subtlest, ".concat(colors.N300, ")"), fontSize(), gridSize() / 2, gridSize() * 2.5);
|
|
11
10
|
export var WhatsNewIconContainer = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: block;\n padding-bottom: ", "px;\n"])), gridSize());
|
|
12
|
-
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: ", "px;\n display: block;\n"])),
|
|
13
|
-
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: ", "px;\n display: block;\n"])),
|
|
11
|
+
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: ", "px;\n display: block;\n"])), "var(--ds-text, ".concat(colors.N800, ")"), fontSize(), gridSize());
|
|
12
|
+
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: ", "px;\n display: block;\n"])), "var(--ds-text, ".concat(colors.N800, ")"), fontSizeSmall(), gridSize());
|
|
14
13
|
export var RelatedLinkContainer = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n margin-bottom: ", "px;\n"])), gridSize());
|
|
15
14
|
export var ExternalLinkIconContainer = styled.div(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n padding-left: ", "px;\n"])), gridSize() / 2);
|
|
@@ -5,5 +5,4 @@ var _templateObject;
|
|
|
5
5
|
/** @jsx jsx */
|
|
6
6
|
import styled from '@emotion/styled';
|
|
7
7
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
8
|
-
|
|
9
|
-
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, token('elevation.surface', '#FFFFFF'));
|
|
8
|
+
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)");
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
3
3
|
import { N30 } from '@atlaskit/theme/colors';
|
|
4
|
-
import { token } from '@atlaskit/tokens';
|
|
5
4
|
import AnimateHeight from 'react-animate-height';
|
|
6
5
|
import ArticlesListItem from './ArticlesListItem';
|
|
7
6
|
import { MIN_ITEMS_TO_DISPLAY, ANIMATE_HEIGHT_TRANSITION_DURATION_MS } from './constants';
|
|
@@ -9,7 +8,7 @@ import { MIN_ITEMS_TO_DISPLAY, ANIMATE_HEIGHT_TRANSITION_DURATION_MS } from './c
|
|
|
9
8
|
var getStyles = function getStyles(style) {
|
|
10
9
|
if (style === 'secondary') {
|
|
11
10
|
return {
|
|
12
|
-
border: "2px solid ".concat(
|
|
11
|
+
border: "2px solid ".concat("var(--ds-border, ".concat(N30, ")")),
|
|
13
12
|
padding: "".concat(gridSize() * 2, "px"),
|
|
14
13
|
marginBottom: "".concat(gridSize() * 1.5, "px")
|
|
15
14
|
};
|
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import * as colors from '@atlaskit/theme/colors';
|
|
3
3
|
import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
|
|
4
4
|
import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
|
|
5
|
-
import { token } from '@atlaskit/tokens';
|
|
6
5
|
import { injectIntl } from 'react-intl-next';
|
|
7
6
|
import { name as packageName, version as packageVersion } from '../../../version.json';
|
|
8
7
|
import { ArticlesListItemWrapper, ArticlesListItemContainer, ArticlesListItemTitleText, ArticlesListItemDescription, ArticlesListItemLinkIcon } from './styled';
|
|
@@ -43,8 +42,8 @@ export var ArticlesListItem = function ArticlesListItem(_ref) {
|
|
|
43
42
|
}, /*#__PURE__*/React.createElement(ArticlesListItemContainer, null, /*#__PURE__*/React.createElement(ArticlesListItemTitleText, null, title, href && /*#__PURE__*/React.createElement(ArticlesListItemLinkIcon, null, /*#__PURE__*/React.createElement(ShortcutIcon, {
|
|
44
43
|
size: "small",
|
|
45
44
|
label: "",
|
|
46
|
-
primaryColor:
|
|
47
|
-
secondaryColor:
|
|
45
|
+
primaryColor: "var(--ds-icon-subtle, ".concat(colors.N90, ")"),
|
|
46
|
+
secondaryColor: "var(--ds-icon-subtle, ".concat(colors.N90, ")")
|
|
48
47
|
})))), /*#__PURE__*/React.createElement(ArticlesListItemDescription, null, description));
|
|
49
48
|
};
|
|
50
49
|
|