@atlaskit/help 7.5.0 → 7.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/analytics.js +1 -1
  3. package/dist/cjs/components/Article/ArticleLoadingFail/index.js +3 -3
  4. package/dist/cjs/components/Article/ArticleLoadingFail/styled.js +3 -2
  5. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +3 -3
  6. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +3 -3
  7. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/index.js +22 -10
  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 +4 -4
  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/SearchExternalSite.js +2 -2
  23. package/dist/cjs/components/Search/SearchResults/SearchResultsEmpty.js +2 -2
  24. package/dist/cjs/components/Search/SearchResults/styled.js +10 -5
  25. package/dist/cjs/components/ShowMoreButton/index.js +3 -3
  26. package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -1
  27. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +5 -2
  28. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.js +2 -2
  29. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +5 -2
  30. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  31. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +14 -4
  32. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +2 -1
  33. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +11 -4
  34. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -2
  35. package/dist/cjs/components/WhatsNew/WhatsNewResults/styled.js +6 -4
  36. package/dist/cjs/components/styled.js +7 -3
  37. package/dist/cjs/util/styled.js +30 -7
  38. package/dist/es2019/analytics.js +1 -1
  39. package/dist/es2019/components/Article/ArticleLoadingFail/index.js +2 -2
  40. package/dist/es2019/components/Article/ArticleLoadingFail/styled.js +3 -2
  41. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +2 -2
  42. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +2 -2
  43. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/index.js +22 -11
  44. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/styled.js +6 -3
  45. package/dist/es2019/components/Article/HelpArticle/index.js +1 -1
  46. package/dist/es2019/components/Article/WhatsNewArticle/index.js +2 -2
  47. package/dist/es2019/components/Article/WhatsNewArticle/styled.js +11 -6
  48. package/dist/es2019/components/Article/styled.js +2 -1
  49. package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
  50. package/dist/es2019/components/ArticlesList/ArticlesListItem/styled.js +37 -7
  51. package/dist/es2019/components/ArticlesList/styled.js +6 -2
  52. package/dist/es2019/components/HelpContentButton/index.js +1 -1
  53. package/dist/es2019/components/HelpContentButton/styled.js +54 -53
  54. package/dist/es2019/components/RelatedArticles/index.js +12 -8
  55. package/dist/es2019/components/RelatedArticles/styled.js +8 -4
  56. package/dist/es2019/components/Search/SearchInput/index.js +10 -6
  57. package/dist/es2019/components/Search/SearchInput/styled.js +7 -3
  58. package/dist/es2019/components/Search/SearchResults/SearchExternalSite.js +1 -1
  59. package/dist/es2019/components/Search/SearchResults/SearchResultsEmpty.js +1 -1
  60. package/dist/es2019/components/Search/SearchResults/styled.js +10 -5
  61. package/dist/es2019/components/ShowMoreButton/index.js +1 -1
  62. package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
  63. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +5 -2
  64. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.js +1 -1
  65. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +5 -2
  66. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  67. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +14 -4
  68. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +3 -1
  69. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +9 -4
  70. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -2
  71. package/dist/es2019/components/WhatsNew/WhatsNewResults/styled.js +6 -4
  72. package/dist/es2019/components/styled.js +6 -3
  73. package/dist/es2019/util/styled.js +48 -25
  74. package/dist/esm/analytics.js +1 -1
  75. package/dist/esm/components/Article/ArticleLoadingFail/index.js +2 -2
  76. package/dist/esm/components/Article/ArticleLoadingFail/styled.js +3 -2
  77. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +2 -2
  78. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +2 -2
  79. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/index.js +22 -11
  80. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/styled.js +6 -3
  81. package/dist/esm/components/Article/HelpArticle/index.js +1 -1
  82. package/dist/esm/components/Article/WhatsNewArticle/index.js +2 -2
  83. package/dist/esm/components/Article/WhatsNewArticle/styled.js +11 -6
  84. package/dist/esm/components/Article/styled.js +2 -1
  85. package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
  86. package/dist/esm/components/ArticlesList/ArticlesListItem/styled.js +37 -7
  87. package/dist/esm/components/ArticlesList/styled.js +6 -2
  88. package/dist/esm/components/HelpContentButton/index.js +1 -1
  89. package/dist/esm/components/HelpContentButton/styled.js +11 -10
  90. package/dist/esm/components/RelatedArticles/index.js +12 -8
  91. package/dist/esm/components/RelatedArticles/styled.js +8 -4
  92. package/dist/esm/components/Search/SearchInput/index.js +10 -6
  93. package/dist/esm/components/Search/SearchInput/styled.js +7 -3
  94. package/dist/esm/components/Search/SearchResults/SearchExternalSite.js +1 -1
  95. package/dist/esm/components/Search/SearchResults/SearchResultsEmpty.js +1 -1
  96. package/dist/esm/components/Search/SearchResults/styled.js +10 -5
  97. package/dist/esm/components/ShowMoreButton/index.js +1 -1
  98. package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
  99. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +5 -2
  100. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/index.js +1 -1
  101. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +5 -2
  102. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  103. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +14 -4
  104. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +2 -1
  105. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +9 -4
  106. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsLoading/styled.js +3 -2
  107. package/dist/esm/components/WhatsNew/WhatsNewResults/styled.js +6 -4
  108. package/dist/esm/components/styled.js +6 -3
  109. package/dist/esm/util/styled.js +30 -7
  110. package/package.json +98 -98
  111. package/report.api.md +288 -301
@@ -1,76 +1,77 @@
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 'styled-components';
4
5
  import * as colors from '@atlaskit/theme/colors';
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
+ // 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
6
7
  export const HelpContentButtonContainer = styled.a`
7
- display: block;
8
- cursor: pointer;
9
- width: calc(100% - ${"var(--ds-space-200, 16px)"});
10
- color: ${`var(--ds-text-subtle, ${colors.N600})`};
11
- padding: ${"var(--ds-space-100, 8px)"};
12
- border-radius: 3px;
8
+ display: block;
9
+ cursor: pointer;
10
+ width: calc(100% - ${"var(--ds-space-200, 16px)"});
11
+ color: ${`var(--ds-text-subtle, ${colors.N600})`};
12
+ padding: ${"var(--ds-space-100, 8px)"};
13
+ border-radius: 3px;
13
14
 
14
- &:hover,
15
- &:focus,
16
- &:visited,
17
- &:active {
18
- text-decoration: none;
19
- outline: none;
20
- outline-offset: none;
21
- color: ${`var(--ds-text-subtle, ${colors.N600})`};
22
- }
15
+ &:hover,
16
+ &:focus,
17
+ &:visited,
18
+ &:active {
19
+ text-decoration: none;
20
+ outline: none;
21
+ outline-offset: none;
22
+ color: ${`var(--ds-text-subtle, ${colors.N600})`};
23
+ }
23
24
 
24
- &:focus {
25
- box-shadow: ${`var(--ds-border-focused, ${colors.B100})`} 0 0 0 2px inset;
26
- }
25
+ &:focus {
26
+ box-shadow: ${`var(--ds-border-focused, ${colors.B100})`} 0 0 0 2px inset;
27
+ }
27
28
 
28
- &:hover {
29
- background-color: ${`var(--ds-background-neutral-subtle-hovered, ${colors.N30})`};
30
- }
29
+ &:hover {
30
+ background-color: ${`var(--ds-background-neutral-subtle-hovered, ${colors.N30})`};
31
+ }
31
32
 
32
- &:active {
33
- background-color: ${`var(--ds-background-neutral-subtle-pressed, ${colors.B50})`};
34
- }
33
+ &:active {
34
+ background-color: ${`var(--ds-background-neutral-subtle-pressed, ${colors.B50})`};
35
+ }
35
36
  `;
36
37
 
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
+ // 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
38
39
  export const HelpContentButtonIcon = styled.div`
39
- display: inline-block;
40
- vertical-align: middle;
41
- width: 20px;
42
- height: 20px;
43
- border-radius: 4px;
44
- position: relative;
40
+ display: inline-block;
41
+ vertical-align: middle;
42
+ width: 20px;
43
+ height: 20px;
44
+ border-radius: 4px;
45
+ position: relative;
45
46
 
46
- & span {
47
- position: absolute;
48
- top: 50%;
49
- left: 50%;
50
- transform: translate(-50%, -50%);
51
- }
47
+ & span {
48
+ position: absolute;
49
+ top: 50%;
50
+ left: 50%;
51
+ transform: translate(-50%, -50%);
52
+ }
52
53
  `;
53
54
 
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
+ // 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
55
56
  export const HelpContentButtonText = styled.div`
56
- width: calc(100% - 20px);
57
- display: inline-block;
58
- vertical-align: middle;
59
- padding: 0 ${"var(--ds-space-100, 8px)"};
60
- box-sizing: border-box;
57
+ width: calc(100% - 20px);
58
+ display: inline-block;
59
+ vertical-align: middle;
60
+ padding: 0 ${"var(--ds-space-100, 8px)"};
61
+ box-sizing: border-box;
61
62
  `;
62
63
 
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
+ // 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
64
65
  export const HelpContentButtonExternalLinkIcon = styled.div`
65
- display: inline-block;
66
- vertical-align: middle;
67
- padding-left: ${"var(--ds-space-050, 4px)"};
66
+ display: inline-block;
67
+ vertical-align: middle;
68
+ padding-left: ${"var(--ds-space-050, 4px)"};
68
69
  `;
69
70
 
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
+ // 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
71
72
  export const HelpContentButtonExternalNotificationIcon = styled.div`
72
- display: inline-block;
73
- vertical-align: middle;
74
- margin-top: ${"var(--ds-space-negative-050, -4px)"};
75
- padding-left: ${"var(--ds-space-050, 4px)"};
73
+ display: inline-block;
74
+ vertical-align: middle;
75
+ margin-top: ${"var(--ds-space-negative-050, -4px)"};
76
+ padding-left: ${"var(--ds-space-050, 4px)"};
76
77
  `;
@@ -13,9 +13,18 @@ import { DividerLine } from '../../util/styled';
13
13
  import { RelatedArticlesTitle } from './styled';
14
14
  import useCancellablePromise from '../../util/hooks/cancellablePromise';
15
15
  import { usePrevious } from '../../util/hooks/previous';
16
- import { jsx } from '@emotion/react';
16
+
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
18
+ import { css, jsx } from '@emotion/react';
17
19
  const packageName = "@atlaskit/help";
18
- const packageVersion = "7.5.0";
20
+ const packageVersion = "7.5.2";
21
+ const buttonStyles = css({
22
+ padding: '0',
23
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
24
+ '& span': {
25
+ margin: '0'
26
+ }
27
+ });
19
28
  export const RelatedArticles = ({
20
29
  style = 'primary',
21
30
  routeGroup,
@@ -71,12 +80,7 @@ export const RelatedArticles = ({
71
80
  }, 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, {
72
81
  appearance: "link",
73
82
  spacing: "compact",
74
- css: {
75
- padding: '0',
76
- '& span': {
77
- margin: '0'
78
- }
79
- },
83
+ css: buttonStyles,
80
84
  onClick: updateRelatedArticles
81
85
  }, formatMessage(messages.help_related_article_endpoint_error_button_label))));
82
86
  } 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,11 +15,13 @@ export const truncate = (width = '100%') => css({
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
- // 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, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
20
23
  export const RelatedArticlesTitle = styled.div(baseHeading(16, 20), {
24
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
21
25
  color: `var(--ds-text, ${colors.N800})`,
22
26
  fontWeight: 600,
23
27
  letterSpacing: '-0.006em',
@@ -27,12 +31,12 @@ export const RelatedArticlesTitle = styled.div(baseHeading(16, 20), {
27
31
  /**
28
32
  * Loading styled-components
29
33
  */
30
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
34
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
31
35
  export const LoadignRelatedArticleSection = styled.div({
32
36
  marginTop: "var(--ds-space-100, 8px)"
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 const LoadignRelatedArticleList = styled.ul({
37
41
  width: '100%',
38
42
  margin: 0,
@@ -40,7 +44,7 @@ export const LoadignRelatedArticleList = styled.ul({
40
44
  boxSizing: 'border-box'
41
45
  });
42
46
 
43
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
47
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
44
48
  export const LoadignRelatedArticleListItem = styled.li({
45
49
  display: 'block',
46
50
  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
  const ANALYTICS_CONTEXT_DATA = {
18
19
  componentName: 'searchInput',
19
20
  packageName: "@atlaskit/help",
20
- packageVersion: "7.5.0"
21
+ packageVersion: "7.5.2"
21
22
  };
23
+ const 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: `${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: `${gridSize() * 3}px`
28
+ });
22
29
  export const SearchInput = ({
23
30
  intl: {
24
31
  formatMessage
@@ -83,10 +90,7 @@ export const SearchInput = ({
83
90
  elemAfterInput: jsx(CloseButtonAndSpinnerContainer, null, searchState === REQUEST_STATE.loading && jsx(Spinner, {
84
91
  size: "small"
85
92
  }), searchValue !== '' && jsx(Button, {
86
- css: {
87
- width: `${gridSize() * 3}px`,
88
- height: `${gridSize() * 3}px`
89
- },
93
+ css: buttonStyles,
90
94
  appearance: "subtle",
91
95
  onClick: handleOnClearButtonClick,
92
96
  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 const SearchInputContainer = styled.div({
5
6
  order: 0,
6
7
  flex: '0 1 auto',
@@ -9,11 +10,12 @@ export const 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 const 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 const 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 const CloseButtonAndSpinnerContainer = styled.div({
27
29
  fontSize: 0,
28
30
  paddingRight: "var(--ds-space-100, 8px)",
29
31
  position: 'relative',
30
32
  whiteSpace: 'nowrap',
33
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
31
34
  '& > span': {
32
35
  paddingRight: "var(--ds-space-050, 4px)"
33
36
  },
37
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
34
38
  '& > button, & > span': {
35
39
  display: 'inline-block',
36
40
  verticalAlign: 'middle'
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
3
3
  import * as colors from '@atlaskit/theme/colors';
4
- import Button from '@atlaskit/button/custom-theme-button';
4
+ import Button from '@atlaskit/button';
5
5
  import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
6
6
  import { injectIntl } from 'react-intl-next';
7
7
  import { messages } from '../../../messages';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
3
3
  import * as colors from '@atlaskit/theme/colors';
4
- import Button from '@atlaskit/button/custom-theme-button';
4
+ import Button from '@atlaskit/button';
5
5
  import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
6
6
  import { injectIntl } from 'react-intl-next';
7
7
  import NotFoundImage from '../../../assets/NotFoundImage';
@@ -1,7 +1,8 @@
1
1
  /** @jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import styled from '@emotion/styled';
3
4
  import * as colors from '@atlaskit/theme/colors';
4
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- 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 const SearchResultsContainer = styled.div({
6
7
  position: 'absolute',
7
8
  height: '100%',
@@ -17,32 +18,36 @@ export const SearchResultsContainer = styled.div({
17
18
  padding: `0 ${"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 const 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 const SearchResultEmptyMessageImage = styled.div({
28
29
  padding: `${"var(--ds-space-300, 24px)"} ${"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 const SearchResultEmptyMessageText = styled.div({
34
35
  padding: `${"var(--ds-space-300, 24px)"} ${"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, ${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 const 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, ${colors.N200})`
47
52
  }
48
53
  });
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import Spinner from '@atlaskit/spinner';
3
3
  import { injectIntl } from 'react-intl-next';
4
- import Button from '@atlaskit/button/custom-theme-button';
4
+ import Button from '@atlaskit/button';
5
5
  import { messages } from '../../messages';
6
6
  import { ToggleShowMoreArticlesContainer } from '../ArticlesList/styled';
7
7
  export const ShowMoreButton = ({
@@ -11,7 +11,7 @@ import { ARTICLE_TYPE } from '../../../model/Help';
11
11
  const ANALYTICS_CONTEXT_DATA = {
12
12
  componentName: 'WhatsNewButton',
13
13
  packageName: "@atlaskit/help",
14
- packageVersion: "7.5.0"
14
+ packageVersion: "7.5.2"
15
15
  };
16
16
  export const WhatsNewButton = ({
17
17
  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 const WhatsNewResultsEmptyMessageImage = styled.div({
6
7
  padding: `${"var(--ds-space-300, 24px)"} ${"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 const WhatsNewResultsEmptyMessageText = styled.div({
12
13
  padding: `${"var(--ds-space-300, 24px)"} ${"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, ${colors.N200})`
16
19
  }
17
20
  });
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import Button from '@atlaskit/button/custom-theme-button';
2
+ import Button from '@atlaskit/button';
3
3
  import { injectIntl } from 'react-intl-next';
4
4
  import ErrorImage from '../../../../assets/ErrorImage';
5
5
  import { messages } from '../../../../messages';
@@ -1,17 +1,20 @@
1
1
  /** @jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import styled from '@emotion/styled';
3
4
  import * as colors from '@atlaskit/theme/colors';
4
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- 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 const SearchResultEmptyMessageImage = styled.div({
6
7
  padding: `${"var(--ds-space-300, 24px)"} ${"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 const SearchResultEmptyMessageText = styled.div({
12
13
  padding: `${"var(--ds-space-300, 24px)"} ${"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, ${colors.N200})`
16
19
  }
17
20
  });
@@ -8,7 +8,7 @@ import { WhatsNewResultListItemWrapper, WhatsNewResultListItemTitleContainer, Wh
8
8
  const ANALYTICS_CONTEXT_DATA = {
9
9
  componentName: 'ArticlesListItem',
10
10
  packageName: "@atlaskit/help",
11
- packageVersion: "7.5.0"
11
+ packageVersion: "7.5.2"
12
12
  };
13
13
  export const WhatsNewResultListItem = ({
14
14
  intl: {
@@ -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 const 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: `${`var(--ds-text-subtlest, ${colors.N200})`}`,
18
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
15
19
  backgroundColor: `${`var(--ds-background-neutral-subtle, ${colors.N0})`}`,
16
20
  borderRadius: `3px`,
17
21
  '&:hover, &:focus, &:visited, &:active': {
@@ -20,24 +24,29 @@ 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: `${`var(--ds-border-focused, ${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: `${`var(--ds-background-neutral-subtle-hovered, ${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: `${`var(--ds-background-neutral-subtle-pressed, ${colors.B50})`}`
30
37
  }
31
- }, props => props.styles);
38
+ },
39
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
40
+ props => props.styles);
32
41
 
33
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
42
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
34
43
  export const WhatsNewResultListItemTitleContainer = styled.div({
35
44
  width: '100%',
36
45
  whiteSpace: 'nowrap',
37
46
  marginBottom: "var(--ds-space-050, 4px)"
38
47
  });
39
48
 
40
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
49
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
41
50
  export const WhatsNewResultListItemTitleText = styled.span({
42
51
  fontSize: `${fontSizeSmall()}px`,
43
52
  lineHeight: `${fontSize()}px`,
@@ -49,10 +58,11 @@ export const WhatsNewResultListItemTitleText = styled.span({
49
58
  overflowX: 'hidden'
50
59
  });
51
60
 
52
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
61
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
53
62
  export const WhatsNewResultListItemDescription = styled.p({
54
63
  display: 'block',
55
64
  lineHeight: '20px',
65
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
56
66
  color: `var(--ds-text, ${colors.N800})`,
57
67
  margin: 0
58
68
  });
@@ -36,7 +36,9 @@ const WhatsNewResultsList = ({
36
36
  key: key
37
37
  }, /*#__PURE__*/React.createElement(WhatsNewResultsListGroupTitle, null, whatsNewArticlesGroupedByDate[key].title), whatsNewArticlesGroupedByDate[key].items.map((whatsNewArticle, i) => /*#__PURE__*/React.createElement(WhatsNewResultItem, {
38
38
  styles: {
39
- border: style === 'secondary' ? `2px solid ${`var(--ds-border, ${colors.N30})`}` : 0,
39
+ border: style === 'secondary' ?
40
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
41
+ `2px solid ${`var(--ds-border, ${colors.N30})`}` : 0,
40
42
  padding: style === 'secondary' ? `${"var(--ds-space-100, 8px)"} ${"var(--ds-space-200, 16px)"}` : `${"var(--ds-space-100, 8px)"}`,
41
43
  marginBottom: style === 'secondary' ? `${"var(--ds-space-150, 12px)"}` : 0
42
44
  },
@@ -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';
@@ -8,21 +10,23 @@ export const truncate = (width = '100%') => css({
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
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
15
18
  export const WhatsNewResultsListContainer = styled.div({
16
19
  position: 'relative'
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 const WhatsNewResultsListGroupWrapper = styled.div({
21
24
  padding: `${"var(--ds-space-100, 8px)"} 0 ${"var(--ds-space-100, 8px)"} 0`
22
25
  });
23
26
 
24
- // 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
25
28
  export const WhatsNewResultsListGroupTitle = styled.div({
29
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
26
30
  color: `var(--ds-text-subtlest, ${colors.N200})`,
27
31
  fontSize: `${fontSizeSmall()}px`,
28
32
  fontWeight: 'bold',
@@ -30,9 +34,10 @@ export const WhatsNewResultsListGroupTitle = styled.div({
30
34
  textTransform: 'uppercase'
31
35
  });
32
36
 
33
- // 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 -- Ignored via go/DSP-18766
34
38
  export const ToggleShowWhatsNewResultsContainer = styled.div({
35
39
  padding: `${"var(--ds-space-100, 8px)"} 0`,
40
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
36
41
  span: {
37
42
  margin: 0
38
43
  }
@@ -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 const LoadignWhatsNewResultsList = styled.ul({
8
9
  width: '100%',
9
10
  margin: 0,
@@ -12,7 +13,7 @@ export const 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 const LoadignWhatsNewResultsListItem = styled.li({
17
18
  display: 'block',
18
19
  width: '100%',