sate-lib 1.88.0 → 1.90.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.
|
@@ -2,8 +2,8 @@ import type { ComponentPropsWithoutRef, ElementType } from "react";
|
|
|
2
2
|
export declare function getInitials(name?: string): string;
|
|
3
3
|
type AvatarSize = "small" | "medium" | "large";
|
|
4
4
|
type AvatarShape = "circle" | "rounded";
|
|
5
|
-
type AvatarOwnProps = {
|
|
6
|
-
as?:
|
|
5
|
+
type AvatarOwnProps<T extends ElementType> = {
|
|
6
|
+
as?: T;
|
|
7
7
|
src?: string;
|
|
8
8
|
alt?: string;
|
|
9
9
|
name?: string;
|
|
@@ -13,7 +13,7 @@ type AvatarOwnProps = {
|
|
|
13
13
|
className?: string;
|
|
14
14
|
testId?: string;
|
|
15
15
|
};
|
|
16
|
-
export type AvatarProps<T extends ElementType = "img"> = AvatarOwnProps & Omit<ComponentPropsWithoutRef<T>, keyof AvatarOwnProps
|
|
16
|
+
export type AvatarProps<T extends ElementType = "img"> = AvatarOwnProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof AvatarOwnProps<T>>;
|
|
17
17
|
export declare function Avatar<T extends ElementType = "img">({ as, src, alt, name, size, shape, border, className, testId, ...rest }: AvatarProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
export {};
|
|
19
19
|
//# sourceMappingURL=avatar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/components/avatar/avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAGnE,wBAAgB,WAAW,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/components/avatar/avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAGnE,wBAAgB,WAAW,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAcjD;AAED,KAAK,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC/C,KAAK,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAC;AAExC,KAAK,cAAc,CAAC,CAAC,SAAS,WAAW,IAAI;IAC5C,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,IAAI,cAAc,CAAC,CAAC,CAAC,GACzE,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,MAAM,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;AAE5D,wBAAgB,MAAM,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,EAAE,EACrD,EAAE,EACF,GAAG,EACH,GAAG,EACH,IAAI,EACJ,IAAe,EACf,KAAgB,EAChB,MAAc,EACd,SAAS,EACT,MAAiB,EACjB,GAAG,IAAI,EACP,EAAE,WAAW,CAAC,CAAC,CAAC,2CA8BhB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { ComponentPropsWithoutRef, ElementType } from "react";
|
|
2
|
-
type MapMarkerOwnProps = {
|
|
3
|
-
as?:
|
|
2
|
+
type MapMarkerOwnProps<T extends ElementType> = {
|
|
3
|
+
as?: T;
|
|
4
4
|
src?: string;
|
|
5
5
|
alt?: string;
|
|
6
6
|
className?: string;
|
|
7
7
|
};
|
|
8
|
-
export type MapMarkerProps<T extends ElementType = "img"> = MapMarkerOwnProps & Omit<ComponentPropsWithoutRef<T>, keyof MapMarkerOwnProps
|
|
8
|
+
export type MapMarkerProps<T extends ElementType = "img"> = MapMarkerOwnProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof MapMarkerOwnProps<T>>;
|
|
9
9
|
export declare function MapMarker<T extends ElementType = "img">({ as, src, alt, className, ...rest }: MapMarkerProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=map-marker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-marker.d.ts","sourceRoot":"","sources":["../../../src/components/map-marker/map-marker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAGnE,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"map-marker.d.ts","sourceRoot":"","sources":["../../../src/components/map-marker/map-marker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAGnE,KAAK,iBAAiB,CAAC,CAAC,SAAS,WAAW,IAAI;IAC/C,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,IACvD,iBAAiB,CAAC,CAAC,CAAC,GACnB,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,MAAM,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;AAEhE,wBAAgB,SAAS,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,EAAE,EACxD,EAAE,EACF,GAAG,EACH,GAAG,EACH,SAAS,EACT,GAAG,IAAI,EACP,EAAE,cAAc,CAAC,CAAC,CAAC,2CAoBnB"}
|