@tamagui/select 1.101.0 → 1.101.2
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 +24 -26
- package/types/Select.d.ts +122 -124
- package/types/Select.d.ts.map +1 -1
- package/types/SelectContent.native.d.ts +0 -1
- package/types/SelectContent.native.d.ts.map +1 -1
- package/types/SelectItem.d.ts +9 -9
- package/types/SelectItem.d.ts.map +1 -1
- package/types/SelectScrollButton.native.d.ts.map +1 -1
- package/types/SelectTrigger.d.ts +20 -20
- package/types/SelectTrigger.d.ts.map +1 -1
- package/types/SelectViewport.d.ts +12 -12
- package/types/SelectViewport.native.d.ts.map +1 -1
- package/types/context.d.ts +10 -11
- package/types/context.d.ts.map +1 -1
- package/types/useSelectBreakpointActive.d.ts +1 -1
- package/dist/esm/SelectContent.native.mjs +0 -4
- package/dist/esm/SelectImpl.native.mjs +0 -5
- package/dist/esm/SelectScrollButton.native.mjs +0 -3
- package/dist/esm/SelectViewport.native.mjs +0 -34
- package/dist/jsx/SelectContent.native.mjs +0 -4
- package/dist/jsx/SelectImpl.native.mjs +0 -5
- package/dist/jsx/SelectScrollButton.native.mjs +0 -3
- package/dist/jsx/SelectViewport.native.mjs +0 -34
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/select",
|
|
3
|
-
"version": "1.101.
|
|
3
|
+
"version": "1.101.2",
|
|
4
4
|
"removeSideEffects": "true",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
@@ -33,35 +33,33 @@
|
|
|
33
33
|
"@floating-ui/react": "^0.26.16",
|
|
34
34
|
"@floating-ui/react-dom": "^2.1.0",
|
|
35
35
|
"@floating-ui/react-native": "^0.10.6",
|
|
36
|
-
"@tamagui/adapt": "1.101.
|
|
37
|
-
"@tamagui/animate-presence": "1.101.
|
|
38
|
-
"@tamagui/compose-refs": "1.101.
|
|
39
|
-
"@tamagui/constants": "1.101.
|
|
40
|
-
"@tamagui/core": "1.101.
|
|
41
|
-
"@tamagui/create-context": "1.101.
|
|
42
|
-
"@tamagui/dismissable": "1.101.
|
|
43
|
-
"@tamagui/focus-scope": "1.101.
|
|
44
|
-
"@tamagui/get-token": "1.101.
|
|
45
|
-
"@tamagui/helpers": "1.101.
|
|
46
|
-
"@tamagui/list-item": "1.101.
|
|
47
|
-
"@tamagui/portal": "1.101.
|
|
48
|
-
"@tamagui/remove-scroll": "1.101.
|
|
49
|
-
"@tamagui/separator": "1.101.
|
|
50
|
-
"@tamagui/sheet": "1.101.
|
|
51
|
-
"@tamagui/stacks": "1.101.
|
|
52
|
-
"@tamagui/text": "1.101.
|
|
53
|
-
"@tamagui/use-controllable-state": "1.101.
|
|
54
|
-
"@tamagui/use-debounce": "1.101.
|
|
55
|
-
"@tamagui/use-event": "1.101.
|
|
56
|
-
"@tamagui/use-previous": "1.101.
|
|
36
|
+
"@tamagui/adapt": "1.101.2",
|
|
37
|
+
"@tamagui/animate-presence": "1.101.2",
|
|
38
|
+
"@tamagui/compose-refs": "1.101.2",
|
|
39
|
+
"@tamagui/constants": "1.101.2",
|
|
40
|
+
"@tamagui/core": "1.101.2",
|
|
41
|
+
"@tamagui/create-context": "1.101.2",
|
|
42
|
+
"@tamagui/dismissable": "1.101.2",
|
|
43
|
+
"@tamagui/focus-scope": "1.101.2",
|
|
44
|
+
"@tamagui/get-token": "1.101.2",
|
|
45
|
+
"@tamagui/helpers": "1.101.2",
|
|
46
|
+
"@tamagui/list-item": "1.101.2",
|
|
47
|
+
"@tamagui/portal": "1.101.2",
|
|
48
|
+
"@tamagui/remove-scroll": "1.101.2",
|
|
49
|
+
"@tamagui/separator": "1.101.2",
|
|
50
|
+
"@tamagui/sheet": "1.101.2",
|
|
51
|
+
"@tamagui/stacks": "1.101.2",
|
|
52
|
+
"@tamagui/text": "1.101.2",
|
|
53
|
+
"@tamagui/use-controllable-state": "1.101.2",
|
|
54
|
+
"@tamagui/use-debounce": "1.101.2",
|
|
55
|
+
"@tamagui/use-event": "1.101.2",
|
|
56
|
+
"@tamagui/use-previous": "1.101.2"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"react": "*"
|
|
60
|
-
"react-dom": "*",
|
|
61
|
-
"react-native": "*"
|
|
59
|
+
"react": "*"
|
|
62
60
|
},
|
|
63
61
|
"devDependencies": {
|
|
64
|
-
"@tamagui/build": "1.101.
|
|
62
|
+
"@tamagui/build": "1.101.2",
|
|
65
63
|
"react": "^18.2.0",
|
|
66
64
|
"react-dom": "^18.2.0",
|
|
67
65
|
"react-native": "0.74.1"
|
package/types/Select.d.ts
CHANGED
|
@@ -9,20 +9,20 @@ export declare const SelectIcon: import("@tamagui/core").TamaguiComponent<import
|
|
|
9
9
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
10
10
|
fullscreen?: boolean | undefined;
|
|
11
11
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
12
|
-
top?: number
|
|
13
|
-
bottom?: number
|
|
14
|
-
left?: number
|
|
15
|
-
right?: number
|
|
12
|
+
top?: number;
|
|
13
|
+
bottom?: number;
|
|
14
|
+
left?: number;
|
|
15
|
+
right?: number;
|
|
16
16
|
} | undefined;
|
|
17
17
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
18
18
|
export declare const SelectGroupFrame: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
19
19
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
20
20
|
fullscreen?: boolean | undefined;
|
|
21
21
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
22
|
-
top?: number
|
|
23
|
-
bottom?: number
|
|
24
|
-
left?: number
|
|
25
|
-
right?: number
|
|
22
|
+
top?: number;
|
|
23
|
+
bottom?: number;
|
|
24
|
+
left?: number;
|
|
25
|
+
right?: number;
|
|
26
26
|
} | undefined;
|
|
27
27
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
28
28
|
export type SelectLabelProps = ListItemProps;
|
|
@@ -32,52 +32,47 @@ export declare const SelectSeparator: import("@tamagui/core").TamaguiComponent<i
|
|
|
32
32
|
export declare const Select: ((props: SelectScopedProps<SelectProps>) => import("react/jsx-runtime").JSX.Element) & {
|
|
33
33
|
Adapt: (({ platform, when, children }: import("@tamagui/adapt").AdaptProps) => any) & {
|
|
34
34
|
Contents: {
|
|
35
|
-
(props: any):
|
|
35
|
+
(props: any): import("react").FunctionComponentElement<any>;
|
|
36
36
|
shouldForwardSpace: boolean;
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
|
-
Content: ({ children, __scopeSelect, zIndex, ...focusScopeProps }:
|
|
40
|
-
children?: React.ReactNode;
|
|
41
|
-
zIndex?: number | undefined;
|
|
42
|
-
} & {
|
|
43
|
-
__scopeSelect?: import("@tamagui/create-context").Scope;
|
|
44
|
-
} & import("@tamagui/focus-scope").FocusScopeProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
39
|
+
Content: ({ children, __scopeSelect, zIndex, ...focusScopeProps }: import("./types").SelectContentProps & import("@tamagui/focus-scope").FocusScopeProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
45
40
|
Group: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "elevation" | keyof import("@tamagui/core").StackStyleBase | "fullscreen" | "inset"> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
|
|
46
41
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
47
42
|
fullscreen?: boolean | undefined;
|
|
48
43
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
49
|
-
top?: number
|
|
50
|
-
bottom?: number
|
|
51
|
-
left?: number
|
|
52
|
-
right?: number
|
|
44
|
+
top?: number;
|
|
45
|
+
bottom?: number;
|
|
46
|
+
left?: number;
|
|
47
|
+
right?: number;
|
|
53
48
|
} | undefined;
|
|
54
49
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
|
|
55
50
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
56
51
|
fullscreen?: boolean | undefined;
|
|
57
52
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
58
|
-
top?: number
|
|
59
|
-
bottom?: number
|
|
60
|
-
left?: number
|
|
61
|
-
right?: number
|
|
53
|
+
top?: number;
|
|
54
|
+
bottom?: number;
|
|
55
|
+
left?: number;
|
|
56
|
+
right?: number;
|
|
62
57
|
} | undefined;
|
|
63
58
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {
|
|
64
59
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
65
60
|
fullscreen?: boolean | undefined;
|
|
66
61
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
67
|
-
top?: number
|
|
68
|
-
bottom?: number
|
|
69
|
-
left?: number
|
|
70
|
-
right?: number
|
|
62
|
+
top?: number;
|
|
63
|
+
bottom?: number;
|
|
64
|
+
left?: number;
|
|
65
|
+
right?: number;
|
|
71
66
|
} | undefined;
|
|
72
67
|
}>> & React.RefAttributes<TamaguiElement>>;
|
|
73
68
|
Icon: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
74
69
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
75
70
|
fullscreen?: boolean | undefined;
|
|
76
71
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
77
|
-
top?: number
|
|
78
|
-
bottom?: number
|
|
79
|
-
left?: number
|
|
80
|
-
right?: number
|
|
72
|
+
top?: number;
|
|
73
|
+
bottom?: number;
|
|
74
|
+
left?: number;
|
|
75
|
+
right?: number;
|
|
81
76
|
} | undefined;
|
|
82
77
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
83
78
|
Item: import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
@@ -89,10 +84,10 @@ export declare const Select: ((props: SelectScopedProps<SelectProps>) => import(
|
|
|
89
84
|
fullscreen?: boolean | undefined;
|
|
90
85
|
circular?: boolean | undefined;
|
|
91
86
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
92
|
-
top?: number
|
|
93
|
-
bottom?: number
|
|
94
|
-
left?: number
|
|
95
|
-
right?: number
|
|
87
|
+
top?: number;
|
|
88
|
+
bottom?: number;
|
|
89
|
+
left?: number;
|
|
90
|
+
right?: number;
|
|
96
91
|
} | undefined;
|
|
97
92
|
hoverTheme?: boolean | undefined;
|
|
98
93
|
pressTheme?: boolean | undefined;
|
|
@@ -113,10 +108,10 @@ export declare const Select: ((props: SelectScopedProps<SelectProps>) => import(
|
|
|
113
108
|
fullscreen?: boolean | undefined;
|
|
114
109
|
circular?: boolean | undefined;
|
|
115
110
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
116
|
-
top?: number
|
|
117
|
-
bottom?: number
|
|
118
|
-
left?: number
|
|
119
|
-
right?: number
|
|
111
|
+
top?: number;
|
|
112
|
+
bottom?: number;
|
|
113
|
+
left?: number;
|
|
114
|
+
right?: number;
|
|
120
115
|
} | undefined;
|
|
121
116
|
hoverTheme?: boolean | undefined;
|
|
122
117
|
pressTheme?: boolean | undefined;
|
|
@@ -133,28 +128,28 @@ export declare const Select: ((props: SelectScopedProps<SelectProps>) => import(
|
|
|
133
128
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
134
129
|
fullscreen?: boolean | undefined;
|
|
135
130
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
136
|
-
top?: number
|
|
137
|
-
bottom?: number
|
|
138
|
-
left?: number
|
|
139
|
-
right?: number
|
|
131
|
+
top?: number;
|
|
132
|
+
bottom?: number;
|
|
133
|
+
left?: number;
|
|
134
|
+
right?: number;
|
|
140
135
|
} | undefined;
|
|
141
136
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
|
|
142
137
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
143
138
|
fullscreen?: boolean | undefined;
|
|
144
139
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
145
|
-
top?: number
|
|
146
|
-
bottom?: number
|
|
147
|
-
left?: number
|
|
148
|
-
right?: number
|
|
140
|
+
top?: number;
|
|
141
|
+
bottom?: number;
|
|
142
|
+
left?: number;
|
|
143
|
+
right?: number;
|
|
149
144
|
} | undefined;
|
|
150
145
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {
|
|
151
146
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
152
147
|
fullscreen?: boolean | undefined;
|
|
153
148
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
154
|
-
top?: number
|
|
155
|
-
bottom?: number
|
|
156
|
-
left?: number
|
|
157
|
-
right?: number
|
|
149
|
+
top?: number;
|
|
150
|
+
bottom?: number;
|
|
151
|
+
left?: number;
|
|
152
|
+
right?: number;
|
|
158
153
|
} | undefined;
|
|
159
154
|
}>> & React.RefAttributes<TamaguiElement>>;
|
|
160
155
|
ItemText: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").GetFinalProps<import("@tamagui/core").TextNonStyleProps, import("@tamagui/core").TextStylePropsBase, {
|
|
@@ -173,10 +168,10 @@ export declare const Select: ((props: SelectScopedProps<SelectProps>) => import(
|
|
|
173
168
|
fullscreen?: boolean | undefined;
|
|
174
169
|
circular?: boolean | undefined;
|
|
175
170
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
176
|
-
top?: number
|
|
177
|
-
bottom?: number
|
|
178
|
-
left?: number
|
|
179
|
-
right?: number
|
|
171
|
+
top?: number;
|
|
172
|
+
bottom?: number;
|
|
173
|
+
left?: number;
|
|
174
|
+
right?: number;
|
|
180
175
|
} | undefined;
|
|
181
176
|
hoverTheme?: boolean | undefined;
|
|
182
177
|
pressTheme?: boolean | undefined;
|
|
@@ -197,10 +192,10 @@ export declare const Select: ((props: SelectScopedProps<SelectProps>) => import(
|
|
|
197
192
|
fullscreen?: boolean | undefined;
|
|
198
193
|
circular?: boolean | undefined;
|
|
199
194
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
200
|
-
top?: number
|
|
201
|
-
bottom?: number
|
|
202
|
-
left?: number
|
|
203
|
-
right?: number
|
|
195
|
+
top?: number;
|
|
196
|
+
bottom?: number;
|
|
197
|
+
left?: number;
|
|
198
|
+
right?: number;
|
|
204
199
|
} | undefined;
|
|
205
200
|
hoverTheme?: boolean | undefined;
|
|
206
201
|
pressTheme?: boolean | undefined;
|
|
@@ -221,10 +216,10 @@ export declare const Select: ((props: SelectScopedProps<SelectProps>) => import(
|
|
|
221
216
|
fullscreen?: boolean | undefined;
|
|
222
217
|
circular?: boolean | undefined;
|
|
223
218
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
224
|
-
top?: number
|
|
225
|
-
bottom?: number
|
|
226
|
-
left?: number
|
|
227
|
-
right?: number
|
|
219
|
+
top?: number;
|
|
220
|
+
bottom?: number;
|
|
221
|
+
left?: number;
|
|
222
|
+
right?: number;
|
|
228
223
|
} | undefined;
|
|
229
224
|
hoverTheme?: boolean | undefined;
|
|
230
225
|
pressTheme?: boolean | undefined;
|
|
@@ -237,20 +232,20 @@ export declare const Select: ((props: SelectScopedProps<SelectProps>) => import(
|
|
|
237
232
|
chromeless?: boolean | "all" | undefined;
|
|
238
233
|
active?: boolean | undefined;
|
|
239
234
|
}>> & Omit<import("@tamagui/text").TextParentStyles, "TextComponent" | "noTextWrap"> & import("@tamagui/core").ThemeableProps & {
|
|
240
|
-
icon?:
|
|
235
|
+
icon?: JSX.Element | React.FunctionComponent<{
|
|
241
236
|
color?: any;
|
|
242
237
|
size?: any;
|
|
243
|
-
}> | null
|
|
244
|
-
iconAfter?:
|
|
238
|
+
}> | null;
|
|
239
|
+
iconAfter?: JSX.Element | React.FunctionComponent<{
|
|
245
240
|
color?: any;
|
|
246
241
|
size?: any;
|
|
247
|
-
}> | null
|
|
248
|
-
scaleIcon?: number
|
|
249
|
-
spaceFlex?: number | boolean
|
|
250
|
-
scaleSpace?: number
|
|
242
|
+
}> | null;
|
|
243
|
+
scaleIcon?: number;
|
|
244
|
+
spaceFlex?: number | boolean;
|
|
245
|
+
scaleSpace?: number;
|
|
251
246
|
title?: React.ReactNode;
|
|
252
247
|
subTitle?: React.ReactNode;
|
|
253
|
-
noTextWrap?: boolean | "all"
|
|
248
|
+
noTextWrap?: boolean | "all";
|
|
254
249
|
} & React.RefAttributes<TamaguiElement>>;
|
|
255
250
|
ScrollDownButton: React.ForwardRefExoticComponent<import("./types").SelectScrollButtonProps & React.RefAttributes<TamaguiElement>>;
|
|
256
251
|
ScrollUpButton: React.ForwardRefExoticComponent<import("./types").SelectScrollButtonProps & React.RefAttributes<TamaguiElement>>;
|
|
@@ -263,10 +258,10 @@ export declare const Select: ((props: SelectScopedProps<SelectProps>) => import(
|
|
|
263
258
|
fullscreen?: boolean | undefined;
|
|
264
259
|
circular?: boolean | undefined;
|
|
265
260
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
266
|
-
top?: number
|
|
267
|
-
bottom?: number
|
|
268
|
-
left?: number
|
|
269
|
-
right?: number
|
|
261
|
+
top?: number;
|
|
262
|
+
bottom?: number;
|
|
263
|
+
left?: number;
|
|
264
|
+
right?: number;
|
|
270
265
|
} | undefined;
|
|
271
266
|
hoverTheme?: boolean | undefined;
|
|
272
267
|
pressTheme?: boolean | undefined;
|
|
@@ -287,10 +282,10 @@ export declare const Select: ((props: SelectScopedProps<SelectProps>) => import(
|
|
|
287
282
|
fullscreen?: boolean | undefined;
|
|
288
283
|
circular?: boolean | undefined;
|
|
289
284
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
290
|
-
top?: number
|
|
291
|
-
bottom?: number
|
|
292
|
-
left?: number
|
|
293
|
-
right?: number
|
|
285
|
+
top?: number;
|
|
286
|
+
bottom?: number;
|
|
287
|
+
left?: number;
|
|
288
|
+
right?: number;
|
|
294
289
|
} | undefined;
|
|
295
290
|
hoverTheme?: boolean | undefined;
|
|
296
291
|
pressTheme?: boolean | undefined;
|
|
@@ -311,10 +306,10 @@ export declare const Select: ((props: SelectScopedProps<SelectProps>) => import(
|
|
|
311
306
|
fullscreen?: boolean | undefined;
|
|
312
307
|
circular?: boolean | undefined;
|
|
313
308
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
314
|
-
top?: number
|
|
315
|
-
bottom?: number
|
|
316
|
-
left?: number
|
|
317
|
-
right?: number
|
|
309
|
+
top?: number;
|
|
310
|
+
bottom?: number;
|
|
311
|
+
left?: number;
|
|
312
|
+
right?: number;
|
|
318
313
|
} | undefined;
|
|
319
314
|
hoverTheme?: boolean | undefined;
|
|
320
315
|
pressTheme?: boolean | undefined;
|
|
@@ -327,26 +322,26 @@ export declare const Select: ((props: SelectScopedProps<SelectProps>) => import(
|
|
|
327
322
|
chromeless?: boolean | "all" | undefined;
|
|
328
323
|
active?: boolean | undefined;
|
|
329
324
|
}>> & Omit<import("@tamagui/text").TextParentStyles, "TextComponent" | "noTextWrap"> & import("@tamagui/core").ThemeableProps & {
|
|
330
|
-
icon?:
|
|
325
|
+
icon?: JSX.Element | React.FunctionComponent<{
|
|
331
326
|
color?: any;
|
|
332
327
|
size?: any;
|
|
333
|
-
}> | null
|
|
334
|
-
iconAfter?:
|
|
328
|
+
}> | null;
|
|
329
|
+
iconAfter?: JSX.Element | React.FunctionComponent<{
|
|
335
330
|
color?: any;
|
|
336
331
|
size?: any;
|
|
337
|
-
}> | null
|
|
338
|
-
scaleIcon?: number
|
|
339
|
-
spaceFlex?: number | boolean
|
|
340
|
-
scaleSpace?: number
|
|
332
|
+
}> | null;
|
|
333
|
+
scaleIcon?: number;
|
|
334
|
+
spaceFlex?: number | boolean;
|
|
335
|
+
scaleSpace?: number;
|
|
341
336
|
title?: React.ReactNode;
|
|
342
337
|
subTitle?: React.ReactNode;
|
|
343
|
-
noTextWrap?: boolean | "all"
|
|
338
|
+
noTextWrap?: boolean | "all";
|
|
344
339
|
} & React.RefAttributes<TamaguiElement>>;
|
|
345
340
|
Value: import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").TextNonStyleProps, import("@tamagui/core").TextStylePropsBase, {
|
|
346
|
-
size?: FontSizeTokens | undefined;
|
|
341
|
+
size?: import("@tamagui/web").FontSizeTokens | undefined;
|
|
347
342
|
unstyled?: boolean | undefined;
|
|
348
343
|
}>, "placeholder"> & SelectValueExtraProps, import("@tamagui/core").TamaguiTextElement, import("@tamagui/core").TextNonStyleProps & SelectValueExtraProps, import("@tamagui/core").TextStylePropsBase, {
|
|
349
|
-
size?: FontSizeTokens | undefined;
|
|
344
|
+
size?: import("@tamagui/web").FontSizeTokens | undefined;
|
|
350
345
|
unstyled?: boolean | undefined;
|
|
351
346
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
352
347
|
Viewport: import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
@@ -356,10 +351,10 @@ export declare const Select: ((props: SelectScopedProps<SelectProps>) => import(
|
|
|
356
351
|
fullscreen?: boolean | undefined;
|
|
357
352
|
circular?: boolean | undefined;
|
|
358
353
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
359
|
-
top?: number
|
|
360
|
-
bottom?: number
|
|
361
|
-
left?: number
|
|
362
|
-
right?: number
|
|
354
|
+
top?: number;
|
|
355
|
+
bottom?: number;
|
|
356
|
+
left?: number;
|
|
357
|
+
right?: number;
|
|
363
358
|
} | undefined;
|
|
364
359
|
hoverTheme?: boolean | undefined;
|
|
365
360
|
pressTheme?: boolean | undefined;
|
|
@@ -378,10 +373,10 @@ export declare const Select: ((props: SelectScopedProps<SelectProps>) => import(
|
|
|
378
373
|
fullscreen?: boolean | undefined;
|
|
379
374
|
circular?: boolean | undefined;
|
|
380
375
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
381
|
-
top?: number
|
|
382
|
-
bottom?: number
|
|
383
|
-
left?: number
|
|
384
|
-
right?: number
|
|
376
|
+
top?: number;
|
|
377
|
+
bottom?: number;
|
|
378
|
+
left?: number;
|
|
379
|
+
right?: number;
|
|
385
380
|
} | undefined;
|
|
386
381
|
hoverTheme?: boolean | undefined;
|
|
387
382
|
pressTheme?: boolean | undefined;
|
|
@@ -395,30 +390,33 @@ export declare const Select: ((props: SelectScopedProps<SelectProps>) => import(
|
|
|
395
390
|
unstyled?: boolean | undefined;
|
|
396
391
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
397
392
|
Sheet: React.FunctionComponent<Omit<import("@tamagui/sheet").SheetProps, "open" | "onOpenChange"> & React.RefAttributes<import("react-native").View>> & {
|
|
398
|
-
Frame:
|
|
393
|
+
Frame: import("react").ForwardRefExoticComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
399
394
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
400
395
|
fullscreen?: boolean | undefined;
|
|
401
396
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
402
|
-
top?: number
|
|
403
|
-
bottom?: number
|
|
404
|
-
left?: number
|
|
405
|
-
right?: number
|
|
397
|
+
top?: number;
|
|
398
|
+
bottom?: number;
|
|
399
|
+
left?: number;
|
|
400
|
+
right?: number;
|
|
406
401
|
} | undefined;
|
|
407
402
|
unstyled?: boolean | undefined;
|
|
408
|
-
}>,
|
|
409
|
-
disableHideBottomOverflow?: boolean
|
|
410
|
-
adjustPaddingForOffscreenContent?: boolean
|
|
403
|
+
}>, keyof {
|
|
404
|
+
disableHideBottomOverflow?: boolean;
|
|
405
|
+
adjustPaddingForOffscreenContent?: boolean;
|
|
406
|
+
}> & {
|
|
407
|
+
disableHideBottomOverflow?: boolean;
|
|
408
|
+
adjustPaddingForOffscreenContent?: boolean;
|
|
411
409
|
} & {
|
|
412
410
|
__scopeSheet?: import("@tamagui/create-context").Scope<any>;
|
|
413
|
-
} &
|
|
414
|
-
Overlay:
|
|
411
|
+
} & import("react").RefAttributes<unknown>>;
|
|
412
|
+
Overlay: import("react").MemoExoticComponent<(propsIn: import("@tamagui/sheet/types/types").SheetScopedProps<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
415
413
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
416
414
|
fullscreen?: boolean | undefined;
|
|
417
415
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
418
|
-
top?: number
|
|
419
|
-
bottom?: number
|
|
420
|
-
left?: number
|
|
421
|
-
right?: number
|
|
416
|
+
top?: number;
|
|
417
|
+
bottom?: number;
|
|
418
|
+
left?: number;
|
|
419
|
+
right?: number;
|
|
422
420
|
} | undefined;
|
|
423
421
|
open?: boolean | undefined;
|
|
424
422
|
transparent?: boolean | undefined;
|
|
@@ -434,20 +432,20 @@ export declare const Select: ((props: SelectScopedProps<SelectProps>) => import(
|
|
|
434
432
|
padded?: boolean | undefined;
|
|
435
433
|
chromeless?: boolean | "all" | undefined;
|
|
436
434
|
}>>) => null>;
|
|
437
|
-
Handle:
|
|
438
|
-
open?: boolean
|
|
439
|
-
} &
|
|
440
|
-
open?: boolean
|
|
435
|
+
Handle: import("react").ForwardRefExoticComponent<import("@tamagui/core").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & {
|
|
436
|
+
open?: boolean;
|
|
437
|
+
} & import("react").RefAttributes<any>> & import("@tamagui/core").StaticComponentObject<import("@tamagui/core").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & {
|
|
438
|
+
open?: boolean;
|
|
441
439
|
}, any, any, any, {
|
|
442
|
-
open?: boolean
|
|
440
|
+
open?: boolean;
|
|
443
441
|
}, {}> & Omit<{}, "staticConfig" | "extractable" | "styleable"> & {
|
|
444
442
|
__tama: [import("@tamagui/core").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & {
|
|
445
|
-
open?: boolean
|
|
443
|
+
open?: boolean;
|
|
446
444
|
}, any, any, any, {
|
|
447
|
-
open?: boolean
|
|
445
|
+
open?: boolean;
|
|
448
446
|
}, {}];
|
|
449
447
|
};
|
|
450
|
-
ScrollView:
|
|
448
|
+
ScrollView: import("react").ForwardRefExoticComponent<Omit<import("@tamagui/core").TamaguiComponentPropsBaseBase & import("react-native").ScrollViewProps, keyof import("@tamagui/core").StackStyleBase | "fullscreen" | "contentContainerStyle"> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
451
449
|
readonly contentContainerStyle?: Partial<import("@tamagui/core").GetFinalProps<import("react-native").ScrollViewProps, import("@tamagui/core").StackStyleBase, {}>> | undefined;
|
|
452
450
|
}> & {
|
|
453
451
|
fullscreen?: boolean | undefined;
|
|
@@ -463,7 +461,7 @@ export declare const Select: ((props: SelectScopedProps<SelectProps>) => import(
|
|
|
463
461
|
readonly contentContainerStyle?: Partial<import("@tamagui/core").GetFinalProps<import("react-native").ScrollViewProps, import("@tamagui/core").StackStyleBase, {}>> | undefined;
|
|
464
462
|
}, {
|
|
465
463
|
fullscreen?: boolean | undefined;
|
|
466
|
-
}>> &
|
|
464
|
+
}>> & import("react").RefAttributes<import("react-native").ScrollView>>;
|
|
467
465
|
};
|
|
468
466
|
};
|
|
469
467
|
//# 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":"AAGA,OAAO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AC3D;qBAAyD,eAE5D,yBAAyB,eAC1B,yBAGG,eACD;0CAE6B,CAAC,iBAClB,eACV,uBACG,cAAK,0BACF,eACT;;sBAMwB,CAAC;mBAEI,eAAe,wBAAwB,eAAe,yBAC5E,eACJ;0CAA+D,CAAC,iBAAiB,eACtF,uBACsB,cAAc,0BACzB,eAAe;sBAIL,eACpB,wBAAwB,eACf,uCAAuC,eACjD;0CAEoD,CAAC,iBAAiB,eAClE,uBAAuB,cAAc,0BACtB,eAAe;;sBACP,CAAC;qBAGT,OACd,uBAAwB,cAClB;;CAsNV,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectContent.native.d.ts","sourceRoot":"","sources":["../src/SelectContent.native.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectContent.native.d.ts","sourceRoot":"","sources":["../src/SelectContent.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAEjD,eAAO,MAAM,aAAa,iBAAkB,kBAAkB,8BAE7D,CAAA"}
|
package/types/SelectItem.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare const SelectItemContextProvider: {
|
|
|
12
12
|
}): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
displayName: string;
|
|
14
14
|
}, useSelectItemContext: (consumerName: string, scope: import("@tamagui/create-context").Scope<SelectItemContextValue | undefined>, options?: {
|
|
15
|
-
warn?: boolean
|
|
15
|
+
warn?: boolean;
|
|
16
16
|
fallback?: Partial<SelectItemContextValue> | undefined;
|
|
17
17
|
} | undefined) => SelectItemContextValue;
|
|
18
18
|
export interface SelectItemExtraProps {
|
|
@@ -32,10 +32,10 @@ export declare const SelectItem: import("@tamagui/web").TamaguiComponent<Omit<im
|
|
|
32
32
|
fullscreen?: boolean | undefined;
|
|
33
33
|
circular?: boolean | undefined;
|
|
34
34
|
inset?: number | import("@tamagui/web").SizeTokens | {
|
|
35
|
-
top?: number
|
|
36
|
-
bottom?: number
|
|
37
|
-
left?: number
|
|
38
|
-
right?: number
|
|
35
|
+
top?: number;
|
|
36
|
+
bottom?: number;
|
|
37
|
+
left?: number;
|
|
38
|
+
right?: number;
|
|
39
39
|
} | undefined;
|
|
40
40
|
hoverTheme?: boolean | undefined;
|
|
41
41
|
pressTheme?: boolean | undefined;
|
|
@@ -56,10 +56,10 @@ export declare const SelectItem: import("@tamagui/web").TamaguiComponent<Omit<im
|
|
|
56
56
|
fullscreen?: boolean | undefined;
|
|
57
57
|
circular?: boolean | undefined;
|
|
58
58
|
inset?: number | import("@tamagui/web").SizeTokens | {
|
|
59
|
-
top?: number
|
|
60
|
-
bottom?: number
|
|
61
|
-
left?: number
|
|
62
|
-
right?: number
|
|
59
|
+
top?: number;
|
|
60
|
+
bottom?: number;
|
|
61
|
+
left?: number;
|
|
62
|
+
right?: number;
|
|
63
63
|
} | undefined;
|
|
64
64
|
hoverTheme?: boolean | undefined;
|
|
65
65
|
pressTheme?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectItem.d.ts","sourceRoot":"","sources":["../src/SelectItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAEvD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAW9B,KAAK,sBAAsB,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,eAAO,MAAO,yBAAyB
|
|
1
|
+
{"version":3,"file":"SelectItem.d.ts","sourceRoot":"","sources":["../src/SelectItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAEvD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAW9B,KAAK,sBAAsB,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,eAAO,MAAO,yBAAyB;;;;eAYrB,mBAEV;;GAdiC,oBAAoB;;;wCACL,CAAA;AAExD,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,aAAa,EAAE,MAAM,oBAAoB,CAAC,EACrD,oBAAoB;CAAG;AAE3B,eAAO,MAAM,UAAU;;;;;;;;;WAgCL,CAAC;cACI,CAAC;YAElB,CAAA;aACC,CAAC;;;;;;;;;;;;;;;;;;;;;WAJU,CAAC;cACI,CAAC;YAElB,CAAA;aACC,CAAC;;;;;;;;;;;;6CA2IP,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectScrollButton.native.d.ts","sourceRoot":"","sources":["../src/SelectScrollButton.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AAGzE,eAAO,MAAM,oBAAoB,MAAO,
|
|
1
|
+
{"version":3,"file":"SelectScrollButton.native.d.ts","sourceRoot":"","sources":["../src/SelectScrollButton.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AAGzE,eAAO,MAAM,oBAAoB,MAAO,iBAAiB,CAAC,uBAAuB,CAAC,SAC5E,CAAA;AAGN,eAAO,MAAM,sBAAsB,MAAO,iBAAiB,CAAC,uBAAuB,CAAC,SAC9E,CAAA"}
|
package/types/SelectTrigger.d.ts
CHANGED
|
@@ -11,10 +11,10 @@ export declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<import(
|
|
|
11
11
|
fullscreen?: boolean | undefined;
|
|
12
12
|
circular?: boolean | undefined;
|
|
13
13
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
14
|
-
top?: number
|
|
15
|
-
bottom?: number
|
|
16
|
-
left?: number
|
|
17
|
-
right?: number
|
|
14
|
+
top?: number;
|
|
15
|
+
bottom?: number;
|
|
16
|
+
left?: number;
|
|
17
|
+
right?: number;
|
|
18
18
|
} | undefined;
|
|
19
19
|
hoverTheme?: boolean | undefined;
|
|
20
20
|
pressTheme?: boolean | undefined;
|
|
@@ -35,10 +35,10 @@ export declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<import(
|
|
|
35
35
|
fullscreen?: boolean | undefined;
|
|
36
36
|
circular?: boolean | undefined;
|
|
37
37
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
38
|
-
top?: number
|
|
39
|
-
bottom?: number
|
|
40
|
-
left?: number
|
|
41
|
-
right?: number
|
|
38
|
+
top?: number;
|
|
39
|
+
bottom?: number;
|
|
40
|
+
left?: number;
|
|
41
|
+
right?: number;
|
|
42
42
|
} | undefined;
|
|
43
43
|
hoverTheme?: boolean | undefined;
|
|
44
44
|
pressTheme?: boolean | undefined;
|
|
@@ -59,10 +59,10 @@ export declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<import(
|
|
|
59
59
|
fullscreen?: boolean | undefined;
|
|
60
60
|
circular?: boolean | undefined;
|
|
61
61
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
62
|
-
top?: number
|
|
63
|
-
bottom?: number
|
|
64
|
-
left?: number
|
|
65
|
-
right?: number
|
|
62
|
+
top?: number;
|
|
63
|
+
bottom?: number;
|
|
64
|
+
left?: number;
|
|
65
|
+
right?: number;
|
|
66
66
|
} | undefined;
|
|
67
67
|
hoverTheme?: boolean | undefined;
|
|
68
68
|
pressTheme?: boolean | undefined;
|
|
@@ -75,19 +75,19 @@ export declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<import(
|
|
|
75
75
|
chromeless?: boolean | "all" | undefined;
|
|
76
76
|
active?: boolean | undefined;
|
|
77
77
|
}>> & Omit<import("@tamagui/text").TextParentStyles, "TextComponent" | "noTextWrap"> & import("@tamagui/core").ThemeableProps & {
|
|
78
|
-
icon?:
|
|
78
|
+
icon?: JSX.Element | React.FunctionComponent<{
|
|
79
79
|
color?: any;
|
|
80
80
|
size?: any;
|
|
81
|
-
}> | null
|
|
82
|
-
iconAfter?:
|
|
81
|
+
}> | null;
|
|
82
|
+
iconAfter?: JSX.Element | React.FunctionComponent<{
|
|
83
83
|
color?: any;
|
|
84
84
|
size?: any;
|
|
85
|
-
}> | null
|
|
86
|
-
scaleIcon?: number
|
|
87
|
-
spaceFlex?: number | boolean
|
|
88
|
-
scaleSpace?: number
|
|
85
|
+
}> | null;
|
|
86
|
+
scaleIcon?: number;
|
|
87
|
+
spaceFlex?: number | boolean;
|
|
88
|
+
scaleSpace?: number;
|
|
89
89
|
title?: React.ReactNode;
|
|
90
90
|
subTitle?: React.ReactNode;
|
|
91
|
-
noTextWrap?: boolean | "all"
|
|
91
|
+
noTextWrap?: boolean | "all";
|
|
92
92
|
} & React.RefAttributes<TamaguiElement>>;
|
|
93
93
|
//# sourceMappingURL=SelectTrigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectTrigger.d.ts","sourceRoot":"","sources":["../src/SelectTrigger.tsx"],"names":[],"mappings":"AACA,OAAO,EAAmB,KAAK,cAAc,EAAE,MAAM,eAAe,CAAA;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAEvD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAU9B,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAAA;AAK9C,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"SelectTrigger.d.ts","sourceRoot":"","sources":["../src/SelectTrigger.tsx"],"names":[],"mappings":"AACA,OAAO,EAAmB,KAAK,cAAc,EAAE,MAAM,eAAe,CAAA;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAEvD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAU9B,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAAA;AAK9C,eAAO,MAAM,aAAa;;;;;;;;;WA6BhB,CAAC;cACD,CAAD;YACG,CAAX;aAAuB,CAAC;;;;;;;;;;;;;;;;;;;;;WAFf,CAAC;cACD,CAAD;YACG,CAAX;aAAuB,CAAC;;;;;;;;;;;;;;;;;;;;;WAFf,CAAC;cACD,CAAD;YACG,CAAX;aAAuB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAuCxB,CAAA"}
|
|
@@ -6,10 +6,10 @@ export declare const SelectViewportFrame: import("@tamagui/core").TamaguiCompone
|
|
|
6
6
|
fullscreen?: boolean | undefined;
|
|
7
7
|
circular?: boolean | undefined;
|
|
8
8
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
9
|
-
top?: number
|
|
10
|
-
bottom?: number
|
|
11
|
-
left?: number
|
|
12
|
-
right?: number
|
|
9
|
+
top?: number;
|
|
10
|
+
bottom?: number;
|
|
11
|
+
left?: number;
|
|
12
|
+
right?: number;
|
|
13
13
|
} | undefined;
|
|
14
14
|
hoverTheme?: boolean | undefined;
|
|
15
15
|
pressTheme?: boolean | undefined;
|
|
@@ -29,10 +29,10 @@ export declare const SelectViewport: import("@tamagui/core").TamaguiComponent<Om
|
|
|
29
29
|
fullscreen?: boolean | undefined;
|
|
30
30
|
circular?: boolean | undefined;
|
|
31
31
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
32
|
-
top?: number
|
|
33
|
-
bottom?: number
|
|
34
|
-
left?: number
|
|
35
|
-
right?: number
|
|
32
|
+
top?: number;
|
|
33
|
+
bottom?: number;
|
|
34
|
+
left?: number;
|
|
35
|
+
right?: number;
|
|
36
36
|
} | undefined;
|
|
37
37
|
hoverTheme?: boolean | undefined;
|
|
38
38
|
pressTheme?: boolean | undefined;
|
|
@@ -51,10 +51,10 @@ export declare const SelectViewport: import("@tamagui/core").TamaguiComponent<Om
|
|
|
51
51
|
fullscreen?: boolean | undefined;
|
|
52
52
|
circular?: boolean | undefined;
|
|
53
53
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
54
|
-
top?: number
|
|
55
|
-
bottom?: number
|
|
56
|
-
left?: number
|
|
57
|
-
right?: number
|
|
54
|
+
top?: number;
|
|
55
|
+
bottom?: number;
|
|
56
|
+
left?: number;
|
|
57
|
+
right?: number;
|
|
58
58
|
} | undefined;
|
|
59
59
|
hoverTheme?: boolean | undefined;
|
|
60
60
|
pressTheme?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectViewport.native.d.ts","sourceRoot":"","sources":["../src/SelectViewport.native.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAErE,eAAO,MAAM,cAAc;YAAW,
|
|
1
|
+
{"version":3,"file":"SelectViewport.native.d.ts","sourceRoot":"","sources":["../src/SelectViewport.native.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAErE,eAAO,MAAM,cAAc;YAAW,iBAAiB,CAAC,mBAAmB,CAAC;;CAuB3E,CAAA"}
|
package/types/context.d.ts
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { SelectScopedProps, SelectContextValue, SelectItemParentContextValue } from './types';
|
|
3
|
-
export declare const createSelectContext: <ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType
|
|
2
|
+
export declare const createSelectContext: <ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType) => readonly [{
|
|
4
3
|
(props: ContextValueType & {
|
|
5
4
|
scope: import("@tamagui/create-context").Scope<ContextValueType>;
|
|
6
5
|
children: import("react").ReactNode;
|
|
7
6
|
}): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
displayName: string;
|
|
9
8
|
}, (consumerName: string, scope: import("@tamagui/create-context").Scope<ContextValueType | undefined>, options?: {
|
|
10
|
-
warn?: boolean
|
|
11
|
-
fallback?: Partial<ContextValueType
|
|
12
|
-
}
|
|
9
|
+
warn?: boolean;
|
|
10
|
+
fallback?: Partial<ContextValueType>;
|
|
11
|
+
}) => ContextValueType], createSelectScope: import("@tamagui/create-context").CreateScope;
|
|
13
12
|
export declare const SelectProvider: {
|
|
14
13
|
(props: SelectContextValue & {
|
|
15
14
|
scope: import("@tamagui/create-context").Scope<SelectContextValue>;
|
|
@@ -17,19 +16,19 @@ export declare const SelectProvider: {
|
|
|
17
16
|
}): import("react/jsx-runtime").JSX.Element;
|
|
18
17
|
displayName: string;
|
|
19
18
|
}, useSelectContext: (consumerName: string, scope: import("@tamagui/create-context").Scope<SelectContextValue | undefined>, options?: {
|
|
20
|
-
warn?: boolean
|
|
19
|
+
warn?: boolean;
|
|
21
20
|
fallback?: Partial<SelectContextValue> | undefined;
|
|
22
21
|
} | undefined) => SelectContextValue;
|
|
23
|
-
export declare const createSelectItemParentContext: <ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType
|
|
22
|
+
export declare const createSelectItemParentContext: <ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType) => readonly [{
|
|
24
23
|
(props: ContextValueType & {
|
|
25
24
|
scope: import("@tamagui/create-context").Scope<ContextValueType>;
|
|
26
25
|
children: import("react").ReactNode;
|
|
27
26
|
}): import("react/jsx-runtime").JSX.Element;
|
|
28
27
|
displayName: string;
|
|
29
28
|
}, (consumerName: string, scope: import("@tamagui/create-context").Scope<ContextValueType | undefined>, options?: {
|
|
30
|
-
warn?: boolean
|
|
31
|
-
fallback?: Partial<ContextValueType
|
|
32
|
-
}
|
|
29
|
+
warn?: boolean;
|
|
30
|
+
fallback?: Partial<ContextValueType>;
|
|
31
|
+
}) => ContextValueType], createSelectItemParentScope: import("@tamagui/create-context").CreateScope;
|
|
33
32
|
export declare const SelectItemParentProvider: {
|
|
34
33
|
(props: SelectItemParentContextValue & {
|
|
35
34
|
scope: import("@tamagui/create-context").Scope<SelectItemParentContextValue>;
|
|
@@ -37,7 +36,7 @@ export declare const SelectItemParentProvider: {
|
|
|
37
36
|
}): import("react/jsx-runtime").JSX.Element;
|
|
38
37
|
displayName: string;
|
|
39
38
|
}, useSelectItemParentContext: (consumerName: string, scope: import("@tamagui/create-context").Scope<SelectItemParentContextValue | undefined>, options?: {
|
|
40
|
-
warn?: boolean
|
|
39
|
+
warn?: boolean;
|
|
41
40
|
fallback?: Partial<SelectItemParentContextValue> | undefined;
|
|
42
41
|
} | undefined) => SelectItemParentContextValue;
|
|
43
42
|
export declare const ForwardSelectContext: ({ __scopeSelect, context, itemContext, children, }: SelectScopedProps<{
|
package/types/context.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EAClB,4BAA4B,EAC7B,MAAM,SAAS,CAAA;AAEhB,eAAO,MAAO,mBAAmB;;;;eAyBqB,mBACrD;;+GAKoC,CAAC;QAAY,CAAC;YAAuB,CAAC;yBA/BxC,iBAAiB,+CAAmC,CAAA;AAEvF,eAAO,MAAO,cAAc;;;;eAuB0B,mBACrD;;GAxB6B,gBAAgB;;;oCACQ,CAAA;AAItD,eAAO,MAAO,6BAA6B;;;;;;+GAwBN,CAAC;QAAY,CAAC;YAAuB,CAAC;yBAxB9B,2BAA2B,+CACvC,CAAA;AAEjC,eAAO,MAAO,wBAAwB;;;;eAegB,mBACrD;;GAhBuC,0BAA0B;;;8CACF,CAAA;AAEhE,eAAO,MAAM,oBAAoB,uDAK9B,iBAAiB,CAAC;IACnB,QAAQ,CAAC,EAAE,GAAG,CAAA;IACd,OAAO,EAAE,kBAAkB,CAAA;IAC3B,WAAW,EAAE,4BAA4B,CAAA;CAC1C,CAAC,4CAQD,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { SelectContextValue } from './types';
|
|
2
|
-
export declare const useSelectBreakpointActive: (sheetBreakpoint: SelectContextValue[
|
|
2
|
+
export declare const useSelectBreakpointActive: (sheetBreakpoint: SelectContextValue["sheetBreakpoint"]) => boolean;
|
|
3
3
|
export declare const useShowSelectSheet: (context: SelectContextValue) => boolean;
|
|
4
4
|
//# sourceMappingURL=useSelectBreakpointActive.d.ts.map
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
-
const SelectInlineImpl = props => (process.env.NODE_ENV === "development" && console.warn("Sheet not implemented inline on native"), /* @__PURE__ */jsx(Fragment, {
|
|
3
|
-
children: props.children
|
|
4
|
-
}));
|
|
5
|
-
export { SelectInlineImpl };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { AdaptParentContext } from "@tamagui/adapt";
|
|
2
|
-
import { Theme, useThemeName } from "@tamagui/core";
|
|
3
|
-
import { PortalItem } from "@tamagui/portal";
|
|
4
|
-
import * as React from "react";
|
|
5
|
-
import { VIEWPORT_NAME } from "./constants.mjs";
|
|
6
|
-
import { ForwardSelectContext, useSelectContext, useSelectItemParentContext } from "./context.mjs";
|
|
7
|
-
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
const SelectViewport = props => {
|
|
9
|
-
const {
|
|
10
|
-
__scopeSelect,
|
|
11
|
-
children
|
|
12
|
-
} = props,
|
|
13
|
-
context = useSelectContext(VIEWPORT_NAME, __scopeSelect),
|
|
14
|
-
itemParentContext = useSelectItemParentContext(VIEWPORT_NAME, __scopeSelect),
|
|
15
|
-
themeName = useThemeName(),
|
|
16
|
-
adaptContext = React.useContext(AdaptParentContext);
|
|
17
|
-
return /* @__PURE__ */jsx(PortalItem, {
|
|
18
|
-
hostName: `${context.scopeKey}SheetContents`,
|
|
19
|
-
children: /* @__PURE__ */jsx(Theme, {
|
|
20
|
-
name: themeName,
|
|
21
|
-
children: /* @__PURE__ */jsx(ForwardSelectContext, {
|
|
22
|
-
__scopeSelect,
|
|
23
|
-
itemContext: itemParentContext,
|
|
24
|
-
context,
|
|
25
|
-
children: /* @__PURE__ */jsx(AdaptParentContext.Provider, {
|
|
26
|
-
value: adaptContext,
|
|
27
|
-
children
|
|
28
|
-
})
|
|
29
|
-
})
|
|
30
|
-
})
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
SelectViewport.displayName = VIEWPORT_NAME;
|
|
34
|
-
export { SelectViewport };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
-
const SelectInlineImpl = props => (process.env.NODE_ENV === "development" && console.warn("Sheet not implemented inline on native"), /* @__PURE__ */jsx(Fragment, {
|
|
3
|
-
children: props.children
|
|
4
|
-
}));
|
|
5
|
-
export { SelectInlineImpl };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { AdaptParentContext } from "@tamagui/adapt";
|
|
2
|
-
import { Theme, useThemeName } from "@tamagui/core";
|
|
3
|
-
import { PortalItem } from "@tamagui/portal";
|
|
4
|
-
import * as React from "react";
|
|
5
|
-
import { VIEWPORT_NAME } from "./constants.mjs";
|
|
6
|
-
import { ForwardSelectContext, useSelectContext, useSelectItemParentContext } from "./context.mjs";
|
|
7
|
-
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
const SelectViewport = props => {
|
|
9
|
-
const {
|
|
10
|
-
__scopeSelect,
|
|
11
|
-
children
|
|
12
|
-
} = props,
|
|
13
|
-
context = useSelectContext(VIEWPORT_NAME, __scopeSelect),
|
|
14
|
-
itemParentContext = useSelectItemParentContext(VIEWPORT_NAME, __scopeSelect),
|
|
15
|
-
themeName = useThemeName(),
|
|
16
|
-
adaptContext = React.useContext(AdaptParentContext);
|
|
17
|
-
return /* @__PURE__ */jsx(PortalItem, {
|
|
18
|
-
hostName: `${context.scopeKey}SheetContents`,
|
|
19
|
-
children: /* @__PURE__ */jsx(Theme, {
|
|
20
|
-
name: themeName,
|
|
21
|
-
children: /* @__PURE__ */jsx(ForwardSelectContext, {
|
|
22
|
-
__scopeSelect,
|
|
23
|
-
itemContext: itemParentContext,
|
|
24
|
-
context,
|
|
25
|
-
children: /* @__PURE__ */jsx(AdaptParentContext.Provider, {
|
|
26
|
-
value: adaptContext,
|
|
27
|
-
children
|
|
28
|
-
})
|
|
29
|
-
})
|
|
30
|
-
})
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
SelectViewport.displayName = VIEWPORT_NAME;
|
|
34
|
-
export { SelectViewport };
|