@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 +16 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/Header/BackButton.js +1 -1
- package/dist/cjs/components/Header/CloseButton.js +1 -1
- package/dist/cjs/components/Header/styled.js +2 -2
- package/dist/cjs/components/HelpLayout.js +5 -7
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/Header/BackButton.js +1 -1
- package/dist/es2019/components/Header/CloseButton.js +1 -1
- package/dist/es2019/components/Header/styled.js +2 -2
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/Header/BackButton.js +1 -1
- package/dist/esm/components/Header/CloseButton.js +1 -1
- package/dist/esm/components/Header/styled.js +2 -2
- package/dist/esm/components/HelpLayout.js +5 -7
- package/package.json +2 -2
- package/tsconfig.json +0 -1
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
|
package/dist/cjs/analytics.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
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
|
-
|
|
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
|
|
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
|
|
23
|
+
return _callSuper(this, HelpLayout, arguments);
|
|
26
24
|
}
|
|
27
|
-
(0,
|
|
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));
|
package/dist/es2019/analytics.js
CHANGED
|
@@ -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
|
-
|
|
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',
|
package/dist/esm/analytics.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
16
|
+
return _callSuper(this, HelpLayout, arguments);
|
|
19
17
|
}
|
|
20
|
-
|
|
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.
|
|
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.
|
|
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",
|