@hanzogui/avatar 8.0.1 → 8.1.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzogui/avatar",
3
- "version": "8.0.1",
3
+ "version": "8.1.0",
4
4
  "source": "src/index.ts",
5
5
  "files": [
6
6
  "src",
@@ -34,21 +34,27 @@
34
34
  "clean:build": "hanzogui-build clean:build"
35
35
  },
36
36
  "dependencies": {
37
- "@hanzogui/core": "8.0.1",
38
- "@hanzogui/create-context": "8.0.0",
39
- "@hanzogui/helpers": "8.0.0",
40
- "@hanzogui/image": "8.0.1",
41
- "@hanzogui/shapes": "8.0.1",
42
- "@hanzogui/stacks": "8.0.1",
43
- "@hanzogui/text": "8.0.0"
37
+ "@hanzogui/core": "8.1.0",
38
+ "@hanzogui/create-context": "8.1.0",
39
+ "@hanzogui/helpers": "8.1.0",
40
+ "@hanzogui/image": "8.1.0",
41
+ "@hanzogui/shapes": "8.1.0",
42
+ "@hanzogui/stacks": "8.1.0",
43
+ "@hanzogui/text": "8.1.0",
44
+ "@hanzogui/web": "8.1.0"
44
45
  },
45
46
  "devDependencies": {
46
- "@hanzogui/build": "8.0.0",
47
+ "@hanzogui/build": "8.1.0",
47
48
  "react": ">=19",
48
49
  "react-native": "0.83.2"
49
50
  },
50
51
  "peerDependencies": {
51
52
  "react": ">=19"
52
53
  },
53
- "module:jsx": "dist/jsx"
54
+ "module:jsx": "dist/jsx",
55
+ "repository": {
56
+ "type": "git",
57
+ "url": "git+https://github.com/hanzoai/gui.git",
58
+ "directory": "pkgs/ui/avatar"
59
+ }
54
60
  }
package/types/Avatar.d.ts CHANGED
@@ -10,26 +10,26 @@ type AvatarImageProps = Partial<ImageProps> & {
10
10
  declare const AvatarImage: React.ForwardRefExoticComponent<Partial<ImageProps> & {
11
11
  onLoadingStatusChange?: (status: ImageLoadingStatus) => void;
12
12
  } & React.RefAttributes<GuiElement>>;
13
- export declare const AvatarFallbackFrame: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
13
+ export declare const AvatarFallbackFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
14
14
  elevation?: number | SizeTokens | undefined;
15
15
  fullscreen?: boolean | undefined;
16
- }, import("@hanzogui/core").StaticConfigPublic>;
16
+ }, import("@hanzogui/web").StaticConfigPublic>;
17
17
  type AvatarFallbackExtraProps = {
18
18
  delayMs?: number;
19
19
  };
20
20
  type AvatarFallbackProps = GetProps<typeof AvatarFallbackFrame> & AvatarFallbackExtraProps;
21
- declare const AvatarFallback: import("@hanzogui/core").GuiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
21
+ declare const AvatarFallback: import("@hanzogui/web").GuiComponent<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
22
22
  elevation?: number | SizeTokens | undefined;
23
23
  fullscreen?: boolean | undefined;
24
24
  }>, "delayMs" | "__scopeAvatar"> & AvatarFallbackExtraProps & {
25
25
  __scopeAvatar?: Scope;
26
26
  }, GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps & AvatarFallbackExtraProps & {
27
27
  __scopeAvatar?: Scope;
28
- }, import("@hanzogui/core").StackStyleBase, {
28
+ }, import("@hanzogui/web").StackStyleBase, {
29
29
  elevation?: number | SizeTokens | undefined;
30
30
  fullscreen?: boolean | undefined;
31
- }, import("@hanzogui/core").StaticConfigPublic>;
32
- export declare const AvatarFrame: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
31
+ }, import("@hanzogui/web").StaticConfigPublic>;
32
+ export declare const AvatarFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
33
33
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
34
34
  size?: number | import("@hanzogui/web").SizeTokens | undefined;
35
35
  transparent?: boolean | undefined;
@@ -38,7 +38,7 @@ export declare const AvatarFrame: import("@hanzogui/core").GuiComponent<import("
38
38
  elevate?: boolean | undefined;
39
39
  bordered?: boolean | undefined;
40
40
  chromeless?: boolean | "all" | undefined;
41
- }, import("@hanzogui/core").StaticConfigPublic & {
41
+ }, import("@hanzogui/web").StaticConfigPublic & {
42
42
  memo: true;
43
43
  }>;
44
44
  type AvatarProps = GetProps<typeof AvatarFrame>;
@@ -57,7 +57,7 @@ type AvatarProps = GetProps<typeof AvatarFrame>;
57
57
  * </Avatar>
58
58
  * ```
59
59
  */
60
- declare const Avatar: React.ForwardRefExoticComponent<Omit<import("@hanzogui/core").RNGuiViewNonStyleProps, "size" | "elevation" | keyof import("@hanzogui/core").StackStyleBase | "fullscreen" | "transparent" | "circular" | "elevate" | "bordered" | "chromeless"> & import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase> & {
60
+ declare const Avatar: React.ForwardRefExoticComponent<Omit<import("@hanzogui/core").RNGuiViewNonStyleProps, "size" | "elevation" | keyof import("@hanzogui/web").StackStyleBase | "fullscreen" | "transparent" | "circular" | "elevate" | "bordered" | "chromeless"> & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & {
61
61
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
62
62
  size?: number | import("@hanzogui/web").SizeTokens | undefined;
63
63
  transparent?: boolean | undefined;
@@ -66,7 +66,7 @@ declare const Avatar: React.ForwardRefExoticComponent<Omit<import("@hanzogui/cor
66
66
  elevate?: boolean | undefined;
67
67
  bordered?: boolean | undefined;
68
68
  chromeless?: boolean | "all" | undefined;
69
- } & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase>> & import("@hanzogui/core").WithPseudoProps<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase> & {
69
+ } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>> & import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & {
70
70
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
71
71
  size?: number | import("@hanzogui/web").SizeTokens | undefined;
72
72
  transparent?: boolean | undefined;
@@ -75,7 +75,7 @@ declare const Avatar: React.ForwardRefExoticComponent<Omit<import("@hanzogui/cor
75
75
  elevate?: boolean | undefined;
76
76
  bordered?: boolean | undefined;
77
77
  chromeless?: boolean | "all" | undefined;
78
- } & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase>>> & import("@hanzogui/core").WithMediaProps<import("@hanzogui/core").WithThemeShorthandsAndPseudos<import("@hanzogui/core").StackStyleBase, {
78
+ } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>> & import("@hanzogui/web").WithMediaProps<import("@hanzogui/web").WithThemeShorthandsAndPseudos<import("@hanzogui/web").StackStyleBase, {
79
79
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
80
80
  size?: number | import("@hanzogui/web").SizeTokens | undefined;
81
81
  transparent?: boolean | undefined;
@@ -88,17 +88,17 @@ declare const Avatar: React.ForwardRefExoticComponent<Omit<import("@hanzogui/cor
88
88
  Image: React.ForwardRefExoticComponent<Partial<ImageProps> & {
89
89
  onLoadingStatusChange?: (status: ImageLoadingStatus) => void;
90
90
  } & React.RefAttributes<GuiElement>>;
91
- Fallback: import("@hanzogui/core").GuiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
91
+ Fallback: import("@hanzogui/web").GuiComponent<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
92
92
  elevation?: number | SizeTokens | undefined;
93
93
  fullscreen?: boolean | undefined;
94
94
  }>, "delayMs" | "__scopeAvatar"> & AvatarFallbackExtraProps & {
95
95
  __scopeAvatar?: Scope;
96
96
  }, GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps & AvatarFallbackExtraProps & {
97
97
  __scopeAvatar?: Scope;
98
- }, import("@hanzogui/core").StackStyleBase, {
98
+ }, import("@hanzogui/web").StackStyleBase, {
99
99
  elevation?: number | SizeTokens | undefined;
100
100
  fullscreen?: boolean | undefined;
101
- }, import("@hanzogui/core").StaticConfigPublic>;
101
+ }, import("@hanzogui/web").StaticConfigPublic>;
102
102
  };
103
103
  export { createAvatarScope, Avatar, AvatarImage, AvatarFallback };
104
104
  export type { AvatarProps, AvatarImageProps, AvatarFallbackProps };
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../src/Avatar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAEtE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;AAGrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAIjD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,QAAA,MAA4B,iBAAiB,gDAAmC,CAAA;AAEhF,KAAK,kBAAkB,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAA;AAiBjE,KAAK,gBAAgB,GAAG,OAAO,CAAC,UAAU,CAAC,GAAG;IAC5C,qBAAq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