dara-ui 0.4.6 → 0.4.8
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/components/Avatar/Avatar.d.ts +3 -2
- package/dist/dara-ui.cjs.js +183 -183
- package/dist/dara-ui.es.js +950 -939
- package/dist/style.css +1 -1
- package/dist/translations/en.d.ts +3 -0
- package/dist/translations/fa.d.ts +3 -0
- package/dist/translations/fr.d.ts +3 -0
- package/dist/translations/index.d.ts +9 -0
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ export interface AvatarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
12
12
|
* Avatar size
|
|
13
13
|
* @default "md"
|
|
14
14
|
*/
|
|
15
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
15
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "hero";
|
|
16
16
|
/**
|
|
17
17
|
* Display a fallback icon instead of image
|
|
18
18
|
* @default false
|
|
@@ -55,11 +55,12 @@ export interface AvatarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
55
55
|
*
|
|
56
56
|
* Features:
|
|
57
57
|
* - Image support with fallback to initials or icon
|
|
58
|
-
* - Multiple sizes (xs, sm, md, lg, xl)
|
|
58
|
+
* - Multiple sizes (xs, sm, md, lg, xl, hero)
|
|
59
59
|
* - Shape variants (circle, rounded, square)
|
|
60
60
|
* - Border and glow effects
|
|
61
61
|
* - Online status indicator
|
|
62
62
|
* - Group stacking
|
|
63
|
+
* - Hero size for profile blocks paired with bio text
|
|
63
64
|
*/
|
|
64
65
|
export declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>>;
|
|
65
66
|
export default Avatar;
|