Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aria-ui/overlay

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aria-ui/overlay - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

10

dist/index.d.ts

@@ -44,9 +44,7 @@ import * as _aria_ui_core from '@aria-ui/core';

/**
* Whether to use the browser Popover API to place the floating element on top
* of other page content. When enabled, the floating element won't be clipped
* by an ancestor. This provides a similar result to React's `<Portals>` or
* Vue's `<Teleport>`.
* Whether to use the browser [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API)
* to place the floating element on top of other page content. When enabled,
* the floating element won't be clipped by an ancestor. This provides a
* similar result to React's `<Portals>` or Vue's `<Teleport>`.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/Popover_API
*
* @default false

@@ -53,0 +51,0 @@ */

2

dist/index.js

@@ -203,3 +203,3 @@ // src/overlay-anchor-element.gen.ts

}
var popoverAvailable = typeof HTMLElement !== "undefined" && Object.hasOwn(HTMLElement, "popover");
var popoverAvailable = typeof HTMLElement !== "undefined" && Object.hasOwn(HTMLElement.prototype, "popover");

@@ -206,0 +206,0 @@ // src/overlay-positioner-state.ts

{
"name": "@aria-ui/overlay",
"type": "module",
"version": "0.0.5",
"version": "0.0.6",
"private": false,

@@ -6,0 +6,0 @@ "sideEffects": false,

@@ -46,3 +46,3 @@ # @aria-ui/overlay

| `hide` | `boolean` | Whether to hide the floating element when the reference element or the<br />floating element is fully clipped.<br /><br />**Default**<br />`false` |
| `hoist` | `boolean` | Whether to use the browser Popover API to place the floating element on top<br />of other page content. When enabled, the floating element won't be clipped<br />by an ancestor. This provides a similar result to React's `<Portals>` or<br />Vue's `<Teleport>`.<br /><br />**See**<br />https://developer.mozilla.org/en-US/docs/Web/API/Popover_API<br /><br />**Default**<br />`false` |
| `hoist` | `boolean` | Whether to use the browser [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API)<br />to place the floating element on top of other page content. When enabled,<br />the floating element won't be clipped by an ancestor. This provides a<br />similar result to React's `<Portals>` or Vue's `<Teleport>`.<br /><br />**Default**<br />`false` |
| `inline` | `boolean` | Whether to improve positioning for inline reference elements that span over<br />multiple lines.<br /><br />**Default**<br />`false` |

@@ -49,0 +49,0 @@ | `offset` | `null` \| `OffsetOptions` | The distance between the reference and floating element.<br /><br />**Default**<br />`null` |

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc