@covalent/core 8.1.0-beta.6 → 8.1.0-beta.7
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/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 +21 -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 +1 -1
- package/esm2022/dialogs/services/dialog.service.mjs +4 -4
- package/esm2022/dialogs/window-dialog/window-dialog.component.mjs +3 -3
- package/esm2022/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +3 -3
- 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 +3 -3
- 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 +5 -5
- package/esm2022/layout/layout-nav-list/layout-nav-list.component.mjs +4 -4
- 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 +10 -10
- 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 +62 -47
- package/fesm2022/covalent-core-common.mjs.map +1 -1
- package/fesm2022/covalent-core-dialogs.mjs +31 -31
- package/fesm2022/covalent-core-dialogs.mjs.map +1 -1
- package/fesm2022/covalent-core-dynamic-menu.mjs +13 -13
- package/fesm2022/covalent-core-file.mjs +24 -24
- package/fesm2022/covalent-core-file.mjs.map +1 -1
- package/fesm2022/covalent-core-json-formatter.mjs +7 -7
- package/fesm2022/covalent-core-json-formatter.mjs.map +1 -1
- package/fesm2022/covalent-core-layout.mjs +62 -62
- 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 +10 -10
- package/fesm2022/covalent-core-message.mjs.map +1 -1
- package/fesm2022/covalent-core-search.mjs +10 -10
- package/fesm2022/covalent-core-search.mjs.map +1 -1
- package/fesm2022/covalent-core-side-sheet.mjs +31 -31
- package/fesm2022/covalent-core-side-sheet.mjs.map +1 -1
- package/fesm2022/covalent-core-user-profile.mjs +10 -10
- package/package.json +2 -2
- package/theming/_teradata-theme.scss +28 -47
@@ -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],
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@covalent/core",
|
3
|
-
"version": "8.1.0-beta.
|
3
|
+
"version": "8.1.0-beta.7",
|
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.1.0-beta.
|
110
|
+
"@covalent/core": "8.1.0-beta.7"
|
111
111
|
},
|
112
112
|
"dependencies": {
|
113
113
|
"tslib": "^2.0.0"
|
@@ -18,49 +18,65 @@ $td-light-colors: map-get($td-theme-light, 'colors');
|
|
18
18
|
// Add contrast for angular palette
|
19
19
|
$td-digital-blue-light: map-merge(
|
20
20
|
(
|
21
|
+
'200': map-get($td-light-palettes, 'digital blue 20'),
|
21
22
|
'30': map-get($td-light-palettes, 'digital blue 30'),
|
23
|
+
'300': map-get($td-light-palettes, 'digital blue 30'),
|
22
24
|
'40': map-get($td-light-palettes, 'digital blue 40'),
|
23
25
|
'50': map-get($td-light-palettes, 'digital blue 50'),
|
24
26
|
'500': map-get($td-light-palettes, 'digital blue 50'),
|
25
27
|
'60': map-get($td-light-palettes, 'digital blue 60'),
|
28
|
+
'600': map-get($td-light-palettes, 'digital blue 60'),
|
26
29
|
'70': map-get($td-light-palettes, 'digital blue 70'),
|
27
30
|
'80': map-get($td-light-palettes, 'digital blue 80'),
|
28
31
|
'90': map-get($td-light-palettes, 'digital blue 90'),
|
32
|
+
'900': map-get($td-light-palettes, 'digital blue 90'),
|
29
33
|
),
|
30
34
|
(
|
31
35
|
contrast: (
|
36
|
+
'20': $light-on-primary,
|
32
37
|
'30': $light-on-primary,
|
38
|
+
'300': $light-on-primary,
|
33
39
|
'40': $light-on-primary,
|
34
40
|
'50': $light-on-primary,
|
35
41
|
'500': $light-on-primary,
|
36
42
|
'60': $light-on-primary,
|
43
|
+
'600': $light-on-primary,
|
37
44
|
'70': $light-on-primary,
|
38
45
|
'80': $light-on-primary,
|
39
46
|
'90': $light-on-primary,
|
47
|
+
'900': $light-on-primary,
|
40
48
|
),
|
41
49
|
)
|
42
50
|
);
|
43
51
|
$td-digital-blue-dark: map-merge(
|
44
52
|
(
|
53
|
+
'200': map-get($td-dark-palettes, 'digital blue 20'),
|
45
54
|
'30': map-get($td-dark-palettes, 'digital blue 30'),
|
55
|
+
'300': map-get($td-dark-palettes, 'digital blue 30'),
|
46
56
|
'40': map-get($td-dark-palettes, 'digital blue 40'),
|
47
57
|
'50': map-get($td-dark-palettes, 'digital blue 50'),
|
48
58
|
'500': map-get($td-dark-palettes, 'digital blue 50'),
|
49
59
|
'60': map-get($td-dark-palettes, 'digital blue 60'),
|
60
|
+
'600': map-get($td-dark-palettes, 'digital blue 60'),
|
50
61
|
'70': map-get($td-dark-palettes, 'digital blue 70'),
|
51
62
|
'80': map-get($td-dark-palettes, 'digital blue 80'),
|
52
63
|
'90': map-get($td-dark-palettes, 'digital blue 90'),
|
64
|
+
'900': map-get($td-dark-palettes, 'digital blue 90'),
|
53
65
|
),
|
54
66
|
(
|
55
67
|
contrast: (
|
68
|
+
'200': $dark-on-primary,
|
56
69
|
'30': $dark-on-primary,
|
70
|
+
'300': $dark-on-primary,
|
57
71
|
'40': $dark-on-primary,
|
58
72
|
'50': $dark-on-primary,
|
59
73
|
'500': $dark-on-primary,
|
60
74
|
'60': $dark-on-primary,
|
75
|
+
'600': $dark-on-primary,
|
61
76
|
'70': $dark-on-primary,
|
62
77
|
'80': $dark-on-primary,
|
63
78
|
'90': $dark-on-primary,
|
79
|
+
'900': $dark-on-primary,
|
64
80
|
),
|
65
81
|
)
|
66
82
|
);
|
@@ -183,8 +199,8 @@ $td-warn-dark: $td-warn-dark;
|
|
183
199
|
// Background palette for light themes.
|
184
200
|
// todo: need to re-catalog used variables
|
185
201
|
$td-light-theme-background: (
|
186
|
-
status-bar: $theme-light-colors-surface-container,
|
187
|
-
app-bar: $light-surface,
|
202
|
+
status-bar: $theme-light-colors-surface-container-lowest,
|
203
|
+
app-bar: $theme-light-colors-surface-container-low,
|
188
204
|
background: $theme-light-colors-surface,
|
189
205
|
canvas: $light-surface-canvas,
|
190
206
|
card: $theme-light-colors-surface-container
|
@@ -383,7 +399,7 @@ $td-dark-theme: mat.private-deep-merge-all(
|
|
383
399
|
$primary: map-get($theme, primary);
|
384
400
|
$accent: map-get($theme, accent);
|
385
401
|
$warn: map-get($theme, warn);
|
386
|
-
$background: map-get($theme, background);
|
402
|
+
$background: map-get(map-get($theme, color), background);
|
387
403
|
$foreground: map-get($theme, foreground);
|
388
404
|
$is-dark-theme: map-get($theme, is-dark);
|
389
405
|
$accent-highlight: map-get($background, accent-highlight);
|
@@ -395,6 +411,13 @@ $td-dark-theme: mat.private-deep-merge-all(
|
|
395
411
|
--mat-toolbar-container-text-color: #{$on-primary};
|
396
412
|
}
|
397
413
|
|
414
|
+
:root {
|
415
|
+
--mdc-list-list-item-leading-avatar-color: #{map-get(
|
416
|
+
$background,
|
417
|
+
disabled-button
|
418
|
+
)};
|
419
|
+
}
|
420
|
+
|
398
421
|
// Logo alignment
|
399
422
|
.mat-icon.mat-icon-logo {
|
400
423
|
fill: $teradata-orange-500;
|
@@ -404,18 +427,6 @@ $td-dark-theme: mat.private-deep-merge-all(
|
|
404
427
|
@if $is-dark-theme {
|
405
428
|
fill: #ffffff;
|
406
429
|
}
|
407
|
-
|
408
|
-
// Logo + title alignment
|
409
|
-
& + .mat-title,
|
410
|
-
& + span {
|
411
|
-
position: relative;
|
412
|
-
top: 1px;
|
413
|
-
text-transform: uppercase;
|
414
|
-
}
|
415
|
-
|
416
|
-
& + .td-navigation-drawer-title {
|
417
|
-
top: 2px;
|
418
|
-
}
|
419
430
|
}
|
420
431
|
// Spacing before logo in main toolbar
|
421
432
|
.mat-toolbar {
|
@@ -489,44 +500,14 @@ $td-dark-theme: mat.private-deep-merge-all(
|
|
489
500
|
}
|
490
501
|
}
|
491
502
|
|
492
|
-
td-layout-nav {
|
493
|
-
mat-toolbar {
|
494
|
-
z-index: 2;
|
495
|
-
@include mat-elevation(3);
|
496
|
-
}
|
497
|
-
}
|
498
|
-
|
499
|
-
// Active top nav
|
500
|
-
nav.docs-nav {
|
501
|
-
a {
|
502
|
-
line-height: 4;
|
503
|
-
display: block;
|
504
|
-
font-size: 1.1428em;
|
505
|
-
letter-spacing: 0.0764em;
|
506
|
-
position: relative;
|
507
|
-
|
508
|
-
&.active {
|
509
|
-
&::after {
|
510
|
-
content: '';
|
511
|
-
position: absolute;
|
512
|
-
height: 3px;
|
513
|
-
bottom: 0;
|
514
|
-
width: 100%;
|
515
|
-
background-color: mat-color($accent);
|
516
|
-
left: 0;
|
517
|
-
}
|
518
|
-
}
|
519
|
-
}
|
520
|
-
}
|
521
|
-
|
522
503
|
// Active side nav
|
523
504
|
.doc-nav a.doc-nav-link {
|
524
505
|
&.active::before {
|
525
|
-
background-color: $accent
|
506
|
+
background-color: mat-color($accent);
|
526
507
|
}
|
527
508
|
&:hover {
|
528
509
|
&::before {
|
529
|
-
background-color: $accent
|
510
|
+
background-color: mat-color($accent);
|
530
511
|
}
|
531
512
|
}
|
532
513
|
}
|