@hanzogui/avatar 7.0.0 → 7.3.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/types/Avatar.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { GetProps, SizeTokens, HanzoguiElement } from '@hanzogui/core';
1
+ import type { GetProps, SizeTokens, GuiElement } from '@hanzogui/core';
2
2
  import type { Scope } from '@hanzogui/create-context';
3
3
  import type { ImageProps } from '@hanzogui/image';
4
4
  import * as React from 'react';
@@ -9,8 +9,8 @@ type AvatarImageProps = Partial<ImageProps> & {
9
9
  };
10
10
  declare const AvatarImage: React.ForwardRefExoticComponent<Partial<ImageProps> & {
11
11
  onLoadingStatusChange?: (status: ImageLoadingStatus) => void;
12
- } & React.RefAttributes<HanzoguiElement>>;
13
- export declare const AvatarFallbackFrame: import("@hanzogui/core").HanzoguiComponent<import("@hanzogui/core").TamaDefer, HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
12
+ } & React.RefAttributes<GuiElement>>;
13
+ export declare const AvatarFallbackFrame: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, GuiElement, import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
14
14
  elevation?: number | SizeTokens | undefined;
15
15
  fullscreen?: boolean | undefined;
16
16
  }, import("@hanzogui/core").StaticConfigPublic>;
@@ -18,18 +18,18 @@ type AvatarFallbackExtraProps = {
18
18
  delayMs?: number;
19
19
  };
20
20
  type AvatarFallbackProps = GetProps<typeof AvatarFallbackFrame> & AvatarFallbackExtraProps;
21
- declare const AvatarFallback: import("@hanzogui/core").HanzoguiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
21
+ declare const AvatarFallback: import("@hanzogui/core").GuiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
22
22
  elevation?: number | SizeTokens | undefined;
23
23
  fullscreen?: boolean | undefined;
24
24
  }>, "delayMs" | "__scopeAvatar"> & AvatarFallbackExtraProps & {
25
25
  __scopeAvatar?: Scope;
26
- }, HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps & AvatarFallbackExtraProps & {
26
+ }, GuiElement, import("@hanzogui/core").RNViewNonStyleProps & AvatarFallbackExtraProps & {
27
27
  __scopeAvatar?: Scope;
28
28
  }, import("@hanzogui/core").StackStyleBase, {
29
29
  elevation?: number | SizeTokens | undefined;
30
30
  fullscreen?: boolean | undefined;
31
31
  }, import("@hanzogui/core").StaticConfigPublic>;
32
- export declare const AvatarFrame: import("@hanzogui/core").HanzoguiComponent<import("@hanzogui/core").TamaDefer, HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
32
+ export declare const AvatarFrame: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, GuiElement, import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
33
33
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
34
34
  size?: number | import("@hanzogui/web").SizeTokens | undefined;
35
35
  transparent?: boolean | undefined;
@@ -44,7 +44,7 @@ export declare const AvatarFrame: import("@hanzogui/core").HanzoguiComponent<imp
44
44
  type AvatarProps = GetProps<typeof AvatarFrame>;
45
45
  /**
46
46
  * @summary A component that displays an image or a fallback icon.
47
- * @see — Docs https://hanzogui.dev/ui/avatar
47
+ * @see — Docs https://gui.dev/ui/avatar
48
48
  *
49
49
  * @example
50
50
  * ```tsx
@@ -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").RNHanzoguiViewNonStyleProps, "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").RNViewNonStyleProps, "size" | "elevation" | keyof import("@hanzogui/core").StackStyleBase | "fullscreen" | "transparent" | "circular" | "elevate" | "bordered" | "chromeless"> & import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase> & {
61
61
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
62
62
  size?: number | import("@hanzogui/web").SizeTokens | undefined;
63
63
  transparent?: boolean | undefined;
@@ -84,16 +84,16 @@ declare const Avatar: React.ForwardRefExoticComponent<Omit<import("@hanzogui/cor
84
84
  elevate?: boolean | undefined;
85
85
  bordered?: boolean | undefined;
86
86
  chromeless?: boolean | "all" | undefined;
87
- }>> & React.RefAttributes<HanzoguiElement>> & {
87
+ }>> & React.RefAttributes<GuiElement>> & {
88
88
  Image: React.ForwardRefExoticComponent<Partial<ImageProps> & {
89
89
  onLoadingStatusChange?: (status: ImageLoadingStatus) => void;
90
- } & React.RefAttributes<HanzoguiElement>>;
91
- Fallback: import("@hanzogui/core").HanzoguiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
90
+ } & React.RefAttributes<GuiElement>>;
91
+ Fallback: import("@hanzogui/core").GuiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
92
92
  elevation?: number | SizeTokens | undefined;
93
93
  fullscreen?: boolean | undefined;
94
94
  }>, "delayMs" | "__scopeAvatar"> & AvatarFallbackExtraProps & {
95
95
  __scopeAvatar?: Scope;
96
- }, HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps & AvatarFallbackExtraProps & {
96
+ }, GuiElement, import("@hanzogui/core").RNViewNonStyleProps & AvatarFallbackExtraProps & {
97
97
  __scopeAvatar?: Scope;
98
98
  }, import("@hanzogui/core").StackStyleBase, {
99
99
  elevation?: number | SizeTokens | undefined;
@@ -0,0 +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,qBAAqB,CAAC,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAA;CAC7D,CAAA;AAED,QAAA,MAAM,WAAW;4BAHS,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI;oCA8E7D,CAAA;AAUD,eAAO,MAAM,mBAAmB;;;+CAK9B,CAAA;AAEF,KAAK,wBAAwB,GAAG;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AACD,KAAK,mBAAmB,GAAG,QAAQ,CAAC,OAAO,mBAAmB,CAAC,GAAG,wBAAwB,CAAA;AAE1F,QAAA,MAAM,cAAc;;;;oBAzHwB,KAAK;;oBAAL,KAAK;;;;+CA0I/C,CAAA;AAQF,eAAO,MAAM,WAAW;;;;;;;;;;;EAItB,CAAA;AAEF,KAAK,WAAW,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAA;AAE/C;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCApJc,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI;;;;;;wBArBlB,KAAK;;wBAAL,KAAK;;;;;CA+LhD,CAAA;AAID,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,CAAA;AACjE,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}