@tamagui/avatar 1.88.9 → 1.88.11

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/avatar",
3
- "version": "1.88.9",
3
+ "version": "1.88.11",
4
4
  "sideEffects": [
5
5
  "*.css"
6
6
  ],
@@ -32,18 +32,18 @@
32
32
  }
33
33
  },
34
34
  "dependencies": {
35
- "@tamagui/core": "1.88.9",
36
- "@tamagui/helpers": "1.88.9",
37
- "@tamagui/image": "1.88.9",
38
- "@tamagui/shapes": "1.88.9",
39
- "@tamagui/text": "1.88.9"
35
+ "@tamagui/core": "1.88.11",
36
+ "@tamagui/helpers": "1.88.11",
37
+ "@tamagui/image": "1.88.11",
38
+ "@tamagui/shapes": "1.88.11",
39
+ "@tamagui/text": "1.88.11"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "react": "*",
43
43
  "react-native": "*"
44
44
  },
45
45
  "devDependencies": {
46
- "@tamagui/build": "1.88.9",
46
+ "@tamagui/build": "1.88.11",
47
47
  "react": "^18.2.0",
48
48
  "react-native": "^0.72.6"
49
49
  },
package/types/Avatar.d.ts CHANGED
@@ -12,23 +12,17 @@ declare const AvatarImage: React.ForwardRefExoticComponent<Partial<ImageProps> &
12
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
+ }, import("@tamagui/core").StaticConfigPublic>;
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").StackStyleBase | "fullscreen"> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
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").StackStyleBase & {
22
+ } & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<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").StackStyleBase & {
26
- elevation?: number | SizeTokens | undefined;
27
- fullscreen?: boolean | undefined;
28
- }> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
29
- elevation?: number | SizeTokens | undefined;
30
- fullscreen?: boolean | undefined;
31
- }>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase & {
25
+ } & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {
32
26
  elevation?: number | SizeTokens | undefined;
33
27
  fullscreen?: boolean | undefined;
34
28
  }>> & {
@@ -49,24 +43,9 @@ export declare const AvatarFrame: import("@tamagui/core").TamaguiComponent<impor
49
43
  radiused?: boolean | undefined;
50
44
  padded?: boolean | undefined;
51
45
  chromeless?: boolean | "all" | undefined;
52
- }, {}>;
46
+ }, import("@tamagui/core").StaticConfigPublic>;
53
47
  type AvatarProps = GetProps<typeof AvatarFrame>;
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
- elevation?: number | SizeTokens | undefined;
56
- size?: number | SizeTokens | undefined;
57
- fullscreen?: boolean | undefined;
58
- circular?: boolean | undefined;
59
- hoverTheme?: boolean | undefined;
60
- pressTheme?: boolean | undefined;
61
- focusTheme?: boolean | undefined;
62
- elevate?: boolean | undefined;
63
- bordered?: number | boolean | undefined;
64
- transparent?: boolean | undefined;
65
- backgrounded?: boolean | undefined;
66
- radiused?: boolean | undefined;
67
- padded?: boolean | undefined;
68
- chromeless?: boolean | "all" | undefined;
69
- }> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
48
+ 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> & {
70
49
  elevation?: number | SizeTokens | undefined;
71
50
  size?: number | SizeTokens | undefined;
72
51
  fullscreen?: boolean | undefined;
@@ -81,7 +60,7 @@ declare const Avatar: React.ForwardRefExoticComponent<Omit<import("@tamagui/core
81
60
  radiused?: boolean | undefined;
82
61
  padded?: boolean | undefined;
83
62
  chromeless?: boolean | "all" | undefined;
84
- }>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
63
+ } & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
85
64
  elevation?: number | SizeTokens | undefined;
86
65
  size?: number | SizeTokens | undefined;
87
66
  fullscreen?: boolean | undefined;
@@ -96,22 +75,7 @@ declare const Avatar: React.ForwardRefExoticComponent<Omit<import("@tamagui/core
96
75
  radiused?: boolean | undefined;
97
76
  padded?: boolean | undefined;
98
77
  chromeless?: boolean | "all" | undefined;
99
- }> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
100
- elevation?: number | SizeTokens | undefined;
101
- size?: number | SizeTokens | undefined;
102
- fullscreen?: boolean | undefined;
103
- circular?: boolean | undefined;
104
- hoverTheme?: boolean | undefined;
105
- pressTheme?: boolean | undefined;
106
- focusTheme?: boolean | undefined;
107
- elevate?: boolean | undefined;
108
- bordered?: number | boolean | undefined;
109
- transparent?: boolean | undefined;
110
- backgrounded?: boolean | undefined;
111
- radiused?: boolean | undefined;
112
- padded?: boolean | undefined;
113
- chromeless?: boolean | "all" | undefined;
114
- }>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase & {
78
+ } & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {
115
79
  elevation?: number | SizeTokens | undefined;
116
80
  size?: number | SizeTokens | undefined;
117
81
  fullscreen?: boolean | undefined;
@@ -130,19 +94,13 @@ declare const Avatar: React.ForwardRefExoticComponent<Omit<import("@tamagui/core
130
94
  Image: React.ForwardRefExoticComponent<Partial<ImageProps> & {
131
95
  onLoadingStatusChange?: ((status: ImageLoadingStatus) => void) | undefined;
132
96
  } & React.RefAttributes<TamaguiElement>>;
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
- elevation?: number | SizeTokens | undefined;
135
- fullscreen?: boolean | undefined;
136
- }> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
137
- elevation?: number | SizeTokens | undefined;
138
- fullscreen?: boolean | undefined;
139
- }>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
97
+ Fallback: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "elevation" | keyof import("@tamagui/core").StackStyleBase | "fullscreen"> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
140
98
  elevation?: number | SizeTokens | undefined;
141
99
  fullscreen?: boolean | undefined;
142
- }> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
100
+ } & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
143
101
  elevation?: number | SizeTokens | undefined;
144
102
  fullscreen?: boolean | undefined;
145
- }>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase & {
103
+ } & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {
146
104
  elevation?: number | SizeTokens | undef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