@jsenv/navi 0.29.302 → 0.29.304
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/dev/jsenv_navi.js +20 -3
- package/dist/dev/jsenv_navi.js.map +2 -2
- package/dist/jsenv_navi.js +20 -3
- package/dist/jsenv_navi.js.map +2 -2
- package/package.json +2 -2
package/dist/jsenv_navi.js
CHANGED
|
@@ -58750,6 +58750,16 @@ const css$E = /* css */`
|
|
|
58750
58750
|
--backdrop-background: transparent;
|
|
58751
58751
|
--backdrop-filter: none;
|
|
58752
58752
|
}
|
|
58753
|
+
/* A wall-less top-layer dialog reaches the top layer through the Popover
|
|
58754
|
+
API, and the browser generates a ::backdrop for a popover exactly as it
|
|
58755
|
+
does for a modal. Nothing is meant to be between this dialog and the
|
|
58756
|
+
page, so that pseudo-element paints nothing — last, after the variant
|
|
58757
|
+
rules it must win over: they answer how a wall is painted, this one
|
|
58758
|
+
says there is no wall to paint. */
|
|
58759
|
+
&[data-backdrop="none"] {
|
|
58760
|
+
--backdrop-background: transparent;
|
|
58761
|
+
--backdrop-filter: none;
|
|
58762
|
+
}
|
|
58753
58763
|
&::backdrop {
|
|
58754
58764
|
background: var(--backdrop-background);
|
|
58755
58765
|
backdrop-filter: var(--backdrop-filter);
|
|
@@ -60121,11 +60131,18 @@ const useDialogProps = props => {
|
|
|
60121
60131
|
// (and harmless for a local dialog, whose real backdrop element gets it
|
|
60122
60132
|
// via backdropProps).
|
|
60123
60133
|
"data-backdrop-variant": backdropVariant,
|
|
60134
|
+
// That this dialog has no wall, said in the DOM: the browser generates a
|
|
60135
|
+
// ::backdrop for the popover a wall-less top-layer dialog is shown as,
|
|
60136
|
+
// and the CSS above keys off this to leave it unpainted. Also the only
|
|
60137
|
+
// way anything outside can read the absence — a test measuring pixels is
|
|
60138
|
+
// the alternative.
|
|
60139
|
+
"data-backdrop": backdrop ? undefined : "none",
|
|
60124
60140
|
// Read by the native ::backdrop, which inherits them from here (see this
|
|
60125
60141
|
// file's CSS) — a local dialog's own backdrop element gets them via
|
|
60126
|
-
// backdropProps above.
|
|
60127
|
-
|
|
60128
|
-
|
|
60142
|
+
// backdropProps above. Dropped without a wall: they say how one is
|
|
60143
|
+
// painted, and inline they would beat the rule that says there is none.
|
|
60144
|
+
"backdropColor": backdrop ? backdropColor : undefined,
|
|
60145
|
+
"backdropFilter": backdrop ? backdropFilter : undefined,
|
|
60129
60146
|
"styleCSSVars": DIALOG_STYLE_CSS_VARS,
|
|
60130
60147
|
...rest,
|
|
60131
60148
|
...autoFocusProps,
|