@covalent/core 4.1.1-beta.3 → 4.1.1-develop.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/README.md +37 -2
- package/breadcrumbs/breadcrumbs.component.d.ts +2 -4
- package/common/material-icons.css +1 -0
- package/common/material-icons.css.map +1 -0
- package/common/platform.css +1 -0
- package/common/platform.css.map +1 -0
- package/common/styles/_elevation.scss +285 -0
- package/common/styles/_layout.scss +605 -0
- package/common/styles/_palette-dark.scss +326 -0
- package/common/styles/_palette-light.scss +637 -0
- package/common/styles/_rtl.scss +31 -0
- package/common/styles/_styles.scss +10 -0
- package/common/styles/_theme-functions.scss +25 -0
- package/common/styles/_typography-functions.scss +43 -0
- package/common/styles/_variables.scss +99 -0
- package/common/styles/colors/_colors-dark.scss +1399 -0
- package/common/styles/colors/_colors-light.scss +3235 -0
- package/common/styles/colors/_colors.scss +7 -0
- package/common/styles/core/_button.scss +90 -0
- package/common/styles/core/_card.scss +189 -0
- package/common/styles/core/_content.scss +43 -0
- package/common/styles/core/_core.scss +23 -0
- package/common/styles/core/_divider.scss +16 -0
- package/common/styles/core/_icons.scss +22 -0
- package/common/styles/core/_list.scss +8 -0
- package/common/styles/core/_sidenav.scss +22 -0
- package/common/styles/core/_structure.scss +127 -0
- package/common/styles/core/_toolbar.scss +53 -0
- package/common/styles/core/_whiteframe.scss +138 -0
- package/common/styles/font/MaterialIcons-Regular-v48.woff2 +0 -0
- package/common/styles/font/_font.scss +99 -0
- package/common/styles/utilities/_general.scss +65 -0
- package/common/styles/utilities/_pad.scss +36 -0
- package/common/styles/utilities/_pull.scss +36 -0
- package/common/styles/utilities/_push.scss +36 -0
- package/common/styles/utilities/_size.scss +24 -0
- package/common/styles/utilities/_text.scss +105 -0
- package/common/styles/utilities/_utilities.scss +15 -0
- package/dialogs/prompt-dialog/prompt-dialog.component.d.ts +10 -9
- package/esm2020/breadcrumbs/breadcrumb/breadcrumb.component.mjs +3 -3
- package/esm2020/breadcrumbs/breadcrumbs.component.mjs +8 -12
- package/esm2020/dialogs/prompt-dialog/prompt-dialog.component.mjs +45 -16
- package/esm2020/file/directives/file-drop.directive.mjs +30 -34
- package/esm2020/file/file-input/file-input.component.mjs +9 -31
- package/esm2020/file/file-upload/file-upload.component.mjs +1 -1
- package/esm2020/layout/layout-manage-list/layout-manage-list.component.mjs +5 -5
- package/esm2020/layout/layout-nav-list/layout-nav-list.component.mjs +5 -5
- package/esm2020/layout/layout-toggle.class.mjs +2 -3
- package/esm2020/layout/layout.component.mjs +5 -5
- package/esm2020/search/search-input/search-input.component.mjs +2 -2
- package/esm2020/side-sheet/side-sheet.content-directives.mjs +3 -3
- package/fesm2015/covalent-core-breadcrumbs.mjs +9 -13
- package/fesm2015/covalent-core-breadcrumbs.mjs.map +1 -1
- package/fesm2015/covalent-core-dialogs.mjs +44 -16
- package/fesm2015/covalent-core-dialogs.mjs.map +1 -1
- package/fesm2015/covalent-core-file.mjs +39 -64
- package/fesm2015/covalent-core-file.mjs.map +1 -1
- package/fesm2015/covalent-core-layout.mjs +13 -14
- package/fesm2015/covalent-core-layout.mjs.map +1 -1
- package/fesm2015/covalent-core-search.mjs +1 -1
- package/fesm2015/covalent-core-search.mjs.map +1 -1
- package/fesm2015/covalent-core-side-sheet.mjs +2 -2
- package/fesm2015/covalent-core-side-sheet.mjs.map +1 -1
- package/fesm2020/covalent-core-breadcrumbs.mjs +9 -13
- package/fesm2020/covalent-core-breadcrumbs.mjs.map +1 -1
- package/fesm2020/covalent-core-dialogs.mjs +44 -16
- package/fesm2020/covalent-core-dialogs.mjs.map +1 -1
- package/fesm2020/covalent-core-file.mjs +38 -63
- package/fesm2020/covalent-core-file.mjs.map +1 -1
- package/fesm2020/covalent-core-layout.mjs +13 -14
- package/fesm2020/covalent-core-layout.mjs.map +1 -1
- package/fesm2020/covalent-core-search.mjs +1 -1
- package/fesm2020/covalent-core-search.mjs.map +1 -1
- package/fesm2020/covalent-core-side-sheet.mjs +2 -2
- package/fesm2020/covalent-core-side-sheet.mjs.map +1 -1
- package/file/directives/file-drop.directive.d.ts +8 -14
- package/file/file-input/file-input.component.d.ts +6 -13
- package/layout/README.md +1 -1
- package/layout/layout-manage-list/layout-manage-list.component.d.ts +4 -4
- package/layout/layout-nav-list/layout-nav-list.component.d.ts +4 -4
- package/layout/layout.component.d.ts +4 -4
- package/package.json +18 -8
- package/theming/prebuilt/blue-grey-deep-orange.css +1 -0
- package/theming/prebuilt/blue-grey-deep-orange.css.map +1 -0
- package/theming/prebuilt/blue-orange.css +1 -0
- package/theming/prebuilt/blue-orange.css.map +1 -0
- package/theming/prebuilt/indigo-pink.css +1 -0
- package/theming/prebuilt/indigo-pink.css.map +1 -0
- package/theming/prebuilt/orange-light-blue.css +1 -0
- package/theming/prebuilt/orange-light-blue.css.map +1 -0
- package/theming/prebuilt/teal-orange.css +1 -0
- package/theming/prebuilt/teal-orange.css.map +1 -0
package/README.md
CHANGED
@@ -1,6 +1,41 @@
|
|
1
|
-
#
|
1
|
+
# core
|
2
2
|
|
3
|
-
This
|
3
|
+
Core Teradata UI Platform for layouts, icons, custom components and themes. This should be added as a dependency for any project that wants to use layouts, icons and themes for Angular Material.
|
4
|
+
|
5
|
+
The core will have custom components that enforce standards and best practices through built-in design patterns.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
This component can be installed as npm package.
|
10
|
+
|
11
|
+
```bash
|
12
|
+
npm i -save @covalent/core
|
13
|
+
```
|
14
|
+
|
15
|
+
## Setup
|
16
|
+
|
17
|
+
Import the modules from `@covalent/core` as needed in your NgModule:
|
18
|
+
|
19
|
+
```typescript
|
20
|
+
import { CovalentLayoutModule } from '@covalent/core/layout';
|
21
|
+
import { CovalentStepsModule } from '@covalent/core/steps';
|
22
|
+
/* and many more */
|
23
|
+
@NgModule({
|
24
|
+
imports: [
|
25
|
+
CovalentLayoutModule,
|
26
|
+
CovalentStepsModule,
|
27
|
+
...
|
28
|
+
],
|
29
|
+
...
|
30
|
+
})
|
31
|
+
export class MyModule {}
|
32
|
+
```
|
33
|
+
|
34
|
+
## Styles, Icons and Theming
|
35
|
+
|
36
|
+
See [theming](https://teradata.github.io/covalent/#/docs/theme) in the covalent docs for more info
|
37
|
+
|
38
|
+
Core Teradata UI Platform comes with a base CSS file `@covalent/core/common/platform.css` (includes icons).
|
4
39
|
|
5
40
|
## Running unit tests
|
6
41
|
|
@@ -1,11 +1,10 @@
|
|
1
|
-
import { QueryList, OnInit, OnDestroy, AfterContentInit,
|
1
|
+
import { QueryList, OnInit, OnDestroy, AfterContentInit, ChangeDetectorRef, ElementRef } from '@angular/core';
|
2
2
|
import { TdBreadcrumbComponent } from './breadcrumb/breadcrumb.component';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
export declare class TdBreadcrumbsComponent implements OnInit,
|
4
|
+
export declare class TdBreadcrumbsComponent implements OnInit, AfterContentInit, OnDestroy {
|
5
5
|
private _elementRef;
|
6
6
|
private _changeDetectorRef;
|
7
7
|
private _resizeSubscription;
|
8
|
-
private _widthSubject;
|
9
8
|
private _contentChildrenSub;
|
10
9
|
private _resizing;
|
11
10
|
private _separatorIcon;
|
@@ -19,7 +18,6 @@ export declare class TdBreadcrumbsComponent implements OnInit, DoCheck, AfterCon
|
|
19
18
|
get separatorIcon(): string;
|
20
19
|
constructor(_elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef);
|
21
20
|
ngOnInit(): void;
|
22
|
-
ngDoCheck(): void;
|
23
21
|
ngAfterContentInit(): void;
|
24
22
|
ngOnDestroy(): void;
|
25
23
|
get nativeElementWidth(): number;
|
@@ -0,0 +1 @@
|
|
1
|
+
@-moz-document url-prefix(){[layout-fill]{margin:0;width:100%;min-height:100%;height:100%}}@font-face{font-family:"Material Icons";font-style:normal;font-weight:400;src:url("styles/font/MaterialIcons-Regular-v48.woff2") format("woff2")}.material-icons{font-family:"Material Icons";font-weight:normal;font-style:normal;font-size:24px;display:inline-block;width:1em;height:1em;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}mat-icon.material-icons,mat-icon.material-icons.mat-icon{width:1em;height:1em}.material-icons.md-18,.material-icons.mat-18{font-size:18px;height:18px;width:18px}.material-icons.md-24,.material-icons.mat-24{font-size:24px;height:24px;width:24px}.material-icons.md-36,.material-icons.mat-36{font-size:36px;height:36px;width:36px}.material-icons.md-48,.material-icons.mat-48{font-size:48px;height:48px;width:48px}.material-icons.md-dark,.material-icons.mat-dark{color:rgba(0,0,0,.54)}.material-icons.md-dark.md-inactive,.material-icons.mat-dark.mat-inactive{color:rgba(0,0,0,.26)}.material-icons.md-light,.material-icons.mat-light{color:#fff}.material-icons.md-light.md-inactive,.material-icons.mat-light.mat-inactive{color:rgba(255,255,255,.3)}/*# sourceMappingURL=material-icons.css.map */
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../libs/angular/common/styles/_layout.scss","../../../../libs/angular/common/styles/font/_font.scss"],"names":[],"mappings":"AA0BA,4BACE,cACE,SACA,WACA,gBACA,aC5BF,WACE,6BACA,kBACA,gBACA,uEAGF,gBAEE,6BACA,mBACA,kBACA,eACA,qBACA,UACA,WACA,cACA,oBACA,sBACA,iBACA,mBACA,cAGA,mCAGA,kCAGA,kCAGA,6BAKA,yDAEE,UACA,WAKJ,6CAEE,eACA,YACA,WAGF,6CAEE,eACA,YACA,WAGF,6CAEE,eACA,YACA,WAGF,6CAEE,eACA,YACA,WAIF,iDAEE,sBAGF,0EAEE,sBAIF,mDAEE,WAGF,4EAEE","file":"material-icons.css"}
|