@atlaskit/section-message 10.1.0 → 10.1.1

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,14 @@
1
1
  # @atlaskit/section-message
2
2
 
3
+ ## 10.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`38c7085c92a3a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/38c7085c92a3a) -
8
+ Experimental React 19 peer dependency support. This patch widens the peer range; CI coverage is
9
+ partial.
10
+ - Updated dependencies
11
+
3
12
  ## 10.1.0
4
13
 
5
14
  ### Minor Changes
@@ -12,7 +12,7 @@ var _react = _interopRequireWildcard(require("react"));
12
12
  var React = _react;
13
13
  var _runtime = require("@compiled/react/runtime");
14
14
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
15
- var _new = require("@atlaskit/button/new");
15
+ var _button = _interopRequireDefault(require("@atlaskit/button/icon/button"));
16
16
  var _heading = _interopRequireDefault(require("@atlaskit/heading/heading"));
17
17
  var _cross = _interopRequireDefault(require("@atlaskit/icon/core/cross"));
18
18
  var _fg = require("@atlaskit/platform-feature-flags/fg");
@@ -118,7 +118,7 @@ var SectionMessage = /*#__PURE__*/(0, _react.forwardRef)(function SectionMessage
118
118
  );
119
119
  }))), isDismissible && /*#__PURE__*/React.createElement("div", {
120
120
  className: (0, _runtime.ax)([sectionMessageStyles.dismissButtonContainer])
121
- }, /*#__PURE__*/React.createElement(_new.IconButton, {
121
+ }, /*#__PURE__*/React.createElement(_button.default, {
122
122
  testId: testId && "".concat(testId, "--dismiss-button"),
123
123
  label: "Dismiss",
124
124
  icon: _cross.default,
@@ -3,7 +3,7 @@ import "./section-message.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import { Children, forwardRef, Fragment, useCallback, useState } from 'react';
6
- import { IconButton } from '@atlaskit/button/new';
6
+ import IconButton from '@atlaskit/button/icon/button';
7
7
  import Heading from '@atlaskit/heading/heading';
8
8
  import CrossIcon from '@atlaskit/icon/core/cross';
9
9
  import { fg } from '@atlaskit/platform-feature-flags/fg';
@@ -4,7 +4,7 @@ import "./section-message.compiled.css";
4
4
  import * as React from 'react';
5
5
  import { ax, ix } from "@compiled/react/runtime";
6
6
  import { Children, forwardRef, Fragment, useCallback, useState } from 'react';
7
- import { IconButton } from '@atlaskit/button/new';
7
+ import IconButton from '@atlaskit/button/icon/button';
8
8
  import Heading from '@atlaskit/heading/heading';
9
9
  import CrossIcon from '@atlaskit/icon/core/cross';
10
10
  import { fg } from '@atlaskit/platform-feature-flags/fg';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/section-message",
3
- "version": "10.1.0",
3
+ "version": "10.1.1",
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/"
@@ -32,24 +32,24 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/button": "^25.2.0",
35
- "@atlaskit/css": "^1.0.0",
35
+ "@atlaskit/css": "^1.1.0",
36
36
  "@atlaskit/heading": "^7.1.0",
37
37
  "@atlaskit/icon": "^37.5.0",
38
38
  "@atlaskit/link": "^5.1.0",
39
39
  "@atlaskit/platform-feature-flags": "^2.1.0",
40
40
  "@atlaskit/primitives": "^22.4.0",
41
41
  "@atlaskit/react-compiler-gating": "^0.2.0",
42
- "@atlaskit/tokens": "^16.8.0",
42
+ "@atlaskit/tokens": "^16.9.0",
43
43
  "@babel/runtime": "^7.0.0"
44
44
  },
45
45
  "peerDependencies": {
46
- "react": "^18.2.0"
46
+ "react": "^18.2.0 || ^19.0.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@af/accessibility-testing": "workspace:^",
50
50
  "@af/integration-testing": "workspace:^",
51
51
  "@af/visual-regression": "workspace:^",
52
- "@atlaskit/analytics-next": "^12.3.0",
52
+ "@atlaskit/analytics-next": "^12.4.0",
53
53
  "@atlaskit/code": "^19.1.0",
54
54
  "@atlaskit/docs": "^12.2.0",
55
55
  "@atlaskit/ds-lib": "^8.0.0",
@@ -59,8 +59,8 @@
59
59
  "@atlassian/structured-docs-types": "workspace:^",
60
60
  "@testing-library/react": "^16.3.0",
61
61
  "@testing-library/user-event": "^14.4.3",
62
- "react": "^18.2.0",
63
- "react-dom": "^18.2.0"
62
+ "react": "^19.0.0",
63
+ "react-dom": "^19.2.0"
64
64
  },
65
65
  "platform-feature-flags": {
66
66
  "platform-dst-shape-theme-default": {