Liam DeBeasi
9c540583b2
chore(): sync with main for rc1
2021-10-27 09:21:44 -04:00
Amanda Smith
bdb268aa12
fix(menu): added focus trapping, improved compatibility with screen readers ( #24076 )
...
* fix(menu): add basic accessibility features
* fix(menu): add focus trapping
* test(menu): add test for focus trapping
* style(menu): lint fixes
* fix(menu): focus first element inside instead of whole menu
* test(menu): fix focus trap test to account for new behavior
* refactor(menu): pull focus handler into its own prop
* test(menu): add a11y testing
* fix(menu): prevent nested aria landmark from header inside menu
* fix(menu): revert switch to nav element
* fix(menu): remove unnecessary import from test
* fix(menu): allow for custom aria-label
* fix(menu): move nested ARIA role logic to header for flexibility
* fix(item): only add focusable class if it actually is focusable
* fix(menu): allow focusing of menu itself, for a11y on menus with no focusable children
* fix(item): move isFocusable logic to state for better reactivity
* perf(item): only grab one focusable child
* fix(menu): hide page content from screen readers when menu is open
* fix(menu): fallback to focusing host element
* docs(menu): add comments
Co-authored-by: Liam DeBeasi <liamdebeasi@icloud.com >
2021-10-27 08:51:46 -04:00
Liam DeBeasi
8708095111
feat(all): add CustomEvents types to components that emit events ( #23956 )
...
resolves #22925
BREAKING CHANGE: The `RadioChangeEventDetail` interface has been removed in favor of `RadioGroupChangeEventDetail`.
2021-09-24 16:28:49 -04:00
Liam DeBeasi
c50d895370
feat(react): add custom elements bundle ( #23896 )
2021-09-13 14:53:28 -04:00
William Martin
879ab8ebda
feat(menu): add console error for incorrect usage of contentId ( #23871 )
...
resolves #23810
2021-09-08 08:54:01 -04:00
Liam DeBeasi
7315e0157b
chore(): switch to using disallow terminology ( #23618 )
2021-07-13 14:03:58 -04:00
Liam DeBeasi
f022464cf8
docs(menu, split-pane): update contentId docs to be more clear ( #23008 )
2021-03-03 10:40:39 -05:00
Adam Bradley
0de75afbef
feat(custom-elements): add experimental custom elements build ( #22863 )
...
Co-authored-by: Liam DeBeasi <liamdebeasi@icloud.com >
2021-02-11 12:08:00 -05:00
Augusto Amaral
ff39d40255
docs(vue): fix menu usage example ( #22624 )
2020-12-07 11:42:18 -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
69d72f9c17
docs(vue): fix menuController import ( #22392 )
2020-10-29 16:43:37 -04:00
Liam DeBeasi
db2cac20fb
docs(vue): update component usage examples for vue 3 ( #22050 )
2020-09-11 13:48:21 -04:00
Adam Bradley
ae47d77710
chore(api): internal updates required for stencil 2 upgrade ( #21889 )
...
Stencil 2 is removing deprecated APIs, and these are the remaining ones Ionic has been using.
2020-08-06 10:33:22 -05:00
Brandy Carney
687122127c
docs(stencil): add stencil usage to components ( #21261 )
2020-05-12 20:35:48 -04:00
Liam DeBeasi
32ecdd6753
feat(gesture): add support for blurring active inputs on gesture start ( #20638 )
...
fixes #20588
2020-04-27 10:52:14 -04:00
Liam DeBeasi
50bc212d0b
feat(menu): add parts support for backdrop, container ( #20978 )
2020-04-23 12:22:19 -04:00
Manu MA
976e68da5b
refactor(): minor updates for next stencil version ( #20787 )
2020-03-24 11:59:07 -04:00
Liam DeBeasi
3252c2f8dc
fix(menu): swipe gesture should not open menu when a modal is displayed ( #20546 )
...
fixes #20467
2020-02-19 08:57:42 -05:00
Liam DeBeasi
99d6069ecb
docs(): remove mention of controllers ( #20444 )
...
resolves #20453
2020-02-12 09:55:58 -05:00
Brandy Carney
a25007f54f
docs(react): update class usage to className ( #20366 )
2020-02-04 11:16:44 -05:00
Liam DeBeasi
b14471178e
fix(menu): fix jump when dragging open ( #20288 )
...
fixes #20286
2020-01-24 15:22:51 -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
Brandy Carney
6fc1612f42
docs(breaking): add breaking changes for v5 ( #20156 )
2020-01-13 11:29:29 -05:00
Adam Bradley
3aa47e6e2f
fix(ssr): reflect content-id attribute ( #20169 )
...
Co-authored-by: Brandy Carney <brandyscarney@users.noreply.github.com >
2020-01-08 21:36:30 -06:00
Masahiko Sakakibara
be0ab5c2ff
chore(menu): change deprecated error message ( #19717 )
2019-11-07 18:58:32 -05:00
Liam DeBeasi
7bd4412889
fix(animation): track correctly when updating CSS Animation ( #19813 )
...
* fix bug
* update menu
* fix
2019-10-31 12:50:54 -04:00
Liam DeBeasi
96a5e600e5
feat(animation): cubic-bezier easing conversion utility (experimental) ( #19788 )
...
resolves #19789
2019-10-31 10:16:33 -04:00
Liam DeBeasi
d80f45516d
feat(split-pane): convert to shadow component, add width, max-width, and min-width vars ( #19754 )
...
resolves #17088
Co-authored-by: troyanskiy <roman.rosluk@utopix.ch >
2019-10-30 14:16:39 -04:00
Liam DeBeasi
39fb8f6720
fix(menu): clicking backdrop closes menu properly ( #19785 )
2019-10-29 13:26:15 -04:00
Liam DeBeasi
e3233000c6
fix(menu): clamp out of bounds swipe value ( #19684 )
...
fixes #18927
2019-10-18 08:56:53 -04:00
Liam DeBeasi
df1bc1e627
refactor(gesture): update Gesture API to latest ( #19671 )
2019-10-17 14:18:39 -04:00
Liam DeBeasi
32b97582cb
refactor(): remove old animation utility ( #19586 )
...
Use Ionic Animations instead
2019-10-11 13:47:52 -04:00
Oori
5d6e077067
fix(css): update responsive display media queries ( #18601 )
...
BREAKING CHANGES
The responsive display classes found in the `display.css` file have had their media queries updated to better reflect how they should work. Instead of using the maximum value of that breakpoint (for `.ion-hide-{breakpoint}-down` classes) the maximum of the media query will be the minimum of that breakpoint.
fixes #18600
2019-10-10 14:34:16 -04:00
Adam Bradley
dbf6a448ff
feat(menu): default to overlay for ios menu ( #19063 )
...
resolves #18662
2019-10-10 14:34:16 -04:00
Manu MA
c8ac0266f2
refactor(): deprecate web component controllers ( #19109 )
2019-10-10 14:34:16 -04:00
Manu MA
9688f4d42f
refactor(menu): deprecate main html attribute ( #19237 )
2019-10-02 17:13:27 -04:00
Manu MA
f4818a1f3a
refactor(animation): update animation API ( #19529 )
2019-10-02 19:52:46 +02:00
Liam DeBeasi
8ca97ce42c
perf(animation): avoid ngzone with requestAnimationFrame ( #19457 )
...
* add patched zone for animations
* minify raf better
2019-09-26 11:25:30 -04:00
Liam DeBeasi
07140cf2c5
stop menu animation when closed ( #19234 )
...
fixes #19203
2019-09-03 12:02:22 -04:00
Manu MA
d1ee36b2c8
docs(all): update usage of css utils ( #19208 )
2019-08-30 18:32:21 +02:00
Manu MA
4c30878fc7
fix(menu-toggle): use ESM menuController ( #19225 )
2019-08-29 15:19:01 +02:00
Liam DeBeasi
0e18f049c2
merge release-4.8.1
...
Release 4.8.1
2019-08-27 12:20:42 -04:00
Manu MA
48a27636c7
fix(all): component reusage ( #18963 )
...
Use new stencil APIs to allow ionic elements to be reused once removed from the DOM.
fixes #18843
fixes #17344
fixes #16453
fixes #15879
fixes #15788
fixes #15484
fixes #17890
fixes #16364
2019-08-27 16:29:37 +02:00
Liam DeBeasi
b3c7436e01
fix(animation): account for negative values on menu gesture ( #19196 )
2019-08-27 10:12:52 -04:00
Manu MA
a65d897214
refactor(): deprecate web component controllers ( #19109 )
2019-08-27 14:00:45 +02:00
Liam DeBeasi
cd75428785
fix(animation): allow for quick swipes ( #19141 )
2019-08-20 19:27:24 -04:00
Liam DeBeasi
45a59d13cc
perf(animation): reduce flickering when updating css animation on lower end devices ( #19138 )
...
* fix flickering on lower end devices
* fix flickering, reduce timeout padding
* Add raf for clean up
* bug fix
* ensure animations are cleaned up
* Revert "ensure animations are cleaned up"
Thie reverts commit cf363f00be .
* fix dependnecy
* Revert "ensure animations are cleaned up"
merge
This reverts commit cf363f00be .
2019-08-20 19:03:17 -04:00
Liam DeBeasi
5a2c441b3c
fix(animation): add cubic-bezier conversions for gesture animations ( #19134 )
...
* enable linear easing switch on progressEnd
* Add easing to menu
* remove console log
* Add tests
* clean up code
* update comments
2019-08-19 13:18:49 -04:00
Liam DeBeasi
624e118b56
fix(animation): prevent animation re-run when toggling element visibility ( #19115 )
...
* clean up pause fn, rename oneTime to oneTimeCallback
* remove duration, play state, and delay from animations to prevent reruns when toggling visibility
2019-08-16 10:18:06 -04:00
Manu MA
930b271a4a
Master react ( #18998 )
...
* chore(): bump to beta 8
* fix(): IonFabButton href fix
* fix(react): support components with href attributes
* fix(): Prep work to break router out
* fix(): breaking react-router and react-core into own packages
* chore(): moving view stuff out of react-core
* chore(): dev build 8-1
* chore(): update to react beta 8
* chore(): fixes to deps
* fix(): removing IonAnchor in favor of IonRouterLink
* chore(): beta 9 release
* refactor(react): treeshake, minify, api
* wip
* fix(): react dev builds
* fix(): fixes to get app builds working again
* fix(): removing tgz file
* feat(): adding platform helper methods
* fix(): don't map attributes to props
* chore(): add test app
* feat(): copy css folder from core
* chore(): move rollup node resolve to devDependencies
* fix(): expose setupConfig()
* perf(): improve treeshaking
* fix(): removing crypto from generateUniqueId
* fix(): adding missing rollup dp
* fix(): test cleanup and fixes to make tests pass
* chore(): moving react to packages folder
* fix(): fixing react build due to move to packages
* feat(): adding missing IonInfiniteScrollContent component
* chore(): add automated testing using cypress
* fix(): adding option onDidDismiss to controller components
* 0.0.10 react
* wip
* fix(): removing deprecated React calls
* fix(): exporting setupConfig from core
* chore(): bump to 4.8.0-rc.0
* chore(): updating test-app deps and fixing test
* chore(): updates to react readme
2019-08-13 14:24:44 -06:00