@atlaskit/section-message 6.4.22 → 6.4.24

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/section-message
2
2
 
3
+ ## 6.4.24
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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.
8
+
9
+ ## 6.4.23
10
+
11
+ ### Patch Changes
12
+
13
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
14
+
3
15
  ## 6.4.22
4
16
 
5
17
  ### 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
- <Text>
21
- You will rejoice to hear that no disaster has accompanied the
22
- commencement of an enterprise which you have regarded with such evil
23
- forebodings. I arrived here yesterday, and my first task is to assure my
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
- <Text>
11
- You will rejoice to hear that no disaster has accompanied the
12
- commencement of an enterprise which you have regarded with such evil
13
- forebodings. I arrived here yesterday, and my first task is to assure my
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");
@@ -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(_dsExplorations.UNSAFE_Text, null, children), actionsArray.length > 0 && /*#__PURE__*/_react.default.createElement(_primitives.Inline, {
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',
@@ -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',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/section-message",
3
- "version": "6.4.22",
3
+ "version": "6.4.24",
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,12 +42,11 @@
42
42
  "dependencies": {
43
43
  "@atlaskit/button": "^17.7.0",
44
44
  "@atlaskit/codemod-utils": "^4.2.0",
45
- "@atlaskit/ds-explorations": "^3.2.0",
46
- "@atlaskit/heading": "^2.0.0",
45
+ "@atlaskit/heading": "^2.1.0",
47
46
  "@atlaskit/icon": "^22.1.0",
48
- "@atlaskit/primitives": "^5.0.0",
49
- "@atlaskit/theme": "^12.6.0",
50
- "@atlaskit/tokens": "^1.41.0",
47
+ "@atlaskit/primitives": "^5.1.0",
48
+ "@atlaskit/theme": "^12.7.0",
49
+ "@atlaskit/tokens": "^1.42.0",
51
50
  "@babel/runtime": "^7.0.0"
52
51
  },
53
52
  "peerDependencies": {
@@ -68,7 +67,7 @@
68
67
  "react-dom": "^16.8.0",
69
68
  "react-test-renderer": "^16.8.0",
70
69
  "storybook-addon-performance": "^0.16.0",
71
- "typescript": "~4.9.5"
70
+ "typescript": "~5.4.2"
72
71
  },
73
72
  "techstack": {
74
73
  "@atlassian/frontend": {
@@ -94,4 +93,4 @@
94
93
  },
95
94
  "homepage": "https://atlassian.design/components/section-message/",
96
95
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
97
- }
96
+ }
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/section-message.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/entry-points/section-message.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/section-message-action.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/entry-points/section-message-action.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/types.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/entry-points/types.d.ts"
12
12
  ]