@atlaskit/section-message 6.6.9 → 6.7.0
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,13 @@
|
|
|
1
1
|
# @atlaskit/section-message
|
|
2
2
|
|
|
3
|
+
## 6.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#165245](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/165245)
|
|
8
|
+
[`6935d35339437`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6935d35339437) -
|
|
9
|
+
Updates internal behaviour to support new icon components
|
|
10
|
+
|
|
3
11
|
## 6.6.9
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -22,7 +22,7 @@ var bleedStyles = (0, _primitives.xcss)({
|
|
|
22
22
|
});
|
|
23
23
|
var contentStyles = (0, _primitives.xcss)({
|
|
24
24
|
color: 'color.text',
|
|
25
|
-
font:
|
|
25
|
+
font: 'font.body'
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
/**
|
|
@@ -64,6 +64,11 @@ var SectionMessage = /*#__PURE__*/(0, _react.forwardRef)(function SectionMessage
|
|
|
64
64
|
size: "medium",
|
|
65
65
|
primaryColor: primaryColor,
|
|
66
66
|
secondaryColor: secondaryColor
|
|
67
|
+
// props for new icon
|
|
68
|
+
,
|
|
69
|
+
LEGACY_size: "medium",
|
|
70
|
+
color: primaryColor,
|
|
71
|
+
spacing: "spacious"
|
|
67
72
|
})), /*#__PURE__*/_react.default.createElement(_primitives.Stack, {
|
|
68
73
|
space: "space.100",
|
|
69
74
|
testId: testId && "".concat(testId, "--content")
|
|
@@ -12,7 +12,7 @@ const bleedStyles = xcss({
|
|
|
12
12
|
});
|
|
13
13
|
const contentStyles = xcss({
|
|
14
14
|
color: 'color.text',
|
|
15
|
-
font:
|
|
15
|
+
font: 'font.body'
|
|
16
16
|
});
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -55,6 +55,11 @@ const SectionMessage = /*#__PURE__*/forwardRef(function SectionMessage({
|
|
|
55
55
|
size: "medium",
|
|
56
56
|
primaryColor: primaryColor,
|
|
57
57
|
secondaryColor: secondaryColor
|
|
58
|
+
// props for new icon
|
|
59
|
+
,
|
|
60
|
+
LEGACY_size: "medium",
|
|
61
|
+
color: primaryColor,
|
|
62
|
+
spacing: "spacious"
|
|
58
63
|
})), /*#__PURE__*/React.createElement(Stack, {
|
|
59
64
|
space: "space.100",
|
|
60
65
|
testId: testId && `${testId}--content`
|
|
@@ -12,7 +12,7 @@ var bleedStyles = xcss({
|
|
|
12
12
|
});
|
|
13
13
|
var contentStyles = xcss({
|
|
14
14
|
color: 'color.text',
|
|
15
|
-
font:
|
|
15
|
+
font: 'font.body'
|
|
16
16
|
});
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -54,6 +54,11 @@ var SectionMessage = /*#__PURE__*/forwardRef(function SectionMessage(_ref, ref)
|
|
|
54
54
|
size: "medium",
|
|
55
55
|
primaryColor: primaryColor,
|
|
56
56
|
secondaryColor: secondaryColor
|
|
57
|
+
// props for new icon
|
|
58
|
+
,
|
|
59
|
+
LEGACY_size: "medium",
|
|
60
|
+
color: primaryColor,
|
|
61
|
+
spacing: "spacious"
|
|
57
62
|
})), /*#__PURE__*/React.createElement(Stack, {
|
|
58
63
|
space: "space.100",
|
|
59
64
|
testId: testId && "".concat(testId, "--content")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/section-message",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.7.0",
|
|
4
4
|
"description": "A section message is used to alert users to a particular section of the screen.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"@atlaskit/button": "^20.3.0",
|
|
43
43
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
44
44
|
"@atlaskit/heading": "^3.1.0",
|
|
45
|
-
"@atlaskit/icon": "^22.
|
|
45
|
+
"@atlaskit/icon": "^22.25.0",
|
|
46
46
|
"@atlaskit/primitives": "^13.2.0",
|
|
47
47
|
"@atlaskit/theme": "^14.0.0",
|
|
48
|
-
"@atlaskit/tokens": "^2.
|
|
48
|
+
"@atlaskit/tokens": "^2.3.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|