@atlaskit/help 7.5.0 → 7.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/Article/ArticleLoadingFail/index.js +3 -3
- package/dist/cjs/components/Article/ArticleLoadingFail/styled.js +3 -2
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +3 -3
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +3 -3
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/index.js +22 -10
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/styled.js +7 -3
- package/dist/cjs/components/Article/HelpArticle/index.js +1 -1
- package/dist/cjs/components/Article/WhatsNewArticle/index.js +4 -4
- package/dist/cjs/components/Article/WhatsNewArticle/styled.js +11 -6
- package/dist/cjs/components/Article/styled.js +3 -1
- package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/cjs/components/ArticlesList/ArticlesListItem/styled.js +37 -7
- package/dist/cjs/components/ArticlesList/styled.js +8 -2
- package/dist/cjs/components/HelpContentButton/index.js +1 -1
- package/dist/cjs/components/HelpContentButton/styled.js +11 -10
- package/dist/cjs/components/RelatedArticles/index.js +11 -7
- package/dist/cjs/components/RelatedArticles/styled.js +10 -4
- package/dist/cjs/components/Search/SearchInput/index.js +10 -5
- package/dist/cjs/components/Search/SearchInput/styled.js +7 -3
- package/dist/cjs/components/Search/SearchResults/SearchExternalSite.js +2 -2
- package/dist/cjs/components/Search/SearchResults/SearchResultsEmpty.js +2 -2
- package/dist/cjs/components/Search/SearchResults/styled.js +10 -5
- package/dist/cjs/components/ShowMoreButton/index.js +3 -3
- package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +5 -2
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.js +2 -2
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +5 -2
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +14 -4
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +2 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +11 -4
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -2
- package/dist/cjs/components/WhatsNew/WhatsNewResults/styled.js +6 -4
- package/dist/cjs/components/styled.js +7 -3
- package/dist/cjs/util/styled.js +30 -7
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/Article/ArticleLoadingFail/index.js +2 -2
- package/dist/es2019/components/Article/ArticleLoadingFail/styled.js +3 -2
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +2 -2
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +2 -2
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/index.js +22 -11
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/styled.js +6 -3
- package/dist/es2019/components/Article/HelpArticle/index.js +1 -1
- package/dist/es2019/components/Article/WhatsNewArticle/index.js +2 -2
- package/dist/es2019/components/Article/WhatsNewArticle/styled.js +11 -6
- package/dist/es2019/components/Article/styled.js +2 -1
- package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/es2019/components/ArticlesList/ArticlesListItem/styled.js +37 -7
- package/dist/es2019/components/ArticlesList/styled.js +6 -2
- package/dist/es2019/components/HelpContentButton/index.js +1 -1
- package/dist/es2019/components/HelpContentButton/styled.js +54 -53
- package/dist/es2019/components/RelatedArticles/index.js +12 -8
- package/dist/es2019/components/RelatedArticles/styled.js +8 -4
- package/dist/es2019/components/Search/SearchInput/index.js +10 -6
- package/dist/es2019/components/Search/SearchInput/styled.js +7 -3
- package/dist/es2019/components/Search/SearchResults/SearchExternalSite.js +1 -1
- package/dist/es2019/components/Search/SearchResults/SearchResultsEmpty.js +1 -1
- package/dist/es2019/components/Search/SearchResults/styled.js +10 -5
- package/dist/es2019/components/ShowMoreButton/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +5 -2
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +5 -2
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +14 -4
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +3 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +9 -4
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -2
- package/dist/es2019/components/WhatsNew/WhatsNewResults/styled.js +6 -4
- package/dist/es2019/components/styled.js +6 -3
- package/dist/es2019/util/styled.js +48 -25
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/Article/ArticleLoadingFail/index.js +2 -2
- package/dist/esm/components/Article/ArticleLoadingFail/styled.js +3 -2
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +2 -2
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +2 -2
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/index.js +22 -11
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/styled.js +6 -3
- package/dist/esm/components/Article/HelpArticle/index.js +1 -1
- package/dist/esm/components/Article/WhatsNewArticle/index.js +2 -2
- package/dist/esm/components/Article/WhatsNewArticle/styled.js +11 -6
- package/dist/esm/components/Article/styled.js +2 -1
- package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/esm/components/ArticlesList/ArticlesListItem/styled.js +37 -7
- package/dist/esm/components/ArticlesList/styled.js +6 -2
- package/dist/esm/components/HelpContentButton/index.js +1 -1
- package/dist/esm/components/HelpContentButton/styled.js +11 -10
- package/dist/esm/components/RelatedArticles/index.js +12 -8
- package/dist/esm/components/RelatedArticles/styled.js +8 -4
- package/dist/esm/components/Search/SearchInput/index.js +10 -6
- package/dist/esm/components/Search/SearchInput/styled.js +7 -3
- package/dist/esm/components/Search/SearchResults/SearchExternalSite.js +1 -1
- package/dist/esm/components/Search/SearchResults/SearchResultsEmpty.js +1 -1
- package/dist/esm/components/Search/SearchResults/styled.js +10 -5
- package/dist/esm/components/ShowMoreButton/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +5 -2
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +5 -2
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +14 -4
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +2 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +9 -4
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -2
- package/dist/esm/components/WhatsNew/WhatsNewResults/styled.js +6 -4
- package/dist/esm/components/styled.js +6 -3
- package/dist/esm/util/styled.js +30 -7
- package/package.json +98 -98
- package/report.api.md +288 -301
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import styled from '@emotion/styled';
|
|
3
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
5
|
import { fontFallback } from '@atlaskit/theme/typography';
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
6
7
|
export var ArticlesListItemWrapper = styled.a({
|
|
7
8
|
position: 'relative',
|
|
8
9
|
boxSizing: 'border-box',
|
|
@@ -10,6 +11,7 @@ export var ArticlesListItemWrapper = styled.a({
|
|
|
10
11
|
display: 'block',
|
|
11
12
|
textDecoration: 'none',
|
|
12
13
|
cursor: 'pointer',
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
13
15
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")"),
|
|
14
16
|
borderRadius: '3px',
|
|
15
17
|
backgroundColor: "var(--ds-background-neutral-subtle, transparent)",
|
|
@@ -19,48 +21,59 @@ export var ArticlesListItemWrapper = styled.a({
|
|
|
19
21
|
outlineOffset: 'none'
|
|
20
22
|
},
|
|
21
23
|
'&:focus': {
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
22
25
|
boxShadow: "".concat("var(--ds-border-focused, ".concat(colors.B100, ")"), " 0px 0px 0px 2px inset")
|
|
23
26
|
},
|
|
24
27
|
'&:hover': {
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
25
29
|
backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat(colors.N30, ")")
|
|
26
30
|
},
|
|
27
31
|
'&:active': {
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
28
33
|
backgroundColor: "var(--ds-background-neutral-subtle-pressed, ".concat(colors.B50, ")")
|
|
29
34
|
}
|
|
30
|
-
},
|
|
35
|
+
},
|
|
36
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
|
|
37
|
+
function (props) {
|
|
31
38
|
return props.styles;
|
|
32
39
|
});
|
|
33
40
|
|
|
34
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
41
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
35
42
|
export var ArticlesListItemContainer = styled.div({
|
|
36
43
|
width: '100%',
|
|
37
44
|
whiteSpace: 'nowrap',
|
|
38
45
|
display: 'flex'
|
|
39
46
|
});
|
|
47
|
+
|
|
48
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
|
|
40
49
|
export var ArticlesListItemTitleSection = styled.div({
|
|
41
50
|
display: 'flex',
|
|
42
51
|
flexDirection: 'column',
|
|
43
52
|
flexGrow: 1
|
|
44
53
|
});
|
|
45
54
|
|
|
46
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
47
56
|
export var ArticlesListItemTypeTitle = styled.div({
|
|
57
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
48
58
|
font: "var(--ds-font-body-small, ".concat(fontFallback.body.small, ")"),
|
|
49
59
|
fontWeight: "var(--ds-font-weight-bold, bold)",
|
|
60
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
50
61
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")")
|
|
51
62
|
});
|
|
52
63
|
|
|
53
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
64
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
54
65
|
export var ArticlesListItemLinkIcon = styled.span({
|
|
55
66
|
alignSelf: 'auto',
|
|
56
67
|
paddingInlineStart: "var(--ds-space-050, 4px)",
|
|
57
68
|
verticalAlign: 'middle'
|
|
58
69
|
});
|
|
59
70
|
|
|
60
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
71
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
61
72
|
export var ArticlesListItemTitleText = styled.p({
|
|
62
73
|
textDecoration: 'none',
|
|
74
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
63
75
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
76
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
64
77
|
font: "var(--ds-font-heading-xsmall, ".concat(fontFallback.heading.xsmall, ")"),
|
|
65
78
|
display: 'inline-block',
|
|
66
79
|
whiteSpace: 'normal',
|
|
@@ -68,39 +81,56 @@ export var ArticlesListItemTitleText = styled.p({
|
|
|
68
81
|
marginBottom: "var(--ds-space-100, 4px)"
|
|
69
82
|
});
|
|
70
83
|
|
|
71
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
84
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
72
85
|
export var ArticlesListItemDescription = styled.p({
|
|
73
86
|
display: 'block',
|
|
74
87
|
lineHeight: '20px',
|
|
88
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
75
89
|
color: "var(--ds-text-subtle, ".concat(colors.N400, ")"),
|
|
76
90
|
margin: 0,
|
|
77
91
|
paddingBottom: "var(--ds-space-025, 2px)"
|
|
78
92
|
});
|
|
93
|
+
|
|
94
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
|
|
79
95
|
export var ArticlesListItemSource = styled.div({
|
|
80
96
|
display: 'flex',
|
|
81
97
|
alignItems: 'center',
|
|
98
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
82
99
|
font: "var(--ds-font-heading-xxsmall, ".concat(fontFallback.heading.xxsmall, ")"),
|
|
100
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
83
101
|
color: "var(--ds-text-subtlest, ".concat(colors.N400A, ")"),
|
|
84
102
|
padding: "var(--ds-space-050, 4px)".concat(" 0"),
|
|
85
103
|
fontWeight: "var(--ds-font-weight-bold, bold)",
|
|
86
104
|
textTransform: 'uppercase'
|
|
87
105
|
});
|
|
106
|
+
|
|
107
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
|
|
88
108
|
export var ArticlesListItemTrustFactor = styled.div({
|
|
89
109
|
display: 'flex',
|
|
90
110
|
alignItems: 'center',
|
|
111
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
91
112
|
font: "var(--ds-font-body-small, ".concat(fontFallback.body.small, ")"),
|
|
113
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
92
114
|
color: "var(--ds-text-subtlest, ".concat(colors.N400A, ")"),
|
|
93
115
|
paddingTop: "var(--ds-space-025, 2px)"
|
|
94
116
|
});
|
|
117
|
+
|
|
118
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
|
|
95
119
|
export var ArticlesListItemViewCount = styled.span({
|
|
96
120
|
paddingRight: "var(--ds-space-100, 8px)"
|
|
97
121
|
});
|
|
122
|
+
|
|
123
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
|
|
98
124
|
export var ArticlesListItemHelpfulCount = styled.span({
|
|
99
125
|
display: 'inline-flex',
|
|
100
126
|
paddingRight: "var(--ds-space-100, 8px)"
|
|
101
127
|
});
|
|
128
|
+
|
|
129
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
|
|
102
130
|
export var ArticlesListItemLastModified = styled.div({
|
|
131
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
103
132
|
font: "var(--ds-font-body-small, ".concat(fontFallback.body.small, ")"),
|
|
133
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
104
134
|
color: "var(--ds-text-subtlest, ".concat(colors.N400A, ")"),
|
|
105
135
|
padding: "var(--ds-space-050, 4px)".concat(" 0")
|
|
106
136
|
});
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
4
|
import { css } from '@emotion/react';
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import styled from '@emotion/styled';
|
|
5
7
|
export var truncate = function truncate() {
|
|
6
8
|
var width = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '100%';
|
|
@@ -8,18 +10,20 @@ export var truncate = function truncate() {
|
|
|
8
10
|
overflowX: 'hidden',
|
|
9
11
|
textOverflow: 'ellipsis',
|
|
10
12
|
whiteSpace: 'nowrap',
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
11
14
|
width: width
|
|
12
15
|
});
|
|
13
16
|
};
|
|
14
17
|
|
|
15
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
16
19
|
export var ArticlesListContainer = styled.div({
|
|
17
20
|
position: 'relative'
|
|
18
21
|
});
|
|
19
22
|
|
|
20
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
23
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
21
24
|
export var ToggleShowMoreArticlesContainer = styled.div({
|
|
22
25
|
padding: "var(--ds-space-100, 8px)".concat(" 0"),
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
23
27
|
span: {
|
|
24
28
|
margin: 0
|
|
25
29
|
}
|
|
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
|
|
|
7
7
|
var analitycsContextData = {
|
|
8
8
|
componentName: 'HelpContentButton',
|
|
9
9
|
packageName: "@atlaskit/help",
|
|
10
|
-
packageVersion: "7.5.
|
|
10
|
+
packageVersion: "7.5.2"
|
|
11
11
|
};
|
|
12
12
|
var HelpContentButton = function HelpContentButton(_ref) {
|
|
13
13
|
var _ref$id = _ref.id,
|
|
@@ -2,19 +2,20 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
|
|
|
2
2
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
6
|
import styled from 'styled-components';
|
|
6
7
|
import * as colors from '@atlaskit/theme/colors';
|
|
7
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled --
|
|
8
|
-
export var HelpContentButtonContainer = styled.a(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n
|
|
8
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
9
|
+
export var HelpContentButtonContainer = styled.a(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\tdisplay: block;\n\tcursor: pointer;\n\twidth: calc(100% - ", ");\n\tcolor: ", ";\n\tpadding: ", ";\n\tborder-radius: 3px;\n\n\t&:hover,\n\t&:focus,\n\t&:visited,\n\t&:active {\n\t\ttext-decoration: none;\n\t\toutline: none;\n\t\toutline-offset: none;\n\t\tcolor: ", ";\n\t}\n\n\t&:focus {\n\t\tbox-shadow: ", " 0 0 0 2px inset;\n\t}\n\n\t&:hover {\n\t\tbackground-color: ", ";\n\t}\n\n\t&:active {\n\t\tbackground-color: ", ";\n\t}\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
10
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled --
|
|
11
|
-
export var HelpContentButtonIcon = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n
|
|
11
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
12
|
+
export var HelpContentButtonIcon = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n\tdisplay: inline-block;\n\tvertical-align: middle;\n\twidth: 20px;\n\theight: 20px;\n\tborder-radius: 4px;\n\tposition: relative;\n\n\t& span {\n\t\tposition: absolute;\n\t\ttop: 50%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, -50%);\n\t}\n"])));
|
|
12
13
|
|
|
13
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled --
|
|
14
|
-
export var HelpContentButtonText = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n
|
|
14
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
15
|
+
export var HelpContentButtonText = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\twidth: calc(100% - 20px);\n\tdisplay: inline-block;\n\tvertical-align: middle;\n\tpadding: 0 ", ";\n\tbox-sizing: border-box;\n"])), "var(--ds-space-100, 8px)");
|
|
15
16
|
|
|
16
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled --
|
|
17
|
-
export var HelpContentButtonExternalLinkIcon = styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n
|
|
17
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
18
|
+
export var HelpContentButtonExternalLinkIcon = styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n\tdisplay: inline-block;\n\tvertical-align: middle;\n\tpadding-left: ", ";\n"])), "var(--ds-space-050, 4px)");
|
|
18
19
|
|
|
19
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled --
|
|
20
|
-
export var HelpContentButtonExternalNotificationIcon = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n
|
|
20
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
21
|
+
export var HelpContentButtonExternalNotificationIcon = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n\tdisplay: inline-block;\n\tvertical-align: middle;\n\tmargin-top: ", ";\n\tpadding-left: ", ";\n"])), "var(--ds-space-negative-050, -4px)", "var(--ds-space-050, 4px)");
|
|
@@ -16,9 +16,18 @@ import { DividerLine } from '../../util/styled';
|
|
|
16
16
|
import { RelatedArticlesTitle } from './styled';
|
|
17
17
|
import useCancellablePromise from '../../util/hooks/cancellablePromise';
|
|
18
18
|
import { usePrevious } from '../../util/hooks/previous';
|
|
19
|
-
|
|
19
|
+
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
21
|
+
import { css, jsx } from '@emotion/react';
|
|
20
22
|
var packageName = "@atlaskit/help";
|
|
21
|
-
var packageVersion = "7.5.
|
|
23
|
+
var packageVersion = "7.5.2";
|
|
24
|
+
var buttonStyles = css({
|
|
25
|
+
padding: '0',
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
27
|
+
'& span': {
|
|
28
|
+
margin: '0'
|
|
29
|
+
}
|
|
30
|
+
});
|
|
22
31
|
export var RelatedArticles = function RelatedArticles(_ref) {
|
|
23
32
|
var _ref$style = _ref.style,
|
|
24
33
|
style = _ref$style === void 0 ? 'primary' : _ref$style,
|
|
@@ -100,12 +109,7 @@ export var RelatedArticles = function RelatedArticles(_ref) {
|
|
|
100
109
|
}, jsx("p", null, jsx("strong", null, formatMessage(messages.help_related_article_endpoint_error_title))), jsx("p", null, formatMessage(messages.help_related_article_endpoint_error_description)), jsx("p", null, jsx(Button, {
|
|
101
110
|
appearance: "link",
|
|
102
111
|
spacing: "compact",
|
|
103
|
-
css:
|
|
104
|
-
padding: '0',
|
|
105
|
-
'& span': {
|
|
106
|
-
margin: '0'
|
|
107
|
-
}
|
|
108
|
-
},
|
|
112
|
+
css: buttonStyles,
|
|
109
113
|
onClick: updateRelatedArticles
|
|
110
114
|
}, formatMessage(messages.help_related_article_endpoint_error_button_label))));
|
|
111
115
|
} else {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
4
|
import { css } from '@emotion/react';
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import styled from '@emotion/styled';
|
|
5
7
|
import * as colors from '@atlaskit/theme/colors';
|
|
6
8
|
import { fontSize } from '@atlaskit/theme/constants';
|
|
@@ -13,12 +15,14 @@ export var truncate = function truncate() {
|
|
|
13
15
|
overflowX: 'hidden',
|
|
14
16
|
textOverflow: 'ellipsis',
|
|
15
17
|
whiteSpace: 'nowrap',
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
16
19
|
width: width
|
|
17
20
|
});
|
|
18
21
|
};
|
|
19
22
|
|
|
20
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled
|
|
23
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
21
24
|
export var RelatedArticlesTitle = styled.div(baseHeading(16, 20), {
|
|
25
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
22
26
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
23
27
|
fontWeight: 600,
|
|
24
28
|
letterSpacing: '-0.006em',
|
|
@@ -28,12 +32,12 @@ export var RelatedArticlesTitle = styled.div(baseHeading(16, 20), {
|
|
|
28
32
|
/**
|
|
29
33
|
* Loading styled-components
|
|
30
34
|
*/
|
|
31
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
32
36
|
export var LoadignRelatedArticleSection = styled.div({
|
|
33
37
|
marginTop: "var(--ds-space-100, 8px)"
|
|
34
38
|
});
|
|
35
39
|
|
|
36
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
40
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
37
41
|
export var LoadignRelatedArticleList = styled.ul({
|
|
38
42
|
width: '100%',
|
|
39
43
|
margin: 0,
|
|
@@ -41,7 +45,7 @@ export var LoadignRelatedArticleList = styled.ul({
|
|
|
41
45
|
boxSizing: 'border-box'
|
|
42
46
|
});
|
|
43
47
|
|
|
44
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
48
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
45
49
|
export var LoadignRelatedArticleListItem = styled.li({
|
|
46
50
|
display: 'block',
|
|
47
51
|
width: '100%',
|
|
@@ -8,7 +8,8 @@ import { gridSize } from '@atlaskit/theme/constants';
|
|
|
8
8
|
import Spinner from '@atlaskit/spinner';
|
|
9
9
|
import SearchIcon from '@atlaskit/icon/glyph/search';
|
|
10
10
|
import EditorCloseIcon from '@atlaskit/icon/glyph/editor/close';
|
|
11
|
-
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
|
+
import { css, jsx } from '@emotion/react';
|
|
12
13
|
import { injectIntl } from 'react-intl-next';
|
|
13
14
|
import { REQUEST_STATE } from '../../../model/Requests';
|
|
14
15
|
import { useSearchContext } from '../../contexts/searchContext';
|
|
@@ -17,8 +18,14 @@ import { SearchInputContainer, SearchIconContainer, CloseButtonAndSpinnerContain
|
|
|
17
18
|
var ANALYTICS_CONTEXT_DATA = {
|
|
18
19
|
componentName: 'searchInput',
|
|
19
20
|
packageName: "@atlaskit/help",
|
|
20
|
-
packageVersion: "7.5.
|
|
21
|
+
packageVersion: "7.5.2"
|
|
21
22
|
};
|
|
23
|
+
var buttonStyles = css({
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
25
|
+
width: "".concat(gridSize() * 3, "px"),
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
27
|
+
height: "".concat(gridSize() * 3, "px")
|
|
28
|
+
});
|
|
22
29
|
export var SearchInput = function SearchInput(_ref) {
|
|
23
30
|
var formatMessage = _ref.intl.formatMessage;
|
|
24
31
|
var _useSearchContext = useSearchContext(),
|
|
@@ -78,10 +85,7 @@ export var SearchInput = function SearchInput(_ref) {
|
|
|
78
85
|
elemAfterInput: jsx(CloseButtonAndSpinnerContainer, null, searchState === REQUEST_STATE.loading && jsx(Spinner, {
|
|
79
86
|
size: "small"
|
|
80
87
|
}), searchValue !== '' && jsx(Button, {
|
|
81
|
-
css:
|
|
82
|
-
width: "".concat(gridSize() * 3, "px"),
|
|
83
|
-
height: "".concat(gridSize() * 3, "px")
|
|
84
|
-
},
|
|
88
|
+
css: buttonStyles,
|
|
85
89
|
appearance: "subtle",
|
|
86
90
|
onClick: handleOnClearButtonClick,
|
|
87
91
|
spacing: "none",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import styled from '@emotion/styled';
|
|
3
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
4
5
|
export var SearchInputContainer = styled.div({
|
|
5
6
|
order: 0,
|
|
6
7
|
flex: '0 1 auto',
|
|
@@ -9,11 +10,12 @@ export var SearchInputContainer = styled.div({
|
|
|
9
10
|
boxSizing: 'border-box'
|
|
10
11
|
});
|
|
11
12
|
|
|
12
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
13
14
|
export var SearchIconContainer = styled.div({
|
|
14
15
|
width: "var(--ds-space-300, 24px)",
|
|
15
16
|
height: "var(--ds-space-300, 24px)",
|
|
16
17
|
paddingLeft: "var(--ds-space-050, 4px)",
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
17
19
|
'& > span': {
|
|
18
20
|
paddingLeft: "var(--ds-space-050, 4px)",
|
|
19
21
|
height: "var(--ds-space-300, 24px)",
|
|
@@ -22,15 +24,17 @@ export var SearchIconContainer = styled.div({
|
|
|
22
24
|
}
|
|
23
25
|
});
|
|
24
26
|
|
|
25
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
26
28
|
export var CloseButtonAndSpinnerContainer = styled.div({
|
|
27
29
|
fontSize: 0,
|
|
28
30
|
paddingRight: "var(--ds-space-100, 8px)",
|
|
29
31
|
position: 'relative',
|
|
30
32
|
whiteSpace: 'nowrap',
|
|
33
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
31
34
|
'& > span': {
|
|
32
35
|
paddingRight: "var(--ds-space-050, 4px)"
|
|
33
36
|
},
|
|
37
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
34
38
|
'& > button, & > span': {
|
|
35
39
|
display: 'inline-block',
|
|
36
40
|
verticalAlign: 'middle'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
|
|
3
3
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
|
-
import Button from '@atlaskit/button
|
|
4
|
+
import Button from '@atlaskit/button';
|
|
5
5
|
import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
|
|
6
6
|
import { injectIntl } from 'react-intl-next';
|
|
7
7
|
import { messages } from '../../../messages';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
|
|
3
3
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
|
-
import Button from '@atlaskit/button
|
|
4
|
+
import Button from '@atlaskit/button';
|
|
5
5
|
import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
|
|
6
6
|
import { injectIntl } from 'react-intl-next';
|
|
7
7
|
import NotFoundImage from '../../../assets/NotFoundImage';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import styled from '@emotion/styled';
|
|
3
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
6
|
export var SearchResultsContainer = styled.div({
|
|
6
7
|
position: 'absolute',
|
|
7
8
|
height: '100%',
|
|
@@ -17,32 +18,36 @@ export var SearchResultsContainer = styled.div({
|
|
|
17
18
|
padding: "0 ".concat("var(--ds-space-200, 16px)")
|
|
18
19
|
});
|
|
19
20
|
|
|
20
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
21
22
|
export var SearchResultsList = styled.div({
|
|
22
23
|
paddingTop: "var(--ds-space-300, 24px)",
|
|
23
24
|
position: 'relative'
|
|
24
25
|
});
|
|
25
26
|
|
|
26
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
27
28
|
export var SearchResultEmptyMessageImage = styled.div({
|
|
28
29
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
29
30
|
textAlign: 'center'
|
|
30
31
|
});
|
|
31
32
|
|
|
32
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
33
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
33
34
|
export var SearchResultEmptyMessageText = styled.div({
|
|
34
35
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
35
36
|
textAlign: 'center',
|
|
37
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
36
38
|
p: {
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
37
40
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")")
|
|
38
41
|
}
|
|
39
42
|
});
|
|
40
43
|
|
|
41
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
44
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
42
45
|
export var SearchResultSearchExternalSiteContainer = styled.div({
|
|
43
46
|
padding: "var(--ds-space-300, 24px)",
|
|
44
47
|
textAlign: 'center',
|
|
48
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
45
49
|
p: {
|
|
50
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
46
51
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")")
|
|
47
52
|
}
|
|
48
53
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Spinner from '@atlaskit/spinner';
|
|
3
3
|
import { injectIntl } from 'react-intl-next';
|
|
4
|
-
import Button from '@atlaskit/button
|
|
4
|
+
import Button from '@atlaskit/button';
|
|
5
5
|
import { messages } from '../../messages';
|
|
6
6
|
import { ToggleShowMoreArticlesContainer } from '../ArticlesList/styled';
|
|
7
7
|
export var ShowMoreButton = function ShowMoreButton(_ref) {
|
|
@@ -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.5.
|
|
14
|
+
packageVersion: "7.5.2"
|
|
15
15
|
};
|
|
16
16
|
export var WhatsNewButton = function WhatsNewButton(_ref) {
|
|
17
17
|
var productName = _ref.productName,
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import styled from '@emotion/styled';
|
|
3
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
6
|
export var WhatsNewResultsEmptyMessageImage = styled.div({
|
|
6
7
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
7
8
|
textAlign: 'center'
|
|
8
9
|
});
|
|
9
10
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
12
|
export var WhatsNewResultsEmptyMessageText = styled.div({
|
|
12
13
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
13
14
|
textAlign: 'center',
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
14
16
|
p: {
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
15
18
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")")
|
|
16
19
|
}
|
|
17
20
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import Button from '@atlaskit/button
|
|
2
|
+
import Button from '@atlaskit/button';
|
|
3
3
|
import { injectIntl } from 'react-intl-next';
|
|
4
4
|
import ErrorImage from '../../../../assets/ErrorImage';
|
|
5
5
|
import { messages } from '../../../../messages';
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import styled from '@emotion/styled';
|
|
3
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
6
|
export var SearchResultEmptyMessageImage = styled.div({
|
|
6
7
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
7
8
|
textAlign: 'center'
|
|
8
9
|
});
|
|
9
10
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
12
|
export var SearchResultEmptyMessageText = styled.div({
|
|
12
13
|
padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
|
|
13
14
|
textAlign: 'center',
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
14
16
|
p: {
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
15
18
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")")
|
|
16
19
|
}
|
|
17
20
|
});
|
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.5.
|
|
11
|
+
packageVersion: "7.5.2"
|
|
12
12
|
};
|
|
13
13
|
export var WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
|
|
14
14
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import styled from '@emotion/styled';
|
|
3
4
|
import { fontSize, fontSizeSmall } from '@atlaskit/theme/constants';
|
|
4
5
|
import * as colors from '@atlaskit/theme/colors';
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
7
|
export var WhatsNewResultListItemWrapper =
|
|
6
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
7
9
|
styled.a({
|
|
@@ -11,7 +13,9 @@ styled.a({
|
|
|
11
13
|
display: "block",
|
|
12
14
|
textDecoration: "none",
|
|
13
15
|
cursor: "pointer",
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
14
17
|
color: "".concat("var(--ds-text-subtlest, ".concat(colors.N200, ")")),
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
15
19
|
backgroundColor: "".concat("var(--ds-background-neutral-subtle, ".concat(colors.N0, ")")),
|
|
16
20
|
borderRadius: "3px",
|
|
17
21
|
'&:hover, &:focus, &:visited, &:active': {
|
|
@@ -20,26 +24,31 @@ styled.a({
|
|
|
20
24
|
outlineOffset: "none"
|
|
21
25
|
},
|
|
22
26
|
'&:focus': {
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
23
28
|
boxShadow: "".concat("var(--ds-border-focused, ".concat(colors.B100, ")"), " 0px 0px 0px 2px inset")
|
|
24
29
|
},
|
|
25
30
|
'&:hover': {
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
26
32
|
backgroundColor: "".concat("var(--ds-background-neutral-subtle-hovered, ".concat(colors.N30, ")"))
|
|
27
33
|
},
|
|
28
34
|
'&:active': {
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
29
36
|
backgroundColor: "".concat("var(--ds-background-neutral-subtle-pressed, ".concat(colors.B50, ")"))
|
|
30
37
|
}
|
|
31
|
-
},
|
|
38
|
+
},
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
|
|
40
|
+
function (props) {
|
|
32
41
|
return props.styles;
|
|
33
42
|
});
|
|
34
43
|
|
|
35
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
44
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
36
45
|
export var WhatsNewResultListItemTitleContainer = styled.div({
|
|
37
46
|
width: '100%',
|
|
38
47
|
whiteSpace: 'nowrap',
|
|
39
48
|
marginBottom: "var(--ds-space-050, 4px)"
|
|
40
49
|
});
|
|
41
50
|
|
|
42
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
51
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
43
52
|
export var WhatsNewResultListItemTitleText = styled.span({
|
|
44
53
|
fontSize: "".concat(fontSizeSmall(), "px"),
|
|
45
54
|
lineHeight: "".concat(fontSize(), "px"),
|
|
@@ -51,10 +60,11 @@ export var WhatsNewResultListItemTitleText = styled.span({
|
|
|
51
60
|
overflowX: 'hidden'
|
|
52
61
|
});
|
|
53
62
|
|
|
54
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
63
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
55
64
|
export var WhatsNewResultListItemDescription = styled.p({
|
|
56
65
|
display: 'block',
|
|
57
66
|
lineHeight: '20px',
|
|
67
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
58
68
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
59
69
|
margin: 0
|
|
60
70
|
});
|