@livetiles/reach-plugin-types 0.5.0-preview.900 → 0.5.0-preview.902

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +24 -1
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -5309,10 +5309,13 @@ declare module "libs/reach/ui/common/src/reach-2/avatar/Avatar" {
5309
5309
  xl = 5
5310
5310
  }
5311
5311
  interface IProps {
5312
+ backgroundColor?: string;
5313
+ className?: string;
5312
5314
  displayName: string;
5315
+ noInitials?: boolean;
5313
5316
  size?: AvatarSize;
5314
5317
  tenantId?: string;
5315
- userPrincipalName: string;
5318
+ userPrincipalName?: string;
5316
5319
  }
5317
5320
  const Avatar: FC<IProps>;
5318
5321
  export default Avatar;
@@ -5331,9 +5334,27 @@ declare module "libs/reach/ui/common/src/reach-2/avatar/Persona" {
5331
5334
  const Persona: FC<IProps>;
5332
5335
  export default Persona;
5333
5336
  }
5337
+ declare module "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar" {
5338
+ import { FC } from 'react';
5339
+ import { AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
5340
+ interface AvatarUser {
5341
+ displayName?: string;
5342
+ userPrincipalName?: string;
5343
+ }
5344
+ interface CommentsGroupAvatarProps {
5345
+ avatarsLimit?: number;
5346
+ avatarsSize?: AvatarSize;
5347
+ users: AvatarUser[];
5348
+ }
5349
+ const GroupAvatar: FC<CommentsGroupAvatarProps>;
5350
+ export default GroupAvatar;
5351
+ export type { AvatarUser };
5352
+ }
5334
5353
  declare module "libs/reach/ui/common/src/reach-2/avatar/index" {
5335
5354
  export { default as Avatar2, AvatarSize } from "libs/reach/ui/common/src/reach-2/avatar/Avatar";
5336
5355
  export { default as Persona } from "libs/reach/ui/common/src/reach-2/avatar/Persona";
5356
+ export { default as GroupAvatar2 } from "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar";
5357
+ export type { AvatarUser } from "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar";
5337
5358
  }
5338
5359
  declare module "libs/reach/ui/common/src/reach-2/progress/Skeleton" {
5339
5360
  import { FC } from 'react';
@@ -5344,6 +5365,7 @@ declare module "libs/reach/ui/common/src/reach-2/progress/Skeleton" {
5344
5365
  gap?: number;
5345
5366
  }, never>;
5346
5367
  export const SkeletonBlockGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
5368
+ gap?: number;
5347
5369
  marginTop?: number;
5348
5370
  }, never>;
5349
5371
  export const SkeletonAvatar: FC<{
@@ -5666,6 +5688,7 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/BaseDialog" {
5666
5688
  isOpen?: boolean;
5667
5689
  onDismiss?: (event?: MouseEvent<HTMLButtonElement>) => void;
5668
5690
  title?: string;
5691
+ titleSize?: 'large' | 'small';
5669
5692
  triggerButton?: HTMLButtonElement | JSX.Element;
5670
5693
  type?: DialogType;
5671
5694
  }
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.900",
7
+ "version": "0.5.0-preview.902",
8
8
  "dependencies": {}
9
9
  }