@aria-ui/overlay
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -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 @@ */ |
@@ -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` | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23271
621