@tamagui/select 1.0.1-beta.133 → 1.0.1-beta.136
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/select",
|
|
3
|
-
"version": "1.0.1-beta.
|
|
3
|
+
"version": "1.0.1-beta.136",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
"@floating-ui/react-dom-interactions": "^0.8.1",
|
|
26
26
|
"@floating-ui/react-native": "^0.8.0",
|
|
27
27
|
"@radix-ui/react-use-previous": "^0.1.1",
|
|
28
|
-
"@tamagui/compose-refs": "^1.0.1-beta.
|
|
29
|
-
"@tamagui/core": "^1.0.1-beta.
|
|
30
|
-
"@tamagui/create-context": "^1.0.1-beta.
|
|
31
|
-
"@tamagui/list-item": "^1.0.1-beta.
|
|
32
|
-
"@tamagui/portal": "^1.0.1-beta.
|
|
33
|
-
"@tamagui/separator": "^1.0.1-beta.
|
|
34
|
-
"@tamagui/stacks": "^1.0.1-beta.
|
|
35
|
-
"@tamagui/text": "^1.0.1-beta.
|
|
36
|
-
"@tamagui/use-controllable-state": "^1.0.1-beta.
|
|
37
|
-
"@tamagui/use-event": "^1.0.1-beta.
|
|
28
|
+
"@tamagui/compose-refs": "^1.0.1-beta.136",
|
|
29
|
+
"@tamagui/core": "^1.0.1-beta.136",
|
|
30
|
+
"@tamagui/create-context": "^1.0.1-beta.136",
|
|
31
|
+
"@tamagui/list-item": "^1.0.1-beta.136",
|
|
32
|
+
"@tamagui/portal": "^1.0.1-beta.136",
|
|
33
|
+
"@tamagui/separator": "^1.0.1-beta.136",
|
|
34
|
+
"@tamagui/stacks": "^1.0.1-beta.136",
|
|
35
|
+
"@tamagui/text": "^1.0.1-beta.136",
|
|
36
|
+
"@tamagui/use-controllable-state": "^1.0.1-beta.136",
|
|
37
|
+
"@tamagui/use-event": "^1.0.1-beta.136"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"react": "*",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"react-native": "*"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@tamagui/build": "^1.0.1-beta.
|
|
45
|
+
"@tamagui/build": "^1.0.1-beta.136",
|
|
46
46
|
"@types/react-native": "^0.69.2",
|
|
47
47
|
"react": "*",
|
|
48
48
|
"react-dom": "*",
|
package/types/Select.d.ts
CHANGED
|
@@ -699,25 +699,25 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
699
699
|
Sheet: ((props: Omit<{
|
|
700
700
|
open?: boolean | undefined;
|
|
701
701
|
defaultOpen?: boolean | undefined;
|
|
702
|
-
onChangeOpen?:
|
|
702
|
+
onChangeOpen?: React.Dispatch<React.SetStateAction<boolean>> | ((open: boolean) => void) | undefined;
|
|
703
703
|
position?: number | undefined;
|
|
704
704
|
defaultPosition?: number | undefined;
|
|
705
705
|
snapPoints?: number[] | undefined;
|
|
706
|
-
onChangePosition?: (
|
|
706
|
+
onChangePosition?: import("@tamagui/sheet/types/types").PositionChangeHandler | undefined;
|
|
707
707
|
children?: React.ReactNode;
|
|
708
708
|
dismissOnOverlayPress?: boolean | undefined;
|
|
709
709
|
dismissOnSnapToBottom?: boolean | undefined;
|
|
710
710
|
animationConfig?: import("react-native").Animated.SpringAnimationConfig | undefined;
|
|
711
|
+
handleDisableScroll?: boolean | undefined;
|
|
711
712
|
disableDrag?: boolean | undefined;
|
|
712
713
|
modal?: boolean | undefined;
|
|
713
|
-
allowPinchZoom?: boolean | undefined;
|
|
714
714
|
} & {
|
|
715
715
|
__scopeSheet?: import("@tamagui/create-context").Scope<any>;
|
|
716
716
|
} & React.RefAttributes<import("react-native").View>, "theme" | "themeInverse"> & {
|
|
717
717
|
theme?: import("@tamagui/core").ThemeName | null | undefined;
|
|
718
718
|
themeInverse?: boolean | undefined;
|
|
719
719
|
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null) & {
|
|
720
|
-
Handle: ({ __scopeSheet, ...props }: 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"> & {
|
|
720
|
+
Handle: ({ __scopeSheet, ...props }: import("@tamagui/sheet/types/types").SheetScopedProps<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"> & {
|
|
721
721
|
readonly fullscreen?: boolean | undefined;
|
|
722
722
|
readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
723
723
|
} & 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<{}, "elevation" | "fullscreen"> & {
|
|
@@ -726,9 +726,7 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
726
726
|
}>> & 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<{}, "elevation" | "fullscreen"> & {
|
|
727
727
|
readonly fullscreen?: boolean | undefined;
|
|
728
728
|
readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
729
|
-
}
|
|
730
|
-
__scopeSheet?: import("@tamagui/create-context").Scope<any>;
|
|
731
|
-
}) => JSX.Element | null;
|
|
729
|
+
}>>>) => JSX.Element;
|
|
732
730
|
Frame: 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"> & {
|
|
733
731
|
readonly fullscreen?: boolean | undefined;
|
|
734
732
|
readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
@@ -741,7 +739,7 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
741
739
|
}>> & {
|
|
742
740
|
__scopeSheet?: import("@tamagui/create-context").Scope<any>;
|
|
743
741
|
} & React.RefAttributes<unknown>>;
|
|
744
|
-
Overlay: ({ __scopeSheet, ...props }: 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<{
|
|
742
|
+
Overlay: ({ __scopeSheet, ...props }: import("@tamagui/sheet/types/types").SheetScopedProps<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<{
|
|
745
743
|
readonly fullscreen?: boolean | undefined;
|
|
746
744
|
readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
747
745
|
}, "closed"> & {
|
|
@@ -756,9 +754,7 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
756
754
|
readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
757
755
|
}, "closed"> & {
|
|
758
756
|
closed?: boolean | undefined;
|
|
759
|
-
}
|
|
760
|
-
__scopeSheet?: import("@tamagui/create-context").Scope<any>;
|
|
761
|
-
}) => JSX.Element;
|
|
757
|
+
}>>>) => JSX.Element;
|
|
762
758
|
ScrollView: React.ForwardRefExoticComponent<import("react-native").ScrollViewProps & React.RefAttributes<import("react-native").ScrollView>>;
|
|
763
759
|
};
|
|
764
760
|
};
|
package/types/SelectContent.d.ts
CHANGED
package/types/SelectImpl.d.ts
CHANGED
package/types/context.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { SelectContextValue } from './types';
|
|
2
3
|
export declare const createSelectContext: <ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType | undefined) => readonly [{
|
|
3
4
|
(props: ContextValueType & {
|