@atlaskit/help 7.4.2 → 7.5.1

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.
Files changed (106) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/analytics.js +1 -1
  3. package/dist/cjs/components/Article/ArticleLoadingFail/index.js +1 -1
  4. package/dist/cjs/components/Article/ArticleLoadingFail/styled.js +3 -2
  5. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  6. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  7. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/index.js +11 -7
  8. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/styled.js +7 -3
  9. package/dist/cjs/components/Article/HelpArticle/index.js +1 -1
  10. package/dist/cjs/components/Article/WhatsNewArticle/index.js +1 -1
  11. package/dist/cjs/components/Article/WhatsNewArticle/styled.js +11 -6
  12. package/dist/cjs/components/Article/styled.js +3 -1
  13. package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +1 -1
  14. package/dist/cjs/components/ArticlesList/ArticlesListItem/styled.js +37 -7
  15. package/dist/cjs/components/ArticlesList/styled.js +8 -2
  16. package/dist/cjs/components/HelpContentButton/index.js +1 -1
  17. package/dist/cjs/components/HelpContentButton/styled.js +11 -10
  18. package/dist/cjs/components/RelatedArticles/index.js +11 -7
  19. package/dist/cjs/components/RelatedArticles/styled.js +10 -4
  20. package/dist/cjs/components/Search/SearchInput/index.js +10 -5
  21. package/dist/cjs/components/Search/SearchInput/styled.js +7 -3
  22. package/dist/cjs/components/Search/SearchResults/styled.js +10 -5
  23. package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -1
  24. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +5 -2
  25. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +5 -2
  26. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  27. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +14 -4
  28. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +2 -1
  29. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +11 -4
  30. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -2
  31. package/dist/cjs/components/WhatsNew/WhatsNewResults/styled.js +6 -4
  32. package/dist/cjs/components/contexts/searchContext.js +3 -2
  33. package/dist/cjs/components/styled.js +7 -3
  34. package/dist/cjs/util/styled.js +30 -7
  35. package/dist/es2019/analytics.js +1 -1
  36. package/dist/es2019/components/Article/ArticleLoadingFail/index.js +1 -1
  37. package/dist/es2019/components/Article/ArticleLoadingFail/styled.js +3 -2
  38. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  39. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  40. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/index.js +11 -8
  41. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/styled.js +6 -3
  42. package/dist/es2019/components/Article/HelpArticle/index.js +1 -1
  43. package/dist/es2019/components/Article/WhatsNewArticle/index.js +1 -1
  44. package/dist/es2019/components/Article/WhatsNewArticle/styled.js +11 -6
  45. package/dist/es2019/components/Article/styled.js +2 -1
  46. package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
  47. package/dist/es2019/components/ArticlesList/ArticlesListItem/styled.js +37 -7
  48. package/dist/es2019/components/ArticlesList/styled.js +6 -2
  49. package/dist/es2019/components/HelpContentButton/index.js +1 -1
  50. package/dist/es2019/components/HelpContentButton/styled.js +54 -53
  51. package/dist/es2019/components/RelatedArticles/index.js +12 -8
  52. package/dist/es2019/components/RelatedArticles/styled.js +8 -4
  53. package/dist/es2019/components/Search/SearchInput/index.js +10 -6
  54. package/dist/es2019/components/Search/SearchInput/styled.js +7 -3
  55. package/dist/es2019/components/Search/SearchResults/styled.js +10 -5
  56. package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
  57. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +5 -2
  58. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +5 -2
  59. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  60. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +14 -4
  61. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +3 -1
  62. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +9 -4
  63. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -2
  64. package/dist/es2019/components/WhatsNew/WhatsNewResults/styled.js +6 -4
  65. package/dist/es2019/components/contexts/searchContext.js +3 -2
  66. package/dist/es2019/components/styled.js +6 -3
  67. package/dist/es2019/util/styled.js +48 -25
  68. package/dist/esm/analytics.js +1 -1
  69. package/dist/esm/components/Article/ArticleLoadingFail/index.js +1 -1
  70. package/dist/esm/components/Article/ArticleLoadingFail/styled.js +3 -2
  71. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  72. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  73. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/index.js +11 -8
  74. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/styled.js +6 -3
  75. package/dist/esm/components/Article/HelpArticle/index.js +1 -1
  76. package/dist/esm/components/Article/WhatsNewArticle/index.js +1 -1
  77. package/dist/esm/components/Article/WhatsNewArticle/styled.js +11 -6
  78. package/dist/esm/components/Article/styled.js +2 -1
  79. package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
  80. package/dist/esm/components/ArticlesList/ArticlesListItem/styled.js +37 -7
  81. package/dist/esm/components/ArticlesList/styled.js +6 -2
  82. package/dist/esm/components/HelpContentButton/index.js +1 -1
  83. package/dist/esm/components/HelpContentButton/styled.js +11 -10
  84. package/dist/esm/components/RelatedArticles/index.js +12 -8
  85. package/dist/esm/components/RelatedArticles/styled.js +8 -4
  86. package/dist/esm/components/Search/SearchInput/index.js +10 -6
  87. package/dist/esm/components/Search/SearchInput/styled.js +7 -3
  88. package/dist/esm/components/Search/SearchResults/styled.js +10 -5
  89. package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
  90. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +5 -2
  91. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +5 -2
  92. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  93. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +14 -4
  94. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +2 -1
  95. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +9 -4
  96. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -2
  97. package/dist/esm/components/WhatsNew/WhatsNewResults/styled.js +6 -4
  98. package/dist/esm/components/contexts/searchContext.js +3 -2
  99. package/dist/esm/components/styled.js +6 -3
  100. package/dist/esm/util/styled.js +30 -7
  101. package/dist/types/components/contexts/searchContext.d.ts +2 -1
  102. package/dist/types/model/Help.d.ts +1 -0
  103. package/dist/types-ts4.5/components/contexts/searchContext.d.ts +2 -1
  104. package/dist/types-ts4.5/model/Help.d.ts +1 -0
  105. package/package.json +98 -98
  106. package/report.api.md +288 -301
@@ -17,7 +17,8 @@ import CheckCircleIcon from '@atlaskit/icon/glyph/check-circle';
17
17
  // AFP-2532 TODO: Fix automatic suppressions below
18
18
  // eslint-disable-next-line @atlassian/tangerine/import/entry-points
19
19
  import { colors } from '@atlaskit/theme';
20
- import { jsx } from '@emotion/react';
20
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
21
+ import { css, jsx } from '@emotion/react';
21
22
  import { messages } from '../../../../messages';
22
23
  import ArticleWasHelpfulYesButton from './WasHelpfulYesButton';
23
24
  import ArticleWasHelpfulNoButton from './WasHelpfulNoButton';
@@ -26,8 +27,15 @@ var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
26
27
  var ANALYTICS_CONTEXT_DATA = {
27
28
  componentName: 'ArticleWasHelpfulForm',
28
29
  packageName: "@atlaskit/help",
29
- packageVersion: "7.4.2"
30
+ packageVersion: "7.5.1"
30
31
  };
32
+ var buttonStyles = css({
33
+ padding: '0',
34
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
35
+ '& span': {
36
+ margin: '0'
37
+ }
38
+ });
31
39
  export var ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
32
40
  var onWasHelpfulSubmit = _ref.onWasHelpfulSubmit,
33
41
  onWasHelpfulYesButtonClick = _ref.onWasHelpfulYesButtonClick,
@@ -216,12 +224,7 @@ export var ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
216
224
  }, jsx("p", null, formatMessage(messages.help_article_rating_form_failed)), jsx("p", null, jsx(Button, {
217
225
  appearance: "link",
218
226
  spacing: "compact",
219
- css: {
220
- padding: '0',
221
- '& span': {
222
- margin: '0'
223
- }
224
- },
227
+ css: buttonStyles,
225
228
  onClick: handleTryAgainOnClick
226
229
  }, formatMessage(messages.help_article_rating_form_failed_try_again))))));
227
230
  }
@@ -1,22 +1,25 @@
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 styled from '@emotion/styled';
4
5
  import * as colors from '@atlaskit/theme/colors';
5
6
  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
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
7
8
  export var ArticleFeedbackContainer = styled.div({
8
9
  position: 'relative'
9
10
  });
10
11
 
11
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
12
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
12
13
  export var ArticleFeedbackText = styled.div({
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
13
15
  font: "var(--ds-font-heading-xxsmall, ".concat(fontFallback.heading.xxsmall, ")"),
16
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
14
17
  color: "var(--ds-text-subtlest, ".concat(colors.N200, ")"),
15
18
  position: 'relative',
16
19
  display: 'inline-block'
17
20
  });
18
21
 
19
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
22
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
20
23
  export var ArticleFeedbackAnswerWrapper = styled.div({
21
24
  paddingTop: "var(--ds-space-200, 16px)"
22
25
  });
@@ -55,7 +55,7 @@ export var HelpArticle = function HelpArticle(_ref) {
55
55
  analyticsEvent.payload.attributes = {
56
56
  componentName: 'Article',
57
57
  packageName: "@atlaskit/help",
58
- packageVersion: "7.4.2"
58
+ packageVersion: "7.5.1"
59
59
  };
60
60
  if (onRelatedArticlesShowMoreClick) {
61
61
  onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
@@ -13,7 +13,7 @@ import { WhatsNewTypeTitle, WhatsNewTitleText, WhatsNewIconContainer, RelatedLin
13
13
  var analyticsContextData = {
14
14
  componentName: 'ArticlesListItem',
15
15
  packageName: "@atlaskit/help",
16
- packageVersion: "7.4.2"
16
+ packageVersion: "7.5.1"
17
17
  };
18
18
  export var WhatsNewArticle = function WhatsNewArticle(_ref) {
19
19
  var formatMessage = _ref.intl.formatMessage,
@@ -1,12 +1,15 @@
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';
5
6
  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
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
7
8
  export var WhatsNewTypeTitle = styled.span({
8
9
  textDecoration: 'none',
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
9
11
  color: "var(--ds-text-subtlest, ".concat(colors.N300, ")"),
12
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
10
13
  font: "var(--ds-font-body, ".concat(fontFallback.body.medium, ")"),
11
14
  verticalAlign: 'middle',
12
15
  paddingLeft: "var(--ds-space-050, 4px)",
@@ -14,15 +17,16 @@ export var WhatsNewTypeTitle = styled.span({
14
17
  overflowX: 'hidden'
15
18
  });
16
19
 
17
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
20
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
18
21
  export var WhatsNewIconContainer = styled.div({
19
22
  display: 'block',
20
23
  paddingBottom: "var(--ds-space-100, 8px)"
21
24
  });
22
25
 
23
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
26
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
24
27
  export var WhatsNewTitleText = styled.span({
25
28
  textDecoration: 'none',
29
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
26
30
  color: "var(--ds-text, ".concat(colors.N800, ")"),
27
31
  fontSize: "".concat(fontSize(), "px"),
28
32
  fontWeight: 600,
@@ -32,9 +36,10 @@ export var WhatsNewTitleText = styled.span({
32
36
  display: 'block'
33
37
  });
34
38
 
35
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
39
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
36
40
  export var WhatsNewRelatedLinksTitleText = styled.span({
37
41
  textDecoration: 'none',
42
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
38
43
  color: "var(--ds-text, ".concat(colors.N800, ")"),
39
44
  fontSize: "".concat(fontSizeSmall(), "px"),
40
45
  fontWeight: 600,
@@ -44,12 +49,12 @@ export var WhatsNewRelatedLinksTitleText = styled.span({
44
49
  display: 'block'
45
50
  });
46
51
 
47
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
52
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
48
53
  export var RelatedLinkContainer = styled.div({
49
54
  marginBottom: "var(--ds-space-100, 8px)"
50
55
  });
51
56
 
52
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
57
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
53
58
  export var ExternalLinkIconContainer = styled.div({
54
59
  display: 'inline-block',
55
60
  verticalAlign: 'middle',
@@ -1,7 +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 styled from '@emotion/styled';
4
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
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 ArticleContainer = styled.div({
6
7
  padding: "var(--ds-space-200, 16px)".concat(" ", "var(--ds-space-300, 24px)"),
7
8
  position: 'absolute',
@@ -8,7 +8,7 @@ import { ArticlesListItemWrapper, ArticlesListItemContainer, ArticlesListItemTit
8
8
  var ANALYTICS_CONTEXT_DATA = {
9
9
  componentName: 'ArticlesListItem',
10
10
  packageName: "@atlaskit/help",
11
- packageVersion: "7.4.2"
11
+ packageVersion: "7.5.1"
12
12
  };
13
13
  export var ArticlesListItem = function ArticlesListItem(_ref) {
14
14
  var styles = _ref.styles,
@@ -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 -- To migrate as part of go/ui-styling-standard
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
- }, function (props) {
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 -- To migrate as part of go/ui-styling-standard
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 -- To migrate as part of go/ui-styling-standard
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 -- To migrate as part of go/ui-styling-standard
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 -- To migrate as part of go/ui-styling-standard
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 -- To migrate as part of go/ui-styling-standard
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 -- To migrate as part of go/ui-styling-standard
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 -- To migrate as part of go/ui-styling-standard
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.4.2"
10
+ packageVersion: "7.5.1"
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 -- To migrate as part of go/ui-styling-standard
8
- export var HelpContentButtonContainer = styled.a(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: block;\n cursor: pointer;\n width: calc(100% - ", ");\n color: ", ";\n padding: ", ";\n border-radius: 3px;\n\n &:hover,\n &:focus,\n &:visited,\n &:active {\n text-decoration: none;\n outline: none;\n outline-offset: none;\n color: ", ";\n }\n\n &:focus {\n box-shadow: ", " 0 0 0 2px inset;\n }\n\n &:hover {\n background-color: ", ";\n }\n\n &:active {\n background-color: ", ";\n }\n"])), "var(--ds-space-200, 16px)", "var(--ds-text-subtle, ".concat(colors.N600, ")"), "var(--ds-space-100, 8px)", "var(--ds-text-subtle, ".concat(colors.N600, ")"), "var(--ds-border-focused, ".concat(colors.B100, ")"), "var(--ds-background-neutral-subtle-hovered, ".concat(colors.N30, ")"), "var(--ds-background-neutral-subtle-pressed, ".concat(colors.B50, ")"));
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 -- To migrate as part of go/ui-styling-standard
11
- export var HelpContentButtonIcon = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n width: 20px;\n height: 20px;\n border-radius: 4px;\n position: relative;\n\n & span {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n"])));
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 -- To migrate as part of go/ui-styling-standard
14
- export var HelpContentButtonText = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n width: calc(100% - 20px);\n display: inline-block;\n vertical-align: middle;\n padding: 0 ", ";\n box-sizing: border-box;\n"])), "var(--ds-space-100, 8px)");
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 -- To migrate as part of go/ui-styling-standard
17
- export var HelpContentButtonExternalLinkIcon = styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n padding-left: ", ";\n"])), "var(--ds-space-050, 4px)");
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 -- To migrate as part of go/ui-styling-standard
20
- export var HelpContentButtonExternalNotificationIcon = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n margin-top: ", ";\n padding-left: ", ";\n"])), "var(--ds-space-negative-050, -4px)", "var(--ds-space-050, 4px)");
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
- import { jsx } from '@emotion/react';
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.4.2";
23
+ var packageVersion = "7.5.1";
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 -- To migrate as part of go/ui-styling-standard
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 -- To migrate as part of go/ui-styling-standard
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 -- To migrate as part of go/ui-styling-standard
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 -- To migrate as part of go/ui-styling-standard
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
- import { jsx } from '@emotion/react';
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.4.2"
21
+ packageVersion: "7.5.1"
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 -- To migrate as part of go/ui-styling-standard
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 -- To migrate as part of go/ui-styling-standard
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 -- To migrate as part of go/ui-styling-standard
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,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 -- To migrate as part of go/ui-styling-standard
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 -- To migrate as part of go/ui-styling-standard
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 -- To migrate as part of go/ui-styling-standard
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 -- To migrate as part of go/ui-styling-standard
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 -- To migrate as part of go/ui-styling-standard
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
  });