@varlet/ui 2.5.4 → 2.5.5-alpha.1672917543560

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,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
- "version": "2.5.3",
4
+ "version": "2.5.4",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
@@ -388,7 +388,7 @@ var _default = (0, _vue.defineComponent)({
388
388
  }
389
389
 
390
390
  if (onBeforeRemove) {
391
- var results = (0, _components.call)(onBeforeRemove);
391
+ var results = (0, _components.call)(onBeforeRemove, (0, _vue.reactive)(removedVarFile));
392
392
  results = (0, _shared.isArray)(results) ? results : [results];
393
393
 
394
394
  if ((yield Promise.all(results)).some(result => !result)) {
@@ -397,7 +397,7 @@ var _default = (0, _vue.defineComponent)({
397
397
  }
398
398
 
399
399
  var expectedFiles = modelValue.filter(varFile => varFile !== removedVarFile);
400
- (0, _components.call)(onRemove, removedVarFile);
400
+ (0, _components.call)(onRemove, (0, _vue.reactive)(removedVarFile));
401
401
  validateWithTrigger('onRemove');
402
402
  (0, _components.call)(props['onUpdate:modelValue'], expectedFiles);
403
403
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/ui",
3
- "version": "2.5.4",
3
+ "version": "2.5.5-alpha.1672917543560",
4
4
  "description": "A material like components library",
5
5
  "module": "es/index.js",
6
6
  "main": "lib/index.js",
@@ -45,17 +45,15 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@popperjs/core": "^2.11.6",
48
- "@varlet/icons": "2.5.4",
49
- "@varlet/shared": "2.5.4",
50
48
  "dayjs": "^1.10.4",
51
- "decimal.js": "^10.2.1"
49
+ "decimal.js": "^10.2.1",
50
+ "@varlet/icons": "2.5.5-alpha.1672917543560",
51
+ "@varlet/shared": "2.5.5-alpha.1672917543560"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/jest": "^26.0.15",
55
55
  "@types/lodash-es": "^4.17.6",
56
56
  "@types/node": "^18.7.18",
57
- "@varlet/cli": "2.5.4",
58
- "@varlet/touch-emulator": "2.5.4",
59
57
  "@vue/runtime-core": "3.2.25",
60
58
  "@vue/test-utils": "^2.0.2",
61
59
  "clipboard": "^2.0.6",
@@ -64,7 +62,9 @@
64
62
  "postcss-px-to-viewport": "^1.1.1",
65
63
  "typescript": "^4.4.4",
66
64
  "vue": "3.2.25",
67
- "vue-router": "4.0.12"
65
+ "vue-router": "4.0.12",
66
+ "@varlet/cli": "2.5.5-alpha.1672917543560",
67
+ "@varlet/touch-emulator": "2.5.5-alpha.1672917543560"
68
68
  },
69
69
  "browserslist": [
70
70
  "Chrome >= 54",