@clr/angular 16.0.2 → 16.1.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 +14 -7
- package/data/tree-view/tree-node.d.ts +1 -0
- package/esm2020/data/datagrid/datagrid-row.mjs +3 -3
- package/esm2020/data/tree-view/tree-node.mjs +6 -3
- package/esm2020/forms/common/wrapped-control.mjs +6 -4
- package/esm2020/modal/modal.mjs +8 -3
- package/esm2020/popover/signpost/signpost-content.mjs +3 -3
- package/esm2020/popover/signpost/signpost-trigger.mjs +6 -14
- package/esm2020/popover/signpost/signpost.mjs +13 -3
- package/esm2020/wizard/wizard.mjs +29 -6
- package/fesm2015/clr-angular.mjs +64 -28
- package/fesm2015/clr-angular.mjs.map +1 -1
- package/fesm2020/clr-angular.mjs +64 -28
- package/fesm2020/clr-angular.mjs.map +1 -1
- package/forms/common/wrapped-control.d.ts +1 -1
- package/modal/modal.d.ts +2 -1
- package/package.json +2 -2
- package/popover/signpost/signpost-trigger.d.ts +1 -4
- package/wizard/wizard.d.ts +12 -2
|
@@ -21,7 +21,7 @@ export declare class WrappedFormControl<W extends DynamicWrapper> implements OnI
|
|
|
21
21
|
private markControlService;
|
|
22
22
|
private containerIdService;
|
|
23
23
|
private _containerInjector;
|
|
24
|
-
constructor(vcr: ViewContainerRef, wrapperType: Type<W>, injector: Injector, ngControl: NgControl, renderer: Renderer2, el: ElementRef);
|
|
24
|
+
constructor(vcr: ViewContainerRef, wrapperType: Type<W>, injector: Injector, ngControl: NgControl | null, renderer: Renderer2, el: ElementRef);
|
|
25
25
|
get id(): string;
|
|
26
26
|
set id(value: string);
|
|
27
27
|
ngOnInit(): void;
|
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": ">= 6.7.0",
|
|
25
|
-
"@clr/ui": "16.0
|
|
25
|
+
"@clr/ui": "16.1.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": "16.0
|
|
50
|
+
"version": "16.1.0"
|
|
51
51
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ClrCommonStringsService } from '../../utils/i18n/common-strings.service';
|
|
3
2
|
import { ClrPopoverToggleService } from '../../utils/popover/providers/popover-toggle.service';
|
|
4
3
|
import { SignpostFocusManager } from './providers/signpost-focus-manager.service';
|
|
5
4
|
import { SignpostIdService } from './providers/signpost-id.service';
|
|
@@ -7,7 +6,6 @@ import * as i0 from "@angular/core";
|
|
|
7
6
|
export declare class ClrSignpostTrigger implements OnDestroy {
|
|
8
7
|
private toggleService;
|
|
9
8
|
private el;
|
|
10
|
-
commonStrings: ClrCommonStringsService;
|
|
11
9
|
private signpostIdService;
|
|
12
10
|
private signpostFocusManager;
|
|
13
11
|
private platformId;
|
|
@@ -16,7 +14,7 @@ export declare class ClrSignpostTrigger implements OnDestroy {
|
|
|
16
14
|
isOpen: boolean;
|
|
17
15
|
private document;
|
|
18
16
|
private subscriptions;
|
|
19
|
-
constructor(toggleService: ClrPopoverToggleService, el: ElementRef,
|
|
17
|
+
constructor(toggleService: ClrPopoverToggleService, el: ElementRef, signpostIdService: SignpostIdService, signpostFocusManager: SignpostFocusManager, document: any, platformId: any);
|
|
20
18
|
ngOnInit(): void;
|
|
21
19
|
ngOnDestroy(): void;
|
|
22
20
|
/**********
|
|
@@ -25,7 +23,6 @@ export declare class ClrSignpostTrigger implements OnDestroy {
|
|
|
25
23
|
* click handler for the ClrSignpost trigger button used to hide/show ClrSignpostContent.
|
|
26
24
|
*/
|
|
27
25
|
onSignpostTriggerClick(event: Event): void;
|
|
28
|
-
private addDefaultAriaLabel;
|
|
29
26
|
private focusOnClose;
|
|
30
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrSignpostTrigger, never>;
|
|
31
28
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrSignpostTrigger, "[clrSignpostTrigger]", never, {}, {}, never, never, false, never>;
|
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
|
}
|