@tamagui/select 1.88.13 → 1.88.15
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/LICENSE +21 -0
- package/dist/cjs/Select.js.map +1 -1
- package/dist/cjs/Select.native.js.map +1 -1
- package/dist/cjs/SelectContent.js.map +1 -1
- package/dist/cjs/SelectImpl.js.map +1 -1
- package/dist/cjs/SelectItem.js.map +1 -1
- package/dist/cjs/SelectItem.native.js.map +1 -1
- package/dist/cjs/SelectItemText.js.map +1 -1
- package/dist/cjs/SelectItemText.native.js.map +1 -1
- package/dist/cjs/SelectTrigger.js.map +1 -1
- package/dist/cjs/SelectTrigger.native.js.map +1 -1
- package/dist/cjs/context.js.map +1 -1
- package/dist/cjs/context.native.js.map +1 -1
- package/dist/esm/BubbleSelect.mjs +23 -0
- package/dist/esm/Select.js +1 -6
- package/dist/esm/Select.js.map +1 -1
- package/dist/esm/Select.mjs +359 -0
- package/dist/esm/Select.native.js.map +1 -1
- package/dist/esm/SelectContent.js.map +1 -1
- package/dist/esm/SelectContent.mjs +47 -0
- package/dist/esm/SelectImpl.js.map +1 -1
- package/dist/esm/SelectImpl.mjs +233 -0
- package/dist/esm/SelectItem.js.map +1 -1
- package/dist/esm/SelectItem.mjs +121 -0
- package/dist/esm/SelectItem.native.js.map +1 -1
- package/dist/esm/SelectItemText.js.map +1 -1
- package/dist/esm/SelectItemText.mjs +52 -0
- package/dist/esm/SelectItemText.native.js.map +1 -1
- package/dist/esm/SelectScrollButton.mjs +100 -0
- package/dist/esm/SelectTrigger.js.map +1 -1
- package/dist/esm/SelectTrigger.mjs +53 -0
- package/dist/esm/SelectTrigger.native.js.map +1 -1
- package/dist/esm/SelectViewport.mjs +117 -0
- package/dist/esm/constants.mjs +8 -0
- package/dist/esm/context.js.map +1 -1
- package/dist/esm/context.mjs +23 -0
- package/dist/esm/context.native.js.map +1 -1
- package/dist/esm/index.mjs +2 -0
- package/dist/esm/types.mjs +0 -0
- package/dist/esm/useSelectBreakpointActive.mjs +10 -0
- package/dist/jsx/BubbleSelect.mjs +23 -0
- package/dist/jsx/Select.js +1 -6
- package/dist/jsx/Select.js.map +1 -1
- package/dist/jsx/Select.mjs +359 -0
- package/dist/jsx/Select.native.js.map +1 -1
- package/dist/jsx/SelectContent.js.map +1 -1
- package/dist/jsx/SelectContent.mjs +47 -0
- package/dist/jsx/SelectImpl.js.map +1 -1
- package/dist/jsx/SelectImpl.mjs +233 -0
- package/dist/jsx/SelectItem.js.map +1 -1
- package/dist/jsx/SelectItem.mjs +121 -0
- package/dist/jsx/SelectItem.native.js.map +1 -1
- package/dist/jsx/SelectItemText.js.map +1 -1
- package/dist/jsx/SelectItemText.mjs +52 -0
- package/dist/jsx/SelectItemText.native.js.map +1 -1
- package/dist/jsx/SelectScrollButton.mjs +100 -0
- package/dist/jsx/SelectTrigger.js.map +1 -1
- package/dist/jsx/SelectTrigger.mjs +53 -0
- package/dist/jsx/SelectTrigger.native.js.map +1 -1
- package/dist/jsx/SelectViewport.mjs +117 -0
- package/dist/jsx/constants.mjs +8 -0
- package/dist/jsx/context.js.map +1 -1
- package/dist/jsx/context.mjs +23 -0
- package/dist/jsx/context.native.js.map +1 -1
- package/dist/jsx/index.mjs +2 -0
- package/dist/jsx/types.mjs +0 -0
- package/dist/jsx/useSelectBreakpointActive.mjs +10 -0
- package/package.json +24 -24
- package/src/Select.tsx +5 -11
- package/src/SelectContent.native.tsx +1 -1
- package/src/SelectContent.tsx +3 -2
- package/src/SelectImpl.native.tsx +1 -1
- package/src/SelectImpl.tsx +2 -2
- package/src/SelectItem.tsx +3 -2
- package/src/SelectItemText.tsx +3 -2
- package/src/SelectScrollButton.native.tsx +1 -1
- package/src/SelectScrollButton.tsx +2 -2
- package/src/SelectTrigger.tsx +4 -3
- package/src/SelectViewport.native.tsx +1 -1
- package/src/SelectViewport.tsx +1 -1
- package/src/context.tsx +5 -1
- package/src/useSelectBreakpointActive.tsx +1 -1
- package/types/Select.d.ts +11 -11
- package/types/Select.d.ts.map +1 -1
- package/types/SelectContent.d.ts +2 -2
- package/types/SelectContent.d.ts.map +1 -1
- package/types/SelectContent.native.d.ts +1 -1
- package/types/SelectContent.native.d.ts.map +1 -1
- package/types/SelectImpl.d.ts +1 -1
- package/types/SelectImpl.d.ts.map +1 -1
- package/types/SelectImpl.native.d.ts +1 -1
- package/types/SelectImpl.native.d.ts.map +1 -1
- package/types/SelectItem.d.ts +1 -1
- package/types/SelectItem.d.ts.map +1 -1
- package/types/SelectItemText.d.ts +1 -1
- package/types/SelectItemText.d.ts.map +1 -1
- package/types/SelectScrollButton.d.ts +2 -2
- package/types/SelectScrollButton.d.ts.map +1 -1
- package/types/SelectScrollButton.native.d.ts +1 -1
- package/types/SelectScrollButton.native.d.ts.map +1 -1
- package/types/SelectTrigger.d.ts +6 -6
- package/types/SelectTrigger.d.ts.map +1 -1
- package/types/SelectViewport.d.ts +1 -1
- package/types/SelectViewport.d.ts.map +1 -1
- package/types/SelectViewport.native.d.ts +1 -1
- package/types/SelectViewport.native.d.ts.map +1 -1
- package/types/context.d.ts +1 -1
- package/types/context.d.ts.map +1 -1
- package/types/useSelectBreakpointActive.d.ts +1 -1
- package/types/useSelectBreakpointActive.d.ts.map +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/SelectTrigger.tsx"],
|
|
4
|
-
"mappings": "AAAA,SAAS,uBAAuB;
|
|
4
|
+
"mappings": "AAAA,SAAS,uBAAuB;AAGhC,SAAS,gBAAgB;AACzB,YAAY,WAAW;AAEvB,SAAS,kBAAkB,kCAAkC;AA4BvD;AAtBN,MAAM,eAAe,iBAIR,gBAAgB,MAAM;AAAA,EACjC,SAAuB,OAAwC,cAAc;AAC3E,UAAM,EAAE,eAAe,WAAW,IAAO,WAAW,IAAO,GAAG,aAAa,IAAI,OAEzE,UAAU,iBAAiB,cAAc,aAAa,GACtD,oBAAoB,2BAA2B,cAAc,aAAa,GAC1E,eAAe;AAAA,MACnB;AAAA,MACA,QAAQ,iBAAiB,KAAK;AAAA,IAChC;AAIA,WAAI,kBAAkB,wBACb,OAIP;AAAA,MAAC;AAAA;AAAA,QACC,eAAe;AAAA,QACf;AAAA,QACC,GAAI,CAAC,YAAY;AAAA,UAChB,cAAc;AAAA,UACd,UAAU;AAAA,UACV,YAAY;AAAA,UACZ,YAAY;AAAA,UACZ,WAAW;AAAA,UACX,YAAY;AAAA,YACV,cAAc;AAAA,YACd,cAAc;AAAA,YACd,cAAc;AAAA,UAChB;AAAA,UACA,aAAa;AAAA,QACf;AAAA,QACA,MAAM,kBAAkB;AAAA,QAExB,iBAAe,QAAQ;AAAA,QACvB,qBAAkB;AAAA,QAClB,KAAK,QAAQ;AAAA,QACb;AAAA,QACA,iBAAe,WAAW,KAAK;AAAA,QAC9B,GAAG;AAAA,QACJ,KAAK;AAAA,QACJ,GAA4C,kBAAkB,eAC3D;AAAA,UACE,GAAG,kBAAkB,aAAa,kBAAkB;AAAA,UACpD,cAAc;AACZ,oBAAQ,iBAAiB,OAAO,GAChC,kBAAkB,QAAQ,CAAC,QAAQ,IAAI;AAAA,UACzC;AAAA,QACF,IACA;AAAA,UACE,UAAU;AACR,8BAAkB,QAAQ,CAAC,QAAQ,IAAI;AAAA,UACzC;AAAA,QACF;AAAA;AAAA,IACN;AAAA,EAEJ;AACF;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { useComposedRefs } from "@tamagui/compose-refs";
|
|
2
|
+
import { ListItem } from "@tamagui/list-item";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { useSelectContext, useSelectItemParentContext } from "./context.mjs";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
const TRIGGER_NAME = "SelectTrigger",
|
|
7
|
+
SelectTrigger = React.forwardRef(function (props, forwardedRef) {
|
|
8
|
+
const {
|
|
9
|
+
__scopeSelect,
|
|
10
|
+
disabled = !1,
|
|
11
|
+
unstyled = !1,
|
|
12
|
+
...triggerProps
|
|
13
|
+
} = props,
|
|
14
|
+
context = useSelectContext(TRIGGER_NAME, __scopeSelect),
|
|
15
|
+
itemParentContext = useSelectItemParentContext(TRIGGER_NAME, __scopeSelect),
|
|
16
|
+
composedRefs = useComposedRefs(forwardedRef, context.floatingContext?.refs.setReference);
|
|
17
|
+
return itemParentContext.shouldRenderWebNative ? null : /* @__PURE__ */jsx(ListItem, {
|
|
18
|
+
componentName: TRIGGER_NAME,
|
|
19
|
+
unstyled,
|
|
20
|
+
...(!unstyled && {
|
|
21
|
+
backgrounded: !0,
|
|
22
|
+
radiused: !0,
|
|
23
|
+
hoverTheme: !0,
|
|
24
|
+
pressTheme: !0,
|
|
25
|
+
focusable: !0,
|
|
26
|
+
focusStyle: {
|
|
27
|
+
outlineStyle: "solid",
|
|
28
|
+
outlineWidth: 2,
|
|
29
|
+
outlineColor: "$outlineColor"
|
|
30
|
+
},
|
|
31
|
+
borderWidth: 1
|
|
32
|
+
}),
|
|
33
|
+
size: itemParentContext.size,
|
|
34
|
+
"aria-expanded": context.open,
|
|
35
|
+
"aria-autocomplete": "none",
|
|
36
|
+
dir: context.dir,
|
|
37
|
+
disabled,
|
|
38
|
+
"data-disabled": disabled ? "" : void 0,
|
|
39
|
+
...triggerProps,
|
|
40
|
+
ref: composedRefs,
|
|
41
|
+
...(itemParentContext.interactions ? {
|
|
42
|
+
...itemParentContext.interactions.getReferenceProps(),
|
|
43
|
+
onMouseDown() {
|
|
44
|
+
context.floatingContext?.update(), itemParentContext.setOpen(!context.open);
|
|
45
|
+
}
|
|
46
|
+
} : {
|
|
47
|
+
onPress() {
|
|
48
|
+
itemParentContext.setOpen(!context.open);
|
|
49
|
+
}
|
|
50
|
+
})
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
export { SelectTrigger };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/SelectTrigger.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAAgC,
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAAgC,kCAGhC,mBAAyB,+BACzB,QAAuB,2BAEvB,iBAA6D,sBA4BvD;AAtBN,MAAM,eAAe,iBAIR,gBAAgB,MAAM;AAAA,EACjC,SAAuB,OAAwC,cAAc;AAjB/E;AAkBI,UAAM,EAAE,eAAe,WAAW,IAAO,WAAW,IAAO,GAAG,aAAa,IAAI,OAEzE,cAAU,iCAAiB,cAAc,aAAa,GACtD,wBAAoB,2CAA2B,cAAc,aAAa,GAC1E,mBAAe;AAAA,MACnB;AAAA,OACA,aAAQ,oBAAR,mBAAyB,KAAK;AAAA,IAChC;AAIA,WAAI,kBAAkB,wBACb,OAIP;AAAA,MAAC;AAAA;AAAA,QACC,eAAe;AAAA,QACf;AAAA,QACC,GAAI,CAAC,YAAY;AAAA,UAChB,cAAc;AAAA,UACd,UAAU;AAAA,UACV,YAAY;AAAA,UACZ,YAAY;AAAA,UACZ,WAAW;AAAA,UACX,YAAY;AAAA,YACV,cAAc;AAAA,YACd,cAAc;AAAA,YACd,cAAc;AAAA,UAChB;AAAA,UACA,aAAa;AAAA,QACf;AAAA,QACA,MAAM,kBAAkB;AAAA,QAExB,iBAAe,QAAQ;AAAA,QACvB,qBAAkB;AAAA,QAClB,KAAK,QAAQ;AAAA,QACb;AAAA,QACA,iBAAe,WAAW,KAAK;AAAA,QAC9B,GAAG;AAAA,QACJ,KAAK;AAAA,QAUC,UAAU;AACR,4BAAkB,QAAQ,CAAC,QAAQ,IAAI;AAAA,QACzC;AAAA;AAAA,IAER;AAAA,EAEJ;AACF;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { FloatingFocusManager } from "@floating-ui/react";
|
|
2
|
+
import { AnimatePresence } from "@tamagui/animate-presence";
|
|
3
|
+
import { composeRefs } from "@tamagui/compose-refs";
|
|
4
|
+
import { isWeb, useIsomorphicLayoutEffect } from "@tamagui/constants";
|
|
5
|
+
import { styled } from "@tamagui/core";
|
|
6
|
+
import { PortalItem } from "@tamagui/portal";
|
|
7
|
+
import { ThemeableStack } from "@tamagui/stacks";
|
|
8
|
+
import { VIEWPORT_NAME } from "./constants.mjs";
|
|
9
|
+
import { ForwardSelectContext, useSelectContext, useSelectItemParentContext } from "./context.mjs";
|
|
10
|
+
import { useSelectBreakpointActive } from "./useSelectBreakpointActive.mjs";
|
|
11
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
+
const SelectViewportFrame = styled(ThemeableStack, {
|
|
13
|
+
name: VIEWPORT_NAME,
|
|
14
|
+
variants: {
|
|
15
|
+
unstyled: {
|
|
16
|
+
false: {
|
|
17
|
+
size: "$2",
|
|
18
|
+
backgroundColor: "$background",
|
|
19
|
+
elevate: !0,
|
|
20
|
+
bordered: !0,
|
|
21
|
+
userSelect: "none",
|
|
22
|
+
outlineWidth: 0
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
size: {
|
|
26
|
+
"...size": (val, {
|
|
27
|
+
tokens
|
|
28
|
+
}) => ({
|
|
29
|
+
borderRadius: tokens.radius[val] ?? val
|
|
30
|
+
})
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
defaultVariants: {
|
|
34
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
35
|
+
}
|
|
36
|
+
}),
|
|
37
|
+
SelectViewport = SelectViewportFrame.styleable(function (props, forwardedRef) {
|
|
38
|
+
const {
|
|
39
|
+
__scopeSelect,
|
|
40
|
+
children,
|
|
41
|
+
disableScroll,
|
|
42
|
+
...viewportProps
|
|
43
|
+
} = props,
|
|
44
|
+
context = useSelectContext(VIEWPORT_NAME, __scopeSelect),
|
|
45
|
+
itemContext = useSelectItemParentContext(VIEWPORT_NAME, __scopeSelect),
|
|
46
|
+
breakpointActive = useSelectBreakpointActive(context.sheetBreakpoint);
|
|
47
|
+
if (useIsomorphicLayoutEffect(() => {
|
|
48
|
+
context.update && context.update();
|
|
49
|
+
}, [breakpointActive]), itemContext.shouldRenderWebNative) return /* @__PURE__ */jsx(Fragment, {
|
|
50
|
+
children
|
|
51
|
+
});
|
|
52
|
+
if (breakpointActive || !isWeb) return /* @__PURE__ */jsx(PortalItem, {
|
|
53
|
+
hostName: `${context.scopeKey}SheetContents`,
|
|
54
|
+
children: /* @__PURE__ */jsx(ForwardSelectContext, {
|
|
55
|
+
__scopeSelect,
|
|
56
|
+
itemContext,
|
|
57
|
+
context,
|
|
58
|
+
children
|
|
59
|
+
})
|
|
60
|
+
});
|
|
61
|
+
if (!itemContext.interactions) return process.env.NODE_ENV === "development" && console.warn("No interactions provided to Select, potentially missing Adapt"), null;
|
|
62
|
+
const {
|
|
63
|
+
style,
|
|
64
|
+
// remove this, it was set to "Select" always
|
|
65
|
+
className,
|
|
66
|
+
...floatingProps
|
|
67
|
+
} = itemContext.interactions.getFloatingProps(),
|
|
68
|
+
composedRefs = composeRefs(forwardedRef, context.floatingContext?.refs.setFloating),
|
|
69
|
+
{
|
|
70
|
+
scrollbarWidth,
|
|
71
|
+
listStyleType,
|
|
72
|
+
overflow,
|
|
73
|
+
...restStyle
|
|
74
|
+
} = style;
|
|
75
|
+
return /* @__PURE__ */jsxs(Fragment, {
|
|
76
|
+
children: [!disableScroll && !props.unstyled && /* @__PURE__ */jsx("style", {
|
|
77
|
+
dangerouslySetInnerHTML: {
|
|
78
|
+
__html: selectViewportCSS
|
|
79
|
+
}
|
|
80
|
+
}), /* @__PURE__ */jsx(AnimatePresence, {
|
|
81
|
+
children: context.open ? /* @__PURE__ */jsx(FloatingFocusManager, {
|
|
82
|
+
context: context.floatingContext,
|
|
83
|
+
modal: !1,
|
|
84
|
+
children: /* @__PURE__ */jsx(SelectViewportFrame, {
|
|
85
|
+
disableClassName: !0,
|
|
86
|
+
size: itemContext.size,
|
|
87
|
+
role: "presentation",
|
|
88
|
+
...viewportProps,
|
|
89
|
+
...floatingProps,
|
|
90
|
+
...restStyle,
|
|
91
|
+
...(!props.unstyled && {
|
|
92
|
+
overflow: disableScroll ? void 0 : overflow ?? "scroll"
|
|
93
|
+
}),
|
|
94
|
+
ref: composedRefs,
|
|
95
|
+
children
|
|
96
|
+
}, "select-viewport")
|
|
97
|
+
}) : null
|
|
98
|
+
}), !context.open && /* @__PURE__ */jsx("div", {
|
|
99
|
+
style: {
|
|
100
|
+
display: "none"
|
|
101
|
+
},
|
|
102
|
+
children: props.children
|
|
103
|
+
})]
|
|
104
|
+
});
|
|
105
|
+
}),
|
|
106
|
+
selectViewportCSS = `
|
|
107
|
+
.is_SelectViewport {
|
|
108
|
+
scrollbar-width: none;
|
|
109
|
+
-webkit-overflow-scrolling: touch;
|
|
110
|
+
overscroll-behavior: contain;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.is_SelectViewport::-webkit-scrollbar{
|
|
114
|
+
display:none
|
|
115
|
+
}
|
|
116
|
+
`;
|
|
117
|
+
export { SelectViewport, SelectViewportFrame };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const SELECT_NAME = "Select",
|
|
2
|
+
WINDOW_PADDING = 8,
|
|
3
|
+
SCROLL_ARROW_VELOCITY = 8,
|
|
4
|
+
SCROLL_ARROW_THRESHOLD = 8,
|
|
5
|
+
MIN_HEIGHT = 80,
|
|
6
|
+
FALLBACK_THRESHOLD = 16,
|
|
7
|
+
VIEWPORT_NAME = "SelectViewport";
|
|
8
|
+
export { FALLBACK_THRESHOLD, MIN_HEIGHT, SCROLL_ARROW_THRESHOLD, SCROLL_ARROW_VELOCITY, SELECT_NAME, VIEWPORT_NAME, WINDOW_PADDING };
|
package/dist/jsx/context.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/context.tsx"],
|
|
4
|
-
"mappings": "AAAA,SAAS,0BAA0B;AAEnC,SAAS,mBAAmB;
|
|
4
|
+
"mappings": "AAAA,SAAS,0BAA0B;AAEnC,SAAS,mBAAmB;AAgCtB;AAzBC,MAAM,CAAC,qBAAqB,iBAAiB,IAAI,mBAAmB,WAAW,GAEzE,CAAC,gBAAgB,gBAAgB,IAC5C,oBAAwC,WAAW,GAIxC,CAAC,+BAA+B,2BAA2B,IACtE,mBAAmB,WAAW,GAEnB,CAAC,0BAA0B,0BAA0B,IAChE,oBAAkD,WAAW,GAElD,uBAAuB,CAAC;AAAA,EACnC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAMI,oBAAC,kBAAe,WAAS,IAAC,OAAO,eAAgB,GAAG,SAClD,8BAAC,4BAAyB,OAAO,eAAgB,GAAG,aACjD,UACH,GACF;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { createContextScope } from "@tamagui/create-context";
|
|
2
|
+
import { SELECT_NAME } from "./constants.mjs";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
const [createSelectContext, createSelectScope] = createContextScope(SELECT_NAME),
|
|
5
|
+
[SelectProvider, useSelectContext] = createSelectContext(SELECT_NAME),
|
|
6
|
+
[createSelectItemParentContext, createSelectItemParentScope] = createContextScope(SELECT_NAME),
|
|
7
|
+
[SelectItemParentProvider, useSelectItemParentContext] = createSelectContext(SELECT_NAME),
|
|
8
|
+
ForwardSelectContext = ({
|
|
9
|
+
__scopeSelect,
|
|
10
|
+
context,
|
|
11
|
+
itemContext,
|
|
12
|
+
children
|
|
13
|
+
}) => /* @__PURE__ */jsx(SelectProvider, {
|
|
14
|
+
isInSheet: !0,
|
|
15
|
+
scope: __scopeSelect,
|
|
16
|
+
...context,
|
|
17
|
+
children: /* @__PURE__ */jsx(SelectItemParentProvider, {
|
|
18
|
+
scope: __scopeSelect,
|
|
19
|
+
...itemContext,
|
|
20
|
+
children
|
|
21
|
+
})
|
|
22
|
+
});
|
|
23
|
+
export { ForwardSelectContext, SelectItemParentProvider, SelectProvider, createSelectContext, createSelectItemParentContext, createSelectItemParentScope, createSelectScope, useSelectContext, useSelectItemParentContext };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/context.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAAmC,oCAEnC,mBAA4B,
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAAmC,oCAEnC,mBAA4B,wBAgCtB;AAzBC,MAAM,CAAC,qBAAqB,iBAAiB,QAAI,0CAAmB,4BAAW,GAEzE,CAAC,gBAAgB,gBAAgB,IAC5C,oBAAwC,4BAAW,GAIxC,CAAC,+BAA+B,2BAA2B,QACtE,0CAAmB,4BAAW,GAEnB,CAAC,0BAA0B,0BAA0B,IAChE,oBAAkD,4BAAW,GAElD,uBAAuB,CAAC;AAAA,EACnC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAMI,4CAAC,kBAAe,WAAS,IAAC,OAAO,eAAgB,GAAG,SAClD,sDAAC,4BAAyB,OAAO,eAAgB,GAAG,aACjD,UACH,GACF;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { useMedia } from "@tamagui/core";
|
|
2
|
+
const useSelectBreakpointActive = sheetBreakpoint => {
|
|
3
|
+
const media = useMedia();
|
|
4
|
+
return sheetBreakpoint ? sheetBreakpoint === !0 ? !0 : sheetBreakpoint ? media[sheetBreakpoint] : !1 : !1;
|
|
5
|
+
},
|
|
6
|
+
useShowSelectSheet = context => {
|
|
7
|
+
const breakpointActive = useSelectBreakpointActive(context.sheetBreakpoint);
|
|
8
|
+
return context.open === !1 ? !1 : breakpointActive;
|
|
9
|
+
};
|
|
10
|
+
export { useSelectBreakpointActive, useShowSelectSheet };
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/select",
|
|
3
|
-
"version": "1.88.
|
|
3
|
+
"version": "1.88.15",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
7
|
-
"source": "src/index.
|
|
7
|
+
"source": "src/index.tsx",
|
|
8
8
|
"types": "./types/index.d.ts",
|
|
9
9
|
"main": "dist/cjs",
|
|
10
10
|
"module": "dist/esm",
|
|
@@ -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.88.
|
|
39
|
-
"@tamagui/animate-presence": "1.88.
|
|
40
|
-
"@tamagui/compose-refs": "1.88.
|
|
41
|
-
"@tamagui/constants": "1.88.
|
|
42
|
-
"@tamagui/core": "1.88.
|
|
43
|
-
"@tamagui/create-context": "1.88.
|
|
44
|
-
"@tamagui/dismissable": "1.88.
|
|
45
|
-
"@tamagui/focus-scope": "1.88.
|
|
46
|
-
"@tamagui/get-token": "1.88.
|
|
47
|
-
"@tamagui/helpers": "1.88.
|
|
48
|
-
"@tamagui/list-item": "1.88.
|
|
49
|
-
"@tamagui/portal": "1.88.
|
|
50
|
-
"@tamagui/remove-scroll": "1.88.
|
|
51
|
-
"@tamagui/separator": "1.88.
|
|
52
|
-
"@tamagui/sheet": "1.88.
|
|
53
|
-
"@tamagui/stacks": "1.88.
|
|
54
|
-
"@tamagui/text": "1.88.
|
|
55
|
-
"@tamagui/use-controllable-state": "1.88.
|
|
56
|
-
"@tamagui/use-debounce": "1.88.
|
|
57
|
-
"@tamagui/use-event": "1.88.
|
|
58
|
-
"@tamagui/use-previous": "1.88.
|
|
38
|
+
"@tamagui/adapt": "1.88.15",
|
|
39
|
+
"@tamagui/animate-presence": "1.88.15",
|
|
40
|
+
"@tamagui/compose-refs": "1.88.15",
|
|
41
|
+
"@tamagui/constants": "1.88.15",
|
|
42
|
+
"@tamagui/core": "1.88.15",
|
|
43
|
+
"@tamagui/create-context": "1.88.15",
|
|
44
|
+
"@tamagui/dismissable": "1.88.15",
|
|
45
|
+
"@tamagui/focus-scope": "1.88.15",
|
|
46
|
+
"@tamagui/get-token": "1.88.15",
|
|
47
|
+
"@tamagui/helpers": "1.88.15",
|
|
48
|
+
"@tamagui/list-item": "1.88.15",
|
|
49
|
+
"@tamagui/portal": "1.88.15",
|
|
50
|
+
"@tamagui/remove-scroll": "1.88.15",
|
|
51
|
+
"@tamagui/separator": "1.88.15",
|
|
52
|
+
"@tamagui/sheet": "1.88.15",
|
|
53
|
+
"@tamagui/stacks": "1.88.15",
|
|
54
|
+
"@tamagui/text": "1.88.15",
|
|
55
|
+
"@tamagui/use-controllable-state": "1.88.15",
|
|
56
|
+
"@tamagui/use-debounce": "1.88.15",
|
|
57
|
+
"@tamagui/use-event": "1.88.15",
|
|
58
|
+
"@tamagui/use-previous": "1.88.15",
|
|
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.88.
|
|
66
|
+
"@tamagui/build": "1.88.15",
|
|
67
67
|
"react": "^18.2.0",
|
|
68
68
|
"react-native": "^0.72.6"
|
|
69
69
|
},
|
package/src/Select.tsx
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
import { Adapt, useAdaptParent } from '@tamagui/adapt'
|
|
2
2
|
import { useComposedRefs } from '@tamagui/compose-refs'
|
|
3
3
|
import { isWeb, useIsomorphicLayoutEffect } from '@tamagui/constants'
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
GetProps,
|
|
7
|
-
TamaguiElement,
|
|
8
|
-
getVariableValue,
|
|
9
|
-
styled,
|
|
10
|
-
useEvent,
|
|
11
|
-
useGet,
|
|
12
|
-
} from '@tamagui/core'
|
|
4
|
+
import type { FontSizeTokens, GetProps, TamaguiElement } from '@tamagui/core'
|
|
5
|
+
import { getVariableValue, styled, useEvent, useGet } from '@tamagui/core'
|
|
13
6
|
import { getSpace } from '@tamagui/get-token'
|
|
14
7
|
import { withStaticProperties } from '@tamagui/helpers'
|
|
15
|
-
import {
|
|
8
|
+
import type { ListItemProps } from '@tamagui/list-item'
|
|
9
|
+
import { ListItem } from '@tamagui/list-item'
|
|
16
10
|
import { PortalHost } from '@tamagui/portal'
|
|
17
11
|
import { Separator } from '@tamagui/separator'
|
|
18
12
|
import { Sheet, SheetController } from '@tamagui/sheet'
|
|
@@ -37,7 +31,7 @@ import { ITEM_TEXT_NAME, SelectItemText } from './SelectItemText'
|
|
|
37
31
|
import { SelectScrollDownButton, SelectScrollUpButton } from './SelectScrollButton'
|
|
38
32
|
import { SelectTrigger } from './SelectTrigger'
|
|
39
33
|
import { SelectViewport } from './SelectViewport'
|
|
40
|
-
import { ScopedProps, SelectImplProps, SelectProps } from './types'
|
|
34
|
+
import type { ScopedProps, SelectImplProps, SelectProps } from './types'
|
|
41
35
|
import {
|
|
42
36
|
useSelectBreakpointActive,
|
|
43
37
|
useShowSelectSheet,
|
package/src/SelectContent.tsx
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { FloatingOverlay, FloatingPortal } from '@floating-ui/react'
|
|
2
2
|
import { Theme, useIsTouchDevice, useThemeName } from '@tamagui/core'
|
|
3
|
-
import {
|
|
3
|
+
import type { FocusScopeProps } from '@tamagui/focus-scope'
|
|
4
|
+
import { FocusScope } from '@tamagui/focus-scope'
|
|
4
5
|
import { useMemo } from 'react'
|
|
5
6
|
|
|
6
7
|
import { useSelectContext, useSelectItemParentContext } from './context'
|
|
7
|
-
import { SelectContentProps } from './types'
|
|
8
|
+
import type { SelectContentProps } from './types'
|
|
8
9
|
import { useShowSelectSheet } from './useSelectBreakpointActive'
|
|
9
10
|
|
|
10
11
|
/* -------------------------------------------------------------------------------------------------
|
package/src/SelectImpl.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { SideObject } from '@floating-ui/react'
|
|
1
2
|
import {
|
|
2
|
-
SideObject,
|
|
3
3
|
flip,
|
|
4
4
|
inner,
|
|
5
5
|
offset,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
useSelectContext,
|
|
27
27
|
useSelectItemParentContext,
|
|
28
28
|
} from './context'
|
|
29
|
-
import { SelectImplProps } from './types'
|
|
29
|
+
import type { SelectImplProps } from './types'
|
|
30
30
|
|
|
31
31
|
// TODO use id for focusing from label
|
|
32
32
|
export const SelectInlineImpl = (props: SelectImplProps) => {
|
package/src/SelectItem.tsx
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { useComposedRefs } from '@tamagui/compose-refs'
|
|
2
2
|
import { isWeb, useIsomorphicLayoutEffect } from '@tamagui/constants'
|
|
3
|
-
import {
|
|
3
|
+
import type { ListItemProps } from '@tamagui/list-item'
|
|
4
|
+
import { ListItemFrame, useListItem } from '@tamagui/list-item'
|
|
4
5
|
import * as React from 'react'
|
|
5
6
|
|
|
6
7
|
import { createSelectContext, useSelectItemParentContext } from './context'
|
|
7
|
-
import { ScopedProps } from './types'
|
|
8
|
+
import type { ScopedProps } from './types'
|
|
8
9
|
|
|
9
10
|
/* -------------------------------------------------------------------------------------------------
|
|
10
11
|
* SelectItem
|
package/src/SelectItemText.tsx
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { useComposedRefs } from '@tamagui/compose-refs'
|
|
2
|
-
import { GetProps, TamaguiTextElement
|
|
2
|
+
import type { GetProps, TamaguiTextElement } from '@tamagui/core'
|
|
3
|
+
import { styled } from '@tamagui/core'
|
|
3
4
|
import { SizableText } from '@tamagui/text'
|
|
4
5
|
import * as React from 'react'
|
|
5
6
|
|
|
6
7
|
import { useSelectContext, useSelectItemParentContext } from './context'
|
|
7
8
|
import { useSelectItemContext } from './SelectItem'
|
|
8
|
-
import { ScopedProps } from './types'
|
|
9
|
+
import type { ScopedProps } from './types'
|
|
9
10
|
|
|
10
11
|
/* -------------------------------------------------------------------------------------------------
|
|
11
12
|
* SelectItemText
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ScopedProps, SelectScrollButtonProps } from './types'
|
|
1
|
+
import type { ScopedProps, SelectScrollButtonProps } from './types'
|
|
2
2
|
|
|
3
3
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
4
4
|
export const SelectScrollUpButton = (_: ScopedProps<SelectScrollButtonProps>) => null
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { autoUpdate, offset, useFloating } from '@floating-ui/react'
|
|
2
2
|
import { useComposedRefs } from '@tamagui/compose-refs'
|
|
3
|
-
import { TamaguiElement } from '@tamagui/core'
|
|
3
|
+
import type { TamaguiElement } from '@tamagui/core'
|
|
4
4
|
import { YStack } from '@tamagui/stacks'
|
|
5
5
|
import * as React from 'react'
|
|
6
6
|
import { flushSync } from 'react-dom'
|
|
7
7
|
|
|
8
8
|
import { useSelectContext } from './context'
|
|
9
|
-
import {
|
|
9
|
+
import type {
|
|
10
10
|
ScopedProps,
|
|
11
11
|
SelectScrollButtonImplProps,
|
|
12
12
|
SelectScrollButtonProps,
|
package/src/SelectTrigger.tsx
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { useComposedRefs } from '@tamagui/compose-refs'
|
|
2
|
-
import { TamaguiElement } from '@tamagui/core'
|
|
3
|
-
import {
|
|
2
|
+
import type { TamaguiElement } from '@tamagui/core'
|
|
3
|
+
import type { ListItemProps } from '@tamagui/list-item'
|
|
4
|
+
import { ListItem } from '@tamagui/list-item'
|
|
4
5
|
import * as React from 'react'
|
|
5
6
|
|
|
6
7
|
import { useSelectContext, useSelectItemParentContext } from './context'
|
|
7
|
-
import { ScopedProps } from './types'
|
|
8
|
+
import type { ScopedProps } from './types'
|
|
8
9
|
|
|
9
10
|
/* -------------------------------------------------------------------------------------------------
|
|
10
11
|
* SelectTrigger
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
useSelectContext,
|
|
10
10
|
useSelectItemParentContext,
|
|
11
11
|
} from './context'
|
|
12
|
-
import { ScopedProps, SelectViewportProps } from './types'
|
|
12
|
+
import type { ScopedProps, SelectViewportProps } from './types'
|
|
13
13
|
|
|
14
14
|
export const SelectViewport = (props: ScopedProps<SelectViewportProps>) => {
|
|
15
15
|
const { __scopeSelect, children } = props
|
package/src/SelectViewport.tsx
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
useSelectContext,
|
|
13
13
|
useSelectItemParentContext,
|
|
14
14
|
} from './context'
|
|
15
|
-
import { ScopedProps, SelectViewportExtraProps, SelectViewportProps } from './types'
|
|
15
|
+
import type { ScopedProps, SelectViewportExtraProps, SelectViewportProps } from './types'
|
|
16
16
|
import { useSelectBreakpointActive } from './useSelectBreakpointActive'
|
|
17
17
|
|
|
18
18
|
/* -------------------------------------------------------------------------------------------------
|
package/src/context.tsx
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { createContextScope } from '@tamagui/create-context'
|
|
2
2
|
|
|
3
3
|
import { SELECT_NAME } from './constants'
|
|
4
|
-
import {
|
|
4
|
+
import type {
|
|
5
|
+
ScopedProps,
|
|
6
|
+
SelectContextValue,
|
|
7
|
+
SelectItemParentContextValue,
|
|
8
|
+
} from './types'
|
|
5
9
|
|
|
6
10
|
export const [createSelectContext, createSelectScope] = createContextScope(SELECT_NAME)
|
|
7
11
|
|
package/types/Select.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FontSizeTokens, TamaguiElement } from '@tamagui/core';
|
|
2
|
-
import { ListItemProps } from '@tamagui/list-item';
|
|
1
|
+
import type { FontSizeTokens, TamaguiElement } from '@tamagui/core';
|
|
2
|
+
import type { ListItemProps } from '@tamagui/list-item';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
import { ScopedProps, SelectProps } from './types';
|
|
4
|
+
import type { ScopedProps, SelectProps } from './types';
|
|
5
5
|
export interface SelectValueExtraProps {
|
|
6
6
|
placeholder?: React.ReactNode;
|
|
7
7
|
}
|
|
@@ -154,12 +154,12 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
154
154
|
active?: boolean | undefined;
|
|
155
155
|
}>> & Omit<import("@tamagui/text").TextParentStyles, "TextComponent" | "noTextWrap"> & import("@tamagui/core").ThemeableProps & {
|
|
156
156
|
icon?: (JSX.Element | React.FunctionComponent<{
|
|
157
|
-
color?:
|
|
158
|
-
size?:
|
|
157
|
+
color?: any;
|
|
158
|
+
size?: any;
|
|
159
159
|
}> | null) | undefined;
|
|
160
160
|
iconAfter?: (JSX.Element | React.FunctionComponent<{
|
|
161
|
-
color?:
|
|
162
|
-
size?:
|
|
161
|
+
color?: any;
|
|
162
|
+
size?: any;
|
|
163
163
|
}> | null) | undefined;
|
|
164
164
|
scaleIcon?: number | undefined;
|
|
165
165
|
spaceFlex?: number | boolean | undefined;
|
|
@@ -226,12 +226,12 @@ export declare const Select: ((props: ScopedProps<SelectProps>) => JSX.Element)
|
|
|
226
226
|
active?: boolean | undefined;
|
|
227
227
|
}>> & Omit<import("@tamagui/text").TextParentStyles, "TextComponent" | "noTextWrap"> & import("@tamagui/core").ThemeableProps & {
|
|
228
228
|
icon?: (JSX.Element | React.FunctionComponent<{
|
|
229
|
-
color?:
|
|
230
|
-
size?:
|
|
229
|
+
color?: any;
|
|
230
|
+
size?: any;
|
|
231
231
|
}> | null) | undefined;
|
|
232
232
|
iconAfter?: (JSX.Element | React.FunctionComponent<{
|
|
233
|
-
color?:
|
|
234
|
-
size?:
|
|
233
|
+
color?: any;
|
|
234
|
+
size?: any;
|
|
235
235
|
}> | null) | undefined;
|
|
236
236
|
scaleIcon?: number | undefined;
|
|
237
237
|
spaceFlex?: number | 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,
|
|
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;AAI7E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAQvD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAkB9B,OAAO,KAAK,EAAE,WAAW,EAAmB,WAAW,EAAE,MAAM,SAAS,CAAA;AAiBxE,MAAM,WAAW,qBAAqB;IACpC,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC9B;AA0DD,eAAO,MAAM,UAAU;;;8CAKrB,CAAA;AA2CF,eAAO,MAAM,gBAAgB;;;8CAG3B,CAAA;AAyGF,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAA;AAgC5C,eAAO,MAAM,eAAe;;8CAE1B,CAAA;AAoCF,eAAO,MAAM,MAAM,WACT,YAAY,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgLjC,CAAA"}
|
package/types/SelectContent.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { FocusScopeProps } from '@tamagui/focus-scope';
|
|
3
|
-
import { SelectContentProps } from './types';
|
|
2
|
+
import type { FocusScopeProps } from '@tamagui/focus-scope';
|
|
3
|
+
import type { SelectContentProps } from './types';
|
|
4
4
|
export declare const SelectContent: ({ children, __scopeSelect, zIndex, ...focusScopeProps }: SelectContentProps & FocusScopeProps) => JSX.Element | null;
|
|
5
5
|
//# sourceMappingURL=SelectContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectContent.d.ts","sourceRoot":"","sources":["../src/SelectContent.tsx"],"names":[],"mappings":";AAEA,OAAO,
|
|
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,uBAyCtC,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { SelectContentProps } from './types';
|
|
2
|
+
import type { SelectContentProps } from './types';
|
|
3
3
|
export declare const SelectContent: ({ children }: SelectContentProps) => import("react").ReactNode;
|
|
4
4
|
//# sourceMappingURL=SelectContent.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectContent.native.d.ts","sourceRoot":"","sources":["../src/SelectContent.native.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"SelectContent.native.d.ts","sourceRoot":"","sources":["../src/SelectContent.native.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAEjD,eAAO,MAAM,aAAa,iBAAkB,kBAAkB,8BAE7D,CAAA"}
|
package/types/SelectImpl.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectImpl.d.ts","sourceRoot":"","sources":["../src/SelectImpl.tsx"],"names":[],"mappings":";AA4BA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"SelectImpl.d.ts","sourceRoot":"","sources":["../src/SelectImpl.tsx"],"names":[],"mappings":";AA4BA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAG9C,eAAO,MAAM,gBAAgB,UAAW,eAAe,gBA0VtD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectImpl.native.d.ts","sourceRoot":"","sources":["../src/SelectImpl.native.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;
|
|
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,gBAKtD,CAAA"}
|