@xaui/native 0.9.1-alpha.26 → 0.9.1-alpha.27

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.
Files changed (47) hide show
  1. package/dist/chunk-2EBB5BO3.cjs +361 -0
  2. package/dist/{chunk-PQHC65AG.js → chunk-56KVKM27.js} +15 -15
  3. package/dist/{chunk-BULNTP5N.cjs → chunk-63TWVWHG.cjs} +9 -45
  4. package/dist/chunk-7EIHHOHP.cjs +42 -0
  5. package/dist/{chunk-WVCAFORA.cjs → chunk-CQRUNV6S.cjs} +15 -15
  6. package/dist/chunk-F6W3JQ7K.js +42 -0
  7. package/dist/chunk-LGVIZAB2.js +503 -0
  8. package/dist/{chunk-I6UCYAO2.js → chunk-N4UJYDOW.js} +23 -56
  9. package/dist/components/alert/index.cjs +1 -1
  10. package/dist/components/alert/index.d.cts +1 -1
  11. package/dist/components/alert/index.d.ts +1 -1
  12. package/dist/components/alert/index.js +1 -1
  13. package/dist/components/button/index.cjs +3 -3
  14. package/dist/components/button/index.d.cts +1 -1
  15. package/dist/components/button/index.d.ts +1 -1
  16. package/dist/components/button/index.js +2 -2
  17. package/dist/components/card/index.d.cts +1 -1
  18. package/dist/components/card/index.d.ts +1 -1
  19. package/dist/components/checkbox/index.cjs +23 -0
  20. package/dist/components/checkbox/index.d.cts +1137 -0
  21. package/dist/components/checkbox/index.d.ts +1137 -0
  22. package/dist/components/checkbox/index.js +23 -0
  23. package/dist/components/chip/index.cjs +3 -3
  24. package/dist/components/chip/index.d.cts +1 -1
  25. package/dist/components/chip/index.d.ts +1 -1
  26. package/dist/components/chip/index.js +2 -2
  27. package/dist/components/input/index.d.cts +3 -3
  28. package/dist/components/input/index.d.ts +3 -3
  29. package/dist/components/input-otp/index.cjs +3 -2
  30. package/dist/components/input-otp/index.d.cts +3 -3
  31. package/dist/components/input-otp/index.d.ts +3 -3
  32. package/dist/components/input-otp/index.js +2 -1
  33. package/dist/components/typography/index.d.cts +1 -1
  34. package/dist/components/typography/index.d.ts +1 -1
  35. package/dist/{create-recipe-dBN_ewZc.d.cts → create-recipe-CWvI5ot3.d.cts} +8 -1
  36. package/dist/{create-recipe-C4JkINrA.d.ts → create-recipe-DUo8doTt.d.ts} +8 -1
  37. package/dist/index.cjs +28 -12
  38. package/dist/index.d.cts +2 -1
  39. package/dist/index.d.ts +2 -1
  40. package/dist/index.js +31 -15
  41. package/dist/system/index.cjs +1 -1
  42. package/dist/system/index.d.cts +2 -2
  43. package/dist/system/index.d.ts +2 -2
  44. package/dist/system/index.js +1 -1
  45. package/package.json +11 -1
  46. package/dist/{chunk-3WISQT22.js → chunk-EHARM2EN.js} +3 -3
  47. package/dist/{chunk-I7G77Q65.cjs → chunk-H7DVR52Z.cjs} +2 -2
@@ -0,0 +1,1137 @@
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, TextProps, PressableStateCallbackType, GestureResponderEvent, View, Text } from 'react-native';
5
+ import { V as ViewStyleProps, T as TextStyleProps } from '../../style-props.type-CfnoGEP7.cjs';
6
+ import { a as AnimationProp, P as PressableFeedbackProps } from '../../pressable-feedback.type-BA2C9sSz.cjs';
7
+ import { S as Size, R as RadiusKey, X as XAUITheme } from '../../theme.type-C2gNHpEx.cjs';
8
+ import { R as Recipe, g as SlotStyles, j as StyleFn } from '../../create-recipe-CWvI5ot3.cjs';
9
+ import 'react-native-reanimated';
10
+
11
+ type CheckboxSlot = 'root' | 'indicator' | 'fill' | 'check' | 'dash' | 'label';
12
+ /**
13
+ * Three of the `Input`'s four levels, and they mean here what they mean there — this is
14
+ * the `field*` family again, on a box 24pt wide instead of a field 48pt tall.
15
+ *
16
+ * - **`primary`** — the `fieldBackground` fill plus the theme's `field` shadow. HeroUI's
17
+ * `primary`, with the elevation their flat token only implies.
18
+ * - **`secondary`** — the neutral `default` fill, and the default here for the reason it
19
+ * is the `Input`'s: on a plain background a white box is its border and nothing else,
20
+ * while on a card `fieldBackground` *is* the card's own colour.
21
+ * - **`tertiary`** — the border alone, no fill.
22
+ *
23
+ * **`ghost` is absent**, where the `Input` has it: a field with no border is still a line
24
+ * of text you can see, and a checkbox with no border and no fill is nothing at all.
25
+ *
26
+ * A variant describes the box **at rest**. What it looks like once ticked is the accent
27
+ * for all three — or `color`, which is the point of the `bgSelected` role.
28
+ */
29
+ type CheckboxVariant = 'primary' | 'secondary' | 'tertiary';
30
+ /**
31
+ * Three of the four, and `xs` is the one missing. That box was 16 points square with a
32
+ * 1.5pt stroke — a tick drawn in a space that small stops reading as a tick, and the touch
33
+ * target is already the row rather than the box, so shrinking the box buys nothing a
34
+ * caller can press. `sm` is the compact size.
35
+ */
36
+ type CheckboxSize = Exclude<Size, 'xs'>;
37
+ type CheckboxOwnProps = {
38
+ variant?: CheckboxVariant;
39
+ /** The box, the glyph inside it, the gap and the label's type. Never width. */
40
+ size?: CheckboxSize;
41
+ /** Overrides the corner the size chose. */
42
+ radius?: RadiusKey;
43
+ /**
44
+ * A raw tint (`'#7c3aed'`), never a token (R7). It is **the colour the box checks in**,
45
+ * with a mark derived to read against it — the accent is only the default.
46
+ *
47
+ * It is ignored while `isInvalid`: an error outranks a brand colour, the same way it
48
+ * outranks focus on the `Input`.
49
+ */
50
+ color?: string;
51
+ /** Controlled. Leave it out and the checkbox keeps its own state. */
52
+ isSelected?: boolean;
53
+ /** The starting value when uncontrolled. @default false */
54
+ defaultSelected?: boolean;
55
+ /** Fired with the new value on every tick, controlled or not. */
56
+ onSelectedChange?: (isSelected: boolean) => void;
57
+ /**
58
+ * Neither ticked nor empty — the state a "select all" sits in while some of its rows
59
+ * are. The box fills as if selected and the mark is a dash; a screen reader hears
60
+ * `mixed`, and a press resolves it to selected, which is what a browser's own
61
+ * indeterminate checkbox does.
62
+ *
63
+ * It is a **display** state and does not touch `isSelected`: the caller decides when
64
+ * the tri-state collapses, because only the caller knows what the rows say.
65
+ */
66
+ isIndeterminate?: boolean;
67
+ /** Paints the border, the fill and the label in `danger`. */
68
+ isInvalid?: boolean;
69
+ /** Dims the row and stops the press. */
70
+ isDisabled?: boolean;
71
+ animation?: AnimationProp;
72
+ /** R9 — `Pressable`'s function form as much as an object or an array. */
73
+ style?: StyleProp<ViewStyle> | ((state: PressableStateCallbackType) => StyleProp<ViewStyle>);
74
+ children?: ReactNode;
75
+ };
76
+ /**
77
+ * The press behaviour the root forwards — `PressableFeedback`'s surface, minus the four
78
+ * props this component owns itself. `asChild` (R12) is in there, and so is `animation`.
79
+ */
80
+ type CheckboxBehaviourProps = Omit<PressableFeedbackProps, 'isPressed' | 'isDisabled' | 'style' | 'children' | 'animation'>;
81
+ /**
82
+ * R14 — the checkbox's own props, the pressable's, and every `ViewStyle` key neither
83
+ * claims. `onPress` is the pressable's and still fires: composed with the tick, never
84
+ * instead of it.
85
+ */
86
+ type CheckboxProps = CheckboxOwnProps & CheckboxBehaviourProps & Omit<ViewStyleProps, keyof CheckboxOwnProps>;
87
+ type CheckboxIndicatorOwnProps = {
88
+ /**
89
+ * Replaces the built-in check — an icon set's glyph, a dash, anything. It is rendered
90
+ * inside the fill, so it appears and disappears with it.
91
+ */
92
+ children?: ReactNode;
93
+ /** `false` shows the mark without the fade and the scale. */
94
+ animation?: boolean;
95
+ style?: StyleProp<ViewStyle>;
96
+ };
97
+ /** `View`'s own props win over the `ViewStyle` keys of the same name (R14). */
98
+ type CheckboxIndicatorProps = CheckboxIndicatorOwnProps & Omit<ViewProps, keyof CheckboxIndicatorOwnProps> & Omit<ViewStyleProps, keyof CheckboxIndicatorOwnProps | keyof ViewProps>;
99
+ /** `Text`'s own props win over the `TextStyle` keys of the same name (R14). */
100
+ type CheckboxLabelProps = TextProps & Omit<TextStyleProps, keyof TextProps> & {
101
+ children?: ReactNode;
102
+ };
103
+ /**
104
+ * R5 — resolved styles, not props for a slot to resolve a second time, plus the two
105
+ * values a slot cannot compute: whether the box is ticked, and whether it may be.
106
+ */
107
+ type CheckboxContextValue = {
108
+ indicatorStyle: StyleProp<ViewStyle>;
109
+ /** Laid over the box while selected, and the node the mark sits in. */
110
+ fillStyle: StyleProp<ViewStyle>;
111
+ checkStyle: StyleProp<ViewStyle>;
112
+ /** The mark of the third state — one bar where the check has two. */
113
+ dashStyle: StyleProp<ViewStyle>;
114
+ labelStyle: StyleProp<TextStyle>;
115
+ isSelected: boolean;
116
+ isIndeterminate: boolean;
117
+ isDisabled: boolean;
118
+ isInvalid: boolean;
119
+ };
120
+
121
+ /**
122
+ * A box that is either ticked or not, with the label that says what it means.
123
+ *
124
+ * ```tsx
125
+ * <Checkbox isSelected={accepted} onSelectedChange={setAccepted}>
126
+ * J'accepte les conditions
127
+ * </Checkbox>
128
+ *
129
+ * <Checkbox defaultSelected isInvalid={!accepted} size="lg">
130
+ * <Checkbox.Indicator />
131
+ * <Checkbox.Label>Recevoir la lettre d'information</Checkbox.Label>
132
+ * </Checkbox>
133
+ * ```
134
+ *
135
+ * **The root is the row, not the box.** It is the pressable, so the label toggles the
136
+ * checkbox as surely as the box does — which is the whole reason the label is a slot here
137
+ * rather than a `Text` the caller puts beside it and wires up by hand.
138
+ *
139
+ * R3 — a stringifiable tree becomes the label **and the root supplies the box**, because
140
+ * a checkbox without one is not a checkbox; written with no children at all, it is the box
141
+ * alone. Anything else is yours to arrange.
142
+ *
143
+ * Controlled by `isSelected`, uncontrolled by `defaultSelected`, and `onSelectedChange`
144
+ * fires either way.
145
+ */
146
+ declare const CheckboxRoot: react.ForwardRefExoticComponent<{
147
+ variant?: CheckboxVariant;
148
+ size?: CheckboxSize;
149
+ radius?: RadiusKey;
150
+ color?: string;
151
+ isSelected?: boolean;
152
+ defaultSelected?: boolean;
153
+ onSelectedChange?: (isSelected: boolean) => void;
154
+ isIndeterminate?: boolean;
155
+ isInvalid?: boolean;
156
+ isDisabled?: boolean;
157
+ animation?: AnimationProp;
158
+ style?: react_native.StyleProp<react_native.ViewStyle> | ((state: react_native.PressableStateCallbackType) => react_native.StyleProp<react_native.ViewStyle>);
159
+ children?: react.ReactNode;
160
+ } & {
161
+ alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined | undefined;
162
+ alignItems?: react_native.FlexAlignType | undefined;
163
+ alignSelf?: "auto" | react_native.FlexAlignType | undefined;
164
+ aspectRatio?: number | string | undefined | undefined;
165
+ boxSizing?: "border-box" | "content-box" | undefined | undefined;
166
+ columnGap?: number | string | undefined | undefined;
167
+ direction?: "inherit" | "ltr" | "rtl" | undefined | undefined;
168
+ display?: "none" | "flex" | "contents" | undefined | undefined;
169
+ flex?: number | undefined | undefined;
170
+ flexBasis?: react_native.DimensionValue | undefined;
171
+ flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined | undefined;
172
+ flexGrow?: number | undefined | undefined;
173
+ flexShrink?: number | undefined | undefined;
174
+ flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined | undefined;
175
+ gap?: number | string | undefined | undefined;
176
+ justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined | undefined;
177
+ overflow?: "visible" | "hidden" | "scroll" | undefined | undefined;
178
+ rowGap?: number | string | undefined | undefined;
179
+ bottom?: react_native.DimensionValue | undefined;
180
+ end?: react_native.DimensionValue | undefined;
181
+ inset?: react_native.DimensionValue | undefined;
182
+ insetBlock?: react_native.DimensionValue | undefined;
183
+ insetBlockEnd?: react_native.DimensionValue | undefined;
184
+ insetBlockStart?: react_native.DimensionValue | undefined;
185
+ insetInline?: react_native.DimensionValue | undefined;
186
+ insetInlineEnd?: react_native.DimensionValue | undefined;
187
+ insetInlineStart?: react_native.DimensionValue | undefined;
188
+ position?: "absolute" | "relative" | "static" | undefined | undefined;
189
+ start?: react_native.DimensionValue | undefined;
190
+ top?: react_native.DimensionValue | undefined;
191
+ zIndex?: number | undefined | undefined;
192
+ margin?: react_native.DimensionValue | undefined;
193
+ marginBlock?: react_native.DimensionValue | undefined;
194
+ marginBlockEnd?: react_native.DimensionValue | undefined;
195
+ marginBlockStart?: react_native.DimensionValue | undefined;
196
+ marginBottom?: react_native.DimensionValue | undefined;
197
+ marginEnd?: react_native.DimensionValue | undefined;
198
+ marginHorizontal?: react_native.DimensionValue | undefined;
199
+ marginInline?: react_native.DimensionValue | undefined;
200
+ marginInlineEnd?: react_native.DimensionValue | undefined;
201
+ marginInlineStart?: react_native.DimensionValue | undefined;
202
+ marginStart?: react_native.DimensionValue | undefined;
203
+ marginTop?: react_native.DimensionValue | undefined;
204
+ marginVertical?: react_native.DimensionValue | undefined;
205
+ padding?: react_native.DimensionValue | undefined;
206
+ paddingBlock?: react_native.DimensionValue | undefined;
207
+ paddingBlockEnd?: react_native.DimensionValue | undefined;
208
+ paddingBlockStart?: react_native.DimensionValue | undefined;
209
+ paddingBottom?: react_native.DimensionValue | undefined;
210
+ paddingEnd?: react_native.DimensionValue | undefined;
211
+ paddingHorizontal?: react_native.DimensionValue | undefined;
212
+ paddingInline?: react_native.DimensionValue | undefined;
213
+ paddingInlineEnd?: react_native.DimensionValue | undefined;
214
+ paddingInlineStart?: react_native.DimensionValue | undefined;
215
+ paddingStart?: react_native.DimensionValue | undefined;
216
+ paddingTop?: react_native.DimensionValue | undefined;
217
+ paddingVertical?: react_native.DimensionValue | undefined;
218
+ height?: react_native.DimensionValue | undefined;
219
+ maxHeight?: react_native.DimensionValue | undefined;
220
+ maxWidth?: react_native.DimensionValue | undefined;
221
+ minHeight?: react_native.DimensionValue | undefined;
222
+ minWidth?: react_native.DimensionValue | undefined;
223
+ width?: react_native.DimensionValue | undefined;
224
+ borderBlockColor?: react_native.ColorValue | undefined;
225
+ borderBlockEndColor?: react_native.ColorValue | undefined;
226
+ borderBlockStartColor?: react_native.ColorValue | undefined;
227
+ borderBottomColor?: react_native.ColorValue | undefined;
228
+ borderBottomEndRadius?: string | react_native.AnimatableNumericValue | undefined;
229
+ borderBottomStartRadius?: string | react_native.AnimatableNumericValue | undefined;
230
+ borderBottomWidth?: number | undefined | undefined;
231
+ borderColor?: react_native.ColorValue | undefined;
232
+ borderCurve?: "circular" | "continuous" | undefined | undefined;
233
+ borderEndColor?: react_native.ColorValue | undefined;
234
+ borderEndEndRadius?: string | react_native.AnimatableNumericValue | undefined;
235
+ borderEndStartRadius?: string | react_native.AnimatableNumericValue | undefined;
236
+ borderEndWidth?: number | undefined | undefined;
237
+ borderRadius?: string | react_native.AnimatableNumericValue | undefined;
238
+ borderStartColor?: react_native.ColorValue | undefined;
239
+ borderStartEndRadius?: string | react_native.AnimatableNumericValue | undefined;
240
+ borderStartStartRadius?: string | react_native.AnimatableNumericValue | undefined;
241
+ borderStartWidth?: number | undefined | undefined;
242
+ borderStyle?: "solid" | "dotted" | "dashed" | undefined | undefined;
243
+ borderTopColor?: react_native.ColorValue | undefined;
244
+ borderTopEndRadius?: string | react_native.AnimatableNumericValue | undefined;
245
+ borderTopStartRadius?: string | react_native.AnimatableNumericValue | undefined;
246
+ borderTopWidth?: number | undefined | undefined;
247
+ borderWidth?: number | undefined | undefined;
248
+ backfaceVisibility?: "visible" | "hidden" | undefined | undefined;
249
+ backgroundColor?: react_native.ColorValue | undefined;
250
+ boxShadow?: string | readonly react_native.BoxShadowValue[] | undefined;
251
+ cursor?: react_native.CursorValue | undefined;
252
+ elevation?: number | undefined | undefined;
253
+ experimental_backgroundImage?: string | readonly react_native.GradientValue[] | undefined;
254
+ filter?: string | readonly react_native.FilterFunction[] | undefined;
255
+ isolation?: "auto" | "isolate" | undefined | undefined;
256
+ mixBlendMode?: react_native.BlendMode | undefined;
257
+ opacity?: react_native.AnimatableNumericValue | undefined;
258
+ outlineColor?: react_native.ColorValue | undefined;
259
+ outlineOffset?: react_native.AnimatableNumericValue | undefined;
260
+ outlineStyle?: "solid" | "dotted" | "dashed" | undefined | undefined;
261
+ outlineWidth?: react_native.AnimatableNumericValue | undefined;
262
+ shadowColor?: react_native.ColorValue | undefined;
263
+ shadowOffset?: Readonly<{
264
+ width: number;
265
+ height: number;
266
+ }> | undefined;
267
+ shadowOpacity?: react_native.AnimatableNumericValue | undefined;
268
+ shadowRadius?: number | undefined | undefined;
269
+ rotation?: react_native.AnimatableNumericValue | undefined;
270
+ scaleX?: react_native.AnimatableNumericValue | undefined;
271
+ scaleY?: react_native.AnimatableNumericValue | undefined;
272
+ transform?: string | readonly (({
273
+ scaleX: react_native.AnimatableNumericValue;
274
+ } & {
275
+ scaleY?: undefined;
276
+ translateX?: undefined;
277
+ translateY?: undefined;
278
+ scale?: undefined;
279
+ perspective?: undefined;
280
+ rotate?: undefined;
281
+ rotateX?: undefined;
282
+ rotateY?: undefined;
283
+ rotateZ?: undefined;
284
+ skewX?: undefined;
285
+ skewY?: undefined;
286
+ matrix?: undefined;
287
+ }) | ({
288
+ scaleY: react_native.AnimatableNumericValue;
289
+ } & {
290
+ scaleX?: undefined;
291
+ translateX?: undefined;
292
+ translateY?: undefined;
293
+ scale?: undefined;
294
+ perspective?: undefined;
295
+ rotate?: undefined;
296
+ rotateX?: undefined;
297
+ rotateY?: undefined;
298
+ rotateZ?: undefined;
299
+ skewX?: undefined;
300
+ skewY?: undefined;
301
+ matrix?: undefined;
302
+ }) | ({
303
+ translateX: react_native.AnimatableNumericValue | `${number}%`;
304
+ } & {
305
+ scaleX?: undefined;
306
+ scaleY?: undefined;
307
+ translateY?: undefined;
308
+ scale?: undefined;
309
+ perspective?: undefined;
310
+ rotate?: undefined;
311
+ rotateX?: undefined;
312
+ rotateY?: undefined;
313
+ rotateZ?: undefined;
314
+ skewX?: undefined;
315
+ skewY?: undefined;
316
+ matrix?: undefined;
317
+ }) | ({
318
+ translateY: react_native.AnimatableNumericValue | `${number}%`;
319
+ } & {
320
+ scaleX?: undefined;
321
+ scaleY?: undefined;
322
+ translateX?: undefined;
323
+ scale?: undefined;
324
+ perspective?: undefined;
325
+ rotate?: undefined;
326
+ rotateX?: undefined;
327
+ rotateY?: undefined;
328
+ rotateZ?: undefined;
329
+ skewX?: undefined;
330
+ skewY?: undefined;
331
+ matrix?: undefined;
332
+ }) | ({
333
+ scale: react_native.AnimatableNumericValue;
334
+ } & {
335
+ scaleX?: undefined;
336
+ scaleY?: undefined;
337
+ translateX?: undefined;
338
+ translateY?: undefined;
339
+ perspective?: undefined;
340
+ rotate?: undefined;
341
+ rotateX?: undefined;
342
+ rotateY?: undefined;
343
+ rotateZ?: undefined;
344
+ skewX?: undefined;
345
+ skewY?: undefined;
346
+ matrix?: undefined;
347
+ }) | ({
348
+ perspective: react_native.AnimatableNumericValue;
349
+ } & {
350
+ scaleX?: undefined;
351
+ scaleY?: undefined;
352
+ translateX?: undefined;
353
+ translateY?: undefined;
354
+ scale?: undefined;
355
+ rotate?: undefined;
356
+ rotateX?: undefined;
357
+ rotateY?: undefined;
358
+ rotateZ?: undefined;
359
+ skewX?: undefined;
360
+ skewY?: undefined;
361
+ matrix?: undefined;
362
+ }) | ({
363
+ rotate: react_native.AnimatableStringValue;
364
+ } & {
365
+ scaleX?: undefined;
366
+ scaleY?: undefined;
367
+ translateX?: undefined;
368
+ translateY?: undefined;
369
+ scale?: undefined;
370
+ perspective?: undefined;
371
+ rotateX?: undefined;
372
+ rotateY?: undefined;
373
+ rotateZ?: undefined;
374
+ skewX?: undefined;
375
+ skewY?: undefined;
376
+ matrix?: undefined;
377
+ }) | ({
378
+ rotateX: react_native.AnimatableStringValue;
379
+ } & {
380
+ scaleX?: undefined;
381
+ scaleY?: undefined;
382
+ translateX?: undefined;
383
+ translateY?: undefined;
384
+ scale?: undefined;
385
+ perspective?: undefined;
386
+ rotate?: undefined;
387
+ rotateY?: undefined;
388
+ rotateZ?: undefined;
389
+ skewX?: undefined;
390
+ skewY?: undefined;
391
+ matrix?: undefined;
392
+ }) | ({
393
+ rotateY: react_native.AnimatableStringValue;
394
+ } & {
395
+ scaleX?: undefined;
396
+ scaleY?: undefined;
397
+ translateX?: undefined;
398
+ translateY?: undefined;
399
+ scale?: undefined;
400
+ perspective?: undefined;
401
+ rotate?: undefined;
402
+ rotateX?: undefined;
403
+ rotateZ?: undefined;
404
+ skewX?: undefined;
405
+ skewY?: undefined;
406
+ matrix?: undefined;
407
+ }) | ({
408
+ rotateZ: react_native.AnimatableStringValue;
409
+ } & {
410
+ scaleX?: undefined;
411
+ scaleY?: undefined;
412
+ translateX?: undefined;
413
+ translateY?: undefined;
414
+ scale?: undefined;
415
+ perspective?: undefined;
416
+ rotate?: undefined;
417
+ rotateX?: undefined;
418
+ rotateY?: undefined;
419
+ skewX?: undefined;
420
+ skewY?: undefined;
421
+ matrix?: undefined;
422
+ }) | ({
423
+ skewX: react_native.AnimatableStringValue;
424
+ } & {
425
+ scaleX?: undefined;
426
+ scaleY?: undefined;
427
+ translateX?: undefined;
428
+ translateY?: undefined;
429
+ scale?: undefined;
430
+ perspective?: undefined;
431
+ rotate?: undefined;
432
+ rotateX?: undefined;
433
+ rotateY?: undefined;
434
+ rotateZ?: undefined;
435
+ skewY?: undefined;
436
+ matrix?: undefined;
437
+ }) | ({
438
+ skewY: react_native.AnimatableStringValue;
439
+ } & {
440
+ scaleX?: undefined;
441
+ scaleY?: undefined;
442
+ translateX?: undefined;
443
+ translateY?: undefined;
444
+ scale?: undefined;
445
+ perspective?: undefined;
446
+ rotate?: undefined;
447
+ rotateX?: undefined;
448
+ rotateY?: undefined;
449
+ rotateZ?: undefined;
450
+ skewX?: undefined;
451
+ matrix?: undefined;
452
+ }) | ({
453
+ matrix: react_native.AnimatableNumericValue[];
454
+ } & {
455
+ scaleX?: undefined;
456
+ scaleY?: undefined;
457
+ translateX?: undefined;
458
+ translateY?: undefined;
459
+ scale?: undefined;
460
+ perspective?: undefined;
461
+ rotate?: undefined;
462
+ rotateX?: undefined;
463
+ rotateY?: undefined;
464
+ rotateZ?: undefined;
465
+ skewX?: undefined;
466
+ skewY?: undefined;
467
+ }))[] | undefined;
468
+ transformMatrix?: number[] | undefined;
469
+ transformOrigin?: string | (string | number)[] | undefined;
470
+ translateX?: react_native.AnimatableNumericValue | undefined;
471
+ translateY?: react_native.AnimatableNumericValue | undefined;
472
+ pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined | undefined;
473
+ hitSlop?: number | react_native.Insets | null | undefined;
474
+ id?: string | undefined | undefined;
475
+ needsOffscreenAlphaCompositing?: boolean | undefined | undefined;
476
+ onLayout?: ((event: react_native.LayoutChangeEvent) => void) | undefined | undefined;
477
+ removeClippedSubviews?: boolean | undefined | undefined;
478
+ testID?: string | undefined | undefined;
479
+ nativeID?: string | undefined | undefined;
480
+ collapsable?: boolean | undefined | undefined;
481
+ collapsableChildren?: boolean | undefined | undefined;
482
+ onBlur?: null | ((event: react_native.NativeSyntheticEvent<react_native.TargetedEvent>) => void) | undefined | undefined;
483
+ onFocus?: null | ((event: react_native.NativeSyntheticEvent<react_native.TargetedEvent>) => void) | undefined | undefined;
484
+ renderToHardwareTextureAndroid?: boolean | undefined | undefined;
485
+ focusable?: boolean | undefined | undefined;
486
+ tabIndex?: 0 | -1 | undefined | undefined;
487
+ shouldRasterizeIOS?: boolean | undefined | undefined;
488
+ isTVSelectable?: boolean | undefined | undefined;
489
+ hasTVPreferredFocus?: boolean | undefined | undefined;
490
+ tvParallaxShiftDistanceX?: number | undefined | undefined;
491
+ tvParallaxShiftDistanceY?: number | undefined | undefined;
492
+ tvParallaxTiltAngle?: number | undefined | undefined;
493
+ tvParallaxMagnification?: number | undefined | undefined;
494
+ onStartShouldSetResponder?: ((event: GestureResponderEvent) => boolean) | undefined | undefined;
495
+ onMoveShouldSetResponder?: ((event: GestureResponderEvent) => boolean) | undefined | undefined;
496
+ onResponderEnd?: ((event: GestureResponderEvent) => void) | undefined | undefined;
497
+ onResponderGrant?: ((event: GestureResponderEvent) => void) | undefined | undefined;
498
+ onResponderReject?: ((event: GestureResponderEvent) => void) | undefined | undefined;
499
+ onResponderMove?: ((event: GestureResponderEvent) => void) | undefined | undefined;
500
+ onResponderRelease?: ((event: GestureResponderEvent) => void) | undefined | undefined;
501
+ onResponderStart?: ((event: GestureResponderEvent) => void) | undefined | undefined;
502
+ onResponderTerminationRequest?: ((event: GestureResponderEvent) => boolean) | undefined | undefined;
503
+ onResponderTerminate?: ((event: GestureResponderEvent) => void) | undefined | undefined;
504
+ onStartShouldSetResponderCapture?: ((event: GestureResponderEvent) => boolean) | undefined | undefined;
505
+ onMoveShouldSetResponderCapture?: ((event: GestureResponderEvent) => boolean) | undefined | undefined;
506
+ onTouchStart?: ((event: GestureResponderEvent) => void) | undefined | undefined;
507
+ onTouchMove?: ((event: GestureResponderEvent) => void) | undefined | undefined;
508
+ onTouchEnd?: ((event: GestureResponderEvent) => void) | undefined | undefined;
509
+ onTouchCancel?: ((event: GestureResponderEvent) => void) | undefined | undefined;
510
+ onTouchEndCapture?: ((event: GestureResponderEvent) => void) | undefined | undefined;
511
+ onPointerEnter?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
512
+ onPointerEnterCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
513
+ onPointerLeave?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
514
+ onPointerLeaveCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
515
+ onPointerMove?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
516
+ onPointerMoveCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
517
+ onPointerCancel?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
518
+ onPointerCancelCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
519
+ onPointerDown?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
520
+ onPointerDownCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
521
+ onPointerUp?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
522
+ onPointerUpCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
523
+ accessible?: boolean | undefined | undefined;
524
+ accessibilityActions?: readonly Readonly<{
525
+ name: react_native.AccessibilityActionName | string;
526
+ label?: string | undefined;
527
+ }>[] | undefined;
528
+ accessibilityLabel?: string | undefined | undefined;
529
+ 'aria-label'?: string | undefined | undefined;
530
+ accessibilityRole?: react_native.AccessibilityRole | undefined;
531
+ accessibilityState?: react_native.AccessibilityState | undefined;
532
+ 'aria-busy'?: boolean | undefined | undefined;
533
+ 'aria-checked'?: boolean | "mixed" | undefined | undefined;
534
+ 'aria-disabled'?: boolean | undefined | undefined;
535
+ 'aria-expanded'?: boolean | undefined | undefined;
536
+ 'aria-selected'?: boolean | undefined | undefined;
537
+ accessibilityHint?: string | undefined | undefined;
538
+ accessibilityValue?: react_native.AccessibilityValue | undefined;
539
+ 'aria-valuemax'?: number | undefined;
540
+ 'aria-valuemin'?: number | undefined;
541
+ 'aria-valuenow'?: number | undefined;
542
+ 'aria-valuetext'?: string | undefined;
543
+ onAccessibilityAction?: ((event: react_native.AccessibilityActionEvent) => void) | undefined | undefined;
544
+ importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined | undefined;
545
+ 'aria-hidden'?: boolean | undefined | undefined;
546
+ 'aria-modal'?: boolean | undefined | undefined;
547
+ role?: react_native.Role | undefined;
548
+ accessibilityLabelledBy?: string | string[] | undefined | undefined;
549
+ 'aria-labelledby'?: string | undefined | undefined;
550
+ accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined | undefined;
551
+ 'aria-live'?: ("polite" | "assertive" | "off") | undefined | undefined;
552
+ screenReaderFocusable?: boolean | undefined | undefined;
553
+ accessibilityElementsHidden?: boolean | undefined | undefined;
554
+ accessibilityViewIsModal?: boolean | undefined | undefined;
555
+ onAccessibilityEscape?: (() => void) | undefined | undefined;
556
+ onAccessibilityTap?: (() => void) | undefined | undefined;
557
+ onMagicTap?: (() => void) | undefined | undefined;
558
+ accessibilityIgnoresInvertColors?: boolean | undefined | undefined;
559
+ accessibilityLanguage?: string | undefined | undefined;
560
+ accessibilityShowsLargeContentViewer?: boolean | undefined | undefined;
561
+ accessibilityLargeContentTitle?: string | undefined | undefined;
562
+ accessibilityRespondsToUserInteraction?: boolean | undefined | undefined;
563
+ onHoverIn?: null | ((event: react_native.MouseEvent) => void) | undefined | undefined;
564
+ onHoverOut?: null | ((event: react_native.MouseEvent) => void) | undefined | undefined;
565
+ onPress?: null | ((event: GestureResponderEvent) => void) | undefined | undefined;
566
+ onPressIn?: null | ((event: GestureResponderEvent) => void) | undefined | undefined;
567
+ onPressOut?: null | ((event: GestureResponderEvent) => void) | undefined | undefined;
568
+ onLongPress?: null | ((event: GestureResponderEvent) => void) | undefined | undefined;
569
+ cancelable?: null | boolean | undefined | undefined;
570
+ delayHoverIn?: number | null | undefined | undefined;
571
+ delayHoverOut?: number | null | undefined | undefined;
572
+ delayLongPress?: null | number | undefined | undefined;
573
+ pressRetentionOffset?: number | react_native.Insets | null | undefined;
574
+ android_disableSound?: null | boolean | undefined | undefined;
575
+ android_ripple?: react_native.PressableAndroidRippleConfig | null | undefined;
576
+ testOnly_pressed?: null | boolean | undefined | undefined;
577
+ unstable_pressDelay?: number | undefined | undefined;
578
+ asChild?: boolean | undefined;
579
+ } & Omit<ViewStyleProps, keyof {
580
+ variant?: CheckboxVariant;
581
+ size?: CheckboxSize;
582
+ radius?: RadiusKey;
583
+ color?: string;
584
+ isSelected?: boolean;
585
+ defaultSelected?: boolean;
586
+ onSelectedChange?: (isSelected: boolean) => void;
587
+ isIndeterminate?: boolean;
588
+ isInvalid?: boolean;
589
+ isDisabled?: boolean;
590
+ animation?: AnimationProp;
591
+ style?: react_native.StyleProp<react_native.ViewStyle> | ((state: react_native.PressableStateCallbackType) => react_native.StyleProp<react_native.ViewStyle>);
592
+ children?: react.ReactNode;
593
+ }> & react.RefAttributes<View>>;
594
+
595
+ /**
596
+ * The box itself, and the mark inside it.
597
+ *
598
+ * ```tsx
599
+ * <Checkbox.Indicator />
600
+ *
601
+ * <Checkbox.Indicator>
602
+ * <Icon as={CheckIcon} size={14} color={theme.colors.accentForeground} />
603
+ * </Checkbox.Indicator>
604
+ * ```
605
+ *
606
+ * With no children it draws its own check — two borders of an empty box, a quarter turn
607
+ * from where they look like a tick — so a checkbox works in a project that has installed
608
+ * no icon set. That is the `CloseButton`'s bargain, taken for the same reason.
609
+ *
610
+ * The fill is a node of its own rather than a background on the box: it has to fade and
611
+ * grow in without taking the border with it, and the mark rides along with it, because a
612
+ * check arriving before its background reads as a glitch rather than as an animation.
613
+ */
614
+ declare const CheckboxIndicator: react.ForwardRefExoticComponent<{
615
+ children?: ReactNode;
616
+ animation?: boolean;
617
+ style?: react_native.StyleProp<react_native.ViewStyle>;
618
+ } & Omit<react_native.ViewProps, keyof {
619
+ children?: ReactNode;
620
+ animation?: boolean;
621
+ style?: react_native.StyleProp<react_native.ViewStyle>;
622
+ }> & 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" | "animation"> & react.RefAttributes<View>>;
623
+
624
+ /**
625
+ * What ticking the box means.
626
+ *
627
+ * It sits **inside** the pressable, so tapping the words toggles the checkbox — which is
628
+ * why this is a slot rather than a `Text` beside the component. It turns `danger` with
629
+ * `isInvalid`, like the `Input`'s label.
630
+ *
631
+ * A label long enough to wrap wants the box against its first line rather than centred on
632
+ * the paragraph: `<Checkbox alignItems="flex-start">` is that, in style props (R14).
633
+ */
634
+ declare const CheckboxLabel: react.ForwardRefExoticComponent<react_native.TextProps & Omit<TextStyleProps, keyof react_native.TextProps> & {
635
+ children?: react.ReactNode;
636
+ } & react.RefAttributes<Text>>;
637
+
638
+ declare const useCheckbox: () => CheckboxContextValue;
639
+
640
+ declare const checkboxRecipe: Recipe<"label" | "fill" | "root" | "indicator" | "check" | "dash", CheckboxVariant, {
641
+ readonly size: {
642
+ readonly sm: (theme: XAUITheme) => SlotStyles<CheckboxSlot>;
643
+ readonly md: (theme: XAUITheme) => SlotStyles<CheckboxSlot>;
644
+ readonly lg: (theme: XAUITheme) => SlotStyles<CheckboxSlot>;
645
+ };
646
+ readonly radius: Record<RadiusKey, StyleFn<"indicator">>;
647
+ /**
648
+ * Declared after `size` so its border wins. The resting fill is dropped rather than
649
+ * repainted — `undefined` over a colour is what RN reads as "no background" — because
650
+ * a box that is wrong should read as an outline, not as a filled control that happens
651
+ * to be red at the edge. HeroUI reaches the same shape with a compound.
652
+ */
653
+ readonly isInvalid: {
654
+ readonly true: (theme: XAUITheme) => {
655
+ indicator: {
656
+ borderColor: string;
657
+ backgroundColor: undefined;
658
+ };
659
+ fill: {
660
+ backgroundColor: string;
661
+ };
662
+ check: {
663
+ borderColor: string;
664
+ };
665
+ dash: {
666
+ backgroundColor: string;
667
+ };
668
+ label: {
669
+ color: string;
670
+ };
671
+ };
672
+ };
673
+ }>;
674
+
675
+ declare const Checkbox: react.ForwardRefExoticComponent<{
676
+ variant?: CheckboxVariant;
677
+ size?: CheckboxSize;
678
+ radius?: RadiusKey;
679
+ color?: string;
680
+ isSelected?: boolean;
681
+ defaultSelected?: boolean;
682
+ onSelectedChange?: (isSelected: boolean) => void;
683
+ isIndeterminate?: boolean;
684
+ isInvalid?: boolean;
685
+ isDisabled?: boolean;
686
+ animation?: AnimationProp;
687
+ style?: react_native.StyleProp<react_native.ViewStyle> | ((state: react_native.PressableStateCallbackType) => react_native.StyleProp<react_native.ViewStyle>);
688
+ children?: react.ReactNode;
689
+ } & {
690
+ alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined | undefined;
691
+ alignItems?: react_native.FlexAlignType | undefined;
692
+ alignSelf?: "auto" | react_native.FlexAlignType | undefined;
693
+ aspectRatio?: number | string | undefined | undefined;
694
+ boxSizing?: "border-box" | "content-box" | undefined | undefined;
695
+ columnGap?: number | string | undefined | undefined;
696
+ direction?: "inherit" | "ltr" | "rtl" | undefined | undefined;
697
+ display?: "none" | "flex" | "contents" | undefined | undefined;
698
+ flex?: number | undefined | undefined;
699
+ flexBasis?: react_native.DimensionValue | undefined;
700
+ flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined | undefined;
701
+ flexGrow?: number | undefined | undefined;
702
+ flexShrink?: number | undefined | undefined;
703
+ flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined | undefined;
704
+ gap?: number | string | undefined | undefined;
705
+ justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined | undefined;
706
+ overflow?: "visible" | "hidden" | "scroll" | undefined | undefined;
707
+ rowGap?: number | string | undefined | undefined;
708
+ bottom?: react_native.DimensionValue | undefined;
709
+ end?: react_native.DimensionValue | undefined;
710
+ inset?: react_native.DimensionValue | undefined;
711
+ insetBlock?: react_native.DimensionValue | undefined;
712
+ insetBlockEnd?: react_native.DimensionValue | undefined;
713
+ insetBlockStart?: react_native.DimensionValue | undefined;
714
+ insetInline?: react_native.DimensionValue | undefined;
715
+ insetInlineEnd?: react_native.DimensionValue | undefined;
716
+ insetInlineStart?: react_native.DimensionValue | undefined;
717
+ position?: "absolute" | "relative" | "static" | undefined | undefined;
718
+ start?: react_native.DimensionValue | undefined;
719
+ top?: react_native.DimensionValue | undefined;
720
+ zIndex?: number | undefined | undefined;
721
+ margin?: react_native.DimensionValue | undefined;
722
+ marginBlock?: react_native.DimensionValue | undefined;
723
+ marginBlockEnd?: react_native.DimensionValue | undefined;
724
+ marginBlockStart?: react_native.DimensionValue | undefined;
725
+ marginBottom?: react_native.DimensionValue | undefined;
726
+ marginEnd?: react_native.DimensionValue | undefined;
727
+ marginHorizontal?: react_native.DimensionValue | undefined;
728
+ marginInline?: react_native.DimensionValue | undefined;
729
+ marginInlineEnd?: react_native.DimensionValue | undefined;
730
+ marginInlineStart?: react_native.DimensionValue | undefined;
731
+ marginStart?: react_native.DimensionValue | undefined;
732
+ marginTop?: react_native.DimensionValue | undefined;
733
+ marginVertical?: react_native.DimensionValue | undefined;
734
+ padding?: react_native.DimensionValue | undefined;
735
+ paddingBlock?: react_native.DimensionValue | undefined;
736
+ paddingBlockEnd?: react_native.DimensionValue | undefined;
737
+ paddingBlockStart?: react_native.DimensionValue | undefined;
738
+ paddingBottom?: react_native.DimensionValue | undefined;
739
+ paddingEnd?: react_native.DimensionValue | undefined;
740
+ paddingHorizontal?: react_native.DimensionValue | undefined;
741
+ paddingInline?: react_native.DimensionValue | undefined;
742
+ paddingInlineEnd?: react_native.DimensionValue | undefined;
743
+ paddingInlineStart?: react_native.DimensionValue | undefined;
744
+ paddingStart?: react_native.DimensionValue | undefined;
745
+ paddingTop?: react_native.DimensionValue | undefined;
746
+ paddingVertical?: react_native.DimensionValue | undefined;
747
+ height?: react_native.DimensionValue | undefined;
748
+ maxHeight?: react_native.DimensionValue | undefined;
749
+ maxWidth?: react_native.DimensionValue | undefined;
750
+ minHeight?: react_native.DimensionValue | undefined;
751
+ minWidth?: react_native.DimensionValue | undefined;
752
+ width?: react_native.DimensionValue | undefined;
753
+ borderBlockColor?: react_native.ColorValue | undefined;
754
+ borderBlockEndColor?: react_native.ColorValue | undefined;
755
+ borderBlockStartColor?: react_native.ColorValue | undefined;
756
+ borderBottomColor?: react_native.ColorValue | undefined;
757
+ borderBottomEndRadius?: string | react_native.AnimatableNumericValue | undefined;
758
+ borderBottomStartRadius?: string | react_native.AnimatableNumericValue | undefined;
759
+ borderBottomWidth?: number | undefined | undefined;
760
+ borderColor?: react_native.ColorValue | undefined;
761
+ borderCurve?: "circular" | "continuous" | undefined | undefined;
762
+ borderEndColor?: react_native.ColorValue | undefined;
763
+ borderEndEndRadius?: string | react_native.AnimatableNumericValue | undefined;
764
+ borderEndStartRadius?: string | react_native.AnimatableNumericValue | undefined;
765
+ borderEndWidth?: number | undefined | undefined;
766
+ borderRadius?: string | react_native.AnimatableNumericValue | undefined;
767
+ borderStartColor?: react_native.ColorValue | undefined;
768
+ borderStartEndRadius?: string | react_native.AnimatableNumericValue | undefined;
769
+ borderStartStartRadius?: string | react_native.AnimatableNumericValue | undefined;
770
+ borderStartWidth?: number | undefined | undefined;
771
+ borderStyle?: "solid" | "dotted" | "dashed" | undefined | undefined;
772
+ borderTopColor?: react_native.ColorValue | undefined;
773
+ borderTopEndRadius?: string | react_native.AnimatableNumericValue | undefined;
774
+ borderTopStartRadius?: string | react_native.AnimatableNumericValue | undefined;
775
+ borderTopWidth?: number | undefined | undefined;
776
+ borderWidth?: number | undefined | undefined;
777
+ backfaceVisibility?: "visible" | "hidden" | undefined | undefined;
778
+ backgroundColor?: react_native.ColorValue | undefined;
779
+ boxShadow?: string | readonly react_native.BoxShadowValue[] | undefined;
780
+ cursor?: react_native.CursorValue | undefined;
781
+ elevation?: number | undefined | undefined;
782
+ experimental_backgroundImage?: string | readonly react_native.GradientValue[] | undefined;
783
+ filter?: string | readonly react_native.FilterFunction[] | undefined;
784
+ isolation?: "auto" | "isolate" | undefined | undefined;
785
+ mixBlendMode?: react_native.BlendMode | undefined;
786
+ opacity?: react_native.AnimatableNumericValue | undefined;
787
+ outlineColor?: react_native.ColorValue | undefined;
788
+ outlineOffset?: react_native.AnimatableNumericValue | undefined;
789
+ outlineStyle?: "solid" | "dotted" | "dashed" | undefined | undefined;
790
+ outlineWidth?: react_native.AnimatableNumericValue | undefined;
791
+ shadowColor?: react_native.ColorValue | undefined;
792
+ shadowOffset?: Readonly<{
793
+ width: number;
794
+ height: number;
795
+ }> | undefined;
796
+ shadowOpacity?: react_native.AnimatableNumericValue | undefined;
797
+ shadowRadius?: number | undefined | undefined;
798
+ rotation?: react_native.AnimatableNumericValue | undefined;
799
+ scaleX?: react_native.AnimatableNumericValue | undefined;
800
+ scaleY?: react_native.AnimatableNumericValue | undefined;
801
+ transform?: string | readonly (({
802
+ scaleX: react_native.AnimatableNumericValue;
803
+ } & {
804
+ scaleY?: undefined;
805
+ translateX?: undefined;
806
+ translateY?: undefined;
807
+ scale?: undefined;
808
+ perspective?: undefined;
809
+ rotate?: undefined;
810
+ rotateX?: undefined;
811
+ rotateY?: undefined;
812
+ rotateZ?: undefined;
813
+ skewX?: undefined;
814
+ skewY?: undefined;
815
+ matrix?: undefined;
816
+ }) | ({
817
+ scaleY: react_native.AnimatableNumericValue;
818
+ } & {
819
+ scaleX?: undefined;
820
+ translateX?: undefined;
821
+ translateY?: undefined;
822
+ scale?: undefined;
823
+ perspective?: undefined;
824
+ rotate?: undefined;
825
+ rotateX?: undefined;
826
+ rotateY?: undefined;
827
+ rotateZ?: undefined;
828
+ skewX?: undefined;
829
+ skewY?: undefined;
830
+ matrix?: undefined;
831
+ }) | ({
832
+ translateX: react_native.AnimatableNumericValue | `${number}%`;
833
+ } & {
834
+ scaleX?: undefined;
835
+ scaleY?: undefined;
836
+ translateY?: undefined;
837
+ scale?: undefined;
838
+ perspective?: undefined;
839
+ rotate?: undefined;
840
+ rotateX?: undefined;
841
+ rotateY?: undefined;
842
+ rotateZ?: undefined;
843
+ skewX?: undefined;
844
+ skewY?: undefined;
845
+ matrix?: undefined;
846
+ }) | ({
847
+ translateY: react_native.AnimatableNumericValue | `${number}%`;
848
+ } & {
849
+ scaleX?: undefined;
850
+ scaleY?: undefined;
851
+ translateX?: undefined;
852
+ scale?: undefined;
853
+ perspective?: undefined;
854
+ rotate?: undefined;
855
+ rotateX?: undefined;
856
+ rotateY?: undefined;
857
+ rotateZ?: undefined;
858
+ skewX?: undefined;
859
+ skewY?: undefined;
860
+ matrix?: undefined;
861
+ }) | ({
862
+ scale: react_native.AnimatableNumericValue;
863
+ } & {
864
+ scaleX?: undefined;
865
+ scaleY?: undefined;
866
+ translateX?: undefined;
867
+ translateY?: undefined;
868
+ perspective?: undefined;
869
+ rotate?: undefined;
870
+ rotateX?: undefined;
871
+ rotateY?: undefined;
872
+ rotateZ?: undefined;
873
+ skewX?: undefined;
874
+ skewY?: undefined;
875
+ matrix?: undefined;
876
+ }) | ({
877
+ perspective: react_native.AnimatableNumericValue;
878
+ } & {
879
+ scaleX?: undefined;
880
+ scaleY?: undefined;
881
+ translateX?: undefined;
882
+ translateY?: undefined;
883
+ scale?: undefined;
884
+ rotate?: undefined;
885
+ rotateX?: undefined;
886
+ rotateY?: undefined;
887
+ rotateZ?: undefined;
888
+ skewX?: undefined;
889
+ skewY?: undefined;
890
+ matrix?: undefined;
891
+ }) | ({
892
+ rotate: react_native.AnimatableStringValue;
893
+ } & {
894
+ scaleX?: undefined;
895
+ scaleY?: undefined;
896
+ translateX?: undefined;
897
+ translateY?: undefined;
898
+ scale?: undefined;
899
+ perspective?: undefined;
900
+ rotateX?: undefined;
901
+ rotateY?: undefined;
902
+ rotateZ?: undefined;
903
+ skewX?: undefined;
904
+ skewY?: undefined;
905
+ matrix?: undefined;
906
+ }) | ({
907
+ rotateX: react_native.AnimatableStringValue;
908
+ } & {
909
+ scaleX?: undefined;
910
+ scaleY?: undefined;
911
+ translateX?: undefined;
912
+ translateY?: undefined;
913
+ scale?: undefined;
914
+ perspective?: undefined;
915
+ rotate?: undefined;
916
+ rotateY?: undefined;
917
+ rotateZ?: undefined;
918
+ skewX?: undefined;
919
+ skewY?: undefined;
920
+ matrix?: undefined;
921
+ }) | ({
922
+ rotateY: react_native.AnimatableStringValue;
923
+ } & {
924
+ scaleX?: undefined;
925
+ scaleY?: undefined;
926
+ translateX?: undefined;
927
+ translateY?: undefined;
928
+ scale?: undefined;
929
+ perspective?: undefined;
930
+ rotate?: undefined;
931
+ rotateX?: undefined;
932
+ rotateZ?: undefined;
933
+ skewX?: undefined;
934
+ skewY?: undefined;
935
+ matrix?: undefined;
936
+ }) | ({
937
+ rotateZ: react_native.AnimatableStringValue;
938
+ } & {
939
+ scaleX?: undefined;
940
+ scaleY?: undefined;
941
+ translateX?: undefined;
942
+ translateY?: undefined;
943
+ scale?: undefined;
944
+ perspective?: undefined;
945
+ rotate?: undefined;
946
+ rotateX?: undefined;
947
+ rotateY?: undefined;
948
+ skewX?: undefined;
949
+ skewY?: undefined;
950
+ matrix?: undefined;
951
+ }) | ({
952
+ skewX: react_native.AnimatableStringValue;
953
+ } & {
954
+ scaleX?: undefined;
955
+ scaleY?: undefined;
956
+ translateX?: undefined;
957
+ translateY?: undefined;
958
+ scale?: undefined;
959
+ perspective?: undefined;
960
+ rotate?: undefined;
961
+ rotateX?: undefined;
962
+ rotateY?: undefined;
963
+ rotateZ?: undefined;
964
+ skewY?: undefined;
965
+ matrix?: undefined;
966
+ }) | ({
967
+ skewY: react_native.AnimatableStringValue;
968
+ } & {
969
+ scaleX?: undefined;
970
+ scaleY?: undefined;
971
+ translateX?: undefined;
972
+ translateY?: undefined;
973
+ scale?: undefined;
974
+ perspective?: undefined;
975
+ rotate?: undefined;
976
+ rotateX?: undefined;
977
+ rotateY?: undefined;
978
+ rotateZ?: undefined;
979
+ skewX?: undefined;
980
+ matrix?: undefined;
981
+ }) | ({
982
+ matrix: react_native.AnimatableNumericValue[];
983
+ } & {
984
+ scaleX?: undefined;
985
+ scaleY?: undefined;
986
+ translateX?: undefined;
987
+ translateY?: undefined;
988
+ scale?: undefined;
989
+ perspective?: undefined;
990
+ rotate?: undefined;
991
+ rotateX?: undefined;
992
+ rotateY?: undefined;
993
+ rotateZ?: undefined;
994
+ skewX?: undefined;
995
+ skewY?: undefined;
996
+ }))[] | undefined;
997
+ transformMatrix?: number[] | undefined;
998
+ transformOrigin?: string | (string | number)[] | undefined;
999
+ translateX?: react_native.AnimatableNumericValue | undefined;
1000
+ translateY?: react_native.AnimatableNumericValue | undefined;
1001
+ pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined | undefined;
1002
+ hitSlop?: number | react_native.Insets | null | undefined;
1003
+ id?: string | undefined | undefined;
1004
+ needsOffscreenAlphaCompositing?: boolean | undefined | undefined;
1005
+ onLayout?: ((event: react_native.LayoutChangeEvent) => void) | undefined | undefined;
1006
+ removeClippedSubviews?: boolean | undefined | undefined;
1007
+ testID?: string | undefined | undefined;
1008
+ nativeID?: string | undefined | undefined;
1009
+ collapsable?: boolean | undefined | undefined;
1010
+ collapsableChildren?: boolean | undefined | undefined;
1011
+ onBlur?: null | ((event: react_native.NativeSyntheticEvent<react_native.TargetedEvent>) => void) | undefined | undefined;
1012
+ onFocus?: null | ((event: react_native.NativeSyntheticEvent<react_native.TargetedEvent>) => void) | undefined | undefined;
1013
+ renderToHardwareTextureAndroid?: boolean | undefined | undefined;
1014
+ focusable?: boolean | undefined | undefined;
1015
+ tabIndex?: 0 | -1 | undefined | undefined;
1016
+ shouldRasterizeIOS?: boolean | undefined | undefined;
1017
+ isTVSelectable?: boolean | undefined | undefined;
1018
+ hasTVPreferredFocus?: boolean | undefined | undefined;
1019
+ tvParallaxShiftDistanceX?: number | undefined | undefined;
1020
+ tvParallaxShiftDistanceY?: number | undefined | undefined;
1021
+ tvParallaxTiltAngle?: number | undefined | undefined;
1022
+ tvParallaxMagnification?: number | undefined | undefined;
1023
+ onStartShouldSetResponder?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
1024
+ onMoveShouldSetResponder?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
1025
+ onResponderEnd?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
1026
+ onResponderGrant?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
1027
+ onResponderReject?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
1028
+ onResponderMove?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
1029
+ onResponderRelease?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
1030
+ onResponderStart?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
1031
+ onResponderTerminationRequest?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
1032
+ onResponderTerminate?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
1033
+ onStartShouldSetResponderCapture?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
1034
+ onMoveShouldSetResponderCapture?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
1035
+ onTouchStart?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
1036
+ onTouchMove?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
1037
+ onTouchEnd?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
1038
+ onTouchCancel?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
1039
+ onTouchEndCapture?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
1040
+ onPointerEnter?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
1041
+ onPointerEnterCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
1042
+ onPointerLeave?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
1043
+ onPointerLeaveCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
1044
+ onPointerMove?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
1045
+ onPointerMoveCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
1046
+ onPointerCancel?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
1047
+ onPointerCancelCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
1048
+ onPointerDown?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
1049
+ onPointerDownCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
1050
+ onPointerUp?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
1051
+ onPointerUpCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
1052
+ accessible?: boolean | undefined | undefined;
1053
+ accessibilityActions?: readonly Readonly<{
1054
+ name: react_native.AccessibilityActionName | string;
1055
+ label?: string | undefined;
1056
+ }>[] | undefined;
1057
+ accessibilityLabel?: string | undefined | undefined;
1058
+ 'aria-label'?: string | undefined | undefined;
1059
+ accessibilityRole?: react_native.AccessibilityRole | undefined;
1060
+ accessibilityState?: react_native.AccessibilityState | undefined;
1061
+ 'aria-busy'?: boolean | undefined | undefined;
1062
+ 'aria-checked'?: boolean | "mixed" | undefined | undefined;
1063
+ 'aria-disabled'?: boolean | undefined | undefined;
1064
+ 'aria-expanded'?: boolean | undefined | undefined;
1065
+ 'aria-selected'?: boolean | undefined | undefined;
1066
+ accessibilityHint?: string | undefined | undefined;
1067
+ accessibilityValue?: react_native.AccessibilityValue | undefined;
1068
+ 'aria-valuemax'?: number | undefined;
1069
+ 'aria-valuemin'?: number | undefined;
1070
+ 'aria-valuenow'?: number | undefined;
1071
+ 'aria-valuetext'?: string | undefined;
1072
+ onAccessibilityAction?: ((event: react_native.AccessibilityActionEvent) => void) | undefined | undefined;
1073
+ importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined | undefined;
1074
+ 'aria-hidden'?: boolean | undefined | undefined;
1075
+ 'aria-modal'?: boolean | undefined | undefined;
1076
+ role?: react_native.Role | undefined;
1077
+ accessibilityLabelledBy?: string | string[] | undefined | undefined;
1078
+ 'aria-labelledby'?: string | undefined | undefined;
1079
+ accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined | undefined;
1080
+ 'aria-live'?: ("polite" | "assertive" | "off") | undefined | undefined;
1081
+ screenReaderFocusable?: boolean | undefined | undefined;
1082
+ accessibilityElementsHidden?: boolean | undefined | undefined;
1083
+ accessibilityViewIsModal?: boolean | undefined | undefined;
1084
+ onAccessibilityEscape?: (() => void) | undefined | undefined;
1085
+ onAccessibilityTap?: (() => void) | undefined | undefined;
1086
+ onMagicTap?: (() => void) | undefined | undefined;
1087
+ accessibilityIgnoresInvertColors?: boolean | undefined | undefined;
1088
+ accessibilityLanguage?: string | undefined | undefined;
1089
+ accessibilityShowsLargeContentViewer?: boolean | undefined | undefined;
1090
+ accessibilityLargeContentTitle?: string | undefined | undefined;
1091
+ accessibilityRespondsToUserInteraction?: boolean | undefined | undefined;
1092
+ onHoverIn?: null | ((event: react_native.MouseEvent) => void) | undefined | undefined;
1093
+ onHoverOut?: null | ((event: react_native.MouseEvent) => void) | undefined | undefined;
1094
+ onPress?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
1095
+ onPressIn?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
1096
+ onPressOut?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
1097
+ onLongPress?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
1098
+ cancelable?: null | boolean | undefined | undefined;
1099
+ delayHoverIn?: number | null | undefined | undefined;
1100
+ delayHoverOut?: number | null | undefined | undefined;
1101
+ delayLongPress?: null | number | undefined | undefined;
1102
+ pressRetentionOffset?: number | react_native.Insets | null | undefined;
1103
+ android_disableSound?: null | boolean | undefined | undefined;
1104
+ android_ripple?: react_native.PressableAndroidRippleConfig | null | undefined;
1105
+ testOnly_pressed?: null | boolean | undefined | undefined;
1106
+ unstable_pressDelay?: number | undefined | undefined;
1107
+ asChild?: boolean | undefined;
1108
+ } & Omit<ViewStyleProps, keyof {
1109
+ variant?: CheckboxVariant;
1110
+ size?: CheckboxSize;
1111
+ radius?: RadiusKey;
1112
+ color?: string;
1113
+ isSelected?: boolean;
1114
+ defaultSelected?: boolean;
1115
+ onSelectedChange?: (isSelected: boolean) => void;
1116
+ isIndeterminate?: boolean;
1117
+ isInvalid?: boolean;
1118
+ isDisabled?: boolean;
1119
+ animation?: AnimationProp;
1120
+ style?: react_native.StyleProp<react_native.ViewStyle> | ((state: react_native.PressableStateCallbackType) => react_native.StyleProp<react_native.ViewStyle>);
1121
+ children?: react.ReactNode;
1122
+ }> & react.RefAttributes<react_native.View>> & {
1123
+ Indicator: react.ForwardRefExoticComponent<{
1124
+ children?: react.ReactNode;
1125
+ animation?: boolean;
1126
+ style?: react_native.StyleProp<react_native.ViewStyle>;
1127
+ } & Omit<react_native.ViewProps, keyof {
1128
+ children?: react.ReactNode;
1129
+ animation?: boolean;
1130
+ style?: react_native.StyleProp<react_native.ViewStyle>;
1131
+ }> & 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" | "animation"> & react.RefAttributes<react_native.View>>;
1132
+ Label: react.ForwardRefExoticComponent<react_native.TextProps & Omit<TextStyleProps, keyof react_native.TextProps> & {
1133
+ children?: react.ReactNode;
1134
+ } & react.RefAttributes<react_native.Text>>;
1135
+ };
1136
+
1137
+ export { Checkbox, type CheckboxContextValue, CheckboxIndicator, type CheckboxIndicatorProps, CheckboxLabel, type CheckboxLabelProps, type CheckboxProps, CheckboxRoot, type CheckboxSize, type CheckboxSlot, type CheckboxVariant, checkboxRecipe, useCheckbox };