@tamagui/popper 1.0.1-beta.93 → 1.0.1-beta.94
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/Popper.js +0 -0
- package/dist/cjs/Popper.js.map +0 -0
- package/dist/cjs/floating.js +0 -0
- package/dist/cjs/floating.js.map +0 -0
- package/dist/cjs/floating.native.js +0 -0
- package/dist/cjs/floating.native.js.map +0 -0
- package/dist/cjs/index.js +0 -0
- package/dist/cjs/index.js.map +0 -0
- package/dist/cjs/useFloating.js +0 -0
- package/dist/cjs/useFloating.js.map +0 -0
- package/dist/esm/Popper.js +0 -0
- package/dist/esm/Popper.js.map +0 -0
- package/dist/esm/floating.js +0 -0
- package/dist/esm/floating.js.map +0 -0
- package/dist/esm/floating.native.js +0 -0
- package/dist/esm/floating.native.js.map +0 -0
- package/dist/esm/index.js +0 -0
- package/dist/esm/index.js.map +0 -0
- package/dist/esm/useFloating.js +0 -0
- package/dist/esm/useFloating.js.map +0 -0
- package/dist/jsx/Popper.js +0 -0
- package/dist/jsx/Popper.js.map +0 -0
- package/dist/jsx/floating.js +0 -0
- package/dist/jsx/floating.js.map +0 -0
- package/dist/jsx/floating.native.js +0 -0
- package/dist/jsx/floating.native.js.map +0 -0
- package/dist/jsx/index.js +0 -0
- package/dist/jsx/index.js.map +0 -0
- package/dist/jsx/useFloating.js +0 -0
- package/dist/jsx/useFloating.js.map +0 -0
- package/package.json +7 -7
- package/types/Popper.d.ts +9 -9
- package/types/Popper.d.ts.map +0 -0
- package/types/index.d.ts +0 -0
- package/types/index.d.ts.map +0 -0
- package/types/floating.d.ts +0 -2
- package/types/floating.d.ts.map +0 -1
- package/types/floating.native.d.ts +0 -2
- package/types/floating.native.d.ts.map +0 -1
- package/types/useFloating.d.ts +0 -18
- package/types/useFloating.d.ts.map +0 -1
package/dist/cjs/Popper.js
CHANGED
|
File without changes
|
package/dist/cjs/Popper.js.map
CHANGED
|
File without changes
|
package/dist/cjs/floating.js
CHANGED
|
File without changes
|
package/dist/cjs/floating.js.map
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/cjs/index.js
CHANGED
|
File without changes
|
package/dist/cjs/index.js.map
CHANGED
|
File without changes
|
package/dist/cjs/useFloating.js
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/esm/Popper.js
CHANGED
|
File without changes
|
package/dist/esm/Popper.js.map
CHANGED
|
File without changes
|
package/dist/esm/floating.js
CHANGED
|
File without changes
|
package/dist/esm/floating.js.map
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/esm/index.js
CHANGED
|
File without changes
|
package/dist/esm/index.js.map
CHANGED
|
File without changes
|
package/dist/esm/useFloating.js
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/jsx/Popper.js
CHANGED
|
File without changes
|
package/dist/jsx/Popper.js.map
CHANGED
|
File without changes
|
package/dist/jsx/floating.js
CHANGED
|
File without changes
|
package/dist/jsx/floating.js.map
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/jsx/index.js
CHANGED
|
File without changes
|
package/dist/jsx/index.js.map
CHANGED
|
File without changes
|
package/dist/jsx/useFloating.js
CHANGED
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/popper",
|
|
3
|
-
"version": "1.0.1-beta.
|
|
3
|
+
"version": "1.0.1-beta.94",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@floating-ui/react-dom": "0.7.0",
|
|
25
25
|
"@floating-ui/react-native": "^0.7.0",
|
|
26
|
-
"@tamagui/compose-refs": "^1.0.1-beta.
|
|
27
|
-
"@tamagui/core": "^1.0.1-beta.
|
|
28
|
-
"@tamagui/create-context": "^1.0.1-beta.
|
|
29
|
-
"@tamagui/stacks": "^1.0.1-beta.
|
|
30
|
-
"@tamagui/use-controllable-state": "^1.0.1-beta.
|
|
26
|
+
"@tamagui/compose-refs": "^1.0.1-beta.94",
|
|
27
|
+
"@tamagui/core": "^1.0.1-beta.94",
|
|
28
|
+
"@tamagui/create-context": "^1.0.1-beta.94",
|
|
29
|
+
"@tamagui/stacks": "^1.0.1-beta.94",
|
|
30
|
+
"@tamagui/use-controllable-state": "^1.0.1-beta.94"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"react": "*",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"react-native": "*"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@tamagui/build": "^1.0.1-beta.
|
|
38
|
+
"@tamagui/build": "^1.0.1-beta.94",
|
|
39
39
|
"@types/react-native": "^0.67.3",
|
|
40
40
|
"react": "*",
|
|
41
41
|
"react-dom": "*",
|
package/types/Popper.d.ts
CHANGED
|
@@ -32,13 +32,13 @@ declare type PopperAnchorRef = HTMLElement | View;
|
|
|
32
32
|
export declare type PopperAnchorProps = YStackProps & {
|
|
33
33
|
virtualRef?: React.RefObject<any>;
|
|
34
34
|
};
|
|
35
|
-
export declare const PopperAnchor: React.ForwardRefExoticComponent<Omit<import("react-native").ViewProps, "
|
|
35
|
+
export declare const PopperAnchor: React.ForwardRefExoticComponent<Omit<import("react-native").ViewProps, "display" | "children"> & 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"> & {
|
|
36
36
|
readonly fullscreen?: boolean | undefined;
|
|
37
37
|
readonly elevation?: SizeTokens | undefined;
|
|
38
|
-
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "
|
|
38
|
+
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & 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"> & {
|
|
39
39
|
readonly fullscreen?: boolean | undefined;
|
|
40
40
|
readonly elevation?: SizeTokens | undefined;
|
|
41
|
-
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "
|
|
41
|
+
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & 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"> & {
|
|
42
42
|
readonly fullscreen?: boolean | undefined;
|
|
43
43
|
readonly elevation?: SizeTokens | undefined;
|
|
44
44
|
}>> & {
|
|
@@ -46,7 +46,7 @@ export declare const PopperAnchor: React.ForwardRefExoticComponent<Omit<import("
|
|
|
46
46
|
} & React.RefAttributes<PopperAnchorRef>>;
|
|
47
47
|
declare type PopperContentElement = HTMLElement | View;
|
|
48
48
|
export declare type PopperContentProps = SizableStackProps;
|
|
49
|
-
export declare const PopperContent: React.ForwardRefExoticComponent<Omit<import("react-native").ViewProps, "
|
|
49
|
+
export declare const PopperContent: React.ForwardRefExoticComponent<Omit<import("react-native").ViewProps, "display" | "children"> & 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<{
|
|
50
50
|
readonly fullscreen?: boolean | undefined;
|
|
51
51
|
readonly elevation?: SizeTokens | undefined;
|
|
52
52
|
}, "size" | "fontFamily" | "hoverTheme" | "pressTheme" | "focusTheme" | "circular" | "elevate" | "bordered"> & {
|
|
@@ -58,7 +58,7 @@ export declare const PopperContent: React.ForwardRefExoticComponent<Omit<import(
|
|
|
58
58
|
elevate?: boolean | undefined;
|
|
59
59
|
bordered?: number | boolean | undefined;
|
|
60
60
|
size?: SizeTokens | undefined;
|
|
61
|
-
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "
|
|
61
|
+
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & 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<{
|
|
62
62
|
readonly fullscreen?: boolean | undefined;
|
|
63
63
|
readonly elevation?: SizeTokens | undefined;
|
|
64
64
|
}, "size" | "fontFamily" | "hoverTheme" | "pressTheme" | "focusTheme" | "circular" | "elevate" | "bordered"> & {
|
|
@@ -70,7 +70,7 @@ export declare const PopperContent: React.ForwardRefExoticComponent<Omit<import(
|
|
|
70
70
|
elevate?: boolean | undefined;
|
|
71
71
|
bordered?: number | boolean | undefined;
|
|
72
72
|
size?: SizeTokens | undefined;
|
|
73
|
-
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "
|
|
73
|
+
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & 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<{
|
|
74
74
|
readonly fullscreen?: boolean | undefined;
|
|
75
75
|
readonly elevation?: SizeTokens | undefined;
|
|
76
76
|
}, "size" | "fontFamily" | "hoverTheme" | "pressTheme" | "focusTheme" | "circular" | "elevate" | "bordered"> & {
|
|
@@ -88,13 +88,13 @@ export declare type PopperArrowProps = YStackProps & {
|
|
|
88
88
|
offset?: number;
|
|
89
89
|
size?: SizeTokens;
|
|
90
90
|
};
|
|
91
|
-
export declare const PopperArrow: React.ForwardRefExoticComponent<Omit<import("react-native").ViewProps, "
|
|
91
|
+
export declare const PopperArrow: React.ForwardRefExoticComponent<Omit<import("react-native").ViewProps, "display" | "children"> & 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"> & {
|
|
92
92
|
readonly fullscreen?: boolean | undefined;
|
|
93
93
|
readonly elevation?: SizeTokens | undefined;
|
|
94
|
-
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "
|
|
94
|
+
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & 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"> & {
|
|
95
95
|
readonly fullscreen?: boolean | undefined;
|
|
96
96
|
readonly elevation?: SizeTokens | undefined;
|
|
97
|
-
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "
|
|
97
|
+
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & 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"> & {
|
|
98
98
|
readonly fullscreen?: boolean | undefined;
|
|
99
99
|
readonly elevation?: SizeTokens | undefined;
|
|
100
100
|
}>> & {
|
package/types/Popper.d.ts.map
CHANGED
|
File without changes
|
package/types/index.d.ts
CHANGED
|
File without changes
|
package/types/index.d.ts.map
CHANGED
|
File without changes
|
package/types/floating.d.ts
DELETED
package/types/floating.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"floating.d.ts","sourceRoot":"","sources":["../src/floating.tsx"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"floating.native.d.ts","sourceRoot":"","sources":["../src/floating.native.tsx"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA"}
|
package/types/useFloating.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import * as Floating from './floating';
|
|
3
|
-
export declare type UseFloatingFn = typeof Floating.useFloating;
|
|
4
|
-
declare type UseFloatingProps = UseFloatingFn extends (props: infer Props) => any ? Props : never;
|
|
5
|
-
export declare type UseFloatingResult = ReturnType<UseFloatingFn> & {
|
|
6
|
-
getFloatingProps?: (props: {
|
|
7
|
-
ref: any;
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
}) => any;
|
|
10
|
-
getReferenceProps?: (props: {
|
|
11
|
-
ref: any;
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
}) => any;
|
|
14
|
-
};
|
|
15
|
-
export declare const FloatingOverrideContext: import("react").Context<typeof Floating.useFloating | null>;
|
|
16
|
-
export declare const useFloating: (props: UseFloatingProps) => UseFloatingResult;
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=useFloating.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useFloating.d.ts","sourceRoot":"","sources":["../src/useFloating.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAA;AAEtC,oBAAY,aAAa,GAAG,OAAO,QAAQ,CAAC,WAAW,CAAA;AAEvD,aAAK,gBAAgB,GAAG,aAAa,SAAS,CAAC,KAAK,EAAE,MAAM,KAAK,KAAK,GAAG,GAAG,KAAK,GAAG,KAAK,CAAA;AAEzF,oBAAY,iBAAiB,GAAG,UAAU,CAAC,aAAa,CAAC,GAAG;IAC1D,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,GAAG,EAAE,GAAG,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,KAAK,GAAG,CAAA;IACnE,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,GAAG,EAAE,GAAG,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,KAAK,GAAG,CAAA;CACrE,CAAA;AAED,eAAO,MAAM,uBAAuB,6DAA4C,CAAA;AAEhF,eAAO,MAAM,WAAW,UAAW,gBAAgB,KAAG,iBAGrD,CAAA"}
|