@clr/angular 17.2.0 → 17.3.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/stepper/stepper-panel.d.ts +1 -1
- package/button/button-loading/loading-button.d.ts +2 -2
- package/clarity.api.md +86 -55
- package/data/datagrid/built-in/filters/datagrid-numeric-filter.d.ts +1 -1
- package/data/datagrid/built-in/filters/datagrid-string-filter.d.ts +1 -1
- package/data/datagrid/datagrid-detail-header.d.ts +4 -1
- package/data/datagrid/datagrid-detail.d.ts +5 -1
- package/data/datagrid/datagrid-filter.d.ts +5 -3
- package/data/datagrid/datagrid-if-detail.d.ts +9 -0
- package/data/datagrid/datagrid-pagination.d.ts +1 -1
- package/data/datagrid/datagrid-row.d.ts +5 -3
- package/data/datagrid/datagrid-virtual-scroll.directive.d.ts +5 -2
- package/data/datagrid/datagrid.d.ts +8 -2
- package/data/datagrid/enums/column-changes.enum.d.ts +2 -1
- package/data/datagrid/providers/column-resizer.service.d.ts +1 -1
- package/data/datagrid/providers/columns.service.d.ts +1 -0
- package/data/datagrid/providers/detail.service.d.ts +3 -0
- package/data/datagrid/render/cell-renderer.d.ts +1 -1
- package/data/datagrid/render/header-renderer.d.ts +1 -1
- package/data/datagrid/render/main-renderer.d.ts +2 -2
- package/data/datagrid/render/row-renderer.d.ts +2 -1
- package/data/datagrid/utils/key-navigation-grid.controller.d.ts +1 -0
- package/esm2020/accordion/stepper/stepper-panel.mjs +4 -1
- package/esm2020/button/button-loading/loading-button.mjs +1 -1
- package/esm2020/data/datagrid/built-in/filters/datagrid-numeric-filter.mjs +1 -1
- package/esm2020/data/datagrid/built-in/filters/datagrid-string-filter.mjs +1 -1
- package/esm2020/data/datagrid/datagrid-action-overflow.mjs +3 -1
- package/esm2020/data/datagrid/datagrid-column-separator.mjs +1 -1
- package/esm2020/data/datagrid/datagrid-detail-header.mjs +12 -6
- package/esm2020/data/datagrid/datagrid-detail.mjs +36 -8
- package/esm2020/data/datagrid/datagrid-filter.mjs +22 -13
- package/esm2020/data/datagrid/datagrid-if-detail.mjs +30 -7
- package/esm2020/data/datagrid/datagrid-pagination.mjs +2 -2
- package/esm2020/data/datagrid/datagrid-placeholder.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-row.mjs +12 -4
- package/esm2020/data/datagrid/datagrid-virtual-scroll.directive.mjs +13 -5
- package/esm2020/data/datagrid/datagrid.mjs +43 -21
- package/esm2020/data/datagrid/enums/column-changes.enum.mjs +3 -2
- package/esm2020/data/datagrid/providers/column-resizer.service.mjs +1 -1
- package/esm2020/data/datagrid/providers/columns.service.mjs +9 -3
- package/esm2020/data/datagrid/providers/detail.service.mjs +10 -5
- package/esm2020/data/datagrid/render/cell-renderer.mjs +1 -3
- package/esm2020/data/datagrid/render/header-renderer.mjs +1 -1
- package/esm2020/data/datagrid/render/main-renderer.mjs +29 -19
- package/esm2020/data/datagrid/render/row-renderer.mjs +6 -3
- package/esm2020/data/datagrid/utils/key-navigation-grid.controller.mjs +7 -4
- package/esm2020/data/stack-view/stack-block.mjs +4 -2
- package/esm2020/data/tree-view/tree-node.mjs +2 -2
- package/esm2020/forms/checkbox/checkbox-container.mjs +9 -5
- package/esm2020/forms/checkbox/checkbox.mjs +1 -1
- package/esm2020/forms/combobox/combobox-container.mjs +1 -1
- package/esm2020/forms/combobox/combobox.mjs +1 -1
- package/esm2020/forms/combobox/option.mjs +5 -4
- package/esm2020/forms/combobox/options.mjs +1 -1
- package/esm2020/forms/common/abstract-container.mjs +5 -2
- package/esm2020/forms/datalist/datalist-input.mjs +1 -1
- package/esm2020/forms/datepicker/date-container.mjs +1 -1
- package/esm2020/forms/datepicker/date-input.mjs +1 -1
- package/esm2020/forms/datepicker/monthpicker.mjs +1 -1
- package/esm2020/forms/datepicker/yearpicker.mjs +1 -1
- package/esm2020/forms/password/password.mjs +1 -1
- package/esm2020/forms/radio/radio-container.mjs +9 -5
- package/esm2020/layout/nav/nav-level.mjs +16 -12
- package/esm2020/layout/tabs/tab-link.directive.mjs +1 -1
- package/esm2020/modal/modal.mjs +15 -5
- package/esm2020/modal/side-panel.mjs +4 -2
- package/esm2020/popover/common/abstract-popover.mjs +1 -1
- package/esm2020/popover/signpost/signpost-content.mjs +1 -1
- package/esm2020/popover/signpost/signpost-trigger.mjs +1 -1
- package/esm2020/popover/tooltip/tooltip-content.mjs +1 -1
- package/esm2020/timeline/timeline-step.mjs +3 -3
- package/esm2020/timeline/timeline.mjs +3 -3
- package/esm2020/utils/animations/expandable-animation/expandable-animation.mjs +1 -1
- package/esm2020/utils/cdk/cdk-drag.module.mjs +1 -1
- package/esm2020/utils/cdk/cdk-trap-focus.module.mjs +1 -1
- package/esm2020/utils/conditional/if-expanded.directive.mjs +1 -1
- package/esm2020/utils/focus/focus-on-view-init/focus-on-view-init.mjs +1 -1
- package/esm2020/utils/focus/focus-trap/standalone-cdk-trap-focus.directive.mjs +1 -1
- package/esm2020/utils/focus/key-focus/key-focus-item.mjs +1 -1
- package/esm2020/utils/focus/key-focus/roving-tabindex.mjs +1 -1
- package/esm2020/utils/i18n/common-strings.default.mjs +2 -2
- package/esm2020/utils/popover/popover-close-button.mjs +1 -1
- package/esm2020/utils/popover/providers/popover-events.service.mjs +1 -1
- package/esm2020/wizard/wizard-stepnav-item.mjs +13 -19
- package/esm2020/wizard/wizard.mjs +3 -3
- package/esm2020/wizard/wizard.module.mjs +3 -3
- package/fesm2015/clr-angular.mjs +482 -320
- package/fesm2015/clr-angular.mjs.map +1 -1
- package/fesm2020/clr-angular.mjs +473 -315
- package/fesm2020/clr-angular.mjs.map +1 -1
- package/forms/checkbox/checkbox.d.ts +1 -1
- package/forms/combobox/combobox-container.d.ts +1 -1
- package/forms/combobox/combobox.d.ts +4 -4
- package/forms/combobox/option.d.ts +3 -3
- package/forms/combobox/options.d.ts +1 -1
- package/forms/datalist/datalist-input.d.ts +1 -1
- package/forms/datepicker/date-input.d.ts +2 -2
- package/forms/datepicker/monthpicker.d.ts +1 -1
- package/forms/datepicker/yearpicker.d.ts +1 -1
- package/forms/password/password.d.ts +1 -1
- package/layout/nav/nav-level.d.ts +0 -1
- package/layout/tabs/tab-link.directive.d.ts +2 -2
- package/modal/modal.d.ts +3 -1
- package/modal/side-panel.d.ts +1 -1
- package/package.json +5 -5
- package/popover/common/abstract-popover.d.ts +1 -1
- package/popover/signpost/signpost-content.d.ts +1 -1
- package/popover/signpost/signpost-trigger.d.ts +1 -1
- package/popover/tooltip/tooltip-content.d.ts +1 -1
- package/src/utils/popover/README.md +1 -1
- package/timeline/timeline-step.d.ts +1 -1
- package/utils/animations/expandable-animation/expandable-animation.d.ts +1 -1
- package/utils/cdk/cdk-drag.module.d.ts +1 -1
- package/utils/cdk/cdk-trap-focus.module.d.ts +1 -1
- package/utils/conditional/if-expanded.directive.d.ts +1 -1
- package/utils/focus/focus-on-view-init/focus-on-view-init.d.ts +1 -1
- package/utils/focus/focus-trap/standalone-cdk-trap-focus.directive.d.ts +1 -1
- package/utils/focus/key-focus/key-focus-item.d.ts +2 -2
- package/utils/focus/key-focus/roving-tabindex.d.ts +1 -1
- package/utils/popover/popover-close-button.d.ts +1 -1
- package/utils/popover/providers/popover-events.service.d.ts +3 -3
- package/wizard/wizard.d.ts +1 -1
|
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
*/
|
|
12
12
|
export declare class ClrCheckbox extends WrappedFormControl<ClrCheckboxWrapper> {
|
|
13
13
|
private toggle;
|
|
14
|
-
constructor(vcr: ViewContainerRef, injector: Injector, control: NgControl, renderer: Renderer2, el: ElementRef
|
|
14
|
+
constructor(vcr: ViewContainerRef, injector: Injector, control: NgControl, renderer: Renderer2, el: ElementRef<HTMLInputElement>, toggle: string);
|
|
15
15
|
ngOnInit(): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrCheckbox, [null, null, { optional: true; self: true; }, null, null, { attribute: "clrToggle"; }]>;
|
|
17
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrCheckbox, "[clrCheckbox],[clrToggle]", never, {}, {}, never, never, false, never>;
|
|
@@ -9,7 +9,7 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
export declare class ClrComboboxContainer extends ClrAbstractContainer implements AfterContentInit, AfterViewInit {
|
|
10
10
|
private containerService;
|
|
11
11
|
private el;
|
|
12
|
-
controlContainer: ElementRef
|
|
12
|
+
controlContainer: ElementRef<HTMLElement>;
|
|
13
13
|
constructor(ifControlStateService: IfControlStateService, layoutService: LayoutService, controlClassService: ControlClassService, ngControlService: NgControlService, containerService: ComboboxContainerService, el: ElementRef);
|
|
14
14
|
ngAfterContentInit(): void;
|
|
15
15
|
ngAfterViewInit(): void;
|
|
@@ -19,7 +19,7 @@ import * as i1 from "../../utils/popover/popover-host.directive";
|
|
|
19
19
|
export declare class ClrCombobox<T> extends WrappedFormControl<ClrComboboxContainer> implements ControlValueAccessor, LoadingListener, AfterContentInit {
|
|
20
20
|
control: NgControl;
|
|
21
21
|
protected renderer: Renderer2;
|
|
22
|
-
protected el: ElementRef
|
|
22
|
+
protected el: ElementRef<HTMLElement>;
|
|
23
23
|
optionSelectionService: OptionSelectionService<T>;
|
|
24
24
|
commonStrings: ClrCommonStringsService;
|
|
25
25
|
private toggleService;
|
|
@@ -36,8 +36,8 @@ export declare class ClrCombobox<T> extends WrappedFormControl<ClrComboboxContai
|
|
|
36
36
|
* This output should be used to set up a live region using aria-live and populate it with updates that reflect each combobox change.
|
|
37
37
|
*/
|
|
38
38
|
clrSelectionChange: import("rxjs").Observable<ComboboxModel<T>>;
|
|
39
|
-
textbox: ElementRef
|
|
40
|
-
trigger: ElementRef
|
|
39
|
+
textbox: ElementRef<HTMLInputElement>;
|
|
40
|
+
trigger: ElementRef<HTMLButtonElement>;
|
|
41
41
|
optionSelected: ClrOptionSelected<T>;
|
|
42
42
|
invalid: boolean;
|
|
43
43
|
focused: boolean;
|
|
@@ -48,7 +48,7 @@ export declare class ClrCombobox<T> extends WrappedFormControl<ClrComboboxContai
|
|
|
48
48
|
private _searchText;
|
|
49
49
|
private onTouchedCallback;
|
|
50
50
|
private onChangeCallback;
|
|
51
|
-
constructor(vcr: ViewContainerRef, injector: Injector, control: NgControl, renderer: Renderer2, el: ElementRef
|
|
51
|
+
constructor(vcr: ViewContainerRef, injector: Injector, control: NgControl, renderer: Renderer2, el: ElementRef<HTMLElement>, optionSelectionService: OptionSelectionService<T>, commonStrings: ClrCommonStringsService, toggleService: ClrPopoverToggleService, positionService: ClrPopoverPositionService, controlStateService: IfControlStateService, containerService: ComboboxContainerService, platformId: any, focusHandler: ComboboxFocusHandler<T>, cdr: ChangeDetectorRef);
|
|
52
52
|
get multiSelect(): boolean | string;
|
|
53
53
|
set multiSelect(value: boolean | string);
|
|
54
54
|
get id(): string;
|
|
@@ -4,14 +4,14 @@ import { ComboboxFocusHandler, OptionData as OptionProxy } from './providers/com
|
|
|
4
4
|
import { OptionSelectionService } from './providers/option-selection.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class ClrOption<T> implements OnInit {
|
|
7
|
-
elRef: ElementRef
|
|
7
|
+
elRef: ElementRef<HTMLElement>;
|
|
8
8
|
commonStrings: ClrCommonStringsService;
|
|
9
9
|
private focusHandler;
|
|
10
10
|
private optionSelectionService;
|
|
11
11
|
optionProxy: OptionProxy<T>;
|
|
12
12
|
private _id;
|
|
13
13
|
private _value;
|
|
14
|
-
constructor(elRef: ElementRef
|
|
14
|
+
constructor(elRef: ElementRef<HTMLElement>, commonStrings: ClrCommonStringsService, focusHandler: ComboboxFocusHandler<T>, optionSelectionService: OptionSelectionService<T>);
|
|
15
15
|
get optionId(): string;
|
|
16
16
|
set optionId(id: string);
|
|
17
17
|
get value(): T;
|
|
@@ -19,7 +19,7 @@ export declare class ClrOption<T> implements OnInit {
|
|
|
19
19
|
get selected(): boolean;
|
|
20
20
|
get focusClass(): boolean;
|
|
21
21
|
ngOnInit(): void;
|
|
22
|
-
onClick(): void;
|
|
22
|
+
onClick(event: MouseEvent): void;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrOption<any>, never>;
|
|
24
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<ClrOption<any>, "clr-option", never, { "optionId": "id"; "value": "clrValue"; }, {}, never, ["*"], false, never>;
|
|
25
25
|
}
|
|
@@ -19,7 +19,7 @@ export declare class ClrOptions<T> implements AfterViewInit, LoadingListener, On
|
|
|
19
19
|
loading: boolean;
|
|
20
20
|
_items: QueryList<ClrOption<T>>;
|
|
21
21
|
private subscriptions;
|
|
22
|
-
constructor(optionSelectionService: OptionSelectionService<T>, id: number, el: ElementRef
|
|
22
|
+
constructor(optionSelectionService: OptionSelectionService<T>, id: number, el: ElementRef<HTMLElement>, commonStrings: ClrCommonStringsService, focusHandler: ComboboxFocusHandler<T>, toggleService: ClrPopoverToggleService, parentHost: ElementRef<HTMLElement>, document: any);
|
|
23
23
|
get items(): QueryList<ClrOption<T>>;
|
|
24
24
|
set items(items: QueryList<ClrOption<T>>);
|
|
25
25
|
/**
|
|
@@ -9,7 +9,7 @@ export declare class ClrDatalistInput extends WrappedFormControl<ClrDatalistCont
|
|
|
9
9
|
private focusService;
|
|
10
10
|
private datalistIdService;
|
|
11
11
|
listValue: string;
|
|
12
|
-
constructor(focusService: FocusService, vcr: ViewContainerRef, injector: Injector, control: NgControl, renderer: Renderer2, el: ElementRef
|
|
12
|
+
constructor(focusService: FocusService, vcr: ViewContainerRef, injector: Injector, control: NgControl, renderer: Renderer2, el: ElementRef<HTMLInputElement>, datalistIdService: DatalistIdService);
|
|
13
13
|
ngAfterContentInit(): void;
|
|
14
14
|
triggerFocus(): void;
|
|
15
15
|
triggerValidation(): void;
|
|
@@ -10,7 +10,7 @@ import { DatepickerEnabledService } from './providers/datepicker-enabled.service
|
|
|
10
10
|
import { DatepickerFocusService } from './providers/datepicker-focus.service';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare class ClrDateInput extends WrappedFormControl<ClrDateContainer> implements OnInit, AfterViewInit, OnDestroy {
|
|
13
|
-
protected el: ElementRef
|
|
13
|
+
protected el: ElementRef<HTMLInputElement>;
|
|
14
14
|
protected renderer: Renderer2;
|
|
15
15
|
protected control: NgControl;
|
|
16
16
|
private container;
|
|
@@ -27,7 +27,7 @@ export declare class ClrDateInput extends WrappedFormControl<ClrDateContainer> i
|
|
|
27
27
|
protected index: number;
|
|
28
28
|
private initialClrDateInputValue;
|
|
29
29
|
private previousDateChange;
|
|
30
|
-
constructor(viewContainerRef: ViewContainerRef, injector: Injector, el: ElementRef
|
|
30
|
+
constructor(viewContainerRef: ViewContainerRef, injector: Injector, el: ElementRef<HTMLInputElement>, renderer: Renderer2, control: NgControl, container: ClrDateContainer, dateIOService: DateIOService, dateNavigationService: DateNavigationService, datepickerEnabledService: DatepickerEnabledService, dateFormControlService: DateFormControlService, platformId: any, focusService: FocusService, datepickerFocusService: DatepickerFocusService);
|
|
31
31
|
set date(date: Date | string);
|
|
32
32
|
set min(dateString: string);
|
|
33
33
|
set max(dateString: string);
|
|
@@ -14,7 +14,7 @@ export declare class ClrMonthpicker implements AfterViewInit {
|
|
|
14
14
|
* Keeps track of the current focused month.
|
|
15
15
|
*/
|
|
16
16
|
private _focusedMonthIndex;
|
|
17
|
-
constructor(_viewManagerService: ViewManagerService, _localeHelperService: LocaleHelperService, _dateNavigationService: DateNavigationService, _datepickerFocusService: DatepickerFocusService, _elRef: ElementRef);
|
|
17
|
+
constructor(_viewManagerService: ViewManagerService, _localeHelperService: LocaleHelperService, _dateNavigationService: DateNavigationService, _datepickerFocusService: DatepickerFocusService, _elRef: ElementRef<HTMLElement>);
|
|
18
18
|
/**
|
|
19
19
|
* Gets the months array which is used to rendered the monthpicker view.
|
|
20
20
|
* Months are in the TranslationWidth.Wide format.
|
|
@@ -19,7 +19,7 @@ export declare class ClrYearpicker implements AfterViewInit {
|
|
|
19
19
|
* Keeps track of the current focused year.
|
|
20
20
|
*/
|
|
21
21
|
private _focusedYear;
|
|
22
|
-
constructor(_dateNavigationService: DateNavigationService, _viewManagerService: ViewManagerService, _datepickerFocusService: DatepickerFocusService, _elRef: ElementRef
|
|
22
|
+
constructor(_dateNavigationService: DateNavigationService, _viewManagerService: ViewManagerService, _datepickerFocusService: DatepickerFocusService, _elRef: ElementRef<HTMLElement>, commonStrings: ClrCommonStringsService);
|
|
23
23
|
/**
|
|
24
24
|
* Gets the year which the user is currently on.
|
|
25
25
|
*/
|
|
@@ -9,7 +9,7 @@ export declare class ClrPassword extends WrappedFormControl<ClrPasswordContainer
|
|
|
9
9
|
private focusService;
|
|
10
10
|
private toggleService;
|
|
11
11
|
protected index: number;
|
|
12
|
-
constructor(vcr: ViewContainerRef, injector: Injector, control: NgControl, renderer: Renderer2, el: ElementRef
|
|
12
|
+
constructor(vcr: ViewContainerRef, injector: Injector, control: NgControl, renderer: Renderer2, el: ElementRef<HTMLInputElement>, focusService: FocusService, toggleService: BehaviorSubject<boolean>);
|
|
13
13
|
triggerFocus(): void;
|
|
14
14
|
triggerValidation(): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrPassword, [null, null, { optional: true; self: true; }, null, null, { optional: true; }, { optional: true; }]>;
|
|
@@ -2,7 +2,6 @@ import { ElementRef, Injector, OnInit, Renderer2 } from '@angular/core';
|
|
|
2
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
|
-
import '@cds/core/internal-components/close-button/register.js';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
import * as i1 from "../../utils/focus/focus-trap/standalone-cdk-trap-focus.directive";
|
|
8
7
|
export declare class ClrNavLevel implements OnInit {
|
|
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class ClrTabLink {
|
|
7
7
|
ifActiveService: IfActiveService;
|
|
8
8
|
readonly id: number;
|
|
9
|
-
el: ElementRef
|
|
9
|
+
el: ElementRef<HTMLElement>;
|
|
10
10
|
private cfr;
|
|
11
11
|
private viewContainerRef;
|
|
12
12
|
private tabsService;
|
|
@@ -14,7 +14,7 @@ export declare class ClrTabLink {
|
|
|
14
14
|
tabLinkId: string;
|
|
15
15
|
templateRefContainer: TemplateRefContainer;
|
|
16
16
|
private _inOverflow;
|
|
17
|
-
constructor(ifActiveService: IfActiveService, id: number, el: ElementRef
|
|
17
|
+
constructor(ifActiveService: IfActiveService, id: number, el: ElementRef<HTMLElement>, cfr: ComponentFactoryResolver, viewContainerRef: ViewContainerRef, tabsService: TabsService, tabsId: number);
|
|
18
18
|
get inOverflow(): boolean;
|
|
19
19
|
set inOverflow(inOverflow: boolean);
|
|
20
20
|
get addLinkClasses(): boolean;
|
package/modal/modal.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AnimationEvent } from '@angular/animations';
|
|
2
|
-
import { EventEmitter, OnChanges, OnDestroy, SimpleChange } from '@angular/core';
|
|
2
|
+
import { ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChange } from '@angular/core';
|
|
3
3
|
import { ClrCommonStringsService } from '../utils/i18n/common-strings.service';
|
|
4
4
|
import { ScrollingService } from '../utils/scrolling/scrolling-service';
|
|
5
5
|
import { ClrModalConfigurationService } from './modal-configuration.service';
|
|
@@ -11,6 +11,7 @@ export declare class ClrModal implements OnChanges, OnDestroy {
|
|
|
11
11
|
private modalStackService;
|
|
12
12
|
private configuration;
|
|
13
13
|
modalId: string;
|
|
14
|
+
title: ElementRef<HTMLElement>;
|
|
14
15
|
_open: boolean;
|
|
15
16
|
_openChanged: EventEmitter<boolean>;
|
|
16
17
|
closable: boolean;
|
|
@@ -31,6 +32,7 @@ export declare class ClrModal implements OnChanges, OnDestroy {
|
|
|
31
32
|
}): void;
|
|
32
33
|
ngOnDestroy(): void;
|
|
33
34
|
open(): void;
|
|
35
|
+
backdropClick(): void;
|
|
34
36
|
close(): void;
|
|
35
37
|
fadeDone(e: AnimationEvent): void;
|
|
36
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrModal, never>;
|
package/modal/side-panel.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare class ClrSidePanel implements OnInit {
|
|
|
14
14
|
preventClose: boolean;
|
|
15
15
|
altClose: EventEmitter<boolean>;
|
|
16
16
|
private modal;
|
|
17
|
-
constructor(element: ElementRef
|
|
17
|
+
constructor(element: ElementRef<HTMLElement>, configuration: ClrModalConfigurationService);
|
|
18
18
|
get clrSidePanelBackdrop(): boolean;
|
|
19
19
|
set clrSidePanelBackdrop(backdrop: boolean);
|
|
20
20
|
ngOnInit(): void;
|
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 || 17",
|
|
22
|
-
"@angular/common": "15 || 16 || 17",
|
|
23
|
-
"@angular/core": "15 || 16 || 17",
|
|
21
|
+
"@angular/cdk": "15 || 16 || 17 || 18",
|
|
22
|
+
"@angular/common": "15 || 16 || 17 || 18",
|
|
23
|
+
"@angular/core": "15 || 16 || 17 || 18",
|
|
24
24
|
"@cds/core": ">= 6.9.2",
|
|
25
|
-
"@clr/ui": "17.
|
|
25
|
+
"@clr/ui": "17.3.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": "17.
|
|
50
|
+
"version": "17.3.0"
|
|
51
51
|
}
|
|
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare abstract class AbstractPopover implements AfterViewChecked, OnDestroy {
|
|
7
7
|
protected parentHost: ElementRef;
|
|
8
8
|
closeOnOutsideClick: boolean;
|
|
9
|
-
protected el: ElementRef
|
|
9
|
+
protected el: ElementRef<HTMLElement>;
|
|
10
10
|
protected toggleService: ClrPopoverToggleService;
|
|
11
11
|
protected renderer: Renderer2;
|
|
12
12
|
protected ngZone: NgZone;
|
|
@@ -12,7 +12,7 @@ export declare class ClrSignpostContent extends AbstractPopover implements OnDes
|
|
|
12
12
|
signpostContentId: string;
|
|
13
13
|
private document;
|
|
14
14
|
private _position;
|
|
15
|
-
constructor(injector: Injector, parentHost: ElementRef
|
|
15
|
+
constructor(injector: Injector, parentHost: ElementRef<HTMLElement>, commonStrings: ClrCommonStringsService, signpostIdService: SignpostIdService, signpostFocusManager: SignpostFocusManager, platformId: any, document: any);
|
|
16
16
|
/*********
|
|
17
17
|
*
|
|
18
18
|
* @description
|
|
@@ -14,7 +14,7 @@ export declare class ClrSignpostTrigger implements OnDestroy {
|
|
|
14
14
|
isOpen: boolean;
|
|
15
15
|
private document;
|
|
16
16
|
private subscriptions;
|
|
17
|
-
constructor(toggleService: ClrPopoverToggleService, el: ElementRef
|
|
17
|
+
constructor(toggleService: ClrPopoverToggleService, el: ElementRef<HTMLElement>, signpostIdService: SignpostIdService, signpostFocusManager: SignpostFocusManager, document: any, platformId: any);
|
|
18
18
|
ngOnInit(): void;
|
|
19
19
|
ngOnDestroy(): void;
|
|
20
20
|
/**********
|
|
@@ -9,7 +9,7 @@ export declare class ClrTooltipContent extends AbstractPopover implements OnInit
|
|
|
9
9
|
private _id;
|
|
10
10
|
private _position;
|
|
11
11
|
private _size;
|
|
12
|
-
constructor(injector: Injector, parentHost: ElementRef
|
|
12
|
+
constructor(injector: Injector, parentHost: ElementRef<HTMLElement>, tooltipIdService: TooltipIdService, tooltipMouseService: TooltipMouseService);
|
|
13
13
|
get id(): string;
|
|
14
14
|
set id(value: string);
|
|
15
15
|
get position(): string;
|
|
@@ -41,7 +41,7 @@ This is what it looks like from the implementing component perspective:
|
|
|
41
41
|
<header class="header-4" role="heading">
|
|
42
42
|
Header
|
|
43
43
|
<button role="button" class="btn btn-link" clrPopoverCloseButton>
|
|
44
|
-
<cds-icon shape="window-close" size="36"
|
|
44
|
+
<cds-icon shape="window-close" size="36"></cds-icon>
|
|
45
45
|
</button>
|
|
46
46
|
</header>
|
|
47
47
|
<section role="region">
|
|
@@ -6,7 +6,7 @@ export declare class ClrTimelineStep {
|
|
|
6
6
|
private iconAttributeService;
|
|
7
7
|
private platformId;
|
|
8
8
|
state: ClrTimelineStepState;
|
|
9
|
-
stepTitle: ElementRef
|
|
9
|
+
stepTitle: ElementRef<HTMLElement>;
|
|
10
10
|
stepTitleText: string;
|
|
11
11
|
constructor(iconAttributeService: TimelineIconAttributeService, platformId: any);
|
|
12
12
|
get iconAriaLabel(): string;
|
|
@@ -8,7 +8,7 @@ export declare class ClrExpandableAnimation {
|
|
|
8
8
|
private renderer;
|
|
9
9
|
clrExpandTrigger: boolean;
|
|
10
10
|
startHeight: number;
|
|
11
|
-
constructor(element: ElementRef
|
|
11
|
+
constructor(element: ElementRef<HTMLElement>, domAdapter: DomAdapter, renderer: Renderer2);
|
|
12
12
|
get expandAnimation(): {
|
|
13
13
|
value: boolean;
|
|
14
14
|
params: {
|
|
@@ -11,7 +11,7 @@ export declare class CdkDragModule_CdkDrag extends CdkDrag {
|
|
|
11
11
|
* as a workaround to fix Angular "ɵɵinvalidFactoryDep" error after upgrading storybook
|
|
12
12
|
* https://github.com/storybookjs/storybook/issues/23534
|
|
13
13
|
*/
|
|
14
|
-
constructor(elementRef: ElementRef
|
|
14
|
+
constructor(elementRef: ElementRef<HTMLElement>, dropContainer: any, document: any, ngZone: NgZone, viewContainerRef: ViewContainerRef, config: DragDropConfig, dir: Directionality, dragDrop: DragDrop, changeDetectorRef: ChangeDetectorRef);
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkDragModule_CdkDrag, [null, { optional: true; }, { optional: true; }, null, null, { optional: true; }, null, null, null]>;
|
|
16
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDragModule_CdkDrag, "[cdkDrag]", never, {}, {}, never, never, false, never>;
|
|
17
17
|
}
|
|
@@ -10,7 +10,7 @@ export declare class CdkTrapFocusModule_CdkTrapFocus extends CdkTrapFocus {
|
|
|
10
10
|
* as a workaround to fix Angular "ɵɵinvalidFactoryDep" error after upgrading storybook
|
|
11
11
|
* https://github.com/storybookjs/storybook/issues/23534
|
|
12
12
|
*/
|
|
13
|
-
constructor(elementRef: ElementRef
|
|
13
|
+
constructor(elementRef: ElementRef<HTMLElement>, focusTrapFactory: FocusTrapFactory, document: any);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTrapFocusModule_CdkTrapFocus, [null, null, { optional: true; }]>;
|
|
15
15
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkTrapFocusModule_CdkTrapFocus, "[cdkTrapFocus]", never, {}, {}, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -13,7 +13,7 @@ export declare class ClrIfExpanded implements OnInit, OnDestroy {
|
|
|
13
13
|
* Subscriptions to all the services and queries changes
|
|
14
14
|
*/
|
|
15
15
|
private _subscriptions;
|
|
16
|
-
constructor(template: TemplateRef<any>, container: ViewContainerRef, el: ElementRef
|
|
16
|
+
constructor(template: TemplateRef<any>, container: ViewContainerRef, el: ElementRef<HTMLElement>, renderer: Renderer2, expand: IfExpandService);
|
|
17
17
|
get expanded(): boolean | string;
|
|
18
18
|
set expanded(value: boolean | string);
|
|
19
19
|
ngOnInit(): void;
|
|
@@ -9,7 +9,7 @@ export declare class ClrFocusOnViewInit implements AfterViewInit, OnDestroy {
|
|
|
9
9
|
private directFocus;
|
|
10
10
|
private destroy$;
|
|
11
11
|
private _isEnabled;
|
|
12
|
-
constructor(el: ElementRef
|
|
12
|
+
constructor(el: ElementRef<HTMLElement>, platformId: any, focusOnViewInit: boolean, document: any, renderer: Renderer2, ngZone: NgZone);
|
|
13
13
|
set isEnabled(value: boolean | string);
|
|
14
14
|
ngAfterViewInit(): void;
|
|
15
15
|
ngOnDestroy(): void;
|
|
@@ -7,7 +7,7 @@ export declare class ClrStandaloneCdkTrapFocus extends CdkTrapFocus {
|
|
|
7
7
|
* as a workaround to fix Angular "ɵɵinvalidFactoryDep" error after upgrading storybook
|
|
8
8
|
* https://github.com/storybookjs/storybook/issues/23534
|
|
9
9
|
*/
|
|
10
|
-
constructor(elementRef: ElementRef
|
|
10
|
+
constructor(elementRef: ElementRef<HTMLElement>, focusTrapFactory: FocusTrapFactory, document: any);
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrStandaloneCdkTrapFocus, [null, null, { optional: true; }]>;
|
|
12
12
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrStandaloneCdkTrapFocus, never, never, {}, {}, never, never, true, never>;
|
|
13
13
|
}
|
|
@@ -3,8 +3,8 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class ClrKeyFocusItem {
|
|
4
4
|
private elementRef;
|
|
5
5
|
private platformId;
|
|
6
|
-
constructor(elementRef: ElementRef
|
|
7
|
-
get nativeElement():
|
|
6
|
+
constructor(elementRef: ElementRef<HTMLElement>, platformId: any);
|
|
7
|
+
get nativeElement(): HTMLElement;
|
|
8
8
|
focus(): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrKeyFocusItem, never>;
|
|
10
10
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrKeyFocusItem, "[clrKeyFocusItem]", never, {}, {}, never, never, false, never>;
|
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class ClrRovingTabindex extends ClrKeyFocus {
|
|
6
6
|
private renderer;
|
|
7
7
|
private disabled;
|
|
8
|
-
constructor(elementRef: ElementRef
|
|
8
|
+
constructor(elementRef: ElementRef<HTMLElement>, renderer: Renderer2);
|
|
9
9
|
get rovingIndexItems(): Array<FocusableItem> | string;
|
|
10
10
|
set rovingIndexItems(elements: Array<FocusableItem> | string);
|
|
11
11
|
set rovingTabindexDisabled(disabled: boolean);
|
|
@@ -8,7 +8,7 @@ export declare class ClrPopoverCloseButton implements OnDestroy, AfterViewInit {
|
|
|
8
8
|
private smartOpenService;
|
|
9
9
|
closeChange: EventEmitter<void>;
|
|
10
10
|
private subscriptions;
|
|
11
|
-
constructor(elementRef: ElementRef
|
|
11
|
+
constructor(elementRef: ElementRef<HTMLButtonElement>, smartEventsService: ClrPopoverEventsService, smartOpenService: ClrPopoverToggleService);
|
|
12
12
|
handleClick(event: MouseEvent): void;
|
|
13
13
|
ngAfterViewInit(): void;
|
|
14
14
|
ngOnDestroy(): void;
|
|
@@ -9,9 +9,9 @@ export declare class ClrPopoverEventsService implements OnDestroy {
|
|
|
9
9
|
outsideClickClose: boolean;
|
|
10
10
|
scrollToClose: boolean;
|
|
11
11
|
ignoredEvent: any;
|
|
12
|
-
anchorButtonRef: ElementRef
|
|
13
|
-
closeButtonRef: ElementRef
|
|
14
|
-
contentRef: ElementRef
|
|
12
|
+
anchorButtonRef: ElementRef<HTMLButtonElement>;
|
|
13
|
+
closeButtonRef: ElementRef<HTMLButtonElement>;
|
|
14
|
+
contentRef: ElementRef<HTMLElement>;
|
|
15
15
|
private documentClickListener;
|
|
16
16
|
private escapeListener;
|
|
17
17
|
private scrollSubscription;
|
package/wizard/wizard.d.ts
CHANGED
|
@@ -72,7 +72,7 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
|
|
|
72
72
|
* Listen via `(clrWizardOnPrevious)` event.
|
|
73
73
|
*/
|
|
74
74
|
onMovePrevious: EventEmitter<any>;
|
|
75
|
-
pageTitle: ElementRef
|
|
75
|
+
pageTitle: ElementRef<HTMLElement>;
|
|
76
76
|
pages: QueryList<ClrWizardPage>;
|
|
77
77
|
headerActions: QueryList<ClrWizardHeaderAction>;
|
|
78
78
|
_open: boolean;
|