@xaui/native 0.9.1-alpha.20 → 0.9.1-alpha.21
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-A4VD4MHK.cjs → chunk-4NE3SLTM.cjs} +63 -125
- package/dist/chunk-5LC6KVL3.cjs +68 -0
- package/dist/{chunk-6ARON3XT.cjs → chunk-APCBIHLR.cjs} +23 -50
- package/dist/chunk-BPBY7ON7.cjs +451 -0
- package/dist/{chunk-WXAME7KB.js → chunk-IBRVMLUF.js} +97 -157
- package/dist/{chunk-4EPS7UBO.js → chunk-ISVUXVFL.js} +18 -43
- package/dist/chunk-JL27KVRT.js +68 -0
- package/dist/chunk-RRRGLRRP.cjs +28 -0
- package/dist/chunk-SGHP76GU.js +28 -0
- package/dist/{chunk-MWXE7D4L.js → chunk-TUJBDS5M.js} +1 -1
- package/dist/{chunk-BHTFIZTQ.cjs → chunk-UL263KGM.cjs} +1 -1
- package/dist/chunk-YRCUALUQ.js +451 -0
- package/dist/components/button/index.cjs +5 -3
- package/dist/components/button/index.d.cts +3 -2
- package/dist/components/button/index.d.ts +3 -2
- package/dist/components/button/index.js +4 -2
- package/dist/components/card/index.cjs +20 -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 +20 -0
- package/dist/components/typography/index.d.cts +1 -1
- package/dist/components/typography/index.d.ts +1 -1
- package/dist/{create-recipe-CPXFo2rk.d.ts → create-recipe-CC3NNCqF.d.ts} +6 -1
- package/dist/{create-recipe-C0XXjuow.d.cts → create-recipe-CPBFg7ym.d.cts} +6 -1
- package/dist/icon.type-BkcEPJbK.d.ts +73 -0
- package/dist/icon.type-Cs1tMX0W.d.cts +73 -0
- package/dist/index.cjs +21 -5
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +24 -8
- package/dist/{pressable-feedback.type-BwkKLQlX.d.ts → pressable-feedback.type-DsvWZXWC.d.ts} +4 -72
- package/dist/{pressable-feedback.type-1K8YEOb8.d.cts → pressable-feedback.type-wfeiJz5m.d.cts} +4 -72
- package/dist/system/index.cjs +4 -2
- package/dist/system/index.d.cts +5 -3
- package/dist/system/index.d.ts +5 -3
- package/dist/system/index.js +7 -5
- package/dist/theme/index.cjs +2 -2
- package/dist/theme/index.d.cts +1 -1
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/index.js +1 -1
- package/package.json +11 -1
|
@@ -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-B1BG5TCm.js';
|
|
6
|
+
import { P as PressableFeedbackProps, a as AnimationProp } from '../../pressable-feedback.type-DsvWZXWC.js';
|
|
7
|
+
import { S as Size, R as RadiusKey, X as XAUITheme } from '../../theme.type-C2gNHpEx.js';
|
|
8
|
+
import { R as Recipe, g as SlotStyles } from '../../create-recipe-CC3NNCqF.js';
|
|
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<"background" | "body" | "footer" | "header" | "title" | "description" | "root", 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
|
+
borderWidth?: number | undefined | undefined;
|
|
170
|
+
opacity?: react_native.AnimatableNumericValue | undefined;
|
|
171
|
+
filter?: string | readonly react_native.FilterFunction[] | undefined;
|
|
172
|
+
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined | undefined;
|
|
173
|
+
alignItems?: react_native.FlexAlignType | undefined;
|
|
174
|
+
alignSelf?: "auto" | react_native.FlexAlignType | undefined;
|
|
175
|
+
aspectRatio?: number | string | undefined | undefined;
|
|
176
|
+
boxSizing?: "border-box" | "content-box" | undefined | undefined;
|
|
177
|
+
columnGap?: number | string | undefined | undefined;
|
|
178
|
+
direction?: "inherit" | "ltr" | "rtl" | undefined | undefined;
|
|
179
|
+
display?: "none" | "flex" | "contents" | undefined | undefined;
|
|
180
|
+
flex?: number | undefined | undefined;
|
|
181
|
+
flexBasis?: react_native.DimensionValue | undefined;
|
|
182
|
+
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined | undefined;
|
|
183
|
+
flexGrow?: number | undefined | undefined;
|
|
184
|
+
flexShrink?: number | undefined | undefined;
|
|
185
|
+
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined | undefined;
|
|
186
|
+
gap?: number | string | undefined | undefined;
|
|
187
|
+
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined | undefined;
|
|
188
|
+
overflow?: "visible" | "hidden" | "scroll" | undefined | undefined;
|
|
189
|
+
rowGap?: number | string | undefined | undefined;
|
|
190
|
+
bottom?: react_native.DimensionValue | undefined;
|
|
191
|
+
end?: react_native.DimensionValue | undefined;
|
|
192
|
+
inset?: react_native.DimensionValue | undefined;
|
|
193
|
+
insetBlock?: react_native.DimensionValue | undefined;
|
|
194
|
+
insetBlockEnd?: react_native.DimensionValue | undefined;
|
|
195
|
+
insetBlockStart?: react_native.DimensionValue | undefined;
|
|
196
|
+
insetInline?: react_native.DimensionValue | undefined;
|
|
197
|
+
insetInlineEnd?: react_native.DimensionValue | undefined;
|
|
198
|
+
insetInlineStart?: react_native.DimensionValue | undefined;
|
|
199
|
+
position?: "absolute" | "relative" | "static" | undefined | undefined;
|
|
200
|
+
start?: react_native.DimensionValue | undefined;
|
|
201
|
+
top?: react_native.DimensionValue | undefined;
|
|
202
|
+
zIndex?: number | undefined | undefined;
|
|
203
|
+
margin?: react_native.DimensionValue | undefined;
|
|
204
|
+
marginBlock?: react_native.DimensionValue | undefined;
|
|
205
|
+
marginBlockEnd?: react_native.DimensionValue | undefined;
|
|
206
|
+
marginBlockStart?: react_native.DimensionValue | undefined;
|
|
207
|
+
marginBottom?: react_native.DimensionValue | undefined;
|
|
208
|
+
marginEnd?: react_native.DimensionValue | undefined;
|
|
209
|
+
marginHorizontal?: react_native.DimensionValue | undefined;
|
|
210
|
+
marginInline?: react_native.DimensionValue | undefined;
|
|
211
|
+
marginInlineEnd?: react_native.DimensionValue | undefined;
|
|
212
|
+
marginInlineStart?: react_native.DimensionValue | undefined;
|
|
213
|
+
marginStart?: react_native.DimensionValue | undefined;
|
|
214
|
+
marginTop?: react_native.DimensionValue | undefined;
|
|
215
|
+
marginVertical?: react_native.DimensionValue | undefined;
|
|
216
|
+
padding?: react_native.DimensionValue | undefined;
|
|
217
|
+
paddingBlock?: react_native.DimensionValue | undefined;
|
|
218
|
+
paddingBlockEnd?: react_native.DimensionValue | undefined;
|
|
219
|
+
paddingBlockStart?: react_native.DimensionValue | undefined;
|
|
220
|
+
paddingBottom?: react_native.DimensionValue | undefined;
|
|
221
|
+
paddingEnd?: react_native.DimensionValue | undefined;
|
|
222
|
+
paddingHorizontal?: react_native.DimensionValue | undefined;
|
|
223
|
+
paddingInline?: react_native.DimensionValue | undefined;
|
|
224
|
+
paddingInlineEnd?: react_native.DimensionValue | undefined;
|
|
225
|
+
paddingInlineStart?: react_native.DimensionValue | undefined;
|
|
226
|
+
paddingStart?: react_native.DimensionValue | undefined;
|
|
227
|
+
paddingTop?: react_native.DimensionValue | undefined;
|
|
228
|
+
paddingVertical?: react_native.DimensionValue | undefined;
|
|
229
|
+
height?: react_native.DimensionValue | undefined;
|
|
230
|
+
maxHeight?: react_native.DimensionValue | undefined;
|
|
231
|
+
maxWidth?: react_native.DimensionValue | undefined;
|
|
232
|
+
minHeight?: react_native.DimensionValue | undefined;
|
|
233
|
+
minWidth?: react_native.DimensionValue | undefined;
|
|
234
|
+
width?: react_native.DimensionValue | undefined;
|
|
235
|
+
borderBlockColor?: react_native.ColorValue | undefined;
|
|
236
|
+
borderBlockEndColor?: react_native.ColorValue | undefined;
|
|
237
|
+
borderBlockStartColor?: react_native.ColorValue | undefined;
|
|
238
|
+
borderBottomColor?: react_native.ColorValue | undefined;
|
|
239
|
+
borderBottomEndRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
240
|
+
borderBottomStartRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
241
|
+
borderBottomWidth?: number | undefined | undefined;
|
|
242
|
+
borderColor?: react_native.ColorValue | undefined;
|
|
243
|
+
borderCurve?: "circular" | "continuous" | undefined | undefined;
|
|
244
|
+
borderEndColor?: react_native.ColorValue | undefined;
|
|
245
|
+
borderEndEndRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
246
|
+
borderEndStartRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
247
|
+
borderEndWidth?: number | undefined | undefined;
|
|
248
|
+
borderRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
249
|
+
borderStartColor?: react_native.ColorValue | undefined;
|
|
250
|
+
borderStartEndRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
251
|
+
borderStartStartRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
252
|
+
borderStartWidth?: number | undefined | undefined;
|
|
253
|
+
borderStyle?: "solid" | "dotted" | "dashed" | undefined | undefined;
|
|
254
|
+
borderTopColor?: react_native.ColorValue | undefined;
|
|
255
|
+
borderTopEndRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
256
|
+
borderTopStartRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
257
|
+
borderTopWidth?: number | undefined | undefined;
|
|
258
|
+
backfaceVisibility?: "visible" | "hidden" | undefined | undefined;
|
|
259
|
+
backgroundColor?: react_native.ColorValue | undefined;
|
|
260
|
+
boxShadow?: string | readonly react_native.BoxShadowValue[] | undefined;
|
|
261
|
+
cursor?: react_native.CursorValue | undefined;
|
|
262
|
+
elevation?: number | undefined | undefined;
|
|
263
|
+
experimental_backgroundImage?: string | readonly react_native.GradientValue[] | undefined;
|
|
264
|
+
isolation?: "auto" | "isolate" | undefined | undefined;
|
|
265
|
+
mixBlendMode?: react_native.BlendMode | 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
|
+
perspective?: undefined;
|
|
287
|
+
rotate?: undefined;
|
|
288
|
+
rotateX?: undefined;
|
|
289
|
+
rotateY?: undefined;
|
|
290
|
+
rotateZ?: undefined;
|
|
291
|
+
scale?: undefined;
|
|
292
|
+
skewX?: undefined;
|
|
293
|
+
skewY?: undefined;
|
|
294
|
+
matrix?: undefined;
|
|
295
|
+
}) | ({
|
|
296
|
+
scaleY: react_native.AnimatableNumericValue;
|
|
297
|
+
} & {
|
|
298
|
+
scaleX?: undefined;
|
|
299
|
+
translateX?: undefined;
|
|
300
|
+
translateY?: undefined;
|
|
301
|
+
perspective?: undefined;
|
|
302
|
+
rotate?: undefined;
|
|
303
|
+
rotateX?: undefined;
|
|
304
|
+
rotateY?: undefined;
|
|
305
|
+
rotateZ?: undefined;
|
|
306
|
+
scale?: undefined;
|
|
307
|
+
skewX?: undefined;
|
|
308
|
+
skewY?: undefined;
|
|
309
|
+
matrix?: undefined;
|
|
310
|
+
}) | ({
|
|
311
|
+
translateX: react_native.AnimatableNumericValue | `${number}%`;
|
|
312
|
+
} & {
|
|
313
|
+
scaleX?: undefined;
|
|
314
|
+
scaleY?: undefined;
|
|
315
|
+
translateY?: undefined;
|
|
316
|
+
perspective?: undefined;
|
|
317
|
+
rotate?: undefined;
|
|
318
|
+
rotateX?: undefined;
|
|
319
|
+
rotateY?: undefined;
|
|
320
|
+
rotateZ?: undefined;
|
|
321
|
+
scale?: undefined;
|
|
322
|
+
skewX?: undefined;
|
|
323
|
+
skewY?: undefined;
|
|
324
|
+
matrix?: undefined;
|
|
325
|
+
}) | ({
|
|
326
|
+
translateY: react_native.AnimatableNumericValue | `${number}%`;
|
|
327
|
+
} & {
|
|
328
|
+
scaleX?: undefined;
|
|
329
|
+
scaleY?: undefined;
|
|
330
|
+
translateX?: undefined;
|
|
331
|
+
perspective?: undefined;
|
|
332
|
+
rotate?: undefined;
|
|
333
|
+
rotateX?: undefined;
|
|
334
|
+
rotateY?: undefined;
|
|
335
|
+
rotateZ?: undefined;
|
|
336
|
+
scale?: undefined;
|
|
337
|
+
skewX?: undefined;
|
|
338
|
+
skewY?: undefined;
|
|
339
|
+
matrix?: undefined;
|
|
340
|
+
}) | ({
|
|
341
|
+
perspective: react_native.AnimatableNumericValue;
|
|
342
|
+
} & {
|
|
343
|
+
scaleX?: undefined;
|
|
344
|
+
scaleY?: undefined;
|
|
345
|
+
translateX?: undefined;
|
|
346
|
+
translateY?: undefined;
|
|
347
|
+
rotate?: undefined;
|
|
348
|
+
rotateX?: undefined;
|
|
349
|
+
rotateY?: undefined;
|
|
350
|
+
rotateZ?: undefined;
|
|
351
|
+
scale?: undefined;
|
|
352
|
+
skewX?: undefined;
|
|
353
|
+
skewY?: undefined;
|
|
354
|
+
matrix?: undefined;
|
|
355
|
+
}) | ({
|
|
356
|
+
rotate: react_native.AnimatableStringValue;
|
|
357
|
+
} & {
|
|
358
|
+
scaleX?: undefined;
|
|
359
|
+
scaleY?: undefined;
|
|
360
|
+
translateX?: undefined;
|
|
361
|
+
translateY?: undefined;
|
|
362
|
+
perspective?: undefined;
|
|
363
|
+
rotateX?: undefined;
|
|
364
|
+
rotateY?: undefined;
|
|
365
|
+
rotateZ?: undefined;
|
|
366
|
+
scale?: undefined;
|
|
367
|
+
skewX?: undefined;
|
|
368
|
+
skewY?: undefined;
|
|
369
|
+
matrix?: undefined;
|
|
370
|
+
}) | ({
|
|
371
|
+
rotateX: react_native.AnimatableStringValue;
|
|
372
|
+
} & {
|
|
373
|
+
scaleX?: undefined;
|
|
374
|
+
scaleY?: undefined;
|
|
375
|
+
translateX?: undefined;
|
|
376
|
+
translateY?: undefined;
|
|
377
|
+
perspective?: undefined;
|
|
378
|
+
rotate?: undefined;
|
|
379
|
+
rotateY?: undefined;
|
|
380
|
+
rotateZ?: undefined;
|
|
381
|
+
scale?: undefined;
|
|
382
|
+
skewX?: undefined;
|
|
383
|
+
skewY?: undefined;
|
|
384
|
+
matrix?: undefined;
|
|
385
|
+
}) | ({
|
|
386
|
+
rotateY: react_native.AnimatableStringValue;
|
|
387
|
+
} & {
|
|
388
|
+
scaleX?: undefined;
|
|
389
|
+
scaleY?: undefined;
|
|
390
|
+
translateX?: undefined;
|
|
391
|
+
translateY?: undefined;
|
|
392
|
+
perspective?: undefined;
|
|
393
|
+
rotate?: undefined;
|
|
394
|
+
rotateX?: undefined;
|
|
395
|
+
rotateZ?: undefined;
|
|
396
|
+
scale?: undefined;
|
|
397
|
+
skewX?: undefined;
|
|
398
|
+
skewY?: undefined;
|
|
399
|
+
matrix?: undefined;
|
|
400
|
+
}) | ({
|
|
401
|
+
rotateZ: react_native.AnimatableStringValue;
|
|
402
|
+
} & {
|
|
403
|
+
scaleX?: undefined;
|
|
404
|
+
scaleY?: undefined;
|
|
405
|
+
translateX?: undefined;
|
|
406
|
+
translateY?: undefined;
|
|
407
|
+
perspective?: undefined;
|
|
408
|
+
rotate?: undefined;
|
|
409
|
+
rotateX?: undefined;
|
|
410
|
+
rotateY?: undefined;
|
|
411
|
+
scale?: undefined;
|
|
412
|
+
skewX?: undefined;
|
|
413
|
+
skewY?: undefined;
|
|
414
|
+
matrix?: undefined;
|
|
415
|
+
}) | ({
|
|
416
|
+
scale: react_native.AnimatableNumericValue;
|
|
417
|
+
} & {
|
|
418
|
+
scaleX?: undefined;
|
|
419
|
+
scaleY?: undefined;
|
|
420
|
+
translateX?: undefined;
|
|
421
|
+
translateY?: undefined;
|
|
422
|
+
perspective?: undefined;
|
|
423
|
+
rotate?: undefined;
|
|
424
|
+
rotateX?: undefined;
|
|
425
|
+
rotateY?: undefined;
|
|
426
|
+
rotateZ?: undefined;
|
|
427
|
+
skewX?: undefined;
|
|
428
|
+
skewY?: undefined;
|
|
429
|
+
matrix?: undefined;
|
|
430
|
+
}) | ({
|
|
431
|
+
skewX: react_native.AnimatableStringValue;
|
|
432
|
+
} & {
|
|
433
|
+
scaleX?: undefined;
|
|
434
|
+
scaleY?: undefined;
|
|
435
|
+
translateX?: undefined;
|
|
436
|
+
translateY?: undefined;
|
|
437
|
+
perspective?: undefined;
|
|
438
|
+
rotate?: undefined;
|
|
439
|
+
rotateX?: undefined;
|
|
440
|
+
rotateY?: undefined;
|
|
441
|
+
rotateZ?: undefined;
|
|
442
|
+
scale?: undefined;
|
|
443
|
+
skewY?: undefined;
|
|
444
|
+
matrix?: undefined;
|
|
445
|
+
}) | ({
|
|
446
|
+
skewY: react_native.AnimatableStringValue;
|
|
447
|
+
} & {
|
|
448
|
+
scaleX?: undefined;
|
|
449
|
+
scaleY?: undefined;
|
|
450
|
+
translateX?: undefined;
|
|
451
|
+
translateY?: undefined;
|
|
452
|
+
perspective?: undefined;
|
|
453
|
+
rotate?: undefined;
|
|
454
|
+
rotateX?: undefined;
|
|
455
|
+
rotateY?: undefined;
|
|
456
|
+
rotateZ?: undefined;
|
|
457
|
+
scale?: undefined;
|
|
458
|
+
skewX?: undefined;
|
|
459
|
+
matrix?: undefined;
|
|
460
|
+
}) | ({
|
|
461
|
+
matrix: react_native.AnimatableNumericValue[];
|
|
462
|
+
} & {
|
|
463
|
+
scaleX?: undefined;
|
|
464
|
+
scaleY?: undefined;
|
|
465
|
+
translateX?: undefined;
|
|
466
|
+
translateY?: undefined;
|
|
467
|
+
perspective?: undefined;
|
|
468
|
+
rotate?: undefined;
|
|
469
|
+
rotateX?: undefined;
|
|
470
|
+
rotateY?: undefined;
|
|
471
|
+
rotateZ?: undefined;
|
|
472
|
+
scale?: undefined;
|
|
473
|
+
skewX?: undefined;
|
|
474
|
+
skewY?: 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
|
+
id?: string | undefined | undefined;
|
|
482
|
+
onLayout?: ((event: react_native.LayoutChangeEvent) => void) | undefined | undefined;
|
|
483
|
+
testID?: string | undefined | undefined;
|
|
484
|
+
nativeID?: string | undefined | undefined;
|
|
485
|
+
accessible?: boolean | undefined | undefined;
|
|
486
|
+
accessibilityActions?: readonly Readonly<{
|
|
487
|
+
name: react_native.AccessibilityActionName | string;
|
|
488
|
+
label?: string | undefined;
|
|
489
|
+
}>[] | undefined;
|
|
490
|
+
accessibilityLabel?: string | undefined | undefined;
|
|
491
|
+
'aria-label'?: string | undefined | undefined;
|
|
492
|
+
accessibilityRole?: react_native.AccessibilityRole | undefined;
|
|
493
|
+
accessibilityState?: react_native.AccessibilityState | undefined;
|
|
494
|
+
'aria-busy'?: boolean | undefined | undefined;
|
|
495
|
+
'aria-checked'?: boolean | "mixed" | undefined | undefined;
|
|
496
|
+
'aria-disabled'?: boolean | undefined | undefined;
|
|
497
|
+
'aria-expanded'?: boolean | undefined | undefined;
|
|
498
|
+
'aria-selected'?: boolean | undefined | undefined;
|
|
499
|
+
accessibilityHint?: string | undefined | undefined;
|
|
500
|
+
accessibilityValue?: react_native.AccessibilityValue | undefined;
|
|
501
|
+
'aria-valuemax'?: number | undefined;
|
|
502
|
+
'aria-valuemin'?: number | undefined;
|
|
503
|
+
'aria-valuenow'?: number | undefined;
|
|
504
|
+
'aria-valuetext'?: string | undefined;
|
|
505
|
+
onAccessibilityAction?: ((event: react_native.AccessibilityActionEvent) => void) | undefined | undefined;
|
|
506
|
+
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined | undefined;
|
|
507
|
+
'aria-hidden'?: boolean | undefined | undefined;
|
|
508
|
+
'aria-modal'?: boolean | undefined | undefined;
|
|
509
|
+
role?: react_native.Role | undefined;
|
|
510
|
+
accessibilityLabelledBy?: string | string[] | undefined | undefined;
|
|
511
|
+
'aria-labelledby'?: string | undefined | undefined;
|
|
512
|
+
accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined | undefined;
|
|
513
|
+
'aria-live'?: ("polite" | "assertive" | "off") | undefined | undefined;
|
|
514
|
+
screenReaderFocusable?: boolean | undefined | undefined;
|
|
515
|
+
accessibilityElementsHidden?: boolean | undefined | undefined;
|
|
516
|
+
accessibilityViewIsModal?: boolean | undefined | undefined;
|
|
517
|
+
onAccessibilityEscape?: (() => void) | undefined | undefined;
|
|
518
|
+
onAccessibilityTap?: (() => void) | undefined | undefined;
|
|
519
|
+
onMagicTap?: (() => void) | undefined | undefined;
|
|
520
|
+
accessibilityIgnoresInvertColors?: boolean | undefined | undefined;
|
|
521
|
+
accessibilityLanguage?: string | undefined | undefined;
|
|
522
|
+
accessibilityShowsLargeContentViewer?: boolean | undefined | undefined;
|
|
523
|
+
accessibilityLargeContentTitle?: string | undefined | undefined;
|
|
524
|
+
accessibilityRespondsToUserInteraction?: boolean | undefined | undefined;
|
|
525
|
+
hitSlop?: number | react_native.Insets | null | undefined;
|
|
526
|
+
needsOffscreenAlphaCompositing?: boolean | undefined | undefined;
|
|
527
|
+
removeClippedSubviews?: boolean | undefined | undefined;
|
|
528
|
+
collapsable?: boolean | undefined | undefined;
|
|
529
|
+
collapsableChildren?: boolean | undefined | undefined;
|
|
530
|
+
onBlur?: null | ((event: react_native.NativeSyntheticEvent<react_native.TargetedEvent>) => void) | undefined | undefined;
|
|
531
|
+
onFocus?: null | ((event: react_native.NativeSyntheticEvent<react_native.TargetedEvent>) => void) | undefined | undefined;
|
|
532
|
+
renderToHardwareTextureAndroid?: boolean | undefined | undefined;
|
|
533
|
+
focusable?: boolean | undefined | undefined;
|
|
534
|
+
tabIndex?: 0 | -1 | undefined | undefined;
|
|
535
|
+
shouldRasterizeIOS?: boolean | undefined | undefined;
|
|
536
|
+
isTVSelectable?: boolean | undefined | undefined;
|
|
537
|
+
hasTVPreferredFocus?: boolean | undefined | undefined;
|
|
538
|
+
tvParallaxShiftDistanceX?: number | undefined | undefined;
|
|
539
|
+
tvParallaxShiftDistanceY?: number | undefined | undefined;
|
|
540
|
+
tvParallaxTiltAngle?: number | undefined | undefined;
|
|
541
|
+
tvParallaxMagnification?: number | undefined | undefined;
|
|
542
|
+
onStartShouldSetResponder?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
|
|
543
|
+
onMoveShouldSetResponder?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
|
|
544
|
+
onResponderEnd?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
545
|
+
onResponderGrant?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
546
|
+
onResponderReject?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
547
|
+
onResponderMove?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
548
|
+
onResponderRelease?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
549
|
+
onResponderStart?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
550
|
+
onResponderTerminationRequest?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
|
|
551
|
+
onResponderTerminate?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
552
|
+
onStartShouldSetResponderCapture?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
|
|
553
|
+
onMoveShouldSetResponderCapture?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
|
|
554
|
+
onTouchStart?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
555
|
+
onTouchMove?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
556
|
+
onTouchEnd?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
557
|
+
onTouchCancel?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
558
|
+
onTouchEndCapture?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
559
|
+
onPointerEnter?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
560
|
+
onPointerEnterCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
561
|
+
onPointerLeave?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
562
|
+
onPointerLeaveCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
563
|
+
onPointerMove?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
564
|
+
onPointerMoveCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
565
|
+
onPointerCancel?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
566
|
+
onPointerCancelCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
567
|
+
onPointerDown?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
568
|
+
onPointerDownCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
569
|
+
onPointerUp?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
570
|
+
onPointerUpCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
571
|
+
onHoverIn?: null | ((event: react_native.MouseEvent) => void) | undefined | undefined;
|
|
572
|
+
onHoverOut?: null | ((event: react_native.MouseEvent) => void) | undefined | undefined;
|
|
573
|
+
onPress?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
574
|
+
onPressIn?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
575
|
+
onPressOut?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
576
|
+
onLongPress?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
577
|
+
cancelable?: null | boolean | undefined | undefined;
|
|
578
|
+
delayHoverIn?: number | null | undefined | undefined;
|
|
579
|
+
delayHoverOut?: number | null | undefined | undefined;
|
|
580
|
+
delayLongPress?: null | number | undefined | undefined;
|
|
581
|
+
pressRetentionOffset?: number | react_native.Insets | null | undefined;
|
|
582
|
+
android_disableSound?: null | boolean | undefined | undefined;
|
|
583
|
+
android_ripple?: react_native.PressableAndroidRippleConfig | null | undefined;
|
|
584
|
+
testOnly_pressed?: null | boolean | undefined | undefined;
|
|
585
|
+
unstable_pressDelay?: number | undefined | undefined;
|
|
586
|
+
asChild?: boolean | 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" | "source" | "style" | "children" | "id" | "onLayout" | "testID" | "nativeID" | "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" | "hitSlop" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "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"> & 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 };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CARD_BACKGROUND,
|
|
3
|
+
Card,
|
|
4
|
+
cardRecipe,
|
|
5
|
+
markBackground,
|
|
6
|
+
useCard
|
|
7
|
+
} from "../../chunk-YRCUALUQ.js";
|
|
8
|
+
import "../../chunk-SGHP76GU.js";
|
|
9
|
+
import "../../chunk-IBRVMLUF.js";
|
|
10
|
+
import "../../chunk-N7C4UNUL.js";
|
|
11
|
+
import "../../chunk-EXX6ATAS.js";
|
|
12
|
+
import "../../chunk-A3EGFI6T.js";
|
|
13
|
+
import "../../chunk-GGW42MY4.js";
|
|
14
|
+
export {
|
|
15
|
+
CARD_BACKGROUND,
|
|
16
|
+
Card,
|
|
17
|
+
cardRecipe,
|
|
18
|
+
markBackground,
|
|
19
|
+
useCard
|
|
20
|
+
};
|
|
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import * as react_native from 'react-native';
|
|
4
4
|
import { TextProps, StyleProp, TextStyle, Text } from 'react-native';
|
|
5
5
|
import { T as TextStyleProps } from '../../style-props.type-B1BG5TCm.cjs';
|
|
6
|
-
import { R as Recipe } from '../../create-recipe-
|
|
6
|
+
import { R as Recipe } from '../../create-recipe-CPBFg7ym.cjs';
|
|
7
7
|
import { X as XAUITheme } from '../../theme.type-C2gNHpEx.cjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import * as react_native from 'react-native';
|
|
4
4
|
import { TextProps, StyleProp, TextStyle, Text } from 'react-native';
|
|
5
5
|
import { T as TextStyleProps } from '../../style-props.type-B1BG5TCm.js';
|
|
6
|
-
import { R as Recipe } from '../../create-recipe-
|
|
6
|
+
import { R as Recipe } from '../../create-recipe-CC3NNCqF.js';
|
|
7
7
|
import { X as XAUITheme } from '../../theme.type-C2gNHpEx.js';
|
|
8
8
|
|
|
9
9
|
/**
|