@atlaskit/section-message 10.1.0 → 10.2.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,25 @@
1
1
  # @atlaskit/section-message
2
2
 
3
+ ## 10.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) -
8
+ Remove stale API report artifacts from published Platform packages.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 10.1.1
15
+
16
+ ### Patch Changes
17
+
18
+ - [`38c7085c92a3a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/38c7085c92a3a) -
19
+ Experimental React 19 peer dependency support. This patch widens the peer range; CI coverage is
20
+ partial.
21
+ - Updated dependencies
22
+
3
23
  ## 10.1.0
4
24
 
5
25
  ### 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.2.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/"
@@ -31,36 +31,36 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@atlaskit/button": "^25.2.0",
35
- "@atlaskit/css": "^1.0.0",
36
- "@atlaskit/heading": "^7.1.0",
37
- "@atlaskit/icon": "^37.5.0",
34
+ "@atlaskit/button": "^25.3.0",
35
+ "@atlaskit/css": "^1.1.0",
36
+ "@atlaskit/heading": "^7.2.0",
37
+ "@atlaskit/icon": "^37.6.0",
38
38
  "@atlaskit/link": "^5.1.0",
39
- "@atlaskit/platform-feature-flags": "^2.1.0",
40
- "@atlaskit/primitives": "^22.4.0",
39
+ "@atlaskit/platform-feature-flags": "^2.2.0",
40
+ "@atlaskit/primitives": "^22.5.0",
41
41
  "@atlaskit/react-compiler-gating": "^0.2.0",
42
- "@atlaskit/tokens": "^16.8.0",
42
+ "@atlaskit/tokens": "^16.10.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",
53
- "@atlaskit/code": "^19.1.0",
52
+ "@atlaskit/analytics-next": "^12.5.0",
53
+ "@atlaskit/code": "^19.2.0",
54
54
  "@atlaskit/docs": "^12.2.0",
55
55
  "@atlaskit/ds-lib": "^8.0.0",
56
- "@atlaskit/form": "^17.1.0",
57
- "@atlaskit/range": "^12.1.0",
56
+ "@atlaskit/form": "^17.2.0",
57
+ "@atlaskit/range": "^12.2.0",
58
58
  "@atlassian/ssr-tests": "workspace:^",
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": {
package/report.api.md DELETED
@@ -1,69 +0,0 @@
1
- <!-- API Report Version: 2.3 -->
2
-
3
- ## API Report File for "@atlaskit/section-message"
4
-
5
- > Do not edit this file. This report is auto-generated using
6
- > [API Extractor](https://api-extractor.com/).
7
- > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
8
-
9
- ### Table of contents
10
-
11
- - [Main Entry Types](#main-entry-types)
12
- - [Peer Dependencies](#peer-dependencies)
13
-
14
- ### Main Entry Types
15
-
16
- <!--SECTION START: Main Entry Types-->
17
-
18
- ```ts
19
- import { default as React_2 } from 'react';
20
- import type { ReactElement } from 'react';
21
- import type { UIAnalyticsEvent } from '@atlaskit/analytics-next';
22
-
23
- // @public
24
- export type Appearance = 'discovery' | 'error' | 'information' | 'success' | 'warning';
25
-
26
- // @public
27
- const SectionMessage: React_2.ForwardRefExoticComponent<
28
- SectionMessageProps & React_2.RefAttributes<HTMLElement>
29
- >;
30
- export default SectionMessage;
31
-
32
- // @public
33
- export const SectionMessageAction: React_2.NamedExoticComponent<SectionMessageActionProps>;
34
-
35
- // @public (undocumented)
36
- export interface SectionMessageActionProps {
37
- children: React.ReactNode;
38
- href?: string;
39
- linkComponent?: React.ComponentType<any>;
40
- onClick?: (e: React.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent) => void;
41
- testId?: string;
42
- }
43
-
44
- // @public (undocumented)
45
- export interface SectionMessageProps {
46
- actions?: ReactElement | ReactElement<SectionMessageActionProps>[];
47
- appearance?: Appearance;
48
- children: React.ReactNode;
49
- icon?: React.ElementType;
50
- testId?: string;
51
- title?: string;
52
- }
53
-
54
- // (No @packageDocumentation comment for this package)
55
- ```
56
-
57
- <!--SECTION END: Main Entry Types-->
58
-
59
- ### Peer Dependencies
60
-
61
- <!--SECTION START: Peer Dependencies-->
62
-
63
- ```json
64
- {
65
- "react": "^16.8.0"
66
- }
67
- ```
68
-
69
- <!--SECTION END: Peer Dependencies-->