Repository navigation
v0.8.0-beta.4
Pre-releaseThis pre-release makes Pipeup work while a page's own dialog is open: a browser's modal dialog, one inside a web component, a library's dialog that traps focus or closes on Escape (Radix, shadcn/ui, Bootstrap, MUI, Headless UI), and an element shown fullscreen. While All comments is open, messages sit inside the panel, clear of a deck's slide controls. Pipeup is 58.1 KB gzip. It is a beta: try it from the next channel and tell us what breaks.
Fixed
- Pipeup works while a page's own dialog is open. In a browser's modal dialog, the comment control, menu and comment boxes were under its backdrop and couldn't be used (the browser makes everything outside the dialog inert); Pipeup now moves its element into the open dialog and back out when it closes. A library's dialog that traps focus no longer pulls the caret out of a comment box, and one that closes on a press outside no longer closes when Pipeup is used. Dialogs that make the rest of the page inert, and overlays at the highest z-index, were already fine and are now tested.
- While All comments is open, messages sit inside the panel above its footer, so comment mode's hint no longer covers a deck's own slide controls beside the panel.
- Pipeup also works in a web component's modal dialog (as Material Web's) and in an element shown fullscreen (a deck presenting, say), and keys pressed in Pipeup never reach a page's dialog: Escape in a comment box no longer closes a Radix or shadcn/ui dialog, and Tab no longer jumps into a focus-trapping one.
- The Esc that closes the menu no longer also leaves comment mode when focus is on the page.
- Pipeup is 58.1 KB gzip; its budget rises from 57.5 to 58.5 KB.
Install
npm i pipeup@0.8.0-beta.4<script src="https://cdn.jsdelivr.net/npm/pipeup@0.8.0-beta.4/dist/pipeup.min.js" integrity="sha384-mWDvxPEMPfz6zGNdAT6BPuOyEjeT/xc2Ht0umfKy60riDH4cX6UyCwK1T8VkGWnd" crossorigin="anonymous"></script>SRI for dist/pipeup.min.js: sha384-mWDvxPEMPfz6zGNdAT6BPuOyEjeT/xc2Ht0umfKy60riDH4cX6UyCwK1T8VkGWnd
Add-ons
npm i @pipeup/share@0.8.0-beta.4 @pipeup/voice@0.8.0-beta.4 @pipeup/live@0.8.0-beta.4 @pipeup/assist@0.8.0-beta.4 @pipeup/agents@0.8.0-beta.4 @pipeup/emoji@0.8.0-beta.4 @pipeup/github@0.8.0-beta.4 @pipeup/updates@0.8.0-beta.4 @pipeup/inbox@0.8.0-beta.4 @pipeup/identity@0.8.0-beta.4SRI for @pipeup/share/dist/share.min.js: sha384-wql/NFYQR4jzJgnXOS/Ch9FC7wydHsfjDtacKSSwiglNCFsRHEAFu+NV77BtQK7a
SRI for @pipeup/share/dist/pipeup+share.min.js: sha384-5VpgbEAd2KAN60pLWKj4mk6u3egcn84iZpLtBIMSzdiq8U5raMtZxJMUONeU7n/T
SRI for @pipeup/voice/dist/voice.min.js: sha384-eq8QijeWKjzubQyL1eH5khy4VFRKEyyQkJcsYg3U4brv8N8QsDKDwY+5XrNC7OKs
SRI for @pipeup/voice/dist/pipeup+voice.min.js: sha384-fkU6vPrArqSPGO3jFOp2tZOCOIigVew49mPbDSjNSmuyN9dPtxfTKAeKSjjtYyRv
SRI for @pipeup/live/dist/live.min.js: sha384-RSVdnK2BRkBSTApk5bOpSe2DEDfk4I+g9yjaXioPnGv8t2L4N6TosjpEH1cSf0DF
SRI for @pipeup/live/dist/pipeup+live.min.js: sha384-O2p4hF/ZRKdXu2Nx5RwJWaZZySNNc5oPsNT2kOqGigj2efENBGcx9qxgZl4aio0B
SRI for @pipeup/assist/dist/assist.min.js: sha384-AScldYlxP5WwWHTGwyi6+2Z5+Hu7KM89zm7Yk8U9D3pOTsoBXPkteg2JlKy0BHAj
SRI for @pipeup/assist/dist/pipeup+assist.min.js: sha384-TwIAggOMHzApF9fo6cNE+ERCCA2DrUY11XHrM67fABRMSrdT62VKHpmhZA1umetW
SRI for @pipeup/agents/dist/agents.min.js: sha384-EnaJKckz3SQdlQBT68pWQHPibrJGW81iye5e8AGl/KhAVFyG0gRhxJxzhpG+vwDA
SRI for @pipeup/agents/dist/pipeup+agents.min.js: sha384-oc7XwQLCE4s/4U5zQEkfg+0t8dKIKvwipVPvK2YS1ozDGpJqWxks3PU+Bu2ySOBx
SRI for @pipeup/emoji/dist/emoji.min.js: sha384-RSEPcw/wigVNhrEv3MnJtqr2eXSmQtteFrGlNxBKKi/zLG+PrB9V484tJImp0Acl
SRI for @pipeup/emoji/dist/pipeup+emoji.min.js: sha384-/BjX3xpJRVNukXsrTIG79bOzRAS9TxGp5zYzMaX3DSLQ+pEcZwals1qoz451Pvbx
SRI for @pipeup/github/dist/github.min.js: sha384-NTSohG4/5QrH2JlSjsT4WBzWAIUe+CrgqG9kdDxd49TwdvKdhCXE+1LsE7jiLPvR
SRI for @pipeup/github/dist/pipeup+github.min.js: sha384-vBQGOxncNEb0ZpZ6BAZjiFGu9xXcesjYpuuGwskSPjAu2Z0WAXlqifIFq5Pgzthj
SRI for @pipeup/updates/dist/updates.min.js: sha384-tCLIdgybLTEfmrfkBV1cH3GSYTIXv/g9ivN7fBB2/hHkX+NdsyfMpTgSragOCaUP
SRI for @pipeup/updates/dist/pipeup+updates.min.js: sha384-zcnoRX8yhZ9SSQ79qzv7DCBR1qYtBgN1XBTOnKsGt22D6twJ7YNnPOvQ+O5cT+Ii
SRI for @pipeup/inbox/dist/inbox.min.js: sha384-7bQh3sG8fhxekWjQFsPogPesPzCLMzw0DmJPecvTdkG/KuXNSaJQWbTZ2GHfVNXV
SRI for @pipeup/inbox/dist/pipeup+inbox.min.js: sha384-eloTmms6v9JgeVL9ZvNHs9ktlPRs+ykh6OJzAVxk1DXpdK7FkVpkWurSD1czgWgN
SRI for @pipeup/identity/dist/identity.min.js: sha384-KTS/eDFIsZUSp67Ag+SdKf0+GbH9Z/O8T5boIE7MWASPnHjuyiWt8P2xX/VqWOK9
SRI for @pipeup/identity/dist/pipeup+identity.min.js: sha384-hRUY/7sJHSSZMxsF3hg4jIsRufuagYxpXT8TUx6bDQClPfprC+2tUoU2L+Qb+/WI