@celestia-island/hikari 0.55.73 → 0.55.75

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.55.73",
3
+ "version": "0.55.75",
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",
@@ -529,6 +529,24 @@ export function useSizeMorph(
529
529
  dir === "reveal"
530
530
  ? `inset(0px 0 0 0 round ${radii})`
531
531
  : `inset(${insetPx}px 0 0 0 round ${radii})`;
532
+ // Reduced motion: the stylesheet collapses the clip transition to
533
+ // `none` — `transitionend` will never fire, and without this check the
534
+ // watchdog holds the clip for `durationMs + 350` ms while the page
535
+ // behind shows through it (round-24 phone report under
536
+ // `prefers-reduced-motion: reduce`: the sheet's top 254 px showed the
537
+ // page behind for 514 ms). Land now: the clip end state is already
538
+ // painted, the riders carry whatever motion survives, and the landing
539
+ // is the same `stopReveal()` that transitionend would have triggered.
540
+ let reduced = false;
541
+ try {
542
+ reduced = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
543
+ } catch {
544
+ // matchMedia unavailable (SSR) — the sweep path is unreachable anyway.
545
+ }
546
+ if (reduced) {
547
+ stopReveal();
548
+ return;
549
+ }
532
550
  // The riders flip WITH the clip, in the same task, under a mirrored
533
551
  // transform transition — same duration, same easing, same start
534
552
  // moment, so the ride tracks the edge sample-for-sample. Their own
package/src/index.ts CHANGED
@@ -762,3 +762,18 @@ export { HkJsonTree as HkJsonTree } from "./components/HkJsonTree";
762
762
  export { HkTokenUsageBadge as HkTokenUsageBadge } from "./components/HkTokenUsageBadge";
763
763
  export { HkTokenUsagePanel as HkTokenUsagePanel } from "./components/HkTokenUsagePanel";
764
764
  export { HkModelTag as HkModelTag } from "./components/HkModelTag";
765
+
766
+ // Canonical Hk* names for directly-exported types (2026-09-24
767
+ // unification follow-up). These types were defined with their H*
768
+ // names at the source and exported directly — not aliased from an Hk*
769
+ // identifier — so the canonical Hk* form is an alias export here.
770
+ export { type HAttachmentItem as HkAttachmentItem } from "./components/HkAttachmentModal";
771
+ export { type HAttachmentDetail as HkAttachmentDetail } from "./components/HkAttachmentModal";
772
+ export { type HModelMeta as HkModelMeta } from "./components/HkModelCatalog";
773
+ export { type HModelPricing as HkModelPricing } from "./components/HkModelCatalog";
774
+ export { type HAboutCredit as HkAboutCredit } from "./components/HkAboutModal";
775
+ export { type HAboutLink as HkAboutLink } from "./components/HkAboutModal";
776
+ export { type HAboutLinkFace as HkAboutLinkFace } from "./components/HkAboutModal";
777
+ export { type HAboutLinkIcon as HkAboutLinkIcon } from "./components/HkAboutModal";
778
+ export { type HAboutComponentVersion as HkAboutComponentVersion } from "./components/HkAboutModal";
779
+ export { type HCustomTheme as HkCustomTheme } from "./components/HkColorSchemeDialog";