@atlaskit/section-message 6.8.3 → 6.9.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,17 @@
1
1
  # @atlaskit/section-message
2
2
 
3
+ ## 6.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
8
+ [`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
9
+ Update `React` from v16 to v18
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 6.8.3
4
16
 
5
17
  ### Patch Changes
@@ -1,9 +1,12 @@
1
1
 
2
2
  ._11c81oud{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
3
- ._1yt4ze3t{padding:var(--ds-space-0,0)}
3
+ ._19bvze3t{padding-left:var(--ds-space-0,0)}
4
4
  ._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
5
+ ._ca0qze3t{padding-top:var(--ds-space-0,0)}
5
6
  ._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
6
- ._syaz14q2{color:var(--ds-link,#0c66e4)}._1053w7te:visited{color:var(--ds-link-visited,#5e4db2)}
7
+ ._n3tdze3t{padding-bottom:var(--ds-space-0,0)}
8
+ ._syaz14q2{color:var(--ds-link,#0c66e4)}
9
+ ._u5f3ze3t{padding-right:var(--ds-space-0,0)}._1053w7te:visited{color:var(--ds-link-visited,#5e4db2)}
7
10
  ._1bnx8stv:hover{text-decoration-line:underline}
8
11
  ._30l314q2:hover{color:var(--ds-link,#0c66e4)}
9
12
  ._9oik18uv:hover{text-decoration-color:initial}
@@ -1,4 +1,4 @@
1
- /* section-message-action.tsx generated by @compiled/babel-plugin v0.35.0 */
1
+ /* section-message-action.tsx generated by @compiled/babel-plugin v0.36.0 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -19,7 +19,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
19
19
  var styles = {
20
20
  common: "_11c81oud _syaz14q2 _k48p1wq8 _30l314q2 _9h8h16c2",
21
21
  anchor: "_1053w7te _9oik18uv _1bnx8stv _jf4cnqa1 _n0fxw7te _1vhvg3x0",
22
- pressable: "_1yt4ze3t _bfhksm61 _9oik18uv _1bnx8stv _jf4cnqa1"
22
+ pressable: "_bfhksm61 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _9oik18uv _1bnx8stv _jf4cnqa1"
23
23
  };
24
24
 
25
25
  /**
@@ -1,9 +1,12 @@
1
1
 
2
2
  ._11c81oud{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
3
- ._1yt4ze3t{padding:var(--ds-space-0,0)}
3
+ ._19bvze3t{padding-left:var(--ds-space-0,0)}
4
4
  ._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
5
+ ._ca0qze3t{padding-top:var(--ds-space-0,0)}
5
6
  ._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
6
- ._syaz14q2{color:var(--ds-link,#0c66e4)}._1053w7te:visited{color:var(--ds-link-visited,#5e4db2)}
7
+ ._n3tdze3t{padding-bottom:var(--ds-space-0,0)}
8
+ ._syaz14q2{color:var(--ds-link,#0c66e4)}
9
+ ._u5f3ze3t{padding-right:var(--ds-space-0,0)}._1053w7te:visited{color:var(--ds-link-visited,#5e4db2)}
7
10
  ._1bnx8stv:hover{text-decoration-line:underline}
8
11
  ._30l314q2:hover{color:var(--ds-link,#0c66e4)}
9
12
  ._9oik18uv:hover{text-decoration-color:initial}
@@ -1,4 +1,4 @@
1
- /* section-message-action.tsx generated by @compiled/babel-plugin v0.35.0 */
1
+ /* section-message-action.tsx generated by @compiled/babel-plugin v0.36.0 */
2
2
  import "./section-message-action.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { memo } from 'react';
@@ -9,7 +9,7 @@ import { Anchor, Box, Pressable } from '@atlaskit/primitives';
9
9
  const styles = {
10
10
  common: "_11c81oud _syaz14q2 _k48p1wq8 _30l314q2 _9h8h16c2",
11
11
  anchor: "_1053w7te _9oik18uv _1bnx8stv _jf4cnqa1 _n0fxw7te _1vhvg3x0",
12
- pressable: "_1yt4ze3t _bfhksm61 _9oik18uv _1bnx8stv _jf4cnqa1"
12
+ pressable: "_bfhksm61 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _9oik18uv _1bnx8stv _jf4cnqa1"
13
13
  };
14
14
 
15
15
  /**
@@ -1,9 +1,12 @@
1
1
 
2
2
  ._11c81oud{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
3
- ._1yt4ze3t{padding:var(--ds-space-0,0)}
3
+ ._19bvze3t{padding-left:var(--ds-space-0,0)}
4
4
  ._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
5
+ ._ca0qze3t{padding-top:var(--ds-space-0,0)}
5
6
  ._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
6
- ._syaz14q2{color:var(--ds-link,#0c66e4)}._1053w7te:visited{color:var(--ds-link-visited,#5e4db2)}
7
+ ._n3tdze3t{padding-bottom:var(--ds-space-0,0)}
8
+ ._syaz14q2{color:var(--ds-link,#0c66e4)}
9
+ ._u5f3ze3t{padding-right:var(--ds-space-0,0)}._1053w7te:visited{color:var(--ds-link-visited,#5e4db2)}
7
10
  ._1bnx8stv:hover{text-decoration-line:underline}
8
11
  ._30l314q2:hover{color:var(--ds-link,#0c66e4)}
9
12
  ._9oik18uv:hover{text-decoration-color:initial}
@@ -1,4 +1,4 @@
1
- /* section-message-action.tsx generated by @compiled/babel-plugin v0.35.0 */
1
+ /* section-message-action.tsx generated by @compiled/babel-plugin v0.36.0 */
2
2
  import "./section-message-action.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { memo } from 'react';
@@ -9,7 +9,7 @@ import { Anchor, Box, Pressable } from '@atlaskit/primitives';
9
9
  var styles = {
10
10
  common: "_11c81oud _syaz14q2 _k48p1wq8 _30l314q2 _9h8h16c2",
11
11
  anchor: "_1053w7te _9oik18uv _1bnx8stv _jf4cnqa1 _n0fxw7te _1vhvg3x0",
12
- pressable: "_1yt4ze3t _bfhksm61 _9oik18uv _1bnx8stv _jf4cnqa1"
12
+ pressable: "_bfhksm61 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _9oik18uv _1bnx8stv _jf4cnqa1"
13
13
  };
14
14
 
15
15
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/section-message",
3
- "version": "6.8.3",
3
+ "version": "6.9.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/"
@@ -39,15 +39,15 @@
39
39
  ".": "./src/index.tsx"
40
40
  },
41
41
  "dependencies": {
42
- "@atlaskit/button": "^20.3.0",
42
+ "@atlaskit/button": "^20.4.0",
43
43
  "@atlaskit/codemod-utils": "^4.2.0",
44
- "@atlaskit/css": "^0.7.0",
45
- "@atlaskit/heading": "^4.0.0",
46
- "@atlaskit/icon": "^23.3.0",
44
+ "@atlaskit/css": "^0.8.0",
45
+ "@atlaskit/heading": "^4.1.0",
46
+ "@atlaskit/icon": "^23.5.0",
47
47
  "@atlaskit/platform-feature-flags": "^0.3.0",
48
- "@atlaskit/primitives": "^13.3.0",
49
- "@atlaskit/theme": "^14.0.0",
50
- "@atlaskit/tokens": "^3.0.0",
48
+ "@atlaskit/primitives": "^13.4.0",
49
+ "@atlaskit/theme": "^14.1.0",
50
+ "@atlaskit/tokens": "^3.3.0",
51
51
  "@babel/runtime": "^7.0.0"
52
52
  },
53
53
  "peerDependencies": {
@@ -56,16 +56,16 @@
56
56
  "devDependencies": {
57
57
  "@af/accessibility-testing": "*",
58
58
  "@af/integration-testing": "*",
59
- "@atlaskit/analytics-next": "^10.2.0",
60
- "@atlaskit/ds-lib": "^3.3.0",
59
+ "@atlaskit/analytics-next": "^10.3.0",
60
+ "@atlaskit/ds-lib": "^3.5.0",
61
61
  "@atlaskit/ssr": "*",
62
62
  "@atlaskit/visual-regression": "*",
63
63
  "@atlassian/feature-flags-test-utils": "*",
64
- "@testing-library/react": "^12.1.5",
64
+ "@testing-library/react": "^13.4.0",
65
65
  "exenv": "^1.2.2",
66
66
  "jest-in-case": "^1.0.2",
67
67
  "jscodeshift": "^0.13.0",
68
- "react-dom": "^16.8.0",
68
+ "react-dom": "^18.2.0",
69
69
  "storybook-addon-performance": "^0.17.3",
70
70
  "typescript": "~5.4.2"
71
71
  },
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
-
3
- import SectionMessage from '../src';
4
-
5
- export default () => <SectionMessage title="Editing is restricted">hello world</SectionMessage>;
@@ -1,24 +0,0 @@
1
- import React from 'react';
2
-
3
- import SectionMessage, { SectionMessageAction } from '../src';
4
-
5
- export default () => {
6
- return (
7
- <SectionMessage
8
- title="The Modern Prometheus"
9
- actions={[
10
- <SectionMessageAction href="https://en.wikipedia.org/wiki/Mary_Shelley">
11
- Mary
12
- </SectionMessageAction>,
13
- <SectionMessageAction href="https://en.wikipedia.org/wiki/Villa_Diodati">
14
- Villa Diodatti
15
- </SectionMessageAction>,
16
- ]}
17
- >
18
- You will rejoice to hear that no disaster has accompanied the commencement of an enterprise
19
- which you have regarded with such evil forebodings. I arrived here yesterday, and my first
20
- task is to assure my dear sister of my welfare and increasing confidence in the success of my
21
- undertaking.
22
- </SectionMessage>
23
- );
24
- };
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
-
3
- import SectionMessage from '../src';
4
-
5
- export default () => {
6
- return (
7
- <SectionMessage title="The Modern Prometheus">
8
- You will rejoice to hear that no disaster has accompanied the commencement of an enterprise
9
- which you have regarded with such evil forebodings. I arrived here yesterday, and my first
10
- task is to assure my dear sister of my welfare and increasing confidence in the success of my
11
- undertaking.
12
- </SectionMessage>
13
- );
14
- };