@atlaskit/section-message 6.4.23 → 6.4.25
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,18 @@
|
|
|
1
1
|
# @atlaskit/section-message
|
|
2
2
|
|
|
3
|
+
## 6.4.25
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#88354](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88354) [`4c87d9b4f0c2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4c87d9b4f0c2) - The internal composition of this component has changed. There is no expected change in behavior.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 6.4.24
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#84293](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84293) [`1ba0536bcaf9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1ba0536bcaf9) - Internal changes to typography. No expected visual or behavioral change.
|
|
15
|
+
|
|
3
16
|
## 6.4.23
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { UNSAFE_Text as Text } from '@atlaskit/ds-explorations';
|
|
4
|
-
|
|
5
3
|
import SectionMessage, { SectionMessageAction } from '../src';
|
|
6
4
|
|
|
7
5
|
export default () => {
|
|
@@ -17,13 +15,10 @@ export default () => {
|
|
|
17
15
|
</SectionMessageAction>,
|
|
18
16
|
]}
|
|
19
17
|
>
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
dear sister of my welfare and increasing confidence in the success of my
|
|
25
|
-
undertaking.
|
|
26
|
-
</Text>
|
|
18
|
+
You will rejoice to hear that no disaster has accompanied the commencement
|
|
19
|
+
of an enterprise which you have regarded with such evil forebodings. I
|
|
20
|
+
arrived here yesterday, and my first task is to assure my dear sister of
|
|
21
|
+
my welfare and increasing confidence in the success of my undertaking.
|
|
27
22
|
</SectionMessage>
|
|
28
23
|
);
|
|
29
24
|
};
|
|
@@ -1,19 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { UNSAFE_Text as Text } from '@atlaskit/ds-explorations';
|
|
4
|
-
|
|
5
3
|
import SectionMessage from '../src';
|
|
6
4
|
|
|
7
5
|
export default () => {
|
|
8
6
|
return (
|
|
9
7
|
<SectionMessage title="The Modern Prometheus">
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
dear sister of my welfare and increasing confidence in the success of my
|
|
15
|
-
undertaking.
|
|
16
|
-
</Text>
|
|
8
|
+
You will rejoice to hear that no disaster has accompanied the commencement
|
|
9
|
+
of an enterprise which you have regarded with such evil forebodings. I
|
|
10
|
+
arrived here yesterday, and my first task is to assure my dear sister of
|
|
11
|
+
my welfare and increasing confidence in the success of my undertaking.
|
|
17
12
|
</SectionMessage>
|
|
18
13
|
);
|
|
19
14
|
};
|
|
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _dsExplorations = require("@atlaskit/ds-explorations");
|
|
11
10
|
var _heading = _interopRequireDefault(require("@atlaskit/heading"));
|
|
12
11
|
var _primitives = require("@atlaskit/primitives");
|
|
13
12
|
var _appearanceIcon = require("./internal/appearance-icon");
|
|
@@ -19,7 +18,7 @@ var sectionMessageStyles = (0, _primitives.xcss)({
|
|
|
19
18
|
});
|
|
20
19
|
var bleedStyles = (0, _primitives.xcss)({
|
|
21
20
|
display: 'flex',
|
|
22
|
-
marginBlock:
|
|
21
|
+
marginBlock: 'space.negative.025'
|
|
23
22
|
});
|
|
24
23
|
|
|
25
24
|
/**
|
|
@@ -67,7 +66,7 @@ var SectionMessage = /*#__PURE__*/(0, _react.forwardRef)(function SectionMessage
|
|
|
67
66
|
}, !!title && /*#__PURE__*/_react.default.createElement(_heading.default, {
|
|
68
67
|
as: "h2",
|
|
69
68
|
level: "h500"
|
|
70
|
-
}, title), /*#__PURE__*/_react.default.createElement(
|
|
69
|
+
}, title), /*#__PURE__*/_react.default.createElement(_primitives.Text, null, children), actionsArray.length > 0 && /*#__PURE__*/_react.default.createElement(_primitives.Inline, {
|
|
71
70
|
shouldWrap: true,
|
|
72
71
|
testId: testId && "".concat(testId, "--actions"),
|
|
73
72
|
separator: "\xB7",
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import { UNSAFE_Text as Text } from '@atlaskit/ds-explorations';
|
|
3
2
|
import Heading from '@atlaskit/heading';
|
|
4
|
-
import { Box, Inline, Stack, xcss } from '@atlaskit/primitives';
|
|
3
|
+
import { Box, Inline, Stack, Text, xcss } from '@atlaskit/primitives';
|
|
5
4
|
import { getAppearanceIconStyles } from './internal/appearance-icon';
|
|
6
5
|
const sectionMessageStyles = xcss({
|
|
7
6
|
wordBreak: 'break-word',
|
|
@@ -9,7 +8,7 @@ const sectionMessageStyles = xcss({
|
|
|
9
8
|
});
|
|
10
9
|
const bleedStyles = xcss({
|
|
11
10
|
display: 'flex',
|
|
12
|
-
marginBlock:
|
|
11
|
+
marginBlock: 'space.negative.025'
|
|
13
12
|
});
|
|
14
13
|
|
|
15
14
|
/**
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import { UNSAFE_Text as Text } from '@atlaskit/ds-explorations';
|
|
3
2
|
import Heading from '@atlaskit/heading';
|
|
4
|
-
import { Box, Inline, Stack, xcss } from '@atlaskit/primitives';
|
|
3
|
+
import { Box, Inline, Stack, Text, xcss } from '@atlaskit/primitives';
|
|
5
4
|
import { getAppearanceIconStyles } from './internal/appearance-icon';
|
|
6
5
|
var sectionMessageStyles = xcss({
|
|
7
6
|
wordBreak: 'break-word',
|
|
@@ -9,7 +8,7 @@ var sectionMessageStyles = xcss({
|
|
|
9
8
|
});
|
|
10
9
|
var bleedStyles = xcss({
|
|
11
10
|
display: 'flex',
|
|
12
|
-
marginBlock:
|
|
11
|
+
marginBlock: 'space.negative.025'
|
|
13
12
|
});
|
|
14
13
|
|
|
15
14
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/section-message",
|
|
3
|
-
"version": "6.4.
|
|
3
|
+
"version": "6.4.25",
|
|
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/"
|
|
@@ -40,14 +40,13 @@
|
|
|
40
40
|
".": "./src/index.tsx"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@atlaskit/button": "^17.
|
|
43
|
+
"@atlaskit/button": "^17.11.0",
|
|
44
44
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
45
|
-
"@atlaskit/ds-explorations": "^3.3.0",
|
|
46
45
|
"@atlaskit/heading": "^2.1.0",
|
|
47
46
|
"@atlaskit/icon": "^22.1.0",
|
|
48
|
-
"@atlaskit/primitives": "^5.
|
|
49
|
-
"@atlaskit/theme": "^12.
|
|
50
|
-
"@atlaskit/tokens": "^1.
|
|
47
|
+
"@atlaskit/primitives": "^5.5.0",
|
|
48
|
+
"@atlaskit/theme": "^12.7.0",
|
|
49
|
+
"@atlaskit/tokens": "^1.43.0",
|
|
51
50
|
"@babel/runtime": "^7.0.0"
|
|
52
51
|
},
|
|
53
52
|
"peerDependencies": {
|