@atlaskit/inline-message 12.0.4 → 12.1.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.
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/constants.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/constants.d.ts"
12
12
  ]
@@ -43,7 +43,7 @@ interface InlineMessageProps {
43
43
  */
44
44
  testId?: string;
45
45
  /**
46
- * Text to be used as label for the button icon. Can be used to provide useful information for users with screen readers when there is no title and/or secondaryText
46
+ * Text to be used as the label for the button icon. You must use this to provide information for people who use assistive technology when there is no title and/or secondaryText.
47
47
  */
48
48
  iconLabel?: string;
49
49
  }
@@ -43,7 +43,7 @@ interface InlineMessageProps {
43
43
  */
44
44
  testId?: string;
45
45
  /**
46
- * Text to be used as label for the button icon. Can be used to provide useful information for users with screen readers when there is no title and/or secondaryText
46
+ * Text to be used as the label for the button icon. You must use this to provide information for people who use assistive technology when there is no title and/or secondaryText.
47
47
  */
48
48
  iconLabel?: string;
49
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/inline-message",
3
- "version": "12.0.4",
3
+ "version": "12.1.0",
4
4
  "description": "An inline message lets users know when important information is available or when an action is required.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -28,25 +28,26 @@
28
28
  "website": {
29
29
  "name": "Inline message",
30
30
  "category": "Components"
31
- }
31
+ },
32
+ "runReact18": true
32
33
  },
33
34
  "dependencies": {
34
- "@atlaskit/button": "^17.2.0",
35
- "@atlaskit/icon": "^22.0.0",
35
+ "@atlaskit/button": "^17.14.0",
36
+ "@atlaskit/icon": "^22.1.0",
36
37
  "@atlaskit/inline-dialog": "^14.0.0",
37
- "@atlaskit/theme": "^12.6.0",
38
- "@atlaskit/tokens": "^1.34.0",
38
+ "@atlaskit/theme": "^12.7.0",
39
+ "@atlaskit/tokens": "^1.45.0",
39
40
  "@babel/runtime": "^7.0.0",
40
41
  "@emotion/react": "^11.7.1"
41
42
  },
42
43
  "peerDependencies": {
43
- "react": "^16.8.0"
44
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
44
45
  },
45
46
  "devDependencies": {
46
47
  "@af/accessibility-testing": "*",
47
48
  "@af/integration-testing": "*",
48
49
  "@af/visual-regression": "*",
49
- "@atlaskit/ds-lib": "^2.2.0",
50
+ "@atlaskit/ds-lib": "^2.3.0",
50
51
  "@atlaskit/ssr": "*",
51
52
  "@atlaskit/visual-regression": "*",
52
53
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
@@ -54,7 +55,7 @@
54
55
  "@testing-library/react": "^12.1.5",
55
56
  "@testing-library/user-event": "^14.4.3",
56
57
  "react-dom": "^16.8.0",
57
- "typescript": "~4.9.5"
58
+ "typescript": "~5.4.2"
58
59
  },
59
60
  "keywords": [
60
61
  "atlaskit",
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/types.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/types.d.ts"
12
12
  ]