Skip to content

Commit

Permalink
Merge branch 'release/v1.0.0-beta.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
emoralesb05 committed May 16, 2017
2 parents 31e2f46 + 6f8250f commit 9529dbf
Show file tree
Hide file tree
Showing 162 changed files with 4,384 additions and 3,327 deletions.
1 change: 1 addition & 0 deletions .angular-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"root": "src",
"outDir": "dist",
"assets": [
{ "glob": "**/*", "input": "../docs", "output": "./docs/" },
"app/assets",
"platform",
"favicon.ico"
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ before_script:
- sh -e /etc/init.d/xvfb start
install:
- npm i process-nextick-args util-deprecate buffer-shims
- yarn install
- npm install
- npm rebuild node-sass # Workaround for https://github.com/yarnpkg/yarn/issues/1981
script:
- npm run lint
Expand Down
74 changes: 74 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,77 @@
<a name="1.0.0-beta.4"></a>
# [1.0.0-beta.4 Johnny B Goode](https://github.com/Teradata/covalent/tree/v1.0.0-beta.4) (2017-05-16)

## Breaking Change
* **all:** remove forRoot() deprecations from modules. ([20b87c3a127e5c61f1cfa758840d5e6f36467a4d](https://github.com/Teradata/covalent/commit/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.

```typescript
import: [
CovalentStepsModule // instead of CovalentStepsModule.forRoot()
]
```

* **core:** remove `CovalentCoreModule` since its been deprecated in beta.3 ([feb7cf7a8f4d83d731aea9e7ca14a3250bc3fab9](https://github.com/Teradata/covalent/commit/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](https://github.com/Teradata/covalent/commit/a15d4936fb1ded2e2c1b8907c6b9a72892c946b7)), closes [#542](https://github.com/Teradata/covalent/issues/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](https://github.com/Teradata/covalent/commit/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](https://github.com/Teradata/covalent/commit/9b0be9a3235ef4ea25aa9fabe7e8f652d21332e8))

These selectors were deprecated a few releases back so it should be ok to remove them now. See [#535](https://github.com/Teradata/covalent/pull/535) for more information.

## Bug Fixes
* **chips:** added missing rxjs/add/operator/debounceTime import ([755f84664e65dfa52b131406a8979c8f3502f1c2](https://github.com/Teradata/covalent/commit/755f84664e65dfa52b131406a8979c8f3502f1c2))
* **data-table:** fix when data is undefined and multiple selection ([783228f15154ec04911abf92da0bb199c67190de](https://github.com/Teradata/covalent/commit/783228f15154ec04911abf92da0bb199c67190de))
* **data-table:** fix pseudo checkbox css ([d4d90a2cd20a30f6774a5198526381228a64363a](https://github.com/Teradata/covalent/commit/d4d90a2cd20a30f6774a5198526381228a64363a)), closes [#525](https://github.com/Teradata/covalent/issues/525)
* **dev:** fix tsconfig typeRoots file path ([bec8a3a0d4c99123abe04426071ce3d5d81d9cf0](https://github.com/Teradata/covalent/commit/bec8a3a0d4c99123abe04426071ce3d5d81d9cf0))
* **dynamic-forms:** fix AoT issue with min/max validators ([5bd684fdbd82d8b57bc6bb444cbe3f4e90b33f75](https://github.com/Teradata/covalent/commit/5bd684fdbd82d8b57bc6bb444cbe3f4e90b33f75)), closes [#508](https://github.com/Teradata/covalent/issues/508)
* **flex:** flex=“value” for grow/initial/auto/none/noshink/nogrow ([141550fc5429f8808224786bd7fc7e1119a84601](https://github.com/Teradata/covalent/commit/141550fc5429f8808224786bd7fc7e1119a84601)), closes [#586](https://github.com/Teradata/covalent/issues/586)
* **loading:** remove OnPush change detection from `td-loading` since its a container component ([baea6b384f0c01f54a54b649aecf2b08ae276333](https://github.com/Teradata/covalent/commit/baea6b384f0c01f54a54b649aecf2b08ae276333))
* **pipes:** convert bytes using powers of 2 in `TdBytesPipe` ([c77d517e8ae3beb94e6d4fa68503da7ebafaae9b](https://github.com/Teradata/covalent/commit/c77d517e8ae3beb94e6d4fa68503da7ebafaae9b)), closes [#527](https://github.com/Teradata/covalent/issues/527)

## Features
* **chips:** ability to disable chip addition (input). ([1c75d35b3a399b2236ec49000e2c85af57552723](https://github.com/Teradata/covalent/commit/1c75d35b3a399b2236ec49000e2c85af57552723)), closes [#500](https://github.com/Teradata/covalent/issues/500)
* **data-table:** ability to exclude columns when filtering data ([11c3d15a12b789d561fdb19bc1bad62d7a2f5eb3](https://github.com/Teradata/covalent/commit/11c3d15a12b789d561fdb19bc1bad62d7a2f5eb3)), closes [#513](https://github.com/Teradata/covalent/issues/513)
* **data-table:** ability to hide data table columns ([0ccb19190a6376adcd2345a1a62c642a38b2f11b](https://github.com/Teradata/covalent/commit/0ccb19190a6376adcd2345a1a62c642a38b2f11b)), closes [#511](https://github.com/Teradata/covalent/issues/511)
* **data-table:** indeterminate state in 'selectAll' checkbox ([bd0f7bcd64845801b96fb57a3de42e914da947f6](https://github.com/Teradata/covalent/commit/bd0f7bcd64845801b96fb57a3de42e914da947f6)), closes [#571](https://github.com/Teradata/covalent/issues/571)
* **data-table:** `(rowClick)` event for datatable rows enabled by new `[clickable]` input ([4f84c6ce493996fd749b55d2012f9eb6f4a9e367](https://github.com/Teradata/covalent/commit/4f84c6ce493996fd749b55d2012f9eb6f4a9e367)), closes [#468](https://github.com/Teradata/covalent/issues/468)
* **data-table:** select event will be trigger only when clicking on checkbox ([4f84c6ce493996fd749b55d2012f9eb6f4a9e367](https://github.com/Teradata/covalent/commit/4f84c6ce493996fd749b55d2012f9eb6f4a9e367)), closes [#592](https://github.com/Teradata/covalent/issues/592)
* **data-table:** shift-click for multiple row selection/deselection ([4f84c6ce493996fd749b55d2012f9eb6f4a9e367](https://github.com/Teradata/covalent/commit/4f84c6ce493996fd749b55d2012f9eb6f4a9e367))
* **data-table:** improved keyboard `a11y` for row selection (`space`, `enter`, `up`, `down`, `tab`) ([4f84c6ce493996fd749b55d2012f9eb6f4a9e367](https://github.com/Teradata/covalent/commit/4f84c6ce493996fd749b55d2012f9eb6f4a9e367))
* **dependencies:** upgrade to `@angular@4.1.0` ([78327a9002b93cba01da766dd2b3da0c9cee8099](https://github.com/Teradata/covalent/commit/78327a9002b93cba01da766dd2b3da0c9cee8099))
* **dependencies:** upgrade to `material@beta.5` ([b802efbc59e912b8c49fcc8540c77ff98eb829f3](https://github.com/Teradata/covalent/commit/b802efbc59e912b8c49fcc8540c77ff98eb829f3))
* **file:** add new `[formData]` property to TdFileService#upload options ([77c89acd4ba83b43754ce422fd74e6351e2a6297](https://github.com/Teradata/covalent/commit/77c89acd4ba83b43754ce422fd74e6351e2a6297)), closes [#546](https://github.com/Teradata/covalent/issues/546)
* **file-upload:** add `cancel` event when cancel button is pressed ([9e3be77fb885928fb54e01adb8d023c3e26d7800](https://github.com/Teradata/covalent/commit/9e3be77fb885928fb54e01adb8d023c3e26d7800)), closes [#499](https://github.com/Teradata/covalent/issues/499)
* **highlight:** added `(contentReady)` event binding. ([b3e800cb5342722a50a97292bc81ea8282d3659e](https://github.com/Teradata/covalent/commit/b3e800cb5342722a50a97292bc81ea8282d3659e)), closes [#553](https://github.com/Teradata/covalent/issues/553)
* **layout:** if [navigationRoute] is not set, then the icon/logo/title will not be navigatable. ([dda9b4b5fa6f2b44ce558665c49f1f06b0390237](https://github.com/Teradata/covalent/commit/dda9b4b5fa6f2b44ce558665c49f1f06b0390237))
* **loading:** support for async and boolean with [until] input ([d57bf6757eb3426bd7404edb4b0d1d51c46f6478](https://github.com/Teradata/covalent/commit/d57bf6757eb3426bd7404edb4b0d1d51c46f6478)), closes [#528](https://github.com/Teradata/covalent/issues/528)
* **markdown:** added `(contentReady)` event binding. ([cdf6cad19b3972259e78809aaff5aca6ba408bb1](https://github.com/Teradata/covalent/commit/cdf6cad19b3972259e78809aaff5aca6ba408bb1)), closes [#536](https://github.com/Teradata/covalent/issues/536)
* **message:** introducing `message` module for easy display of inline messages or info boxes ([8a517fb516ea2344a6471d22ec6b23b8fca8fc60](https://github.com/Teradata/covalent/commit/8a517fb516ea2344a6471d22ec6b23b8fca8fc60)), closes [#316](https://github.com/Teradata/covalent/issues/316)
* **paging:** ability to jump to page `n` with page links in `TdPagingBarComponent` ([459dcb3186a72d4e3f5d51108b7723698a13fffa](https://github.com/Teradata/covalent/commit/459dcb3186a72d4e3f5d51108b7723698a13fffa)), closes [#496](https://github.com/Teradata/covalent/issues/496)

## Internal
* **chips:** added initial unit tests for `TdChipsComponent` ([755f84664e65dfa52b131406a8979c8f3502f1c2](https://github.com/Teradata/covalent/commit/755f84664e65dfa52b131406a8979c8f3502f1c2))
* **data-table:** added initial code health for `TdDataTableComponent` ([11c3d15a12b789d561fdb19bc1bad62d7a2f5eb3](https://github.com/Teradata/covalent/commit/11c3d15a12b789d561fdb19bc1bad62d7a2f5eb3))
* **dependencies:** upgrade to `typescript@2.3.1` ([78327a9002b93cba01da766dd2b3da0c9cee8099](https://github.com/Teradata/covalent/commit/78327a9002b93cba01da766dd2b3da0c9cee8099))
* **dependencies:** upgrade to `tslint@5.2.0` ([b802efbc59e912b8c49fcc8540c77ff98eb829f3](https://github.com/Teradata/covalent/commit/b802efbc59e912b8c49fcc8540c77ff98eb829f3))
* **dependencies:** upgrade to `@angular/cli@1.0.3` ([b802efbc59e912b8c49fcc8540c77ff98eb829f3](https://github.com/Teradata/covalent/commit/b802efbc59e912b8c49fcc8540c77ff98eb829f3))
* **dependencies:** upgrade to `highligh.js@9.11.0` ([b802efbc59e912b8c49fcc8540c77ff98eb829f3](https://github.com/Teradata/covalent/commit/b802efbc59e912b8c49fcc8540c77ff98eb829f3))
* **docs:** link to material docs ([e1ea18a27eb0d7397e2bd816410669c4b3ef3e8e](https://github.com/Teradata/covalent/commit/e1ea18a27eb0d7397e2bd816410669c4b3ef3e8e))
* **docs:** lazy load docs for faster rendering ([a06b5c4f811944920293ad1000a5d4db4e223682](https://github.com/Teradata/covalent/commit/a06b5c4f811944920293ad1000a5d4db4e223682))
* **paging:** added initial code health for `TdPagingBarComponent` ([459dcb3186a72d4e3f5d51108b7723698a13fffa](https://github.com/Teradata/covalent/commit/459dcb3186a72d4e3f5d51108b7723698a13fffa))


<a name="1.0.0-beta.3-1"></a>
# [1.0.0-beta.3-1](https://github.com/Teradata/covalent/tree/v1.0.0-beta.3) (2017-04-10)

Expand Down
10 changes: 7 additions & 3 deletions docs/GETTING_STARTED.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Getting Started

Get started with Covalent using the Angular CLI.

See the [material getting started](https://github.com/angular/material2/blob/master/guides/getting-started.md) for instructions.
Expand Down Expand Up @@ -34,7 +36,7 @@ npm install --save https://github.com/Teradata/covalent-nightly.git

**src/app/app.module.ts**
```ts
import { CovalentCoreModule } from '@covalent/core';
import { CovalentLayoutModule, CovalentStepsModule /*, any other modules */ } from '@covalent/core';
// (optional) Additional Covalent Modules imports
import { CovalentHttpModule } from '@covalent/http';
import { CovalentHighlightModule } from '@covalent/highlight';
Expand All @@ -43,7 +45,8 @@ import { CovalentDynamicFormsModule } from '@covalent/dynamic-forms';
// other imports
@NgModule({
imports: [
CovalentCoreModule,
CovalentLayoutModule,
CovalentStepsModule,
// (optional) Additional Covalent Modules imports
CovalentHttpModule.forRoot(),
CovalentHighlightModule,
Expand Down Expand Up @@ -113,7 +116,8 @@ or

If you're not using the Angular CLI, you can use any existing Sass tooling to build the file (such as gulp-sass or grunt-sass). The simplest approach is to use the node-sass CLI; you simply run:

node-sass src/themes.scss dist/themes.css
`node-sass src/themes.scss dist/themes.css`

and then include the output file in your application.

The theme file can be concatenated and minified with the rest of the application's css.
Expand Down
20 changes: 19 additions & 1 deletion docs/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,19 @@

## Release

* [Pre Release Checklist](#pre-release-checklist)
* [Start Release](#start-release)
* [Finish Release](#finish-release)
* [Publish Release](#publish-release)
* [Publish Release](#publish-release)
* [Post Release Checklist](#post-release-checklist)

#### Pre Release Checklist

1. Changelog needs to be updated with all release features/fixes/enhancements.
2. Notifications need to be updated in the covalent `home` screen.
3. Make sure the `platform` `package.json`s point to the correct versions.
4. `ng serve --aot` works fine.
5. `npm run build` works fine.

#### Start Release

Expand All @@ -30,3 +40,11 @@ Execute `git flow release finish v[version]` and `npm run finish-release` to fin
Execute `npm run npm-publish` from develop branch to start the automatic publishing process. The steps executed are:
1. Executes `npm run build` process.
2. Executes `bash scripts/npm-publish` process.

#### Post Release Checklist

1. Deploy to ghpages using `npm run ghpages-deploy`
2. Update release `plnkr` (and nightly release `plnkr` if needed)
3. Update Covalent Quickstart (or Seed) with small commits to show step by step the upgrade process
4. Update UPGRADE.md as necessary.
5. Throw party~
4 changes: 3 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ module.exports = function (config) {
}
},
files: [
{ pattern: './src/test.ts', watched: false }
{pattern: './src/test.ts', watched: false},
// Include a Material theme in the test suite.
{pattern: 'node_modules/@angular/material/prebuilt-themes/indigo-pink.css', included: true, watched: true},
],
preprocessors: {
'./src/test.ts': ['@angular/cli']
Expand Down
43 changes: 22 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "covalent",
"version": "1.0.0-beta.3-1",
"version": "1.0.0-beta.4",
"private": true,
"description": "Teradata UI Platform built on Angular Material",
"keywords": [
Expand Down Expand Up @@ -51,41 +51,42 @@
"Jason Weaver <jason.weaver@teradata.com>",
"Jeremy Wilken <jeremy.wilken@teradata.com>",
"Jeremy Smartt <jeremy.smartt@teradata.com>",
"Ilsun Park <ilsun.park@teradata.com>"
"Ilsun Park <ilsun.park@teradata.com>",
"Steven Ov <steven.ov@teradata.com>"
],
"dependencies": {
"@angular/animations": "^4.0.0",
"@angular/common": "^4.0.0",
"@angular/compiler": "^4.0.0",
"@angular/core": "^4.0.0",
"@angular/flex-layout": "2.0.0-beta.7",
"@angular/forms": "^4.0.0",
"@angular/http": "^4.0.0",
"@angular/material": "2.0.0-beta.3",
"@angular/platform-browser": "^4.0.0",
"@angular/platform-browser-dynamic": "^4.0.0",
"@angular/platform-server": "^4.0.0",
"@angular/router": "^4.0.0",
"@angular/animations": "^4.1.0",
"@angular/common": "^4.1.0",
"@angular/compiler": "^4.1.0",
"@angular/core": "^4.1.0",
"@angular/forms": "^4.1.0",
"@angular/http": "^4.1.0",
"@angular/material": "2.0.0-beta.5",
"@angular/platform-browser": "^4.1.0",
"@angular/platform-browser-dynamic": "^4.1.0",
"@angular/platform-server": "^4.1.0",
"@angular/router": "^4.1.0",
"@ngx-translate/core": "6.0.0",
"@ngx-translate/http-loader": "0.0.3",
"@swimlane/ngx-charts": "5.0.0",
"core-js": "^2.4.1",
"d3": "^4.4.0",
"hammerjs": "^2.0.8",
"highlight.js": "9.10.0",
"highlight.js": "9.11.0",
"rxjs": "^5.2.0",
"showdown": "1.6.4",
"web-animations-js": "2.2.2",
"zone.js": "^0.8.5"
"zone.js": "^0.8.6"
},
"devDependencies": {
"@angular/cli": "1.0.0",
"@angular/compiler-cli": "^4.0.0",
"@angular/cli": "1.0.3",
"@angular/compiler-cli": "^4.1.0",
"@angular/language-service": "^4.1.0",
"@types/hammerjs": "^2.0.30",
"@types/jasmine": "2.5.38",
"@types/node": "~6.0.60",
"@types/selenium-webdriver": "^2.52.0",
"codelyzer": "~2.0.0",
"codelyzer": "~3.0.0",
"coveralls": "^2.12.0",
"glob": "^6.0.4",
"gulp": "3.9.1",
Expand Down Expand Up @@ -115,7 +116,7 @@
"rollup-plugin-node-resolve": "2.0.0",
"semver": "5.2.0",
"ts-node": "~2.0.0",
"tslint": "^4.5.1",
"typescript": "^2.1.6"
"tslint": "^5.2.0",
"typescript": "^2.3.1"
}
}
1 change: 0 additions & 1 deletion scripts/rollup.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ gulp.task('rollup-code', '', function() {
'@angular/platform-browser/animations': 'ng.platformBrowser.animations',
'@angular/platform-browser-dynamic': 'ng.platformBrowserDynamic',
'@angular/material': 'ng.material',
'@angular/flex-layout': 'ng.flexLayout',

// Rxjs dependencies
'rxjs/Subject': 'Rx',
Expand Down
2 changes: 1 addition & 1 deletion src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<td-layout #layout>
<td-navigation-drawer sidenavTitle="Covalent" logo="assets:teradata">
<td-navigation-drawer sidenavTitle="Covalent" logo="assets:teradata" navigationRoute="/">
<md-nav-list>
<a *ngFor="let item of routes" md-list-item (click)="layout.close()" [routerLink]="[item.route]"><md-icon>{{item.icon}}</md-icon>{{item.title}}</a>
</md-nav-list>
Expand Down
25 changes: 15 additions & 10 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ import { TranslateModule, TranslateService, TranslateLoader } from '@ngx-transla

import { DocsAppComponent } from './app.component';
import { HomeComponent } from './components/home/home.component';
import { ComponentsModule } from './components/components/';
import { DocsModule } from './components/docs/';
import { LayoutsModule } from './components/layouts/';
import { StyleGuideModule } from './components/style-guide/';
import { appRoutes, appRoutingProviders } from './app.routes';

import { CovalentCoreModule } from '../platform/core';
import { MdButtonModule, MdListModule, MdIconModule, MdCardModule, MdCoreModule, MdMenuModule } from '@angular/material';

import { CovalentLayoutModule, CovalentExpansionPanelModule, CovalentNotificationsModule, CovalentMenuModule } from '../platform/core';
import { CovalentHighlightModule } from '../platform/highlight';
import { CovalentHttpModule } from '../platform/http';
import { CovalentMarkdownModule } from '../platform/markdown';
Expand All @@ -35,7 +33,18 @@ import { getSelectedLanguage, createTranslateLoader } from './utilities/translat
BrowserModule,
HttpModule,
JsonpModule,
CovalentCoreModule,
/** Material Modules */
MdCoreModule,
MdButtonModule,
MdListModule,
MdIconModule,
MdCardModule,
MdMenuModule,
/** Covalent Modules */
CovalentLayoutModule,
CovalentExpansionPanelModule,
CovalentNotificationsModule,
CovalentMenuModule,
CovalentHttpModule.forRoot(),
CovalentHighlightModule,
CovalentMarkdownModule,
Expand All @@ -47,10 +56,6 @@ import { getSelectedLanguage, createTranslateLoader } from './utilities/translat
deps: [Http],
},
}),
ComponentsModule,
DocsModule,
LayoutsModule,
StyleGuideModule,
appRoutes,
], // modules needed to run this module
providers: [
Expand Down
8 changes: 8 additions & 0 deletions src/app/app.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ import { HomeComponent } from './components/home/home.component';
const routes: Routes = [{
component: HomeComponent,
path: '',
}, {
path: '', loadChildren: './components/docs/docs.module#DocsModule',
}, {
path: '', loadChildren: './components/style-guide/style-guide.module#StyleGuideModule',
}, {
path: '', loadChildren: './components/layouts/layouts.module#LayoutsModule',
}, {
path: '', loadChildren: './components/components/components.module#ComponentsModule',
},
];

Expand Down

0 comments on commit 9529dbf

Please sign in to comment.