@clr/angular 15.3.0 → 15.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/button/button-group/button-group.d.ts +1 -1
- package/clarity.api.md +51 -34
- package/data/datagrid/datagrid-action-overflow.d.ts +1 -1
- package/data/datagrid/datagrid-column-toggle.d.ts +1 -1
- package/data/datagrid/datagrid-column.d.ts +1 -1
- package/esm2020/button/button-group/button-group.mjs +4 -4
- package/esm2020/data/datagrid/datagrid-action-overflow.mjs +4 -4
- package/esm2020/data/datagrid/datagrid-column-toggle.mjs +4 -4
- package/esm2020/data/datagrid/datagrid-column.mjs +4 -4
- package/esm2020/forms/combobox/combobox.mjs +7 -4
- package/esm2020/forms/datepicker/date-container.mjs +4 -4
- package/esm2020/layout/nav/nav-level.mjs +9 -17
- package/esm2020/layout/tabs/tabs.mjs +4 -4
- package/esm2020/popover/dropdown/dropdown.mjs +4 -4
- package/esm2020/popover/signpost/signpost.mjs +4 -4
- package/esm2020/popover/tooltip/tooltip.mjs +4 -4
- package/esm2020/utils/focus/focus-trap/index.mjs +7 -0
- package/esm2020/utils/focus/focus-trap/standalone-cdk-trap-focus.directive.mjs +19 -0
- package/esm2020/utils/index.mjs +2 -1
- package/esm2020/utils/popover/index.mjs +2 -1
- package/esm2020/utils/popover/popover-host.directive.mjs +5 -5
- package/esm2020/wizard/wizard-custom-tags.mjs +3 -3
- package/esm2020/wizard/wizard.mjs +8 -8
- package/fesm2015/clr-angular.mjs +63 -48
- package/fesm2015/clr-angular.mjs.map +1 -1
- package/fesm2020/clr-angular.mjs +63 -48
- package/fesm2020/clr-angular.mjs.map +1 -1
- package/forms/combobox/combobox.d.ts +1 -1
- package/forms/datepicker/date-container.d.ts +1 -1
- package/layout/nav/nav-level.d.ts +4 -8
- package/layout/tabs/tabs.d.ts +1 -1
- package/package.json +4 -4
- package/popover/dropdown/dropdown.d.ts +1 -1
- package/popover/signpost/signpost.d.ts +1 -1
- package/popover/tooltip/tooltip.d.ts +1 -1
- package/utils/focus/focus-trap/index.d.ts +1 -0
- package/utils/focus/focus-trap/standalone-cdk-trap-focus.directive.d.ts +6 -0
- package/utils/index.d.ts +1 -0
- package/utils/popover/index.d.ts +1 -0
- package/utils/popover/popover-host.directive.d.ts +3 -3
- package/wizard/wizard-custom-tags.d.ts +1 -1
- package/wizard/wizard.d.ts +1 -1
|
@@ -81,5 +81,5 @@ export declare class ClrCombobox<T> extends WrappedFormControl<ClrComboboxContai
|
|
|
81
81
|
ngAfterContentInit(): void;
|
|
82
82
|
ngAfterViewInit(): void;
|
|
83
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrCombobox<any>, [null, null, { optional: true; self: true; }, null, null, null, null, null, null, { optional: true; }, { optional: true; }, null, null, null]>;
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClrCombobox<any>, "clr-combobox", never, { "placeholder": "placeholder"; "multiSelect": "clrMulti"; }, { "clrInputChange": "clrInputChange"; "clrOpenChange": "clrOpenChange"; "clrSelectionChange": "clrSelectionChange"; }, ["optionSelected", "options"], ["*"], false, [{ directive: typeof i1.
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrCombobox<any>, "clr-combobox", never, { "placeholder": "placeholder"; "multiSelect": "clrMulti"; }, { "clrInputChange": "clrInputChange"; "clrOpenChange": "clrOpenChange"; "clrSelectionChange": "clrSelectionChange"; }, ["optionSelected", "options"], ["*"], false, [{ directive: typeof i1.ClrPopoverHostDirective; inputs: {}; outputs: {}; }]>;
|
|
85
85
|
}
|
|
@@ -56,5 +56,5 @@ export declare class ClrDateContainer extends ClrAbstractContainer implements Af
|
|
|
56
56
|
*/
|
|
57
57
|
private initializeCalendar;
|
|
58
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDateContainer, [null, null, null, null, null, null, null, null, null, null, { optional: true; }, null, null]>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClrDateContainer, "clr-date-container", never, { "clrPosition": "clrPosition"; }, {}, never, ["label", "[clrDate]", "clr-control-helper", "clr-control-error", "clr-control-success"], false, [{ directive: typeof i1.
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrDateContainer, "clr-date-container", never, { "clrPosition": "clrPosition"; }, {}, never, ["label", "[clrDate]", "clr-control-helper", "clr-control-error", "clr-control-success"], false, [{ directive: typeof i1.ClrPopoverHostDirective; inputs: {}; outputs: {}; }]>;
|
|
60
60
|
}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { CdkTrapFocus } from '@angular/cdk/a11y';
|
|
2
1
|
import { ElementRef, Injector, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { ClrStandaloneCdkTrapFocus } from '../../utils/focus/focus-trap';
|
|
3
3
|
import { ResponsiveNavigationService } from './providers/responsive-navigation.service';
|
|
4
4
|
import { ResponsiveNavCodes } from './responsive-nav-codes';
|
|
5
5
|
import '@cds/core/internal-components/close-button/register.js';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StandaloneCdkTrapFocus, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<StandaloneCdkTrapFocus, never, never, {}, {}, never, never, true, never>;
|
|
10
|
-
}
|
|
7
|
+
import * as i1 from "../../utils/focus/focus-trap/standalone-cdk-trap-focus.directive";
|
|
11
8
|
export declare class ClrNavLevel implements OnInit {
|
|
12
9
|
private cdkTrapFocus;
|
|
13
10
|
private responsiveNavService;
|
|
@@ -18,7 +15,7 @@ export declare class ClrNavLevel implements OnInit {
|
|
|
18
15
|
private _subscription;
|
|
19
16
|
private _isOpen;
|
|
20
17
|
private _document;
|
|
21
|
-
constructor(platformId: any, cdkTrapFocus:
|
|
18
|
+
constructor(platformId: any, cdkTrapFocus: ClrStandaloneCdkTrapFocus, responsiveNavService: ResponsiveNavigationService, elementRef: ElementRef<HTMLElement>, renderer: Renderer2, injector: Injector);
|
|
22
19
|
ngOnInit(): void;
|
|
23
20
|
ngAfterViewInit(): void;
|
|
24
21
|
addNavClass(level: number): void;
|
|
@@ -35,6 +32,5 @@ export declare class ClrNavLevel implements OnInit {
|
|
|
35
32
|
protected showCloseButton(): void;
|
|
36
33
|
ngOnDestroy(): void;
|
|
37
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrNavLevel, never>;
|
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrNavLevel, "[clr-nav-level]", never, { "_level": "clr-nav-level"; "closeButtonAriaLabel": "closeAriaLabel"; }, {}, never, never, false, [{ directive: typeof
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrNavLevel, "[clr-nav-level]", never, { "_level": "clr-nav-level"; "closeButtonAriaLabel": "closeAriaLabel"; }, {}, never, never, false, [{ directive: typeof i1.ClrStandaloneCdkTrapFocus; inputs: {}; outputs: {}; }]>;
|
|
39
36
|
}
|
|
40
|
-
export {};
|
package/layout/tabs/tabs.d.ts
CHANGED
|
@@ -43,5 +43,5 @@ export declare class ClrTabs implements AfterContentInit, OnDestroy {
|
|
|
43
43
|
ngAfterContentInit(): void;
|
|
44
44
|
ngOnDestroy(): void;
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrTabs, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClrTabs, "clr-tabs", never, { "layout": "clrLayout"; }, {}, ["tabs"], never, false, [{ directive: typeof i1.
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrTabs, "clr-tabs", never, { "layout": "clrLayout"; }, {}, ["tabs"], never, false, [{ directive: typeof i1.ClrPopoverHostDirective; inputs: {}; outputs: {}; }]>;
|
|
47
47
|
}
|
package/package.json
CHANGED
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"url": "https://github.com/vmware-clarity/ng-clarity/issues"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@angular/cdk": "15",
|
|
22
|
-
"@angular/common": "15",
|
|
23
|
-
"@angular/core": "15",
|
|
21
|
+
"@angular/cdk": "15 || 16",
|
|
22
|
+
"@angular/common": "15 || 16",
|
|
23
|
+
"@angular/core": "15 || 16",
|
|
24
24
|
"@cds/core": "^5.6.0 || ^6.0.0"
|
|
25
25
|
},
|
|
26
26
|
"module": "fesm2015/clr-angular.mjs",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"tslib": "^2.3.0"
|
|
48
48
|
},
|
|
49
|
-
"version": "15.
|
|
49
|
+
"version": "15.4.0"
|
|
50
50
|
}
|
|
@@ -14,5 +14,5 @@ export declare class ClrDropdown implements OnDestroy {
|
|
|
14
14
|
isMenuClosable: boolean;
|
|
15
15
|
ngOnDestroy(): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDropdown, [{ optional: true; skipSelf: true; }, null, null, null, null]>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClrDropdown, "clr-dropdown", never, { "isMenuClosable": "clrCloseMenuOnItemClick"; }, {}, never, ["*"], false, [{ directive: typeof i1.
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrDropdown, "clr-dropdown", never, { "isMenuClosable": "clrCloseMenuOnItemClick"; }, {}, never, ["*"], false, [{ directive: typeof i1.ClrPopoverHostDirective; inputs: {}; outputs: {}; }]>;
|
|
18
18
|
}
|
|
@@ -22,5 +22,5 @@ export declare class ClrSignpost {
|
|
|
22
22
|
*/
|
|
23
23
|
set customTrigger(trigger: ClrSignpostTrigger);
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrSignpost, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClrSignpost, "clr-signpost", never, {}, {}, ["customTrigger"], ["*"], false, [{ directive: typeof i1.
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrSignpost, "clr-signpost", never, {}, {}, ["customTrigger"], ["*"], false, [{ directive: typeof i1.ClrPopoverHostDirective; inputs: {}; outputs: {}; }]>;
|
|
26
26
|
}
|
|
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "../../utils/popover/popover-host.directive";
|
|
3
3
|
export declare class ClrTooltip {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrTooltip, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClrTooltip, "clr-tooltip", never, {}, {}, never, ["*"], false, [{ directive: typeof i1.
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrTooltip, "clr-tooltip", never, {}, {}, never, ["*"], false, [{ directive: typeof i1.ClrPopoverHostDirective; inputs: {}; outputs: {}; }]>;
|
|
6
6
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './standalone-cdk-trap-focus.directive';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CdkTrapFocus } from '@angular/cdk/a11y';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ClrStandaloneCdkTrapFocus extends CdkTrapFocus {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrStandaloneCdkTrapFocus, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrStandaloneCdkTrapFocus, never, never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
package/utils/index.d.ts
CHANGED
package/utils/popover/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from './providers/popover-position.service';
|
|
|
7
7
|
export * from './providers/popover-toggle.service';
|
|
8
8
|
export * from './popover-anchor';
|
|
9
9
|
export * from './popover-content';
|
|
10
|
+
export * from './popover-host.directive';
|
|
10
11
|
export * from './stop-escape-propagation.directive';
|
|
11
12
|
export { ClrPopoverModuleNext as ÇlrClrPopoverModuleNext } from './popover.module';
|
|
12
13
|
export { ClrPopoverCloseButton as ÇlrClrPopoverCloseButton } from './popover-close-button';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./stop-escape-propagation.directive";
|
|
3
|
-
export declare class
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
3
|
+
export declare class ClrPopoverHostDirective {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrPopoverHostDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrPopoverHostDirective, never, never, {}, {}, never, never, true, [{ directive: typeof i1.ClrStopEscapePropagationDirective; inputs: {}; outputs: {}; }]>;
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class ClrWizardCustomTags {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrWizardCustomTags, never>;
|
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrWizardCustomTags, "clr-wizard-title
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrWizardCustomTags, "clr-wizard-title", never, {}, {}, never, never, false, never>;
|
|
5
5
|
}
|
package/wizard/wizard.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
|
|
|
114
114
|
onMovePrevious: EventEmitter<any>;
|
|
115
115
|
pages: QueryList<ClrWizardPage>;
|
|
116
116
|
headerActions: QueryList<ClrWizardHeaderAction>;
|
|
117
|
-
|
|
117
|
+
pageTitle: ElementRef;
|
|
118
118
|
get currentPage(): ClrWizardPage;
|
|
119
119
|
set currentPage(page: ClrWizardPage);
|
|
120
120
|
get isLast(): boolean;
|