@ionic/angular 7.5.3-dev.11698858201.14165f23 → 7.5.3-dev.11699994454.1cbf1283

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/directives/control-value-accessors/index.d.ts +0 -1
  2. package/esm2020/common/providers/nav-controller.mjs +3 -3
  3. package/esm2020/directives/angular-component-lib/utils.mjs +1 -9
  4. package/esm2020/directives/control-value-accessors/index.mjs +1 -2
  5. package/esm2020/index.mjs +1 -2
  6. package/esm2020/ionic-module.mjs +2 -5
  7. package/esm2020/standalone/directives/angular-component-lib/utils.mjs +1 -9
  8. package/esm2020/standalone/directives/checkbox.mjs +40 -28
  9. package/esm2020/standalone/directives/datetime.mjs +42 -30
  10. package/esm2020/standalone/directives/input.mjs +42 -29
  11. package/esm2020/standalone/directives/radio-group.mjs +40 -28
  12. package/esm2020/standalone/directives/radio.mjs +27 -41
  13. package/esm2020/standalone/directives/range.mjs +40 -28
  14. package/esm2020/standalone/directives/searchbar.mjs +42 -29
  15. package/esm2020/standalone/directives/segment.mjs +40 -28
  16. package/esm2020/standalone/directives/select.mjs +42 -29
  17. package/esm2020/standalone/directives/textarea.mjs +42 -29
  18. package/esm2020/standalone/directives/toggle.mjs +40 -28
  19. package/fesm2015/ionic-angular-common.mjs +2 -2
  20. package/fesm2015/ionic-angular-common.mjs.map +1 -1
  21. package/fesm2015/ionic-angular-standalone.mjs +273 -279
  22. package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
  23. package/fesm2015/ionic-angular.mjs +1 -50
  24. package/fesm2015/ionic-angular.mjs.map +1 -1
  25. package/fesm2020/ionic-angular-common.mjs +2 -2
  26. package/fesm2020/ionic-angular-common.mjs.map +1 -1
  27. package/fesm2020/ionic-angular-standalone.mjs +273 -279
  28. package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
  29. package/fesm2020/ionic-angular.mjs +1 -50
  30. package/fesm2020/ionic-angular.mjs.map +1 -1
  31. package/index.d.ts +0 -1
  32. package/ionic-module.d.ts +11 -12
  33. package/package.json +2 -2
  34. package/standalone/directives/checkbox.d.ts +3 -1
  35. package/standalone/directives/datetime.d.ts +3 -1
  36. package/standalone/directives/input.d.ts +3 -1
  37. package/standalone/directives/radio-group.d.ts +3 -1
  38. package/standalone/directives/radio.d.ts +5 -5
  39. package/standalone/directives/range.d.ts +3 -1
  40. package/standalone/directives/searchbar.d.ts +3 -1
  41. package/standalone/directives/segment.d.ts +3 -1
  42. package/standalone/directives/select.d.ts +3 -1
  43. package/standalone/directives/textarea.d.ts +3 -1
  44. package/standalone/directives/toggle.d.ts +3 -1
  45. package/directives/control-value-accessors/radio-value-accessor.d.ts +0 -9
  46. package/esm2020/directives/control-value-accessors/radio-value-accessor.mjs +0 -42
@@ -796,9 +796,9 @@ class NavController {
796
796
  if (router) {
797
797
  router.events.subscribe((ev) => {
798
798
  if (ev instanceof NavigationStart) {
799
+ // restoredState is set if the browser back/forward button is used
799
800
  const id = ev.restoredState ? ev.restoredState.navigationId : ev.id;
800
- this.guessDirection = id < this.lastNavId ? 'back' : 'forward';
801
- this.guessAnimation = !ev.restoredState ? this.guessDirection : undefined;
801
+ this.guessDirection = this.guessAnimation = id < this.lastNavId ? 'back' : 'forward';
802
802
  this.lastNavId = this.guessDirection === 'forward' ? ev.id : id;
803
803
  }
804
804
  });