@adaptavant/share-modal@1.4.0
Minor Changes
- 2b63880:
ShareModal: Acceptscontainer, passed to the underlyingModal, to render the modal inside another element. Use it when the share modal opens from a focus-trapping dialog so the modal can take focus there. - e66135a:
ShareModal: Adds an optionalonCopyResultcallback that receives the outcome of the copy option, either{ hasError: false }or{ hasError: true, errorMessage }, along with the exportedShareModalCopyResulttype. When the browser blocks the clipboard write, the modal now stays open instead of closing, so the user can retry or pick another option. A successful copy closes the modal as before.
Patch Changes
- Updated dependencies [9e6e47b]
- Updated dependencies [dcf22d8]
- Updated dependencies [76b5726]
- Updated dependencies [61b1481]
- @adaptavant/eds-core@1.51.0
- @adaptavant/eds-brands@1.13.0