@lark-apaas/coding-registry-buildless 0.1.12 → 0.1.13

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,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/coding-registry-buildless",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "Miaoda registry (buildless runtime) — shadcn-style copy-in SDKs (globals + CDN-pinned, browser Babel) for buildless static HTML stacks",
5
5
  "type": "module",
6
6
  "files": [
@@ -226,11 +226,17 @@
226
226
  opacity: 1;
227
227
  pointer-events: auto;
228
228
  visibility: visible;
229
- /* Four other surfaces re-clip, each in its own place: noscale and
229
+ /* !important or this silently does nothing: decks routinely carry a
230
+ document-level section{overflow:hidden}, and for normal declarations
231
+ the outer tree beats ::slotted() no matter the specificity — only
232
+ importance reverses that order (same reason the base rule above
233
+ forces position/inset/width/height).
234
+ Four other surfaces re-clip, each in its own place: noscale and
230
235
  data-snthumb just below, print in @media print, mobile browse and
231
236
  ?preflight=1 per-card in _fitMobileList — that last one is what
232
- still exposes overflow to the preflight quality pass. */
233
- overflow-y: auto;
237
+ still exposes overflow to the preflight quality pass. All of them
238
+ now have to out-specify this rule, not merely out-important it. */
239
+ overflow-y: auto !important;
234
240
  /* A gutter would reflow the 1920×1080 design box (classic scrollbars,
235
241
  ~15px, Windows/Linux) on the very pages already overflowing. No
236
242
  ::-webkit-scrollbar fallback is possible: through ::slotted() it
@@ -239,7 +245,7 @@
239
245
  }
240
246
  :host([noscale]) ::slotted([data-deck-active]),
241
247
  :host([data-snthumb]) ::slotted([data-deck-active]) {
242
- overflow-y: hidden;
248
+ overflow-y: hidden !important;
243
249
  }
244
250
 
245
251
  /* ── Thumbnail rail ──────────────────────────────────────────────────
@@ -668,12 +674,15 @@
668
674
  break-after: page;
669
675
  page-break-after: always;
670
676
  break-inside: avoid;
671
- /* Needed because beforeprint marks EVERY slide data-deck-active,
672
- whose screen rule out-specifies this one. Its price: importance
673
- reverses outer/inner-tree order, so this also overrides an
674
- author's own overflow:visible, which still wins on screen. */
677
+ /* Price of the !important: importance reverses outer/inner-tree
678
+ order, so this also overrides an author's own overflow:visible. */
675
679
  overflow: hidden !important;
676
680
  }
681
+ /* Paper cannot scroll. beforeprint marks EVERY slide data-deck-active,
682
+ so the screen rule's overflow-y:auto!important would otherwise apply
683
+ here — and being !important too, it can no longer be beaten by
684
+ importance alone. :host lifts this to (0,2,1) over its (0,1,1). */
685
+ :host ::slotted([data-deck-active]) { overflow: hidden !important; }
677
686
  /* :last-child alone isn't enough once data-deck-skip hides the
678
687
  trailing slide(s) — the last *visible* slide still carries
679
688
  break-after:page and prints a blank sheet. _markLastVisible()