@toptal/picasso-avatar 1.0.3 → 1.0.4

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.
@@ -1,8 +1,18 @@
1
- import { Avatar } from '../Avatar';
2
- import { AvatarGroup } from '../AvatarGroup';
3
- declare type AvatarCompoundType = typeof Avatar & {
4
- Group: typeof AvatarGroup;
1
+ /// <reference types="react" />
2
+ export declare const AvatarCompound: {
3
+ (props: import("../Avatar/Avatar").Props): JSX.Element;
4
+ defaultProps: {
5
+ size: string;
6
+ variant: string;
7
+ };
8
+ displayName: string;
9
+ } & {
10
+ Group: {
11
+ ({ className, style, testIds, items, limit, size, }: import("../AvatarGroup/AvatarGroup").Props): JSX.Element | null;
12
+ defaultProps: {
13
+ limit: number;
14
+ size: string;
15
+ };
16
+ };
5
17
  };
6
- export declare const AvatarCompound: AvatarCompoundType;
7
- export {};
8
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/AvatarCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE5C,aAAK,kBAAkB,GAAG,OAAO,MAAM,GAAG;IACxC,KAAK,EAAE,OAAO,WAAW,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,kBAE3B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/AvatarCompound/index.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;CAEzB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/AvatarCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAM5C,MAAM,CAAC,MAAM,cAAc,GAAuB,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE;IACtE,KAAK,EAAE,WAAW;CACnB,CAAC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/AvatarCompound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE5C,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE;IAClD,KAAK,EAAE,WAAW;CACnB,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/picasso-avatar",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Toptal UI components library - Avatar",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -1,10 +1,6 @@
1
1
  import { Avatar } from '../Avatar'
2
2
  import { AvatarGroup } from '../AvatarGroup'
3
3
 
4
- type AvatarCompoundType = typeof Avatar & {
5
- Group: typeof AvatarGroup
6
- }
7
-
8
- export const AvatarCompound: AvatarCompoundType = Object.assign(Avatar, {
4
+ export const AvatarCompound = Object.assign(Avatar, {
9
5
  Group: AvatarGroup,
10
6
  })