@atlaskit/help 9.0.1 → 9.0.3

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 (95) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/analytics.js +1 -1
  3. package/dist/cjs/assets/NotFoundImage.js +1 -1
  4. package/dist/cjs/components/Article/ArticleLoadingFail/index.js +1 -1
  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 +9 -2
  8. package/dist/cjs/components/Article/HelpArticle/index.js +1 -1
  9. package/dist/cjs/components/Article/WhatsNewArticle/index.js +1 -1
  10. package/dist/cjs/components/ArticlesList/ArticlesList.js +22 -6
  11. package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +1 -1
  12. package/dist/cjs/components/ArticlesList/ArticlesListItem/styled.js +6 -2
  13. package/dist/cjs/components/BackButton/index.js +1 -1
  14. package/dist/cjs/components/HelpContent.js +4 -4
  15. package/dist/cjs/components/HelpContentButton/index.js +1 -1
  16. package/dist/cjs/components/HelpContentButton/styled.compiled.css +10 -2
  17. package/dist/cjs/components/HelpContentButton/styled.js +31 -5
  18. package/dist/cjs/components/RelatedArticles/index.js +1 -1
  19. package/dist/cjs/components/RelatedArticles/styled.js +5 -1
  20. package/dist/cjs/components/Search/SearchInput/index.js +2 -2
  21. package/dist/cjs/components/Search/SearchResults/SearchResultsError.js +2 -2
  22. package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -1
  23. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/index.js +3 -2
  24. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  25. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.compiled.css +1 -0
  26. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +2 -2
  27. package/dist/cjs/components/WhatsNew/WhatsNewResults/index.js +9 -2
  28. package/dist/cjs/components/styled.compiled.css +7 -0
  29. package/dist/cjs/components/styled.js +10 -3
  30. package/dist/cjs/messages.js +5 -0
  31. package/dist/es2019/analytics.js +1 -1
  32. package/dist/es2019/assets/NotFoundImage.js +1 -1
  33. package/dist/es2019/components/Article/ArticleLoadingFail/index.js +1 -1
  34. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  35. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  36. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/index.js +10 -3
  37. package/dist/es2019/components/Article/HelpArticle/index.js +1 -1
  38. package/dist/es2019/components/Article/WhatsNewArticle/index.js +1 -1
  39. package/dist/es2019/components/ArticlesList/ArticlesList.js +21 -5
  40. package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +1 -1
  41. package/dist/es2019/components/ArticlesList/ArticlesListItem/styled.js +6 -2
  42. package/dist/es2019/components/BackButton/index.js +1 -1
  43. package/dist/es2019/components/HelpContent.js +5 -5
  44. package/dist/es2019/components/HelpContentButton/index.js +1 -1
  45. package/dist/es2019/components/HelpContentButton/styled.compiled.css +10 -2
  46. package/dist/es2019/components/HelpContentButton/styled.js +30 -9
  47. package/dist/es2019/components/RelatedArticles/index.js +1 -1
  48. package/dist/es2019/components/RelatedArticles/styled.js +5 -1
  49. package/dist/es2019/components/Search/SearchInput/index.js +2 -2
  50. package/dist/es2019/components/Search/SearchResults/SearchResultsError.js +1 -1
  51. package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
  52. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/index.js +3 -2
  53. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  54. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.compiled.css +1 -0
  55. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +2 -2
  56. package/dist/es2019/components/WhatsNew/WhatsNewResults/index.js +9 -2
  57. package/dist/es2019/components/styled.compiled.css +7 -0
  58. package/dist/es2019/components/styled.js +8 -2
  59. package/dist/es2019/messages.js +5 -0
  60. package/dist/esm/analytics.js +1 -1
  61. package/dist/esm/assets/NotFoundImage.js +1 -1
  62. package/dist/esm/components/Article/ArticleLoadingFail/index.js +1 -1
  63. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  64. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  65. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/index.js +10 -3
  66. package/dist/esm/components/Article/HelpArticle/index.js +1 -1
  67. package/dist/esm/components/Article/WhatsNewArticle/index.js +1 -1
  68. package/dist/esm/components/ArticlesList/ArticlesList.js +22 -6
  69. package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
  70. package/dist/esm/components/ArticlesList/ArticlesListItem/styled.js +6 -2
  71. package/dist/esm/components/BackButton/index.js +1 -1
  72. package/dist/esm/components/HelpContent.js +5 -5
  73. package/dist/esm/components/HelpContentButton/index.js +1 -1
  74. package/dist/esm/components/HelpContentButton/styled.compiled.css +10 -2
  75. package/dist/esm/components/HelpContentButton/styled.js +31 -5
  76. package/dist/esm/components/RelatedArticles/index.js +1 -1
  77. package/dist/esm/components/RelatedArticles/styled.js +5 -1
  78. package/dist/esm/components/Search/SearchInput/index.js +2 -2
  79. package/dist/esm/components/Search/SearchResults/SearchResultsError.js +1 -1
  80. package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
  81. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/index.js +3 -2
  82. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  83. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.compiled.css +1 -0
  84. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +2 -2
  85. package/dist/esm/components/WhatsNew/WhatsNewResults/index.js +9 -2
  86. package/dist/esm/components/styled.compiled.css +7 -0
  87. package/dist/esm/components/styled.js +9 -2
  88. package/dist/esm/messages.js +5 -0
  89. package/dist/types/assets/NotFoundImage.d.ts +1 -1
  90. package/dist/types/components/styled.d.ts +3 -0
  91. package/dist/types/messages.d.ts +5 -0
  92. package/dist/types-ts4.5/assets/NotFoundImage.d.ts +1 -1
  93. package/dist/types-ts4.5/components/styled.d.ts +3 -0
  94. package/dist/types-ts4.5/messages.d.ts +5 -0
  95. package/package.json +4 -4
@@ -1,9 +1,12 @@
1
1
 
2
+ ._qtt8glyw{list-style:none}
2
3
  ._v5641tic{transition:var(--_m9bkgq)}
3
4
  ._x3do3yx5{border-top:var(--_1it2dty)}._16jlkb7n{flex-grow:1}
4
5
  ._18m91wug{overflow-y:auto}
6
+ ._18u0idpf{margin-left:0}
5
7
  ._19bvidpf{padding-left:0}
6
8
  ._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
9
+ ._19pkidpf{margin-top:0}
7
10
  ._19pkou31{margin-top:var(--ds-space-200,14px)}
8
11
  ._1bah1yb4{justify-content:space-between}
9
12
  ._1bsb1osq{width:100%}
@@ -17,19 +20,23 @@
17
20
  ._1reo1wug{overflow-x:auto}
18
21
  ._1tkeidpf{min-height:0}
19
22
  ._1wpz1wug{align-self:auto}
23
+ ._2hwxidpf{margin-right:0}
20
24
  ._2lx21bp4{flex-direction:column}
21
25
  ._4cvr1y6m{align-items:flex-start}
22
26
  ._4t3i1osq{height:100%}
23
27
  ._4t3ixy5q{height:var(--ds-space-400,2pc)}
24
28
  ._ae4v1fhb{align-content:stretch}
25
29
  ._bfhk1v7z{background-color:var(--_1xglsrh)}
30
+ ._ca0qidpf{padding-top:0}
26
31
  ._ca0qpxbi{padding-top:var(--ds-space-200,1pc)}
27
32
  ._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
28
33
  ._i0dl1wug{flex-basis:auto}
29
34
  ._kqswh2mm{position:relative}
30
35
  ._kqswstnw{position:absolute}
36
+ ._n3tdidpf{padding-bottom:0}
31
37
  ._n3tdpxbi{padding-bottom:var(--ds-space-200,1pc)}
32
38
  ._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
39
+ ._otyridpf{margin-bottom:0}
33
40
  ._tzy4idpf{opacity:0}
34
41
  ._u5f3idpf{padding-right:0}
35
42
  ._u5f3pxbi{padding-right:var(--ds-space-200,1pc)}
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.HomeAi = exports.Home = exports.HelpFooter = exports.HelpBodyContainer = exports.HelpBodyAi = exports.HelpBody = exports.BackButtonContainer = exports.BACK_BUTTON_CONTAINER_TRANSITION_DURATION_MS = void 0;
8
+ exports.StyledUl = exports.HomeAi = exports.Home = exports.HelpFooter = exports.HelpBodyContainer = exports.HelpBodyAi = exports.HelpBody = exports.BackButtonContainer = exports.BACK_BUTTON_CONTAINER_TRANSITION_DURATION_MS = void 0;
9
9
  require("./styled.compiled.css");
10
10
  var _runtime = require("@compiled/react/runtime");
11
11
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
@@ -47,7 +47,7 @@ var Home = exports.Home = function Home(_ref4) {
47
47
  display: isOverlayFullyVisible ? 'none' : 'block',
48
48
  overflow: isOverlayVisible ? 'hidden' : 'auto'
49
49
  },
50
- className: (0, _runtime.ax)(["_1reo1wug _18m91wug _1e0c1ule _4t3i1osq _ca0qpxbi _u5f3pxbi _n3tdpxbi _19bvpxbi _vchhusvi"])
50
+ className: (0, _runtime.ax)(["_1reo1wug _18m91wug _1e0c1ule _4t3i1osq _ca0qpxbi _u5f3pxbi _n3tdpxbi _19bvpxbi _vchhusvi _19pkidpf"])
51
51
  }, children);
52
52
  };
53
53
  var homeAiStyles = null;
@@ -60,7 +60,7 @@ var HomeAi = exports.HomeAi = function HomeAi(_ref5) {
60
60
  display: isOverlayFullyVisible ? 'none' : 'block',
61
61
  overflow: isOverlayVisible ? 'hidden' : 'auto'
62
62
  },
63
- className: (0, _runtime.ax)(["_1reo1wug _18m91wug _1e0c1ule _19bvpxbi _u5f3pxbi _n3tdpxbi _vchhusvi"])
63
+ className: (0, _runtime.ax)(["_1reo1wug _18m91wug _1e0c1ule _19bvpxbi _u5f3pxbi _n3tdpxbi _vchhusvi _19pkidpf"])
64
64
  }, children);
65
65
  };
66
66
  var helpFooterStyles = null;
@@ -96,4 +96,11 @@ var BackButtonContainer = exports.BackButtonContainer = function BackButtonConta
96
96
  "--_m9bkgq": (0, _runtime.ix)("left ".concat(BACK_BUTTON_CONTAINER_TRANSITION_DURATION_MS, "ms, opacity ").concat(BACK_BUTTON_CONTAINER_TRANSITION_DURATION_MS, "ms"))
97
97
  })
98
98
  }, children);
99
+ };
100
+ var ulStyles = null;
101
+ var StyledUl = exports.StyledUl = function StyledUl(_ref8) {
102
+ var children = _ref8.children;
103
+ return /*#__PURE__*/_react.default.createElement("ul", {
104
+ className: (0, _runtime.ax)(["_qtt8glyw _19pkidpf _2hwxidpf _otyridpf _18u0idpf _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf"])
105
+ }, children);
99
106
  };
@@ -290,5 +290,10 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
290
290
  id: 'help.need_more_help.text',
291
291
  defaultMessage: 'Need more help?',
292
292
  description: 'Need more help text'
293
+ },
294
+ help_whats_new_filter_select_label: {
295
+ id: 'help.whats_new.filter_select_label',
296
+ defaultMessage: "Select a Category",
297
+ description: "Label for the \"Release types\" dropdown"
293
298
  }
294
299
  });
@@ -5,5 +5,5 @@ export const createAndFire = x.createAndFireEvent('atlaskit');
5
5
  export const defaultAnalyticsAttributes = {
6
6
  componentName: 'help',
7
7
  packageName: "@atlaskit/help",
8
- packageVersion: "9.0.1"
8
+ packageVersion: "9.0.3"
9
9
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export const svg = `<?xml version="1.0" encoding="UTF-8"?>
3
- <svg width="100" height="116" viewBox="0 0 100 116" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <svg width="100" height="116" aria-hidden="true" viewBox="0 0 100 116" fill="none" xmlns="http://www.w3.org/2000/svg">
4
4
  <path d="M0 0H100V116H0V0Z"/>
5
5
  <g opacity="0.3">
6
6
  <path fill-rule="evenodd" clip-rule="evenodd" d="M14.4783 115.563H23.4169H23.4237C24.2045 115.563 24.8375 114.928 24.8375 114.144C24.8375 113.36 24.2045 112.725 23.4237 112.725H14.4783C13.6975 112.725 13.0645 113.36 13.0645 114.144C13.0645 114.928 13.6975 115.563 14.4783 115.563ZM40.6686 115.563H31.7301C30.9492 115.563 30.3162 114.928 30.3162 114.144C30.3162 113.36 30.9492 112.725 31.7301 112.725H40.6686C41.4495 112.725 42.0825 113.36 42.0825 114.144C42.0825 114.928 41.4495 115.563 40.6686 115.563ZM48.975 115.563H57.9204C58.7013 115.563 59.3343 114.928 59.3343 114.144C59.3343 113.36 58.7013 112.725 57.9204 112.725H48.975C48.1942 112.725 47.5612 113.36 47.5612 114.144C47.5612 114.928 48.1942 115.563 48.975 115.563ZM66.2268 115.563H75.1722C75.953 115.563 76.586 114.928 76.586 114.144C76.586 113.36 75.953 112.725 75.1722 112.725H66.2268C65.446 112.725 64.813 113.36 64.813 114.144C64.813 114.928 65.446 115.563 66.2268 115.563Z" fill="#B3BAC5"/>
@@ -10,7 +10,7 @@ import { LoadingErrorMessage, LoadingErrorButtonContainer, LoadingErrorHeading }
10
10
  const ANALYTICS_CONTEXT_DATA = {
11
11
  componentName: 'ArticleLoadingFail',
12
12
  packageName: "@atlaskit/help",
13
- packageVersion: "9.0.1"
13
+ packageVersion: "9.0.3"
14
14
  };
15
15
  export const ArticleLoadingFail = ({
16
16
  onTryAgainButtonClick,
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
6
6
  const ANALYTICS_CONTEXT_DATA = {
7
7
  componentName: 'ArticleWasHelpfulNoButton',
8
8
  packageName: "@atlaskit/help",
9
- packageVersion: "9.0.1"
9
+ packageVersion: "9.0.3"
10
10
  };
11
11
  export const ArticleWasHelpfulNoButton = ({
12
12
  isSelected = false,
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
6
6
  const ANALYTICS_CONTEXT_DATA = {
7
7
  componentName: 'ArticleWasHelpfulYesButton',
8
8
  packageName: "@atlaskit/help",
9
- packageVersion: "9.0.1"
9
+ packageVersion: "9.0.3"
10
10
  };
11
11
  export const ArticleWasHelpfulYesButton = ({
12
12
  isSelected = false,
@@ -4,7 +4,7 @@ import "./index.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  /** @jsxFrag */
6
6
 
7
- import React, { useState } from 'react';
7
+ import React, { useRef, useState } from 'react';
8
8
  import { injectIntl } from 'react-intl-next';
9
9
  import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
10
10
  import SectionMessage from '@atlaskit/section-message';
@@ -25,7 +25,7 @@ const FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
25
25
  const ANALYTICS_CONTEXT_DATA = {
26
26
  componentName: 'ArticleWasHelpfulForm',
27
27
  packageName: "@atlaskit/help",
28
- packageVersion: "9.0.1"
28
+ packageVersion: "9.0.3"
29
29
  };
30
30
  const buttonStyles = null;
31
31
  export const ArticleWasHelpfulForm = ({
@@ -46,6 +46,7 @@ export const ArticleWasHelpfulForm = ({
46
46
  const {
47
47
  createAnalyticsEvent
48
48
  } = useAnalyticsEvents();
49
+ const wasHelpfulFormClickedButtonRef = useRef(null);
49
50
  const negativeFeedbackReason = [{
50
51
  name: 'negativeFeedbackReason',
51
52
  value: 'noAccurate',
@@ -64,12 +65,14 @@ export const ArticleWasHelpfulForm = ({
64
65
  onWasHelpfulYesButtonClick(event, analyticsEvent);
65
66
  }
66
67
  setWasHelpful(true);
68
+ wasHelpfulFormClickedButtonRef.current = event.currentTarget;
67
69
  });
68
70
  const handleArticleWasHelpfulNoButtonClick = (onWasHelpfulNoButtonClick || onWasHelpfulSubmit) && ((event, analyticsEvent) => {
69
71
  if (onWasHelpfulNoButtonClick) {
70
72
  onWasHelpfulNoButtonClick(event, analyticsEvent);
71
73
  }
72
74
  setWasHelpful(false);
75
+ wasHelpfulFormClickedButtonRef.current = event.currentTarget;
73
76
  });
74
77
  const radioGroupReasonOnChange = event => {
75
78
  setFeedbackReason(event.currentTarget.value);
@@ -111,7 +114,9 @@ export const ArticleWasHelpfulForm = ({
111
114
  }
112
115
  };
113
116
  const onFeedbackSubmitCancel = () => {
117
+ var _wasHelpfulFormClicke, _wasHelpfulFormClicke2;
114
118
  setWasHelpful(null);
119
+ (_wasHelpfulFormClicke = wasHelpfulFormClickedButtonRef.current) === null || _wasHelpfulFormClicke === void 0 ? void 0 : (_wasHelpfulFormClicke2 = _wasHelpfulFormClicke.focus) === null || _wasHelpfulFormClicke2 === void 0 ? void 0 : _wasHelpfulFormClicke2.call(_wasHelpfulFormClicke);
115
120
  };
116
121
  const handleTryAgainOnClick = () => {
117
122
  const feedback = {
@@ -206,7 +211,9 @@ export const ArticleWasHelpfulForm = ({
206
211
  paddingRight: "var(--ds-space-100, 8px)",
207
212
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
208
213
  verticalAlign: 'middle'
209
- }
214
+ },
215
+ role: "img",
216
+ "aria-label": "Success"
210
217
  }, /*#__PURE__*/React.createElement(CheckCircleIcon, {
211
218
  spacing: "spacious",
212
219
  color: `var(--ds-icon-success, ${colors.G400})`,
@@ -60,7 +60,7 @@ export const HelpArticle = ({
60
60
  analyticsEvent.payload.attributes = {
61
61
  componentName: 'Article',
62
62
  packageName: "@atlaskit/help",
63
- packageVersion: "9.0.1"
63
+ packageVersion: "9.0.3"
64
64
  };
65
65
  if (onRelatedArticlesShowMoreClick) {
66
66
  onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
@@ -13,7 +13,7 @@ import { WhatsNewTypeTitle, WhatsNewTitleText, WhatsNewIconContainer, RelatedLin
13
13
  const analyticsContextData = {
14
14
  componentName: 'ArticlesListItem',
15
15
  packageName: "@atlaskit/help",
16
- packageVersion: "9.0.1"
16
+ packageVersion: "9.0.3"
17
17
  };
18
18
  export const WhatsNewArticle = ({
19
19
  intl: {
@@ -1,8 +1,12 @@
1
1
  import React from 'react';
2
2
  import { N30 } from '@atlaskit/theme/colors';
3
3
  import AnimateHeight from 'react-animate-height';
4
+ import { Box, xcss } from '@atlaskit/primitives';
4
5
  import ArticlesListItem from './ArticlesListItem';
5
6
  import { MIN_ITEMS_TO_DISPLAY, ANIMATE_HEIGHT_TRANSITION_DURATION_MS } from './constants';
7
+ const listStyles = xcss({
8
+ listStyle: 'none'
9
+ });
6
10
  const getStyles = style => {
7
11
  if (style === 'secondary') {
8
12
  return {
@@ -23,8 +27,14 @@ const articlesList = ({
23
27
  minItemsToDisplay = MIN_ITEMS_TO_DISPLAY,
24
28
  numberOfArticlesToDisplay = MIN_ITEMS_TO_DISPLAY,
25
29
  onArticlesListItemClick
26
- }) => articles && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, articles.slice(0, minItemsToDisplay).map(article => {
27
- return /*#__PURE__*/React.createElement(ArticlesListItem, {
30
+ }) => articles && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, {
31
+ as: "ul",
32
+ padding: "space.0"
33
+ }, articles.slice(0, minItemsToDisplay).map(article => {
34
+ return /*#__PURE__*/React.createElement(Box, {
35
+ as: "li",
36
+ xcss: listStyles
37
+ }, /*#__PURE__*/React.createElement(ArticlesListItem, {
28
38
  styles: getStyles(style),
29
39
  id: article.id,
30
40
  onClick: (event, analyticsEvent) => {
@@ -39,12 +49,18 @@ const articlesList = ({
39
49
  trustFactors: article.trustFactors,
40
50
  source: article.source,
41
51
  lastPublished: article.lastPublished
42
- });
52
+ }));
43
53
  })), /*#__PURE__*/React.createElement(AnimateHeight, {
44
54
  duration: ANIMATE_HEIGHT_TRANSITION_DURATION_MS,
45
55
  easing: "linear",
46
56
  height: numberOfArticlesToDisplay > minItemsToDisplay ? 'auto' : 0
47
- }, articles.slice(minItemsToDisplay, articles.length).map(article => /*#__PURE__*/React.createElement(ArticlesListItem, {
57
+ }, /*#__PURE__*/React.createElement(Box, {
58
+ as: "ul",
59
+ padding: "space.0"
60
+ }, articles.slice(minItemsToDisplay, articles.length).map(article => /*#__PURE__*/React.createElement(Box, {
61
+ as: "li",
62
+ xcss: listStyles
63
+ }, /*#__PURE__*/React.createElement(ArticlesListItem, {
48
64
  styles: getStyles(style),
49
65
  id: article.id,
50
66
  onClick: (event, analyticsEvent) => {
@@ -59,5 +75,5 @@ const articlesList = ({
59
75
  trustFactors: article.trustFactors,
60
76
  source: article.source,
61
77
  lastPublished: article.lastPublished
62
- }))));
78
+ }))))));
63
79
  export default articlesList;
@@ -8,7 +8,7 @@ import { ArticlesListItemWrapper, ArticlesListItemContainer, ArticlesListItemTit
8
8
  const ANALYTICS_CONTEXT_DATA = {
9
9
  componentName: 'ArticlesListItem',
10
10
  packageName: "@atlaskit/help",
11
- packageVersion: "9.0.1"
11
+ packageVersion: "9.0.3"
12
12
  };
13
13
  const highlightText = text => {
14
14
  if (!text) {
@@ -3,6 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./styled.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import React from 'react';
6
+ import Heading from '@atlaskit/heading';
6
7
  import { fontFallback } from '@atlaskit/theme/typography';
7
8
  import { B100, B50, N200, N30, N400, N400A, N800, Y100 } from '@atlaskit/theme/colors';
8
9
  const {
@@ -40,9 +41,12 @@ export const ArticlesListItemLinkIcon = ({
40
41
  const articlesListItemTitleTextStyles = null;
41
42
  export const ArticlesListItemTitleText = ({
42
43
  children
43
- }) => /*#__PURE__*/React.createElement("p", {
44
+ }) => /*#__PURE__*/React.createElement("div", {
44
45
  className: ax(["_4bfu1r31 _1hmsglyw _ajmmnqa1 _11c8140y _1reo15vq _18m915vq _syaz1fxt _1e0c1o8l _o5724jg8 _otyrh9hh"])
45
- }, children);
46
+ }, /*#__PURE__*/React.createElement(Heading, {
47
+ size: "xsmall",
48
+ as: "h3"
49
+ }, children));
46
50
  const articlesListItemDescriptionStyles = null;
47
51
  export const ArticlesListItemDescription = ({
48
52
  children
@@ -50,7 +50,7 @@ const BackButtonWithContext = props => {
50
50
  data: {
51
51
  componentName: 'backButton',
52
52
  packageName: "@atlaskit/help",
53
- packageVersion: "9.0.1"
53
+ packageVersion: "9.0.3"
54
54
  }
55
55
  }, /*#__PURE__*/React.createElement(BackButton, props));
56
56
  };
@@ -16,7 +16,7 @@ import WhatsNewResults from './WhatsNew/WhatsNewResults';
16
16
  import HelpContentButton from './HelpContentButton';
17
17
  import BackButton from './BackButton';
18
18
  import { NeedMoreHelp } from './NeedMoreHelp';
19
- import { HelpBodyContainer, HelpBody, Home, HomeAi, HelpBodyAi } from './styled';
19
+ import { HelpBodyContainer, HelpBody, Home, HomeAi, HelpBodyAi, StyledUl } from './styled';
20
20
  import { HelpFooter } from './styled';
21
21
  import { Tabs } from './Tabs';
22
22
  import AiChatIcon from '@atlaskit/icon/core/ai-chat';
@@ -118,13 +118,13 @@ export const HelpContent = ({
118
118
  }), /*#__PURE__*/React.createElement(HomeAi, {
119
119
  isOverlayFullyVisible: isOverlayFullyVisible,
120
120
  isOverlayVisible: isOverlayVisible
121
- }, homeContent, onSearchWhatsNewArticles && onGetWhatsNewArticle && /*#__PURE__*/React.createElement(WhatsNewButton, {
121
+ }, homeContent, /*#__PURE__*/React.createElement(StyledUl, null, onSearchWhatsNewArticles && onGetWhatsNewArticle && /*#__PURE__*/React.createElement(WhatsNewButton, {
122
122
  productName: productName
123
123
  }), homeOptions && homeOptions.map(defaultOption => {
124
124
  return /*#__PURE__*/React.createElement(HelpContentButton, _extends({
125
125
  key: defaultOption.id
126
126
  }, defaultOption));
127
- }))), /*#__PURE__*/React.createElement(WhatsNewResults, null)), /*#__PURE__*/React.createElement(NeedMoreHelp, {
127
+ })))), /*#__PURE__*/React.createElement(WhatsNewResults, null)), /*#__PURE__*/React.createElement(NeedMoreHelp, {
128
128
  label: formatMessage(messages.help_need_more_help_label),
129
129
  onNeedMoreHelpClick: handleNeedMoreHelpClick
130
130
  }), footer && /*#__PURE__*/React.createElement(HelpFooter, {
@@ -139,13 +139,13 @@ export const HelpContent = ({
139
139
  }, /*#__PURE__*/React.createElement(HelpBodyContainer, null, /*#__PURE__*/React.createElement(HelpBody, null, /*#__PURE__*/React.createElement(SearchResults, null), /*#__PURE__*/React.createElement(ArticleComponent, null), /*#__PURE__*/React.createElement(Home, {
140
140
  isOverlayFullyVisible: isOverlayFullyVisible,
141
141
  isOverlayVisible: isOverlayVisible
142
- }, homeContent, onSearchWhatsNewArticles && onGetWhatsNewArticle && /*#__PURE__*/React.createElement(WhatsNewButton, {
142
+ }, homeContent, /*#__PURE__*/React.createElement(StyledUl, null, onSearchWhatsNewArticles && onGetWhatsNewArticle && /*#__PURE__*/React.createElement(WhatsNewButton, {
143
143
  productName: productName
144
144
  }), homeOptions && homeOptions.map(defaultOption => {
145
145
  return /*#__PURE__*/React.createElement(HelpContentButton, _extends({
146
146
  key: defaultOption.id
147
147
  }, defaultOption));
148
- }))), /*#__PURE__*/React.createElement(WhatsNewResults, null)));
148
+ })))), /*#__PURE__*/React.createElement(WhatsNewResults, null)));
149
149
  return isAiEnabled ? HelpLayoutWithAi : HelpLayoutWithoutAi;
150
150
  };
151
151
  export default injectIntl(HelpContent);
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
7
7
  const analitycsContextData = {
8
8
  componentName: 'HelpContentButton',
9
9
  packageName: "@atlaskit/help",
10
- packageVersion: "9.0.1"
10
+ packageVersion: "9.0.3"
11
11
  };
12
12
  const HelpContentButton = ({
13
13
  id = '',
@@ -1,31 +1,39 @@
1
-
1
+ ._11c8376l{font:var(--ds-font-body,inherit)}
2
+ ._19itglyw{border:none}
2
3
  ._2rko1l7b{border-radius:3px}
3
4
  ._2rko1y44{border-radius:4px}
5
+ ._18u0idpf{margin-left:0}
4
6
  ._19bv1b66{padding-left:var(--ds-space-050,4px)}
5
7
  ._19bvu2gc{padding-left:var(--ds-space-100,8px)}
8
+ ._19pkidpf{margin-top:0}
6
9
  ._19pkr5cr{margin-top:var(--ds-space-negative-050,-4px)}
7
10
  ._1bsbgktf{width:20px}
8
11
  ._1bsbnau3{width:calc(100% - var(--ds-space-200, 1pc))}
9
12
  ._1bsbwgn3{width:calc(100% - 20px)}
10
13
  ._1e0c1o8l{display:inline-block}
11
14
  ._1e0c1ule{display:block}
15
+ ._1e0c5mfb{display:table}
12
16
  ._1eab1ooe span{transform:translate(-50%,-50%)}
13
17
  ._1t181ssb span{top:50%}
14
18
  ._1t981ssb span{left:50%}
19
+ ._2hwxidpf{margin-right:0}
15
20
  ._4t3igktf{height:20px}
16
21
  ._80omtlke{cursor:pointer}
22
+ ._bfhk1j28{background-color:transparent}
17
23
  ._ca0qidpf{padding-top:0}
18
24
  ._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
19
25
  ._kqswh2mm{position:relative}
20
26
  ._n3tdidpf{padding-bottom:0}
21
27
  ._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
28
+ ._otyridpf{margin-bottom:0}
22
29
  ._s7n4nkob{vertical-align:middle}
23
30
  ._syazc8hx{color:var(--ds-text-subtle,#344563)}
24
31
  ._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
25
32
  ._vchhusvi{box-sizing:border-box}
26
33
  ._vr2wstnw span{position:absolute}
27
34
  ._7ehi1ssq:focus{box-shadow:var(--ds-border-focused,#4c9aff) 0 0 0 2px inset}
28
- ._irr314ae:hover{background-color:var(--ds-background-neutral-subtle-hovered,#ebecf0)}._13roglyw:active, ._1bg4glyw:focus, ._1qb1glyw:hover, ._1dnaglyw:visited{outline-offset:none}
35
+ ._irr314ae:hover{background-color:var(--ds-background-neutral-subtle-hovered,#ebecf0)}
36
+ ._13roglyw:active, ._1bg4glyw:focus, ._1qb1glyw:hover, ._1dnaglyw:visited{outline-offset:none}
29
37
  ._1di61l7b:active{background-color:var(--ds-background-neutral-subtle-pressed,#deebff)}
30
38
  ._1iohnqa1:active, ._5goinqa1:focus, ._jf4cnqa1:hover, ._1726nqa1:visited{text-decoration-style:solid}
31
39
  ._1nrm1r31:active, ._1a3b1r31:focus, ._9oik1r31:hover, ._1ydc1r31:visited{text-decoration-color:currentColor}
@@ -3,6 +3,8 @@ import "./styled.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
5
5
  import { B100, B50, N30, N600 } from '@atlaskit/theme/colors';
6
+ const wrappedSpanStyles = null;
7
+ const parentListItemHelpContentButtonContainerStyles = null;
6
8
  const helpContentButtonContainerStyles = null;
7
9
  export const HelpContentButtonContainer = ({
8
10
  onClick,
@@ -12,15 +14,34 @@ export const HelpContentButtonContainer = ({
12
14
  tabIndex,
13
15
  target,
14
16
  children
15
- }) => /*#__PURE__*/React.createElement("a", {
16
- onClick: onClick,
17
- onKeyDown: onKeyDown,
18
- href: href,
19
- id: id,
20
- tabIndex: tabIndex,
21
- target: target,
22
- className: ax(["_2rko1l7b _1e0c1ule _80omtlke _1bsbnau3 _syazc8hx _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _7ehi1ssq _1nrm1r31 _1a3b1r31 _9oik1r31 _1ydc1r31 _c2waglyw _4fprglyw _1bnxglyw _1x28glyw _1iohnqa1 _5goinqa1 _jf4cnqa1 _1726nqa1 _1q5t1r31 _nt751r31 _1dit1r31 _9nxe1r31 _1ohyglyw _49pcglyw _ksodglyw _tpgfglyw _1r9x1o36 _1hvw1o36 _4hz81o36 _12gr1o36 _13roglyw _1bg4glyw _1qb1glyw _1dnaglyw _9h8hc8hx _f8pjc8hx _30l3c8hx _1053c8hx _irr314ae _1di61l7b"])
23
- }, children);
17
+ }) => {
18
+ if (href) {
19
+ return /*#__PURE__*/React.createElement("li", {
20
+ className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf"])
21
+ }, /*#__PURE__*/React.createElement("a", {
22
+ onClick: onClick,
23
+ onKeyDown: onKeyDown,
24
+ href: href,
25
+ id: id,
26
+ tabIndex: tabIndex,
27
+ target: target,
28
+ className: ax(["_2rko1l7b _19itglyw _bfhk1j28 _11c8376l _1e0c1ule _80omtlke _1bsbnau3 _syazc8hx _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _7ehi1ssq _1nrm1r31 _1a3b1r31 _9oik1r31 _1ydc1r31 _c2waglyw _4fprglyw _1bnxglyw _1x28glyw _1iohnqa1 _5goinqa1 _jf4cnqa1 _1726nqa1 _1q5t1r31 _nt751r31 _1dit1r31 _9nxe1r31 _1ohyglyw _49pcglyw _ksodglyw _tpgfglyw _1r9x1o36 _1hvw1o36 _4hz81o36 _12gr1o36 _13roglyw _1bg4glyw _1qb1glyw _1dnaglyw _9h8hc8hx _f8pjc8hx _30l3c8hx _1053c8hx _irr314ae _1di61l7b"])
29
+ }, /*#__PURE__*/React.createElement("span", {
30
+ className: ax(["_1e0c5mfb"])
31
+ }, children)));
32
+ }
33
+ return /*#__PURE__*/React.createElement("li", {
34
+ className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf"])
35
+ }, /*#__PURE__*/React.createElement("button", {
36
+ onClick: onClick,
37
+ onKeyDown: onKeyDown,
38
+ id: id,
39
+ tabIndex: tabIndex,
40
+ className: ax(["_2rko1l7b _19itglyw _bfhk1j28 _11c8376l _1e0c1ule _80omtlke _1bsbnau3 _syazc8hx _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _7ehi1ssq _1nrm1r31 _1a3b1r31 _9oik1r31 _1ydc1r31 _c2waglyw _4fprglyw _1bnxglyw _1x28glyw _1iohnqa1 _5goinqa1 _jf4cnqa1 _1726nqa1 _1q5t1r31 _nt751r31 _1dit1r31 _9nxe1r31 _1ohyglyw _49pcglyw _ksodglyw _tpgfglyw _1r9x1o36 _1hvw1o36 _4hz81o36 _12gr1o36 _13roglyw _1bg4glyw _1qb1glyw _1dnaglyw _9h8hc8hx _f8pjc8hx _30l3c8hx _1053c8hx _irr314ae _1di61l7b"])
41
+ }, /*#__PURE__*/React.createElement("span", {
42
+ className: ax(["_1e0c5mfb"])
43
+ }, children)));
44
+ };
24
45
  const helpContentButtonIconStyles = null;
25
46
  export const HelpContentButtonIcon = ({
26
47
  children
@@ -16,7 +16,7 @@ import { RelatedArticlesTitle } from './styled';
16
16
  import useCancellablePromise from '../../util/hooks/cancellablePromise';
17
17
  import { usePrevious } from '../../util/hooks/previous';
18
18
  const packageName = "@atlaskit/help";
19
- const packageVersion = "9.0.1";
19
+ const packageVersion = "9.0.3";
20
20
  const buttonStyles = null;
21
21
  export const RelatedArticles = ({
22
22
  style = 'primary',
@@ -4,12 +4,16 @@ import "./styled.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import React from 'react';
6
6
  import { N800 } from '@atlaskit/theme/colors';
7
+ import Heading from '@atlaskit/heading';
7
8
  const relatedArticlesTitleStyles = null;
8
9
  export const RelatedArticlesTitle = ({
9
10
  children
10
11
  }) => /*#__PURE__*/React.createElement("div", {
11
12
  className: ax(["_11c8nbxd _syaz1fxt _ca0qpxbi _u5f3idpf _n3tdpxbi _19bvidpf"])
12
- }, children);
13
+ }, /*#__PURE__*/React.createElement(Heading, {
14
+ size: "large",
15
+ color: "color.text"
16
+ }, children));
13
17
 
14
18
  /**
15
19
  * Loading styled-components
@@ -19,7 +19,7 @@ import { useNavigationContext } from '../../contexts/navigationContext';
19
19
  const ANALYTICS_CONTEXT_DATA = {
20
20
  componentName: 'searchInput',
21
21
  packageName: "@atlaskit/help",
22
- packageVersion: "9.0.1"
22
+ packageVersion: "9.0.3"
23
23
  };
24
24
  const buttonStyles = null;
25
25
  export const SearchInput = ({
@@ -100,7 +100,7 @@ export const SearchInput = ({
100
100
  appearance: "subtle",
101
101
  onClick: handleOnClearButtonClick,
102
102
  spacing: "none",
103
- "aria-label": "Clear field",
103
+ "aria-label": "Clear",
104
104
  className: ax(["_1bsb1tcg _4t3i1tcg"])
105
105
  }, /*#__PURE__*/React.createElement(EditorCloseIcon, {
106
106
  color: "currentColor",
@@ -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 { Text } from '@atlaskit/primitives/compiled';
5
5
  import ErrorImage from '../../../assets/ErrorImage';
@@ -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: "9.0.1"
14
+ packageVersion: "9.0.3"
15
15
  };
16
16
  export const WhatsNewButton = ({
17
17
  productName,
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
3
3
  import { injectIntl } from 'react-intl-next';
4
4
  import { Text } from '@atlaskit/primitives/compiled';
5
+ import Button from '@atlaskit/button/new';
5
6
  import NotFoundImage from '../../../../assets/NotFoundImage';
6
7
  import { messages } from '../../../../messages';
7
8
  import { WhatsNewResultsEmptyMessageImage, WhatsNewResultsEmptyMessageText } from './styled';
@@ -30,8 +31,8 @@ export const WhatsNewResultsEmpty = ({
30
31
  data: {
31
32
  componentName: 'WhatsNewResultsEmpty'
32
33
  }
33
- }, /*#__PURE__*/React.createElement("a", {
34
- href: "#",
34
+ }, /*#__PURE__*/React.createElement(Button, {
35
+ appearance: "primary",
35
36
  onClick: handleClearFilterLinkClick
36
37
  }, formatMessage(messages.help_whats_new_no_results_clear_filter_button_label)), /*#__PURE__*/React.createElement(Text, null, formatMessage(messages.help_whats_new_no_results_clear_filter_info))))));
37
38
  };
@@ -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: "9.0.1"
11
+ packageVersion: "9.0.3"
12
12
  };
13
13
  export const WhatsNewResultListItem = ({
14
14
  intl: {
@@ -27,6 +27,7 @@
27
27
  ._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
28
28
  ._vchhusvi{box-sizing:border-box}
29
29
  ._vwz4gktf{line-height:20px}
30
+ ._y3gn1e5h{text-align:left}
30
31
  ._7ehi1ssq:focus{box-shadow:var(--ds-border-focused,#4c9aff) 0 0 0 2px inset}
31
32
  ._irr314ae:hover{background-color:var(--ds-background-neutral-subtle-hovered,#ebecf0)}
32
33
  ._13roglyw:active, ._1bg4glyw:focus, ._1qb1glyw:hover, ._1dnaglyw:visited{outline-offset:none}
@@ -9,10 +9,10 @@ export const WhatsNewResultListItemWrapper = ({
9
9
  styles,
10
10
  children,
11
11
  ...rest
12
- }) => /*#__PURE__*/React.createElement("a", _extends({
12
+ }) => /*#__PURE__*/React.createElement("button", _extends({
13
13
  style: styles
14
14
  }, rest, {
15
- className: ax(["_4bfu1r31 _1hmsglyw _ajmmnqa1 _2rko1l7b _kqswh2mm _vchhusvi _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _1e0c1ule _80omtlke _syaz1wmz _bfhktxrc _7ehi1ssq _1nrm1r31 _1a3b1r31 _9oik1r31 _1ydc1r31 _c2waglyw _4fprglyw _1bnxglyw _1x28glyw _1iohnqa1 _5goinqa1 _jf4cnqa1 _1726nqa1 _1q5t1r31 _nt751r31 _1dit1r31 _9nxe1r31 _1ohyglyw _49pcglyw _ksodglyw _tpgfglyw _1r9x1o36 _1hvw1o36 _4hz81o36 _12gr1o36 _13roglyw _1bg4glyw _1qb1glyw _1dnaglyw _irr314ae _1di61l7b"])
15
+ className: ax(["_4bfu1r31 _1hmsglyw _ajmmnqa1 _2rko1l7b _kqswh2mm _vchhusvi _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _1e0c1ule _80omtlke _syaz1wmz _bfhktxrc _y3gn1e5h _7ehi1ssq _1nrm1r31 _1a3b1r31 _9oik1r31 _1ydc1r31 _c2waglyw _4fprglyw _1bnxglyw _1x28glyw _1iohnqa1 _5goinqa1 _jf4cnqa1 _1726nqa1 _1q5t1r31 _nt751r31 _1dit1r31 _9nxe1r31 _1ohyglyw _49pcglyw _ksodglyw _tpgfglyw _1r9x1o36 _1hvw1o36 _4hz81o36 _12gr1o36 _13roglyw _1bg4glyw _1qb1glyw _1dnaglyw _irr314ae _1di61l7b"])
16
16
  }), children);
17
17
  const whatsNewResultListItemTitleContainerStyles = null;
18
18
  export const WhatsNewResultListItemTitleContainer = ({
@@ -7,6 +7,7 @@ import { Transition } from 'react-transition-group';
7
7
  import isEqual from 'lodash/isEqual';
8
8
  import Select from '@atlaskit/select';
9
9
  import { injectIntl } from 'react-intl-next';
10
+ import { Label } from '@atlaskit/form';
10
11
  import { VIEW } from '../../constants';
11
12
  import { messages } from '../../../messages';
12
13
  import { WHATS_NEW_ITEM_TYPES } from '../../../model/WhatsNew';
@@ -120,12 +121,15 @@ export const WhatsNewResults = ({
120
121
  ...transitionStyles[state]
121
122
  },
122
123
  className: ax(["_16jlkb7n _1o9zkb7n _i0dlf1ug _n3tdpxbi _19bvpxbi _u5f3pxbi _kqswstnw _1bsb1osq _154i1eca _bfhkvuon _2lx21bp4 _vchhusvi _1reo15vq _18m91wug _1pbykb7n"])
123
- }, searchWhatsNewArticlesState === REQUEST_STATE.loading && searchWhatsNewArticlesResult === null && state !== 'exited' && /*#__PURE__*/React.createElement(WhatsNewResultsLoading, null), (searchWhatsNewArticlesState === REQUEST_STATE.done || searchWhatsNewArticlesState === REQUEST_STATE.loading) && searchWhatsNewArticlesResult !== null && state !== 'exited' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SelectContainer, null, /*#__PURE__*/React.createElement(Select, {
124
+ }, searchWhatsNewArticlesState === REQUEST_STATE.loading && searchWhatsNewArticlesResult === null && state !== 'exited' && /*#__PURE__*/React.createElement(WhatsNewResultsLoading, null), (searchWhatsNewArticlesState === REQUEST_STATE.done || searchWhatsNewArticlesState === REQUEST_STATE.loading) && searchWhatsNewArticlesResult !== null && state !== 'exited' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SelectContainer, null, /*#__PURE__*/React.createElement(Label, {
125
+ htmlFor: "help_whats_new_filter_select_label"
126
+ }, formatMessage(messages.help_whats_new_filter_select_label)), /*#__PURE__*/React.createElement(Select, {
124
127
  defaultValue: selectedOption
125
128
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
126
129
  ,
127
130
  className: "single-select",
128
131
  classNamePrefix: "react-select",
132
+ inputId: "help_whats_new_filter_select_label",
129
133
  options: [{
130
134
  value: '',
131
135
  label: formatMessage(messages.help_whats_new_filter_select_option_all)
@@ -175,12 +179,15 @@ export const WhatsNewResults = ({
175
179
  ...transitionStyles[state]
176
180
  },
177
181
  className: ax(["_16jlkb7n _1o9zkb7n _i0dlf1ug _v5643rtd _kqswstnw _4t3i1osq _1bsb1osq _154iidpf _bfhkvuon _2lx21bp4 _vchhusvi _1reo15vq _18m91wug _1pbykb7n _ca0qpxbi _u5f3pxbi _n3tdpxbi _19bvpxbi _tzy4idpf _3um015vq"])
178
- }, searchWhatsNewArticlesState === REQUEST_STATE.loading && searchWhatsNewArticlesResult === null && state !== 'exited' && /*#__PURE__*/React.createElement(WhatsNewResultsLoading, null), (searchWhatsNewArticlesState === REQUEST_STATE.done || searchWhatsNewArticlesState === REQUEST_STATE.loading) && searchWhatsNewArticlesResult !== null && state !== 'exited' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SelectContainer, null, /*#__PURE__*/React.createElement(Select, {
182
+ }, searchWhatsNewArticlesState === REQUEST_STATE.loading && searchWhatsNewArticlesResult === null && state !== 'exited' && /*#__PURE__*/React.createElement(WhatsNewResultsLoading, null), (searchWhatsNewArticlesState === REQUEST_STATE.done || searchWhatsNewArticlesState === REQUEST_STATE.loading) && searchWhatsNewArticlesResult !== null && state !== 'exited' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SelectContainer, null, /*#__PURE__*/React.createElement(Label, {
183
+ htmlFor: "help_whats_new_filter_select_label"
184
+ }, formatMessage(messages.help_whats_new_filter_select_label)), /*#__PURE__*/React.createElement(Select, {
179
185
  defaultValue: selectedOption
180
186
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
181
187
  ,
182
188
  className: "single-select",
183
189
  classNamePrefix: "react-select",
190
+ inputId: "help_whats_new_filter_select_label",
184
191
  options: [{
185
192
  value: '',
186
193
  label: formatMessage(messages.help_whats_new_filter_select_option_all)