@tamagui/select 1.116.1 → 1.116.3
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/BubbleSelect.js +34 -0
- package/dist/cjs/Select.js +325 -0
- package/dist/cjs/SelectContent.js +45 -0
- package/dist/cjs/SelectImpl.js +224 -0
- package/dist/cjs/SelectItem.js +142 -0
- package/dist/cjs/SelectItemText.js +62 -0
- package/dist/cjs/SelectScrollButton.js +105 -0
- package/dist/cjs/SelectTrigger.js +84 -0
- package/dist/cjs/SelectViewport.js +111 -0
- package/dist/cjs/constants.js +27 -0
- package/dist/cjs/context.js +35 -0
- package/dist/cjs/index.js +16 -0
- package/dist/cjs/types.js +14 -0
- package/dist/cjs/useSelectBreakpointActive.js +25 -0
- package/package.json +23 -23
- package/types/Select.d.ts +1 -19
- package/types/Select.d.ts.map +1 -1
- package/dist/cjs/SelectContent.native.cjs +0 -28
- package/dist/cjs/SelectContent.native.cjs.map +0 -6
- package/dist/cjs/SelectImpl.native.cjs +0 -29
- package/dist/cjs/SelectImpl.native.cjs.map +0 -6
- package/dist/cjs/SelectScrollButton.native.cjs +0 -28
- package/dist/cjs/SelectScrollButton.native.cjs.map +0 -6
- package/dist/cjs/SelectViewport.native.cjs +0 -55
- package/dist/cjs/SelectViewport.native.cjs.map +0 -6
- /package/dist/cjs/{BubbleSelect.cjs.map → BubbleSelect.js.map} +0 -0
- /package/dist/cjs/{Select.cjs.map → Select.js.map} +0 -0
- /package/dist/cjs/{SelectContent.cjs.map → SelectContent.js.map} +0 -0
- /package/dist/cjs/{SelectImpl.cjs.map → SelectImpl.js.map} +0 -0
- /package/dist/cjs/{SelectItem.cjs.map → SelectItem.js.map} +0 -0
- /package/dist/cjs/{SelectItemText.cjs.map → SelectItemText.js.map} +0 -0
- /package/dist/cjs/{SelectScrollButton.cjs.map → SelectScrollButton.js.map} +0 -0
- /package/dist/cjs/{SelectTrigger.cjs.map → SelectTrigger.js.map} +0 -0
- /package/dist/cjs/{SelectViewport.cjs.map → SelectViewport.js.map} +0 -0
- /package/dist/cjs/{constants.cjs.map → constants.js.map} +0 -0
- /package/dist/cjs/{context.cjs.map → context.js.map} +0 -0
- /package/dist/cjs/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/{types.cjs.map → types.js.map} +0 -0
- /package/dist/cjs/{useSelectBreakpointActive.cjs.map → useSelectBreakpointActive.js.map} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/select",
|
|
3
|
-
"version": "1.116.
|
|
3
|
+
"version": "1.116.3",
|
|
4
4
|
"removeSideEffects": "true",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
@@ -35,33 +35,33 @@
|
|
|
35
35
|
"@floating-ui/react": "^0.26.24",
|
|
36
36
|
"@floating-ui/react-dom": "^2.1.2",
|
|
37
37
|
"@floating-ui/react-native": "^0.10.6",
|
|
38
|
-
"@tamagui/adapt": "1.116.
|
|
39
|
-
"@tamagui/animate-presence": "1.116.
|
|
40
|
-
"@tamagui/compose-refs": "1.116.
|
|
41
|
-
"@tamagui/constants": "1.116.
|
|
42
|
-
"@tamagui/core": "1.116.
|
|
43
|
-
"@tamagui/create-context": "1.116.
|
|
44
|
-
"@tamagui/dismissable": "1.116.
|
|
45
|
-
"@tamagui/focus-scope": "1.116.
|
|
46
|
-
"@tamagui/get-token": "1.116.
|
|
47
|
-
"@tamagui/helpers": "1.116.
|
|
48
|
-
"@tamagui/list-item": "1.116.
|
|
49
|
-
"@tamagui/portal": "1.116.
|
|
50
|
-
"@tamagui/remove-scroll": "1.116.
|
|
51
|
-
"@tamagui/separator": "1.116.
|
|
52
|
-
"@tamagui/sheet": "1.116.
|
|
53
|
-
"@tamagui/stacks": "1.116.
|
|
54
|
-
"@tamagui/text": "1.116.
|
|
55
|
-
"@tamagui/use-controllable-state": "1.116.
|
|
56
|
-
"@tamagui/use-debounce": "1.116.
|
|
57
|
-
"@tamagui/use-event": "1.116.
|
|
58
|
-
"@tamagui/use-previous": "1.116.
|
|
38
|
+
"@tamagui/adapt": "1.116.3",
|
|
39
|
+
"@tamagui/animate-presence": "1.116.3",
|
|
40
|
+
"@tamagui/compose-refs": "1.116.3",
|
|
41
|
+
"@tamagui/constants": "1.116.3",
|
|
42
|
+
"@tamagui/core": "1.116.3",
|
|
43
|
+
"@tamagui/create-context": "1.116.3",
|
|
44
|
+
"@tamagui/dismissable": "1.116.3",
|
|
45
|
+
"@tamagui/focus-scope": "1.116.3",
|
|
46
|
+
"@tamagui/get-token": "1.116.3",
|
|
47
|
+
"@tamagui/helpers": "1.116.3",
|
|
48
|
+
"@tamagui/list-item": "1.116.3",
|
|
49
|
+
"@tamagui/portal": "1.116.3",
|
|
50
|
+
"@tamagui/remove-scroll": "1.116.3",
|
|
51
|
+
"@tamagui/separator": "1.116.3",
|
|
52
|
+
"@tamagui/sheet": "1.116.3",
|
|
53
|
+
"@tamagui/stacks": "1.116.3",
|
|
54
|
+
"@tamagui/text": "1.116.3",
|
|
55
|
+
"@tamagui/use-controllable-state": "1.116.3",
|
|
56
|
+
"@tamagui/use-debounce": "1.116.3",
|
|
57
|
+
"@tamagui/use-event": "1.116.3",
|
|
58
|
+
"@tamagui/use-previous": "1.116.3"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"react": "*"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tamagui/build": "1.116.
|
|
64
|
+
"@tamagui/build": "1.116.3",
|
|
65
65
|
"react": "^18.2.0 || ^19.0.0",
|
|
66
66
|
"react-dom": "^18.2.0 || ^19.0.0",
|
|
67
67
|
"react-native": "0.74.1"
|
package/types/Select.d.ts
CHANGED
|
@@ -392,25 +392,7 @@ export declare const Select: ((props: SelectScopedProps<SelectProps>) => import(
|
|
|
392
392
|
unstyled?: boolean | undefined;
|
|
393
393
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
394
394
|
Sheet: React.FunctionComponent<Omit<import("@tamagui/sheet").SheetProps, "open" | "onOpenChange"> & React.RefAttributes<import("react-native").View>> & {
|
|
395
|
-
Frame: import("react").ForwardRefExoticComponent<
|
|
396
|
-
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
397
|
-
fullscreen?: boolean | undefined;
|
|
398
|
-
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
399
|
-
top?: number;
|
|
400
|
-
bottom?: number;
|
|
401
|
-
left?: number;
|
|
402
|
-
right?: number;
|
|
403
|
-
} | undefined;
|
|
404
|
-
unstyled?: boolean | undefined;
|
|
405
|
-
}>, keyof {
|
|
406
|
-
disableHideBottomOverflow?: boolean;
|
|
407
|
-
adjustPaddingForOffscreenContent?: boolean;
|
|
408
|
-
}> & {
|
|
409
|
-
disableHideBottomOverflow?: boolean;
|
|
410
|
-
adjustPaddingForOffscreenContent?: boolean;
|
|
411
|
-
} & {
|
|
412
|
-
__scopeSheet?: import("@tamagui/create-context").Scope<any>;
|
|
413
|
-
} & import("react").RefAttributes<unknown>>;
|
|
395
|
+
Frame: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
414
396
|
Overlay: import("react").MemoExoticComponent<(propsIn: import("@tamagui/sheet/types/types").SheetScopedProps<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
415
397
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
416
398
|
fullscreen?: boolean | undefined;
|
package/types/Select.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../src/Select.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAY,cAAc,EAAE,MAAM,eAAe,CAAA;AAK7E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAQvD,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,CAAC,iBAAkB,eACrC,uBAAuB,cACzB,0BAA0B,eACjC;;sBAC+B,CAAC;mBAEtB,eACD,wBAGF,eAEA,yBACI,eAIV;0CAEK,CAAA,iBAAiB,eAAe,uBAAuB,cAC1D,0BAA0B,eAAe;sBACR,eACpC,wBAAwB,eAEpB,uCAAuC,eAAe;0CACD,CAAC,iBAAiB,eACrE,uBAAuB,cAAc,0BACzB,eAAe;;sBAGxB,CAAA;qBACD,OAAD,uBACM,cAAc;;CAuJ1B,CAAA"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all) __defProp(target, name, {
|
|
7
|
-
get: all[name],
|
|
8
|
-
enumerable: !0
|
|
9
|
-
});
|
|
10
|
-
},
|
|
11
|
-
__copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
-
get: () => from[key],
|
|
14
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
-
});
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value: !0
|
|
20
|
-
}), mod);
|
|
21
|
-
var SelectContent_native_exports = {};
|
|
22
|
-
__export(SelectContent_native_exports, {
|
|
23
|
-
SelectContent: () => SelectContent
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(SelectContent_native_exports);
|
|
26
|
-
const SelectContent = ({
|
|
27
|
-
children
|
|
28
|
-
}) => children;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all) __defProp(target, name, {
|
|
7
|
-
get: all[name],
|
|
8
|
-
enumerable: !0
|
|
9
|
-
});
|
|
10
|
-
},
|
|
11
|
-
__copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
-
get: () => from[key],
|
|
14
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
-
});
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value: !0
|
|
20
|
-
}), mod);
|
|
21
|
-
var SelectImpl_native_exports = {};
|
|
22
|
-
__export(SelectImpl_native_exports, {
|
|
23
|
-
SelectInlineImpl: () => SelectInlineImpl
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(SelectImpl_native_exports);
|
|
26
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
27
|
-
const SelectInlineImpl = props => (process.env.NODE_ENV === "development" && console.warn("Sheet not implemented inline on native"), /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
|
|
28
|
-
children: props.children
|
|
29
|
-
}));
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all) __defProp(target, name, {
|
|
7
|
-
get: all[name],
|
|
8
|
-
enumerable: !0
|
|
9
|
-
});
|
|
10
|
-
},
|
|
11
|
-
__copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
-
get: () => from[key],
|
|
14
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
-
});
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value: !0
|
|
20
|
-
}), mod);
|
|
21
|
-
var SelectScrollButton_native_exports = {};
|
|
22
|
-
__export(SelectScrollButton_native_exports, {
|
|
23
|
-
SelectScrollDownButton: () => SelectScrollDownButton,
|
|
24
|
-
SelectScrollUpButton: () => SelectScrollUpButton
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(SelectScrollButton_native_exports);
|
|
27
|
-
const SelectScrollUpButton = _ => null,
|
|
28
|
-
SelectScrollDownButton = _ => null;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all) __defProp(target, name, {
|
|
7
|
-
get: all[name],
|
|
8
|
-
enumerable: !0
|
|
9
|
-
});
|
|
10
|
-
},
|
|
11
|
-
__copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
-
get: () => from[key],
|
|
14
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
-
});
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value: !0
|
|
20
|
-
}), mod);
|
|
21
|
-
var SelectViewport_native_exports = {};
|
|
22
|
-
__export(SelectViewport_native_exports, {
|
|
23
|
-
SelectViewport: () => SelectViewport
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(SelectViewport_native_exports);
|
|
26
|
-
var import_adapt = require("@tamagui/adapt"),
|
|
27
|
-
import_core = require("@tamagui/core"),
|
|
28
|
-
import_constants = require("./constants.cjs"),
|
|
29
|
-
import_context = require("./context.cjs"),
|
|
30
|
-
import_jsx_runtime = require("react/jsx-runtime");
|
|
31
|
-
const SelectViewport = props => {
|
|
32
|
-
const {
|
|
33
|
-
__scopeSelect,
|
|
34
|
-
children
|
|
35
|
-
} = props,
|
|
36
|
-
context = (0, import_context.useSelectContext)(import_constants.VIEWPORT_NAME, __scopeSelect),
|
|
37
|
-
itemParentContext = (0, import_context.useSelectItemParentContext)(import_constants.VIEWPORT_NAME, __scopeSelect),
|
|
38
|
-
themeName = (0, import_core.useThemeName)(),
|
|
39
|
-
adaptContext = (0, import_adapt.useAdaptContext)();
|
|
40
|
-
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_adapt.AdaptPortalContents, {
|
|
41
|
-
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_core.Theme, {
|
|
42
|
-
name: themeName,
|
|
43
|
-
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_context.ForwardSelectContext, {
|
|
44
|
-
__scopeSelect,
|
|
45
|
-
itemContext: itemParentContext,
|
|
46
|
-
context,
|
|
47
|
-
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_adapt.AdaptContext.Provider, {
|
|
48
|
-
...adaptContext,
|
|
49
|
-
children
|
|
50
|
-
})
|
|
51
|
-
})
|
|
52
|
-
})
|
|
53
|
-
});
|
|
54
|
-
};
|
|
55
|
-
SelectViewport.displayName = import_constants.VIEWPORT_NAME;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/SelectViewport.native.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAmE,2BACnE,cAAoC,0BAEpC,mBAA8B,wBAC9B,iBAIO,sBAoBG;AAjBH,MAAM,iBAAiB,CAAC,UAAkD;AAC/E,QAAM,EAAE,eAAe,SAAS,IAAI,OAC9B,cAAU,iCAAiB,gCAAe,aAAa,GACvD,wBAAoB,2CAA2B,gCAAe,aAAa,GAC3E,gBAAY,0BAAa,GAGzB,mBAAe,8BAAgB;AAErC,SACE,4CAAC,oCACC,sDAAC,qBAAM,MAAM,WACX;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,aAAa;AAAA,MACb;AAAA,MAEA,sDAAC,0BAAa,UAAb,EAAuB,GAAG,cAAe,UAAS;AAAA;AAAA,EACrD,GACF,GACF;AAEJ;AAEA,eAAe,cAAc;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|