ngx-ui-tour-core
Advanced tools
Comparing version 8.1.2 to 9.0.0
@@ -7,2 +7,3 @@ import { ElementRef } from '@angular/core'; | ||
element: ElementRef; | ||
getIsScrollingEnabled?(): boolean; | ||
} |
import { TourService } from './tour.service'; | ||
import * as i0 from "@angular/core"; | ||
export declare class TourHotkeyListenerComponent { | ||
tourService: TourService; | ||
readonly tourService: TourService; | ||
constructor(tourService: TourService); | ||
@@ -13,3 +13,3 @@ /** | ||
static ɵfac: i0.ɵɵFactoryDeclaration<TourHotkeyListenerComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<TourHotkeyListenerComponent, "tour-hotkey-listener", never, {}, {}, never, ["*"]>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<TourHotkeyListenerComponent, "tour-hotkey-listener", never, {}, {}, never, ["*"], false>; | ||
} |
@@ -6,2 +6,3 @@ import { RendererFactory2 } from '@angular/core'; | ||
import { Subject, Observable } from 'rxjs'; | ||
import { TourBackdropService } from './tour-backdrop.service'; | ||
import * as i0 from "@angular/core"; | ||
@@ -25,3 +26,3 @@ export interface IStepOption { | ||
delayAfterNavigation?: number; | ||
goToNextOnAnchorClick?: boolean; | ||
nextOnAnchorClick?: boolean; | ||
} | ||
@@ -36,2 +37,3 @@ export declare enum TourState { | ||
private readonly rendererFactory; | ||
private readonly backdrop; | ||
stepShow$: Subject<T>; | ||
@@ -60,3 +62,3 @@ stepHide$: Subject<T>; | ||
private renderer; | ||
constructor(router: Router, rendererFactory: RendererFactory2); | ||
constructor(router: Router, rendererFactory: RendererFactory2, backdrop: TourBackdropService); | ||
initialize(steps: T[], stepDefaults?: T): void; | ||
@@ -91,4 +93,6 @@ disableHotkeys(): void; | ||
private hideStep; | ||
private scrollToAnchor; | ||
private toggleBackdrop; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<TourService<any>, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<TourService<any>>; | ||
} |
{ | ||
"name": "ngx-ui-tour-core", | ||
"version": "8.1.2", | ||
"version": "9.0.0", | ||
"description": "UI tour library for Angular 12+", | ||
@@ -18,5 +18,5 @@ "keywords": [ | ||
"peerDependencies": { | ||
"@angular/common": ">=12.0.0 <14.0.0", | ||
"@angular/core": ">=12.0.0 <14.0.0", | ||
"@angular/router": ">=12.0.0 <14.0.0", | ||
"@angular/common": "^14.0.0", | ||
"@angular/core": "^14.0.0", | ||
"@angular/router": "^14.0.0", | ||
"rxjs": ">=6.0.0", | ||
@@ -33,3 +33,3 @@ "typescript": ">=3.8.0" | ||
"fesm2015": "fesm2015/ngx-ui-tour-core.mjs", | ||
"typings": "ngx-ui-tour-core.d.ts", | ||
"typings": "index.d.ts", | ||
"exports": { | ||
@@ -40,3 +40,3 @@ "./package.json": { | ||
".": { | ||
"types": "./ngx-ui-tour-core.d.ts", | ||
"types": "./index.d.ts", | ||
"esm2020": "./esm2020/ngx-ui-tour-core.mjs", | ||
@@ -43,0 +43,0 @@ "es2020": "./fesm2020/ngx-ui-tour-core.mjs", |
@@ -0,1 +1,17 @@ | ||
<a name="9.0.0"></a> | ||
# [9.0.0](https://github.com/hakimio/ngx-ui-tour) (2022-09-02) | ||
### Features | ||
- Support for Angular 14 | ||
- Navigation to next step with right arrow key is now disabled when current step has `nextOnAnchorClick` option enabled. | ||
### Fixes | ||
- When `nextOnAnchorClick` step option is enabled, it should only start listening to anchor click event after | ||
checking if the anchor element has been registered. | ||
### Breaking changes | ||
- `goToNextOnAnchorClick` step config was renamed to `nextOnAnchorClick` | ||
- Angular v13 and lower versions are no longer supported | ||
<a name="8.1.2"></a> | ||
@@ -2,0 +18,0 @@ |
@@ -40,9 +40,7 @@ ![Ngx UI Tour](https://user-images.githubusercontent.com/768105/130578626-8b6cbefb-217c-4943-8661-22459a7b67a3.png) | ||
### Angular and RxJS versions | ||
### Angular and RxJS version compatibility | ||
Since libraries built with Angular Ivy partial compilation mode can only be used with Angular v12 or higher, | ||
ngx-ui-tour v8 no longer supports older Angular versions. | ||
| Angular | RxJS | ngx-ui-tour | | ||
|---------|------|-------------| | ||
| 14 | 6, 7 | 9 | | ||
| 12-13 | 6, 7 | 8 | | ||
@@ -49,0 +47,0 @@ | 9-12 | 6 | 7 | |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
239757
1764
349