@tamagui/popper 2.7.7 → 3.0.0-beta.643.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/dist/cjs/Popper.cjs +474 -606
- package/dist/cjs/Popper.native.cjs +533 -0
- package/dist/cjs/Popper.native.js +484 -606
- package/dist/cjs/Popper.native.js.map +1 -1
- package/dist/cjs/index.cjs +10 -11
- package/dist/cjs/index.native.cjs +21 -0
- package/dist/cjs/index.native.js +10 -10
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/esm/Popper.mjs +443 -559
- package/dist/esm/Popper.mjs.map +1 -1
- package/dist/esm/Popper.native.js +453 -555
- package/dist/esm/Popper.native.js.map +1 -1
- package/dist/esm/index.js +1 -2
- package/dist/esm/index.mjs +1 -2
- package/dist/esm/index.native.js +1 -2
- package/dist/jsx/Popper.mjs +443 -559
- package/dist/jsx/Popper.mjs.map +1 -1
- package/dist/jsx/Popper.native.cjs +533 -0
- package/dist/jsx/Popper.native.js +484 -606
- package/dist/jsx/Popper.native.js.map +1 -1
- package/dist/jsx/index.js +1 -2
- package/dist/jsx/index.mjs +1 -2
- package/dist/jsx/index.native.cjs +21 -0
- package/dist/jsx/index.native.js +10 -10
- package/dist/jsx/index.native.js.map +1 -1
- package/package.json +13 -12
- package/src/Popper.tsx +30 -87
- package/types/Popper.d.ts +42 -74
- package/types/Popper.d.ts.map +1 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/index.mjs.map +0 -1
- package/dist/esm/index.native.js.map +0 -1
- package/dist/jsx/index.js.map +0 -1
- package/dist/jsx/index.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["jsx","flushSync","useComposedRefs","isWeb","useIsomorphicLayoutEffect","LayoutMeasurementController","View","createStyledContext","getVariableValue","registerLayoutNode","styled","FloatingOverrideContext","arrow","flip","getOverflowAncestors","offset","platform","shift","useFloating","getSpace","YStack","startTransition","React","Keyboard","useWindowDimensions","_instanceof","left","right","Symbol","hasInstance","_type_of","obj","constructor","PopperContextFast","PopperPositionContext","useStyledContext","usePopperContext","Provider","PopperProviderFast","PopperContextSlow","usePopperContextSlow","PopperProviderSlow","PopperProvider","param","scope","children","context","fns","useRef","current","slowContext","useState","refs","triggerElements","update","_len","arguments","length","a","Array","_key","getReferenceProps","p","_fns_current_getReferenceProps","_fns_current","call","onHoverReference","e","_fns_current_onHoverReference","onLeaveReference","_fns_current_onLeaveReference","checkFloating","name","fn","data","hasFloating","rects","floating","width","setupOptions","setupPopper","options","Object","assign","tamaguiAutoUpdate","reference","rafId","requestAnimationFrame","cleanups","cancelAnimationFrame","HTMLElement","push","ResizeObserver","lastWidth","lastHeight","ro","entries","entry","height","contentRect","observe","disconnect","ancestors","Element","uniqueAncestors","Set","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_iterator","iterator","_step","next","done","value","addEventListener","passive","err","return","window","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_iterator2","_step2","removeEventListener","forEach","Popper","props","size","strategy","placement","stayInFrame","allowFlip","offset$1","disableRTL","resize","passThrough","open","arrowEl","setArrow","arrowSize","setArrowSize","offsetOptions","isOpen","middlewareRef","padding","mainAxis","crossAxis","element","filter","Boolean","sameScrollView","whileElementsMounted","isRTL","middleware","middlewareData","dimensions","keyboardOpen","setKeyboardOpen","useEffect","showSubscription","addListener","hideSubscription","remove","useMemo","_middlewareData_checkFloating","arrowRef","arrowStyle","onArrowSize","transformOrigin","JSON","stringify","PopperAnchor","styleable","PopperAnchor2","forwardedRef","virtualRef","rest","ref","triggerId","useId","el","add","_context_triggerElements","delete","setReference","refProps","safeSetReference","useCallback","node","shouldHandleInHover","composedRefs","onMouseEnter","_e_currentTarget","currentTarget","_refProps_onPointerEnter","_context_onHoverReference","onPointerEnter","nativeEvent","onMouseLeave","_context_onLeaveReference","_refProps_onMouseLeave","PopperContentFrame","variants","unstyled","true","...size","val","tokens","space","borderRadius","radius","PopperContent","forwardRef","PopperContent2","isAnimatePosControlled","animatePosition","enableAnimationForPositionChange","animatePos","x","y","getFloatingProps","isPositioned","updateRef","lastNodeRef","safeSetFloating","isNewNode","setFloating","_updateRef_current","ourNode","contentRefs","needsMeasure","setNeedsMeasure","hasBeenPositioned","lastGoodPosition","brieflyZero","effectiveX","effectiveY","hide","disableAnimationProp","disableAnimation","setDisableAnimation","frameProps","top","position","opacity","transition","animateOnly","animatePresence","style","floatingProps","transformOriginStyle","disable","direction","PopperArrowFrame","false","borderColor","backgroundColor","defaultVariants","process","env","TAMAGUI_HEADLESS","PopperArrowOuterFrame","zIndex","pointerEvents","overflow","alignItems","justifyContent","opposites","bottom","PopperArrow","PopperArrow2","propsIn","_context_arrowStyle","_context_arrowStyle1","sizeProp","borderWidth","arrowProps","sizeVal","bounds","Math","max","arrowPositioned","primaryPlacement","split","innerArrowStyle","isVertical","oppSide","_context_onArrowSize","rotate","borderLeftWidth","borderTopWidth","borderBottomWidth","borderRightWidth"],"sources":["Popper.native.js"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nimport { flushSync } from \"react-dom\";\nimport { useComposedRefs } from \"@tamagui/compose-refs\";\nimport { isWeb, useIsomorphicLayoutEffect } from \"@tamagui/constants\";\nimport { LayoutMeasurementController, View, createStyledContext, getVariableValue, registerLayoutNode, styled } from \"@tamagui/core\";\nimport { FloatingOverrideContext, arrow, flip, getOverflowAncestors, offset, platform, shift, useFloating } from \"@tamagui/floating\";\nimport { getSpace } from \"@tamagui/get-token\";\nimport { YStack } from \"@tamagui/stacks\";\nimport { startTransition } from \"@tamagui/start-transition\";\nimport * as React from \"react\";\nimport { Keyboard, useWindowDimensions } from \"react-native\";\n\nfunction _instanceof(left, right) {\n\tif (right != null && typeof Symbol !== \"undefined\" && right[Symbol.hasInstance]) return !!right[Symbol.hasInstance](left);\n\telse return left instanceof right;\n}\nfunction _type_of(obj) {\n\t\"@swc/helpers - typeof\";\n\treturn obj && typeof Symbol !== \"undefined\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n}\nvar PopperContextFast = createStyledContext({}, \"Popper__\");\nvar PopperPositionContext = createStyledContext;\nvar { useStyledContext: usePopperContext, Provider: PopperProviderFast } = PopperContextFast;\nvar PopperContextSlow = createStyledContext({}, \"PopperSlow__\");\nvar { useStyledContext: usePopperContextSlow, Provider: PopperProviderSlow } = PopperContextSlow;\nvar PopperProvider = function(param) {\n\tvar { scope, children, ...context } = param;\n\tvar fns = React.useRef(context);\n\tfns.current = context;\n\tvar [slowContext] = React.useState(function() {\n\t\treturn {\n\t\t\trefs: context.refs,\n\t\t\ttriggerElements: context.triggerElements,\n\t\t\tupdate() {\n\t\t\t\tfor (var _len = arguments.length, a = new Array(_len), _key = 0; _key < _len; _key++) a[_key] = arguments[_key];\n\t\t\t\tfns.current.update(...a);\n\t\t\t},\n\t\t\tgetReferenceProps(p) {\n\t\t\t\tvar _fns_current_getReferenceProps, _fns_current;\n\t\t\t\treturn (_fns_current_getReferenceProps = (_fns_current = fns.current).getReferenceProps) === null || _fns_current_getReferenceProps === void 0 ? void 0 : _fns_current_getReferenceProps.call(_fns_current, p);\n\t\t\t},\n\t\t\tonHoverReference(e) {\n\t\t\t\tvar _fns_current_onHoverReference, _fns_current;\n\t\t\t\t(_fns_current_onHoverReference = (_fns_current = fns.current).onHoverReference) === null || _fns_current_onHoverReference === void 0 || _fns_current_onHoverReference.call(_fns_current, e);\n\t\t\t},\n\t\t\tonLeaveReference() {\n\t\t\t\tvar _fns_current_onLeaveReference, _fns_current;\n\t\t\t\t(_fns_current_onLeaveReference = (_fns_current = fns.current).onLeaveReference) === null || _fns_current_onLeaveReference === void 0 || _fns_current_onLeaveReference.call(_fns_current);\n\t\t\t}\n\t\t};\n\t});\n\treturn /* @__PURE__ */ jsx(PopperProviderFast, {\n\t\tscope,\n\t\t...context,\n\t\tchildren: /* @__PURE__ */ jsx(PopperProviderSlow, {\n\t\t\tscope,\n\t\t\t...slowContext,\n\t\t\tchildren\n\t\t})\n\t});\n};\nvar checkFloating = {\n\tname: \"checkFloating\",\n\tfn(data) {\n\t\treturn { data: { hasFloating: !!data.rects.floating.width } };\n\t}\n};\nvar setupOptions = {};\nfunction setupPopper(options) {\n\tObject.assign(setupOptions, options);\n}\nfunction tamaguiAutoUpdate(reference, floating, update) {\n\tupdate();\n\tvar rafId = requestAnimationFrame(function() {\n\t\tupdate();\n\t\trafId = 0;\n\t});\n\tvar cleanups = [function() {\n\t\tif (rafId) cancelAnimationFrame(rafId);\n\t}];\n\tif (_instanceof(reference, HTMLElement)) cleanups.push(registerLayoutNode(reference, update));\n\tif (typeof ResizeObserver !== \"undefined\") {\n\t\tvar lastWidth = -1;\n\t\tvar lastHeight = -1;\n\t\tvar ro = new ResizeObserver(function(entries) {\n\t\t\tvar entry = entries[entries.length - 1];\n\t\t\tif (!entry) return;\n\t\t\tvar { width, height } = entry.contentRect;\n\t\t\tif (lastWidth === -1) {\n\t\t\t\tlastWidth = width;\n\t\t\t\tlastHeight = height;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (width !== lastWidth || height !== lastHeight) {\n\t\t\t\tlastWidth = width;\n\t\t\t\tlastHeight = height;\n\t\t\t\tupdate();\n\t\t\t}\n\t\t});\n\t\tro.observe(floating);\n\t\tcleanups.push(function() {\n\t\t\treturn ro.disconnect();\n\t\t});\n\t}\n\tvar ancestors = [..._instanceof(reference, Element) ? getOverflowAncestors(reference) : [], ...getOverflowAncestors(floating)];\n\tvar uniqueAncestors = [...new Set(ancestors)];\n\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\ttry {\n\t\tfor (var _iterator = uniqueAncestors[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) _step.value.addEventListener(\"scroll\", update, { passive: true });\n\t} catch (err) {\n\t\t_didIteratorError = true;\n\t\t_iteratorError = err;\n\t} finally {\n\t\ttry {\n\t\t\tif (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();\n\t\t} finally {\n\t\t\tif (_didIteratorError) throw _iteratorError;\n\t\t}\n\t}\n\twindow.addEventListener(\"resize\", update);\n\tcleanups.push(function() {\n\t\tvar _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = void 0;\n\t\ttry {\n\t\t\tfor (var _iterator2 = uniqueAncestors[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) _step2.value.removeEventListener(\"scroll\", update);\n\t\t} catch (err) {\n\t\t\t_didIteratorError2 = true;\n\t\t\t_iteratorError2 = err;\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (!_iteratorNormalCompletion2 && _iterator2.return != null) _iterator2.return();\n\t\t\t} finally {\n\t\t\t\tif (_didIteratorError2) throw _iteratorError2;\n\t\t\t}\n\t\t}\n\t\twindow.removeEventListener(\"resize\", update);\n\t});\n\treturn function() {\n\t\treturn cleanups.forEach(function(fn) {\n\t\t\treturn fn();\n\t\t});\n\t};\n}\nfunction Popper(props) {\n\tvar { children, size, strategy = \"absolute\", placement = \"bottom\", stayInFrame, allowFlip, offset: offset$1, disableRTL, resize, passThrough, open, scope } = props;\n\tvar [arrowEl, setArrow] = React.useState(null);\n\tvar [arrowSize, setArrowSize] = React.useState(0);\n\tvar offsetOptions = offset$1 !== null && offset$1 !== void 0 ? offset$1 : arrowSize;\n\tReact.useRef({});\n\tvar isOpen = passThrough ? false : open !== null && open !== void 0 ? open : true;\n\tvar middlewareRef = React.useRef([]);\n\tif (isOpen) middlewareRef.current = [\n\t\ttypeof offsetOptions !== \"undefined\" ? offset(offsetOptions) : null,\n\t\tallowFlip ? flip(typeof allowFlip === \"boolean\" ? {} : allowFlip) : null,\n\t\tstayInFrame ? shift({\n\t\t\tpadding: 10,\n\t\t\tmainAxis: true,\n\t\t\tcrossAxis: false,\n\t\t\t...(typeof stayInFrame === \"undefined\" ? \"undefined\" : _type_of(stayInFrame)) === \"object\" ? stayInFrame : null\n\t\t}) : null,\n\t\tarrowEl ? arrow({ element: arrowEl }) : null,\n\t\tcheckFloating,\n\t\tnull,\n\t\tnull,\n\t\tnull\n\t].filter(Boolean);\n\tvar floating = useFloating({\n\t\topen: isOpen,\n\t\tstrategy,\n\t\tplacement,\n\t\tsameScrollView: false,\n\t\twhileElementsMounted: !isOpen ? void 0 : tamaguiAutoUpdate,\n\t\tplatform: (disableRTL !== null && disableRTL !== void 0 ? disableRTL : setupOptions.disableRTL) ? {\n\t\t\t...platform,\n\t\t\tisRTL(element) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t} : platform,\n\t\tmiddleware: middlewareRef.current\n\t});\n\tvar { middlewareData } = floating;\n\tvar dimensions = useWindowDimensions();\n\tvar [keyboardOpen, setKeyboardOpen] = React.useState(false);\n\tReact.useEffect(function() {\n\t\tvar showSubscription = Keyboard.addListener(\"keyboardDidShow\", function() {\n\t\t\tstartTransition(function() {\n\t\t\t\tsetKeyboardOpen(true);\n\t\t\t});\n\t\t});\n\t\tvar hideSubscription = Keyboard.addListener(\"keyboardDidHide\", function() {\n\t\t\tstartTransition(function() {\n\t\t\t\tsetKeyboardOpen(false);\n\t\t\t});\n\t\t});\n\t\treturn function() {\n\t\t\tshowSubscription.remove();\n\t\t\thideSubscription.remove();\n\t\t};\n\t}, []);\n\tuseIsomorphicLayoutEffect(function() {\n\t\tif (passThrough) return;\n\t\tfloating.update();\n\t}, [\n\t\tpassThrough,\n\t\tdimensions,\n\t\tkeyboardOpen\n\t]);\n\treturn /* @__PURE__ */ jsx(PopperProvider, {\n\t\tscope,\n\t\t...React.useMemo(function() {\n\t\t\tvar _middlewareData_checkFloating;\n\t\t\treturn {\n\t\t\t\tsize,\n\t\t\t\tarrowRef: setArrow,\n\t\t\t\tarrowStyle: middlewareData.arrow,\n\t\t\t\tonArrowSize: setArrowSize,\n\t\t\t\thasFloating: (_middlewareData_checkFloating = middlewareData.checkFloating) === null || _middlewareData_checkFloating === void 0 ? void 0 : _middlewareData_checkFloating.hasFloating,\n\t\t\t\ttransformOrigin: middlewareData.transformOrigin,\n\t\t\t\topen: !!open,\n\t\t\t\t...floating\n\t\t\t};\n\t\t}, [\n\t\t\topen,\n\t\t\tsize,\n\t\t\tfloating,\n\t\t\tJSON.stringify(middlewareData.arrow || null),\n\t\t\tJSON.stringify(middlewareData.transformOrigin || null)\n\t\t]),\n\t\tchildren: /* @__PURE__ */ jsx(FloatingOverrideContext.Provider, {\n\t\t\tvalue: null,\n\t\t\tchildren\n\t\t})\n\t});\n}\nvar PopperAnchor = YStack.styleable(function PopperAnchor2(props, forwardedRef) {\n\tvar { virtualRef, scope, ...rest } = props;\n\tvar context = usePopperContextSlow(scope);\n\tvar { getReferenceProps, refs, update } = context;\n\tvar ref = React.useRef(null);\n\tvar triggerId = React.useId();\n\tReact.useEffect(function() {\n\t\tif (!scope || !context.triggerElements || !ref.current) return;\n\t\tif (!_instanceof(ref.current, Element)) return;\n\t\tvar el = ref.current;\n\t\tcontext.triggerElements.add(triggerId, el);\n\t\treturn function() {\n\t\t\tvar _context_triggerElements;\n\t\t\t(_context_triggerElements = context.triggerElements) === null || _context_triggerElements === void 0 || _context_triggerElements.delete(triggerId);\n\t\t};\n\t}, [\n\t\tscope,\n\t\ttriggerId,\n\t\tcontext.triggerElements\n\t]);\n\tReact.useEffect(function() {\n\t\tif (virtualRef) {\n\t\t\trefs.setReference(virtualRef.current);\n\t\t\tupdate();\n\t\t}\n\t}, [virtualRef]);\n\tvar refProps = (getReferenceProps === null || getReferenceProps === void 0 ? void 0 : getReferenceProps({\n\t\t...rest,\n\t\tref\n\t})) || null;\n\tvar safeSetReference = React.useCallback(function(node) {\n\t\tstartTransition(function() {\n\t\t\trefs.setReference(node);\n\t\t});\n\t}, [refs]);\n\tvar shouldHandleInHover = isWeb && scope;\n\tvar composedRefs = useComposedRefs(forwardedRef, ref, shouldHandleInHover ? void 0 : safeSetReference);\n\treturn /* @__PURE__ */ jsx(View, {\n\t\t...rest,\n\t\t...refProps,\n\t\tref: composedRefs,\n\t\t...shouldHandleInHover && {\n\t\t\tonMouseEnter: function(e) {\n\t\t\t\tvar _e_currentTarget;\n\t\t\t\tvar el = (_e_currentTarget = e.currentTarget) !== null && _e_currentTarget !== void 0 ? _e_currentTarget : ref.current;\n\t\t\t\tif (_instanceof(el, HTMLElement)) {\n\t\t\t\t\tvar _refProps_onPointerEnter, _context_onHoverReference;\n\t\t\t\t\tflushSync(function() {\n\t\t\t\t\t\treturn refs.setReference(el);\n\t\t\t\t\t});\n\t\t\t\t\tupdate();\n\t\t\t\t\tif (!refProps) return;\n\t\t\t\t\t(_refProps_onPointerEnter = refProps.onPointerEnter) === null || _refProps_onPointerEnter === void 0 || _refProps_onPointerEnter.call(refProps, e);\n\t\t\t\t\t(_context_onHoverReference = context.onHoverReference) === null || _context_onHoverReference === void 0 || _context_onHoverReference.call(context, e.nativeEvent);\n\t\t\t\t}\n\t\t\t},\n\t\t\tonMouseLeave: function(e) {\n\t\t\t\tvar _context_onLeaveReference, _refProps_onMouseLeave;\n\t\t\t\t(_context_onLeaveReference = context.onLeaveReference) === null || _context_onLeaveReference === void 0 || _context_onLeaveReference.call(context);\n\t\t\t\trefProps === null || refProps === void 0 || (_refProps_onMouseLeave = refProps.onMouseLeave) == null || _refProps_onMouseLeave.call(refProps, e);\n\t\t\t}\n\t\t}\n\t});\n});\nvar PopperContentFrame = styled(YStack, {\n\tname: \"PopperContent\",\n\tvariants: {\n\t\tunstyled: { true: {} },\n\t\tsize: { \"...size\": function(val, param) {\n\t\t\tvar { tokens } = param;\n\t\t\treturn {\n\t\t\t\tpadding: tokens.space[val],\n\t\t\t\tborderRadius: tokens.radius[val]\n\t\t\t};\n\t\t} }\n\t}\n});\nvar PopperContent = /* @__PURE__ */ React.forwardRef(function PopperContent2(props, forwardedRef) {\n\tvar isAnimatePosControlled = \"animatePosition\" in props || \"enableAnimationForPositionChange\" in props;\n\tvar { scope, animatePosition, enableAnimationForPositionChange, children, passThrough, unstyled, ...rest } = props;\n\tvar animatePos = animatePosition !== null && animatePosition !== void 0 ? animatePosition : enableAnimationForPositionChange;\n\tvar context = usePopperContext(scope);\n\tvar { strategy, placement, refs, x, y, getFloatingProps, size, isPositioned, transformOrigin, update } = context;\n\tvar updateRef = React.useRef(update);\n\tupdateRef.current = update;\n\tvar lastNodeRef = React.useRef(null);\n\tvar safeSetFloating = React.useCallback(function(node) {\n\t\tvar isNewNode = node !== lastNodeRef.current;\n\t\tif (node) {\n\t\t\tlastNodeRef.current = node;\n\t\t\trefs.setFloating(node);\n\t\t\tif (!isNewNode) {\n\t\t\t\tvar _updateRef_current;\n\t\t\t\t(_updateRef_current = updateRef.current) === null || _updateRef_current === void 0 || _updateRef_current.call(updateRef);\n\t\t\t}\n\t\t}\n\t}, [refs.setFloating]);\n\tReact.useEffect(function() {\n\t\treturn function() {\n\t\t\tvar ourNode = lastNodeRef.current;\n\t\t\tif (ourNode && refs.floating.current === ourNode) refs.setFloating(null);\n\t\t\tlastNodeRef.current = null;\n\t\t};\n\t}, []);\n\tvar contentRefs = useComposedRefs(safeSetFloating, forwardedRef);\n\tvar [needsMeasure, setNeedsMeasure] = React.useState(animatePos);\n\tuseIsomorphicLayoutEffect(function() {\n\t\tif (needsMeasure && x && y) setNeedsMeasure(false);\n\t}, [\n\t\tneedsMeasure,\n\t\tanimatePos,\n\t\tx,\n\t\ty\n\t]);\n\tvar hasBeenPositioned = React.useRef(false);\n\tvar lastGoodPosition = React.useRef({\n\t\tx: 0,\n\t\ty: 0\n\t});\n\tif (x !== 0 || y !== 0) {\n\t\tlastGoodPosition.current = {\n\t\t\tx,\n\t\t\ty\n\t\t};\n\t\tif (isPositioned) hasBeenPositioned.current = true;\n\t}\n\tvar brieflyZero = hasBeenPositioned.current && x === 0 && y === 0;\n\tvar effectiveX = brieflyZero ? lastGoodPosition.current.x : x;\n\tvar effectiveY = brieflyZero ? lastGoodPosition.current.y : y;\n\tvar hide = !hasBeenPositioned.current && effectiveX === 0 && effectiveY === 0;\n\tvar disableAnimationProp = animatePos === \"even-when-repositioning\" ? needsMeasure : !hasBeenPositioned.current && !isPositioned || needsMeasure;\n\tvar [disableAnimation, setDisableAnimation] = React.useState(disableAnimationProp);\n\tReact.useEffect(function() {\n\t\tsetDisableAnimation(disableAnimationProp);\n\t}, [disableAnimationProp]);\n\tvar frameProps = {\n\t\tref: contentRefs,\n\t\t...hide ? {} : {\n\t\t\tx: effectiveX || 0,\n\t\t\ty: effectiveY || 0\n\t\t},\n\t\ttop: 0,\n\t\tleft: 0,\n\t\tposition: strategy,\n\t\topacity: hide ? 0 : 1,\n\t\t...isAnimatePosControlled && {\n\t\t\ttransition: animatePos ? rest.transition : void 0,\n\t\t\tanimateOnly: animatePos && !disableAnimation ? rest.animateOnly : [],\n\t\t\tanimatePresence: false\n\t\t}\n\t};\n\tvar { style, ...floatingProps } = getFloatingProps ? getFloatingProps(frameProps) : frameProps;\n\tvar transformOriginStyle = isWeb && transformOrigin ? { transformOrigin: `${transformOrigin.x} ${transformOrigin.y}` } : void 0;\n\treturn /* @__PURE__ */ jsx(LayoutMeasurementController, {\n\t\tdisable: !context.open,\n\t\tchildren: /* @__PURE__ */ jsx(View, {\n\t\t\tpassThrough,\n\t\t\tref: contentRefs,\n\t\t\tdirection: rest.direction,\n\t\t\t...passThrough ? null : floatingProps,\n\t\t\t...!passThrough && animatePos && { \"data-popper-animate-position\": \"true\" },\n\t\t\tchildren: /* @__PURE__ */ jsx(PopperContentFrame, {\n\t\t\t\tpassThrough,\n\t\t\t\tunstyled,\n\t\t\t\t...!passThrough && {\n\t\t\t\t\t\"data-placement\": placement,\n\t\t\t\t\t\"data-strategy\": strategy,\n\t\t\t\t\tsize,\n\t\t\t\t\t...style,\n\t\t\t\t\t...transformOriginStyle,\n\t\t\t\t\t...rest\n\t\t\t\t},\n\t\t\t\tchildren\n\t\t\t}, \"popper-content-frame\")\n\t\t})\n\t});\n});\nvar PopperArrowFrame = styled(YStack, {\n\tname: \"PopperArrow\",\n\tvariants: { unstyled: { false: {\n\t\tborderColor: \"$borderColor\",\n\t\tbackgroundColor: \"$background\",\n\t\tposition: \"relative\"\n\t} } },\n\tdefaultVariants: { unstyled: process.env.TAMAGUI_HEADLESS === \"1\" }\n});\nvar PopperArrowOuterFrame = styled(YStack, {\n\tname: \"PopperArrowOuter\",\n\tvariants: { unstyled: { false: {\n\t\tposition: \"absolute\",\n\t\tzIndex: 1e6,\n\t\tpointerEvents: \"none\",\n\t\toverflow: \"hidden\",\n\t\talignItems: \"center\",\n\t\tjustifyContent: \"center\"\n\t} } },\n\tdefaultVariants: { unstyled: process.env.TAMAGUI_HEADLESS === \"1\" }\n});\nvar opposites = {\n\ttop: \"bottom\",\n\tright: \"left\",\n\tbottom: \"top\",\n\tleft: \"right\"\n};\nvar PopperArrow = /* @__PURE__ */ React.forwardRef(function PopperArrow2(propsIn, forwardedRef) {\n\tvar _context_arrowStyle, _context_arrowStyle1;\n\tvar isAnimatePosControlled = \"animatePosition\" in propsIn;\n\tvar { scope, animatePosition, transition, ...rest } = propsIn;\n\tvar { offset, size: sizeProp, borderWidth = 0, ...arrowProps } = rest;\n\tvar context = usePopperContext(scope);\n\tvar sizeVal = typeof sizeProp === \"number\" ? sizeProp : getVariableValue(getSpace(sizeProp !== null && sizeProp !== void 0 ? sizeProp : context.size, {\n\t\tshift: -2,\n\t\tbounds: [2]\n\t}));\n\tvar size = Math.max(0, +sizeVal);\n\tvar { placement } = context;\n\tvar refs = useComposedRefs(context.arrowRef, forwardedRef);\n\tvar x = ((_context_arrowStyle = context.arrowStyle) === null || _context_arrowStyle === void 0 ? void 0 : _context_arrowStyle.x) || 0;\n\tvar y = ((_context_arrowStyle1 = context.arrowStyle) === null || _context_arrowStyle1 === void 0 ? void 0 : _context_arrowStyle1.y) || 0;\n\tvar arrowPositioned = context.arrowStyle != null;\n\tvar primaryPlacement = placement ? placement.split(\"-\")[0] : \"top\";\n\tvar arrowStyle = {\n\t\tx,\n\t\ty,\n\t\twidth: size,\n\t\theight: size\n\t};\n\tvar innerArrowStyle = {};\n\tvar isVertical = primaryPlacement === \"bottom\" || primaryPlacement === \"top\";\n\tif (primaryPlacement) {\n\t\tarrowStyle[isVertical ? \"width\" : \"height\"] = size * 2;\n\t\tvar oppSide = opposites[primaryPlacement];\n\t\tif (oppSide) {\n\t\t\tarrowStyle[oppSide] = -size;\n\t\t\tinnerArrowStyle[oppSide] = size / 2;\n\t\t}\n\t\tif (oppSide === \"top\" || oppSide === \"bottom\") arrowStyle.left = 0;\n\t\tif (oppSide === \"left\" || oppSide === \"right\") arrowStyle.top = 0;\n\t\tuseIsomorphicLayoutEffect(function() {\n\t\t\tvar _context_onArrowSize;\n\t\t\t(_context_onArrowSize = context.onArrowSize) === null || _context_onArrowSize === void 0 || _context_onArrowSize.call(context, size);\n\t\t}, [size, context.onArrowSize]);\n\t}\n\treturn /* @__PURE__ */ jsx(PopperArrowOuterFrame, {\n\t\tref: refs,\n\t\t...arrowStyle,\n\t\t...!arrowPositioned && { opacity: 0 },\n\t\t...isAnimatePosControlled && {\n\t\t\ttransition: animatePosition ? transition : void 0,\n\t\t\tanimateOnly: animatePosition ? [\"transform\"] : [],\n\t\t\tanimatePresence: false\n\t\t},\n\t\tchildren: /* @__PURE__ */ jsx(PopperArrowFrame, {\n\t\t\twidth: size,\n\t\t\theight: size,\n\t\t\t...arrowProps,\n\t\t\t...innerArrowStyle,\n\t\t\trotate: \"45deg\",\n\t\t\t...primaryPlacement === \"bottom\" && {\n\t\t\t\tborderLeftWidth: borderWidth,\n\t\t\t\tborderTopWidth: borderWidth\n\t\t\t},\n\t\t\t...primaryPlacement === \"top\" && {\n\t\t\t\tborderBottomWidth: borderWidth,\n\t\t\t\tborderRightWidth: borderWidth\n\t\t\t},\n\t\t\t...primaryPlacement === \"right\" && {\n\t\t\t\tborderLeftWidth: borderWidth,\n\t\t\t\tborderBottomWidth: borderWidth\n\t\t\t},\n\t\t\t...primaryPlacement === \"left\" && {\n\t\t\t\tborderTopWidth: borderWidth,\n\t\t\t\tborderRightWidth: borderWidth\n\t\t\t}\n\t\t})\n\t});\n});\n\nexport { Popper, PopperAnchor, PopperArrow, PopperArrowFrame, PopperContent, PopperContentFrame, PopperContextFast, PopperContextSlow, PopperPositionContext, PopperProvider, PopperProviderFast, PopperProviderSlow, setupPopper, usePopperContext, usePopperContextSlow };"],"mappings":"AAAA,SAASA,GAAG,QAAQ,mBAAmB;AACvC,SAASC,SAAS,QAAQ,WAAW;AACrC,SAASC,eAAe,QAAQ,uBAAuB;AACvD,SAASC,KAAK,EAAEC,yBAAyB,QAAQ,oBAAoB;AACrE,SAASC,2BAA2B,EAAEC,IAAI,EAAEC,mBAAmB,EAAEC,gBAAgB,EAAEC,kBAAkB,EAAEC,MAAM,QAAQ,eAAe;AACpI,SAASC,uBAAuB,EAAEC,KAAK,EAAEC,IAAI,EAAEC,oBAAoB,EAAEC,MAAM,EAAEC,QAAQ,EAAEC,KAAK,EAAEC,WAAW,QAAQ,mBAAmB;AACpI,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,SAASC,MAAM,QAAQ,iBAAiB;AACxC,SAASC,eAAe,QAAQ,2BAA2B;AAC3D,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,SAASC,QAAQ,EAAEC,mBAAmB,QAAQ,cAAc;AAE5D,SAASC,WAAWA,CAACC,IAAI,EAAEC,KAAK,EAAE;EACjC,IAAIA,KAAK,IAAI,IAAI,IAAI,OAAOC,MAAM,KAAK,WAAW,IAAID,KAAK,CAACC,MAAM,CAACC,WAAW,CAAC,EAAE,OAAO,CAAC,CAACF,KAAK,CAACC,MAAM,CAACC,WAAW,CAAC,CAACH,IAAI,CAAC,CAAC,KACrH,OAAOA,IAAI,YAAYC,KAAK;AAClC;AACA,SAASG,QAAQA,CAACC,GAAG,EAAE;EACtB,uBAAuB;;EACvB,OAAOA,GAAG,IAAI,OAAOH,MAAM,KAAK,WAAW,IAAIG,GAAG,CAACC,WAAW,KAAKJ,MAAM,GAAG,QAAQ,GAAG,OAAOG,GAAG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gB,KAAK,MAAM,IAAI;QACjCQ,cAAc,EAAEf,WAAW;QAC3BiB,gBAAgB,EAAEjB;MACnB,CAAC;IACF,CAAC;EACF,CAAC,CAAC;AACH,CAAC,CAAC;AAEF,SAAStJ,MAAM,EAAE8C,YAAY,EAAEkG,WAAW,EAAEhB,gBAAgB,EAAE1C,aAAa,EAAEV,kBAAkB,EAAE1K,iBAAiB,EAAEM,iBAAiB,EAAEL,qBAAqB,EAAEQ,cAAc,EAAEJ,kBAAkB,EAAEG,kBAAkB,EAAEuC,WAAW,EAAE5C,gBAAgB,EAAEI,oBAAoB","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"Popper.native.js","names":[],"sources":["esm/Popper.native.js"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nimport { flushSync } from \"react-dom\";\nimport { useComposedRefs } from \"@tamagui/compose-refs\";\nimport { isWeb, useIsomorphicLayoutEffect } from \"@tamagui/constants\";\nimport { LayoutMeasurementController, View, createRefComponent, createStyledContext, createStyledHOC, getVariableValue, registerLayoutNode, styled } from \"@tamagui/core\";\nimport { FloatingOverrideContext, arrow, flip, getOverflowAncestors, offset, platform, shift, useFloating } from \"@tamagui/floating\";\nimport { getSize } from \"@tamagui/get-token\";\nimport { startTransition } from \"@tamagui/start-transition\";\nimport * as React from \"react\";\nimport { Keyboard, useWindowDimensions } from \"react-native\";\n\nfunction _instanceof(left, right) {\n\tif (right != null && typeof Symbol !== \"undefined\" && right[Symbol.hasInstance]) return !!right[Symbol.hasInstance](left);\n\telse return left instanceof right;\n}\nfunction _type_of(obj) {\n\t\"@swc/helpers - typeof\";\n\treturn obj && typeof Symbol !== \"undefined\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n}\nvar PopperContextFast = createStyledContext({}, \"Popper__\");\nvar PopperPositionContext = createStyledContext;\nvar { useStyledContext: usePopperContext, Provider: PopperProviderFast } = PopperContextFast;\nvar PopperContextSlow = createStyledContext({}, \"PopperSlow__\");\nvar { useStyledContext: usePopperContextSlow, Provider: PopperProviderSlow } = PopperContextSlow;\nvar PopperProvider = function(param) {\n\tvar { scope, children, ...context } = param;\n\tvar fns = React.useRef(context);\n\tfns.current = context;\n\tvar [slowContext] = React.useState(function() {\n\t\treturn {\n\t\t\trefs: context.refs,\n\t\t\ttriggerElements: context.triggerElements,\n\t\t\tupdate() {\n\t\t\t\tfor (var _len = arguments.length, a = new Array(_len), _key = 0; _key < _len; _key++) a[_key] = arguments[_key];\n\t\t\t\tfns.current.update(...a);\n\t\t\t},\n\t\t\tgetReferenceProps(p) {\n\t\t\t\tvar _fns_current_getReferenceProps, _fns_current;\n\t\t\t\treturn (_fns_current_getReferenceProps = (_fns_current = fns.current).getReferenceProps) === null || _fns_current_getReferenceProps === void 0 ? void 0 : _fns_current_getReferenceProps.call(_fns_current, p);\n\t\t\t},\n\t\t\tonHoverReference(e) {\n\t\t\t\tvar _fns_current_onHoverReference, _fns_current;\n\t\t\t\t(_fns_current_onHoverReference = (_fns_current = fns.current).onHoverReference) === null || _fns_current_onHoverReference === void 0 || _fns_current_onHoverReference.call(_fns_current, e);\n\t\t\t},\n\t\t\tonLeaveReference() {\n\t\t\t\tvar _fns_current_onLeaveReference, _fns_current;\n\t\t\t\t(_fns_current_onLeaveReference = (_fns_current = fns.current).onLeaveReference) === null || _fns_current_onLeaveReference === void 0 || _fns_current_onLeaveReference.call(_fns_current);\n\t\t\t}\n\t\t};\n\t});\n\treturn /* @__PURE__ */ jsx(PopperProviderFast, {\n\t\tscope,\n\t\t...context,\n\t\tchildren: /* @__PURE__ */ jsx(PopperProviderSlow, {\n\t\t\tscope,\n\t\t\t...slowContext,\n\t\t\tchildren\n\t\t})\n\t});\n};\nvar checkFloating = {\n\tname: \"checkFloating\",\n\tfn(data) {\n\t\treturn { data: { hasFloating: !!data.rects.floating.width } };\n\t}\n};\nvar setupOptions = {};\nfunction setupPopper(options) {\n\tObject.assign(setupOptions, options);\n}\nfunction tamaguiAutoUpdate(reference, floating, update) {\n\tupdate();\n\tvar rafId = requestAnimationFrame(function() {\n\t\tupdate();\n\t\trafId = 0;\n\t});\n\tvar cleanups = [function() {\n\t\tif (rafId) cancelAnimationFrame(rafId);\n\t}];\n\tif (_instanceof(reference, HTMLElement)) cleanups.push(registerLayoutNode(reference, update));\n\tif (typeof ResizeObserver !== \"undefined\") {\n\t\tvar lastWidth = -1;\n\t\tvar lastHeight = -1;\n\t\tvar ro = new ResizeObserver(function(entries) {\n\t\t\tvar entry = entries[entries.length - 1];\n\t\t\tif (!entry) return;\n\t\t\tvar { width, height } = entry.contentRect;\n\t\t\tif (lastWidth === -1) {\n\t\t\t\tlastWidth = width;\n\t\t\t\tlastHeight = height;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (width !== lastWidth || height !== lastHeight) {\n\t\t\t\tlastWidth = width;\n\t\t\t\tlastHeight = height;\n\t\t\t\tupdate();\n\t\t\t}\n\t\t});\n\t\tro.observe(floating);\n\t\tcleanups.push(function() {\n\t\t\treturn ro.disconnect();\n\t\t});\n\t}\n\tvar ancestors = [..._instanceof(reference, Element) ? getOverflowAncestors(reference) : [], ...getOverflowAncestors(floating)];\n\tvar uniqueAncestors = [...new Set(ancestors)];\n\tvar _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n\ttry {\n\t\tfor (var _iterator = uniqueAncestors[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) _step.value.addEventListener(\"scroll\", update, { passive: true });\n\t} catch (err) {\n\t\t_didIteratorError = true;\n\t\t_iteratorError = err;\n\t} finally {\n\t\ttry {\n\t\t\tif (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();\n\t\t} finally {\n\t\t\tif (_didIteratorError) throw _iteratorError;\n\t\t}\n\t}\n\twindow.addEventListener(\"resize\", update);\n\tcleanups.push(function() {\n\t\tvar _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = void 0;\n\t\ttry {\n\t\t\tfor (var _iterator2 = uniqueAncestors[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) _step2.value.removeEventListener(\"scroll\", update);\n\t\t} catch (err) {\n\t\t\t_didIteratorError2 = true;\n\t\t\t_iteratorError2 = err;\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (!_iteratorNormalCompletion2 && _iterator2.return != null) _iterator2.return();\n\t\t\t} finally {\n\t\t\t\tif (_didIteratorError2) throw _iteratorError2;\n\t\t\t}\n\t\t}\n\t\twindow.removeEventListener(\"resize\", update);\n\t});\n\treturn function() {\n\t\treturn cleanups.forEach(function(fn) {\n\t\t\treturn fn();\n\t\t});\n\t};\n}\nfunction Popper(props) {\n\tvar { children, size, strategy = \"absolute\", placement = \"bottom\", stayInFrame, allowFlip, offset: offset$1, disableRTL, resize, passThrough, open, scope } = props;\n\tvar [arrowEl, setArrow] = React.useState(null);\n\tvar [arrowSize, setArrowSize] = React.useState(0);\n\tvar offsetOptions = offset$1 !== null && offset$1 !== void 0 ? offset$1 : arrowSize;\n\tReact.useRef({});\n\tvar isOpen = passThrough ? false : open !== null && open !== void 0 ? open : true;\n\tvar middlewareRef = React.useRef([]);\n\tif (isOpen) middlewareRef.current = [\n\t\ttypeof offsetOptions !== \"undefined\" ? offset(offsetOptions) : null,\n\t\tallowFlip ? flip(typeof allowFlip === \"boolean\" ? {} : allowFlip) : null,\n\t\tstayInFrame ? shift({\n\t\t\tpadding: 10,\n\t\t\tmainAxis: true,\n\t\t\tcrossAxis: false,\n\t\t\t...(typeof stayInFrame === \"undefined\" ? \"undefined\" : _type_of(stayInFrame)) === \"object\" ? stayInFrame : null\n\t\t}) : null,\n\t\tarrowEl ? arrow({ element: arrowEl }) : null,\n\t\tcheckFloating,\n\t\tnull,\n\t\tnull,\n\t\tnull\n\t].filter(Boolean);\n\tvar floating = useFloating({\n\t\topen: isOpen,\n\t\tstrategy,\n\t\tplacement,\n\t\tsameScrollView: false,\n\t\twhileElementsMounted: !isOpen ? void 0 : tamaguiAutoUpdate,\n\t\tplatform: (disableRTL !== null && disableRTL !== void 0 ? disableRTL : setupOptions.disableRTL) ? {\n\t\t\t...platform,\n\t\t\tisRTL(element) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t} : platform,\n\t\tmiddleware: middlewareRef.current\n\t});\n\tvar { middlewareData } = floating;\n\tvar dimensions = useWindowDimensions();\n\tvar [keyboardOpen, setKeyboardOpen] = React.useState(false);\n\tReact.useEffect(function() {\n\t\tvar showSubscription = Keyboard.addListener(\"keyboardDidShow\", function() {\n\t\t\tstartTransition(function() {\n\t\t\t\tsetKeyboardOpen(true);\n\t\t\t});\n\t\t});\n\t\tvar hideSubscription = Keyboard.addListener(\"keyboardDidHide\", function() {\n\t\t\tstartTransition(function() {\n\t\t\t\tsetKeyboardOpen(false);\n\t\t\t});\n\t\t});\n\t\treturn function() {\n\t\t\tshowSubscription.remove();\n\t\t\thideSubscription.remove();\n\t\t};\n\t}, []);\n\tuseIsomorphicLayoutEffect(function() {\n\t\tif (passThrough) return;\n\t\tfloating.update();\n\t}, [\n\t\tpassThrough,\n\t\tdimensions,\n\t\tkeyboardOpen\n\t]);\n\treturn /* @__PURE__ */ jsx(PopperProvider, {\n\t\tscope,\n\t\t...React.useMemo(function() {\n\t\t\tvar _middlewareData_checkFloating;\n\t\t\treturn {\n\t\t\t\tsize,\n\t\t\t\tarrowRef: setArrow,\n\t\t\t\tarrowStyle: middlewareData.arrow,\n\t\t\t\tonArrowSize: setArrowSize,\n\t\t\t\thasFloating: (_middlewareData_checkFloating = middlewareData.checkFloating) === null || _middlewareData_checkFloating === void 0 ? void 0 : _middlewareData_checkFloating.hasFloating,\n\t\t\t\ttransformOrigin: middlewareData.transformOrigin,\n\t\t\t\topen: !!open,\n\t\t\t\t...floating\n\t\t\t};\n\t\t}, [\n\t\t\topen,\n\t\t\tsize,\n\t\t\tfloating,\n\t\t\tJSON.stringify(middlewareData.arrow || null),\n\t\t\tJSON.stringify(middlewareData.transformOrigin || null)\n\t\t]),\n\t\tchildren: /* @__PURE__ */ jsx(FloatingOverrideContext.Provider, {\n\t\t\tvalue: null,\n\t\t\tchildren\n\t\t})\n\t});\n}\nvar PopperAnchor = createStyledHOC(View, function PopperAnchor2(props, forwardedRef) {\n\tvar { virtualRef, scope, ...rest } = props;\n\tvar context = usePopperContextSlow(scope);\n\tvar { getReferenceProps, refs, update } = context;\n\tvar ref = React.useRef(null);\n\tvar triggerId = React.useId();\n\tReact.useEffect(function() {\n\t\tif (!scope || !context.triggerElements || !ref.current) return;\n\t\tif (!_instanceof(ref.current, Element)) return;\n\t\tvar el = ref.current;\n\t\tcontext.triggerElements.add(triggerId, el);\n\t\treturn function() {\n\t\t\tvar _context_triggerElements;\n\t\t\t(_context_triggerElements = context.triggerElements) === null || _context_triggerElements === void 0 || _context_triggerElements.delete(triggerId);\n\t\t};\n\t}, [\n\t\tscope,\n\t\ttriggerId,\n\t\tcontext.triggerElements\n\t]);\n\tReact.useEffect(function() {\n\t\tif (virtualRef) {\n\t\t\trefs.setReference(virtualRef.current);\n\t\t\tupdate();\n\t\t}\n\t}, [virtualRef]);\n\tvar refProps = (getReferenceProps === null || getReferenceProps === void 0 ? void 0 : getReferenceProps({\n\t\t...rest,\n\t\tref\n\t})) || null;\n\tvar safeSetReference = React.useCallback(function(node) {\n\t\tstartTransition(function() {\n\t\t\trefs.setReference(node);\n\t\t});\n\t}, [refs]);\n\tvar shouldHandleInHover = isWeb && scope;\n\tvar composedRefs = useComposedRefs(forwardedRef, ref, shouldHandleInHover ? void 0 : safeSetReference);\n\treturn /* @__PURE__ */ jsx(View, {\n\t\t...rest,\n\t\t...refProps,\n\t\tref: composedRefs,\n\t\t...shouldHandleInHover && {\n\t\t\tonMouseEnter: function(e) {\n\t\t\t\tvar _e_currentTarget;\n\t\t\t\tvar el = (_e_currentTarget = e.currentTarget) !== null && _e_currentTarget !== void 0 ? _e_currentTarget : ref.current;\n\t\t\t\tif (_instanceof(el, HTMLElement)) {\n\t\t\t\t\tvar _refProps_onPointerEnter, _context_onHoverReference;\n\t\t\t\t\tflushSync(function() {\n\t\t\t\t\t\treturn refs.setReference(el);\n\t\t\t\t\t});\n\t\t\t\t\tupdate();\n\t\t\t\t\tif (!refProps) return;\n\t\t\t\t\t(_refProps_onPointerEnter = refProps.onPointerEnter) === null || _refProps_onPointerEnter === void 0 || _refProps_onPointerEnter.call(refProps, e);\n\t\t\t\t\t(_context_onHoverReference = context.onHoverReference) === null || _context_onHoverReference === void 0 || _context_onHoverReference.call(context, e.nativeEvent);\n\t\t\t\t}\n\t\t\t},\n\t\t\tonMouseLeave: function(e) {\n\t\t\t\tvar _context_onLeaveReference, _refProps_onMouseLeave;\n\t\t\t\t(_context_onLeaveReference = context.onLeaveReference) === null || _context_onLeaveReference === void 0 || _context_onLeaveReference.call(context);\n\t\t\t\trefProps === null || refProps === void 0 || (_refProps_onMouseLeave = refProps.onMouseLeave) == null || _refProps_onMouseLeave.call(refProps, e);\n\t\t\t}\n\t\t}\n\t});\n});\nvar PopperContentFrame = styled(View, { displayName: \"PopperContent\" });\nvar PopperContent = createRefComponent(function PopperContent2(props, forwardedRef) {\n\tvar isAnimatePosControlled = \"animatePosition\" in props;\n\tvar { scope, animatePosition, children, passThrough, ...rest } = props;\n\tvar animatePos = animatePosition;\n\tvar context = usePopperContext(scope);\n\tvar { strategy, placement, refs, x, y, getFloatingProps, isPositioned, transformOrigin, update } = context;\n\tvar updateRef = React.useRef(update);\n\tupdateRef.current = update;\n\tvar lastNodeRef = React.useRef(null);\n\tvar safeSetFloating = React.useCallback(function(node) {\n\t\tvar isNewNode = node !== lastNodeRef.current;\n\t\tif (node) {\n\t\t\tlastNodeRef.current = node;\n\t\t\trefs.setFloating(node);\n\t\t\tif (!isNewNode) {\n\t\t\t\tvar _updateRef_current;\n\t\t\t\t(_updateRef_current = updateRef.current) === null || _updateRef_current === void 0 || _updateRef_current.call(updateRef);\n\t\t\t}\n\t\t}\n\t}, [refs.setFloating]);\n\tReact.useEffect(function() {\n\t\treturn function() {\n\t\t\tvar ourNode = lastNodeRef.current;\n\t\t\tif (ourNode && refs.floating.current === ourNode) refs.setFloating(null);\n\t\t\tlastNodeRef.current = null;\n\t\t};\n\t}, []);\n\tvar contentRefs = useComposedRefs(safeSetFloating, forwardedRef);\n\tvar [needsMeasure, setNeedsMeasure] = React.useState(animatePos);\n\tuseIsomorphicLayoutEffect(function() {\n\t\tif (needsMeasure && x && y) setNeedsMeasure(false);\n\t}, [\n\t\tneedsMeasure,\n\t\tanimatePos,\n\t\tx,\n\t\ty\n\t]);\n\tvar hasBeenPositioned = React.useRef(false);\n\tvar lastGoodPosition = React.useRef({\n\t\tx: 0,\n\t\ty: 0\n\t});\n\tif (x !== 0 || y !== 0) {\n\t\tlastGoodPosition.current = {\n\t\t\tx,\n\t\t\ty\n\t\t};\n\t\tif (isPositioned) hasBeenPositioned.current = true;\n\t}\n\tvar brieflyZero = hasBeenPositioned.current && x === 0 && y === 0;\n\tvar effectiveX = brieflyZero ? lastGoodPosition.current.x : x;\n\tvar effectiveY = brieflyZero ? lastGoodPosition.current.y : y;\n\tvar hide = !hasBeenPositioned.current && effectiveX === 0 && effectiveY === 0;\n\tvar disableAnimationProp = animatePos === \"even-when-repositioning\" ? needsMeasure : !hasBeenPositioned.current && !isPositioned || needsMeasure;\n\tvar [disableAnimation, setDisableAnimation] = React.useState(disableAnimationProp);\n\tReact.useEffect(function() {\n\t\tsetDisableAnimation(disableAnimationProp);\n\t}, [disableAnimationProp]);\n\tvar frameProps = {\n\t\tref: contentRefs,\n\t\t...hide ? {} : {\n\t\t\tx: effectiveX || 0,\n\t\t\ty: effectiveY || 0\n\t\t},\n\t\ttop: 0,\n\t\tleft: 0,\n\t\tposition: strategy,\n\t\topacity: hide ? 0 : 1,\n\t\t...isAnimatePosControlled && {\n\t\t\ttransition: animatePos ? rest.transition : void 0,\n\t\t\tanimateOnly: animatePos && !disableAnimation ? rest.animateOnly : [],\n\t\t\tanimatePresence: false\n\t\t}\n\t};\n\tvar { style, ...floatingProps } = getFloatingProps ? getFloatingProps(frameProps) : frameProps;\n\tvar transformOriginStyle = isWeb && transformOrigin ? { transformOrigin: `${transformOrigin.x} ${transformOrigin.y}` } : void 0;\n\treturn /* @__PURE__ */ jsx(LayoutMeasurementController, {\n\t\tdisable: !context.open,\n\t\tchildren: /* @__PURE__ */ jsx(View, {\n\t\t\tpassThrough,\n\t\t\tref: contentRefs,\n\t\t\tdirection: rest.direction,\n\t\t\t...passThrough ? null : floatingProps,\n\t\t\t...!passThrough && animatePos && { \"data-popper-animate-position\": \"true\" },\n\t\t\tchildren: /* @__PURE__ */ jsx(PopperContentFrame, {\n\t\t\t\tpassThrough,\n\t\t\t\t...!passThrough && {\n\t\t\t\t\t\"data-placement\": placement,\n\t\t\t\t\t\"data-strategy\": strategy,\n\t\t\t\t\t...style,\n\t\t\t\t\t...transformOriginStyle,\n\t\t\t\t\t...rest\n\t\t\t\t},\n\t\t\t\tchildren\n\t\t\t}, \"popper-content-frame\")\n\t\t})\n\t});\n});\nvar PopperArrowFrame = styled(View, {\n\tdisplayName: \"PopperArrow\",\n\tposition: \"relative\"\n});\nvar PopperArrowOuterFrame = styled(View, {\n\tdisplayName: \"PopperArrowOuter\",\n\tposition: \"absolute\",\n\tzIndex: 1e6,\n\tpointerEvents: \"none\",\n\toverflow: \"hidden\",\n\talignItems: \"center\",\n\tjustifyContent: \"center\"\n});\nvar opposites = {\n\ttop: \"bottom\",\n\tright: \"left\",\n\tbottom: \"top\",\n\tleft: \"right\"\n};\nvar PopperArrow = createRefComponent(function PopperArrow2(propsIn, forwardedRef) {\n\tvar _context_arrowStyle, _context_arrowStyle1;\n\tvar isAnimatePosControlled = \"animatePosition\" in propsIn;\n\tvar { scope, animatePosition, transition, ...rest } = propsIn;\n\tvar { offset, size: sizeProp, borderWidth = 0, ...arrowProps } = rest;\n\tvar context = usePopperContext(scope);\n\tvar sizeVal = typeof sizeProp === \"number\" ? sizeProp : getVariableValue(getSize(sizeProp !== null && sizeProp !== void 0 ? sizeProp : context.size)) * .52 - 11.5;\n\tvar size = Math.max(0, +sizeVal);\n\tvar { placement } = context;\n\tvar refs = useComposedRefs(context.arrowRef, forwardedRef);\n\tvar x = ((_context_arrowStyle = context.arrowStyle) === null || _context_arrowStyle === void 0 ? void 0 : _context_arrowStyle.x) || 0;\n\tvar y = ((_context_arrowStyle1 = context.arrowStyle) === null || _context_arrowStyle1 === void 0 ? void 0 : _context_arrowStyle1.y) || 0;\n\tvar arrowPositioned = context.arrowStyle != null;\n\tvar primaryPlacement = placement ? placement.split(\"-\")[0] : \"top\";\n\tvar arrowStyle = {\n\t\tx,\n\t\ty,\n\t\twidth: size,\n\t\theight: size\n\t};\n\tvar innerArrowStyle = {};\n\tvar isVertical = primaryPlacement === \"bottom\" || primaryPlacement === \"top\";\n\tif (primaryPlacement) {\n\t\tarrowStyle[isVertical ? \"width\" : \"height\"] = size * 2;\n\t\tvar oppSide = opposites[primaryPlacement];\n\t\tif (oppSide) {\n\t\t\tarrowStyle[oppSide] = -size;\n\t\t\tinnerArrowStyle[oppSide] = size / 2;\n\t\t}\n\t\tif (oppSide === \"top\" || oppSide === \"bottom\") arrowStyle.left = 0;\n\t\tif (oppSide === \"left\" || oppSide === \"right\") arrowStyle.top = 0;\n\t\tuseIsomorphicLayoutEffect(function() {\n\t\t\tvar _context_onArrowSize;\n\t\t\t(_context_onArrowSize = context.onArrowSize) === null || _context_onArrowSize === void 0 || _context_onArrowSize.call(context, size);\n\t\t}, [size, context.onArrowSize]);\n\t}\n\treturn /* @__PURE__ */ jsx(PopperArrowOuterFrame, {\n\t\tref: refs,\n\t\t...arrowStyle,\n\t\t...!arrowPositioned && { opacity: 0 },\n\t\t...isAnimatePosControlled && {\n\t\t\ttransition: animatePosition ? transition : void 0,\n\t\t\tanimateOnly: animatePosition ? [\"transform\"] : [],\n\t\t\tanimatePresence: false\n\t\t},\n\t\tchildren: /* @__PURE__ */ jsx(PopperArrowFrame, {\n\t\t\twidth: size,\n\t\t\theight: size,\n\t\t\t...arrowProps,\n\t\t\t...innerArrowStyle,\n\t\t\trotate: \"45deg\",\n\t\t\t...primaryPlacement === \"bottom\" && {\n\t\t\t\tborderLeftWidth: borderWidth,\n\t\t\t\tborderTopWidth: borderWidth\n\t\t\t},\n\t\t\t...primaryPlacement === \"top\" && {\n\t\t\t\tborderBottomWidth: borderWidth,\n\t\t\t\tborderRightWidth: borderWidth\n\t\t\t},\n\t\t\t...primaryPlacement === \"right\" && {\n\t\t\t\tborderLeftWidth: borderWidth,\n\t\t\t\tborderBottomWidth: borderWidth\n\t\t\t},\n\t\t\t...primaryPlacement === \"left\" && {\n\t\t\t\tborderTopWidth: borderWidth,\n\t\t\t\tborderRightWidth: borderWidth\n\t\t\t}\n\t\t})\n\t});\n});\n\nexport { Popper, PopperAnchor, PopperArrow, PopperArrowFrame, PopperContent, PopperContentFrame, PopperContextFast, PopperContextSlow, PopperPositionContext, PopperProvider, PopperProviderFast, PopperProviderSlow, setupPopper, usePopperContext, usePopperContextSlow };"],"mappings":";;;;;;;;;;;;AAWA,SAAS,YAAY,MAAM,OAAO;CACjC,IAAI,SAAS,QAAQ,OAAO,WAAW,eAAe,MAAM,OAAO,cAAc,OAAO,CAAC,CAAC,MAAM,OAAO,aAAa,IAAI;MACnH,OAAO,gBAAgB;AAC7B;AACA,SAAS,SAAS,KAAK;CACtB;CACA,OAAO,OAAO,OAAO,WAAW,eAAe,IAAI,gBAAgB,SAAS,WAAW,OAAO;AAC/F;AACA,IAAI,oBAAoB,oBAAoB,CAAC,GAAG,UAAU;AAC1D,IAAI,wBAAwB;AAC5B,IAAI,EAAE,kBAAkB,kBAAkB,UAAU,uBAAuB;AAC3E,IAAI,oBAAoB,oBAAoB,CAAC,GAAG,cAAc;AAC9D,IAAI,EAAE,kBAAkB,sBAAsB,UAAU,uBAAuB;AAC/E,IAAI,iBAAiB,SAAS,OAAO;CACpC,IAAI,EAAE,OAAO,UAAU,GAAG,YAA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uB;EACjD,KAAK;EACL,GAAG;EACH,GAAG,CAAC,mBAAmB,EAAE,SAAS,EAAE;EACpC,GAAG,0BAA0B;GAC5B,YAAY,kBAAkB,aAAa,KAAK;GAChD,aAAa,kBAAkB,CAAC,WAAW,IAAI,CAAC;GAChD,iBAAiB;EAClB;EACA,UAA0B,oBAAI,kBAAkB;GAC/C,OAAO;GACP,QAAQ;GACR,GAAG;GACH,GAAG;GACH,QAAQ;GACR,GAAG,qBAAqB,YAAY;IACnC,iBAAiB;IACjB,gBAAgB;GACjB;GACA,GAAG,qBAAqB,SAAS;IAChC,mBAAmB;IACnB,kBAAkB;GACnB;GACA,GAAG,qBAAqB,WAAW;IAClC,iBAAiB;IACjB,mBAAmB;GACpB;GACA,GAAG,qBAAqB,UAAU;IACjC,gBAAgB;IAChB,kBAAkB;GACnB;EACD,CAAC;CACF,CAAC;AACF,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export * from "./Popper.mjs"
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
export * from "./Popper.mjs"
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export * from "./Popper.mjs"
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
export * from "./Popper.mjs"
|
package/dist/esm/index.native.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export * from "./Popper.native.js"
|
|
2
|
-
//# sourceMappingURL=index.native.js.map
|
|
1
|
+
export * from "./Popper.native.js"
|