@leavepulse/ui 0.37.0 → 0.37.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.
package/package.json
CHANGED
|
@@ -26,8 +26,15 @@ import { computed, ref, type ComputedRef } from "vue"
|
|
|
26
26
|
* is 100 and --z-modal 110, so a gap of 2 left the upper scrim under the lower
|
|
27
27
|
* PANEL — it darkened that panel and could not blur it, a backdrop-filter
|
|
28
28
|
* having nothing of it underneath to work on.
|
|
29
|
+
*
|
|
30
|
+
* Clearing it means strictly more than the 10 between the two rungs. A step of
|
|
31
|
+
* exactly 10 put the lower panel at 100, level with the upper scrim, and a tie
|
|
32
|
+
* in z-index is settled by DOM order. Siblings in one component happened to
|
|
33
|
+
* come out right, but a dialog mounted once at the app root — opened from a
|
|
34
|
+
* page dialog that teleported in later — lost the tie, and its scrim darkened
|
|
35
|
+
* the page behind the first dialog instead of the first dialog itself.
|
|
29
36
|
*/
|
|
30
|
-
const STEP =
|
|
37
|
+
const STEP = 20
|
|
31
38
|
|
|
32
39
|
/** Levels currently claimed, oldest first. */
|
|
33
40
|
const stack = ref<number[]>([])
|