@covalent/core 8.23.2 → 9.0.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/forms/auto-trim/auto-trim.directive.d.ts +1 -1
- package/esm2022/breadcrumbs/breadcrumb/breadcrumb.component.mjs +4 -4
- package/esm2022/breadcrumbs/breadcrumbs.component.mjs +5 -7
- package/esm2022/breadcrumbs/breadcrumbs.module.mjs +5 -5
- package/esm2022/common/animations/bounce/bounce.animation.mjs +1 -1
- package/esm2022/common/animations/flash/flash.animation.mjs +1 -1
- package/esm2022/common/animations/headshake/headshake.animation.mjs +1 -1
- package/esm2022/common/animations/jello/jello.animation.mjs +1 -1
- package/esm2022/common/animations/pulse/pulse.animation.mjs +1 -1
- package/esm2022/common/common.module.mjs +5 -5
- package/esm2022/common/directives/fullscreen/fullscreen.directive.mjs +4 -4
- package/esm2022/common/forms/auto-trim/auto-trim.directive.mjs +5 -5
- 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 +4 -4
- package/esm2022/common/services/router-path.service.mjs +4 -4
- package/esm2022/dialogs/alert-dialog/alert-dialog.component.mjs +4 -4
- package/esm2022/dialogs/confirm-dialog/confirm-dialog.component.mjs +4 -4
- package/esm2022/dialogs/dialog.component.mjs +16 -16
- package/esm2022/dialogs/dialogs.module.mjs +5 -5
- package/esm2022/dialogs/prompt-dialog/prompt-dialog.component.mjs +4 -4
- package/esm2022/dialogs/services/dialog.service.mjs +4 -4
- package/esm2022/dialogs/status-dialog/status-dialog.component.mjs +4 -4
- package/esm2022/dialogs/window-dialog/window-dialog.component.mjs +4 -4
- package/esm2022/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +4 -4
- package/esm2022/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +4 -4
- package/esm2022/dynamic-menu/dynamic-menu.component.mjs +4 -4
- package/esm2022/dynamic-menu/dynamic-menu.module.mjs +5 -5
- 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 +7 -7
- package/esm2022/file/file-upload/file-upload.component.mjs +6 -5
- package/esm2022/file/file.module.mjs +5 -5
- 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 +5 -5
- package/esm2022/layout/layout-card-over/layout-card-over.component.mjs +4 -4
- package/esm2022/layout/layout-footer/layout-footer.component.mjs +4 -4
- package/esm2022/layout/layout-manage-list/layout-manage-list.component.mjs +4 -4
- package/esm2022/layout/layout-manage-list/layout-manage-list.directives.mjs +10 -10
- package/esm2022/layout/layout-nav/layout-nav.component.mjs +4 -4
- package/esm2022/layout/layout-nav-list/layout-nav-list.component.mjs +4 -4
- package/esm2022/layout/layout-nav-list/layout-nav-list.directives.mjs +10 -10
- package/esm2022/layout/layout-toggle.class.mjs +4 -4
- package/esm2022/layout/layout.component.mjs +4 -4
- package/esm2022/layout/layout.directives.mjs +10 -10
- package/esm2022/layout/layout.module.mjs +5 -5
- 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 +5 -5
- package/esm2022/loading/services/loading.factory.mjs +4 -4
- package/esm2022/loading/services/loading.service.mjs +4 -4
- package/esm2022/menu/menu.component.mjs +4 -4
- package/esm2022/menu/menu.module.mjs +5 -5
- package/esm2022/message/message.component.mjs +7 -7
- package/esm2022/message/message.module.mjs +5 -5
- 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 +5 -5
- package/esm2022/side-sheet/side-sheet-container.mjs +7 -7
- 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 +5 -5
- package/esm2022/user-profile/user-profile-menu/user-profile-menu.component.mjs +4 -4
- package/esm2022/user-profile/user-profile.component.mjs +4 -4
- package/esm2022/user-profile/user-profile.module.mjs +5 -5
- package/fesm2022/covalent-core-breadcrumbs.mjs +12 -14
- package/fesm2022/covalent-core-breadcrumbs.mjs.map +1 -1
- package/fesm2022/covalent-core-common.mjs +39 -39
- package/fesm2022/covalent-core-common.mjs.map +1 -1
- package/fesm2022/covalent-core-dialogs.mjs +38 -38
- 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 +26 -25
- 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 +62 -62
- package/fesm2022/covalent-core-layout.mjs.map +1 -1
- package/fesm2022/covalent-core-loading.mjs +17 -17
- package/fesm2022/covalent-core-loading.mjs.map +1 -1
- package/fesm2022/covalent-core-menu.mjs +7 -7
- package/fesm2022/covalent-core-menu.mjs.map +1 -1
- 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 +11 -11
- package/fesm2022/covalent-core-user-profile.mjs.map +1 -1
- package/package.json +8 -8
- package/side-sheet/side-sheet-container.d.ts +1 -1
- package/theming/_teradata-theme.scss +14 -14
- package/theming/prebuilt/all-theme-dark.css +1 -1
- package/theming/prebuilt/all-theme-dark.css.map +1 -1
- package/theming/prebuilt/all-theme-light.css +1 -1
- package/theming/prebuilt/all-theme-light.css.map +1 -1
- package/theming/prebuilt/blue-grey-deep-orange.css +1 -1
- package/theming/prebuilt/blue-grey-deep-orange.css.map +1 -1
- package/theming/prebuilt/blue-orange.css +1 -1
- package/theming/prebuilt/blue-orange.css.map +1 -1
- package/theming/prebuilt/indigo-pink.css +1 -1
- package/theming/prebuilt/indigo-pink.css.map +1 -1
- package/theming/prebuilt/orange-light-blue.css +1 -1
- package/theming/prebuilt/orange-light-blue.css.map +1 -1
- package/theming/prebuilt/teal-orange.css +1 -1
- package/theming/prebuilt/teal-orange.css.map +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import {
|
2
|
+
import { Input, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
3
3
|
import * as i1 from '@angular/common';
|
4
4
|
import { CommonModule } from '@angular/common';
|
5
5
|
import * as i1$1 from '@angular/material/menu';
|
@@ -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: "
|
24
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
23
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdUserProfileMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
24
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.11", 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 matListItemTitle *ngIf=\"name\">{{ 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: ["::ng-deep .mat-mdc-list-item-avatar.mdc-list-item__start{line-height:40px;text-align:center;margin:0 16px}::ng-deep .mat-mdc-action-list .mdc-list-item:not(.mdc-list-item--with-leading-avatar){padding-left:72px}\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: "directive", type: i3.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "component", type: i4.TdMenuComponent, selector: "td-menu" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
25
25
|
}
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", 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 matListItemTitle *ngIf=\"name\">{{ 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: ["::ng-deep .mat-mdc-list-item-avatar.mdc-list-item__start{line-height:40px;text-align:center;margin:0 16px}::ng-deep .mat-mdc-action-list .mdc-list-item:not(.mdc-list-item--with-leading-avatar){padding-left:72px}\n"] }]
|
29
29
|
}], propDecorators: { email: [{
|
@@ -35,10 +35,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
35
35
|
class TdUserProfileComponent {
|
36
36
|
name;
|
37
37
|
email;
|
38
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
39
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
38
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: TdUserProfileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
39
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.11", 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: "
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", 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.1.2", ngImpor
|
|
48
48
|
}] } });
|
49
49
|
|
50
50
|
class CovalentUserProfileModule {
|
51
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
52
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
51
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentUserProfileModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
52
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.11", 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: "
|
58
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.11", 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: "
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentUserProfileModule, decorators: [{
|
66
66
|
type: NgModule,
|
67
67
|
args: [{
|
68
68
|
declarations: [TdUserProfileComponent, TdUserProfileMenuComponent],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"covalent-core-user-profile.mjs","sources":["../../../../libs/angular/user-profile/src/user-profile-menu/user-profile-menu.component.ts","../../../../libs/angular/user-profile/src/user-profile-menu/user-profile-menu.component.html","../../../../libs/angular/user-profile/src/user-profile.component.ts","../../../../libs/angular/user-profile/src/user-profile.component.html","../../../../libs/angular/user-profile/src/user-profile.module.ts","../../../../libs/angular/user-profile/src/covalent-core-user-profile.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'td-user-profile-menu',\n templateUrl: './user-profile-menu.component.html',\n styleUrls: ['./user-profile-menu.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdUserProfileMenuComponent {\n @Input() email?: string;\n @Input() name?: string;\n\n _blockEvent(event: Event): void {\n event.preventDefault();\n event.stopPropagation();\n }\n}\n","<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 matListItemTitle *ngIf=\"name\">{{ 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","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'td-user-profile',\n templateUrl: './user-profile.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdUserProfileComponent {\n @Input() name?: string;\n @Input() email?: string;\n}\n","<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","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatListModule } from '@angular/material/list';\n\nimport { TdUserProfileMenuComponent } from './user-profile-menu/user-profile-menu.component';\nimport { TdUserProfileComponent } from './user-profile.component';\nimport { CovalentMenuModule } from '@covalent/core/menu';\n\n@NgModule({\n declarations: [TdUserProfileComponent, TdUserProfileMenuComponent],\n imports: [\n CommonModule,\n MatMenuModule,\n MatIconModule,\n MatButtonModule,\n MatListModule,\n CovalentMenuModule,\n ],\n providers: [],\n exports: [TdUserProfileComponent, TdUserProfileMenuComponent],\n})\nexport class CovalentUserProfileModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1","i3","i4.TdUserProfileMenuComponent"],"mappings":";;;;;;;;;;;;;;;MAQa,0BAA0B,CAAA;AAC5B,IAAA,KAAK
|
1
|
+
{"version":3,"file":"covalent-core-user-profile.mjs","sources":["../../../../libs/angular/user-profile/src/user-profile-menu/user-profile-menu.component.ts","../../../../libs/angular/user-profile/src/user-profile-menu/user-profile-menu.component.html","../../../../libs/angular/user-profile/src/user-profile.component.ts","../../../../libs/angular/user-profile/src/user-profile.component.html","../../../../libs/angular/user-profile/src/user-profile.module.ts","../../../../libs/angular/user-profile/src/covalent-core-user-profile.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'td-user-profile-menu',\n templateUrl: './user-profile-menu.component.html',\n styleUrls: ['./user-profile-menu.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdUserProfileMenuComponent {\n @Input() email?: string;\n @Input() name?: string;\n\n _blockEvent(event: Event): void {\n event.preventDefault();\n event.stopPropagation();\n }\n}\n","<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 matListItemTitle *ngIf=\"name\">{{ 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","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'td-user-profile',\n templateUrl: './user-profile.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TdUserProfileComponent {\n @Input() name?: string;\n @Input() email?: string;\n}\n","<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","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatListModule } from '@angular/material/list';\n\nimport { TdUserProfileMenuComponent } from './user-profile-menu/user-profile-menu.component';\nimport { TdUserProfileComponent } from './user-profile.component';\nimport { CovalentMenuModule } from '@covalent/core/menu';\n\n@NgModule({\n declarations: [TdUserProfileComponent, TdUserProfileMenuComponent],\n imports: [\n CommonModule,\n MatMenuModule,\n MatIconModule,\n MatButtonModule,\n MatListModule,\n CovalentMenuModule,\n ],\n providers: [],\n exports: [TdUserProfileComponent, TdUserProfileMenuComponent],\n})\nexport class CovalentUserProfileModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1","i3","i4.TdUserProfileMenuComponent"],"mappings":";;;;;;;;;;;;;;;MAQa,0BAA0B,CAAA;AAC5B,IAAA,KAAK;AACL,IAAA,IAAI;AAEb,IAAA,WAAW,CAAC,KAAY,EAAA;QACtB,KAAK,CAAC,cAAc,EAAE;QACtB,KAAK,CAAC,eAAe,EAAE;;wGANd,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAA1B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,0BAA0B,sGCRvC,okBAeA,EAAA,MAAA,EAAA,CAAA,uNAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,SAAA,EAAA,SAAA,EAAA,UAAA,CAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,UAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,aAAA,EAAA,QA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iBAAA;;;ACvBD;;AAEG;;;;"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@covalent/core",
|
3
|
-
"version": "
|
3
|
+
"version": "9.0.0-beta.1",
|
4
4
|
"exports": {
|
5
5
|
".": {
|
6
6
|
"sass": "./theming/_all-theme.scss",
|
@@ -104,13 +104,13 @@
|
|
104
104
|
"license": "MIT",
|
105
105
|
"author": "Teradata UX",
|
106
106
|
"peerDependencies": {
|
107
|
-
"@angular/common": "
|
108
|
-
"@angular/core": "
|
109
|
-
"@angular/forms": "
|
110
|
-
"@angular/router": "
|
111
|
-
"@angular/cdk": "
|
112
|
-
"@angular/material": "
|
113
|
-
"@covalent/core": "
|
107
|
+
"@angular/common": "18.2.11",
|
108
|
+
"@angular/core": "18.2.11",
|
109
|
+
"@angular/forms": "18.2.11",
|
110
|
+
"@angular/router": "18.2.11",
|
111
|
+
"@angular/cdk": "18.2.11",
|
112
|
+
"@angular/material": "18.2.11",
|
113
|
+
"@covalent/core": "9.0.0-beta.1"
|
114
114
|
},
|
115
115
|
"dependencies": {
|
116
116
|
"tslib": "^2.0.0"
|
@@ -23,7 +23,7 @@ export declare abstract class _CovalentSideSheetContainerBase extends BasePortal
|
|
23
23
|
private _focusTrap;
|
24
24
|
/** Emits when an animation state changes. */
|
25
25
|
_animationStateChanged: EventEmitter<{
|
26
|
-
state:
|
26
|
+
state: "opened" | "opening" | "closing" | "closed";
|
27
27
|
totalTime: number;
|
28
28
|
}>;
|
29
29
|
/** Element that was focused before the side-sheet was opened. Save this to restore upon close. */
|
@@ -345,21 +345,21 @@ $td-dark-theme-foreground: (
|
|
345
345
|
);
|
346
346
|
|
347
347
|
// Custom typography
|
348
|
-
$td-custom-typography: mat.define-typography-config(
|
349
|
-
$button: mat.define-typography-level(14px, 14px, 400),
|
348
|
+
$td-custom-typography: mat.m2-define-typography-config(
|
349
|
+
$button: mat.m2-define-typography-level(14px, 14px, 400),
|
350
350
|
);
|
351
|
-
$td-custom-toolbar-typography: mat.define-typography-config(
|
352
|
-
$headline-6: mat.define-typography-level(20px, 32px, 400),
|
351
|
+
$td-custom-toolbar-typography: mat.m2-define-typography-config(
|
352
|
+
$headline-6: mat.m2-define-typography-level(20px, 32px, 400),
|
353
353
|
);
|
354
354
|
|
355
355
|
// Create the theme object (a Sass map containing all of the palettes).
|
356
|
-
$td-light-theme: mat.define-light-theme(
|
356
|
+
$td-light-theme: mat.m2-define-light-theme(
|
357
357
|
(
|
358
358
|
color: (
|
359
|
-
primary: mat.define-palette($td-primary, '40', '30', '60'),
|
360
|
-
secondary: mat.define-palette($td-secondary, '40', '30', '60'),
|
361
|
-
accent: mat.define-palette($td-accent, '40', '30', '60'),
|
362
|
-
warn: mat.define-palette($td-warn, '40', '30', '60'),
|
359
|
+
primary: mat.m2-define-palette($td-primary, '40', '30', '60'),
|
360
|
+
secondary: mat.m2-define-palette($td-secondary, '40', '30', '60'),
|
361
|
+
accent: mat.m2-define-palette($td-accent, '40', '30', '60'),
|
362
|
+
warn: mat.m2-define-palette($td-warn, '40', '30', '60'),
|
363
363
|
on-secondary: $light-on-secondary,
|
364
364
|
),
|
365
365
|
typography: $td-custom-typography,
|
@@ -375,13 +375,13 @@ $td-light-theme: mat.private-deep-merge-all(
|
|
375
375
|
)
|
376
376
|
);
|
377
377
|
|
378
|
-
$td-dark-theme: mat.define-dark-theme(
|
378
|
+
$td-dark-theme: mat.m2-define-dark-theme(
|
379
379
|
(
|
380
380
|
color: (
|
381
|
-
primary: mat.define-palette($td-primary-dark, '80', '70', '90'),
|
382
|
-
secondary: mat.define-palette($td-secondary-dark, '80', '70', '90'),
|
383
|
-
accent: mat.define-palette($td-accent-dark, '80', '70', '90'),
|
384
|
-
warn: mat.define-palette($td-warn-dark, '80', '70', '90'),
|
381
|
+
primary: mat.m2-define-palette($td-primary-dark, '80', '70', '90'),
|
382
|
+
secondary: mat.m2-define-palette($td-secondary-dark, '80', '70', '90'),
|
383
|
+
accent: mat.m2-define-palette($td-accent-dark, '80', '70', '90'),
|
384
|
+
warn: mat.m2-define-palette($td-warn-dark, '80', '70', '90'),
|
385
385
|
on-secondary: $dark-on-secondary,
|
386
386
|
),
|
387
387
|
typography: $td-custom-typography,
|