@tamagui/select 1.124.17 → 1.124.18
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/SelectItem.d.ts +4 -7
- package/types/SelectItem.d.ts.map +1 -1
- package/types/context.d.ts +16 -28
- 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.124.
|
|
3
|
+
"version": "1.124.18",
|
|
4
4
|
"removeSideEffects": "true",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
@@ -37,33 +37,33 @@
|
|
|
37
37
|
"@floating-ui/react": "^0.27.3",
|
|
38
38
|
"@floating-ui/react-dom": "^2.1.2",
|
|
39
39
|
"@floating-ui/react-native": "^0.10.7",
|
|
40
|
-
"@tamagui/adapt": "1.124.
|
|
41
|
-
"@tamagui/animate-presence": "1.124.
|
|
42
|
-
"@tamagui/compose-refs": "1.124.
|
|
43
|
-
"@tamagui/constants": "1.124.
|
|
44
|
-
"@tamagui/core": "1.124.
|
|
45
|
-
"@tamagui/create-context": "1.124.
|
|
46
|
-
"@tamagui/dismissable": "1.124.
|
|
47
|
-
"@tamagui/focus-scope": "1.124.
|
|
48
|
-
"@tamagui/get-token": "1.124.
|
|
49
|
-
"@tamagui/helpers": "1.124.
|
|
50
|
-
"@tamagui/list-item": "1.124.
|
|
51
|
-
"@tamagui/portal": "1.124.
|
|
52
|
-
"@tamagui/remove-scroll": "1.124.
|
|
53
|
-
"@tamagui/separator": "1.124.
|
|
54
|
-
"@tamagui/sheet": "1.124.
|
|
55
|
-
"@tamagui/stacks": "1.124.
|
|
56
|
-
"@tamagui/text": "1.124.
|
|
57
|
-
"@tamagui/use-controllable-state": "1.124.
|
|
58
|
-
"@tamagui/use-debounce": "1.124.
|
|
59
|
-
"@tamagui/use-event": "1.124.
|
|
60
|
-
"@tamagui/use-previous": "1.124.
|
|
40
|
+
"@tamagui/adapt": "1.124.18",
|
|
41
|
+
"@tamagui/animate-presence": "1.124.18",
|
|
42
|
+
"@tamagui/compose-refs": "1.124.18",
|
|
43
|
+
"@tamagui/constants": "1.124.18",
|
|
44
|
+
"@tamagui/core": "1.124.18",
|
|
45
|
+
"@tamagui/create-context": "1.124.18",
|
|
46
|
+
"@tamagui/dismissable": "1.124.18",
|
|
47
|
+
"@tamagui/focus-scope": "1.124.18",
|
|
48
|
+
"@tamagui/get-token": "1.124.18",
|
|
49
|
+
"@tamagui/helpers": "1.124.18",
|
|
50
|
+
"@tamagui/list-item": "1.124.18",
|
|
51
|
+
"@tamagui/portal": "1.124.18",
|
|
52
|
+
"@tamagui/remove-scroll": "1.124.18",
|
|
53
|
+
"@tamagui/separator": "1.124.18",
|
|
54
|
+
"@tamagui/sheet": "1.124.18",
|
|
55
|
+
"@tamagui/stacks": "1.124.18",
|
|
56
|
+
"@tamagui/text": "1.124.18",
|
|
57
|
+
"@tamagui/use-controllable-state": "1.124.18",
|
|
58
|
+
"@tamagui/use-debounce": "1.124.18",
|
|
59
|
+
"@tamagui/use-event": "1.124.18",
|
|
60
|
+
"@tamagui/use-previous": "1.124.18"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"react": "*"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@tamagui/build": "1.124.
|
|
66
|
+
"@tamagui/build": "1.124.18",
|
|
67
67
|
"react": "*",
|
|
68
68
|
"react-native": "^0.76.5"
|
|
69
69
|
},
|
package/types/SelectItem.d.ts
CHANGED
|
@@ -5,13 +5,10 @@ type SelectItemContextValue = {
|
|
|
5
5
|
textId: string;
|
|
6
6
|
isSelected: boolean;
|
|
7
7
|
};
|
|
8
|
-
export declare const SelectItemContextProvider: {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
displayName: string;
|
|
14
|
-
}, useSelectItemContext: (consumerName: string, scope: import("@tamagui/create-context").Scope<SelectItemContextValue | undefined>, options?: {
|
|
8
|
+
export declare const SelectItemContextProvider: (props: SelectItemContextValue & {
|
|
9
|
+
scope: import("@tamagui/create-context").Scope<SelectItemContextValue>;
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element, useSelectItemContext: (consumerName: string, scope: import("@tamagui/create-context").Scope<SelectItemContextValue | undefined>, options?: {
|
|
15
12
|
warn?: boolean;
|
|
16
13
|
fallback?: Partial<SelectItemContextValue> | undefined;
|
|
17
14
|
} | undefined) => SelectItemContextValue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectItem.d.ts","sourceRoot":"","sources":["../src/SelectItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAEvD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAW9B,KAAK,sBAAsB,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,eAAO,MAAO,yBAAyB
|
|
1
|
+
{"version":3,"file":"SelectItem.d.ts","sourceRoot":"","sources":["../src/SelectItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAEvD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAW9B,KAAK,sBAAsB,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,eAAO,MAAO,yBAAyB;;cAM1B,MACX,SAAM;aAGR,mBAAkB,eAVuB,oBAAoB;;;wCACL,CAAA;AAExD,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,aAAa,EAAE,MAAM,oBAAoB,CAAC,EACrD,oBAAoB;CAAG;AAE3B,eAAO,MAAM,UAAU;;;;WAwBhB,CAAC;cACQ,CAAC;YACN,CAAC;aACC,CAAC;;;;;;;;;;;;;;;;;;;;;WAHP,CAAC;cACQ,CAAC;YACN,CAAC;aACC,CAAC;;;;;;;;;;;;;;;;;6CAsJb,CAAA"}
|
package/types/context.d.ts
CHANGED
|
@@ -1,41 +1,29 @@
|
|
|
1
1
|
import type { SelectScopedProps, SelectContextValue, SelectItemParentContextValue } from './types';
|
|
2
|
-
export declare const createSelectContext: <ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType) => readonly [{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
displayName: string;
|
|
8
|
-
}, (consumerName: string, scope: import("@tamagui/create-context").Scope<ContextValueType | undefined>, options?: {
|
|
2
|
+
export declare const createSelectContext: <ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType) => readonly [(props: ContextValueType & {
|
|
3
|
+
scope: import("@tamagui/create-context").Scope<ContextValueType>;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element, (consumerName: string, scope: import("@tamagui/create-context").Scope<ContextValueType | undefined>, options?: {
|
|
9
6
|
warn?: boolean;
|
|
10
7
|
fallback?: Partial<ContextValueType>;
|
|
11
8
|
}) => ContextValueType], createSelectScope: import("@tamagui/create-context").CreateScope;
|
|
12
|
-
export declare const SelectProvider: {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
displayName: string;
|
|
18
|
-
}, useSelectContext: (consumerName: string, scope: import("@tamagui/create-context").Scope<SelectContextValue | undefined>, options?: {
|
|
9
|
+
export declare const SelectProvider: (props: SelectContextValue & {
|
|
10
|
+
scope: import("@tamagui/create-context").Scope<SelectContextValue>;
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
}) => import("react/jsx-runtime").JSX.Element, useSelectContext: (consumerName: string, scope: import("@tamagui/create-context").Scope<SelectContextValue | undefined>, options?: {
|
|
19
13
|
warn?: boolean;
|
|
20
14
|
fallback?: Partial<SelectContextValue> | undefined;
|
|
21
15
|
} | undefined) => SelectContextValue;
|
|
22
|
-
export declare const createSelectItemParentContext: <ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType) => readonly [{
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
displayName: string;
|
|
28
|
-
}, (consumerName: string, scope: import("@tamagui/create-context").Scope<ContextValueType | undefined>, options?: {
|
|
16
|
+
export declare const createSelectItemParentContext: <ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType) => readonly [(props: ContextValueType & {
|
|
17
|
+
scope: import("@tamagui/create-context").Scope<ContextValueType>;
|
|
18
|
+
children: React.ReactNode;
|
|
19
|
+
}) => import("react/jsx-runtime").JSX.Element, (consumerName: string, scope: import("@tamagui/create-context").Scope<ContextValueType | undefined>, options?: {
|
|
29
20
|
warn?: boolean;
|
|
30
21
|
fallback?: Partial<ContextValueType>;
|
|
31
22
|
}) => ContextValueType], createSelectItemParentScope: import("@tamagui/create-context").CreateScope;
|
|
32
|
-
export declare const SelectItemParentProvider: {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
displayName: string;
|
|
38
|
-
}, useSelectItemParentContext: (consumerName: string, scope: import("@tamagui/create-context").Scope<SelectItemParentContextValue | undefined>, options?: {
|
|
23
|
+
export declare const SelectItemParentProvider: (props: SelectItemParentContextValue & {
|
|
24
|
+
scope: import("@tamagui/create-context").Scope<SelectItemParentContextValue>;
|
|
25
|
+
children: React.ReactNode;
|
|
26
|
+
}) => import("react/jsx-runtime").JSX.Element, useSelectItemParentContext: (consumerName: string, scope: import("@tamagui/create-context").Scope<SelectItemParentContextValue | undefined>, options?: {
|
|
39
27
|
warn?: boolean;
|
|
40
28
|
fallback?: Partial<SelectItemParentContextValue> | undefined;
|
|
41
29
|
} | undefined) => SelectItemParentContextValue;
|
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,iBAAiB,EACjB,kBAAkB,EAClB,4BAA4B,EAC7B,MAAM,SAAS,CAAA;AAEhB,eAAO,MAAO,mBAAmB
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EAClB,4BAA4B,EAC7B,MAAM,SAAS,CAAA;AAEhB,eAAO,MAAO,mBAAmB;;cAqBS,MACrC,SACA;aACI,mBAAmB,2HACuB,CAAC;QAAS,CAAC;YACpD,CAAC;yBA1BwB,iBAAiB,+CAAmC,CAAA;AAEvF,eAAO,MAAO,cAAc;;cAmBc,MACrC,SACA;aACI,mBAAmB,eAtBE,gBAAgB;;;oCACQ,CAAA;AAItD,eAAO,MAAO,6BAA6B;;cAcD,MACrC,SACA;aACI,mBAAmB,2HACuB,CAAC;QAAS,CAAC;YACpD,CAAC;yBAnBkC,2BAA2B,+CACvC,CAAA;AAEjC,eAAO,MAAO,wBAAwB;;cAWI,MACrC,SACA;aACI,mBAAmB,eAdY,0BAA0B;;;8CACF,CAAA;AAEhE,eAAO,MAAM,oBAAoB,uDAK9B,iBAAiB,CAAC;IACnB,QAAQ,CAAC,EAAE,GAAG,CAAA;IACd,OAAO,EAAE,kBAAkB,CAAA;IAC3B,WAAW,EAAE,4BAA4B,CAAA;CAC1C,CAAC,4CAQD,CAAA"}
|