@sheinx/base 3.8.0-beta.37 → 3.8.0-beta.38
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal-content.d.ts","sourceRoot":"","sources":["modal-content.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAoB9D,QAAA,MAAM,KAAK,UAAW,iBAAiB,
|
|
1
|
+
{"version":3,"file":"modal-content.d.ts","sourceRoot":"","sources":["modal-content.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAoB9D,QAAA,MAAM,KAAK,UAAW,iBAAiB,mDAiXtC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -225,7 +225,10 @@ var Modal = function Modal(props) {
|
|
|
225
225
|
}, []);
|
|
226
226
|
(0, _react.useEffect)(function () {
|
|
227
227
|
if (props.setInnerClose) {
|
|
228
|
-
props.setInnerClose(
|
|
228
|
+
props.setInnerClose(function () {
|
|
229
|
+
setVisible(false);
|
|
230
|
+
setAnimation(true);
|
|
231
|
+
});
|
|
229
232
|
}
|
|
230
233
|
}, [props.setInnerClose]);
|
|
231
234
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal-content.d.ts","sourceRoot":"","sources":["modal-content.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAoB9D,QAAA,MAAM,KAAK,UAAW,iBAAiB,
|
|
1
|
+
{"version":3,"file":"modal-content.d.ts","sourceRoot":"","sources":["modal-content.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAoB9D,QAAA,MAAM,KAAK,UAAW,iBAAiB,mDAiXtC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -219,7 +219,10 @@ var Modal = function Modal(props) {
|
|
|
219
219
|
}, []);
|
|
220
220
|
useEffect(function () {
|
|
221
221
|
if (props.setInnerClose) {
|
|
222
|
-
props.setInnerClose(
|
|
222
|
+
props.setInnerClose(function () {
|
|
223
|
+
setVisible(false);
|
|
224
|
+
setAnimation(true);
|
|
225
|
+
});
|
|
223
226
|
}
|
|
224
227
|
}, [props.setInnerClose]);
|
|
225
228
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheinx/base",
|
|
3
|
-
"version": "3.8.0-beta.
|
|
3
|
+
"version": "3.8.0-beta.38",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"module": "./esm/index.js",
|
|
11
11
|
"typings": "./cjs/index.d.ts",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@sheinx/hooks": "3.8.0-beta.
|
|
13
|
+
"@sheinx/hooks": "3.8.0-beta.38",
|
|
14
14
|
"immer": "^10.0.0",
|
|
15
15
|
"classnames": "^2.0.0",
|
|
16
16
|
"@shined/reactive": "^0.1.3-alpha.0"
|