@atlaskit/help 9.2.3 → 9.4.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 (53) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/cjs/analytics.js +1 -1
  3. package/dist/cjs/assets/IconWrapper.js +1 -8
  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 +1 -1
  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/ArticlesListItem/index.js +3 -6
  11. package/dist/cjs/components/BackButton/index.js +1 -1
  12. package/dist/cjs/components/HelpContentButton/index.js +1 -1
  13. package/dist/cjs/components/RelatedArticles/index.js +1 -1
  14. package/dist/cjs/components/Search/SearchInput/index.js +2 -3
  15. package/dist/cjs/components/Search/SearchResults/SearchExternalSite.js +1 -3
  16. package/dist/cjs/components/Search/SearchResults/SearchResultsEmpty.js +1 -3
  17. package/dist/cjs/components/WhatsNew/WhatsNewButton/index.js +1 -1
  18. package/dist/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  19. package/dist/es2019/analytics.js +1 -1
  20. package/dist/es2019/assets/IconWrapper.js +1 -8
  21. package/dist/es2019/components/Article/ArticleLoadingFail/index.js +1 -1
  22. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  23. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  24. package/dist/es2019/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -1
  25. package/dist/es2019/components/Article/HelpArticle/index.js +1 -1
  26. package/dist/es2019/components/Article/WhatsNewArticle/index.js +1 -1
  27. package/dist/es2019/components/ArticlesList/ArticlesListItem/index.js +3 -6
  28. package/dist/es2019/components/BackButton/index.js +1 -1
  29. package/dist/es2019/components/HelpContentButton/index.js +1 -1
  30. package/dist/es2019/components/RelatedArticles/index.js +1 -1
  31. package/dist/es2019/components/Search/SearchInput/index.js +2 -3
  32. package/dist/es2019/components/Search/SearchResults/SearchExternalSite.js +1 -3
  33. package/dist/es2019/components/Search/SearchResults/SearchResultsEmpty.js +1 -3
  34. package/dist/es2019/components/WhatsNew/WhatsNewButton/index.js +1 -1
  35. package/dist/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  36. package/dist/esm/analytics.js +1 -1
  37. package/dist/esm/assets/IconWrapper.js +1 -8
  38. package/dist/esm/components/Article/ArticleLoadingFail/index.js +1 -1
  39. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulNoButton.js +1 -1
  40. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/WasHelpfulYesButton.js +1 -1
  41. package/dist/esm/components/Article/HelpArticle/WasHelpfulForm/index.js +1 -1
  42. package/dist/esm/components/Article/HelpArticle/index.js +1 -1
  43. package/dist/esm/components/Article/WhatsNewArticle/index.js +1 -1
  44. package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +3 -6
  45. package/dist/esm/components/BackButton/index.js +1 -1
  46. package/dist/esm/components/HelpContentButton/index.js +1 -1
  47. package/dist/esm/components/RelatedArticles/index.js +1 -1
  48. package/dist/esm/components/Search/SearchInput/index.js +2 -3
  49. package/dist/esm/components/Search/SearchResults/SearchExternalSite.js +1 -3
  50. package/dist/esm/components/Search/SearchResults/SearchResultsEmpty.js +1 -3
  51. package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
  52. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  53. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @atlaskit/help
2
2
 
3
+ ## 9.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`87b12e64ff750`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/87b12e64ff750) -
8
+ Removed usages of LEGACY icon props
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 9.3.0
15
+
16
+ ### Minor Changes
17
+
18
+ - [`00e69e0b7c839`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/00e69e0b7c839) -
19
+ Clean up and removal of the `platform-visual-refresh-icons` feature flag.
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+
3
25
  ## 9.2.3
4
26
 
5
27
  ### Patch Changes
@@ -13,5 +13,5 @@ var createAndFire = exports.createAndFire = x.createAndFireEvent('atlaskit');
13
13
  var defaultAnalyticsAttributes = exports.defaultAnalyticsAttributes = {
14
14
  componentName: 'help',
15
15
  packageName: "@atlaskit/help",
16
- packageVersion: "0.0.0-development"
16
+ packageVersion: "9.4.0"
17
17
  };
@@ -8,20 +8,13 @@ exports.IconWrapper = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _compiled = require("@atlaskit/primitives/compiled");
10
10
  var _icon = require("@atlaskit/icon");
11
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
11
  var IconWrapper = exports.IconWrapper = function IconWrapper(_ref) {
13
12
  var Icon = _ref.Icon,
14
13
  appearance = _ref.appearance;
15
14
  return /*#__PURE__*/_react.default.createElement(_compiled.Flex, {
16
15
  alignItems: "center",
17
16
  justifyContent: "center"
18
- }, !(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? /*#__PURE__*/_react.default.createElement(Icon, {
19
- label: "",
20
- color: "var(--ds-icon-inverse, #FFFFFF)"
21
- }) :
22
- /*#__PURE__*/
23
- // @ts-ignore
24
- _react.default.createElement(_icon.IconTile, {
17
+ }, /*#__PURE__*/_react.default.createElement(_icon.IconTile, {
25
18
  icon: Icon,
26
19
  size: "16",
27
20
  label: "",
@@ -17,7 +17,7 @@ var _styled = require("./styled");
17
17
  var ANALYTICS_CONTEXT_DATA = {
18
18
  componentName: 'ArticleLoadingFail',
19
19
  packageName: "@atlaskit/help",
20
- packageVersion: "0.0.0-development"
20
+ packageVersion: "9.4.0"
21
21
  };
22
22
  var ArticleLoadingFail = exports.ArticleLoadingFail = function ArticleLoadingFail(_ref) {
23
23
  var onTryAgainButtonClick = _ref.onTryAgainButtonClick,
@@ -13,7 +13,7 @@ var _messages = require("../../../../messages");
13
13
  var ANALYTICS_CONTEXT_DATA = {
14
14
  componentName: 'ArticleWasHelpfulNoButton',
15
15
  packageName: "@atlaskit/help",
16
- packageVersion: "0.0.0-development"
16
+ packageVersion: "9.4.0"
17
17
  };
18
18
  var ArticleWasHelpfulNoButton = exports.ArticleWasHelpfulNoButton = function ArticleWasHelpfulNoButton(_ref) {
19
19
  var _ref$isSelected = _ref.isSelected,
@@ -13,7 +13,7 @@ var _messages = require("../../../../messages");
13
13
  var ANALYTICS_CONTEXT_DATA = {
14
14
  componentName: 'ArticleWasHelpfulYesButton',
15
15
  packageName: "@atlaskit/help",
16
- packageVersion: "0.0.0-development"
16
+ packageVersion: "9.4.0"
17
17
  };
18
18
  var ArticleWasHelpfulYesButton = exports.ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
19
19
  var _ref$isSelected = _ref.isSelected,
@@ -35,7 +35,7 @@ var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
35
35
  var ANALYTICS_CONTEXT_DATA = {
36
36
  componentName: 'ArticleWasHelpfulForm',
37
37
  packageName: "@atlaskit/help",
38
- packageVersion: "0.0.0-development"
38
+ packageVersion: "9.4.0"
39
39
  };
40
40
  var buttonStyles = null;
41
41
  var ArticleWasHelpfulForm = exports.ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
@@ -64,7 +64,7 @@ var HelpArticle = exports.HelpArticle = function HelpArticle(_ref) {
64
64
  analyticsEvent.payload.attributes = {
65
65
  componentName: 'Article',
66
66
  packageName: "@atlaskit/help",
67
- packageVersion: "0.0.0-development"
67
+ packageVersion: "9.4.0"
68
68
  };
69
69
  if (onRelatedArticlesShowMoreClick) {
70
70
  onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
@@ -21,7 +21,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
21
21
  var analyticsContextData = {
22
22
  componentName: 'ArticlesListItem',
23
23
  packageName: "@atlaskit/help",
24
- packageVersion: "0.0.0-development"
24
+ packageVersion: "9.4.0"
25
25
  };
26
26
  var WhatsNewArticle = exports.WhatsNewArticle = function WhatsNewArticle(_ref) {
27
27
  var formatMessage = _ref.intl.formatMessage,
@@ -18,7 +18,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
18
18
  var ANALYTICS_CONTEXT_DATA = {
19
19
  componentName: 'ArticlesListItem',
20
20
  packageName: "@atlaskit/help",
21
- packageVersion: "0.0.0-development"
21
+ packageVersion: "9.4.0"
22
22
  };
23
23
  var highlightText = function highlightText(text) {
24
24
  if (!text) {
@@ -79,16 +79,13 @@ var ArticlesListItem = exports.ArticlesListItem = /*#__PURE__*/(0, _react.forwar
79
79
  _react.default.createElement(_styled.ArticlesListItemLastModified, null, "Last modified: ", lastPublished)), href && /*#__PURE__*/_react.default.createElement(_styled.ArticlesListItemLinkIcon, null, /*#__PURE__*/_react.default.createElement(_linkExternal.default, {
80
80
  LEGACY_size: "small",
81
81
  label: "Opens in a new window",
82
- color: "var(--ds-icon-subtle, ".concat(colors.N90, ")"),
83
- LEGACY_secondaryColor: "var(--ds-icon-subtle, ".concat(colors.N90, ")")
82
+ color: "var(--ds-icon-subtle, ".concat(colors.N90, ")")
84
83
  }))), /*#__PURE__*/_react.default.createElement(_styled.ArticlesListItemDescription, null, highlightText(description)), isSourceVisible && /*#__PURE__*/_react.default.createElement(_styled.ArticlesListItemSource, null, source), isTrustFactorVisible && /*#__PURE__*/_react.default.createElement(_styled.ArticlesListItemTrustFactor, null, isNumViewsVisible &&
85
84
  /*#__PURE__*/
86
85
  // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
87
86
  _react.default.createElement(_styled.ArticlesListItemViewCount, null, trustFactors.numViews, " views"), isHelpfulCountVisible && /*#__PURE__*/_react.default.createElement(_styled.ArticlesListItemHelpfulCount, null, /*#__PURE__*/_react.default.createElement(_thumbsUp.default, {
88
- LEGACY_margin: "0 -0.25px 0 0",
89
87
  color: "currentColor",
90
- label: "Like",
91
- LEGACY_size: "small"
88
+ label: "Like"
92
89
  }), trustFactors.helpfulCount)));
93
90
  });
94
91
  var ArticlesListItemWithContext = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
@@ -56,7 +56,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
56
56
  data: {
57
57
  componentName: 'backButton',
58
58
  packageName: "@atlaskit/help",
59
- packageVersion: "0.0.0-development"
59
+ packageVersion: "9.4.0"
60
60
  }
61
61
  }, /*#__PURE__*/_react.default.createElement(BackButton, props));
62
62
  };
@@ -16,7 +16,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
16
16
  var analitycsContextData = {
17
17
  componentName: 'HelpContentButton',
18
18
  packageName: "@atlaskit/help",
19
- packageVersion: "0.0.0-development"
19
+ packageVersion: "9.4.0"
20
20
  };
21
21
  var HelpContentButton = function HelpContentButton(_ref) {
22
22
  var _ref$id = _ref.id,
@@ -28,7 +28,7 @@ var _previous = require("../../util/hooks/previous");
28
28
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
29
29
  /** @jsxFrag */
30
30
  var packageName = "@atlaskit/help";
31
- var packageVersion = "0.0.0-development";
31
+ var packageVersion = "9.4.0";
32
32
  var buttonStyles = null;
33
33
  var RelatedArticles = exports.RelatedArticles = function RelatedArticles(_ref) {
34
34
  var _ref$style = _ref.style,
@@ -14,7 +14,7 @@ var _analyticsNext = require("@atlaskit/analytics-next");
14
14
  var _textfield = _interopRequireDefault(require("@atlaskit/textfield"));
15
15
  var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
16
16
  var _spinner = _interopRequireDefault(require("@atlaskit/spinner"));
17
- var _search = _interopRequireDefault(require("@atlaskit/icon/core/migration/search"));
17
+ var _search = _interopRequireDefault(require("@atlaskit/icon/core/search"));
18
18
  var _cross = _interopRequireDefault(require("@atlaskit/icon/core/cross"));
19
19
  var _reactIntlNext = require("react-intl-next");
20
20
  var _Requests = require("../../../model/Requests");
@@ -27,7 +27,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
27
27
  var ANALYTICS_CONTEXT_DATA = {
28
28
  componentName: 'searchInput',
29
29
  packageName: "@atlaskit/help",
30
- packageVersion: "0.0.0-development"
30
+ packageVersion: "9.4.0"
31
31
  };
32
32
  var buttonStyles = null;
33
33
  var SearchInput = exports.SearchInput = function SearchInput(_ref) {
@@ -92,7 +92,6 @@ var SearchInput = exports.SearchInput = function SearchInput(_ref) {
92
92
  ref: inputRef,
93
93
  name: "help-search-input",
94
94
  elemBeforeInput: /*#__PURE__*/_react.default.createElement(_styled.SearchIconContainer, null, /*#__PURE__*/_react.default.createElement(_search.default, {
95
- LEGACY_margin: "0 2px",
96
95
  color: "currentColor",
97
96
  spacing: "spacious",
98
97
  label: ""
@@ -39,10 +39,8 @@ var SearchExternalSite = exports.SearchExternalSite = function SearchExternalSit
39
39
  }, /*#__PURE__*/_react.default.createElement(_button.default, {
40
40
  appearance: "link",
41
41
  iconAfter: /*#__PURE__*/_react.default.createElement(_linkExternal.default, {
42
- LEGACY_size: "small",
43
42
  label: "",
44
- color: "var(--ds-icon-subtle, ".concat(colors.N90, ")"),
45
- LEGACY_secondaryColor: "var(--ds-icon-subtle, ".concat(colors.N90, ")")
43
+ color: "var(--ds-icon-subtle, ".concat(colors.N90, ")")
46
44
  }),
47
45
  spacing: "compact",
48
46
  href: searchExternalUrl,
@@ -40,10 +40,8 @@ var SearchResultsEmpty = exports.SearchResultsEmpty = function SearchResultsEmpt
40
40
  }, /*#__PURE__*/_react.default.createElement(_button.default, {
41
41
  appearance: "link",
42
42
  iconAfter: /*#__PURE__*/_react.default.createElement(_linkExternal.default, {
43
- LEGACY_size: "small",
44
43
  label: "",
45
- color: "var(--ds-icon-subtle, ".concat(colors.N90, ")"),
46
- LEGACY_secondaryColor: "var(--ds-icon-subtle, ".concat(colors.N90, ")")
44
+ color: "var(--ds-icon-subtle, ".concat(colors.N90, ")")
47
45
  }),
48
46
  spacing: "compact",
49
47
  href: searchExternalUrl,
@@ -20,7 +20,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
20
20
  var ANALYTICS_CONTEXT_DATA = {
21
21
  componentName: 'WhatsNewButton',
22
22
  packageName: "@atlaskit/help",
23
- packageVersion: "0.0.0-development"
23
+ packageVersion: "9.4.0"
24
24
  };
25
25
  var WhatsNewButton = exports.WhatsNewButton = function WhatsNewButton(_ref) {
26
26
  var productName = _ref.productName,
@@ -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: "0.0.0-development"
18
+ packageVersion: "9.4.0"
19
19
  };
20
20
  var WhatsNewResultListItem = exports.WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
21
21
  var formatMessage = _ref.intl.formatMessage,
@@ -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: "0.0.0-development"
8
+ packageVersion: "9.4.0"
9
9
  };
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Flex } from '@atlaskit/primitives/compiled';
3
3
  import { IconTile } from '@atlaskit/icon';
4
- import { fg } from '@atlaskit/platform-feature-flags';
5
4
  export const IconWrapper = ({
6
5
  Icon,
7
6
  appearance
@@ -9,13 +8,7 @@ export const IconWrapper = ({
9
8
  return /*#__PURE__*/React.createElement(Flex, {
10
9
  alignItems: "center",
11
10
  justifyContent: "center"
12
- }, !fg('platform-visual-refresh-icons') ? /*#__PURE__*/React.createElement(Icon, {
13
- label: "",
14
- color: "var(--ds-icon-inverse, #FFFFFF)"
15
- }) :
16
- /*#__PURE__*/
17
- // @ts-ignore
18
- React.createElement(IconTile, {
11
+ }, /*#__PURE__*/React.createElement(IconTile, {
19
12
  icon: Icon,
20
13
  size: "16",
21
14
  label: "",
@@ -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: "0.0.0-development"
13
+ packageVersion: "9.4.0"
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: "0.0.0-development"
9
+ packageVersion: "9.4.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: "0.0.0-development"
9
+ packageVersion: "9.4.0"
10
10
  };
11
11
  export const ArticleWasHelpfulYesButton = ({
12
12
  isSelected = false,
@@ -26,7 +26,7 @@ const FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
26
26
  const ANALYTICS_CONTEXT_DATA = {
27
27
  componentName: 'ArticleWasHelpfulForm',
28
28
  packageName: "@atlaskit/help",
29
- packageVersion: "0.0.0-development"
29
+ packageVersion: "9.4.0"
30
30
  };
31
31
  const buttonStyles = null;
32
32
  export const ArticleWasHelpfulForm = ({
@@ -60,7 +60,7 @@ export const HelpArticle = ({
60
60
  analyticsEvent.payload.attributes = {
61
61
  componentName: 'Article',
62
62
  packageName: "@atlaskit/help",
63
- packageVersion: "0.0.0-development"
63
+ packageVersion: "9.4.0"
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: "0.0.0-development"
16
+ packageVersion: "9.4.0"
17
17
  };
18
18
  export const WhatsNewArticle = ({
19
19
  intl: {
@@ -9,7 +9,7 @@ import { ArticlesListItemWrapper, ArticlesListItemContainer, ArticlesListItemTit
9
9
  const ANALYTICS_CONTEXT_DATA = {
10
10
  componentName: 'ArticlesListItem',
11
11
  packageName: "@atlaskit/help",
12
- packageVersion: "0.0.0-development"
12
+ packageVersion: "9.4.0"
13
13
  };
14
14
  const highlightText = text => {
15
15
  if (!text) {
@@ -71,16 +71,13 @@ export const ArticlesListItem = /*#__PURE__*/forwardRef(({
71
71
  React.createElement(ArticlesListItemLastModified, null, "Last modified: ", lastPublished)), href && /*#__PURE__*/React.createElement(ArticlesListItemLinkIcon, null, /*#__PURE__*/React.createElement(ShortcutIcon, {
72
72
  LEGACY_size: "small",
73
73
  label: "Opens in a new window",
74
- color: `var(--ds-icon-subtle, ${colors.N90})`,
75
- LEGACY_secondaryColor: `var(--ds-icon-subtle, ${colors.N90})`
74
+ color: `var(--ds-icon-subtle, ${colors.N90})`
76
75
  }))), /*#__PURE__*/React.createElement(ArticlesListItemDescription, null, highlightText(description)), isSourceVisible && /*#__PURE__*/React.createElement(ArticlesListItemSource, null, source), isTrustFactorVisible && /*#__PURE__*/React.createElement(ArticlesListItemTrustFactor, null, isNumViewsVisible &&
77
76
  /*#__PURE__*/
78
77
  // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
79
78
  React.createElement(ArticlesListItemViewCount, null, trustFactors.numViews, " views"), isHelpfulCountVisible && /*#__PURE__*/React.createElement(ArticlesListItemHelpfulCount, null, /*#__PURE__*/React.createElement(LikeIcon, {
80
- LEGACY_margin: "0 -0.25px 0 0",
81
79
  color: "currentColor",
82
- label: "Like",
83
- LEGACY_size: "small"
80
+ label: "Like"
84
81
  }), trustFactors.helpfulCount)));
85
82
  });
86
83
  const ArticlesListItemWithContext = /*#__PURE__*/forwardRef((props, ref) => {
@@ -50,7 +50,7 @@ const BackButtonWithContext = props => {
50
50
  data: {
51
51
  componentName: 'backButton',
52
52
  packageName: "@atlaskit/help",
53
- packageVersion: "0.0.0-development"
53
+ packageVersion: "9.4.0"
54
54
  }
55
55
  }, /*#__PURE__*/React.createElement(BackButton, props));
56
56
  };
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
7
7
  const analitycsContextData = {
8
8
  componentName: 'HelpContentButton',
9
9
  packageName: "@atlaskit/help",
10
- packageVersion: "0.0.0-development"
10
+ packageVersion: "9.4.0"
11
11
  };
12
12
  const HelpContentButton = ({
13
13
  id = '',
@@ -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 = "0.0.0-development";
19
+ const packageVersion = "9.4.0";
20
20
  const buttonStyles = null;
21
21
  export const RelatedArticles = ({
22
22
  style = 'primary',
@@ -6,7 +6,7 @@ import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
6
6
  import Textfield from '@atlaskit/textfield';
7
7
  import Button from '@atlaskit/button/custom-theme-button';
8
8
  import Spinner from '@atlaskit/spinner';
9
- import SearchIcon from '@atlaskit/icon/core/migration/search';
9
+ import SearchIcon from '@atlaskit/icon/core/search';
10
10
  import EditorCloseIcon from '@atlaskit/icon/core/cross';
11
11
  import { injectIntl } from 'react-intl-next';
12
12
  import { REQUEST_STATE } from '../../../model/Requests';
@@ -18,7 +18,7 @@ import { useNavigationContext } from '../../contexts/navigationContext';
18
18
  const ANALYTICS_CONTEXT_DATA = {
19
19
  componentName: 'searchInput',
20
20
  packageName: "@atlaskit/help",
21
- packageVersion: "0.0.0-development"
21
+ packageVersion: "9.4.0"
22
22
  };
23
23
  const buttonStyles = null;
24
24
  export const SearchInput = ({
@@ -88,7 +88,6 @@ export const SearchInput = ({
88
88
  ref: inputRef,
89
89
  name: "help-search-input",
90
90
  elemBeforeInput: /*#__PURE__*/React.createElement(SearchIconContainer, null, /*#__PURE__*/React.createElement(SearchIcon, {
91
- LEGACY_margin: "0 2px",
92
91
  color: "currentColor",
93
92
  spacing: "spacious",
94
93
  label: ""
@@ -34,10 +34,8 @@ export const SearchExternalSite = ({
34
34
  }, /*#__PURE__*/React.createElement(Button, {
35
35
  appearance: "link",
36
36
  iconAfter: /*#__PURE__*/React.createElement(ShortcutIcon, {
37
- LEGACY_size: "small",
38
37
  label: "",
39
- color: `var(--ds-icon-subtle, ${colors.N90})`,
40
- LEGACY_secondaryColor: `var(--ds-icon-subtle, ${colors.N90})`
38
+ color: `var(--ds-icon-subtle, ${colors.N90})`
41
39
  }),
42
40
  spacing: "compact",
43
41
  href: searchExternalUrl,
@@ -35,10 +35,8 @@ export const SearchResultsEmpty = ({
35
35
  }, /*#__PURE__*/React.createElement(Button, {
36
36
  appearance: "link",
37
37
  iconAfter: /*#__PURE__*/React.createElement(ShortcutIcon, {
38
- LEGACY_size: "small",
39
38
  label: "",
40
- color: `var(--ds-icon-subtle, ${colors.N90})`,
41
- LEGACY_secondaryColor: `var(--ds-icon-subtle, ${colors.N90})`
39
+ color: `var(--ds-icon-subtle, ${colors.N90})`
42
40
  }),
43
41
  spacing: "compact",
44
42
  href: searchExternalUrl,
@@ -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: "0.0.0-development"
14
+ packageVersion: "9.4.0"
15
15
  };
16
16
  export const WhatsNewButton = ({
17
17
  productName,
@@ -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: "0.0.0-development"
11
+ packageVersion: "9.4.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: "0.0.0-development"
8
+ packageVersion: "9.4.0"
9
9
  };
@@ -1,20 +1,13 @@
1
1
  import React from 'react';
2
2
  import { Flex } from '@atlaskit/primitives/compiled';
3
3
  import { IconTile } from '@atlaskit/icon';
4
- import { fg } from '@atlaskit/platform-feature-flags';
5
4
  export var IconWrapper = function IconWrapper(_ref) {
6
5
  var Icon = _ref.Icon,
7
6
  appearance = _ref.appearance;
8
7
  return /*#__PURE__*/React.createElement(Flex, {
9
8
  alignItems: "center",
10
9
  justifyContent: "center"
11
- }, !fg('platform-visual-refresh-icons') ? /*#__PURE__*/React.createElement(Icon, {
12
- label: "",
13
- color: "var(--ds-icon-inverse, #FFFFFF)"
14
- }) :
15
- /*#__PURE__*/
16
- // @ts-ignore
17
- React.createElement(IconTile, {
10
+ }, /*#__PURE__*/React.createElement(IconTile, {
18
11
  icon: Icon,
19
12
  size: "16",
20
13
  label: "",
@@ -10,7 +10,7 @@ import { LoadingErrorMessage, LoadingErrorButtonContainer, LoadingErrorHeading }
10
10
  var ANALYTICS_CONTEXT_DATA = {
11
11
  componentName: 'ArticleLoadingFail',
12
12
  packageName: "@atlaskit/help",
13
- packageVersion: "0.0.0-development"
13
+ packageVersion: "9.4.0"
14
14
  };
15
15
  export var ArticleLoadingFail = function ArticleLoadingFail(_ref) {
16
16
  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: "0.0.0-development"
9
+ packageVersion: "9.4.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: "0.0.0-development"
9
+ packageVersion: "9.4.0"
10
10
  };
11
11
  export var ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
12
12
  var _ref$isSelected = _ref.isSelected,
@@ -27,7 +27,7 @@ var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
27
27
  var ANALYTICS_CONTEXT_DATA = {
28
28
  componentName: 'ArticleWasHelpfulForm',
29
29
  packageName: "@atlaskit/help",
30
- packageVersion: "0.0.0-development"
30
+ packageVersion: "9.4.0"
31
31
  };
32
32
  var buttonStyles = null;
33
33
  export var ArticleWasHelpfulForm = function ArticleWasHelpfulForm(_ref) {
@@ -56,7 +56,7 @@ export var HelpArticle = function HelpArticle(_ref) {
56
56
  analyticsEvent.payload.attributes = {
57
57
  componentName: 'Article',
58
58
  packageName: "@atlaskit/help",
59
- packageVersion: "0.0.0-development"
59
+ packageVersion: "9.4.0"
60
60
  };
61
61
  if (onRelatedArticlesShowMoreClick) {
62
62
  onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
@@ -13,7 +13,7 @@ import { WhatsNewTypeTitle, WhatsNewTitleText, WhatsNewIconContainer, RelatedLin
13
13
  var analyticsContextData = {
14
14
  componentName: 'ArticlesListItem',
15
15
  packageName: "@atlaskit/help",
16
- packageVersion: "0.0.0-development"
16
+ packageVersion: "9.4.0"
17
17
  };
18
18
  export var WhatsNewArticle = function WhatsNewArticle(_ref) {
19
19
  var formatMessage = _ref.intl.formatMessage,
@@ -9,7 +9,7 @@ import { ArticlesListItemWrapper, ArticlesListItemContainer, ArticlesListItemTit
9
9
  var ANALYTICS_CONTEXT_DATA = {
10
10
  componentName: 'ArticlesListItem',
11
11
  packageName: "@atlaskit/help",
12
- packageVersion: "0.0.0-development"
12
+ packageVersion: "9.4.0"
13
13
  };
14
14
  var highlightText = function highlightText(text) {
15
15
  if (!text) {
@@ -70,16 +70,13 @@ export var ArticlesListItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
70
70
  React.createElement(ArticlesListItemLastModified, null, "Last modified: ", lastPublished)), href && /*#__PURE__*/React.createElement(ArticlesListItemLinkIcon, null, /*#__PURE__*/React.createElement(ShortcutIcon, {
71
71
  LEGACY_size: "small",
72
72
  label: "Opens in a new window",
73
- color: "var(--ds-icon-subtle, ".concat(colors.N90, ")"),
74
- LEGACY_secondaryColor: "var(--ds-icon-subtle, ".concat(colors.N90, ")")
73
+ color: "var(--ds-icon-subtle, ".concat(colors.N90, ")")
75
74
  }))), /*#__PURE__*/React.createElement(ArticlesListItemDescription, null, highlightText(description)), isSourceVisible && /*#__PURE__*/React.createElement(ArticlesListItemSource, null, source), isTrustFactorVisible && /*#__PURE__*/React.createElement(ArticlesListItemTrustFactor, null, isNumViewsVisible &&
76
75
  /*#__PURE__*/
77
76
  // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
78
77
  React.createElement(ArticlesListItemViewCount, null, trustFactors.numViews, " views"), isHelpfulCountVisible && /*#__PURE__*/React.createElement(ArticlesListItemHelpfulCount, null, /*#__PURE__*/React.createElement(LikeIcon, {
79
- LEGACY_margin: "0 -0.25px 0 0",
80
78
  color: "currentColor",
81
- label: "Like",
82
- LEGACY_size: "small"
79
+ label: "Like"
83
80
  }), trustFactors.helpfulCount)));
84
81
  });
85
82
  var ArticlesListItemWithContext = /*#__PURE__*/forwardRef(function (props, ref) {
@@ -49,7 +49,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
49
49
  data: {
50
50
  componentName: 'backButton',
51
51
  packageName: "@atlaskit/help",
52
- packageVersion: "0.0.0-development"
52
+ packageVersion: "9.4.0"
53
53
  }
54
54
  }, /*#__PURE__*/React.createElement(BackButton, props));
55
55
  };
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
7
7
  var analitycsContextData = {
8
8
  componentName: 'HelpContentButton',
9
9
  packageName: "@atlaskit/help",
10
- packageVersion: "0.0.0-development"
10
+ packageVersion: "9.4.0"
11
11
  };
12
12
  var HelpContentButton = function HelpContentButton(_ref) {
13
13
  var _ref$id = _ref.id,
@@ -20,7 +20,7 @@ import { RelatedArticlesTitle } from './styled';
20
20
  import useCancellablePromise from '../../util/hooks/cancellablePromise';
21
21
  import { usePrevious } from '../../util/hooks/previous';
22
22
  var packageName = "@atlaskit/help";
23
- var packageVersion = "0.0.0-development";
23
+ var packageVersion = "9.4.0";
24
24
  var buttonStyles = null;
25
25
  export var RelatedArticles = function RelatedArticles(_ref) {
26
26
  var _ref$style = _ref.style,
@@ -6,7 +6,7 @@ import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
6
6
  import Textfield from '@atlaskit/textfield';
7
7
  import Button from '@atlaskit/button/custom-theme-button';
8
8
  import Spinner from '@atlaskit/spinner';
9
- import SearchIcon from '@atlaskit/icon/core/migration/search';
9
+ import SearchIcon from '@atlaskit/icon/core/search';
10
10
  import EditorCloseIcon from '@atlaskit/icon/core/cross';
11
11
  import { injectIntl } from 'react-intl-next';
12
12
  import { REQUEST_STATE } from '../../../model/Requests';
@@ -18,7 +18,7 @@ import { useNavigationContext } from '../../contexts/navigationContext';
18
18
  var ANALYTICS_CONTEXT_DATA = {
19
19
  componentName: 'searchInput',
20
20
  packageName: "@atlaskit/help",
21
- packageVersion: "0.0.0-development"
21
+ packageVersion: "9.4.0"
22
22
  };
23
23
  var buttonStyles = null;
24
24
  export var SearchInput = function SearchInput(_ref) {
@@ -83,7 +83,6 @@ export var SearchInput = function SearchInput(_ref) {
83
83
  ref: inputRef,
84
84
  name: "help-search-input",
85
85
  elemBeforeInput: /*#__PURE__*/React.createElement(SearchIconContainer, null, /*#__PURE__*/React.createElement(SearchIcon, {
86
- LEGACY_margin: "0 2px",
87
86
  color: "currentColor",
88
87
  spacing: "spacious",
89
88
  label: ""
@@ -30,10 +30,8 @@ export var SearchExternalSite = function SearchExternalSite(_ref) {
30
30
  }, /*#__PURE__*/React.createElement(Button, {
31
31
  appearance: "link",
32
32
  iconAfter: /*#__PURE__*/React.createElement(ShortcutIcon, {
33
- LEGACY_size: "small",
34
33
  label: "",
35
- color: "var(--ds-icon-subtle, ".concat(colors.N90, ")"),
36
- LEGACY_secondaryColor: "var(--ds-icon-subtle, ".concat(colors.N90, ")")
34
+ color: "var(--ds-icon-subtle, ".concat(colors.N90, ")")
37
35
  }),
38
36
  spacing: "compact",
39
37
  href: searchExternalUrl,
@@ -31,10 +31,8 @@ export var SearchResultsEmpty = function SearchResultsEmpty(_ref) {
31
31
  }, /*#__PURE__*/React.createElement(Button, {
32
32
  appearance: "link",
33
33
  iconAfter: /*#__PURE__*/React.createElement(ShortcutIcon, {
34
- LEGACY_size: "small",
35
34
  label: "",
36
- color: "var(--ds-icon-subtle, ".concat(colors.N90, ")"),
37
- LEGACY_secondaryColor: "var(--ds-icon-subtle, ".concat(colors.N90, ")")
35
+ color: "var(--ds-icon-subtle, ".concat(colors.N90, ")")
38
36
  }),
39
37
  spacing: "compact",
40
38
  href: searchExternalUrl,
@@ -11,7 +11,7 @@ import { ARTICLE_TYPE } from '../../../model/Help';
11
11
  var ANALYTICS_CONTEXT_DATA = {
12
12
  componentName: 'WhatsNewButton',
13
13
  packageName: "@atlaskit/help",
14
- packageVersion: "0.0.0-development"
14
+ packageVersion: "9.4.0"
15
15
  };
16
16
  export var WhatsNewButton = function WhatsNewButton(_ref) {
17
17
  var productName = _ref.productName,
@@ -8,7 +8,7 @@ import { WhatsNewResultListItemWrapper, WhatsNewResultListItemTitleContainer, Wh
8
8
  var ANALYTICS_CONTEXT_DATA = {
9
9
  componentName: 'ArticlesListItem',
10
10
  packageName: "@atlaskit/help",
11
- packageVersion: "0.0.0-development"
11
+ packageVersion: "9.4.0"
12
12
  };
13
13
  export var WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
14
14
  var formatMessage = _ref.intl.formatMessage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/help",
3
- "version": "9.2.3",
3
+ "version": "9.4.0",
4
4
  "description": "A cross-product help component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -33,25 +33,25 @@
33
33
  "dependencies": {
34
34
  "@atlaskit/analytics-next": "^11.1.0",
35
35
  "@atlaskit/button": "^23.9.0",
36
- "@atlaskit/checkbox": "^17.2.0",
37
- "@atlaskit/form": "^15.2.0",
36
+ "@atlaskit/checkbox": "^17.3.0",
37
+ "@atlaskit/form": "^15.3.0",
38
38
  "@atlaskit/heading": "^5.2.0",
39
39
  "@atlaskit/help-article": "^6.0.0",
40
40
  "@atlaskit/help-layout": "^6.3.0",
41
- "@atlaskit/icon": "^29.3.0",
41
+ "@atlaskit/icon": "^29.4.0",
42
42
  "@atlaskit/notification-indicator": "^10.0.0",
43
43
  "@atlaskit/notification-log-client": "^6.4.0",
44
44
  "@atlaskit/platform-feature-flags": "^1.1.0",
45
45
  "@atlaskit/primitives": "^17.0.0",
46
- "@atlaskit/radio": "^8.3.0",
47
- "@atlaskit/section-message": "^8.11.0",
46
+ "@atlaskit/radio": "^8.4.0",
47
+ "@atlaskit/section-message": "^8.12.0",
48
48
  "@atlaskit/select": "^21.6.0",
49
49
  "@atlaskit/spinner": "^19.0.0",
50
50
  "@atlaskit/textarea": "^8.2.0",
51
51
  "@atlaskit/textfield": "^8.2.0",
52
52
  "@atlaskit/theme": "^21.0.0",
53
- "@atlaskit/tokens": "^9.0.0",
54
- "@atlaskit/tooltip": "^20.11.0",
53
+ "@atlaskit/tokens": "^9.1.0",
54
+ "@atlaskit/tooltip": "^20.12.0",
55
55
  "@babel/runtime": "^7.0.0",
56
56
  "@compiled/react": "^0.18.6",
57
57
  "date-fns": "^2.17.0",