@tamagui/popper 1.46.1 → 1.47.0
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 +8 -8
- package/types/Popper.d.ts +1 -1
- package/dist/jsx/Popper.mjs +0 -285
- package/dist/jsx/Popper.mjs.map +0 -6
- package/dist/jsx/index.mjs +0 -2
- package/dist/jsx/index.mjs.map +0 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/popper",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.47.0",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@floating-ui/react-dom": "^2.0.1",
|
|
35
35
|
"@floating-ui/react-native": "^0.10.1",
|
|
36
|
-
"@tamagui/compose-refs": "1.
|
|
37
|
-
"@tamagui/core": "1.
|
|
38
|
-
"@tamagui/floating": "1.
|
|
39
|
-
"@tamagui/get-token": "1.
|
|
40
|
-
"@tamagui/stacks": "1.
|
|
41
|
-
"@tamagui/use-controllable-state": "1.
|
|
36
|
+
"@tamagui/compose-refs": "1.47.0",
|
|
37
|
+
"@tamagui/core": "1.47.0",
|
|
38
|
+
"@tamagui/floating": "1.47.0",
|
|
39
|
+
"@tamagui/get-token": "1.47.0",
|
|
40
|
+
"@tamagui/stacks": "1.47.0",
|
|
41
|
+
"@tamagui/use-controllable-state": "1.47.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": "*",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"react-native": "*"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@tamagui/build": "1.
|
|
49
|
+
"@tamagui/build": "1.47.0",
|
|
50
50
|
"react": "^18.2.0",
|
|
51
51
|
"react-dom": "^18.2.0",
|
|
52
52
|
"react-native": "^0.72.1"
|
package/types/Popper.d.ts
CHANGED
|
@@ -269,7 +269,7 @@ export declare const PopperArrow: import("@tamagui/core").ReactComponentWithRef<
|
|
|
269
269
|
readonly fullscreen?: boolean | undefined;
|
|
270
270
|
readonly elevation?: SizeTokens | undefined;
|
|
271
271
|
}>>>, import("@tamagui/core").TamaguiElement> & {
|
|
272
|
-
staticConfig: import("@tamagui/core").
|
|
272
|
+
staticConfig: import("@tamagui/core").StaticConfig;
|
|
273
273
|
styleable: import("@tamagui/core").Styleable<Omit<import("react-native").ViewProps, "children" | "display" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
|
|
274
274
|
style?: import("@tamagui/core").StyleProp<React.CSSProperties | import("react-native").ViewStyle | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
275
275
|
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
package/dist/jsx/Popper.mjs
DELETED
|
@@ -1,285 +0,0 @@
|
|
|
1
|
-
import { useComposedRefs } from "@tamagui/compose-refs";
|
|
2
|
-
import {
|
|
3
|
-
View as TamaguiView,
|
|
4
|
-
createStyledContext,
|
|
5
|
-
getVariableValue,
|
|
6
|
-
isWeb,
|
|
7
|
-
styled,
|
|
8
|
-
useIsomorphicLayoutEffect,
|
|
9
|
-
useProps
|
|
10
|
-
} from "@tamagui/core";
|
|
11
|
-
import {
|
|
12
|
-
arrow,
|
|
13
|
-
autoUpdate,
|
|
14
|
-
flip,
|
|
15
|
-
offset as offsetFn,
|
|
16
|
-
shift,
|
|
17
|
-
useFloating
|
|
18
|
-
} from "@tamagui/floating";
|
|
19
|
-
import { getSpace } from "@tamagui/get-token";
|
|
20
|
-
import { ThemeableStack, YStack } from "@tamagui/stacks";
|
|
21
|
-
import * as React from "react";
|
|
22
|
-
import { Keyboard, useWindowDimensions } from "react-native";
|
|
23
|
-
const PopperContext = createStyledContext({});
|
|
24
|
-
const usePopperContext = () => React.useContext(PopperContext);
|
|
25
|
-
function Popper(props) {
|
|
26
|
-
const {
|
|
27
|
-
children,
|
|
28
|
-
size,
|
|
29
|
-
strategy = "absolute",
|
|
30
|
-
placement = "bottom",
|
|
31
|
-
stayInFrame,
|
|
32
|
-
allowFlip,
|
|
33
|
-
offset
|
|
34
|
-
} = props;
|
|
35
|
-
const [isMounted, setIsMounted] = React.useState(false);
|
|
36
|
-
useIsomorphicLayoutEffect(() => {
|
|
37
|
-
setIsMounted(true);
|
|
38
|
-
}, []);
|
|
39
|
-
const [anchorRef, setAnchorRef] = React.useState();
|
|
40
|
-
const [arrowEl, setArrow] = React.useState(null);
|
|
41
|
-
const [arrowSize, setArrowSize] = React.useState(0);
|
|
42
|
-
const offsetOptions = offset ?? arrowSize;
|
|
43
|
-
const floating = useFloating({
|
|
44
|
-
strategy,
|
|
45
|
-
placement,
|
|
46
|
-
sameScrollView: false,
|
|
47
|
-
// this only takes effect on native
|
|
48
|
-
middleware: [
|
|
49
|
-
stayInFrame ? shift(typeof stayInFrame === "boolean" ? {} : stayInFrame) : null,
|
|
50
|
-
allowFlip ? flip(typeof allowFlip === "boolean" ? {} : allowFlip) : null,
|
|
51
|
-
arrowEl ? arrow({ element: arrowEl }) : null,
|
|
52
|
-
typeof offsetOptions !== "undefined" ? offsetFn(offsetOptions) : null
|
|
53
|
-
].filter(Boolean)
|
|
54
|
-
});
|
|
55
|
-
const {
|
|
56
|
-
refs,
|
|
57
|
-
middlewareData,
|
|
58
|
-
// @ts-expect-error this comes from Tooltip for example
|
|
59
|
-
open
|
|
60
|
-
} = floating;
|
|
61
|
-
useIsomorphicLayoutEffect(() => {
|
|
62
|
-
floating.refs.setReference(anchorRef);
|
|
63
|
-
}, [anchorRef]);
|
|
64
|
-
if (isWeb) {
|
|
65
|
-
React.useEffect(() => {
|
|
66
|
-
if (open === false)
|
|
67
|
-
return;
|
|
68
|
-
if (!(refs.reference.current && refs.floating.current)) {
|
|
69
|
-
return;
|
|
70
|
-
}
|
|
71
|
-
return autoUpdate(refs.reference.current, refs.floating.current, floating.update);
|
|
72
|
-
}, [open, floating.update, refs.floating, refs.reference]);
|
|
73
|
-
} else {
|
|
74
|
-
const dimensions = useWindowDimensions();
|
|
75
|
-
const [keyboardOpen, setKeyboardOpen] = React.useState(false);
|
|
76
|
-
React.useEffect(() => {
|
|
77
|
-
const showSubscription = Keyboard.addListener("keyboardDidShow", () => {
|
|
78
|
-
setKeyboardOpen(true);
|
|
79
|
-
});
|
|
80
|
-
const hideSubscription = Keyboard.addListener("keyboardDidHide", () => {
|
|
81
|
-
setKeyboardOpen(false);
|
|
82
|
-
});
|
|
83
|
-
return () => {
|
|
84
|
-
showSubscription.remove();
|
|
85
|
-
hideSubscription.remove();
|
|
86
|
-
};
|
|
87
|
-
}, []);
|
|
88
|
-
useIsomorphicLayoutEffect(() => {
|
|
89
|
-
floating.update();
|
|
90
|
-
}, [dimensions, keyboardOpen]);
|
|
91
|
-
}
|
|
92
|
-
return <PopperContext.Provider
|
|
93
|
-
anchorRef={setAnchorRef}
|
|
94
|
-
size={size}
|
|
95
|
-
arrowRef={setArrow}
|
|
96
|
-
arrowStyle={middlewareData.arrow}
|
|
97
|
-
onArrowSize={setArrowSize}
|
|
98
|
-
isMounted={isMounted}
|
|
99
|
-
{...floating}
|
|
100
|
-
>{children}</PopperContext.Provider>;
|
|
101
|
-
}
|
|
102
|
-
const PopperAnchor = YStack.extractable(
|
|
103
|
-
React.forwardRef(function PopperAnchor2(props, forwardedRef) {
|
|
104
|
-
const { virtualRef, ...anchorProps } = props;
|
|
105
|
-
const { anchorRef, getReferenceProps } = usePopperContext();
|
|
106
|
-
const ref = React.useRef(null);
|
|
107
|
-
const composedRefs = useComposedRefs(forwardedRef, ref, anchorRef);
|
|
108
|
-
if (virtualRef) {
|
|
109
|
-
return null;
|
|
110
|
-
}
|
|
111
|
-
const stackProps = {
|
|
112
|
-
ref: composedRefs,
|
|
113
|
-
...anchorProps
|
|
114
|
-
};
|
|
115
|
-
return <TamaguiView
|
|
116
|
-
{...getReferenceProps ? getReferenceProps(stackProps) : stackProps}
|
|
117
|
-
/>;
|
|
118
|
-
})
|
|
119
|
-
);
|
|
120
|
-
const PopperContentFrame = styled(ThemeableStack, {
|
|
121
|
-
name: "PopperContent",
|
|
122
|
-
variants: {
|
|
123
|
-
unstyled: {
|
|
124
|
-
false: {
|
|
125
|
-
size: "$true",
|
|
126
|
-
backgroundColor: "$background",
|
|
127
|
-
alignItems: "center",
|
|
128
|
-
radiused: true
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
size: {
|
|
132
|
-
"...size": (val, { tokens }) => {
|
|
133
|
-
return {
|
|
134
|
-
padding: tokens.space[val],
|
|
135
|
-
borderRadius: tokens.radius[val]
|
|
136
|
-
};
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
defaultVariants: {
|
|
141
|
-
unstyled: false
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
const PopperContent = React.forwardRef(
|
|
145
|
-
function PopperContent2(props, forwardedRef) {
|
|
146
|
-
const { strategy, placement, refs, x, y, getFloatingProps, size, isMounted, update } = usePopperContext();
|
|
147
|
-
const contentRefs = useComposedRefs(refs.setFloating, forwardedRef);
|
|
148
|
-
const contents = React.useMemo(() => {
|
|
149
|
-
return <PopperContentFrame
|
|
150
|
-
key="popper-content-frame"
|
|
151
|
-
data-placement={placement}
|
|
152
|
-
data-strategy={strategy}
|
|
153
|
-
size={size}
|
|
154
|
-
{...props}
|
|
155
|
-
/>;
|
|
156
|
-
}, [placement, strategy, props]);
|
|
157
|
-
useIsomorphicLayoutEffect(() => {
|
|
158
|
-
if (isMounted) {
|
|
159
|
-
update();
|
|
160
|
-
}
|
|
161
|
-
}, [isMounted]);
|
|
162
|
-
if (!isMounted) {
|
|
163
|
-
return null;
|
|
164
|
-
}
|
|
165
|
-
const frameProps = {
|
|
166
|
-
ref: contentRefs,
|
|
167
|
-
x: x || 0,
|
|
168
|
-
y: y || 0,
|
|
169
|
-
position: strategy
|
|
170
|
-
};
|
|
171
|
-
return <YStack {...getFloatingProps ? getFloatingProps(frameProps) : frameProps}>{contents}</YStack>;
|
|
172
|
-
}
|
|
173
|
-
);
|
|
174
|
-
const PopperArrowFrame = styled(YStack, {
|
|
175
|
-
name: "PopperArrow",
|
|
176
|
-
variants: {
|
|
177
|
-
unstyled: {
|
|
178
|
-
false: {
|
|
179
|
-
borderColor: "$borderColor",
|
|
180
|
-
backgroundColor: "$background",
|
|
181
|
-
position: "relative"
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
defaultVariants: {
|
|
186
|
-
unstyled: false
|
|
187
|
-
}
|
|
188
|
-
});
|
|
189
|
-
const PopperArrowOuterFrame = styled(YStack, {
|
|
190
|
-
name: "PopperArrowOuter",
|
|
191
|
-
variants: {
|
|
192
|
-
unstyled: {
|
|
193
|
-
false: {
|
|
194
|
-
position: "absolute",
|
|
195
|
-
zIndex: -1,
|
|
196
|
-
pointerEvents: "none",
|
|
197
|
-
overflow: "hidden",
|
|
198
|
-
alignItems: "center",
|
|
199
|
-
justifyContent: "center"
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
},
|
|
203
|
-
defaultVariants: {
|
|
204
|
-
unstyled: false
|
|
205
|
-
}
|
|
206
|
-
});
|
|
207
|
-
const opposites = {
|
|
208
|
-
top: "bottom",
|
|
209
|
-
right: "left",
|
|
210
|
-
bottom: "top",
|
|
211
|
-
left: "right"
|
|
212
|
-
};
|
|
213
|
-
const PopperArrow = PopperArrowFrame.styleable(
|
|
214
|
-
function PopperArrow2(propsIn, forwardedRef) {
|
|
215
|
-
const props = useProps(propsIn);
|
|
216
|
-
const { offset, size: sizeProp, borderWidth = 0, ...arrowProps } = props;
|
|
217
|
-
const context = usePopperContext();
|
|
218
|
-
const sizeVal = sizeProp ?? context.size;
|
|
219
|
-
const sizeValResolved = getVariableValue(
|
|
220
|
-
getSpace(sizeVal, {
|
|
221
|
-
shift: -2,
|
|
222
|
-
bounds: [2]
|
|
223
|
-
})
|
|
224
|
-
);
|
|
225
|
-
const size = +sizeValResolved;
|
|
226
|
-
const { placement } = context;
|
|
227
|
-
const refs = useComposedRefs(context.arrowRef, forwardedRef);
|
|
228
|
-
const x = context.arrowStyle?.x || 0;
|
|
229
|
-
const y = context.arrowStyle?.y || 0;
|
|
230
|
-
const primaryPlacement = placement ? placement.split("-")[0] : "top";
|
|
231
|
-
const arrowStyle = { x, y, width: size, height: size };
|
|
232
|
-
const innerArrowStyle = {};
|
|
233
|
-
const isVertical = primaryPlacement === "bottom" || primaryPlacement === "top";
|
|
234
|
-
if (primaryPlacement) {
|
|
235
|
-
arrowStyle[isVertical ? "width" : "height"] = size * 2;
|
|
236
|
-
const oppSide = opposites[primaryPlacement];
|
|
237
|
-
if (oppSide) {
|
|
238
|
-
arrowStyle[oppSide] = -size;
|
|
239
|
-
innerArrowStyle[oppSide] = size / 2;
|
|
240
|
-
}
|
|
241
|
-
if (oppSide === "top" || oppSide === "bottom") {
|
|
242
|
-
arrowStyle.left = 0;
|
|
243
|
-
}
|
|
244
|
-
if (oppSide === "left" || oppSide === "right") {
|
|
245
|
-
arrowStyle.top = 0;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
useIsomorphicLayoutEffect(() => {
|
|
249
|
-
context.onArrowSize?.(size);
|
|
250
|
-
}, [size, context.onArrowSize]);
|
|
251
|
-
return <PopperArrowOuterFrame ref={refs} {...arrowStyle}><PopperArrowFrame
|
|
252
|
-
width={size}
|
|
253
|
-
height={size}
|
|
254
|
-
{...arrowProps}
|
|
255
|
-
{...innerArrowStyle}
|
|
256
|
-
rotate="45deg"
|
|
257
|
-
{...primaryPlacement === "bottom" && {
|
|
258
|
-
borderLeftWidth: borderWidth,
|
|
259
|
-
borderTopWidth: borderWidth
|
|
260
|
-
}}
|
|
261
|
-
{...primaryPlacement === "top" && {
|
|
262
|
-
borderBottomWidth: borderWidth,
|
|
263
|
-
borderRightWidth: borderWidth
|
|
264
|
-
}}
|
|
265
|
-
{...primaryPlacement === "right" && {
|
|
266
|
-
borderLeftWidth: borderWidth,
|
|
267
|
-
borderBottomWidth: borderWidth
|
|
268
|
-
}}
|
|
269
|
-
{...primaryPlacement === "left" && {
|
|
270
|
-
borderTopWidth: borderWidth,
|
|
271
|
-
borderRightWidth: borderWidth
|
|
272
|
-
}}
|
|
273
|
-
/></PopperArrowOuterFrame>;
|
|
274
|
-
}
|
|
275
|
-
);
|
|
276
|
-
export {
|
|
277
|
-
Popper,
|
|
278
|
-
PopperAnchor,
|
|
279
|
-
PopperArrow,
|
|
280
|
-
PopperContent,
|
|
281
|
-
PopperContentFrame,
|
|
282
|
-
PopperContext,
|
|
283
|
-
usePopperContext
|
|
284
|
-
};
|
|
285
|
-
//# sourceMappingURL=Popper.mjs.map
|
package/dist/jsx/Popper.mjs.map
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/Popper.tsx"],
|
|
4
|
-
"mappings": "AAEA,SAAS,uBAAuB;AAChC;AAAA,EAGE,QAAQ;AAAA,EACR;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP;AAAA,EAME;AAAA,EACA;AAAA,EACA;AAAA,EACA,UAAU;AAAA,EACV;AAAA,EACA;AAAA,OACK;AACP,SAAS,gBAAgB;AACzB,SAA4B,gBAAgB,cAA2B;AACvE,YAAY,WAAW;AACvB,SAAS,UAAgB,2BAA2B;AAqB7C,MAAM,gBAAgB,oBAAwC,CAAC,CAAQ;AAEvE,MAAM,mBAAmB,MAAM,MAAM,WAAW,aAAa;AAY7D,SAAS,OAAO,OAAoB;AACzC,Q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