@tamagui/select 1.0.1-beta.46 → 1.0.1-beta.49
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 +28 -52
- package/dist/cjs/Select.js.map +2 -2
- package/dist/esm/Select.js +42 -68
- package/dist/esm/Select.js.map +2 -2
- package/dist/jsx/Select.js +28 -69
- package/package.json +10 -10
- package/types/Select.d.ts +209 -111
- package/types/Select.d.ts.map +1 -1
package/types/Select.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ButtonProps } from '@tamagui/button';
|
|
2
1
|
import { GetProps, SizeTokens } from '@tamagui/core';
|
|
3
2
|
import type { Scope } from '@tamagui/create-context';
|
|
3
|
+
import { ListItemProps } from '@tamagui/list-item';
|
|
4
4
|
import { YStackProps } from '@tamagui/stacks';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { View } from 'react-native';
|
|
@@ -11,7 +11,7 @@ declare type ScopedProps<P> = P & {
|
|
|
11
11
|
declare const createSelectScope: import("@tamagui/create-context").CreateScope;
|
|
12
12
|
declare type GenericElement = HTMLElement | View;
|
|
13
13
|
declare type Direction = 'ltr' | 'rtl';
|
|
14
|
-
export declare type SelectTriggerProps =
|
|
14
|
+
export declare type SelectTriggerProps = ListItemProps;
|
|
15
15
|
export declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<import("@tamagui/helpers-tamagui").TextParentStyles, "TextComponent"> & Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
16
16
|
readonly fullscreen?: boolean | undefined;
|
|
17
17
|
readonly elevation?: SizeTokens | undefined;
|
|
@@ -29,9 +29,9 @@ export declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<import(
|
|
|
29
29
|
transparent?: boolean | undefined;
|
|
30
30
|
chromeless?: boolean | undefined;
|
|
31
31
|
}, "disabled" | "size" | "active"> & {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
size?: SizeTokens | undefined;
|
|
33
|
+
active?: boolean | undefined;
|
|
34
|
+
disabled?: boolean | undefined;
|
|
35
35
|
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
36
36
|
readonly fullscreen?: boolean | undefined;
|
|
37
37
|
readonly elevation?: SizeTokens | undefined;
|
|
@@ -49,9 +49,9 @@ export declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<import(
|
|
|
49
49
|
transparent?: boolean | undefined;
|
|
50
50
|
chromeless?: boolean | undefined;
|
|
51
51
|
}, "disabled" | "size" | "active"> & {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
size?: SizeTokens | undefined;
|
|
53
|
+
active?: boolean | undefined;
|
|
54
|
+
disabled?: boolean | undefined;
|
|
55
55
|
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
56
56
|
readonly fullscreen?: boolean | undefined;
|
|
57
57
|
readonly elevation?: SizeTokens | undefined;
|
|
@@ -69,9 +69,9 @@ export declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<import(
|
|
|
69
69
|
transparent?: boolean | undefined;
|
|
70
70
|
chromeless?: boolean | undefined;
|
|
71
71
|
}, "disabled" | "size" | "active"> & {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
size?: SizeTokens | undefined;
|
|
73
|
+
active?: boolean | undefined;
|
|
74
|
+
disabled?: boolean | undefined;
|
|
75
75
|
}>> & import("@tamagui/core").ThemeableProps & {
|
|
76
76
|
icon?: (JSX.Element | React.FunctionComponent<{
|
|
77
77
|
color?: string | undefined;
|
|
@@ -82,9 +82,9 @@ export declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<import(
|
|
|
82
82
|
size?: number | undefined;
|
|
83
83
|
}> | null) | undefined;
|
|
84
84
|
scaleIcon?: number | undefined;
|
|
85
|
-
noTextWrap?: boolean | undefined;
|
|
86
85
|
spaceFlex?: number | boolean | undefined;
|
|
87
86
|
scaleSpace?: number | undefined;
|
|
87
|
+
subTitle?: React.ReactNode;
|
|
88
88
|
} & React.RefAttributes<GenericElement>>;
|
|
89
89
|
export declare const SelectIcon: import("@tamagui/core").TamaguiComponent<(Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{}, "elevation" | "fullscreen"> & {
|
|
90
90
|
readonly fullscreen?: boolean | undefined;
|
|
@@ -116,7 +116,55 @@ export declare const SelectIcon: import("@tamagui/core").TamaguiComponent<(Omit<
|
|
|
116
116
|
} & ({} | {
|
|
117
117
|
[x: string]: undefined;
|
|
118
118
|
})>;
|
|
119
|
-
export declare const SelectViewportFrame: import("@tamagui/core").TamaguiComponent<Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
119
|
+
export declare const SelectViewportFrame: import("@tamagui/core").TamaguiComponent<(Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
120
|
+
readonly fullscreen?: boolean | undefined;
|
|
121
|
+
readonly elevation?: SizeTokens | undefined;
|
|
122
|
+
}, "fontFamily" | "focusable" | "backgrounded" | "radiused" | "hoverable" | "pressable" | "circular" | "padded" | "elevate" | "bordered" | "transparent" | "chromeless"> & {
|
|
123
|
+
fontFamily?: unknown;
|
|
124
|
+
backgrounded?: boolean | undefined;
|
|
125
|
+
radiused?: boolean | undefined;
|
|
126
|
+
hoverable?: boolean | undefined;
|
|
127
|
+
pressable?: boolean | undefined;
|
|
128
|
+
focusable?: boolean | undefined;
|
|
129
|
+
circular?: boolean | undefined;
|
|
130
|
+
padded?: boolean | undefined;
|
|
131
|
+
elevate?: boolean | undefined;
|
|
132
|
+
bordered?: number | boolean | undefined;
|
|
133
|
+
transparent?: boolean | undefined;
|
|
134
|
+
chromeless?: boolean | undefined;
|
|
135
|
+
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
136
|
+
readonly fullscreen?: boolean | undefined;
|
|
137
|
+
readonly elevation?: SizeTokens | undefined;
|
|
138
|
+
}, "fontFamily" | "focusable" | "backgrounded" | "radiused" | "hoverable" | "pressable" | "circular" | "padded" | "elevate" | "bordered" | "transparent" | "chromeless"> & {
|
|
139
|
+
fontFamily?: unknown;
|
|
140
|
+
backgrounded?: boolean | undefined;
|
|
141
|
+
radiused?: boolean | undefined;
|
|
142
|
+
hoverable?: boolean | undefined;
|
|
143
|
+
pressable?: boolean | undefined;
|
|
144
|
+
focusable?: boolean | undefined;
|
|
145
|
+
circular?: boolean | undefined;
|
|
146
|
+
padded?: boolean | undefined;
|
|
147
|
+
elevate?: boolean | undefined;
|
|
148
|
+
bordered?: number | boolean | undefined;
|
|
149
|
+
transparent?: boolean | undefined;
|
|
150
|
+
chromeless?: boolean | undefined;
|
|
151
|
+
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
152
|
+
readonly fullscreen?: boolean | undefined;
|
|
153
|
+
readonly elevation?: SizeTokens | undefined;
|
|
154
|
+
}, "fontFamily" | "focusable" | "backgrounded" | "radiused" | "hoverable" | "pressable" | "circular" | "padded" | "elevate" | "bordered" | "transparent" | "chromeless"> & {
|
|
155
|
+
fontFamily?: unknown;
|
|
156
|
+
backgrounded?: boolean | undefined;
|
|
157
|
+
radiused?: boolean | undefined;
|
|
158
|
+
hoverable?: boolean | undefined;
|
|
159
|
+
pressable?: boolean | undefined;
|
|
160
|
+
focusable?: boolean | undefined;
|
|
161
|
+
circular?: boolean | undefined;
|
|
162
|
+
padded?: boolean | undefined;
|
|
163
|
+
elevate?: boolean | undefined;
|
|
164
|
+
bordered?: number | boolean | undefined;
|
|
165
|
+
transparent?: boolean | undefined;
|
|
166
|
+
chromeless?: boolean | undefined;
|
|
167
|
+
}>>) | (Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
120
168
|
readonly fullscreen?: boolean | undefined;
|
|
121
169
|
readonly elevation?: SizeTokens | undefined;
|
|
122
170
|
} & {
|
|
@@ -132,8 +180,8 @@ export declare const SelectViewportFrame: import("@tamagui/core").TamaguiCompone
|
|
|
132
180
|
bordered?: number | boolean | undefined;
|
|
133
181
|
transparent?: boolean | undefined;
|
|
134
182
|
chromeless?: boolean | undefined;
|
|
135
|
-
},
|
|
136
|
-
|
|
183
|
+
}, string | number> & {
|
|
184
|
+
[x: string]: undefined;
|
|
137
185
|
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
138
186
|
readonly fullscreen?: boolean | undefined;
|
|
139
187
|
readonly elevation?: SizeTokens | undefined;
|
|
@@ -150,8 +198,8 @@ export declare const SelectViewportFrame: import("@tamagui/core").TamaguiCompone
|
|
|
150
198
|
bordered?: number | boolean | undefined;
|
|
151
199
|
transparent?: boolean | undefined;
|
|
152
200
|
chromeless?: boolean | undefined;
|
|
153
|
-
},
|
|
154
|
-
|
|
201
|
+
}, string | number> & {
|
|
202
|
+
[x: string]: undefined;
|
|
155
203
|
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
156
204
|
readonly fullscreen?: boolean | undefined;
|
|
157
205
|
readonly elevation?: SizeTokens | undefined;
|
|
@@ -168,9 +216,9 @@ export declare const SelectViewportFrame: import("@tamagui/core").TamaguiCompone
|
|
|
168
216
|
bordered?: number | boolean | undefined;
|
|
169
217
|
transparent?: boolean | undefined;
|
|
170
218
|
chromeless?: boolean | undefined;
|
|
171
|
-
},
|
|
172
|
-
|
|
173
|
-
}
|
|
219
|
+
}, string | number> & {
|
|
220
|
+
[x: string]: undefined;
|
|
221
|
+
}>>), any, import("@tamagui/core").StackPropsBase, {
|
|
174
222
|
readonly fullscreen?: boolean | undefined;
|
|
175
223
|
readonly elevation?: SizeTokens | undefined;
|
|
176
224
|
} & {
|
|
@@ -186,9 +234,9 @@ export declare const SelectViewportFrame: import("@tamagui/core").TamaguiCompone
|
|
|
186
234
|
bordered?: number | boolean | undefined;
|
|
187
235
|
transparent?: boolean | undefined;
|
|
188
236
|
chromeless?: boolean | undefined;
|
|
189
|
-
} & {
|
|
190
|
-
|
|
191
|
-
}>;
|
|
237
|
+
} & ({} | {
|
|
238
|
+
[x: string]: undefined;
|
|
239
|
+
})>;
|
|
192
240
|
export declare type SelectViewportProps = GetProps<typeof SelectViewportFrame>;
|
|
193
241
|
interface SelectItemProps extends YStackProps {
|
|
194
242
|
value: string;
|
|
@@ -196,48 +244,7 @@ interface SelectItemProps extends YStackProps {
|
|
|
196
244
|
disabled?: boolean;
|
|
197
245
|
textValue?: string;
|
|
198
246
|
}
|
|
199
|
-
declare
|
|
200
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
201
|
-
} & ({} | {
|
|
202
|
-
[x: string]: undefined;
|
|
203
|
-
})) & ({} | {
|
|
204
|
-
[x: string]: undefined;
|
|
205
|
-
} | {
|
|
206
|
-
[x: string]: undefined;
|
|
207
|
-
}), "size"> & {
|
|
208
|
-
size?: SizeTokens | undefined;
|
|
209
|
-
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<({
|
|
210
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
211
|
-
} & ({} | {
|
|
212
|
-
[x: string]: undefined;
|
|
213
|
-
})) & ({} | {
|
|
214
|
-
[x: string]: undefined;
|
|
215
|
-
} | {
|
|
216
|
-
[x: string]: undefined;
|
|
217
|
-
}), "size"> & {
|
|
218
|
-
size?: SizeTokens | undefined;
|
|
219
|
-
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<({
|
|
220
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
221
|
-
} & ({} | {
|
|
222
|
-
[x: string]: undefined;
|
|
223
|
-
})) & ({} | {
|
|
224
|
-
[x: string]: undefined;
|
|
225
|
-
} | {
|
|
226
|
-
[x: string]: undefined;
|
|
227
|
-
}), "size"> & {
|
|
228
|
-
size?: SizeTokens | undefined;
|
|
229
|
-
}>>, any, import("@tamagui/core").TextPropsBase, (({
|
|
230
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
231
|
-
} & ({} | {
|
|
232
|
-
[x: string]: undefined;
|
|
233
|
-
})) & ({} | {
|
|
234
|
-
[x: string]: undefined;
|
|
235
|
-
} | {
|
|
236
|
-
[x: string]: undefined;
|
|
237
|
-
})) & {
|
|
238
|
-
size?: SizeTokens | undefined;
|
|
239
|
-
}>;
|
|
240
|
-
export declare type SelectLabelProps = GetProps<typeof SelectLabelFrame>;
|
|
247
|
+
export declare type SelectLabelProps = ListItemProps;
|
|
241
248
|
interface SelectScrollButtonProps extends Omit<SelectScrollButtonImplProps, 'dir' | 'componentName'> {
|
|
242
249
|
}
|
|
243
250
|
interface SelectScrollButtonImplProps extends YStackProps {
|
|
@@ -417,37 +424,80 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
417
424
|
}), string | number> & {
|
|
418
425
|
[x: string]: undefined;
|
|
419
426
|
}>>, string | number>) & React.RefAttributes<TamaguiElement>>;
|
|
420
|
-
Label: React.ForwardRefExoticComponent<Omit<import("react-native").
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
427
|
+
Label: React.ForwardRefExoticComponent<Omit<import("@tamagui/helpers-tamagui").TextParentStyles, "TextComponent"> & Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
428
|
+
readonly fullscreen?: boolean | undefined;
|
|
429
|
+
readonly elevation?: SizeTokens | undefined;
|
|
430
|
+
} & {
|
|
431
|
+
fontFamily?: unknown;
|
|
432
|
+
backgrounded?: boolean | undefined;
|
|
433
|
+
radiused?: boolean | undefined;
|
|
434
|
+
hoverable?: boolean | undefined;
|
|
435
|
+
pressable?: boolean | undefined;
|
|
436
|
+
focusable?: boolean | undefined;
|
|
437
|
+
circular?: boolean | undefined;
|
|
438
|
+
padded?: boolean | undefined;
|
|
439
|
+
elevate?: boolean | undefined;
|
|
440
|
+
bordered?: number | boolean | undefined;
|
|
441
|
+
transparent?: boolean | undefined;
|
|
442
|
+
chromeless?: boolean | undefined;
|
|
443
|
+
}, "disabled" | "size" | "active"> & {
|
|
429
444
|
size?: SizeTokens | undefined;
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
} & (
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
445
|
+
active?: boolean | undefined;
|
|
446
|
+
disabled?: boolean | undefined;
|
|
447
|
+
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
448
|
+
readonly fullscreen?: boolean | undefined;
|
|
449
|
+
readonly elevation?: SizeTokens | undefined;
|
|
450
|
+
} & {
|
|
451
|
+
fontFamily?: unknown;
|
|
452
|
+
backgrounded?: boolean | undefined;
|
|
453
|
+
radiused?: boolean | undefined;
|
|
454
|
+
hoverable?: boolean | undefined;
|
|
455
|
+
pressable?: boolean | undefined;
|
|
456
|
+
focusable?: boolean | undefined;
|
|
457
|
+
circular?: boolean | undefined;
|
|
458
|
+
padded?: boolean | undefined;
|
|
459
|
+
elevate?: boolean | undefined;
|
|
460
|
+
bordered?: number | boolean | undefined;
|
|
461
|
+
transparent?: boolean | undefined;
|
|
462
|
+
chromeless?: boolean | undefined;
|
|
463
|
+
}, "disabled" | "size" | "active"> & {
|
|
439
464
|
size?: SizeTokens | undefined;
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
} & (
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
465
|
+
active?: boolean | undefined;
|
|
466
|
+
disabled?: boolean | undefined;
|
|
467
|
+
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
468
|
+
readonly fullscreen?: boolean | undefined;
|
|
469
|
+
readonly elevation?: SizeTokens | undefined;
|
|
470
|
+
} & {
|
|
471
|
+
fontFamily?: unknown;
|
|
472
|
+
backgrounded?: boolean | undefined;
|
|
473
|
+
radiused?: boolean | undefined;
|
|
474
|
+
hoverable?: boolean | undefined;
|
|
475
|
+
pressable?: boolean | undefined;
|
|
476
|
+
focusable?: boolean | undefined;
|
|
477
|
+
circular?: boolean | undefined;
|
|
478
|
+
padded?: boolean | undefined;
|
|
479
|
+
elevate?: boolean | undefined;
|
|
480
|
+
bordered?: number | boolean | undefined;
|
|
481
|
+
transparent?: boolean | undefined;
|
|
482
|
+
chromeless?: boolean | undefined;
|
|
483
|
+
}, "disabled" | "size" | "active"> & {
|
|
449
484
|
size?: SizeTokens | undefined;
|
|
450
|
-
|
|
485
|
+
active?: boolean | undefined;
|
|
486
|
+
disabled?: boolean | undefined;
|
|
487
|
+
}>> & import("@tamagui/core").ThemeableProps & {
|
|
488
|
+
icon?: (JSX.Element | React.FunctionComponent<{
|
|
489
|
+
color?: string | undefined;
|
|
490
|
+
size?: number | undefined;
|
|
491
|
+
}> | null) | undefined;
|
|
492
|
+
iconAfter?: (JSX.Element | React.FunctionComponent<{
|
|
493
|
+
color?: string | undefined;
|
|
494
|
+
size?: number | undefined;
|
|
495
|
+
}> | null) | undefined;
|
|
496
|
+
scaleIcon?: number | undefined;
|
|
497
|
+
spaceFlex?: number | boolean | undefined;
|
|
498
|
+
scaleSpace?: number | undefined;
|
|
499
|
+
subTitle?: React.ReactNode;
|
|
500
|
+
} & React.RefAttributes<TamaguiElement>>;
|
|
451
501
|
ScrollDownButton: React.ForwardRefExoticComponent<SelectScrollButtonProps & React.RefAttributes<TamaguiElement>>;
|
|
452
502
|
ScrollUpButton: React.ForwardRefExoticComponent<SelectScrollButtonProps & React.RefAttributes<TamaguiElement>>;
|
|
453
503
|
Trigger: React.ForwardRefExoticComponent<Omit<import("@tamagui/helpers-tamagui").TextParentStyles, "TextComponent"> & Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
@@ -467,9 +517,9 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
467
517
|
transparent?: boolean | undefined;
|
|
468
518
|
chromeless?: boolean | undefined;
|
|
469
519
|
}, "disabled" | "size" | "active"> & {
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
520
|
+
size?: SizeTokens | undefined;
|
|
521
|
+
active?: boolean | undefined;
|
|
522
|
+
disabled?: boolean | undefined;
|
|
473
523
|
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
474
524
|
readonly fullscreen?: boolean | undefined;
|
|
475
525
|
readonly elevation?: SizeTokens | undefined;
|
|
@@ -487,9 +537,9 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
487
537
|
transparent?: boolean | undefined;
|
|
488
538
|
chromeless?: boolean | undefined;
|
|
489
539
|
}, "disabled" | "size" | "active"> & {
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
540
|
+
size?: SizeTokens | undefined;
|
|
541
|
+
active?: boolean | undefined;
|
|
542
|
+
disabled?: boolean | undefined;
|
|
493
543
|
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
494
544
|
readonly fullscreen?: boolean | undefined;
|
|
495
545
|
readonly elevation?: SizeTokens | undefined;
|
|
@@ -507,9 +557,9 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
507
557
|
transparent?: boolean | undefined;
|
|
508
558
|
chromeless?: boolean | undefined;
|
|
509
559
|
}, "disabled" | "size" | "active"> & {
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
560
|
+
size?: SizeTokens | undefined;
|
|
561
|
+
active?: boolean | undefined;
|
|
562
|
+
disabled?: boolean | undefined;
|
|
513
563
|
}>> & import("@tamagui/core").ThemeableProps & {
|
|
514
564
|
icon?: (JSX.Element | React.FunctionComponent<{
|
|
515
565
|
color?: string | undefined;
|
|
@@ -520,9 +570,9 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
520
570
|
size?: number | undefined;
|
|
521
571
|
}> | null) | undefined;
|
|
522
572
|
scaleIcon?: number | undefined;
|
|
523
|
-
noTextWrap?: boolean | undefined;
|
|
524
573
|
spaceFlex?: number | boolean | undefined;
|
|
525
574
|
scaleSpace?: number | undefined;
|
|
575
|
+
subTitle?: React.ReactNode;
|
|
526
576
|
} & React.RefAttributes<GenericElement>>;
|
|
527
577
|
Value: React.ForwardRefExoticComponent<((Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{}, "size"> & {
|
|
528
578
|
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
@@ -587,7 +637,55 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
587
637
|
}>> & {
|
|
588
638
|
placeholder?: React.ReactNode;
|
|
589
639
|
}, string | number>) & React.RefAttributes<TamaguiElement>>;
|
|
590
|
-
Viewport: React.ForwardRefExoticComponent<Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
640
|
+
Viewport: React.ForwardRefExoticComponent<((Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
641
|
+
readonly fullscreen?: boolean | undefined;
|
|
642
|
+
readonly elevation?: SizeTokens | undefined;
|
|
643
|
+
}, "fontFamily" | "focusable" | "backgrounded" | "radiused" | "hoverable" | "pressable" | "circular" | "padded" | "elevate" | "bordered" | "transparent" | "chromeless"> & {
|
|
644
|
+
fontFamily?: unknown;
|
|
645
|
+
backgrounded?: boolean | undefined;
|
|
646
|
+
radiused?: boolean | undefined;
|
|
647
|
+
hoverable?: boolean | undefined;
|
|
648
|
+
pressable?: boolean | undefined;
|
|
649
|
+
focusable?: boolean | undefined;
|
|
650
|
+
circular?: boolean | undefined;
|
|
651
|
+
padded?: boolean | undefined;
|
|
652
|
+
elevate?: boolean | undefined;
|
|
653
|
+
bordered?: number | boolean | undefined;
|
|
654
|
+
transparent?: boolean | undefined;
|
|
655
|
+
chromeless?: boolean | undefined;
|
|
656
|
+
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
657
|
+
readonly fullscreen?: boolean | undefined;
|
|
658
|
+
readonly elevation?: SizeTokens | undefined;
|
|
659
|
+
}, "fontFamily" | "focusable" | "backgrounded" | "radiused" | "hoverable" | "pressable" | "circular" | "padded" | "elevate" | "bordered" | "transparent" | "chromeless"> & {
|
|
660
|
+
fontFamily?: unknown;
|
|
661
|
+
backgrounded?: boolean | undefined;
|
|
662
|
+
radiused?: boolean | undefined;
|
|
663
|
+
hoverable?: boolean | undefined;
|
|
664
|
+
pressable?: boolean | undefined;
|
|
665
|
+
focusable?: boolean | undefined;
|
|
666
|
+
circular?: boolean | undefined;
|
|
667
|
+
padded?: boolean | undefined;
|
|
668
|
+
elevate?: boolean | undefined;
|
|
669
|
+
bordered?: number | boolean | undefined;
|
|
670
|
+
transparent?: boolean | undefined;
|
|
671
|
+
chromeless?: boolean | undefined;
|
|
672
|
+
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
673
|
+
readonly fullscreen?: boolean | undefined;
|
|
674
|
+
readonly elevation?: SizeTokens | undefined;
|
|
675
|
+
}, "fontFamily" | "focusable" | "backgrounded" | "radiused" | "hoverable" | "pressable" | "circular" | "padded" | "elevate" | "bordered" | "transparent" | "chromeless"> & {
|
|
676
|
+
fontFamily?: unknown;
|
|
677
|
+
backgrounded?: boolean | undefined;
|
|
678
|
+
radiused?: boolean | undefined;
|
|
679
|
+
hoverable?: boolean | undefined;
|
|
680
|
+
pressable?: boolean | undefined;
|
|
681
|
+
focusable?: boolean | undefined;
|
|
682
|
+
circular?: boolean | undefined;
|
|
683
|
+
padded?: boolean | undefined;
|
|
684
|
+
elevate?: boolean | undefined;
|
|
685
|
+
bordered?: number | boolean | undefined;
|
|
686
|
+
transparent?: boolean | undefined;
|
|
687
|
+
chromeless?: boolean | undefined;
|
|
688
|
+
}>>) | Pick<Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
591
689
|
readonly fullscreen?: boolean | undefined;
|
|
592
690
|
readonly elevation?: SizeTokens | undefined;
|
|
593
691
|
} & {
|
|
@@ -603,8 +701,8 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
603
701
|
bordered?: number | boolean | undefined;
|
|
604
702
|
transparent?: boolean | undefined;
|
|
605
703
|
chromeless?: boolean | undefined;
|
|
606
|
-
},
|
|
607
|
-
|
|
704
|
+
}, string | number> & {
|
|
705
|
+
[x: string]: undefined;
|
|
608
706
|
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
609
707
|
readonly fullscreen?: boolean | undefined;
|
|
610
708
|
readonly elevation?: SizeTokens | undefined;
|
|
@@ -621,8 +719,8 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
621
719
|
bordered?: number | boolean | undefined;
|
|
622
720
|
transparent?: boolean | undefined;
|
|
623
721
|
chromeless?: boolean | undefined;
|
|
624
|
-
},
|
|
625
|
-
|
|
722
|
+
}, string | number> & {
|
|
723
|
+
[x: string]: undefined;
|
|
626
724
|
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "children" | "display"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
627
725
|
readonly fullscreen?: boolean | undefined;
|
|
628
726
|
readonly elevation?: SizeTokens | undefined;
|
|
@@ -639,9 +737,9 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
639
737
|
bordered?: number | boolean | undefined;
|
|
640
738
|
transparent?: boolean | undefined;
|
|
641
739
|
chromeless?: boolean | undefined;
|
|
642
|
-
},
|
|
643
|
-
|
|
644
|
-
}
|
|
740
|
+
}, string | number> & {
|
|
741
|
+
[x: string]: undefined;
|
|
742
|
+
}>>, string | number>) & React.RefAttributes<TamaguiElement>>;
|
|
645
743
|
};
|
|
646
744
|
export { createSelectScope };
|
|
647
745
|
//# sourceMappingURL=Select.d.ts.map
|
package/types/Select.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../src/Select.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../src/Select.tsx"],"names":[],"mappings":"AAuBA,OAAO,EACL,QAAQ,EACR,UAAU,EASX,MAAM,eAAe,CAAA;AAMtB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAA;AAEpD,OAAO,EAA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