@varlet/ui 3.0.5 → 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/lib/varlet.cjs.js CHANGED
@@ -812,7 +812,7 @@ function setStyles(element) {
812
812
  zIndex === "auto" && (element.style.zIndex = "1");
813
813
  }
814
814
  function isTouchEvent(event) {
815
- return hasOwn(event, "touches");
815
+ return "touches" in event;
816
816
  }
817
817
  function computeRippleStyles(element, event) {
818
818
  const { top: top2, left: left2 } = getRect(element);
@@ -27754,7 +27754,7 @@ withInstall(stdin_default$1);
27754
27754
  withPropsDefaultsSetter(stdin_default$1, props);
27755
27755
  const _WatermarkComponent = stdin_default$1;
27756
27756
  var stdin_default = stdin_default$1;
27757
- const version = "3.0.5";
27757
+ const version = "3.0.7";
27758
27758
  function install(app) {
27759
27759
  stdin_default$5H.install && app.use(stdin_default$5H);
27760
27760
  stdin_default$5F.install && app.use(stdin_default$5F);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/ui",
3
- "version": "3.0.5",
3
+ "version": "3.0.7",
4
4
  "description": "A material like components library",
5
5
  "main": "lib/varlet.cjs.js",
6
6
  "module": "es/index.mjs",
@@ -48,9 +48,9 @@
48
48
  "@popperjs/core": "^2.11.6",
49
49
  "dayjs": "^1.10.4",
50
50
  "decimal.js": "^10.2.1",
51
- "@varlet/icons": "3.0.5",
52
- "@varlet/shared": "3.0.5",
53
- "@varlet/use": "3.0.5"
51
+ "@varlet/icons": "3.0.7",
52
+ "@varlet/use": "3.0.7",
53
+ "@varlet/shared": "3.0.7"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@vue/runtime-core": "3.4.15",
@@ -66,9 +66,9 @@
66
66
  "typescript": "^5.1.5",
67
67
  "vue": "3.4.15",
68
68
  "vue-router": "4.2.0",
69
- "@varlet/ui": "3.0.5",
70
- "@varlet/cli": "3.0.5",
71
- "@varlet/touch-emulator": "3.0.5"
69
+ "@varlet/ui": "3.0.7",
70
+ "@varlet/cli": "3.0.7",
71
+ "@varlet/touch-emulator": "3.0.7"
72
72
  },
73
73
  "scripts": {
74
74
  "dev": "varlet-cli dev",