@heroui/avatar 2.2.18-beta.2 → 2.2.19-beta.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/use-avatar.d.mts +10 -10
- package/dist/use-avatar.d.ts +10 -10
- package/package.json +5 -5
package/dist/use-avatar.d.mts
CHANGED
|
@@ -94,7 +94,7 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
94
94
|
base: (slotProps?: ({
|
|
95
95
|
size?: "md" | "sm" | "lg" | undefined;
|
|
96
96
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
97
|
-
radius?: "
|
|
97
|
+
radius?: "none" | "md" | "full" | "sm" | "lg" | undefined;
|
|
98
98
|
isBordered?: boolean | undefined;
|
|
99
99
|
isDisabled?: boolean | undefined;
|
|
100
100
|
isInGroup?: boolean | undefined;
|
|
@@ -104,7 +104,7 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
104
104
|
img: (slotProps?: ({
|
|
105
105
|
size?: "md" | "sm" | "lg" | undefined;
|
|
106
106
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
107
|
-
radius?: "
|
|
107
|
+
radius?: "none" | "md" | "full" | "sm" | "lg" | undefined;
|
|
108
108
|
isBordered?: boolean | undefined;
|
|
109
109
|
isDisabled?: boolean | undefined;
|
|
110
110
|
isInGroup?: boolean | undefined;
|
|
@@ -114,7 +114,7 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
114
114
|
fallback: (slotProps?: ({
|
|
115
115
|
size?: "md" | "sm" | "lg" | undefined;
|
|
116
116
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
117
|
-
radius?: "
|
|
117
|
+
radius?: "none" | "md" | "full" | "sm" | "lg" | undefined;
|
|
118
118
|
isBordered?: boolean | undefined;
|
|
119
119
|
isDisabled?: boolean | undefined;
|
|
120
120
|
isInGroup?: boolean | undefined;
|
|
@@ -124,7 +124,7 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
124
124
|
name: (slotProps?: ({
|
|
125
125
|
size?: "md" | "sm" | "lg" | undefined;
|
|
126
126
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
127
|
-
radius?: "
|
|
127
|
+
radius?: "none" | "md" | "full" | "sm" | "lg" | undefined;
|
|
128
128
|
isBordered?: boolean | undefined;
|
|
129
129
|
isDisabled?: boolean | undefined;
|
|
130
130
|
isInGroup?: boolean | undefined;
|
|
@@ -134,7 +134,7 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
134
134
|
icon: (slotProps?: ({
|
|
135
135
|
size?: "md" | "sm" | "lg" | undefined;
|
|
136
136
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
137
|
-
radius?: "
|
|
137
|
+
radius?: "none" | "md" | "full" | "sm" | "lg" | undefined;
|
|
138
138
|
isBordered?: boolean | undefined;
|
|
139
139
|
isDisabled?: boolean | undefined;
|
|
140
140
|
isInGroup?: boolean | undefined;
|
|
@@ -145,7 +145,7 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
145
145
|
base: (slotProps?: ({
|
|
146
146
|
size?: "md" | "sm" | "lg" | undefined;
|
|
147
147
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
148
|
-
radius?: "
|
|
148
|
+
radius?: "none" | "md" | "full" | "sm" | "lg" | undefined;
|
|
149
149
|
isBordered?: boolean | undefined;
|
|
150
150
|
isDisabled?: boolean | undefined;
|
|
151
151
|
isInGroup?: boolean | undefined;
|
|
@@ -155,7 +155,7 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
155
155
|
img: (slotProps?: ({
|
|
156
156
|
size?: "md" | "sm" | "lg" | undefined;
|
|
157
157
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
158
|
-
radius?: "
|
|
158
|
+
radius?: "none" | "md" | "full" | "sm" | "lg" | undefined;
|
|
159
159
|
isBordered?: boolean | undefined;
|
|
160
160
|
isDisabled?: boolean | undefined;
|
|
161
161
|
isInGroup?: boolean | undefined;
|
|
@@ -165,7 +165,7 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
165
165
|
fallback: (slotProps?: ({
|
|
166
166
|
size?: "md" | "sm" | "lg" | undefined;
|
|
167
167
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
168
|
-
radius?: "
|
|
168
|
+
radius?: "none" | "md" | "full" | "sm" | "lg" | undefined;
|
|
169
169
|
isBordered?: boolean | undefined;
|
|
170
170
|
isDisabled?: boolean | undefined;
|
|
171
171
|
isInGroup?: boolean | undefined;
|
|
@@ -175,7 +175,7 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
175
175
|
name: (slotProps?: ({
|
|
176
176
|
size?: "md" | "sm" | "lg" | undefined;
|
|
177
177
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
178
|
-
radius?: "
|
|
178
|
+
radius?: "none" | "md" | "full" | "sm" | "lg" | undefined;
|
|
179
179
|
isBordered?: boolean | undefined;
|
|
180
180
|
isDisabled?: boolean | undefined;
|
|
181
181
|
isInGroup?: boolean | undefined;
|
|
@@ -185,7 +185,7 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
185
185
|
icon: (slotProps?: ({
|
|
186
186
|
size?: "md" | "sm" | "lg" | undefined;
|
|
187
187
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
188
|
-
radius?: "
|
|
188
|
+
radius?: "none" | "md" | "full" | "sm" | "lg" | undefined;
|
|
189
189
|
isBordered?: boolean | undefined;
|
|
190
190
|
isDisabled?: boolean | undefined;
|
|
191
191
|
isInGroup?: boolean | undefined;
|
package/dist/use-avatar.d.ts
CHANGED
|
@@ -94,7 +94,7 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
94
94
|
base: (slotProps?: ({
|
|
95
95
|
size?: "md" | "sm" | "lg" | undefined;
|
|
96
96
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
97
|
-
radius?: "
|
|
97
|
+
radius?: "none" | "md" | "full" | "sm" | "lg" | undefined;
|
|
98
98
|
isBordered?: boolean | undefined;
|
|
99
99
|
isDisabled?: boolean | undefined;
|
|
100
100
|
isInGroup?: boolean | undefined;
|
|
@@ -104,7 +104,7 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
104
104
|
img: (slotProps?: ({
|
|
105
105
|
size?: "md" | "sm" | "lg" | undefined;
|
|
106
106
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
107
|
-
radius?: "
|
|
107
|
+
radius?: "none" | "md" | "full" | "sm" | "lg" | undefined;
|
|
108
108
|
isBordered?: boolean | undefined;
|
|
109
109
|
isDisabled?: boolean | undefined;
|
|
110
110
|
isInGroup?: boolean | undefined;
|
|
@@ -114,7 +114,7 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
114
114
|
fallback: (slotProps?: ({
|
|
115
115
|
size?: "md" | "sm" | "lg" | undefined;
|
|
116
116
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
117
|
-
radius?: "
|
|
117
|
+
radius?: "none" | "md" | "full" | "sm" | "lg" | undefined;
|
|
118
118
|
isBordered?: boolean | undefined;
|
|
119
119
|
isDisabled?: boolean | undefined;
|
|
120
120
|
isInGroup?: boolean | undefined;
|
|
@@ -124,7 +124,7 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
124
124
|
name: (slotProps?: ({
|
|
125
125
|
size?: "md" | "sm" | "lg" | undefined;
|
|
126
126
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
127
|
-
radius?: "
|
|
127
|
+
radius?: "none" | "md" | "full" | "sm" | "lg" | undefined;
|
|
128
128
|
isBordered?: boolean | undefined;
|
|
129
129
|
isDisabled?: boolean | undefined;
|
|
130
130
|
isInGroup?: boolean | undefined;
|
|
@@ -134,7 +134,7 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
134
134
|
icon: (slotProps?: ({
|
|
135
135
|
size?: "md" | "sm" | "lg" | undefined;
|
|
136
136
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
137
|
-
radius?: "
|
|
137
|
+
radius?: "none" | "md" | "full" | "sm" | "lg" | undefined;
|
|
138
138
|
isBordered?: boolean | undefined;
|
|
139
139
|
isDisabled?: boolean | undefined;
|
|
140
140
|
isInGroup?: boolean | undefined;
|
|
@@ -145,7 +145,7 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
145
145
|
base: (slotProps?: ({
|
|
146
146
|
size?: "md" | "sm" | "lg" | undefined;
|
|
147
147
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
148
|
-
radius?: "
|
|
148
|
+
radius?: "none" | "md" | "full" | "sm" | "lg" | undefined;
|
|
149
149
|
isBordered?: boolean | undefined;
|
|
150
150
|
isDisabled?: boolean | undefined;
|
|
151
151
|
isInGroup?: boolean | undefined;
|
|
@@ -155,7 +155,7 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
155
155
|
img: (slotProps?: ({
|
|
156
156
|
size?: "md" | "sm" | "lg" | undefined;
|
|
157
157
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
158
|
-
radius?: "
|
|
158
|
+
radius?: "none" | "md" | "full" | "sm" | "lg" | undefined;
|
|
159
159
|
isBordered?: boolean | undefined;
|
|
160
160
|
isDisabled?: boolean | undefined;
|
|
161
161
|
isInGroup?: boolean | undefined;
|
|
@@ -165,7 +165,7 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
165
165
|
fallback: (slotProps?: ({
|
|
166
166
|
size?: "md" | "sm" | "lg" | undefined;
|
|
167
167
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
168
|
-
radius?: "
|
|
168
|
+
radius?: "none" | "md" | "full" | "sm" | "lg" | undefined;
|
|
169
169
|
isBordered?: boolean | undefined;
|
|
170
170
|
isDisabled?: boolean | undefined;
|
|
171
171
|
isInGroup?: boolean | undefined;
|
|
@@ -175,7 +175,7 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
175
175
|
name: (slotProps?: ({
|
|
176
176
|
size?: "md" | "sm" | "lg" | undefined;
|
|
177
177
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
178
|
-
radius?: "
|
|
178
|
+
radius?: "none" | "md" | "full" | "sm" | "lg" | undefined;
|
|
179
179
|
isBordered?: boolean | undefined;
|
|
180
180
|
isDisabled?: boolean | undefined;
|
|
181
181
|
isInGroup?: boolean | undefined;
|
|
@@ -185,7 +185,7 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
185
185
|
icon: (slotProps?: ({
|
|
186
186
|
size?: "md" | "sm" | "lg" | undefined;
|
|
187
187
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
|
|
188
|
-
radius?: "
|
|
188
|
+
radius?: "none" | "md" | "full" | "sm" | "lg" | undefined;
|
|
189
189
|
isBordered?: boolean | undefined;
|
|
190
190
|
isDisabled?: boolean | undefined;
|
|
191
191
|
isInGroup?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heroui/avatar",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.19-beta.0",
|
|
4
4
|
"description": "The Avatar component is used to represent a user, and displays the profile picture, initials or fallback icon.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"avatar"
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
"react": ">=18 || >=19.0.0-rc.0",
|
|
29
29
|
"react-dom": ">=18 || >=19.0.0-rc.0",
|
|
30
30
|
"@heroui/theme": ">=2.4.18-beta.0",
|
|
31
|
-
"@heroui/system": ">=2.4.
|
|
31
|
+
"@heroui/system": ">=2.4.19-beta.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@react-aria/interactions": "3.25.3",
|
|
35
35
|
"@react-aria/focus": "3.20.5",
|
|
36
|
-
"@heroui/
|
|
37
|
-
"@heroui/
|
|
38
|
-
"@heroui/
|
|
36
|
+
"@heroui/shared-utils": "2.1.10-beta.5",
|
|
37
|
+
"@heroui/react-utils": "2.1.12-beta.3",
|
|
38
|
+
"@heroui/use-image": "2.1.11-beta.3"
|
|
39
39
|
},
|
|
40
40
|
"clean-package": "../../../clean-package.config.json",
|
|
41
41
|
"module": "dist/index.mjs",
|