@atlaskit/help-layout 5.0.0 → 5.0.2

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,23 @@
1
1
  # @atlaskit/help-layout
2
2
 
3
+ ## 5.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 5.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#120533](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/120533)
14
+ [`f1bec731e278f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f1bec731e278f) -
15
+ Adds a `sideEffects` field to ensure this package does not have Compiled styles tree-shaken in the
16
+ future to avoid an accidental regression.
17
+
18
+ This is related to
19
+ https://community.developer.atlassian.com/t/rfc-73-migrating-our-components-to-compiled-css-in-js/85953
20
+
3
21
  ## 5.0.0
4
22
 
5
23
  ### 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.2"
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.2"
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.2"
68
68
  }
69
69
  }, /*#__PURE__*/_react.default.createElement(CloseButton, props));
70
70
  };
@@ -52,7 +52,7 @@ var HeaderTitle = exports.HeaderTitle = _styled.default.h1({
52
52
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
53
53
  color: "var(--ds-text-subtle, ".concat(colors.N500, ")"),
54
54
  textAlign: 'center',
55
- 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)",
55
+ font: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
56
56
  fontWeight: "var(--ds-font-weight-semibold, 600)",
57
57
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
58
58
  lineHeight: "var(--ds-space-800, 56px)",
@@ -69,7 +69,7 @@ var HeaderTitleAi = exports.HeaderTitleAi = _styled.default.h1({
69
69
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
70
70
  color: "var(--ds-text-subtle, ".concat(colors.N500, ")"),
71
71
  textAlign: 'left',
72
- 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)",
72
+ font: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
73
73
  fontWeight: "var(--ds-font-weight-semibold, 600)",
74
74
  paddingTop: "var(--ds-space-250, 18px)",
75
75
  paddingBottom: "var(--ds-space-200, 16px)",
@@ -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.2"
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.2"
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.2"
65
65
  }
66
66
  }, /*#__PURE__*/React.createElement(CloseButton, props));
67
67
  };
@@ -41,7 +41,7 @@ export const HeaderTitle = styled.h1({
41
41
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
42
42
  color: `var(--ds-text-subtle, ${colors.N500})`,
43
43
  textAlign: 'center',
44
- 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)",
44
+ font: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
45
45
  fontWeight: "var(--ds-font-weight-semibold, 600)",
46
46
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
47
47
  lineHeight: "var(--ds-space-800, 56px)",
@@ -58,7 +58,7 @@ export const HeaderTitleAi = styled.h1({
58
58
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
59
59
  color: `var(--ds-text-subtle, ${colors.N500})`,
60
60
  textAlign: 'left',
61
- 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)",
61
+ font: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
62
62
  fontWeight: "var(--ds-font-weight-semibold, 600)",
63
63
  paddingTop: "var(--ds-space-250, 18px)",
64
64
  paddingBottom: "var(--ds-space-200, 16px)",
@@ -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.2"
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.2"
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.2"
61
61
  }
62
62
  }, /*#__PURE__*/React.createElement(CloseButton, props));
63
63
  };
@@ -41,7 +41,7 @@ export var HeaderTitle = styled.h1({
41
41
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
42
42
  color: "var(--ds-text-subtle, ".concat(colors.N500, ")"),
43
43
  textAlign: 'center',
44
- 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)",
44
+ font: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
45
45
  fontWeight: "var(--ds-font-weight-semibold, 600)",
46
46
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
47
47
  lineHeight: "var(--ds-space-800, 56px)",
@@ -58,7 +58,7 @@ export var HeaderTitleAi = styled.h1({
58
58
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
59
59
  color: "var(--ds-text-subtle, ".concat(colors.N500, ")"),
60
60
  textAlign: 'left',
61
- 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)",
61
+ font: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
62
62
  fontWeight: "var(--ds-font-weight-semibold, 600)",
63
63
  paddingTop: "var(--ds-space-250, 18px)",
64
64
  paddingBottom: "var(--ds-space-200, 16px)",
@@ -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.2",
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/theme": "^17.0.0",
37
- "@atlaskit/tokens": "^4.0.0",
36
+ "@atlaskit/button": "^21.1.0",
37
+ "@atlaskit/icon": "^24.1.0",
38
+ "@atlaskit/theme": "^18.0.0",
39
+ "@atlaskit/tokens": "^4.3.0",
38
40
  "@atlaskit/tooltip": "^20.0.0",
39
41
  "@babel/runtime": "^7.0.0",
40
42
  "@emotion/react": "^11.7.1",