@clr/angular 15.12.5 → 15.13.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/clarity.api.md +10 -3
- package/esm2020/data/datagrid/datagrid-row.mjs +3 -3
- package/esm2020/modal/modal.mjs +8 -3
- package/esm2020/wizard/wizard.mjs +29 -6
- package/fesm2015/clr-angular.mjs +37 -9
- package/fesm2015/clr-angular.mjs.map +1 -1
- package/fesm2020/clr-angular.mjs +37 -9
- package/fesm2020/clr-angular.mjs.map +1 -1
- package/modal/modal.d.ts +2 -1
- package/package.json +2 -2
- package/wizard/wizard.d.ts +12 -2
package/modal/modal.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export declare class ClrModal implements OnChanges, OnDestroy {
|
|
|
19
19
|
stopClose: boolean;
|
|
20
20
|
altClose: EventEmitter<boolean>;
|
|
21
21
|
labelledBy: string;
|
|
22
|
+
bypassScrollService: boolean;
|
|
22
23
|
constructor(_scrollingService: ScrollingService, commonStrings: ClrCommonStringsService, modalStackService: ModalStackService);
|
|
23
24
|
ngOnChanges(changes: {
|
|
24
25
|
[propName: string]: SimpleChange;
|
|
@@ -28,5 +29,5 @@ export declare class ClrModal implements OnChanges, OnDestroy {
|
|
|
28
29
|
close(): void;
|
|
29
30
|
fadeDone(e: AnimationEvent): void;
|
|
30
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrModal, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClrModal, "clr-modal", never, { "_open": "clrModalOpen"; "closable": "clrModalClosable"; "closeButtonAriaLabel": "clrModalCloseButtonAriaLabel"; "size": "clrModalSize"; "staticBackdrop": "clrModalStaticBackdrop"; "skipAnimation": "clrModalSkipAnimation"; "stopClose": "clrModalPreventClose"; "labelledBy": "clrModalLabelledById"; }, { "_openChanged": "clrModalOpenChange"; "altClose": "clrModalAlternateClose"; }, never, [".modal-nav", ".modal-title", ".modal-body", ".modal-footer"], false, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrModal, "clr-modal", never, { "_open": "clrModalOpen"; "closable": "clrModalClosable"; "closeButtonAriaLabel": "clrModalCloseButtonAriaLabel"; "size": "clrModalSize"; "staticBackdrop": "clrModalStaticBackdrop"; "skipAnimation": "clrModalSkipAnimation"; "stopClose": "clrModalPreventClose"; "labelledBy": "clrModalLabelledById"; "bypassScrollService": "clrModalOverrideScrollService"; }, { "_openChanged": "clrModalOpenChange"; "altClose": "clrModalAlternateClose"; }, never, [".modal-nav", ".modal-title", ".modal-body", ".modal-footer"], false, never>;
|
|
32
33
|
}
|
package/package.json
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@angular/common": "15 || 16",
|
|
23
23
|
"@angular/core": "15 || 16",
|
|
24
24
|
"@cds/core": "^5.6.0 || ^6.0.0",
|
|
25
|
-
"@clr/ui": "15.
|
|
25
|
+
"@clr/ui": "15.13.0"
|
|
26
26
|
},
|
|
27
27
|
"module": "fesm2015/clr-angular.mjs",
|
|
28
28
|
"es2020": "fesm2020/clr-angular.mjs",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"tslib": "^2.3.0"
|
|
49
49
|
},
|
|
50
|
-
"version": "15.
|
|
50
|
+
"version": "15.13.0"
|
|
51
51
|
}
|
package/wizard/wizard.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
|
|
|
15
15
|
pageCollection: PageCollectionService;
|
|
16
16
|
buttonService: ButtonHubService;
|
|
17
17
|
headerActionService: HeaderActionService;
|
|
18
|
+
private elementRef;
|
|
18
19
|
/**
|
|
19
20
|
* Set the aria-label for the stepnav section of the wizard. Set using `[clrWizardStepnavAriaLabel]` input.
|
|
20
21
|
*/
|
|
@@ -28,6 +29,12 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
|
|
|
28
29
|
* in the top right corner. Set using `[clrWizardClosable]` input.
|
|
29
30
|
*/
|
|
30
31
|
closable: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Used to communicate to the underlying modal that animations are not
|
|
34
|
+
* wanted. Primary use is for the display of static/inline wizards.
|
|
35
|
+
* Set using `[clrWizardPreventModalAnimation]` input.
|
|
36
|
+
*/
|
|
37
|
+
_stopModalAnimations: boolean;
|
|
31
38
|
/**
|
|
32
39
|
* Emits when the wizard is opened or closed.
|
|
33
40
|
* Listen via `(clrWizardOpenChange)` event.
|
|
@@ -78,7 +85,7 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
|
|
|
78
85
|
private _disableStepnav;
|
|
79
86
|
private differ;
|
|
80
87
|
private subscriptions;
|
|
81
|
-
constructor(platformId: any, commonStrings: ClrCommonStringsService, navService: WizardNavigationService, pageCollection: PageCollectionService, buttonService: ButtonHubService, headerActionService: HeaderActionService, differs: IterableDiffers);
|
|
88
|
+
constructor(platformId: any, commonStrings: ClrCommonStringsService, navService: WizardNavigationService, pageCollection: PageCollectionService, buttonService: ButtonHubService, headerActionService: HeaderActionService, elementRef: ElementRef<HTMLElement>, differs: IterableDiffers);
|
|
82
89
|
/**
|
|
83
90
|
* Resets page completed states when navigating backwards.
|
|
84
91
|
* Set using `[clrWizardForceForwardNavigation]` input.
|
|
@@ -131,6 +138,8 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
|
|
|
131
138
|
set currentPage(page: ClrWizardPage);
|
|
132
139
|
get isLast(): boolean;
|
|
133
140
|
get isFirst(): boolean;
|
|
141
|
+
get isInline(): boolean;
|
|
142
|
+
get stopModalAnimations(): string;
|
|
134
143
|
ngAfterContentInit(): void;
|
|
135
144
|
ngDoCheck(): void;
|
|
136
145
|
ngOnDestroy(): void;
|
|
@@ -229,7 +238,8 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
|
|
|
229
238
|
private listenForFinishedChanges;
|
|
230
239
|
private listenForPageChanges;
|
|
231
240
|
private updateNavOnPageChanges;
|
|
241
|
+
private initializeButtons;
|
|
232
242
|
private emitWizardFinished;
|
|
233
243
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrWizard, never>;
|
|
234
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClrWizard, "clr-wizard", never, { "stepnavAriaLabel": "clrWizardStepnavAriaLabel"; "size": "clrWizardSize"; "closable": "clrWizardClosable"; "forceForward": "clrWizardForceForwardNavigation"; "clrWizardOpen": "clrWizardOpen"; "stopNext": "clrWizardPreventDefaultNext"; "stopCancel": "clrWizardPreventDefaultCancel"; "stopNavigation": "clrWizardPreventNavigation"; "disableStepnav": "clrWizardDisableStepnav"; }, { "_openChanged": "clrWizardOpenChange"; "onCancel": "clrWizardOnCancel"; "wizardFinished": "clrWizardOnFinish"; "onReset": "clrWizardOnReset"; "currentPageChanged": "clrWizardCurrentPageChanged"; "onMoveNext": "clrWizardOnNext"; "onMovePrevious": "clrWizardOnPrevious"; }, ["wizardTitle", "pages", "headerActions"], ["clr-wizard-title", "clr-wizard-header-action", "*", "clr-wizard-button"], false, never>;
|
|
244
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrWizard, "clr-wizard", never, { "stepnavAriaLabel": "clrWizardStepnavAriaLabel"; "size": "clrWizardSize"; "closable": "clrWizardClosable"; "_stopModalAnimations": "clrWizardPreventModalAnimation"; "forceForward": "clrWizardForceForwardNavigation"; "clrWizardOpen": "clrWizardOpen"; "stopNext": "clrWizardPreventDefaultNext"; "stopCancel": "clrWizardPreventDefaultCancel"; "stopNavigation": "clrWizardPreventNavigation"; "disableStepnav": "clrWizardDisableStepnav"; }, { "_openChanged": "clrWizardOpenChange"; "onCancel": "clrWizardOnCancel"; "wizardFinished": "clrWizardOnFinish"; "onReset": "clrWizardOnReset"; "currentPageChanged": "clrWizardCurrentPageChanged"; "onMoveNext": "clrWizardOnNext"; "onMovePrevious": "clrWizardOnPrevious"; }, ["wizardTitle", "pages", "headerActions"], ["clr-wizard-title", "clr-wizard-header-action", "*", "clr-wizard-button"], false, never>;
|
|
235
245
|
}
|