@atlaskit/help 7.4.0 → 7.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +764 -749
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/cjs/components/Article/ArticleLoadingFail/styled.js +3 -0
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/index.js +6 -2
- package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/styled.js +5 -0
- package/dist/cjs/components/Article/HelpArticle/index.js +1 -1
- package/dist/cjs/components/Article/WhatsNewArticle/Loading/index.js +4 -0
- package/dist/cjs/components/Article/WhatsNewArticle/index.js +4 -2
- package/dist/cjs/components/Article/WhatsNewArticle/styled.js +11 -0
- package/dist/cjs/components/Article/styled.js +1 -0
- package/dist/cjs/components/ArticlesList/ArticlesList.js +1 -1
- package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/cjs/components/ArticlesList/ArticlesListItem/styled.js +14 -3
- package/dist/cjs/components/ArticlesList/index.js +3 -1
- package/dist/cjs/components/ArticlesList/styled.js +4 -0
- package/dist/cjs/components/HelpContentButton/index.js +1 -1
- package/dist/cjs/components/HelpContentButton/styled.js +5 -5
- package/dist/cjs/components/RelatedArticles/index.js +4 -2
- package/dist/cjs/components/RelatedArticles/styled.js +7 -0
- package/dist/cjs/components/Search/SearchInput/index.js +1 -1
- package/dist/cjs/components/Search/SearchInput/styled.js +5 -0
- package/dist/cjs/components/Search/SearchResults/styled.js +9 -0
- package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +3 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +3 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +9 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.js +3 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +8 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.js +16 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -0
- package/dist/cjs/components/WhatsNew/WhatsNewResults/index.js +3 -1
- package/dist/cjs/components/WhatsNew/WhatsNewResults/styled.js +7 -0
- package/dist/cjs/components/contexts/helpArticleContext.js +0 -2
- package/dist/cjs/components/styled.js +4 -0
- package/dist/cjs/util/styled.js +5 -1
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/es2019/components/Article/ArticleLoadingFail/styled.js +3 -0
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/index.js +6 -2
- package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/styled.js +5 -0
- package/dist/es2019/components/Article/HelpArticle/index.js +1 -1
- package/dist/es2019/components/Article/WhatsNewArticle/Loading/index.js +4 -0
- package/dist/es2019/components/Article/WhatsNewArticle/index.js +4 -2
- package/dist/es2019/components/Article/WhatsNewArticle/styled.js +11 -0
- package/dist/es2019/components/Article/index.js +3 -0
- package/dist/es2019/components/Article/styled.js +1 -0
- package/dist/es2019/components/ArticlesList/ArticlesList.js +1 -1
- package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/es2019/components/ArticlesList/ArticlesListItem/styled.js +14 -3
- package/dist/es2019/components/ArticlesList/index.js +3 -1
- package/dist/es2019/components/ArticlesList/styled.js +4 -0
- package/dist/es2019/components/HelpContentButton/index.js +1 -1
- package/dist/es2019/components/HelpContentButton/styled.js +5 -5
- package/dist/es2019/components/RelatedArticles/index.js +4 -2
- package/dist/es2019/components/RelatedArticles/styled.js +7 -0
- package/dist/es2019/components/Search/SearchInput/index.js +1 -1
- package/dist/es2019/components/Search/SearchInput/styled.js +5 -0
- package/dist/es2019/components/Search/SearchResults/index.js +2 -0
- package/dist/es2019/components/Search/SearchResults/styled.js +9 -0
- package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +3 -0
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +3 -0
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +9 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.js +3 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +8 -0
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.js +16 -0
- package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -0
- package/dist/es2019/components/WhatsNew/WhatsNewResults/index.js +5 -1
- package/dist/es2019/components/WhatsNew/WhatsNewResults/styled.js +7 -0
- package/dist/es2019/components/contexts/helpArticleContext.js +0 -2
- package/dist/es2019/components/styled.js +4 -0
- package/dist/es2019/util/styled.js +6 -1
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/Article/ArticleLoadingFail/index.js +1 -1
- package/dist/esm/components/Article/ArticleLoadingFail/styled.js +3 -0
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/index.js +6 -2
- package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/styled.js +5 -0
- package/dist/esm/components/Article/HelpArticle/index.js +1 -1
- package/dist/esm/components/Article/WhatsNewArticle/Loading/index.js +4 -0
- package/dist/esm/components/Article/WhatsNewArticle/index.js +4 -2
- package/dist/esm/components/Article/WhatsNewArticle/styled.js +11 -0
- package/dist/esm/components/Article/styled.js +1 -0
- package/dist/esm/components/ArticlesList/ArticlesList.js +1 -1
- package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
- package/dist/esm/components/ArticlesList/ArticlesListItem/styled.js +14 -3
- package/dist/esm/components/ArticlesList/index.js +3 -1
- package/dist/esm/components/ArticlesList/styled.js +4 -0
- package/dist/esm/components/HelpContentButton/index.js +1 -1
- package/dist/esm/components/HelpContentButton/styled.js +5 -5
- package/dist/esm/components/RelatedArticles/index.js +4 -2
- package/dist/esm/components/RelatedArticles/styled.js +7 -0
- package/dist/esm/components/Search/SearchInput/index.js +1 -1
- package/dist/esm/components/Search/SearchInput/styled.js +5 -0
- package/dist/esm/components/Search/SearchResults/styled.js +9 -0
- package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +3 -0
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +3 -0
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +9 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.js +3 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +8 -0
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.js +16 -0
- package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -0
- package/dist/esm/components/WhatsNew/WhatsNewResults/index.js +3 -1
- package/dist/esm/components/WhatsNew/WhatsNewResults/styled.js +7 -0
- package/dist/esm/components/contexts/helpArticleContext.js +0 -2
- package/dist/esm/components/styled.js +4 -0
- package/dist/esm/util/styled.js +6 -1
- package/dist/types/components/Article/ArticleContent/index.d.ts +2 -2
- package/dist/types/components/Article/ArticleLoadingFail/index.d.ts +2 -2
- package/dist/types/components/Article/HelpArticle/Loading/index.d.ts +1 -1
- package/dist/types/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.d.ts +2 -2
- package/dist/types/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.d.ts +2 -2
- package/dist/types/components/Article/HelpArticle/WasHelpfulForm/index.d.ts +3 -3
- package/dist/types/components/Article/HelpArticle/index.d.ts +1 -1
- package/dist/types/components/Article/WhatsNewArticle/Loading/index.d.ts +1 -1
- package/dist/types/components/Article/WhatsNewArticle/index.d.ts +2 -2
- package/dist/types/components/ArticlesList/index.d.ts +1 -1
- package/dist/types/components/ArticlesList/model/ArticlesListItem.d.ts +2 -2
- package/dist/types/components/Help.d.ts +2 -2
- package/dist/types/components/HelpContentButton/index.d.ts +2 -2
- package/dist/types/components/RelatedArticles/RelatedArticlesLoading.d.ts +1 -1
- package/dist/types/components/RelatedArticles/index.d.ts +3 -3
- package/dist/types/components/Search/SearchInput/index.d.ts +1 -1
- package/dist/types/components/Search/SearchResults/SearchExternalSite.d.ts +2 -2
- package/dist/types/components/Search/SearchResults/SearchResults.d.ts +2 -2
- package/dist/types/components/Search/SearchResults/SearchResultsEmpty.d.ts +2 -2
- package/dist/types/components/Search/SearchResults/SearchResultsError.d.ts +1 -1
- package/dist/types/components/ShowMoreButton/index.d.ts +2 -2
- package/dist/types/components/WhatsNew/WhatsNewButton/index.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/index.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.d.ts +2 -2
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.d.ts +3 -3
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/model/WhatsNewResultsList.d.ts +2 -2
- package/dist/types/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.d.ts +1 -1
- package/dist/types/components/WhatsNew/WhatsNewResults/index.d.ts +1 -1
- package/dist/types/components/contexts/headerContext.d.ts +2 -2
- package/dist/types/components/contexts/helpArticleContext.d.ts +3 -3
- package/dist/types/components/contexts/homeContext.d.ts +1 -1
- package/dist/types/components/contexts/relatedArticlesContext.d.ts +3 -3
- package/dist/types/components/contexts/whatsNewArticleContext.d.ts +6 -6
- package/dist/types/model/WhatsNew.d.ts +1 -1
- package/dist/types/util/helpers.d.ts +1 -1
- package/dist/types/util/testing/mock.d.ts +2 -2
- package/dist/types-ts4.5/components/Article/ArticleContent/index.d.ts +2 -2
- package/dist/types-ts4.5/components/Article/ArticleLoadingFail/index.d.ts +2 -2
- package/dist/types-ts4.5/components/Article/HelpArticle/Loading/index.d.ts +1 -1
- package/dist/types-ts4.5/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.d.ts +2 -2
- package/dist/types-ts4.5/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.d.ts +2 -2
- package/dist/types-ts4.5/components/Article/HelpArticle/WasHelpfulForm/index.d.ts +3 -3
- package/dist/types-ts4.5/components/Article/HelpArticle/index.d.ts +1 -1
- package/dist/types-ts4.5/components/Article/WhatsNewArticle/Loading/index.d.ts +1 -1
- package/dist/types-ts4.5/components/Article/WhatsNewArticle/index.d.ts +2 -2
- package/dist/types-ts4.5/components/ArticlesList/index.d.ts +1 -1
- package/dist/types-ts4.5/components/ArticlesList/model/ArticlesListItem.d.ts +2 -2
- package/dist/types-ts4.5/components/Help.d.ts +2 -2
- package/dist/types-ts4.5/components/HelpContentButton/index.d.ts +2 -2
- package/dist/types-ts4.5/components/RelatedArticles/RelatedArticlesLoading.d.ts +1 -1
- package/dist/types-ts4.5/components/RelatedArticles/index.d.ts +3 -3
- package/dist/types-ts4.5/components/Search/SearchInput/index.d.ts +1 -1
- package/dist/types-ts4.5/components/Search/SearchResults/SearchExternalSite.d.ts +2 -2
- package/dist/types-ts4.5/components/Search/SearchResults/SearchResults.d.ts +2 -2
- package/dist/types-ts4.5/components/Search/SearchResults/SearchResultsEmpty.d.ts +2 -2
- package/dist/types-ts4.5/components/Search/SearchResults/SearchResultsError.d.ts +1 -1
- package/dist/types-ts4.5/components/ShowMoreButton/index.d.ts +2 -2
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewButton/index.d.ts +1 -1
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/index.d.ts +1 -1
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.d.ts +2 -2
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.d.ts +3 -3
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.d.ts +1 -1
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.d.ts +1 -1
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/model/WhatsNewResultsList.d.ts +2 -2
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/index.d.ts +1 -1
- package/dist/types-ts4.5/components/WhatsNew/WhatsNewResults/index.d.ts +1 -1
- package/dist/types-ts4.5/components/contexts/headerContext.d.ts +2 -2
- package/dist/types-ts4.5/components/contexts/helpArticleContext.d.ts +3 -3
- package/dist/types-ts4.5/components/contexts/homeContext.d.ts +1 -1
- package/dist/types-ts4.5/components/contexts/relatedArticlesContext.d.ts +3 -3
- package/dist/types-ts4.5/components/contexts/whatsNewArticleContext.d.ts +6 -6
- package/dist/types-ts4.5/model/WhatsNew.d.ts +1 -1
- package/dist/types-ts4.5/util/helpers.d.ts +1 -1
- package/dist/types-ts4.5/util/testing/mock.d.ts +2 -2
- package/package.json +7 -9
|
@@ -23,12 +23,18 @@ var truncate = exports.truncate = function truncate() {
|
|
|
23
23
|
width: width
|
|
24
24
|
});
|
|
25
25
|
};
|
|
26
|
+
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
26
28
|
var WhatsNewResultsListContainer = exports.WhatsNewResultsListContainer = _styled.default.div({
|
|
27
29
|
position: 'relative'
|
|
28
30
|
});
|
|
31
|
+
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
29
33
|
var WhatsNewResultsListGroupWrapper = exports.WhatsNewResultsListGroupWrapper = _styled.default.div({
|
|
30
34
|
padding: "var(--ds-space-100, 8px)".concat(" 0 ", "var(--ds-space-100, 8px)", " 0")
|
|
31
35
|
});
|
|
36
|
+
|
|
37
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
32
38
|
var WhatsNewResultsListGroupTitle = exports.WhatsNewResultsListGroupTitle = _styled.default.div({
|
|
33
39
|
color: "var(--ds-text-subtlest, ".concat(colors.N200, ")"),
|
|
34
40
|
fontSize: "".concat((0, _constants.fontSizeSmall)(), "px"),
|
|
@@ -36,6 +42,8 @@ var WhatsNewResultsListGroupTitle = exports.WhatsNewResultsListGroupTitle = _sty
|
|
|
36
42
|
padding: "0 ".concat("var(--ds-space-100, 8px)", " ", "var(--ds-space-100, 8px)", " ", "var(--ds-space-100, 8px)"),
|
|
37
43
|
textTransform: 'uppercase'
|
|
38
44
|
});
|
|
45
|
+
|
|
46
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
39
47
|
var ToggleShowWhatsNewResultsContainer = exports.ToggleShowWhatsNewResultsContainer = _styled.default.div({
|
|
40
48
|
padding: "var(--ds-space-100, 8px)".concat(" 0"),
|
|
41
49
|
span: {
|
|
@@ -27,8 +27,11 @@ var WhatsNewResultsLoading = exports.WhatsNewResultsLoading = function WhatsNewR
|
|
|
27
27
|
marginTop: "0"
|
|
28
28
|
})), /*#__PURE__*/_react.default.createElement(_styled2.LoadignWhatsNewResultsListItem, null, /*#__PURE__*/_react.default.createElement(_styled.LoadingRectangle, {
|
|
29
29
|
style: {
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
30
31
|
display: 'inline-block',
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
31
33
|
verticalAlign: 'middle',
|
|
34
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
32
35
|
position: 'relative'
|
|
33
36
|
},
|
|
34
37
|
contentHeight: "16px",
|
|
@@ -36,6 +39,7 @@ var WhatsNewResultsLoading = exports.WhatsNewResultsLoading = function WhatsNewR
|
|
|
36
39
|
marginTop: "4px"
|
|
37
40
|
}), /*#__PURE__*/_react.default.createElement(_styled.LoadingRectangle, {
|
|
38
41
|
style: {
|
|
42
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
39
43
|
marginLeft: "var(--ds-space-100, 8px)"
|
|
40
44
|
},
|
|
41
45
|
contentHeight: "11px",
|
|
@@ -49,8 +53,11 @@ var WhatsNewResultsLoading = exports.WhatsNewResultsLoading = function WhatsNewR
|
|
|
49
53
|
marginTop: "4px"
|
|
50
54
|
})), /*#__PURE__*/_react.default.createElement(_styled2.LoadignWhatsNewResultsListItem, null, /*#__PURE__*/_react.default.createElement(_styled.LoadingRectangle, {
|
|
51
55
|
style: {
|
|
56
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
52
57
|
display: 'inline-block',
|
|
58
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
53
59
|
verticalAlign: 'middle',
|
|
60
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
54
61
|
position: 'relative'
|
|
55
62
|
},
|
|
56
63
|
contentHeight: "16px",
|
|
@@ -58,6 +65,7 @@ var WhatsNewResultsLoading = exports.WhatsNewResultsLoading = function WhatsNewR
|
|
|
58
65
|
marginTop: "4px"
|
|
59
66
|
}), /*#__PURE__*/_react.default.createElement(_styled.LoadingRectangle, {
|
|
60
67
|
style: {
|
|
68
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
61
69
|
marginLeft: "var(--ds-space-100, 8px)"
|
|
62
70
|
},
|
|
63
71
|
contentHeight: "11px",
|
|
@@ -75,8 +83,11 @@ var WhatsNewResultsLoading = exports.WhatsNewResultsLoading = function WhatsNewR
|
|
|
75
83
|
marginTop: "0"
|
|
76
84
|
})), /*#__PURE__*/_react.default.createElement(_styled2.LoadignWhatsNewResultsListItem, null, /*#__PURE__*/_react.default.createElement(_styled.LoadingRectangle, {
|
|
77
85
|
style: {
|
|
86
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
78
87
|
display: 'inline-block',
|
|
88
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
79
89
|
verticalAlign: 'middle',
|
|
90
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
80
91
|
position: 'relative'
|
|
81
92
|
},
|
|
82
93
|
contentHeight: "16px",
|
|
@@ -84,6 +95,7 @@ var WhatsNewResultsLoading = exports.WhatsNewResultsLoading = function WhatsNewR
|
|
|
84
95
|
marginTop: "4px"
|
|
85
96
|
}), /*#__PURE__*/_react.default.createElement(_styled.LoadingRectangle, {
|
|
86
97
|
style: {
|
|
98
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
87
99
|
marginLeft: "var(--ds-space-100, 8px)"
|
|
88
100
|
},
|
|
89
101
|
contentHeight: "11px",
|
|
@@ -97,8 +109,11 @@ var WhatsNewResultsLoading = exports.WhatsNewResultsLoading = function WhatsNewR
|
|
|
97
109
|
marginTop: "4px"
|
|
98
110
|
})), /*#__PURE__*/_react.default.createElement(_styled2.LoadignWhatsNewResultsListItem, null, /*#__PURE__*/_react.default.createElement(_styled.LoadingRectangle, {
|
|
99
111
|
style: {
|
|
112
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
100
113
|
display: 'inline-block',
|
|
114
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
101
115
|
verticalAlign: 'middle',
|
|
116
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
102
117
|
position: 'relative'
|
|
103
118
|
},
|
|
104
119
|
contentHeight: "16px",
|
|
@@ -106,6 +121,7 @@ var WhatsNewResultsLoading = exports.WhatsNewResultsLoading = function WhatsNewR
|
|
|
106
121
|
marginTop: "4px"
|
|
107
122
|
}), /*#__PURE__*/_react.default.createElement(_styled.LoadingRectangle, {
|
|
108
123
|
style: {
|
|
124
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
109
125
|
marginLeft: "var(--ds-space-100, 8px)"
|
|
110
126
|
},
|
|
111
127
|
contentHeight: "11px",
|
|
@@ -11,6 +11,7 @@ var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
|
11
11
|
/**
|
|
12
12
|
* Loading styled-components
|
|
13
13
|
*/
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
14
15
|
var LoadignWhatsNewResultsList = exports.LoadignWhatsNewResultsList = _styled.default.ul({
|
|
15
16
|
width: '100%',
|
|
16
17
|
margin: 0,
|
|
@@ -18,6 +19,8 @@ var LoadignWhatsNewResultsList = exports.LoadignWhatsNewResultsList = _styled.de
|
|
|
18
19
|
boxSizing: 'border-box',
|
|
19
20
|
marginTop: "var(--ds-space-200, 16px)"
|
|
20
21
|
});
|
|
22
|
+
|
|
23
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
21
24
|
var LoadignWhatsNewResultsListItem = exports.LoadignWhatsNewResultsListItem = _styled.default.li({
|
|
22
25
|
display: 'block',
|
|
23
26
|
width: '100%',
|
|
@@ -121,7 +121,9 @@ var WhatsNewResults = exports.WhatsNewResults = function WhatsNewResults(_ref) {
|
|
|
121
121
|
ref: containerRef,
|
|
122
122
|
style: _objectSpread(_objectSpread({}, defaultStyle), transitionStyles[state])
|
|
123
123
|
}, /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, searchWhatsNewArticlesState === _Requests.REQUEST_STATE.loading && searchWhatsNewArticlesResult === null && state !== 'exited' && /*#__PURE__*/_react.default.createElement(_WhatsNewResultsLoading.default, null), (searchWhatsNewArticlesState === _Requests.REQUEST_STATE.done || searchWhatsNewArticlesState === _Requests.REQUEST_STATE.loading) && searchWhatsNewArticlesResult !== null && state !== 'exited' && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styled.SelectContainer, null, /*#__PURE__*/_react.default.createElement(_select.default, {
|
|
124
|
-
defaultValue: selectedOption
|
|
124
|
+
defaultValue: selectedOption
|
|
125
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
126
|
+
,
|
|
125
127
|
className: "single-select",
|
|
126
128
|
classNamePrefix: "react-select",
|
|
127
129
|
options: [{
|
|
@@ -9,6 +9,7 @@ var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
|
9
9
|
var _constants = require("@atlaskit/theme/constants");
|
|
10
10
|
/** @jsx jsx */
|
|
11
11
|
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
12
13
|
var WhatsNewResultsContainer = exports.WhatsNewResultsContainer = _styled.default.div({
|
|
13
14
|
position: 'absolute',
|
|
14
15
|
height: '100%',
|
|
@@ -23,12 +24,18 @@ var WhatsNewResultsContainer = exports.WhatsNewResultsContainer = _styled.defaul
|
|
|
23
24
|
zIndex: 1,
|
|
24
25
|
padding: "var(--ds-space-200, 16px)"
|
|
25
26
|
});
|
|
27
|
+
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
26
29
|
var SelectContainer = exports.SelectContainer = _styled.default.div({
|
|
27
30
|
width: "".concat(19 * (0, _constants.gridSize)(), "px")
|
|
28
31
|
});
|
|
32
|
+
|
|
33
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
29
34
|
var WhatsNewResultsListContainer = exports.WhatsNewResultsListContainer = _styled.default.div({
|
|
30
35
|
paddingTop: "var(--ds-space-100, 8px)"
|
|
31
36
|
});
|
|
37
|
+
|
|
38
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
32
39
|
var WhatsNewResultsListTitleContainer = exports.WhatsNewResultsListTitleContainer = _styled.default.div({
|
|
33
40
|
padding: "0 ".concat("var(--ds-space-100, 8px)")
|
|
34
41
|
});
|
|
@@ -7,8 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.useHelpArticleContext = exports.HelpArticleContextProvider = exports.CtxProvider = void 0;
|
|
8
8
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
|
-
var _Article = require("../../model/Article");
|
|
11
|
-
var _Help = require("../../model/Help");
|
|
12
10
|
var _ctx = require("../../util/hooks/ctx");
|
|
13
11
|
var _createCtx = (0, _ctx.createCtx)(),
|
|
14
12
|
_createCtx2 = (0, _slicedToArray2.default)(_createCtx, 2),
|
|
@@ -8,6 +8,7 @@ exports.Home = exports.HelpBodyContainer = exports.HelpBody = void 0;
|
|
|
8
8
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
9
9
|
/** @jsx jsx */
|
|
10
10
|
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
11
12
|
var HelpBodyContainer = exports.HelpBodyContainer = _styled.default.div({
|
|
12
13
|
flexGrow: 1,
|
|
13
14
|
minHeight: 0,
|
|
@@ -21,6 +22,8 @@ var HelpBodyContainer = exports.HelpBodyContainer = _styled.default.div({
|
|
|
21
22
|
alignContent: 'stretch',
|
|
22
23
|
alignItems: 'flex-start'
|
|
23
24
|
});
|
|
25
|
+
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
24
27
|
var HelpBody = exports.HelpBody = _styled.default.div({
|
|
25
28
|
width: '100%',
|
|
26
29
|
boxSizing: 'border-box',
|
|
@@ -31,6 +34,7 @@ var HelpBody = exports.HelpBody = _styled.default.div({
|
|
|
31
34
|
overflowX: 'hidden',
|
|
32
35
|
overflowY: 'auto'
|
|
33
36
|
});
|
|
37
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
34
38
|
var Home = exports.Home = _styled.default.div(function (props) {
|
|
35
39
|
return {
|
|
36
40
|
display: props.isOverlayFullyVisible ? 'none' : 'block',
|
package/dist/cjs/util/styled.js
CHANGED
|
@@ -16,6 +16,7 @@ var _templateObject;
|
|
|
16
16
|
/** @jsx jsx */
|
|
17
17
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
18
18
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
19
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
19
20
|
var DividerLine = exports.DividerLine = _styled.default.div({
|
|
20
21
|
backgroundColor: "var(--ds-border, ".concat(colors.N30A, ")"),
|
|
21
22
|
height: '2px',
|
|
@@ -37,6 +38,8 @@ var shimmer = (0, _react.keyframes)({
|
|
|
37
38
|
backgroundPosition: '1000px 0'
|
|
38
39
|
}
|
|
39
40
|
});
|
|
41
|
+
|
|
42
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
40
43
|
var LoadingRectangle = exports.LoadingRectangle = _styled.default.div(function (props) {
|
|
41
44
|
return {
|
|
42
45
|
display: 'inline-block',
|
|
@@ -61,6 +64,7 @@ var LoadingRectangle = exports.LoadingRectangle = _styled.default.div(function (
|
|
|
61
64
|
* Loading Circle
|
|
62
65
|
*/
|
|
63
66
|
|
|
67
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
64
68
|
var LoadingCircle = exports.LoadingCircle = _styled.default.div(function (props) {
|
|
65
69
|
return {
|
|
66
70
|
display: 'inline-block',
|
|
@@ -85,7 +89,7 @@ var LoadingCircle = exports.LoadingCircle = _styled.default.div(function (props)
|
|
|
85
89
|
* What's new icon
|
|
86
90
|
*/
|
|
87
91
|
|
|
88
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression --
|
|
92
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
89
93
|
var WhatsNewTypeIcon = exports.WhatsNewTypeIcon = _styled.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: inline-block;\n vertical-align: middle;\n position: relative;\n height: ", ";\n width: ", ";\n border-radius: 2px;\n background-color: ", ";\n\n & > img {\n width: calc(100% - ", "px);\n height: calc(100% - ", "px);\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n\n & > svg {\n height: 100%;\n width: 100%;\n }\n }\n"])), "var(--ds-space-200, 16px)", "var(--ds-space-200, 16px)", function (_ref) {
|
|
90
94
|
var type = _ref.type;
|
|
91
95
|
switch (type) {
|
package/dist/es2019/analytics.js
CHANGED
|
@@ -8,7 +8,7 @@ import { LoadingErrorMessage, LoadingErrorButtonContainer } from './styled';
|
|
|
8
8
|
const ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticleLoadingFail',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.4.
|
|
11
|
+
packageVersion: "7.4.2"
|
|
12
12
|
};
|
|
13
13
|
export const ArticleLoadingFail = ({
|
|
14
14
|
onTryAgainButtonClick,
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
3
4
|
export const LoadingErrorMessage = styled.div({
|
|
4
5
|
paddingTop: "var(--ds-space-300, 24px)",
|
|
5
6
|
textAlign: 'center'
|
|
6
7
|
});
|
|
8
|
+
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
7
10
|
export const LoadingErrorButtonContainer = styled.div({
|
|
8
11
|
paddingTop: "var(--ds-space-300, 24px)",
|
|
9
12
|
textAlign: 'center'
|
|
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
|
|
|
6
6
|
const ANALYTICS_CONTEXT_DATA = {
|
|
7
7
|
componentName: 'ArticleWasHelpfulNoButton',
|
|
8
8
|
packageName: "@atlaskit/help",
|
|
9
|
-
packageVersion: "7.4.
|
|
9
|
+
packageVersion: "7.4.2"
|
|
10
10
|
};
|
|
11
11
|
export const ArticleWasHelpfulNoButton = ({
|
|
12
12
|
isSelected = false,
|
|
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
|
|
|
6
6
|
const ANALYTICS_CONTEXT_DATA = {
|
|
7
7
|
componentName: 'ArticleWasHelpfulYesButton',
|
|
8
8
|
packageName: "@atlaskit/help",
|
|
9
|
-
packageVersion: "7.4.
|
|
9
|
+
packageVersion: "7.4.2"
|
|
10
10
|
};
|
|
11
11
|
export const ArticleWasHelpfulYesButton = ({
|
|
12
12
|
isSelected = false,
|
|
@@ -25,7 +25,7 @@ const FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
|
|
|
25
25
|
const ANALYTICS_CONTEXT_DATA = {
|
|
26
26
|
componentName: 'ArticleWasHelpfulForm',
|
|
27
27
|
packageName: "@atlaskit/help",
|
|
28
|
-
packageVersion: "7.4.
|
|
28
|
+
packageVersion: "7.4.2"
|
|
29
29
|
};
|
|
30
30
|
export const ArticleWasHelpfulForm = ({
|
|
31
31
|
onWasHelpfulSubmit,
|
|
@@ -123,7 +123,9 @@ export const ArticleWasHelpfulForm = ({
|
|
|
123
123
|
};
|
|
124
124
|
if (!wasHelpfulFormSubmitedFailed) {
|
|
125
125
|
if ((handleArticleWasHelpfulYesButtonClick || handleArticleWasHelpfulNoButtonClick) && !wasHelpfulFormSubmited) {
|
|
126
|
-
return jsx(React.Fragment, null, jsx(ArticleFeedbackContainer, null, jsx(ArticleFeedbackText
|
|
126
|
+
return jsx(React.Fragment, null, jsx(ArticleFeedbackContainer, null, jsx(ArticleFeedbackText
|
|
127
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
128
|
+
, {
|
|
127
129
|
style: {
|
|
128
130
|
paddingRight: "var(--ds-space-100, 8px)"
|
|
129
131
|
}
|
|
@@ -178,7 +180,9 @@ export const ArticleWasHelpfulForm = ({
|
|
|
178
180
|
} else if (wasHelpfulFormSubmited && wasHelpful === null) {
|
|
179
181
|
return jsx(ArticleFeedbackContainer, null, jsx("span", {
|
|
180
182
|
style: {
|
|
183
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
181
184
|
paddingRight: "var(--ds-space-100, 8px)",
|
|
185
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
182
186
|
verticalAlign: 'middle'
|
|
183
187
|
}
|
|
184
188
|
}, jsx(CheckCircleIcon, {
|
|
@@ -3,15 +3,20 @@
|
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
5
|
import { fontFallback } from '@atlaskit/theme/typography';
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
6
7
|
export const ArticleFeedbackContainer = styled.div({
|
|
7
8
|
position: 'relative'
|
|
8
9
|
});
|
|
10
|
+
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
9
12
|
export const ArticleFeedbackText = styled.div({
|
|
10
13
|
font: `var(--ds-font-heading-xxsmall, ${fontFallback.heading.xxsmall})`,
|
|
11
14
|
color: `var(--ds-text-subtlest, ${colors.N200})`,
|
|
12
15
|
position: 'relative',
|
|
13
16
|
display: 'inline-block'
|
|
14
17
|
});
|
|
18
|
+
|
|
19
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
15
20
|
export const ArticleFeedbackAnswerWrapper = styled.div({
|
|
16
21
|
paddingTop: "var(--ds-space-200, 16px)"
|
|
17
22
|
});
|
|
@@ -59,7 +59,7 @@ export const HelpArticle = ({
|
|
|
59
59
|
analyticsEvent.payload.attributes = {
|
|
60
60
|
componentName: 'Article',
|
|
61
61
|
packageName: "@atlaskit/help",
|
|
62
|
-
packageVersion: "7.4.
|
|
62
|
+
packageVersion: "7.4.2"
|
|
63
63
|
};
|
|
64
64
|
if (onRelatedArticlesShowMoreClick) {
|
|
65
65
|
onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
|
|
@@ -11,8 +11,11 @@ export const Loading = ({
|
|
|
11
11
|
role: "img"
|
|
12
12
|
}, /*#__PURE__*/React.createElement(LoadingRectangle, {
|
|
13
13
|
style: {
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
14
15
|
display: 'inline-block',
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
15
17
|
verticalAlign: 'middle',
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
16
19
|
position: 'relative'
|
|
17
20
|
},
|
|
18
21
|
contentHeight: "16px",
|
|
@@ -20,6 +23,7 @@ export const Loading = ({
|
|
|
20
23
|
marginTop: "4px"
|
|
21
24
|
}), /*#__PURE__*/React.createElement(LoadingRectangle, {
|
|
22
25
|
style: {
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
23
27
|
marginLeft: "var(--ds-space-100, 8px)"
|
|
24
28
|
},
|
|
25
29
|
contentHeight: "11px",
|
|
@@ -13,7 +13,7 @@ import { WhatsNewTypeTitle, WhatsNewTitleText, WhatsNewIconContainer, RelatedLin
|
|
|
13
13
|
const analyticsContextData = {
|
|
14
14
|
componentName: 'ArticlesListItem',
|
|
15
15
|
packageName: "@atlaskit/help",
|
|
16
|
-
packageVersion: "7.4.
|
|
16
|
+
packageVersion: "7.4.2"
|
|
17
17
|
};
|
|
18
18
|
export const WhatsNewArticle = ({
|
|
19
19
|
intl: {
|
|
@@ -32,7 +32,9 @@ export const WhatsNewArticle = ({
|
|
|
32
32
|
}, getTypeIcon(article.type)), /*#__PURE__*/React.createElement(WhatsNewTypeTitle, null, typeTitle)), /*#__PURE__*/React.createElement(WhatsNewTitleText, null, article.title), /*#__PURE__*/React.createElement(HelpArticleContent, {
|
|
33
33
|
body: article.description,
|
|
34
34
|
bodyFormat: article.bodyFormat ? article.bodyFormat : BODY_FORMAT_TYPES.html
|
|
35
|
-
}), (article.relatedExternalLinks || article.communityUrl) && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(DividerLine
|
|
35
|
+
}), (article.relatedExternalLinks || article.communityUrl) && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(DividerLine
|
|
36
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
37
|
+
, {
|
|
36
38
|
style: {
|
|
37
39
|
marginTop: 0,
|
|
38
40
|
marginBottom: "var(--ds-space-200, 16px)"
|
|
@@ -3,6 +3,7 @@ import styled from '@emotion/styled';
|
|
|
3
3
|
import { fontSize, fontSizeSmall } from '@atlaskit/theme/constants';
|
|
4
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
5
|
import { fontFallback } from '@atlaskit/theme/typography';
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
6
7
|
export const WhatsNewTypeTitle = styled.span({
|
|
7
8
|
textDecoration: 'none',
|
|
8
9
|
color: `var(--ds-text-subtlest, ${colors.N300})`,
|
|
@@ -12,10 +13,14 @@ export const WhatsNewTypeTitle = styled.span({
|
|
|
12
13
|
whiteSpace: 'normal',
|
|
13
14
|
overflowX: 'hidden'
|
|
14
15
|
});
|
|
16
|
+
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
15
18
|
export const WhatsNewIconContainer = styled.div({
|
|
16
19
|
display: 'block',
|
|
17
20
|
paddingBottom: "var(--ds-space-100, 8px)"
|
|
18
21
|
});
|
|
22
|
+
|
|
23
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
19
24
|
export const WhatsNewTitleText = styled.span({
|
|
20
25
|
textDecoration: 'none',
|
|
21
26
|
color: `var(--ds-text, ${colors.N800})`,
|
|
@@ -26,6 +31,8 @@ export const WhatsNewTitleText = styled.span({
|
|
|
26
31
|
paddingBottom: "var(--ds-space-100, 8px)",
|
|
27
32
|
display: 'block'
|
|
28
33
|
});
|
|
34
|
+
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
29
36
|
export const WhatsNewRelatedLinksTitleText = styled.span({
|
|
30
37
|
textDecoration: 'none',
|
|
31
38
|
color: `var(--ds-text, ${colors.N800})`,
|
|
@@ -36,9 +43,13 @@ export const WhatsNewRelatedLinksTitleText = styled.span({
|
|
|
36
43
|
paddingBottom: "var(--ds-space-100, 8px)",
|
|
37
44
|
display: 'block'
|
|
38
45
|
});
|
|
46
|
+
|
|
47
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
39
48
|
export const RelatedLinkContainer = styled.div({
|
|
40
49
|
marginBottom: "var(--ds-space-100, 8px)"
|
|
41
50
|
});
|
|
51
|
+
|
|
52
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
42
53
|
export const ExternalLinkIconContainer = styled.div({
|
|
43
54
|
display: 'inline-block',
|
|
44
55
|
verticalAlign: 'middle',
|
|
@@ -105,8 +105,11 @@ export const Article = () => {
|
|
|
105
105
|
return /*#__PURE__*/React.createElement(ArticleContainer, {
|
|
106
106
|
ref: articleContainerRef,
|
|
107
107
|
style: {
|
|
108
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
108
109
|
...defaultStyle,
|
|
110
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
109
111
|
...transitionStyles[state],
|
|
112
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
110
113
|
...enableTransition[!skipArticleSlideInAnimation ? 'enabled' : 'disabled']
|
|
111
114
|
}
|
|
112
115
|
}, /*#__PURE__*/React.createElement(ArticleContent, {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
4
5
|
export const ArticleContainer = styled.div({
|
|
5
6
|
padding: `${"var(--ds-space-200, 16px)"} ${"var(--ds-space-300, 24px)"}`,
|
|
6
7
|
position: 'absolute',
|
|
@@ -8,7 +8,7 @@ import { ArticlesListItemWrapper, ArticlesListItemContainer, ArticlesListItemTit
|
|
|
8
8
|
const ANALYTICS_CONTEXT_DATA = {
|
|
9
9
|
componentName: 'ArticlesListItem',
|
|
10
10
|
packageName: "@atlaskit/help",
|
|
11
|
-
packageVersion: "7.4.
|
|
11
|
+
packageVersion: "7.4.2"
|
|
12
12
|
};
|
|
13
13
|
export const ArticlesListItem = ({
|
|
14
14
|
styles,
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import * as colors from '@atlaskit/theme/colors';
|
|
4
4
|
import { fontFallback } from '@atlaskit/theme/typography';
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
5
6
|
export const ArticlesListItemWrapper = styled.a({
|
|
6
7
|
position: 'relative',
|
|
7
8
|
boxSizing: 'border-box',
|
|
@@ -27,6 +28,8 @@ export const ArticlesListItemWrapper = styled.a({
|
|
|
27
28
|
backgroundColor: `var(--ds-background-neutral-subtle-pressed, ${colors.B50})`
|
|
28
29
|
}
|
|
29
30
|
}, props => props.styles);
|
|
31
|
+
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
30
33
|
export const ArticlesListItemContainer = styled.div({
|
|
31
34
|
width: '100%',
|
|
32
35
|
whiteSpace: 'nowrap',
|
|
@@ -37,16 +40,22 @@ export const ArticlesListItemTitleSection = styled.div({
|
|
|
37
40
|
flexDirection: 'column',
|
|
38
41
|
flexGrow: 1
|
|
39
42
|
});
|
|
43
|
+
|
|
44
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
40
45
|
export const ArticlesListItemTypeTitle = styled.div({
|
|
41
46
|
font: `var(--ds-font-body-small, ${fontFallback.body.small})`,
|
|
42
47
|
fontWeight: "var(--ds-font-weight-bold, bold)",
|
|
43
48
|
color: `var(--ds-text-subtlest, ${colors.N200})`
|
|
44
49
|
});
|
|
50
|
+
|
|
51
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
45
52
|
export const ArticlesListItemLinkIcon = styled.span({
|
|
46
53
|
alignSelf: 'auto',
|
|
47
54
|
paddingInlineStart: "var(--ds-space-050, 4px)",
|
|
48
55
|
verticalAlign: 'middle'
|
|
49
56
|
});
|
|
57
|
+
|
|
58
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
50
59
|
export const ArticlesListItemTitleText = styled.p({
|
|
51
60
|
textDecoration: 'none',
|
|
52
61
|
color: `var(--ds-text, ${colors.N800})`,
|
|
@@ -56,6 +65,8 @@ export const ArticlesListItemTitleText = styled.p({
|
|
|
56
65
|
overflow: 'hidden',
|
|
57
66
|
marginBottom: "var(--ds-space-100, 4px)"
|
|
58
67
|
});
|
|
68
|
+
|
|
69
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
59
70
|
export const ArticlesListItemDescription = styled.p({
|
|
60
71
|
display: 'block',
|
|
61
72
|
lineHeight: '20px',
|
|
@@ -67,7 +78,7 @@ export const ArticlesListItemSource = styled.div({
|
|
|
67
78
|
display: 'flex',
|
|
68
79
|
alignItems: 'center',
|
|
69
80
|
font: `var(--ds-font-heading-xxsmall, ${fontFallback.heading.xxsmall})`,
|
|
70
|
-
color: `var(--ds-
|
|
81
|
+
color: `var(--ds-text-subtlest, ${colors.N400A})`,
|
|
71
82
|
padding: `${"var(--ds-space-050, 4px)"} 0`,
|
|
72
83
|
fontWeight: "var(--ds-font-weight-bold, bold)",
|
|
73
84
|
textTransform: 'uppercase'
|
|
@@ -76,7 +87,7 @@ export const ArticlesListItemTrustFactor = styled.div({
|
|
|
76
87
|
display: 'flex',
|
|
77
88
|
alignItems: 'center',
|
|
78
89
|
font: `var(--ds-font-body-small, ${fontFallback.body.small})`,
|
|
79
|
-
color: `var(--ds-
|
|
90
|
+
color: `var(--ds-text-subtlest, ${colors.N400A})`,
|
|
80
91
|
paddingTop: "var(--ds-space-025, 2px)"
|
|
81
92
|
});
|
|
82
93
|
export const ArticlesListItemViewCount = styled.span({
|
|
@@ -88,6 +99,6 @@ export const ArticlesListItemHelpfulCount = styled.span({
|
|
|
88
99
|
});
|
|
89
100
|
export const ArticlesListItemLastModified = styled.div({
|
|
90
101
|
font: `var(--ds-font-body-small, ${fontFallback.body.small})`,
|
|
91
|
-
color: `var(--ds-text-
|
|
102
|
+
color: `var(--ds-text-subtlest, ${colors.N400A})`,
|
|
92
103
|
padding: `${"var(--ds-space-050, 4px)"} 0`
|
|
93
104
|
});
|
|
@@ -30,7 +30,9 @@ const ArticleList = ({
|
|
|
30
30
|
onToggleArticlesList(event, analyticsEvent, !showMoreToggled);
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
|
-
return articles && articles.length > 0 ? /*#__PURE__*/React.createElement(ArticlesListContainer, null, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ArticlesList
|
|
33
|
+
return articles && articles.length > 0 ? /*#__PURE__*/React.createElement(ArticlesListContainer, null, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ArticlesList
|
|
34
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
35
|
+
, {
|
|
34
36
|
style: style,
|
|
35
37
|
onArticlesListItemClick: onArticlesListItemClick,
|
|
36
38
|
articles: articles,
|
|
@@ -8,9 +8,13 @@ export const truncate = (width = '100%') => css({
|
|
|
8
8
|
whiteSpace: 'nowrap',
|
|
9
9
|
width: width
|
|
10
10
|
});
|
|
11
|
+
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
11
13
|
export const ArticlesListContainer = styled.div({
|
|
12
14
|
position: 'relative'
|
|
13
15
|
});
|
|
16
|
+
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
14
18
|
export const ToggleShowMoreArticlesContainer = styled.div({
|
|
15
19
|
padding: `${"var(--ds-space-100, 8px)"} 0`,
|
|
16
20
|
span: {
|
|
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
|
|
|
7
7
|
const analitycsContextData = {
|
|
8
8
|
componentName: 'HelpContentButton',
|
|
9
9
|
packageName: "@atlaskit/help",
|
|
10
|
-
packageVersion: "7.4.
|
|
10
|
+
packageVersion: "7.4.2"
|
|
11
11
|
};
|
|
12
12
|
const HelpContentButton = ({
|
|
13
13
|
id = '',
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import styled from 'styled-components';
|
|
4
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression --
|
|
5
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
6
6
|
export const HelpContentButtonContainer = styled.a`
|
|
7
7
|
display: block;
|
|
8
8
|
cursor: pointer;
|
|
@@ -34,7 +34,7 @@ export const HelpContentButtonContainer = styled.a`
|
|
|
34
34
|
}
|
|
35
35
|
`;
|
|
36
36
|
|
|
37
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression --
|
|
37
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
38
38
|
export const HelpContentButtonIcon = styled.div`
|
|
39
39
|
display: inline-block;
|
|
40
40
|
vertical-align: middle;
|
|
@@ -51,7 +51,7 @@ export const HelpContentButtonIcon = styled.div`
|
|
|
51
51
|
}
|
|
52
52
|
`;
|
|
53
53
|
|
|
54
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression --
|
|
54
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
55
55
|
export const HelpContentButtonText = styled.div`
|
|
56
56
|
width: calc(100% - 20px);
|
|
57
57
|
display: inline-block;
|
|
@@ -60,14 +60,14 @@ export const HelpContentButtonText = styled.div`
|
|
|
60
60
|
box-sizing: border-box;
|
|
61
61
|
`;
|
|
62
62
|
|
|
63
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression --
|
|
63
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
64
64
|
export const HelpContentButtonExternalLinkIcon = styled.div`
|
|
65
65
|
display: inline-block;
|
|
66
66
|
vertical-align: middle;
|
|
67
67
|
padding-left: ${"var(--ds-space-050, 4px)"};
|
|
68
68
|
`;
|
|
69
69
|
|
|
70
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression --
|
|
70
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
71
71
|
export const HelpContentButtonExternalNotificationIcon = styled.div`
|
|
72
72
|
display: inline-block;
|
|
73
73
|
vertical-align: middle;
|