@varlet/ui 3.0.6 → 3.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/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/ripple/index.mjs +2 -2
- package/es/snackbar/style/index.mjs +1 -1
- package/es/varlet.esm.js +811 -811
- package/highlight/web-types.en-US.json +1 -1
- package/highlight/web-types.zh-CN.json +1 -1
- package/lib/varlet.cjs.js +2 -2
- package/package.json +7 -7
- package/umd/varlet.js +5 -5
package/es/index.bundle.mjs
CHANGED
|
@@ -262,7 +262,7 @@ import './tooltip/style/index.mjs'
|
|
|
262
262
|
import './uploader/style/index.mjs'
|
|
263
263
|
import './watermark/style/index.mjs'
|
|
264
264
|
|
|
265
|
-
const version = '3.0.
|
|
265
|
+
const version = '3.0.7'
|
|
266
266
|
|
|
267
267
|
function install(app) {
|
|
268
268
|
ActionSheet.install && app.use(ActionSheet)
|
package/es/index.mjs
CHANGED
|
@@ -174,7 +174,7 @@ export * from './tooltip/index.mjs'
|
|
|
174
174
|
export * from './uploader/index.mjs'
|
|
175
175
|
export * from './watermark/index.mjs'
|
|
176
176
|
|
|
177
|
-
const version = '3.0.
|
|
177
|
+
const version = '3.0.7'
|
|
178
178
|
|
|
179
179
|
function install(app) {
|
|
180
180
|
ActionSheet.install && app.use(ActionSheet)
|
package/es/ripple/index.mjs
CHANGED
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import context from "../context/index.mjs";
|
|
21
|
-
import { supportTouch, getStyle, getRect
|
|
21
|
+
import { supportTouch, getStyle, getRect } from "@varlet/shared";
|
|
22
22
|
import { createNamespace } from "../utils/components.mjs";
|
|
23
23
|
|
|
24
24
|
|
|
@@ -33,7 +33,7 @@ function setStyles(element) {
|
|
|
33
33
|
zIndex === "auto" && (element.style.zIndex = "1");
|
|
34
34
|
}
|
|
35
35
|
function isTouchEvent(event) {
|
|
36
|
-
return
|
|
36
|
+
return "touches" in event;
|
|
37
37
|
}
|
|
38
38
|
function computeRippleStyles(element, event) {
|
|
39
39
|
const { top, left } = getRect(element);
|