@clr/angular 12.0.8 → 12.0.12
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/bundles/clr-angular.umd.js +55 -27
- package/bundles/clr-angular.umd.js.map +1 -1
- package/clr-angular.metadata.json +1 -1
- package/esm2015/accordion/accordion-panel.js +2 -2
- package/esm2015/accordion/models/accordion.model.js +4 -3
- package/esm2015/accordion/stepper/stepper-panel.js +2 -2
- package/esm2015/data/datagrid/datagrid-row-detail.js +9 -5
- package/esm2015/data/tree-view/tree-node.js +2 -3
- package/esm2015/emphasis/alert/alert-item.js +4 -3
- package/esm2015/modal/modal-body.js +27 -10
- package/esm2015/modal/modal.js +2 -2
- package/esm2015/popover/common/abstract-popover.js +11 -2
- package/esm2015/utils/i18n/common-strings.default.js +5 -5
- package/esm2015/utils/i18n/common-strings.interface.js +1 -1
- package/fesm2015/clr-angular.js +58 -27
- package/fesm2015/clr-angular.js.map +1 -1
- package/modal/modal-body.d.ts +6 -1
- package/package.json +2 -2
- package/popover/common/abstract-popover.d.ts +2 -0
- package/utils/i18n/common-strings.interface.d.ts +16 -0
package/modal/modal-body.d.ts
CHANGED
|
@@ -6,8 +6,13 @@ import { ElementRef, NgZone, OnDestroy, Renderer2 } from '@angular/core';
|
|
|
6
6
|
* the overflow scroll being focused.
|
|
7
7
|
*/
|
|
8
8
|
export declare class ClrModalBody implements OnDestroy {
|
|
9
|
+
private readonly renderer;
|
|
10
|
+
private readonly host;
|
|
9
11
|
private tabindex;
|
|
10
12
|
private unlisteners;
|
|
11
|
-
constructor(
|
|
13
|
+
constructor(renderer: Renderer2, host: ElementRef<HTMLElement>, ngZone: NgZone);
|
|
12
14
|
ngOnDestroy(): void;
|
|
15
|
+
private addTabIndex;
|
|
16
|
+
private removeTabIndex;
|
|
17
|
+
private addOrRemoveTabIndex;
|
|
13
18
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clr/angular",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.12",
|
|
4
4
|
"description": "Angular components for Clarity",
|
|
5
5
|
"homepage": "https://clarity.design",
|
|
6
6
|
"keywords": [
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@angular/common": "^12.0.0",
|
|
23
23
|
"@angular/core": "^12.0.0",
|
|
24
24
|
"@cds/core": "^5.0.0",
|
|
25
|
-
"@clr/ui": "12.0.
|
|
25
|
+
"@clr/ui": "12.0.12"
|
|
26
26
|
},
|
|
27
27
|
"schematics": "./schematics/collection.json",
|
|
28
28
|
"ng-update": {
|
|
@@ -11,6 +11,7 @@ export declare abstract class AbstractPopover implements AfterViewChecked, OnDes
|
|
|
11
11
|
private popoverInstance;
|
|
12
12
|
private subscription;
|
|
13
13
|
private updateAnchor;
|
|
14
|
+
private recentlyOpened;
|
|
14
15
|
protected anchorElem: any;
|
|
15
16
|
protected anchorPoint: Point;
|
|
16
17
|
protected popoverPoint: Point;
|
|
@@ -31,4 +32,5 @@ export declare abstract class AbstractPopover implements AfterViewChecked, OnDes
|
|
|
31
32
|
private detachESCListener;
|
|
32
33
|
private attachOutsideClickListener;
|
|
33
34
|
private detachOutsideClickListener;
|
|
35
|
+
private setRecentlyOpened;
|
|
34
36
|
}
|
|
@@ -215,10 +215,26 @@ export interface ClrCommonStrings {
|
|
|
215
215
|
timelineStepSuccess: string;
|
|
216
216
|
timelineStepError: string;
|
|
217
217
|
timelineStepProcessing: string;
|
|
218
|
+
/**
|
|
219
|
+
* @deprecated Should be removed in v14
|
|
220
|
+
*/
|
|
218
221
|
dategridExpandableBeginningOf?: string;
|
|
222
|
+
/**
|
|
223
|
+
* @deprecated Should be removed in v14
|
|
224
|
+
*/
|
|
219
225
|
dategridExpandableEndOf?: string;
|
|
226
|
+
/**
|
|
227
|
+
* @deprecated Should be removed in v14
|
|
228
|
+
*/
|
|
220
229
|
dategridExpandableRowContent?: string;
|
|
230
|
+
/**
|
|
231
|
+
* @deprecated Should be removed in v14
|
|
232
|
+
*/
|
|
221
233
|
dategridExpandableRowsHelperText?: string;
|
|
234
|
+
datagridExpandableBeginningOf?: string;
|
|
235
|
+
datagridExpandableEndOf?: string;
|
|
236
|
+
datagridExpandableRowContent?: string;
|
|
237
|
+
datagridExpandableRowsHelperText?: string;
|
|
222
238
|
/**
|
|
223
239
|
* Combobox Searching Text
|
|
224
240
|
*/
|