Commit Graph

162 Commits

Author SHA1 Message Date
Liam DeBeasi
e1e23bc1a2 docs(modal): include note on using ion-page when wrapping modal component (#22534) 2020-11-19 15:31:01 -05:00
Brandy Carney
a9b2260100 test(core): add lang attr to html tag to resolve axe errors (#22410) 2020-11-02 17:08:03 -05:00
Liam DeBeasi
1832be0597 docs(modal): fix props on vue example (#22201) 2020-09-29 10:00:59 -04:00
Liam DeBeasi
aeda33d8ae docs(vue): add revised overlay examples (#22173) 2020-09-25 10:27:27 -04:00
Liam DeBeasi
cc45ad815c fix(overlays): return focus to presenting element after dismissal (#22167)
resolves #21768
2020-09-24 18:07:25 -04:00
Liam DeBeasi
db2cac20fb docs(vue): update component usage examples for vue 3 (#22050) 2020-09-11 13:48:21 -04:00
Liam DeBeasi
971789dc89 docs(modal): add correct card style modal usage (#21888) 2020-08-21 12:39:25 -04:00
Liam DeBeasi
03ca0c5968 docs(modal): add correct card-style modal usage for react (#21780)
resolves #21773
2020-07-22 13:49:32 -04:00
Liam DeBeasi
fff4aec6cf fix(overlays): trap focus inside overlay components except toast (#21716)
fixes #21647
2020-07-22 12:09:31 -04:00
Adam Bradley
79518468dd fix(overlays): move prepareOverlay to connectedCallback
For custom elements builds, overlays cannot use hasAttribute() in the constructor, so moving it to connectedCallback instead.
2020-07-21 13:07:54 -05:00
Liam DeBeasi
1decc13cb8 docs(modal): clarify backdrop usage for card modals (#21556) 2020-06-17 11:25:07 -04:00
Liam DeBeasi
a4f0bdb4c3 fix(modal): set card-style modal height using the --height css variable (#21453) 2020-06-08 10:29:39 -04:00
Alexey Vinogradov
5bf83b80d7 feat(all): add optional generics typings for overlay component methods (#21393) 2020-06-03 09:08:27 -04:00
Brandy Carney
16a03d58ec docs(headings): update readme headings to be correct level 2020-05-14 17:26:44 -04:00
Julian Baumann
448dfa0a69 fix(modal): card style modal no longer gets stuck when swiping quickly (#21224) 2020-05-14 11:50:31 -04:00
Brandy Carney
898401a7e0 docs(overlays): add documentation on customization in scoped overlays (#21283)
- improves the documentation on customizing scoped overlays using cssClass and/or CSS variables
- includes a section in the Angular usage with information on where the CSS needs to be styled (globally) in order to work for an overlay
2020-05-13 11:54:11 -04:00
Brandy Carney
687122127c docs(stencil): add stencil usage to components (#21261) 2020-05-12 20:35:48 -04:00
Liam DeBeasi
bb62023a0c fix(all): overlay components no longer display outline when focused (#21226) 2020-05-07 16:33:51 -04:00
Liam DeBeasi
fc2be8d08b fix(overlays): focus overlay when presented (#20997)
fixes #19882, fixes #17126
2020-04-28 16:43:00 -04:00
Liam DeBeasi
4bd9134473 fix(modal): swipeToClose property is now reactive (#21073)
fixes #21072
2020-04-27 11:27:18 -04:00
Mike Hartington
6fac5ff7fc docs(modal): remove navParams usage 2020-04-01 10:13:43 -04:00
Liam DeBeasi
7c5661fcfb fix(modal): properly target card modal for iPadOS styles (#20884) 2020-03-26 11:19:23 -04:00
Liam DeBeasi
ae7fe543fe fix(modal): respect card-style modal spec for iPadOS (#20750)
fixes #20700
2020-03-25 13:36:54 -04:00
Manu MA
976e68da5b refactor(): minor updates for next stencil version (#20787) 2020-03-24 11:59:07 -04:00
Liam DeBeasi
879b90c3c4 chore(): add show-modal in component not in animation (#20833)
resolves #20827
2020-03-20 12:23:09 -04:00
Liam DeBeasi
0b134dfebf fix(modal): backdrop and box shadows no longer stack when opening multiple modals (#20801)
fixes #20800
2020-03-18 13:44:11 -04:00
Liam DeBeasi
8b6536098a fix(modal): backdrop is no longer tappable on card-style modal on smaller screens (#20802)
fixes #20783
2020-03-18 13:20:14 -04:00
Liam DeBeasi
7d260b96a7 fix(modal): swipeable modal now works in firefox (#20714)
fixes #20706
2020-03-06 13:19:48 -05:00
Liam DeBeasi
22d5256810 fix(modal): leave animation transitions modal completely out of viewport on ipad (#20702)
fixes #20697
2020-03-06 10:12:21 -05:00
Liam DeBeasi
b6c2a77deb fix(overlays): prevent accidental dismiss of overlays when tapping screen twice (#20683)
fixes #20608
2020-03-06 10:11:20 -05:00
Liam DeBeasi
b5310effe3 fix(modal): card style modal now adds appropriate contrast (#20604) 2020-02-24 15:30:56 -05:00
Liam DeBeasi
8d3ce8d29c fix(modal): allow swipe to close animation to be overridden (#20585)
fixes #20577
2020-02-24 11:22:07 -05:00
Liam DeBeasi
3a2d82814b fix(modal): swipeable modal styles only apply to ios (#20571)
fixes #20569
2020-02-24 11:14:43 -05:00
Liam DeBeasi
ad6fac83cb fix(modal): swipeable modal background should be able to be overridden (#20584)
fixes #20572
2020-02-21 10:05:31 -05:00
Liam DeBeasi
abf594aa61 fix(modal): presenting multiple card-style modals now adds border radius properly (#20476)
fixes #20475
2020-02-13 15:57:30 -05:00
Liam DeBeasi
86ab77a6e2 fix(modal): prevent card style modal styles from being overridden (#20470)
fixes #20469
2020-02-13 10:12:28 -05:00
Liam DeBeasi
99d6069ecb docs(): remove mention of controllers (#20444)
resolves #20453
2020-02-12 09:55:58 -05:00
Brandy Carney
23ce7c787c docs(grid): update usage to correct CSS utility classes (#20312)
resolves #20302
2020-01-27 14:23:22 -05:00
Liam DeBeasi
443cbd9eb2 fix(modal): card-style modal now opens at full width on larger devices (#20256)
fixes #20255
2020-01-21 15:31:44 -05:00
Liam DeBeasi
32a7401576 fix(animation): add property conversions for CSS Animations (#20252)
fixes #20251
2020-01-21 12:28:41 -05:00
Liam DeBeasi
8732a10757 refactor(): remove deprecated controllers (#20165)
* remove action-sheet-controller and alert-controller

* rmeove loading controller

* remove popover controller

* remove toast controller

* remove picker-controller

* remove modal controller

* remove menu controller

* update menu ctrl in tests

* run linter

* remove window refs

* Update core/src/components/loading/test/standalone/index.html

Co-Authored-By: Brandy Carney <brandyscarney@users.noreply.github.com>

* remove window from modal tests

* test

* testing timeout

* change timeout

Co-authored-by: Brandy Carney <brandyscarney@users.noreply.github.com>
2020-01-14 12:09:35 -05:00
Liam DeBeasi
5b0400d5af fix(modal): prevent double dismiss via gesture and backdrop tap on card-style modal (#20203)
* fix double dismiss via backdrop tap

* add back deleted line

* fix whitespace
2020-01-14 12:08:32 -05:00
Brandy Carney
6fc1612f42 docs(breaking): add breaking changes for v5 (#20156) 2020-01-13 11:29:29 -05:00
Mike Hartington
cf287fda7f fix(modal): card-style modal offset now matches the iOS spec (#20166)
* chore(core): better animations
Updates animations to be closer to native

* Add css alternative

Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
2020-01-09 10:57:45 -05:00
Liam DeBeasi
1cabb53650 fix(modal): account for safe area on devices with a notch (#20072)
* fix card modal on notch phones

* only apply safe area for card modal

* fix styles, fix gesture race condition

* a few more tweaks
2019-12-16 12:09:34 -05:00
Manu MA
b3b3312711 feat(modal): add card-style presentation with swipe to close gesture (#19428)
resolves #18660
2019-12-10 16:02:41 -05:00
Liam DeBeasi
32b97582cb refactor(): remove old animation utility (#19586)
Use Ionic Animations instead
2019-10-11 13:47:52 -04:00
Brandy Carney
bd22926c49 feat(overlays): add global backdrop opacity variable for animations (#19533)
adds `--backdrop-opacity` to all overlays and `--ion-backdrop-opacity` for global control

closes #16446
2019-10-10 14:34:16 -04:00
Liam DeBeasi
a7b964279b fix(overlay): ensure lifecycles fire properly (#19579) 2019-10-08 10:41:52 -04:00
Manu MA
f4818a1f3a refactor(animation): update animation API (#19529) 2019-10-02 19:52:46 +02:00