@wistia/vhs 2.60.1-beta.bd464903.5c6d81e → 2.60.1-beta.c7a8b7ca.3461f4f

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.
@@ -2,23 +2,23 @@ import type { JSX, ComponentPropsWithoutRef } from 'react';
2
2
  export type AvatarInstanceType = 'image' | 'initials';
3
3
  export type AvatarProps = ComponentPropsWithoutRef<'div'> & {
4
4
  /**
5
- * TODO: add a jsdoc description for this prop
5
+ * The height and width of the avatar
6
6
  */
7
7
  heightAndWidth?: number;
8
8
  /**
9
- * TODO: add a jsdoc description for this prop
9
+ * The URL of the image to display
10
10
  */
11
11
  imageUrl?: string | null;
12
12
  /**
13
- * TODO: add a jsdoc description for this prop
13
+ * Initials to display if no image is provided
14
14
  */
15
15
  initials?: string | null;
16
16
  /**
17
- * TODO: add a jsdoc description for this prop
17
+ * A string that will deterministicly set the background color of the avatar
18
18
  */
19
19
  name?: string | null;
20
20
  /**
21
- * TODO: add a jsdoc description for this prop
21
+ * A callback that is invoked after the image has loaded or failed to load
22
22
  */
23
23
  onImageLoad?: (avatarType: AvatarInstanceType) => void;
24
24
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAO3D,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,UAAU,CAAC;AAatD,MAAM,MAAM,WAAW,GAAG,wBAAwB,CAAC,KAAK,CAAC,GAAG;IAC1D;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,UAAU,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACxD,CAAC;AAuDF,eAAO,MAAM,MAAM;+EAOhB,WAAW,GAAG,GAAG,CAAC,OAAO;;CAsD3B,CAAC"}
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAO3D,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,UAAU,CAAC;AAatD,MAAM,MAAM,WAAW,GAAG,wBAAwB,CAAC,KAAK,CAAC,GAAG;IAC1D;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,UAAU,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACxD,CAAC;AA+DF,eAAO,MAAM,MAAM;+EAOhB,WAAW,GAAG,GAAG,CAAC,OAAO;;CAiD3B,CAAC"}
@@ -11,7 +11,7 @@ type IconThumbnailProps = {
11
11
  */
12
12
  thumbnailUrl?: never;
13
13
  /**
14
- * The type of {@link https://wistia.github.io/vhs/?path=/docs/components-icon--docs Icon} to use in place of a thumbnail image
14
+ * The type of {@link https://wistia.github.io/vhs/?path=/docs/components-icon--docs Icon} to use in place of a thumbnail image
15
15
  */
16
16
  icon: IconNameType;
17
17
  /**