@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 +18 -0
- package/analytics/package.json +3 -1
- 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/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/messages/package.json +3 -1
- package/package.json +8 -6
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
|
package/analytics/package.json
CHANGED
|
@@ -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":
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
7
9
|
"types": "../dist/types/analytics.d.ts",
|
|
8
10
|
"typesVersions": {
|
|
9
11
|
">=4.5 <5.4": {
|
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: "5.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.
|
|
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.
|
|
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,
|
|
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,
|
|
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)",
|
package/dist/es2019/analytics.js
CHANGED
|
@@ -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,
|
|
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,
|
|
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)",
|
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: "5.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.
|
|
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,
|
|
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,
|
|
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)",
|
package/messages/package.json
CHANGED
|
@@ -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":
|
|
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.
|
|
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":
|
|
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.
|
|
35
|
-
"@atlaskit/icon": "^24.
|
|
36
|
-
"@atlaskit/theme": "^
|
|
37
|
-
"@atlaskit/tokens": "^4.
|
|
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",
|