@thebuilder/umbraco-docs 1.3.0 → 1.3.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thebuilder/umbraco-docs",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Composable Blume presentation and metadata contracts for TheBuilder Umbraco package documentation.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -19,8 +19,9 @@
19
19
  .udocs-hero__glow { position: absolute; inset: -30% -10% auto; height: min(40rem, 130%); background: radial-gradient(ellipse at top, color-mix(in oklab, var(--udocs-accent) 24%, transparent), transparent 70%); pointer-events: none; }
20
20
  /* The particle hero (HeroParticles) sits behind the text, down to where the hero's content below the text begins. */
21
21
  .udocs-particles { position: absolute; inset: calc(-1 * var(--udocs-particles-lift, 0px)) 0 auto; height: calc(var(--udocs-particles-height, 100%) + var(--udocs-particles-lift, 0px)); pointer-events: none; }
22
- /* Let the particles reach up behind a header, and no further: content above the header stays clear. */
23
- .udocs-hero:has(> .udocs-particles) { overflow: visible; clip-path: inset(calc(-1 * var(--udocs-particles-lift, 0px)) 0 0); }
22
+ /* Let the particles reach up behind a header, and no further: content above the header stays clear.
23
+ clip-path only hides what spills over, so the sides still clip to keep the glow from widening the page. */
24
+ .udocs-hero:has(> .udocs-particles) { overflow: visible; overflow-x: clip; clip-path: inset(calc(-1 * var(--udocs-particles-lift, 0px)) 0 0); }
24
25
  .udocs-particles__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 600ms ease; }
25
26
  .udocs-particles__canvas[data-ready] { opacity: 1; }
26
27
  /* Only when the particles can't run: the logo itself, large and faded where they would form. */