@elxjs/ui 0.0.216 → 0.0.217
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/esm2022/lib/components/carousel/carousel.component.mjs +42 -3
- package/esm2022/lib/components/carousel-bleed/carousel-bleed.component.mjs +43 -3
- package/fesm2022/elxjs-ui.mjs +83 -4
- package/fesm2022/elxjs-ui.mjs.map +1 -1
- package/lib/components/carousel/carousel.component.d.ts +7 -0
- package/lib/components/carousel-bleed/carousel-bleed.component.d.ts +7 -0
- package/package.json +1 -1
|
@@ -35,12 +35,15 @@ export declare class EluxCarouselComponent implements AfterContentInit, OnDestro
|
|
|
35
35
|
private pointerStartY;
|
|
36
36
|
private pointerDownType;
|
|
37
37
|
private activePointerId;
|
|
38
|
+
private pointerCaptured;
|
|
38
39
|
private isVerticalScroll;
|
|
39
40
|
private clicksDisabled;
|
|
40
41
|
private clickListeners;
|
|
41
42
|
private itemsChangesSubscription;
|
|
42
43
|
private hasDragged;
|
|
43
44
|
private readonly resizeHandler;
|
|
45
|
+
private readonly windowPointerUpHandler;
|
|
46
|
+
private readonly windowPointerCancelHandler;
|
|
44
47
|
private readonly transitionDuration;
|
|
45
48
|
private readonly dragThresholdPx;
|
|
46
49
|
private readonly touchDragThresholdPx;
|
|
@@ -67,8 +70,12 @@ export declare class EluxCarouselComponent implements AfterContentInit, OnDestro
|
|
|
67
70
|
onPointerMove(event: PointerEvent): void;
|
|
68
71
|
onPointerUp(event: PointerEvent): void;
|
|
69
72
|
onPointerCancel(event: PointerEvent): void;
|
|
73
|
+
private onWindowPointerUp;
|
|
74
|
+
private onWindowPointerCancel;
|
|
70
75
|
onNativeDragStart(event: DragEvent): void;
|
|
71
76
|
private resetPointerState;
|
|
77
|
+
private addWindowPointerListeners;
|
|
78
|
+
private removeWindowPointerListeners;
|
|
72
79
|
private setupClickPrevention;
|
|
73
80
|
private startDrag;
|
|
74
81
|
private updateDrag;
|
|
@@ -31,6 +31,7 @@ export declare class EluxCarouselBleedComponent implements AfterContentInit, Aft
|
|
|
31
31
|
private pointerStartY;
|
|
32
32
|
private pointerDownType;
|
|
33
33
|
private activePointerId;
|
|
34
|
+
private pointerCaptured;
|
|
34
35
|
private isVerticalScroll;
|
|
35
36
|
private hasDragged;
|
|
36
37
|
private clicksDisabled;
|
|
@@ -38,6 +39,8 @@ export declare class EluxCarouselBleedComponent implements AfterContentInit, Aft
|
|
|
38
39
|
private resizeRafId;
|
|
39
40
|
private lastLeftOffset;
|
|
40
41
|
private lastScrollbarWidth;
|
|
42
|
+
private readonly windowPointerUpHandler;
|
|
43
|
+
private readonly windowPointerCancelHandler;
|
|
41
44
|
private readonly transitionDuration;
|
|
42
45
|
private readonly dragThresholdPx;
|
|
43
46
|
private readonly touchDragThresholdPx;
|
|
@@ -60,7 +63,11 @@ export declare class EluxCarouselBleedComponent implements AfterContentInit, Aft
|
|
|
60
63
|
onPointerMove(event: PointerEvent): void;
|
|
61
64
|
onPointerUp(event: PointerEvent): void;
|
|
62
65
|
onPointerCancel(event: PointerEvent): void;
|
|
66
|
+
private onWindowPointerUp;
|
|
67
|
+
private onWindowPointerCancel;
|
|
63
68
|
private resetPointerState;
|
|
69
|
+
private addWindowPointerListeners;
|
|
70
|
+
private removeWindowPointerListeners;
|
|
64
71
|
private setupClickPrevention;
|
|
65
72
|
private startDrag;
|
|
66
73
|
private updateDrag;
|