Commit graph

13 commits

Author SHA1 Message Date
weaseldotro
c95e1fe994
Use loose equal in ComposedModal
Co-authored-by: Eric Liu <ericyl.us@gmail.com>
2020-11-17 09:28:53 +02:00
weaseldotro
b754e0cf79
feat(ComposedModal): allow using null for selectorPrimaryFocus to disable auto focus 2020-11-09 11:14:56 +02:00
Eric Liu
05932065dc fix(composed-modal): perform null check before focusing element
Fixes error in Sapper
2020-10-21 06:19:23 -07:00
weaseldotro
2afb888485
fix(ComposedModal): remove bx--body--with-modal-open from body classes after destroy
When onMount is async, the returned function is not executed: https://github.com/sveltejs/svelte/issues/4927
Because the class is not remove from the body, the code should be moved to a onDestroy function.
2020-10-20 11:09:33 +03:00
weaseldotro
99587ba16c
fix ComposedModal body classes 2020-10-07 16:47:29 +03:00
josefaidt
398887a3d3 feat(prettier): add svelteBracketNewLine 2020-09-24 10:50:34 -05:00
Eric Liu
e75be23a49 feat(modal): add preventCloseOnClickOutside prop
Closes #266
2020-09-19 09:37:36 -07:00
Eric Liu
42b8159b1c chore(prettier): use svelteStrictMode 2020-09-04 16:35:49 -07:00
Eric Liu
322b238cf0 chore(deps-dev): bump prettier, prettier-plugin-svelte 2020-09-04 16:34:28 -07:00
Eric Liu
52a10d3acd fix(modal): prevent clicking inside inner modal from closing the modal
- revert adding a `stopPropagation` modifier to the PasswordInput "toggle password" button
2020-08-12 12:46:07 -07:00
Eric Liu
f30755b237 chore: complete first pass of apply jsdoc annotations to component props 2020-07-26 17:42:12 -07:00
Eric Liu
773b18d314 chore: add more prop annotations 2020-07-25 06:26:49 -07:00
Eric Liu
2200b29b92 chore: lift components folder 2020-07-19 09:06:08 -07:00
Renamed from src/components/ComposedModal/ComposedModal.svelte (Browse further)