Morphos

@morphos/overlays

Changelog for @morphos/overlays.

1.0.8

  • Declares the @morphos/core peer dependency as a caret range (^0.1.6) instead of an exact version, so npm no longer installs a second copy or fails with a peer conflict when the Morphos packages are released at different patch versions.

1.0.7

  • Requires @praxisjs/runtime and @praxisjs/jsx 0.8.1, which write boolean aria-* attributes as "true" and "false" instead of an empty attribute (or none for false).

1.0.6

  • Opts into @praxisjs/vite-plugin's library optimization: with vite-plugin 4.2 or later, apps compile these components from their sources like their own code (compiled templates, keyed lists, decorated fields in fast properties), so they mount about 25 to 40% faster. The published package no longer includes its tests.

0.1.0

Initial release.

  • Dialog + DialogTrigger + DialogContent + DialogTitle + DialogDescription + DialogClose — focus trap, scroll lock, data-open.
  • AlertDialog + AlertDialogTrigger + AlertDialogContent + AlertDialogTitle + AlertDialogDescription + AlertDialogAction + AlertDialogCancel — confirmation dialog requiring an explicit action or cancel, data-open.
  • Drawer + DrawerTrigger + DrawerContent + DrawerTitle + DrawerDescription + DrawerClose — slide-in panel anchored to a viewport edge, data-open, data-side.
  • Tooltip + TooltipTrigger + TooltipContent — hover/focus intent with configurable delays.
  • Popover + PopoverTrigger + PopoverContent — click toggle, outside-click dismiss, data-open.
  • Dropdown (aliased Menu) + DropdownTrigger + DropdownMenu + DropdownItem — keyboard navigation (arrow keys, Home, End, Escape), role="menu".
  • ContextMenu + ContextMenuTrigger + ContextMenuContent + ContextMenuItem — right-click-triggered menu, data-open.
  • PreviewCard + PreviewCardTrigger + PreviewCardContent — hover-triggered rich preview, data-open.

On this page