@xaui/native 0.9.1-alpha.21 → 0.9.1-alpha.22
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-RMLFMRWL.js → chunk-2U6JR7BF.js} +5 -5
- package/dist/{chunk-N7C4UNUL.js → chunk-3JATAB7S.js} +23 -1
- package/dist/chunk-4MHJOWM4.cjs +364 -0
- package/dist/{chunk-2WMVDMFV.cjs → chunk-6HXWQ5AU.cjs} +2 -2
- package/dist/chunk-6WW4CSPY.cjs +82 -0
- package/dist/chunk-AHL33YAO.js +425 -0
- package/dist/{chunk-XHZBXYVU.js → chunk-AKXG43S4.js} +1 -1
- package/dist/{chunk-4NE3SLTM.cjs → chunk-BH5DSJVX.cjs} +102 -73
- package/dist/{chunk-BPBY7ON7.cjs → chunk-BNWS26PX.cjs} +19 -21
- package/dist/{chunk-5LC6KVL3.cjs → chunk-DXGQ43IV.cjs} +3 -3
- package/dist/{chunk-ISVUXVFL.js → chunk-FNQF4KQV.js} +19 -71
- package/dist/{chunk-YRCUALUQ.js → chunk-FTCTTBLG.js} +7 -9
- package/dist/{chunk-JL27KVRT.js → chunk-FVP5FUVS.js} +3 -3
- package/dist/{chunk-UL263KGM.cjs → chunk-GBPWTFTU.cjs} +10 -10
- package/dist/{chunk-TUJBDS5M.js → chunk-GG2WWCBK.js} +10 -10
- package/dist/{chunk-EVXZGNPA.cjs → chunk-HUZ4AUM2.cjs} +98 -98
- package/dist/chunk-I6PE5UUH.cjs +425 -0
- package/dist/{chunk-33QILJJH.cjs → chunk-IBEX4XGV.cjs} +11 -11
- package/dist/{chunk-IBRVMLUF.js → chunk-KM2TI5IC.js} +107 -80
- package/dist/chunk-OGC4RKE3.js +364 -0
- package/dist/{chunk-JXLRHKCQ.js → chunk-OYZYWWJ6.js} +1 -1
- package/dist/{chunk-EXX6ATAS.js → chunk-PMO62QK4.js} +101 -101
- package/dist/{chunk-UBA6AEY6.cjs → chunk-RAWOJ3N3.cjs} +8 -8
- package/dist/{chunk-APCBIHLR.cjs → chunk-VDRRD6GM.cjs} +29 -81
- package/dist/{chunk-UVO4GFSW.cjs → chunk-YXVKQMCK.cjs} +23 -1
- package/dist/chunk-ZQ3JSWRO.js +82 -0
- package/dist/close-button.type-BUYuoSt2.d.ts +36 -0
- package/dist/close-button.type-CHsgZ3wO.d.cts +36 -0
- package/dist/components/alert/index.cjs +17 -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 +17 -0
- package/dist/components/button/index.cjs +6 -7
- package/dist/components/button/index.d.cts +193 -244
- package/dist/components/button/index.d.ts +193 -244
- package/dist/components/button/index.js +5 -6
- package/dist/components/card/index.cjs +5 -6
- package/dist/components/card/index.d.cts +193 -193
- package/dist/components/card/index.d.ts +193 -193
- package/dist/components/card/index.js +4 -5
- package/dist/components/chip/index.cjs +17 -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 +17 -0
- package/dist/components/typography/index.cjs +4 -4
- package/dist/components/typography/index.d.cts +4 -4
- package/dist/components/typography/index.d.ts +4 -4
- package/dist/components/typography/index.js +3 -3
- package/dist/components/view/index.cjs +3 -3
- package/dist/components/view/index.d.cts +7 -7
- package/dist/components/view/index.d.ts +7 -7
- package/dist/components/view/index.js +2 -2
- package/dist/{create-recipe-CC3NNCqF.d.ts → create-recipe-CbXika57.d.ts} +4 -3
- package/dist/{create-recipe-CPBFg7ym.d.cts → create-recipe-jHlk434p.d.cts} +4 -3
- package/dist/{icon.type-Cs1tMX0W.d.cts → icon.type-CF4KiMKl.d.cts} +1 -1
- package/dist/{icon.type-BkcEPJbK.d.ts → icon.type-Dq4_qePa.d.ts} +1 -1
- package/dist/index.cjs +36 -14
- package/dist/index.d.cts +8 -5
- package/dist/index.d.ts +8 -5
- package/dist/index.js +55 -33
- package/dist/{pressable-feedback.type-wfeiJz5m.d.cts → pressable-feedback.type-BA2C9sSz.d.cts} +1 -1
- package/dist/{pressable-feedback.type-DsvWZXWC.d.ts → pressable-feedback.type-Bs4dQlGj.d.ts} +1 -1
- package/dist/{style-props.type-B1BG5TCm.d.cts → style-props.type-CfnoGEP7.d.cts} +1 -1
- package/dist/{style-props.type-B1BG5TCm.d.ts → style-props.type-CfnoGEP7.d.ts} +1 -1
- package/dist/system/index.cjs +15 -7
- package/dist/system/index.d.cts +174 -100
- package/dist/system/index.d.ts +174 -100
- package/dist/system/index.js +15 -7
- package/dist/theme/index.cjs +2 -2
- package/dist/theme/index.d.cts +10 -10
- package/dist/theme/index.d.ts +10 -10
- package/dist/theme/index.js +1 -1
- package/package.json +21 -1
- package/dist/chunk-RRRGLRRP.cjs +0 -28
- package/dist/chunk-SGHP76GU.js +0 -28
|
@@ -4,12 +4,11 @@ import {
|
|
|
4
4
|
cardRecipe,
|
|
5
5
|
markBackground,
|
|
6
6
|
useCard
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-N7C4UNUL.js";
|
|
11
|
-
import "../../chunk-EXX6ATAS.js";
|
|
7
|
+
} from "../../chunk-FTCTTBLG.js";
|
|
8
|
+
import "../../chunk-KM2TI5IC.js";
|
|
9
|
+
import "../../chunk-3JATAB7S.js";
|
|
12
10
|
import "../../chunk-A3EGFI6T.js";
|
|
11
|
+
import "../../chunk-PMO62QK4.js";
|
|
13
12
|
import "../../chunk-GGW42MY4.js";
|
|
14
13
|
export {
|
|
15
14
|
CARD_BACKGROUND,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkI6PE5UUHcjs = require('../../chunk-I6PE5UUH.cjs');
|
|
6
|
+
require('../../chunk-6WW4CSPY.cjs');
|
|
7
|
+
require('../../chunk-DXGQ43IV.cjs');
|
|
8
|
+
require('../../chunk-BH5DSJVX.cjs');
|
|
9
|
+
require('../../chunk-YXVKQMCK.cjs');
|
|
10
|
+
require('../../chunk-57SJ4LJF.cjs');
|
|
11
|
+
require('../../chunk-HUZ4AUM2.cjs');
|
|
12
|
+
require('../../chunk-MC7SY2QH.cjs');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
exports.Chip = _chunkI6PE5UUHcjs.Chip; exports.chipRecipe = _chunkI6PE5UUHcjs.chipRecipe; exports.useChip = _chunkI6PE5UUHcjs.useChip;
|
|
@@ -0,0 +1,608 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import * as react_native from 'react-native';
|
|
4
|
+
import { StyleProp, TextStyle, ViewStyle, ImageSourcePropType, ViewProps, TextProps, PressableStateCallbackType } from 'react-native';
|
|
5
|
+
import { V as ViewStyleProps, T as TextStyleProps } from '../../style-props.type-CfnoGEP7.cjs';
|
|
6
|
+
import { P as PressableFeedbackProps, a as AnimationProp } from '../../pressable-feedback.type-BA2C9sSz.cjs';
|
|
7
|
+
import { S as Size, R as RadiusKey, X as XAUITheme } from '../../theme.type-C2gNHpEx.cjs';
|
|
8
|
+
import { a as IconContextValue, b as IconProps } from '../../icon.type-CF4KiMKl.cjs';
|
|
9
|
+
import { C as CloseButtonProps } from '../../close-button.type-CHsgZ3wO.cjs';
|
|
10
|
+
import { R as Recipe, g as SlotStyles, j as StyleFn } from '../../create-recipe-jHlk434p.cjs';
|
|
11
|
+
import 'react-native-reanimated';
|
|
12
|
+
|
|
13
|
+
type ChipSlot = 'root' | 'label' | 'icon' | 'dot' | 'avatar' | 'close' | 'closeGlyph';
|
|
14
|
+
/**
|
|
15
|
+
* The full vocabulary (§1 bis) — this is the component the `Button` deferred to.
|
|
16
|
+
*
|
|
17
|
+
* `Button.variant` stops at `danger` because a button is something you press and neither
|
|
18
|
+
* a success nor a warning is an action. A chip is the opposite: it **reports**. A status
|
|
19
|
+
* on a row, a tag on a file, a filter that is on — the outcome *is* what the component
|
|
20
|
+
* says, so the three status families are here, each with its soft slice.
|
|
21
|
+
*
|
|
22
|
+
* The first five are the same emphasis ladder, descending by how much accent is left:
|
|
23
|
+
* `primary` is the full accent, `secondary` its soft slice, `default` the neutral fill,
|
|
24
|
+
* `tertiary` a border, `ghost` nothing at all. A name means here exactly what it means on
|
|
25
|
+
* a `Button`, which is what makes this one vocabulary rather than two.
|
|
26
|
+
*
|
|
27
|
+
* It replaces HeroUI's `variant × color` matrix — four emphases times five intents, of
|
|
28
|
+
* which nine combinations paint the same thing. Eleven flat names say the same set once.
|
|
29
|
+
*/
|
|
30
|
+
type ChipVariant = 'primary' | 'secondary' | 'default' | 'tertiary' | 'ghost' | 'success' | 'success-soft' | 'warning' | 'warning-soft' | 'danger' | 'danger-soft';
|
|
31
|
+
type ChipSize = Size;
|
|
32
|
+
/**
|
|
33
|
+
* What the `Chip` itself understands. R14 — a name in here is the component's, so the
|
|
34
|
+
* style prop that shares it is not exposed: `size` is the chip's scale and never
|
|
35
|
+
* `ViewStyle`'s, and `color` is R7's tint.
|
|
36
|
+
*/
|
|
37
|
+
type ChipOwnProps = {
|
|
38
|
+
variant?: ChipVariant;
|
|
39
|
+
/** Height, horizontal padding, gap and the type of `Label`. Never width. */
|
|
40
|
+
size?: ChipSize;
|
|
41
|
+
/**
|
|
42
|
+
* Overrides the capsule. A chip is a pill at every size — that is the shape the name
|
|
43
|
+
* means — so this is the prop for the rare tag that wants square corners.
|
|
44
|
+
*/
|
|
45
|
+
radius?: RadiusKey;
|
|
46
|
+
/**
|
|
47
|
+
* A raw tint (`'#7c3aed'`), never a token (R7). Where it lands follows the variant: the
|
|
48
|
+
* fill of a `primary`, the border and text of a `tertiary`, the text of a `ghost`. Its
|
|
49
|
+
* contrasted, soft and pressed slices are derived in OKLab, so it behaves exactly like
|
|
50
|
+
* `accent` — which is also why it must be a hex value.
|
|
51
|
+
*/
|
|
52
|
+
color?: string;
|
|
53
|
+
/** Dims the chip and, on a pressable one, stops the touch. */
|
|
54
|
+
isDisabled?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Makes the chip a control — a filter, a toggle, a token you can open. A
|
|
57
|
+
* `PressableFeedback` with `accessibilityRole="button"`, the shared scale, and the
|
|
58
|
+
* variant's own pressed colour.
|
|
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 chip, and change what a screen reader announces, on the render
|
|
63
|
+
* where a handler happens to become `undefined`.
|
|
64
|
+
*
|
|
65
|
+
* A chip carrying only a `Chip.Close` stays static: the control is the close, not the
|
|
66
|
+
* chip around it.
|
|
67
|
+
*/
|
|
68
|
+
isPressable?: boolean;
|
|
69
|
+
/** R9 — `Pressable`'s function form as much as an object or an array. */
|
|
70
|
+
style?: StyleProp<ViewStyle> | ((state: PressableStateCallbackType) => StyleProp<ViewStyle>);
|
|
71
|
+
children?: ReactNode;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* The press behaviour a pressable chip forwards. It is on the type unconditionally while
|
|
75
|
+
* `isPressable` is read at runtime, so a handler written without it reaches a `View` that
|
|
76
|
+
* ignores it — which is why the root warns about exactly that case.
|
|
77
|
+
*/
|
|
78
|
+
type ChipBehaviourProps = Omit<PressableFeedbackProps, 'isPressed' | 'isDisabled' | 'style' | 'children'>;
|
|
79
|
+
type ChipProps = ChipOwnProps & ChipBehaviourProps & Omit<ViewStyleProps, keyof ChipOwnProps>;
|
|
80
|
+
/** `Text`'s own props win over the `TextStyle` keys of the same name (R14). */
|
|
81
|
+
type ChipLabelProps = TextProps & Omit<TextStyleProps, keyof TextProps> & {
|
|
82
|
+
children?: ReactNode;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* `Icon`'s three forms, plus the `style` every slot carries (R2). `size` and `color`
|
|
86
|
+
* default to what the root resolved; passing either wins over it.
|
|
87
|
+
*/
|
|
88
|
+
type ChipIconProps = IconProps;
|
|
89
|
+
/** `View`'s own props win over the `ViewStyle` keys of the same name (R14). */
|
|
90
|
+
type ChipDotProps = ViewProps & Omit<ViewStyleProps, keyof ViewProps>;
|
|
91
|
+
type ChipAvatarOwnProps = {
|
|
92
|
+
/** An image, clipped to the circle the chip's size defines. */
|
|
93
|
+
source?: ImageSourcePropType;
|
|
94
|
+
/** Anything else — initials, a future `<Avatar>` — centred and clipped the same way. */
|
|
95
|
+
children?: ReactNode;
|
|
96
|
+
};
|
|
97
|
+
type ChipAvatarProps = ChipAvatarOwnProps & ViewProps & Omit<ViewStyleProps, keyof ViewProps | keyof ChipAvatarOwnProps>;
|
|
98
|
+
/**
|
|
99
|
+
* Everything the shared `CloseButton` accepts, minus the three the chip supplies itself:
|
|
100
|
+
* the warning's name and the two resolved styles its recipe already decided (R5).
|
|
101
|
+
*/
|
|
102
|
+
type ChipCloseProps = Omit<CloseButtonProps, 'name' | 'baseStyle' | 'glyphStyle'>;
|
|
103
|
+
/**
|
|
104
|
+
* R5 — resolved styles, not props for a slot to resolve a second time. Each entry is the
|
|
105
|
+
* cached `StyleSheet` reference with the uncached tint pass layered over it, so a slot
|
|
106
|
+
* merges its own `style` on top and does no work of its own.
|
|
107
|
+
*/
|
|
108
|
+
type ChipContextValue = {
|
|
109
|
+
labelStyle: StyleProp<TextStyle>;
|
|
110
|
+
dotStyle: StyleProp<ViewStyle>;
|
|
111
|
+
avatarStyle: StyleProp<ViewStyle>;
|
|
112
|
+
closeStyle: StyleProp<ViewStyle>;
|
|
113
|
+
closeGlyphStyle: StyleProp<ViewStyle>;
|
|
114
|
+
/**
|
|
115
|
+
* Values, not a style: `Icon` hands `size` and `color` to a third-party component, so
|
|
116
|
+
* the root flattens its icon slot once here rather than in every icon it contains.
|
|
117
|
+
*/
|
|
118
|
+
icon: IconContextValue;
|
|
119
|
+
isDisabled: boolean;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* An icon that takes the chip's size and colour without being told either:
|
|
124
|
+
*
|
|
125
|
+
* ```tsx
|
|
126
|
+
* <Chip variant="warning-soft">
|
|
127
|
+
* <Chip.Icon as={AlertIcon} />
|
|
128
|
+
* <Chip.Label>Expire demain</Chip.Label>
|
|
129
|
+
* </Chip>
|
|
130
|
+
* ```
|
|
131
|
+
*
|
|
132
|
+
* The values come from the root, which resolved them once; an explicit `size` or `color`
|
|
133
|
+
* still wins, which is what `Icon` promises everywhere else in the library.
|
|
134
|
+
*
|
|
135
|
+
* It is not in the plan's slot list for this component, and it is here for the reason
|
|
136
|
+
* `Icon` exists at all: a glyph in a chip is a third-party component, so without this
|
|
137
|
+
* slot every call site computes the chip's foreground by hand — which is exactly the
|
|
138
|
+
* `customAppearance` habit the v1 API removed.
|
|
139
|
+
*/
|
|
140
|
+
declare function ChipIcon({ size, color, ...rest }: ChipIconProps): react.JSX.Element;
|
|
141
|
+
declare namespace ChipIcon {
|
|
142
|
+
var displayName: string;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
declare const useChip: () => ChipContextValue;
|
|
146
|
+
|
|
147
|
+
declare const chipRecipe: Recipe<"label" | "root" | "icon" | "close" | "closeGlyph" | "dot" | "avatar", ChipVariant, {
|
|
148
|
+
readonly size: {
|
|
149
|
+
readonly xs: (theme: XAUITheme) => SlotStyles<ChipSlot>;
|
|
150
|
+
readonly sm: (theme: XAUITheme) => SlotStyles<ChipSlot>;
|
|
151
|
+
readonly md: (theme: XAUITheme) => SlotStyles<ChipSlot>;
|
|
152
|
+
readonly lg: (theme: XAUITheme) => SlotStyles<ChipSlot>;
|
|
153
|
+
};
|
|
154
|
+
readonly radius: Record<RadiusKey, StyleFn<"root">>;
|
|
155
|
+
}>;
|
|
156
|
+
|
|
157
|
+
declare const Chip: react.ForwardRefExoticComponent<{
|
|
158
|
+
variant?: ChipVariant;
|
|
159
|
+
size?: ChipSize;
|
|
160
|
+
radius?: RadiusKey;
|
|
161
|
+
color?: string;
|
|
162
|
+
isDisabled?: boolean;
|
|
163
|
+
isPressable?: boolean;
|
|
164
|
+
style?: react_native.StyleProp<react_native.ViewStyle> | ((state: react_native.PressableStateCallbackType) => react_native.StyleProp<react_native.ViewStyle>);
|
|
165
|
+
children?: react.ReactNode;
|
|
166
|
+
} & {
|
|
167
|
+
hitSlop?: number | react_native.Insets | null | undefined;
|
|
168
|
+
id?: string | undefined | undefined;
|
|
169
|
+
needsOffscreenAlphaCompositing?: boolean | undefined | undefined;
|
|
170
|
+
onLayout?: ((event: react_native.LayoutChangeEvent) => void) | undefined | undefined;
|
|
171
|
+
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined | undefined;
|
|
172
|
+
removeClippedSubviews?: boolean | undefined | undefined;
|
|
173
|
+
testID?: string | undefined | undefined;
|
|
174
|
+
nativeID?: string | undefined | undefined;
|
|
175
|
+
collapsable?: boolean | undefined | undefined;
|
|
176
|
+
collapsableChildren?: boolean | undefined | undefined;
|
|
177
|
+
onBlur?: null | ((event: react_native.NativeSyntheticEvent<react_native.TargetedEvent>) => void) | undefined | undefined;
|
|
178
|
+
onFocus?: null | ((event: react_native.NativeSyntheticEvent<react_native.TargetedEvent>) => void) | undefined | undefined;
|
|
179
|
+
renderToHardwareTextureAndroid?: boolean | undefined | undefined;
|
|
180
|
+
focusable?: boolean | undefined | undefined;
|
|
181
|
+
tabIndex?: 0 | -1 | undefined | undefined;
|
|
182
|
+
shouldRasterizeIOS?: boolean | undefined | undefined;
|
|
183
|
+
isTVSelectable?: boolean | undefined | undefined;
|
|
184
|
+
hasTVPreferredFocus?: boolean | undefined | undefined;
|
|
185
|
+
tvParallaxShiftDistanceX?: number | undefined | undefined;
|
|
186
|
+
tvParallaxShiftDistanceY?: number | undefined | undefined;
|
|
187
|
+
tvParallaxTiltAngle?: number | undefined | undefined;
|
|
188
|
+
tvParallaxMagnification?: number | undefined | undefined;
|
|
189
|
+
onStartShouldSetResponder?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
|
|
190
|
+
onMoveShouldSetResponder?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
|
|
191
|
+
onResponderEnd?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
192
|
+
onResponderGrant?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
193
|
+
onResponderReject?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
194
|
+
onResponderMove?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
195
|
+
onResponderRelease?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
196
|
+
onResponderStart?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
197
|
+
onResponderTerminationRequest?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
|
|
198
|
+
onResponderTerminate?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
199
|
+
onStartShouldSetResponderCapture?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
|
|
200
|
+
onMoveShouldSetResponderCapture?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
|
|
201
|
+
onTouchStart?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
202
|
+
onTouchMove?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
203
|
+
onTouchEnd?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
204
|
+
onTouchCancel?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
205
|
+
onTouchEndCapture?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
206
|
+
onPointerEnter?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
207
|
+
onPointerEnterCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
208
|
+
onPointerLeave?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
209
|
+
onPointerLeaveCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
210
|
+
onPointerMove?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
211
|
+
onPointerMoveCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
212
|
+
onPointerCancel?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
213
|
+
onPointerCancelCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
214
|
+
onPointerDown?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
215
|
+
onPointerDownCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
216
|
+
onPointerUp?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
217
|
+
onPointerUpCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
218
|
+
accessible?: boolean | undefined | undefined;
|
|
219
|
+
accessibilityActions?: readonly Readonly<{
|
|
220
|
+
name: react_native.AccessibilityActionName | string;
|
|
221
|
+
label?: string | undefined;
|
|
222
|
+
}>[] | undefined;
|
|
223
|
+
accessibilityLabel?: string | undefined | undefined;
|
|
224
|
+
'aria-label'?: string | undefined | undefined;
|
|
225
|
+
accessibilityRole?: react_native.AccessibilityRole | undefined;
|
|
226
|
+
accessibilityState?: react_native.AccessibilityState | undefined;
|
|
227
|
+
'aria-busy'?: boolean | undefined | undefined;
|
|
228
|
+
'aria-checked'?: boolean | "mixed" | undefined | undefined;
|
|
229
|
+
'aria-disabled'?: boolean | undefined | undefined;
|
|
230
|
+
'aria-expanded'?: boolean | undefined | undefined;
|
|
231
|
+
'aria-selected'?: boolean | undefined | undefined;
|
|
232
|
+
accessibilityHint?: string | undefined | undefined;
|
|
233
|
+
accessibilityValue?: react_native.AccessibilityValue | undefined;
|
|
234
|
+
'aria-valuemax'?: number | undefined;
|
|
235
|
+
'aria-valuemin'?: number | undefined;
|
|
236
|
+
'aria-valuenow'?: number | undefined;
|
|
237
|
+
'aria-valuetext'?: string | undefined;
|
|
238
|
+
onAccessibilityAction?: ((event: react_native.AccessibilityActionEvent) => void) | undefined | undefined;
|
|
239
|
+
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined | undefined;
|
|
240
|
+
'aria-hidden'?: boolean | undefined | undefined;
|
|
241
|
+
'aria-modal'?: boolean | undefined | undefined;
|
|
242
|
+
role?: react_native.Role | undefined;
|
|
243
|
+
accessibilityLabelledBy?: string | string[] | undefined | undefined;
|
|
244
|
+
'aria-labelledby'?: string | undefined | undefined;
|
|
245
|
+
accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined | undefined;
|
|
246
|
+
'aria-live'?: ("polite" | "assertive" | "off") | undefined | undefined;
|
|
247
|
+
screenReaderFocusable?: boolean | undefined | undefined;
|
|
248
|
+
accessibilityElementsHidden?: boolean | undefined | undefined;
|
|
249
|
+
accessibilityViewIsModal?: boolean | undefined | undefined;
|
|
250
|
+
onAccessibilityEscape?: (() => void) | undefined | undefined;
|
|
251
|
+
onAccessibilityTap?: (() => void) | undefined | undefined;
|
|
252
|
+
onMagicTap?: (() => void) | undefined | undefined;
|
|
253
|
+
accessibilityIgnoresInvertColors?: boolean | undefined | undefined;
|
|
254
|
+
accessibilityLanguage?: string | undefined | undefined;
|
|
255
|
+
accessibilityShowsLargeContentViewer?: boolean | undefined | undefined;
|
|
256
|
+
accessibilityLargeContentTitle?: string | undefined | undefined;
|
|
257
|
+
accessibilityRespondsToUserInteraction?: boolean | undefined | undefined;
|
|
258
|
+
backfaceVisibility?: "visible" | "hidden" | undefined | undefined;
|
|
259
|
+
backgroundColor?: react_native.ColorValue | undefined;
|
|
260
|
+
borderBlockColor?: react_native.ColorValue | undefined;
|
|
261
|
+
borderBlockEndColor?: react_native.ColorValue | undefined;
|
|
262
|
+
borderBlockStartColor?: react_native.ColorValue | undefined;
|
|
263
|
+
borderBottomColor?: react_native.ColorValue | undefined;
|
|
264
|
+
borderBottomEndRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
265
|
+
borderBottomStartRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
266
|
+
borderColor?: react_native.ColorValue | undefined;
|
|
267
|
+
borderCurve?: "circular" | "continuous" | undefined | undefined;
|
|
268
|
+
borderEndColor?: react_native.ColorValue | undefined;
|
|
269
|
+
borderEndEndRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
270
|
+
borderEndStartRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
271
|
+
borderRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
272
|
+
borderStartColor?: react_native.ColorValue | undefined;
|
|
273
|
+
borderStartEndRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
274
|
+
borderStartStartRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
275
|
+
borderStyle?: "solid" | "dotted" | "dashed" | undefined | undefined;
|
|
276
|
+
borderTopColor?: react_native.ColorValue | undefined;
|
|
277
|
+
borderTopEndRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
278
|
+
borderTopStartRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
279
|
+
outlineColor?: react_native.ColorValue | undefined;
|
|
280
|
+
outlineOffset?: react_native.AnimatableNumericValue | undefined;
|
|
281
|
+
outlineStyle?: "solid" | "dotted" | "dashed" | undefined | undefined;
|
|
282
|
+
outlineWidth?: react_native.AnimatableNumericValue | undefined;
|
|
283
|
+
opacity?: react_native.AnimatableNumericValue | undefined;
|
|
284
|
+
elevation?: number | undefined | undefined;
|
|
285
|
+
isolation?: "auto" | "isolate" | undefined | undefined;
|
|
286
|
+
cursor?: react_native.CursorValue | undefined;
|
|
287
|
+
boxShadow?: string | readonly react_native.BoxShadowValue[] | undefined;
|
|
288
|
+
filter?: string | readonly react_native.FilterFunction[] | undefined;
|
|
289
|
+
mixBlendMode?: react_native.BlendMode | undefined;
|
|
290
|
+
experimental_backgroundImage?: string | readonly react_native.GradientValue[] | undefined;
|
|
291
|
+
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined | undefined;
|
|
292
|
+
alignItems?: react_native.FlexAlignType | undefined;
|
|
293
|
+
alignSelf?: "auto" | react_native.FlexAlignType | undefined;
|
|
294
|
+
aspectRatio?: number | string | undefined | undefined;
|
|
295
|
+
borderBottomWidth?: number | undefined | undefined;
|
|
296
|
+
borderEndWidth?: number | undefined | undefined;
|
|
297
|
+
borderStartWidth?: number | undefined | undefined;
|
|
298
|
+
borderTopWidth?: number | undefined | undefined;
|
|
299
|
+
borderWidth?: number | undefined | undefined;
|
|
300
|
+
bottom?: react_native.DimensionValue | undefined;
|
|
301
|
+
boxSizing?: "border-box" | "content-box" | undefined | undefined;
|
|
302
|
+
display?: "none" | "flex" | "contents" | undefined | undefined;
|
|
303
|
+
end?: react_native.DimensionValue | undefined;
|
|
304
|
+
flex?: number | undefined | undefined;
|
|
305
|
+
flexBasis?: react_native.DimensionValue | undefined;
|
|
306
|
+
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined | undefined;
|
|
307
|
+
rowGap?: number | string | undefined | undefined;
|
|
308
|
+
gap?: number | string | undefined | undefined;
|
|
309
|
+
columnGap?: number | string | undefined | undefined;
|
|
310
|
+
flexGrow?: number | undefined | undefined;
|
|
311
|
+
flexShrink?: number | undefined | undefined;
|
|
312
|
+
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined | undefined;
|
|
313
|
+
height?: react_native.DimensionValue | undefined;
|
|
314
|
+
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined | undefined;
|
|
315
|
+
margin?: react_native.DimensionValue | undefined;
|
|
316
|
+
marginBottom?: react_native.DimensionValue | undefined;
|
|
317
|
+
marginEnd?: react_native.DimensionValue | undefined;
|
|
318
|
+
marginHorizontal?: react_native.DimensionValue | undefined;
|
|
319
|
+
marginStart?: react_native.DimensionValue | undefined;
|
|
320
|
+
marginTop?: react_native.DimensionValue | undefined;
|
|
321
|
+
marginVertical?: react_native.DimensionValue | undefined;
|
|
322
|
+
maxHeight?: react_native.DimensionValue | undefined;
|
|
323
|
+
maxWidth?: react_native.DimensionValue | undefined;
|
|
324
|
+
minHeight?: react_native.DimensionValue | undefined;
|
|
325
|
+
minWidth?: react_native.DimensionValue | undefined;
|
|
326
|
+
overflow?: "visible" | "hidden" | "scroll" | undefined | undefined;
|
|
327
|
+
padding?: react_native.DimensionValue | undefined;
|
|
328
|
+
paddingBottom?: react_native.DimensionValue | undefined;
|
|
329
|
+
paddingEnd?: react_native.DimensionValue | undefined;
|
|
330
|
+
paddingHorizontal?: react_native.DimensionValue | undefined;
|
|
331
|
+
paddingStart?: react_native.DimensionValue | undefined;
|
|
332
|
+
paddingTop?: react_native.DimensionValue | undefined;
|
|
333
|
+
paddingVertical?: react_native.DimensionValue | undefined;
|
|
334
|
+
position?: "absolute" | "relative" | "static" | undefined | undefined;
|
|
335
|
+
start?: react_native.DimensionValue | undefined;
|
|
336
|
+
top?: react_native.DimensionValue | undefined;
|
|
337
|
+
width?: react_native.DimensionValue | undefined;
|
|
338
|
+
zIndex?: number | undefined | undefined;
|
|
339
|
+
direction?: "inherit" | "ltr" | "rtl" | undefined | undefined;
|
|
340
|
+
inset?: react_native.DimensionValue | undefined;
|
|
341
|
+
insetBlock?: react_native.DimensionValue | undefined;
|
|
342
|
+
insetBlockEnd?: react_native.DimensionValue | undefined;
|
|
343
|
+
insetBlockStart?: react_native.DimensionValue | undefined;
|
|
344
|
+
insetInline?: react_native.DimensionValue | undefined;
|
|
345
|
+
insetInlineEnd?: react_native.DimensionValue | undefined;
|
|
346
|
+
insetInlineStart?: react_native.DimensionValue | undefined;
|
|
347
|
+
marginBlock?: react_native.DimensionValue | undefined;
|
|
348
|
+
marginBlockEnd?: react_native.DimensionValue | undefined;
|
|
349
|
+
marginBlockStart?: react_native.DimensionValue | undefined;
|
|
350
|
+
marginInline?: react_native.DimensionValue | undefined;
|
|
351
|
+
marginInlineEnd?: react_native.DimensionValue | undefined;
|
|
352
|
+
marginInlineStart?: react_native.DimensionValue | undefined;
|
|
353
|
+
paddingBlock?: react_native.DimensionValue | undefined;
|
|
354
|
+
paddingBlockEnd?: react_native.DimensionValue | undefined;
|
|
355
|
+
paddingBlockStart?: react_native.DimensionValue | undefined;
|
|
356
|
+
paddingInline?: react_native.DimensionValue | undefined;
|
|
357
|
+
paddingInlineEnd?: react_native.DimensionValue | undefined;
|
|
358
|
+
paddingInlineStart?: react_native.DimensionValue | undefined;
|
|
359
|
+
shadowColor?: react_native.ColorValue | undefined;
|
|
360
|
+
shadowOffset?: Readonly<{
|
|
361
|
+
width: number;
|
|
362
|
+
height: number;
|
|
363
|
+
}> | undefined;
|
|
364
|
+
shadowOpacity?: react_native.AnimatableNumericValue | undefined;
|
|
365
|
+
shadowRadius?: number | undefined | undefined;
|
|
366
|
+
transform?: string | readonly (({
|
|
367
|
+
scaleX: react_native.AnimatableNumericValue;
|
|
368
|
+
} & {
|
|
369
|
+
scaleY?: undefined;
|
|
370
|
+
translateX?: undefined;
|
|
371
|
+
translateY?: undefined;
|
|
372
|
+
scale?: undefined;
|
|
373
|
+
perspective?: undefined;
|
|
374
|
+
rotate?: undefined;
|
|
375
|
+
rotateX?: undefined;
|
|
376
|
+
rotateY?: undefined;
|
|
377
|
+
rotateZ?: undefined;
|
|
378
|
+
skewX?: undefined;
|
|
379
|
+
skewY?: undefined;
|
|
380
|
+
matrix?: undefined;
|
|
381
|
+
}) | ({
|
|
382
|
+
scaleY: react_native.AnimatableNumericValue;
|
|
383
|
+
} & {
|
|
384
|
+
scaleX?: undefined;
|
|
385
|
+
translateX?: undefined;
|
|
386
|
+
translateY?: undefined;
|
|
387
|
+
scale?: undefined;
|
|
388
|
+
perspective?: undefined;
|
|
389
|
+
rotate?: undefined;
|
|
390
|
+
rotateX?: undefined;
|
|
391
|
+
rotateY?: undefined;
|
|
392
|
+
rotateZ?: undefined;
|
|
393
|
+
skewX?: undefined;
|
|
394
|
+
skewY?: undefined;
|
|
395
|
+
matrix?: undefined;
|
|
396
|
+
}) | ({
|
|
397
|
+
translateX: react_native.AnimatableNumericValue | `${number}%`;
|
|
398
|
+
} & {
|
|
399
|
+
scaleX?: undefined;
|
|
400
|
+
scaleY?: undefined;
|
|
401
|
+
translateY?: undefined;
|
|
402
|
+
scale?: undefined;
|
|
403
|
+
perspective?: undefined;
|
|
404
|
+
rotate?: undefined;
|
|
405
|
+
rotateX?: undefined;
|
|
406
|
+
rotateY?: undefined;
|
|
407
|
+
rotateZ?: undefined;
|
|
408
|
+
skewX?: undefined;
|
|
409
|
+
skewY?: undefined;
|
|
410
|
+
matrix?: undefined;
|
|
411
|
+
}) | ({
|
|
412
|
+
translateY: react_native.AnimatableNumericValue | `${number}%`;
|
|
413
|
+
} & {
|
|
414
|
+
scaleX?: undefined;
|
|
415
|
+
scaleY?: undefined;
|
|
416
|
+
translateX?: undefined;
|
|
417
|
+
scale?: undefined;
|
|
418
|
+
perspective?: undefined;
|
|
419
|
+
rotate?: undefined;
|
|
420
|
+
rotateX?: undefined;
|
|
421
|
+
rotateY?: undefined;
|
|
422
|
+
rotateZ?: undefined;
|
|
423
|
+
skewX?: undefined;
|
|
424
|
+
skewY?: undefined;
|
|
425
|
+
matrix?: undefined;
|
|
426
|
+
}) | ({
|
|
427
|
+
scale: react_native.AnimatableNumericValue;
|
|
428
|
+
} & {
|
|
429
|
+
scaleX?: undefined;
|
|
430
|
+
scaleY?: undefined;
|
|
431
|
+
translateX?: undefined;
|
|
432
|
+
translateY?: undefined;
|
|
433
|
+
perspective?: undefined;
|
|
434
|
+
rotate?: undefined;
|
|
435
|
+
rotateX?: undefined;
|
|
436
|
+
rotateY?: undefined;
|
|
437
|
+
rotateZ?: undefined;
|
|
438
|
+
skewX?: undefined;
|
|
439
|
+
skewY?: undefined;
|
|
440
|
+
matrix?: undefined;
|
|
441
|
+
}) | ({
|
|
442
|
+
perspective: react_native.AnimatableNumericValue;
|
|
443
|
+
} & {
|
|
444
|
+
scaleX?: undefined;
|
|
445
|
+
scaleY?: undefined;
|
|
446
|
+
translateX?: undefined;
|
|
447
|
+
translateY?: undefined;
|
|
448
|
+
scale?: undefined;
|
|
449
|
+
rotate?: undefined;
|
|
450
|
+
rotateX?: undefined;
|
|
451
|
+
rotateY?: undefined;
|
|
452
|
+
rotateZ?: undefined;
|
|
453
|
+
skewX?: undefined;
|
|
454
|
+
skewY?: undefined;
|
|
455
|
+
matrix?: undefined;
|
|
456
|
+
}) | ({
|
|
457
|
+
rotate: react_native.AnimatableStringValue;
|
|
458
|
+
} & {
|
|
459
|
+
scaleX?: undefined;
|
|
460
|
+
scaleY?: undefined;
|
|
461
|
+
translateX?: undefined;
|
|
462
|
+
translateY?: undefined;
|
|
463
|
+
scale?: undefined;
|
|
464
|
+
perspective?: undefined;
|
|
465
|
+
rotateX?: undefined;
|
|
466
|
+
rotateY?: undefined;
|
|
467
|
+
rotateZ?: undefined;
|
|
468
|
+
skewX?: undefined;
|
|
469
|
+
skewY?: undefined;
|
|
470
|
+
matrix?: undefined;
|
|
471
|
+
}) | ({
|
|
472
|
+
rotateX: react_native.AnimatableStringValue;
|
|
473
|
+
} & {
|
|
474
|
+
scaleX?: undefined;
|
|
475
|
+
scaleY?: undefined;
|
|
476
|
+
translateX?: undefined;
|
|
477
|
+
translateY?: undefined;
|
|
478
|
+
scale?: undefined;
|
|
479
|
+
perspective?: undefined;
|
|
480
|
+
rotate?: undefined;
|
|
481
|
+
rotateY?: undefined;
|
|
482
|
+
rotateZ?: undefined;
|
|
483
|
+
skewX?: undefined;
|
|
484
|
+
skewY?: undefined;
|
|
485
|
+
matrix?: undefined;
|
|
486
|
+
}) | ({
|
|
487
|
+
rotateY: react_native.AnimatableStringValue;
|
|
488
|
+
} & {
|
|
489
|
+
scaleX?: undefined;
|
|
490
|
+
scaleY?: undefined;
|
|
491
|
+
translateX?: undefined;
|
|
492
|
+
translateY?: undefined;
|
|
493
|
+
scale?: undefined;
|
|
494
|
+
perspective?: undefined;
|
|
495
|
+
rotate?: undefined;
|
|
496
|
+
rotateX?: undefined;
|
|
497
|
+
rotateZ?: undefined;
|
|
498
|
+
skewX?: undefined;
|
|
499
|
+
skewY?: undefined;
|
|
500
|
+
matrix?: undefined;
|
|
501
|
+
}) | ({
|
|
502
|
+
rotateZ: react_native.AnimatableStringValue;
|
|
503
|
+
} & {
|
|
504
|
+
scaleX?: undefined;
|
|
505
|
+
scaleY?: undefined;
|
|
506
|
+
translateX?: undefined;
|
|
507
|
+
translateY?: undefined;
|
|
508
|
+
scale?: undefined;
|
|
509
|
+
perspective?: undefined;
|
|
510
|
+
rotate?: undefined;
|
|
511
|
+
rotateX?: undefined;
|
|
512
|
+
rotateY?: undefined;
|
|
513
|
+
skewX?: undefined;
|
|
514
|
+
skewY?: undefined;
|
|
515
|
+
matrix?: undefined;
|
|
516
|
+
}) | ({
|
|
517
|
+
skewX: react_native.AnimatableStringValue;
|
|
518
|
+
} & {
|
|
519
|
+
scaleX?: undefined;
|
|
520
|
+
scaleY?: undefined;
|
|
521
|
+
translateX?: undefined;
|
|
522
|
+
translateY?: undefined;
|
|
523
|
+
scale?: undefined;
|
|
524
|
+
perspective?: undefined;
|
|
525
|
+
rotate?: undefined;
|
|
526
|
+
rotateX?: undefined;
|
|
527
|
+
rotateY?: undefined;
|
|
528
|
+
rotateZ?: undefined;
|
|
529
|
+
skewY?: undefined;
|
|
530
|
+
matrix?: undefined;
|
|
531
|
+
}) | ({
|
|
532
|
+
skewY: react_native.AnimatableStringValue;
|
|
533
|
+
} & {
|
|
534
|
+
scaleX?: undefined;
|
|
535
|
+
scaleY?: undefined;
|
|
536
|
+
translateX?: undefined;
|
|
537
|
+
translateY?: undefined;
|
|
538
|
+
scale?: undefined;
|
|
539
|
+
perspective?: undefined;
|
|
540
|
+
rotate?: undefined;
|
|
541
|
+
rotateX?: undefined;
|
|
542
|
+
rotateY?: undefined;
|
|
543
|
+
rotateZ?: undefined;
|
|
544
|
+
skewX?: undefined;
|
|
545
|
+
matrix?: undefined;
|
|
546
|
+
}) | ({
|
|
547
|
+
matrix: react_native.AnimatableNumericValue[];
|
|
548
|
+
} & {
|
|
549
|
+
scaleX?: undefined;
|
|
550
|
+
scaleY?: undefined;
|
|
551
|
+
translateX?: undefined;
|
|
552
|
+
translateY?: undefined;
|
|
553
|
+
scale?: undefined;
|
|
554
|
+
perspective?: undefined;
|
|
555
|
+
rotate?: undefined;
|
|
556
|
+
rotateX?: undefined;
|
|
557
|
+
rotateY?: undefined;
|
|
558
|
+
rotateZ?: undefined;
|
|
559
|
+
skewX?: undefined;
|
|
560
|
+
skewY?: undefined;
|
|
561
|
+
}))[] | undefined;
|
|
562
|
+
transformOrigin?: string | (string | number)[] | undefined;
|
|
563
|
+
transformMatrix?: number[] | undefined;
|
|
564
|
+
rotation?: react_native.AnimatableNumericValue | undefined;
|
|
565
|
+
scaleX?: react_native.AnimatableNumericValue | undefined;
|
|
566
|
+
scaleY?: react_native.AnimatableNumericValue | undefined;
|
|
567
|
+
translateX?: react_native.AnimatableNumericValue | undefined;
|
|
568
|
+
translateY?: react_native.AnimatableNumericValue | undefined;
|
|
569
|
+
asChild?: boolean | undefined;
|
|
570
|
+
onPress?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
571
|
+
onPressIn?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
572
|
+
onPressOut?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
573
|
+
onLongPress?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
574
|
+
pressRetentionOffset?: number | react_native.Insets | null | undefined;
|
|
575
|
+
onHoverIn?: null | ((event: react_native.MouseEvent) => void) | undefined | undefined;
|
|
576
|
+
onHoverOut?: null | ((event: react_native.MouseEvent) => 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
|
+
android_disableSound?: null | boolean | undefined | undefined;
|
|
582
|
+
android_ripple?: react_native.PressableAndroidRippleConfig | null | undefined;
|
|
583
|
+
testOnly_pressed?: null | boolean | undefined | undefined;
|
|
584
|
+
unstable_pressDelay?: number | undefined | undefined;
|
|
585
|
+
animation?: AnimationProp | undefined;
|
|
586
|
+
} & Omit<ViewStyleProps, keyof {
|
|
587
|
+
variant?: ChipVariant;
|
|
588
|
+
size?: ChipSize;
|
|
589
|
+
radius?: RadiusKey;
|
|
590
|
+
color?: string;
|
|
591
|
+
isDisabled?: boolean;
|
|
592
|
+
isPressable?: boolean;
|
|
593
|
+
style?: react_native.StyleProp<react_native.ViewStyle> | ((state: react_native.PressableStateCallbackType) => react_native.StyleProp<react_native.ViewStyle>);
|
|
594
|
+
children?: react.ReactNode;
|
|
595
|
+
}> & react.RefAttributes<react_native.View>> & {
|
|
596
|
+
Label: react.ForwardRefExoticComponent<react_native.TextProps & Omit<TextStyleProps, keyof react_native.TextProps> & {
|
|
597
|
+
children?: react.ReactNode;
|
|
598
|
+
} & react.RefAttributes<react_native.Text>>;
|
|
599
|
+
Icon: typeof ChipIcon;
|
|
600
|
+
Dot: react.ForwardRefExoticComponent<react_native.ViewProps & Omit<ViewStyleProps, keyof react_native.ViewProps> & react.RefAttributes<react_native.View>>;
|
|
601
|
+
Avatar: react.ForwardRefExoticComponent<{
|
|
602
|
+
source?: react_native.ImageSourcePropType;
|
|
603
|
+
children?: react.ReactNode;
|
|
604
|
+
} & react_native.ViewProps & Omit<ViewStyleProps, "style" | "children" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "pointerEvents" | "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" | "source"> & react.RefAttributes<react_native.View>>;
|
|
605
|
+
Close: react.ForwardRefExoticComponent<ChipCloseProps & react.RefAttributes<react_native.View>>;
|
|
606
|
+
};
|
|
607
|
+
|
|
608
|
+
export { Chip, type ChipAvatarProps, type ChipCloseProps, type ChipContextValue, type ChipDotProps, type ChipIconProps, type ChipLabelProps, type ChipProps, type ChipSize, type ChipSlot, type ChipVariant, chipRecipe, useChip };
|