@tamagui/animate-presence 2.0.0-rc.30 → 2.0.0-rc.32
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/AnimatePresence.native.js +2 -2
- package/dist/cjs/AnimatePresence.native.js.map +1 -1
- package/dist/cjs/LayoutGroupContext.native.js.map +1 -1
- package/dist/cjs/PresenceChild.native.js.map +1 -1
- package/dist/cjs/index.native.js +3 -3
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/types.native.js.map +1 -1
- package/package.json +8 -8
- package/dist/cjs/index.js +0 -21
- package/dist/cjs/index.js.map +0 -6
|
@@ -30,8 +30,8 @@ var import_jsx_runtime = require("react/jsx-runtime"),
|
|
|
30
30
|
import_use_constant = require("@tamagui/use-constant"),
|
|
31
31
|
import_use_force_update = require("@tamagui/use-force-update"),
|
|
32
32
|
import_react2 = require("react"),
|
|
33
|
-
import_LayoutGroupContext = require("./LayoutGroupContext
|
|
34
|
-
import_PresenceChild = require("./PresenceChild
|
|
33
|
+
import_LayoutGroupContext = require("./LayoutGroupContext"),
|
|
34
|
+
import_PresenceChild = require("./PresenceChild");
|
|
35
35
|
function _type_of(obj) {
|
|
36
36
|
"@swc/helpers - typeof";
|
|
37
37
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","AnimatePresence_exports","__export","AnimatePresence","module","exports","import_jsx_runtime","require","import_react","import_use_constant","import_use_force_update","import_react2","import_LayoutGroupContext","import_PresenceChild","_type_of","obj","Symbol","constructor","getChildKey","child","key","ct","type","defaultName","displayName","name","staticConfig","componentName","onlyElements","children","filtered","Children","forEach","isValidElement","push","param","enterVariant","exitVariant","enterExitVariant","initial","onExitComplete","exitBeforeEnter","mode","presenceAffectsLayout","custom","passThrough","effectiveMode","presentChildren","useMemo","presentKeys","map","isInitialRender","useRef","frozenCustomRef","Map","pendingPresentChildren","exitComplete","useConstant","diffedChildren","setDiffedChildren","useState","renderedChildren","setRenderedChildren","_useContext_forceRender","forceRender","useContext","LayoutGroupContext","useForceUpdate","jsx","Fragment","useInsertionEffect","current","i2","length","key2","includes","delete","get","set","join","nextChildren","i","splice","has","exitingChildren","filter","child2","isPresent","onExit","isEveryExitComplete","isExitComplete","_frozenCustomRef_current_get","PresenceChild"],"sources":["../../src/AnimatePresence.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,uBAAA;AAAAC,QAAA,CAAAD,uBAAA;EAAAE,eAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAAmC,CAAAK,uBACnC;AAUA,IAAAK,kBAAqB,GAAAC,OAEjB,oBACO;EAAAC,YAAA,GAAAD,OAAA;EAAAE,mBAAA,GAAAF,OAAA;EAAAG,uBAAA,GAAAH,OAAA;EAAAI,aAAA,GAAAJ,OAAA;EAAAK,yBAAA,GAAAL,OAAA;EAAAM,oBAAA,GAAAN,OAAA;AAEL,SAAMO,QAAKA,CAAAC,GAAM;EAEjB,uBAAiB;;EAKnB,OAAGA,GAAA,WAAAC,MAAA,UAAAD,GAAA,CAAAE,WAAA,KAAAD,MAAA,qBAAAD,GAAA;AAIP;AACE,IAAAG,WAAM,YAAAA,CAAiCC,KAAA;EAEvC,OAAAA,KAAA,CAAAC,GAAA,gBAAS;IACP,IAAIC,EAAA,GAAAF,KAAA,CAAAG,IAAA;MAAAC,WAAA,GAAeF,EAAA,CAAAG,WAAQ,IAASH,EAAA,CAAAI,IAAK,IAAK;IAC/C,OACMJ,EAAA,YAAAA,EAAA,uBAAAP,QAAA,CAAAO,EAAA,qCAAAA,EAAA,IAAAA,EAAA,CAAAK,YAAA,CAAAC,aAAA,IAAAJ,WAAA;EACT;AAEO;AAEF,SACHK,aAAAC,QAA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","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","AnimatePresence_exports","AnimatePresence","module","exports","import_jsx_runtime","require","import_react","import_use_constant","import_use_force_update","import_react2","import_LayoutGroupContext","import_PresenceChild","_type_of","obj","Symbol","constructor","getChildKey","child","ct","type","defaultName","displayName","staticConfig","componentName","onlyElements","children","filtered","Children","forEach","isValidElement","push","param","enterVariant","exitVariant","enterExitVariant","initial","onExitComplete","exitBeforeEnter","mode","presenceAffectsLayout","custom","passThrough","effectiveMode","presentChildren","useMemo","presentKeys","map","isInitialRender","useRef","frozenCustomRef","Map","pendingPresentChildren","exitComplete","useConstant","diffedChildren","setDiffedChildren","useState","renderedChildren","setRenderedChildren","_useContext_forceRender","forceRender","useContext","LayoutGroupContext","useForceUpdate","jsx","Fragment","useInsertionEffect","current","i2","length","key2","includes","delete","set","join","nextChildren","i","splice","has","exitingChildren","filter","child2","isPresent","onExit","isEveryExitComplete","isExitComplete","_frozenCustomRef_current_get","PresenceChild"],"sources":["AnimatePresence.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __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 __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: !0 }), mod);\nvar AnimatePresence_exports = {};\n__export(AnimatePresence_exports, {\n AnimatePresence: () => AnimatePresence\n});\nmodule.exports = __toCommonJS(AnimatePresence_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\"), import_react = require(\"react\"), import_use_constant = require(\"@tamagui/use-constant\"), import_use_force_update = require(\"@tamagui/use-force-update\"), import_react2 = require(\"react\"), import_LayoutGroupContext = require(\"./LayoutGroupContext\"), import_PresenceChild = require(\"./PresenceChild\");\nfunction _type_of(obj) {\n \"@swc/helpers - typeof\";\n return obj && typeof Symbol < \"u\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n}\nvar getChildKey = function(child) {\n return child.key || (function() {\n var ct = child.type, defaultName = ct.displayName || ct.name || \"\";\n return ct && (typeof ct > \"u\" ? \"undefined\" : _type_of(ct)) === \"object\" && \"staticConfig\" in ct && ct.staticConfig.componentName || defaultName;\n })();\n};\nfunction onlyElements(children) {\n var filtered = [];\n return import_react2.Children.forEach(children, function(child) {\n /* @__PURE__ */ (0, import_react2.isValidElement)(child) && filtered.push(child);\n }), filtered;\n}\nvar AnimatePresence = function(param) {\n var { children, enterVariant, exitVariant, enterExitVariant, initial = !0, onExitComplete, exitBeforeEnter, mode, presenceAffectsLayout = !0, custom, passThrough } = param, effectiveMode = mode ?? (exitBeforeEnter ? \"wait\" : \"sync\"), presentChildren = (0, import_react2.useMemo)(function() {\n return onlyElements(children);\n }, [\n children\n ]), presentKeys = presentChildren.map(getChildKey), isInitialRender = (0, import_react2.useRef)(!0), frozenCustomRef = (0, import_react2.useRef)(/* @__PURE__ */ new Map()), pendingPresentChildren = (0, import_react2.useRef)(presentChildren), exitComplete = (0, import_use_constant.useConstant)(function() {\n return /* @__PURE__ */ new Map();\n }), [diffedChildren, setDiffedChildren] = (0, import_react2.useState)(presentChildren), [renderedChildren, setRenderedChildren] = (0, import_react2.useState)(presentChildren), _useContext_forceRender, forceRender = (_useContext_forceRender = (0, import_react2.useContext)(import_LayoutGroupContext.LayoutGroupContext).forceRender) !== null && _useContext_forceRender !== void 0 ? _useContext_forceRender : (0, import_use_force_update.useForceUpdate)();\n if (passThrough)\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {\n children\n });\n if ((0, import_react.useInsertionEffect)(function() {\n isInitialRender.current = !1, pendingPresentChildren.current = presentChildren;\n for (var i2 = 0; i2 < renderedChildren.length; i2++) {\n var key2 = getChildKey(renderedChildren[i2]);\n presentKeys.includes(key2) ? (exitComplete.delete(key2), frozenCustomRef.current.delete(key2)) : exitComplete.get(key2) !== !0 && exitComplete.set(key2, !1);\n }\n }, [\n renderedChildren,\n presentKeys.length,\n presentKeys.join(\"-\")\n ]), presentChildren !== diffedChildren) {\n for (var nextChildren = [\n ...presentChildren\n ], i = 0; i < renderedChildren.length; i++) {\n var child = renderedChildren[i], key = getChildKey(child);\n presentKeys.includes(key) || (nextChildren.splice(i, 0, child), frozenCustomRef.current.has(key) || frozenCustomRef.current.set(key, custom));\n }\n var exitingChildren = renderedChildren.filter(function(child2) {\n return !presentKeys.includes(getChildKey(child2));\n });\n return effectiveMode === \"wait\" && exitingChildren.length && (nextChildren = exitingChildren), setRenderedChildren(onlyElements(nextChildren)), setDiffedChildren(presentChildren), null;\n }\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {\n children: renderedChildren.map(function(child2) {\n var key2 = getChildKey(child2), isPresent = presentChildren === renderedChildren || presentKeys.includes(key2), onExit = function() {\n if (exitComplete.has(key2))\n exitComplete.set(key2, !0);\n else\n return;\n var isEveryExitComplete = !0;\n exitComplete.forEach(function(isExitComplete) {\n isExitComplete || (isEveryExitComplete = !1);\n }), isEveryExitComplete && (forceRender?.(), setRenderedChildren(pendingPresentChildren.current), onExitComplete?.());\n }, _frozenCustomRef_current_get;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_PresenceChild.PresenceChild, {\n isPresent,\n initial: !isInitialRender.current || initial ? void 0 : !1,\n custom: isPresent ? custom : (_frozenCustomRef_current_get = frozenCustomRef.current.get(key2)) !== null && _frozenCustomRef_current_get !== void 0 ? _frozenCustomRef_current_get : custom,\n presenceAffectsLayout,\n enterExitVariant,\n enterVariant,\n exitVariant,\n onExitComplete: isPresent ? void 0 : onExit,\n children: child2\n }, key2);\n })\n });\n};\nAnimatePresence.displayName = \"AnimatePresence\";\n//# sourceMappingURL=AnimatePresence.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,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;IAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;MAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;MAAEE,UAAU,EAAE,CAAC;IAAE,CAAC,CAAC;EAC/D,CAAC;EAAEC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;IAC3C,IAAIF,IAAI,IAAI,OAAOA,IAAI,IAAI,QAAQ,IAAI,OAAOA,IAAI,IAAI,UAAU,EAC9D,KAAK,IAAIG,GAAG,IAAIhB,iBAAiB,CAACa,IAAI,CAAC,EACrC,CAACX,YAAY,CAACe,IAAI,CAACL,EAAE,EAAEI,GAAG,CAAC,IAAIA,GAAG,KAAKF,MAAM,IAAInB,SAAS,CAACiB,EAAE,EAAEI,GAAG,EAAE;MAAEP,GAAG,EAAEA,CAAA,KAAMI,IAAI,CAACG,GAAG,CAAC;MAAEN,UAAU,EAAE,EAAEK,IAAI,GAAGjB,gBAAgB,CAACe,IAAI,EAAEG,GAAG,CAAC,CAAC,IAAID,IAAI,CAACL;IAAW,CAAC,CAAC;IACvK,OAAOE,EA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AW;QACXG,cAAc,EAAE8C,SAAS,GAAG,KAAK,CAAC,GAAGC,MAAM;QAC3C1D,QAAQ,EAAEwD;MACZ,CAAC,EAAEX,IAAI,CAAC;IACV,CAAC;EACH,CAAC,CAAC;AACJ,CAAC;AACDrE,eAAe,CAACoB,WAAW,GAAG,iBAAiB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
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","LayoutGroupContext_exports","LayoutGroupContext","module","exports","import_react","require","default","createContext"],"sources":["LayoutGroupContext.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 LayoutGroupContext_exports = {};\n__export(LayoutGroupContext_exports, {\n LayoutGroupContext: () => LayoutGroupContext\n});\nmodule.exports = __toCommonJS(LayoutGroupContext_exports);\nvar import_react = __toESM(require(\"react\"), 1), LayoutGroupContext = /* @__PURE__ */ import_react.default.createContext({});\n//# sourceMappingURL=LayoutGroupContext.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;MAAEE,UAAU,EAAE,CAAC;IAAE,CAAC,CAAC;EAC/D,CAAC;EAAEC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;IAC3C,IAAIF,IAAI,IAAI,OAAOA,IAAI,IAAI,QAAQ,IAAI,OAAOA,IAAI,IAAI,UAAU,EAC9D,KAAK,IAAIG,GAAG,IAAIlB,iBAAiB,CAACe,IAAI,CAAC,EACrC,CAACX,YAAY,CAACe,IAAI,CAACL,EAAE,EAAEI,GAAG,CAAC,IAAIA,GAAG,KAAKF,MAAM,IAAIpB,SAAS,CAACkB,EAAE,EAAEI,GAAG,EAAE;MAAEP,GAAG,EAAEA,CAAA,KAAMI,IAAI,CAACG,GAAG,CAAC;MAAEN,UAAU,EAAE,EAAEK,IAAI,GAAGnB,gBAAgB,CAACiB,IAAI,EAAEG,GAAG,CAAC,CAAC,IAAID,IAAI,CAACL;IAAW,CAAC,CAAC;IACvK,OAAOE,EAAE;EACX,CAAC;AACD,IAAIM,OAAO,GAAGA,CAACC,GAAG,EAAEC,UAAU,EAAEd,MAAM,MAAMA,MAAM,GAAGa,GAAG,IAAI,IAAI,GAAG5B,QAAQ,CAACS,YAAY,CAACmB,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,EAAER,WAAW;EAC9G;EACA;EACA;EACA;EACAS,UAAU,IAAI,CAACD,GAAG,IAAI,CAACA,GAAG,CAACE,UAAU,GAAG3B,SAAS,CAACY,MAAM,EAAE,SAAS,EAAE;IAAEgB,KAAK,EAAEH,GAAG;IAAET,UAAU,EAAE,CAAC;EAAE,CAAC,CAAC,GAAGJ,MAAM,EAC7Ga,GACF,CAAC,CAAC;EAAEI,YAAY,GAAIJ,GAAG,IAAKR,WAAW,CAACjB,SAAS,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE;IAAE4B,KAAK,EAAE,CAAC;EAAE,CAAC,CAAC,EAAEH,GAAG,CAAC;AACxF,IAAIK,0BAA0B,GAAG,CAAC,CAAC;AACnCnB,QAAQ,CAACmB,0BAA0B,EAAE;EACnCC,kBAAkB,EAAEA,CAAA,KAAMA;AAC5B,CAAC,CAAC;AACFC,MAAM,CAACC,OAAO,GAAGJ,YAAY,CAACC,0BAA0B,CAAC;AACzD,IAAII,YAAY,GAAGV,OAAO,CAACW,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;EAAEJ,kBAAkB,GAAG,eAAgBG,YAAY,CAACE,OAAO,CAACC,aAAa,CAAC,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
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","PresenceChild_exports","PresenceChild","module","exports","import_jsx_runtime","require","import_use_constant","import_use_presence","React","import_react","memo","param","children","initial","isPresent","onExitComplete","exitVariant","enterVariant","enterExitVariant","presenceAffectsLayout","custom","presenceChildren","useConstant","newChildrenMap","id","useId","context","useMemo","set","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_iterator","values","Symbol","iterator","_step","next","done","isComplete","err","return","register","delete","forEach","_","useEffect","size","jsx","PresenceContext","Provider","Map"],"sources":["PresenceChild.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 PresenceChild_exports = {};\n__export(PresenceChild_exports, {\n PresenceChild: () => PresenceChild\n});\nmodule.exports = __toCommonJS(PresenceChild_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\"), import_use_constant = require(\"@tamagui/use-constant\"), import_use_presence = require(\"@tamagui/use-presence\"), React = __toESM(require(\"react\"), 1), import_react = require(\"react\"), PresenceChild = /* @__PURE__ */ React.memo(function(param) {\n var { children, initial, isPresent, onExitComplete, exitVariant, enterVariant, enterExitVariant, presenceAffectsLayout, custom } = param, presenceChildren = (0, import_use_constant.useConstant)(newChildrenMap), id = (0, import_react.useId)() || \"\", context = React.useMemo(\n function() {\n return {\n id,\n initial,\n isPresent,\n custom,\n exitVariant,\n enterVariant,\n enterExitVariant,\n onExitComplete: function() {\n presenceChildren.set(id, !0);\n var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;\n try {\n for (var _iterator = presenceChildren.values()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {\n var isComplete = _step.value;\n if (!isComplete)\n return;\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 onExitComplete?.();\n },\n register: function() {\n return presenceChildren.set(id, !1), function() {\n return presenceChildren.delete(id);\n };\n }\n };\n },\n /**\n * If the presence of a child affects the layout of the components around it,\n * we want to make a new context value to ensure they get re-rendered\n * so they can detect that layout change.\n */\n // @ts-expect-error its ok\n presenceAffectsLayout ? void 0 : [\n isPresent,\n exitVariant,\n enterVariant\n ]\n );\n return React.useMemo(function() {\n presenceChildren.forEach(function(_, key) {\n return presenceChildren.set(key, !1);\n });\n }, [\n isPresent\n ]), React.useEffect(function() {\n !isPresent && !presenceChildren.size && onExitComplete?.();\n }, [\n isPresent\n ]), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_use_presence.PresenceContext.Provider, {\n value: context,\n children\n });\n});\nfunction newChildrenMap() {\n return /* @__PURE__ */ new Map();\n}\n//# sourceMappingURL=PresenceChild.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;MAAEE,UAAU,EAAE,CAAC;IAAE,CAAC,CAAC;EAC/D,CAAC;EAAEC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;IAC3C,IAAIF,IAAI,IAAI,OAAOA,IAAI,IAAI,QAAQ,IAAI,OAAOA,IAAI,IAAI,UAAU,EAC9D,KAAK,IAAIG,GAAG,IAAIlB,iBAAiB,CAACe,IAAI,CAAC,EACrC,CAACX,YAAY,CAACe,IAAI,CAACL,EAAE,EAAEI,GAAG,CAAC,IAAIA,GAAG,KAAKF,MAAM,IAAIpB,SAAS,CAACkB,EAAE,EAAEI,GAAG,EAAE;MAAEP,GAAG,EAAEA,CAAA,KAAMI,IAAI,CAACG,GAAG,CAAC;MAAEN,UAAU,EAAE,EAAEK,IAAI,GAAGnB,gBAAgB,CAACiB,IAAI,EAAEG,GAAG,CAAC,CAAC,IAAID,IAAI,CAACL;IAAW,CAAC,CAAC;IACvK,OAAOE,EAAE;EACX,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CAAC;UACpB,CAAC;UACD2B,QAAQ,EAAE,SAAAA,CAAA,EAAW;YACnB,OAAOrB,gBAAgB,CAACO,GAAG,CAACJ,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,YAAW;cAC9C,OAAOH,gBAAgB,CAACsB,MAAM,CAACnB,EAAE,CAAC;YACpC,CAAC;UACH;QACF,CAAC;MACH,CAAC;MACD;AACJ;AACA;AACA;AACA;MACI;MACAL,qBAAqB,GAAG,KAAK,CAAC,GAAG,CAC/BL,SAAS,EACTE,WAAW,EACXC,YAAY,CAEhB,CAAC;IACD,OAAOT,KAAK,CAACmB,OAAO,CAAC,YAAW;MAC9BN,gBAAgB,CAACuB,OAAO,CAAC,UAASC,CAAC,EAAErD,GAAG,EAAE;QACxC,OAAO6B,gBAAgB,CAACO,GAAG,CAACpC,GAAG,EAAE,CAAC,CAAC,CAAC;MACtC,CAAC,CAAC;IACJ,CAAC,EAAE,CACDsB,SAAS,CACV,CAAC,EAAEN,KAAK,CAACsC,SAAS,CAAC,YAAW;MAC7B,CAAChC,SAAS,IAAI,CAACO,gBAAgB,CAAC0B,IAAI,IAAIhC,cAAc,GAAG,CAAC;IAC5D,CAAC,EAAE,CACDD,SAAS,CACV,CAAC,EAAE,eAAgB,CAAC,CAAC,EAAEV,kBAAkB,CAAC4C,GAAG,EAAEzC,mBAAmB,CAAC0C,eAAe,CAACC,QAAQ,EAAE;MAC5FpD,KAAK,EAAE4B,OAAO;MACdd;IACF,CAAC,CAAC;EACJ,CAAC,CAAC;AACF,SAASW,cAAcA,CAAA,EAAG;EACxB,OAAO,eAAgB,IAAI4B,GAAG,CAAC,CAAC;AAClC","ignoreList":[]}
|
package/dist/cjs/index.native.js
CHANGED
|
@@ -17,8 +17,8 @@ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
|
17
17
|
}), mod);
|
|
18
18
|
var index_exports = {};
|
|
19
19
|
module.exports = __toCommonJS(index_exports);
|
|
20
|
-
__reExport(index_exports, require("./AnimatePresence
|
|
20
|
+
__reExport(index_exports, require("./AnimatePresence"), module.exports);
|
|
21
21
|
__reExport(index_exports, require("@tamagui/use-presence"), module.exports);
|
|
22
|
-
__reExport(index_exports, require("./types
|
|
23
|
-
__reExport(index_exports, require("./PresenceChild
|
|
22
|
+
__reExport(index_exports, require("./types"), module.exports);
|
|
23
|
+
__reExport(index_exports, require("./PresenceChild"), module.exports);
|
|
24
24
|
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
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(\"./AnimatePresence\"), module.exports);\n__reExport(index_exports, require(\"@tamagui/use-presence\"), module.exports);\n__reExport(index_exports, require(\"./types\"), module.exports);\n__reExport(index_exports, require(\"./PresenceChild\"), module.exports);\n//# sourceMappingURL=index.js.map\n"],"mapp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C;AAC5CN,UAAU,CAACM,aAAa,EAAEG,OAAO,CAAC,mBAAmB,CAAC,EAAEF,MAAM,CAACC,OAAO,CAAC;AACvER,UAAU,CAACM,aAAa,EAAEG,OAAO,CAAC,uBAAuB,CAAC,EAAEF,MAAM,CAACC,OAAO,CAAC;AAC3ER,UAAU,CAACM,aAAa,EAAEG,OAAO,CAAC,SAAS,CAAC,EAAEF,MAAM,CAACC,OAAO,CAAC;AAC7DR,UAAU,CAACM,aAAa,EAAEG,OAAO,CAAC,iBAAiB,CAAC,EAAEF,MAAM,CAACC,OAAO,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__copyProps","to","from","except","desc","key","call","get","enumerable","__toCommonJS","mod","value","types_exports","module","exports"],"sources":["types.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};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: !0 }), mod);\nvar types_exports = {};\nmodule.exports = __toCommonJS(types_exports);\n//# sourceMappingURL=types.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;EAC5C,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;IAAEE,GAAG,EAAEA,CAAA,KAAML,IAAI,CAACG,GAAG,CAAC;IAAEG,UAAU,EAAE,EAAEJ,IAAI,GAAGX,gBAAgB,CAACS,IAAI,EAAEG,GAAG,CAAC,CAAC,IAAID,IAAI,CAACI;EAAW,CAAC,CAAC;EACvK,OAAOP,EAAE;AACX,CAAC;AACD,IAAIQ,YAAY,GAAIC,GAAG,IAAKV,WAAW,CAACV,SAAS,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE;EAAEqB,KAAK,EAAE,CAAC;AAAE,CAAC,CAAC,EAAED,GAAG,CAAC;AACxF,IAAIE,aAAa,GAAG,CAAC,CAAC;AACtBC,MAAM,CAACC,OAAO,GAAGL,YAAY,CAACG,aAAa,CAAC","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/animate-presence",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.32",
|
|
4
4
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
"clean:build": "tamagui-build clean:build"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@tamagui/constants": "2.0.0-rc.
|
|
42
|
-
"@tamagui/helpers": "2.0.0-rc.
|
|
43
|
-
"@tamagui/use-constant": "2.0.0-rc.
|
|
44
|
-
"@tamagui/use-force-update": "2.0.0-rc.
|
|
45
|
-
"@tamagui/use-presence": "2.0.0-rc.
|
|
46
|
-
"@tamagui/web": "2.0.0-rc.
|
|
41
|
+
"@tamagui/constants": "2.0.0-rc.32",
|
|
42
|
+
"@tamagui/helpers": "2.0.0-rc.32",
|
|
43
|
+
"@tamagui/use-constant": "2.0.0-rc.32",
|
|
44
|
+
"@tamagui/use-force-update": "2.0.0-rc.32",
|
|
45
|
+
"@tamagui/use-presence": "2.0.0-rc.32",
|
|
46
|
+
"@tamagui/web": "2.0.0-rc.32"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@tamagui/build": "2.0.0-rc.
|
|
49
|
+
"@tamagui/build": "2.0.0-rc.32",
|
|
50
50
|
"react": ">=19"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
package/dist/cjs/index.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __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("./AnimatePresence.cjs"), module.exports);
|
|
19
|
-
__reExport(index_exports, require("@tamagui/use-presence"), module.exports);
|
|
20
|
-
__reExport(index_exports, require("./types.cjs"), module.exports);
|
|
21
|
-
__reExport(index_exports, require("./PresenceChild.cjs"), module.exports);
|