1.0.0-beta.5-1 (2017-06-12)
Small patch release to address a loading component issue and documentation updates with angular@4.2.0
change detection since creating components or changing inputs on component life hooks cycles need to explicitly call a change detection cycle by developers.
- loading: when using the full screen loader in
ngOnInit
it fails (349d108033f13e1bce5491cc0185b69c596b17f7)
- docs: footer & expansion theme, update logo docs (574e6d184864dbcc46206210ec7c9699807f9c90), closes #578
- docs: update documentation with the way to use
media.broadcast
with layouts inngAfterViewInit
(2606b754a303271c41b1d4dd7c37bf24b5b2d4c6), closes #684
1.0.0-beta.5 Blackhole Sun (2017-06-09)
Now that chips have async support and we've abstracted the internal filtering mechanism, the developer needs to provide their own filter.
This will also allow the developer to create custom filters both locally and server-side.
e.g.
<td-chips [items]="filteredStrings"
[(ngModel)]="stringsModel"
placeholder="Enter autocomplete strings"
(inputChange)="filterStrings($event)"
requireMatch>
</td-chips>
strings: string[] = [
'stepper',
'expansion-panel',
'markdown',
'highlight',
'loading',
'media',
'chips',
'http',
'json-formatter',
'pipes',
'need more?',
];
filteredStrings: string[];
stringsModel: string[] = this.strings.slice(0, 6);
ngOnInit(): void {
this.filterStrings('');
}
filterStrings(value: string): void {
if (value) {
this.filteredStrings = this.strings.filter((item: any) => {
return item.toLowerCase().indexOf(value.toLowerCase()) > -1;
}).filter((filteredItem: any) => {
return this.stringsModel ? this.stringsModel.indexOf(filteredItem) < 0 : true;
});
}
}
With the introduction of td-expansion-panel-group
, the td-expansion-panel
expanded margin animation will not be applied unless the td-expansion-panel
is grouped inside of a td-expansion-panel-group
.
e.g.
<!-- not applied -->
<td-expansion-panel></td-expansion-panel>
<!-- applied -->
<td-expansion-panel-group>
<td-expansion-panel></td-expansion-panel>
<td-expansion-panel></td-expansion-panel>
<td-expansion-panel></td-expansion-panel>
</td-expansion-panel-group>
- chips: keep focused state as long as you keep clicking inside the chips context (22d4342c4072560e3903820c4009f8129ec0d184)
- data-table: not throw
(rowClick)
event when clicking on checkbox (ec1cbd8c962d0e5610b075b6f3655afa589ba121), closes #611 - expansion-panel: only render label and sublabel when its needed (e62d3bd68553be7cee188c0b761c68d11247f902)
- layout: use
ScrollDispatcherModule
and leveragecdkScrollable
in layouts so material components readjust when scrolling (629d06f161c00f99218708570d6085acbf58ee4f), closes #620 - media: make media service not use window directly (90e16f5d7be080aee1601a2d86e72c47536c3e40)
- stepper: horizontal scroll was not appearing when needed in certain cases (9542139ba7b8e84435b1cda47f875b927787a64a), closes #282
- stepper: add
cdkScrollable
so material component can hook into it (9542139ba7b8e84435b1cda47f875b927787a64a) - styles: fix sm/md/lg card images in title-group (dda5d9cc3c5fe5728b9b9b27f8a6afa95f969861)
- theme: remove duplicate functions that are already part of material (98eaf28287db5ebe0597804818a99a11fe82b00a), closes #632
- chips: new
[chipRemoval]
input to block chips from being removed (51ba94db1b7adef51a67407fc9db8504678a9af8) - chips: add
[color]
input to change the color of focused chips, input and underline (5c2635c6548741442100b98724adcf607c6fb770), closes #605 - chips: new
[stacked]
input to make chips stack vertically. (9a18a6314853f35991868cd0260884fa4cc5b3a4) - chips: ability to use object lists and set templates for both autocomplete and chips (22d4342c4072560e3903820c4009f8129ec0d184)
- chips: abstract the autocomplete filtering and add debounce input (local vs server) (22d4342c4072560e3903820c4009f8129ec0d184), closes #252, #359, #359
- chips: add
td-chip-avatar
when using templatetd-chip
to mimic a contact chip (fe9daccb5fd436a3ca527d4e694cc2e02e26f79d) - dependencies: upgrade to
@angular/material@1.0.0-beta.6
(629d06f161c00f99218708570d6085acbf58ee4f) - dialog: improve
prompt-dialog
a11y by selection text in input when focused (e9427aaee1520a83326cd242850b525915b7c5fe), closes #616 - expansion-panel: introducing
td-expansion-panel-group
to only give margin to expansion panels when grouped (9ae0ba532bbabde6eca8d1b4315667333e83ae35) - expansion-panel: add
[disableRipple]
input to disable ripple effect on demand (33810ce86915c6d1e948e426a6056500d88e6827) - layout: add
[mode]
,[opened]
and[sidenavWidth]
totd-layout
(e2172fafdd7ea03f7db1df8d21abea4238e14d65) - layout: add
[color]
input totd-layout-footer
(e912ef4bed205d7da4743d83c45bce3edf150084), closes #489 - message: add animation when opening/closing (5a858c7a94bd3247487684a7473a2657105dbe2a)
- stepper: add
[disableRipple]
input to disable ripple effect on demand (33810ce86915c6d1e948e426a6056500d88e6827)
- all: make sure all services are singleton when provided (4544c1a5bcabb1fa3e60b6fe6c2f6e1a5215ab5c)
- chips: support
OnPush
change detection (22d4342c4072560e3903820c4009f8129ec0d184) - expansion-panel: improved animation performance when toggling in group (9ae0ba532bbabde6eca8d1b4315667333e83ae35)
- animations: make toggle directive use new animations API (90e16f5d7be080aee1601a2d86e72c47536c3e40)
- animations: make fade directive use new animations API (90e16f5d7be080aee1601a2d86e72c47536c3e40)
- dependencies: upgrade to @angular@4.2.0 (90e16f5d7be080aee1601a2d86e72c47536c3e40)
- dependencies: upgrade to @angular/cli@1.1.0 (90e16f5d7be080aee1601a2d86e72c47536c3e40)
- docs: new landing page and theme (615a4ee02976f4d0ffa0f0394c562cbdcdce5a25)
- docs: fix rtl/lrt demo in docs (7874b5b7a371aeffe9d9d239e910ab31c3a79399)
- docs: add selective preload strategy for lazy loading (3b4da1cd72b64d20b6f0deb8c7668d785cbd272a)
- docs: improved demos/examples
- docs: make docs render properly in IE11 (a118fb9e9f5b83c830f7be9bc7ea19586e1067f6)
- chips: add more unit tests
- validators: remove max/min validators since angular already has them (8e9ab29d170f91bc61a54cb07581e0631a576410)
- stepper: change internal label class to
mat-inactive
(bb9331b3dffb93c4e96281c8d9469fa8f12e52e3)
1.0.0-beta.4 Johnny B Goode (2017-05-16)
- all: remove forRoot() deprecations from modules. (20b87c3a127e5c61f1cfa758840d5e6f36467a4d)
This was announced as deprecated in beta.3
, so now you only need to import the module and it will work the same way.
e.g.
import: [
CovalentStepsModule // instead of CovalentStepsModule.forRoot()
]
- core: remove
CovalentCoreModule
since its been deprecated in beta.3 (feb7cf7a8f4d83d731aea9e7ca14a3250bc3fab9)
This was announced as deprecated in beta.3
to make developer import only what they need to reduce bundle size.
- dependencies: removal of flex-layout dependency (a15d4936fb1ded2e2c1b8907c6b9a72892c946b7), closes #542
Since CovalentCoreModule
has been removed, there is really no use for @angular/flex-layout inernally. we will leave it to the developer to include it on demand.
- dependencies: removal of
@angular/material
as hard dependency (b802efbc59e912b8c49fcc8540c77ff98eb829f3)
To not force npm install
to get a specific material
version, @angular/material
was moved as peerDependency
. This means you will need to add it into your package.json
explicitly.
- layout: remove deprecated selectors for
ng-content
(9b0be9a3235ef4ea25aa9fabe7e8f652d21332e8)
These selectors were deprecated a few releases back so it should be ok to remove them now. See #535 for more information.
- chips: added missing rxjs/add/operator/debounceTime import (755f84664e65dfa52b131406a8979c8f3502f1c2)
- data-table: fix when data is undefined and multiple selection (783228f15154ec04911abf92da0bb199c67190de)
- data-table: fix pseudo checkbox css (d4d90a2cd20a30f6774a5198526381228a64363a), closes #525
- dev: fix tsconfig typeRoots file path (bec8a3a0d4c99123abe04426071ce3d5d81d9cf0)
- dynamic-forms: fix AoT issue with min/max validators (5bd684fdbd82d8b57bc6bb444cbe3f4e90b33f75), closes #508
- flex: flex=“value” for grow/initial/auto/none/noshink/nogrow (141550fc5429f8808224786bd7fc7e1119a84601), closes #586
- loading: remove OnPush change detection from
td-loading
since its a container component (baea6b384f0c01f54a54b649aecf2b08ae276333) - pipes: convert bytes using powers of 2 in
TdBytesPipe
(c77d517e8ae3beb94e6d4fa68503da7ebafaae9b), closes #527
- chips: ability to disable chip addition (input). (1c75d35b3a399b2236ec49000e2c85af57552723), closes #500
- data-table: ability to exclude columns when filtering data (11c3d15a12b789d561fdb19bc1bad62d7a2f5eb3), closes #513
- data-table: ability to hide data table columns (0ccb19190a6376adcd2345a1a62c642a38b2f11b), closes #511
- data-table: indeterminate state in 'selectAll' checkbox (bd0f7bcd64845801b96fb57a3de42e914da947f6), closes #571
- data-table:
(rowClick)
event for datatable rows enabled by new[clickable]
input (4f84c6ce493996fd749b55d2012f9eb6f4a9e367), closes #468 - data-table: select event will be trigger only when clicking on checkbox (4f84c6ce493996fd749b55d2012f9eb6f4a9e367), closes #592
- data-table: shift-click for multiple row selection/deselection (4f84c6ce493996fd749b55d2012f9eb6f4a9e367)
- data-table: improved keyboard
a11y
for row selection (space
,enter
,up
,down
,tab
) (4f84c6ce493996fd749b55d2012f9eb6f4a9e367) - dependencies: upgrade to
@angular@4.1.0
(78327a9002b93cba01da766dd2b3da0c9cee8099) - dependencies: upgrade to
material@beta.5
(b802efbc59e912b8c49fcc8540c77ff98eb829f3) - file: add new
[formData]
property to TdFileService#upload options (77c89acd4ba83b43754ce422fd74e6351e2a6297), closes #546 - file-upload: add
cancel
event when cancel button is pressed (9e3be77fb885928fb54e01adb8d023c3e26d7800), closes #499 - highlight: added
(contentReady)
event binding. (b3e800cb5342722a50a97292bc81ea8282d3659e), closes #553 - layout: if [navigationRoute] is not set, then the icon/logo/title will not be navigatable. (dda9b4b5fa6f2b44ce558665c49f1f06b0390237)
- loading: support for async and boolean with [until] input (d57bf6757eb3426bd7404edb4b0d1d51c46f6478), closes #528
- markdown: added
(contentReady)
event binding. (cdf6cad19b3972259e78809aaff5aca6ba408bb1), closes #536 - message: introducing
message
module for easy display of inline messages or info boxes (8a517fb516ea2344a6471d22ec6b23b8fca8fc60), closes #316 - paging: ability to jump to page
n
with page links inTdPagingBarComponent
(459dcb3186a72d4e3f5d51108b7723698a13fffa), closes #496
- chips: added initial unit tests for
TdChipsComponent
(755f84664e65dfa52b131406a8979c8f3502f1c2) - data-table: added initial code health for
TdDataTableComponent
(11c3d15a12b789d561fdb19bc1bad62d7a2f5eb3) - dependencies: upgrade to
typescript@2.3.1
(78327a9002b93cba01da766dd2b3da0c9cee8099) - dependencies: upgrade to
tslint@5.2.0
(b802efbc59e912b8c49fcc8540c77ff98eb829f3) - dependencies: upgrade to
@angular/cli@1.0.3
(b802efbc59e912b8c49fcc8540c77ff98eb829f3) - dependencies: upgrade to
highligh.js@9.11.0
(b802efbc59e912b8c49fcc8540c77ff98eb829f3) - docs: link to material docs (e1ea18a27eb0d7397e2bd816410669c4b3ef3e8e)
- docs: lazy load docs for faster rendering (a06b5c4f811944920293ad1000a5d4db4e223682)
- paging: added initial code health for
TdPagingBarComponent
(459dcb3186a72d4e3f5d51108b7723698a13fffa)
1.0.0-beta.3-1 (2017-04-10)
-
theming: update theming to point to the correct path
Before:
@import '~@angular/material/core/theming/all-theme';
After:
@import '~@angular/material/theming';
- modules: deprecate
CovalentCoreModule
since tree shaking is not working, we need to push people to import modules on a "need" basis to reduce bundle size (1994564738b31bd98152c984eda33a10c2f0a993)
- validations: remove input invalid style and use
material
s (1994564738b31bd98152c984eda33a10c2f0a993)
- dependencies: upgrade
@angular/material
tobeta.3
. (1994564738b31bd98152c984eda33a10c2f0a993) - expansion-panel: add
MdRippleModule
to header and improve internal logic (1994564738b31bd98152c984eda33a10c2f0a993)
- steps: remove
MdListModule
dependency fromCovalentStepsModule
and useMdRippleModule
to reduce DOM and bundle size (1994564738b31bd98152c984eda33a10c2f0a993) - expansion-panel: remove
MdListModule
dependency fromCovalentExpansionPanelModule
to reduce DOM and bundle size (1994564738b31bd98152c984eda33a10c2f0a993)
1.0.0-beta.3 Electric Relaxation (2017-04-05)
- all: deprecate
forRoot()
method. (3cea292284d023c5ce8f80b7fe6055ee2e31bfda), closes #306 - charts: remove
@covalent/charts
source code and stop publishing of it. (d6b62e441247caab82bc11082321c6a5c3eb7b88) - loading: removal of
beta.1
deprecations[loadingType]
,[loadingMode]
inputs,createOverlayComponent
method andILoadingOptions
interface. (9ce8469e357a967c54d04792f62a4986369a9b1d)
- all: remove private keyword from
@ViewChild
and@ContentChild
properties (04f2ba28e1ba03e83783ac97359f115f6e4a02dd), closes #384 - all: add individual rxjs imports in needed modules (c3f52aed2b7bea8bed3ae5aa6e43f8a5faf65822)
- expansion-panel: remove hardcoded string from label (7b6745d0a0e7a5d60702428adc8fdb35f22d34be)
- data-table: add missing export for
ITdDataTableSelectAllEvent
(42e89c5f6f79ef20cc310c8eaf8aab866aa45945), closes #439 - data-table: make template access only public variables (4aa916c2a90f5b9a2f61211a283ef2972e5179e0), closes #471
- http: remove
@Injectable
decorator fromHttpInterceptorService
for@angular@4.0.0
support (08d272acfaac7726278fe45cc18ee455515d4b3a), closes #340 - layout: animation not working correctly in
navigation-drawer
. (db837b0b42a61d832f732f3e33fac46164ce1f0c) - loading: support
OnPush
change detection strategy (4bc56de0f51d7fa793e814fc9228fcbd9127c39e) - media: check if subscription has been created before unsubscribing. (7b559d44287bd5206d17fcba5fb04c1e604cd2e0), closes #396
- search: stop
debounceSearch
event when page loads. (c0527465216929dd8309c61c4aba7333a2b8e1d2), closes #385 - search: removed fixed height in
search-box
andsearch-input
(7282ff1528708c0dad2e0dabb960d5bf95a50cba), closes #412 - search: stop hiding label when focusing (7282ff1528708c0dad2e0dabb960d5bf95a50cba), closes #412
- styles: rename utilities to mark as partial and prevent import conflicts (0048ff88a31ccecef9a7b3891675b42db6643d20)
- all:
@angular@4.0.0
support (aef44f88e19173068a5cd4e13bb9bdd11028c9db), closes #393 - all: add RTL support to most modules (file-upload, json-formatter, search, paging, data-table, steps, chips, layouts, dialogs, etc etc) (e2706876bf4dbf6dfe02e3aa2d9094fd53751427)
- animations: better animation support for
tdFade
andtdToggle
(aef44f88e19173068a5cd4e13bb9bdd11028c9db) - chips: updated demos with better examples (1561ff8b81b9cc8e1b9feb7ac1f475408753ff45)
- chips: use MdAutocomplete, MdChipList and MdBasicChip for a better look and feel (170174a76606a762b47e3eeef8fd8c3660c2a8c2), closes #215, #165
- chips: better
a11y
keyboard support and usage (170174a76606a762b47e3eeef8fd8c3660c2a8c2), closes #96 - datatable: remove custom message for no results (e36e5a44ea822a2ac618f6e2b1c3000b5b995d2c), closes #421, #444
- datatable: show columns headers when no data (e36e5a44ea822a2ac618f6e2b1c3000b5b995d2c), closes #421, #444
- dynamic-forms: add
password
element (a2957cae6fa6ae48509895543e67bf27ff5aa9b1), closes #449 - loading: add support to register a
loading
directive inngOnInit
(33131db63b3c03617ec9d7b3914b54ca21a4a92a), closes #303 - pipes:
l10n
support forTdDigitsPipe
(b060c789bf6543ba552d19738d83294491e6e394) - search: make placeholder stay inplace when
search-input
is focused. (58094fa6622287a8db49cd8c0fce4730c8a69acd), closes #226
- build: abstract sass-importer from compiler-sass script (bb5a203590ded227f7295fd9d07bae7853526a6f)
- docs: rebrand angular 2 to just angular. (5d6332370201e0a0381c6ead3e30cadf8414df38)
- build: enable yarn package management (12ea9c4c7fd9127d94c99d636d2ad4f1a3a1be1a), closes #313
- dependencies: bump
typescript
to2.1.6
(aef44f88e19173068a5cd4e13bb9bdd11028c9db) - dependencies: bump
@angular/cli
to1.0.0
and general dependencies (5166ecb019944beaa40d16f70037b68ac08cef3b) - dependencies: bump
@swimlane/ngx-charts
to5.0.0
(75166731fdaec52e7b320966dcf0a797126a0ab4) - docs: add
web-animations-js
for full animation support in docs. (ec215c97d9175f8d2b8584ddd2fbe085e48f401a) - docs: date pipes were not working on safari. (977e5ad6912da95ff11ee6726fb377eab9209983)
- docs: update docs to updated Material style prefixes (9142f083e55b77c3f8e89dfde318d23842388f20), closes #410
- docs: clarify instructions to include the
platform.css
(5d6bfe5110c29df6986cb4dd15135f0aa784c0f4) - docs: add covalent-electron and covalent-data to README and docs (878bacecde77f0e824669ed70ff62b89b7daff19)
- theming: use internal theme functions instead of materials. (cc74bc154bd076eeaf965686127d9c5cf3c63969)closes #446, #450, #232, #423
1.0.0-beta.2-1 (2017-02-27)
- animations: remove overflow from styles in steps and expansion-panel. (52e74da50e55ea6b6b7aaaaad4724ab610d6f468)
- loading: center loading component on replace mode. (3e40f4bc35dee88941ec398f7575d7b6fd201117)
- docs: upgrade guide for beta.2 (98a5a19650d2bdfd552456fe17cee76de4319d39)
1.0.0-beta.2 Hotel California (2017-02-23)
-
material: breaking changes from
@material
. -
file-upload: add way to set its labels for easier i18n usage (c91d3cdd61358a1af2ad459cd67f56d62070c3c7), closes #286
Usage:
<td-file-upload #singleFileUpload (upload)="uploadEvent($event)" [disabled]="disabled"> <md-icon>file_upload</md-icon><span>{{ singleFileUpload.files?.name }}</span> <template td-file-input-label> <md-icon>attach_file</md-icon><span>Choose a file...</span> </template> </td-file-upload>
-
paging-bar: add way to set its labels for easier i18n usage. (e454b985fdbbaed6dce2040830177f47118a5be3) closes #356 and 214
Usage:
<td-paging-bar #pagingBar pageSizeAllText="All" [pageSizeAll]="true"> <span td-paging-bar-label hide-xs>Row per page:</span> {{pagingBar.range}} <span hide-xs>of {{pagingBar.total}}</span> </td-paging-bar>
- data-table: make
td-data-table-column
return proper name in sort event. (8a19aa0cc9b5bb8ec4ffda8d0f7ae6c1dd3cd0dc) - data-table: no more need for refresh work around for tooltips used under
OnPush
. (717d309d0a31f21c0dc9870ea3f3f3b40f248a07) - data-table: force change detection when model array ref is changed (65d1c3b14ef41992fe1847eecb8c833810775c2c)
- dynamic-forms:
number
type input works again. (717d309d0a31f21c0dc9870ea3f3f3b40f248a07) - json-formatter: no more need for refresh work around for tooltips used under
OnPush
. (717d309d0a31f21c0dc9870ea3f3f3b40f248a07) - layout: leverage
[disableClose]
input from sidenav to preventESC
closing the sidenav onside
mode. (717d309d0a31f21c0dc9870ea3f3f3b40f248a07) - publish: stop publishing the
ts
source files. (e5841d6fe62a0f36bf227d9d2b72a2b9f40db5b2), closes #319
-
build: support nightly-build. (5e6cf4a47214b6ad4a52a865ed8172cc6d4e3a0c)
At any point you can point to our latest build by using:
npm install --save https://github.com/Teradata/covalent-nightly.git
-
covalent-data: new
0.7.0
@covalent/data release. -
data-table: add a way to configure a specific column as
sortable
. (3e24fcfd505395da2f18db2fe2dd96f5cc6e8b87), closes #347 -
data-table: leverage the
md-pseudo-checkbox
to render the selectable rows more efficiently. (717d309d0a31f21c0dc9870ea3f3f3b40f248a07) -
dependencies: add documentation on how to use
ngx-translate
andLOCALE_ID
. (776331bb5bc4098a4264a36e1275b3c83727e61a) -
dependencies: add
@angular/flex-layout
as a@covalent/core
dependency. (171a69dbc77e3cb02fee2cd38db314670015f3fe), closes #239 -
dependencies: support @angular/material@1.0.0-beta.2. (717d309d0a31f21c0dc9870ea3f3f3b40f248a07), closes #346
-
deployment: make every
@angular
dependency apeerDependency
except formaterial
since its still beta. (c05c45c2d83cc008233f81889ed5e873f9b98dde) -
docs: add browser support. (0e2bb25ccc86388dbe4c4e42c68399f29c4ff05d)
-
file-input: introducing
file-input
component as part of thefile
module withngModel
support. (c91d3cdd61358a1af2ad459cd67f56d62070c3c7), closes #326 -
file-upload: add
(select)
event to td-file-upload component. (c91d3cdd61358a1af2ad459cd67f56d62070c3c7) -
file-upload: add
OnPush
change detection. (c91d3cdd61358a1af2ad459cd67f56d62070c3c7) -
file-upload: improve demos and docs. (c91d3cdd61358a1af2ad459cd67f56d62070c3c7)
-
modules: only import modules that are required. (1b1b49f6a3a2de08f35171119dbbd0ae6557fa0d), closes #287
-
layout: add
[navigationRoute]
input inlayouts
/navigation-drawer
to be able to navigate to/
or a user defined route when clicking on the icon, logo or title. (46b6ff2e9e9575cdf6fb0674227dbcbf50719274), closes #315 -
paging-bar: add
[initialPage]
input. (e454b985fdbbaed6dce2040830177f47118a5be3) -
paging-bar: improve demos and docs. (e454b985fdbbaed6dce2040830177f47118a5be3)
- file-upload: leverage file-input component internally. (c91d3cdd61358a1af2ad459cd67f56d62070c3c7)
- cli: upgrade to latest
@angular/cli@1.0.0-beta.32.3
and its dependencies. (3a082d7b645ded78544bb42efdf3fff52fe1d90d) - dependencies: bump to
@angular@2.4.5
. (c05c45c2d83cc008233f81889ed5e873f9b98dde) - dependencies: bump to
@swimlane/ngx-charts@4.1.1
. (3f0ace5b4b3e599a99a4761891d897abaa05c938) - docs: use
td-search-box
in the iconography docs. (717d309d0a31f21c0dc9870ea3f3f3b40f248a07) - ghpages: leverage
--sourcemap=false
for deployment. (3a082d7b645ded78544bb42efdf3fff52fe1d90d) - publish: separate
publish-release
to run as individual script. (d1e397a50ea7d02d70339567ecdf40258acac906) - file-upload: add initial unit tests for
file-upload
. (c91d3cdd61358a1af2ad459cd67f56d62070c3c7)
1.0.0-beta.1-1 (2017-01-31)
- loading: Fixed edge case that tried to create the same
tdLoading
twice a component that uses[routerLinkActive]
when navigating into it.
1.0.0-beta.1 Purple Rain (2017-01-30)
-
layout:
td-layout
removal of(logout)
event and[displayName]
,[logo]
,[icon]
and[sidenavTitle]
inputs. (026520cc346721d72c815b0d09fbd469fd3f2ad5) -
layout: deprecation of
layout
module selectors to make more sense in the context used andtd
preffixed. (026520cc346721d72c815b0d09fbd469fd3f2ad5)
Before (deprecated):
<td-layout>
<md-nav-list menu-items></md-nav-list>
// content
</td-layout>
After:
<td-layout>
<md-nav-list td-sidenav-content></md-nav-list>
// content
</td-layout>
Before (deprecated):
<td-layout-nav>
<div toolbar-content></div>
// content
</td-layout-nav>
After:
<td-layout-nav>
<div td-toolbar-content></div>
// content
</td-layout-nav>
Before (deprecated):
<td-layout-card-over>
// content
<div after-card></div>
</td-layout-card-over>
After:
<td-layout-card-over>
// content
<div td-after-card></div>
</td-layout-card-over>
Before (deprecated):
<td-layout-nav-list>
<div list-toolbar-content></div>
<md-nav-list list-items></md-nav-list>
<div nav-toolbar-content></div>
// content
</td-layout-nav-list>
After:
<td-layout-nav-list>
<div td-sidenav-toolbar-content></div>
<md-nav-list td-sidenav-content></md-nav-list>
<div td-toolbar-content></div>
// content
</td-layout-nav-list>
Before (deprecated):
<td-layout-manage-list>
<md-toolbar list-items></md-toolbar>
<md-nav-list list-items></md-nav-list>
<div toolbar-buttons></div>
// content
</td-layout-manage-list>
After:
<td-layout-manage-list>
<md-toolbar td-sidenav-content></md-toolbar>
<md-nav-list td-sidenav-content></md-nav-list>
<div td-toolbar-content></div>
// content
</td-layout-manage-list>
- loading: deprecate
ILoadingOptions
interface in favor ofITdLoadingConfig
(d87aa65f18af6081ebcff7fe21cb44ac9a0be00f) - loading: deprecate
createOverlayComponent
method fromTdDialogService
in favor ofcreate
method (d87aa65f18af6081ebcff7fe21cb44ac9a0be00f) - loading: deprecate
[loadingType]
and[loadingMode]
in favor of[tdLoadingType]
and[tdLoadingMode]
so the inputs can be used correctly in(*)
syntax. e.g.*tdLoading="'name'; type:'linear'"
(d87aa65f18af6081ebcff7fe21cb44ac9a0be00f) - pipes: Removed
orderBy
pipe since it wasnt documented and its not a best practice for@angular
. (e368057ff1983e6c3353210058c010f02830a30f)
- chips:
readOnly
state wasnt being shown properly. (64ff1100af2983709205833de5900fd3b33076ab) - search: Clear button wasnt working properly since
input
was considered not empty (floating label). (64ff1100af2983709205833de5900fd3b33076ab) - search: Scss for
hide-underline
was wrong. (64ff1100af2983709205833de5900fd3b33076ab) - coverage-badge: Make coverage badge point to the develop branch (c50155a21a996f71eb1c7b117e162862adfa5b8c)
- docs: Fixed
theme.scss
styles duplication (b297746b0bb65fa7a434c4b31d789d5c8a95347d) - file: Changed
file.types
type to work with bothtypescript
2.0 and 2.1. (48cdbcaa56ac8cc679e9d36b7f4e65fabad039c0), closes [#236] (Teradata#236) - highlight: Use Renderer to limit access to native DOM and
DomSanitizer
to preventXSS
issues. (3311d4a942849e72a2952200ac24043ab9849ecb) - highlight: Remove only empty lines at the beginning and end of code content only to keep new lines within code. (3311d4a942849e72a2952200ac24043ab9849ecb)
- highlight: Remove html workaround so code parsing is more generic now and html is properly displayed. (3311d4a942849e72a2952200ac24043ab9849ecb)
- icon: Fixed alignment issues when using smaller icon size classes (e.g. .material-icons.md-18) than the default one (.material-icons.md-24). (88be8c3be645a4747a4f06a0b5dbb6ed3afa7f1e)
- json-formatter: Recreate children array so it doesnt append the new children data. (da4db7fbc6efbe5e3379cd377b2826e25c2b2ea1), closes #247
- markdown:
<hr>
was not showing properly. (988940253db3df545f1e19ee119cc2c4dee19605) - markdown: Use Renderer to limit access to native DOM and
DomSanitizer
to preventXSS
issues. (988940253db3df545f1e19ee119cc2c4dee19605) - layout: Apply elevation on toolbar on all layouts not just
toolbars
insidetd-layout
. (e0c8480c9ffa73d9d39466e31260b1e73895003b) - layout:
td-layout-manage-list
'smd-toolbar[td-sidenav-content]
selector stays in place and doesnt move when scrolling. (026520cc346721d72c815b0d09fbd469fd3f2ad5) - layout:
td-layout-manage-list
removal of itsposition: relative
. (026520cc346721d72c815b0d09fbd469fd3f2ad5), closes closes [#231] (Teradata#231) - media:
registerQuery
method returns the sameObservable
when reusing a query breakpoint +next()
method is executing in anngZone
now internally. (026520cc346721d72c815b0d09fbd469fd3f2ad5)
- animations: Added
tdFadeInOut
animation. (d87aa65f18af6081ebcff7fe21cb44ac9a0be00f) - dependencies: Upgrade to @angular@2.4.4. (fd0f32a79616a086444a90de853ba30d6ced01a3)
- deployment: Added
umd
files asmain
entry inpackage.json
modules. (9152500c366b0e8e6dead2664e1f809cdafc5d29) - docs: Show
beta.1
main features in homepage notifications +sketch.beta.1
update. (681df135d07a5cd2fd9a277c42e71c0682336b52) - docs: Better docs for
notification
usage. (8015a6744d09a6980a250bf40e34af8a8b04b7b4) - docs: Better docs for
loading
usage. (d87aa65f18af6081ebcff7fe21cb44ac9a0be00f) - docs: Added star count in docs to show stargazers (5ea18ec1f3a986e4e8543478d8aad49abd5aaf44)
- docs: Added documentation around
ngx charts
and links to their docs. (d8311eb3fc773188e1fc9494d5760fbb084c5b56) - notifications: Added
positionX
andpositionY
tonotification-count
andrtl
support (with proper unit tests). (8015a6744d09a6980a250bf40e34af8a8b04b7b4) - highlight: Added
[content]
input to load code content dynamically. (3311d4a942849e72a2952200ac24043ab9849ecb) - highlight: Support for any pre-built
highlight.js
theme. (3311d4a942849e72a2952200ac24043ab9849ecb) - highlight: Mimicking VS Dark+ theme as closely as possible when importing
covalent-highlight-theme
. (3311d4a942849e72a2952200ac24043ab9849ecb) - json-formatter: Use
collapse
animation when toggling formatter. (da4db7fbc6efbe5e3379cd377b2826e25c2b2ea1) - json-formatter: Use
mdTooltip
instead of nativetitle
. (da4db7fbc6efbe5e3379cd377b2826e25c2b2ea1) - json-formatter: Improved efficiency by changing its change detection to
OnPush
+ addedrefresh
method for explicit change detection. (da4db7fbc6efbe5e3379cd377b2826e25c2b2ea1) - markdown: Support space indentation set by the first markdown line. (988940253db3df545f1e19ee119cc2c4dee19605)
- markdown: No more need to add
<pre><code>
in content. (988940253db3df545f1e19ee119cc2c4dee19605) - markdown: Added
[content]
input totd-markdown
to load content dynamically. (988940253db3df545f1e19ee119cc2c4dee19605) - layout: All components that have proxy methods like
open
,close
andtoggle
return the underlyingPromise
. (026520cc346721d72c815b0d09fbd469fd3f2ad5) - layout:
td-layout
is now a blank sidenav that gets hooked into the layouts so you can set custom content. (026520cc346721d72c815b0d09fbd469fd3f2ad5) - layout: Added
td-nagivation-drawer
component as atd-layout
addon and following the MD spec better. (026520cc346721d72c815b0d09fbd469fd3f2ad5)
Usage:
<td-layout>
<td-navigation-drawer sidenavTitle="title" logo="logoName" name="User Name" email="user@email.com" backgroundUrl="safeUrl/to/background" color="none">
Main Content
<div td-navigation-drawer-menu>
Menu Content
</div>
</td-navigation-drawer>
.. rest of the app
</td-layout>
- layout:
td-layout-nav-list
andtd-layout-nav
can be used as standalone without atd-layout
parent (which will hide/show the menu button depending on that). (026520cc346721d72c815b0d09fbd469fd3f2ad5) - layout: Removed fixed breakpoint for mobile in
td-layout-nav-list
andtd-layout-manage-list
. (026520cc346721d72c815b0d09fbd469fd3f2ad5), closes [#265] (Teradata#265) - layout:
td-layout-nav-list
andtd-layout-manage-list
new inputs[opened]
,[mode]
and[sidenavWidth]
to allow more flexibility. (026520cc346721d72c815b0d09fbd469fd3f2ad5), closes [#180] (Teradata#180)
Usage:
<td-layout-manage-list #manageList
[opened]="media.registerQuery('gt-sm') | async"
[mode]="(media.registerQuery('gt-sm') | async) ? 'side' : 'push'"
[sidenavWidth]="(media.registerQuery('gt-xs') | async) ? '257px' : '100%'">
<md-nav-list td-sidenav-content (click)="!media.query('gt-sm') && manageList.close()">
<td-layout-nav-list #navList
logo="assets:teradata"
toolbarTitle="Covalent"
[opened]="media.registerQuery('gt-sm') | async"
[mode]="(media.registerQuery('gt-sm') | async) ? 'side' : 'push'"
[sidenavWidth]="(media.registerQuery('gt-xs') | async) ? '350px' : '100%'">
<md-nav-list td-sidenav-content (click)="!media.query('gt-sm') && navList.close()">
constructor(public media: TdMediaService) {}
ngAfterViewInit(): void {
// broadcast to all listener observables when loading the page
this.media.broadcast();
}
- loading: Added
[tdLoadingStrategy]
input to change between overlay and replace strat. (d87aa65f18af6081ebcff7fe21cb44ac9a0be00f), closes #84 - loading: Added
[tdLoadingColor]
input forprimary
,accent
orwarn
. (d87aa65f18af6081ebcff7fe21cb44ac9a0be00f), closes [#255] (Teradata#255) - loading: Use
tdFadeInOut
animation instead oftdFade
directive. (d87aa65f18af6081ebcff7fe21cb44ac9a0be00f) - loading: Easier fullscreen
tdLoading
component instantiation withcreate()
method + default fullscreen mask. (d87aa65f18af6081ebcff7fe21cb44ac9a0be00f) - loading: Better efficiency with
OnPush
strategy. (d87aa65f18af6081ebcff7fe21cb44ac9a0be00f) - media: Optimize resize event handling on
TdMediaService
. (026520cc346721d72c815b0d09fbd469fd3f2ad5) - media: Added
broadcast
method inTdMediaService
to explicitly trigger the media query checkup on subscribers. (026520cc346721d72c815b0d09fbd469fd3f2ad5) - pattern: Added
management data-list
design pattern. (3a15e7ad8ed8f9a83b072524d4054569ead92de2) - plnkr: Covalent now has a
plnkr
(Plunker) template for easierbug
replication,demo
andidea sharing
. Go to plnkr. closes #47 - theming: Added prebuilt themes
orange-light-blue
,blue-grey-deep-orange
,blue-orange
,indigo-pink
andteal-orange
. (45d4c1b35c6e2a23d19ac73273cfbd817acb6686)
- build: Upgraded
gulp-sass
and added customimporter
into thecompile-sass
to handle~
imports likesass-loader
. (45d4c1b35c6e2a23d19ac73273cfbd817acb6686) - build: Leverage
skipTemplateCodegen
from theangularCompilerOptions
. (2b605831c501b743189dc7d24a91c3dc5445b8b7) - build: leverage the
ngc
to generate ourts
complation from thetsconfig-aot.json
and removed usage ofgulp-typescript
. (2b605831c501b743189dc7d24a91c3dc5445b8b7) - build: Added a preparation step to replace
.scss
extensions for.css
so aot loads precompiled files. (2b605831c501b743189dc7d24a91c3dc5445b8b7) - code-health: Initial unit tests for
file
module. (48cdbcaa56ac8cc679e9d36b7f4e65fabad039c0) - code-health: Added initial unit tests for json-formatter. (da4db7fbc6efbe5e3379cd377b2826e25c2b2ea1)
- code-health: Initial unit tests for
TdLoadingDirective
andTdLoadingService
. (d87aa65f18af6081ebcff7fe21cb44ac9a0be00f) - code-health: Initial unit tests for
td-expansion-panel
. (5e5a7efbb3ef1a13b602edeeb3fbe6318fd977e2) - code-health: Initial unit tests for
td-highlight
. (3311d4a942849e72a2952200ac24043ab9849ecb) - code-health: Initial unit tests for
td-markdown
. (988940253db3df545f1e19ee119cc2c4dee19605) - dependencies: Upgrade
tslint
andcodelyzer
to supporttypescript@2.1.5
(48cdbcaa56ac8cc679e9d36b7f4e65fabad039c0) - dependencies: Upgrade to
angular-cli@1.0.0-beta.26
. (fd0f32a79616a086444a90de853ba30d6ced01a3) - dependencies: Upgrade to
typescript@2.1.5
. (fd0f32a79616a086444a90de853ba30d6ced01a3) - documentation-tools: New internal module
documentation-tools
for doc components and utilities. (2570fa4ecb6a6cc72e308993d9dd9747eb053897) - documentation-tools: New internal
td-pretty-markdown
(name not final) component which leveragesmd-checkbox
,td-data-table
,td-highlight
andtd-markdown
components to render GitHub markdown in a more visually attractive way in docs app. (2570fa4ecb6a6cc72e308993d9dd9747eb053897) - documentation-tools: New internal
td-readme-loader
component which useshttp
andpretty-markdown
to loadREADME.md
files simpler. (2570fa4ecb6a6cc72e308993d9dd9747eb053897) - layout: Removed internal
TdLayoutService
. (026520cc346721d72c815b0d09fbd469fd3f2ad5) - layout: Removal of
(openMenu)
method since it not documented or needed intd-layout-nav
andtd-layout-nav-list
(026520cc346721d72c815b0d09fbd469fd3f2ad5) - loading: Leverage
TemplatePortal
andOverlay
from@angular/material
. (d87aa65f18af6081ebcff7fe21cb44ac9a0be00f) - loading: Separated code into creation (factory) and execution (service), and made
TdLoadingFactory
for internal usage only. (d87aa65f18af6081ebcff7fe21cb44ac9a0be00f) - loading: Better error messages. (d87aa65f18af6081ebcff7fe21cb44ac9a0be00f)
- tooling: Fixed
ng lint
usage. (e382f16bcb5c5530d0a0fc92d49a15e078352813) - serve: Exclude spec test files when running
ng serve --aot
. (2b9172eb653920e8cd7114f6ee751b0e43e20dfc), closes #267
0.10.2 (2017-1-3)
- http:
interceptors
instead ofinteceptors
typo inHttpConfig
. closes #233
0.10.1 (2017-1-2)
- animations: Depending on the tsconfig.json, setTimeout could be either window.setTimeout or NodeJS.setTimeout. (1cd3e49c62a3cc8b03f3f153fc3bb554061e495e), closes #225
- http:
rxjs
upgrade caused concurrent request failure. (31a60cd0e322f2ab9190325381c08b4872414caa)
0.10.0 Bedlington Cummerbund (2016-12-30)
-
deploy: Single core package. (81901b23eca8e02330260b5831c64da3005a39fd), closes #166 and #93
-
Created submodules of all core modules which are wrapped by one parent module CovalentCoreModule (
@covalent/core
)- CovalentCommonModule
- CovalentChipsModule
- CovalentDataTableModule
- CovalentDialogsModule
- CovalentExpansionPanelModule
- CovalentFileModule
- CovalentJsonFormatterModule
- CovalentLayoutModule
- CovalentLoadingModule
- CovalentMediaModule
- CovalentMenuModule
- CovalentNofiticationsModule
- CovalentPagingModule
- CovalentSearchModule
- CovalentStepsModule
-
Stand alone modules:
- CovalentHttpModule (
@covalent/http
) - CovalentDynamicFormsModule (
@covalent/dynamic-forms
) - CovalentHighlightModule (
@covalent/highlight
) - CovalentMarkdownModule (
@covalent/markdown
)
- CovalentHttpModule (
-
markdown
is a separate module and its theme needs to be imported separatly@import ~@covalent/markdown/markdown-theme'
and included@include covalent-markdown-theme($theme);
-
highlight
is a separate module and its theme needs to be imported separatly@import ~@covalent/highlight/highlight-theme'
and included@include covalent-highlight-theme();
-
all-theme
andplatform.css
changed directories.Before:
`~@covalent/core/styles/platform.css` `~@covalent/core/styles/theming/all-theme';`
After:
`@covalent/core/common/platform.css` `~@covalent/core/theming/all-theme';`
-
-
http: Path interceptors configuration. (7db377e62254f6add6995065f09f4b5528bd0c16), closes #194
Before:
CovalentHttpModule.forRoot([Interceptor1, Interceptor2]),
After:
const httpInterceptorProviders: Type<IHttpInterceptor>[] = [ Interceptor1, Interceptor2, ... ]; ... imports: [ CovalentHttpModule.forRoot({ interceptors: [{ interceptor: Interceptor1, paths: ['**'], }, { interceptor: Interceptor2, paths: ['**'], }], }), ... ], providers: [ httpInterceptorProviders, ... ],
-
steps: (stepChange) event now returns the step objects instead of the step number. (6486eb527ae845224a170b8c7dda2dc92a089c3a)
Before:
export interface IStepChangeEvent { newStep: number; prevStep: number; }
After:
export interface IStepChangeEvent { newStep: TdStepComponent; prevStep: TdStepComponent; }
-
layouts:
logo
expects ansvgIcon
value now from anMdIconRegistry
svg. (breaking change from@angular/material
). (6cd31f063ae5a1fd0e31378c1bbf6c466a7d3c15)Before:
<td-layout logo="/assets/route/to/icon1.svg">
After (once at any toplevel component):
import { DomSanitizer } from '@angular/platform-browser'; import { MdIconRegistry } from '@angular/material'; ... ... constructor(iconRegistry: MdIconRegistry, domSanitizer: DomSanitizer) { iconRegistry.addSvgIconInNamespace('assets', 'icon1', domSanitizer.bypassSecurityTrustResourceUrl('/assets/route/to/icon1.svg')); }
<td-layout logo="assets:icon1">
-
charts (deprecated):
CovalentChartModule
is being deprecated in favor of ngx-charts@swimlane/ngx-charts
.
- search: Use enter event instead of search event so it works in IE and firefox (16b28a68fa0143f2e00e76199eb71c1ba949426d)
- data-table: Format columns correctly when displaying them. (66ab3f6c02c6e70b404c3a6beb26d659390555be), closes #187
- data-table: Handle undefined data array propertly. (66ab3f6c02c6e70b404c3a6beb26d659390555be)
- layouts: Nav-list and manage-list removal of non-spec box-shadow. (a61ff1d16aeec05cdd4737ef5f4d366f4fcd03ef)
- http: Updated
module
to support AoT compilation. (7db377e62254f6add6995065f09f4b5528bd0c16), closes #195 - paging: Show proper range
0-0
when total is0
. (6403262e7e05cd54cf98928c165468f029976752) - paging: Able to re-navigate to page 1 when explicitly done with
navigateTo()
. (6403262e7e05cd54cf98928c165468f029976752) - file-upload: Stop submit when enter is pressed for
file-upload
,search
&paging
inside aform
element. (3eb363873f11b5929655ec4c5ffa822a91fbc5e0), closes #210
-
docs: Added
GETTING_STARTED.md
. (48dcbc21f10d1a8233cb3835bc4fe20644a00a6d), closes #178 -
dialogs: Better a11y (f6bc8292538bfe0468ee698f23f9911ff3a5ddaf), closes #170
-
dialogs: Exposed open/closeAll methods from MdDialog. (f6bc8292538bfe0468ee698f23f9911ff3a5ddaf), closes #171
-
http: Adding an extra parameter for a
transform
callback in the RESTService methods. (d73badbe62e7ed5a81be9b3279325b5b46ffc266), closes #179 -
http: Added onRequestError interceptor hook. (d73badbe62e7ed5a81be9b3279325b5b46ffc266)
-
http: Request URL path interceptors. (7db377e62254f6add6995065f09f4b5528bd0c16), closes #194
-
data-table: Added
selectAll
event when clicking select/deselect all checkbox. (1d59af9a2def99eac1bf9dc8696efc00f974418c), closes #172 -
data-table: Support for nested object rendering. (91ab4735df96d1cfa539c0ce8be8a25ff5cb3b4f), closes #189
-
data-table: Improved efficiency by changing its change detection to
OnPush
. (91ab4735df96d1cfa539c0ce8be8a25ff5cb3b4f) -
data-table: Added
refresh()
method to explicitly throw a change detection check when the data or columns objects are updated internally. (91ab4735df96d1cfa539c0ce8be8a25ff5cb3b4f) -
steps: Support for ngFor and ngIf usage on td-step components and register/de-register steps automatically. (6486eb527ae845224a170b8c7dda2dc92a089c3a), closes #200
-
dependencies: Upgrade to @angular@2.4.1 and @material@beta.1. (6cd31f063ae5a1fd0e31378c1bbf6c466a7d3c15)
-
deployment: Initial AoT support. (6cd31f063ae5a1fd0e31378c1bbf6c466a7d3c15), closes #149
-
paging: Usage of
md-select
asperPage
selection insteaf ofmd-icon-button
andmd-menu
. (63a0ca3d4acaebeb5b19eac826da0f8d2c4dfd1e) -
layouts: Added optional sticky footer (and footer-inner). (59253bef91c354cb85ddd9f1d9622ec76241d13e)
Usage:
<td-layout-nav> ... <td-layout-footer></td-layout-footer> </td-layout-nav>
-
dynamic-forms: Introducing
dynamic-forms
module. (3eb363873f11b5929655ec4c5ffa822a91fbc5e0), closes #8-
Supported TdDynamicType
- TdDynamicType.Text (renders md-input-container input type="text")
- TdDynamicType.Number (renders md-input-container input type="number")
- TdDynamicType.Boolean (renders md-slide-toggle)
- TdDynamicType.Array (renders md-select)
-
Supported TdDynamicElement
- TdDynamicElement.Input (renders md-input-container input type="text")
- TdDynamicElement.Textarea (renders md-input-container textarea)
- TdDynamicElement.Slider (renders md-slider)
- TdDynamicElement.SlideToggle (renders md-slide-toggle)
- TdDynamicElement.Checkbox (renders md-checkbox)
- TdDynamicElement.Select (renders md-select)
-
-
notifications: Introducing
notifications
module. (746fe3caec62a77bc69b50a2fc0bfcf9b0a9a695), closes #148Usage:
<td-notification-count color="primary | accent | warn" [notifications]="boolean | number"> ... // could be an icon <md-icon>notifications</md-icon> or empty </td-notification-count>
-
notifications: Added examples and demo for a
notifications
menu usage. (746fe3caec62a77bc69b50a2fc0bfcf9b0a9a695)
- dependencies: Upgrade to
zone.js@^0.7.2
(8d2d0845f47d5d8a67f78e81ac449c6013a7e4ab) - dependencies: Upgrade to
rxjs@5.0.1
. (6cd31f063ae5a1fd0e31378c1bbf6c466a7d3c15) - dependencies: Upgrade to
angular-cli@2.0.0-beta.24
. (6cd31f063ae5a1fd0e31378c1bbf6c466a7d3c15) - animations: Added
collapse
animation and used insteps
andexpansion-panel
(fe0182285ffa505be42892c235eed295e2814e59) - security: Sanitized and registered svg icons from assets into the
MdIconRegistry
. (6cd31f063ae5a1fd0e31378c1bbf6c466a7d3c15) - material: Remove usage of deprecated
@angular/material
directives. (6cd31f063ae5a1fd0e31378c1bbf6c466a7d3c15) - scripts: Make
npm run test
do anng test
with generated code coverage. (6cd31f063ae5a1fd0e31378c1bbf6c466a7d3c15) - docs: Added animation transitions in doc route components. (334edbdaa518a7e171b0e749ea8fb8c85ab83b09)
- docs: Updated version dependency in github docs. (48dcbc21f10d1a8233cb3835bc4fe20644a00a6d), closes #178
- travis: Fix to run unit tests in chrome 55 and travis CI (de393fd091b1c312df096c5d326bfbe0cd367274)
- http: Added
RESTService
unit tests. (d73badbe62e7ed5a81be9b3279325b5b46ffc266) - http: Added
HttpInterceptorService
unit tests. (7db377e62254f6add6995065f09f4b5528bd0c16) - steps: Added
TdStepsComponent
unit tests. (6486eb527ae845224a170b8c7dda2dc92a089c3a) - dynamic-forms: Added
TdDynamicFormsComponent
andTdDynamicFormsService
unit tests. (3eb363873f11b5929655ec4c5ffa822a91fbc5e0) - notifications: Added
TdNotificationCountComponent
unit tests. (746fe3caec62a77bc69b50a2fc0bfcf9b0a9a695)
0.9.0 Pallettown Cummerbund (2016-11-21)
- dependencies: Upgrade to
@angular/matarial@alpha.10
(b806afabeda784b285342e3673fcaa20e722d954) - dialog: Deprecate
setDefaultViewContainerRef
fromTdDialogService
sinceviewContainerRef
is not required for dialogs. (4ee33c74dcff764125a9bba2ad84e37d0aaf0721) - layout: Changed layout input attributes. (7489d21859fa2634a9ca3073ecf175e4df4b669b)
Before (deprecated):
<td-layout title="Covalent">
<td-layout-nav-list title="Covalent">
<td-layout-nav title="Covalent">
<td-layout-card-over title="Title" subtitle="Subtitle">
After:
<td-layout sidenavTitle="Title">
<td-layout-nav-list toolbarTitle="Title">
<td-layout-nav toolbarTitle="Title">
<td-layout-card-over cardTitle="Title" cardSubtitle="Subtitle">
- theming: Created covalent-theme for components. (773200a081fbb87b542eadd7fb8e912bc4a1d049)
Example:
@import '~@angular/material/core/theming/all-theme';
@import '~@covalent/core/styles/theming/all-theme';
@include md-core();
$primary: md-palette($md-orange, 800);
$accent: md-palette($md-light-blue, 600, A100, A400);
$warn: md-palette($md-red);
$theme: md-light-theme($primary, $accent, $warn);
@include angular-material-theme($theme);
@include covalent-theme($theme);
- data-table: Abstract paging, sort and search from data-table. (9b87990daf9c5a9b73c3ce7218a91fe90eae730d), closes #119
Before:
<td-data-table
[data]="data"
[columns]="columns"
sortBy="age"
title="title"
sortOrder="DESC"
pagination="true"
pageSize="5"
sorting="true"
search="true"
rowSelection="true"
multiple="true"
search="true">
</td-data-table>
After:
<td-data-table
[data]="filteredData"
[columns]="columns"
[selectable]="selectable"
[multiple]="multiple"
[sortable]="true"
[sortBy]="sortBy"
[(ngModel)]="selectedRows"
[sortOrder]="sortOrder"
(sortChange)="sort($event)">
</td-data-table>
- steps: Remove [td-step-content] to fix bug with template referencing. (5d87249e9a13561ff2bb14fd3ebf41393f902230)
Before:
<td-step>
<template td-step-content>
... add content that will be shown when the step is "active"
</template>
</td-step>
After:
<td-step>
... add content that will be shown when the step is "active"
</td-step>
- steps: Removed pointer cursor in disabled state (773cffd847018009a9d4c8c6493e169f7a59cd7a)
- steps: Fixed vertical line height when step is inactive (9ea75f3accf0170a670c446b17f98c447d7a6454)
- expansion-panel: Removed outline when focus and hover/pointer on disabled state (773cffd847018009a9d4c8c6493e169f7a59cd7a), closes #111
- file-upload: Removed 'drop-zone' class on drop + fixed on drag event/leave methods (9ea75f3accf0170a670c446b17f98c447d7a6454)
- layouts: Fixed sidenav usage inside nav-list and manage-list (7489d21859fa2634a9ca3073ecf175e4df4b669b)
- steps: Conditional margin for templates (6db4a6a3b3b2d3171d7aa55d7680628e3e568f41), closes #130
- charts: Line charts wouldn’t render with empty data set (5c1df459e7a63df83744c992a3df536f1722d218)
- resources: Fixed urls for downloads in docs (6be672297f6f7cd15d2248c122a8825c9fb7c5da)
- file-upload: Change uploader input file field to not use NGModel instead using fileSelect event. NGModel not working correctly on file input for Firefox 49 and above (bb2b7f6afaed375555d3078527ce0e9e605a8be9)
- dialog: Added
disableClose
property for dialogs. (4ee33c74dcff764125a9bba2ad84e37d0aaf0721) - http: Added
dynamicHeaders
toRESTService
constructor. (3130186ca3bb4cdd5a1ef5c03699aaaf9bbac5a6), closes #151 - paging: Introducing 'paging' module. (d46470d5d02c9e2a32badc726eb78fd694184a08)
- search: Introducing 'search' module. (8783f6011df9e253c00ec9fa6c85826ecf627c4b)
- layouts: Added cardWidth input to card-over layout. (7489d21859fa2634a9ca3073ecf175e4df4b669b)
- docs: Added dark material color palette (2e69dbcb8c54003dced7a48f606a9c086b25400d)
- data-table: Split data-table into atomic reusable components. (9b87990daf9c5a9b73c3ce7218a91fe90eae730d)
Usage:
<table td-data-table>
<th td-data-table-column
[name]="colName"
[numeric]="numeric"
[active]="true|false"
[sortable]="true|false"
[sortOrder]="colName"
(sortChange)="handleSort($event)">
...
</th>
<tr td-data-table-row>
<td td-data-table-cell
[numeric]="column.numeric">
...
</td>
</tr>
</table>
- data-table: Added TdDataTableService for base local sort, paging and search algorithms. (9b87990daf9c5a9b73c3ce7218a91fe90eae730d), closes #115
- data-table: Added NgModel support to
<data-table>
. (9b87990daf9c5a9b73c3ce7218a91fe90eae730d) - data-table: Added rowSelect event (row selection) to
<data-table>
. (9b87990daf9c5a9b73c3ce7218a91fe90eae730d) - data-table: Added better demo examples. (9b87990daf9c5a9b73c3ce7218a91fe90eae730d)
- data-table: Added template support to
<data-table>
(fe0547f38627da75140ca1406b9a6433f2b537ab)
Usage:
<td-data-table
[data]="{'type': 'test'}"
[columns]="['type']">
<template tdDataTableTemplate="type" let-value="value" let-row="row" let-column="column">
...
</template>
</td-data-table>
- expansion-panel: Added open/close/toggle methods to API. (177895cf8786e50385f4321367fed63c9f6fe7f1)
- expansion-panel Header/label/sublabel template overrides. (177895cf8786e50385f4321367fed63c9f6fe7f1)
Usage:
<td-expansion-panel label="label" sublabel="sublabel">
<template td-expansion-panel-header>
... add header content (overrides label and sublabel)
</template>
<template td-expansion-panel-label>
... add label content (if not used, falls back to [label] input)
</template>
<template td-expansion-panel-sublabel>
... add sublabel content (if not used, falls back to [sublabel] input)
</template>
...
</td-expansion-panel>
- steps: Support for label template template[td-step-label] as an alternative while keeping the easy API [label] input for normal (simple) use cases in td-step (5d87249e9a13561ff2bb14fd3ebf41393f902230)
Usage:
<td-step label="Label">
<template td-step-label>
... add label content (if not used, falls back to [label] input)
</template>
... add content that will be shown when the step is "active"
</td-step>
- code-health: added additional code-health for http forkJoin. (9ea75f3accf0170a670c446b17f98c447d7a6454), closes #109
- dependencies: Relaxed dependency limitations. (f67bd1e150559ac1fe7faa22a730a70de5366635), closes #136
- http: Remove covalent/core as dependency from http module and added angular/core and angular/http. (f67bd1e150559ac1fe7faa22a730a70de5366635), closes #134
- dependencies: Upgrade to
@angular@2.2.1
(b806afabeda784b285342e3673fcaa20e722d954) - dependencies: Upgrade to
@angular-cli@beta.19-3
(b806afabeda784b285342e3673fcaa20e722d954)
0.8.0 Pixel Raichu (2016-10-14)
- release: Upgrade material to alpha.9-3. (790278d6bb2ab92cd8d6e14c8abdb3e020e19378)
- themes: Added doc usage for themes from
@angular/material
. (790278d6bb2ab92cd8d6e14c8abdb3e020e19378)
theme.scss content:
@import '~@angular/material/core/theming/all-theme';
// Plus imports for other components in your app.
// Include the base styles for Angular Material core. We include this here so that you only
// have to load a single css file for Angular Material in your app.
@include md-core();
// Define the palettes for your theme using the Material Design palettes available in palette.scss
// (imported above). For each palette, you can optionally specify a default, lighter, and darker
// hue.
$primary: md-palette($md-orange, 800);
$accent: md-palette($md-light-blue, 600, A100, A400);
// The warn palette is optional (defaults to red).
$warn: md-palette($md-red, 600);
// Create the theme object (a Sass map containing all of the palettes).
$theme: md-light-theme($primary, $accent, $warn);
// Include theme styles for core and each component used in your app.
// Alternatively, you can import and @include the theme mixins for each component
// that you are using.
@include angular-material-theme($theme);
- steps: Removed
multiple
attribute fromtd-steps
since it defeats the purpose of a stepper. (023d3f3c02444bf4db3a6b712a07548fdb622325) - steps:
td-step-summary
andtd-step-actions
are now directives used with a template (needed forPortal
usage). (023d3f3c02444bf4db3a6b712a07548fdb622325)
Before:
<td-step-summary>
// summary here
</td-step-summary>
<td-step-actions>
// actions here
</td-step-actions>
After:
<template td-step-summary>
// summary here
</template >
<template td-step-actions>
// actions here
</template >
- steps:
td-step
content is defined differently now (023d3f3c02444bf4db3a6b712a07548fdb622325):
Before:
<td-step>
// content here
</td-step>
After:
<td-step>
<template td-step-content>
// content here
</template >
</td-step>
- http: Adding complete callback to [HttpInterceptorService] (6104b554376bb70d013e80d7b39d78a04dc4aa62), closes #87
- http: Check for 200 in patch request [RESTService] (5a29149cb5d3169325199d5528fb54cd08a77940)
- docs: Changed covalent data instructions in the documentation. (be8fa6ef03e406715505c91b0177a8f9407ac202)
- data-table: Introducing 'data-table' module (big thanks to @fcoury and the Gistia Team). (2bc523405482a3daa0c96b1979ee95a844042ea8), closes #2
- charts: Introducing 'charts' module (d3 responsive line/bar/area/combo charts). (c14d6f13ccb93d15ca670b9ed2c464d5ff590bc9)
- docs: Flexbox layout intro docs. (f151d5906b1b35fd7f930fe1ebc8a1c0f6fe216b)
- docs: Dialogs, toast & inline error patterns docs. (63da8b2ff659240b9686590dd0743cea3d1a5e88), closes #48
- validators: Added min/max/number-required directives and docs. (7b7b6765e8de4ae06385de6832f638b417bfe00c)
- directives: Add
tdToggle
to directives and docs. (7b7b6765e8de4ae06385de6832f638b417bfe00c) - directives: Add
tdFade
to directives and docs. (7b7b6765e8de4ae06385de6832f638b417bfe00c) - directives: Add
tdAutoTrim
to directives and docs. (01cbd92b7e668502cf1be3b1a323962efe640940) - steps: Added new [mode] input to
td-steps
. ('horizontal' | 'vertical'), and followed specs better. (023d3f3c02444bf4db3a6b712a07548fdb622325), closes #29 - dialogs: Added dialog templates and wrapper service for easier use. (90e50816dc23bfe0ae0177c10e610bd02562ae54)
- loading: Added determinate/indeterminate mode. (2e83b20fe66848ae9dbc105dfa739d96354cc138), closes #80
- code-health: Add slack notification for travis ci #travisci-ux. (be8fa6ef03e406715505c91b0177a8f9407ac202)
- deploy: Usage of webpack angular CLI for docs deployment. (0a272b0867c58b72bdea6cb524fe9037597500e4)
- release: Upgraded to ^2.0.0. (790278d6bb2ab92cd8d6e14c8abdb3e020e19378)
0.7.0 Beetlejuice Charizard (2016-09-14)
- loading: Changed default duration to 150ms so it doesnt look like its delayed in IE/Firefox (they dont support animations). (6104b554376bb70d013e80d7b39d78a04dc4aa62)
- file-upload: Fixed file-upload select/drop events for Firefox and IE. (6104b554376bb70d013e80d7b39d78a04dc4aa62)
- http: Fixed request pipeline for interceptors. (91050c51fa32b6e57d711199997829d0f4fc4c62)
- http: Changes IQueryRest property type to
any
. (91050c51fa32b6e57d711199997829d0f4fc4c62) - loading: Added mode flag to switch modes so protractor doesnt timeout when circle is indeterminate (problem with md-progress-circle using setInterval()). (2bbe223982df4deb2d3eca15cad9b4a230f66713)
- loading: Allow to override Overlay components when used in a constructor. (2bbe223982df4deb2d3eca15cad9b4a230f66713)
- docs: Fixed example for td-layout-manage-list. (b63bf5ff606792c3e16ec5a63682bef6fa89c503)
- docs-app: Restructured imports in docs to remove the majority of the index.ts files and less explicit declarations in system-config.ts. (6104b554376bb70d013e80d7b39d78a04dc4aa62)
- loading: Removed NgZone/ChangeDetectorRef usage from tdLoading. (2bbe223982df4deb2d3eca15cad9b4a230f66713)
- loading: Changed TdLoadingDirective's creation to be sync so it can be accessed in the ngAfterViewInit hook on page load. (6104b554376bb70d013e80d7b39d78a04dc4aa62)
- core: Added tooltip, slider, button-toggle and menu from angular-material. (6104b554376bb70d013e80d7b39d78a04dc4aa62)
- docs: Added resource docs with axure and sketch downloads for Covalent usage. (13110bf701e3fdbfd487003b7c88f66b63c4642e), closes #55
- docs: Updated docs with ngModule usage. closes #65
- release: Inline html/css in compiled js files. (23007cd7598a599539cc2e14d4f02735ff84a7a2), closes #27
- release: Bundle module code into a single
[module].umd.js
to match angular/angular2-material's. (23007cd7598a599539cc2e14d4f02735ff84a7a2), closes #56 - covalent-data: Introducing
Covalent Data
mock server API endpoints for better prototyping. Visit our repo for more information. - docs: Added covalent-data docs for usage with
Covalent Quickstart
. (c77d42c22d2c9e745431c12b9b19e803e44871c1)
- loading: Changed code in animations since the angular classes used are no longer public. (6104b554376bb70d013e80d7b39d78a04dc4aa62)
- code-health: Unit test karma-test-shim changes to set up test environment using
rc7
. (78f813c412ea42124e399edd7960b58d56139768) - code-health: Removed all unit tests (gonna start from scratch with each one). (6104b554376bb70d013e80d7b39d78a04dc4aa62)
- code-health: Unit tests changes to use TestBed and remove imports describe/it/beforeEach since they are taken as global. (6104b554376bb70d013e80d7b39d78a04dc4aa62)
- docs-app: Need to add angular2-material core.css and overlay.css as a workaround for ripple and menu into index.html angular/components#972. (6104b554376bb70d013e80d7b39d78a04dc4aa62)
- code-health: Fixed karma setup for rc7, updated travis CI config and added example test case as base. (d11f0a9e75ee69509d7bce2ae186366052ce471a), closes #57
- release: Added dependency to rollup. (23007cd7598a599539cc2e14d4f02735ff84a7a2)
- release: Updated RELEASE.md and fixed bug on
finish-release
script.
-
release: Upgraded to RC7. (78f813c412ea42124e399edd7960b58d56139768), closes #36
-
release: Upgrade material to alpha.8-1. (6104b554376bb70d013e80d7b39d78a04dc4aa62)
-
release: Updated rxjs to 5.0.0-beta.12 (@angular dependency). (78f813c412ea42124e399edd7960b58d56139768)
-
release: Updated zone.js to 0.6.21 (@angular dependency). (78f813c412ea42124e399edd7960b58d56139768)
-
release: Added hammerjs dependency (@angular2-material dependency). (6104b554376bb70d013e80d7b39d78a04dc4aa62)
-
release: Removed bootstrap and implemented everything with NgModule decorator. (6104b554376bb70d013e80d7b39d78a04dc4aa62)
-
loading: Removed tdLoadingDirective class from API. (2bbe223982df4deb2d3eca15cad9b4a230f66713)
-
highlight: Removed static lib file and added npm dependency for highlight.js (see docs for more info on how to setup). (e555bc438ab898c48a24f507204205db95c4dcbc)
-
all: Covalent now depends on TypeScript 2.0.
-
all: Updated packaging to match angular/angular2-material's packaging creating a
[module].umd.js
file per module.Example SystemJS config with UMD bundles:
'@covalent/core': { format: 'cjs', main: 'core.umd.js' }
-
all: Covalent modules must be included with
forRoot()
when bootstrapping. See the ngModules guide for more information.@NgModule({ imports: [ CovalentCoreModule.forRoot(), CovalentHttpModule.forRoot() ] ... });
-
http: Use CovalentHttpModule.forRoot() to register interceptors. (provideInterceptors() is deprecated and removed) (91050c51fa32b6e57d711199997829d0f4fc4c62), closes #58
Before:
bootstrap(AppComponent,[ provideInterceptors([ CustomInterceptor ]), ... ])
After:
imports: [ CovalentHttpModule.forRoot([ CustomInterceptor ]), ... ]
-
layouts: Changed placeholders to accept attributes since angular2 complains if the element doesnt exist, and turned md-content into a class since
angular2-material
never intended for it to be a component. (ab67c403d0aad3022e2e0112dfd62a89295c4f4b)Before(elements):
<toolbar-content> ... </toolbar-content> <list-toolbar-content> ... </list-toolbar-content> <toolbar-buttons> ... </toolbar-buttons> <nav-toolbar-content> ... </nav-toolbar-content> <md-content> ... </md-content>
After(attributes):
<div toolbar-content> ... </div> <div list-toolbar-content> ... </div> <div toolbar-buttons> ... </div> <div nav-toolbar-content> ... </div> <div class="md-content"> ... </div>
0.6.0 Butterfree Cumbersome (2016-08-19)
- docs: Updated to git clone to correct repo url (d3f0522d6521d9944eb274fcff62582624fa88ec)
- loading: Added a max diameter to TdLoadingComponent circle (a013cd7a3d272f6836eea62fb26e69a8719469c1)
- loading: Added NgZone#runOutsideAngular() to attach/detach loading component since it affected e2e tests with protractor. (a013cd7a3d272f6836eea62fb26e69a8719469c1)
- loading: Made loading component instantiation sync, so it can be called in [ngAfterContentInit] without problems when used as a directive. (a013cd7a3d272f6836eea62fb26e69a8719469c1)
- core: Moved RESTService to http module (2093930c45e7183280faea445fd5efd483fe3532)
- loading: Removed deprecated TimerWrapper and ComponentResolver and added usage of ComponentFactoryResolver. (a013cd7a3d272f6836eea62fb26e69a8719469c1)
- layouts: Changing
<list-items>
and<menu-items>
to use<md-nav-list list-items>
and<md-nav-list menu-items>
to be more flexible in layouts. (1df3f42ead63a946e0c1749e66b06ef584e2dc79) - dependencies: All modules depend now on @covalent/core.
- docs: Added active icon for menu-items in navigation list.
- pipes: Added truncate pipe and docs (b213c7d0cd48aa544ab27432031ff2b0558bc315)
- http: Introduced http module with abstract RESTService and HttpInterceptorService and docs (2093930c45e7183280faea445fd5efd483fe3532), closes #19
- loading: Added number of registers/resolves to TdLoadingService register/resolve methods (a013cd7a3d272f6836eea62fb26e69a8719469c1)
- docs: Add scss theming info for covalent-quickstart (e453a8055ff79b187f311255fe1662623564bb0d)
- deploy: Ship scss files in npm release (d1027c666d919966520bfb32ac8304c4506e504e), closes #28
- steps: Added toggle/open/close methods to TdStepComponent (310fd388a8f3effca0aa0ccae534163bdc4ef733)
- chips: Introduced chips module with autocomplete and docs (095748ee5d0baf614055e892c2c15c3d38084e17)
- json-formatter: Introduced json-formatter module and docs (90fba53d8c7bad903dd6e05b280202a86650bd1a)
- badge: Added dependency badge to README (147c06965227a481591e09e3d21cb46a413d9990)
- deploy: Use hash urls for github pages (92352314187a3592091ac7b6df4c2126e4d76d96), closes #33
-
loading: There is a need to add
TD_LOADING_ENTRY_COMPONENTS
in theprecompile
array of your main component, so theTdLoadingComponent
can be resolved by theComponentFactoryResolver
.e.g.
import { TD_LOADING_ENTRY_COMPONENTS } from '@covalent/core'; ... precompile: [ TD_LOADING_ENTRY_COMPONENTS ], }) export class YourMainComponent {}
-
td-layout:
<menu-items>
will need to change to<md-nav-list menu-items>
Before:
<td-layout> <menu-items> ... </menu-items> </td-layout>
After:
<td-layout> <md-nav-list menu-items> ... </md-nav-list> </td-layout>
-
td-layout-nav-list:
<list-items>
will need to change to<md-nav-list list-items>
Before:
<td-layout-nav-list> <list-items> ... </list-items> </td-layout-nav-list>
After:
<td-layout-nav-list> <md-nav-list list-items> ... </md-nav-list> </td-layout-nav-list>
-
td-layout-manage-list:
<list-items>
will need to change to<md-nav-list list-items>
Before:
<td-layout-manage-list> <list-items> ... </list-items> </td-layout-manage-list>
After:
<td-layout-manage-list> <md-nav-list list-items> ... </md-nav-list> </td-layout-manage-list>