@knitui/components 0.12.2 → 0.14.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/lib/commonjs/Avatar/Avatar.js +4 -0
- package/lib/commonjs/Avatar/Avatar.js.map +1 -1
- package/lib/commonjs/Card/Card.js +8 -3
- package/lib/commonjs/Card/Card.js.map +1 -1
- package/lib/commonjs/Image/Image.js +197 -22
- package/lib/commonjs/Image/Image.js.map +1 -1
- package/lib/commonjs/Image/Image.native.js +41 -0
- package/lib/commonjs/Image/Image.native.js.map +1 -0
- package/lib/commonjs/Image/createImage.js +76 -2
- package/lib/commonjs/Image/createImage.js.map +1 -1
- package/lib/commonjs/Input/shared.js +12 -10
- package/lib/commonjs/Input/shared.js.map +1 -1
- package/lib/commonjs/PinInput/PinInput.js +14 -5
- package/lib/commonjs/PinInput/PinInput.js.map +1 -1
- package/lib/commonjs/SimpleGrid/SimpleGrid.js +47 -27
- package/lib/commonjs/SimpleGrid/SimpleGrid.js.map +1 -1
- package/lib/commonjs/Tabs/Tabs.js +56 -11
- package/lib/commonjs/Tabs/Tabs.js.map +1 -1
- package/lib/module/Avatar/Avatar.js +4 -0
- package/lib/module/Avatar/Avatar.js.map +1 -1
- package/lib/module/Card/Card.js +8 -3
- package/lib/module/Card/Card.js.map +1 -1
- package/lib/module/Image/Image.js +195 -23
- package/lib/module/Image/Image.js.map +1 -1
- package/lib/module/Image/Image.native.js +38 -0
- package/lib/module/Image/Image.native.js.map +1 -0
- package/lib/module/Image/createImage.js +75 -1
- package/lib/module/Image/createImage.js.map +1 -1
- package/lib/module/Input/shared.js +13 -11
- package/lib/module/Input/shared.js.map +1 -1
- package/lib/module/PinInput/PinInput.js +15 -6
- package/lib/module/PinInput/PinInput.js.map +1 -1
- package/lib/module/SimpleGrid/SimpleGrid.js +48 -28
- package/lib/module/SimpleGrid/SimpleGrid.js.map +1 -1
- package/lib/module/Tabs/Tabs.js +56 -11
- package/lib/module/Tabs/Tabs.js.map +1 -1
- package/lib/typescript/Avatar/Avatar.d.ts.map +1 -1
- package/lib/typescript/Card/Card.d.ts.map +1 -1
- package/lib/typescript/Image/Image.d.ts +38 -52
- package/lib/typescript/Image/Image.d.ts.map +1 -1
- package/lib/typescript/Image/Image.native.d.ts +395 -0
- package/lib/typescript/Image/Image.native.d.ts.map +1 -0
- package/lib/typescript/Image/createImage.d.ts.map +1 -1
- package/lib/typescript/Input/shared.d.ts +7 -7
- package/lib/typescript/Input/shared.d.ts.map +1 -1
- package/lib/typescript/PinInput/PinInput.d.ts +9 -0
- package/lib/typescript/PinInput/PinInput.d.ts.map +1 -1
- package/lib/typescript/SimpleGrid/SimpleGrid.d.ts +10 -4
- package/lib/typescript/SimpleGrid/SimpleGrid.d.ts.map +1 -1
- package/lib/typescript/Tabs/Tabs.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/Avatar/Avatar.tsx +4 -0
- package/src/Card/Card.tsx +12 -5
- package/src/Image/Image.native.tsx +36 -0
- package/src/Image/Image.tsx +240 -23
- package/src/Image/createImage.tsx +88 -1
- package/src/Input/shared.tsx +13 -11
- package/src/PinInput/PinInput.tsx +23 -2
- package/src/SimpleGrid/SimpleGrid.tsx +42 -20
- package/src/Tabs/Tabs.tsx +67 -13
|
@@ -1,28 +1,13 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ImageObjectFit, ImageObjectPosition } from "./types";
|
|
3
|
+
type ContentPosition = Exclude<ImageObjectPosition, string> | string;
|
|
4
|
+
/** expo-image's `contentPosition` (object or CSS string) → CSS `object-position`. */
|
|
5
|
+
export declare function objectPositionOf(position: ContentPosition | undefined): string;
|
|
1
6
|
/**
|
|
2
|
-
* Cross-platform `Image
|
|
3
|
-
*
|
|
4
|
-
* expo-image ships platform builds (a real `<img>` on web, native views on
|
|
5
|
-
* device), so there is no `.native` split.
|
|
6
|
-
*
|
|
7
|
-
* On top of expo-image's full prop surface (`transition`, `placeholder`,
|
|
8
|
-
* `cachePolicy`, `tintColor`, `blurRadius`, `priority`, …) it adds the unified,
|
|
9
|
-
* Mantine-compatible API: `src`, `fit`/`objectFit` (→ `contentFit`),
|
|
10
|
-
* `objectPosition` (→ `contentPosition`), `radius`, `fallbackSrc`, plus Tamagui
|
|
11
|
-
* styling props (`w`, `h`, `bg`, `$token`s). expo-image's static methods
|
|
12
|
-
* (`Image.prefetch`, `Image.clearMemoryCache`, …) are forwarded as-is.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* <Image
|
|
16
|
-
* src="https://example.com/photo.jpg"
|
|
17
|
-
* fallbackSrc="https://example.com/placeholder.jpg"
|
|
18
|
-
* fit="cover"
|
|
19
|
-
* radius="md"
|
|
20
|
-
* transition={300}
|
|
21
|
-
* w={320}
|
|
22
|
-
* h={180}
|
|
23
|
-
* />
|
|
7
|
+
* Cross-platform `Image` (web build). Same API and types as on native — see
|
|
8
|
+
* `Image.native.tsx` for the full prop surface and examples.
|
|
24
9
|
*/
|
|
25
|
-
export declare const Image:
|
|
10
|
+
export declare const Image: React.ForwardRefExoticComponent<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/web").TamaguiComponentPropsBaseBase & Record<string, unknown>, import("@tamagui/web").StackStyleBase, {}>, "$xs" | "$sm" | "$md" | "$lg" | "$xl" | "radius" | "zIndex" | "outline" | "filter" | "onStartShouldSetResponder" | "onLayout" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "pointerEvents" | "m" | "my" | "mx" | "mt" | "mb" | "ms" | "me" | "mis" | "mie" | "ml" | "mr" | "p" | "py" | "px" | "pt" | "pb" | "ps" | "pe" | "pis" | "pie" | "pl" | "pr" | "bdrs" | "br" | "bg" | "c" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "pos" | "$gtXs" | "$gtSm" | "$gtMd" | "$gtLg" | "$gtXl" | import("@tamagui/web").GroupMediaKeys | "$theme-light" | "$theme-dark" | "$platform-native" | "$platform-web" | "$platform-android" | "$platform-ios" | "$platform-tv" | "$platform-androidtv" | "$platform-tvos" | "display" | "position" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "borderCurve" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "backdropFilter" | "background" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "boxShadow" | "border" | "overflowX" | "overflowY" | "transformOrigin" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "containerType" | "blockSize" | "inlineSize" | "minBlockSize" | "maxBlockSize" | "objectFit" | "verticalAlign" | "minInlineSize" | "maxInlineSize" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "inset" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "transition" | "animateOnly" | "animatePresence" | "passThrough" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "isolation" | "mixBlendMode" | "experimental_backgroundImage" | "experimental_backgroundSize" | "experimental_backgroundPosition" | "experimental_backgroundRepeat" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "boxSizing" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "right" | "start" | "top" | "width" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "source" | keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> | "alt" | "src" | "styles" | "objectPosition" | "loading" | "draggable" | "placeholder" | "onLoad" | "onError" | "onLoadStart" | "onProgress" | "placeholderContentFit" | "contentFit" | "contentPosition" | "blurRadius" | "tintColor" | "priority" | "cachePolicy" | "responsivePolicy" | "recyclingKey" | "autoplay" | "allowDownscaling" | "decodeFormat" | "enableLiveTextInteraction" | "useAppleWebpCodec" | "enforceEarlyResizing" | "onLoadEnd" | "onDisplay" | "sfEffect" | "defaultSource" | "loadingIndicatorSource" | "resizeMode" | "fadeDuration" | "preferHighDynamicRange" | "fit" | "fallbackSrc" | "fallbackProps"> & Omit<import("@tamagui/web").ViewProps, "transition"> & {
|
|
26
11
|
accessible?: boolean | undefined;
|
|
27
12
|
accessibilityLabel?: string | undefined;
|
|
28
13
|
transition?: (import("expo-image").ImageTransition | number | null) | undefined;
|
|
@@ -50,19 +35,19 @@ export declare const Image: import("react").ForwardRefExoticComponent<Omit<impor
|
|
|
50
35
|
onDisplay?: (() => void) | undefined;
|
|
51
36
|
} & {
|
|
52
37
|
radius?: string | number;
|
|
53
|
-
fit?:
|
|
38
|
+
fit?: ImageObjectFit;
|
|
54
39
|
fallbackSrc?: string;
|
|
55
40
|
src?: import("./types").ImageSrc;
|
|
56
41
|
source?: import("./types").ImageSrc;
|
|
57
42
|
resizeMode?: import("./types").ImageHostResizeMode;
|
|
58
|
-
objectFit?:
|
|
59
|
-
objectPosition?:
|
|
43
|
+
objectFit?: ImageObjectFit;
|
|
44
|
+
objectPosition?: ImageObjectPosition;
|
|
60
45
|
onLoad?: (event: import("./types").ImageLoadEvent) => void;
|
|
61
46
|
onError?: (event: import("./types").ImageErrorEvent) => void;
|
|
62
47
|
} & Omit<import("expo-image").ImageProps, "$xs" | "$sm" | "$md" | "$lg" | "$xl" | "radius" | "zIndex" | "outline" | "filter" | "pointerEvents" | "m" | "my" | "mx" | "mt" | "mb" | "ms" | "me" | "mis" | "mie" | "ml" | "mr" | "p" | "py" | "px" | "pt" | "pb" | "ps" | "pe" | "pis" | "pie" | "pl" | "pr" | "bdrs" | "br" | "bg" | "c" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "pos" | "$gtXs" | "$gtSm" | "$gtMd" | "$gtLg" | "$gtXl" | import("@tamagui/web").GroupMediaKeys | "$theme-light" | "$theme-dark" | "$platform-native" | "$platform-web" | "$platform-android" | "$platform-ios" | "$platform-tv" | "$platform-androidtv" | "$platform-tvos" | "display" | "position" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "borderCurve" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "backdropFilter" | "background" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "boxShadow" | "border" | "overflowX" | "overflowY" | "transformOrigin" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "containerType" | "blockSize" | "inlineSize" | "minBlockSize" | "maxBlockSize" | "objectFit" | "verticalAlign" | "minInlineSize" | "maxInlineSize" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "inset" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "transition" | "animateOnly" | "animatePresence" | "passThrough" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "isolation" | "mixBlendMode" | "experimental_backgroundImage" | "experimental_backgroundSize" | "experimental_backgroundPosition" | "experimental_backgroundRepeat" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "boxSizing" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "right" | "start" | "top" | "width" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "source" | keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> | "alt" | "src" | "objectPosition" | "placeholder" | "onLoad" | "onError" | "onLoadStart" | "onProgress" | "placeholderContentFit" | "contentFit" | "contentPosition" | "blurRadius" | "tintColor" | "priority" | "cachePolicy" | "responsivePolicy" | "recyclingKey" | "autoplay" | "allowDownscaling" | "decodeFormat" | "enableLiveTextInteraction" | "useAppleWebpCodec" | "enforceEarlyResizing" | "onLoadEnd" | "onDisplay" | "resizeMode" | "fit" | "fallbackSrc"> & {
|
|
63
48
|
styles?: import("@knitui/core").SlotStyles<import("./createImage").ImageStyles>;
|
|
64
49
|
fallbackProps?: Partial<import("./types").ImageProps>;
|
|
65
|
-
} &
|
|
50
|
+
} & React.RefAttributes<unknown>> & import("@tamagui/web").StaticComponentObject<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/web").TamaguiComponentPropsBaseBase & Record<string, unknown>, import("@tamagui/web").StackStyleBase, {}>, "$xs" | "$sm" | "$md" | "$lg" | "$xl" | "radius" | "zIndex" | "outline" | "filter" | "onStartShouldSetResponder" | "onLayout" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "pointerEvents" | "m" | "my" | "mx" | "mt" | "mb" | "ms" | "me" | "mis" | "mie" | "ml" | "mr" | "p" | "py" | "px" | "pt" | "pb" | "ps" | "pe" | "pis" | "pie" | "pl" | "pr" | "bdrs" | "br" | "bg" | "c" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "pos" | "$gtXs" | "$gtSm" | "$gtMd" | "$gtLg" | "$gtXl" | import("@tamagui/web").GroupMediaKeys | "$theme-light" | "$theme-dark" | "$platform-native" | "$platform-web" | "$platform-android" | "$platform-ios" | "$platform-tv" | "$platform-androidtv" | "$platform-tvos" | "display" | "position" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "borderCurve" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "backdropFilter" | "background" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "boxShadow" | "border" | "overflowX" | "overflowY" | "transformOrigin" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "containerType" | "blockSize" | "inlineSize" | "minBlockSize" | "maxBlockSize" | "objectFit" | "verticalAlign" | "minInlineSize" | "maxInlineSize" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "inset" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "transition" | "animateOnly" | "animatePresence" | "passThrough" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "isolation" | "mixBlendMode" | "experimental_backgroundImage" | "experimental_backgroundSize" | "experimental_backgroundPosition" | "experimental_backgroundRepeat" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "boxSizing" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "right" | "start" | "top" | "width" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "source" | keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> | "alt" | "src" | "styles" | "objectPosition" | "loading" | "draggable" | "placeholder" | "onLoad" | "onError" | "onLoadStart" | "onProgress" | "placeholderContentFit" | "contentFit" | "contentPosition" | "blurRadius" | "tintColor" | "priority" | "cachePolicy" | "responsivePolicy" | "recyclingKey" | "autoplay" | "allowDownscaling" | "decodeFormat" | "enableLiveTextInteraction" | "useAppleWebpCodec" | "enforceEarlyResizing" | "onLoadEnd" | "onDisplay" | "sfEffect" | "defaultSource" | "loadingIndicatorSource" | "resizeMode" | "fadeDuration" | "preferHighDynamicRange" | "fit" | "fallbackSrc" | "fallbackProps"> & Omit<import("@tamagui/web").ViewProps, "transition"> & {
|
|
66
51
|
accessible?: boolean | undefined;
|
|
67
52
|
accessibilityLabel?: string | undefined;
|
|
68
53
|
transition?: (import("expo-image").ImageTransition | number | null) | undefined;
|
|
@@ -90,13 +75,13 @@ export declare const Image: import("react").ForwardRefExoticComponent<Omit<impor
|
|
|
90
75
|
onDisplay?: (() => void) | undefined;
|
|
91
76
|
} & {
|
|
92
77
|
radius?: string | number;
|
|
93
|
-
fit?:
|
|
78
|
+
fit?: ImageObjectFit;
|
|
94
79
|
fallbackSrc?: string;
|
|
95
80
|
src?: import("./types").ImageSrc;
|
|
96
81
|
source?: import("./types").ImageSrc;
|
|
97
82
|
resizeMode?: import("./types").ImageHostResizeMode;
|
|
98
|
-
objectFit?:
|
|
99
|
-
objectPosition?:
|
|
83
|
+
objectFit?: ImageObjectFit;
|
|
84
|
+
objectPosition?: ImageObjectPosition;
|
|
100
85
|
onLoad?: (event: import("./types").ImageLoadEvent) => void;
|
|
101
86
|
onError?: (event: import("./types").ImageErrorEvent) => void;
|
|
102
87
|
} & Omit<import("expo-image").ImageProps, "$xs" | "$sm" | "$md" | "$lg" | "$xl" | "radius" | "zIndex" | "outline" | "filter" | "pointerEvents" | "m" | "my" | "mx" | "mt" | "mb" | "ms" | "me" | "mis" | "mie" | "ml" | "mr" | "p" | "py" | "px" | "pt" | "pb" | "ps" | "pe" | "pis" | "pie" | "pl" | "pr" | "bdrs" | "br" | "bg" | "c" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "pos" | "$gtXs" | "$gtSm" | "$gtMd" | "$gtLg" | "$gtXl" | import("@tamagui/web").GroupMediaKeys | "$theme-light" | "$theme-dark" | "$platform-native" | "$platform-web" | "$platform-android" | "$platform-ios" | "$platform-tv" | "$platform-androidtv" | "$platform-tvos" | "display" | "position" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "borderCurve" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "backdropFilter" | "background" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "boxShadow" | "border" | "overflowX" | "overflowY" | "transformOrigin" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "containerType" | "blockSize" | "inlineSize" | "minBlockSize" | "maxBlockSize" | "objectFit" | "verticalAlign" | "minInlineSize" | "maxInlineSize" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "inset" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "transition" | "animateOnly" | "animatePresence" | "passThrough" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "isolation" | "mixBlendMode" | "experimental_backgroundImage" | "experimental_backgroundSize" | "experimental_backgroundPosition" | "experimental_backgroundRepeat" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "boxSizing" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "right" | "start" | "top" | "width" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "source" | keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> | "alt" | "src" | "objectPosition" | "placeholder" | "onLoad" | "onError" | "onLoadStart" | "onProgress" | "placeholderContentFit" | "contentFit" | "contentPosition" | "blurRadius" | "tintColor" | "priority" | "cachePolicy" | "responsivePolicy" | "recyclingKey" | "autoplay" | "allowDownscaling" | "decodeFormat" | "enableLiveTextInteraction" | "useAppleWebpCodec" | "enforceEarlyResizing" | "onLoadEnd" | "onDisplay" | "resizeMode" | "fit" | "fallbackSrc"> & {
|
|
@@ -130,13 +115,13 @@ export declare const Image: import("react").ForwardRefExoticComponent<Omit<impor
|
|
|
130
115
|
onDisplay?: (() => void) | undefined;
|
|
131
116
|
} & {
|
|
132
117
|
radius?: string | number;
|
|
133
|
-
fit?:
|
|
118
|
+
fit?: ImageObjectFit;
|
|
134
119
|
fallbackSrc?: string;
|
|
135
120
|
src?: import("./types").ImageSrc;
|
|
136
121
|
source?: import("./types").ImageSrc;
|
|
137
122
|
resizeMode?: import("./types").ImageHostResizeMode;
|
|
138
|
-
objectFit?:
|
|
139
|
-
objectPosition?:
|
|
123
|
+
objectFit?: ImageObjectFit;
|
|
124
|
+
objectPosition?: ImageObjectPosition;
|
|
140
125
|
onLoad?: (event: import("./types").ImageLoadEvent) => void;
|
|
141
126
|
onError?: (event: import("./types").ImageErrorEvent) => void;
|
|
142
127
|
} & Omit<import("expo-image").ImageProps, "$xs" | "$sm" | "$md" | "$lg" | "$xl" | "radius" | "zIndex" | "outline" | "filter" | "pointerEvents" | "m" | "my" | "mx" | "mt" | "mb" | "ms" | "me" | "mis" | "mie" | "ml" | "mr" | "p" | "py" | "px" | "pt" | "pb" | "ps" | "pe" | "pis" | "pie" | "pl" | "pr" | "bdrs" | "br" | "bg" | "c" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "pos" | "$gtXs" | "$gtSm" | "$gtMd" | "$gtLg" | "$gtXl" | import("@tamagui/web").GroupMediaKeys | "$theme-light" | "$theme-dark" | "$platform-native" | "$platform-web" | "$platform-android" | "$platform-ios" | "$platform-tv" | "$platform-androidtv" | "$platform-tvos" | "display" | "position" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "borderCurve" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "backdropFilter" | "background" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "boxShadow" | "border" | "overflowX" | "overflowY" | "transformOrigin" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "containerType" | "blockSize" | "inlineSize" | "minBlockSize" | "maxBlockSize" | "objectFit" | "verticalAlign" | "minInlineSize" | "maxInlineSize" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "inset" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "transition" | "animateOnly" | "animatePresence" | "passThrough" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "isolation" | "mixBlendMode" | "experimental_backgroundImage" | "experimental_backgroundSize" | "experimental_backgroundPosition" | "experimental_backgroundRepeat" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "boxSizing" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "right" | "start" | "top" | "width" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "source" | keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> | "alt" | "src" | "objectPosition" | "placeholder" | "onLoad" | "onError" | "onLoadStart" | "onProgress" | "placeholderContentFit" | "contentFit" | "contentPosition" | "blurRadius" | "tintColor" | "priority" | "cachePolicy" | "responsivePolicy" | "recyclingKey" | "autoplay" | "allowDownscaling" | "decodeFormat" | "enableLiveTextInteraction" | "useAppleWebpCodec" | "enforceEarlyResizing" | "onLoadEnd" | "onDisplay" | "resizeMode" | "fit" | "fallbackSrc"> & {
|
|
@@ -175,13 +160,13 @@ export declare const Image: import("react").ForwardRefExoticComponent<Omit<impor
|
|
|
175
160
|
onDisplay?: (() => void) | undefined;
|
|
176
161
|
} & {
|
|
177
162
|
radius?: string | number;
|
|
178
|
-
fit?:
|
|
163
|
+
fit?: ImageObjectFit;
|
|
179
164
|
fallbackSrc?: string;
|
|
180
165
|
src?: import("./types").ImageSrc;
|
|
181
166
|
source?: import("./types").ImageSrc;
|
|
182
167
|
resizeMode?: import("./types").ImageHostResizeMode;
|
|
183
|
-
objectFit?:
|
|
184
|
-
objectPosition?:
|
|
168
|
+
objectFit?: ImageObjectFit;
|
|
169
|
+
objectPosition?: ImageObjectPosition;
|
|
185
170
|
onLoad?: (event: import("./types").ImageLoadEvent) => void;
|
|
186
171
|
onError?: (event: import("./types").ImageErrorEvent) => void;
|
|
187
172
|
} & Omit<import("expo-image").ImageProps, "$xs" | "$sm" | "$md" | "$lg" | "$xl" | "radius" | "zIndex" | "outline" | "filter" | "pointerEvents" | "m" | "my" | "mx" | "mt" | "mb" | "ms" | "me" | "mis" | "mie" | "ml" | "mr" | "p" | "py" | "px" | "pt" | "pb" | "ps" | "pe" | "pis" | "pie" | "pl" | "pr" | "bdrs" | "br" | "bg" | "c" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "pos" | "$gtXs" | "$gtSm" | "$gtMd" | "$gtLg" | "$gtXl" | import("@tamagui/web").GroupMediaKeys | "$theme-light" | "$theme-dark" | "$platform-native" | "$platform-web" | "$platform-android" | "$platform-ios" | "$platform-tv" | "$platform-androidtv" | "$platform-tvos" | "display" | "position" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "borderCurve" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "backdropFilter" | "background" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "boxShadow" | "border" | "overflowX" | "overflowY" | "transformOrigin" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "containerType" | "blockSize" | "inlineSize" | "minBlockSize" | "maxBlockSize" | "objectFit" | "verticalAlign" | "minInlineSize" | "maxInlineSize" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "inset" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "transition" | "animateOnly" | "animatePresence" | "passThrough" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "isolation" | "mixBlendMode" | "experimental_backgroundImage" | "experimental_backgroundSize" | "experimental_backgroundPosition" | "experimental_backgroundRepeat" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "boxSizing" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "right" | "start" | "top" | "width" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "source" | keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> | "alt" | "src" | "objectPosition" | "placeholder" | "onLoad" | "onError" | "onLoadStart" | "onProgress" | "placeholderContentFit" | "contentFit" | "contentPosition" | "blurRadius" | "tintColor" | "priority" | "cachePolicy" | "responsivePolicy" | "recyclingKey" | "autoplay" | "allowDownscaling" | "decodeFormat" | "enableLiveTextInteraction" | "useAppleWebpCodec" | "enforceEarlyResizing" | "onLoadEnd" | "onDisplay" | "resizeMode" | "fit" | "fallbackSrc"> & {
|
|
@@ -215,13 +200,13 @@ export declare const Image: import("react").ForwardRefExoticComponent<Omit<impor
|
|
|
215
200
|
onDisplay?: (() => void) | undefined;
|
|
216
201
|
} & {
|
|
217
202
|
radius?: string | number;
|
|
218
|
-
fit?:
|
|
203
|
+
fit?: ImageObjectFit;
|
|
219
204
|
fallbackSrc?: string;
|
|
220
205
|
src?: import("./types").ImageSrc;
|
|
221
206
|
source?: import("./types").ImageSrc;
|
|
222
207
|
resizeMode?: import("./types").ImageHostResizeMode;
|
|
223
|
-
objectFit?:
|
|
224
|
-
objectPosition?:
|
|
208
|
+
objectFit?: ImageObjectFit;
|
|
209
|
+
objectPosition?: ImageObjectPosition;
|
|
225
210
|
onLoad?: (event: import("./types").ImageLoadEvent) => void;
|
|
226
211
|
onError?: (event: import("./types").ImageErrorEvent) => void;
|
|
227
212
|
} & Omit<import("expo-image").ImageProps, "$xs" | "$sm" | "$md" | "$lg" | "$xl" | "radius" | "zIndex" | "outline" | "filter" | "pointerEvents" | "m" | "my" | "mx" | "mt" | "mb" | "ms" | "me" | "mis" | "mie" | "ml" | "mr" | "p" | "py" | "px" | "pt" | "pb" | "ps" | "pe" | "pis" | "pie" | "pl" | "pr" | "bdrs" | "br" | "bg" | "c" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "pos" | "$gtXs" | "$gtSm" | "$gtMd" | "$gtLg" | "$gtXl" | import("@tamagui/web").GroupMediaKeys | "$theme-light" | "$theme-dark" | "$platform-native" | "$platform-web" | "$platform-android" | "$platform-ios" | "$platform-tv" | "$platform-androidtv" | "$platform-tvos" | "display" | "position" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "borderCurve" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "backdropFilter" | "background" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "boxShadow" | "border" | "overflowX" | "overflowY" | "transformOrigin" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "containerType" | "blockSize" | "inlineSize" | "minBlockSize" | "maxBlockSize" | "objectFit" | "verticalAlign" | "minInlineSize" | "maxInlineSize" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "inset" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "transition" | "animateOnly" | "animatePresence" | "passThrough" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "isolation" | "mixBlendMode" | "experimental_backgroundImage" | "experimental_backgroundSize" | "experimental_backgroundPosition" | "experimental_backgroundRepeat" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "boxSizing" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "right" | "start" | "top" | "width" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "source" | keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> | "alt" | "src" | "objectPosition" | "placeholder" | "onLoad" | "onError" | "onLoadStart" | "onProgress" | "placeholderContentFit" | "contentFit" | "contentPosition" | "blurRadius" | "tintColor" | "priority" | "cachePolicy" | "responsivePolicy" | "recyclingKey" | "autoplay" | "allowDownscaling" | "decodeFormat" | "enableLiveTextInteraction" | "useAppleWebpCodec" | "enforceEarlyResizing" | "onLoadEnd" | "onDisplay" | "resizeMode" | "fit" | "fallbackSrc"> & {
|
|
@@ -259,13 +244,13 @@ export declare const Image: import("react").ForwardRefExoticComponent<Omit<impor
|
|
|
259
244
|
onDisplay?: (() => void) | undefined;
|
|
260
245
|
} & {
|
|
261
246
|
radius?: string | number;
|
|
262
|
-
fit?:
|
|
247
|
+
fit?: ImageObjectFit;
|
|
263
248
|
fallbackSrc?: string;
|
|
264
249
|
src?: import("./types").ImageSrc;
|
|
265
250
|
source?: import("./types").ImageSrc;
|
|
266
251
|
resizeMode?: import("./types").ImageHostResizeMode;
|
|
267
|
-
objectFit?:
|
|
268
|
-
objectPosition?:
|
|
252
|
+
objectFit?: ImageObjectFit;
|
|
253
|
+
objectPosition?: ImageObjectPosition;
|
|
269
254
|
onLoad?: (event: import("./types").ImageLoadEvent) => void;
|
|
270
255
|
onError?: (event: import("./types").ImageErrorEvent) => void;
|
|
271
256
|
} & Omit<import("expo-image").ImageProps, "$xs" | "$sm" | "$md" | "$lg" | "$xl" | "radius" | "zIndex" | "outline" | "filter" | "pointerEvents" | "m" | "my" | "mx" | "mt" | "mb" | "ms" | "me" | "mis" | "mie" | "ml" | "mr" | "p" | "py" | "px" | "pt" | "pb" | "ps" | "pe" | "pis" | "pie" | "pl" | "pr" | "bdrs" | "br" | "bg" | "c" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "pos" | "$gtXs" | "$gtSm" | "$gtMd" | "$gtLg" | "$gtXl" | import("@tamagui/web").GroupMediaKeys | "$theme-light" | "$theme-dark" | "$platform-native" | "$platform-web" | "$platform-android" | "$platform-ios" | "$platform-tv" | "$platform-androidtv" | "$platform-tvos" | "display" | "position" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "borderCurve" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "backdropFilter" | "background" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "boxShadow" | "border" | "overflowX" | "overflowY" | "transformOrigin" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "containerType" | "blockSize" | "inlineSize" | "minBlockSize" | "maxBlockSize" | "objectFit" | "verticalAlign" | "minInlineSize" | "maxInlineSize" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "inset" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "transition" | "animateOnly" | "animatePresence" | "passThrough" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "isolation" | "mixBlendMode" | "experimental_backgroundImage" | "experimental_backgroundSize" | "experimental_backgroundPosition" | "experimental_backgroundRepeat" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "boxSizing" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "right" | "start" | "top" | "width" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "source" | keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> | "alt" | "src" | "objectPosition" | "placeholder" | "onLoad" | "onError" | "onLoadStart" | "onProgress" | "placeholderContentFit" | "contentFit" | "contentPosition" | "blurRadius" | "tintColor" | "priority" | "cachePolicy" | "responsivePolicy" | "recyclingKey" | "autoplay" | "allowDownscaling" | "decodeFormat" | "enableLiveTextInteraction" | "useAppleWebpCodec" | "enforceEarlyResizing" | "onLoadEnd" | "onDisplay" | "resizeMode" | "fit" | "fallbackSrc"> & {
|
|
@@ -298,13 +283,13 @@ export declare const Image: import("react").ForwardRefExoticComponent<Omit<impor
|
|
|
298
283
|
onDisplay?: (() => void) | undefined;
|
|
299
284
|
} & {
|
|
300
285
|
radius?: string | number;
|
|
301
|
-
fit?:
|
|
286
|
+
fit?: ImageObjectFit;
|
|
302
287
|
fallbackSrc?: string;
|
|
303
288
|
src?: import("./types").ImageSrc;
|
|
304
289
|
source?: import("./types").ImageSrc;
|
|
305
290
|
resizeMode?: import("./types").ImageHostResizeMode;
|
|
306
|
-
objectFit?:
|
|
307
|
-
objectPosition?:
|
|
291
|
+
objectFit?: ImageObjectFit;
|
|
292
|
+
objectPosition?: ImageObjectPosition;
|
|
308
293
|
onLoad?: (event: import("./types").ImageLoadEvent) => void;
|
|
309
294
|
onError?: (event: import("./types").ImageErrorEvent) => void;
|
|
310
295
|
} & Omit<import("expo-image").ImageProps, "$xs" | "$sm" | "$md" | "$lg" | "$xl" | "radius" | "zIndex" | "outline" | "filter" | "pointerEvents" | "m" | "my" | "mx" | "mt" | "mb" | "ms" | "me" | "mis" | "mie" | "ml" | "mr" | "p" | "py" | "px" | "pt" | "pb" | "ps" | "pe" | "pis" | "pie" | "pl" | "pr" | "bdrs" | "br" | "bg" | "c" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "pos" | "$gtXs" | "$gtSm" | "$gtMd" | "$gtLg" | "$gtXl" | import("@tamagui/web").GroupMediaKeys | "$theme-light" | "$theme-dark" | "$platform-native" | "$platform-web" | "$platform-android" | "$platform-ios" | "$platform-tv" | "$platform-androidtv" | "$platform-tvos" | "display" | "position" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "borderCurve" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "backdropFilter" | "background" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "boxShadow" | "border" | "overflowX" | "overflowY" | "transformOrigin" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "containerType" | "blockSize" | "inlineSize" | "minBlockSize" | "maxBlockSize" | "objectFit" | "verticalAlign" | "minInlineSize" | "maxInlineSize" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "inset" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "transition" | "animateOnly" | "animatePresence" | "passThrough" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "isolation" | "mixBlendMode" | "experimental_backgroundImage" | "experimental_backgroundSize" | "experimental_backgroundPosition" | "experimental_backgroundRepeat" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "boxSizing" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "right" | "start" | "top" | "width" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "source" | keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> | "alt" | "src" | "objectPosition" | "placeholder" | "onLoad" | "onError" | "onLoadStart" | "onProgress" | "placeholderContentFit" | "contentFit" | "contentPosition" | "blurRadius" | "tintColor" | "priority" | "cachePolicy" | "responsivePolicy" | "recyclingKey" | "autoplay" | "allowDownscaling" | "decodeFormat" | "enableLiveTextInteraction" | "useAppleWebpCodec" | "enforceEarlyResizing" | "onLoadEnd" | "onDisplay" | "resizeMode" | "fit" | "fallbackSrc"> & {
|
|
@@ -338,13 +323,13 @@ export declare const Image: import("react").ForwardRefExoticComponent<Omit<impor
|
|
|
338
323
|
onDisplay?: (() => void) | undefined;
|
|
339
324
|
} & {
|
|
340
325
|
radius?: string | number;
|
|
341
|
-
fit?:
|
|
326
|
+
fit?: ImageObjectFit;
|
|
342
327
|
fallbackSrc?: string;
|
|
343
328
|
src?: import("./types").ImageSrc;
|
|
344
329
|
source?: import("./types").ImageSrc;
|
|
345
330
|
resizeMode?: import("./types").ImageHostResizeMode;
|
|
346
|
-
objectFit?:
|
|
347
|
-
objectPosition?:
|
|
331
|
+
objectFit?: ImageObjectFit;
|
|
332
|
+
objectPosition?: ImageObjectPosition;
|
|
348
333
|
onLoad?: (event: import("./types").ImageLoadEvent) => void;
|
|
349
334
|
onError?: (event: import("./types").ImageErrorEvent) => void;
|
|
350
335
|
} & Omit<import("expo-image").ImageProps, "$xs" | "$sm" | "$md" | "$lg" | "$xl" | "radius" | "zIndex" | "outline" | "filter" | "pointerEvents" | "m" | "my" | "mx" | "mt" | "mb" | "ms" | "me" | "mis" | "mie" | "ml" | "mr" | "p" | "py" | "px" | "pt" | "pb" | "ps" | "pe" | "pis" | "pie" | "pl" | "pr" | "bdrs" | "br" | "bg" | "c" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "pos" | "$gtXs" | "$gtSm" | "$gtMd" | "$gtLg" | "$gtXl" | import("@tamagui/web").GroupMediaKeys | "$theme-light" | "$theme-dark" | "$platform-native" | "$platform-web" | "$platform-android" | "$platform-ios" | "$platform-tv" | "$platform-androidtv" | "$platform-tvos" | "display" | "position" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "borderCurve" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "backdropFilter" | "background" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "boxShadow" | "border" | "overflowX" | "overflowY" | "transformOrigin" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "containerType" | "blockSize" | "inlineSize" | "minBlockSize" | "maxBlockSize" | "objectFit" | "verticalAlign" | "minInlineSize" | "maxInlineSize" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "inset" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "transition" | "animateOnly" | "animatePresence" | "passThrough" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "isolation" | "mixBlendMode" | "experimental_backgroundImage" | "experimental_backgroundSize" | "experimental_backgroundPosition" | "experimental_backgroundRepeat" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "boxSizing" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "right" | "start" | "top" | "width" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "source" | keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> | "alt" | "src" | "objectPosition" | "placeholder" | "onLoad" | "onError" | "onLoadStart" | "onProgress" | "placeholderContentFit" | "contentFit" | "contentPosition" | "blurRadius" | "tintColor" | "priority" | "cachePolicy" | "responsivePolicy" | "recyclingKey" | "autoplay" | "allowDownscaling" | "decodeFormat" | "enableLiveTextInteraction" | "useAppleWebpCodec" | "enforceEarlyResizing" | "onLoadEnd" | "onDisplay" | "resizeMode" | "fit" | "fallbackSrc">, unknown, import("@tamagui/web").TamaguiComponentPropsBaseBase & Record<string, unknown> & Omit<import("@tamagui/web").ViewProps, "transition"> & {
|
|
@@ -375,13 +360,13 @@ export declare const Image: import("react").ForwardRefExoticComponent<Omit<impor
|
|
|
375
360
|
onDisplay?: (() => void) | undefined;
|
|
376
361
|
} & {
|
|
377
362
|
radius?: string | number;
|
|
378
|
-
fit?:
|
|
363
|
+
fit?: ImageObjectFit;
|
|
379
364
|
fallbackSrc?: string;
|
|
380
365
|
src?: import("./types").ImageSrc;
|
|
381
366
|
source?: import("./types").ImageSrc;
|
|
382
367
|
resizeMode?: import("./types").ImageHostResizeMode;
|
|
383
|
-
objectFit?:
|
|
384
|
-
objectPosition?:
|
|
368
|
+
objectFit?: ImageObjectFit;
|
|
369
|
+
objectPosition?: ImageObjectPosition;
|
|
385
370
|
onLoad?: (event: import("./types").ImageLoadEvent) => void;
|
|
386
371
|
onError?: (event: import("./types").ImageErrorEvent) => void;
|
|
387
372
|
} & Omit<import("expo-image").ImageProps, "$xs" | "$sm" | "$md" | "$lg" | "$xl" | "radius" | "zIndex" | "outline" | "filter" | "pointerEvents" | "m" | "my" | "mx" | "mt" | "mb" | "ms" | "me" | "mis" | "mie" | "ml" | "mr" | "p" | "py" | "px" | "pt" | "pb" | "ps" | "pe" | "pis" | "pie" | "pl" | "pr" | "bdrs" | "br" | "bg" | "c" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "pos" | "$gtXs" | "$gtSm" | "$gtMd" | "$gtLg" | "$gtXl" | import("@tamagui/web").GroupMediaKeys | "$theme-light" | "$theme-dark" | "$platform-native" | "$platform-web" | "$platform-android" | "$platform-ios" | "$platform-tv" | "$platform-androidtv" | "$platform-tvos" | "display" | "position" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "borderCurve" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "backdropFilter" | "background" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "boxShadow" | "border" | "overflowX" | "overflowY" | "transformOrigin" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "containerType" | "blockSize" | "inlineSize" | "minBlockSize" | "maxBlockSize" | "objectFit" | "verticalAlign" | "minInlineSize" | "maxInlineSize" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "inset" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "transition" | "animateOnly" | "animatePresence" | "passThrough" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "isolation" | "mixBlendMode" | "experimental_backgroundImage" | "experimental_backgroundSize" | "experimental_backgroundPosition" | "experimental_backgroundRepeat" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "boxSizing" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "right" | "start" | "top" | "width" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "source" | keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> | "alt" | "src" | "objectPosition" | "placeholder" | "onLoad" | "onError" | "onLoadStart" | "onProgress" | "placeholderContentFit" | "contentFit" | "contentPosition" | "blurRadius" | "tintColor" | "priority" | "cachePolicy" | "responsivePolicy" | "recyclingKey" | "autoplay" | "allowDownscaling" | "decodeFormat" | "enableLiveTextInteraction" | "useAppleWebpCodec" | "enforceEarlyResizing" | "onLoadEnd" | "onDisplay" | "resizeMode" | "fit" | "fallbackSrc">, import("@tamagui/web").StackStyleBase, {}, {
|
|
@@ -390,5 +375,6 @@ export declare const Image: import("react").ForwardRefExoticComponent<Omit<impor
|
|
|
390
375
|
Fallback: import("@tamagui/web").TamaguiComponent<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {}>, "$xs" | "$sm" | "$md" | "$lg" | "$xl" | "m" | "my" | "mx" | "mt" | "mb" | "ms" | "me" | "mis" | "mie" | "ml" | "mr" | "p" | "py" | "px" | "pt" | "pb" | "ps" | "pe" | "pis" | "pie" | "pl" | "pr" | "bdrs" | "br" | "bg" | "c" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "pos" | "$gtXs" | "$gtSm" | "$gtMd" | "$gtLg" | "$gtXl" | import("@tamagui/web").GroupMediaKeys | "$theme-light" | "$theme-dark" | "$platform-native" | "$platform-web" | "$platform-android" | "$platform-ios" | "$platform-tv" | "$platform-androidtv" | "$platform-tvos" | keyof import("@tamagui/core").RNTamaguiViewNonStyleProps | keyof import("@tamagui/web").StackStyleBase | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>>> & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase, {}>>, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase, {}>>, import("@tamagui/web").StackStyleBase, {}, import("@tamagui/web").StaticConfigPublic>;
|
|
391
376
|
Placeholder: import("@tamagui/web").TamaguiComponent<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {}>, "$xs" | "$sm" | "$md" | "$lg" | "$xl" | "m" | "my" | "mx" | "mt" | "mb" | "ms" | "me" | "mis" | "mie" | "ml" | "mr" | "p" | "py" | "px" | "pt" | "pb" | "ps" | "pe" | "pis" | "pie" | "pl" | "pr" | "bdrs" | "br" | "bg" | "c" | "ff" | "fz" | "fw" | "lts" | "ta" | "lh" | "fs" | "tt" | "td" | "w" | "miw" | "maw" | "h" | "mih" | "mah" | "pos" | "$gtXs" | "$gtSm" | "$gtMd" | "$gtLg" | "$gtXl" | import("@tamagui/web").GroupMediaKeys | "$theme-light" | "$theme-dark" | "$platform-native" | "$platform-web" | "$platform-android" | "$platform-ios" | "$platform-tv" | "$platform-androidtv" | "$platform-tvos" | keyof import("@tamagui/core").RNTamaguiViewNonStyleProps | keyof import("@tamagui/web").StackStyleBase | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>>> & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase, {}>>, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase, {}>>, import("@tamagui/web").StackStyleBase, {}, import("@tamagui/web").StaticConfigPublic>;
|
|
392
377
|
Overlay: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {}, import("@tamagui/web").StaticConfigPublic>;
|
|
393
|
-
} &
|
|
378
|
+
} & React.ForwardRefExoticComponent<Partial<import("./types").ImageProps> & React.RefAttributes<import("@tamagui/web").TamaguiElement>> & import("./types").ImageStatics;
|
|
379
|
+
export {};
|
|
394
380
|
//# sourceMappingURL=Image.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../src/Image/Image.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../src/Image/Image.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAa,MAAM,SAAS,CAAC;AAkC9E,KAAK,eAAe,GAAG,OAAO,CAAC,mBAAmB,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC;AA0DrE,qFAAqF;AACrF,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,eAAe,GAAG,SAAS,GAAG,MAAM,CAa9E;AAgID;;;GAGG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wKAMhB,CAAC"}
|