@hanzogui/popper 2.0.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/LICENSE +21 -0
- package/dist/cjs/Popper.cjs +593 -0
- package/dist/cjs/Popper.native.js +632 -0
- package/dist/cjs/Popper.native.js.map +1 -0
- package/dist/cjs/index.cjs +18 -0
- package/dist/cjs/index.native.js +21 -0
- package/dist/cjs/index.native.js.map +1 -0
- package/dist/esm/Popper.mjs +544 -0
- package/dist/esm/Popper.mjs.map +1 -0
- package/dist/esm/Popper.native.js +581 -0
- package/dist/esm/Popper.native.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/index.mjs +2 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/index.native.js +2 -0
- package/dist/esm/index.native.js.map +1 -0
- package/dist/jsx/Popper.mjs +544 -0
- package/dist/jsx/Popper.mjs.map +1 -0
- package/dist/jsx/Popper.native.js +632 -0
- package/dist/jsx/Popper.native.js.map +1 -0
- package/dist/jsx/index.js +2 -0
- package/dist/jsx/index.js.map +1 -0
- package/dist/jsx/index.mjs +2 -0
- package/dist/jsx/index.mjs.map +1 -0
- package/dist/jsx/index.native.js +21 -0
- package/dist/jsx/index.native.js.map +1 -0
- package/package.json +58 -0
- package/src/Popper.tsx +1022 -0
- package/src/index.ts +1 -0
- package/types/Popper.d.ts +183 -0
- package/types/index.d.ts +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__create","Object","create","__defProp","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__getProtoOf","getPrototypeOf","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toESM","mod","isNodeMode","__esModule","value","__toCommonJS","Popper_exports","Popper","PopperAnchor","PopperArrow","PopperArrowFrame","PopperContent","PopperContentFrame","PopperContextFast","PopperContextSlow","PopperPositionContext","PopperProvider","PopperProviderFast","PopperProviderSlow","setupPopper","usePopperContext","usePopperContextSlow","module","exports","import_jsx_runtime","require","import_react_dom","import_gui_compose_refs","import_gui_constants","import_gui_core","import_gui_floating","import_gui_floating2","import_gui_get_token","import_gui_stacks","import_gui_start_transition","React","import_react_native","_instanceof","left","right","Symbol","hasInstance","_type_of","obj","constructor","createStyledContext","useStyledContext","Provider","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","onHoverReference","e","_fns_current_onHoverReference","onLeaveReference","_fns_current_onLeaveReference","jsx","checkFloating","fn","data","hasFloating","rects","floating","width","setupOptions","options","assign","tamaguiAutoUpdate","reference","rafId","requestAnimationFrame","cleanups","cancelAnimationFrame","HTMLElement","push","registerLayoutNode","refAncestors","Element","getOverflowAncestors","ancestors","uniqueAncestors","Set","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_iterator","iterator","_step","next","done","ancestor","addEventListener","passive","err","return","window","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_iterator2","_step2","ancestor2","removeEventListener","forEach","props","size","strategy","placement","stayInFrame","allowFlip","offset","disableRTL","resize","passThrough","open","arrowEl","setArrow","arrowSize","setArrowSize","offsetOptions","floatingStyle","isOpen","middlewareRef","flip","shift","padding","mainAxis","crossAxis","arrow","element","filter","Boolean","useFloating","sameScrollView","whileElementsMounted","platform","isRTL","middleware","middlewareData","dimensions","useWindowDimensions","keyboardOpen","setKeyboardOpen","useEffect","showSubscription","Keyboard","addListener","startTransition","hideSubscription","remove","useIsomorphicLayoutEffect","popperContext","useMemo","_middlewareData_checkFloating","arrowRef","arrowStyle","onArrowSize","transformOrigin","JSON","stringify","FloatingOverrideContext","YStack","styleable","forwardedRef","virtualRef","rest","ref","triggerId","useId","el","add","_context_triggerElements","delete","setReference","refProps","safeSetReference","useCallback","node","shouldHandleInHover","isWeb","composedRefs","useComposedRefs","View","onMouseEnter","_e_currentTarget","currentTarget","_refProps_onPointerEnter","_context_onHoverReference","flushSync","onPointerEnter","nativeEvent","onMouseLeave","_context_onLeaveReference","_refProps_onMouseLeave","styled","variants","unstyled","true","...size","val","tokens","space","borderRadius","radius","forwardRef","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","positionProps","frameProps","top","position","opacity","transition","animateOnly","animatePresence","style","floatingProps","transformOriginStyle","LayoutMeasurementController","disable","direction","false","borderColor","backgroundColor","defaultVariants","process","env","HANZO_GUI_HEADLESS","PopperArrowOuterFrame","zIndex","pointerEvents","overflow","alignItems","justifyContent","opposites","bottom","propsIn","_context_arrowStyle","_context_arrowStyle1","sizeProp","borderWidth","arrowProps","sizeVal","getVariableValue","getSpace","bounds","Math","max","arrowPositioned","primaryPlacement","split","height","innerArrowStyle","isVertical","oppSide","_context_onArrowSize","rotate","borderLeftWidth","borderTopWidth","borderBottomWidth","borderRightWidth"],"sources":["Popper.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: !0 });\n}, __copyProps = (to, from, except, desc) => {\n if (from && typeof from == \"object\" || typeof from == \"function\")\n for (let key of __getOwnPropNames(from))\n !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: !0 }) : target,\n mod\n)), __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: !0 }), mod);\nvar Popper_exports = {};\n__export(Popper_exports, {\n Popper: () => Popper,\n PopperAnchor: () => PopperAnchor,\n PopperArrow: () => PopperArrow,\n PopperArrowFrame: () => PopperArrowFrame,\n PopperContent: () => PopperContent,\n PopperContentFrame: () => PopperContentFrame,\n PopperContextFast: () => PopperContextFast,\n PopperContextSlow: () => PopperContextSlow,\n PopperPositionContext: () => PopperPositionContext,\n PopperProvider: () => PopperProvider,\n PopperProviderFast: () => PopperProviderFast,\n PopperProviderSlow: () => PopperProviderSlow,\n setupPopper: () => setupPopper,\n usePopperContext: () => usePopperContext,\n usePopperContextSlow: () => usePopperContextSlow\n});\nmodule.exports = __toCommonJS(Popper_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\"), import_react_dom = require(\"react-dom\"), import_gui_compose_refs = require(\"@hanzo/gui-compose-refs\"), import_gui_constants = require(\"@hanzo/gui-constants\"), import_gui_core = require(\"@hanzo/gui-core\"), import_gui_floating = require(\"@hanzo/gui-floating\"), import_gui_floating2 = require(\"@hanzo/gui-floating\"), import_gui_get_token = require(\"@hanzo/gui-get-token\"), import_gui_stacks = require(\"@hanzo/gui-stacks\"), import_gui_start_transition = require(\"@hanzo/gui-start-transition\"), React = __toESM(require(\"react\"), 1), import_react_native = require(\"react-native\");\nfunction _instanceof(left, right) {\n return right != null && typeof Symbol < \"u\" && right[Symbol.hasInstance] ? !!right[Symbol.hasInstance](left) : left instanceof right;\n}\nfunction _type_of(obj) {\n \"@swc/helpers - typeof\";\n return obj && typeof Symbol < \"u\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n}\nvar PopperContextFast = (0, import_gui_core.createStyledContext)(\n // since we always provide this we can avoid setting here\n {},\n \"Popper__\"\n), PopperPositionContext = import_gui_core.createStyledContext, { useStyledContext: usePopperContext, Provider: PopperProviderFast } = PopperContextFast, PopperContextSlow = (0, import_gui_core.createStyledContext)(\n // since we always provide this we can avoid setting here\n {},\n \"PopperSlow__\"\n), { useStyledContext: usePopperContextSlow, Provider: PopperProviderSlow } = PopperContextSlow, PopperProvider = function(param) {\n var { scope, children, ...context } = param, fns = React.useRef(context);\n fns.current = context;\n var [slowContext] = React.useState(function() {\n return {\n refs: context.refs,\n triggerElements: context.triggerElements,\n update() {\n for (var _len = arguments.length, a = new Array(_len), _key = 0; _key < _len; _key++)\n a[_key] = arguments[_key];\n fns.current.update(...a);\n },\n getReferenceProps(p) {\n var _fns_current_getReferenceProps, _fns_current;\n return (_fns_current_getReferenceProps = (_fns_current = fns.current).getReferenceProps) === null || _fns_current_getReferenceProps === void 0 ? void 0 : _fns_current_getReferenceProps.call(_fns_current, p);\n },\n onHoverReference(e) {\n var _fns_current_onHoverReference, _fns_current;\n (_fns_current_onHoverReference = (_fns_current = fns.current).onHoverReference) === null || _fns_current_onHoverReference === void 0 || _fns_current_onHoverReference.call(_fns_current, e);\n },\n onLeaveReference() {\n var _fns_current_onLeaveReference, _fns_current;\n (_fns_current_onLeaveReference = (_fns_current = fns.current).onLeaveReference) === null || _fns_current_onLeaveReference === void 0 || _fns_current_onLeaveReference.call(_fns_current);\n }\n };\n });\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PopperProviderFast, {\n scope,\n ...context,\n children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PopperProviderSlow, {\n scope,\n ...slowContext,\n children\n })\n });\n}, checkFloating = {\n name: \"checkFloating\",\n fn(data) {\n return {\n data: {\n hasFloating: !!data.rects.floating.width\n }\n };\n }\n}, setupOptions = {};\nfunction setupPopper(options) {\n Object.assign(setupOptions, options);\n}\nfunction tamaguiAutoUpdate(reference, floating, update) {\n update();\n var rafId = requestAnimationFrame(function() {\n update(), rafId = 0;\n }), cleanups = [\n function() {\n rafId && cancelAnimationFrame(rafId);\n }\n ];\n _instanceof(reference, HTMLElement) && cleanups.push((0, import_gui_core.registerLayoutNode)(reference, update));\n var refAncestors = _instanceof(reference, Element) ? (0, import_gui_floating2.getOverflowAncestors)(reference) : [], ancestors = [\n ...refAncestors,\n ...(0, import_gui_floating2.getOverflowAncestors)(floating)\n ], uniqueAncestors = [\n ...new Set(ancestors)\n ], _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;\n try {\n for (var _iterator = uniqueAncestors[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {\n var ancestor = _step.value;\n ancestor.addEventListener(\"scroll\", update, {\n passive: !0\n });\n }\n } catch (err) {\n _didIteratorError = !0, _iteratorError = err;\n } finally {\n try {\n !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();\n } finally {\n if (_didIteratorError)\n throw _iteratorError;\n }\n }\n return window.addEventListener(\"resize\", update), cleanups.push(function() {\n var _iteratorNormalCompletion2 = !0, _didIteratorError2 = !1, _iteratorError2 = void 0;\n try {\n for (var _iterator2 = uniqueAncestors[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = !0) {\n var ancestor2 = _step2.value;\n ancestor2.removeEventListener(\"scroll\", update);\n }\n } catch (err) {\n _didIteratorError2 = !0, _iteratorError2 = err;\n } finally {\n try {\n !_iteratorNormalCompletion2 && _iterator2.return != null && _iterator2.return();\n } finally {\n if (_didIteratorError2)\n throw _iteratorError2;\n }\n }\n window.removeEventListener(\"resize\", update);\n }), function() {\n return cleanups.forEach(function(fn) {\n return fn();\n });\n };\n}\nfunction Popper(props) {\n var { children, size, strategy = \"absolute\", placement = \"bottom\", stayInFrame, allowFlip, offset, disableRTL, resize, passThrough, open, scope } = props, [arrowEl, setArrow] = React.useState(null), [arrowSize, setArrowSize] = React.useState(0), offsetOptions = offset ?? arrowSize, floatingStyle = React.useRef({}), isOpen = passThrough ? !1 : open ?? !0, middlewareRef = React.useRef([]);\n isOpen && (middlewareRef.current = [\n // order matters: offset first, then flip, then shift, then arrow\n typeof offsetOptions < \"u\" ? (0, import_gui_floating2.offset)(offsetOptions) : null,\n allowFlip ? (0, import_gui_floating2.flip)(typeof allowFlip == \"boolean\" ? {} : allowFlip) : null,\n // NOTE: shift's axis terminology is reversed vs flip/offset:\n // for top/bottom placements: mainAxis = horizontal, crossAxis = vertical\n // for left/right placements: mainAxis = vertical, crossAxis = horizontal\n // default to horizontal shift only (mainAxis: true, crossAxis: false)\n stayInFrame ? (0, import_gui_floating2.shift)({\n padding: 10,\n mainAxis: !0,\n crossAxis: !1,\n ...(typeof stayInFrame > \"u\" ? \"undefined\" : _type_of(stayInFrame)) === \"object\" ? stayInFrame : null\n }) : null,\n arrowEl ? (0, import_gui_floating2.arrow)({\n element: arrowEl\n }) : null,\n checkFloating,\n null,\n null,\n null\n ].filter(Boolean));\n var floating = (0, import_gui_floating2.useFloating)({\n open: isOpen,\n strategy,\n placement,\n sameScrollView: !1,\n // this only takes effect on native\n whileElementsMounted: isOpen ? tamaguiAutoUpdate : void 0,\n platform: disableRTL ?? setupOptions.disableRTL ? {\n ...import_gui_floating2.platform,\n isRTL(element) {\n return !1;\n }\n } : import_gui_floating2.platform,\n middleware: middlewareRef.current\n }), { middlewareData } = floating, dimensions = (0, import_react_native.useWindowDimensions)(), [keyboardOpen, setKeyboardOpen] = React.useState(!1);\n React.useEffect(function() {\n var showSubscription = import_react_native.Keyboard.addListener(\"keyboardDidShow\", function() {\n (0, import_gui_start_transition.startTransition)(function() {\n setKeyboardOpen(!0);\n });\n }), hideSubscription = import_react_native.Keyboard.addListener(\"keyboardDidHide\", function() {\n (0, import_gui_start_transition.startTransition)(function() {\n setKeyboardOpen(!1);\n });\n });\n return function() {\n showSubscription.remove(), hideSubscription.remove();\n };\n }, []), (0, import_gui_constants.useIsomorphicLayoutEffect)(function() {\n passThrough || floating.update();\n }, [\n passThrough,\n dimensions,\n keyboardOpen\n ]);\n var popperContext = React.useMemo(function() {\n var _middlewareData_checkFloating;\n return {\n size,\n arrowRef: setArrow,\n arrowStyle: middlewareData.arrow,\n onArrowSize: setArrowSize,\n hasFloating: (_middlewareData_checkFloating = middlewareData.checkFloating) === null || _middlewareData_checkFloating === void 0 ? void 0 : _middlewareData_checkFloating.hasFloating,\n transformOrigin: middlewareData.transformOrigin,\n open: !!open,\n ...floating\n };\n }, [\n open,\n size,\n floating,\n JSON.stringify(middlewareData.arrow || null),\n JSON.stringify(middlewareData.transformOrigin || null)\n ]);\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PopperProvider, {\n scope,\n ...popperContext,\n children: (\n /* reset FloatingOverrideContext so it doesn't leak into nested Poppers —\n each Popper consumes the override for its own useFloating, children\n should not inherit it (e.g. a Menu inside a Tooltip's tree) */\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_gui_floating.FloatingOverrideContext.Provider, {\n value: null,\n children\n })\n )\n });\n}\nvar PopperAnchor = import_gui_stacks.YStack.styleable(function(props, forwardedRef) {\n var { virtualRef, scope, ...rest } = props, context = usePopperContextSlow(scope), { getReferenceProps, refs, update } = context, ref = React.useRef(null), triggerId = React.useId();\n React.useEffect(function() {\n if (!(!scope || !context.triggerElements || !ref.current) && _instanceof(ref.current, Element)) {\n var el = ref.current;\n return context.triggerElements.add(triggerId, el), function() {\n var _context_triggerElements;\n (_context_triggerElements = context.triggerElements) === null || _context_triggerElements === void 0 || _context_triggerElements.delete(triggerId);\n };\n }\n }, [\n scope,\n triggerId,\n context.triggerElements\n ]), React.useEffect(function() {\n virtualRef && (refs.setReference(virtualRef.current), update());\n }, [\n virtualRef\n ]);\n var refProps = getReferenceProps?.({\n ...rest,\n ref\n }) || null, safeSetReference = React.useCallback(\n function(node) {\n (0, import_gui_start_transition.startTransition)(function() {\n refs.setReference(node);\n });\n },\n // it was refs.setRefernce but its stable and refs is undefined on server\n [\n refs\n ]\n ), shouldHandleInHover = import_gui_constants.isWeb && scope, composedRefs = (0, import_gui_compose_refs.useComposedRefs)(\n forwardedRef,\n ref,\n // web handles this onMouseEnter below so it can support multiple targets + hovering\n shouldHandleInHover ? void 0 : safeSetReference\n );\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_gui_core.View, {\n ...rest,\n ...refProps,\n ref: composedRefs,\n ...shouldHandleInHover && {\n // scoped poppers with multiple triggers: set the reference on\n // mouseEnter so floating-ui positions relative to the hovered\n // trigger, not the last one rendered.\n //\n // flushSync is critical here: without it, setReference batches\n // with React's async state updates and the arrow/content position\n // computes against the OLD reference element. this causes the\n // arrow to flash at x=0 (top-left) during trigger switches.\n // flushSync forces synchronous commit so update() below reads\n // the correct reference element immediately.\n onMouseEnter: function(e) {\n var _e_currentTarget, el = (_e_currentTarget = e.currentTarget) !== null && _e_currentTarget !== void 0 ? _e_currentTarget : ref.current;\n if (_instanceof(el, HTMLElement)) {\n var _refProps_onPointerEnter, _context_onHoverReference;\n if ((0, import_react_dom.flushSync)(function() {\n return refs.setReference(el);\n }), update(), !refProps) return;\n (_refProps_onPointerEnter = refProps.onPointerEnter) === null || _refProps_onPointerEnter === void 0 || _refProps_onPointerEnter.call(refProps, e), (_context_onHoverReference = context.onHoverReference) === null || _context_onHoverReference === void 0 || _context_onHoverReference.call(context, e.nativeEvent);\n }\n },\n onMouseLeave: function(e) {\n var _context_onLeaveReference, _refProps_onMouseLeave;\n (_context_onLeaveReference = context.onLeaveReference) === null || _context_onLeaveReference === void 0 || _context_onLeaveReference.call(context), refProps == null || (_refProps_onMouseLeave = refProps.onMouseLeave) === null || _refProps_onMouseLeave === void 0 || _refProps_onMouseLeave.call(refProps, e);\n }\n }\n });\n}), PopperContentFrame = (0, import_gui_core.styled)(import_gui_stacks.YStack, {\n name: \"PopperContent\",\n variants: {\n unstyled: {\n true: {}\n },\n size: {\n \"...size\": function(val, param) {\n var { tokens } = param;\n return {\n padding: tokens.space[val],\n borderRadius: tokens.radius[val]\n };\n }\n }\n }\n}), PopperContent = /* @__PURE__ */ React.forwardRef(function(props, forwardedRef) {\n var { scope, animatePosition, enableAnimationForPositionChange, children, passThrough, unstyled, ...rest } = props, animatePos = animatePosition ?? enableAnimationForPositionChange, context = usePopperContext(scope), { strategy, placement, refs, x, y, getFloatingProps, size, isPositioned, transformOrigin, update } = context, updateRef = React.useRef(update);\n updateRef.current = update;\n var lastNodeRef = React.useRef(null), safeSetFloating = React.useCallback(\n function(node) {\n var isNewNode = node !== lastNodeRef.current;\n if (node && (lastNodeRef.current = node, refs.setFloating(node), !isNewNode)) {\n var _updateRef_current;\n (_updateRef_current = updateRef.current) === null || _updateRef_current === void 0 || _updateRef_current.call(updateRef);\n }\n },\n // null calls are blocked: cycling nulls are transient, genuine unmount\n // is handled by the useEffect cleanup below\n [\n refs.setFloating\n ]\n );\n React.useEffect(function() {\n return function() {\n var ourNode = lastNodeRef.current;\n ourNode && refs.floating.current === ourNode && refs.setFloating(null), lastNodeRef.current = null;\n };\n }, []);\n var contentRefs = (0, import_gui_compose_refs.useComposedRefs)(safeSetFloating, forwardedRef), [needsMeasure, setNeedsMeasure] = React.useState(animatePos);\n (0, import_gui_constants.useIsomorphicLayoutEffect)(function() {\n needsMeasure && x && y && setNeedsMeasure(!1);\n }, [\n needsMeasure,\n animatePos,\n x,\n y\n ]);\n var hasBeenPositioned = React.useRef(!1), lastGoodPosition = React.useRef({\n x: 0,\n y: 0\n });\n (x !== 0 || y !== 0) && (lastGoodPosition.current = {\n x,\n y\n }, isPositioned && (hasBeenPositioned.current = !0));\n var brieflyZero = hasBeenPositioned.current && x === 0 && y === 0, effectiveX = brieflyZero ? lastGoodPosition.current.x : x, effectiveY = brieflyZero ? lastGoodPosition.current.y : y, hide = !hasBeenPositioned.current && effectiveX === 0 && effectiveY === 0, disableAnimationProp = (\n // if they want to animate also when re-positioning allow it\n animatePos === \"even-when-repositioning\" ? needsMeasure : !hasBeenPositioned.current && !isPositioned || needsMeasure\n ), [disableAnimation, setDisableAnimation] = React.useState(disableAnimationProp);\n React.useEffect(function() {\n setDisableAnimation(disableAnimationProp);\n }, [\n disableAnimationProp\n ]);\n var positionProps = hide ? {} : (\n // omit x/y when hiding - prevents motion driver from animating from origin\n {\n x: effectiveX || 0,\n y: effectiveY || 0\n }\n ), frameProps = {\n ref: contentRefs,\n ...positionProps,\n top: 0,\n left: 0,\n position: strategy,\n opacity: hide ? 0 : 1,\n ...animatePos && {\n transition: rest.transition,\n // animateOnly: [] turns off transitions while keeping styles applied,\n // letting the element move to its position silently before animations start\n animateOnly: disableAnimation ? [] : rest.animateOnly,\n animatePresence: !1\n }\n }, { style, ...floatingProps } = getFloatingProps ? getFloatingProps(frameProps) : frameProps, transformOriginStyle = import_gui_constants.isWeb && transformOrigin ? {\n transformOrigin: `${transformOrigin.x} ${transformOrigin.y}`\n } : void 0;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_gui_core.LayoutMeasurementController, {\n disable: !context.open,\n children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_gui_core.View, {\n passThrough,\n ref: contentRefs,\n direction: rest.direction,\n ...passThrough ? null : floatingProps,\n ...!passThrough && animatePos && {\n \"data-popper-animate-position\": \"true\"\n },\n children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PopperContentFrame, {\n passThrough,\n unstyled,\n ...!passThrough && {\n \"data-placement\": placement,\n \"data-strategy\": strategy,\n size,\n ...style,\n ...transformOriginStyle,\n ...rest\n },\n children\n }, \"popper-content-frame\")\n })\n });\n}), PopperArrowFrame = (0, import_gui_core.styled)(import_gui_stacks.YStack, {\n name: \"PopperArrow\",\n variants: {\n unstyled: {\n false: {\n borderColor: \"$borderColor\",\n backgroundColor: \"$background\",\n position: \"relative\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.HANZO_GUI_HEADLESS === \"1\"\n }\n}), PopperArrowOuterFrame = (0, import_gui_core.styled)(import_gui_stacks.YStack, {\n name: \"PopperArrowOuter\",\n variants: {\n unstyled: {\n false: {\n position: \"absolute\",\n zIndex: 1e6,\n pointerEvents: \"none\",\n overflow: \"hidden\",\n alignItems: \"center\",\n justifyContent: \"center\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.HANZO_GUI_HEADLESS === \"1\"\n }\n}), opposites = {\n top: \"bottom\",\n right: \"left\",\n bottom: \"top\",\n left: \"right\"\n}, PopperArrow = /* @__PURE__ */ React.forwardRef(function(propsIn, forwardedRef) {\n var _context_arrowStyle, _context_arrowStyle1, { scope, animatePosition, transition, ...rest } = propsIn, { offset, size: sizeProp, borderWidth = 0, ...arrowProps } = rest, context = usePopperContext(scope), sizeVal = typeof sizeProp == \"number\" ? sizeProp : (0, import_gui_core.getVariableValue)((0, import_gui_get_token.getSpace)(sizeProp ?? context.size, {\n shift: -2,\n bounds: [\n 2\n ]\n })), size = Math.max(0, +sizeVal), { placement } = context, refs = (0, import_gui_compose_refs.useComposedRefs)(context.arrowRef, forwardedRef), x = ((_context_arrowStyle = context.arrowStyle) === null || _context_arrowStyle === void 0 ? void 0 : _context_arrowStyle.x) || 0, y = ((_context_arrowStyle1 = context.arrowStyle) === null || _context_arrowStyle1 === void 0 ? void 0 : _context_arrowStyle1.y) || 0, arrowPositioned = context.arrowStyle != null, primaryPlacement = placement ? placement.split(\"-\")[0] : \"top\", arrowStyle = {\n x,\n y,\n width: size,\n height: size\n }, innerArrowStyle = {}, isVertical = primaryPlacement === \"bottom\" || primaryPlacement === \"top\";\n if (primaryPlacement) {\n arrowStyle[isVertical ? \"width\" : \"height\"] = size * 2;\n var oppSide = opposites[primaryPlacement];\n oppSide && (arrowStyle[oppSide] = -size, innerArrowStyle[oppSide] = size / 2), (oppSide === \"top\" || oppSide === \"bottom\") && (arrowStyle.left = 0), (oppSide === \"left\" || oppSide === \"right\") && (arrowStyle.top = 0), (0, import_gui_constants.useIsomorphicLayoutEffect)(function() {\n var _context_onArrowSize;\n (_context_onArrowSize = context.onArrowSize) === null || _context_onArrowSize === void 0 || _context_onArrowSize.call(context, size);\n }, [\n size,\n context.onArrowSize\n ]);\n }\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PopperArrowOuterFrame, {\n ref: refs,\n ...arrowStyle,\n ...!arrowPositioned && {\n opacity: 0\n },\n ...animatePosition && {\n transition,\n animateOnly: [\n \"transform\"\n ],\n animatePresence: !1\n },\n children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PopperArrowFrame, {\n width: size,\n height: size,\n ...arrowProps,\n ...innerArrowStyle,\n rotate: \"45deg\",\n ...primaryPlacement === \"bottom\" && {\n borderLeftWidth: borderWidth,\n borderTopWidth: borderWidth\n },\n ...primaryPlacement === \"top\" && {\n borderBottomWidth: borderWidth,\n borderRightWidth: borderWidth\n },\n ...primaryPlacement === \"right\" && {\n borderLeftWidth: borderWidth,\n borderBottomWidth: borderWidth\n },\n ...primaryPlacement === \"left\" && {\n borderTopWidth: borderWidth,\n borderRightWidth: borderWidth\n }\n })\n });\n});\n//# sourceMappingURL=Popper.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,QAAQ,GAAGC,MAAM,CAACC,MAAM;AAC5B,IAAIC,SAAS,GAAGF,MAAM,CAACG,cAAc;AACrC,IAAIC,gBAAgB,GAAGJ,MAAM,CAACK,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGN,MAAM,CAACO,mBAAmB;AAClD,IAAIC,YAAY,GAAGR,MAAM,CAACS,cAAc;EAAEC,YAAY,GAAGV,MAAM,CAACW,SAAS,CAACC,cAAc;AACxF,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;IAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBb,SAAS,CAACY,MAAM,EAAEE,IAAI,EAAE;MAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;MAA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,eAAgB,CAAC,CAAC,EAAE1B,kBAAkB,CAACmD,GAAG,EAAEjE,gBAAgB,EAAE;QACtEwE,KAAK,EAAE0C,IAAI;QACX0K,MAAM,EAAE1K,IAAI;QACZ,GAAGgK,UAAU;QACb,GAAGW,eAAe;QAClBI,MAAM,EAAE,OAAO;QACf,IAAGP,gBAAgB,KAAK,QAAQ,IAAI;UAClCQ,eAAe,EAAEjB,WAAW;UAC5BkB,cAAc,EAAElB;QAClB,CAAC;QACD,IAAGS,gBAAgB,KAAK,KAAK,IAAI;UAC/BU,iBAAiB,EAAEnB,WAAW;UAC9BoB,gBAAgB,EAAEpB;QACpB,CAAC;QACD,IAAGS,gBAAgB,KAAK,OAAO,IAAI;UACjCQ,eAAe,EAAEjB,WAAW;UAC5BmB,iBAAiB,EAAEnB;QACrB,CAAC;QACD,IAAGS,gBAAgB,KAAK,MAAM,IAAI;UAChCS,cAAc,EAAElB,WAAW;UAC3BoB,gBAAgB,EAAEpB;QACpB,CAAC;MACH,CAAC;IACH,CAAC,CAAC;EACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
7
|
+
get: () => from[key],
|
|
8
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
9
|
+
});
|
|
10
|
+
return to;
|
|
11
|
+
},
|
|
12
|
+
__reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
13
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
14
|
+
value: !0
|
|
15
|
+
}), mod);
|
|
16
|
+
var index_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(index_exports);
|
|
18
|
+
__reExport(index_exports, require("./Popper.cjs"), module.exports);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __copyProps = (to, from, except, desc) => {
|
|
8
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
9
|
+
get: () => from[key],
|
|
10
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
11
|
+
});
|
|
12
|
+
return to;
|
|
13
|
+
},
|
|
14
|
+
__reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
16
|
+
value: !0
|
|
17
|
+
}), mod);
|
|
18
|
+
var index_exports = {};
|
|
19
|
+
module.exports = __toCommonJS(index_exports);
|
|
20
|
+
__reExport(index_exports, require("./Popper"), module.exports);
|
|
21
|
+
//# sourceMappingURL=index.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__copyProps","to","from","except","desc","key","call","get","enumerable","__reExport","target","mod","secondTarget","__toCommonJS","value","index_exports","module","exports","require"],"sources":["index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from == \"object\" || typeof from == \"function\")\n for (let key of __getOwnPropNames(from))\n !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n return to;\n}, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: !0 }), mod);\nvar index_exports = {};\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"./Popper\"), module.exports);\n//# sourceMappingURL=index.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;IAC5C,IAAIF,IAAI,IAAI,OAAOA,IAAI,IAAI,QAAQ,IAAI,OAAOA,IAAI,IAAI,UAAU,EAC9D,KAAK,IAAIG,GAAG,IAAIV,iBAAiB,CAACO,IAAI,CAAC,EACrC,CAACL,YAAY,CAACS,IAAI,CAACL,EAAE,EAAEI,GAAG,CAAC,IAAIA,GAAG,KAAKF,MAAM,IAAIb,SAAS,CAACW,EAAE,EAAEI,GAAG,EAAE;MAAEE,GAAG,EAAEA,CAAA,KAAML,IAAI,CAACG,GAAG,CAAC;MAAEG,UAAU,EAAE,EAAEJ,IAAI,GAAGX,gBAAgB,CAACS,IAAI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