@celestia-island/hikari 0.38.0 → 0.38.2

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": "@celestia-island/hikari",
3
- "version": "0.38.0",
3
+ "version": "0.38.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Hikari Vue 3 component library — production-grade UI components based on shittim-chest design system",
@@ -15,6 +15,15 @@
15
15
  --hel-error: var(--color-error, 226 84 84);
16
16
  --hel-warning: var(--color-warning, 222 168 62);
17
17
 
18
+ // The landing owns its full-viewport backdrop, so it must always fill
19
+ // the host's inline axis. Hosts vary: a plain block (the app overlay's
20
+ // fixed inset-0 box) already gives block children the full width, but a
21
+ // CENTERING host — e.g. a standalone mount root that is itself a
22
+ // centering flex/grid box — shrink-wraps flex/grid items to content
23
+ // width, which paints this background as one content-wide column and
24
+ // leaks the host body background down both sides. An explicit
25
+ // width:100% makes every host render the same edge-to-edge takeover.
26
+ width: 100%;
18
27
  min-height: 100vh;
19
28
  min-height: 100dvh;
20
29
  display: flex;
@@ -538,6 +538,15 @@
538
538
  explicit box-sizing keeps that mapping honest on hosts without a
539
539
  global border-box reset. */
540
540
  box-sizing: border-box;
541
+ /* Mirror the card's own sizing contract (.s-auth-card below:
542
+ `width: 100%; max-width: 28rem`). The card's percentage width now
543
+ resolves against THIS wrapper, and a bare wrapper inside a centered
544
+ flex/grid host shrink-wraps to the card's content — collapsing the
545
+ panel to its intrinsic width. Presenting the same definite sizing
546
+ context here restores the exact pre-wrapper geometry in every host
547
+ formatting context. Keep the two declarations in sync. */
548
+ width: 100%;
549
+ max-width: 28rem;
541
550
  transition: height 0.3s var(--ease-out-expo, cubic-bezier(0.19, 1, 0.22, 1));
542
551
 
543
552
  &.s-auth-card--measuring {