@tamagui/select 1.74.13 → 1.74.14
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/cjs/Select.js +5 -45
- package/dist/cjs/Select.js.map +1 -1
- package/dist/cjs/Select.native.js +5 -45
- package/dist/cjs/Select.native.js.map +1 -1
- package/dist/cjs/SelectContent.js +3 -3
- package/dist/cjs/SelectContent.js.map +2 -2
- package/dist/cjs/SelectImpl.js +9 -24
- package/dist/cjs/SelectImpl.js.map +1 -1
- package/dist/cjs/SelectItem.js +17 -11
- package/dist/cjs/SelectItem.js.map +1 -1
- package/dist/cjs/SelectItem.native.js +17 -11
- package/dist/cjs/SelectItem.native.js.map +1 -1
- package/dist/cjs/SelectItemText.js +68 -0
- package/dist/cjs/SelectItemText.js.map +6 -0
- package/dist/cjs/SelectItemText.native.js +69 -0
- package/dist/cjs/SelectItemText.native.js.map +6 -0
- package/dist/esm/Select.js +2 -40
- package/dist/esm/Select.js.map +1 -1
- package/dist/esm/Select.native.js +2 -40
- package/dist/esm/Select.native.js.map +1 -1
- package/dist/esm/SelectContent.js +3 -2
- package/dist/esm/SelectContent.js.map +1 -1
- package/dist/esm/SelectImpl.js +10 -24
- package/dist/esm/SelectImpl.js.map +1 -1
- package/dist/esm/SelectItem.js +18 -12
- package/dist/esm/SelectItem.js.map +1 -1
- package/dist/esm/SelectItem.native.js +18 -12
- package/dist/esm/SelectItem.native.js.map +1 -1
- package/dist/esm/SelectItemText.js +44 -0
- package/dist/esm/SelectItemText.js.map +6 -0
- package/dist/esm/SelectItemText.native.js +44 -0
- package/dist/esm/SelectItemText.native.js.map +6 -0
- package/dist/jsx/Select.js +2 -51
- package/dist/jsx/Select.js.map +1 -1
- package/dist/jsx/Select.native.js +2 -51
- package/dist/jsx/Select.native.js.map +1 -1
- package/dist/jsx/SelectContent.js +3 -2
- package/dist/jsx/SelectContent.js.map +1 -1
- package/dist/jsx/SelectImpl.js +10 -24
- package/dist/jsx/SelectImpl.js.map +1 -1
- package/dist/jsx/SelectItem.js +18 -12
- package/dist/jsx/SelectItem.js.map +1 -1
- package/dist/jsx/SelectItem.native.js +18 -12
- package/dist/jsx/SelectItem.native.js.map +1 -1
- package/dist/jsx/SelectItemText.js +54 -0
- package/dist/jsx/SelectItemText.js.map +6 -0
- package/dist/jsx/SelectItemText.native.js +54 -0
- package/dist/jsx/SelectItemText.native.js.map +6 -0
- package/package.json +20 -20
- package/src/Select.tsx +1 -90
- package/src/SelectContent.tsx +6 -1
- package/src/SelectImpl.tsx +43 -49
- package/src/SelectItem.tsx +66 -56
- package/src/SelectItemText.tsx +92 -0
- package/types/Select.d.ts +167 -79
- package/types/Select.d.ts.map +1 -1
- package/types/SelectContent.d.ts.map +1 -1
- package/types/SelectImpl.d.ts.map +1 -1
- package/types/SelectItem.d.ts +136 -1
- package/types/SelectItem.d.ts.map +1 -1
- package/types/SelectItemText.d.ts +87 -0
- package/types/SelectItemText.d.ts.map +1 -0
- package/types/SelectViewport.d.ts +1 -36
- package/types/SelectViewport.d.ts.map +1 -1
package/src/SelectItem.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useComposedRefs } from '@tamagui/compose-refs'
|
|
2
2
|
import { TamaguiElement, isWeb, useIsomorphicLayoutEffect } from '@tamagui/core'
|
|
3
|
-
import { ListItem, ListItemProps } from '@tamagui/list-item'
|
|
3
|
+
import { ListItem, ListItemFrame, ListItemProps, useListItem } from '@tamagui/list-item'
|
|
4
4
|
import * as React from 'react'
|
|
5
5
|
|
|
6
6
|
import { createSelectContext, useSelectItemParentContext } from './context'
|
|
@@ -28,16 +28,24 @@ export interface SelectItemProps extends ListItemProps {
|
|
|
28
28
|
textValue?: string
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export const SelectItem =
|
|
32
|
-
(props: ScopedProps<SelectItemProps>, forwardedRef)
|
|
31
|
+
export const SelectItem = ListItemFrame.styleable<SelectItemProps>(
|
|
32
|
+
function SelectItem(props: ScopedProps<SelectItemProps>, forwardedRef) {
|
|
33
33
|
const {
|
|
34
34
|
__scopeSelect,
|
|
35
35
|
value,
|
|
36
36
|
disabled = false,
|
|
37
37
|
textValue: textValueProp,
|
|
38
38
|
index,
|
|
39
|
-
...
|
|
39
|
+
...restProps
|
|
40
40
|
} = props
|
|
41
|
+
|
|
42
|
+
const { props: listItemProps } = useListItem({
|
|
43
|
+
...(!props.unstyled && {
|
|
44
|
+
ellipse: true,
|
|
45
|
+
}),
|
|
46
|
+
...restProps,
|
|
47
|
+
})
|
|
48
|
+
|
|
41
49
|
const context = useSelectItemParentContext(ITEM_NAME, __scopeSelect)
|
|
42
50
|
|
|
43
51
|
const {
|
|
@@ -100,54 +108,56 @@ export const SelectItem = React.forwardRef<TamaguiElement, SelectItemProps>(
|
|
|
100
108
|
setOpen(false)
|
|
101
109
|
}
|
|
102
110
|
|
|
103
|
-
const selectItemProps =
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
allowMouseUpRef!.current = false
|
|
108
|
-
},
|
|
109
|
-
onTouchEnd() {
|
|
110
|
-
allowSelectRef!.current = false
|
|
111
|
-
allowMouseUpRef!.current = true
|
|
112
|
-
},
|
|
113
|
-
onKeyDown(event) {
|
|
114
|
-
if (
|
|
115
|
-
event.key === 'Enter' ||
|
|
116
|
-
(event.key === ' ' && !dataRef?.current.typing)
|
|
117
|
-
) {
|
|
118
|
-
event.preventDefault()
|
|
119
|
-
handleSelect()
|
|
120
|
-
} else {
|
|
111
|
+
const selectItemProps = React.useMemo(() => {
|
|
112
|
+
return interactions
|
|
113
|
+
? interactions.getItemProps({
|
|
114
|
+
onTouchMove() {
|
|
121
115
|
allowSelectRef!.current = true
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
116
|
+
allowMouseUpRef!.current = false
|
|
117
|
+
},
|
|
118
|
+
onTouchEnd() {
|
|
119
|
+
allowSelectRef!.current = false
|
|
120
|
+
allowMouseUpRef!.current = true
|
|
121
|
+
},
|
|
122
|
+
onKeyDown(event) {
|
|
123
|
+
if (
|
|
124
|
+
event.key === 'Enter' ||
|
|
125
|
+
(event.key === ' ' && !dataRef?.current.typing)
|
|
126
|
+
) {
|
|
127
|
+
event.preventDefault()
|
|
128
|
+
handleSelect()
|
|
129
|
+
} else {
|
|
130
|
+
allowSelectRef!.current = true
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
|
|
134
|
+
onClick() {
|
|
135
|
+
if (allowSelectRef!.current) {
|
|
136
|
+
handleSelect()
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
|
|
140
|
+
onMouseUp() {
|
|
141
|
+
if (!allowMouseUpRef!.current) {
|
|
142
|
+
return
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
if (allowSelectRef!.current) {
|
|
146
|
+
handleSelect()
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
// On touch devices, prevent the element from
|
|
150
|
+
// immediately closing `onClick` by deferring it
|
|
151
|
+
clearTimeout(selectTimeoutRef!.current)
|
|
152
|
+
selectTimeoutRef!.current = setTimeout(() => {
|
|
153
|
+
allowSelectRef!.current = true
|
|
154
|
+
})
|
|
155
|
+
},
|
|
156
|
+
})
|
|
157
|
+
: {
|
|
158
|
+
onPress: handleSelect,
|
|
159
|
+
}
|
|
160
|
+
}, [handleSelect])
|
|
151
161
|
|
|
152
162
|
useIsomorphicLayoutEffect(() => {
|
|
153
163
|
if (isActive) {
|
|
@@ -165,7 +175,7 @@ export const SelectItem = React.forwardRef<TamaguiElement, SelectItemProps>(
|
|
|
165
175
|
{shouldRenderWebNative ? (
|
|
166
176
|
<option value={value}>{props.children}</option>
|
|
167
177
|
) : (
|
|
168
|
-
<
|
|
178
|
+
<ListItemFrame
|
|
169
179
|
tag="div"
|
|
170
180
|
componentName={ITEM_NAME}
|
|
171
181
|
ref={composedRefs}
|
|
@@ -183,15 +193,15 @@ export const SelectItem = React.forwardRef<TamaguiElement, SelectItemProps>(
|
|
|
183
193
|
cursor: 'default',
|
|
184
194
|
outlineWidth: 0,
|
|
185
195
|
size,
|
|
186
|
-
ellipse: true,
|
|
187
196
|
})}
|
|
188
|
-
{...
|
|
197
|
+
{...listItemProps}
|
|
189
198
|
{...selectItemProps}
|
|
190
199
|
/>
|
|
191
200
|
)}
|
|
192
201
|
</SelectItemContextProvider>
|
|
193
202
|
)
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
disableTheme: true,
|
|
194
206
|
}
|
|
195
207
|
)
|
|
196
|
-
|
|
197
|
-
SelectItem.displayName = ITEM_NAME
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { useComposedRefs } from '@tamagui/compose-refs'
|
|
2
|
+
import { GetProps, TamaguiTextElement, styled } from '@tamagui/core'
|
|
3
|
+
import { SizableText } from '@tamagui/text'
|
|
4
|
+
import * as React from 'react'
|
|
5
|
+
|
|
6
|
+
import { useSelectContext, useSelectItemParentContext } from './context'
|
|
7
|
+
import { useSelectItemContext } from './SelectItem'
|
|
8
|
+
import { ScopedProps } from './types'
|
|
9
|
+
|
|
10
|
+
/* -------------------------------------------------------------------------------------------------
|
|
11
|
+
* SelectItemText
|
|
12
|
+
* -----------------------------------------------------------------------------------------------*/
|
|
13
|
+
|
|
14
|
+
export const ITEM_TEXT_NAME = 'SelectItemText'
|
|
15
|
+
|
|
16
|
+
export const SelectItemTextFrame = styled(SizableText, {
|
|
17
|
+
name: ITEM_TEXT_NAME,
|
|
18
|
+
|
|
19
|
+
variants: {
|
|
20
|
+
unstyled: {
|
|
21
|
+
false: {
|
|
22
|
+
userSelect: 'none',
|
|
23
|
+
color: '$color',
|
|
24
|
+
ellipse: true,
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
} as const,
|
|
28
|
+
|
|
29
|
+
defaultVariants: {
|
|
30
|
+
unstyled: false,
|
|
31
|
+
},
|
|
32
|
+
})
|
|
33
|
+
|
|
34
|
+
export type SelectItemTextProps = GetProps<typeof SelectItemTextFrame>
|
|
35
|
+
|
|
36
|
+
export const SelectItemText = SelectItemTextFrame.styleable(function SelectItemText(
|
|
37
|
+
props: ScopedProps<SelectItemTextProps>,
|
|
38
|
+
forwardedRef
|
|
39
|
+
) {
|
|
40
|
+
const { __scopeSelect, className, ...itemTextProps } = props
|
|
41
|
+
const context = useSelectContext(ITEM_TEXT_NAME, __scopeSelect)
|
|
42
|
+
const itemParentContext = useSelectItemParentContext(ITEM_TEXT_NAME, __scopeSelect)
|
|
43
|
+
const ref = React.useRef<TamaguiTextElement | null>(null)
|
|
44
|
+
const composedRefs = useComposedRefs(forwardedRef, ref)
|
|
45
|
+
const itemContext = useSelectItemContext(ITEM_TEXT_NAME, __scopeSelect)
|
|
46
|
+
const contents = React.useRef<React.ReactNode>()
|
|
47
|
+
|
|
48
|
+
// we portal this to the selected area, which is fine to be a bit unsafe concurrently (mostly? its not changing often)...
|
|
49
|
+
// until react native supports portals this is best i think
|
|
50
|
+
contents.current = (
|
|
51
|
+
<SelectItemTextFrame
|
|
52
|
+
className={className}
|
|
53
|
+
size={itemParentContext.size as any}
|
|
54
|
+
id={itemContext.textId}
|
|
55
|
+
{...itemTextProps}
|
|
56
|
+
ref={composedRefs}
|
|
57
|
+
/>
|
|
58
|
+
)
|
|
59
|
+
|
|
60
|
+
React.useEffect(() => {
|
|
61
|
+
if (itemParentContext.initialValue === itemContext.value && !context.selectedIndex) {
|
|
62
|
+
context.setSelectedItem(contents.current)
|
|
63
|
+
}
|
|
64
|
+
}, [])
|
|
65
|
+
|
|
66
|
+
React.useEffect(() => {
|
|
67
|
+
return itemParentContext.valueSubscribe((val) => {
|
|
68
|
+
if (val === itemContext.value) {
|
|
69
|
+
context.setSelectedItem(contents.current)
|
|
70
|
+
}
|
|
71
|
+
})
|
|
72
|
+
}, [itemContext.value])
|
|
73
|
+
|
|
74
|
+
if (itemParentContext.shouldRenderWebNative) {
|
|
75
|
+
return <>{props.children}</>
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
return (
|
|
79
|
+
<>
|
|
80
|
+
{contents.current}
|
|
81
|
+
|
|
82
|
+
{/* Portal an option in the bubble select */}
|
|
83
|
+
{/* {context.bubbleSelect
|
|
84
|
+
? ReactDOM.createPortal(
|
|
85
|
+
// we use `.textContent` because `option` only support `string` or `number`
|
|
86
|
+
<option value={itemContext.value}>{ref.current?.textContent}</option>,
|
|
87
|
+
context.bubbleSelect
|
|
88
|
+
)
|
|
89
|
+
: null} */}
|
|
90
|
+
</>
|
|
91
|
+
)
|
|
92
|
+
})
|
package/types/Select.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FontSizeTokens, GetProps, TamaguiElement
|
|
1
|
+
import { FontSizeTokens, GetProps, TamaguiElement } from '@tamagui/core';
|
|
2
2
|
import { ListItemProps } from '@tamagui/list-item';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ScopedProps, SelectProps } from './types';
|
|
@@ -38,7 +38,7 @@ declare const SelectValueFrame: import("@tamagui/core").TamaguiComponent<(Omit<i
|
|
|
38
38
|
readonly size?: FontSizeTokens | undefined;
|
|
39
39
|
}, string | number> & {
|
|
40
40
|
[x: string]: undefined;
|
|
41
|
-
}>>), TamaguiTextElement, import("@tamagui/core").TextPropsBase, {
|
|
41
|
+
}>>), import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").TextPropsBase, {
|
|
42
42
|
readonly unstyled?: boolean | undefined;
|
|
43
43
|
readonly size?: FontSizeTokens | undefined;
|
|
44
44
|
} | ({
|
|
@@ -117,42 +117,6 @@ export declare const SelectIcon: import("@tamagui/core").TamaguiComponent<(Omit<
|
|
|
117
117
|
readonly elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
118
118
|
};
|
|
119
119
|
}>;
|
|
120
|
-
export declare const SelectItemTextFrame: import("@tamagui/core").TamaguiComponent<Omit<import("react-native").TextProps, "style" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/core").ExtendBaseTextProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
121
|
-
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").TextStyle | (React.CSSProperties & import("react-native").TextStyle)>;
|
|
122
|
-
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
123
|
-
readonly unstyled?: boolean | undefined;
|
|
124
|
-
readonly size?: FontSizeTokens | undefined;
|
|
125
|
-
}, "unstyled"> & {
|
|
126
|
-
readonly unstyled?: boolean | undefined;
|
|
127
|
-
} & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").TextProps, "style" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/core").ExtendBaseTextProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
128
|
-
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").TextStyle | (React.CSSProperties & import("react-native").TextStyle)>;
|
|
129
|
-
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
130
|
-
readonly unstyled?: boolean | undefined;
|
|
131
|
-
readonly size?: FontSizeTokens | undefined;
|
|
132
|
-
}, "unstyled"> & {
|
|
133
|
-
readonly unstyled?: boolean | undefined;
|
|
134
|
-
}>> & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").TextProps, "style" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/core").ExtendBaseTextProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
135
|
-
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").TextStyle | (React.CSSProperties & import("react-native").TextStyle)>;
|
|
136
|
-
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
137
|
-
readonly unstyled?: boolean | undefined;
|
|
138
|
-
readonly size?: FontSizeTokens | undefined;
|
|
139
|
-
}, "unstyled"> & {
|
|
140
|
-
readonly unstyled?: boolean | undefined;
|
|
141
|
-
}>>, TamaguiTextElement, import("@tamagui/core").TextPropsBase, {
|
|
142
|
-
readonly unstyled?: boolean | undefined;
|
|
143
|
-
readonly size?: FontSizeTokens | undefined;
|
|
144
|
-
} & {
|
|
145
|
-
readonly unstyled?: boolean | undefined;
|
|
146
|
-
}, {
|
|
147
|
-
displayName: string | undefined;
|
|
148
|
-
__baseProps: Omit<import("react-native").TextProps, "style" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/core").ExtendBaseTextProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
149
|
-
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").TextStyle | (React.CSSProperties & import("react-native").TextStyle)>;
|
|
150
|
-
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>>;
|
|
151
|
-
__variantProps: {
|
|
152
|
-
readonly unstyled?: boolean | undefined;
|
|
153
|
-
readonly size?: FontSizeTokens | undefined;
|
|
154
|
-
};
|
|
155
|
-
}>;
|
|
156
120
|
export declare const SelectGroupFrame: import("@tamagui/core").TamaguiComponent<(Omit<import("react-native").ViewProps, "style" | "children" | "display" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
157
121
|
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").ViewStyle | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
158
122
|
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{}, "elevation" | "fullscreen"> & {
|
|
@@ -369,7 +333,142 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
369
333
|
readonly elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
370
334
|
};
|
|
371
335
|
}>;
|
|
372
|
-
Item:
|
|
336
|
+
Item: import("@tamagui/core").ReactComponentWithRef<import("./SelectItem").SelectItemProps & Omit<Omit<import("react-native").ViewProps, "style" | "children" | "display" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
337
|
+
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").ViewStyle | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
338
|
+
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
|
|
339
|
+
readonly fullscreen?: boolean | undefined;
|
|
340
|
+
readonly elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
341
|
+
} & {
|
|
342
|
+
readonly backgrounded?: boolean | undefined;
|
|
343
|
+
readonly radiused?: boolean | undefined;
|
|
344
|
+
readonly hoverTheme?: boolean | undefined;
|
|
345
|
+
readonly pressTheme?: boolean | undefined;
|
|
346
|
+
readonly focusTheme?: boolean | undefined;
|
|
347
|
+
readonly circular?: boolean | undefined;
|
|
348
|
+
readonly padded?: boolean | undefined;
|
|
349
|
+
readonly elevate?: boolean | undefined;
|
|
350
|
+
readonly bordered?: number | boolean | undefined;
|
|
351
|
+
readonly transparent?: boolean | undefined;
|
|
352
|
+
readonly chromeless?: boolean | "all" | undefined;
|
|
353
|
+
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
354
|
+
readonly unstyled?: boolean | undefined;
|
|
355
|
+
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
356
|
+
readonly active?: boolean | undefined;
|
|
357
|
+
readonly disabled?: boolean | undefined;
|
|
358
|
+
} & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "style" | "children" | "display" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
359
|
+
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").ViewStyle | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
360
|
+
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
|
|
361
|
+
readonly fullscreen?: boolean | undefined;
|
|
362
|
+
readonly elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
363
|
+
} & {
|
|
364
|
+
readonly backgrounded?: boolean | undefined;
|
|
365
|
+
readonly radiused?: boolean | undefined;
|
|
366
|
+
readonly hoverTheme?: boolean | undefined;
|
|
367
|
+
readonly pressTheme?: boolean | undefined;
|
|
368
|
+
readonly focusTheme?: boolean | undefined;
|
|
369
|
+
readonly circular?: boolean | undefined;
|
|
370
|
+
readonly padded?: boolean | undefined;
|
|
371
|
+
readonly elevate?: boolean | undefined;
|
|
372
|
+
readonly bordered?: number | boolean | undefined;
|
|
373
|
+
readonly transparent?: boolean | undefined;
|
|
374
|
+
readonly chromeless?: boolean | "all" | undefined;
|
|
375
|
+
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
376
|
+
readonly unstyled?: boolean | undefined;
|
|
377
|
+
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
378
|
+
readonly active?: boolean | undefined;
|
|
379
|
+
readonly disabled?: boolean | undefined;
|
|
380
|
+
}>> & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "style" | "children" | "display" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
381
|
+
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").ViewStyle | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
382
|
+
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
|
|
383
|
+
readonly fullscreen?: boolean | undefined;
|
|
384
|
+
readonly elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
385
|
+
} & {
|
|
386
|
+
readonly backgrounded?: boolean | undefined;
|
|
387
|
+
readonly radiused?: boolean | undefined;
|
|
388
|
+
readonly hoverTheme?: boolean | undefined;
|
|
389
|
+
readonly pressTheme?: boolean | undefined;
|
|
390
|
+
readonly focusTheme?: boolean | undefined;
|
|
391
|
+
readonly circular?: boolean | undefined;
|
|
392
|
+
readonly padded?: boolean | undefined;
|
|
393
|
+
readonly elevate?: boolean | undefined;
|
|
394
|
+
readonly bordered?: number | boolean | undefined;
|
|
395
|
+
readonly transparent?: boolean | undefined;
|
|
396
|
+
readonly chromeless?: boolean | "all" | undefined;
|
|
397
|
+
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
398
|
+
readonly unstyled?: boolean | undefined;
|
|
399
|
+
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
400
|
+
readonly active?: boolean | undefined;
|
|
401
|
+
readonly disabled?: boolean | undefined;
|
|
402
|
+
}>> & import("@tamagui/core").ThemeableProps, keyof import("./SelectItem").SelectItemProps>, TamaguiElement> & {
|
|
403
|
+
staticConfig: import("@tamagui/core").StaticConfig;
|
|
404
|
+
styleable: import("@tamagui/core").Styleable<Omit<import("react-native").ViewProps, "style" | "children" | "display" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
405
|
+
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").ViewStyle | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
406
|
+
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
|
|
407
|
+
readonly fullscreen?: boolean | undefined;
|
|
408
|
+
readonly elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
409
|
+
} & {
|
|
410
|
+
readonly backgrounded?: boolean | undefined;
|
|
411
|
+
readonly radiused?: boolean | undefined;
|
|
412
|
+
readonly hoverTheme?: boolean | undefined;
|
|
413
|
+
readonly pressTheme?: boolean | undefined;
|
|
414
|
+
readonly focusTheme?: boolean | undefined;
|
|
415
|
+
readonly circular?: boolean | undefined;
|
|
416
|
+
readonly padded?: boolean | undefined;
|
|
417
|
+
readonly elevate?: boolean | undefined;
|
|
418
|
+
readonly bordered?: number | boolean | undefined;
|
|
419
|
+
readonly transparent?: boolean | undefined;
|
|
420
|
+
readonly chromeless?: boolean | "all" | undefined;
|
|
421
|
+
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
422
|
+
readonly unstyled?: boolean | undefined;
|
|
423
|
+
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
424
|
+
readonly active?: boolean | undefined;
|
|
425
|
+
readonly disabled?: boolean | undefined;
|
|
426
|
+
} & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "style" | "children" | "display" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
427
|
+
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").ViewStyle | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
428
|
+
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
|
|
429
|
+
readonly fullscreen?: boolean | undefined;
|
|
430
|
+
readonly elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
431
|
+
} & {
|
|
432
|
+
readonly backgrounded?: boolean | undefined;
|
|
433
|
+
readonly radiused?: boolean | undefined;
|
|
434
|
+
readonly hoverTheme?: boolean | undefined;
|
|
435
|
+
readonly pressTheme?: boolean | undefined;
|
|
436
|
+
readonly focusTheme?: boolean | undefined;
|
|
437
|
+
readonly circular?: boolean | undefined;
|
|
438
|
+
readonly padded?: boolean | undefined;
|
|
439
|
+
readonly elevate?: boolean | undefined;
|
|
440
|
+
readonly bordered?: number | boolean | undefined;
|
|
441
|
+
readonly transparent?: boolean | undefined;
|
|
442
|
+
readonly chromeless?: boolean | "all" | undefined;
|
|
443
|
+
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
444
|
+
readonly unstyled?: boolean | undefined;
|
|
445
|
+
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
446
|
+
readonly active?: boolean | undefined;
|
|
447
|
+
readonly disabled?: boolean | undefined;
|
|
448
|
+
}>> & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "style" | "children" | "display" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
449
|
+
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").ViewStyle | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
450
|
+
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
|
|
451
|
+
readonly fullscreen?: boolean | undefined;
|
|
452
|
+
readonly elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
453
|
+
} & {
|
|
454
|
+
readonly backgrounded?: boolean | undefined;
|
|
455
|
+
readonly radiused?: boolean | undefined;
|
|
456
|
+
readonly hoverTheme?: boolean | undefined;
|
|
457
|
+
readonly pressTheme?: boolean | undefined;
|
|
458
|
+
readonly focusTheme?: boolean | undefined;
|
|
459
|
+
readonly circular?: boolean | undefined;
|
|
460
|
+
readonly padded?: boolean | undefined;
|
|
461
|
+
readonly elevate?: boolean | undefined;
|
|
462
|
+
readonly bordered?: number | boolean | undefined;
|
|
463
|
+
readonly transparent?: boolean | undefined;
|
|
464
|
+
readonly chromeless?: boolean | "all" | undefined;
|
|
465
|
+
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
466
|
+
readonly unstyled?: boolean | undefined;
|
|
467
|
+
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
468
|
+
readonly active?: boolean | undefined;
|
|
469
|
+
readonly disabled?: boolean | undefined;
|
|
470
|
+
}>>, TamaguiElement>;
|
|
471
|
+
};
|
|
373
472
|
ItemIndicator: React.ForwardRefExoticComponent<((Omit<import("react-native").ViewProps, "style" | "children" | "display" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
374
473
|
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").ViewStyle | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
375
474
|
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{}, "elevation" | "fullscreen"> & {
|
|
@@ -407,7 +506,7 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
407
506
|
}, string | number> & {
|
|
408
507
|
[x: string]: undefined;
|
|
409
508
|
}>>, "ref">) & React.RefAttributes<TamaguiElement>>;
|
|
410
|
-
ItemText:
|
|
509
|
+
ItemText: import("@tamagui/core").ReactComponentWithRef<Object & Omit<Omit<import("react-native").TextProps, "style" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/core").ExtendBaseTextProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
411
510
|
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").TextStyle | (React.CSSProperties & import("react-native").TextStyle)>;
|
|
412
511
|
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
413
512
|
readonly unstyled?: boolean | undefined;
|
|
@@ -428,7 +527,31 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
428
527
|
readonly size?: FontSizeTokens | undefined;
|
|
429
528
|
}, "unstyled"> & {
|
|
430
529
|
readonly unstyled?: boolean | undefined;
|
|
431
|
-
}>> &
|
|
530
|
+
}>> & import("@tamagui/core").ThemeableProps, keyof Object>, import("@tamagui/core").TamaguiTextElement> & {
|
|
531
|
+
staticConfig: import("@tamagui/core").StaticConfig;
|
|
532
|
+
styleable: import("@tamagui/core").Styleable<Omit<import("react-native").TextProps, "style" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/core").ExtendBaseTextProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
533
|
+
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").TextStyle | (React.CSSProperties & import("react-native").TextStyle)>;
|
|
534
|
+
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
535
|
+
readonly unstyled?: boolean | undefined;
|
|
536
|
+
readonly size?: FontSizeTokens | undefined;
|
|
537
|
+
}, "unstyled"> & {
|
|
538
|
+
readonly unstyled?: boolean | undefined;
|
|
539
|
+
} & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").TextProps, "style" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/core").ExtendBaseTextProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
540
|
+
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").TextStyle | (React.CSSProperties & import("react-native").TextStyle)>;
|
|
541
|
+
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
542
|
+
readonly unstyled?: boolean | undefined;
|
|
543
|
+
readonly size?: FontSizeTokens | undefined;
|
|
544
|
+
}, "unstyled"> & {
|
|
545
|
+
readonly unstyled?: boolean | undefined;
|
|
546
|
+
}>> & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").TextProps, "style" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/core").ExtendBaseTextProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
547
|
+
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").TextStyle | (React.CSSProperties & import("react-native").TextStyle)>;
|
|
548
|
+
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
549
|
+
readonly unstyled?: boolean | undefined;
|
|
550
|
+
readonly size?: FontSizeTokens | undefined;
|
|
551
|
+
}, "unstyled"> & {
|
|
552
|
+
readonly unstyled?: boolean | undefined;
|
|
553
|
+
}>>, import("@tamagui/core").TamaguiTextElement>;
|
|
554
|
+
};
|
|
432
555
|
Label: React.ForwardRefExoticComponent<Omit<import("@tamagui/text").TextParentStyles, "TextComponent" | "noTextWrap"> & Omit<import("react-native").ViewProps, "style" | "children" | "display" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
433
556
|
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").ViewStyle | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
434
557
|
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
|
|
@@ -631,7 +754,7 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
631
754
|
readonly size?: FontSizeTokens | undefined;
|
|
632
755
|
}, string | number> & {
|
|
633
756
|
[x: string]: undefined;
|
|
634
|
-
}>>)) & import("@tamagui/core").ThemeableProps, "style" | "ellipse" | "disabled" | "size" | "className" | "id" | "placeholder" | "tabIndex" | "role" | "color" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-hidden" | "aria-label" | "aria-labelledby" | "aria-live" | "aria-modal" | "aria-selected" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onFocus" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseUp" | "onScroll" | "space" | "zIndex" | `$${string}` | `$${number}` | "x" | "y" | "display" | "hitSlop" | "pointerEvents" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "importantForAccessibility" | "accessibilityLiveRegion" | "accessibilityLabelledBy" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "gap" | "columnGap" | "rowGap" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "userSelect" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "start" | "top" | "width" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "scaleX" | "scaleY" | "translateX" | "translateY" | "perspective" | "scale" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "theme" | "group" | "fontFamily" | "fontSize" | "textShadowColor" | "lineHeight" | "fontWeight" | "letterSpacing" | `$theme-${string}` | `$theme-${number}` | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "target" | "asChild" | "debug" | "themeShallow" | "tag" | "untilMeasured" | "componentName" | "disableOptimization" | "forceStyle" | "disableClassName" | "hoverStyle" | "pressStyle" | "focusStyle" | "exitStyle" | "enterStyle" | "fontStyle" | "textAlign" | "maxFontSizeMultiplier" | "unstyled" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "minimumFontScale" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency" | "textDecorationDistance" | "textOverflow" | "whiteSpace" | "wordWrap" | "textDecorationLine" | "textDecorationStyle" | "textDecorationColor" | "textShadowOffset" | "textShadowRadius" | "textTransform" | "fontVariant" | "writingDirection" | "textAlignVertical" | "verticalAlign" | "includeFontPadding">, TamaguiTextElement> & {
|
|
757
|
+
}>>)) & import("@tamagui/core").ThemeableProps, "style" | "ellipse" | "disabled" | "size" | "className" | "id" | "placeholder" | "tabIndex" | "role" | "color" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-hidden" | "aria-label" | "aria-labelledby" | "aria-live" | "aria-modal" | "aria-selected" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onFocus" | "onBlur" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseUp" | "onScroll" | "space" | "zIndex" | `$${string}` | `$${number}` | "x" | "y" | "display" | "hitSlop" | "pointerEvents" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "importantForAccessibility" | "accessibilityLiveRegion" | "accessibilityLabelledBy" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "gap" | "columnGap" | "rowGap" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "userSelect" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "start" | "top" | "width" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "scaleX" | "scaleY" | "translateX" | "translateY" | "perspective" | "scale" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "theme" | "group" | "fontFamily" | "fontSize" | "textShadowColor" | "lineHeight" | "fontWeight" | "letterSpacing" | `$theme-${string}` | `$theme-${number}` | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "target" | "asChild" | "debug" | "themeShallow" | "tag" | "untilMeasured" | "componentName" | "disableOptimization" | "forceStyle" | "disableClassName" | "hoverStyle" | "pressStyle" | "focusStyle" | "exitStyle" | "enterStyle" | "fontStyle" | "textAlign" | "maxFontSizeMultiplier" | "unstyled" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "minimumFontScale" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency" | "textDecorationDistance" | "textOverflow" | "whiteSpace" | "wordWrap" | "textDecorationLine" | "textDecorationStyle" | "textDecorationColor" | "textShadowOffset" | "textShadowRadius" | "textTransform" | "fontVariant" | "writingDirection" | "textAlignVertical" | "verticalAlign" | "includeFontPadding">, import("@tamagui/core").TamaguiTextElement> & {
|
|
635
758
|
staticConfig: import("@tamagui/core").StaticConfig;
|
|
636
759
|
styleable: import("@tamagui/core").Styleable<(Omit<import("react-native").TextProps, "style" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseTextProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
637
760
|
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").TextStyle | (React.CSSProperties & import("react-native").TextStyle)>;
|
|
@@ -669,7 +792,7 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
669
792
|
readonly size?: FontSizeTokens | undefined;
|
|
670
793
|
}, string | number> & {
|
|
671
794
|
[x: string]: undefined;
|
|
672
|
-
}>>), TamaguiTextElement>;
|
|
795
|
+
}>>), import("@tamagui/core").TamaguiTextElement>;
|
|
673
796
|
};
|
|
674
797
|
Viewport: import("@tamagui/core").ReactComponentWithRef<Omit<import("react-native").ViewProps, "style" | "children" | "display" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
675
798
|
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").ViewStyle | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
@@ -786,42 +909,7 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
786
909
|
}, "size" | "unstyled"> & {
|
|
787
910
|
readonly unstyled?: boolean | undefined;
|
|
788
911
|
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
789
|
-
}>> & import("@tamagui/core").ThemeableProps, "style" | "size" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-hidden" | "aria-label" | "aria-labelledby" | "aria-live" | "aria-modal" | "aria-selected" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onTouchCancel" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchStart" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "zIndex" | `$${string}` | `$${number}` | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "importantForAccessibility" | "accessibilityLiveRegion" | "accessibilityLabelledBy" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "elevation" |
|
|
790
|
-
columnGap?: import("@tamagui/core").SpaceValue | undefined;
|
|
791
|
-
contain?: import("csstype").Property.Contain | undefined;
|
|
792
|
-
cursor?: import("csstype").Property.Cursor | undefined;
|
|
793
|
-
display?: "inherit" | "flex" | "none" | "inline" | "block" | "contents" | "inline-flex" | undefined;
|
|
794
|
-
gap?: import("@tamagui/core").SpaceValue | undefined;
|
|
795
|
-
outlineColor?: import("csstype").Property.OutlineColor | undefined;
|
|
796
|
-
outlineOffset?: import("@tamagui/core").SpaceValue | undefined;
|
|
797
|
-
outlineStyle?: import("csstype").Property.OutlineStyle | undefined;
|
|
798
|
-
outlineWidth?: import("@tamagui/core").SpaceValue | undefined;
|
|
799
|
-
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | undefined;
|
|
800
|
-
rowGap?: import("@tamagui/core").SpaceValue | undefined;
|
|
801
|
-
space?: import("@tamagui/core").SpaceValue | undefined;
|
|
802
|
-
spaceDirection?: import("@tamagui/core").SpaceDirection | undefined;
|
|
803
|
-
separator?: React.ReactNode;
|
|
804
|
-
animation?: import("@tamagui/core").AnimationProp | null | undefined;
|
|
805
|
-
animateOnly?: string[] | undefined;
|
|
806
|
-
userSelect?: import("csstype").Property.UserSelect | undefined;
|
|
807
|
-
} | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "start" | "top" | "width" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "transparent" | "circular" | "hoverTheme" | "pressTheme" | "focusTheme" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless" | "fullscreen" | keyof import("@tamagui/core").TransformStyleProps | `$theme-${string}` | `$theme-${number}` | keyof import("@tamagui/core").WebOnlyPressEvents | keyof import("@tamagui/core").TamaguiComponentPropsBaseBase | keyof import("@tamagui/core").RNViewProps | keyof import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "style" | "children" | "display" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
808
|
-
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").ViewStyle | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
809
|
-
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
|
|
810
|
-
readonly fullscreen?: boolean | undefined;
|
|
811
|
-
readonly elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
812
|
-
}, "transparent" | "circular" | "hoverTheme" | "pressTheme" | "focusTheme" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless"> & {
|
|
813
|
-
readonly backgrounded?: boolean | undefined;
|
|
814
|
-
readonly radiused?: boolean | undefined;
|
|
815
|
-
readonly hoverTheme?: boolean | undefined;
|
|
816
|
-
readonly pressTheme?: boolean | undefined;
|
|
817
|
-
readonly focusTheme?: boolean | undefined;
|
|
818
|
-
readonly circular?: boolean | undefined;
|
|
819
|
-
readonly padded?: boolean | undefined;
|
|
820
|
-
readonly elevate?: boolean | undefined;
|
|
821
|
-
readonly bordered?: number | boolean | undefined;
|
|
822
|
-
readonly transparent?: boolean | undefined;
|
|
823
|
-
readonly chromeless?: boolean | "all" | undefined;
|
|
824
|
-
}>> | "unstyled" | "disableScroll">, TamaguiElement> & {
|
|
912
|
+
}>> & import("@tamagui/core").ThemeableProps, "style" | "disabled" | "size" | "className" | "id" | "tabIndex" | "role" | "rel" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-hidden" | "aria-label" | "aria-labelledby" | "aria-live" | "aria-modal" | "aria-selected" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onFocus" | "onBlur" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseUp" | "onTouchCancel" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchStart" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onScroll" | "space" | "zIndex" | `$${string}` | `$${number}` | "x" | "y" | "display" | "onLayout" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "importantForAccessibility" | "accessibilityLiveRegion" | "accessibilityLabelledBy" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "elevation" | "gap" | "columnGap" | "rowGap" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "userSelect" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "start" | "top" | "width" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "scaleX" | "scaleY" | "translateX" | "translateY" | "transparent" | "circular" | "hoverTheme" | "pressTheme" | "focusTheme" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless" | "fullscreen" | "perspective" | "scale" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "theme" | "group" | `$theme-${string}` | `$theme-${number}` | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "target" | "asChild" | "debug" | "themeShallow" | "tag" | "untilMeasured" | "componentName" | "disableOptimization" | "forceStyle" | "disableClassName" | "download" | "dataSet" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "href" | "hrefAttrs" | "elevationAndroid" | "hoverStyle" | "pressStyle" | "focusStyle" | "exitStyle" | "enterStyle" | "unstyled" | "disableScroll">, TamaguiElement> & {
|
|
825
913
|
staticConfig: import("@tamagui/core").StaticConfig;
|
|
826
914
|
styleable: import("@tamagui/core").Styleable<Omit<import("react-native").ViewProps, "style" | "children" | "display" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").WebOnlyPressEvents & import("@tamagui/core").TamaguiComponentPropsBaseBase & {
|
|
827
915
|
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").ViewStyle | (React.CSSProperties & import("react-native").ViewStyle)>;
|