@atlaskit/help 7.11.6 → 7.11.8

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 (55) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/analytics.js +1 -1
  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 +1 -1
  7. package/dist/cjs/components/Article/HelpArticle/index.js +1 -1
  8. package/dist/cjs/components/Article/WhatsNewArticle/index.js +1 -1
  9. package/dist/cjs/components/Article/WhatsNewArticle/styled.js +2 -2
  10. package/dist/cjs/components/ArticlesList/ArticlesListItem/index.js +1 -1
  11. package/dist/cjs/components/Help.js +5 -7
  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/RelatedArticles/styled.js +1 -1
  15. package/dist/cjs/components/Search/SearchInput/index.js +1 -1
  16. package/dist/cjs/components/Search/SearchResults/styled.js +1 -1
  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/cjs/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +1 -1
  20. package/dist/es2019/analytics.js +1 -1
  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/Article/WhatsNewArticle/styled.js +2 -2
  28. package/dist/es2019/components/ArticlesList/ArticlesListItem/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/RelatedArticles/styled.js +1 -1
  32. package/dist/es2019/components/Search/SearchInput/index.js +1 -1
  33. package/dist/es2019/components/Search/SearchResults/styled.js +1 -1
  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/es2019/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +1 -1
  37. package/dist/esm/analytics.js +1 -1
  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/Article/WhatsNewArticle/styled.js +2 -2
  45. package/dist/esm/components/ArticlesList/ArticlesListItem/index.js +1 -1
  46. package/dist/esm/components/Help.js +5 -7
  47. package/dist/esm/components/HelpContentButton/index.js +1 -1
  48. package/dist/esm/components/RelatedArticles/index.js +1 -1
  49. package/dist/esm/components/RelatedArticles/styled.js +1 -1
  50. package/dist/esm/components/Search/SearchInput/index.js +1 -1
  51. package/dist/esm/components/Search/SearchResults/styled.js +1 -1
  52. package/dist/esm/components/WhatsNew/WhatsNewButton/index.js +1 -1
  53. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/WhatsNewResultItem/index.js +1 -1
  54. package/dist/esm/components/WhatsNew/WhatsNewResults/WhatsNewResultsList/styled.js +1 -1
  55. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/help
2
2
 
3
+ ## 7.11.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [#178053](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/178053)
8
+ [`cb318c8c28c26`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cb318c8c28c26) -
9
+ Internal changes to typography.
10
+
11
+ ## 7.11.7
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 7.11.6
4
18
 
5
19
  ### Patch Changes
@@ -14,5 +14,5 @@ var createAndFire = exports.createAndFire = x.createAndFireEvent('atlaskit');
14
14
  var defaultAnalyticsAttributes = exports.defaultAnalyticsAttributes = {
15
15
  componentName: 'help',
16
16
  packageName: "@atlaskit/help",
17
- packageVersion: "7.11.6"
17
+ packageVersion: "7.11.8"
18
18
  };
@@ -15,7 +15,7 @@ var _styled = require("./styled");
15
15
  var ANALYTICS_CONTEXT_DATA = {
16
16
  componentName: 'ArticleLoadingFail',
17
17
  packageName: "@atlaskit/help",
18
- packageVersion: "7.11.6"
18
+ packageVersion: "7.11.8"
19
19
  };
20
20
  var ArticleLoadingFail = exports.ArticleLoadingFail = function ArticleLoadingFail(_ref) {
21
21
  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: "7.11.6"
16
+ packageVersion: "7.11.8"
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: "7.11.6"
16
+ packageVersion: "7.11.8"
17
17
  };
18
18
  var ArticleWasHelpfulYesButton = exports.ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
19
19
  var _ref$isSelected = _ref.isSelected,
@@ -42,7 +42,7 @@ var FEEDBACK_REASON_TEXT_MAX_LENGTH = '16000';
42
42
  var ANALYTICS_CONTEXT_DATA = {
43
43
  componentName: 'ArticleWasHelpfulForm',
44
44
  packageName: "@atlaskit/help",
45
- packageVersion: "7.11.6"
45
+ packageVersion: "7.11.8"
46
46
  };
47
47
  var buttonStyles = (0, _react2.css)({
48
48
  padding: '0',
@@ -65,7 +65,7 @@ var HelpArticle = exports.HelpArticle = function HelpArticle(_ref) {
65
65
  analyticsEvent.payload.attributes = {
66
66
  componentName: 'Article',
67
67
  packageName: "@atlaskit/help",
68
- packageVersion: "7.11.6"
68
+ packageVersion: "7.11.8"
69
69
  };
70
70
  if (onRelatedArticlesShowMoreClick) {
71
71
  onRelatedArticlesShowMoreClick(event, analyticsEvent, isCollapsed);
@@ -22,7 +22,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
22
22
  var analyticsContextData = {
23
23
  componentName: 'ArticlesListItem',
24
24
  packageName: "@atlaskit/help",
25
- packageVersion: "7.11.6"
25
+ packageVersion: "7.11.8"
26
26
  };
27
27
  var WhatsNewArticle = exports.WhatsNewArticle = function WhatsNewArticle(_ref) {
28
28
  var formatMessage = _ref.intl.formatMessage,
@@ -43,7 +43,7 @@ var WhatsNewTitleText = exports.WhatsNewTitleText = _styled.default.span({
43
43
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
44
44
  color: "var(--ds-text, ".concat(colors.N800, ")"),
45
45
  fontSize: "".concat((0, _constants.fontSize)(), "px"),
46
- fontWeight: 600,
46
+ fontWeight: "var(--ds-font-weight-semibold, 600)",
47
47
  whiteSpace: 'normal',
48
48
  overflowX: 'hidden',
49
49
  paddingBottom: "var(--ds-space-100, 8px)",
@@ -56,7 +56,7 @@ var WhatsNewRelatedLinksTitleText = exports.WhatsNewRelatedLinksTitleText = _sty
56
56
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
57
57
  color: "var(--ds-text, ".concat(colors.N800, ")"),
58
58
  fontSize: "".concat((0, _constants.fontSizeSmall)(), "px"),
59
- fontWeight: 600,
59
+ fontWeight: "var(--ds-font-weight-semibold, 600)",
60
60
  whiteSpace: 'normal',
61
61
  overflowX: 'hidden',
62
62
  paddingBottom: "var(--ds-space-100, 8px)",
@@ -18,7 +18,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
18
18
  var ANALYTICS_CONTEXT_DATA = {
19
19
  componentName: 'ArticlesListItem',
20
20
  packageName: "@atlaskit/help",
21
- packageVersion: "7.11.6"
21
+ packageVersion: "7.11.8"
22
22
  };
23
23
  var highlightText = function highlightText(text) {
24
24
  if (!text) {
@@ -9,9 +9,9 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
9
9
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
10
10
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
11
11
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
12
- var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
13
12
  var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
14
13
  var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
14
+ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
15
15
  var _react = _interopRequireDefault(require("react"));
16
16
  var _analyticsNext = require("@atlaskit/analytics-next");
17
17
  var _reactIntlNext = require("react-intl-next");
@@ -25,7 +25,7 @@ var _searchContext = require("./contexts/searchContext");
25
25
  var _whatsNewArticleContext = require("./contexts/whatsNewArticleContext");
26
26
  var _HelpContent = _interopRequireDefault(require("./HelpContent"));
27
27
  var _excluded = ["children", "footer"];
28
- function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = (0, _getPrototypeOf2.default)(t); if (r) { var s = (0, _getPrototypeOf2.default)(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return (0, _possibleConstructorReturn2.default)(this, e); }; }
28
+ function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
29
29
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
30
30
  var LocaleIntlProvider = function LocaleIntlProvider(_ref) {
31
31
  var _ref$locale = _ref.locale,
@@ -37,13 +37,12 @@ var LocaleIntlProvider = function LocaleIntlProvider(_ref) {
37
37
  }, children);
38
38
  };
39
39
  var Help = exports.Help = /*#__PURE__*/function (_React$PureComponent) {
40
- (0, _inherits2.default)(Help, _React$PureComponent);
41
- var _super = _createSuper(Help);
42
40
  function Help() {
43
41
  (0, _classCallCheck2.default)(this, Help);
44
- return _super.apply(this, arguments);
42
+ return _callSuper(this, Help, arguments);
45
43
  }
46
- (0, _createClass2.default)(Help, [{
44
+ (0, _inherits2.default)(Help, _React$PureComponent);
45
+ return (0, _createClass2.default)(Help, [{
47
46
  key: "render",
48
47
  value: function render() {
49
48
  var _this$props = this.props,
@@ -57,6 +56,5 @@ var Help = exports.Help = /*#__PURE__*/function (_React$PureComponent) {
57
56
  })))))))));
58
57
  }
59
58
  }]);
60
- return Help;
61
59
  }(_react.default.PureComponent);
62
60
  var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)(_analytics.defaultAnalyticsAttributes)((0, _analyticsNext.withAnalyticsEvents)()(Help));
@@ -17,7 +17,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
17
17
  var analitycsContextData = {
18
18
  componentName: 'HelpContentButton',
19
19
  packageName: "@atlaskit/help",
20
- packageVersion: "7.11.6"
20
+ packageVersion: "7.11.8"
21
21
  };
22
22
  var HelpContentButton = function HelpContentButton(_ref) {
23
23
  var _ref$id = _ref.id,
@@ -33,7 +33,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
33
33
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
34
34
 
35
35
  var packageName = "@atlaskit/help";
36
- var packageVersion = "7.11.6";
36
+ var packageVersion = "7.11.8";
37
37
  var buttonStyles = (0, _react2.css)({
38
38
  padding: '0',
39
39
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
@@ -39,7 +39,7 @@ var truncate = exports.truncate = function truncate() {
39
39
  var RelatedArticlesTitle = exports.RelatedArticlesTitle = _styled.default.div(baseHeading(16, 20), {
40
40
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
41
41
  color: "var(--ds-text, ".concat(colors.N800, ")"),
42
- fontWeight: 600,
42
+ fontWeight: "var(--ds-font-weight-semibold, 600)",
43
43
  letterSpacing: '-0.006em',
44
44
  padding: "var(--ds-space-200, 16px)".concat(" 0")
45
45
  });
@@ -32,7 +32,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
32
32
  var ANALYTICS_CONTEXT_DATA = {
33
33
  componentName: 'searchInput',
34
34
  packageName: "@atlaskit/help",
35
- packageVersion: "7.11.6"
35
+ packageVersion: "7.11.8"
36
36
  };
37
37
  var buttonStyles = (0, _react2.css)({
38
38
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
@@ -61,7 +61,7 @@ var SearchResultEmptyMessageHeaderText = exports.SearchResultEmptyMessageHeaderT
61
61
  color: "var(--ds-text, ".concat(colors.N500, ")"),
62
62
  fontSize: '0.875rem',
63
63
  fontStyle: 'normal',
64
- fontWeight: 'bold'
64
+ fontWeight: "var(--ds-font-weight-bold, 700)"
65
65
  });
66
66
 
67
67
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
@@ -21,7 +21,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
21
21
  var ANALYTICS_CONTEXT_DATA = {
22
22
  componentName: 'WhatsNewButton',
23
23
  packageName: "@atlaskit/help",
24
- packageVersion: "7.11.6"
24
+ packageVersion: "7.11.8"
25
25
  };
26
26
  var WhatsNewButton = exports.WhatsNewButton = function WhatsNewButton(_ref) {
27
27
  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: "7.11.6"
18
+ packageVersion: "7.11.8"
19
19
  };
20
20
  var WhatsNewResultListItem = exports.WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
21
21
  var formatMessage = _ref.intl.formatMessage,
@@ -47,7 +47,7 @@ var WhatsNewResultsListGroupTitle = exports.WhatsNewResultsListGroupTitle = _sty
47
47
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
48
48
  color: "var(--ds-text-subtlest, ".concat(colors.N200, ")"),
49
49
  fontSize: "".concat((0, _constants.fontSizeSmall)(), "px"),
50
- fontWeight: 'bold',
50
+ fontWeight: "var(--ds-font-weight-bold, 700)",
51
51
  padding: "0 ".concat("var(--ds-space-100, 8px)", " ", "var(--ds-space-100, 8px)", " ", "var(--ds-space-100, 8px)"),
52
52
  textTransform: 'uppercase'
53
53
  });
@@ -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.11.6"
8
+ packageVersion: "7.11.8"
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.11.6"
11
+ packageVersion: "7.11.8"
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.11.6"
9
+ packageVersion: "7.11.8"
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.11.6"
9
+ packageVersion: "7.11.8"
10
10
  };
11
11
  export const ArticleWasHelpfulYesButton = ({
12
12
  isSelected = false,
@@ -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.11.6"
32
+ packageVersion: "7.11.8"
33
33
  };
34
34
  const buttonStyles = css({
35
35
  padding: '0',
@@ -60,7 +60,7 @@ export const HelpArticle = ({
60
60
  analyticsEvent.payload.attributes = {
61
61
  componentName: 'Article',
62
62
  packageName: "@atlaskit/help",
63
- packageVersion: "7.11.6"
63
+ packageVersion: "7.11.8"
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: "7.11.6"
16
+ packageVersion: "7.11.8"
17
17
  };
18
18
  export const WhatsNewArticle = ({
19
19
  intl: {
@@ -32,7 +32,7 @@ export const WhatsNewTitleText = styled.span({
32
32
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
33
33
  color: `var(--ds-text, ${colors.N800})`,
34
34
  fontSize: `${fontSize()}px`,
35
- fontWeight: 600,
35
+ fontWeight: "var(--ds-font-weight-semibold, 600)",
36
36
  whiteSpace: 'normal',
37
37
  overflowX: 'hidden',
38
38
  paddingBottom: "var(--ds-space-100, 8px)",
@@ -45,7 +45,7 @@ export const WhatsNewRelatedLinksTitleText = styled.span({
45
45
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
46
46
  color: `var(--ds-text, ${colors.N800})`,
47
47
  fontSize: `${fontSizeSmall()}px`,
48
- fontWeight: 600,
48
+ fontWeight: "var(--ds-font-weight-semibold, 600)",
49
49
  whiteSpace: 'normal',
50
50
  overflowX: 'hidden',
51
51
  paddingBottom: "var(--ds-space-100, 8px)",
@@ -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: "7.11.6"
11
+ packageVersion: "7.11.8"
12
12
  };
13
13
  const highlightText = text => {
14
14
  if (!text) {
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
7
7
  const analitycsContextData = {
8
8
  componentName: 'HelpContentButton',
9
9
  packageName: "@atlaskit/help",
10
- packageVersion: "7.11.6"
10
+ packageVersion: "7.11.8"
11
11
  };
12
12
  const HelpContentButton = ({
13
13
  id = '',
@@ -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.11.6";
23
+ const packageVersion = "7.11.8";
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
@@ -26,7 +26,7 @@ export const truncate = (width = '100%') => css({
26
26
  export const RelatedArticlesTitle = styled.div(baseHeading(16, 20), {
27
27
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
28
28
  color: `var(--ds-text, ${colors.N800})`,
29
- fontWeight: 600,
29
+ fontWeight: "var(--ds-font-weight-semibold, 600)",
30
30
  letterSpacing: '-0.006em',
31
31
  padding: `${"var(--ds-space-200, 16px)"} 0`
32
32
  });
@@ -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.11.6"
24
+ packageVersion: "7.11.8"
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
@@ -50,7 +50,7 @@ export const SearchResultEmptyMessageHeaderText = styled.h2({
50
50
  color: `var(--ds-text, ${colors.N500})`,
51
51
  fontSize: '0.875rem',
52
52
  fontStyle: 'normal',
53
- fontWeight: 'bold'
53
+ fontWeight: "var(--ds-font-weight-bold, 700)"
54
54
  });
55
55
 
56
56
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
@@ -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.11.6"
14
+ packageVersion: "7.11.8"
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: "7.11.6"
11
+ packageVersion: "7.11.8"
12
12
  };
13
13
  export const WhatsNewResultListItem = ({
14
14
  intl: {
@@ -32,7 +32,7 @@ export const WhatsNewResultsListGroupTitle = styled.div({
32
32
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
33
33
  color: `var(--ds-text-subtlest, ${colors.N200})`,
34
34
  fontSize: `${fontSizeSmall()}px`,
35
- fontWeight: 'bold',
35
+ fontWeight: "var(--ds-font-weight-bold, 700)",
36
36
  padding: `0 ${"var(--ds-space-100, 8px)"} ${"var(--ds-space-100, 8px)"} ${"var(--ds-space-100, 8px)"}`,
37
37
  textTransform: 'uppercase'
38
38
  });
@@ -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.11.6"
8
+ packageVersion: "7.11.8"
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.11.6"
11
+ packageVersion: "7.11.8"
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.11.6"
9
+ packageVersion: "7.11.8"
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.11.6"
9
+ packageVersion: "7.11.8"
10
10
  };
11
11
  export var ArticleWasHelpfulYesButton = function ArticleWasHelpfulYesButton(_ref) {
12
12
  var _ref$isSelected = _ref.isSelected,
@@ -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.11.6"
33
+ packageVersion: "7.11.8"
34
34
  };
35
35
  var buttonStyles = css({
36
36
  padding: '0',
@@ -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: "7.11.6"
59
+ packageVersion: "7.11.8"
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: "7.11.6"
16
+ packageVersion: "7.11.8"
17
17
  };
18
18
  export var WhatsNewArticle = function WhatsNewArticle(_ref) {
19
19
  var formatMessage = _ref.intl.formatMessage,
@@ -32,7 +32,7 @@ export var WhatsNewTitleText = styled.span({
32
32
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
33
33
  color: "var(--ds-text, ".concat(colors.N800, ")"),
34
34
  fontSize: "".concat(fontSize(), "px"),
35
- fontWeight: 600,
35
+ fontWeight: "var(--ds-font-weight-semibold, 600)",
36
36
  whiteSpace: 'normal',
37
37
  overflowX: 'hidden',
38
38
  paddingBottom: "var(--ds-space-100, 8px)",
@@ -45,7 +45,7 @@ export var WhatsNewRelatedLinksTitleText = styled.span({
45
45
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
46
46
  color: "var(--ds-text, ".concat(colors.N800, ")"),
47
47
  fontSize: "".concat(fontSizeSmall(), "px"),
48
- fontWeight: 600,
48
+ fontWeight: "var(--ds-font-weight-semibold, 600)",
49
49
  whiteSpace: 'normal',
50
50
  overflowX: 'hidden',
51
51
  paddingBottom: "var(--ds-space-100, 8px)",
@@ -8,7 +8,7 @@ import { ArticlesListItemWrapper, ArticlesListItemContainer, ArticlesListItemTit
8
8
  var ANALYTICS_CONTEXT_DATA = {
9
9
  componentName: 'ArticlesListItem',
10
10
  packageName: "@atlaskit/help",
11
- packageVersion: "7.11.6"
11
+ packageVersion: "7.11.8"
12
12
  };
13
13
  var highlightText = function highlightText(text) {
14
14
  if (!text) {
@@ -2,11 +2,11 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
4
4
  import _createClass from "@babel/runtime/helpers/createClass";
5
- import _inherits from "@babel/runtime/helpers/inherits";
6
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
7
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
+ import _inherits from "@babel/runtime/helpers/inherits";
8
8
  var _excluded = ["children", "footer"];
9
- function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
9
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
10
10
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
11
  import React from 'react';
12
12
  import { withAnalyticsEvents, withAnalyticsContext } from '@atlaskit/analytics-next';
@@ -30,13 +30,12 @@ var LocaleIntlProvider = function LocaleIntlProvider(_ref) {
30
30
  }, children);
31
31
  };
32
32
  export var Help = /*#__PURE__*/function (_React$PureComponent) {
33
- _inherits(Help, _React$PureComponent);
34
- var _super = _createSuper(Help);
35
33
  function Help() {
36
34
  _classCallCheck(this, Help);
37
- return _super.apply(this, arguments);
35
+ return _callSuper(this, Help, arguments);
38
36
  }
39
- _createClass(Help, [{
37
+ _inherits(Help, _React$PureComponent);
38
+ return _createClass(Help, [{
40
39
  key: "render",
41
40
  value: function render() {
42
41
  var _this$props = this.props,
@@ -50,6 +49,5 @@ export var Help = /*#__PURE__*/function (_React$PureComponent) {
50
49
  })))))))));
51
50
  }
52
51
  }]);
53
- return Help;
54
52
  }(React.PureComponent);
55
53
  export default withAnalyticsContext(defaultAnalyticsAttributes)(withAnalyticsEvents()(Help));
@@ -7,7 +7,7 @@ import { HelpContentButtonContainer, HelpContentButtonIcon, HelpContentButtonTex
7
7
  var analitycsContextData = {
8
8
  componentName: 'HelpContentButton',
9
9
  packageName: "@atlaskit/help",
10
- packageVersion: "7.11.6"
10
+ packageVersion: "7.11.8"
11
11
  };
12
12
  var HelpContentButton = function HelpContentButton(_ref) {
13
13
  var _ref$id = _ref.id,
@@ -23,7 +23,7 @@ import { usePrevious } from '../../util/hooks/previous';
23
23
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
24
24
  import { css, jsx } from '@emotion/react';
25
25
  var packageName = "@atlaskit/help";
26
- var packageVersion = "7.11.6";
26
+ var packageVersion = "7.11.8";
27
27
  var buttonStyles = css({
28
28
  padding: '0',
29
29
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
@@ -27,7 +27,7 @@ export var truncate = function truncate() {
27
27
  export var RelatedArticlesTitle = styled.div(baseHeading(16, 20), {
28
28
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
29
29
  color: "var(--ds-text, ".concat(colors.N800, ")"),
30
- fontWeight: 600,
30
+ fontWeight: "var(--ds-font-weight-semibold, 600)",
31
31
  letterSpacing: '-0.006em',
32
32
  padding: "var(--ds-space-200, 16px)".concat(" 0")
33
33
  });
@@ -21,7 +21,7 @@ import { SearchInputContainer, SearchIconContainer, CloseButtonAndSpinnerContain
21
21
  var ANALYTICS_CONTEXT_DATA = {
22
22
  componentName: 'searchInput',
23
23
  packageName: "@atlaskit/help",
24
- packageVersion: "7.11.6"
24
+ packageVersion: "7.11.8"
25
25
  };
26
26
  var 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
@@ -50,7 +50,7 @@ export var SearchResultEmptyMessageHeaderText = styled.h2({
50
50
  color: "var(--ds-text, ".concat(colors.N500, ")"),
51
51
  fontSize: '0.875rem',
52
52
  fontStyle: 'normal',
53
- fontWeight: 'bold'
53
+ fontWeight: "var(--ds-font-weight-bold, 700)"
54
54
  });
55
55
 
56
56
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
@@ -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: "7.11.6"
14
+ packageVersion: "7.11.8"
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: "7.11.6"
11
+ packageVersion: "7.11.8"
12
12
  };
13
13
  export var WhatsNewResultListItem = function WhatsNewResultListItem(_ref) {
14
14
  var formatMessage = _ref.intl.formatMessage,
@@ -35,7 +35,7 @@ export var WhatsNewResultsListGroupTitle = styled.div({
35
35
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
36
36
  color: "var(--ds-text-subtlest, ".concat(colors.N200, ")"),
37
37
  fontSize: "".concat(fontSizeSmall(), "px"),
38
- fontWeight: 'bold',
38
+ fontWeight: "var(--ds-font-weight-bold, 700)",
39
39
  padding: "0 ".concat("var(--ds-space-100, 8px)", " ", "var(--ds-space-100, 8px)", " ", "var(--ds-space-100, 8px)"),
40
40
  textTransform: 'uppercase'
41
41
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/help",
3
- "version": "7.11.6",
3
+ "version": "7.11.8",
4
4
  "description": "A cross-product help component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -55,7 +55,7 @@
55
55
  "@atlaskit/textfield": "^6.7.0",
56
56
  "@atlaskit/theme": "^14.0.0",
57
57
  "@atlaskit/tokens": "^2.4.0",
58
- "@atlaskit/tooltip": "^18.9.0",
58
+ "@atlaskit/tooltip": "^19.0.0",
59
59
  "@babel/runtime": "^7.0.0",
60
60
  "@emotion/react": "^11.7.1",
61
61
  "@emotion/styled": "^11.0.0",