@tamagui/avatar 1.72.2 → 1.73.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/package.json +6 -6
- package/types/Avatar.d.ts +14 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/avatar",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.73.0",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -31,17 +31,17 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@tamagui/core": "1.
|
|
35
|
-
"@tamagui/image": "1.
|
|
36
|
-
"@tamagui/shapes": "1.
|
|
37
|
-
"@tamagui/text": "1.
|
|
34
|
+
"@tamagui/core": "1.73.0",
|
|
35
|
+
"@tamagui/image": "1.73.0",
|
|
36
|
+
"@tamagui/shapes": "1.73.0",
|
|
37
|
+
"@tamagui/text": "1.73.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"react": "*",
|
|
41
41
|
"react-native": "*"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@tamagui/build": "1.
|
|
44
|
+
"@tamagui/build": "1.73.0",
|
|
45
45
|
"react": "^18.2.0",
|
|
46
46
|
"react-native": "^0.72.1"
|
|
47
47
|
},
|
package/types/Avatar.d.ts
CHANGED
|
@@ -129,7 +129,7 @@ export declare const AvatarFrame: import("@tamagui/core").TamaguiComponent<(Omit
|
|
|
129
129
|
readonly transparent?: boolean | undefined;
|
|
130
130
|
readonly chromeless?: boolean | "all" | undefined;
|
|
131
131
|
}, "size"> & {
|
|
132
|
-
readonly size?: SizeTokens | undefined;
|
|
132
|
+
readonly size?: number | SizeTokens | undefined;
|
|
133
133
|
} & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
|
|
134
134
|
style?: import("@tamagui/core").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
135
135
|
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
|
|
@@ -148,7 +148,7 @@ export declare const AvatarFrame: import("@tamagui/core").TamaguiComponent<(Omit
|
|
|
148
148
|
readonly transparent?: boolean | undefined;
|
|
149
149
|
readonly chromeless?: boolean | "all" | undefined;
|
|
150
150
|
}, "size"> & {
|
|
151
|
-
readonly size?: SizeTokens | undefined;
|
|
151
|
+
readonly size?: number | SizeTokens | undefined;
|
|
152
152
|
}>> & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
|
|
153
153
|
style?: import("@tamagui/core").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
154
154
|
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
|
|
@@ -167,7 +167,7 @@ export declare const AvatarFrame: import("@tamagui/core").TamaguiComponent<(Omit
|
|
|
167
167
|
readonly transparent?: boolean | undefined;
|
|
168
168
|
readonly chromeless?: boolean | "all" | undefined;
|
|
169
169
|
}, "size"> & {
|
|
170
|
-
readonly size?: SizeTokens | undefined;
|
|
170
|
+
readonly size?: number | SizeTokens | undefined;
|
|
171
171
|
}>>) | (Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
|
|
172
172
|
style?: import("@tamagui/core").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
173
173
|
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
|
|
@@ -186,7 +186,7 @@ export declare const AvatarFrame: import("@tamagui/core").TamaguiComponent<(Omit
|
|
|
186
186
|
readonly transparent?: boolean | undefined;
|
|
187
187
|
readonly chromeless?: boolean | "all" | undefined;
|
|
188
188
|
} & {
|
|
189
|
-
readonly size?: SizeTokens | undefined;
|
|
189
|
+
readonly size?: number | SizeTokens | undefined;
|
|
190
190
|
}, string | number> & {
|
|
191
191
|
[x: string]: undefined;
|
|
192
192
|
} & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
|
|
@@ -207,7 +207,7 @@ export declare const AvatarFrame: import("@tamagui/core").TamaguiComponent<(Omit
|
|
|
207
207
|
readonly transparent?: boolean | undefined;
|
|
208
208
|
readonly chromeless?: boolean | "all" | undefined;
|
|
209
209
|
} & {
|
|
210
|
-
readonly size?: SizeTokens | undefined;
|
|
210
|
+
readonly size?: number | SizeTokens | undefined;
|
|
211
211
|
}, string | number> & {
|
|
212
212
|
[x: string]: undefined;
|
|
213
213
|
}>> & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
|
|
@@ -228,7 +228,7 @@ export declare const AvatarFrame: import("@tamagui/core").TamaguiComponent<(Omit
|
|
|
228
228
|
readonly transparent?: boolean | undefined;
|
|
229
229
|
readonly chromeless?: boolean | "all" | undefined;
|
|
230
230
|
} & {
|
|
231
|
-
readonly size?: SizeTokens | undefined;
|
|
231
|
+
readonly size?: number | SizeTokens | undefined;
|
|
232
232
|
}, string | number> & {
|
|
233
233
|
[x: string]: undefined;
|
|
234
234
|
}>>), TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
|
|
@@ -249,7 +249,7 @@ export declare const AvatarFrame: import("@tamagui/core").TamaguiComponent<(Omit
|
|
|
249
249
|
readonly transparent?: boolean | undefined;
|
|
250
250
|
readonly chromeless?: boolean | "all" | undefined;
|
|
251
251
|
} & {
|
|
252
|
-
readonly size?: SizeTokens | undefined;
|
|
252
|
+
readonly size?: number | SizeTokens | undefined;
|
|
253
253
|
} & ({} | {
|
|
254
254
|
[x: string]: undefined;
|
|
255
255
|
}), {
|
|
@@ -295,7 +295,7 @@ export declare const AvatarFrame: import("@tamagui/core").TamaguiComponent<(Omit
|
|
|
295
295
|
readonly transparent?: boolean | undefined;
|
|
296
296
|
readonly chromeless?: boolean | "all" | undefined;
|
|
297
297
|
} & {
|
|
298
|
-
readonly size?: SizeTokens | undefined;
|
|
298
|
+
readonly size?: number | SizeTokens | undefined;
|
|
299
299
|
};
|
|
300
300
|
}>;
|
|
301
301
|
type AvatarProps = GetProps<typeof AvatarFrame>;
|
|
@@ -317,7 +317,7 @@ declare const Avatar: React.ForwardRefExoticComponent<((Omit<import("react-nativ
|
|
|
317
317
|
readonly transparent?: boolean | undefined;
|
|
318
318
|
readonly chromeless?: boolean | "all" | undefined;
|
|
319
319
|
}, "size"> & {
|
|
320
|
-
readonly size?: SizeTokens | undefined;
|
|
320
|
+
readonly size?: number | SizeTokens | undefined;
|
|
321
321
|
} & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
|
|
322
322
|
style?: import("@tamagui/core").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
323
323
|
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
|
|
@@ -336,7 +336,7 @@ declare const Avatar: React.ForwardRefExoticComponent<((Omit<import("react-nativ
|
|
|
336
336
|
readonly transparent?: boolean | undefined;
|
|
337
337
|
readonly chromeless?: boolean | "all" | undefined;
|
|
338
338
|
}, "size"> & {
|
|
339
|
-
readonly size?: SizeTokens | undefined;
|
|
339
|
+
readonly size?: number | SizeTokens | undefined;
|
|
340
340
|
}>> & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
|
|
341
341
|
style?: import("@tamagui/core").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
342
342
|
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
|
|
@@ -355,7 +355,7 @@ declare const Avatar: React.ForwardRefExoticComponent<((Omit<import("react-nativ
|
|
|
355
355
|
readonly transparent?: boolean | undefined;
|
|
356
356
|
readonly chromeless?: boolean | "all" | undefined;
|
|
357
357
|
}, "size"> & {
|
|
358
|
-
readonly size?: SizeTokens | undefined;
|
|
358
|
+
readonly size?: number | SizeTokens | undefined;
|
|
359
359
|
}>>) | Omit<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
|
|
360
360
|
style?: import("@tamagui/core").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
361
361
|
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
|
|
@@ -374,7 +374,7 @@ declare const Avatar: React.ForwardRefExoticComponent<((Omit<import("react-nativ
|
|
|
374
374
|
readonly transparent?: boolean | undefined;
|
|
375
375
|
readonly chromeless?: boolean | "all" | undefined;
|
|
376
376
|
} & {
|
|
377
|
-
readonly size?: SizeTokens | undefined;
|
|
377
|
+
readonly size?: number | SizeTokens | undefined;
|
|
378
378
|
}, string | number> & {
|
|
379
379
|
[x: string]: undefined;
|
|
380
380
|
} & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
|
|
@@ -395,7 +395,7 @@ declare const Avatar: React.ForwardRefExoticComponent<((Omit<import("react-nativ
|
|
|
395
395
|
readonly transparent?: boolean | undefined;
|
|
396
396
|
readonly chromeless?: boolean | "all" | undefined;
|
|
397
397
|
} & {
|
|
398
|
-
readonly size?: SizeTokens | undefined;
|
|
398
|
+
readonly size?: number | SizeTokens | undefined;
|
|
399
399
|
}, string | number> & {
|
|
400
400
|
[x: string]: undefined;
|
|
401
401
|
}>> & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
|
|
@@ -416,7 +416,7 @@ declare const Avatar: React.ForwardRefExoticComponent<((Omit<import("react-nativ
|
|
|
416
416
|
readonly transparent?: boolean | undefined;
|
|
417
417
|
readonly chromeless?: boolean | "all" | undefined;
|
|
418
418
|
} & {
|
|
419
|
-
readonly size?: SizeTokens | undefined;
|
|
419
|
+
readonly size?: number | SizeTokens | undefined;
|
|
420
420
|
}, string | number> & {
|
|
421
421
|
[x: string]: undefined;
|
|
422
422
|
}>>, "ref">) & React.RefAttributes<TamaguiElement>> & {
|