@tamagui/select 1.0.1-beta.156 → 1.0.1-beta.159

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/types/Select.d.ts CHANGED
@@ -2,7 +2,7 @@ import { TamaguiElement } from '@tamagui/core';
2
2
  import { ListItemProps } from '@tamagui/list-item';
3
3
  import { YStackProps } from '@tamagui/stacks';
4
4
  import * as React from 'react';
5
- import { ScopedProps, SelectContextValue, SelectProps } from './types';
5
+ import { ScopedProps, SelectProps } from './types';
6
6
  export declare type SelectTriggerProps = ListItemProps;
7
7
  export declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<import("@tamagui/text").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<{
8
8
  readonly fullscreen?: boolean | undefined;
@@ -255,14 +255,17 @@ export declare const SelectSeparator: import("@tamagui/core").TamaguiComponent<(
255
255
  } & {
256
256
  [x: string]: undefined;
257
257
  })>;
258
- export declare const useSelectBreakpointActive: (sheetBreakpoint: SelectContextValue['sheetBreakpoint']) => boolean;
259
- export declare const useShowSelectSheet: (context: SelectContextValue) => boolean;
260
258
  export declare const SelectSheetContents: {
261
259
  ({ __scopeSelect }: ScopedProps<{}>): JSX.Element;
262
260
  displayName: string;
263
261
  };
264
262
  export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element) & {
265
- Content: ({ children, __scopeSelect }: import("./types").SelectContentProps) => JSX.Element;
263
+ Content: ({ children, __scopeSelect, zIndex, ...focusScopeProps }: {
264
+ children?: React.ReactNode;
265
+ zIndex?: number | undefined;
266
+ } & {
267
+ __scopeSelect?: import("@tamagui/create-context").Scope<any>;
268
+ } & import("@tamagui/focus-scope").FocusScopeProps) => JSX.Element;
266
269
  Group: 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<{}, "elevation" | "fullscreen"> & {
267
270
  readonly fullscreen?: boolean | undefined;
268
271
  readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import { FocusScopeProps } from '@tamagui/focus-scope';
2
3
  import { SelectContentProps } from './types';
3
- export declare const SelectContent: ({ children, __scopeSelect }: SelectContentProps) => JSX.Element;
4
+ export declare const SelectContent: ({ children, __scopeSelect, zIndex, ...focusScopeProps }: SelectContentProps & FocusScopeProps) => JSX.Element;
4
5
  //# sourceMappingURL=SelectContent.d.ts.map
package/types/types.d.ts CHANGED
@@ -71,6 +71,7 @@ export declare type SelectViewportProps = ThemeableStackProps & {
71
71
  };
72
72
  export declare type SelectContentProps = ScopedProps<{
73
73
  children?: React.ReactNode;
74
+ zIndex?: number;
74
75
  }>;
75
76
  export interface SelectScrollButtonImplProps extends YStackProps {
76
77
  dir: 'up' | 'down';
@@ -0,0 +1,4 @@
1
+ import { SelectContextValue } from './types';
2
+ export declare const useSelectBreakpointActive: (sheetBreakpoint: SelectContextValue['sheetBreakpoint']) => boolean;
3
+ export declare const useShowSelectSheet: (context: SelectContextValue) => boolean;
4
+ //# sourceMappingURL=useSelectBreakpointActive.d.ts.map