@atlaskit/help 7.6.2 → 7.7.0

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 (75) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/analytics.js +2 -2
  3. package/dist/cjs/components/Article/ArticleLoadingFail/index.js +1 -1
  4. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  5. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  6. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/index.js +6 -5
  7. package/dist/cjs/components/Article/HelpArticle/WasHelpfulForm/styled.js +1 -1
  8. package/dist/cjs/components/Article/HelpArticle/index.js +2 -2
  9. package/dist/cjs/components/Article/WhatsNewArticle/index.js +9 -7
  10. package/dist/cjs/components/Article/WhatsNewArticle/styled.js +1 -1
  11. package/dist/cjs/components/Article/index.js +1 -1
  12. package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +14 -12
  13. package/dist/cjs/components/ArticlesList/ArticlesListItem/styled.js +7 -2
  14. package/dist/cjs/components/ArticlesList/index.js +1 -1
  15. package/dist/cjs/components/Help.js +1 -1
  16. package/dist/cjs/components/HelpContent.js +1 -1
  17. package/dist/cjs/components/HelpContentButton/index.js +6 -5
  18. package/dist/cjs/components/HelpContentButton/styled.js +1 -1
  19. package/dist/cjs/components/RelatedArticles/index.js +2 -2
  20. package/dist/cjs/components/RelatedArticles/styled.js +1 -1
  21. package/dist/cjs/components/Search/SearchInput/index.js +10 -5
  22. package/dist/cjs/components/Search/SearchInput/styled.js +1 -0
  23. package/dist/cjs/components/Search/SearchResults/SearchExternalSite.js +6 -6
  24. package/dist/cjs/components/Search/SearchResults/SearchResultsEmpty.js +6 -6
  25. package/dist/cjs/components/Search/SearchResults/index.js +1 -1
  26. package/dist/cjs/components/Search/SearchResults/styled.js +1 -1
  27. package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +6 -5
  28. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsEmpty/styled.js +1 -1
  29. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsError/styled.js +1 -1
  30. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +3 -3
  31. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/styled.js +1 -1
  32. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultsList.js +1 -1
  33. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/index.js +1 -1
  34. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +1 -1
  35. package/dist/cjs/components/WhatsNew/WhatsNewResults/index.js +1 -1
  36. package/dist/cjs/components/contexts/navigationContext.js +1 -1
  37. package/dist/cjs/components/contexts/searchContext.js +1 -1
  38. package/dist/cjs/components/contexts/whatsNewArticleContext.js +1 -1
  39. package/dist/cjs/util/styled.js +1 -1
  40. package/dist/es2019/analytics.js +1 -1
  41. package/dist/es2019/components/Article/ArticleLoadingFail/index.js +1 -1
  42. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  43. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  44. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/index.js +4 -3
  45. package/dist/es2019/components/Article/HelpArticle/index.js +1 -1
  46. package/dist/es2019/components/Article/WhatsNewArticle/index.js +6 -4
  47. package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +9 -7
  48. package/dist/es2019/components/ArticlesList/ArticlesListItem/styled.js +6 -1
  49. package/dist/es2019/components/HelpContentButton/index.js +4 -3
  50. package/dist/es2019/components/RelatedArticles/index.js +1 -1
  51. package/dist/es2019/components/Search/SearchInput/index.js +8 -3
  52. package/dist/es2019/components/Search/SearchInput/styled.js +1 -0
  53. package/dist/es2019/components/Search/SearchResults/SearchExternalSite.js +4 -4
  54. package/dist/es2019/components/Search/SearchResults/SearchResultsEmpty.js +4 -4
  55. package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +5 -4
  56. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  57. package/dist/esm/analytics.js +1 -1
  58. package/dist/esm/components/Article/ArticleLoadingFail/index.js +1 -1
  59. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  60. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  61. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/index.js +4 -3
  62. package/dist/esm/components/Article/HelpArticle/index.js +1 -1
  63. package/dist/esm/components/Article/WhatsNewArticle/index.js +6 -4
  64. package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +11 -9
  65. package/dist/esm/components/ArticlesList/ArticlesListItem/styled.js +6 -1
  66. package/dist/esm/components/Help.js +1 -1
  67. package/dist/esm/components/HelpContentButton/index.js +4 -3
  68. package/dist/esm/components/RelatedArticles/index.js +1 -1
  69. package/dist/esm/components/Search/SearchInput/index.js +8 -3
  70. package/dist/esm/components/Search/SearchInput/styled.js +1 -0
  71. package/dist/esm/components/Search/SearchResults/SearchExternalSite.js +4 -4
  72. package/dist/esm/components/Search/SearchResults/SearchResultsEmpty.js +4 -4
  73. package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +5 -4
  74. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +3 -3
  75. package/package.json +5 -5
@@ -9,7 +9,7 @@ exports.default = exports.WhatsNewButton = void 0;
9
9
  var _react = _interopRequireWildcard(require("react"));
10
10
  var _analyticsNext = require("@atlaskit/analytics-next");
11
11
  var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
12
- var _lightbulb = _interopRequireDefault(require("@atlaskit/icon/glyph/lightbulb"));
12
+ var _lightbulb = _interopRequireDefault(require("@atlaskit/icon/core/migration/lightbulb"));
13
13
  var _reactIntlNext = require("react-intl-next");
14
14
  var _whatsNewArticleContext = require("../../contexts/whatsNewArticleContext");
15
15
  var _navigationContext = require("../../contexts/navigationContext");
@@ -17,11 +17,11 @@ var _messages = require("../../../messages");
17
17
  var _HelpContentButton = _interopRequireDefault(require("../../HelpContentButton"));
18
18
  var _Help = require("../../../model/Help");
19
19
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
20
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
20
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
21
21
  var ANALYTICS_CONTEXT_DATA = {
22
22
  componentName: 'WhatsNewButton',
23
23
  packageName: "@atlaskit/help",
24
- packageVersion: "7.6.2"
24
+ packageVersion: "7.7.0"
25
25
  };
26
26
  var WhatsNewButton = exports.WhatsNewButton = function WhatsNewButton(_ref) {
27
27
  var productName = _ref.productName,
@@ -50,8 +50,9 @@ var WhatsNewButton = exports.WhatsNewButton = function WhatsNewButton(_ref) {
50
50
  productName: productName
51
51
  }) : formatMessage(_messages.messages.help_whats_new_button_label_without_product_name),
52
52
  icon: /*#__PURE__*/_react.default.createElement(_lightbulb.default, {
53
- primaryColor: "var(--ds-icon-subtle, ".concat(colors.N600, ")"),
54
- size: "medium",
53
+ color: "var(--ds-icon-subtle, ".concat(colors.N600, ")"),
54
+ LEGACY_size: "medium",
55
+ spacing: "spacious",
55
56
  label: ""
56
57
  })
57
58
  });
@@ -9,7 +9,7 @@ exports.WhatsNewResultsEmptyMessageText = exports.WhatsNewResultsEmptyMessageIma
9
9
  var _styled = _interopRequireDefault(require("@emotion/styled"));
10
10
  var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
11
11
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
12
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
12
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
13
13
  /**
14
14
  * @jsxRuntime classic
15
15
  * @jsx jsx
@@ -9,7 +9,7 @@ exports.SearchResultEmptyMessageText = exports.SearchResultEmptyMessageImage = v
9
9
  var _styled = _interopRequireDefault(require("@emotion/styled"));
10
10
  var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
11
11
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
12
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
12
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
13
13
  /**
14
14
  * @jsxRuntime classic
15
15
  * @jsx jsx
@@ -15,7 +15,7 @@ var _styled2 = require("./styled");
15
15
  var ANALYTICS_CONTEXT_DATA = {
16
16
  componentName: 'ArticlesListItem',
17
17
  packageName: "@atlaskit/help",
18
- packageVersion: "7.6.2"
18
+ packageVersion: "7.7.0"
19
19
  };
20
20
  var WhatsNewResultListItem = exports.WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
21
21
  var formatMessage = _ref.intl.formatMessage,
@@ -30,10 +30,10 @@ var WhatsNewResultListItem = exports.WhatsNewResultListItem = function WhatsNewR
30
30
  var handleOnClick = function handleOnClick(event) {
31
31
  event.preventDefault();
32
32
  if (onClick) {
33
- var _analyticsEvent = createAnalyticsEvent({
33
+ var analyticsEvent = createAnalyticsEvent({
34
34
  action: 'clicked'
35
35
  });
36
- onClick(event, _analyticsEvent);
36
+ onClick(event, analyticsEvent);
37
37
  }
38
38
  };
39
39
  return /*#__PURE__*/_react.default.createElement(_styled2.WhatsNewResultListItemWrapper, {
@@ -10,7 +10,7 @@ var _styled = _interopRequireDefault(require("@emotion/styled"));
10
10
  var _constants = require("@atlaskit/theme/constants");
11
11
  var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
12
12
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
13
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
13
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
14
14
  /**
15
15
  * @jsxRuntime classic
16
16
  * @jsx jsx
@@ -16,7 +16,7 @@ var _format = _interopRequireDefault(require("date-fns/format"));
16
16
  var _WhatsNewResultItem = _interopRequireDefault(require("./WhatsNewResultItem"));
17
17
  var _styled = require("./styled");
18
18
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
19
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
19
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
20
20
  var WhatsNewResultsList = function WhatsNewResultsList(_ref) {
21
21
  var _ref$style = _ref.style,
22
22
  style = _ref$style === void 0 ? 'primary' : _ref$style,
@@ -14,7 +14,7 @@ var _constants = require("../../../constants");
14
14
  var _WhatsNewResultsList = _interopRequireDefault(require("./WhatsNewResultsList"));
15
15
  var _styled = require("./styled");
16
16
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
17
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
17
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
18
  var WhatsNewResultsList = function WhatsNewResultsList(_ref) {
19
19
  var style = _ref.style,
20
20
  whatsNewArticles = _ref.whatsNewArticles,
@@ -11,7 +11,7 @@ var _styled = _interopRequireDefault(require("@emotion/styled"));
11
11
  var _constants = require("@atlaskit/theme/constants");
12
12
  var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
13
13
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
14
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
14
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
15
15
  /**
16
16
  * @jsxRuntime classic
17
17
  * @jsx jsx
@@ -25,7 +25,7 @@ var _WhatsNewResultsLoading = _interopRequireDefault(require("./WhatsNewResultsL
25
25
  var _WhatsNewResultsList = _interopRequireDefault(require("./WhatsNewResultsList"));
26
26
  var _styled = require("./styled");
27
27
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
28
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
28
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
29
29
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
30
30
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
31
31
  var defaultStyle = {
@@ -26,7 +26,7 @@ var _headerContext = require("./headerContext");
26
26
  var _excluded = ["body", "relatedArticles"],
27
27
  _excluded2 = ["description"];
28
28
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
29
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
29
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
30
30
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
31
31
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
32
32
  var DEFAULT_ARTICLE_ID = {
@@ -15,7 +15,7 @@ var _Requests = require("../../model/Requests");
15
15
  var _ctx = require("../../util/hooks/ctx");
16
16
  var _constants = require("../constants");
17
17
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
18
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
19
19
  var _createCtx = (0, _ctx.createCtx)(),
20
20
  _createCtx2 = (0, _slicedToArray2.default)(_createCtx, 2),
21
21
  useSearchContext = exports.useSearchContext = _createCtx2[0],
@@ -15,7 +15,7 @@ var _Requests = require("../../model/Requests");
15
15
  var _ctx = require("../../util/hooks/ctx");
16
16
  var _constants = require("../constants");
17
17
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
18
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
19
19
  var _createCtx = (0, _ctx.createCtx)(),
20
20
  _createCtx2 = (0, _slicedToArray2.default)(_createCtx, 2),
21
21
  useWhatsNewArticleContext = exports.useWhatsNewArticleContext = _createCtx2[0],
@@ -20,7 +20,7 @@ var _templateObject;
20
20
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
21
21
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
22
22
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
23
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
23
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
24
24
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
25
25
  var DividerLine = exports.DividerLine = _styled.default.div({
26
26
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
@@ -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: "7.6.2"
8
+ packageVersion: "7.7.0"
9
9
  };
@@ -8,7 +8,7 @@ import { LoadingErrorMessage, LoadingErrorButtonContainer } from './styled';
8
8
  const ANALYTICS_CONTEXT_DATA = {
9
9
  componentName: 'ArticleLoadingFail',
10
10
  packageName: "@atlaskit/help",
11
- packageVersion: "7.6.2"
11
+ packageVersion: "7.7.0"
12
12
  };
13
13
  export const ArticleLoadingFail = ({
14
14
  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: "7.6.2"
9
+ packageVersion: "7.7.0"
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: "7.6.2"
9
+ packageVersion: "7.7.0"
10
10
  };
11
11
  export const ArticleWasHelpfulYesButton = ({
12
12
  isSelected = false,
@@ -15,7 +15,7 @@ import Form, { Field, CheckboxField, FormFooter } from '@atlaskit/form';
15
15
  import { RadioGroup } from '@atlaskit/radio';
16
16
  import { Checkbox } from '@atlaskit/checkbox';
17
17
  import TextArea from '@atlaskit/textarea';
18
- import CheckCircleIcon from '@atlaskit/icon/glyph/check-circle';
18
+ import CheckCircleIcon from '@atlaskit/icon/core/migration/success--check-circle';
19
19
  // AFP-2532 TODO: Fix automatic suppressions below
20
20
  // eslint-disable-next-line @atlassian/tangerine/import/entry-points
21
21
  import { colors } from '@atlaskit/theme';
@@ -29,7 +29,7 @@ const FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
29
29
  const ANALYTICS_CONTEXT_DATA = {
30
30
  componentName: 'ArticleWasHelpfulForm',
31
31
  packageName: "@atlaskit/help",
32
- packageVersion: "7.6.2"
32
+ packageVersion: "7.7.0"
33
33
  };
34
34
  const buttonStyles = css({
35
35
  padding: '0',
@@ -205,7 +205,8 @@ export const ArticleWasHelpfulForm = ({
205
205
  verticalAlign: 'middle'
206
206
  }
207
207
  }, jsx(CheckCircleIcon, {
208
- primaryColor: `var(--ds-icon-success, ${colors.G400})`,
208
+ spacing: "spacious",
209
+ color: `var(--ds-icon-success, ${colors.G400})`,
209
210
  label: ""
210
211
  })), jsx(ArticleFeedbackText, {
211
212
  role: "alert",
@@ -59,7 +59,7 @@ export const HelpArticle = ({
59
59
  analyticsEvent.payload.attributes = {
60
60
  componentName: 'Article',
61
61
  packageName: "@atlaskit/help",
62
- packageVersion: "7.6.2"
62
+ packageVersion: "7.7.0"
63
63
  };
64
64
  if (onRelatedArticlesShowMoreClick) {
65
65
  onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { injectIntl } from 'react-intl-next';
3
3
  import { BODY_FORMAT_TYPES } from '@atlaskit/help-article';
4
4
  import HelpArticleContent from '@atlaskit/help-article';
5
- import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
5
+ import ShortcutIcon from '@atlaskit/icon/core/migration/link-external--shortcut';
6
6
  import { AnalyticsContext } from '@atlaskit/analytics-next';
7
7
  import Button from '@atlaskit/button';
8
8
  import { messages } from '../../../messages';
@@ -13,7 +13,7 @@ import { WhatsNewTypeTitle, WhatsNewTitleText, WhatsNewIconContainer, RelatedLin
13
13
  const analyticsContextData = {
14
14
  componentName: 'ArticlesListItem',
15
15
  packageName: "@atlaskit/help",
16
- packageVersion: "7.6.2"
16
+ packageVersion: "7.7.0"
17
17
  };
18
18
  export const WhatsNewArticle = ({
19
19
  intl: {
@@ -49,7 +49,8 @@ export const WhatsNewArticle = ({
49
49
  href: article.relatedExternalLinks,
50
50
  target: "_blank"
51
51
  }, formatMessage(messages.help_whats_new_related_link_support)), /*#__PURE__*/React.createElement(ExternalLinkIconContainer, null, /*#__PURE__*/React.createElement(ShortcutIcon, {
52
- size: "small",
52
+ color: "currentColor",
53
+ LEGACY_size: "small",
53
54
  label: ""
54
55
  }))), article.communityUrl && /*#__PURE__*/React.createElement(RelatedLinkContainer, null, /*#__PURE__*/React.createElement(Button, {
55
56
  appearance: "link",
@@ -57,7 +58,8 @@ export const WhatsNewArticle = ({
57
58
  href: article.communityUrl,
58
59
  target: "_blank"
59
60
  }, formatMessage(messages.help_whats_new_related_link_community)), /*#__PURE__*/React.createElement(ExternalLinkIconContainer, null, /*#__PURE__*/React.createElement(ShortcutIcon, {
60
- size: "small",
61
+ color: "currentColor",
62
+ LEGACY_size: "small",
61
63
  label: ""
62
64
  }))))));
63
65
  }
@@ -1,14 +1,14 @@
1
1
  import React from 'react';
2
2
  import * as colors from '@atlaskit/theme/colors';
3
3
  import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
4
- import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
4
+ import ShortcutIcon from '@atlaskit/icon/core/migration/link-external--shortcut';
5
5
  import { injectIntl } from 'react-intl-next';
6
- import LikeIcon from '@atlaskit/icon/glyph/like';
6
+ import LikeIcon from '@atlaskit/icon/core/migration/thumbs-up--like';
7
7
  import { ArticlesListItemWrapper, ArticlesListItemContainer, ArticlesListItemTitleText, ArticlesListItemDescription, ArticlesListItemLinkIcon, ArticlesListItemTrustFactor, ArticlesListItemViewCount, ArticlesListItemHelpfulCount, ArticlesListItemSource, ArticlesListItemLastModified, ArticlesListItemTitleSection } from './styled';
8
8
  const ANALYTICS_CONTEXT_DATA = {
9
9
  componentName: 'ArticlesListItem',
10
10
  packageName: "@atlaskit/help",
11
- packageVersion: "7.6.2"
11
+ packageVersion: "7.7.0"
12
12
  };
13
13
  const highlightText = text => {
14
14
  if (!text) {
@@ -64,13 +64,15 @@ export const ArticlesListItem = ({
64
64
  href: href,
65
65
  onClick: handleOnClick
66
66
  }, /*#__PURE__*/React.createElement(ArticlesListItemContainer, null, /*#__PURE__*/React.createElement(ArticlesListItemTitleSection, null, /*#__PURE__*/React.createElement(ArticlesListItemTitleText, null, highlightText(title)), isLastPublishedVisible && /*#__PURE__*/React.createElement(ArticlesListItemLastModified, null, "Last modified: ", lastPublished)), href && /*#__PURE__*/React.createElement(ArticlesListItemLinkIcon, null, /*#__PURE__*/React.createElement(ShortcutIcon, {
67
- size: "small",
67
+ LEGACY_size: "small",
68
68
  label: "",
69
- primaryColor: `var(--ds-icon-subtle, ${colors.N90})`,
70
- secondaryColor: `var(--ds-icon-subtle, ${colors.N90})`
69
+ color: `var(--ds-icon-subtle, ${colors.N90})`,
70
+ LEGACY_secondaryColor: `var(--ds-icon-subtle, ${colors.N90})`
71
71
  }))), /*#__PURE__*/React.createElement(ArticlesListItemDescription, null, highlightText(description)), isSourceVisible && /*#__PURE__*/React.createElement(ArticlesListItemSource, null, source), isTrustFactorVisible && /*#__PURE__*/React.createElement(ArticlesListItemTrustFactor, null, isNumViewsVisible && /*#__PURE__*/React.createElement(ArticlesListItemViewCount, null, trustFactors.numViews, " views"), isHelpfulCountVisible && /*#__PURE__*/React.createElement(ArticlesListItemHelpfulCount, null, /*#__PURE__*/React.createElement(LikeIcon, {
72
+ LEGACY_margin: "0 -0.25px 0 0",
73
+ color: "currentColor",
72
74
  label: "Like",
73
- size: "small"
75
+ LEGACY_size: "small"
74
76
  }), trustFactors.helpfulCount)));
75
77
  };
76
78
  const ArticlesListItemWithContext = props => {
@@ -124,7 +124,12 @@ export const ArticlesListItemViewCount = styled.span({
124
124
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
125
125
  export const ArticlesListItemHelpfulCount = styled.span({
126
126
  display: 'inline-flex',
127
- paddingRight: "var(--ds-space-100, 8px)"
127
+ paddingRight: "var(--ds-space-100, 8px)",
128
+ alignItems: 'center',
129
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
130
+ '& > span': {
131
+ marginRight: "var(--ds-space-025, 2px)"
132
+ }
128
133
  });
129
134
 
130
135
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
@@ -1,5 +1,5 @@
1
1
  import React, { useCallback } from 'react';
2
- import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
2
+ import ShortcutIcon from '@atlaskit/icon/core/migration/link-external--shortcut';
3
3
  import Tooltip from '@atlaskit/tooltip';
4
4
  import { NotificationIndicator } from '@atlaskit/notification-indicator';
5
5
  import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
7
7
  const analitycsContextData = {
8
8
  componentName: 'HelpContentButton',
9
9
  packageName: "@atlaskit/help",
10
- packageVersion: "7.6.2"
10
+ packageVersion: "7.7.0"
11
11
  };
12
12
  const HelpContentButton = ({
13
13
  id = '',
@@ -37,7 +37,8 @@ const HelpContentButton = ({
37
37
  })), href != null && /*#__PURE__*/React.createElement(HelpContentButtonExternalLinkIcon, {
38
38
  "data-testid": "shortcutIcon"
39
39
  }, /*#__PURE__*/React.createElement(ShortcutIcon, {
40
- size: "small",
40
+ color: "currentColor",
41
+ LEGACY_size: "small",
41
42
  label: ""
42
43
  }))));
43
44
  return /*#__PURE__*/React.createElement(AnalyticsContext, {
@@ -20,7 +20,7 @@ import { usePrevious } from '../../util/hooks/previous';
20
20
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
21
21
  import { css, jsx } from '@emotion/react';
22
22
  const packageName = "@atlaskit/help";
23
- const packageVersion = "7.6.2";
23
+ const packageVersion = "7.7.0";
24
24
  const buttonStyles = css({
25
25
  padding: '0',
26
26
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
@@ -9,8 +9,8 @@ import Textfield from '@atlaskit/textfield';
9
9
  import Button from '@atlaskit/button/custom-theme-button';
10
10
  import { gridSize } from '@atlaskit/theme/constants';
11
11
  import Spinner from '@atlaskit/spinner';
12
- import SearchIcon from '@atlaskit/icon/glyph/search';
13
- import EditorCloseIcon from '@atlaskit/icon/glyph/editor/close';
12
+ import SearchIcon from '@atlaskit/icon/core/migration/search';
13
+ import EditorCloseIcon from '@atlaskit/icon/core/migration/close--editor-close';
14
14
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
15
15
  import { css, jsx } from '@emotion/react';
16
16
  import { injectIntl } from 'react-intl-next';
@@ -21,7 +21,7 @@ import { SearchInputContainer, SearchIconContainer, CloseButtonAndSpinnerContain
21
21
  const ANALYTICS_CONTEXT_DATA = {
22
22
  componentName: 'searchInput',
23
23
  packageName: "@atlaskit/help",
24
- packageVersion: "7.6.2"
24
+ packageVersion: "7.7.0"
25
25
  };
26
26
  const buttonStyles = css({
27
27
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
@@ -88,6 +88,9 @@ export const SearchInput = ({
88
88
  ref: inputRef,
89
89
  name: "help-search-input",
90
90
  elemBeforeInput: jsx(SearchIconContainer, null, jsx(SearchIcon, {
91
+ LEGACY_margin: "0 2px",
92
+ color: "currentColor",
93
+ spacing: "spacious",
91
94
  label: ""
92
95
  })),
93
96
  elemAfterInput: jsx(CloseButtonAndSpinnerContainer, null, searchState === REQUEST_STATE.loading && jsx(Spinner, {
@@ -99,6 +102,8 @@ export const SearchInput = ({
99
102
  spacing: "none",
100
103
  "aria-label": "Clear field"
101
104
  }, jsx(EditorCloseIcon, {
105
+ color: "currentColor",
106
+ spacing: "spacious",
102
107
  label: ""
103
108
  }))),
104
109
  placeholder: formatMessage(messages.help_search_placeholder),
@@ -18,6 +18,7 @@ export const SearchIconContainer = styled.div({
18
18
  width: "var(--ds-space-300, 24px)",
19
19
  height: "var(--ds-space-300, 24px)",
20
20
  paddingLeft: "var(--ds-space-050, 4px)",
21
+ marginLeft: "var(--ds-space-negative-025, -2px)",
21
22
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
22
23
  '& > span': {
23
24
  paddingLeft: "var(--ds-space-050, 4px)",
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
3
3
  import * as colors from '@atlaskit/theme/colors';
4
4
  import Button from '@atlaskit/button';
5
- import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
5
+ import ShortcutIcon from '@atlaskit/icon/core/migration/link-external--shortcut';
6
6
  import { injectIntl } from 'react-intl-next';
7
7
  import { messages } from '../../../messages';
8
8
  import { SearchResultSearchExternalSiteContainer } from './styled';
@@ -31,10 +31,10 @@ export const SearchExternalSite = ({
31
31
  }, /*#__PURE__*/React.createElement(Button, {
32
32
  appearance: "link",
33
33
  iconAfter: /*#__PURE__*/React.createElement(ShortcutIcon, {
34
- size: "small",
34
+ LEGACY_size: "small",
35
35
  label: "",
36
- primaryColor: `var(--ds-icon-subtle, ${colors.N90})`,
37
- secondaryColor: `var(--ds-icon-subtle, ${colors.N90})`
36
+ color: `var(--ds-icon-subtle, ${colors.N90})`,
37
+ LEGACY_secondaryColor: `var(--ds-icon-subtle, ${colors.N90})`
38
38
  }),
39
39
  spacing: "compact",
40
40
  href: searchExternalUrl,
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
3
3
  import * as colors from '@atlaskit/theme/colors';
4
4
  import Button from '@atlaskit/button';
5
- import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
5
+ import ShortcutIcon from '@atlaskit/icon/core/migration/link-external--shortcut';
6
6
  import { injectIntl } from 'react-intl-next';
7
7
  import NotFoundImage from '../../../assets/NotFoundImage';
8
8
  import { messages } from '../../../messages';
@@ -32,10 +32,10 @@ export const SearchResultsEmpty = ({
32
32
  }, /*#__PURE__*/React.createElement(Button, {
33
33
  appearance: "link",
34
34
  iconAfter: /*#__PURE__*/React.createElement(ShortcutIcon, {
35
- size: "small",
35
+ LEGACY_size: "small",
36
36
  label: "",
37
- primaryColor: `var(--ds-icon-subtle, ${colors.N90})`,
38
- secondaryColor: `var(--ds-icon-subtle, ${colors.N90})`
37
+ color: `var(--ds-icon-subtle, ${colors.N90})`,
38
+ LEGACY_secondaryColor: `var(--ds-icon-subtle, ${colors.N90})`
39
39
  }),
40
40
  spacing: "compact",
41
41
  href: searchExternalUrl,
@@ -1,7 +1,7 @@
1
1
  import React, { useCallback } from 'react';
2
2
  import { AnalyticsContext } from '@atlaskit/analytics-next';
3
3
  import * as colors from '@atlaskit/theme/colors';
4
- import LightbulbIcon from '@atlaskit/icon/glyph/lightbulb';
4
+ import LightbulbIcon from '@atlaskit/icon/core/migration/lightbulb';
5
5
  import { injectIntl } from 'react-intl-next';
6
6
  import { useWhatsNewArticleContext } from '../../contexts/whatsNewArticleContext';
7
7
  import { useNavigationContext } from '../../contexts/navigationContext';
@@ -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.6.2"
14
+ packageVersion: "7.7.0"
15
15
  };
16
16
  export const WhatsNewButton = ({
17
17
  productName,
@@ -45,8 +45,9 @@ export const WhatsNewButton = ({
45
45
  productName
46
46
  }) : formatMessage(messages.help_whats_new_button_label_without_product_name),
47
47
  icon: /*#__PURE__*/React.createElement(LightbulbIcon, {
48
- primaryColor: `var(--ds-icon-subtle, ${colors.N600})`,
49
- size: "medium",
48
+ color: `var(--ds-icon-subtle, ${colors.N600})`,
49
+ LEGACY_size: "medium",
50
+ spacing: "spacious",
50
51
  label: ""
51
52
  })
52
53
  });
@@ -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.6.2"
11
+ packageVersion: "7.7.0"
12
12
  };
13
13
  export const WhatsNewResultListItem = ({
14
14
  intl: {
@@ -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.6.2"
8
+ packageVersion: "7.7.0"
9
9
  };
@@ -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.6.2"
11
+ packageVersion: "7.7.0"
12
12
  };
13
13
  export var ArticleLoadingFail = function ArticleLoadingFail(_ref) {
14
14
  var onTryAgainButtonClick = _ref.onTryAgainButtonClick,
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
6
6
  var ANALYTICS_CONTEXT_DATA = {
7
7
  componentName: 'ArticleWasHelpfulNoButton',
8
8
  packageName: "@atlaskit/help",
9
- packageVersion: "7.6.2"
9
+ packageVersion: "7.7.0"
10
10
  };
11
11
  export var ArticleWasHelpfulNoButton = function ArticleWasHelpfulNoButton(_ref) {
12
12
  var _ref$isSelected = _ref.isSelected,
@@ -6,7 +6,7 @@ import { messages } from '../../../../messages';
6
6
  var ANALYTICS_CONTEXT_DATA = {
7
7
  componentName: 'ArticleWasHelpfulYesButton',
8
8
  packageName: "@atlaskit/help",
9
- packageVersion: "7.6.2"
9
+ packageVersion: "7.7.0"
10
10
  };
11
11
  export var ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
12
12
  var _ref$isSelected = _ref.isSelected,
@@ -16,7 +16,7 @@ import Form, { Field, CheckboxField, FormFooter } from '@atlaskit/form';
16
16
  import { RadioGroup } from '@atlaskit/radio';
17
17
  import { Checkbox } from '@atlaskit/checkbox';
18
18
  import TextArea from '@atlaskit/textarea';
19
- import CheckCircleIcon from '@atlaskit/icon/glyph/check-circle';
19
+ import CheckCircleIcon from '@atlaskit/icon/core/migration/success--check-circle';
20
20
  // AFP-2532 TODO: Fix automatic suppressions below
21
21
  // eslint-disable-next-line @atlassian/tangerine/import/entry-points
22
22
  import { colors } from '@atlaskit/theme';
@@ -30,7 +30,7 @@ var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
30
30
  var ANALYTICS_CONTEXT_DATA = {
31
31
  componentName: 'ArticleWasHelpfulForm',
32
32
  packageName: "@atlaskit/help",
33
- packageVersion: "7.6.2"
33
+ packageVersion: "7.7.0"
34
34
  };
35
35
  var buttonStyles = css({
36
36
  padding: '0',
@@ -225,7 +225,8 @@ export var ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
225
225
  verticalAlign: 'middle'
226
226
  }
227
227
  }, jsx(CheckCircleIcon, {
228
- primaryColor: "var(--ds-icon-success, ".concat(colors.G400, ")"),
228
+ spacing: "spacious",
229
+ color: "var(--ds-icon-success, ".concat(colors.G400, ")"),
229
230
  label: ""
230
231
  })), jsx(ArticleFeedbackText, {
231
232
  role: "alert",