@covalent/core 8.1.0 → 8.2.0-beta.1
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/common/styles/core/_structure.scss +0 -2
- package/common/styles/font/_font.scss +1 -35
- package/esm2022/breadcrumbs/breadcrumb/breadcrumb.component.mjs +4 -4
- package/esm2022/breadcrumbs/breadcrumbs.component.mjs +4 -4
- package/esm2022/breadcrumbs/breadcrumbs.module.mjs +4 -4
- package/esm2022/common/behaviors/control-value-accesor.mixin.mjs +1 -1
- package/esm2022/common/behaviors/disable-ripple.mixin.mjs +1 -1
- package/esm2022/common/behaviors/disabled.mixin.mjs +1 -1
- package/esm2022/common/common.module.mjs +26 -6
- package/esm2022/common/directives/fullscreen/fullscreen.directive.mjs +13 -13
- package/esm2022/common/forms/auto-trim/auto-trim.directive.mjs +4 -4
- package/esm2022/common/forms/validators/validators.mjs +1 -1
- package/esm2022/common/functions/convert.mjs +1 -1
- package/esm2022/common/functions/download.mjs +1 -1
- package/esm2022/common/pipes/bytes/bytes.pipe.mjs +4 -4
- package/esm2022/common/pipes/decimal-bytes/decimal-bytes.pipe.mjs +4 -4
- package/esm2022/common/pipes/digits/digits.pipe.mjs +4 -4
- package/esm2022/common/pipes/time-ago/time-ago.pipe.mjs +4 -4
- package/esm2022/common/pipes/time-difference/time-difference.pipe.mjs +4 -4
- package/esm2022/common/pipes/time-until/time-until.pipe.mjs +4 -4
- package/esm2022/common/pipes/truncate/truncate.pipe.mjs +4 -4
- package/esm2022/common/services/icon.service.mjs +3 -3
- package/esm2022/common/services/router-path.service.mjs +3 -3
- package/esm2022/dialogs/alert-dialog/alert-dialog.component.mjs +3 -3
- package/esm2022/dialogs/confirm-dialog/confirm-dialog.component.mjs +3 -3
- package/esm2022/dialogs/dialog.component.mjs +13 -13
- package/esm2022/dialogs/dialogs.module.mjs +4 -4
- package/esm2022/dialogs/prompt-dialog/prompt-dialog.component.mjs +4 -4
- package/esm2022/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.mjs +4 -2
- package/esm2022/dialogs/services/dialog.service.mjs +4 -4
- package/esm2022/dialogs/window-dialog/window-dialog.component.mjs +5 -5
- package/esm2022/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +5 -5
- package/esm2022/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +3 -3
- package/esm2022/dynamic-menu/dynamic-menu.component.mjs +3 -3
- package/esm2022/dynamic-menu/dynamic-menu.module.mjs +4 -4
- package/esm2022/file/directives/file-drop.directive.mjs +4 -4
- package/esm2022/file/directives/file-select.directive.mjs +4 -4
- package/esm2022/file/file-input/file-input.component.mjs +9 -9
- package/esm2022/file/file-upload/file-upload.component.mjs +4 -4
- package/esm2022/file/file.module.mjs +4 -4
- package/esm2022/file/services/file.service.mjs +4 -4
- package/esm2022/json-formatter/json-formatter.component.mjs +4 -4
- package/esm2022/json-formatter/json-formatter.module.mjs +4 -4
- package/esm2022/layout/layout-card-over/layout-card-over.component.mjs +5 -5
- package/esm2022/layout/layout-footer/layout-footer.component.mjs +4 -4
- package/esm2022/layout/layout-manage-list/layout-manage-list.component.mjs +3 -3
- package/esm2022/layout/layout-manage-list/layout-manage-list.directives.mjs +9 -9
- package/esm2022/layout/layout-nav/layout-nav.component.mjs +6 -6
- package/esm2022/layout/layout-nav-list/layout-nav-list.component.mjs +5 -5
- package/esm2022/layout/layout-nav-list/layout-nav-list.directives.mjs +9 -9
- package/esm2022/layout/layout-toggle.class.mjs +4 -4
- package/esm2022/layout/layout.component.mjs +3 -3
- package/esm2022/layout/layout.directives.mjs +9 -9
- package/esm2022/layout/layout.module.mjs +4 -4
- package/esm2022/layout/navigation-drawer/navigation-drawer.component.mjs +11 -11
- package/esm2022/loading/directives/loading.directive.mjs +4 -4
- package/esm2022/loading/loading.component.mjs +4 -4
- package/esm2022/loading/loading.module.mjs +4 -4
- package/esm2022/loading/services/loading.factory.mjs +4 -4
- package/esm2022/loading/services/loading.service.mjs +4 -4
- package/esm2022/menu/menu.component.mjs +3 -3
- package/esm2022/menu/menu.module.mjs +4 -4
- package/esm2022/message/message.component.mjs +7 -7
- package/esm2022/message/message.module.mjs +4 -4
- package/esm2022/search/search-box/search-box.component.mjs +4 -4
- package/esm2022/search/search-input/search-input.component.mjs +4 -4
- package/esm2022/search/search.module.mjs +4 -4
- package/esm2022/side-sheet/side-sheet-container.mjs +7 -7
- package/esm2022/side-sheet/side-sheet-ref.mjs +1 -1
- package/esm2022/side-sheet/side-sheet.content-directives.mjs +16 -16
- package/esm2022/side-sheet/side-sheet.mjs +7 -7
- package/esm2022/side-sheet/side-sheet.module.mjs +4 -4
- package/esm2022/user-profile/user-profile-menu/user-profile-menu.component.mjs +3 -3
- package/esm2022/user-profile/user-profile.component.mjs +3 -3
- package/esm2022/user-profile/user-profile.module.mjs +4 -4
- package/fesm2022/covalent-core-breadcrumbs.mjs +11 -11
- package/fesm2022/covalent-core-breadcrumbs.mjs.map +1 -1
- package/fesm2022/covalent-core-common.mjs +68 -48
- package/fesm2022/covalent-core-common.mjs.map +1 -1
- package/fesm2022/covalent-core-dialogs.mjs +36 -34
- package/fesm2022/covalent-core-dialogs.mjs.map +1 -1
- package/fesm2022/covalent-core-dynamic-menu.mjs +14 -14
- package/fesm2022/covalent-core-dynamic-menu.mjs.map +1 -1
- package/fesm2022/covalent-core-file.mjs +28 -28
- package/fesm2022/covalent-core-file.mjs.map +1 -1
- package/fesm2022/covalent-core-json-formatter.mjs +8 -8
- package/fesm2022/covalent-core-json-formatter.mjs.map +1 -1
- package/fesm2022/covalent-core-layout.mjs +66 -66
- package/fesm2022/covalent-core-layout.mjs.map +1 -1
- package/fesm2022/covalent-core-loading.mjs +16 -16
- package/fesm2022/covalent-core-loading.mjs.map +1 -1
- package/fesm2022/covalent-core-menu.mjs +7 -7
- package/fesm2022/covalent-core-message.mjs +11 -11
- package/fesm2022/covalent-core-message.mjs.map +1 -1
- package/fesm2022/covalent-core-search.mjs +11 -11
- package/fesm2022/covalent-core-search.mjs.map +1 -1
- package/fesm2022/covalent-core-side-sheet.mjs +32 -32
- package/fesm2022/covalent-core-side-sheet.mjs.map +1 -1
- package/fesm2022/covalent-core-user-profile.mjs +10 -10
- package/layout/_layout-theme.scss +7 -6
- package/layout/layout-card-over/layout-card-over.component.d.ts +1 -1
- package/layout/navigation-drawer/navigation-drawer.component.d.ts +1 -1
- package/package.json +2 -2
- package/theming/_teradata-theme.scss +524 -0
- package/common/styles/font/MaterialIcons-Regular-v48.woff2 +0 -0
@@ -20,10 +20,10 @@ class TdUserProfileMenuComponent {
|
|
20
20
|
event.preventDefault();
|
21
21
|
event.stopPropagation();
|
22
22
|
}
|
23
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
24
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
23
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdUserProfileMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
24
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: TdUserProfileMenuComponent, selector: "td-user-profile-menu", inputs: { email: "email", name: "name" }, ngImport: i0, template: "<td-menu class=\"user-profile-menu\">\n <!--header-->\n <mat-list td-menu-header>\n <mat-list-item *ngIf=\"name || email\" (click)=\"_blockEvent($event)\">\n <mat-icon matListItemAvatar>person</mat-icon>\n <span matListItemLine *ngIf=\"name\" class=\"mat-body-1\">{{ name }}</span>\n <span matListItemLine *ngIf=\"email\">{{ email }}</span>\n </mat-list-item>\n <ng-content select=\"[td-user-info-list]\"></ng-content>\n </mat-list>\n <!--content-->\n <mat-action-list>\n <ng-content select=\"[td-user-action-list]\"></ng-content>\n </mat-action-list>\n</td-menu>\n", styles: [".user-profile-menu [td-menu-header]{text-align:left;padding-bottom:0}::ng-deep mat-list-item:not(:first-child) .mat-list-item-content .mat-icon[matListItemAvatar],::ng-deep [mat-list-item] .mat-list-item-content .mat-icon[matListItemAvatar]{background:none}.mat-action-list{padding-top:0}:host ::ng-deep .mat-action-list .mat-divider,:host ::ng-deep .mat-divider{margin:8px 0}:host ::ng-deep mat-divider:last-child{display:none}:host ::ng-deep mat-list .mat-list-item.mat-2-line .mat-list-item-content{height:inherit}:host ::ng-deep mat-list .mat-list-item .mat-list-item-content{padding:8px}td-menu{margin-bottom:0}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i3.MatActionList, selector: "mat-action-list", exportAs: ["matActionList"] }, { kind: "component", type: i3.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i3.MatListItemAvatar, selector: "[matListItemAvatar]" }, { kind: "directive", type: i3.MatListItemLine, selector: "[matListItemLine]" }, { kind: "component", type: i4.TdMenuComponent, selector: "td-menu" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
25
25
|
}
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdUserProfileMenuComponent, decorators: [{
|
27
27
|
type: Component,
|
28
28
|
args: [{ selector: 'td-user-profile-menu', changeDetection: ChangeDetectionStrategy.OnPush, template: "<td-menu class=\"user-profile-menu\">\n <!--header-->\n <mat-list td-menu-header>\n <mat-list-item *ngIf=\"name || email\" (click)=\"_blockEvent($event)\">\n <mat-icon matListItemAvatar>person</mat-icon>\n <span matListItemLine *ngIf=\"name\" class=\"mat-body-1\">{{ name }}</span>\n <span matListItemLine *ngIf=\"email\">{{ email }}</span>\n </mat-list-item>\n <ng-content select=\"[td-user-info-list]\"></ng-content>\n </mat-list>\n <!--content-->\n <mat-action-list>\n <ng-content select=\"[td-user-action-list]\"></ng-content>\n </mat-action-list>\n</td-menu>\n", styles: [".user-profile-menu [td-menu-header]{text-align:left;padding-bottom:0}::ng-deep mat-list-item:not(:first-child) .mat-list-item-content .mat-icon[matListItemAvatar],::ng-deep [mat-list-item] .mat-list-item-content .mat-icon[matListItemAvatar]{background:none}.mat-action-list{padding-top:0}:host ::ng-deep .mat-action-list .mat-divider,:host ::ng-deep .mat-divider{margin:8px 0}:host ::ng-deep mat-divider:last-child{display:none}:host ::ng-deep mat-list .mat-list-item.mat-2-line .mat-list-item-content{height:inherit}:host ::ng-deep mat-list .mat-list-item .mat-list-item-content{padding:8px}td-menu{margin-bottom:0}\n"] }]
|
29
29
|
}], propDecorators: { email: [{
|
@@ -35,10 +35,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
35
35
|
class TdUserProfileComponent {
|
36
36
|
name;
|
37
37
|
email;
|
38
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
39
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
38
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdUserProfileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
39
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: TdUserProfileComponent, selector: "td-user-profile", inputs: { name: "name", email: "email" }, ngImport: i0, template: "<button mat-icon-button [matMenuTriggerFor]=\"accountMenu\">\n <mat-icon>person</mat-icon>\n</button>\n\n<mat-menu #accountMenu=\"matMenu\" [overlapTrigger]=\"false\">\n <td-user-profile-menu [name]=\"name\" [email]=\"email\">\n <ng-content select=\"[td-user-info-list]\" td-user-info-list></ng-content>\n <ng-content select=\"[td-user-action-list]\" td-user-action-list></ng-content>\n </td-user-profile-menu>\n</mat-menu>\n", dependencies: [{ kind: "component", type: i1$1.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "directive", type: i1$1.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3$1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: TdUserProfileMenuComponent, selector: "td-user-profile-menu", inputs: ["email", "name"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
40
40
|
}
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdUserProfileComponent, decorators: [{
|
42
42
|
type: Component,
|
43
43
|
args: [{ selector: 'td-user-profile', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button mat-icon-button [matMenuTriggerFor]=\"accountMenu\">\n <mat-icon>person</mat-icon>\n</button>\n\n<mat-menu #accountMenu=\"matMenu\" [overlapTrigger]=\"false\">\n <td-user-profile-menu [name]=\"name\" [email]=\"email\">\n <ng-content select=\"[td-user-info-list]\" td-user-info-list></ng-content>\n <ng-content select=\"[td-user-action-list]\" td-user-action-list></ng-content>\n </td-user-profile-menu>\n</mat-menu>\n" }]
|
44
44
|
}], propDecorators: { name: [{
|
@@ -48,21 +48,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
48
48
|
}] } });
|
49
49
|
|
50
50
|
class CovalentUserProfileModule {
|
51
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
52
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
51
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: CovalentUserProfileModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
52
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.2", ngImport: i0, type: CovalentUserProfileModule, declarations: [TdUserProfileComponent, TdUserProfileMenuComponent], imports: [CommonModule,
|
53
53
|
MatMenuModule,
|
54
54
|
MatIconModule,
|
55
55
|
MatButtonModule,
|
56
56
|
MatListModule,
|
57
57
|
CovalentMenuModule], exports: [TdUserProfileComponent, TdUserProfileMenuComponent] });
|
58
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
58
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: CovalentUserProfileModule, imports: [CommonModule,
|
59
59
|
MatMenuModule,
|
60
60
|
MatIconModule,
|
61
61
|
MatButtonModule,
|
62
62
|
MatListModule,
|
63
63
|
CovalentMenuModule] });
|
64
64
|
}
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: CovalentUserProfileModule, decorators: [{
|
66
66
|
type: NgModule,
|
67
67
|
args: [{
|
68
68
|
declarations: [TdUserProfileComponent, TdUserProfileMenuComponent],
|
@@ -55,6 +55,9 @@
|
|
55
55
|
td-layout-card-over,
|
56
56
|
td-navigation-drawer,
|
57
57
|
td-layout {
|
58
|
+
--mat-sidenav-container-background-color: var(--mat-sidenav-content-background-color);
|
59
|
+
--mat-expansion-container-background-color: var(--mat-sidenav-content-background-color);
|
60
|
+
|
58
61
|
mat-toolbar {
|
59
62
|
@include mat-elevation(1);
|
60
63
|
|
@@ -90,8 +93,6 @@
|
|
90
93
|
}
|
91
94
|
|
92
95
|
.td-layout-footer {
|
93
|
-
background: mat-color($background, app-bar);
|
94
|
-
color: mat-color($foreground, text);
|
95
96
|
@include mat-elevation(2);
|
96
97
|
|
97
98
|
&.mat-primary {
|
@@ -99,7 +100,7 @@
|
|
99
100
|
|
100
101
|
&,
|
101
102
|
mat-icon {
|
102
|
-
color: mat-color($primary
|
103
|
+
color: mat-color($primary);
|
103
104
|
}
|
104
105
|
}
|
105
106
|
|
@@ -108,7 +109,7 @@
|
|
108
109
|
|
109
110
|
&,
|
110
111
|
mat-icon {
|
111
|
-
color: mat-color($accent
|
112
|
+
color: mat-color($accent);
|
112
113
|
}
|
113
114
|
}
|
114
115
|
|
@@ -117,12 +118,12 @@
|
|
117
118
|
|
118
119
|
&,
|
119
120
|
mat-icon {
|
120
|
-
color: mat-color($warn
|
121
|
+
color: mat-color($warn);
|
121
122
|
}
|
122
123
|
}
|
123
124
|
|
124
125
|
.mat-mdc-button {
|
125
|
-
--mdc-text-button-label-text-color: mat-color($foreground, text);
|
126
|
+
--mdc-text-button-label-text-color: #{mat-color($foreground, text)};
|
126
127
|
}
|
127
128
|
}
|
128
129
|
}
|
@@ -25,7 +25,7 @@ export declare class TdLayoutCardOverComponent {
|
|
25
25
|
* toolbar color option: primary | accent | warn.
|
26
26
|
* If [color] is not set, primary is used.
|
27
27
|
*/
|
28
|
-
color
|
28
|
+
color?: 'accent' | 'primary' | 'warn';
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutCardOverComponent, never>;
|
30
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<TdLayoutCardOverComponent, "td-layout-card-over", never, { "cardTitle": { "alias": "cardTitle"; "required": false; }; "cardSubtitle": { "alias": "cardSubtitle"; "required": false; }; "cardWidth": { "alias": "cardWidth"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["*", "[td-after-card]"], false, never>;
|
31
31
|
}
|
@@ -65,7 +65,7 @@ export declare class TdNavigationDrawerComponent implements OnInit, OnDestroy {
|
|
65
65
|
* toolbar color option: primary | accent | warn.
|
66
66
|
* If [color] is not set, default is used.
|
67
67
|
*/
|
68
|
-
color
|
68
|
+
color?: 'accent' | 'primary' | 'warn';
|
69
69
|
/**
|
70
70
|
* navigationRoute?: string
|
71
71
|
*
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@covalent/core",
|
3
|
-
"version": "8.
|
3
|
+
"version": "8.2.0-beta.1",
|
4
4
|
"exports": {
|
5
5
|
".": {
|
6
6
|
"sass": "./theming/_all-theme.scss",
|
@@ -107,7 +107,7 @@
|
|
107
107
|
"@angular/router": "17.x.x",
|
108
108
|
"@angular/cdk": "17.x.x",
|
109
109
|
"@angular/material": "17.x.x",
|
110
|
-
"@covalent/core": "8.
|
110
|
+
"@covalent/core": "8.2.0-beta.1"
|
111
111
|
},
|
112
112
|
"dependencies": {
|
113
113
|
"tslib": "^2.0.0"
|