@tamagui/select 1.89.30 → 1.90.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/package.json +23 -23
- package/types/Select.d.ts +2 -2
- package/types/SelectContent.d.ts +1 -2
- package/types/SelectContent.d.ts.map +1 -1
- package/types/SelectImpl.d.ts +1 -2
- package/types/SelectImpl.d.ts.map +1 -1
- package/types/SelectImpl.native.d.ts +1 -2
- package/types/SelectImpl.native.d.ts.map +1 -1
- package/types/SelectItem.d.ts +1 -1
- package/types/SelectViewport.native.d.ts +1 -2
- package/types/SelectViewport.native.d.ts.map +1 -1
- package/types/context.d.ts +5 -5
- package/types/context.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/select",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.90.1",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -35,27 +35,27 @@
|
|
|
35
35
|
"@floating-ui/react": "^0.26.6",
|
|
36
36
|
"@floating-ui/react-dom": "^2.0.6",
|
|
37
37
|
"@floating-ui/react-native": "^0.10.3",
|
|
38
|
-
"@tamagui/adapt": "1.
|
|
39
|
-
"@tamagui/animate-presence": "1.
|
|
40
|
-
"@tamagui/compose-refs": "1.
|
|
41
|
-
"@tamagui/constants": "1.
|
|
42
|
-
"@tamagui/core": "1.
|
|
43
|
-
"@tamagui/create-context": "1.
|
|
44
|
-
"@tamagui/dismissable": "1.
|
|
45
|
-
"@tamagui/focus-scope": "1.
|
|
46
|
-
"@tamagui/get-token": "1.
|
|
47
|
-
"@tamagui/helpers": "1.
|
|
48
|
-
"@tamagui/list-item": "1.
|
|
49
|
-
"@tamagui/portal": "1.
|
|
50
|
-
"@tamagui/remove-scroll": "1.
|
|
51
|
-
"@tamagui/separator": "1.
|
|
52
|
-
"@tamagui/sheet": "1.
|
|
53
|
-
"@tamagui/stacks": "1.
|
|
54
|
-
"@tamagui/text": "1.
|
|
55
|
-
"@tamagui/use-controllable-state": "1.
|
|
56
|
-
"@tamagui/use-debounce": "1.
|
|
57
|
-
"@tamagui/use-event": "1.
|
|
58
|
-
"@tamagui/use-previous": "1.
|
|
38
|
+
"@tamagui/adapt": "1.90.1",
|
|
39
|
+
"@tamagui/animate-presence": "1.90.1",
|
|
40
|
+
"@tamagui/compose-refs": "1.90.1",
|
|
41
|
+
"@tamagui/constants": "1.90.1",
|
|
42
|
+
"@tamagui/core": "1.90.1",
|
|
43
|
+
"@tamagui/create-context": "1.90.1",
|
|
44
|
+
"@tamagui/dismissable": "1.90.1",
|
|
45
|
+
"@tamagui/focus-scope": "1.90.1",
|
|
46
|
+
"@tamagui/get-token": "1.90.1",
|
|
47
|
+
"@tamagui/helpers": "1.90.1",
|
|
48
|
+
"@tamagui/list-item": "1.90.1",
|
|
49
|
+
"@tamagui/portal": "1.90.1",
|
|
50
|
+
"@tamagui/remove-scroll": "1.90.1",
|
|
51
|
+
"@tamagui/separator": "1.90.1",
|
|
52
|
+
"@tamagui/sheet": "1.90.1",
|
|
53
|
+
"@tamagui/stacks": "1.90.1",
|
|
54
|
+
"@tamagui/text": "1.90.1",
|
|
55
|
+
"@tamagui/use-controllable-state": "1.90.1",
|
|
56
|
+
"@tamagui/use-debounce": "1.90.1",
|
|
57
|
+
"@tamagui/use-event": "1.90.1",
|
|
58
|
+
"@tamagui/use-previous": "1.90.1",
|
|
59
59
|
"react-dom": "^18.2.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"react-native": "*"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@tamagui/build": "1.
|
|
66
|
+
"@tamagui/build": "1.90.1",
|
|
67
67
|
"react": "^18.2.0",
|
|
68
68
|
"react-native": "^0.73.4"
|
|
69
69
|
},
|
package/types/Select.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export type SelectLabelProps = ListItemProps;
|
|
|
29
29
|
export declare const SelectSeparator: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
30
30
|
vertical?: boolean | undefined;
|
|
31
31
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
32
|
-
export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element) & {
|
|
32
|
+
export declare const Select: ((props: ScopedProps<SelectProps>) => import("react/jsx-runtime").JSX.Element) & {
|
|
33
33
|
Adapt: (({ platform, when, children }: import("@tamagui/adapt").AdaptProps) => any) & {
|
|
34
34
|
Contents: {
|
|
35
35
|
(props: any): React.FunctionComponentElement<any>;
|
|
@@ -41,7 +41,7 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
41
41
|
zIndex?: number | undefined;
|
|
42
42
|
} & {
|
|
43
43
|
__scopeSelect?: import("@tamagui/create-context").Scope;
|
|
44
|
-
} & import("@tamagui/focus-scope").FocusScopeProps) => JSX.Element | null;
|
|
44
|
+
} & import("@tamagui/focus-scope").FocusScopeProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
45
45
|
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
46
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
47
47
|
fullscreen?: boolean | undefined;
|
package/types/SelectContent.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { FocusScopeProps } from '@tamagui/focus-scope';
|
|
3
2
|
import type { SelectContentProps } from './types';
|
|
4
|
-
export declare const SelectContent: ({ children, __scopeSelect, zIndex, ...focusScopeProps }: SelectContentProps & FocusScopeProps) => JSX.Element | null;
|
|
3
|
+
export declare const SelectContent: ({ children, __scopeSelect, zIndex, ...focusScopeProps }: SelectContentProps & FocusScopeProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
5
4
|
//# sourceMappingURL=SelectContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectContent.d.ts","sourceRoot":"","sources":["../src/SelectContent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectContent.d.ts","sourceRoot":"","sources":["../src/SelectContent.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAK3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AASjD,eAAO,MAAM,aAAa,4DAKvB,kBAAkB,GAAG,eAAe,mDAyCtC,CAAA"}
|
package/types/SelectImpl.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { SelectImplProps } from './types';
|
|
3
|
-
export declare const SelectInlineImpl: (props: SelectImplProps) => JSX.Element;
|
|
2
|
+
export declare const SelectInlineImpl: (props: SelectImplProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
//# sourceMappingURL=SelectImpl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectImpl.d.ts","sourceRoot":"","sources":["../src/SelectImpl.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectImpl.d.ts","sourceRoot":"","sources":["../src/SelectImpl.tsx"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAG9C,eAAO,MAAM,gBAAgB,UAAW,eAAe,4CA8WtD,CAAA"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { SelectImplProps } from './types';
|
|
3
2
|
/**
|
|
4
3
|
* TODO can just make it a sheet for native
|
|
5
4
|
* later on can have `native` prop
|
|
6
5
|
*/
|
|
7
|
-
export declare const SelectInlineImpl: (props: SelectImplProps) => JSX.Element;
|
|
6
|
+
export declare const SelectInlineImpl: (props: SelectImplProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
//# sourceMappingURL=SelectImpl.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectImpl.native.d.ts","sourceRoot":"","sources":["../src/SelectImpl.native.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectImpl.native.d.ts","sourceRoot":"","sources":["../src/SelectImpl.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C;;;GAGG;AAEH,eAAO,MAAM,gBAAgB,UAAW,eAAe,4CAKtD,CAAA"}
|
package/types/SelectItem.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare const SelectItemContextProvider: {
|
|
|
9
9
|
(props: SelectItemContextValue & {
|
|
10
10
|
scope: import("@tamagui/create-context").Scope<SelectItemContextValue>;
|
|
11
11
|
children: React.ReactNode;
|
|
12
|
-
}): JSX.Element;
|
|
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
15
|
warn?: boolean | undefined;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ScopedProps, SelectViewportProps } from './types';
|
|
3
2
|
export declare const SelectViewport: {
|
|
4
|
-
(props: ScopedProps<SelectViewportProps>): JSX.Element;
|
|
3
|
+
(props: ScopedProps<SelectViewportProps>): import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
displayName: string;
|
|
6
5
|
};
|
|
7
6
|
//# sourceMappingURL=SelectViewport.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectViewport.native.d.ts","sourceRoot":"","sources":["../src/SelectViewport.native.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectViewport.native.d.ts","sourceRoot":"","sources":["../src/SelectViewport.native.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAE/D,eAAO,MAAM,cAAc;YAAW,YAAY,mBAAmB,CAAC;;CAuBrE,CAAA"}
|
package/types/context.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare const createSelectContext: <ContextValueType extends object | nul
|
|
|
4
4
|
(props: ContextValueType & {
|
|
5
5
|
scope: import("@tamagui/create-context").Scope<ContextValueType>;
|
|
6
6
|
children: import("react").ReactNode;
|
|
7
|
-
}): JSX.Element;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
displayName: string;
|
|
9
9
|
}, (consumerName: string, scope: import("@tamagui/create-context").Scope<ContextValueType | undefined>, options?: {
|
|
10
10
|
warn?: boolean | undefined;
|
|
@@ -14,7 +14,7 @@ export declare const SelectProvider: {
|
|
|
14
14
|
(props: SelectContextValue & {
|
|
15
15
|
scope: import("@tamagui/create-context").Scope<SelectContextValue>;
|
|
16
16
|
children: import("react").ReactNode;
|
|
17
|
-
}): JSX.Element;
|
|
17
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
displayName: string;
|
|
19
19
|
}, useSelectContext: (consumerName: string, scope: import("@tamagui/create-context").Scope<SelectContextValue | undefined>, options?: {
|
|
20
20
|
warn?: boolean | undefined;
|
|
@@ -24,7 +24,7 @@ export declare const createSelectItemParentContext: <ContextValueType extends ob
|
|
|
24
24
|
(props: ContextValueType & {
|
|
25
25
|
scope: import("@tamagui/create-context").Scope<ContextValueType>;
|
|
26
26
|
children: import("react").ReactNode;
|
|
27
|
-
}): JSX.Element;
|
|
27
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
28
28
|
displayName: string;
|
|
29
29
|
}, (consumerName: string, scope: import("@tamagui/create-context").Scope<ContextValueType | undefined>, options?: {
|
|
30
30
|
warn?: boolean | undefined;
|
|
@@ -34,7 +34,7 @@ export declare const SelectItemParentProvider: {
|
|
|
34
34
|
(props: SelectItemParentContextValue & {
|
|
35
35
|
scope: import("@tamagui/create-context").Scope<SelectItemParentContextValue>;
|
|
36
36
|
children: import("react").ReactNode;
|
|
37
|
-
}): JSX.Element;
|
|
37
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
38
38
|
displayName: string;
|
|
39
39
|
}, useSelectItemParentContext: (consumerName: string, scope: import("@tamagui/create-context").Scope<SelectItemParentContextValue | undefined>, options?: {
|
|
40
40
|
warn?: boolean | undefined;
|
|
@@ -44,5 +44,5 @@ export declare const ForwardSelectContext: ({ __scopeSelect, context, itemContex
|
|
|
44
44
|
children?: any;
|
|
45
45
|
context: SelectContextValue;
|
|
46
46
|
itemContext: SelectItemParentContextValue;
|
|
47
|
-
}>) => JSX.Element;
|
|
47
|
+
}>) => import("react/jsx-runtime").JSX.Element;
|
|
48
48
|
//# sourceMappingURL=context.d.ts.map
|
package/types/context.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.tsx"],"names":[],"mappings":";AAGA,OAAO,KAAK,EACV,WAAW,EACX,kBAAkB,EAClB,4BAA4B,EAC7B,MAAM,SAAS,CAAA;AAEhB,eAAO,MAAO,mBAAmB;;;;;;;;;qCAAE,iBAAiB,+CAAmC,CAAA;AAEvF,eAAO,MAAO,cAAc;;;;;;GAAE,gBAAgB;;;oCACQ,CAAA;AAItD,eAAO,MAAO,6BAA6B;;;;;;;;;qCAAE,2BAA2B,+CACvC,CAAA;AAEjC,eAAO,MAAO,wBAAwB;;;;;;GAAE,0BAA0B;;;8CACF,CAAA;AAEhE,eAAO,MAAM,oBAAoB;eAMpB,GAAG;aACL,kBAAkB;iBACd,4BAA4B;
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.tsx"],"names":[],"mappings":";AAGA,OAAO,KAAK,EACV,WAAW,EACX,kBAAkB,EAClB,4BAA4B,EAC7B,MAAM,SAAS,CAAA;AAEhB,eAAO,MAAO,mBAAmB;;;;;;;;;qCAAE,iBAAiB,+CAAmC,CAAA;AAEvF,eAAO,MAAO,cAAc;;;;;;GAAE,gBAAgB;;;oCACQ,CAAA;AAItD,eAAO,MAAO,6BAA6B;;;;;;;;;qCAAE,2BAA2B,+CACvC,CAAA;AAEjC,eAAO,MAAO,wBAAwB;;;;;;GAAE,0BAA0B;;;8CACF,CAAA;AAEhE,eAAO,MAAM,oBAAoB;eAMpB,GAAG;aACL,kBAAkB;iBACd,4BAA4B;8CAS1C,CAAA"}
|