@coreui/angular-pro 4.2.12 → 4.2.13

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.
@@ -44,6 +44,12 @@ export declare class CarouselComponent implements OnInit, OnDestroy, AfterConten
44
44
  * @type {'hover' | 'focus' | 'click'}
45
45
  */
46
46
  pause: Triggers | Triggers[] | false;
47
+ /**
48
+ * Support left/right swipe interactions on touchscreen devices.
49
+ * @type boolean
50
+ * @default true
51
+ */
52
+ touch: boolean;
47
53
  /**
48
54
  * Set type of the transition.
49
55
  * @type {'slide' | 'crossfade'}
@@ -66,6 +72,7 @@ export declare class CarouselComponent implements OnInit, OnDestroy, AfterConten
66
72
  private timerId;
67
73
  private intersectingSubscription?;
68
74
  private activeItemInterval;
75
+ private swipeSubscription?;
69
76
  constructor(config: CarouselConfig, hostElement: ElementRef, carouselService: CarouselService, carouselState: CarouselState, intersectionService: IntersectionService, listenersService: ListenersService);
70
77
  ngOnInit(): void;
71
78
  ngOnDestroy(): void;
@@ -79,6 +86,7 @@ export declare class CarouselComponent implements OnInit, OnDestroy, AfterConten
79
86
  resetTimer(): void;
80
87
  private carouselStateSubscribe;
81
88
  private intersectionServiceSubscribe;
89
+ private swipeSubscribe;
82
90
  static ɵfac: i0.ɵɵFactoryDeclaration<CarouselComponent, never>;
83
- static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "c-carousel", never, { "activeIndex": "activeIndex"; "animate": "animate"; "dark": "dark"; "direction": "direction"; "interval": "interval"; "pause": "pause"; "transition": "transition"; "wrap": "wrap"; }, { "itemChange": "itemChange"; }, never, ["*"], false>;
91
+ static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "c-carousel", never, { "activeIndex": "activeIndex"; "animate": "animate"; "dark": "dark"; "direction": "direction"; "interval": "interval"; "pause": "pause"; "touch": "touch"; "transition": "transition"; "wrap": "wrap"; }, { "itemChange": "itemChange"; }, never, ["*"], false>;
84
92
  }
@@ -1,5 +1,6 @@
1
1
  import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
2
  import { BooleanInput } from '@angular/cdk/coercion';
3
+ import { FocusMonitor } from '@angular/cdk/a11y';
3
4
  import { Options, Placement } from '@popperjs/core';
4
5
  import { DropdownService } from '../dropdown.service';
5
6
  import { DropdownMenuDirective } from '../dropdown-menu/dropdown-menu.directive';
@@ -49,6 +50,7 @@ export declare class DropdownComponent implements AfterContentInit, OnDestroy, O
49
50
  private renderer;
50
51
  private ngZone;
51
52
  private changeDetectorRef;
53
+ private focusMonitor;
52
54
  dropdownService: DropdownService;
53
55
  static ngAcceptInputType_dark: BooleanInput;
54
56
  static ngAcceptInputType_visible: BooleanInput;
@@ -113,7 +115,7 @@ export declare class DropdownComponent implements AfterContentInit, OnDestroy, O
113
115
  private dropdownStateSubscription;
114
116
  private popperInstance;
115
117
  private listeners;
116
- constructor(document: Document, elementRef: ElementRef, renderer: Renderer2, ngZone: NgZone, changeDetectorRef: ChangeDetectorRef, dropdownService: DropdownService);
118
+ constructor(document: Document, elementRef: ElementRef, renderer: Renderer2, ngZone: NgZone, changeDetectorRef: ChangeDetectorRef, focusMonitor: FocusMonitor, dropdownService: DropdownService);
117
119
  get hostClasses(): any;
118
120
  get hostStyle(): any;
119
121
  private clickedTarget;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreui/angular-pro",
3
- "version": "4.2.12",
3
+ "version": "4.2.13",
4
4
  "description": "CoreUI Pro Components Library for Angular",
5
5
  "homepage": "https://coreui.io/angular",
6
6
  "author": {
@@ -16,7 +16,7 @@
16
16
  }
17
17
  ],
18
18
  "dependencies": {
19
- "@popperjs/core": "~2.11.5",
19
+ "@popperjs/core": "~2.11.6",
20
20
  "tslib": "^2.3.0"
21
21
  },
22
22
  "peerDependencies": {