2.0.0 • Published 1 year ago
@swc-uxp-wrappers/overlay v2.0.0
Description
For detailed README regarding
@spectrum-web-components/overlayrefer this linkDetailed specification regarding
@spectrum-web-components/overlaysupport in UXP through@swc-uxp-wrappers/overlayrefer this link
Usage
yarn add @swc-uxp-wrappers/overlayImport the side effectful registration of <sp-overlay> via:
import '@swc-uxp-wrappers/overlay/sp-overlay.js';When looking to leverage the Overlay base class as a type and/or for extension purposes, do so via:
import { Overlay } from '@swc-uxp-wrappers/overlay';Example
<sp-overlay></sp-overlay>Known Issues
- Styling of popover and tip rendered is incorrect when used inside overlay
- Nested overlay is not supported
- The toast dissapears when hovered on it inside overlay
- Longpress attribute does not work with keyboard press event
2.0.0
1 year ago