@atlaskit/help-layout 5.0.0 → 5.0.1

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,17 @@
1
1
  # @atlaskit/help-layout
2
2
 
3
+ ## 5.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#120533](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/120533)
8
+ [`f1bec731e278f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f1bec731e278f) -
9
+ Adds a `sideEffects` field to ensure this package does not have Compiled styles tree-shaken in the
10
+ future to avoid an accidental regression.
11
+
12
+ This is related to
13
+ https://community.developer.atlassian.com/t/rfc-73-migrating-our-components-to-compiled-css-in-js/85953
14
+
3
15
  ## 5.0.0
4
16
 
5
17
  ### Major Changes
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/analytics.js",
4
4
  "module": "../dist/esm/analytics.js",
5
5
  "module:es2019": "../dist/es2019/analytics.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/analytics.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {
@@ -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: "5.0.0"
17
+ packageVersion: "5.0.1"
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: "5.0.0"
79
+ packageVersion: "5.0.1"
80
80
  }
81
81
  }, /*#__PURE__*/_react.default.createElement(BackButton, props));
82
82
  };
@@ -64,7 +64,7 @@ var CloseButtonWithContext = function CloseButtonWithContext(props) {
64
64
  data: {
65
65
  componentName: 'closeButton',
66
66
  packageName: "@atlaskit/help-layout",
67
- packageVersion: "5.0.0"
67
+ packageVersion: "5.0.1"
68
68
  }
69
69
  }, /*#__PURE__*/_react.default.createElement(CloseButton, props));
70
70
  };
@@ -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: "5.0.0"
8
+ packageVersion: "5.0.1"
9
9
  };
@@ -72,7 +72,7 @@ const BackButtonWithContext = props => {
72
72
  data: {
73
73
  componentName: 'backButton',
74
74
  packageName: "@atlaskit/help-layout",
75
- packageVersion: "5.0.0"
75
+ packageVersion: "5.0.1"
76
76
  }
77
77
  }, /*#__PURE__*/React.createElement(BackButton, props));
78
78
  };
@@ -61,7 +61,7 @@ const CloseButtonWithContext = props => {
61
61
  data: {
62
62
  componentName: 'closeButton',
63
63
  packageName: "@atlaskit/help-layout",
64
- packageVersion: "5.0.0"
64
+ packageVersion: "5.0.1"
65
65
  }
66
66
  }, /*#__PURE__*/React.createElement(CloseButton, props));
67
67
  };
@@ -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: "5.0.0"
8
+ packageVersion: "5.0.1"
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: "5.0.0"
72
+ packageVersion: "5.0.1"
73
73
  }
74
74
  }, /*#__PURE__*/React.createElement(BackButton, props));
75
75
  };
@@ -57,7 +57,7 @@ var CloseButtonWithContext = function CloseButtonWithContext(props) {
57
57
  data: {
58
58
  componentName: 'closeButton',
59
59
  packageName: "@atlaskit/help-layout",
60
- packageVersion: "5.0.0"
60
+ packageVersion: "5.0.1"
61
61
  }
62
62
  }, /*#__PURE__*/React.createElement(CloseButton, props));
63
63
  };
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/messages.js",
4
4
  "module": "../dist/esm/messages.js",
5
5
  "module:es2019": "../dist/es2019/messages.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/messages.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/help-layout",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "Layout for the atlaskit/help component.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -20,7 +20,9 @@
20
20
  ]
21
21
  }
22
22
  },
23
- "sideEffects": false,
23
+ "sideEffects": [
24
+ "*.compiled.css"
25
+ ],
24
26
  "atlaskit:src": "src/index.ts",
25
27
  "atlassian": {
26
28
  "team": "Self-Help Experiences",
@@ -31,10 +33,10 @@
31
33
  },
32
34
  "dependencies": {
33
35
  "@atlaskit/analytics-next": "^11.0.0",
34
- "@atlaskit/button": "^21.0.0",
35
- "@atlaskit/icon": "^24.0.0",
36
+ "@atlaskit/button": "^21.1.0",
37
+ "@atlaskit/icon": "^24.1.0",
36
38
  "@atlaskit/theme": "^17.0.0",
37
- "@atlaskit/tokens": "^4.0.0",
39
+ "@atlaskit/tokens": "^4.2.0",
38
40
  "@atlaskit/tooltip": "^20.0.0",
39
41
  "@babel/runtime": "^7.0.0",
40
42
  "@emotion/react": "^11.7.1",