@sheinx/base 3.9.15-beta.1 → 3.9.15-beta.2
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":"image-event.d.ts","sourceRoot":"","sources":["image-event.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA+BjD,QAAA,MAAM,WAAW,aACL,UAAU,CAAC,UAAU,CAAC,UACxB,KAAK,GAAG,KAAK,EAAE,YACd,MAAM,mBACE,MAAM,
|
|
1
|
+
{"version":3,"file":"image-event.d.ts","sourceRoot":"","sources":["image-event.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA+BjD,QAAA,MAAM,WAAW,aACL,UAAU,CAAC,UAAU,CAAC,UACxB,KAAK,GAAG,KAAK,EAAE,YACd,MAAM,mBACE,MAAM,SAYxB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/cjs/image/image-event.js
CHANGED
|
@@ -36,11 +36,13 @@ var showGallery = function showGallery(jssStyle, images) {
|
|
|
36
36
|
var container = getContainer();
|
|
37
37
|
document.addEventListener('keydown', keyClose);
|
|
38
38
|
container.className = containerClass || '';
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
setTimeout(function () {
|
|
40
|
+
ReactRender( /*#__PURE__*/(0, _jsxRuntime.jsx)(_imageGallery.default, {
|
|
41
|
+
jssStyle: jssStyle,
|
|
42
|
+
onClose: close,
|
|
43
|
+
current: current,
|
|
44
|
+
images: Images
|
|
45
|
+
}), container);
|
|
46
|
+
}, 0);
|
|
45
47
|
};
|
|
46
48
|
var _default = exports.default = showGallery;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-event.d.ts","sourceRoot":"","sources":["image-event.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA+BjD,QAAA,MAAM,WAAW,aACL,UAAU,CAAC,UAAU,CAAC,UACxB,KAAK,GAAG,KAAK,EAAE,YACd,MAAM,mBACE,MAAM,
|
|
1
|
+
{"version":3,"file":"image-event.d.ts","sourceRoot":"","sources":["image-event.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA+BjD,QAAA,MAAM,WAAW,aACL,UAAU,CAAC,UAAU,CAAC,UACxB,KAAK,GAAG,KAAK,EAAE,YACd,MAAM,mBACE,MAAM,SAYxB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/esm/image/image-event.js
CHANGED
|
@@ -29,11 +29,13 @@ var showGallery = function showGallery(jssStyle, images) {
|
|
|
29
29
|
var container = getContainer();
|
|
30
30
|
document.addEventListener('keydown', keyClose);
|
|
31
31
|
container.className = containerClass || '';
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
setTimeout(function () {
|
|
33
|
+
ReactRender( /*#__PURE__*/_jsx(ImageGallery, {
|
|
34
|
+
jssStyle: jssStyle,
|
|
35
|
+
onClose: close,
|
|
36
|
+
current: current,
|
|
37
|
+
images: Images
|
|
38
|
+
}), container);
|
|
39
|
+
}, 0);
|
|
38
40
|
};
|
|
39
41
|
export default showGallery;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheinx/base",
|
|
3
|
-
"version": "3.9.15-beta.
|
|
3
|
+
"version": "3.9.15-beta.2",
|
|
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.9.15-beta.
|
|
13
|
+
"@sheinx/hooks": "3.9.15-beta.2",
|
|
14
14
|
"immer": "^10.0.0",
|
|
15
15
|
"classnames": "^2.0.0",
|
|
16
16
|
"@shined/reactive": "^0.3.3"
|