This is UXP wrapper for `@spectrum-web-components/dialog` package
-
For detailed README regarding
@spectrum-web-components/dialog
refer this link -
Detailed specification regarding
@spectrum-web-components/dialog
support in UXP through@swc-uxp-wrappers/dialog
refer this link
yarn add @swc-uxp-wrappers/dialog
Import the side effectful registration of <sp-dialog>
via:
import '@swc-uxp-wrappers/dialog/sp-dialog.js';
When looking to leverage the Dialog
base class as a type and/or for extension purposes, do so via:
import { Dialog } from '@swc-uxp-wrappers/dialog';
<sp-dialog></sp-dialog>