@xaui/native 0.9.1-alpha.13 → 0.9.1-alpha.15
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-B3EAZ2CC.js → chunk-64L44HEI.js} +155 -144
- package/dist/{chunk-2FOEFUPM.cjs → chunk-BAACHVM4.cjs} +8 -3
- package/dist/{chunk-RWLODK55.js → chunk-E3756MJC.js} +15 -15
- package/dist/{chunk-MLJ543GP.cjs → chunk-NLFE3CRM.cjs} +23 -23
- package/dist/{chunk-IVVFYUDW.cjs → chunk-PUER6Y4M.cjs} +134 -122
- package/dist/{chunk-TO6DAGFB.js → chunk-UOJBK5Z4.js} +7 -2
- package/dist/components/button/index.cjs +3 -3
- package/dist/components/button/index.d.cts +322 -7
- package/dist/components/button/index.d.ts +322 -7
- package/dist/components/button/index.js +2 -2
- package/dist/{create-recipe-oiLAlJ4u.d.cts → create-recipe-BcUu9b2I.d.cts} +41 -31
- package/dist/{create-recipe-3OPwcC6P.d.ts → create-recipe-DD9W6m9b.d.ts} +41 -31
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/system/index.cjs +3 -3
- package/dist/system/index.d.cts +174 -173
- package/dist/system/index.d.ts +174 -173
- package/dist/system/index.js +2 -2
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import * as react from 'react';
|
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import * as react_native from 'react-native';
|
|
4
4
|
import { StyleProp, TextStyle, ViewStyle, TextProps, PressableStateCallbackType } from 'react-native';
|
|
5
|
-
import { a as IconContextValue, b as IconProps, w as TextStyleProps, P as PressableFeedbackProps, x as ViewStyleProps, g as Recipe, o as SlotStyles, c as AnimationProp } from '../../create-recipe-
|
|
5
|
+
import { a as IconContextValue, b as IconProps, w as TextStyleProps, P as PressableFeedbackProps, x as ViewStyleProps, g as Recipe, o as SlotStyles, c as AnimationProp } from '../../create-recipe-DD9W6m9b.js';
|
|
6
6
|
import { S as Size, R as RadiusKey, g as XAUITheme } from '../../theme.type-C9bFJKFm.js';
|
|
7
7
|
import 'react-native-reanimated';
|
|
8
8
|
|
|
@@ -55,11 +55,15 @@ type ButtonOwnProps = {
|
|
|
55
55
|
type ButtonBehaviourProps = Omit<PressableFeedbackProps, 'isPressed' | 'isDisabled' | 'style' | 'children'>;
|
|
56
56
|
/**
|
|
57
57
|
* R14 — the button's own props, the press behaviour it forwards, and every `ViewStyle`
|
|
58
|
-
* key
|
|
59
|
-
* `width="100%"` is what replaced `fullWidth`, both because the style
|
|
60
|
-
* the recipe. That is the escape hatch, not the normal path.
|
|
58
|
+
* key its own vocabulary does not already claim. `height` therefore beats the height
|
|
59
|
+
* `size` chose and `width="100%"` is what replaced `fullWidth`, both because the style
|
|
60
|
+
* props resolve after the recipe. That is the escape hatch, not the normal path.
|
|
61
|
+
*
|
|
62
|
+
* `PressableFeedback` carries the same keys, so the third term is redundant today. It
|
|
63
|
+
* stays because it is the `Button` that owes them: a root states the rule for its own
|
|
64
|
+
* node rather than inheriting it from whatever it happens to render.
|
|
61
65
|
*/
|
|
62
|
-
type ButtonProps = ButtonOwnProps & ButtonBehaviourProps & Omit<ViewStyleProps, keyof ButtonOwnProps
|
|
66
|
+
type ButtonProps = ButtonOwnProps & ButtonBehaviourProps & Omit<ViewStyleProps, keyof ButtonOwnProps>;
|
|
63
67
|
/** `Text`'s own props win over the `TextStyle` keys of the same name (R14). */
|
|
64
68
|
type ButtonLabelProps = TextProps & Omit<TextStyleProps, keyof TextProps> & {
|
|
65
69
|
children?: ReactNode;
|
|
@@ -212,6 +216,318 @@ declare const Button: react.ForwardRefExoticComponent<{
|
|
|
212
216
|
style?: react_native.StyleProp<react_native.ViewStyle> | ((state: react_native.PressableStateCallbackType) => react_native.StyleProp<react_native.ViewStyle>);
|
|
213
217
|
children?: react.ReactNode;
|
|
214
218
|
} & {
|
|
219
|
+
borderWidth?: number | undefined | undefined;
|
|
220
|
+
opacity?: react_native.AnimatableNumericValue | undefined;
|
|
221
|
+
filter?: string | readonly react_native.FilterFunction[] | undefined;
|
|
222
|
+
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined | undefined;
|
|
223
|
+
alignItems?: react_native.FlexAlignType | undefined;
|
|
224
|
+
alignSelf?: "auto" | react_native.FlexAlignType | undefined;
|
|
225
|
+
aspectRatio?: number | string | undefined | undefined;
|
|
226
|
+
boxSizing?: "border-box" | "content-box" | undefined | undefined;
|
|
227
|
+
columnGap?: number | string | undefined | undefined;
|
|
228
|
+
direction?: "inherit" | "ltr" | "rtl" | undefined | undefined;
|
|
229
|
+
display?: "none" | "flex" | "contents" | undefined | undefined;
|
|
230
|
+
flex?: number | undefined | undefined;
|
|
231
|
+
flexBasis?: react_native.DimensionValue | undefined;
|
|
232
|
+
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined | undefined;
|
|
233
|
+
flexGrow?: number | undefined | undefined;
|
|
234
|
+
flexShrink?: number | undefined | undefined;
|
|
235
|
+
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined | undefined;
|
|
236
|
+
gap?: number | string | undefined | undefined;
|
|
237
|
+
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined | undefined;
|
|
238
|
+
overflow?: "visible" | "hidden" | "scroll" | undefined | undefined;
|
|
239
|
+
rowGap?: number | string | undefined | undefined;
|
|
240
|
+
bottom?: react_native.DimensionValue | undefined;
|
|
241
|
+
end?: react_native.DimensionValue | undefined;
|
|
242
|
+
inset?: react_native.DimensionValue | undefined;
|
|
243
|
+
insetBlock?: react_native.DimensionValue | undefined;
|
|
244
|
+
insetBlockEnd?: react_native.DimensionValue | undefined;
|
|
245
|
+
insetBlockStart?: react_native.DimensionValue | undefined;
|
|
246
|
+
insetInline?: react_native.DimensionValue | undefined;
|
|
247
|
+
insetInlineEnd?: react_native.DimensionValue | undefined;
|
|
248
|
+
insetInlineStart?: react_native.DimensionValue | undefined;
|
|
249
|
+
position?: "absolute" | "relative" | "static" | undefined | undefined;
|
|
250
|
+
start?: react_native.DimensionValue | undefined;
|
|
251
|
+
top?: react_native.DimensionValue | undefined;
|
|
252
|
+
zIndex?: number | undefined | undefined;
|
|
253
|
+
margin?: react_native.DimensionValue | undefined;
|
|
254
|
+
marginBlock?: react_native.DimensionValue | undefined;
|
|
255
|
+
marginBlockEnd?: react_native.DimensionValue | undefined;
|
|
256
|
+
marginBlockStart?: react_native.DimensionValue | undefined;
|
|
257
|
+
marginBottom?: react_native.DimensionValue | undefined;
|
|
258
|
+
marginEnd?: react_native.DimensionValue | undefined;
|
|
259
|
+
marginHorizontal?: react_native.DimensionValue | undefined;
|
|
260
|
+
marginInline?: react_native.DimensionValue | undefined;
|
|
261
|
+
marginInlineEnd?: react_native.DimensionValue | undefined;
|
|
262
|
+
marginInlineStart?: react_native.DimensionValue | undefined;
|
|
263
|
+
marginStart?: react_native.DimensionValue | undefined;
|
|
264
|
+
marginTop?: react_native.DimensionValue | undefined;
|
|
265
|
+
marginVertical?: react_native.DimensionValue | undefined;
|
|
266
|
+
padding?: react_native.DimensionValue | undefined;
|
|
267
|
+
paddingBlock?: react_native.DimensionValue | undefined;
|
|
268
|
+
paddingBlockEnd?: react_native.DimensionValue | undefined;
|
|
269
|
+
paddingBlockStart?: react_native.DimensionValue | undefined;
|
|
270
|
+
paddingBottom?: react_native.DimensionValue | undefined;
|
|
271
|
+
paddingEnd?: react_native.DimensionValue | undefined;
|
|
272
|
+
paddingHorizontal?: react_native.DimensionValue | undefined;
|
|
273
|
+
paddingInline?: react_native.DimensionValue | undefined;
|
|
274
|
+
paddingInlineEnd?: react_native.DimensionValue | undefined;
|
|
275
|
+
paddingInlineStart?: react_native.DimensionValue | undefined;
|
|
276
|
+
paddingStart?: react_native.DimensionValue | undefined;
|
|
277
|
+
paddingTop?: react_native.DimensionValue | undefined;
|
|
278
|
+
paddingVertical?: react_native.DimensionValue | undefined;
|
|
279
|
+
height?: react_native.DimensionValue | undefined;
|
|
280
|
+
maxHeight?: react_native.DimensionValue | undefined;
|
|
281
|
+
maxWidth?: react_native.DimensionValue | undefined;
|
|
282
|
+
minHeight?: react_native.DimensionValue | undefined;
|
|
283
|
+
minWidth?: react_native.DimensionValue | undefined;
|
|
284
|
+
width?: react_native.DimensionValue | undefined;
|
|
285
|
+
borderBlockColor?: react_native.ColorValue | undefined;
|
|
286
|
+
borderBlockEndColor?: react_native.ColorValue | undefined;
|
|
287
|
+
borderBlockStartColor?: react_native.ColorValue | undefined;
|
|
288
|
+
borderBottomColor?: react_native.ColorValue | undefined;
|
|
289
|
+
borderBottomEndRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
290
|
+
borderBottomStartRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
291
|
+
borderBottomWidth?: number | undefined | undefined;
|
|
292
|
+
borderColor?: react_native.ColorValue | undefined;
|
|
293
|
+
borderCurve?: "circular" | "continuous" | undefined | undefined;
|
|
294
|
+
borderEndColor?: react_native.ColorValue | undefined;
|
|
295
|
+
borderEndEndRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
296
|
+
borderEndStartRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
297
|
+
borderEndWidth?: number | undefined | undefined;
|
|
298
|
+
borderRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
299
|
+
borderStartColor?: react_native.ColorValue | undefined;
|
|
300
|
+
borderStartEndRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
301
|
+
borderStartStartRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
302
|
+
borderStartWidth?: number | undefined | undefined;
|
|
303
|
+
borderStyle?: "solid" | "dotted" | "dashed" | undefined | undefined;
|
|
304
|
+
borderTopColor?: react_native.ColorValue | undefined;
|
|
305
|
+
borderTopEndRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
306
|
+
borderTopStartRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
307
|
+
borderTopWidth?: number | undefined | undefined;
|
|
308
|
+
backfaceVisibility?: "visible" | "hidden" | undefined | undefined;
|
|
309
|
+
backgroundColor?: react_native.ColorValue | undefined;
|
|
310
|
+
boxShadow?: string | readonly react_native.BoxShadowValue[] | undefined;
|
|
311
|
+
cursor?: react_native.CursorValue | undefined;
|
|
312
|
+
elevation?: number | undefined | undefined;
|
|
313
|
+
experimental_backgroundImage?: string | readonly react_native.GradientValue[] | undefined;
|
|
314
|
+
isolation?: "auto" | "isolate" | undefined | undefined;
|
|
315
|
+
mixBlendMode?: react_native.BlendMode | undefined;
|
|
316
|
+
outlineColor?: react_native.ColorValue | undefined;
|
|
317
|
+
outlineOffset?: react_native.AnimatableNumericValue | undefined;
|
|
318
|
+
outlineStyle?: "solid" | "dotted" | "dashed" | undefined | undefined;
|
|
319
|
+
outlineWidth?: react_native.AnimatableNumericValue | undefined;
|
|
320
|
+
shadowColor?: react_native.ColorValue | undefined;
|
|
321
|
+
shadowOffset?: Readonly<{
|
|
322
|
+
width: number;
|
|
323
|
+
height: number;
|
|
324
|
+
}> | undefined;
|
|
325
|
+
shadowOpacity?: react_native.AnimatableNumericValue | undefined;
|
|
326
|
+
shadowRadius?: number | undefined | undefined;
|
|
327
|
+
rotation?: react_native.AnimatableNumericValue | undefined;
|
|
328
|
+
scaleX?: react_native.AnimatableNumericValue | undefined;
|
|
329
|
+
scaleY?: react_native.AnimatableNumericValue | undefined;
|
|
330
|
+
transform?: string | readonly (({
|
|
331
|
+
scaleX: react_native.AnimatableNumericValue;
|
|
332
|
+
} & {
|
|
333
|
+
scaleY?: undefined;
|
|
334
|
+
translateX?: undefined;
|
|
335
|
+
translateY?: undefined;
|
|
336
|
+
perspective?: undefined;
|
|
337
|
+
rotate?: undefined;
|
|
338
|
+
rotateX?: undefined;
|
|
339
|
+
rotateY?: undefined;
|
|
340
|
+
rotateZ?: undefined;
|
|
341
|
+
scale?: undefined;
|
|
342
|
+
skewX?: undefined;
|
|
343
|
+
skewY?: undefined;
|
|
344
|
+
matrix?: undefined;
|
|
345
|
+
}) | ({
|
|
346
|
+
scaleY: react_native.AnimatableNumericValue;
|
|
347
|
+
} & {
|
|
348
|
+
scaleX?: undefined;
|
|
349
|
+
translateX?: undefined;
|
|
350
|
+
translateY?: undefined;
|
|
351
|
+
perspective?: undefined;
|
|
352
|
+
rotate?: undefined;
|
|
353
|
+
rotateX?: undefined;
|
|
354
|
+
rotateY?: undefined;
|
|
355
|
+
rotateZ?: undefined;
|
|
356
|
+
scale?: undefined;
|
|
357
|
+
skewX?: undefined;
|
|
358
|
+
skewY?: undefined;
|
|
359
|
+
matrix?: undefined;
|
|
360
|
+
}) | ({
|
|
361
|
+
translateX: react_native.AnimatableNumericValue | `${number}%`;
|
|
362
|
+
} & {
|
|
363
|
+
scaleX?: undefined;
|
|
364
|
+
scaleY?: undefined;
|
|
365
|
+
translateY?: undefined;
|
|
366
|
+
perspective?: undefined;
|
|
367
|
+
rotate?: undefined;
|
|
368
|
+
rotateX?: undefined;
|
|
369
|
+
rotateY?: undefined;
|
|
370
|
+
rotateZ?: undefined;
|
|
371
|
+
scale?: undefined;
|
|
372
|
+
skewX?: undefined;
|
|
373
|
+
skewY?: undefined;
|
|
374
|
+
matrix?: undefined;
|
|
375
|
+
}) | ({
|
|
376
|
+
translateY: react_native.AnimatableNumericValue | `${number}%`;
|
|
377
|
+
} & {
|
|
378
|
+
scaleX?: undefined;
|
|
379
|
+
scaleY?: undefined;
|
|
380
|
+
translateX?: undefined;
|
|
381
|
+
perspective?: undefined;
|
|
382
|
+
rotate?: undefined;
|
|
383
|
+
rotateX?: undefined;
|
|
384
|
+
rotateY?: undefined;
|
|
385
|
+
rotateZ?: undefined;
|
|
386
|
+
scale?: undefined;
|
|
387
|
+
skewX?: undefined;
|
|
388
|
+
skewY?: undefined;
|
|
389
|
+
matrix?: undefined;
|
|
390
|
+
}) | ({
|
|
391
|
+
perspective: react_native.AnimatableNumericValue;
|
|
392
|
+
} & {
|
|
393
|
+
scaleX?: undefined;
|
|
394
|
+
scaleY?: undefined;
|
|
395
|
+
translateX?: undefined;
|
|
396
|
+
translateY?: undefined;
|
|
397
|
+
rotate?: undefined;
|
|
398
|
+
rotateX?: undefined;
|
|
399
|
+
rotateY?: undefined;
|
|
400
|
+
rotateZ?: undefined;
|
|
401
|
+
scale?: undefined;
|
|
402
|
+
skewX?: undefined;
|
|
403
|
+
skewY?: undefined;
|
|
404
|
+
matrix?: undefined;
|
|
405
|
+
}) | ({
|
|
406
|
+
rotate: react_native.AnimatableStringValue;
|
|
407
|
+
} & {
|
|
408
|
+
scaleX?: undefined;
|
|
409
|
+
scaleY?: undefined;
|
|
410
|
+
translateX?: undefined;
|
|
411
|
+
translateY?: undefined;
|
|
412
|
+
perspective?: undefined;
|
|
413
|
+
rotateX?: undefined;
|
|
414
|
+
rotateY?: undefined;
|
|
415
|
+
rotateZ?: undefined;
|
|
416
|
+
scale?: undefined;
|
|
417
|
+
skewX?: undefined;
|
|
418
|
+
skewY?: undefined;
|
|
419
|
+
matrix?: undefined;
|
|
420
|
+
}) | ({
|
|
421
|
+
rotateX: react_native.AnimatableStringValue;
|
|
422
|
+
} & {
|
|
423
|
+
scaleX?: undefined;
|
|
424
|
+
scaleY?: undefined;
|
|
425
|
+
translateX?: undefined;
|
|
426
|
+
translateY?: undefined;
|
|
427
|
+
perspective?: undefined;
|
|
428
|
+
rotate?: undefined;
|
|
429
|
+
rotateY?: undefined;
|
|
430
|
+
rotateZ?: undefined;
|
|
431
|
+
scale?: undefined;
|
|
432
|
+
skewX?: undefined;
|
|
433
|
+
skewY?: undefined;
|
|
434
|
+
matrix?: undefined;
|
|
435
|
+
}) | ({
|
|
436
|
+
rotateY: react_native.AnimatableStringValue;
|
|
437
|
+
} & {
|
|
438
|
+
scaleX?: undefined;
|
|
439
|
+
scaleY?: undefined;
|
|
440
|
+
translateX?: undefined;
|
|
441
|
+
translateY?: undefined;
|
|
442
|
+
perspective?: undefined;
|
|
443
|
+
rotate?: undefined;
|
|
444
|
+
rotateX?: undefined;
|
|
445
|
+
rotateZ?: undefined;
|
|
446
|
+
scale?: undefined;
|
|
447
|
+
skewX?: undefined;
|
|
448
|
+
skewY?: undefined;
|
|
449
|
+
matrix?: undefined;
|
|
450
|
+
}) | ({
|
|
451
|
+
rotateZ: react_native.AnimatableStringValue;
|
|
452
|
+
} & {
|
|
453
|
+
scaleX?: undefined;
|
|
454
|
+
scaleY?: undefined;
|
|
455
|
+
translateX?: undefined;
|
|
456
|
+
translateY?: undefined;
|
|
457
|
+
perspective?: undefined;
|
|
458
|
+
rotate?: undefined;
|
|
459
|
+
rotateX?: undefined;
|
|
460
|
+
rotateY?: undefined;
|
|
461
|
+
scale?: undefined;
|
|
462
|
+
skewX?: undefined;
|
|
463
|
+
skewY?: undefined;
|
|
464
|
+
matrix?: undefined;
|
|
465
|
+
}) | ({
|
|
466
|
+
scale: react_native.AnimatableNumericValue;
|
|
467
|
+
} & {
|
|
468
|
+
scaleX?: undefined;
|
|
469
|
+
scaleY?: undefined;
|
|
470
|
+
translateX?: undefined;
|
|
471
|
+
translateY?: undefined;
|
|
472
|
+
perspective?: undefined;
|
|
473
|
+
rotate?: undefined;
|
|
474
|
+
rotateX?: undefined;
|
|
475
|
+
rotateY?: undefined;
|
|
476
|
+
rotateZ?: undefined;
|
|
477
|
+
skewX?: undefined;
|
|
478
|
+
skewY?: undefined;
|
|
479
|
+
matrix?: undefined;
|
|
480
|
+
}) | ({
|
|
481
|
+
skewX: react_native.AnimatableStringValue;
|
|
482
|
+
} & {
|
|
483
|
+
scaleX?: undefined;
|
|
484
|
+
scaleY?: undefined;
|
|
485
|
+
translateX?: undefined;
|
|
486
|
+
translateY?: undefined;
|
|
487
|
+
perspective?: undefined;
|
|
488
|
+
rotate?: undefined;
|
|
489
|
+
rotateX?: undefined;
|
|
490
|
+
rotateY?: undefined;
|
|
491
|
+
rotateZ?: undefined;
|
|
492
|
+
scale?: undefined;
|
|
493
|
+
skewY?: undefined;
|
|
494
|
+
matrix?: undefined;
|
|
495
|
+
}) | ({
|
|
496
|
+
skewY: react_native.AnimatableStringValue;
|
|
497
|
+
} & {
|
|
498
|
+
scaleX?: undefined;
|
|
499
|
+
scaleY?: undefined;
|
|
500
|
+
translateX?: undefined;
|
|
501
|
+
translateY?: undefined;
|
|
502
|
+
perspective?: undefined;
|
|
503
|
+
rotate?: undefined;
|
|
504
|
+
rotateX?: undefined;
|
|
505
|
+
rotateY?: undefined;
|
|
506
|
+
rotateZ?: undefined;
|
|
507
|
+
scale?: undefined;
|
|
508
|
+
skewX?: undefined;
|
|
509
|
+
matrix?: undefined;
|
|
510
|
+
}) | ({
|
|
511
|
+
matrix: react_native.AnimatableNumericValue[];
|
|
512
|
+
} & {
|
|
513
|
+
scaleX?: undefined;
|
|
514
|
+
scaleY?: undefined;
|
|
515
|
+
translateX?: undefined;
|
|
516
|
+
translateY?: undefined;
|
|
517
|
+
perspective?: undefined;
|
|
518
|
+
rotate?: undefined;
|
|
519
|
+
rotateX?: undefined;
|
|
520
|
+
rotateY?: undefined;
|
|
521
|
+
rotateZ?: undefined;
|
|
522
|
+
scale?: undefined;
|
|
523
|
+
skewX?: undefined;
|
|
524
|
+
skewY?: undefined;
|
|
525
|
+
}))[] | undefined;
|
|
526
|
+
transformMatrix?: number[] | undefined;
|
|
527
|
+
transformOrigin?: string | (string | number)[] | undefined;
|
|
528
|
+
translateX?: react_native.AnimatableNumericValue | undefined;
|
|
529
|
+
translateY?: react_native.AnimatableNumericValue | undefined;
|
|
530
|
+
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined | undefined;
|
|
215
531
|
id?: string | undefined | undefined;
|
|
216
532
|
onLayout?: ((event: react_native.LayoutChangeEvent) => void) | undefined | undefined;
|
|
217
533
|
testID?: string | undefined | undefined;
|
|
@@ -258,7 +574,6 @@ declare const Button: react.ForwardRefExoticComponent<{
|
|
|
258
574
|
accessibilityRespondsToUserInteraction?: boolean | undefined | undefined;
|
|
259
575
|
hitSlop?: number | react_native.Insets | null | undefined;
|
|
260
576
|
needsOffscreenAlphaCompositing?: boolean | undefined | undefined;
|
|
261
|
-
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined | undefined;
|
|
262
577
|
removeClippedSubviews?: boolean | undefined | undefined;
|
|
263
578
|
collapsable?: boolean | undefined | undefined;
|
|
264
579
|
collapsableChildren?: boolean | undefined | undefined;
|
|
@@ -320,7 +635,7 @@ declare const Button: react.ForwardRefExoticComponent<{
|
|
|
320
635
|
unstable_pressDelay?: number | undefined | undefined;
|
|
321
636
|
asChild?: boolean | undefined;
|
|
322
637
|
animation?: AnimationProp | undefined;
|
|
323
|
-
} & Omit<ViewStyleProps,
|
|
638
|
+
} & Omit<ViewStyleProps, keyof {
|
|
324
639
|
variant?: ButtonVariant;
|
|
325
640
|
size?: ButtonSize;
|
|
326
641
|
radius?: RadiusKey;
|
|
@@ -1,8 +1,36 @@
|
|
|
1
1
|
import { ComponentType, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ImageStyle, TextStyle, ViewStyle, ImageSourcePropType, StyleProp, PressableProps } from 'react-native';
|
|
3
3
|
import { SharedValue } from 'react-native-reanimated';
|
|
4
4
|
import { g as XAUITheme, X as XAUIColors } from './theme.type-C9bFJKFm.cjs';
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* R13 — React Native mirrors a layout under RTL through the Start/End properties and only
|
|
8
|
+
* those. A props API is exactly where someone writes `paddingLeft` without thinking, so
|
|
9
|
+
* the type removes the temptation instead of leaving it to a review.
|
|
10
|
+
*/
|
|
11
|
+
type DirectionalStyleKey = 'left' | 'right' | 'paddingLeft' | 'paddingRight' | 'marginLeft' | 'marginRight' | 'borderLeftWidth' | 'borderRightWidth' | 'borderLeftColor' | 'borderRightColor' | 'borderTopLeftRadius' | 'borderTopRightRadius' | 'borderBottomLeftRadius' | 'borderBottomRightRadius';
|
|
12
|
+
/**
|
|
13
|
+
* `pointerEvents` is a style key *and* a `View` prop. R14 says the component's own prop
|
|
14
|
+
* wins, so it stays the prop it has always been and is not exposed twice — the one name
|
|
15
|
+
* where the two vocabularies collide.
|
|
16
|
+
*/
|
|
17
|
+
type ComponentOwnedStyleKey = 'pointerEvents';
|
|
18
|
+
/**
|
|
19
|
+
* The style keys of a node, exposed as props (R14). Not a maintained list: it derives
|
|
20
|
+
* from the React Native type, minus what R13 forbids.
|
|
21
|
+
*
|
|
22
|
+
* ```ts
|
|
23
|
+
* type CardProps = ViewStyleProps & { variant?: CardVariant }
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
type StyleProps<Style> = Omit<Style, DirectionalStyleKey | ComponentOwnedStyleKey>;
|
|
27
|
+
/** A root, or any slot that renders a view. */
|
|
28
|
+
type ViewStyleProps = StyleProps<ViewStyle>;
|
|
29
|
+
/** A text slot — `color`, `fontSize`, `letterSpacing`… */
|
|
30
|
+
type TextStyleProps = StyleProps<TextStyle>;
|
|
31
|
+
/** An image slot — `resizeMode`, `tintColor`… */
|
|
32
|
+
type ImageStyleProps = StyleProps<ImageStyle>;
|
|
33
|
+
|
|
6
34
|
/**
|
|
7
35
|
* The props Lucide, Ionicons and `react-native-vector-icons` all accept — the shape
|
|
8
36
|
* `as` is handed. It is a convention rather than an interface anyone published, which is
|
|
@@ -12,7 +40,12 @@ type IconComponentProps = {
|
|
|
12
40
|
size?: number;
|
|
13
41
|
color?: string;
|
|
14
42
|
};
|
|
15
|
-
|
|
43
|
+
/**
|
|
44
|
+
* R14 reaches the **`source` form only**, exactly like `style` below and for the same
|
|
45
|
+
* reason: it is the one of the three forms where we render the node. On the other two,
|
|
46
|
+
* `size` and `color` are what shapes the icon.
|
|
47
|
+
*/
|
|
48
|
+
type IconProps = ImageStyleProps & {
|
|
16
49
|
/** An icon component. `size` and `color` are injected into it. */
|
|
17
50
|
as?: ComponentType<IconComponentProps>;
|
|
18
51
|
/** A raw `react-native-svg` element, cloned with the resolved size and colour. */
|
|
@@ -59,7 +92,12 @@ type ResolvedAnimation = {
|
|
|
59
92
|
/** Propagated to descendants through context. */
|
|
60
93
|
disableAll: boolean;
|
|
61
94
|
};
|
|
62
|
-
|
|
95
|
+
/**
|
|
96
|
+
* R14 — it renders a `Pressable`, so it takes that node's style keys as props. The
|
|
97
|
+
* primitive every pressable component in the library is built on cannot be the one place
|
|
98
|
+
* where `padding={16}` has to become an object again.
|
|
99
|
+
*/
|
|
100
|
+
type PressableFeedbackProps = Omit<PressableProps, 'style' | 'children' | 'disabled'> & ViewStyleProps & {
|
|
63
101
|
/** Controlled: the root owns the state, because its recipe resolves on it (R5). */
|
|
64
102
|
isPressed?: boolean;
|
|
65
103
|
/** R8: `disabled` is not part of the public vocabulary, `isX` is. */
|
|
@@ -154,34 +192,6 @@ type FeedbackContext = {
|
|
|
154
192
|
waves?: readonly [RippleWave, RippleWave];
|
|
155
193
|
};
|
|
156
194
|
|
|
157
|
-
/**
|
|
158
|
-
* R13 — React Native mirrors a layout under RTL through the Start/End properties and only
|
|
159
|
-
* those. A props API is exactly where someone writes `paddingLeft` without thinking, so
|
|
160
|
-
* the type removes the temptation instead of leaving it to a review.
|
|
161
|
-
*/
|
|
162
|
-
type DirectionalStyleKey = 'left' | 'right' | 'paddingLeft' | 'paddingRight' | 'marginLeft' | 'marginRight' | 'borderLeftWidth' | 'borderRightWidth' | 'borderLeftColor' | 'borderRightColor' | 'borderTopLeftRadius' | 'borderTopRightRadius' | 'borderBottomLeftRadius' | 'borderBottomRightRadius';
|
|
163
|
-
/**
|
|
164
|
-
* `pointerEvents` is a style key *and* a `View` prop. R14 says the component's own prop
|
|
165
|
-
* wins, so it stays the prop it has always been and is not exposed twice — the one name
|
|
166
|
-
* where the two vocabularies collide.
|
|
167
|
-
*/
|
|
168
|
-
type ComponentOwnedStyleKey = 'pointerEvents';
|
|
169
|
-
/**
|
|
170
|
-
* The style keys of a node, exposed as props (R14). Not a maintained list: it derives
|
|
171
|
-
* from the React Native type, minus what R13 forbids.
|
|
172
|
-
*
|
|
173
|
-
* ```ts
|
|
174
|
-
* type CardProps = ViewStyleProps & { variant?: CardVariant }
|
|
175
|
-
* ```
|
|
176
|
-
*/
|
|
177
|
-
type StyleProps<Style> = Omit<Style, DirectionalStyleKey | ComponentOwnedStyleKey>;
|
|
178
|
-
/** A root, or any slot that renders a view. */
|
|
179
|
-
type ViewStyleProps = StyleProps<ViewStyle>;
|
|
180
|
-
/** A text slot — `color`, `fontSize`, `letterSpacing`… */
|
|
181
|
-
type TextStyleProps = StyleProps<TextStyle>;
|
|
182
|
-
/** An image slot — `resizeMode`, `tintColor`… */
|
|
183
|
-
type ImageStyleProps = StyleProps<ImageStyle>;
|
|
184
|
-
|
|
185
195
|
/**
|
|
186
196
|
* A slot is a view or a text node, and a recipe writes one object per slot, so the two
|
|
187
197
|
* RN style shapes are merged rather than discriminated per slot.
|
|
@@ -1,8 +1,36 @@
|
|
|
1
1
|
import { ComponentType, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ImageStyle, TextStyle, ViewStyle, ImageSourcePropType, StyleProp, PressableProps } from 'react-native';
|
|
3
3
|
import { SharedValue } from 'react-native-reanimated';
|
|
4
4
|
import { g as XAUITheme, X as XAUIColors } from './theme.type-C9bFJKFm.js';
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* R13 — React Native mirrors a layout under RTL through the Start/End properties and only
|
|
8
|
+
* those. A props API is exactly where someone writes `paddingLeft` without thinking, so
|
|
9
|
+
* the type removes the temptation instead of leaving it to a review.
|
|
10
|
+
*/
|
|
11
|
+
type DirectionalStyleKey = 'left' | 'right' | 'paddingLeft' | 'paddingRight' | 'marginLeft' | 'marginRight' | 'borderLeftWidth' | 'borderRightWidth' | 'borderLeftColor' | 'borderRightColor' | 'borderTopLeftRadius' | 'borderTopRightRadius' | 'borderBottomLeftRadius' | 'borderBottomRightRadius';
|
|
12
|
+
/**
|
|
13
|
+
* `pointerEvents` is a style key *and* a `View` prop. R14 says the component's own prop
|
|
14
|
+
* wins, so it stays the prop it has always been and is not exposed twice — the one name
|
|
15
|
+
* where the two vocabularies collide.
|
|
16
|
+
*/
|
|
17
|
+
type ComponentOwnedStyleKey = 'pointerEvents';
|
|
18
|
+
/**
|
|
19
|
+
* The style keys of a node, exposed as props (R14). Not a maintained list: it derives
|
|
20
|
+
* from the React Native type, minus what R13 forbids.
|
|
21
|
+
*
|
|
22
|
+
* ```ts
|
|
23
|
+
* type CardProps = ViewStyleProps & { variant?: CardVariant }
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
type StyleProps<Style> = Omit<Style, DirectionalStyleKey | ComponentOwnedStyleKey>;
|
|
27
|
+
/** A root, or any slot that renders a view. */
|
|
28
|
+
type ViewStyleProps = StyleProps<ViewStyle>;
|
|
29
|
+
/** A text slot — `color`, `fontSize`, `letterSpacing`… */
|
|
30
|
+
type TextStyleProps = StyleProps<TextStyle>;
|
|
31
|
+
/** An image slot — `resizeMode`, `tintColor`… */
|
|
32
|
+
type ImageStyleProps = StyleProps<ImageStyle>;
|
|
33
|
+
|
|
6
34
|
/**
|
|
7
35
|
* The props Lucide, Ionicons and `react-native-vector-icons` all accept — the shape
|
|
8
36
|
* `as` is handed. It is a convention rather than an interface anyone published, which is
|
|
@@ -12,7 +40,12 @@ type IconComponentProps = {
|
|
|
12
40
|
size?: number;
|
|
13
41
|
color?: string;
|
|
14
42
|
};
|
|
15
|
-
|
|
43
|
+
/**
|
|
44
|
+
* R14 reaches the **`source` form only**, exactly like `style` below and for the same
|
|
45
|
+
* reason: it is the one of the three forms where we render the node. On the other two,
|
|
46
|
+
* `size` and `color` are what shapes the icon.
|
|
47
|
+
*/
|
|
48
|
+
type IconProps = ImageStyleProps & {
|
|
16
49
|
/** An icon component. `size` and `color` are injected into it. */
|
|
17
50
|
as?: ComponentType<IconComponentProps>;
|
|
18
51
|
/** A raw `react-native-svg` element, cloned with the resolved size and colour. */
|
|
@@ -59,7 +92,12 @@ type ResolvedAnimation = {
|
|
|
59
92
|
/** Propagated to descendants through context. */
|
|
60
93
|
disableAll: boolean;
|
|
61
94
|
};
|
|
62
|
-
|
|
95
|
+
/**
|
|
96
|
+
* R14 — it renders a `Pressable`, so it takes that node's style keys as props. The
|
|
97
|
+
* primitive every pressable component in the library is built on cannot be the one place
|
|
98
|
+
* where `padding={16}` has to become an object again.
|
|
99
|
+
*/
|
|
100
|
+
type PressableFeedbackProps = Omit<PressableProps, 'style' | 'children' | 'disabled'> & ViewStyleProps & {
|
|
63
101
|
/** Controlled: the root owns the state, because its recipe resolves on it (R5). */
|
|
64
102
|
isPressed?: boolean;
|
|
65
103
|
/** R8: `disabled` is not part of the public vocabulary, `isX` is. */
|
|
@@ -154,34 +192,6 @@ type FeedbackContext = {
|
|
|
154
192
|
waves?: readonly [RippleWave, RippleWave];
|
|
155
193
|
};
|
|
156
194
|
|
|
157
|
-
/**
|
|
158
|
-
* R13 — React Native mirrors a layout under RTL through the Start/End properties and only
|
|
159
|
-
* those. A props API is exactly where someone writes `paddingLeft` without thinking, so
|
|
160
|
-
* the type removes the temptation instead of leaving it to a review.
|
|
161
|
-
*/
|
|
162
|
-
type DirectionalStyleKey = 'left' | 'right' | 'paddingLeft' | 'paddingRight' | 'marginLeft' | 'marginRight' | 'borderLeftWidth' | 'borderRightWidth' | 'borderLeftColor' | 'borderRightColor' | 'borderTopLeftRadius' | 'borderTopRightRadius' | 'borderBottomLeftRadius' | 'borderBottomRightRadius';
|
|
163
|
-
/**
|
|
164
|
-
* `pointerEvents` is a style key *and* a `View` prop. R14 says the component's own prop
|
|
165
|
-
* wins, so it stays the prop it has always been and is not exposed twice — the one name
|
|
166
|
-
* where the two vocabularies collide.
|
|
167
|
-
*/
|
|
168
|
-
type ComponentOwnedStyleKey = 'pointerEvents';
|
|
169
|
-
/**
|
|
170
|
-
* The style keys of a node, exposed as props (R14). Not a maintained list: it derives
|
|
171
|
-
* from the React Native type, minus what R13 forbids.
|
|
172
|
-
*
|
|
173
|
-
* ```ts
|
|
174
|
-
* type CardProps = ViewStyleProps & { variant?: CardVariant }
|
|
175
|
-
* ```
|
|
176
|
-
*/
|
|
177
|
-
type StyleProps<Style> = Omit<Style, DirectionalStyleKey | ComponentOwnedStyleKey>;
|
|
178
|
-
/** A root, or any slot that renders a view. */
|
|
179
|
-
type ViewStyleProps = StyleProps<ViewStyle>;
|
|
180
|
-
/** A text slot — `color`, `fontSize`, `letterSpacing`… */
|
|
181
|
-
type TextStyleProps = StyleProps<TextStyle>;
|
|
182
|
-
/** An image slot — `resizeMode`, `tintColor`… */
|
|
183
|
-
type ImageStyleProps = StyleProps<ImageStyle>;
|
|
184
|
-
|
|
185
195
|
/**
|
|
186
196
|
* A slot is a view or a text node, and a recipe writes one object per slot, so the two
|
|
187
197
|
* RN style shapes are merged rather than discriminated per slot.
|
package/dist/index.cjs
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkNLFE3CRMcjs = require('./chunk-NLFE3CRM.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkBAACHVM4cjs = require('./chunk-BAACHVM4.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -41,7 +41,7 @@ var _chunk2FOEFUPMcjs = require('./chunk-2FOEFUPM.cjs');
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunkPUER6Y4Mcjs = require('./chunk-PUER6Y4M.cjs');
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
@@ -90,7 +90,7 @@ function useControllableState({
|
|
|
90
90
|
function useControlWarning(isControlled) {
|
|
91
91
|
const wasControlled = _react.useRef.call(void 0, isControlled);
|
|
92
92
|
if (wasControlled.current !== isControlled) {
|
|
93
|
-
|
|
93
|
+
_chunkNLFE3CRMcjs.warnDev.call(void 0,
|
|
94
94
|
`a component switched from ${wasControlled.current ? "controlled" : "uncontrolled"} to ${isControlled ? "controlled" : "uncontrolled"}. Decide for the life of the component: pass \`value\` always, or never. Passing \`undefined\` for a value you do control reads as "uncontrolled" here.`
|
|
95
95
|
);
|
|
96
96
|
wasControlled.current = isControlled;
|
|
@@ -100,7 +100,7 @@ function useControlWarning(isControlled) {
|
|
|
100
100
|
// src/hooks/use-merged-ref.ts
|
|
101
101
|
|
|
102
102
|
function useMergedRef(...refs) {
|
|
103
|
-
return _react.useMemo.call(void 0, () =>
|
|
103
|
+
return _react.useMemo.call(void 0, () => _chunkPUER6Y4Mcjs.mergeRefs.call(void 0, ...refs), refs);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
// src/hooks/use-previous.ts
|
|
@@ -168,4 +168,4 @@ function usePrevious(value) {
|
|
|
168
168
|
|
|
169
169
|
|
|
170
170
|
|
|
171
|
-
exports.Button =
|
|
171
|
+
exports.Button = _chunkNLFE3CRMcjs.Button; exports.FEEDBACK_OVERLAY = _chunkPUER6Y4Mcjs.FEEDBACK_OVERLAY; exports.HIGHLIGHT_DURATION = _chunkPUER6Y4Mcjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunkPUER6Y4Mcjs.HIGHLIGHT_OPACITY; exports.Icon = _chunkPUER6Y4Mcjs.Icon; exports.IconContext = _chunkPUER6Y4Mcjs.IconContext; exports.PRESS_DURATION = _chunkPUER6Y4Mcjs.PRESS_DURATION; exports.PRESS_SCALE = _chunkPUER6Y4Mcjs.PRESS_SCALE; exports.Portal = _chunkBAACHVM4cjs.Portal; exports.PortalContext = _chunkBAACHVM4cjs.PortalContext; exports.PortalHost = _chunkBAACHVM4cjs.PortalHost; exports.PressableFeedback = _chunkPUER6Y4Mcjs.PressableFeedback; exports.RIPPLE_CONFIRM_DURATION = _chunkPUER6Y4Mcjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunkPUER6Y4Mcjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunkPUER6Y4Mcjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunkPUER6Y4Mcjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunkPUER6Y4Mcjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunkPUER6Y4Mcjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunkPUER6Y4Mcjs.RIPPLE_START_SCALE; exports.SCALE_REFERENCE_WIDTH = _chunkPUER6Y4Mcjs.SCALE_REFERENCE_WIDTH; exports.Slot = _chunkPUER6Y4Mcjs.Slot; exports.ThemeContext = _chunk6N5JXRUZcjs.ThemeContext; exports.XAUIProvider = _chunkDDYMIWLWcjs.XAUIProvider; exports.buildRadius = _chunkDDYMIWLWcjs.buildRadius; exports.buildShadows = _chunkDDYMIWLWcjs.buildShadows; exports.buttonRecipe = _chunkNLFE3CRMcjs.buttonRecipe; exports.childrenToString = _chunkPUER6Y4Mcjs.childrenToString; exports.createRecipe = _chunkPUER6Y4Mcjs.createRecipe; exports.createSlotContext = _chunkPUER6Y4Mcjs.createSlotContext; exports.createTheme = _chunkDDYMIWLWcjs.createTheme; exports.defaultTheme = _chunkDDYMIWLWcjs.defaultTheme; exports.deriveColors = _chunkDDYMIWLWcjs.deriveColors; exports.deriveTint = _chunk6N5JXRUZcjs.deriveTint; exports.markOverlay = _chunkPUER6Y4Mcjs.markOverlay; exports.mergeProps = _chunkPUER6Y4Mcjs.mergeProps; exports.mergeRefs = _chunkPUER6Y4Mcjs.mergeRefs; exports.palette = _chunkDDYMIWLWcjs.palette; exports.pressScaleFor = _chunkPUER6Y4Mcjs.pressScaleFor; exports.primitives = _chunkDDYMIWLWcjs.primitives; exports.resolveAnimation = _chunkPUER6Y4Mcjs.resolveAnimation; exports.resolveSlotAnimation = _chunkPUER6Y4Mcjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunkPUER6Y4Mcjs.rippleRadiusFor; exports.sourceKeys = _chunkDDYMIWLWcjs.sourceKeys; exports.tokens = _chunkDDYMIWLWcjs.tokens; exports.useButton = _chunkNLFE3CRMcjs.useButton; exports.useColorMode = _chunk6N5JXRUZcjs.useColorMode; exports.useControllableState = useControllableState; exports.useFeedback = _chunkPUER6Y4Mcjs.useFeedback; exports.useIconContext = _chunkPUER6Y4Mcjs.useIconContext; exports.useMergedRef = useMergedRef; exports.usePressState = _chunkNLFE3CRMcjs.usePressState; exports.usePrevious = usePrevious; exports.useStyleProps = _chunkPUER6Y4Mcjs.useStyleProps; exports.useThemeColor = _chunk6N5JXRUZcjs.useThemeColor; exports.useXAUITheme = _chunk6N5JXRUZcjs.useXAUITheme;
|
package/dist/index.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ import { RefCallback } from 'react';
|
|
|
3
3
|
import { PossibleRef } from './system/index.cjs';
|
|
4
4
|
export { AsChildProps, FEEDBACK_OVERLAY, HIGHLIGHT_DURATION, HIGHLIGHT_OPACITY, Icon, IconContext, MergeableProps, PRESS_DURATION, PRESS_SCALE, Portal, PortalContext, PortalHost, PortalHostProps, PortalMethods, PortalProps, PressableFeedback, PressableFeedbackHighlightProps, PressableFeedbackRippleProps, RIPPLE_CONFIRM_DURATION, RIPPLE_EXPAND_DURATION, RIPPLE_FADE_IN, RIPPLE_FADE_OUT, RIPPLE_FADE_OUT_DELAY, RIPPLE_OPACITY, RIPPLE_START_SCALE, SCALE_REFERENCE_WIDTH, Slot, SlotProps, childrenToString, createSlotContext, markOverlay, mergeProps, mergeRefs, pressScaleFor, resolveAnimation, resolveSlotAnimation, rippleRadiusFor, useFeedback, useIconContext, useStyleProps } from './system/index.cjs';
|
|
5
5
|
import { GestureResponderEvent } from 'react-native';
|
|
6
|
-
export { A as AnimationConfig, c as AnimationProp, i as Axes, C as CompoundVariant, D as DirectionalStyleKey, F as FeedbackContext, I as IconComponentProps, a as IconContextValue, b as IconProps, u as ImageStyleProps, P as PressableFeedbackProps, R as RadiusStyle, g as Recipe, j as RecipeConfig, h as ResolveArgs, d as ResolvedAnimation, k as ResolvedSelection, l as ResolvedStyles, e as RippleWave, m as Selection, S as SlotAnimation, n as SlotStyle, o as SlotStyles, p as StateName, q as States, r as StyleFn, v as StyleProps, w as TextStyleProps, T as TintArgs, V as VariantColors, s as VariantRole, t as VariantTokens, x as ViewStyleProps, f as createRecipe } from './create-recipe-
|
|
6
|
+
export { A as AnimationConfig, c as AnimationProp, i as Axes, C as CompoundVariant, D as DirectionalStyleKey, F as FeedbackContext, I as IconComponentProps, a as IconContextValue, b as IconProps, u as ImageStyleProps, P as PressableFeedbackProps, R as RadiusStyle, g as Recipe, j as RecipeConfig, h as ResolveArgs, d as ResolvedAnimation, k as ResolvedSelection, l as ResolvedStyles, e as RippleWave, m as Selection, S as SlotAnimation, n as SlotStyle, o as SlotStyles, p as StateName, q as States, r as StyleFn, v as StyleProps, w as TextStyleProps, T as TintArgs, V as VariantColors, s as VariantRole, t as VariantTokens, x as ViewStyleProps, f as createRecipe } from './create-recipe-BcUu9b2I.cjs';
|
|
7
7
|
export { ColorModePreference, PaletteFamily, PaletteShade, ThemeContext, XAUIProvider, XAUIProviderProps, XAUITint, buildRadius, buildShadows, createTheme, defaultTheme, deriveColors, deriveTint, palette, primitives, sourceKeys, tokens, useColorMode, useThemeColor, useXAUITheme } from './theme/index.cjs';
|
|
8
8
|
export { C as ColorMode, F as FontSizeKey, a as FontWeightKey, R as RadiusKey, S as Size, X as XAUIColors, b as XAUIDerivedColors, c as XAUIPrimitiveColors, d as XAUIRadius, e as XAUIShadow, f as XAUISourceColors, g as XAUITheme, h as XAUIThemeConfig, i as XAUIThemeSet } from './theme.type-C9bFJKFm.cjs';
|
|
9
9
|
import 'react-native-reanimated';
|