@tamagui/button 1.15.20 → 1.15.21
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/package.json +7 -7
- package/types/Button.d.ts +91 -77
- package/types/Button.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/button",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.21",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@tamagui/font-size": "1.15.
|
|
33
|
-
"@tamagui/get-button-sized": "1.15.
|
|
34
|
-
"@tamagui/helpers-tamagui": "1.15.
|
|
35
|
-
"@tamagui/text": "1.15.
|
|
36
|
-
"@tamagui/web": "1.15.
|
|
32
|
+
"@tamagui/font-size": "1.15.21",
|
|
33
|
+
"@tamagui/get-button-sized": "1.15.21",
|
|
34
|
+
"@tamagui/helpers-tamagui": "1.15.21",
|
|
35
|
+
"@tamagui/text": "1.15.21",
|
|
36
|
+
"@tamagui/web": "1.15.21"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": "*"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@tamagui/build": "1.15.
|
|
42
|
+
"@tamagui/build": "1.15.21",
|
|
43
43
|
"react": "^18.2.0",
|
|
44
44
|
"vitest": "^0.26.3"
|
|
45
45
|
},
|
package/types/Button.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ type ButtonProps = Omit<TextParentStyles, 'TextComponent'> & GetProps<typeof But
|
|
|
35
35
|
*/
|
|
36
36
|
unstyled?: boolean;
|
|
37
37
|
};
|
|
38
|
-
declare const ButtonFrame: import("@tamagui/web").TamaguiComponent<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
38
|
+
declare const ButtonFrame: import("@tamagui/web").TamaguiComponent<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
39
39
|
readonly fullscreen?: boolean | undefined;
|
|
40
40
|
readonly elevation?: SizeTokens | undefined;
|
|
41
41
|
} & {
|
|
@@ -55,7 +55,7 @@ declare const ButtonFrame: import("@tamagui/web").TamaguiComponent<Omit<import("
|
|
|
55
55
|
readonly size?: SizeTokens | undefined;
|
|
56
56
|
readonly active?: boolean | undefined;
|
|
57
57
|
readonly disabled?: boolean | undefined;
|
|
58
|
-
} & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
58
|
+
} & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
59
59
|
readonly fullscreen?: boolean | undefined;
|
|
60
60
|
readonly elevation?: SizeTokens | undefined;
|
|
61
61
|
} & {
|
|
@@ -75,7 +75,7 @@ declare const ButtonFrame: import("@tamagui/web").TamaguiComponent<Omit<import("
|
|
|
75
75
|
readonly size?: SizeTokens | undefined;
|
|
76
76
|
readonly active?: boolean | undefined;
|
|
77
77
|
readonly disabled?: boolean | undefined;
|
|
78
|
-
}>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
78
|
+
}>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
79
79
|
readonly fullscreen?: boolean | undefined;
|
|
80
80
|
readonly elevation?: SizeTokens | undefined;
|
|
81
81
|
} & {
|
|
@@ -95,7 +95,7 @@ declare const ButtonFrame: import("@tamagui/web").TamaguiComponent<Omit<import("
|
|
|
95
95
|
readonly size?: SizeTokens | undefined;
|
|
96
96
|
readonly active?: boolean | undefined;
|
|
97
97
|
readonly disabled?: boolean | undefined;
|
|
98
|
-
}>>, TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps, {
|
|
98
|
+
}>>, TamaguiElement, Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps, {
|
|
99
99
|
readonly fullscreen?: boolean | undefined;
|
|
100
100
|
readonly elevation?: SizeTokens | undefined;
|
|
101
101
|
} & {
|
|
@@ -118,15 +118,15 @@ declare const ButtonFrame: import("@tamagui/web").TamaguiComponent<Omit<import("
|
|
|
118
118
|
}, {
|
|
119
119
|
displayName: string | undefined;
|
|
120
120
|
}>;
|
|
121
|
-
declare const ButtonTextFrame: import("@tamagui/web").TamaguiComponent<Omit<import("react-native").TextProps, "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendsBaseTextProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
|
|
121
|
+
declare const ButtonTextFrame: import("@tamagui/web").TamaguiComponent<Omit<import("react-native/types").TextProps, "children" | ("onLayout" | keyof import("react-native/types").GestureResponderHandlers)> & import("@tamagui/web").ExtendsBaseTextProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
|
|
122
122
|
readonly size?: import("@tamagui/web").FontSizeTokens | undefined;
|
|
123
123
|
}, "unstyled"> & {
|
|
124
124
|
readonly unstyled?: boolean | undefined;
|
|
125
|
-
} & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").TextProps, "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendsBaseTextProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
|
|
125
|
+
} & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native/types").TextProps, "children" | ("onLayout" | keyof import("react-native/types").GestureResponderHandlers)> & import("@tamagui/web").ExtendsBaseTextProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
|
|
126
126
|
readonly size?: import("@tamagui/web").FontSizeTokens | undefined;
|
|
127
127
|
}, "unstyled"> & {
|
|
128
128
|
readonly unstyled?: boolean | undefined;
|
|
129
|
-
}>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").TextProps, "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendsBaseTextProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
|
|
129
|
+
}>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native/types").TextProps, "children" | ("onLayout" | keyof import("react-native/types").GestureResponderHandlers)> & import("@tamagui/web").ExtendsBaseTextProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
|
|
130
130
|
readonly size?: import("@tamagui/web").FontSizeTokens | undefined;
|
|
131
131
|
}, "unstyled"> & {
|
|
132
132
|
readonly unstyled?: boolean | undefined;
|
|
@@ -144,7 +144,7 @@ declare const createButtonScope: import("@tamagui/create-context").CreateScope;
|
|
|
144
144
|
declare const buttonStaticConfig: {
|
|
145
145
|
inlineProps: Set<string>;
|
|
146
146
|
};
|
|
147
|
-
declare const Button: ((props: Omit<Omit<TextParentStyles, "TextComponent"> & Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
147
|
+
declare const Button: ((props: Omit<Omit<TextParentStyles, "TextComponent"> & Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
148
148
|
readonly fullscreen?: boolean | undefined;
|
|
149
149
|
readonly elevation?: SizeTokens | undefined;
|
|
150
150
|
} & {
|
|
@@ -164,7 +164,7 @@ declare const Button: ((props: Omit<Omit<TextParentStyles, "TextComponent"> & Om
|
|
|
164
164
|
readonly size?: SizeTokens | undefined;
|
|
165
165
|
readonly active?: boolean | undefined;
|
|
166
166
|
readonly disabled?: boolean | undefined;
|
|
167
|
-
} & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
167
|
+
} & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
168
168
|
readonly fullscreen?: boolean | undefined;
|
|
169
169
|
readonly elevation?: SizeTokens | undefined;
|
|
170
170
|
} & {
|
|
@@ -184,7 +184,7 @@ declare const Button: ((props: Omit<Omit<TextParentStyles, "TextComponent"> & Om
|
|
|
184
184
|
readonly size?: SizeTokens | undefined;
|
|
185
185
|
readonly active?: boolean | undefined;
|
|
186
186
|
readonly disabled?: boolean | undefined;
|
|
187
|
-
}>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
187
|
+
}>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
188
188
|
readonly fullscreen?: boolean | undefined;
|
|
189
189
|
readonly elevation?: SizeTokens | undefined;
|
|
190
190
|
} & {
|
|
@@ -234,15 +234,15 @@ declare const Button: ((props: Omit<Omit<TextParentStyles, "TextComponent"> & Om
|
|
|
234
234
|
} & {
|
|
235
235
|
__scopeButton?: Scope;
|
|
236
236
|
} & import("react").RefAttributes<TamaguiElement>, "theme" | "themeInverse"> & ThemeableProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null) & {
|
|
237
|
-
Text: import("react").ForwardRefExoticComponent<Omit<import("react-native").TextProps, "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendsBaseTextProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
|
|
237
|
+
Text: import("react").ForwardRefExoticComponent<Omit<import("react-native/types").TextProps, "children" | ("onLayout" | keyof import("react-native/types").GestureResponderHandlers)> & import("@tamagui/web").ExtendsBaseTextProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
|
|
238
238
|
readonly size?: import("@tamagui/web").FontSizeTokens | undefined;
|
|
239
239
|
}, "unstyled"> & {
|
|
240
240
|
readonly unstyled?: boolean | undefined;
|
|
241
|
-
} & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").TextProps, "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendsBaseTextProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
|
|
241
|
+
} & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native/types").TextProps, "children" | ("onLayout" | keyof import("react-native/types").GestureResponderHandlers)> & import("@tamagui/web").ExtendsBaseTextProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
|
|
242
242
|
readonly size?: import("@tamagui/web").FontSizeTokens | undefined;
|
|
243
243
|
}, "unstyled"> & {
|
|
244
244
|
readonly unstyled?: boolean | undefined;
|
|
245
|
-
}>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").TextProps, "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendsBaseTextProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
|
|
245
|
+
}>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native/types").TextProps, "children" | ("onLayout" | keyof import("react-native/types").GestureResponderHandlers)> & import("@tamagui/web").ExtendsBaseTextProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
|
|
246
246
|
readonly size?: import("@tamagui/web").FontSizeTokens | undefined;
|
|
247
247
|
}, "unstyled"> & {
|
|
248
248
|
readonly unstyled?: boolean | undefined;
|
|
@@ -261,10 +261,11 @@ declare function useButton(propsIn: ButtonProps, { Text }?: {
|
|
|
261
261
|
isNested: boolean;
|
|
262
262
|
props: {
|
|
263
263
|
children: string | number | boolean | JSX.Element | import("react").ReactFragment | null | undefined;
|
|
264
|
-
hitSlop?: import("react-native").Insets | (import("react-native").Insets & number) | undefined;
|
|
264
|
+
hitSlop?: import("react-native/types").Insets | (import("react-native/types").Insets & number) | undefined;
|
|
265
|
+
id?: string | undefined;
|
|
265
266
|
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined;
|
|
266
267
|
removeClippedSubviews?: boolean | undefined;
|
|
267
|
-
style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
268
|
+
style?: import("react-native/types").StyleProp<import("react-native/types").ViewStyle>;
|
|
268
269
|
testID?: string | undefined;
|
|
269
270
|
nativeID?: string | undefined;
|
|
270
271
|
collapsable?: boolean | undefined;
|
|
@@ -274,49 +275,64 @@ declare function useButton(propsIn: ButtonProps, { Text }?: {
|
|
|
274
275
|
shouldRasterizeIOS?: boolean | undefined;
|
|
275
276
|
isTVSelectable?: boolean | undefined;
|
|
276
277
|
hasTVPreferredFocus?: boolean | undefined;
|
|
277
|
-
tvParallaxProperties?: import("react-native").TVParallaxProperties | undefined;
|
|
278
|
+
tvParallaxProperties?: import("react-native/types").TVParallaxProperties | undefined;
|
|
278
279
|
tvParallaxShiftDistanceX?: number | undefined;
|
|
279
280
|
tvParallaxShiftDistanceY?: number | undefined;
|
|
280
281
|
tvParallaxTiltAngle?: number | undefined;
|
|
281
282
|
tvParallaxMagnification?: number | undefined;
|
|
282
|
-
onTouchStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
283
|
-
onTouchMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
284
|
-
onTouchEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
285
|
-
onTouchCancel?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
286
|
-
onTouchEndCapture?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
287
|
-
onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
288
|
-
onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
289
|
-
onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
290
|
-
onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
291
|
-
onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
292
|
-
onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
293
|
-
onPointerCancel?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
294
|
-
onPointerCancelCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
295
|
-
onPointerDown?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
296
|
-
onPointerDownCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
297
|
-
onPointerUp?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
298
|
-
onPointerUpCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
283
|
+
onTouchStart?: ((event: import("react-native/types").GestureResponderEvent) => void) | undefined;
|
|
284
|
+
onTouchMove?: ((event: import("react-native/types").GestureResponderEvent) => void) | undefined;
|
|
285
|
+
onTouchEnd?: ((event: import("react-native/types").GestureResponderEvent) => void) | undefined;
|
|
286
|
+
onTouchCancel?: ((event: import("react-native/types").GestureResponderEvent) => void) | undefined;
|
|
287
|
+
onTouchEndCapture?: ((event: import("react-native/types").GestureResponderEvent) => void) | undefined;
|
|
288
|
+
onPointerEnter?: ((event: import("react-native/types").PointerEvent) => void) | undefined;
|
|
289
|
+
onPointerEnterCapture?: ((event: import("react-native/types").PointerEvent) => void) | undefined;
|
|
290
|
+
onPointerLeave?: ((event: import("react-native/types").PointerEvent) => void) | undefined;
|
|
291
|
+
onPointerLeaveCapture?: ((event: import("react-native/types").PointerEvent) => void) | undefined;
|
|
292
|
+
onPointerMove?: ((event: import("react-native/types").PointerEvent) => void) | undefined;
|
|
293
|
+
onPointerMoveCapture?: ((event: import("react-native/types").PointerEvent) => void) | undefined;
|
|
294
|
+
onPointerCancel?: ((event: import("react-native/types").PointerEvent) => void) | undefined;
|
|
295
|
+
onPointerCancelCapture?: ((event: import("react-native/types").PointerEvent) => void) | undefined;
|
|
296
|
+
onPointerDown?: ((event: import("react-native/types").PointerEvent) => void) | undefined;
|
|
297
|
+
onPointerDownCapture?: ((event: import("react-native/types").PointerEvent) => void) | undefined;
|
|
298
|
+
onPointerUp?: ((event: import("react-native/types").PointerEvent) => void) | undefined;
|
|
299
|
+
onPointerUpCapture?: ((event: import("react-native/types").PointerEvent) => void) | undefined;
|
|
299
300
|
accessible?: boolean | undefined;
|
|
300
301
|
accessibilityActions?: readonly Readonly<{
|
|
301
302
|
name: string;
|
|
302
303
|
label?: string | undefined;
|
|
303
304
|
}>[] | undefined;
|
|
304
305
|
accessibilityLabel?: string | undefined;
|
|
305
|
-
|
|
306
|
-
|
|
306
|
+
'aria-label'?: string | undefined;
|
|
307
|
+
accessibilityRole?: import("react-native/types").AccessibilityRole | undefined;
|
|
308
|
+
accessibilityState?: import("react-native/types").AccessibilityState | undefined;
|
|
309
|
+
'aria-busy'?: boolean | undefined;
|
|
310
|
+
'aria-checked'?: boolean | "mixed" | undefined;
|
|
311
|
+
'aria-disabled'?: boolean | undefined;
|
|
312
|
+
'aria-expanded'?: boolean | undefined;
|
|
313
|
+
'aria-selected'?: boolean | undefined;
|
|
314
|
+
'aria-labelledby'?: string | undefined;
|
|
307
315
|
accessibilityHint?: string | undefined;
|
|
308
|
-
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
316
|
+
accessibilityValue?: import("react-native/types").AccessibilityValue | undefined;
|
|
317
|
+
'aria-valuemax'?: number | undefined;
|
|
318
|
+
'aria-valuemin'?: number | undefined;
|
|
319
|
+
'aria-valuenow'?: number | undefined;
|
|
320
|
+
'aria-valuetext'?: string | undefined;
|
|
321
|
+
onAccessibilityAction?: ((event: import("react-native/types").AccessibilityActionEvent) => void) | undefined;
|
|
312
322
|
importantForAccessibility?: "auto" | "yes" | "no" | "no-hide-descendants" | undefined;
|
|
323
|
+
'aria-hidden'?: boolean | undefined;
|
|
324
|
+
'aria-live'?: "polite" | "assertive" | "off" | undefined;
|
|
325
|
+
'aria-modal'?: boolean | undefined;
|
|
326
|
+
role?: "none" | "alert" | "alertdialog" | "application" | "article" | "banner" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "dialog" | "directory" | "document" | "feed" | "figure" | "form" | "grid" | "group" | "heading" | "img" | "link" | "list" | "listitem" | "log" | "main" | "marquee" | "math" | "menu" | "menubar" | "menuitem" | "meter" | "navigation" | "note" | "option" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "summary" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
|
|
327
|
+
accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined;
|
|
328
|
+
accessibilityLabelledBy?: string | string[] | undefined;
|
|
313
329
|
accessibilityElementsHidden?: boolean | undefined;
|
|
314
|
-
accessibilityLanguage?: string | undefined;
|
|
315
330
|
accessibilityViewIsModal?: boolean | undefined;
|
|
316
331
|
onAccessibilityEscape?: (() => void) | undefined;
|
|
317
332
|
onAccessibilityTap?: (() => void) | undefined;
|
|
318
333
|
onMagicTap?: (() => void) | undefined;
|
|
319
334
|
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
335
|
+
accessibilityLanguage?: string | undefined;
|
|
320
336
|
target?: string | undefined;
|
|
321
337
|
asChild?: boolean | undefined;
|
|
322
338
|
spaceDirection?: import("@tamagui/web").SpaceDirection | undefined;
|
|
@@ -329,15 +345,13 @@ declare function useButton(propsIn: ButtonProps, { Text }?: {
|
|
|
329
345
|
disabled?: boolean | undefined;
|
|
330
346
|
className?: string | undefined;
|
|
331
347
|
themeShallow?: boolean | undefined;
|
|
332
|
-
id?: string | undefined;
|
|
333
348
|
tag: string | undefined;
|
|
334
349
|
componentName?: string | undefined;
|
|
335
350
|
tabIndex?: string | number | undefined;
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
onPressOut?: ((event: import("react-native").GestureResponderEvent) => void) | null | undefined;
|
|
351
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
352
|
+
onPress?: ((event: import("react-native/types").GestureResponderEvent) => void) | null | undefined;
|
|
353
|
+
onPressIn?: ((event: import("react-native/types").GestureResponderEvent) => void) | null | undefined;
|
|
354
|
+
onPressOut?: ((event: import("react-native/types").GestureResponderEvent) => void) | null | undefined;
|
|
341
355
|
onHoverIn?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
342
356
|
onHoverOut?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
343
357
|
onMouseEnter?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
@@ -346,23 +360,23 @@ declare function useButton(propsIn: ButtonProps, { Text }?: {
|
|
|
346
360
|
onMouseUp?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
347
361
|
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
348
362
|
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
349
|
-
backgroundColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native").OpaqueColorValue | undefined;
|
|
350
|
-
borderBottomColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native").OpaqueColorValue | undefined;
|
|
363
|
+
backgroundColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native/types").OpaqueColorValue | undefined;
|
|
364
|
+
borderBottomColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native/types").OpaqueColorValue | undefined;
|
|
351
365
|
borderBottomEndRadius?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").RadiusTokens | undefined;
|
|
352
366
|
borderBottomLeftRadius?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").RadiusTokens | undefined;
|
|
353
367
|
borderBottomRightRadius?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").RadiusTokens | undefined;
|
|
354
368
|
borderBottomStartRadius?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").RadiusTokens | undefined;
|
|
355
369
|
borderBottomWidth?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
356
|
-
borderColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native").OpaqueColorValue | undefined;
|
|
357
|
-
borderEndColor?: import("react-native").ColorValue | undefined;
|
|
358
|
-
borderLeftColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native").OpaqueColorValue | undefined;
|
|
370
|
+
borderColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native/types").OpaqueColorValue | undefined;
|
|
371
|
+
borderEndColor?: import("react-native/types").ColorValue | undefined;
|
|
372
|
+
borderLeftColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native/types").OpaqueColorValue | undefined;
|
|
359
373
|
borderLeftWidth?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
360
374
|
borderRadius?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").RadiusTokens | undefined;
|
|
361
|
-
borderRightColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native").OpaqueColorValue | undefined;
|
|
375
|
+
borderRightColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native/types").OpaqueColorValue | undefined;
|
|
362
376
|
borderRightWidth?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
363
|
-
borderStartColor?: import("react-native").ColorValue | undefined;
|
|
377
|
+
borderStartColor?: import("react-native/types").ColorValue | undefined;
|
|
364
378
|
borderStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
365
|
-
borderTopColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native").OpaqueColorValue | undefined;
|
|
379
|
+
borderTopColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native/types").OpaqueColorValue | undefined;
|
|
366
380
|
borderTopEndRadius?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").RadiusTokens | undefined;
|
|
367
381
|
borderTopLeftRadius?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").RadiusTokens | undefined;
|
|
368
382
|
borderTopRightRadius?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").RadiusTokens | undefined;
|
|
@@ -371,9 +385,9 @@ declare function useButton(propsIn: ButtonProps, { Text }?: {
|
|
|
371
385
|
borderWidth?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
372
386
|
opacity?: number | undefined;
|
|
373
387
|
alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
|
|
374
|
-
alignItems?: import("react-native").FlexAlignType | undefined;
|
|
375
|
-
alignSelf?: "auto" | import("react-native").FlexAlignType | undefined;
|
|
376
|
-
aspectRatio?: number | undefined;
|
|
388
|
+
alignItems?: import("react-native/types").FlexAlignType | undefined;
|
|
389
|
+
alignSelf?: "auto" | import("react-native/types").FlexAlignType | undefined;
|
|
390
|
+
aspectRatio?: string | number | undefined;
|
|
377
391
|
borderEndWidth?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
378
392
|
borderStartWidth?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
379
393
|
bottom?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
@@ -417,7 +431,7 @@ declare function useButton(propsIn: ButtonProps, { Text }?: {
|
|
|
417
431
|
width?: import("@tamagui/web").ThemeValueFallback | SizeTokens | undefined;
|
|
418
432
|
zIndex?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").ZIndexTokens | undefined;
|
|
419
433
|
direction?: "inherit" | "ltr" | "rtl" | undefined;
|
|
420
|
-
shadowColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native").OpaqueColorValue | undefined;
|
|
434
|
+
shadowColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native/types").OpaqueColorValue | undefined;
|
|
421
435
|
shadowOffset?: import("@tamagui/web").ThemeValueFallback | {
|
|
422
436
|
width: import("@tamagui/web").SpaceTokens;
|
|
423
437
|
height: import("@tamagui/web").SpaceTokens;
|
|
@@ -427,7 +441,7 @@ declare function useButton(propsIn: ButtonProps, { Text }?: {
|
|
|
427
441
|
} | undefined;
|
|
428
442
|
shadowOpacity?: number | undefined;
|
|
429
443
|
shadowRadius?: import("@tamagui/web").ThemeValueFallback | SizeTokens | undefined;
|
|
430
|
-
transform?: (import("react-native").PerpectiveTransform | import("react-native").RotateTransform | import("react-native").RotateXTransform | import("react-native").RotateYTransform | import("react-native").RotateZTransform | import("react-native").ScaleTransform | import("react-native").ScaleXTransform | import("react-native").ScaleYTransform | import("react-native").TranslateXTransform | import("react-native").TranslateYTransform | import("react-native").SkewXTransform | import("react-native").SkewYTransform | import("react-native").MatrixTransform)[] | undefined;
|
|
444
|
+
transform?: (import("react-native/types").PerpectiveTransform | import("react-native/types").RotateTransform | import("react-native/types").RotateXTransform | import("react-native/types").RotateYTransform | import("react-native/types").RotateZTransform | import("react-native/types").ScaleTransform | import("react-native/types").ScaleXTransform | import("react-native/types").ScaleYTransform | import("react-native/types").TranslateXTransform | import("react-native/types").TranslateYTransform | import("react-native/types").SkewXTransform | import("react-native/types").SkewYTransform | import("react-native/types").MatrixTransform)[] | undefined;
|
|
431
445
|
transformMatrix?: number[] | undefined;
|
|
432
446
|
rotation?: number | undefined;
|
|
433
447
|
scaleX?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
@@ -458,24 +472,24 @@ declare function useButton(propsIn: ButtonProps, { Text }?: {
|
|
|
458
472
|
outlineWidth?: import("@tamagui/web").SpaceTokens | undefined;
|
|
459
473
|
rel?: any;
|
|
460
474
|
download?: any;
|
|
461
|
-
onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
462
|
-
onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
463
|
-
onResponderEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
464
|
-
onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
465
|
-
onResponderReject?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
466
|
-
onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
467
|
-
onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
468
|
-
onResponderStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
469
|
-
onResponderTerminationRequest?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
470
|
-
onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
471
|
-
onStartShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
472
|
-
onMoveShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
475
|
+
onStartShouldSetResponder?: ((event: import("react-native/types").GestureResponderEvent) => boolean) | undefined;
|
|
476
|
+
onMoveShouldSetResponder?: ((event: import("react-native/types").GestureResponderEvent) => boolean) | undefined;
|
|
477
|
+
onResponderEnd?: ((event: import("react-native/types").GestureResponderEvent) => void) | undefined;
|
|
478
|
+
onResponderGrant?: ((event: import("react-native/types").GestureResponderEvent) => void) | undefined;
|
|
479
|
+
onResponderReject?: ((event: import("react-native/types").GestureResponderEvent) => void) | undefined;
|
|
480
|
+
onResponderMove?: ((event: import("react-native/types").GestureResponderEvent) => void) | undefined;
|
|
481
|
+
onResponderRelease?: ((event: import("react-native/types").GestureResponderEvent) => void) | undefined;
|
|
482
|
+
onResponderStart?: ((event: import("react-native/types").GestureResponderEvent) => void) | undefined;
|
|
483
|
+
onResponderTerminationRequest?: ((event: import("react-native/types").GestureResponderEvent) => boolean) | undefined;
|
|
484
|
+
onResponderTerminate?: ((event: import("react-native/types").GestureResponderEvent) => void) | undefined;
|
|
485
|
+
onStartShouldSetResponderCapture?: ((event: import("react-native/types").GestureResponderEvent) => boolean) | undefined;
|
|
486
|
+
onMoveShouldSetResponderCapture?: ((event: import("react-native/types").GestureResponderEvent) => boolean) | undefined;
|
|
473
487
|
dataSet?: Record<string, string | number | null | undefined> | undefined;
|
|
474
488
|
onScrollShouldSetResponder?: unknown;
|
|
475
489
|
onScrollShouldSetResponderCapture?: unknown;
|
|
476
490
|
onSelectionChangeShouldSetResponder?: unknown;
|
|
477
491
|
onSelectionChangeShouldSetResponderCapture?: unknown;
|
|
478
|
-
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined;
|
|
492
|
+
onLayout?: ((event: import("react-native/types").LayoutChangeEvent) => void) | undefined;
|
|
479
493
|
href?: string | undefined;
|
|
480
494
|
hrefAttrs?: {
|
|
481
495
|
target?: "top" | "_blank" | "_self" | "_top" | "blank" | "self" | undefined;
|
|
@@ -497,7 +511,7 @@ declare function useButton(propsIn: ButtonProps, { Text }?: {
|
|
|
497
511
|
fullscreen?: boolean | undefined;
|
|
498
512
|
size?: SizeTokens | undefined;
|
|
499
513
|
active?: boolean | undefined;
|
|
500
|
-
hoverStyle?: Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
514
|
+
hoverStyle?: Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
501
515
|
readonly fullscreen?: boolean | undefined;
|
|
502
516
|
readonly elevation?: SizeTokens | undefined;
|
|
503
517
|
} & {
|
|
@@ -518,7 +532,7 @@ declare function useButton(propsIn: ButtonProps, { Text }?: {
|
|
|
518
532
|
readonly active?: boolean | undefined;
|
|
519
533
|
readonly disabled?: boolean | undefined;
|
|
520
534
|
}> | null | undefined;
|
|
521
|
-
pressStyle?: Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
535
|
+
pressStyle?: Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
522
536
|
readonly fullscreen?: boolean | undefined;
|
|
523
537
|
readonly elevation?: SizeTokens | undefined;
|
|
524
538
|
} & {
|
|
@@ -539,7 +553,7 @@ declare function useButton(propsIn: ButtonProps, { Text }?: {
|
|
|
539
553
|
readonly active?: boolean | undefined;
|
|
540
554
|
readonly disabled?: boolean | undefined;
|
|
541
555
|
}> | null | undefined;
|
|
542
|
-
focusStyle?: Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
556
|
+
focusStyle?: Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
543
557
|
readonly fullscreen?: boolean | undefined;
|
|
544
558
|
readonly elevation?: SizeTokens | undefined;
|
|
545
559
|
} & {
|
|
@@ -560,7 +574,7 @@ declare function useButton(propsIn: ButtonProps, { Text }?: {
|
|
|
560
574
|
readonly active?: boolean | undefined;
|
|
561
575
|
readonly disabled?: boolean | undefined;
|
|
562
576
|
}> | null | undefined;
|
|
563
|
-
exitStyle?: Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
577
|
+
exitStyle?: Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
564
578
|
readonly fullscreen?: boolean | undefined;
|
|
565
579
|
readonly elevation?: SizeTokens | undefined;
|
|
566
580
|
} & {
|
|
@@ -581,7 +595,7 @@ declare function useButton(propsIn: ButtonProps, { Text }?: {
|
|
|
581
595
|
readonly active?: boolean | undefined;
|
|
582
596
|
readonly disabled?: boolean | undefined;
|
|
583
597
|
}> | null | undefined;
|
|
584
|
-
enterStyle?: Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
598
|
+
enterStyle?: Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
585
599
|
readonly fullscreen?: boolean | undefined;
|
|
586
600
|
readonly elevation?: SizeTokens | undefined;
|
|
587
601
|
} & {
|
package/types/Button.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../src/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAA;AAMpD,OAAO,EAAe,gBAAgB,EAAsB,MAAM,eAAe,CAAA;AACjF,OAAO,EAEL,QAAQ,EACR,UAAU,EACV,cAAc,EACd,cAAc,EASf,MAAM,cAAc,CAAA;AACr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