1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-30 15:13:22 +00:00
Commit Graph

8 Commits

Author SHA1 Message Date
Oscar Hinton
a6b95b15e3 Add toastr component (#568) 2021-12-07 19:15:56 +01:00
Oscar Hinton
5db94cc9d0 BEEEP: Move DI logic to jslib (#565) 2021-12-02 18:40:34 +00:00
Oscar Hinton
8f177e2d3a Add support for requesting and using otp for verifying some requests (#527)
Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2021-11-09 17:01:22 +01:00
Thomas Rittson
24fe836032 Fixes for dynamic modal a11y (#518)
* Do not close modal if click finishes on background

* Trap tab focus in modals, use ESC to close modal

* Fix Angular change detection errors in modals

* Reset focus on next modal after closing modal

* Minor fixes and linting

* Attach focusTrap to modal-dialog element

* Change mousedown event back to click

* Make topModal private

* Add new div for dismissing modal by clicking bg

* Focus element in modal if no autoFocus directive

* Use backdrop for dismissal

* Fix typo
2021-10-21 08:13:37 +10:00
Oscar Hinton
d50531886b Add support for setting up component factory resolvers in modal service (#471) 2021-08-31 16:35:20 +02:00
Oscar Hinton
daa4f6f9a6 Dynamic Modals (#417)
* Move backdrop and click handler to modal service since they should not be used in web

* Add support for opening modals using ViewContainerRef
2021-08-26 10:04:29 +02:00
Thomas Rittson
fdc6f7b1d2 Refactor canactivate guards (#401)
* Refactor route guards to allow for subclassing

* fix linting
2021-06-09 07:35:03 +10:00
Oscar Hinton
1016bbfb9e Split jslib into multiple modules (#363)
* Split jslib into multiple modules
2021-06-03 18:58:57 +02:00