@atlaskit/avatar-group 9.3.0 → 9.3.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,11 @@
1
1
  # @atlaskit/avatar-group
2
2
 
3
+ ## 9.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
8
+
3
9
  ## 9.3.0
4
10
 
5
11
  ### Minor Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar-group",
3
- "version": "9.3.0",
3
+ "version": "9.3.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar-group",
3
- "version": "9.3.0",
3
+ "version": "9.3.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar-group",
3
- "version": "9.3.0",
3
+ "version": "9.3.1",
4
4
  "sideEffects": false
5
5
  }
@@ -2,10 +2,10 @@ import type { ElementType, ReactNode } from 'react';
2
2
  import type { AnalyticsEvent } from '@atlaskit/analytics-next';
3
3
  import type { AvatarPropTypes } from '@atlaskit/avatar';
4
4
  import type { AvatarGroupItemProps } from './avatar-group-item';
5
- export declare type DeepRequired<T> = {
5
+ export type DeepRequired<T> = {
6
6
  [P in keyof T]-?: Required<T[P]>;
7
7
  };
8
- export declare type AvatarProps = AvatarPropTypes & {
8
+ export type AvatarProps = AvatarPropTypes & {
9
9
  name: string;
10
10
  key?: string | number;
11
11
  };
@@ -17,4 +17,4 @@ export interface AvatarGroupOverrides {
17
17
  render?: (Component: ElementType<AvatarProps>, props: AvatarProps, index: number) => ReactNode;
18
18
  };
19
19
  }
20
- export declare type onAvatarClickHandler = (event: React.MouseEvent, analyticsEvent: AnalyticsEvent | undefined, index: number) => void;
20
+ export type onAvatarClickHandler = (event: React.MouseEvent, analyticsEvent: AnalyticsEvent | undefined, index: number) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar-group",
3
- "version": "9.3.0",
3
+ "version": "9.3.1",
4
4
  "description": "An avatar group displays a number of avatars grouped together in a stack or grid.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -12,6 +12,14 @@
12
12
  "module": "dist/esm/index.js",
13
13
  "module:es2019": "dist/es2019/index.js",
14
14
  "types": "dist/types/index.d.ts",
15
+ "typesVersions": {
16
+ ">=4.5 <4.9": {
17
+ "*": [
18
+ "dist/types-ts4.5/*",
19
+ "dist/types-ts4.5/index.d.ts"
20
+ ]
21
+ }
22
+ },
15
23
  "sideEffects": false,
16
24
  "atlaskit:src": "src/index.tsx",
17
25
  "atlassian": {
@@ -30,7 +38,7 @@
30
38
  "@atlaskit/menu": "^1.6.0",
31
39
  "@atlaskit/popup": "^1.6.0",
32
40
  "@atlaskit/theme": "^12.5.0",
33
- "@atlaskit/tokens": "^1.3.0",
41
+ "@atlaskit/tokens": "^1.4.0",
34
42
  "@atlaskit/tooltip": "^17.8.0",
35
43
  "@babel/runtime": "^7.0.0",
36
44
  "@emotion/react": "^11.7.1"
@@ -57,7 +65,7 @@
57
65
  "@testing-library/react": "^12.1.5",
58
66
  "lodash": "^4.17.21",
59
67
  "react-dom": "^16.8.0",
60
- "typescript": "4.5.5",
68
+ "typescript": "~4.9.5",
61
69
  "wait-for-expect": "^1.2.0"
62
70
  },
63
71
  "keywords": [