@xaui/native 0.9.1-alpha.4 → 0.9.1-alpha.40
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-2EGR4LWD.js +145 -0
- package/dist/chunk-2NRZKJG7.js +531 -0
- package/dist/chunk-2PMXMKS5.js +67 -0
- package/dist/chunk-2XPG2243.js +586 -0
- package/dist/chunk-36PRYGAM.js +13 -0
- package/dist/chunk-3E7CDKFO.cjs +696 -0
- package/dist/chunk-3GFRSZYR.js +54 -0
- package/dist/chunk-423RQBOX.js +21 -0
- package/dist/chunk-4CUZZWFW.js +92 -0
- package/dist/chunk-4GTAZM2C.js +174 -0
- package/dist/chunk-4KFKWBN5.cjs +89 -0
- package/dist/{chunk-3QBT3Q65.cjs → chunk-57SJ4LJF.cjs} +7 -2
- package/dist/chunk-5R26NM4M.cjs +402 -0
- package/dist/chunk-5VKYNBNA.js +607 -0
- package/dist/chunk-64MXEVT3.js +66 -0
- package/dist/chunk-6DOLGZVV.cjs +147 -0
- package/dist/chunk-6L2TS2R3.cjs +92 -0
- package/dist/chunk-6UEZJRVI.js +669 -0
- package/dist/chunk-734MFAX4.js +27 -0
- package/dist/chunk-73RKQC5X.js +104 -0
- package/dist/chunk-7DPL3ZDS.cjs +21 -0
- package/dist/chunk-7EIHHOHP.cjs +42 -0
- package/dist/chunk-7GHM4GKL.cjs +119 -0
- package/dist/chunk-7YF5NAHQ.cjs +74 -0
- package/dist/{chunk-X2K2FX3W.js → chunk-A3EGFI6T.js} +6 -1
- package/dist/chunk-ABAGZTXZ.cjs +736 -0
- package/dist/{chunk-AW63PTQ4.cjs → chunk-ACAPTWE3.cjs} +85 -81
- package/dist/chunk-AMCSSOJT.cjs +104 -0
- package/dist/chunk-BA2DBSAN.js +102 -0
- package/dist/chunk-BRRXFOBY.js +431 -0
- package/dist/chunk-C5YLPCFC.cjs +293 -0
- package/dist/chunk-DA3OKXHV.cjs +700 -0
- package/dist/chunk-DD4276RF.js +366 -0
- package/dist/chunk-DG2I4PJG.js +701 -0
- package/dist/chunk-DHGLGSH6.js +661 -0
- package/dist/chunk-DIBUQ46Y.js +346 -0
- package/dist/chunk-EGLLDKN6.js +9 -0
- package/dist/chunk-EJQCQPET.cjs +9 -0
- package/dist/chunk-EKS3W46M.cjs +66 -0
- package/dist/chunk-EZEYMLO3.js +402 -0
- package/dist/chunk-F6CQ6CBI.cjs +112 -0
- package/dist/chunk-F6W3JQ7K.js +42 -0
- package/dist/chunk-FHUYHV6J.js +89 -0
- package/dist/chunk-FNEUOBCV.cjs +174 -0
- package/dist/chunk-G7P3ERYF.cjs +478 -0
- package/dist/chunk-GA6PBWNT.js +147 -0
- package/dist/chunk-GFUZ3MUT.cjs +455 -0
- package/dist/chunk-GGW43Q37.cjs +1 -0
- package/dist/chunk-GTR5X65M.cjs +27 -0
- package/dist/chunk-H4E4HDEP.cjs +13 -0
- package/dist/chunk-H7DS4IO7.js +198 -0
- package/dist/chunk-HDVVZG4S.cjs +198 -0
- package/dist/chunk-IKJVLJKT.js +151 -0
- package/dist/chunk-J3MB4PI5.cjs +531 -0
- package/dist/chunk-K72UDPVN.js +119 -0
- package/dist/chunk-KCMYU7WF.js +86 -0
- package/dist/chunk-LRN3RNDO.js +940 -0
- package/dist/chunk-LTX6TB5I.js +124 -0
- package/dist/chunk-LUPCPLND.cjs +145 -0
- package/dist/chunk-M63GFNKV.js +194 -0
- package/dist/chunk-N3KTZMPG.js +293 -0
- package/dist/chunk-NCTOTTVW.js +13 -0
- package/dist/chunk-NWGLP6JX.cjs +410 -0
- package/dist/chunk-R73XQK7X.cjs +314 -0
- package/dist/chunk-RU7JCMWC.cjs +881 -0
- package/dist/chunk-SNIHUKDA.cjs +184 -0
- package/dist/chunk-T5FV5F7A.cjs +607 -0
- package/dist/chunk-TDTUAIFF.cjs +153 -0
- package/dist/chunk-TJ74XVZN.cjs +431 -0
- package/dist/chunk-TK44VBIE.cjs +194 -0
- package/dist/chunk-UAWBAD4E.cjs +346 -0
- package/dist/chunk-UFTCTTKK.js +381 -0
- package/dist/chunk-WDDXU3OH.cjs +67 -0
- package/dist/chunk-WFEMJCXO.cjs +13 -0
- package/dist/chunk-WHJTBTYM.js +0 -0
- package/dist/{chunk-2KXQATVL.js → chunk-WKCQ6VGW.js} +59 -55
- package/dist/chunk-XFPQFCEK.js +455 -0
- package/dist/chunk-XSQPVDFH.cjs +60 -0
- package/dist/chunk-XTC2SLFT.js +153 -0
- package/dist/chunk-XV735BSA.cjs +366 -0
- package/dist/chunk-XWNG2U4K.cjs +124 -0
- package/dist/chunk-YGYYJ3LQ.js +314 -0
- package/dist/chunk-YVHT2UVW.js +74 -0
- package/dist/chunk-ZFOOJK37.cjs +86 -0
- package/dist/close-button.type-BUYuoSt2.d.ts +36 -0
- package/dist/close-button.type-CHsgZ3wO.d.cts +36 -0
- package/dist/components/accordion/index.cjs +35 -0
- package/dist/components/accordion/index.d.cts +299 -0
- package/dist/components/accordion/index.d.ts +299 -0
- package/dist/components/accordion/index.js +35 -0
- package/dist/components/alert/index.cjs +20 -0
- package/dist/components/alert/index.d.cts +169 -0
- package/dist/components/alert/index.d.ts +169 -0
- package/dist/components/alert/index.js +20 -0
- package/dist/components/avatar/index.cjs +16 -0
- package/dist/components/avatar/index.d.cts +131 -0
- package/dist/components/avatar/index.d.ts +131 -0
- package/dist/components/avatar/index.js +16 -0
- package/dist/components/badge/index.cjs +15 -0
- package/dist/components/badge/index.d.cts +157 -0
- package/dist/components/badge/index.d.ts +157 -0
- package/dist/components/badge/index.js +15 -0
- package/dist/components/button/index.cjs +22 -0
- package/dist/components/button/index.d.cts +613 -0
- package/dist/components/button/index.d.ts +613 -0
- package/dist/components/button/index.js +22 -0
- package/dist/components/card/index.cjs +22 -0
- package/dist/components/card/index.d.cts +620 -0
- package/dist/components/card/index.d.ts +620 -0
- package/dist/components/card/index.js +22 -0
- package/dist/components/checkbox/index.cjs +26 -0
- package/dist/components/checkbox/index.d.cts +1136 -0
- package/dist/components/checkbox/index.d.ts +1136 -0
- package/dist/components/checkbox/index.js +26 -0
- package/dist/components/chip/index.cjs +20 -0
- package/dist/components/chip/index.d.cts +608 -0
- package/dist/components/chip/index.d.ts +608 -0
- package/dist/components/chip/index.js +20 -0
- package/dist/components/divider/index.cjs +13 -0
- package/dist/components/divider/index.d.cts +117 -0
- package/dist/components/divider/index.d.ts +117 -0
- package/dist/components/divider/index.js +13 -0
- package/dist/components/field-group/index.cjs +27 -0
- package/dist/components/field-group/index.d.cts +270 -0
- package/dist/components/field-group/index.d.ts +270 -0
- package/dist/components/field-group/index.js +27 -0
- package/dist/components/input-otp/index.cjs +29 -0
- package/dist/components/input-otp/index.d.cts +325 -0
- package/dist/components/input-otp/index.d.ts +325 -0
- package/dist/components/input-otp/index.js +29 -0
- package/dist/components/menu/index.cjs +49 -0
- package/dist/components/menu/index.d.cts +351 -0
- package/dist/components/menu/index.d.ts +351 -0
- package/dist/components/menu/index.js +49 -0
- package/dist/components/popover/index.cjs +38 -0
- package/dist/components/popover/index.d.cts +254 -0
- package/dist/components/popover/index.d.ts +254 -0
- package/dist/components/popover/index.js +38 -0
- package/dist/components/radio/index.cjs +26 -0
- package/dist/components/radio/index.d.cts +1102 -0
- package/dist/components/radio/index.d.ts +1102 -0
- package/dist/components/radio/index.js +26 -0
- package/dist/components/select/index.cjs +50 -0
- package/dist/components/select/index.d.cts +498 -0
- package/dist/components/select/index.d.ts +498 -0
- package/dist/components/select/index.js +50 -0
- package/dist/components/skeleton/index.cjs +11 -0
- package/dist/components/skeleton/index.d.cts +111 -0
- package/dist/components/skeleton/index.d.ts +111 -0
- package/dist/components/skeleton/index.js +11 -0
- package/dist/components/spinner/index.cjs +17 -0
- package/dist/components/spinner/index.d.cts +104 -0
- package/dist/components/spinner/index.d.ts +104 -0
- package/dist/components/spinner/index.js +17 -0
- package/dist/components/switch/index.cjs +27 -0
- package/dist/components/switch/index.d.cts +1154 -0
- package/dist/components/switch/index.d.ts +1154 -0
- package/dist/components/switch/index.js +27 -0
- package/dist/components/text-area/index.cjs +14 -0
- package/dist/components/text-area/index.d.cts +73 -0
- package/dist/components/text-area/index.d.ts +73 -0
- package/dist/components/text-area/index.js +14 -0
- package/dist/components/text-field/index.cjs +25 -0
- package/dist/components/text-field/index.d.cts +205 -0
- package/dist/components/text-field/index.d.ts +205 -0
- package/dist/components/text-field/index.js +25 -0
- package/dist/components/typography/index.cjs +15 -0
- package/dist/components/typography/index.d.cts +116 -0
- package/dist/components/typography/index.d.ts +116 -0
- package/dist/components/typography/index.js +15 -0
- package/dist/components/view/index.cjs +17 -0
- package/dist/components/view/index.d.cts +152 -0
- package/dist/components/view/index.d.ts +152 -0
- package/dist/components/view/index.js +17 -0
- package/dist/create-recipe-BdVd2ffi.d.ts +114 -0
- package/dist/create-recipe-dC7wMfnj.d.cts +114 -0
- package/dist/icon.type-Kml72iSz.d.ts +73 -0
- package/dist/icon.type-d_i9ma-i.d.cts +73 -0
- package/dist/index.cjs +400 -4
- package/dist/index.d.cts +118 -4
- package/dist/index.d.ts +118 -4
- package/dist/index.js +423 -27
- package/dist/placement-DHa0Rrh1.d.cts +38 -0
- package/dist/placement-DHa0Rrh1.d.ts +38 -0
- package/dist/pressable-feedback.type-BA2C9sSz.d.cts +127 -0
- package/dist/pressable-feedback.type-Bs4dQlGj.d.ts +127 -0
- package/dist/style-props.type-CfnoGEP7.d.cts +31 -0
- package/dist/style-props.type-CfnoGEP7.d.ts +31 -0
- package/dist/system/index.cjs +73 -4
- package/dist/system/index.d.cts +379 -193
- package/dist/system/index.d.ts +379 -193
- package/dist/system/index.js +87 -18
- package/dist/text-field.type-0l73acce.d.ts +167 -0
- package/dist/text-field.type-DBh06DU5.d.cts +167 -0
- package/dist/theme/index.cjs +5 -3
- package/dist/theme/index.d.cts +55 -24
- package/dist/theme/index.d.ts +55 -24
- package/dist/theme/index.js +4 -2
- package/dist/{theme.type-C9bFJKFm.d.cts → theme.type-C2gNHpEx.d.cts} +1 -1
- package/dist/{theme.type-C9bFJKFm.d.ts → theme.type-C2gNHpEx.d.ts} +1 -1
- package/package.json +254 -18
- package/dist/chunk-ECDWSSHJ.js +0 -688
- package/dist/chunk-IYFGO523.cjs +0 -688
|
@@ -0,0 +1,613 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import * as react_native from 'react-native';
|
|
4
|
+
import { StyleProp, TextStyle, ViewStyle, TextProps, PressableStateCallbackType } from 'react-native';
|
|
5
|
+
import { T as TextStyleProps, V as ViewStyleProps } from '../../style-props.type-CfnoGEP7.js';
|
|
6
|
+
import { S as Size, R as RadiusKey, X as XAUITheme } from '../../theme.type-C2gNHpEx.js';
|
|
7
|
+
import { P as PressableFeedbackProps, a as AnimationProp } from '../../pressable-feedback.type-Bs4dQlGj.js';
|
|
8
|
+
import { I as IconContextValue, a as IconProps } from '../../icon.type-Kml72iSz.js';
|
|
9
|
+
import { R as Recipe, S as SlotStyles, a as StyleFn } from '../../create-recipe-BdVd2ffi.js';
|
|
10
|
+
import 'react-native-reanimated';
|
|
11
|
+
|
|
12
|
+
type ButtonSlot = 'root' | 'label' | 'icon' | 'spinner';
|
|
13
|
+
/**
|
|
14
|
+
* The seven sanctioned appearances (R7). Emphasis and intention are one flat union, which
|
|
15
|
+
* is why there is no `themeColor` beside it.
|
|
16
|
+
*
|
|
17
|
+
* The emphasis ladder descends by how much of the accent is left: `primary` is the full
|
|
18
|
+
* accent, `secondary` its soft slice, `default` drops the accent for the neutral fill,
|
|
19
|
+
* `tertiary` drops the fill for a border, and `ghost` drops that too. `secondary` is to
|
|
20
|
+
* `primary` exactly what `danger-soft` is to `danger` — the same soft slice of the same
|
|
21
|
+
* family, which is why it needs no rule of its own in the recipe.
|
|
22
|
+
*
|
|
23
|
+
* **`success` and `warning` are deliberately not here.** A button is something you press,
|
|
24
|
+
* and neither of those is an action: a success is an outcome and a warning is a state,
|
|
25
|
+
* both of which a `Chip`, an `Alert` or a `Badge` reports. The theme keeps their tokens —
|
|
26
|
+
* a component that *does* report status reads them — and a button that genuinely needs a
|
|
27
|
+
* green fill passes the raw tint instead: `<Button color={theme.colors.success}>`.
|
|
28
|
+
*/
|
|
29
|
+
type ButtonVariant = 'primary' | 'secondary' | 'default' | 'tertiary' | 'ghost' | 'danger' | 'danger-soft';
|
|
30
|
+
type ButtonSize = Size;
|
|
31
|
+
/**
|
|
32
|
+
* What the `Button` itself understands. R14 — a name in here is the component's, so the
|
|
33
|
+
* style prop that shares it is not exposed: `size` is the control's scale and never
|
|
34
|
+
* `ViewStyle`'s, and `color` is R7's tint rather than `TextStyle`'s.
|
|
35
|
+
*/
|
|
36
|
+
type ButtonOwnProps = {
|
|
37
|
+
variant?: ButtonVariant;
|
|
38
|
+
/** Height, padding, gap, radius and type. Never width. */
|
|
39
|
+
size?: ButtonSize;
|
|
40
|
+
/** Overrides the radius `size` chose. Unset, a button is the shape its size implies. */
|
|
41
|
+
radius?: RadiusKey;
|
|
42
|
+
/**
|
|
43
|
+
* A raw tint (`'#7c3aed'`), never a token (R7). Where it lands follows the variant: the
|
|
44
|
+
* background of a `primary`, the label of a `ghost`, the border and label of a
|
|
45
|
+
* `tertiary`. Its contrasted, soft and pressed slices are derived in OKLab, so it
|
|
46
|
+
* behaves exactly like `accent` — which is also why it must be a hex value.
|
|
47
|
+
*/
|
|
48
|
+
color?: string;
|
|
49
|
+
isDisabled?: boolean;
|
|
50
|
+
/** Presses through as disabled, and inserts a `Button.Spinner` if none is composed. */
|
|
51
|
+
isLoading?: boolean;
|
|
52
|
+
/** Drops the horizontal padding and squares the button on its fixed height. */
|
|
53
|
+
isIconOnly?: boolean;
|
|
54
|
+
/** R9 — `Pressable`'s function form as much as an object or an array. */
|
|
55
|
+
style?: StyleProp<ViewStyle> | ((state: PressableStateCallbackType) => StyleProp<ViewStyle>);
|
|
56
|
+
children?: ReactNode;
|
|
57
|
+
};
|
|
58
|
+
type ButtonBehaviourProps = Omit<PressableFeedbackProps, 'isPressed' | 'isDisabled' | 'style' | 'children'>;
|
|
59
|
+
/**
|
|
60
|
+
* R14 — the button's own props, the press behaviour it forwards, and every `ViewStyle`
|
|
61
|
+
* key its own vocabulary does not already claim. `height` therefore beats the height
|
|
62
|
+
* `size` chose and `width="100%"` is what replaced `fullWidth`, both because the style
|
|
63
|
+
* props resolve after the recipe. That is the escape hatch, not the normal path.
|
|
64
|
+
*
|
|
65
|
+
* `PressableFeedback` carries the same keys, so the third term is redundant today. It
|
|
66
|
+
* stays because it is the `Button` that owes them: a root states the rule for its own
|
|
67
|
+
* node rather than inheriting it from whatever it happens to render.
|
|
68
|
+
*/
|
|
69
|
+
type ButtonProps = ButtonOwnProps & ButtonBehaviourProps & Omit<ViewStyleProps, keyof ButtonOwnProps>;
|
|
70
|
+
/** `Text`'s own props win over the `TextStyle` keys of the same name (R14). */
|
|
71
|
+
type ButtonLabelProps = TextProps & Omit<TextStyleProps, keyof TextProps> & {
|
|
72
|
+
children?: ReactNode;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* `Icon`'s three forms, plus the `style` every slot carries (R2). `size` and `color`
|
|
76
|
+
* default to what the root resolved; passing either wins over it.
|
|
77
|
+
*
|
|
78
|
+
* No style props (R14), deliberately: two of the three forms have no view of our own to
|
|
79
|
+
* style — `as` hands its props to a third-party component and the children form clones
|
|
80
|
+
* the caller's element — so a `padding` here would apply in one form out of three. `size`
|
|
81
|
+
* and `color` are the escape hatch, as they already are for `style`.
|
|
82
|
+
*/
|
|
83
|
+
type ButtonIconProps = IconProps;
|
|
84
|
+
type ButtonSpinnerOwnProps = {
|
|
85
|
+
style?: StyleProp<ViewStyle>;
|
|
86
|
+
/** `false` stops the rotation. The ring stays, so the button does not change size. */
|
|
87
|
+
animation?: boolean;
|
|
88
|
+
};
|
|
89
|
+
type ButtonSpinnerProps = ButtonSpinnerOwnProps & Omit<ViewStyleProps, keyof ButtonSpinnerOwnProps>;
|
|
90
|
+
/**
|
|
91
|
+
* R5 — resolved styles, not props for a slot to resolve a second time. Each entry is the
|
|
92
|
+
* cached `StyleSheet` reference with the uncached tint pass layered over it, so a slot
|
|
93
|
+
* merges its own `style` on top and does no work of its own.
|
|
94
|
+
*/
|
|
95
|
+
type ButtonContextValue = {
|
|
96
|
+
labelStyle: StyleProp<TextStyle>;
|
|
97
|
+
spinnerStyle: StyleProp<ViewStyle>;
|
|
98
|
+
/**
|
|
99
|
+
* Values, not a style: `Icon` hands `size` and `color` to a third-party component, so
|
|
100
|
+
* the root flattens its icon slot once here rather than in every icon it contains.
|
|
101
|
+
*/
|
|
102
|
+
icon: IconContextValue;
|
|
103
|
+
isDisabled: boolean;
|
|
104
|
+
isLoading: boolean;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* An icon that takes the button's size and colour without being told either:
|
|
109
|
+
*
|
|
110
|
+
* ```tsx
|
|
111
|
+
* <Button variant="danger">
|
|
112
|
+
* <Button.Icon as={TrashIcon} />
|
|
113
|
+
* <Button.Label>Supprimer</Button.Label>
|
|
114
|
+
* </Button>
|
|
115
|
+
* ```
|
|
116
|
+
*
|
|
117
|
+
* The values come from the root, which resolved them once; an explicit `size` or `color`
|
|
118
|
+
* still wins, which is what `Icon` promises everywhere else in the library.
|
|
119
|
+
*/
|
|
120
|
+
declare function ButtonIcon({ size, color, ...rest }: ButtonIconProps): react.JSX.Element;
|
|
121
|
+
declare namespace ButtonIcon {
|
|
122
|
+
var displayName: string;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* The busy indicator. `isLoading` inserts one when none is composed, so
|
|
127
|
+
* `<Button isLoading>Envoi…</Button>` works; composing it explicitly is how you put it
|
|
128
|
+
* after the label instead of before it.
|
|
129
|
+
*
|
|
130
|
+
* A ring rather than RN's `ActivityIndicator`: the recipe owns its diameter and its
|
|
131
|
+
* colour like every other measurement, which is what makes it follow the button's `size`
|
|
132
|
+
* and its variant with nothing to pass.
|
|
133
|
+
*
|
|
134
|
+
* It is not a `<Spinner>` with props, and it is the standalone component that says why:
|
|
135
|
+
* `Spinner`'s `size` is a token of its own scale and its `variant` names an ink, while
|
|
136
|
+
* everything this slot draws was already decided by the button's recipe. Handing it two
|
|
137
|
+
* raw values would be R6 in reverse — a vocabulary prop taking a computed number. What
|
|
138
|
+
* the two do share is the turn, and that is `useRotation`.
|
|
139
|
+
*/
|
|
140
|
+
declare function ButtonSpinner({ style, animation, ...props }: ButtonSpinnerProps): react.JSX.Element;
|
|
141
|
+
declare namespace ButtonSpinner {
|
|
142
|
+
var displayName: string;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
declare const useButton: () => ButtonContextValue;
|
|
146
|
+
|
|
147
|
+
declare const buttonRecipe: Recipe<"label" | "root" | "icon" | "spinner", ButtonVariant, {
|
|
148
|
+
readonly size: {
|
|
149
|
+
readonly xs: (theme: XAUITheme) => SlotStyles<ButtonSlot>;
|
|
150
|
+
readonly sm: (theme: XAUITheme) => SlotStyles<ButtonSlot>;
|
|
151
|
+
readonly md: (theme: XAUITheme) => SlotStyles<ButtonSlot>;
|
|
152
|
+
readonly lg: (theme: XAUITheme) => SlotStyles<ButtonSlot>;
|
|
153
|
+
};
|
|
154
|
+
readonly radius: Record<RadiusKey, StyleFn<"root">>;
|
|
155
|
+
readonly isIconOnly: {
|
|
156
|
+
readonly true: () => {
|
|
157
|
+
root: {
|
|
158
|
+
paddingHorizontal: number;
|
|
159
|
+
aspectRatio: number;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
}>;
|
|
164
|
+
|
|
165
|
+
declare const Button: react.ForwardRefExoticComponent<{
|
|
166
|
+
variant?: ButtonVariant;
|
|
167
|
+
size?: ButtonSize;
|
|
168
|
+
radius?: RadiusKey;
|
|
169
|
+
color?: string;
|
|
170
|
+
isDisabled?: boolean;
|
|
171
|
+
isLoading?: boolean;
|
|
172
|
+
isIconOnly?: boolean;
|
|
173
|
+
style?: react_native.StyleProp<react_native.ViewStyle> | ((state: react_native.PressableStateCallbackType) => react_native.StyleProp<react_native.ViewStyle>);
|
|
174
|
+
children?: react.ReactNode;
|
|
175
|
+
} & {
|
|
176
|
+
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined | undefined;
|
|
177
|
+
alignItems?: react_native.FlexAlignType | undefined;
|
|
178
|
+
alignSelf?: "auto" | react_native.FlexAlignType | undefined;
|
|
179
|
+
aspectRatio?: number | string | undefined | undefined;
|
|
180
|
+
boxSizing?: "border-box" | "content-box" | undefined | undefined;
|
|
181
|
+
columnGap?: number | string | undefined | undefined;
|
|
182
|
+
direction?: "inherit" | "ltr" | "rtl" | undefined | undefined;
|
|
183
|
+
display?: "none" | "flex" | "contents" | undefined | undefined;
|
|
184
|
+
flex?: number | undefined | undefined;
|
|
185
|
+
flexBasis?: react_native.DimensionValue | undefined;
|
|
186
|
+
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined | undefined;
|
|
187
|
+
flexGrow?: number | undefined | undefined;
|
|
188
|
+
flexShrink?: number | undefined | undefined;
|
|
189
|
+
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined | undefined;
|
|
190
|
+
gap?: number | string | undefined | undefined;
|
|
191
|
+
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined | undefined;
|
|
192
|
+
overflow?: "visible" | "hidden" | "scroll" | undefined | undefined;
|
|
193
|
+
rowGap?: number | string | undefined | undefined;
|
|
194
|
+
bottom?: react_native.DimensionValue | undefined;
|
|
195
|
+
end?: react_native.DimensionValue | undefined;
|
|
196
|
+
inset?: react_native.DimensionValue | undefined;
|
|
197
|
+
insetBlock?: react_native.DimensionValue | undefined;
|
|
198
|
+
insetBlockEnd?: react_native.DimensionValue | undefined;
|
|
199
|
+
insetBlockStart?: react_native.DimensionValue | undefined;
|
|
200
|
+
insetInline?: react_native.DimensionValue | undefined;
|
|
201
|
+
insetInlineEnd?: react_native.DimensionValue | undefined;
|
|
202
|
+
insetInlineStart?: react_native.DimensionValue | undefined;
|
|
203
|
+
position?: "absolute" | "relative" | "static" | undefined | undefined;
|
|
204
|
+
start?: react_native.DimensionValue | undefined;
|
|
205
|
+
top?: react_native.DimensionValue | undefined;
|
|
206
|
+
zIndex?: number | undefined | undefined;
|
|
207
|
+
margin?: react_native.DimensionValue | undefined;
|
|
208
|
+
marginBlock?: react_native.DimensionValue | undefined;
|
|
209
|
+
marginBlockEnd?: react_native.DimensionValue | undefined;
|
|
210
|
+
marginBlockStart?: react_native.DimensionValue | undefined;
|
|
211
|
+
marginBottom?: react_native.DimensionValue | undefined;
|
|
212
|
+
marginEnd?: react_native.DimensionValue | undefined;
|
|
213
|
+
marginHorizontal?: react_native.DimensionValue | undefined;
|
|
214
|
+
marginInline?: react_native.DimensionValue | undefined;
|
|
215
|
+
marginInlineEnd?: react_native.DimensionValue | undefined;
|
|
216
|
+
marginInlineStart?: react_native.DimensionValue | undefined;
|
|
217
|
+
marginStart?: react_native.DimensionValue | undefined;
|
|
218
|
+
marginTop?: react_native.DimensionValue | undefined;
|
|
219
|
+
marginVertical?: react_native.DimensionValue | undefined;
|
|
220
|
+
padding?: react_native.DimensionValue | undefined;
|
|
221
|
+
paddingBlock?: react_native.DimensionValue | undefined;
|
|
222
|
+
paddingBlockEnd?: react_native.DimensionValue | undefined;
|
|
223
|
+
paddingBlockStart?: react_native.DimensionValue | undefined;
|
|
224
|
+
paddingBottom?: react_native.DimensionValue | undefined;
|
|
225
|
+
paddingEnd?: react_native.DimensionValue | undefined;
|
|
226
|
+
paddingHorizontal?: react_native.DimensionValue | undefined;
|
|
227
|
+
paddingInline?: react_native.DimensionValue | undefined;
|
|
228
|
+
paddingInlineEnd?: react_native.DimensionValue | undefined;
|
|
229
|
+
paddingInlineStart?: react_native.DimensionValue | undefined;
|
|
230
|
+
paddingStart?: react_native.DimensionValue | undefined;
|
|
231
|
+
paddingTop?: react_native.DimensionValue | undefined;
|
|
232
|
+
paddingVertical?: react_native.DimensionValue | undefined;
|
|
233
|
+
height?: react_native.DimensionValue | undefined;
|
|
234
|
+
maxHeight?: react_native.DimensionValue | undefined;
|
|
235
|
+
maxWidth?: react_native.DimensionValue | undefined;
|
|
236
|
+
minHeight?: react_native.DimensionValue | undefined;
|
|
237
|
+
minWidth?: react_native.DimensionValue | undefined;
|
|
238
|
+
width?: react_native.DimensionValue | undefined;
|
|
239
|
+
borderBlockColor?: react_native.ColorValue | undefined;
|
|
240
|
+
borderBlockEndColor?: react_native.ColorValue | undefined;
|
|
241
|
+
borderBlockStartColor?: react_native.ColorValue | undefined;
|
|
242
|
+
borderBottomColor?: react_native.ColorValue | undefined;
|
|
243
|
+
borderBottomEndRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
244
|
+
borderBottomStartRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
245
|
+
borderBottomWidth?: number | undefined | undefined;
|
|
246
|
+
borderColor?: react_native.ColorValue | undefined;
|
|
247
|
+
borderCurve?: "circular" | "continuous" | undefined | undefined;
|
|
248
|
+
borderEndColor?: react_native.ColorValue | undefined;
|
|
249
|
+
borderEndEndRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
250
|
+
borderEndStartRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
251
|
+
borderEndWidth?: number | undefined | undefined;
|
|
252
|
+
borderRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
253
|
+
borderStartColor?: react_native.ColorValue | undefined;
|
|
254
|
+
borderStartEndRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
255
|
+
borderStartStartRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
256
|
+
borderStartWidth?: number | undefined | undefined;
|
|
257
|
+
borderStyle?: "solid" | "dotted" | "dashed" | undefined | undefined;
|
|
258
|
+
borderTopColor?: react_native.ColorValue | undefined;
|
|
259
|
+
borderTopEndRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
260
|
+
borderTopStartRadius?: string | react_native.AnimatableNumericValue | undefined;
|
|
261
|
+
borderTopWidth?: number | undefined | undefined;
|
|
262
|
+
borderWidth?: number | undefined | undefined;
|
|
263
|
+
backfaceVisibility?: "visible" | "hidden" | undefined | undefined;
|
|
264
|
+
backgroundColor?: react_native.ColorValue | undefined;
|
|
265
|
+
boxShadow?: string | readonly react_native.BoxShadowValue[] | undefined;
|
|
266
|
+
cursor?: react_native.CursorValue | undefined;
|
|
267
|
+
elevation?: number | undefined | undefined;
|
|
268
|
+
experimental_backgroundImage?: string | readonly react_native.GradientValue[] | undefined;
|
|
269
|
+
filter?: string | readonly react_native.FilterFunction[] | undefined;
|
|
270
|
+
isolation?: "auto" | "isolate" | undefined | undefined;
|
|
271
|
+
mixBlendMode?: react_native.BlendMode | undefined;
|
|
272
|
+
opacity?: react_native.AnimatableNumericValue | undefined;
|
|
273
|
+
outlineColor?: react_native.ColorValue | undefined;
|
|
274
|
+
outlineOffset?: react_native.AnimatableNumericValue | undefined;
|
|
275
|
+
outlineStyle?: "solid" | "dotted" | "dashed" | undefined | undefined;
|
|
276
|
+
outlineWidth?: react_native.AnimatableNumericValue | undefined;
|
|
277
|
+
shadowColor?: react_native.ColorValue | undefined;
|
|
278
|
+
shadowOffset?: Readonly<{
|
|
279
|
+
width: number;
|
|
280
|
+
height: number;
|
|
281
|
+
}> | undefined;
|
|
282
|
+
shadowOpacity?: react_native.AnimatableNumericValue | undefined;
|
|
283
|
+
shadowRadius?: number | undefined | undefined;
|
|
284
|
+
rotation?: react_native.AnimatableNumericValue | undefined;
|
|
285
|
+
scaleX?: react_native.AnimatableNumericValue | undefined;
|
|
286
|
+
scaleY?: react_native.AnimatableNumericValue | undefined;
|
|
287
|
+
transform?: string | readonly (({
|
|
288
|
+
scaleX: react_native.AnimatableNumericValue;
|
|
289
|
+
} & {
|
|
290
|
+
scaleY?: undefined;
|
|
291
|
+
translateX?: undefined;
|
|
292
|
+
translateY?: undefined;
|
|
293
|
+
scale?: undefined;
|
|
294
|
+
skewX?: undefined;
|
|
295
|
+
skewY?: undefined;
|
|
296
|
+
perspective?: undefined;
|
|
297
|
+
rotate?: undefined;
|
|
298
|
+
rotateX?: undefined;
|
|
299
|
+
rotateY?: undefined;
|
|
300
|
+
rotateZ?: undefined;
|
|
301
|
+
matrix?: undefined;
|
|
302
|
+
}) | ({
|
|
303
|
+
scaleY: react_native.AnimatableNumericValue;
|
|
304
|
+
} & {
|
|
305
|
+
scaleX?: undefined;
|
|
306
|
+
translateX?: undefined;
|
|
307
|
+
translateY?: undefined;
|
|
308
|
+
scale?: undefined;
|
|
309
|
+
skewX?: undefined;
|
|
310
|
+
skewY?: undefined;
|
|
311
|
+
perspective?: undefined;
|
|
312
|
+
rotate?: undefined;
|
|
313
|
+
rotateX?: undefined;
|
|
314
|
+
rotateY?: undefined;
|
|
315
|
+
rotateZ?: undefined;
|
|
316
|
+
matrix?: undefined;
|
|
317
|
+
}) | ({
|
|
318
|
+
translateX: react_native.AnimatableNumericValue | `${number}%`;
|
|
319
|
+
} & {
|
|
320
|
+
scaleX?: undefined;
|
|
321
|
+
scaleY?: undefined;
|
|
322
|
+
translateY?: undefined;
|
|
323
|
+
scale?: undefined;
|
|
324
|
+
skewX?: undefined;
|
|
325
|
+
skewY?: undefined;
|
|
326
|
+
perspective?: undefined;
|
|
327
|
+
rotate?: undefined;
|
|
328
|
+
rotateX?: undefined;
|
|
329
|
+
rotateY?: undefined;
|
|
330
|
+
rotateZ?: undefined;
|
|
331
|
+
matrix?: undefined;
|
|
332
|
+
}) | ({
|
|
333
|
+
translateY: react_native.AnimatableNumericValue | `${number}%`;
|
|
334
|
+
} & {
|
|
335
|
+
scaleX?: undefined;
|
|
336
|
+
scaleY?: undefined;
|
|
337
|
+
translateX?: undefined;
|
|
338
|
+
scale?: undefined;
|
|
339
|
+
skewX?: undefined;
|
|
340
|
+
skewY?: undefined;
|
|
341
|
+
perspective?: undefined;
|
|
342
|
+
rotate?: undefined;
|
|
343
|
+
rotateX?: undefined;
|
|
344
|
+
rotateY?: undefined;
|
|
345
|
+
rotateZ?: undefined;
|
|
346
|
+
matrix?: undefined;
|
|
347
|
+
}) | ({
|
|
348
|
+
scale: react_native.AnimatableNumericValue;
|
|
349
|
+
} & {
|
|
350
|
+
scaleX?: undefined;
|
|
351
|
+
scaleY?: undefined;
|
|
352
|
+
translateX?: undefined;
|
|
353
|
+
translateY?: undefined;
|
|
354
|
+
skewX?: undefined;
|
|
355
|
+
skewY?: undefined;
|
|
356
|
+
perspective?: undefined;
|
|
357
|
+
rotate?: undefined;
|
|
358
|
+
rotateX?: undefined;
|
|
359
|
+
rotateY?: undefined;
|
|
360
|
+
rotateZ?: undefined;
|
|
361
|
+
matrix?: undefined;
|
|
362
|
+
}) | ({
|
|
363
|
+
skewX: react_native.AnimatableStringValue;
|
|
364
|
+
} & {
|
|
365
|
+
scaleX?: undefined;
|
|
366
|
+
scaleY?: undefined;
|
|
367
|
+
translateX?: undefined;
|
|
368
|
+
translateY?: undefined;
|
|
369
|
+
scale?: undefined;
|
|
370
|
+
skewY?: undefined;
|
|
371
|
+
perspective?: undefined;
|
|
372
|
+
rotate?: undefined;
|
|
373
|
+
rotateX?: undefined;
|
|
374
|
+
rotateY?: undefined;
|
|
375
|
+
rotateZ?: undefined;
|
|
376
|
+
matrix?: undefined;
|
|
377
|
+
}) | ({
|
|
378
|
+
skewY: react_native.AnimatableStringValue;
|
|
379
|
+
} & {
|
|
380
|
+
scaleX?: undefined;
|
|
381
|
+
scaleY?: undefined;
|
|
382
|
+
translateX?: undefined;
|
|
383
|
+
translateY?: undefined;
|
|
384
|
+
scale?: undefined;
|
|
385
|
+
skewX?: undefined;
|
|
386
|
+
perspective?: undefined;
|
|
387
|
+
rotate?: undefined;
|
|
388
|
+
rotateX?: undefined;
|
|
389
|
+
rotateY?: undefined;
|
|
390
|
+
rotateZ?: undefined;
|
|
391
|
+
matrix?: undefined;
|
|
392
|
+
}) | ({
|
|
393
|
+
perspective: react_native.AnimatableNumericValue;
|
|
394
|
+
} & {
|
|
395
|
+
scaleX?: undefined;
|
|
396
|
+
scaleY?: undefined;
|
|
397
|
+
translateX?: undefined;
|
|
398
|
+
translateY?: undefined;
|
|
399
|
+
scale?: undefined;
|
|
400
|
+
skewX?: undefined;
|
|
401
|
+
skewY?: undefined;
|
|
402
|
+
rotate?: undefined;
|
|
403
|
+
rotateX?: undefined;
|
|
404
|
+
rotateY?: undefined;
|
|
405
|
+
rotateZ?: undefined;
|
|
406
|
+
matrix?: undefined;
|
|
407
|
+
}) | ({
|
|
408
|
+
rotate: react_native.AnimatableStringValue;
|
|
409
|
+
} & {
|
|
410
|
+
scaleX?: undefined;
|
|
411
|
+
scaleY?: undefined;
|
|
412
|
+
translateX?: undefined;
|
|
413
|
+
translateY?: undefined;
|
|
414
|
+
scale?: undefined;
|
|
415
|
+
skewX?: undefined;
|
|
416
|
+
skewY?: undefined;
|
|
417
|
+
perspective?: undefined;
|
|
418
|
+
rotateX?: undefined;
|
|
419
|
+
rotateY?: undefined;
|
|
420
|
+
rotateZ?: undefined;
|
|
421
|
+
matrix?: undefined;
|
|
422
|
+
}) | ({
|
|
423
|
+
rotateX: react_native.AnimatableStringValue;
|
|
424
|
+
} & {
|
|
425
|
+
scaleX?: undefined;
|
|
426
|
+
scaleY?: undefined;
|
|
427
|
+
translateX?: undefined;
|
|
428
|
+
translateY?: undefined;
|
|
429
|
+
scale?: undefined;
|
|
430
|
+
skewX?: undefined;
|
|
431
|
+
skewY?: undefined;
|
|
432
|
+
perspective?: undefined;
|
|
433
|
+
rotate?: undefined;
|
|
434
|
+
rotateY?: undefined;
|
|
435
|
+
rotateZ?: undefined;
|
|
436
|
+
matrix?: undefined;
|
|
437
|
+
}) | ({
|
|
438
|
+
rotateY: react_native.AnimatableStringValue;
|
|
439
|
+
} & {
|
|
440
|
+
scaleX?: undefined;
|
|
441
|
+
scaleY?: undefined;
|
|
442
|
+
translateX?: undefined;
|
|
443
|
+
translateY?: undefined;
|
|
444
|
+
scale?: undefined;
|
|
445
|
+
skewX?: undefined;
|
|
446
|
+
skewY?: undefined;
|
|
447
|
+
perspective?: undefined;
|
|
448
|
+
rotate?: undefined;
|
|
449
|
+
rotateX?: undefined;
|
|
450
|
+
rotateZ?: undefined;
|
|
451
|
+
matrix?: undefined;
|
|
452
|
+
}) | ({
|
|
453
|
+
rotateZ: react_native.AnimatableStringValue;
|
|
454
|
+
} & {
|
|
455
|
+
scaleX?: undefined;
|
|
456
|
+
scaleY?: undefined;
|
|
457
|
+
translateX?: undefined;
|
|
458
|
+
translateY?: undefined;
|
|
459
|
+
scale?: undefined;
|
|
460
|
+
skewX?: undefined;
|
|
461
|
+
skewY?: undefined;
|
|
462
|
+
perspective?: undefined;
|
|
463
|
+
rotate?: undefined;
|
|
464
|
+
rotateX?: undefined;
|
|
465
|
+
rotateY?: undefined;
|
|
466
|
+
matrix?: undefined;
|
|
467
|
+
}) | ({
|
|
468
|
+
matrix: react_native.AnimatableNumericValue[];
|
|
469
|
+
} & {
|
|
470
|
+
scaleX?: undefined;
|
|
471
|
+
scaleY?: undefined;
|
|
472
|
+
translateX?: undefined;
|
|
473
|
+
translateY?: undefined;
|
|
474
|
+
scale?: undefined;
|
|
475
|
+
skewX?: undefined;
|
|
476
|
+
skewY?: undefined;
|
|
477
|
+
perspective?: undefined;
|
|
478
|
+
rotate?: undefined;
|
|
479
|
+
rotateX?: undefined;
|
|
480
|
+
rotateY?: undefined;
|
|
481
|
+
rotateZ?: undefined;
|
|
482
|
+
}))[] | undefined;
|
|
483
|
+
transformMatrix?: number[] | undefined;
|
|
484
|
+
transformOrigin?: string | (string | number)[] | undefined;
|
|
485
|
+
translateX?: react_native.AnimatableNumericValue | undefined;
|
|
486
|
+
translateY?: react_native.AnimatableNumericValue | undefined;
|
|
487
|
+
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined | undefined;
|
|
488
|
+
hitSlop?: number | react_native.Insets | null | undefined;
|
|
489
|
+
id?: string | undefined | undefined;
|
|
490
|
+
needsOffscreenAlphaCompositing?: boolean | undefined | undefined;
|
|
491
|
+
onLayout?: ((event: react_native.LayoutChangeEvent) => void) | undefined | undefined;
|
|
492
|
+
removeClippedSubviews?: boolean | undefined | undefined;
|
|
493
|
+
testID?: string | undefined | undefined;
|
|
494
|
+
nativeID?: string | undefined | undefined;
|
|
495
|
+
collapsable?: boolean | undefined | undefined;
|
|
496
|
+
collapsableChildren?: boolean | undefined | undefined;
|
|
497
|
+
onBlur?: null | ((event: react_native.NativeSyntheticEvent<react_native.TargetedEvent>) => void) | undefined | undefined;
|
|
498
|
+
onFocus?: null | ((event: react_native.NativeSyntheticEvent<react_native.TargetedEvent>) => void) | undefined | undefined;
|
|
499
|
+
renderToHardwareTextureAndroid?: boolean | undefined | undefined;
|
|
500
|
+
focusable?: boolean | undefined | undefined;
|
|
501
|
+
tabIndex?: 0 | -1 | undefined | undefined;
|
|
502
|
+
shouldRasterizeIOS?: boolean | undefined | undefined;
|
|
503
|
+
isTVSelectable?: boolean | undefined | undefined;
|
|
504
|
+
hasTVPreferredFocus?: boolean | undefined | undefined;
|
|
505
|
+
tvParallaxShiftDistanceX?: number | undefined | undefined;
|
|
506
|
+
tvParallaxShiftDistanceY?: number | undefined | undefined;
|
|
507
|
+
tvParallaxTiltAngle?: number | undefined | undefined;
|
|
508
|
+
tvParallaxMagnification?: number | undefined | undefined;
|
|
509
|
+
onStartShouldSetResponder?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
|
|
510
|
+
onMoveShouldSetResponder?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
|
|
511
|
+
onResponderEnd?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
512
|
+
onResponderGrant?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
513
|
+
onResponderReject?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
514
|
+
onResponderMove?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
515
|
+
onResponderRelease?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
516
|
+
onResponderStart?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
517
|
+
onResponderTerminationRequest?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
|
|
518
|
+
onResponderTerminate?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
519
|
+
onStartShouldSetResponderCapture?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
|
|
520
|
+
onMoveShouldSetResponderCapture?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
|
|
521
|
+
onTouchStart?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
522
|
+
onTouchMove?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
523
|
+
onTouchEnd?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
524
|
+
onTouchCancel?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
525
|
+
onTouchEndCapture?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
526
|
+
onPointerEnter?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
527
|
+
onPointerEnterCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
528
|
+
onPointerLeave?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
529
|
+
onPointerLeaveCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
530
|
+
onPointerMove?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
531
|
+
onPointerMoveCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
532
|
+
onPointerCancel?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
533
|
+
onPointerCancelCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
534
|
+
onPointerDown?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
535
|
+
onPointerDownCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
536
|
+
onPointerUp?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
537
|
+
onPointerUpCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
|
|
538
|
+
accessible?: boolean | undefined | undefined;
|
|
539
|
+
accessibilityActions?: readonly Readonly<{
|
|
540
|
+
name: react_native.AccessibilityActionName | string;
|
|
541
|
+
label?: string | undefined;
|
|
542
|
+
}>[] | undefined;
|
|
543
|
+
accessibilityLabel?: string | undefined | undefined;
|
|
544
|
+
'aria-label'?: string | undefined | undefined;
|
|
545
|
+
accessibilityRole?: react_native.AccessibilityRole | undefined;
|
|
546
|
+
accessibilityState?: react_native.AccessibilityState | undefined;
|
|
547
|
+
'aria-busy'?: boolean | undefined | undefined;
|
|
548
|
+
'aria-checked'?: boolean | "mixed" | undefined | undefined;
|
|
549
|
+
'aria-disabled'?: boolean | undefined | undefined;
|
|
550
|
+
'aria-expanded'?: boolean | undefined | undefined;
|
|
551
|
+
'aria-selected'?: boolean | undefined | undefined;
|
|
552
|
+
accessibilityHint?: string | undefined | undefined;
|
|
553
|
+
accessibilityValue?: react_native.AccessibilityValue | undefined;
|
|
554
|
+
'aria-valuemax'?: number | undefined;
|
|
555
|
+
'aria-valuemin'?: number | undefined;
|
|
556
|
+
'aria-valuenow'?: number | undefined;
|
|
557
|
+
'aria-valuetext'?: string | undefined;
|
|
558
|
+
onAccessibilityAction?: ((event: react_native.AccessibilityActionEvent) => void) | undefined | undefined;
|
|
559
|
+
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined | undefined;
|
|
560
|
+
'aria-hidden'?: boolean | undefined | undefined;
|
|
561
|
+
'aria-modal'?: boolean | undefined | undefined;
|
|
562
|
+
role?: react_native.Role | undefined;
|
|
563
|
+
accessibilityLabelledBy?: string | string[] | undefined | undefined;
|
|
564
|
+
'aria-labelledby'?: string | undefined | undefined;
|
|
565
|
+
accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined | undefined;
|
|
566
|
+
'aria-live'?: ("polite" | "assertive" | "off") | undefined | undefined;
|
|
567
|
+
screenReaderFocusable?: boolean | undefined | undefined;
|
|
568
|
+
accessibilityElementsHidden?: boolean | undefined | undefined;
|
|
569
|
+
accessibilityViewIsModal?: boolean | undefined | undefined;
|
|
570
|
+
onAccessibilityEscape?: (() => void) | undefined | undefined;
|
|
571
|
+
onAccessibilityTap?: (() => void) | undefined | undefined;
|
|
572
|
+
onMagicTap?: (() => void) | undefined | undefined;
|
|
573
|
+
accessibilityIgnoresInvertColors?: boolean | undefined | undefined;
|
|
574
|
+
accessibilityLanguage?: string | undefined | undefined;
|
|
575
|
+
accessibilityShowsLargeContentViewer?: boolean | undefined | undefined;
|
|
576
|
+
accessibilityLargeContentTitle?: string | undefined | undefined;
|
|
577
|
+
accessibilityRespondsToUserInteraction?: boolean | undefined | undefined;
|
|
578
|
+
onPress?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
579
|
+
onPressIn?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
580
|
+
onPressOut?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
581
|
+
onLongPress?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
|
|
582
|
+
delayLongPress?: null | number | undefined | undefined;
|
|
583
|
+
asChild?: boolean | undefined;
|
|
584
|
+
onHoverIn?: null | ((event: react_native.MouseEvent) => void) | undefined | undefined;
|
|
585
|
+
onHoverOut?: null | ((event: react_native.MouseEvent) => void) | undefined | undefined;
|
|
586
|
+
cancelable?: null | boolean | undefined | undefined;
|
|
587
|
+
delayHoverIn?: number | null | undefined | undefined;
|
|
588
|
+
delayHoverOut?: number | null | undefined | undefined;
|
|
589
|
+
pressRetentionOffset?: number | react_native.Insets | null | undefined;
|
|
590
|
+
android_disableSound?: null | boolean | undefined | undefined;
|
|
591
|
+
android_ripple?: react_native.PressableAndroidRippleConfig | null | undefined;
|
|
592
|
+
testOnly_pressed?: null | boolean | undefined | undefined;
|
|
593
|
+
unstable_pressDelay?: number | undefined | undefined;
|
|
594
|
+
animation?: AnimationProp | undefined;
|
|
595
|
+
} & Omit<ViewStyleProps, keyof {
|
|
596
|
+
variant?: ButtonVariant;
|
|
597
|
+
size?: ButtonSize;
|
|
598
|
+
radius?: RadiusKey;
|
|
599
|
+
color?: string;
|
|
600
|
+
isDisabled?: boolean;
|
|
601
|
+
isLoading?: boolean;
|
|
602
|
+
isIconOnly?: boolean;
|
|
603
|
+
style?: react_native.StyleProp<react_native.ViewStyle> | ((state: react_native.PressableStateCallbackType) => react_native.StyleProp<react_native.ViewStyle>);
|
|
604
|
+
children?: react.ReactNode;
|
|
605
|
+
}> & react.RefAttributes<react_native.View>> & {
|
|
606
|
+
Label: react.ForwardRefExoticComponent<react_native.TextProps & Omit<TextStyleProps, keyof react_native.TextProps> & {
|
|
607
|
+
children?: react.ReactNode;
|
|
608
|
+
} & react.RefAttributes<react_native.Text>>;
|
|
609
|
+
Icon: typeof ButtonIcon;
|
|
610
|
+
Spinner: typeof ButtonSpinner;
|
|
611
|
+
};
|
|
612
|
+
|
|
613
|
+
export { Button, type ButtonContextValue, type ButtonIconProps, type ButtonLabelProps, type ButtonProps, type ButtonSize, type ButtonSlot, type ButtonSpinnerProps, type ButtonVariant, buttonRecipe, useButton };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Button,
|
|
3
|
+
buttonRecipe,
|
|
4
|
+
useButton
|
|
5
|
+
} from "../../chunk-YGYYJ3LQ.js";
|
|
6
|
+
import "../../chunk-3GFRSZYR.js";
|
|
7
|
+
import "../../chunk-NCTOTTVW.js";
|
|
8
|
+
import "../../chunk-FHUYHV6J.js";
|
|
9
|
+
import "../../chunk-F6W3JQ7K.js";
|
|
10
|
+
import "../../chunk-6UEZJRVI.js";
|
|
11
|
+
import "../../chunk-423RQBOX.js";
|
|
12
|
+
import "../../chunk-EGLLDKN6.js";
|
|
13
|
+
import "../../chunk-4GTAZM2C.js";
|
|
14
|
+
import "../../chunk-A3EGFI6T.js";
|
|
15
|
+
import "../../chunk-K72UDPVN.js";
|
|
16
|
+
import "../../chunk-36PRYGAM.js";
|
|
17
|
+
import "../../chunk-M63GFNKV.js";
|
|
18
|
+
export {
|
|
19
|
+
Button,
|
|
20
|
+
buttonRecipe,
|
|
21
|
+
useButton
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkGFUZ3MUTcjs = require('../../chunk-GFUZ3MUT.cjs');
|
|
8
|
+
require('../../chunk-3E7CDKFO.cjs');
|
|
9
|
+
require('../../chunk-7DPL3ZDS.cjs');
|
|
10
|
+
require('../../chunk-EJQCQPET.cjs');
|
|
11
|
+
require('../../chunk-FNEUOBCV.cjs');
|
|
12
|
+
require('../../chunk-57SJ4LJF.cjs');
|
|
13
|
+
require('../../chunk-7GHM4GKL.cjs');
|
|
14
|
+
require('../../chunk-H4E4HDEP.cjs');
|
|
15
|
+
require('../../chunk-TK44VBIE.cjs');
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
exports.CARD_BACKGROUND = _chunkGFUZ3MUTcjs.CARD_BACKGROUND; exports.Card = _chunkGFUZ3MUTcjs.Card; exports.cardRecipe = _chunkGFUZ3MUTcjs.cardRecipe; exports.markBackground = _chunkGFUZ3MUTcjs.markBackground; exports.useCard = _chunkGFUZ3MUTcjs.useCard;
|