@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,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 const WhatsNewResultsContainer = styled.div({
6
7
  position: 'absolute',
7
8
  height: '100%',
@@ -17,17 +18,18 @@ export const 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 const 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: `${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 const 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 const WhatsNewResultsListTitleContainer = styled.div({
32
34
  padding: `0 ${"var(--ds-space-100, 8px)"}`
33
35
  });
@@ -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 const HelpBodyContainer = styled.div({
6
7
  flexGrow: 1,
7
8
  minHeight: 0,
@@ -16,7 +17,7 @@ export const 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 const HelpBody = styled.div({
21
22
  width: '100%',
22
23
  boxSizing: 'border-box',
@@ -27,10 +28,12 @@ export const 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 const Home = styled.div(props => ({
33
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
32
34
  display: props.isOverlayFullyVisible ? 'none' : 'block',
33
35
  height: '100%',
36
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
34
37
  overflow: props.isOverlayVisible ? 'hidden' : 'auto',
35
38
  padding: "var(--ds-space-200, 16px)",
36
39
  boxSizing: 'border-box'
@@ -1,13 +1,16 @@
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 { keyframes } 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 { gridSize } from '@atlaskit/theme/constants';
6
8
  import * as colors from '@atlaskit/theme/colors';
7
9
  import { WHATS_NEW_ITEM_TYPES } from '../model/WhatsNew';
8
10
 
9
- // 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
10
12
  export const DividerLine = styled.div({
13
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
11
14
  backgroundColor: `var(--ds-border, ${colors.N30A})`,
12
15
  height: '2px',
13
16
  width: '100%',
@@ -29,13 +32,16 @@ const shimmer = keyframes({
29
32
  }
30
33
  });
31
34
 
32
- // 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, @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
33
36
  export const LoadingRectangle = styled.div(props => ({
34
37
  display: 'inline-block',
35
38
  verticalAlign: 'middle',
36
39
  position: 'relative',
40
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
37
41
  height: props.contentHeight ? props.contentHeight : '1rem',
42
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
38
43
  marginTop: props.marginTop ? props.marginTop : gridSize() + 'px',
44
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
39
45
  width: props.contentWidth ? props.contentWidth : '100%',
40
46
  borderRadius: '2px',
41
47
  animationDuration: '1.2s',
@@ -43,8 +49,15 @@ export const LoadingRectangle = styled.div(props => ({
43
49
  animationIterationCount: 'infinite',
44
50
  animationName: shimmer,
45
51
  animationTimingFunction: 'linear',
52
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
46
53
  backgroundColor: `var(--ds-background-neutral, ${colors.N30})`,
47
- backgroundImage: `linear-gradient( to right, ${`var(--ds-background-neutral-subtle, ${colors.N30})`} 10%, ${`var(--ds-background-neutral, ${colors.N40})`} 20%, ${`var(--ds-background-neutral-subtle, ${colors.N30})`} 30% )`,
54
+ backgroundImage: `linear-gradient( to right, ${`var(--ds-background-neutral-subtle, ${
55
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
56
+ colors.N30
57
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
58
+ })`} 10%, ${`var(--ds-background-neutral, ${colors.N40})`} 20%, ${`var(--ds-background-neutral-subtle, ${
59
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
60
+ colors.N30})`} 30% )`,
48
61
  backgroundRepeat: 'no-repeat'
49
62
  }));
50
63
 
@@ -52,13 +65,16 @@ export const LoadingRectangle = styled.div(props => ({
52
65
  * Loading Circle
53
66
  */
54
67
 
55
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
68
+ // 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
56
69
  export const LoadingCircle = styled.div(props => ({
57
70
  display: 'inline-block',
58
71
  verticalAlign: 'middle',
59
72
  position: 'relative',
73
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
60
74
  height: props.radius ? props.radius : `${gridSize() * 4}px`,
75
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
61
76
  marginTop: props.marginTop ? props.marginTop : '',
77
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
62
78
  width: props.radius ? props.radius : `${gridSize() * 4}px`,
63
79
  borderRadius: '50%',
64
80
  animationDuration: '1.2s',
@@ -66,8 +82,15 @@ export const LoadingCircle = styled.div(props => ({
66
82
  animationIterationCount: 'infinite',
67
83
  animationName: shimmer,
68
84
  animationTimingFunction: 'linear',
85
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
69
86
  backgroundColor: `var(--ds-background-neutral, ${colors.N30})`,
70
- backgroundImage: `linear-gradient( to right, ${`var(--ds-background-neutral-subtle, ${colors.N30})`} 10%, ${`var(--ds-background-neutral, ${colors.N40})`} 20%, ${`var(--ds-background-neutral-subtle, ${colors.N30})`} 30% )`,
87
+ backgroundImage: `linear-gradient( to right, ${`var(--ds-background-neutral-subtle, ${
88
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
89
+ colors.N30
90
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
91
+ })`} 10%, ${`var(--ds-background-neutral, ${colors.N40})`} 20%, ${`var(--ds-background-neutral-subtle, ${
92
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
93
+ colors.N30})`} 30% )`,
71
94
  backgroundRepeat: 'no-repeat'
72
95
  }));
73
96
 
@@ -75,15 +98,15 @@ export const LoadingCircle = styled.div(props => ({
75
98
  * What's new icon
76
99
  */
77
100
 
78
- // 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
101
+ // 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
79
102
  export const WhatsNewTypeIcon = styled.div`
80
- display: inline-block;
81
- vertical-align: middle;
82
- position: relative;
83
- height: ${"var(--ds-space-200, 16px)"};
84
- width: ${"var(--ds-space-200, 16px)"};
85
- border-radius: 2px;
86
- background-color: ${({
103
+ display: inline-block;
104
+ vertical-align: middle;
105
+ position: relative;
106
+ height: ${"var(--ds-space-200, 16px)"};
107
+ width: ${"var(--ds-space-200, 16px)"};
108
+ border-radius: 2px;
109
+ background-color: ${({
87
110
  type
88
111
  }) => {
89
112
  switch (type) {
@@ -102,17 +125,17 @@ export const WhatsNewTypeIcon = styled.div`
102
125
  }
103
126
  }};
104
127
 
105
- & > img {
106
- width: calc(100% - ${gridSize() / 2}px);
107
- height: calc(100% - ${gridSize() / 2}px);
108
- position: absolute;
109
- left: 50%;
110
- top: 50%;
111
- transform: translate(-50%, -50%);
128
+ & > img {
129
+ width: calc(100% - ${gridSize() / 2}px);
130
+ height: calc(100% - ${gridSize() / 2}px);
131
+ position: absolute;
132
+ left: 50%;
133
+ top: 50%;
134
+ transform: translate(-50%, -50%);
112
135
 
113
- & > svg {
114
- height: 100%;
115
- width: 100%;
116
- }
117
- }
136
+ & > svg {
137
+ height: 100%;
138
+ width: 100%;
139
+ }
140
+ }
118
141
  `;
@@ -5,5 +5,5 @@ export var createAndFire = x.createAndFireEvent('atlaskit');
5
5
  export var defaultAnalyticsAttributes = {
6
6
  componentName: 'help',
7
7
  packageName: "@atlaskit/help",
8
- packageVersion: "7.5.0"
8
+ packageVersion: "7.5.2"
9
9
  };
@@ -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 { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
5
5
  import { messages } from '../../../messages';
@@ -8,7 +8,7 @@ import { LoadingErrorMessage, LoadingErrorButtonContainer } from './styled';
8
8
  var ANALYTICS_CONTEXT_DATA = {
9
9
  componentName: 'ArticleLoadingFail',
10
10
  packageName: "@atlaskit/help",
11
- packageVersion: "7.5.0"
11
+ packageVersion: "7.5.2"
12
12
  };
13
13
  export var ArticleLoadingFail = function ArticleLoadingFail(_ref) {
14
14
  var onTryAgainButtonClick = _ref.onTryAgainButtonClick,
@@ -1,12 +1,13 @@
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 LoadingErrorMessage = styled.div({
5
6
  paddingTop: "var(--ds-space-300, 24px)",
6
7
  textAlign: 'center'
7
8
  });
8
9
 
9
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
10
11
  export var LoadingErrorButtonContainer = styled.div({
11
12
  paddingTop: "var(--ds-space-300, 24px)",
12
13
  textAlign: 'center'
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import { injectIntl } from 'react-intl-next';
3
3
  import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
4
- import Button from '@atlaskit/button/custom-theme-button';
4
+ import Button from '@atlaskit/button';
5
5
  import { messages } from '../../../../messages';
6
6
  var ANALYTICS_CONTEXT_DATA = {
7
7
  componentName: 'ArticleWasHelpfulNoButton',
8
8
  packageName: "@atlaskit/help",
9
- packageVersion: "7.5.0"
9
+ packageVersion: "7.5.2"
10
10
  };
11
11
  export var ArticleWasHelpfulNoButton = function ArticleWasHelpfulNoButton(_ref) {
12
12
  var _ref$isSelected = _ref.isSelected,
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import { injectIntl } from 'react-intl-next';
3
3
  import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
4
- import Button from '@atlaskit/button/custom-theme-button';
4
+ import Button from '@atlaskit/button';
5
5
  import { messages } from '../../../../messages';
6
6
  var ANALYTICS_CONTEXT_DATA = {
7
7
  componentName: 'ArticleWasHelpfulYesButton',
8
8
  packageName: "@atlaskit/help",
9
- packageVersion: "7.5.0"
9
+ packageVersion: "7.5.2"
10
10
  };
11
11
  export var ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
12
12
  var _ref$isSelected = _ref.isSelected,
@@ -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.5.0"
30
+ packageVersion: "7.5.2"
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,
@@ -159,7 +167,7 @@ export var ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
159
167
  var formProps = _ref2.formProps;
160
168
  return jsx("form", _extends({}, formProps, {
161
169
  name: "form-example"
162
- }), jsx(ArticleFeedbackText, null, formatMessage(messages.help_article_rating_form_title)), !wasHelpful && jsx(Field, {
170
+ }), !wasHelpful && jsx(Field, {
163
171
  name: "feedbackReason",
164
172
  isRequired: true
165
173
  }, function (_ref3) {
@@ -173,12 +181,20 @@ export var ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
173
181
  defaultValue: ""
174
182
  }, function (_ref4) {
175
183
  var fieldProps = _ref4.fieldProps;
176
- return jsx(TextArea, _extends({}, fieldProps, {
184
+ return jsx(React.Fragment, null, jsx(ArticleFeedbackText, {
185
+ id: "articleFeedbackText"
186
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
187
+ ,
188
+ style: {
189
+ top: "var(--ds-space-negative-100, -8px)"
190
+ }
191
+ }, formatMessage(messages.help_article_rating_form_title)), jsx(TextArea, _extends({}, fieldProps, {
177
192
  minimumRows: 4,
193
+ "aria-labelledby": "articleFeedbackText",
178
194
  maxLength: FEEDBACK_REASON_TEXT_MAX_LENGTH,
179
195
  value: feedbackReasonText,
180
196
  onChange: feedbackReasonTextOnChange
181
- }));
197
+ })));
182
198
  }), jsx(CheckboxField, {
183
199
  name: "contactMe"
184
200
  }, function (_ref5) {
@@ -216,12 +232,7 @@ export var ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
216
232
  }, jsx("p", null, formatMessage(messages.help_article_rating_form_failed)), jsx("p", null, jsx(Button, {
217
233
  appearance: "link",
218
234
  spacing: "compact",
219
- css: {
220
- padding: '0',
221
- '& span': {
222
- margin: '0'
223
- }
224
- },
235
+ css: buttonStyles,
225
236
  onClick: handleTryAgainOnClick
226
237
  }, formatMessage(messages.help_article_rating_form_failed_try_again))))));
227
238
  }
@@ -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.5.0"
58
+ packageVersion: "7.5.2"
59
59
  };
60
60
  if (onRelatedArticlesShowMoreClick) {
61
61
  onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
@@ -4,7 +4,7 @@ import { BODY_FORMAT_TYPES } from '@atlaskit/help-article';
4
4
  import HelpArticleContent from '@atlaskit/help-article';
5
5
  import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
6
6
  import { AnalyticsContext } from '@atlaskit/analytics-next';
7
- import Button from '@atlaskit/button/custom-theme-button';
7
+ import Button from '@atlaskit/button';
8
8
  import { messages } from '../../../messages';
9
9
  import { getTypeIcon, getTypeTitle } from '../../../util';
10
10
  import { WhatsNewTypeIcon, DividerLine } from '../../../util/styled';
@@ -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.5.0"
16
+ packageVersion: "7.5.2"
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.5.0"
11
+ packageVersion: "7.5.2"
12
12
  };
13
13
  export var ArticlesListItem = function ArticlesListItem(_ref) {
14
14
  var styles = _ref.styles,