@ionic/angular 8.6.7 → 8.7.0

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.
package/index.d.ts CHANGED
@@ -11,7 +11,7 @@ export { IonModal } from './directives/overlays/modal';
11
11
  export { IonPopover } from './directives/overlays/popover';
12
12
  export * from './directives/proxies';
13
13
  export * from './directives/validators';
14
- export { DomController, NavController, Config, Platform, AngularDelegate, NavParams, IonicRouteStrategy, ViewWillEnter, ViewWillLeave, ViewDidEnter, ViewDidLeave, } from '@ionic/angular/common';
14
+ export { DomController, NavController, Config, Platform, AngularDelegate, NavParams, IonicRouteStrategy, IonModalToken, ViewWillEnter, ViewWillLeave, ViewDidEnter, ViewDidLeave, } from '@ionic/angular/common';
15
15
  export { AlertController } from './providers/alert-controller';
16
16
  export { AnimationController } from './providers/animation-controller';
17
17
  export { ActionSheetController } from './providers/action-sheet-controller';
@@ -23,4 +23,4 @@ export { PickerController } from './providers/picker-controller';
23
23
  export { PopoverController } from './providers/popover-controller';
24
24
  export { ToastController } from './providers/toast-controller';
25
25
  export { IonicModule } from './ionic-module';
26
- export { createAnimation, createGesture, iosTransitionAnimation, mdTransitionAnimation, IonicSlides, getPlatforms, isPlatform, getTimeGivenProgression, getIonPageElement, Animation, AnimationBuilder, AnimationCallbackOptions, AnimationDirection, AnimationFill, AnimationKeyFrames, AnimationLifecycle, Gesture, GestureConfig, GestureDetail, NavComponentWithProps, SpinnerTypes, AccordionGroupCustomEvent, AccordionGroupChangeEventDetail, BreadcrumbCustomEvent, BreadcrumbCollapsedClickEventDetail, ActionSheetOptions, ActionSheetButton, AlertOptions, AlertInput, AlertButton, BackButtonEvent, CheckboxCustomEvent, CheckboxChangeEventDetail, DatetimeCustomEvent, DatetimeChangeEventDetail, InfiniteScrollCustomEvent, InputCustomEvent, InputChangeEventDetail, InputOtpCustomEvent, InputOtpChangeEventDetail, InputOtpCompleteEventDetail, InputOtpInputEventDetail, ItemReorderEventDetail, ItemReorderCustomEvent, ItemSlidingCustomEvent, IonicSafeString, LoadingOptions, MenuCustomEvent, ModalOptions, NavCustomEvent, PickerOptions, PickerButton, PickerColumn, PickerColumnOption, PlatformConfig, PopoverOptions, RadioGroupCustomEvent, RadioGroupChangeEventDetail, RangeCustomEvent, RangeChangeEventDetail, RangeKnobMoveStartEventDetail, RangeKnobMoveEndEventDetail, RefresherCustomEvent, RefresherEventDetail, RouterEventDetail, RouterCustomEvent, ScrollBaseCustomEvent, ScrollBaseDetail, ScrollDetail, ScrollCustomEvent, SearchbarCustomEvent, SearchbarChangeEventDetail, SearchbarInputEventDetail, SegmentChangeEventDetail, SegmentCustomEvent, SegmentValue, SelectChangeEventDetail, SelectCustomEvent, TabsCustomEvent, TextareaChangeEventDetail, TextareaCustomEvent, ToastOptions, ToastButton, ToastLayout, ToggleChangeEventDetail, ToggleCustomEvent, TransitionOptions, openURL, } from '@ionic/core';
26
+ export { createAnimation, createGesture, iosTransitionAnimation, mdTransitionAnimation, IonicSlides, getPlatforms, isPlatform, getTimeGivenProgression, getIonPageElement, Animation, AnimationBuilder, AnimationCallbackOptions, AnimationDirection, AnimationFill, AnimationKeyFrames, AnimationLifecycle, Gesture, GestureConfig, GestureDetail, NavComponentWithProps, SpinnerTypes, AccordionGroupCustomEvent, AccordionGroupChangeEventDetail, BreadcrumbCustomEvent, BreadcrumbCollapsedClickEventDetail, ActionSheetOptions, ActionSheetButton, AlertOptions, AlertInput, AlertButton, BackButtonEvent, CheckboxCustomEvent, CheckboxChangeEventDetail, DatetimeCustomEvent, DatetimeChangeEventDetail, InfiniteScrollCustomEvent, InputCustomEvent, InputChangeEventDetail, InputOtpCustomEvent, InputOtpChangeEventDetail, InputOtpCompleteEventDetail, InputOtpInputEventDetail, ItemReorderEventDetail, ItemReorderCustomEvent, ItemSlidingCustomEvent, IonicSafeString, LoadingOptions, MenuCustomEvent, ModalOptions, NavCustomEvent, PickerOptions, PickerButton, PickerColumn, PickerColumnOption, PlatformConfig, PopoverOptions, RadioGroupCustomEvent, RadioGroupChangeEventDetail, RangeCustomEvent, RangeChangeEventDetail, RangeKnobMoveStartEventDetail, RangeKnobMoveEndEventDetail, RefresherCustomEvent, RefresherEventDetail, ReorderMoveCustomEvent, ReorderMoveEventDetail, ReorderEndCustomEvent, ReorderEndEventDetail, RouterEventDetail, RouterCustomEvent, ScrollBaseCustomEvent, ScrollBaseDetail, ScrollDetail, ScrollCustomEvent, SearchbarCustomEvent, SearchbarChangeEventDetail, SearchbarInputEventDetail, SegmentChangeEventDetail, SegmentCustomEvent, SegmentValue, SelectChangeEventDetail, SelectCustomEvent, TabsCustomEvent, TextareaChangeEventDetail, TextareaCustomEvent, ToastOptions, ToastButton, ToastLayout, ToggleChangeEventDetail, ToggleCustomEvent, TransitionOptions, openURL, } from '@ionic/core';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ionic/angular",
3
- "version": "8.6.7",
3
+ "version": "8.7.0",
4
4
  "description": "Angular specific wrappers for @ionic/core",
5
5
  "keywords": [
6
6
  "ionic",
@@ -50,8 +50,8 @@
50
50
  }
51
51
  },
52
52
  "dependencies": {
53
- "@ionic/core": "8.6.7",
54
- "ionicons": "^7.0.0",
53
+ "@ionic/core": "8.7.0",
54
+ "ionicons": "^8.0.13",
55
55
  "jsonc-parser": "^3.0.0",
56
56
  "tslib": "^2.3.0"
57
57
  },
@@ -12,6 +12,8 @@ import type { PickerColumnChangeEventDetail as IIonPickerColumnPickerColumnChang
12
12
  import type { OverlayEventDetail as IIonPickerLegacyOverlayEventDetail } from '@ionic/core/components';
13
13
  import type { RefresherEventDetail as IIonRefresherRefresherEventDetail } from '@ionic/core/components';
14
14
  import type { ItemReorderEventDetail as IIonReorderGroupItemReorderEventDetail } from '@ionic/core/components';
15
+ import type { ReorderMoveEventDetail as IIonReorderGroupReorderMoveEventDetail } from '@ionic/core/components';
16
+ import type { ReorderEndEventDetail as IIonReorderGroupReorderEndEventDetail } from '@ionic/core/components';
15
17
  import type { SegmentViewScrollEvent as IIonSegmentViewSegmentViewScrollEvent } from '@ionic/core/components';
16
18
  import type { OverlayEventDetail as IIonToastOverlayEventDetail } from '@ionic/core/components';
17
19
  import * as i0 from "@angular/core";
@@ -788,11 +790,29 @@ export declare class IonReorderGroup {
788
790
  }
789
791
  export declare interface IonReorderGroup extends Components.IonReorderGroup {
790
792
  /**
791
- * Event that needs to be listened to in order to complete the reorder action.
793
+ * Event that needs to be listened to in order to complete the reorder action. @deprecated Use `ionReorderEnd` instead. If you are accessing
794
+ `event.detail.from` or `event.detail.to` and relying on them
795
+ being different you should now add checks as they are always emitted
796
+ in `ionReorderEnd`, even when they are the same.
797
+ */
798
+ ionItemReorder: EventEmitter<CustomEvent<IIonReorderGroupItemReorderEventDetail>>;
799
+ /**
800
+ * Event that is emitted when the reorder gesture starts.
801
+ */
802
+ ionReorderStart: EventEmitter<CustomEvent<void>>;
803
+ /**
804
+ * Event that is emitted as the reorder gesture moves.
805
+ */
806
+ ionReorderMove: EventEmitter<CustomEvent<IIonReorderGroupReorderMoveEventDetail>>;
807
+ /**
808
+ * Event that is emitted when the reorder gesture ends.
809
+ The from and to properties are always available, regardless of
810
+ if the reorder gesture moved the item. If the item did not change
811
+ from its start position, the from and to properties will be the same.
792
812
  Once the event has been emitted, the `complete()` method then needs
793
813
  to be called in order to finalize the reorder action.
794
814
  */
795
- ionItemReorder: EventEmitter<CustomEvent<IIonReorderGroupItemReorderEventDetail>>;
815
+ ionReorderEnd: EventEmitter<CustomEvent<IIonReorderGroupReorderEndEventDetail>>;
796
816
  }
797
817
  export declare class IonRippleEffect {
798
818
  protected z: NgZone;
@@ -15,8 +15,8 @@ export { ModalController } from './providers/modal-controller';
15
15
  export { PickerController } from './providers/picker-controller';
16
16
  export { PopoverController } from './providers/popover-controller';
17
17
  export { ToastController } from './providers/toast-controller';
18
- export { DomController, NavController, Config, Platform, NavParams, IonicRouteStrategy, ViewWillEnter, ViewDidEnter, ViewWillLeave, ViewDidLeave, } from '@ionic/angular/common';
18
+ export { DomController, NavController, Config, Platform, NavParams, IonModalToken, IonicRouteStrategy, ViewWillEnter, ViewDidEnter, ViewWillLeave, ViewDidLeave, } from '@ionic/angular/common';
19
19
  export { IonNav } from './navigation/nav';
20
20
  export { IonCheckbox, IonDatetime, IonInput, IonInputOtp, IonIcon, IonRadioGroup, IonRange, IonSearchbar, IonSegment, IonSelect, IonTextarea, IonToggle, } from './directives';
21
21
  export * from './directives/proxies';
22
- export { createAnimation, createGesture, iosTransitionAnimation, mdTransitionAnimation, IonicSlides, getPlatforms, isPlatform, getTimeGivenProgression, Animation, AnimationBuilder, AnimationCallbackOptions, AnimationDirection, AnimationFill, AnimationKeyFrames, AnimationLifecycle, Gesture, GestureConfig, GestureDetail, NavComponentWithProps, SpinnerTypes, AccordionGroupCustomEvent, AccordionGroupChangeEventDetail, BreadcrumbCustomEvent, BreadcrumbCollapsedClickEventDetail, ActionSheetOptions, ActionSheetButton, AlertOptions, AlertInput, AlertButton, BackButtonEvent, CheckboxCustomEvent, CheckboxChangeEventDetail, DatetimeCustomEvent, DatetimeChangeEventDetail, InfiniteScrollCustomEvent, InputCustomEvent, InputChangeEventDetail, InputOtpCustomEvent, InputOtpChangeEventDetail, InputOtpCompleteEventDetail, InputOtpInputEventDetail, ItemReorderEventDetail, ItemReorderCustomEvent, ItemSlidingCustomEvent, IonicSafeString, LoadingOptions, MenuCustomEvent, ModalOptions, NavCustomEvent, PickerOptions, PickerButton, PickerColumn, PickerColumnOption, PlatformConfig, PopoverOptions, RadioGroupCustomEvent, RadioGroupChangeEventDetail, RangeCustomEvent, RangeChangeEventDetail, RangeKnobMoveStartEventDetail, RangeKnobMoveEndEventDetail, RefresherCustomEvent, RefresherEventDetail, RouterEventDetail, RouterCustomEvent, ScrollBaseCustomEvent, ScrollBaseDetail, ScrollDetail, ScrollCustomEvent, SearchbarCustomEvent, SearchbarChangeEventDetail, SearchbarInputEventDetail, SegmentChangeEventDetail, SegmentCustomEvent, SegmentValue, SelectChangeEventDetail, SelectCustomEvent, TabsCustomEvent, TextareaChangeEventDetail, TextareaCustomEvent, ToastOptions, ToastButton, ToastLayout, ToggleChangeEventDetail, ToggleCustomEvent, } from '@ionic/core/components';
22
+ export { createAnimation, createGesture, iosTransitionAnimation, mdTransitionAnimation, IonicSlides, getPlatforms, isPlatform, getTimeGivenProgression, Animation, AnimationBuilder, AnimationCallbackOptions, AnimationDirection, AnimationFill, AnimationKeyFrames, AnimationLifecycle, Gesture, GestureConfig, GestureDetail, NavComponentWithProps, SpinnerTypes, AccordionGroupCustomEvent, AccordionGroupChangeEventDetail, BreadcrumbCustomEvent, BreadcrumbCollapsedClickEventDetail, ActionSheetOptions, ActionSheetButton, AlertOptions, AlertInput, AlertButton, BackButtonEvent, CheckboxCustomEvent, CheckboxChangeEventDetail, DatetimeCustomEvent, DatetimeChangeEventDetail, InfiniteScrollCustomEvent, InputCustomEvent, InputChangeEventDetail, InputOtpCustomEvent, InputOtpChangeEventDetail, InputOtpCompleteEventDetail, InputOtpInputEventDetail, ItemReorderEventDetail, ItemReorderCustomEvent, ItemSlidingCustomEvent, IonicSafeString, LoadingOptions, MenuCustomEvent, ModalOptions, NavCustomEvent, PickerOptions, PickerButton, PickerColumn, PickerColumnOption, PlatformConfig, PopoverOptions, RadioGroupCustomEvent, RadioGroupChangeEventDetail, RangeCustomEvent, RangeChangeEventDetail, RangeKnobMoveStartEventDetail, RangeKnobMoveEndEventDetail, RefresherCustomEvent, RefresherEventDetail, ReorderMoveCustomEvent, ReorderMoveEventDetail, ReorderEndCustomEvent, ReorderEndEventDetail, RouterEventDetail, RouterCustomEvent, ScrollBaseCustomEvent, ScrollBaseDetail, ScrollDetail, ScrollCustomEvent, SearchbarCustomEvent, SearchbarChangeEventDetail, SearchbarInputEventDetail, SegmentChangeEventDetail, SegmentCustomEvent, SegmentValue, SelectChangeEventDetail, SelectCustomEvent, TabsCustomEvent, TextareaChangeEventDetail, TextareaCustomEvent, ToastOptions, ToastButton, ToastLayout, ToggleChangeEventDetail, ToggleCustomEvent, } from '@ionic/core/components';