@tedi-design-system/angular 6.2.0-rc.6 → 6.2.0-rc.7
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/fesm2022/tedi-design-system-angular-tedi.mjs +64 -6
- package/fesm2022/tedi-design-system-angular-tedi.mjs.map +1 -1
- package/package.json +1 -1
- package/tedi/components/content/carousel/carousel-content/carousel-content.component.d.ts +22 -1
- package/tedi/components/content/carousel/carousel-content/carousel-content.component.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -15,7 +15,9 @@ export declare class CarouselContentComponent implements AfterViewInit, OnDestro
|
|
|
15
15
|
readonly translationService: TediTranslationService;
|
|
16
16
|
private readonly breakpointService;
|
|
17
17
|
private readonly host;
|
|
18
|
+
private readonly liveAnnouncer;
|
|
18
19
|
readonly track: import("@angular/core").Signal<ElementRef<HTMLDivElement>>;
|
|
20
|
+
readonly slideElements: import("@angular/core").Signal<readonly ElementRef<HTMLDivElement>[]>;
|
|
19
21
|
readonly slides: import("@angular/core").Signal<readonly CarouselSlideDirective[]>;
|
|
20
22
|
readonly trackIndex: import("@angular/core").WritableSignal<number>;
|
|
21
23
|
readonly animate: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -26,6 +28,11 @@ export declare class CarouselContentComponent implements AfterViewInit, OnDestro
|
|
|
26
28
|
readonly buffer: import("@angular/core").Signal<number>;
|
|
27
29
|
readonly slideIndex: import("@angular/core").Signal<number>;
|
|
28
30
|
readonly renderedActiveIndex: import("@angular/core").Signal<number>;
|
|
31
|
+
/**
|
|
32
|
+
* Checks if a slide at the given rendered index is currently visible in the viewport.
|
|
33
|
+
* Used to determine which slides should be accessible to screen readers.
|
|
34
|
+
*/
|
|
35
|
+
isSlideVisible(renderedIndex: number): boolean;
|
|
29
36
|
readonly renderedIndices: import("@angular/core").Signal<number[]>;
|
|
30
37
|
readonly slideFlex: import("@angular/core").Signal<string>;
|
|
31
38
|
readonly classes: import("@angular/core").Signal<string>;
|
|
@@ -36,11 +43,13 @@ export declare class CarouselContentComponent implements AfterViewInit, OnDestro
|
|
|
36
43
|
}>;
|
|
37
44
|
locked: boolean;
|
|
38
45
|
dragging: boolean;
|
|
46
|
+
private pendingFocus;
|
|
39
47
|
private startX;
|
|
40
48
|
private startIndex;
|
|
41
49
|
private ro?;
|
|
42
50
|
private wheelTimeout?;
|
|
43
51
|
private scrollDelta;
|
|
52
|
+
onScroll(): void;
|
|
44
53
|
onWheel(event: WheelEvent): void;
|
|
45
54
|
onKeyDown(event: KeyboardEvent): void;
|
|
46
55
|
onPointerDown(ev: PointerEvent): void;
|
|
@@ -50,9 +59,21 @@ export declare class CarouselContentComponent implements AfterViewInit, OnDestro
|
|
|
50
59
|
ngOnDestroy(): void;
|
|
51
60
|
next(): void;
|
|
52
61
|
prev(): void;
|
|
53
|
-
goToIndex(index: number
|
|
62
|
+
goToIndex(index: number, options?: {
|
|
63
|
+
focusSlide?: boolean;
|
|
64
|
+
}): void;
|
|
65
|
+
/**
|
|
66
|
+
* Focuses the currently active slide for screen reader users.
|
|
67
|
+
* Uses preventScroll to avoid breaking carousel layout.
|
|
68
|
+
*/
|
|
69
|
+
focusActiveSlide(): void;
|
|
54
70
|
onTransitionEnd(e: TransitionEvent): void;
|
|
55
71
|
lockNavigation(): void;
|
|
72
|
+
/**
|
|
73
|
+
* Announces the current slide position to screen readers via LiveAnnouncer.
|
|
74
|
+
* Called after navigation to inform users of the slide change.
|
|
75
|
+
*/
|
|
76
|
+
announceSlideChange(): void;
|
|
56
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselContentComponent, never>;
|
|
57
78
|
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselContentComponent, "tedi-carousel-content", never, { "slidesPerView": { "alias": "slidesPerView"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; "fade": { "alias": "fade"; "required": false; "isSignal": true; }; "transitionMs": { "alias": "transitionMs"; "required": false; "isSignal": true; }; }, {}, ["slides"], never, true, never>;
|
|
58
79
|
}
|
package/tedi/components/content/carousel/carousel-content/carousel-content.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carousel-content.component.d.ts","sourceRoot":"","sources":["../../../../../../tedi/components/content/carousel/carousel-content/carousel-content.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,
|
|
1
|
+
{"version":3,"file":"carousel-content.component.d.ts","sourceRoot":"","sources":["../../../../../../tedi/components/content/carousel/carousel-content/carousel-content.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EAOV,aAAa,EACb,SAAS,EAIV,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAEL,eAAe,EAEhB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;;AAE9D,qBAiBa,wBAAyB,YAAW,aAAa,EAAE,SAAS;IACvE,4EAA4E;IAC5E,QAAQ,CAAC,aAAa,qIAGpB;IAEF,+BAA+B;IAC/B,QAAQ,CAAC,GAAG,qIAGV;IAEF,uFAAuF;IACvF,QAAQ,CAAC,IAAI,+CAAgB;IAE7B,gCAAgC;IAChC,QAAQ,CAAC,YAAY,8CAAc;IAEnC,QAAQ,CAAC,kBAAkB,yBAAkC;IAC7D,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAA6B;IAC/D,OAAO,CAAC,QAAQ,CAAC,IAAI,CAA+C;IACpE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAyB;IAEvD,QAAQ,CAAC,KAAK,6DAA2D;IACzE,QAAQ,CAAC,aAAa,wEAAqD;IAC3E,QAAQ,CAAC,MAAM,oEAA2C;IAE1D,QAAQ,CAAC,UAAU,iDAAa;IAChC,QAAQ,CAAC,OAAO,kDAAiB;IACjC,QAAQ,CAAC,aAAa,iDAAa;IACnC,OAAO,CAAC,QAAQ,CAAC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