@clr/angular 13.0.0-next.0 → 13.0.2
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/emphasis/alert/alert.d.ts +2 -1
- package/emphasis/alert/providers/multi-alert.service.d.ts +2 -1
- package/esm2020/accordion/accordion-panel.mjs +3 -3
- package/esm2020/accordion/models/accordion.model.mjs +4 -3
- package/esm2020/accordion/stepper/stepper-panel.mjs +3 -3
- package/esm2020/button/button-loading/loading-button.mjs +6 -3
- package/esm2020/data/datagrid/built-in/filters/datagrid-string-filter.mjs +3 -1
- package/esm2020/data/datagrid/datagrid-row-detail.mjs +11 -6
- package/esm2020/data/tree-view/tree-node.mjs +3 -4
- package/esm2020/emphasis/alert/alert-item.mjs +6 -4
- package/esm2020/emphasis/alert/alert.mjs +17 -5
- package/esm2020/emphasis/alert/providers/multi-alert.service.mjs +23 -6
- package/esm2020/forms/password/password-container.mjs +8 -2
- package/esm2020/layout/nav/header.mjs +24 -14
- package/esm2020/layout/vertical-nav/vertical-nav-group.mjs +8 -4
- package/esm2020/modal/modal-body.mjs +27 -10
- package/esm2020/modal/modal.mjs +3 -3
- package/esm2020/popover/common/abstract-popover.mjs +16 -27
- package/esm2020/utils/i18n/common-strings.default.mjs +20 -6
- package/esm2020/utils/i18n/common-strings.interface.mjs +1 -1
- package/esm2020/wizard/providers/wizard-navigation.service.mjs +2 -2
- package/esm2020/wizard/wizard-page.mjs +2 -2
- package/esm2020/wizard/wizard-stepnav-item.mjs +14 -8
- package/esm2020/wizard/wizard.mjs +9 -3
- package/fesm2015/clr-angular.mjs +714 -619
- package/fesm2015/clr-angular.mjs.map +1 -1
- package/fesm2020/clr-angular.mjs +718 -625
- package/fesm2020/clr-angular.mjs.map +1 -1
- package/forms/password/password-container.d.ts +1 -1
- package/layout/nav/header.d.ts +2 -0
- package/layout/vertical-nav/vertical-nav-group.d.ts +2 -1
- package/modal/modal-body.d.ts +6 -1
- package/package.json +2 -2
- package/popover/common/abstract-popover.d.ts +1 -4
- package/utils/i18n/common-strings.interface.d.ts +34 -0
- package/wizard/wizard-stepnav-item.d.ts +3 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c) 2016-
|
|
2
|
+
* Copyright (c) 2016-2022 VMware, Inc. All Rights Reserved.
|
|
3
3
|
* This software is released under MIT license.
|
|
4
4
|
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
5
|
*/
|
package/layout/nav/header.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export declare class ClrHeader implements OnDestroy {
|
|
|
12
12
|
responsiveNavCodes: typeof ResponsiveNavCodes;
|
|
13
13
|
private _subscription;
|
|
14
14
|
constructor(responsiveNavService: ResponsiveNavigationService, commonStrings: ClrCommonStringsService);
|
|
15
|
+
get responsiveNavCommonString(): string;
|
|
16
|
+
get responsiveOverflowCommonString(): string;
|
|
15
17
|
resetNavTriggers(): void;
|
|
16
18
|
initializeNavTriggers(navList: number[]): void;
|
|
17
19
|
closeOpenNav(): void;
|
|
@@ -16,6 +16,7 @@ export declare class ClrVerticalNavGroup implements AfterContentInit, OnDestroy
|
|
|
16
16
|
private wasExpanded;
|
|
17
17
|
get expanded(): boolean;
|
|
18
18
|
set expanded(value: boolean);
|
|
19
|
+
groupLabel: string;
|
|
19
20
|
set userExpandedInput(value: boolean | string);
|
|
20
21
|
expandedChange: EventEmitter<boolean>;
|
|
21
22
|
private _subscriptions;
|
|
@@ -29,5 +30,5 @@ export declare class ClrVerticalNavGroup implements AfterContentInit, OnDestroy
|
|
|
29
30
|
ngAfterContentInit(): void;
|
|
30
31
|
ngOnDestroy(): void;
|
|
31
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrVerticalNavGroup, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClrVerticalNavGroup, "clr-vertical-nav-group", never, { "userExpandedInput": "clrVerticalNavGroupExpanded"; }, { "expandedChange": "clrVerticalNavGroupExpandedChange"; }, never, ["[clrVerticalNavLink]", "[clrVerticalNavIcon]", "*", "[clrIfExpanded], clr-vertical-nav-group-children"]>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrVerticalNavGroup, "clr-vertical-nav-group", never, { "groupLabel": "clrVerticalNavGroupLabel"; "userExpandedInput": "clrVerticalNavGroupExpanded"; }, { "expandedChange": "clrVerticalNavGroupExpandedChange"; }, never, ["[clrVerticalNavLink]", "[clrVerticalNavIcon]", "*", "[clrIfExpanded], clr-vertical-nav-group-children"]>;
|
|
33
34
|
}
|
package/modal/modal-body.d.ts
CHANGED
|
@@ -7,10 +7,15 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
* the overflow scroll being focused.
|
|
8
8
|
*/
|
|
9
9
|
export declare class ClrModalBody implements OnDestroy {
|
|
10
|
+
private readonly renderer;
|
|
11
|
+
private readonly host;
|
|
10
12
|
private tabindex;
|
|
11
13
|
private unlisteners;
|
|
12
|
-
constructor(
|
|
14
|
+
constructor(renderer: Renderer2, host: ElementRef<HTMLElement>, ngZone: NgZone);
|
|
13
15
|
ngOnDestroy(): void;
|
|
16
|
+
private addTabIndex;
|
|
17
|
+
private removeTabIndex;
|
|
18
|
+
private addOrRemoveTabIndex;
|
|
14
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrModalBody, never>;
|
|
15
20
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrModalBody, ".modal-body", never, {}, {}, never>;
|
|
16
21
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clr/angular",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.2",
|
|
4
4
|
"description": "Angular components for Clarity",
|
|
5
5
|
"homepage": "https://clarity.design",
|
|
6
6
|
"keywords": [
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@angular/common": "^13.0.0",
|
|
23
23
|
"@angular/core": "^13.0.0",
|
|
24
24
|
"@cds/core": "next || ^6.0.0 || ^5.6.0",
|
|
25
|
-
"@clr/ui": "13.0.
|
|
25
|
+
"@clr/ui": "13.0.2"
|
|
26
26
|
},
|
|
27
27
|
"schematics": "./schematics/collection.json",
|
|
28
28
|
"ng-update": {
|
|
@@ -23,13 +23,10 @@ export declare abstract class AbstractPopover implements AfterViewChecked, OnDes
|
|
|
23
23
|
ngOnDestroy(): void;
|
|
24
24
|
get isOffScreen(): boolean;
|
|
25
25
|
closeOnOutsideClick: boolean;
|
|
26
|
-
private hostClickListener;
|
|
27
|
-
private documentClickListener;
|
|
28
26
|
private documentESCListener;
|
|
29
|
-
private ignoredElementClickListener;
|
|
30
|
-
private ignore;
|
|
31
27
|
private attachESCListener;
|
|
32
28
|
private detachESCListener;
|
|
29
|
+
private closeOnOutsideClickCallback;
|
|
33
30
|
private attachOutsideClickListener;
|
|
34
31
|
private detachOutsideClickListener;
|
|
35
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractPopover, [null, { skipSelf: true; }]>;
|
|
@@ -205,6 +205,10 @@ export interface ClrCommonStrings {
|
|
|
205
205
|
* Stack View: Record has changed
|
|
206
206
|
*/
|
|
207
207
|
stackViewChanged: string;
|
|
208
|
+
responsiveNavToggleOpen: string;
|
|
209
|
+
responsiveNavToggleClose: string;
|
|
210
|
+
responsiveNavOverflowOpen: string;
|
|
211
|
+
responsiveNavOverflowClose: string;
|
|
208
212
|
verticalNavToggle: string;
|
|
209
213
|
verticalNavGroupToggle: string;
|
|
210
214
|
/**
|
|
@@ -215,10 +219,26 @@ export interface ClrCommonStrings {
|
|
|
215
219
|
timelineStepSuccess: string;
|
|
216
220
|
timelineStepError: string;
|
|
217
221
|
timelineStepProcessing: string;
|
|
222
|
+
/**
|
|
223
|
+
* @deprecated Should be removed in v14
|
|
224
|
+
*/
|
|
218
225
|
dategridExpandableBeginningOf?: string;
|
|
226
|
+
/**
|
|
227
|
+
* @deprecated Should be removed in v14
|
|
228
|
+
*/
|
|
219
229
|
dategridExpandableEndOf?: string;
|
|
230
|
+
/**
|
|
231
|
+
* @deprecated Should be removed in v14
|
|
232
|
+
*/
|
|
220
233
|
dategridExpandableRowContent?: string;
|
|
234
|
+
/**
|
|
235
|
+
* @deprecated Should be removed in v14
|
|
236
|
+
*/
|
|
221
237
|
dategridExpandableRowsHelperText?: string;
|
|
238
|
+
datagridExpandableBeginningOf?: string;
|
|
239
|
+
datagridExpandableEndOf?: string;
|
|
240
|
+
datagridExpandableRowContent?: string;
|
|
241
|
+
datagridExpandableRowsHelperText?: string;
|
|
222
242
|
/**
|
|
223
243
|
* Combobox Searching Text
|
|
224
244
|
*/
|
|
@@ -228,4 +248,18 @@ export interface ClrCommonStrings {
|
|
|
228
248
|
comboboxSelected: string;
|
|
229
249
|
comboboxNoResults: string;
|
|
230
250
|
comboboxOpen: string;
|
|
251
|
+
/**
|
|
252
|
+
* Wizard: Screen-reader text for completed step.
|
|
253
|
+
*/
|
|
254
|
+
wizardStepSuccess: string;
|
|
255
|
+
/**
|
|
256
|
+
* Wizard: Screen-reader text for step with error.
|
|
257
|
+
*/
|
|
258
|
+
wizardStepError: string;
|
|
259
|
+
/**
|
|
260
|
+
* Password Input
|
|
261
|
+
* Screen-reader text for the hide/show password field button.
|
|
262
|
+
*/
|
|
263
|
+
passwordHide: string;
|
|
264
|
+
passwordShow: string;
|
|
231
265
|
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { PageCollectionService } from './providers/page-collection.service';
|
|
2
2
|
import { WizardNavigationService } from './providers/wizard-navigation.service';
|
|
3
3
|
import { ClrWizardPage } from './wizard-page';
|
|
4
|
+
import { ClrCommonStringsService } from '../utils';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ClrWizardStepnavItem {
|
|
6
7
|
navService: WizardNavigationService;
|
|
7
8
|
pageCollection: PageCollectionService;
|
|
9
|
+
commonStrings: ClrCommonStringsService;
|
|
8
10
|
page: ClrWizardPage;
|
|
9
|
-
constructor(navService: WizardNavigationService, pageCollection: PageCollectionService);
|
|
11
|
+
constructor(navService: WizardNavigationService, pageCollection: PageCollectionService, commonStrings: ClrCommonStringsService);
|
|
10
12
|
private pageGuard;
|
|
11
13
|
get id(): string;
|
|
12
14
|
get stepAriaCurrent(): string;
|