@atlaskit/section-message 8.5.0 → 8.5.2

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
+ ## 8.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 8.5.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 8.5.0
4
16
 
5
17
  ### Minor Changes
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { type ComponentType } from 'react';
2
2
  import type { Appearance, SectionMessageProps } from '../types';
3
3
  export declare function getAppearanceIconStyles(appearance: Appearance, icon: SectionMessageProps['icon']): {
4
4
  Icon: React.ElementType<any, keyof React.JSX.IntrinsicElements> | (({ size, primaryColor, secondaryColor, }: {
@@ -8,5 +8,5 @@ export declare function getAppearanceIconStyles(appearance: Appearance, icon: Se
8
8
  }) => React.JSX.Element);
9
9
  backgroundColor: string;
10
10
  primaryIconColor: string;
11
- LegacyFallbackIcon?: React.ComponentType<any> | undefined;
11
+ LegacyFallbackIcon?: ComponentType<any>;
12
12
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { SectionMessageActionProps } from './types';
3
2
  /**
4
3
  * __Section message action__
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { SectionMessageProps } from './types';
3
2
  /**
4
3
  * __Section message__
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { type ComponentType } from 'react';
2
2
  import type { Appearance, SectionMessageProps } from '../types';
3
3
  export declare function getAppearanceIconStyles(appearance: Appearance, icon: SectionMessageProps['icon']): {
4
4
  Icon: React.ElementType<any, keyof React.JSX.IntrinsicElements> | (({ size, primaryColor, secondaryColor, }: {
@@ -8,5 +8,5 @@ export declare function getAppearanceIconStyles(appearance: Appearance, icon: Se
8
8
  }) => React.JSX.Element);
9
9
  backgroundColor: string;
10
10
  primaryIconColor: string;
11
- LegacyFallbackIcon?: React.ComponentType<any> | undefined;
11
+ LegacyFallbackIcon?: ComponentType<any>;
12
12
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { SectionMessageActionProps } from './types';
3
2
  /**
4
3
  * __Section message action__
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { SectionMessageProps } from './types';
3
2
  /**
4
3
  * __Section message__
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/section-message",
3
- "version": "8.5.0",
3
+ "version": "8.5.2",
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/"
@@ -38,16 +38,16 @@
38
38
  ".": "./src/index.tsx"
39
39
  },
40
40
  "dependencies": {
41
- "@atlaskit/button": "^23.3.0",
41
+ "@atlaskit/button": "^23.4.0",
42
42
  "@atlaskit/codemod-utils": "^4.2.0",
43
43
  "@atlaskit/css": "^0.12.0",
44
44
  "@atlaskit/heading": "^5.2.0",
45
- "@atlaskit/icon": "^27.7.0",
45
+ "@atlaskit/icon": "^28.0.0",
46
46
  "@atlaskit/link": "^3.2.0",
47
47
  "@atlaskit/platform-feature-flags": "^1.1.0",
48
- "@atlaskit/primitives": "^14.10.0",
48
+ "@atlaskit/primitives": "^14.11.0",
49
49
  "@atlaskit/theme": "^19.0.0",
50
- "@atlaskit/tokens": "^5.6.0",
50
+ "@atlaskit/tokens": "^6.0.0",
51
51
  "@babel/runtime": "^7.0.0"
52
52
  },
53
53
  "peerDependencies": {
@@ -61,14 +61,13 @@
61
61
  "@atlaskit/code": "^17.2.0",
62
62
  "@atlaskit/docs": "^11.0.0",
63
63
  "@atlaskit/ds-lib": "^5.0.0",
64
- "@atlaskit/form": "^12.0.0",
65
- "@atlaskit/range": "^9.1.0",
64
+ "@atlaskit/form": "^12.1.0",
65
+ "@atlaskit/range": "^9.2.0",
66
66
  "@atlassian/feature-flags-test-utils": "^0.3.0",
67
67
  "@atlassian/ssr-tests": "^0.2.0",
68
68
  "@testing-library/react": "^13.4.0",
69
69
  "@testing-library/user-event": "^14.4.3",
70
- "react-dom": "^18.2.0",
71
- "typescript": "~5.4.2"
70
+ "react-dom": "^18.2.0"
72
71
  },
73
72
  "techstack": {
74
73
  "@atlassian/frontend": {
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/section-message.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/section-message.d.ts"
14
14
  ]
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/section-message-action.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/section-message-action.d.ts"
14
14
  ]
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/types.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/types.d.ts"
14
14
  ]