@xaui/native 0.9.1-alpha.4 → 0.9.1-alpha.40
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/dist/chunk-2EGR4LWD.js +145 -0
- package/dist/chunk-2NRZKJG7.js +531 -0
- package/dist/chunk-2PMXMKS5.js +67 -0
- package/dist/chunk-2XPG2243.js +586 -0
- package/dist/chunk-36PRYGAM.js +13 -0
- package/dist/chunk-3E7CDKFO.cjs +696 -0
- package/dist/chunk-3GFRSZYR.js +54 -0
- package/dist/chunk-423RQBOX.js +21 -0
- package/dist/chunk-4CUZZWFW.js +92 -0
- package/dist/chunk-4GTAZM2C.js +174 -0
- package/dist/chunk-4KFKWBN5.cjs +89 -0
- package/dist/{chunk-3QBT3Q65.cjs → chunk-57SJ4LJF.cjs} +7 -2
- package/dist/chunk-5R26NM4M.cjs +402 -0
- package/dist/chunk-5VKYNBNA.js +607 -0
- package/dist/chunk-64MXEVT3.js +66 -0
- package/dist/chunk-6DOLGZVV.cjs +147 -0
- package/dist/chunk-6L2TS2R3.cjs +92 -0
- package/dist/chunk-6UEZJRVI.js +669 -0
- package/dist/chunk-734MFAX4.js +27 -0
- package/dist/chunk-73RKQC5X.js +104 -0
- package/dist/chunk-7DPL3ZDS.cjs +21 -0
- package/dist/chunk-7EIHHOHP.cjs +42 -0
- package/dist/chunk-7GHM4GKL.cjs +119 -0
- package/dist/chunk-7YF5NAHQ.cjs +74 -0
- package/dist/{chunk-X2K2FX3W.js → chunk-A3EGFI6T.js} +6 -1
- package/dist/chunk-ABAGZTXZ.cjs +736 -0
- package/dist/{chunk-AW63PTQ4.cjs → chunk-ACAPTWE3.cjs} +85 -81
- package/dist/chunk-AMCSSOJT.cjs +104 -0
- package/dist/chunk-BA2DBSAN.js +102 -0
- package/dist/chunk-BRRXFOBY.js +431 -0
- package/dist/chunk-C5YLPCFC.cjs +293 -0
- package/dist/chunk-DA3OKXHV.cjs +700 -0
- package/dist/chunk-DD4276RF.js +366 -0
- package/dist/chunk-DG2I4PJG.js +701 -0
- package/dist/chunk-DHGLGSH6.js +661 -0
- package/dist/chunk-DIBUQ46Y.js +346 -0
- package/dist/chunk-EGLLDKN6.js +9 -0
- package/dist/chunk-EJQCQPET.cjs +9 -0
- package/dist/chunk-EKS3W46M.cjs +66 -0
- package/dist/chunk-EZEYMLO3.js +402 -0
- package/dist/chunk-F6CQ6CBI.cjs +112 -0
- package/dist/chunk-F6W3JQ7K.js +42 -0
- package/dist/chunk-FHUYHV6J.js +89 -0
- package/dist/chunk-FNEUOBCV.cjs +174 -0
- package/dist/chunk-G7P3ERYF.cjs +478 -0
- package/dist/chunk-GA6PBWNT.js +147 -0
- package/dist/chunk-GFUZ3MUT.cjs +455 -0
- package/dist/chunk-GGW43Q37.cjs +1 -0
- package/dist/chunk-GTR5X65M.cjs +27 -0
- package/dist/chunk-H4E4HDEP.cjs +13 -0
- package/dist/chunk-H7DS4IO7.js +198 -0
- package/dist/chunk-HDVVZG4S.cjs +198 -0
- package/dist/chunk-IKJVLJKT.js +151 -0
- package/dist/chunk-J3MB4PI5.cjs +531 -0
- package/dist/chunk-K72UDPVN.js +119 -0
- package/dist/chunk-KCMYU7WF.js +86 -0
- package/dist/chunk-LRN3RNDO.js +940 -0
- package/dist/chunk-LTX6TB5I.js +124 -0
- package/dist/chunk-LUPCPLND.cjs +145 -0
- package/dist/chunk-M63GFNKV.js +194 -0
- package/dist/chunk-N3KTZMPG.js +293 -0
- package/dist/chunk-NCTOTTVW.js +13 -0
- package/dist/chunk-NWGLP6JX.cjs +410 -0
- package/dist/chunk-R73XQK7X.cjs +314 -0
- package/dist/chunk-RU7JCMWC.cjs +881 -0
- package/dist/chunk-SNIHUKDA.cjs +184 -0
- package/dist/chunk-T5FV5F7A.cjs +607 -0
- package/dist/chunk-TDTUAIFF.cjs +153 -0
- package/dist/chunk-TJ74XVZN.cjs +431 -0
- package/dist/chunk-TK44VBIE.cjs +194 -0
- package/dist/chunk-UAWBAD4E.cjs +346 -0
- package/dist/chunk-UFTCTTKK.js +381 -0
- package/dist/chunk-WDDXU3OH.cjs +67 -0
- package/dist/chunk-WFEMJCXO.cjs +13 -0
- package/dist/chunk-WHJTBTYM.js +0 -0
- package/dist/{chunk-2KXQATVL.js → chunk-WKCQ6VGW.js} +59 -55
- package/dist/chunk-XFPQFCEK.js +455 -0
- package/dist/chunk-XSQPVDFH.cjs +60 -0
- package/dist/chunk-XTC2SLFT.js +153 -0
- package/dist/chunk-XV735BSA.cjs +366 -0
- package/dist/chunk-XWNG2U4K.cjs +124 -0
- package/dist/chunk-YGYYJ3LQ.js +314 -0
- package/dist/chunk-YVHT2UVW.js +74 -0
- package/dist/chunk-ZFOOJK37.cjs +86 -0
- package/dist/close-button.type-BUYuoSt2.d.ts +36 -0
- package/dist/close-button.type-CHsgZ3wO.d.cts +36 -0
- package/dist/components/accordion/index.cjs +35 -0
- package/dist/components/accordion/index.d.cts +299 -0
- package/dist/components/accordion/index.d.ts +299 -0
- package/dist/components/accordion/index.js +35 -0
- package/dist/components/alert/index.cjs +20 -0
- package/dist/components/alert/index.d.cts +169 -0
- package/dist/components/alert/index.d.ts +169 -0
- package/dist/components/alert/index.js +20 -0
- package/dist/components/avatar/index.cjs +16 -0
- package/dist/components/avatar/index.d.cts +131 -0
- package/dist/components/avatar/index.d.ts +131 -0
- package/dist/components/avatar/index.js +16 -0
- package/dist/components/badge/index.cjs +15 -0
- package/dist/components/badge/index.d.cts +157 -0
- package/dist/components/badge/index.d.ts +157 -0
- package/dist/components/badge/index.js +15 -0
- package/dist/components/button/index.cjs +22 -0
- package/dist/components/button/index.d.cts +613 -0
- package/dist/components/button/index.d.ts +613 -0
- package/dist/components/button/index.js +22 -0
- package/dist/components/card/index.cjs +22 -0
- package/dist/components/card/index.d.cts +620 -0
- package/dist/components/card/index.d.ts +620 -0
- package/dist/components/card/index.js +22 -0
- package/dist/components/checkbox/index.cjs +26 -0
- package/dist/components/checkbox/index.d.cts +1136 -0
- package/dist/components/checkbox/index.d.ts +1136 -0
- package/dist/components/checkbox/index.js +26 -0
- package/dist/components/chip/index.cjs +20 -0
- package/dist/components/chip/index.d.cts +608 -0
- package/dist/components/chip/index.d.ts +608 -0
- package/dist/components/chip/index.js +20 -0
- package/dist/components/divider/index.cjs +13 -0
- package/dist/components/divider/index.d.cts +117 -0
- package/dist/components/divider/index.d.ts +117 -0
- package/dist/components/divider/index.js +13 -0
- package/dist/components/field-group/index.cjs +27 -0
- package/dist/components/field-group/index.d.cts +270 -0
- package/dist/components/field-group/index.d.ts +270 -0
- package/dist/components/field-group/index.js +27 -0
- package/dist/components/input-otp/index.cjs +29 -0
- package/dist/components/input-otp/index.d.cts +325 -0
- package/dist/components/input-otp/index.d.ts +325 -0
- package/dist/components/input-otp/index.js +29 -0
- package/dist/components/menu/index.cjs +49 -0
- package/dist/components/menu/index.d.cts +351 -0
- package/dist/components/menu/index.d.ts +351 -0
- package/dist/components/menu/index.js +49 -0
- package/dist/components/popover/index.cjs +38 -0
- package/dist/components/popover/index.d.cts +254 -0
- package/dist/components/popover/index.d.ts +254 -0
- package/dist/components/popover/index.js +38 -0
- package/dist/components/radio/index.cjs +26 -0
- package/dist/components/radio/index.d.cts +1102 -0
- package/dist/components/radio/index.d.ts +1102 -0
- package/dist/components/radio/index.js +26 -0
- package/dist/components/select/index.cjs +50 -0
- package/dist/components/select/index.d.cts +498 -0
- package/dist/components/select/index.d.ts +498 -0
- package/dist/components/select/index.js +50 -0
- package/dist/components/skeleton/index.cjs +11 -0
- package/dist/components/skeleton/index.d.cts +111 -0
- package/dist/components/skeleton/index.d.ts +111 -0
- package/dist/components/skeleton/index.js +11 -0
- package/dist/components/spinner/index.cjs +17 -0
- package/dist/components/spinner/index.d.cts +104 -0
- package/dist/components/spinner/index.d.ts +104 -0
- package/dist/components/spinner/index.js +17 -0
- package/dist/components/switch/index.cjs +27 -0
- package/dist/components/switch/index.d.cts +1154 -0
- package/dist/components/switch/index.d.ts +1154 -0
- package/dist/components/switch/index.js +27 -0
- package/dist/components/text-area/index.cjs +14 -0
- package/dist/components/text-area/index.d.cts +73 -0
- package/dist/components/text-area/index.d.ts +73 -0
- package/dist/components/text-area/index.js +14 -0
- package/dist/components/text-field/index.cjs +25 -0
- package/dist/components/text-field/index.d.cts +205 -0
- package/dist/components/text-field/index.d.ts +205 -0
- package/dist/components/text-field/index.js +25 -0
- package/dist/components/typography/index.cjs +15 -0
- package/dist/components/typography/index.d.cts +116 -0
- package/dist/components/typography/index.d.ts +116 -0
- package/dist/components/typography/index.js +15 -0
- package/dist/components/view/index.cjs +17 -0
- package/dist/components/view/index.d.cts +152 -0
- package/dist/components/view/index.d.ts +152 -0
- package/dist/components/view/index.js +17 -0
- package/dist/create-recipe-BdVd2ffi.d.ts +114 -0
- package/dist/create-recipe-dC7wMfnj.d.cts +114 -0
- package/dist/icon.type-Kml72iSz.d.ts +73 -0
- package/dist/icon.type-d_i9ma-i.d.cts +73 -0
- package/dist/index.cjs +400 -4
- package/dist/index.d.cts +118 -4
- package/dist/index.d.ts +118 -4
- package/dist/index.js +423 -27
- package/dist/placement-DHa0Rrh1.d.cts +38 -0
- package/dist/placement-DHa0Rrh1.d.ts +38 -0
- package/dist/pressable-feedback.type-BA2C9sSz.d.cts +127 -0
- package/dist/pressable-feedback.type-Bs4dQlGj.d.ts +127 -0
- package/dist/style-props.type-CfnoGEP7.d.cts +31 -0
- package/dist/style-props.type-CfnoGEP7.d.ts +31 -0
- package/dist/system/index.cjs +73 -4
- package/dist/system/index.d.cts +379 -193
- package/dist/system/index.d.ts +379 -193
- package/dist/system/index.js +87 -18
- package/dist/text-field.type-0l73acce.d.ts +167 -0
- package/dist/text-field.type-DBh06DU5.d.cts +167 -0
- package/dist/theme/index.cjs +5 -3
- package/dist/theme/index.d.cts +55 -24
- package/dist/theme/index.d.ts +55 -24
- package/dist/theme/index.js +4 -2
- package/dist/{theme.type-C9bFJKFm.d.cts → theme.type-C2gNHpEx.d.cts} +1 -1
- package/dist/{theme.type-C9bFJKFm.d.ts → theme.type-C2gNHpEx.d.ts} +1 -1
- package/package.json +254 -18
- package/dist/chunk-ECDWSSHJ.js +0 -688
- package/dist/chunk-IYFGO523.cjs +0 -688
|
@@ -0,0 +1,620 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import * as react_native from 'react-native';
|
|
4
|
+
import { StyleProp, ViewStyle, TextStyle, ViewProps, ImageSourcePropType, TextProps, PressableStateCallbackType } from 'react-native';
|
|
5
|
+
import { V as ViewStyleProps, T as TextStyleProps } from '../../style-props.type-CfnoGEP7.cjs';
|
|
6
|
+
import { S as Size, R as RadiusKey, X as XAUITheme } from '../../theme.type-C2gNHpEx.cjs';
|
|
7
|
+
import { P as PressableFeedbackProps, a as AnimationProp } from '../../pressable-feedback.type-BA2C9sSz.cjs';
|
|
8
|
+
import { R as Recipe, S as SlotStyles } from '../../create-recipe-dC7wMfnj.cjs';
|
|
9
|
+
import 'react-native-reanimated';
|
|
10
|
+
|
|
11
|
+
type CardSlot = 'root' | 'background' | 'header' | 'body' | 'footer' | 'title' | 'description';
|
|
12
|
+
/**
|
|
13
|
+
* The emphasis ladder, and nothing else (§1 bis). A card **reports nothing**: it is the
|
|
14
|
+
* surface something is reported on, so `success`, `warning` and `danger` are absent the
|
|
15
|
+
* way they are absent from the `Button` — a card coloured by an outcome is a card holding
|
|
16
|
+
* a `Chip` or an `Alert` that carries it.
|
|
17
|
+
*
|
|
18
|
+
* The four levels descend by how much surface is left, and each name means here exactly
|
|
19
|
+
* what it means on a `Button` — that is what makes this a subtype of one vocabulary
|
|
20
|
+
* rather than a second one:
|
|
21
|
+
*
|
|
22
|
+
* - **`default`** — the card: the `surface` fill, a hairline border, the surface shadow.
|
|
23
|
+
* - **`secondary`** — a card inside a card: the next surface level up, no shadow, because
|
|
24
|
+
* a nested surface is not a second elevation.
|
|
25
|
+
* - **`tertiary`** — the outline: a border, no fill, like the `Button`'s `tertiary`.
|
|
26
|
+
* - **`ghost`** — nothing: a region that groups and pads, with no surface of its own.
|
|
27
|
+
*/
|
|
28
|
+
type CardVariant = 'default' | 'secondary' | 'tertiary' | 'ghost';
|
|
29
|
+
type CardSize = Size;
|
|
30
|
+
/**
|
|
31
|
+
* What the `Card` itself understands. R14 — a name in here is the component's, so the
|
|
32
|
+
* style prop that shares it is not exposed: `size` is the card's scale and never
|
|
33
|
+
* `ViewStyle`'s, and `color` is R7's tint.
|
|
34
|
+
*/
|
|
35
|
+
type CardOwnProps = {
|
|
36
|
+
variant?: CardVariant;
|
|
37
|
+
/**
|
|
38
|
+
* Padding, gaps, radius and the type of `Title` and `Description`. **Never a height**:
|
|
39
|
+
* a card is a surface, not a control, and it is as tall as what it holds.
|
|
40
|
+
*/
|
|
41
|
+
size?: CardSize;
|
|
42
|
+
/** Overrides the radius `size` chose. Unset, a card is the shape its size implies. */
|
|
43
|
+
radius?: RadiusKey;
|
|
44
|
+
/**
|
|
45
|
+
* A raw tint (`'#7c3aed'`), never a token (R7). Where it lands follows the variant, as
|
|
46
|
+
* everywhere else: the fill of a `default`, the border of a `tertiary`, the text of a
|
|
47
|
+
* `ghost`. Its contrasted slice is derived in OKLab, so a tinted card's title stays
|
|
48
|
+
* readable on it without being told a second colour.
|
|
49
|
+
*/
|
|
50
|
+
color?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Dims the card and, on a pressable one, stops the touch. A static card is only dimmed
|
|
53
|
+
* — it announces nothing, because there was nothing to disable.
|
|
54
|
+
*/
|
|
55
|
+
isDisabled?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Makes the card a control: a `PressableFeedback` with `accessibilityRole="button"`,
|
|
58
|
+
* the shared scale, and a press wash over the surface.
|
|
59
|
+
*
|
|
60
|
+
* It is a prop and not an inference from `onPress` being present, because the two
|
|
61
|
+
* answers are different **elements** — a `View` and a `Pressable` — and inferring it
|
|
62
|
+
* would remount the card, and change what a screen reader announces, on the render
|
|
63
|
+
* where a handler happens to become `undefined`.
|
|
64
|
+
*/
|
|
65
|
+
isPressable?: boolean;
|
|
66
|
+
/** R9 — `Pressable`'s function form as much as an object or an array. */
|
|
67
|
+
style?: StyleProp<ViewStyle> | ((state: PressableStateCallbackType) => StyleProp<ViewStyle>);
|
|
68
|
+
children?: ReactNode;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* The press behaviour a pressable card forwards. It is on the type unconditionally while
|
|
72
|
+
* `isPressable` is read at runtime, so a handler written without it reaches a `View` that
|
|
73
|
+
* ignores it — which is why the root warns about exactly that case.
|
|
74
|
+
*/
|
|
75
|
+
type CardBehaviourProps = Omit<PressableFeedbackProps, 'isPressed' | 'isDisabled' | 'style' | 'children'>;
|
|
76
|
+
type CardProps = CardOwnProps & CardBehaviourProps & Omit<ViewStyleProps, keyof CardOwnProps>;
|
|
77
|
+
/** `View`'s own props win over the `ViewStyle` keys of the same name (R14). */
|
|
78
|
+
type CardSectionProps = ViewProps & Omit<ViewStyleProps, keyof ViewProps> & {
|
|
79
|
+
children?: ReactNode;
|
|
80
|
+
};
|
|
81
|
+
type CardHeaderProps = CardSectionProps;
|
|
82
|
+
type CardBodyProps = CardSectionProps;
|
|
83
|
+
type CardFooterProps = CardSectionProps;
|
|
84
|
+
/** `Text`'s own props win over the `TextStyle` keys of the same name (R14). */
|
|
85
|
+
type CardTextProps = TextProps & Omit<TextStyleProps, keyof TextProps> & {
|
|
86
|
+
children?: ReactNode;
|
|
87
|
+
};
|
|
88
|
+
type CardTitleProps = CardTextProps;
|
|
89
|
+
type CardDescriptionProps = CardTextProps;
|
|
90
|
+
/**
|
|
91
|
+
* R5 — resolved styles, not props for a slot to resolve a second time. Each entry is the
|
|
92
|
+
* cached `StyleSheet` reference with the uncached tint pass layered over it, so a slot
|
|
93
|
+
* merges its own `style` on top and does no work of its own.
|
|
94
|
+
*/
|
|
95
|
+
type CardContextValue = {
|
|
96
|
+
backgroundStyle: StyleProp<ViewStyle>;
|
|
97
|
+
headerStyle: StyleProp<ViewStyle>;
|
|
98
|
+
bodyStyle: StyleProp<ViewStyle>;
|
|
99
|
+
footerStyle: StyleProp<ViewStyle>;
|
|
100
|
+
titleStyle: StyleProp<TextStyle>;
|
|
101
|
+
descriptionStyle: StyleProp<TextStyle>;
|
|
102
|
+
isDisabled: boolean;
|
|
103
|
+
};
|
|
104
|
+
type CardBackgroundOwnProps = {
|
|
105
|
+
/** An image, stretched to fill the layer and clipped to the card's corner. */
|
|
106
|
+
source?: ImageSourcePropType;
|
|
107
|
+
/** Anything else — a gradient, a video, a blur — already positioned and clipped. */
|
|
108
|
+
children?: ReactNode;
|
|
109
|
+
style?: StyleProp<ViewStyle>;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* `View`'s own props win over the `ViewStyle` keys of the same name (R14). `position` and
|
|
113
|
+
* the four insets stay available: a background that has to bleed past one edge is a real
|
|
114
|
+
* case, and the slot only supplies the default.
|
|
115
|
+
*/
|
|
116
|
+
type CardBackgroundProps = Omit<ViewProps, 'style'> & CardBackgroundOwnProps & Omit<ViewStyleProps, keyof CardBackgroundOwnProps | keyof ViewProps>;
|
|
117
|
+
|
|
118
|
+
declare const useCard: () => CardContextValue;
|
|
119
|
+
|
|
120
|
+
declare const cardRecipe: Recipe<"body" | "footer" | "header" | "title" | "background" | "root" | "description", CardVariant, {
|
|
121
|
+
readonly size: {
|
|
122
|
+
readonly xs: (theme: XAUITheme) => SlotStyles<CardSlot>;
|
|
123
|
+
readonly sm: (theme: XAUITheme) => SlotStyles<CardSlot>;
|
|
124
|
+
readonly md: (theme: XAUITheme) => SlotStyles<CardSlot>;
|
|
125
|
+
readonly lg: (theme: XAUITheme) => SlotStyles<CardSlot>;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* Both slots move together, always: the background layer is what clips the image, so
|
|
129
|
+
* a `radius` that moved only the root would round the card and leave its photo square
|
|
130
|
+
* in the corners.
|
|
131
|
+
*/
|
|
132
|
+
readonly radius: {
|
|
133
|
+
readonly xs: (theme: XAUITheme) => SlotStyles<CardSlot>;
|
|
134
|
+
readonly sm: (theme: XAUITheme) => SlotStyles<CardSlot>;
|
|
135
|
+
readonly md: (theme: XAUITheme) => SlotStyles<CardSlot>;
|
|
136
|
+
readonly lg: (theme: XAUITheme) => SlotStyles<CardSlot>;
|
|
137
|
+
readonly xl: (theme: XAUITheme) => SlotStyles<CardSlot>;
|
|
138
|
+
readonly '2xl': (theme: XAUITheme) => SlotStyles<CardSlot>;
|
|
139
|
+
readonly '3xl': (theme: XAUITheme) => SlotStyles<CardSlot>;
|
|
140
|
+
readonly '4xl': (theme: XAUITheme) => SlotStyles<CardSlot>;
|
|
141
|
+
readonly field: (theme: XAUITheme) => SlotStyles<CardSlot>;
|
|
142
|
+
readonly full: (theme: XAUITheme) => SlotStyles<CardSlot>;
|
|
143
|
+
};
|
|
144
|
+
}>;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* What marks a component as the card's background layer.
|
|
148
|
+
*
|
|
149
|
+
* `Symbol.for` rather than an identity check against `CardBackground`: the registry is
|
|
150
|
+
* global, so two copies of `@xaui/native` in one tree still agree on what a background is,
|
|
151
|
+
* and a third party writing their own — a gradient, a video, a blur — opts into the same
|
|
152
|
+
* treatment instead of being a second-class citizen. It is the bargain
|
|
153
|
+
* `system/pressable-feedback/` already struck for its overlays.
|
|
154
|
+
*/
|
|
155
|
+
declare const CARD_BACKGROUND: unique symbol;
|
|
156
|
+
/** Tags a component so `Card` paints it under everything else. */
|
|
157
|
+
declare function markBackground<T extends object>(component: T): T;
|
|
158
|
+
|
|
159
|
+
declare const Card: react.ForwardRefExoticComponent<{
|
|
160
|
+
variant?: CardVariant;
|
|
161
|
+
size?: CardSize;
|
|
162
|
+
radius?: RadiusKey;
|
|
163
|
+
color?: string;
|
|
164
|
+
isDisabled?: boolean;
|
|
165
|
+
isPressable?: boolean;
|
|
166
|
+
style?: react_native.StyleProp<react_native.ViewStyle> | ((state: react_native.PressableStateCallbackType) => react_native.StyleProp<react_native.ViewStyle>);
|
|
167
|
+
children?: react.ReactNode;
|
|
168
|
+
} & {
|
|
169
|
+
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined | undefined;
|
|
170
|
+
alignItems?: react_native.FlexAlignType | undefined;
|
|
171
|
+
alignSelf?: "auto" | react_native.FlexAlignType | undefined;
|
|
172
|
+
aspectRatio?: number | string | undefined | undefined;
|
|
173
|
+
boxSizing?: "border-box" | "content-box" | undefined | undefined;
|
|
174
|
+
columnGap?: number | string | undefined | undefined;
|
|
175
|
+
direction?: "inherit" | "ltr" | "rtl" | undefined | undefined;
|
|
176
|
+
display?: "none" | "flex" | "contents" | undefined | undefined;
|
|
177
|
+
flex?: number | undefined | undefined;
|
|
178
|
+
flexBasis?: react_native.DimensionValue | undefined;
|
|
179
|
+
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined | undefined;
|
|
180
|
+
flexGrow?: number | undefined | undefined;
|
|
181
|
+
flexShrink?: number | undefined | undefined;
|
|
182
|
+
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined | undefined;
|
|
183
|
+
gap?: number | string | undefined | undefined;
|
|
184
|
+
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined | undefined;
|
|
185
|
+
overflow?: "visible" | "hidden" | "scroll" | undefined | undefined;
|
|
186
|
+
rowGap?: number | string | undefined | undefined;
|
|
187
|
+
bottom?: react_native.DimensionValue | undefined;
|
|
188
|
+
end?: react_native.DimensionValue | undefined;
|
|
189
|
+
inset?: react_native.DimensionValue | undefined;
|
|
190
|
+
insetBlock?: react_native.DimensionValue | undefined;
|
|
191
|
+
insetBlockEnd?: react_native.DimensionValue | undefined;
|
|
192
|
+
insetBlockStart?: react_native.DimensionValue | undefined;
|
|
193
|
+
insetInline?: react_native.DimensionValue | undefined;
|
|
194
|
+
insetInlineEnd?: react_native.DimensionValue | undefined;
|
|
195
|
+
insetInlineStart?: react_native.DimensionValue | undefined;
|
|
196
|
+
position?: "absolute" | "relative" | "static" | undefined | undefined;
|
|
197
|
+
start?: react_native.DimensionValue | undefined;
|
|
198
|
+
top?: react_native.DimensionValue | undefined;
|
|
199
|
+
zIndex?: number | undefined | undefined;
|
|
200
|
+
margin?: react_native.DimensionValue | undefined;
|
|
201
|
+
marginBlock?: react_native.DimensionValue | undefined;
|
|
202
|
+
marginBlockEnd?: react_native.DimensionValue | undefined;
|
|
203
|
+
marginBlockStart?: react_native.DimensionValue | undefined;
|
|
204
|
+
marginBottom?: react_native.DimensionValue | undefined;
|
|
205
|
+
marginEnd?: react_native.DimensionValue | undefined;
|
|
206
|
+
marginHorizontal?: react_native.DimensionValue | undefined;
|
|
207
|
+
marginInline?: react_native.DimensionValue | undefined;
|
|
208
|
+
marginInlineEnd?: react_native.DimensionValue | undefined;
|
|
209
|
+
marginInlineStart?: react_native.DimensionValue | undefined;
|
|
210
|
+
marginStart?: react_native.DimensionValue | undefined;
|
|
211
|
+
marginTop?: react_native.DimensionValue | undefined;
|
|
212
|
+
marginVertical?: react_native.DimensionValue | undefined;
|
|
213
|
+
padding?: react_native.DimensionValue | undefined;
|
|
214
|
+
paddingBlock?: react_native.DimensionValue | undefined;
|
|
215
|
+
paddingBlockEnd?: react_native.DimensionValue | undefined;
|
|
216
|
+
paddingBlockStart?: react_native.DimensionValue | undefined;
|
|
217
|
+
paddingBottom?: react_native.DimensionValue | undefined;
|
|
218
|
+
paddingEnd?: react_native.DimensionValue | undefined;
|
|
219
|
+
paddingHorizontal?: react_native.DimensionValue | undefined;
|
|
220
|
+
paddingInline?: react_native.DimensionValue | undefined;
|
|
221
|
+
paddingInlineEnd?: react_native.DimensionValue | undefined;
|
|
222
|
+
paddingInlineStart?: react_native.DimensionValue | undefined;
|
|
223
|
+
paddingStart?: react_native.DimensionValue | undefined;
|
|
224
|
+
paddingTop?: react_native.DimensionValue | undefined;
|
|
225
|
+
paddingVertical?: react_native.DimensionValue | undefined;
|
|
226
|
+
height?: react_native.DimensionValue | undefined;
|
|
227
|
+
maxHeight?: react_native.DimensionValue | undefined;
|
|
228
|
+
maxWidth?: react_native.DimensionValue | undefined;
|
|
229
|
+
minHeight?: react_native.DimensionValue | undefined;
|
|
230
|
+
minWidth?: react_native.DimensionValue | undefined;
|
|
231
|
+
width?: react_native.DimensionValue | undefined;
|
|
232
|
+
borderBlockColor?: react_native.ColorValue | undefined;
|
|
233
|
+
borderBlockEndColor?: react_native.ColorValue | undefined;
|
|
234
|
+
borderBlockStartColor?: react_native.ColorValue | undefined;
|
|
235
|
+
borderBottomColor?: react_native.ColorValue | undefined;
|
|
236
|
+
borderBottomEndRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
237
|
+
borderBottomStartRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
238
|
+
borderBottomWidth?: number | undefined | undefined;
|
|
239
|
+
borderColor?: react_native.ColorValue | undefined;
|
|
240
|
+
borderCurve?: "circular" | "continuous" | undefined | undefined;
|
|
241
|
+
borderEndColor?: react_native.ColorValue | undefined;
|
|
242
|
+
borderEndEndRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
243
|
+
borderEndStartRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
244
|
+
borderEndWidth?: number | undefined | undefined;
|
|
245
|
+
borderRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
246
|
+
borderStartColor?: react_native.ColorValue | undefined;
|
|
247
|
+
borderStartEndRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
248
|
+
borderStartStartRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
249
|
+
borderStartWidth?: number | undefined | undefined;
|
|
250
|
+
borderStyle?: "solid" | "dotted" | "dashed" | undefined | undefined;
|
|
251
|
+
borderTopColor?: react_native.ColorValue | undefined;
|
|
252
|
+
borderTopEndRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
253
|
+
borderTopStartRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
254
|
+
borderTopWidth?: number | undefined | undefined;
|
|
255
|
+
borderWidth?: number | undefined | undefined;
|
|
256
|
+
backfaceVisibility?: "visible" | "hidden" | undefined | undefined;
|
|
257
|
+
backgroundColor?: react_native.ColorValue | undefined;
|
|
258
|
+
boxShadow?: string | readonly react_native.BoxShadowValue[] | undefined;
|
|
259
|
+
cursor?: react_native.CursorValue | undefined;
|
|
260
|
+
elevation?: number | undefined | undefined;
|
|
261
|
+
experimental_backgroundImage?: string | readonly react_native.GradientValue[] | undefined;
|
|
262
|
+
filter?: string | readonly react_native.FilterFunction[] | undefined;
|
|
263
|
+
isolation?: "auto" | "isolate" | undefined | undefined;
|
|
264
|
+
mixBlendMode?: react_native.BlendMode | undefined;
|
|
265
|
+
opacity?: react_native.AnimatableNumericValue | undefined;
|
|
266
|
+
outlineColor?: react_native.ColorValue | undefined;
|
|
267
|
+
outlineOffset?: react_native.AnimatableNumericValue | undefined;
|
|
268
|
+
outlineStyle?: "solid" | "dotted" | "dashed" | undefined | undefined;
|
|
269
|
+
outlineWidth?: react_native.AnimatableNumericValue | undefined;
|
|
270
|
+
shadowColor?: react_native.ColorValue | undefined;
|
|
271
|
+
shadowOffset?: Readonly<{
|
|
272
|
+
width: number;
|
|
273
|
+
height: number;
|
|
274
|
+
}> | undefined;
|
|
275
|
+
shadowOpacity?: react_native.AnimatableNumericValue | undefined;
|
|
276
|
+
shadowRadius?: number | undefined | undefined;
|
|
277
|
+
rotation?: react_native.AnimatableNumericValue | undefined;
|
|
278
|
+
scaleX?: react_native.AnimatableNumericValue | undefined;
|
|
279
|
+
scaleY?: react_native.AnimatableNumericValue | undefined;
|
|
280
|
+
transform?: string | readonly (({
|
|
281
|
+
scaleX: react_native.AnimatableNumericValue;
|
|
282
|
+
} & {
|
|
283
|
+
scaleY?: undefined;
|
|
284
|
+
translateX?: undefined;
|
|
285
|
+
translateY?: undefined;
|
|
286
|
+
scale?: undefined;
|
|
287
|
+
skewX?: undefined;
|
|
288
|
+
skewY?: undefined;
|
|
289
|
+
perspective?: undefined;
|
|
290
|
+
rotate?: undefined;
|
|
291
|
+
rotateX?: undefined;
|
|
292
|
+
rotateY?: undefined;
|
|
293
|
+
rotateZ?: undefined;
|
|
294
|
+
matrix?: undefined;
|
|
295
|
+
}) | ({
|
|
296
|
+
scaleY: react_native.AnimatableNumericValue;
|
|
297
|
+
} & {
|
|
298
|
+
scaleX?: undefined;
|
|
299
|
+
translateX?: undefined;
|
|
300
|
+
translateY?: undefined;
|
|
301
|
+
scale?: undefined;
|
|
302
|
+
skewX?: undefined;
|
|
303
|
+
skewY?: undefined;
|
|
304
|
+
perspective?: undefined;
|
|
305
|
+
rotate?: undefined;
|
|
306
|
+
rotateX?: undefined;
|
|
307
|
+
rotateY?: undefined;
|
|
308
|
+
rotateZ?: undefined;
|
|
309
|
+
matrix?: undefined;
|
|
310
|
+
}) | ({
|
|
311
|
+
translateX: react_native.AnimatableNumericValue | `${number}%`;
|
|
312
|
+
} & {
|
|
313
|
+
scaleX?: undefined;
|
|
314
|
+
scaleY?: undefined;
|
|
315
|
+
translateY?: undefined;
|
|
316
|
+
scale?: undefined;
|
|
317
|
+
skewX?: undefined;
|
|
318
|
+
skewY?: undefined;
|
|
319
|
+
perspective?: undefined;
|
|
320
|
+
rotate?: undefined;
|
|
321
|
+
rotateX?: undefined;
|
|
322
|
+
rotateY?: undefined;
|
|
323
|
+
rotateZ?: undefined;
|
|
324
|
+
matrix?: undefined;
|
|
325
|
+
}) | ({
|
|
326
|
+
translateY: react_native.AnimatableNumericValue | `${number}%`;
|
|
327
|
+
} & {
|
|
328
|
+
scaleX?: undefined;
|
|
329
|
+
scaleY?: undefined;
|
|
330
|
+
translateX?: undefined;
|
|
331
|
+
scale?: undefined;
|
|
332
|
+
skewX?: undefined;
|
|
333
|
+
skewY?: undefined;
|
|
334
|
+
perspective?: undefined;
|
|
335
|
+
rotate?: undefined;
|
|
336
|
+
rotateX?: undefined;
|
|
337
|
+
rotateY?: undefined;
|
|
338
|
+
rotateZ?: undefined;
|
|
339
|
+
matrix?: undefined;
|
|
340
|
+
}) | ({
|
|
341
|
+
scale: react_native.AnimatableNumericValue;
|
|
342
|
+
} & {
|
|
343
|
+
scaleX?: undefined;
|
|
344
|
+
scaleY?: undefined;
|
|
345
|
+
translateX?: undefined;
|
|
346
|
+
translateY?: undefined;
|
|
347
|
+
skewX?: undefined;
|
|
348
|
+
skewY?: undefined;
|
|
349
|
+
perspective?: undefined;
|
|
350
|
+
rotate?: undefined;
|
|
351
|
+
rotateX?: undefined;
|
|
352
|
+
rotateY?: undefined;
|
|
353
|
+
rotateZ?: undefined;
|
|
354
|
+
matrix?: undefined;
|
|
355
|
+
}) | ({
|
|
356
|
+
skewX: react_native.AnimatableStringValue;
|
|
357
|
+
} & {
|
|
358
|
+
scaleX?: undefined;
|
|
359
|
+
scaleY?: undefined;
|
|
360
|
+
translateX?: undefined;
|
|
361
|
+
translateY?: undefined;
|
|
362
|
+
scale?: undefined;
|
|
363
|
+
skewY?: undefined;
|
|
364
|
+
perspective?: undefined;
|
|
365
|
+
rotate?: undefined;
|
|
366
|
+
rotateX?: undefined;
|
|
367
|
+
rotateY?: undefined;
|
|
368
|
+
rotateZ?: undefined;
|
|
369
|
+
matrix?: undefined;
|
|
370
|
+
}) | ({
|
|
371
|
+
skewY: react_native.AnimatableStringValue;
|
|
372
|
+
} & {
|
|
373
|
+
scaleX?: undefined;
|
|
374
|
+
scaleY?: undefined;
|
|
375
|
+
translateX?: undefined;
|
|
376
|
+
translateY?: undefined;
|
|
377
|
+
scale?: undefined;
|
|
378
|
+
skewX?: undefined;
|
|
379
|
+
perspective?: undefined;
|
|
380
|
+
rotate?: undefined;
|
|
381
|
+
rotateX?: undefined;
|
|
382
|
+
rotateY?: undefined;
|
|
383
|
+
rotateZ?: undefined;
|
|
384
|
+
matrix?: undefined;
|
|
385
|
+
}) | ({
|
|
386
|
+
perspective: react_native.AnimatableNumericValue;
|
|
387
|
+
} & {
|
|
388
|
+
scaleX?: undefined;
|
|
389
|
+
scaleY?: undefined;
|
|
390
|
+
translateX?: undefined;
|
|
391
|
+
translateY?: undefined;
|
|
392
|
+
scale?: undefined;
|
|
393
|
+
skewX?: undefined;
|
|
394
|
+
skewY?: undefined;
|
|
395
|
+
rotate?: undefined;
|
|
396
|
+
rotateX?: undefined;
|
|
397
|
+
rotateY?: undefined;
|
|
398
|
+
rotateZ?: undefined;
|
|
399
|
+
matrix?: undefined;
|
|
400
|
+
}) | ({
|
|
401
|
+
rotate: react_native.AnimatableStringValue;
|
|
402
|
+
} & {
|
|
403
|
+
scaleX?: undefined;
|
|
404
|
+
scaleY?: undefined;
|
|
405
|
+
translateX?: undefined;
|
|
406
|
+
translateY?: undefined;
|
|
407
|
+
scale?: undefined;
|
|
408
|
+
skewX?: undefined;
|
|
409
|
+
skewY?: undefined;
|
|
410
|
+
perspective?: undefined;
|
|
411
|
+
rotateX?: undefined;
|
|
412
|
+
rotateY?: undefined;
|
|
413
|
+
rotateZ?: undefined;
|
|
414
|
+
matrix?: undefined;
|
|
415
|
+
}) | ({
|
|
416
|
+
rotateX: react_native.AnimatableStringValue;
|
|
417
|
+
} & {
|
|
418
|
+
scaleX?: undefined;
|
|
419
|
+
scaleY?: undefined;
|
|
420
|
+
translateX?: undefined;
|
|
421
|
+
translateY?: undefined;
|
|
422
|
+
scale?: undefined;
|
|
423
|
+
skewX?: undefined;
|
|
424
|
+
skewY?: undefined;
|
|
425
|
+
perspective?: undefined;
|
|
426
|
+
rotate?: undefined;
|
|
427
|
+
rotateY?: undefined;
|
|
428
|
+
rotateZ?: undefined;
|
|
429
|
+
matrix?: undefined;
|
|
430
|
+
}) | ({
|
|
431
|
+
rotateY: react_native.AnimatableStringValue;
|
|
432
|
+
} & {
|
|
433
|
+
scaleX?: undefined;
|
|
434
|
+
scaleY?: undefined;
|
|
435
|
+
translateX?: undefined;
|
|
436
|
+
translateY?: undefined;
|
|
437
|
+
scale?: undefined;
|
|
438
|
+
skewX?: undefined;
|
|
439
|
+
skewY?: undefined;
|
|
440
|
+
perspective?: undefined;
|
|
441
|
+
rotate?: undefined;
|
|
442
|
+
rotateX?: undefined;
|
|
443
|
+
rotateZ?: undefined;
|
|
444
|
+
matrix?: undefined;
|
|
445
|
+
}) | ({
|
|
446
|
+
rotateZ: react_native.AnimatableStringValue;
|
|
447
|
+
} & {
|
|
448
|
+
scaleX?: undefined;
|
|
449
|
+
scaleY?: undefined;
|
|
450
|
+
translateX?: undefined;
|
|
451
|
+
translateY?: undefined;
|
|
452
|
+
scale?: undefined;
|
|
453
|
+
skewX?: undefined;
|
|
454
|
+
skewY?: undefined;
|
|
455
|
+
perspective?: undefined;
|
|
456
|
+
rotate?: undefined;
|
|
457
|
+
rotateX?: undefined;
|
|
458
|
+
rotateY?: undefined;
|
|
459
|
+
matrix?: undefined;
|
|
460
|
+
}) | ({
|
|
461
|
+
matrix: react_native.AnimatableNumericValue[];
|
|
462
|
+
} & {
|
|
463
|
+
scaleX?: undefined;
|
|
464
|
+
scaleY?: undefined;
|
|
465
|
+
translateX?: undefined;
|
|
466
|
+
translateY?: undefined;
|
|
467
|
+
scale?: undefined;
|
|
468
|
+
skewX?: undefined;
|
|
469
|
+
skewY?: undefined;
|
|
470
|
+
perspective?: undefined;
|
|
471
|
+
rotate?: undefined;
|
|
472
|
+
rotateX?: undefined;
|
|
473
|
+
rotateY?: undefined;
|
|
474
|
+
rotateZ?: undefined;
|
|
475
|
+
}))[] | undefined;
|
|
476
|
+
transformMatrix?: number[] | undefined;
|
|
477
|
+
transformOrigin?: string | (string | number)[] | undefined;
|
|
478
|
+
translateX?: react_native.AnimatableNumericValue | undefined;
|
|
479
|
+
translateY?: react_native.AnimatableNumericValue | undefined;
|
|
480
|
+
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined | undefined;
|
|
481
|
+
hitSlop?: number | react_native.Insets | null | undefined;
|
|
482
|
+
id?: string | undefined | undefined;
|
|
483
|
+
needsOffscreenAlphaCompositing?: boolean | undefined | undefined;
|
|
484
|
+
onLayout?: ((event: react_native.LayoutChangeEvent) => void) | undefined | undefined;
|
|
485
|
+
removeClippedSubviews?: boolean | undefined | undefined;
|
|
486
|
+
testID?: string | undefined | undefined;
|
|
487
|
+
nativeID?: string | undefined | undefined;
|
|
488
|
+
collapsable?: boolean | undefined | undefined;
|
|
489
|
+
collapsableChildren?: boolean | undefined | undefined;
|
|
490
|
+
onBlur?: null | ((event: react_native.NativeSyntheticEvent<react_native.TargetedEvent>) => void) | undefined | undefined;
|
|
491
|
+
onFocus?: null | ((event: react_native.NativeSyntheticEvent<react_native.TargetedEvent>) => void) | undefined | undefined;
|
|
492
|
+
renderToHardwareTextureAndroid?: boolean | undefined | undefined;
|
|
493
|
+
focusable?: boolean | undefined | undefined;
|
|
494
|
+
tabIndex?: 0 | -1 | undefined | undefined;
|
|
495
|
+
shouldRasterizeIOS?: boolean | undefined | undefined;
|
|
496
|
+
isTVSelectable?: boolean | undefined | undefined;
|
|
497
|
+
hasTVPreferredFocus?: boolean | undefined | undefined;
|
|
498
|
+
tvParallaxShiftDistanceX?: number | undefined | undefined;
|
|
499
|
+
tvParallaxShiftDistanceY?: number | undefined | undefined;
|
|
500
|
+
tvParallaxTiltAngle?: number | undefined | undefined;
|
|
501
|
+
tvParallaxMagnification?: number | undefined | undefined;
|
|
502
|
+
onStartShouldSetResponder?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
|
|
503
|
+
onMoveShouldSetResponder?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
|
|
504
|
+
onResponderEnd?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
505
|
+
onResponderGrant?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
506
|
+
onResponderReject?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
507
|
+
onResponderMove?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
508
|
+
onResponderRelease?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
509
|
+
onResponderStart?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
510
|
+
onResponderTerminationRequest?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
|
|
511
|
+
onResponderTerminate?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
512
|
+
onStartShouldSetResponderCapture?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
|
|
513
|
+
onMoveShouldSetResponderCapture?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
|
|
514
|
+
onTouchStart?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
515
|
+
onTouchMove?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
516
|
+
onTouchEnd?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
517
|
+
onTouchCancel?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
518
|
+
onTouchEndCapture?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
519
|
+
onPointerEnter?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
520
|
+
onPointerEnterCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
521
|
+
onPointerLeave?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
522
|
+
onPointerLeaveCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
523
|
+
onPointerMove?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
524
|
+
onPointerMoveCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
525
|
+
onPointerCancel?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
526
|
+
onPointerCancelCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
527
|
+
onPointerDown?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
528
|
+
onPointerDownCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
529
|
+
onPointerUp?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
530
|
+
onPointerUpCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
531
|
+
accessible?: boolean | undefined | undefined;
|
|
532
|
+
accessibilityActions?: readonly Readonly<{
|
|
533
|
+
name: react_native.AccessibilityActionName | string;
|
|
534
|
+
label?: string | undefined;
|
|
535
|
+
}>[] | undefined;
|
|
536
|
+
accessibilityLabel?: string | undefined | undefined;
|
|
537
|
+
'aria-label'?: string | undefined | undefined;
|
|
538
|
+
accessibilityRole?: react_native.AccessibilityRole | undefined;
|
|
539
|
+
accessibilityState?: react_native.AccessibilityState | undefined;
|
|
540
|
+
'aria-busy'?: boolean | undefined | undefined;
|
|
541
|
+
'aria-checked'?: boolean | "mixed" | undefined | undefined;
|
|
542
|
+
'aria-disabled'?: boolean | undefined | undefined;
|
|
543
|
+
'aria-expanded'?: boolean | undefined | undefined;
|
|
544
|
+
'aria-selected'?: boolean | undefined | undefined;
|
|
545
|
+
accessibilityHint?: string | undefined | undefined;
|
|
546
|
+
accessibilityValue?: react_native.AccessibilityValue | undefined;
|
|
547
|
+
'aria-valuemax'?: number | undefined;
|
|
548
|
+
'aria-valuemin'?: number | undefined;
|
|
549
|
+
'aria-valuenow'?: number | undefined;
|
|
550
|
+
'aria-valuetext'?: string | undefined;
|
|
551
|
+
onAccessibilityAction?: ((event: react_native.AccessibilityActionEvent) => void) | undefined | undefined;
|
|
552
|
+
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined | undefined;
|
|
553
|
+
'aria-hidden'?: boolean | undefined | undefined;
|
|
554
|
+
'aria-modal'?: boolean | undefined | undefined;
|
|
555
|
+
role?: react_native.Role | undefined;
|
|
556
|
+
accessibilityLabelledBy?: string | string[] | undefined | undefined;
|
|
557
|
+
'aria-labelledby'?: string | undefined | undefined;
|
|
558
|
+
accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined | undefined;
|
|
559
|
+
'aria-live'?: ("polite" | "assertive" | "off") | undefined | undefined;
|
|
560
|
+
screenReaderFocusable?: boolean | undefined | undefined;
|
|
561
|
+
accessibilityElementsHidden?: boolean | undefined | undefined;
|
|
562
|
+
accessibilityViewIsModal?: boolean | undefined | undefined;
|
|
563
|
+
onAccessibilityEscape?: (() => void) | undefined | undefined;
|
|
564
|
+
onAccessibilityTap?: (() => void) | undefined | undefined;
|
|
565
|
+
onMagicTap?: (() => void) | undefined | undefined;
|
|
566
|
+
accessibilityIgnoresInvertColors?: boolean | undefined | undefined;
|
|
567
|
+
accessibilityLanguage?: string | undefined | undefined;
|
|
568
|
+
accessibilityShowsLargeContentViewer?: boolean | undefined | undefined;
|
|
569
|
+
accessibilityLargeContentTitle?: string | undefined | undefined;
|
|
570
|
+
accessibilityRespondsToUserInteraction?: boolean | undefined | undefined;
|
|
571
|
+
onPress?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
572
|
+
onPressIn?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
573
|
+
onPressOut?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
574
|
+
onLongPress?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
575
|
+
delayLongPress?: null | number | undefined | undefined;
|
|
576
|
+
asChild?: boolean | undefined;
|
|
577
|
+
onHoverIn?: null | ((event: react_native.MouseEvent) => void) | undefined | undefined;
|
|
578
|
+
onHoverOut?: null | ((event: react_native.MouseEvent) => void) | undefined | undefined;
|
|
579
|
+
cancelable?: null | boolean | undefined | undefined;
|
|
580
|
+
delayHoverIn?: number | null | undefined | undefined;
|
|
581
|
+
delayHoverOut?: number | null | undefined | undefined;
|
|
582
|
+
pressRetentionOffset?: number | react_native.Insets | null | undefined;
|
|
583
|
+
android_disableSound?: null | boolean | undefined | undefined;
|
|
584
|
+
android_ripple?: react_native.PressableAndroidRippleConfig | null | undefined;
|
|
585
|
+
testOnly_pressed?: null | boolean | undefined | undefined;
|
|
586
|
+
unstable_pressDelay?: number | undefined | undefined;
|
|
587
|
+
animation?: AnimationProp | undefined;
|
|
588
|
+
} & Omit<ViewStyleProps, keyof {
|
|
589
|
+
variant?: CardVariant;
|
|
590
|
+
size?: CardSize;
|
|
591
|
+
radius?: RadiusKey;
|
|
592
|
+
color?: string;
|
|
593
|
+
isDisabled?: boolean;
|
|
594
|
+
isPressable?: boolean;
|
|
595
|
+
style?: react_native.StyleProp<react_native.ViewStyle> | ((state: react_native.PressableStateCallbackType) => react_native.StyleProp<react_native.ViewStyle>);
|
|
596
|
+
children?: react.ReactNode;
|
|
597
|
+
}> & react.RefAttributes<react_native.View>> & {
|
|
598
|
+
Background: react.ForwardRefExoticComponent<Omit<react_native.ViewProps, "style"> & {
|
|
599
|
+
source?: react_native.ImageSourcePropType;
|
|
600
|
+
children?: react.ReactNode;
|
|
601
|
+
style?: react_native.StyleProp<react_native.ViewStyle>;
|
|
602
|
+
} & Omit<ViewStyleProps, "pointerEvents" | "style" | "children" | "source" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction"> & react.RefAttributes<react_native.View>>;
|
|
603
|
+
Header: react.ForwardRefExoticComponent<react_native.ViewProps & Omit<ViewStyleProps, keyof react_native.ViewProps> & {
|
|
604
|
+
children?: react.ReactNode;
|
|
605
|
+
} & react.RefAttributes<react_native.View>>;
|
|
606
|
+
Body: react.ForwardRefExoticComponent<react_native.ViewProps & Omit<ViewStyleProps, keyof react_native.ViewProps> & {
|
|
607
|
+
children?: react.ReactNode;
|
|
608
|
+
} & react.RefAttributes<react_native.View>>;
|
|
609
|
+
Footer: react.ForwardRefExoticComponent<react_native.ViewProps & Omit<ViewStyleProps, keyof react_native.ViewProps> & {
|
|
610
|
+
children?: react.ReactNode;
|
|
611
|
+
} & react.RefAttributes<react_native.View>>;
|
|
612
|
+
Title: react.ForwardRefExoticComponent<react_native.TextProps & Omit<TextStyleProps, keyof react_native.TextProps> & {
|
|
613
|
+
children?: react.ReactNode;
|
|
614
|
+
} & react.RefAttributes<react_native.Text>>;
|
|
615
|
+
Description: react.ForwardRefExoticComponent<react_native.TextProps & Omit<TextStyleProps, keyof react_native.TextProps> & {
|
|
616
|
+
children?: react.ReactNode;
|
|
617
|
+
} & react.RefAttributes<react_native.Text>>;
|
|
618
|
+
};
|
|
619
|
+
|
|
620
|
+
export { CARD_BACKGROUND, Card, type CardBackgroundProps, type CardBodyProps, type CardContextValue, type CardDescriptionProps, type CardFooterProps, type CardHeaderProps, type CardProps, type CardSize, type CardSlot, type CardTitleProps, type CardVariant, cardRecipe, markBackground, useCard };
|