@tamagui/avatar 1.88.4 → 1.88.5
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/package.json +7 -7
- package/types/Avatar.d.ts +17 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/avatar",
|
|
3
|
-
"version": "1.88.
|
|
3
|
+
"version": "1.88.5",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -32,18 +32,18 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@tamagui/core": "1.88.
|
|
36
|
-
"@tamagui/helpers": "1.88.
|
|
37
|
-
"@tamagui/image": "1.88.
|
|
38
|
-
"@tamagui/shapes": "1.88.
|
|
39
|
-
"@tamagui/text": "1.88.
|
|
35
|
+
"@tamagui/core": "1.88.5",
|
|
36
|
+
"@tamagui/helpers": "1.88.5",
|
|
37
|
+
"@tamagui/image": "1.88.5",
|
|
38
|
+
"@tamagui/shapes": "1.88.5",
|
|
39
|
+
"@tamagui/text": "1.88.5"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"react": "*",
|
|
43
43
|
"react-native": "*"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@tamagui/build": "1.88.
|
|
46
|
+
"@tamagui/build": "1.88.5",
|
|
47
47
|
"react": "^18.2.0",
|
|
48
48
|
"react-native": "^0.72.6"
|
|
49
49
|
},
|
package/types/Avatar.d.ts
CHANGED
|
@@ -9,32 +9,32 @@ type AvatarImageProps = Partial<ImageProps> & {
|
|
|
9
9
|
declare const AvatarImage: React.ForwardRefExoticComponent<Partial<ImageProps> & {
|
|
10
10
|
onLoadingStatusChange?: ((status: ImageLoadingStatus) => void) | undefined;
|
|
11
11
|
} & React.RefAttributes<TamaguiElement>>;
|
|
12
|
-
export declare const AvatarFallbackFrame: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").
|
|
12
|
+
export declare const AvatarFallbackFrame: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
13
13
|
elevation?: number | SizeTokens | undefined;
|
|
14
14
|
fullscreen?: boolean | undefined;
|
|
15
15
|
}, {}>;
|
|
16
16
|
type AvatarFallbackProps = GetProps<typeof AvatarFallbackFrame> & {
|
|
17
17
|
delayMs?: number;
|
|
18
18
|
};
|
|
19
|
-
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "elevation" | keyof import("@tamagui/core").
|
|
19
|
+
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "elevation" | keyof import("@tamagui/core").StackStyleBase | "fullscreen"> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
20
20
|
elevation?: number | SizeTokens | undefined;
|
|
21
21
|
fullscreen?: boolean | undefined;
|
|
22
|
-
}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").
|
|
22
|
+
}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
23
23
|
elevation?: number | SizeTokens | undefined;
|
|
24
24
|
fullscreen?: boolean | undefined;
|
|
25
|
-
}>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").
|
|
25
|
+
}>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
26
26
|
elevation?: number | SizeTokens | undefined;
|
|
27
27
|
fullscreen?: boolean | undefined;
|
|
28
|
-
}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").
|
|
28
|
+
}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
29
29
|
elevation?: number | SizeTokens | undefined;
|
|
30
30
|
fullscreen?: boolean | undefined;
|
|
31
|
-
}>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").
|
|
31
|
+
}>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase & {
|
|
32
32
|
elevation?: number | SizeTokens | undefined;
|
|
33
33
|
fullscreen?: boolean | undefined;
|
|
34
34
|
}>> & {
|
|
35
35
|
delayMs?: number | undefined;
|
|
36
36
|
} & React.RefAttributes<TamaguiElement>>;
|
|
37
|
-
export declare const AvatarFrame: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").
|
|
37
|
+
export declare const AvatarFrame: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
38
38
|
elevation?: number | SizeTokens | undefined;
|
|
39
39
|
size?: number | SizeTokens | undefined;
|
|
40
40
|
fullscreen?: boolean | undefined;
|
|
@@ -51,7 +51,7 @@ export declare const AvatarFrame: import("@tamagui/core").TamaguiComponent<impor
|
|
|
51
51
|
chromeless?: boolean | "all" | undefined;
|
|
52
52
|
}, {}>;
|
|
53
53
|
type AvatarProps = GetProps<typeof AvatarFrame>;
|
|
54
|
-
declare const Avatar: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | "elevation" | keyof import("@tamagui/core").
|
|
54
|
+
declare const Avatar: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | "elevation" | keyof import("@tamagui/core").StackStyleBase | "fullscreen" | "circular" | "hoverTheme" | "pressTheme" | "focusTheme" | "elevate" | "bordered" | "transparent" | "backgrounded" | "radiused" | "padded" | "chromeless"> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
55
55
|
elevation?: number | SizeTokens | undefined;
|
|
56
56
|
size?: number | SizeTokens | undefined;
|
|
57
57
|
fullscreen?: boolean | undefined;
|
|
@@ -66,7 +66,7 @@ declare const Avatar: React.ForwardRefExoticComponent<Omit<import("@tamagui/core
|
|
|
66
66
|
radiused?: boolean | undefined;
|
|
67
67
|
padded?: boolean | undefined;
|
|
68
68
|
chromeless?: boolean | "all" | undefined;
|
|
69
|
-
}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").
|
|
69
|
+
}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
70
70
|
elevation?: number | SizeTokens | undefined;
|
|
71
71
|
size?: number | SizeTokens | undefined;
|
|
72
72
|
fullscreen?: boolean | undefined;
|
|
@@ -81,7 +81,7 @@ declare const Avatar: React.ForwardRefExoticComponent<Omit<import("@tamagui/core
|
|
|
81
81
|
radiused?: boolean | undefined;
|
|
82
82
|
padded?: boolean | undefined;
|
|
83
83
|
chromeless?: boolean | "all" | undefined;
|
|
84
|
-
}>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").
|
|
84
|
+
}>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
85
85
|
elevation?: number | SizeTokens | undefined;
|
|
86
86
|
size?: number | SizeTokens | undefined;
|
|
87
87
|
fullscreen?: boolean | undefined;
|
|
@@ -96,7 +96,7 @@ declare const Avatar: React.ForwardRefExoticComponent<Omit<import("@tamagui/core
|
|
|
96
96
|
radiused?: boolean | undefined;
|
|
97
97
|
padded?: boolean | undefined;
|
|
98
98
|
chromeless?: boolean | "all" | undefined;
|
|
99
|
-
}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").
|
|
99
|
+
}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
100
100
|
elevation?: number | SizeTokens | undefined;
|
|
101
101
|
size?: number | SizeTokens | undefined;
|
|
102
102
|
fullscreen?: boolean | undefined;
|
|
@@ -111,7 +111,7 @@ declare const Avatar: React.ForwardRefExoticComponent<Omit<import("@tamagui/core
|
|
|
111
111
|
radiused?: boolean | undefined;
|
|
112
112
|
padded?: boolean | undefined;
|
|
113
113
|
chromeless?: boolean | "all" | undefined;
|
|
114
|
-
}>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").
|
|
114
|
+
}>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase & {
|
|
115
115
|
elevation?: number | SizeTokens | undefined;
|
|
116
116
|
size?: number | SizeTokens | undefined;
|
|
117
117
|
fullscreen?: boolean | undefined;
|
|
@@ -130,19 +130,19 @@ declare const Avatar: React.ForwardRefExoticComponent<Omit<import("@tamagui/core
|
|
|
130
130
|
Image: React.ForwardRefExoticComponent<Partial<ImageProps> & {
|
|
131
131
|
onLoadingStatusChange?: ((status: ImageLoadingStatus) => void) | undefined;
|
|
132
132
|
} & React.RefAttributes<TamaguiElement>>;
|
|
133
|
-
Fallback: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "elevation" | keyof import("@tamagui/core").
|
|
133
|
+
Fallback: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "elevation" | keyof import("@tamagui/core").StackStyleBase | "fullscreen"> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
134
134
|
elevation?: number | SizeTokens | undefined;
|
|
135
135
|
fullscreen?: boolean | undefined;
|
|
136
|
-
}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").
|
|
136
|
+
}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
137
137
|
elevation?: number | SizeTokens | undefined;
|
|
138
138
|
fullscreen?: boolean | undefined;
|
|
139
|
-
}>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").
|
|
139
|
+
}>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
140
140
|
elevation?: number | SizeTokens | undefined;
|
|
141
141
|
fullscreen?: boolean | undefined;
|
|
142
|
-
}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").
|
|
142
|
+
}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
143
143
|
elevation?: number | SizeTokens | undefined;
|
|
144
144
|
fullscreen?: boolean | undefined;
|
|
145
|
-
}>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").
|
|
145
|
+
}>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase & {
|
|
146
146
|
elevation?: number | SizeTokens | undefined;
|
|
147
147
|
fullscreen?: boolean | undefined;
|
|
148
148
|
}>> & {
|