@hanzogui/animate-presence 2.0.4 → 2.0.7
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.cjs +2 -2
- package/dist/cjs/AnimatePresence.native.js +2 -2
- package/dist/cjs/PresenceChild.cjs +2 -2
- package/dist/cjs/PresenceChild.native.js +2 -2
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.native.js +1 -1
- package/dist/esm/AnimatePresence.mjs +2 -2
- package/dist/esm/AnimatePresence.native.js +2 -2
- package/dist/esm/PresenceChild.mjs +2 -2
- package/dist/esm/PresenceChild.native.js +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/index.native.js +1 -1
- package/package.json +1 -1
- package/src/AnimatePresence.tsx +2 -2
- package/src/PresenceChild.tsx +3 -3
- package/src/index.ts +1 -1
|
@@ -24,8 +24,8 @@ __export(AnimatePresence_exports, {
|
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(AnimatePresence_exports);
|
|
26
26
|
var import_react = require("react"),
|
|
27
|
-
import_gui_use_constant = require("@
|
|
28
|
-
import_gui_use_force_update = require("@
|
|
27
|
+
import_gui_use_constant = require("@hanzogui/use-constant"),
|
|
28
|
+
import_gui_use_force_update = require("@hanzogui/use-force-update"),
|
|
29
29
|
import_react2 = require("react"),
|
|
30
30
|
import_LayoutGroupContext = require("./LayoutGroupContext.cjs"),
|
|
31
31
|
import_PresenceChild = require("./PresenceChild.cjs"),
|
|
@@ -27,8 +27,8 @@ __export(AnimatePresence_exports, {
|
|
|
27
27
|
module.exports = __toCommonJS(AnimatePresence_exports);
|
|
28
28
|
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
29
29
|
import_react = require("react"),
|
|
30
|
-
import_gui_use_constant = require("@
|
|
31
|
-
import_gui_use_force_update = require("@
|
|
30
|
+
import_gui_use_constant = require("@hanzogui/use-constant"),
|
|
31
|
+
import_gui_use_force_update = require("@hanzogui/use-force-update"),
|
|
32
32
|
import_react2 = require("react"),
|
|
33
33
|
import_LayoutGroupContext = require("./LayoutGroupContext.native.js"),
|
|
34
34
|
import_PresenceChild = require("./PresenceChild.native.js");
|
|
@@ -34,8 +34,8 @@ __export(PresenceChild_exports, {
|
|
|
34
34
|
PresenceChild: () => PresenceChild
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(PresenceChild_exports);
|
|
37
|
-
var import_gui_use_constant = require("@
|
|
38
|
-
import_gui_use_presence = require("@
|
|
37
|
+
var import_gui_use_constant = require("@hanzogui/use-constant"),
|
|
38
|
+
import_gui_use_presence = require("@hanzogui/use-presence"),
|
|
39
39
|
React = __toESM(require("react"), 1),
|
|
40
40
|
import_react = require("react"),
|
|
41
41
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -37,8 +37,8 @@ __export(PresenceChild_exports, {
|
|
|
37
37
|
});
|
|
38
38
|
module.exports = __toCommonJS(PresenceChild_exports);
|
|
39
39
|
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
40
|
-
import_gui_use_constant = require("@
|
|
41
|
-
import_gui_use_presence = require("@
|
|
40
|
+
import_gui_use_constant = require("@hanzogui/use-constant"),
|
|
41
|
+
import_gui_use_presence = require("@hanzogui/use-presence"),
|
|
42
42
|
React = __toESM(require("react"), 1),
|
|
43
43
|
import_react = require("react"),
|
|
44
44
|
PresenceChild = /* @__PURE__ */React.memo(function (param) {
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -16,6 +16,6 @@ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
|
16
16
|
var index_exports = {};
|
|
17
17
|
module.exports = __toCommonJS(index_exports);
|
|
18
18
|
__reExport(index_exports, require("./AnimatePresence.cjs"), module.exports);
|
|
19
|
-
__reExport(index_exports, require("@
|
|
19
|
+
__reExport(index_exports, require("@hanzogui/use-presence"), module.exports);
|
|
20
20
|
__reExport(index_exports, require("./types.cjs"), module.exports);
|
|
21
21
|
__reExport(index_exports, require("./PresenceChild.cjs"), module.exports);
|
package/dist/cjs/index.native.js
CHANGED
|
@@ -18,7 +18,7 @@ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
|
18
18
|
var index_exports = {};
|
|
19
19
|
module.exports = __toCommonJS(index_exports);
|
|
20
20
|
__reExport(index_exports, require("./AnimatePresence.native.js"), module.exports);
|
|
21
|
-
__reExport(index_exports, require("@
|
|
21
|
+
__reExport(index_exports, require("@hanzogui/use-presence"), module.exports);
|
|
22
22
|
__reExport(index_exports, require("./types.native.js"), module.exports);
|
|
23
23
|
__reExport(index_exports, require("./PresenceChild.native.js"), module.exports);
|
|
24
24
|
//# sourceMappingURL=index.native.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useInsertionEffect } from "react";
|
|
2
|
-
import { useConstant } from "@
|
|
3
|
-
import { useForceUpdate } from "@
|
|
2
|
+
import { useConstant } from "@hanzogui/use-constant";
|
|
3
|
+
import { useForceUpdate } from "@hanzogui/use-force-update";
|
|
4
4
|
import { Children, isValidElement, useContext, useMemo, useRef, useState } from "react";
|
|
5
5
|
import { LayoutGroupContext } from "./LayoutGroupContext.mjs";
|
|
6
6
|
import { PresenceChild } from "./PresenceChild.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useInsertionEffect } from "react";
|
|
3
|
-
import { useConstant } from "@
|
|
4
|
-
import { useForceUpdate } from "@
|
|
3
|
+
import { useConstant } from "@hanzogui/use-constant";
|
|
4
|
+
import { useForceUpdate } from "@hanzogui/use-force-update";
|
|
5
5
|
import { Children, isValidElement, useContext, useMemo, useRef, useState } from "react";
|
|
6
6
|
import { LayoutGroupContext } from "./LayoutGroupContext.native.js";
|
|
7
7
|
import { PresenceChild } from "./PresenceChild.native.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useConstant } from "@
|
|
2
|
-
import { PresenceContext } from "@
|
|
1
|
+
import { useConstant } from "@hanzogui/use-constant";
|
|
2
|
+
import { PresenceContext } from "@hanzogui/use-presence";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { useId } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useConstant } from "@
|
|
3
|
-
import { PresenceContext } from "@
|
|
2
|
+
import { useConstant } from "@hanzogui/use-constant";
|
|
3
|
+
import { PresenceContext } from "@hanzogui/use-presence";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { useId } from "react";
|
|
6
6
|
var PresenceChild = /* @__PURE__ */React.memo(function (param) {
|
package/dist/esm/index.js
CHANGED
package/dist/esm/index.mjs
CHANGED
package/dist/esm/index.native.js
CHANGED
package/package.json
CHANGED
package/src/AnimatePresence.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useInsertionEffect } from 'react'
|
|
2
|
-
import { useConstant } from '@
|
|
3
|
-
import { useForceUpdate } from '@
|
|
2
|
+
import { useConstant } from '@hanzogui/use-constant'
|
|
3
|
+
import { useForceUpdate } from '@hanzogui/use-force-update'
|
|
4
4
|
import type { FunctionComponent, PropsWithChildren, ReactElement, ReactNode } from 'react'
|
|
5
5
|
import { Children, isValidElement, useContext, useMemo, useRef, useState } from 'react'
|
|
6
6
|
import { LayoutGroupContext } from './LayoutGroupContext'
|
package/src/PresenceChild.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useConstant } from '@
|
|
2
|
-
import { PresenceContext } from '@
|
|
3
|
-
import type { PresenceContextProps } from '@
|
|
1
|
+
import { useConstant } from '@hanzogui/use-constant'
|
|
2
|
+
import { PresenceContext } from '@hanzogui/use-presence'
|
|
3
|
+
import type { PresenceContextProps } from '@hanzogui/web'
|
|
4
4
|
import * as React from 'react'
|
|
5
5
|
import { useId } from 'react'
|
|
6
6
|
|
package/src/index.ts
CHANGED