@tamagui/popover 2.7.7 → 3.0.0-beta.643.1
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/Popover.cjs +509 -664
- package/dist/cjs/Popover.native.cjs +603 -0
- package/dist/cjs/Popover.native.js +536 -691
- package/dist/cjs/Popover.native.js.map +1 -1
- package/dist/cjs/index.cjs +10 -11
- package/dist/cjs/index.native.cjs +22 -0
- package/dist/cjs/index.native.js +10 -10
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/useFloatingContext.cjs +202 -234
- package/dist/cjs/useFloatingContext.native.cjs +36 -0
- package/dist/cjs/useFloatingContext.native.js +20 -27
- package/dist/cjs/useFloatingContext.native.js.map +1 -1
- package/dist/esm/Popover.mjs +473 -617
- package/dist/esm/Popover.mjs.map +1 -1
- package/dist/esm/Popover.native.js +499 -644
- package/dist/esm/Popover.native.js.map +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.mjs +3 -3
- package/dist/esm/index.native.js +3 -3
- package/dist/esm/useFloatingContext.mjs +186 -208
- package/dist/esm/useFloatingContext.mjs.map +1 -1
- package/dist/esm/useFloatingContext.native.js +4 -2
- package/dist/esm/useFloatingContext.native.js.map +1 -1
- package/dist/jsx/Popover.mjs +473 -617
- package/dist/jsx/Popover.mjs.map +1 -1
- package/dist/jsx/Popover.native.cjs +603 -0
- package/dist/jsx/Popover.native.js +536 -691
- package/dist/jsx/Popover.native.js.map +1 -1
- package/dist/jsx/index.js +3 -3
- package/dist/jsx/index.mjs +3 -3
- package/dist/jsx/index.native.cjs +22 -0
- package/dist/jsx/index.native.js +10 -10
- package/dist/jsx/index.native.js.map +1 -1
- package/dist/jsx/useFloatingContext.mjs +186 -208
- package/dist/jsx/useFloatingContext.mjs.map +1 -1
- package/dist/jsx/useFloatingContext.native.cjs +36 -0
- package/dist/jsx/useFloatingContext.native.js +20 -27
- package/dist/jsx/useFloatingContext.native.js.map +1 -1
- package/package.json +22 -22
- package/src/Popover.tsx +115 -147
- package/types/Popover.d.ts +33 -109
- package/types/Popover.d.ts.map +1 -1
- package/types/useFloatingContext.d.ts.map +1 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/index.mjs.map +0 -1
- package/dist/esm/index.native.js.map +0 -1
- package/dist/jsx/index.js.map +0 -1
- package/dist/jsx/index.mjs.map +0 -1
package/types/Popover.d.ts
CHANGED
|
@@ -82,9 +82,9 @@ type PopoverTriggerContextValue = {
|
|
|
82
82
|
registerTrigger(id: string, setOpen: PopoverTriggerStateSetter): void;
|
|
83
83
|
unregisterTrigger(id: string): void;
|
|
84
84
|
};
|
|
85
|
-
export declare const PopoverContext: import("@tamagui/core").StyledContext<PopoverContextValue>;
|
|
85
|
+
export declare const PopoverContext: import("@tamagui/core").StyledContext<PopoverContextValue, never>;
|
|
86
86
|
export declare const PopoverZIndexContext: React.Context<number | undefined>;
|
|
87
|
-
export declare const PopoverTriggerContext: import("@tamagui/core").StyledContext<PopoverTriggerContextValue>;
|
|
87
|
+
export declare const PopoverTriggerContext: import("@tamagui/core").StyledContext<PopoverTriggerContextValue, never>;
|
|
88
88
|
export declare const usePopoverContext: (scope?: string) => PopoverContextValue;
|
|
89
89
|
export declare const usePopoverTriggerContext: (scope?: string) => PopoverTriggerContextValue;
|
|
90
90
|
/**
|
|
@@ -123,11 +123,11 @@ export type PopoverContextProviderProps = {
|
|
|
123
123
|
* Provider that sets up both PopoverContext and PopoverTriggerContext.
|
|
124
124
|
* Use this in Tooltip or other components that need popover trigger behavior.
|
|
125
125
|
*/
|
|
126
|
-
export declare const PopoverContextProvider: React.MemoExoticComponent<({ scope, children, open, onOpenChange, onOpenToggle, triggerRef, id, contentId, hasCustomAnchor, onCustomAnchorAdd, onCustomAnchorRemove, anchorTo, adaptScope, breakpointActive, keepChildrenMounted, disableDismissable, hoverable, }: PopoverContextProviderProps) =>
|
|
126
|
+
export declare const PopoverContextProvider: React.MemoExoticComponent<({ scope, children, open, onOpenChange, onOpenToggle, triggerRef, id, contentId, hasCustomAnchor, onCustomAnchorAdd, onCustomAnchorRemove, anchorTo, adaptScope, breakpointActive, keepChildrenMounted, disableDismissable, hoverable, }: PopoverContextProviderProps) => React.JSX.Element>;
|
|
127
127
|
export type PopoverAnchorProps = ScopedPopoverProps<YStackProps>;
|
|
128
128
|
export declare const PopoverAnchor: React.NamedExoticComponent<Omit<YStackProps, "scope"> & {
|
|
129
129
|
scope?: PopoverScopes;
|
|
130
|
-
} &
|
|
130
|
+
} & import("@tamagui/compose-refs").RefProp<TamaguiElement>>;
|
|
131
131
|
export type PopoverTriggerProps = ScopedPopoverProps<ViewProps & {
|
|
132
132
|
/**
|
|
133
133
|
* When true, disables the built-in click-to-toggle behavior on the trigger.
|
|
@@ -136,7 +136,7 @@ export type PopoverTriggerProps = ScopedPopoverProps<ViewProps & {
|
|
|
136
136
|
*/
|
|
137
137
|
disablePressTrigger?: boolean;
|
|
138
138
|
}>;
|
|
139
|
-
export declare const PopoverTrigger: React.NamedExoticComponent<Omit<import("@tamagui/core").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> &
|
|
139
|
+
export declare const PopoverTrigger: React.NamedExoticComponent<Omit<import("@tamagui/core").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & {
|
|
140
140
|
/**
|
|
141
141
|
* When true, disables the built-in click-to-toggle behavior on the trigger.
|
|
142
142
|
* Useful for hoverable popovers where you want to control open/close
|
|
@@ -145,33 +145,27 @@ export declare const PopoverTrigger: React.NamedExoticComponent<Omit<import("@ta
|
|
|
145
145
|
disablePressTrigger?: boolean;
|
|
146
146
|
}, "scope"> & {
|
|
147
147
|
scope?: PopoverScopes;
|
|
148
|
-
} &
|
|
148
|
+
} & import("@tamagui/compose-refs").RefProp<TamaguiElement>>;
|
|
149
149
|
export interface PopoverContentTypeProps extends Omit<PopoverContentImplProps, 'disableOutsidePointerEvents'> {
|
|
150
150
|
/**
|
|
151
151
|
* Enable smooth animation when the content position changes (e.g., when flipping sides)
|
|
152
152
|
*/
|
|
153
153
|
animatePosition?: boolean | 'even-when-repositioning';
|
|
154
|
-
/** @deprecated Use `animatePosition` instead */
|
|
155
|
-
enableAnimationForPositionChange?: boolean;
|
|
156
154
|
}
|
|
157
155
|
export type PopoverContentProps = PopoverContentTypeProps;
|
|
158
|
-
export declare const PopoverContent: import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
159
|
-
size?: SizeTokens | undefined;
|
|
160
|
-
unstyled?: boolean | undefined;
|
|
161
|
-
elevation?: number | SizeTokens | undefined;
|
|
162
|
-
fullscreen?: boolean | undefined;
|
|
163
|
-
}>, keyof PopoverContentTypeProps> & PopoverContentTypeProps, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & PopoverContentTypeProps, import("@tamagui/core").StackStyleBase, {
|
|
164
|
-
size?: SizeTokens | undefined;
|
|
165
|
-
unstyled?: boolean | undefined;
|
|
166
|
-
elevation?: number | SizeTokens | undefined;
|
|
167
|
-
fullscreen?: boolean | undefined;
|
|
168
|
-
}, import("@tamagui/core").StaticConfigPublic>;
|
|
156
|
+
export declare const PopoverContent: import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {}>, keyof PopoverContentTypeProps> & PopoverContentTypeProps, import("react-native").View | (HTMLElement & import("@tamagui/core").TamaguiElementMethods), import("@tamagui/core").RNTamaguiViewNonStyleProps & PopoverContentTypeProps, import("@tamagui/core").StackStyleBase, {}, import("@tamagui/core").StaticConfigPublic>;
|
|
169
157
|
export type PopoverContentImplProps = PopperContentProps & Omit<DismissableProps, 'onDismiss' | 'children' | 'onPointerDownCapture'> & {
|
|
170
158
|
/**
|
|
171
159
|
* Rather than mount the content immediately, mounts it in a useEffect
|
|
172
160
|
* inside a startTransition to clear the main thread
|
|
173
161
|
*/
|
|
174
162
|
lazyMount?: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Used to force mounting when more control is needed. Useful when
|
|
165
|
+
* controlling animation with React animation libraries. Matches Dialog:
|
|
166
|
+
* disables part presence gating so the content is always mounted.
|
|
167
|
+
*/
|
|
168
|
+
forceMount?: boolean;
|
|
175
169
|
/**
|
|
176
170
|
* Whether focus should be trapped within the `Popover`
|
|
177
171
|
* @default false
|
|
@@ -183,11 +177,11 @@ export type PopoverContentImplProps = PopperContentProps & Omit<DismissableProps
|
|
|
183
177
|
*/
|
|
184
178
|
disableFocusScope?: boolean;
|
|
185
179
|
/**
|
|
186
|
-
* Event handler called when auto-focusing on open. Can be
|
|
180
|
+
* Event handler called when auto-focusing on open. Can be canceled.
|
|
187
181
|
*/
|
|
188
182
|
onOpenAutoFocus?: FocusScopeProps['onMountAutoFocus'];
|
|
189
183
|
/**
|
|
190
|
-
* Event handler called when auto-focusing on close. Can be
|
|
184
|
+
* Event handler called when auto-focusing on close. Can be canceled.
|
|
191
185
|
*/
|
|
192
186
|
onCloseAutoFocus?: FocusScopeProps['onUnmountAutoFocus'] | false;
|
|
193
187
|
enableRemoveScroll?: boolean;
|
|
@@ -202,19 +196,9 @@ export type PopoverContentImplProps = PopperContentProps & Omit<DismissableProps
|
|
|
202
196
|
};
|
|
203
197
|
};
|
|
204
198
|
export type PopoverCloseProps = ScopedPopoverProps<YStackProps>;
|
|
205
|
-
export declare const PopoverClose:
|
|
206
|
-
scope?: PopoverScopes;
|
|
207
|
-
} & React.RefAttributes<TamaguiElement>>;
|
|
199
|
+
export declare const PopoverClose: import("@tamagui/compose-refs").RefComponent<TamaguiElement, PopoverCloseProps>;
|
|
208
200
|
export type PopoverArrowProps = PopperArrowProps;
|
|
209
|
-
export declare const PopoverArrow: import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
210
|
-
unstyled?: boolean | undefined;
|
|
211
|
-
elevation?: number | SizeTokens | undefined;
|
|
212
|
-
fullscreen?: boolean | undefined;
|
|
213
|
-
}>, keyof PopperArrowExtraProps> & PopperArrowExtraProps, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & PopperArrowExtraProps, import("@tamagui/core").StackStyleBase, {
|
|
214
|
-
unstyled?: boolean | undefined;
|
|
215
|
-
elevation?: number | SizeTokens | undefined;
|
|
216
|
-
fullscreen?: boolean | undefined;
|
|
217
|
-
}, import("@tamagui/core").StaticConfigPublic>;
|
|
201
|
+
export declare const PopoverArrow: import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {}>, keyof PopperArrowExtraProps> & PopperArrowExtraProps, import("react-native").View | (HTMLElement & import("@tamagui/core").TamaguiElementMethods), import("@tamagui/core").RNTamaguiViewNonStyleProps & PopperArrowExtraProps, import("@tamagui/core").StackStyleBase, {}, import("@tamagui/core").StaticConfigPublic>;
|
|
218
202
|
type Rect = {
|
|
219
203
|
x: number;
|
|
220
204
|
y: number;
|
|
@@ -231,7 +215,7 @@ export type Popover = {
|
|
|
231
215
|
export type PopoverScrollViewProps = ScrollViewProps & {
|
|
232
216
|
scope?: string;
|
|
233
217
|
};
|
|
234
|
-
export declare const Popover:
|
|
218
|
+
export declare const Popover: ((props: Omit<PopperProps, "scope"> & {
|
|
235
219
|
scope?: PopoverScopes;
|
|
236
220
|
} & {
|
|
237
221
|
open?: boolean;
|
|
@@ -243,7 +227,7 @@ export declare const Popover: React.ForwardRefExoticComponent<Omit<PopperProps,
|
|
|
243
227
|
*
|
|
244
228
|
* @default false
|
|
245
229
|
*/
|
|
246
|
-
keepChildrenMounted?: boolean |
|
|
230
|
+
keepChildrenMounted?: boolean | 'lazy';
|
|
247
231
|
/**
|
|
248
232
|
* Enable staying open while mouseover
|
|
249
233
|
*/
|
|
@@ -268,20 +252,15 @@ export declare const Popover: React.ForwardRefExoticComponent<Omit<PopperProps,
|
|
|
268
252
|
* @see https://tamagui.dev/ui/z-index
|
|
269
253
|
*/
|
|
270
254
|
zIndex?: number;
|
|
271
|
-
} &
|
|
255
|
+
} & import("@tamagui/compose-refs").RefProp<Popover>) => React.ReactNode) & {
|
|
256
|
+
displayName?: string;
|
|
257
|
+
propTypes?: any;
|
|
258
|
+
} & {
|
|
272
259
|
Anchor: React.NamedExoticComponent<Omit<YStackProps, "scope"> & {
|
|
273
260
|
scope?: PopoverScopes;
|
|
274
|
-
} &
|
|
275
|
-
Arrow: import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
276
|
-
|
|
277
|
-
elevation?: number | SizeTokens | undefined;
|
|
278
|
-
fullscreen?: boolean | undefined;
|
|
279
|
-
}>, keyof PopperArrowExtraProps> & PopperArrowExtraProps, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & PopperArrowExtraProps, import("@tamagui/core").StackStyleBase, {
|
|
280
|
-
unstyled?: boolean | undefined;
|
|
281
|
-
elevation?: number | SizeTokens | undefined;
|
|
282
|
-
fullscreen?: boolean | undefined;
|
|
283
|
-
}, import("@tamagui/core").StaticConfigPublic>;
|
|
284
|
-
Trigger: React.NamedExoticComponent<Omit<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, {}>> & {
|
|
261
|
+
} & import("@tamagui/compose-refs").RefProp<TamaguiElement>>;
|
|
262
|
+
Arrow: import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {}>, keyof PopperArrowExtraProps> & PopperArrowExtraProps, import("react-native").View | (HTMLElement & import("@tamagui/core").TamaguiElementMethods), import("@tamagui/core").RNTamaguiViewNonStyleProps & PopperArrowExtraProps, import("@tamagui/core").StackStyleBase, {}, import("@tamagui/core").StaticConfigPublic>;
|
|
263
|
+
Trigger: React.NamedExoticComponent<Omit<import("@tamagui/core").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & {
|
|
285
264
|
/**
|
|
286
265
|
* When true, disables the built-in click-to-toggle behavior on the trigger.
|
|
287
266
|
* Useful for hoverable popovers where you want to control open/close
|
|
@@ -290,69 +269,14 @@ export declare const Popover: React.ForwardRefExoticComponent<Omit<PopperProps,
|
|
|
290
269
|
disablePressTrigger?: boolean;
|
|
291
270
|
}, "scope"> & {
|
|
292
271
|
scope?: PopoverScopes;
|
|
293
|
-
} &
|
|
294
|
-
Content: import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
fullscreen?: boolean | undefined;
|
|
299
|
-
}>, keyof PopoverContentTypeProps> & PopoverContentTypeProps, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & PopoverContentTypeProps, import("@tamagui/core").StackStyleBase, {
|
|
300
|
-
size?: SizeTokens | undefined;
|
|
301
|
-
unstyled?: boolean | undefined;
|
|
302
|
-
elevation?: number | SizeTokens | undefined;
|
|
303
|
-
fullscreen?: boolean | undefined;
|
|
304
|
-
}, import("@tamagui/core").StaticConfigPublic>;
|
|
305
|
-
Close: React.ForwardRefExoticComponent<Omit<YStackProps, "scope"> & {
|
|
306
|
-
scope?: PopoverScopes;
|
|
307
|
-
} & React.RefAttributes<TamaguiElement>>;
|
|
308
|
-
Adapt: ((props: import("@tamagui/adapt").AdaptProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
309
|
-
Contents: {
|
|
310
|
-
({ scope, ...rest }: {
|
|
311
|
-
scope?: string;
|
|
312
|
-
}): React.FunctionComponentElement<any>;
|
|
313
|
-
shouldForwardSpace: boolean;
|
|
314
|
-
};
|
|
272
|
+
} & import("@tamagui/compose-refs").RefProp<TamaguiElement>>;
|
|
273
|
+
Content: import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {}>, keyof PopoverContentTypeProps> & PopoverContentTypeProps, import("react-native").View | (HTMLElement & import("@tamagui/core").TamaguiElementMethods), import("@tamagui/core").RNTamaguiViewNonStyleProps & PopoverContentTypeProps, import("@tamagui/core").StackStyleBase, {}, import("@tamagui/core").StaticConfigPublic>;
|
|
274
|
+
Close: import("@tamagui/compose-refs").RefComponent<TamaguiElement, PopoverCloseProps>;
|
|
275
|
+
Adapt: ((props: import("@tamagui/adapt").AdaptProps) => React.JSX.Element) & {
|
|
276
|
+
Contents: typeof import("@tamagui/adapt").AdaptContents;
|
|
315
277
|
};
|
|
316
|
-
ScrollView:
|
|
317
|
-
|
|
318
|
-
accept: {
|
|
319
|
-
readonly contentContainerStyle: "style";
|
|
320
|
-
};
|
|
321
|
-
}>> | undefined;
|
|
322
|
-
}> & {
|
|
323
|
-
fullscreen?: boolean | undefined;
|
|
324
|
-
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
325
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
326
|
-
accept: {
|
|
327
|
-
readonly contentContainerStyle: "style";
|
|
328
|
-
};
|
|
329
|
-
}>> | undefined;
|
|
330
|
-
}>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
331
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
332
|
-
accept: {
|
|
333
|
-
readonly contentContainerStyle: "style";
|
|
334
|
-
};
|
|
335
|
-
}>> | undefined;
|
|
336
|
-
}> & {
|
|
337
|
-
fullscreen?: boolean | undefined;
|
|
338
|
-
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
339
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
340
|
-
accept: {
|
|
341
|
-
readonly contentContainerStyle: "style";
|
|
342
|
-
};
|
|
343
|
-
}>> | undefined;
|
|
344
|
-
}>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase & {
|
|
345
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").InferStyleProps<typeof import("react-native").ScrollView, {
|
|
346
|
-
accept: {
|
|
347
|
-
readonly contentContainerStyle: "style";
|
|
348
|
-
};
|
|
349
|
-
}>> | undefined;
|
|
350
|
-
}, {
|
|
351
|
-
fullscreen?: boolean | undefined;
|
|
352
|
-
}>> & {
|
|
353
|
-
scope?: string;
|
|
354
|
-
} & React.RefAttributes<import("react-native").ScrollView>>;
|
|
355
|
-
FocusScope: (props: import("@tamagui/focus-scope/types/types").ScopedProps<import("@tamagui/focus-scope").FocusScopeControllerProps>) => import("react/jsx-runtime").JSX.Element;
|
|
278
|
+
ScrollView: import("@tamagui/compose-refs").RefComponent<import("@tamagui/scroll-view").ScrollViewRef, PopoverScrollViewProps>;
|
|
279
|
+
FocusScope: (props: import("@tamagui/focus-scope/types/types").ScopedProps<import("@tamagui/focus-scope").FocusScopeControllerProps>) => React.JSX.Element;
|
|
356
280
|
};
|
|
357
281
|
export {};
|
|
358
282
|
//# sourceMappingURL=Popover.d.ts.map
|
package/types/Popover.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../src/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,CAAA;AAE9B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAatD,OAAO,KAAK,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../src/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,CAAA;AAE9B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAatD,OAAO,KAAK,EAAE,UAAU,EAAU,cAAc,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AASlF,OAAO,EAGL,KAAK,gBAAgB,EACtB,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAG3D,OAAO,EAIL,KAAK,qBAAqB,EAE1B,KAAK,gBAAgB,EAGrB,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAGjB,MAAM,iBAAiB,CAAA;AAGxB,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAGlD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,KAAK,kBAAkB,CAAC,CAAC,IAAI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,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc;AACd,cAAc","ignoreList":[]}
|
package/dist/esm/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc;AACd,cAAc","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc;AACd,cAAc","ignoreList":[]}
|
package/dist/jsx/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc;AACd,cAAc","ignoreList":[]}
|
package/dist/jsx/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc;AACd,cAAc","ignoreList":[]}
|