@orangecheck/ui 0.8.1 → 0.8.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/dist/index.mjs CHANGED
@@ -369,7 +369,7 @@ function OcLogoDropdown({
369
369
  "div",
370
370
  {
371
371
  ref: containerRef,
372
- className: "relative " + (className ?? ""),
372
+ className: "relative inline-flex items-center " + (className ?? ""),
373
373
  "data-oc-logo-dropdown": "",
374
374
  "data-oc-current-category": currentCategory,
375
375
  "data-oc-site-state": siteState,
@@ -397,24 +397,28 @@ function OcLogoDropdown({
397
397
  "aria-hidden": true,
398
398
  className: "text-muted-foreground/70 group-hover:text-foreground/80 h-3.5 w-3.5 shrink-0 transition-transform duration-200 " + (open ? "rotate-180" : "")
399
399
  }
400
- ),
401
- /* @__PURE__ */ jsxs(
402
- "span",
400
+ )
401
+ ]
402
+ }
403
+ ),
404
+ /* @__PURE__ */ jsxs(
405
+ Link5,
406
+ {
407
+ href: homeHref,
408
+ "aria-label": "go to " + homeHref + " (this site's home)",
409
+ onClick: () => setOpen(false),
410
+ tabIndex: open ? 0 : -1,
411
+ className: "hover:text-primary group/home -ml-1 hidden items-center gap-1 rounded-sm px-1.5 py-1 font-mono text-[9px] tracking-widest uppercase transition-all duration-200 sm:inline-flex " + (open ? "pointer-events-auto translate-x-0 text-muted-foreground/70 opacity-100 hover:bg-accent/30" : "pointer-events-none -translate-x-1 opacity-0"),
412
+ "data-oc-logo-dropdown-home-hint": "",
413
+ children: [
414
+ /* @__PURE__ */ jsx(
415
+ CornerDownLeft,
403
416
  {
404
417
  "aria-hidden": true,
405
- className: "pointer-events-none ml-0.5 hidden items-center gap-1 font-mono text-[9px] tracking-widest uppercase transition-all duration-200 sm:inline-flex " + (open ? "text-muted-foreground/70 translate-x-0 opacity-100" : "-translate-x-1 opacity-0"),
406
- "data-oc-logo-dropdown-home-hint": "",
407
- children: [
408
- /* @__PURE__ */ jsx(
409
- CornerDownLeft,
410
- {
411
- className: "h-3 w-3 " + (open ? "motion-safe:animate-pulse" : "")
412
- }
413
- ),
414
- /* @__PURE__ */ jsx("span", { className: "text-primary/70", children: "home" })
415
- ]
418
+ className: "h-3 w-3 group-hover/home:text-primary " + (open ? "motion-safe:animate-pulse" : "")
416
419
  }
417
- )
420
+ ),
421
+ /* @__PURE__ */ jsx("span", { className: "text-primary/70 group-hover/home:text-primary", children: "home" })
418
422
  ]
419
423
  }
420
424
  ),