@factorialco/f0-react 1.248.0 → 1.249.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.
@@ -617,6 +617,8 @@ declare type AvatarBadge = ({
617
617
  tooltip?: string;
618
618
  };
619
619
 
620
+ declare const avatarEmojiSizes: readonly ["sm", "md", "lg", "xl"];
621
+
620
622
  declare type AvatarFileSize = (typeof avatarFileSizes)[number];
621
623
 
622
624
  declare const avatarFileSizes: readonly ["xs", "sm", "md", "lg"];
@@ -628,6 +630,8 @@ declare const avatarSizes: readonly ["xs", "sm", "md", "lg", "xl", "2xl"];
628
630
  declare type AvatarVariant = DistributiveOmit<({
629
631
  type: "person";
630
632
  } & F0AvatarPersonProps) | ({
633
+ type: "emoji";
634
+ } & F0AvatarEmojiProps) | ({
631
635
  type: "team";
632
636
  } & F0AvatarTeamProps) | ({
633
637
  type: "company";
@@ -2381,6 +2385,11 @@ declare type F0AvatarCompanyProps = {
2381
2385
  badge?: AvatarBadge;
2382
2386
  } & Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">;
2383
2387
 
2388
+ declare type F0AvatarEmojiProps = {
2389
+ emoji: string;
2390
+ size?: (typeof avatarEmojiSizes)[number];
2391
+ } & Partial<Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">>;
2392
+
2384
2393
  declare type F0AvatarFileProps = Omit<React.ComponentPropsWithoutRef<typeof Avatar>, "type" | "size"> & {
2385
2394
  file: FileDef;
2386
2395
  size?: AvatarFileSize;