@celestia-island/hikari 0.55.167 → 0.55.168
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
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
@use "./scrim-fade" as sf;
|
|
2
2
|
|
|
3
3
|
.hk-drawer-overlay {
|
|
4
|
+
/* Overlay-root contract: #hk-overlay-root fences pointer events
|
|
5
|
+
* (pointer-events: none) — restore them or the drawer's taps pass
|
|
6
|
+
* through to the page below (2026-10-15 defect). */
|
|
7
|
+
pointer-events: auto;
|
|
4
8
|
position: fixed;
|
|
5
9
|
inset: 0;
|
|
6
10
|
background: var(--hk-drawer-overlay-bg, rgba(0, 0, 0, 0.45));
|
|
@@ -18,6 +22,7 @@
|
|
|
18
22
|
);
|
|
19
23
|
|
|
20
24
|
.hk-drawer-panel {
|
|
25
|
+
pointer-events: auto;
|
|
21
26
|
position: fixed;
|
|
22
27
|
display: flex;
|
|
23
28
|
flex-direction: column;
|
|
@@ -264,3 +269,12 @@
|
|
|
264
269
|
transition: none;
|
|
265
270
|
}
|
|
266
271
|
}
|
|
272
|
+
|
|
273
|
+
/* ── Overlay-root pointer-events contract ──────────────────────────
|
|
274
|
+
* #hk-overlay-root fences pointer events (pointer-events: none) and
|
|
275
|
+
* every teleported layer MUST restore them. This compiled-css guard
|
|
276
|
+
* makes the restoration a test-visible invariant rather than an
|
|
277
|
+
* implementation detail (2026-10-15: the mobile drawer painted above
|
|
278
|
+
* the page but every tap passed through because neither the overlay
|
|
279
|
+
* nor the panel restored pointer events after the overlay-root
|
|
280
|
+
* isolation migration). */
|
|
@@ -116,6 +116,8 @@
|
|
|
116
116
|
* anchors narrower than 180px (the floor must lose to the inline style,
|
|
117
117
|
* which can only happen on the same element). */
|
|
118
118
|
.hk-select-popout-host {
|
|
119
|
+
/* Overlay-root contract: restore pointer events (see HkDrawer). */
|
|
120
|
+
pointer-events: auto;
|
|
119
121
|
position: fixed;
|
|
120
122
|
min-width: 180px;
|
|
121
123
|
|
|
@@ -280,6 +282,7 @@
|
|
|
280
282
|
// popover/modal mobile dockings.
|
|
281
283
|
// ------
|
|
282
284
|
.hk-select-sheet-scrim {
|
|
285
|
+
pointer-events: auto;
|
|
283
286
|
position: fixed;
|
|
284
287
|
inset: 0;
|
|
285
288
|
pointer-events: auto;
|
|
@@ -287,6 +290,7 @@
|
|
|
287
290
|
}
|
|
288
291
|
|
|
289
292
|
.hk-select-sheet-panel {
|
|
293
|
+
pointer-events: auto;
|
|
290
294
|
position: fixed;
|
|
291
295
|
left: 0;
|
|
292
296
|
right: 0;
|
|
@@ -491,3 +495,7 @@
|
|
|
491
495
|
transition: none;
|
|
492
496
|
}
|
|
493
497
|
}
|
|
498
|
+
|
|
499
|
+
/* ── Overlay-root pointer-events contract ──────────────────────────
|
|
500
|
+
* See HkDrawer.scss's guard note. The popout host, the sheet scrim
|
|
501
|
+
* and the sheet panel all live inside #hk-overlay-root. */
|