@clr/angular 16.3.6 → 16.4.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/accordion/accordion-panel.d.ts +2 -0
- package/clarity.api.md +20 -2
- package/data/tree-view/recursive-children.d.ts +3 -0
- package/esm2020/accordion/accordion-panel.mjs +9 -3
- package/esm2020/accordion/stepper/stepper-panel.mjs +3 -3
- package/esm2020/data/tree-view/recursive-children.mjs +9 -3
- package/esm2020/forms/combobox/combobox.mjs +5 -2
- package/esm2020/forms/combobox/options.mjs +6 -3
- package/esm2020/forms/datepicker/daypicker.mjs +3 -3
- package/esm2020/forms/datepicker/monthpicker.mjs +3 -2
- package/esm2020/forms/datepicker/yearpicker.mjs +3 -2
- package/esm2020/forms/radio/radio-container.mjs +22 -4
- package/esm2020/layout/tabs/tab-content.mjs +2 -2
- package/esm2020/layout/tabs/tab-link.directive.mjs +1 -1
- package/esm2020/modal/modal.mjs +3 -3
- package/esm2020/utils/animations/expandable-animation/expandable-animation.mjs +14 -6
- package/esm2020/utils/i18n/common-strings.default.mjs +4 -1
- package/esm2020/utils/i18n/common-strings.interface.mjs +1 -1
- package/fesm2015/clr-angular.mjs +79 -29
- package/fesm2015/clr-angular.mjs.map +1 -1
- package/fesm2020/clr-angular.mjs +76 -29
- package/fesm2020/clr-angular.mjs.map +1 -1
- package/forms/combobox/options.d.ts +1 -0
- package/forms/radio/radio-container.d.ts +6 -2
- package/layout/tabs/tab-link.directive.d.ts +1 -1
- package/package.json +5 -5
- package/utils/animations/expandable-animation/expandable-animation.d.ts +4 -2
- package/utils/i18n/common-strings.interface.d.ts +2 -0
|
@@ -26,6 +26,7 @@ export declare class ClrOptions<T> implements AfterViewInit, LoadingListener, On
|
|
|
26
26
|
* Tests if the list of options is empty, meaning it doesn't contain any items
|
|
27
27
|
*/
|
|
28
28
|
get emptyOptions(): boolean;
|
|
29
|
+
get noResultsElementId(): string;
|
|
29
30
|
ngAfterViewInit(): void;
|
|
30
31
|
ngOnDestroy(): void;
|
|
31
32
|
searchText(input: string): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterContentInit, QueryList } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, ElementRef, QueryList } from '@angular/core';
|
|
2
2
|
import { ClrAbstractContainer } from '../common/abstract-container';
|
|
3
3
|
import { IfControlStateService } from '../common/if-control-state/if-control-state.service';
|
|
4
4
|
import { ControlClassService } from '../common/providers/control-class.service';
|
|
@@ -12,13 +12,17 @@ export declare class ClrRadioContainer extends ClrAbstractContainer implements A
|
|
|
12
12
|
protected ngControlService: NgControlService;
|
|
13
13
|
protected ifControlStateService: IfControlStateService;
|
|
14
14
|
role: string;
|
|
15
|
+
ariaLabelledBy: string;
|
|
15
16
|
radios: QueryList<ClrRadio>;
|
|
17
|
+
groupLabel: ElementRef<HTMLElement>;
|
|
16
18
|
private inline;
|
|
19
|
+
private _generatedId;
|
|
17
20
|
constructor(layoutService: LayoutService, controlClassService: ControlClassService, ngControlService: NgControlService, ifControlStateService: IfControlStateService);
|
|
18
21
|
get clrInline(): boolean | string;
|
|
19
22
|
set clrInline(value: boolean | string);
|
|
20
23
|
ngAfterContentInit(): void;
|
|
21
24
|
private setAriaRoles;
|
|
25
|
+
private setAriaLabelledBy;
|
|
22
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrRadioContainer, [{ optional: true; }, null, null, null]>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClrRadioContainer, "clr-radio-container", never, { "clrInline": "clrInline"; }, {}, ["radios"], ["label", "clr-radio-wrapper", "clr-control-helper", "clr-control-error", "clr-control-success"], false, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrRadioContainer, "clr-radio-container", never, { "clrInline": "clrInline"; }, {}, ["groupLabel", "radios"], ["label", "clr-radio-wrapper", "clr-control-helper", "clr-control-error", "clr-control-success"], false, never>;
|
|
24
28
|
}
|
|
@@ -5,7 +5,7 @@ import { TabsService } from './providers/tabs.service';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class ClrTabLink {
|
|
7
7
|
ifActiveService: IfActiveService;
|
|
8
|
-
|
|
8
|
+
readonly id: number;
|
|
9
9
|
el: ElementRef;
|
|
10
10
|
private cfr;
|
|
11
11
|
private viewContainerRef;
|
package/package.json
CHANGED
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"url": "https://github.com/vmware-clarity/ng-clarity/issues"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@angular/cdk": "15 || 16",
|
|
22
|
-
"@angular/common": "15 || 16",
|
|
23
|
-
"@angular/core": "15 || 16",
|
|
21
|
+
"@angular/cdk": "15 || 16 || 17",
|
|
22
|
+
"@angular/common": "15 || 16 || 17",
|
|
23
|
+
"@angular/core": "15 || 16 || 17",
|
|
24
24
|
"@cds/core": ">= 6.7.0",
|
|
25
|
-
"@clr/ui": "16.
|
|
25
|
+
"@clr/ui": "16.4.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.
|
|
50
|
+
"version": "16.4.0"
|
|
51
51
|
}
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
2
|
import { DomAdapter } from '../../dom-adapter/dom-adapter';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ClrExpandableAnimation {
|
|
5
5
|
private element;
|
|
6
6
|
private domAdapter;
|
|
7
|
+
private renderer;
|
|
7
8
|
clrExpandTrigger: any;
|
|
8
9
|
startHeight: number;
|
|
9
|
-
constructor(element: ElementRef, domAdapter: DomAdapter);
|
|
10
|
+
constructor(element: ElementRef, domAdapter: DomAdapter, renderer: Renderer2);
|
|
10
11
|
get expandAnimation(): {
|
|
11
12
|
value: any;
|
|
12
13
|
params: {
|
|
13
14
|
startHeight: number;
|
|
14
15
|
};
|
|
15
16
|
};
|
|
17
|
+
animationStart(): void;
|
|
16
18
|
animationDone(): void;
|
|
17
19
|
updateStartHeight(): void;
|
|
18
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrExpandableAnimation, never>;
|