react-modal-navigation 1.1.9 → 1.1.10

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/dist/style.css CHANGED
@@ -109,3 +109,11 @@
109
109
 
110
110
  /* Top offset must reduce available dialog height, not just move its starting point. */
111
111
  .pmn-place-top .pmn-dialog{max-height:min(calc(100dvh - var(--pmn-top-offset, var(--pmn-gap)) - var(--pmn-gap)),var(--pmn-max-height,100dvh))}
112
+
113
+ /* v1.1.10: Custom Tailwind backgrounds live on an independent paint layer.
114
+ Header, body, footer and route snapshots remain transparent over that layer.
115
+ No Tailwind runtime or computed-style reads are needed. */
116
+ .pmn-dialog.pmn-has-custom-background{isolation:isolate;--pmn-body:transparent}
117
+ .pmn-custom-background-layer{position:absolute;inset:0;z-index:0;pointer-events:none}
118
+ .pmn-dialog.pmn-has-custom-background > :not(.pmn-custom-background-layer){position:relative;z-index:1}
119
+ .pmn-dialog.pmn-has-custom-background .pmn-main > .pmn-body{background:transparent}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-modal-navigation",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "React 19 modal navigation with automatic built-in CSS, Promise results and typed hooks",
5
5
  "type": "module",
6
6
  "license": "MIT",