@clr/angular 17.4.0 → 17.6.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 +11 -3
- package/clarity.api.md +447 -125
- package/data/datagrid/built-in/filters/datagrid-string-filter.d.ts +13 -4
- package/data/datagrid/datagrid-virtual-scroll.directive.d.ts +4 -3
- package/data/datagrid/providers/columns.service.d.ts +1 -0
- package/esm2020/accordion/accordion-panel.mjs +25 -7
- package/esm2020/accordion/stepper/stepper-panel.mjs +2 -2
- package/esm2020/data/datagrid/built-in/filters/datagrid-numeric-filter.mjs +18 -17
- package/esm2020/data/datagrid/built-in/filters/datagrid-string-filter.mjs +63 -28
- package/esm2020/data/datagrid/datagrid-column-toggle.mjs +1 -1
- package/esm2020/data/datagrid/datagrid-column.mjs +1 -1
- package/esm2020/data/datagrid/datagrid-footer.mjs +1 -1
- package/esm2020/data/datagrid/datagrid-page-size.mjs +1 -1
- package/esm2020/data/datagrid/datagrid-row.mjs +9 -11
- package/esm2020/data/datagrid/datagrid-virtual-scroll.directive.mjs +65 -11
- package/esm2020/data/datagrid/datagrid.mjs +1 -1
- package/esm2020/data/datagrid/providers/columns.service.mjs +4 -1
- package/esm2020/data/datagrid/render/main-renderer.mjs +3 -3
- package/esm2020/forms/checkbox/checkbox-container.mjs +1 -1
- package/esm2020/forms/checkbox/checkbox-wrapper.mjs +1 -1
- package/esm2020/forms/combobox/combobox-container.mjs +1 -1
- package/esm2020/forms/combobox/combobox.mjs +7 -7
- package/esm2020/forms/common/abstract-container.mjs +9 -3
- package/esm2020/forms/common/control-container.mjs +1 -1
- package/esm2020/forms/common/if-control-state/if-control-state.service.mjs +11 -27
- package/esm2020/forms/common/label.mjs +37 -5
- package/esm2020/forms/common/providers/ng-control.service.mjs +5 -1
- package/esm2020/forms/datalist/datalist-container.mjs +1 -1
- package/esm2020/forms/datepicker/calendar.mjs +21 -8
- package/esm2020/forms/datepicker/date-container.mjs +11 -4
- package/esm2020/forms/datepicker/date-input.mjs +2 -2
- package/esm2020/forms/datepicker/datepicker-action-buttons.mjs +50 -0
- package/esm2020/forms/datepicker/datepicker-view-manager.mjs +17 -10
- package/esm2020/forms/datepicker/datepicker.module.mjs +7 -3
- package/esm2020/forms/datepicker/day.mjs +15 -14
- package/esm2020/forms/datepicker/index.mjs +2 -1
- package/esm2020/forms/datepicker/model/calendar-view.model.mjs +15 -4
- package/esm2020/forms/datepicker/providers/date-navigation.service.mjs +9 -4
- package/esm2020/forms/file-input/file-input-container.mjs +102 -14
- package/esm2020/forms/file-input/file-input-validator-errors.mjs +8 -0
- package/esm2020/forms/file-input/file-input-validator.mjs +14 -22
- package/esm2020/forms/file-input/file-input.mjs +4 -2
- package/esm2020/forms/file-input/file-input.module.mjs +35 -4
- package/esm2020/forms/file-input/file-list.mjs +158 -0
- package/esm2020/forms/file-input/file-messages-template.mjs +26 -0
- package/esm2020/forms/file-input/file-messages.mjs +61 -0
- package/esm2020/forms/file-input/index.mjs +5 -1
- package/esm2020/forms/forms.module.mjs +7 -3
- package/esm2020/forms/index.mjs +2 -1
- package/esm2020/forms/input/input-container.mjs +12 -4
- package/esm2020/forms/input/input.mjs +10 -1
- package/esm2020/forms/number-input/index.mjs +10 -0
- package/esm2020/forms/number-input/number-input-container.mjs +145 -0
- package/esm2020/forms/number-input/number-input.mjs +72 -0
- package/esm2020/forms/number-input/number-input.module.mjs +32 -0
- package/esm2020/forms/password/password-container.mjs +1 -1
- package/esm2020/forms/radio/radio-container.mjs +1 -1
- package/esm2020/forms/radio/radio-wrapper.mjs +1 -1
- package/esm2020/forms/range/range-container.mjs +1 -1
- package/esm2020/forms/select/select-container.mjs +1 -1
- package/esm2020/forms/textarea/textarea-container.mjs +1 -1
- package/esm2020/layout/breadcrumbs/breadcrumb-item.mjs +24 -0
- package/esm2020/layout/breadcrumbs/breadcrumbs.constants.mjs +8 -0
- package/esm2020/layout/breadcrumbs/breadcrumbs.mjs +46 -0
- package/esm2020/layout/breadcrumbs/breadcrumbs.module.mjs +28 -0
- package/esm2020/layout/breadcrumbs/index.mjs +10 -0
- package/esm2020/layout/breadcrumbs/model/breadcrumbs.model.mjs +8 -0
- package/esm2020/layout/index.mjs +2 -1
- package/esm2020/layout/layout.module.mjs +5 -4
- package/esm2020/layout/tabs/index.mjs +3 -1
- package/esm2020/layout/tabs/tab-action.directive.mjs +22 -0
- package/esm2020/layout/tabs/tabs-actions.mjs +39 -0
- package/esm2020/layout/tabs/tabs.mjs +26 -7
- package/esm2020/layout/tabs/tabs.module.mjs +9 -1
- package/esm2020/popover/signpost/index.mjs +2 -1
- package/esm2020/popover/signpost/signpost-content.mjs +10 -5
- package/esm2020/popover/signpost/signpost-title.mjs +21 -0
- package/esm2020/popover/signpost/signpost.module.mjs +15 -3
- package/esm2020/utils/i18n/common-strings.default.mjs +8 -2
- package/esm2020/utils/i18n/common-strings.interface.mjs +1 -1
- package/fesm2015/clr-angular.mjs +17614 -16581
- package/fesm2015/clr-angular.mjs.map +1 -1
- package/fesm2020/clr-angular.mjs +17367 -16341
- package/fesm2020/clr-angular.mjs.map +1 -1
- package/forms/common/abstract-container.d.ts +2 -0
- package/forms/common/if-control-state/if-control-state.service.d.ts +4 -7
- package/forms/common/label.d.ts +11 -1
- package/forms/common/providers/ng-control.service.d.ts +2 -0
- package/forms/datepicker/calendar.d.ts +6 -1
- package/forms/datepicker/date-container.d.ts +2 -1
- package/forms/datepicker/datepicker-action-buttons.d.ts +16 -0
- package/forms/datepicker/datepicker-view-manager.d.ts +4 -1
- package/forms/datepicker/datepicker.module.d.ts +9 -8
- package/forms/datepicker/day.d.ts +5 -6
- package/forms/datepicker/index.d.ts +1 -0
- package/forms/datepicker/model/calendar-view.model.d.ts +5 -0
- package/forms/datepicker/providers/date-navigation.service.d.ts +6 -2
- package/forms/file-input/file-input-container.d.ts +15 -4
- package/forms/file-input/file-input-validator-errors.d.ts +52 -0
- package/forms/file-input/file-input.module.d.ts +7 -4
- package/forms/file-input/file-list.d.ts +18 -0
- package/forms/file-input/file-messages-template.d.ts +19 -0
- package/forms/file-input/file-messages.d.ts +17 -0
- package/forms/file-input/index.d.ts +4 -0
- package/forms/forms.module.d.ts +2 -1
- package/forms/index.d.ts +1 -0
- package/forms/input/input-container.d.ts +1 -1
- package/forms/number-input/index.d.ts +3 -0
- package/forms/number-input/number-input-container.d.ts +16 -0
- package/forms/number-input/number-input.d.ts +20 -0
- package/forms/number-input/number-input.module.d.ts +13 -0
- package/layout/breadcrumbs/breadcrumb-item.d.ts +5 -0
- package/layout/breadcrumbs/breadcrumbs.constants.d.ts +1 -0
- package/layout/breadcrumbs/breadcrumbs.d.ts +17 -0
- package/layout/breadcrumbs/breadcrumbs.module.d.ts +12 -0
- package/layout/breadcrumbs/index.d.ts +3 -0
- package/layout/breadcrumbs/model/breadcrumbs.model.d.ts +9 -0
- package/layout/index.d.ts +1 -0
- package/layout/layout.module.d.ts +2 -1
- package/layout/tabs/index.d.ts +3 -0
- package/layout/tabs/tab-action.directive.d.ts +5 -0
- package/layout/tabs/tabs-actions.d.ts +7 -0
- package/layout/tabs/tabs.d.ts +5 -2
- package/layout/tabs/tabs.module.d.ts +10 -8
- package/package.json +5 -5
- package/popover/signpost/index.d.ts +1 -0
- package/popover/signpost/signpost-content.d.ts +2 -1
- package/popover/signpost/signpost-title.d.ts +5 -0
- package/popover/signpost/signpost.module.d.ts +6 -5
- package/utils/i18n/common-strings.interface.d.ts +14 -0
package/layout/tabs/index.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export * from './tabs';
|
|
2
|
+
export * from './tabs-actions';
|
|
2
3
|
export * from './tab';
|
|
3
4
|
export * from './tab-content';
|
|
4
5
|
export * from './tab-overflow-content';
|
|
5
6
|
export * from './tab-link.directive';
|
|
7
|
+
export * from './tab-action.directive';
|
|
6
8
|
export * from './tabs.module';
|
|
9
|
+
export { ClrTabsActionsPosition } from './tabs-actions';
|
|
7
10
|
export { TabsWillyWonka as ÇlrTabsWillyWonka } from './chocolate/tabs-willy-wonka';
|
|
8
11
|
export { ActiveOompaLoompa as ÇlrActiveOompaLoompa } from './chocolate/active-oompa-loompa';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare type ClrTabsActionsPosition = 'left' | 'right';
|
|
3
|
+
export declare class ClrTabsActions {
|
|
4
|
+
position: ClrTabsActionsPosition;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrTabsActions, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrTabsActions, "clr-tabs-actions", never, { "position": "position"; }, {}, never, ["*"], false, never>;
|
|
7
|
+
}
|
package/layout/tabs/tabs.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterContentInit, ElementRef, OnDestroy } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, ElementRef, OnDestroy, QueryList } from '@angular/core';
|
|
2
2
|
import { IfActiveService } from '../../utils/conditional/if-active.service';
|
|
3
3
|
import { ClrKeyFocus } from '../../utils/focus/key-focus/key-focus';
|
|
4
4
|
import { ClrCommonStringsService } from '../../utils/i18n/common-strings.service';
|
|
@@ -17,6 +17,7 @@ export declare class ClrTabs implements AfterContentInit, OnDestroy {
|
|
|
17
17
|
tabLinkElements: HTMLElement[];
|
|
18
18
|
_mousedown: boolean;
|
|
19
19
|
keyFocus: ClrKeyFocus;
|
|
20
|
+
tabsActions: QueryList<ElementRef>;
|
|
20
21
|
private tabs;
|
|
21
22
|
private subscriptions;
|
|
22
23
|
private _tabOverflowEl;
|
|
@@ -41,7 +42,9 @@ export declare class ClrTabs implements AfterContentInit, OnDestroy {
|
|
|
41
42
|
closeOnFocusOut(event: FocusEvent): void;
|
|
42
43
|
closeOnEscapeKey(): void;
|
|
43
44
|
closeOnOutsideClick(event: Event, tabOverflowTrigger: HTMLElement): void;
|
|
45
|
+
private setTabLinkElements;
|
|
44
46
|
private listenForTabLinkChanges;
|
|
47
|
+
private listedForTabsActionsChanges;
|
|
45
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrTabs, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClrTabs, "clr-tabs", never, { "layout": "clrLayout"; }, {}, ["tabs"],
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrTabs, "clr-tabs", never, { "layout": "clrLayout"; }, {}, ["tabsActions", "tabs"], ["clr-tabs-actions"], false, [{ directive: typeof i1.ClrPopoverHostDirective; inputs: {}; outputs: {}; }]>;
|
|
47
50
|
}
|
|
@@ -5,17 +5,19 @@ import * as i2 from "./tab";
|
|
|
5
5
|
import * as i3 from "./tabs";
|
|
6
6
|
import * as i4 from "./tab-overflow-content";
|
|
7
7
|
import * as i5 from "./tab-link.directive";
|
|
8
|
-
import * as i6 from "./
|
|
9
|
-
import * as i7 from "./
|
|
10
|
-
import * as i8 from "
|
|
11
|
-
import * as i9 from "
|
|
12
|
-
import * as i10 from "
|
|
13
|
-
import * as i11 from "../../utils/
|
|
14
|
-
import * as i12 from "../../
|
|
8
|
+
import * as i6 from "./tab-action.directive";
|
|
9
|
+
import * as i7 from "./tabs-actions";
|
|
10
|
+
import * as i8 from "./chocolate/tabs-willy-wonka";
|
|
11
|
+
import * as i9 from "./chocolate/active-oompa-loompa";
|
|
12
|
+
import * as i10 from "@angular/common";
|
|
13
|
+
import * as i11 from "../../utils/conditional/conditional.module";
|
|
14
|
+
import * as i12 from "../../icon/icon.module";
|
|
15
|
+
import * as i13 from "../../utils/template-ref/template-ref.module";
|
|
16
|
+
import * as i14 from "../../utils/focus/key-focus/key-focus.module";
|
|
15
17
|
export declare const CLR_TABS_DIRECTIVES: Type<any>[];
|
|
16
18
|
export declare class ClrTabsModule {
|
|
17
19
|
constructor();
|
|
18
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrTabsModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrTabsModule, [typeof i1.ClrTabContent, typeof i2.ClrTab, typeof i3.ClrTabs, typeof i4.ClrTabOverflowContent, typeof i5.ClrTabLink, typeof i6.
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrTabsModule, [typeof i1.ClrTabContent, typeof i2.ClrTab, typeof i3.ClrTabs, typeof i4.ClrTabOverflowContent, typeof i5.ClrTabLink, typeof i6.ClrTabAction, typeof i7.ClrTabsActions, typeof i8.TabsWillyWonka, typeof i9.ActiveOompaLoompa], [typeof i10.CommonModule, typeof i11.ClrConditionalModule, typeof i12.ClrIconModule, typeof i13.ClrTemplateRefModule, typeof i14.ClrKeyFocusModule], [typeof i1.ClrTabContent, typeof i2.ClrTab, typeof i3.ClrTabs, typeof i4.ClrTabOverflowContent, typeof i5.ClrTabLink, typeof i6.ClrTabAction, typeof i7.ClrTabsActions, typeof i8.TabsWillyWonka, typeof i9.ActiveOompaLoompa, typeof i11.ClrConditionalModule]>;
|
|
20
22
|
static ɵinj: i0.ɵɵInjectorDeclaration<ClrTabsModule>;
|
|
21
23
|
}
|
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 || 18",
|
|
22
|
-
"@angular/common": "15 || 16 || 17 || 18",
|
|
23
|
-
"@angular/core": "15 || 16 || 17 || 18",
|
|
21
|
+
"@angular/cdk": "15 || 16 || 17 || 18 || 19",
|
|
22
|
+
"@angular/common": "15 || 16 || 17 || 18 || 19",
|
|
23
|
+
"@angular/core": "15 || 16 || 17 || 18 || 19",
|
|
24
24
|
"@cds/core": ">= 6.9.2",
|
|
25
|
-
"@clr/ui": "17.
|
|
25
|
+
"@clr/ui": "17.6.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.6.0"
|
|
51
51
|
}
|
|
@@ -8,6 +8,7 @@ export declare class ClrSignpostContent extends AbstractPopover implements OnDes
|
|
|
8
8
|
commonStrings: ClrCommonStringsService;
|
|
9
9
|
private signpostFocusManager;
|
|
10
10
|
private platformId;
|
|
11
|
+
signpostCloseAriaLabel: string;
|
|
11
12
|
signpostContentId: string;
|
|
12
13
|
private document;
|
|
13
14
|
private _position;
|
|
@@ -52,5 +53,5 @@ export declare class ClrSignpostContent extends AbstractPopover implements OnDes
|
|
|
52
53
|
close(): void;
|
|
53
54
|
ngOnDestroy(): void;
|
|
54
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrSignpostContent, [null, { optional: true; }, null, null, null, null, null]>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClrSignpostContent, "clr-signpost-content", never, { "position": "clrPosition"; }, {}, never, ["*"], false, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrSignpostContent, "clr-signpost-content", never, { "signpostCloseAriaLabel": "clrSignpostCloseAriaLabel"; "position": "clrPosition"; }, {}, never, ["clr-signpost-title", "*"], false, never>;
|
|
56
57
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ClrSignpostTitle {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrSignpostTitle, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrSignpostTitle, "clr-signpost-title", never, {}, {}, never, ["*"], false, never>;
|
|
5
|
+
}
|
|
@@ -3,14 +3,15 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
import * as i1 from "./signpost";
|
|
4
4
|
import * as i2 from "./signpost-content";
|
|
5
5
|
import * as i3 from "./signpost-trigger";
|
|
6
|
-
import * as i4 from "
|
|
7
|
-
import * as i5 from "
|
|
8
|
-
import * as i6 from "../../
|
|
9
|
-
import * as i7 from "../../utils/
|
|
6
|
+
import * as i4 from "./signpost-title";
|
|
7
|
+
import * as i5 from "@angular/common";
|
|
8
|
+
import * as i6 from "../../icon/icon.module";
|
|
9
|
+
import * as i7 from "../../utils/focus/focus-on-view-init/focus-on-view-init.module";
|
|
10
|
+
import * as i8 from "../../utils/conditional/conditional.module";
|
|
10
11
|
export declare const CLR_SIGNPOST_DIRECTIVES: Type<any>[];
|
|
11
12
|
export declare class ClrSignpostModule {
|
|
12
13
|
constructor();
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrSignpostModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrSignpostModule, [typeof i1.ClrSignpost, typeof i2.ClrSignpostContent, typeof i3.ClrSignpostTrigger], [typeof
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrSignpostModule, [typeof i1.ClrSignpost, typeof i2.ClrSignpostContent, typeof i3.ClrSignpostTrigger, typeof i4.ClrSignpostTitle], [typeof i5.CommonModule, typeof i6.ClrIconModule, typeof i7.ClrFocusOnViewInitModule], [typeof i1.ClrSignpost, typeof i2.ClrSignpostContent, typeof i3.ClrSignpostTrigger, typeof i4.ClrSignpostTitle, typeof i8.ClrConditionalModule]>;
|
|
15
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<ClrSignpostModule>;
|
|
16
17
|
}
|
|
@@ -15,6 +15,14 @@ export interface ClrCommonStrings {
|
|
|
15
15
|
* Hide button
|
|
16
16
|
*/
|
|
17
17
|
hide: string;
|
|
18
|
+
/**
|
|
19
|
+
* Apply button
|
|
20
|
+
*/
|
|
21
|
+
apply: string;
|
|
22
|
+
/**
|
|
23
|
+
* Cancel button
|
|
24
|
+
*/
|
|
25
|
+
cancel: string;
|
|
18
26
|
/**
|
|
19
27
|
* Expandable components: expand caret
|
|
20
28
|
*/
|
|
@@ -127,6 +135,10 @@ export interface ClrCommonStrings {
|
|
|
127
135
|
* Datagrid filter toggle button
|
|
128
136
|
*/
|
|
129
137
|
datagridFilterAriaLabel: string;
|
|
138
|
+
/**
|
|
139
|
+
* Datagrid filter label
|
|
140
|
+
*/
|
|
141
|
+
datagridFilterLabel: string;
|
|
130
142
|
/**
|
|
131
143
|
* Datagrid filter dialog
|
|
132
144
|
*/
|
|
@@ -284,4 +296,6 @@ export interface ClrCommonStrings {
|
|
|
284
296
|
clearFiles: string;
|
|
285
297
|
selectedTreeNode: string;
|
|
286
298
|
unselectedTreeNode: string;
|
|
299
|
+
breadcrumbsLabel: string;
|
|
300
|
+
expandBreadcrumbsLabel: string;
|
|
287
301
|
}
|