@atlaskit/help-layout 4.4.2 → 4.4.4

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @atlaskit/help-layout
2
2
 
3
+ ## 4.4.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#98234](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98234)
8
+ [`98766713e142d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/98766713e142d) -
9
+ Internal changes to typography.
10
+
11
+ ## 4.4.3
12
+
13
+ ### Patch Changes
14
+
15
+ - [#178053](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/178053)
16
+ [`cb318c8c28c26`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cb318c8c28c26) -
17
+ Internal changes to typography.
18
+
3
19
  ## 4.4.2
4
20
 
5
21
  ### Patch Changes
@@ -14,5 +14,5 @@ var createAndFire = exports.createAndFire = x.createAndFireEvent('atlaskit');
14
14
  var defaultAnalyticsAttributes = exports.defaultAnalyticsAttributes = {
15
15
  componentName: 'helpPanel',
16
16
  packageName: "@atlaskit/help-layout",
17
- packageVersion: "4.4.2"
17
+ packageVersion: "4.4.4"
18
18
  };
@@ -76,7 +76,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
76
76
  data: {
77
77
  componentName: 'backButton',
78
78
  packageName: "@atlaskit/help-layout",
79
- packageVersion: "4.4.2"
79
+ packageVersion: "4.4.4"
80
80
  }
81
81
  }, /*#__PURE__*/_react.default.createElement(BackButton, props));
82
82
  };
@@ -51,7 +51,7 @@ var CloseButtonWithContext = function CloseButtonWithContext(props) {
51
51
  data: {
52
52
  componentName: 'closeButton',
53
53
  packageName: "@atlaskit/help-layout",
54
- packageVersion: "4.4.2"
54
+ packageVersion: "4.4.4"
55
55
  }
56
56
  }, /*#__PURE__*/_react.default.createElement(CloseButton, props));
57
57
  };
@@ -45,8 +45,8 @@ var HeaderTitle = exports.HeaderTitle = _styled.default.h1({
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-subtle, ".concat(colors.N500, ")"),
47
47
  textAlign: 'center',
48
- fontSize: '1rem',
49
- fontWeight: 600,
48
+ font: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
49
+ fontWeight: "var(--ds-font-weight-semibold, 600)",
50
50
  lineHeight: "var(--ds-space-800, 56px)",
51
51
  width: '100%',
52
52
  whiteSpace: 'nowrap',
@@ -7,29 +7,27 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = exports.HelpLayout = void 0;
8
8
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
9
9
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
10
- var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
11
10
  var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
12
11
  var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
12
+ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
13
13
  var _react = _interopRequireDefault(require("react"));
14
14
  var _analyticsNext = require("@atlaskit/analytics-next");
15
15
  var _analytics = require("../analytics");
16
16
  var _MessagesIntlProvider = _interopRequireDefault(require("./MessagesIntlProvider"));
17
17
  var _HelpLayoutContent = _interopRequireDefault(require("./HelpLayoutContent"));
18
- 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); }; }
18
+ 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)); }
19
19
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
20
20
  var HelpLayout = exports.HelpLayout = /*#__PURE__*/function (_React$PureComponent) {
21
- (0, _inherits2.default)(HelpLayout, _React$PureComponent);
22
- var _super = _createSuper(HelpLayout);
23
21
  function HelpLayout() {
24
22
  (0, _classCallCheck2.default)(this, HelpLayout);
25
- return _super.apply(this, arguments);
23
+ return _callSuper(this, HelpLayout, arguments);
26
24
  }
27
- (0, _createClass2.default)(HelpLayout, [{
25
+ (0, _inherits2.default)(HelpLayout, _React$PureComponent);
26
+ return (0, _createClass2.default)(HelpLayout, [{
28
27
  key: "render",
29
28
  value: function render() {
30
29
  return /*#__PURE__*/_react.default.createElement(_MessagesIntlProvider.default, null, /*#__PURE__*/_react.default.createElement(_HelpLayoutContent.default, this.props));
31
30
  }
32
31
  }]);
33
- return HelpLayout;
34
32
  }(_react.default.PureComponent);
35
33
  var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)(_analytics.defaultAnalyticsAttributes)((0, _analyticsNext.withAnalyticsEvents)()(HelpLayout));
@@ -5,5 +5,5 @@ export const createAndFire = x.createAndFireEvent('atlaskit');
5
5
  export const defaultAnalyticsAttributes = {
6
6
  componentName: 'helpPanel',
7
7
  packageName: "@atlaskit/help-layout",
8
- packageVersion: "4.4.2"
8
+ packageVersion: "4.4.4"
9
9
  };
@@ -72,7 +72,7 @@ const BackButtonWithContext = props => {
72
72
  data: {
73
73
  componentName: 'backButton',
74
74
  packageName: "@atlaskit/help-layout",
75
- packageVersion: "4.4.2"
75
+ packageVersion: "4.4.4"
76
76
  }
77
77
  }, /*#__PURE__*/React.createElement(BackButton, props));
78
78
  };
@@ -48,7 +48,7 @@ const CloseButtonWithContext = props => {
48
48
  data: {
49
49
  componentName: 'closeButton',
50
50
  packageName: "@atlaskit/help-layout",
51
- packageVersion: "4.4.2"
51
+ packageVersion: "4.4.4"
52
52
  }
53
53
  }, /*#__PURE__*/React.createElement(CloseButton, props));
54
54
  };
@@ -34,8 +34,8 @@ export const HeaderTitle = styled.h1({
34
34
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
35
35
  color: `var(--ds-text-subtle, ${colors.N500})`,
36
36
  textAlign: 'center',
37
- fontSize: '1rem',
38
- fontWeight: 600,
37
+ font: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
38
+ fontWeight: "var(--ds-font-weight-semibold, 600)",
39
39
  lineHeight: "var(--ds-space-800, 56px)",
40
40
  width: '100%',
41
41
  whiteSpace: 'nowrap',
@@ -5,5 +5,5 @@ export var createAndFire = x.createAndFireEvent('atlaskit');
5
5
  export var defaultAnalyticsAttributes = {
6
6
  componentName: 'helpPanel',
7
7
  packageName: "@atlaskit/help-layout",
8
- packageVersion: "4.4.2"
8
+ packageVersion: "4.4.4"
9
9
  };
@@ -69,7 +69,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
69
69
  data: {
70
70
  componentName: 'backButton',
71
71
  packageName: "@atlaskit/help-layout",
72
- packageVersion: "4.4.2"
72
+ packageVersion: "4.4.4"
73
73
  }
74
74
  }, /*#__PURE__*/React.createElement(BackButton, props));
75
75
  };
@@ -44,7 +44,7 @@ var CloseButtonWithContext = function CloseButtonWithContext(props) {
44
44
  data: {
45
45
  componentName: 'closeButton',
46
46
  packageName: "@atlaskit/help-layout",
47
- packageVersion: "4.4.2"
47
+ packageVersion: "4.4.4"
48
48
  }
49
49
  }, /*#__PURE__*/React.createElement(CloseButton, props));
50
50
  };
@@ -34,8 +34,8 @@ export var HeaderTitle = styled.h1({
34
34
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
35
35
  color: "var(--ds-text-subtle, ".concat(colors.N500, ")"),
36
36
  textAlign: 'center',
37
- fontSize: '1rem',
38
- fontWeight: 600,
37
+ font: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
38
+ fontWeight: "var(--ds-font-weight-semibold, 600)",
39
39
  lineHeight: "var(--ds-space-800, 56px)",
40
40
  width: '100%',
41
41
  whiteSpace: 'nowrap',
@@ -1,9 +1,9 @@
1
1
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
2
2
  import _createClass from "@babel/runtime/helpers/createClass";
3
- import _inherits from "@babel/runtime/helpers/inherits";
4
3
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
5
4
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
6
- 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); }; }
5
+ import _inherits from "@babel/runtime/helpers/inherits";
6
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
7
7
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
8
8
  import React from 'react';
9
9
  import { withAnalyticsEvents, withAnalyticsContext } from '@atlaskit/analytics-next';
@@ -11,18 +11,16 @@ import { defaultAnalyticsAttributes } from '../analytics';
11
11
  import MessagesIntlProvider from './MessagesIntlProvider';
12
12
  import HelpContent from './HelpLayoutContent';
13
13
  export var HelpLayout = /*#__PURE__*/function (_React$PureComponent) {
14
- _inherits(HelpLayout, _React$PureComponent);
15
- var _super = _createSuper(HelpLayout);
16
14
  function HelpLayout() {
17
15
  _classCallCheck(this, HelpLayout);
18
- return _super.apply(this, arguments);
16
+ return _callSuper(this, HelpLayout, arguments);
19
17
  }
20
- _createClass(HelpLayout, [{
18
+ _inherits(HelpLayout, _React$PureComponent);
19
+ return _createClass(HelpLayout, [{
21
20
  key: "render",
22
21
  value: function render() {
23
22
  return /*#__PURE__*/React.createElement(MessagesIntlProvider, null, /*#__PURE__*/React.createElement(HelpContent, this.props));
24
23
  }
25
24
  }]);
26
- return HelpLayout;
27
25
  }(React.PureComponent);
28
26
  export default withAnalyticsContext(defaultAnalyticsAttributes)(withAnalyticsEvents()(HelpLayout));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/help-layout",
3
- "version": "4.4.2",
3
+ "version": "4.4.4",
4
4
  "description": "Layout for the atlaskit/help component.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -34,7 +34,7 @@
34
34
  "@atlaskit/button": "^20.3.0",
35
35
  "@atlaskit/icon": "^23.1.0",
36
36
  "@atlaskit/theme": "^14.0.0",
37
- "@atlaskit/tokens": "^2.4.0",
37
+ "@atlaskit/tokens": "^2.5.0",
38
38
  "@atlaskit/tooltip": "^19.0.0",
39
39
  "@babel/runtime": "^7.0.0",
40
40
  "@emotion/react": "^11.7.1",
package/tsconfig.json CHANGED
@@ -11,6 +11,5 @@
11
11
  "./example-helpers/**/*.tsx"
12
12
  ],
13
13
  "compilerOptions": {
14
- "baseUrl": "./"
15
14
  }
16
15
  }