@kopexa/avatar 17.0.6 → 17.0.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/use-avatar.d.mts +20 -20
- package/dist/use-avatar.d.ts +20 -20
- package/package.json +4 -4
package/dist/use-avatar.d.mts
CHANGED
|
@@ -42,8 +42,8 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
42
42
|
slots: {
|
|
43
43
|
root: (slotProps?: ({
|
|
44
44
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "destructive" | undefined;
|
|
45
|
-
radius?: "none" | "md" | "
|
|
46
|
-
size?: "md" | "
|
|
45
|
+
radius?: "none" | "md" | "lg" | "sm" | "full" | undefined;
|
|
46
|
+
size?: "md" | "lg" | "sm" | "2xs" | "xs" | undefined;
|
|
47
47
|
isBordered?: boolean | undefined;
|
|
48
48
|
isDisabled?: boolean | undefined;
|
|
49
49
|
isInGroup?: boolean | undefined;
|
|
@@ -51,8 +51,8 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
51
51
|
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string;
|
|
52
52
|
img: (slotProps?: ({
|
|
53
53
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "destructive" | undefined;
|
|
54
|
-
radius?: "none" | "md" | "
|
|
55
|
-
size?: "md" | "
|
|
54
|
+
radius?: "none" | "md" | "lg" | "sm" | "full" | undefined;
|
|
55
|
+
size?: "md" | "lg" | "sm" | "2xs" | "xs" | undefined;
|
|
56
56
|
isBordered?: boolean | undefined;
|
|
57
57
|
isDisabled?: boolean | undefined;
|
|
58
58
|
isInGroup?: boolean | undefined;
|
|
@@ -60,8 +60,8 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
60
60
|
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string;
|
|
61
61
|
fallback: (slotProps?: ({
|
|
62
62
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "destructive" | undefined;
|
|
63
|
-
radius?: "none" | "md" | "
|
|
64
|
-
size?: "md" | "
|
|
63
|
+
radius?: "none" | "md" | "lg" | "sm" | "full" | undefined;
|
|
64
|
+
size?: "md" | "lg" | "sm" | "2xs" | "xs" | undefined;
|
|
65
65
|
isBordered?: boolean | undefined;
|
|
66
66
|
isDisabled?: boolean | undefined;
|
|
67
67
|
isInGroup?: boolean | undefined;
|
|
@@ -69,8 +69,8 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
69
69
|
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string;
|
|
70
70
|
name: (slotProps?: ({
|
|
71
71
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "destructive" | undefined;
|
|
72
|
-
radius?: "none" | "md" | "
|
|
73
|
-
size?: "md" | "
|
|
72
|
+
radius?: "none" | "md" | "lg" | "sm" | "full" | undefined;
|
|
73
|
+
size?: "md" | "lg" | "sm" | "2xs" | "xs" | undefined;
|
|
74
74
|
isBordered?: boolean | undefined;
|
|
75
75
|
isDisabled?: boolean | undefined;
|
|
76
76
|
isInGroup?: boolean | undefined;
|
|
@@ -78,8 +78,8 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
78
78
|
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string;
|
|
79
79
|
icon: (slotProps?: ({
|
|
80
80
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "destructive" | undefined;
|
|
81
|
-
radius?: "none" | "md" | "
|
|
82
|
-
size?: "md" | "
|
|
81
|
+
radius?: "none" | "md" | "lg" | "sm" | "full" | undefined;
|
|
82
|
+
size?: "md" | "lg" | "sm" | "2xs" | "xs" | undefined;
|
|
83
83
|
isBordered?: boolean | undefined;
|
|
84
84
|
isDisabled?: boolean | undefined;
|
|
85
85
|
isInGroup?: boolean | undefined;
|
|
@@ -88,8 +88,8 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
88
88
|
} & {
|
|
89
89
|
root: (slotProps?: ({
|
|
90
90
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "destructive" | undefined;
|
|
91
|
-
radius?: "none" | "md" | "
|
|
92
|
-
size?: "md" | "
|
|
91
|
+
radius?: "none" | "md" | "lg" | "sm" | "full" | undefined;
|
|
92
|
+
size?: "md" | "lg" | "sm" | "2xs" | "xs" | undefined;
|
|
93
93
|
isBordered?: boolean | undefined;
|
|
94
94
|
isDisabled?: boolean | undefined;
|
|
95
95
|
isInGroup?: boolean | undefined;
|
|
@@ -97,8 +97,8 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
97
97
|
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string;
|
|
98
98
|
img: (slotProps?: ({
|
|
99
99
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "destructive" | undefined;
|
|
100
|
-
radius?: "none" | "md" | "
|
|
101
|
-
size?: "md" | "
|
|
100
|
+
radius?: "none" | "md" | "lg" | "sm" | "full" | undefined;
|
|
101
|
+
size?: "md" | "lg" | "sm" | "2xs" | "xs" | undefined;
|
|
102
102
|
isBordered?: boolean | undefined;
|
|
103
103
|
isDisabled?: boolean | undefined;
|
|
104
104
|
isInGroup?: boolean | undefined;
|
|
@@ -106,8 +106,8 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
106
106
|
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string;
|
|
107
107
|
fallback: (slotProps?: ({
|
|
108
108
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "destructive" | undefined;
|
|
109
|
-
radius?: "none" | "md" | "
|
|
110
|
-
size?: "md" | "
|
|
109
|
+
radius?: "none" | "md" | "lg" | "sm" | "full" | undefined;
|
|
110
|
+
size?: "md" | "lg" | "sm" | "2xs" | "xs" | undefined;
|
|
111
111
|
isBordered?: boolean | undefined;
|
|
112
112
|
isDisabled?: boolean | undefined;
|
|
113
113
|
isInGroup?: boolean | undefined;
|
|
@@ -115,8 +115,8 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
115
115
|
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string;
|
|
116
116
|
name: (slotProps?: ({
|
|
117
117
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "destructive" | undefined;
|
|
118
|
-
radius?: "none" | "md" | "
|
|
119
|
-
size?: "md" | "
|
|
118
|
+
radius?: "none" | "md" | "lg" | "sm" | "full" | undefined;
|
|
119
|
+
size?: "md" | "lg" | "sm" | "2xs" | "xs" | undefined;
|
|
120
120
|
isBordered?: boolean | undefined;
|
|
121
121
|
isDisabled?: boolean | undefined;
|
|
122
122
|
isInGroup?: boolean | undefined;
|
|
@@ -124,8 +124,8 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
124
124
|
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string;
|
|
125
125
|
icon: (slotProps?: ({
|
|
126
126
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "destructive" | undefined;
|
|
127
|
-
radius?: "none" | "md" | "
|
|
128
|
-
size?: "md" | "
|
|
127
|
+
radius?: "none" | "md" | "lg" | "sm" | "full" | undefined;
|
|
128
|
+
size?: "md" | "lg" | "sm" | "2xs" | "xs" | undefined;
|
|
129
129
|
isBordered?: boolean | undefined;
|
|
130
130
|
isDisabled?: boolean | undefined;
|
|
131
131
|
isInGroup?: boolean | undefined;
|
package/dist/use-avatar.d.ts
CHANGED
|
@@ -42,8 +42,8 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
42
42
|
slots: {
|
|
43
43
|
root: (slotProps?: ({
|
|
44
44
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "destructive" | undefined;
|
|
45
|
-
radius?: "none" | "md" | "
|
|
46
|
-
size?: "md" | "
|
|
45
|
+
radius?: "none" | "md" | "lg" | "sm" | "full" | undefined;
|
|
46
|
+
size?: "md" | "lg" | "sm" | "2xs" | "xs" | undefined;
|
|
47
47
|
isBordered?: boolean | undefined;
|
|
48
48
|
isDisabled?: boolean | undefined;
|
|
49
49
|
isInGroup?: boolean | undefined;
|
|
@@ -51,8 +51,8 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
51
51
|
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string;
|
|
52
52
|
img: (slotProps?: ({
|
|
53
53
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "destructive" | undefined;
|
|
54
|
-
radius?: "none" | "md" | "
|
|
55
|
-
size?: "md" | "
|
|
54
|
+
radius?: "none" | "md" | "lg" | "sm" | "full" | undefined;
|
|
55
|
+
size?: "md" | "lg" | "sm" | "2xs" | "xs" | undefined;
|
|
56
56
|
isBordered?: boolean | undefined;
|
|
57
57
|
isDisabled?: boolean | undefined;
|
|
58
58
|
isInGroup?: boolean | undefined;
|
|
@@ -60,8 +60,8 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
60
60
|
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string;
|
|
61
61
|
fallback: (slotProps?: ({
|
|
62
62
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "destructive" | undefined;
|
|
63
|
-
radius?: "none" | "md" | "
|
|
64
|
-
size?: "md" | "
|
|
63
|
+
radius?: "none" | "md" | "lg" | "sm" | "full" | undefined;
|
|
64
|
+
size?: "md" | "lg" | "sm" | "2xs" | "xs" | undefined;
|
|
65
65
|
isBordered?: boolean | undefined;
|
|
66
66
|
isDisabled?: boolean | undefined;
|
|
67
67
|
isInGroup?: boolean | undefined;
|
|
@@ -69,8 +69,8 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
69
69
|
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string;
|
|
70
70
|
name: (slotProps?: ({
|
|
71
71
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "destructive" | undefined;
|
|
72
|
-
radius?: "none" | "md" | "
|
|
73
|
-
size?: "md" | "
|
|
72
|
+
radius?: "none" | "md" | "lg" | "sm" | "full" | undefined;
|
|
73
|
+
size?: "md" | "lg" | "sm" | "2xs" | "xs" | undefined;
|
|
74
74
|
isBordered?: boolean | undefined;
|
|
75
75
|
isDisabled?: boolean | undefined;
|
|
76
76
|
isInGroup?: boolean | undefined;
|
|
@@ -78,8 +78,8 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
78
78
|
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string;
|
|
79
79
|
icon: (slotProps?: ({
|
|
80
80
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "destructive" | undefined;
|
|
81
|
-
radius?: "none" | "md" | "
|
|
82
|
-
size?: "md" | "
|
|
81
|
+
radius?: "none" | "md" | "lg" | "sm" | "full" | undefined;
|
|
82
|
+
size?: "md" | "lg" | "sm" | "2xs" | "xs" | undefined;
|
|
83
83
|
isBordered?: boolean | undefined;
|
|
84
84
|
isDisabled?: boolean | undefined;
|
|
85
85
|
isInGroup?: boolean | undefined;
|
|
@@ -88,8 +88,8 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
88
88
|
} & {
|
|
89
89
|
root: (slotProps?: ({
|
|
90
90
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "destructive" | undefined;
|
|
91
|
-
radius?: "none" | "md" | "
|
|
92
|
-
size?: "md" | "
|
|
91
|
+
radius?: "none" | "md" | "lg" | "sm" | "full" | undefined;
|
|
92
|
+
size?: "md" | "lg" | "sm" | "2xs" | "xs" | undefined;
|
|
93
93
|
isBordered?: boolean | undefined;
|
|
94
94
|
isDisabled?: boolean | undefined;
|
|
95
95
|
isInGroup?: boolean | undefined;
|
|
@@ -97,8 +97,8 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
97
97
|
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string;
|
|
98
98
|
img: (slotProps?: ({
|
|
99
99
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "destructive" | undefined;
|
|
100
|
-
radius?: "none" | "md" | "
|
|
101
|
-
size?: "md" | "
|
|
100
|
+
radius?: "none" | "md" | "lg" | "sm" | "full" | undefined;
|
|
101
|
+
size?: "md" | "lg" | "sm" | "2xs" | "xs" | undefined;
|
|
102
102
|
isBordered?: boolean | undefined;
|
|
103
103
|
isDisabled?: boolean | undefined;
|
|
104
104
|
isInGroup?: boolean | undefined;
|
|
@@ -106,8 +106,8 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
106
106
|
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string;
|
|
107
107
|
fallback: (slotProps?: ({
|
|
108
108
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "destructive" | undefined;
|
|
109
|
-
radius?: "none" | "md" | "
|
|
110
|
-
size?: "md" | "
|
|
109
|
+
radius?: "none" | "md" | "lg" | "sm" | "full" | undefined;
|
|
110
|
+
size?: "md" | "lg" | "sm" | "2xs" | "xs" | undefined;
|
|
111
111
|
isBordered?: boolean | undefined;
|
|
112
112
|
isDisabled?: boolean | undefined;
|
|
113
113
|
isInGroup?: boolean | undefined;
|
|
@@ -115,8 +115,8 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
115
115
|
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string;
|
|
116
116
|
name: (slotProps?: ({
|
|
117
117
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "destructive" | undefined;
|
|
118
|
-
radius?: "none" | "md" | "
|
|
119
|
-
size?: "md" | "
|
|
118
|
+
radius?: "none" | "md" | "lg" | "sm" | "full" | undefined;
|
|
119
|
+
size?: "md" | "lg" | "sm" | "2xs" | "xs" | undefined;
|
|
120
120
|
isBordered?: boolean | undefined;
|
|
121
121
|
isDisabled?: boolean | undefined;
|
|
122
122
|
isInGroup?: boolean | undefined;
|
|
@@ -124,8 +124,8 @@ declare function useAvatar(originalProps?: UseAvatarProps): {
|
|
|
124
124
|
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string;
|
|
125
125
|
icon: (slotProps?: ({
|
|
126
126
|
color?: "default" | "primary" | "secondary" | "success" | "warning" | "destructive" | undefined;
|
|
127
|
-
radius?: "none" | "md" | "
|
|
128
|
-
size?: "md" | "
|
|
127
|
+
radius?: "none" | "md" | "lg" | "sm" | "full" | undefined;
|
|
128
|
+
size?: "md" | "lg" | "sm" | "2xs" | "xs" | undefined;
|
|
129
129
|
isBordered?: boolean | undefined;
|
|
130
130
|
isDisabled?: boolean | undefined;
|
|
131
131
|
isInGroup?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kopexa/avatar",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.8",
|
|
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,12 +28,12 @@
|
|
|
28
28
|
"motion": ">=12.23.6",
|
|
29
29
|
"react": ">=19.0.0-rc.0",
|
|
30
30
|
"react-dom": ">=19.0.0-rc.0",
|
|
31
|
-
"@kopexa/theme": "17.
|
|
31
|
+
"@kopexa/theme": "17.4.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@radix-ui/react-avatar": "^1.1.11",
|
|
35
|
-
"@kopexa/react-utils": "17.0.
|
|
36
|
-
"@kopexa/shared-utils": "17.0.
|
|
35
|
+
"@kopexa/react-utils": "17.0.8",
|
|
36
|
+
"@kopexa/shared-utils": "17.0.8"
|
|
37
37
|
},
|
|
38
38
|
"clean-package": "../../../clean-package.config.json",
|
|
39
39
|
"module": "dist/index.mjs",
|