@varlet/ui 3.7.3 → 3.7.4

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
@@ -20183,7 +20183,7 @@ var stdin_default$46 = vue.defineComponent({
20183
20183
  }) {
20184
20184
  const {
20185
20185
  zIndex
20186
- } = useZIndex(() => props2.show, 1);
20186
+ } = useZIndex(() => props2.show, 3);
20187
20187
  const {
20188
20188
  onStackTop
20189
20189
  } = useStack(() => props2.show, zIndex);
@@ -20211,11 +20211,20 @@ var stdin_default$46 = vue.defineComponent({
20211
20211
  return vue.createVNode("div", vue.mergeProps({
20212
20212
  "class": n$u(),
20213
20213
  "style": {
20214
- zIndex: zIndex.value
20214
+ zIndex: zIndex.value - 2
20215
20215
  }
20216
- }, attrs, {
20216
+ }, attrs), [vue.createVNode("div", {
20217
+ "class": n$u("overlay"),
20218
+ "style": {
20219
+ zIndex: zIndex.value - 1
20220
+ },
20217
20221
  "onClick": handleClickOverlay
20218
- }), [call(slots.default)]);
20222
+ }, null), vue.createVNode("div", {
20223
+ "class": n$u("content"),
20224
+ "style": {
20225
+ zIndex: zIndex.value
20226
+ }
20227
+ }, [call(slots.default)])]);
20219
20228
  }
20220
20229
  function renderTransitionOverlay() {
20221
20230
  return vue.createVNode(vue.Transition, {
@@ -30932,7 +30941,7 @@ withInstall(stdin_default$1);
30932
30941
  withPropsDefaultsSetter(stdin_default$1, props);
30933
30942
  const _WatermarkComponent = stdin_default$1;
30934
30943
  var stdin_default = stdin_default$1;
30935
- const version = "3.7.3";
30944
+ const version = "3.7.4";
30936
30945
  function install(app) {
30937
30946
  stdin_default$5W.install && app.use(stdin_default$5W);
30938
30947
  stdin_default$5U.install && app.use(stdin_default$5U);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/ui",
3
- "version": "3.7.3",
3
+ "version": "3.7.4",
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/shared": "3.7.3",
52
- "@varlet/icons": "3.7.3",
53
- "@varlet/use": "3.7.3"
51
+ "@varlet/icons": "3.7.4",
52
+ "@varlet/use": "3.7.4",
53
+ "@varlet/shared": "3.7.4"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/node": "^18.7.18",
@@ -66,9 +66,9 @@
66
66
  "vue": "3.4.21",
67
67
  "vue-router": "4.2.0",
68
68
  "zod": "^3.23.8",
69
- "@varlet/cli": "3.7.3",
70
- "@varlet/touch-emulator": "3.7.3",
71
- "@varlet/ui": "3.7.3"
69
+ "@varlet/cli": "3.7.4",
70
+ "@varlet/ui": "3.7.4",
71
+ "@varlet/touch-emulator": "3.7.4"
72
72
  },
73
73
  "scripts": {
74
74
  "dev": "varlet-cli dev",