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