@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
@@ -11,7 +11,7 @@ import { ARTICLE_TYPE } from '../../../model/Help';
11
11
  var ANALYTICS_CONTEXT_DATA = {
12
12
  componentName: 'WhatsNewButton',
13
13
  packageName: "@atlaskit/help",
14
- packageVersion: "7.4.2"
14
+ packageVersion: "7.5.1"
15
15
  };
16
16
  export var WhatsNewButton = function WhatsNewButton(_ref) {
17
17
  var productName = _ref.productName,
@@ -1,17 +1,20 @@
1
1
  /** @jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import styled from '@emotion/styled';
3
4
  import * as colors from '@atlaskit/theme/colors';
4
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- 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 WhatsNewResultsEmptyMessageImage = styled.div({
6
7
  padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
7
8
  textAlign: 'center'
8
9
  });
9
10
 
10
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
11
12
  export var WhatsNewResultsEmptyMessageText = styled.div({
12
13
  padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
13
14
  textAlign: 'center',
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
14
16
  p: {
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
15
18
  color: "var(--ds-text-subtlest, ".concat(colors.N200, ")")
16
19
  }
17
20
  });
@@ -1,17 +1,20 @@
1
1
  /** @jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import styled from '@emotion/styled';
3
4
  import * as colors from '@atlaskit/theme/colors';
4
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- 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 SearchResultEmptyMessageImage = styled.div({
6
7
  padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
7
8
  textAlign: 'center'
8
9
  });
9
10
 
10
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
11
12
  export var SearchResultEmptyMessageText = styled.div({
12
13
  padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 0 ", "var(--ds-space-300, 24px)"),
13
14
  textAlign: 'center',
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
14
16
  p: {
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
15
18
  color: "var(--ds-text-subtlest, ".concat(colors.N200, ")")
16
19
  }
17
20
  });
@@ -8,7 +8,7 @@ import { WhatsNewResultListItemWrapper, WhatsNewResultListItemTitleContainer, Wh
8
8
  var ANALYTICS_CONTEXT_DATA = {
9
9
  componentName: 'ArticlesListItem',
10
10
  packageName: "@atlaskit/help",
11
- packageVersion: "7.4.2"
11
+ packageVersion: "7.5.1"
12
12
  };
13
13
  export var WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
14
14
  var formatMessage = _ref.intl.formatMessage,
@@ -1,7 +1,9 @@
1
1
  /** @jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import styled from '@emotion/styled';
3
4
  import { fontSize, fontSizeSmall } from '@atlaskit/theme/constants';
4
5
  import * as colors from '@atlaskit/theme/colors';
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
5
7
  export var WhatsNewResultListItemWrapper =
6
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
7
9
  styled.a({
@@ -11,7 +13,9 @@ styled.a({
11
13
  display: "block",
12
14
  textDecoration: "none",
13
15
  cursor: "pointer",
16
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
14
17
  color: "".concat("var(--ds-text-subtlest, ".concat(colors.N200, ")")),
18
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
15
19
  backgroundColor: "".concat("var(--ds-background-neutral-subtle, ".concat(colors.N0, ")")),
16
20
  borderRadius: "3px",
17
21
  '&:hover, &:focus, &:visited, &:active': {
@@ -20,26 +24,31 @@ styled.a({
20
24
  outlineOffset: "none"
21
25
  },
22
26
  '&:focus': {
27
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
23
28
  boxShadow: "".concat("var(--ds-border-focused, ".concat(colors.B100, ")"), " 0px 0px 0px 2px inset")
24
29
  },
25
30
  '&:hover': {
31
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
26
32
  backgroundColor: "".concat("var(--ds-background-neutral-subtle-hovered, ".concat(colors.N30, ")"))
27
33
  },
28
34
  '&:active': {
35
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
29
36
  backgroundColor: "".concat("var(--ds-background-neutral-subtle-pressed, ".concat(colors.B50, ")"))
30
37
  }
31
- }, function (props) {
38
+ },
39
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
40
+ function (props) {
32
41
  return props.styles;
33
42
  });
34
43
 
35
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- 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
36
45
  export var WhatsNewResultListItemTitleContainer = styled.div({
37
46
  width: '100%',
38
47
  whiteSpace: 'nowrap',
39
48
  marginBottom: "var(--ds-space-050, 4px)"
40
49
  });
41
50
 
42
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
51
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
43
52
  export var WhatsNewResultListItemTitleText = styled.span({
44
53
  fontSize: "".concat(fontSizeSmall(), "px"),
45
54
  lineHeight: "".concat(fontSize(), "px"),
@@ -51,10 +60,11 @@ export var WhatsNewResultListItemTitleText = styled.span({
51
60
  overflowX: 'hidden'
52
61
  });
53
62
 
54
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
63
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
55
64
  export var WhatsNewResultListItemDescription = styled.p({
56
65
  display: 'block',
57
66
  lineHeight: '20px',
67
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
58
68
  color: "var(--ds-text, ".concat(colors.N800, ")"),
59
69
  margin: 0
60
70
  });
@@ -42,7 +42,8 @@ var WhatsNewResultsList = function WhatsNewResultsList(_ref) {
42
42
  }, /*#__PURE__*/React.createElement(WhatsNewResultsListGroupTitle, null, whatsNewArticlesGroupedByDate[key].title), whatsNewArticlesGroupedByDate[key].items.map(function (whatsNewArticle, i) {
43
43
  return /*#__PURE__*/React.createElement(WhatsNewResultItem, {
44
44
  styles: {
45
- border: style === 'secondary' ? "2px solid ".concat("var(--ds-border, ".concat(colors.N30, ")")) : 0,
45
+ border: style === 'secondary' ? // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
46
+ "2px solid ".concat("var(--ds-border, ".concat(colors.N30, ")")) : 0,
46
47
  padding: style === 'secondary' ? "var(--ds-space-100, 8px)".concat(" ", "var(--ds-space-200, 16px)") : "var(--ds-space-100, 8px)",
47
48
  marginBottom: style === 'secondary' ? "var(--ds-space-150, 12px)" : 0
48
49
  },
@@ -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 { fontSizeSmall } from '@atlaskit/theme/constants';
6
8
  import * as colors from '@atlaskit/theme/colors';
@@ -10,22 +12,24 @@ export var truncate = function truncate() {
10
12
  overflowX: 'hidden',
11
13
  textOverflow: 'ellipsis',
12
14
  whiteSpace: 'nowrap',
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
13
16
  width: width
14
17
  });
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 WhatsNewResultsListContainer = styled.div({
19
22
  position: 'relative'
20
23
  });
21
24
 
22
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
25
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
23
26
  export var WhatsNewResultsListGroupWrapper = styled.div({
24
27
  padding: "var(--ds-space-100, 8px)".concat(" 0 ", "var(--ds-space-100, 8px)", " 0")
25
28
  });
26
29
 
27
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
30
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
28
31
  export var WhatsNewResultsListGroupTitle = styled.div({
32
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
29
33
  color: "var(--ds-text-subtlest, ".concat(colors.N200, ")"),
30
34
  fontSize: "".concat(fontSizeSmall(), "px"),
31
35
  fontWeight: 'bold',
@@ -33,9 +37,10 @@ export var WhatsNewResultsListGroupTitle = styled.div({
33
37
  textTransform: 'uppercase'
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 ToggleShowWhatsNewResultsContainer = styled.div({
38
42
  padding: "var(--ds-space-100, 8px)".concat(" 0"),
43
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
39
44
  span: {
40
45
  margin: 0
41
46
  }
@@ -1,9 +1,10 @@
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
  /**
4
5
  * Loading styled-components
5
6
  */
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 LoadignWhatsNewResultsList = styled.ul({
8
9
  width: '100%',
9
10
  margin: 0,
@@ -12,7 +13,7 @@ export var LoadignWhatsNewResultsList = styled.ul({
12
13
  marginTop: "var(--ds-space-200, 16px)"
13
14
  });
14
15
 
15
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
16
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
16
17
  export var LoadignWhatsNewResultsListItem = styled.li({
17
18
  display: 'block',
18
19
  width: '100%',
@@ -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 { gridSize } from '@atlaskit/theme/constants';
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 WhatsNewResultsContainer = styled.div({
6
7
  position: 'absolute',
7
8
  height: '100%',
@@ -17,17 +18,18 @@ export var WhatsNewResultsContainer = styled.div({
17
18
  padding: "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 SelectContainer = styled.div({
23
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
22
24
  width: "".concat(19 * gridSize(), "px")
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 WhatsNewResultsListContainer = styled.div({
27
29
  paddingTop: "var(--ds-space-100, 8px)"
28
30
  });
29
31
 
30
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
32
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
31
33
  export var WhatsNewResultsListTitleContainer = styled.div({
32
34
  padding: "0 ".concat("var(--ds-space-100, 8px)")
33
35
  });
@@ -19,7 +19,8 @@ export var SearchContextProvider = function SearchContextProvider(_ref) {
19
19
  onSearchExternalUrlClick = _ref.onSearchExternalUrlClick,
20
20
  searchExternalUrl = _ref.searchExternalUrl,
21
21
  children = _ref.children,
22
- openExternalSearchUrlInNewTab = _ref.openExternalSearchUrlInNewTab;
22
+ openExternalSearchUrlInNewTab = _ref.openExternalSearchUrlInNewTab,
23
+ searchOnEnterKeyPress = _ref.searchOnEnterKeyPress;
23
24
  // Search
24
25
  var _useState = useState(''),
25
26
  _useState2 = _slicedToArray(_useState, 2),
@@ -77,7 +78,7 @@ export var SearchContextProvider = function SearchContextProvider(_ref) {
77
78
  var debouncedDoSearch = debounce(doSearch, 500);
78
79
  var search = onSearch && function (newSearchValue) {
79
80
  if (newSearchValue !== searchValue) {
80
- if (newSearchValue.length >= MIN_CHARACTERS_FOR_SEARCH) {
81
+ if (newSearchValue.length >= MIN_CHARACTERS_FOR_SEARCH && !searchOnEnterKeyPress) {
81
82
  try {
82
83
  setSearchState(REQUEST_STATE.loading);
83
84
  debouncedDoSearch(newSearchValue);
@@ -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 HelpBodyContainer = styled.div({
6
7
  flexGrow: 1,
7
8
  minHeight: 0,
@@ -16,7 +17,7 @@ export var HelpBodyContainer = styled.div({
16
17
  alignItems: 'flex-start'
17
18
  });
18
19
 
19
- // 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
20
21
  export var HelpBody = styled.div({
21
22
  width: '100%',
22
23
  boxSizing: 'border-box',
@@ -27,11 +28,13 @@ export var HelpBody = styled.div({
27
28
  overflowX: 'hidden',
28
29
  overflowY: 'auto'
29
30
  });
30
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
31
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
31
32
  export var Home = styled.div(function (props) {
32
33
  return {
34
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
33
35
  display: props.isOverlayFullyVisible ? 'none' : 'block',
34
36
  height: '100%',
37
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
35
38
  overflow: props.isOverlayVisible ? 'hidden' : 'auto',
36
39
  padding: "var(--ds-space-200, 16px)",
37
40
  boxSizing: 'border-box'
@@ -2,14 +2,17 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
2
2
  var _templateObject;
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 { keyframes } from '@emotion/react';
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
8
  import styled from '@emotion/styled';
7
9
  import { gridSize } from '@atlaskit/theme/constants';
8
10
  import * as colors from '@atlaskit/theme/colors';
9
11
  import { WHATS_NEW_ITEM_TYPES } from '../model/WhatsNew';
10
12
 
11
- // 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
12
14
  export var DividerLine = styled.div({
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
13
16
  backgroundColor: "var(--ds-border, ".concat(colors.N30A, ")"),
14
17
  height: '2px',
15
18
  width: '100%',
@@ -31,14 +34,17 @@ var shimmer = keyframes({
31
34
  }
32
35
  });
33
36
 
34
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
37
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
35
38
  export var LoadingRectangle = styled.div(function (props) {
36
39
  return {
37
40
  display: 'inline-block',
38
41
  verticalAlign: 'middle',
39
42
  position: 'relative',
43
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
40
44
  height: props.contentHeight ? props.contentHeight : '1rem',
45
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
41
46
  marginTop: props.marginTop ? props.marginTop : gridSize() + 'px',
47
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
42
48
  width: props.contentWidth ? props.contentWidth : '100%',
43
49
  borderRadius: '2px',
44
50
  animationDuration: '1.2s',
@@ -46,8 +52,15 @@ export var LoadingRectangle = styled.div(function (props) {
46
52
  animationIterationCount: 'infinite',
47
53
  animationName: shimmer,
48
54
  animationTimingFunction: 'linear',
55
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
49
56
  backgroundColor: "var(--ds-background-neutral, ".concat(colors.N30, ")"),
50
- backgroundImage: "linear-gradient( to right, ".concat("var(--ds-background-neutral-subtle, ".concat(colors.N30, ")"), " 10%, ", "var(--ds-background-neutral, ".concat(colors.N40, ")"), " 20%, ", "var(--ds-background-neutral-subtle, ".concat(colors.N30, ")"), " 30% )"),
57
+ backgroundImage: "linear-gradient( to right, ".concat("var(--ds-background-neutral-subtle, ".concat(
58
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
59
+ colors.N30
60
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
61
+ , ")"), " 10%, ", "var(--ds-background-neutral, ".concat(colors.N40, ")"), " 20%, ", "var(--ds-background-neutral-subtle, ".concat(
62
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
63
+ colors.N30, ")"), " 30% )"),
51
64
  backgroundRepeat: 'no-repeat'
52
65
  };
53
66
  });
@@ -56,14 +69,17 @@ export var LoadingRectangle = styled.div(function (props) {
56
69
  * Loading Circle
57
70
  */
58
71
 
59
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
72
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
60
73
  export var LoadingCircle = styled.div(function (props) {
61
74
  return {
62
75
  display: 'inline-block',
63
76
  verticalAlign: 'middle',
64
77
  position: 'relative',
78
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
65
79
  height: props.radius ? props.radius : "".concat(gridSize() * 4, "px"),
80
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
66
81
  marginTop: props.marginTop ? props.marginTop : '',
82
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
67
83
  width: props.radius ? props.radius : "".concat(gridSize() * 4, "px"),
68
84
  borderRadius: '50%',
69
85
  animationDuration: '1.2s',
@@ -71,8 +87,15 @@ export var LoadingCircle = styled.div(function (props) {
71
87
  animationIterationCount: 'infinite',
72
88
  animationName: shimmer,
73
89
  animationTimingFunction: 'linear',
90
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
74
91
  backgroundColor: "var(--ds-background-neutral, ".concat(colors.N30, ")"),
75
- backgroundImage: "linear-gradient( to right, ".concat("var(--ds-background-neutral-subtle, ".concat(colors.N30, ")"), " 10%, ", "var(--ds-background-neutral, ".concat(colors.N40, ")"), " 20%, ", "var(--ds-background-neutral-subtle, ".concat(colors.N30, ")"), " 30% )"),
92
+ backgroundImage: "linear-gradient( to right, ".concat("var(--ds-background-neutral-subtle, ".concat(
93
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
94
+ colors.N30
95
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
96
+ , ")"), " 10%, ", "var(--ds-background-neutral, ".concat(colors.N40, ")"), " 20%, ", "var(--ds-background-neutral-subtle, ".concat(
97
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
98
+ colors.N30, ")"), " 30% )"),
76
99
  backgroundRepeat: 'no-repeat'
77
100
  };
78
101
  });
@@ -81,8 +104,8 @@ export var LoadingCircle = styled.div(function (props) {
81
104
  * What's new icon
82
105
  */
83
106
 
84
- // 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
85
- export var WhatsNewTypeIcon = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\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) {
107
+ // 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
108
+ export var WhatsNewTypeIcon = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\tdisplay: inline-block;\n\tvertical-align: middle;\n\tposition: relative;\n\theight: ", ";\n\twidth: ", ";\n\tborder-radius: 2px;\n\tbackground-color: ", ";\n\n\t& > img {\n\t\twidth: calc(100% - ", "px);\n\t\theight: calc(100% - ", "px);\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: 50%;\n\t\ttransform: translate(-50%, -50%);\n\n\t\t& > svg {\n\t\t\theight: 100%;\n\t\t\twidth: 100%;\n\t\t}\n\t}\n"])), "var(--ds-space-200, 16px)", "var(--ds-space-200, 16px)", function (_ref) {
86
109
  var type = _ref.type;
87
110
  switch (type) {
88
111
  case WHATS_NEW_ITEM_TYPES.IMPROVEMENT:
@@ -8,6 +8,7 @@ interface SearchSharedInterface {
8
8
  onSearchExternalUrlClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
9
9
  searchExternalUrl?: string;
10
10
  openExternalSearchUrlInNewTab?: boolean;
11
+ searchOnEnterKeyPress?: boolean;
11
12
  }
12
13
  export interface SearchContextInterface extends SearchSharedInterface {
13
14
  onSearch?(value?: string): void;
@@ -22,5 +23,5 @@ export interface SearchProviderInterface extends SearchSharedInterface {
22
23
  onSearchResultItemClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, articleData: ArticleItem): void;
23
24
  }
24
25
  export declare const useSearchContext: () => SearchContextInterface, CtxProvider: React.Provider<SearchContextInterface | undefined>;
25
- export declare const SearchContextProvider: ({ onSearch, onSearchInputChanged, onSearchInputCleared, onSearchResultItemClick, onSearchExternalUrlClick, searchExternalUrl, children, openExternalSearchUrlInNewTab, }: PropsWithChildren<SearchProviderInterface>) => JSX.Element;
26
+ export declare const SearchContextProvider: ({ onSearch, onSearchInputChanged, onSearchInputCleared, onSearchResultItemClick, onSearchExternalUrlClick, searchExternalUrl, children, openExternalSearchUrlInNewTab, searchOnEnterKeyPress, }: PropsWithChildren<SearchProviderInterface>) => JSX.Element;
26
27
  export {};
@@ -37,6 +37,7 @@ export interface Help {
37
37
  onSearchExternalUrlClick?(event?: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent): void;
38
38
  searchExternalUrl?: string;
39
39
  openExternalSearchUrlInNewTab?: boolean;
40
+ searchOnEnterKeyPress?: boolean;
40
41
  };
41
42
  navigation?: {
42
43
  navigationData?: {
@@ -8,6 +8,7 @@ interface SearchSharedInterface {
8
8
  onSearchExternalUrlClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent): void;
9
9
  searchExternalUrl?: string;
10
10
  openExternalSearchUrlInNewTab?: boolean;
11
+ searchOnEnterKeyPress?: boolean;
11
12
  }
12
13
  export interface SearchContextInterface extends SearchSharedInterface {
13
14
  onSearch?(value?: string): void;
@@ -22,5 +23,5 @@ export interface SearchProviderInterface extends SearchSharedInterface {
22
23
  onSearchResultItemClick?(event: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent: UIAnalyticsEvent, articleData: ArticleItem): void;
23
24
  }
24
25
  export declare const useSearchContext: () => SearchContextInterface, CtxProvider: React.Provider<SearchContextInterface | undefined>;
25
- export declare const SearchContextProvider: ({ onSearch, onSearchInputChanged, onSearchInputCleared, onSearchResultItemClick, onSearchExternalUrlClick, searchExternalUrl, children, openExternalSearchUrlInNewTab, }: PropsWithChildren<SearchProviderInterface>) => JSX.Element;
26
+ export declare const SearchContextProvider: ({ onSearch, onSearchInputChanged, onSearchInputCleared, onSearchResultItemClick, onSearchExternalUrlClick, searchExternalUrl, children, openExternalSearchUrlInNewTab, searchOnEnterKeyPress, }: PropsWithChildren<SearchProviderInterface>) => JSX.Element;
26
27
  export {};
@@ -37,6 +37,7 @@ export interface Help {
37
37
  onSearchExternalUrlClick?(event?: React.MouseEvent<HTMLElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent): void;
38
38
  searchExternalUrl?: string;
39
39
  openExternalSearchUrlInNewTab?: boolean;
40
+ searchOnEnterKeyPress?: boolean;
40
41
  };
41
42
  navigation?: {
42
43
  navigationData?: {