@leavepulse/ui 0.43.0 → 0.43.1

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.
@@ -18,8 +18,8 @@ function useModalLayer() {
18
18
  layer: computed(() => {
19
19
  const drop = fromTop.value * STEP;
20
20
  return {
21
- scrim: `calc(var(--z-toast) - 20 - ${drop})`,
22
- panel: `calc(var(--z-toast) - 10 - ${drop})`,
21
+ scrim: `calc(var(--z-overlay) - ${drop})`,
22
+ panel: `calc(var(--z-modal) - ${drop})`,
23
23
  nested: stack.value.indexOf(id) > 0
24
24
  };
25
25
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavepulse/ui",
3
- "version": "0.43.0",
3
+ "version": "0.43.1",
4
4
  "type": "module",
5
5
  "description": "LeavePulse token-driven Vue component kit.",
6
6
  "repository": {
@@ -27,8 +27,8 @@ export function useModalLayer(): {
27
27
  layer: computed(() => {
28
28
  const drop = fromTop.value * STEP
29
29
  return {
30
- scrim: `calc(var(--z-toast) - 20 - ${drop})`,
31
- panel: `calc(var(--z-toast) - 10 - ${drop})`,
30
+ scrim: `calc(var(--z-overlay) - ${drop})`,
31
+ panel: `calc(var(--z-modal) - ${drop})`,
32
32
  nested: stack.value.indexOf(id) > 0,
33
33
  }
34
34
  }),