@atlaskit/help-layout 4.4.4 → 4.4.6

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,19 @@
1
1
  # @atlaskit/help-layout
2
2
 
3
+ ## 4.4.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#105756](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105756)
8
+ [`1151bcad0025a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1151bcad0025a) -
9
+ [ux] refactoring placement of footer in IPH
10
+
11
+ ## 4.4.5
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 4.4.4
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: 'helpPanel',
16
16
  packageName: "@atlaskit/help-layout",
17
- packageVersion: "4.4.4"
17
+ packageVersion: "4.4.6"
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.4"
79
+ packageVersion: "4.4.6"
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.4"
54
+ packageVersion: "4.4.6"
55
55
  }
56
56
  }, /*#__PURE__*/_react.default.createElement(CloseButton, props));
57
57
  };
@@ -47,6 +47,7 @@ var HeaderTitle = exports.HeaderTitle = _styled.default.h1({
47
47
  textAlign: 'center',
48
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
49
  fontWeight: "var(--ds-font-weight-semibold, 600)",
50
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
50
51
  lineHeight: "var(--ds-space-800, 56px)",
51
52
  width: '100%',
52
53
  whiteSpace: 'nowrap',
@@ -43,6 +43,8 @@ var HelpContent = exports.HelpContent = function HelpContent(props) {
43
43
  contentWidth: "80%"
44
44
  }), /*#__PURE__*/_react.default.createElement(_styled.LoadingRectangle, {
45
45
  contentWidth: "70%"
46
- })) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, children), footer ? /*#__PURE__*/_react.default.createElement(_styled.HelpFooter, null, footer) : null));
46
+ })) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, children), footer ? /*#__PURE__*/_react.default.createElement(_styled.HelpFooter, {
47
+ "data-testid": "footer"
48
+ }, footer) : null));
47
49
  };
48
50
  var _default = exports.default = (0, _reactIntlNext.injectIntl)(HelpContent);
@@ -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.4"
8
+ packageVersion: "4.4.6"
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.4"
75
+ packageVersion: "4.4.6"
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.4"
51
+ packageVersion: "4.4.6"
52
52
  }
53
53
  }, /*#__PURE__*/React.createElement(CloseButton, props));
54
54
  };
@@ -36,6 +36,7 @@ export const HeaderTitle = styled.h1({
36
36
  textAlign: 'center',
37
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
38
  fontWeight: "var(--ds-font-weight-semibold, 600)",
39
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
39
40
  lineHeight: "var(--ds-space-800, 56px)",
40
41
  width: '100%',
41
42
  whiteSpace: 'nowrap',
@@ -37,6 +37,8 @@ export const HelpContent = props => {
37
37
  contentWidth: "80%"
38
38
  }), /*#__PURE__*/React.createElement(LoadingRectangle, {
39
39
  contentWidth: "70%"
40
- })) : /*#__PURE__*/React.createElement(React.Fragment, null, children), footer ? /*#__PURE__*/React.createElement(HelpFooter, null, footer) : null));
40
+ })) : /*#__PURE__*/React.createElement(React.Fragment, null, children), footer ? /*#__PURE__*/React.createElement(HelpFooter, {
41
+ "data-testid": "footer"
42
+ }, footer) : null));
41
43
  };
42
44
  export default injectIntl(HelpContent);
@@ -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.4"
8
+ packageVersion: "4.4.6"
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.4"
72
+ packageVersion: "4.4.6"
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.4"
47
+ packageVersion: "4.4.6"
48
48
  }
49
49
  }, /*#__PURE__*/React.createElement(CloseButton, props));
50
50
  };
@@ -36,6 +36,7 @@ export var HeaderTitle = styled.h1({
36
36
  textAlign: 'center',
37
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
38
  fontWeight: "var(--ds-font-weight-semibold, 600)",
39
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
39
40
  lineHeight: "var(--ds-space-800, 56px)",
40
41
  width: '100%',
41
42
  whiteSpace: 'nowrap',
@@ -36,6 +36,8 @@ export var HelpContent = function HelpContent(props) {
36
36
  contentWidth: "80%"
37
37
  }), /*#__PURE__*/React.createElement(LoadingRectangle, {
38
38
  contentWidth: "70%"
39
- })) : /*#__PURE__*/React.createElement(React.Fragment, null, children), footer ? /*#__PURE__*/React.createElement(HelpFooter, null, footer) : null));
39
+ })) : /*#__PURE__*/React.createElement(React.Fragment, null, children), footer ? /*#__PURE__*/React.createElement(HelpFooter, {
40
+ "data-testid": "footer"
41
+ }, footer) : null));
40
42
  };
41
43
  export default injectIntl(HelpContent);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/help-layout",
3
- "version": "4.4.4",
3
+ "version": "4.4.6",
4
4
  "description": "Layout for the atlaskit/help component.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -32,9 +32,9 @@
32
32
  "dependencies": {
33
33
  "@atlaskit/analytics-next": "^10.2.0",
34
34
  "@atlaskit/button": "^20.3.0",
35
- "@atlaskit/icon": "^23.1.0",
35
+ "@atlaskit/icon": "^23.4.0",
36
36
  "@atlaskit/theme": "^14.0.0",
37
- "@atlaskit/tokens": "^2.5.0",
37
+ "@atlaskit/tokens": "^3.2.0",
38
38
  "@atlaskit/tooltip": "^19.0.0",
39
39
  "@babel/runtime": "^7.0.0",
40
40
  "@emotion/react": "^11.7.1",