@factorialco/f0-react 1.248.0 → 1.249.0
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/dist/experimental.d.ts +14 -5
- package/dist/experimental.js +2975 -3000
- package/dist/f0.d.ts +12 -8
- package/dist/f0.js +2 -2
- package/dist/{hooks-aTs1kEhF.js → hooks-MY9wJB8E.js} +25692 -25658
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -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;
|
|
@@ -5609,11 +5618,6 @@ declare module "@tiptap/core" {
|
|
|
5609
5618
|
}
|
|
5610
5619
|
|
|
5611
5620
|
|
|
5612
|
-
declare namespace Calendar {
|
|
5613
|
-
var displayName: string;
|
|
5614
|
-
}
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
5621
|
declare module "@tiptap/core" {
|
|
5618
5622
|
interface Commands<ReturnType> {
|
|
5619
5623
|
moodTracker: {
|
|
@@ -5621,3 +5625,8 @@ declare module "@tiptap/core" {
|
|
|
5621
5625
|
};
|
|
5622
5626
|
}
|
|
5623
5627
|
}
|
|
5628
|
+
|
|
5629
|
+
|
|
5630
|
+
declare namespace Calendar {
|
|
5631
|
+
var displayName: string;
|
|
5632
|
+
}
|