Commit Graph

2205 Commits

Author SHA1 Message Date
Andrew Seguin ff4e6e96a8 compat(autosize): fix input name (#6419) 2017-08-16 13:15:50 -07:00
Kristiyan Kostadinov 4d36ee038c feat(tabs): add isActive flag on the individual tabs (#6424)
* Adds the `isActive` flag on each tab, making it easier to check whether a tab is active.
* Adds an `exportAs` to the tab directive to allow for it to be consumed easier in the view.

Fixes #6422.
2017-08-16 13:15:29 -07:00
Kristiyan Kostadinov 08a66734db fix(list-key-manager): typehead not handling non-English input (#6463)
Since `String.fromCharCode` only maps the key codes to their English letter counterparts, the typeahead option in the `ListKeyManager` won't work for non-English input. These changes switch to using `event.key` and falling back to using `keyCode` and `fromCharCode`.
2017-08-16 13:15:13 -07:00
Kristiyan Kostadinov da7cb2dc99 refactor: use mat-fill mixin for cover elements (#6486)
Switches the elements that cover their parents to use the `mat-fill` mixin.
2017-08-16 13:14:51 -07:00
Kristiyan Kostadinov 66da5973db feat: update to Angular 4.3 (#6483)
* feat: update to Angular 4.3

* Bumps the Angular requirement to 4.3. This is also a prerequisite to the Angular 5 update since we encountered the same errors there.
* Refactors the sidenav not to use a `Promise.resolve` for toggling the initial animation, because it was making it impossible to flush the animations in unit tests. The new simplified approach uses a property to pass the animation state.
* Fixes the nested menu test failures.
* Fixes a "changed after checked" error in the autocomplete demo app.

Relates to #6454.

* fix: e2e failures
2017-08-16 13:14:12 -07:00
Andrew Seguin 1807c5b8f7 fix(select): lint issue (#6497) 2017-08-16 10:33:23 -07:00
Kristiyan Kostadinov b5fc68b907 build: fix error when running tslint task (#6431)
Fixes an error, that was being thrown when running the `tslint` task, by bumping `tslint` to 5.6.
2017-08-15 15:03:38 -07:00
Kristiyan Kostadinov bfea2634d1 chore: remove change detection toggle from demo app (#6444)
Removes the toggle that changes the change detection in the demo app. It's not needed anymore since all components use OnPush.
2017-08-15 15:03:29 -07:00
Kristiyan Kostadinov 6422640b03 fix(select): don't shift option focus when multi-select value is changed programmatically (#5401)
Doesn't shift focus when the value of a multi select is updated programmatically while the panel is still open. Previously focus would end up on the last selected option, because we move focus in a loop.

Fixes #5381.
2017-08-15 14:54:08 -07:00
Hubert Wesolowski 9ba5d8434f feat(datepicker): close calendar after choose the same date again (#6323)
* feat: close calendar after choose the same date again

* feat: close calendar by userSelection event

* addressing pr comments

* fix for tslint errors

* addressing pr comments
2017-08-15 14:53:55 -07:00
Kristiyan Kostadinov 66b1ff52b0 fix(menu): close child menus when parent is closed programmatically (#6329)
Fixes the child menus not closing themselves when a parent menu is closed via `closeMenu`.
2017-08-15 14:53:18 -07:00
tinayuangao 9bdd228618 demo(snackbar): Add accessibility demo page for snack bar (#6362)
* demo(snackbar): Add accessibility demo page for snack bar

* Remove pizza example
2017-08-15 14:52:59 -07:00
Andrew Seguin 1f80d2eda5 compat(table): support matColumnDef input (#6388) 2017-08-15 14:51:21 -07:00
Andrew Seguin 7e11ba84f9 compat(datepicker): add mat compatible selectors (#6389) 2017-08-15 14:51:10 -07:00
Andrew Seguin 1536c6878e compat(ripple): add mat compatible inputs (#6390)
* compat(ripple): add mat compatible inputs

* add underline
2017-08-15 14:50:50 -07:00
Martin Mädler 2ee705b632 chore(a11y): fix up cdk-visually-hidden class (#6394)
This commit removes the redundant `text-transform` property from the
`cdk-visually-hidden` css class to conform with the *standard* concept
to visually hide content for accessibility.
2017-08-15 14:50:41 -07:00
tinayuangao 54158fdeaa docs(a11y): Add a11y docs to button, button toggle, checkbox, progress spinner/ba… (#6402)
* Add a11y docs to button, button toggle, checkbox, progress spinner/bar, radio button and grid list

* address comments

* address comments

* address comments

* fix typo
2017-08-15 14:50:18 -07:00
Kristiyan Kostadinov bf59468b01 fix(autocomplete): highlighted option not reset when closed with escape or enter key (#6403)
Fixes the autocomplete active option not being reset when closing through the escape or enter keys. Previously the old active option would remain active upon reopening, however the user's focus would shift back to the top as soon as they press an arrow key.

Fixes #6258.
2017-08-15 14:50:03 -07:00
Kristiyan Kostadinov ea17d3d0f2 fix(datepicker): remove toggle icon from tab order on IE (#6405)
Fixes users being able to tab into the datepicker's icon on IE.
2017-08-15 14:49:46 -07:00
mmalerba c668075adf cleanup(input): rename md-input-container to md-form-field throughout material (#6421) 2017-08-15 14:49:38 -07:00
Kristiyan Kostadinov 67e91a3934 fix(autocomplete): don't darken select option (#6425)
Scopes the darkening of selected options only to `md-select`.

Fixes #6407.
2017-08-15 14:48:46 -07:00
Kristiyan Kostadinov b5f4caf1fa fix(tabs): allow for tabs to be selected using the space key (#6426)
* Allows for the user to select a tab using the space key, in addition to enter. This seems to be consistent with the M1 implementation of tabs.
* Prevents the default action for space and enter in order to prevent the page from scrolling by accident.

Fixes #6406.
2017-08-15 14:48:28 -07:00
Kristiyan Kostadinov 1df79e9efa perf(tabs): avoid extra resize handler and reflow (#6434)
In #6304, an extra window resize handler was added in order to call `_checkPaginationEnabled`. This handler is unnecessary, because we have another resize handler a little bit below that calls `_updatePagination`, which will call `_checkPaginationEnabled` internally. The original issue that #6304 was fixing was due to the fact that the current listener wasn't being run in the Angular zone. These changes remove the extra listener, increase the debounce interval and move the handler outside back into the zone. There may be a slight overhead from moving the listener into the zone, however it should be offset by not having another listener and not calling `_checkPaginationEnabled` twice.
2017-08-15 14:48:16 -07:00
Kristiyan Kostadinov 5d437ea861 refactor: remove usages of if in checks (#6436)
This is something that came up in https://github.com/angular/material2/pull/2907#discussion_r130968388. We shouldn't be using the `if ('someString' in obj)` checks, because they can be broken by minifiers that rename class members.
2017-08-15 14:48:08 -07:00
Kristiyan Kostadinov f9bd5d4bb5 fix(expansion-panel): animation not working in Angular 4.3 (#6442)
Fixes the animation not working correctly in Angular 4.3. It seems like having both the margin and height animation on the element causes the height one to break. This approach also has the advantage of making it easier to override the margin and being able to use the SASS variables if necessary.
2017-08-15 14:47:58 -07:00
Kristiyan Kostadinov 18c6dec61a fix: improved key manager typings (#6443)
Makes the FocusKeyManager and ActivedescendantKeyManager generic which avoids having to cast the items all the time (e.g. https://github.com/angular/material2/blob/master/src/lib/autocomplete/autocomplete-trigger.ts#L234).
2017-08-15 14:46:55 -07:00
mmalerba 85a6fff17a fix demo app (#6437) 2017-08-12 15:05:58 -07:00
mmalerba 7f60b09721 cleanup: fix lint issue (#6429) 2017-08-11 23:31:31 -07:00
Lin Sun dccce1cdac feat(selection-list): Selection-list initial version all code(without demo) (#5562)
* # This is a combination of 4 commits.
# This is the 1st commit message:

add lib files for sticky-header

add chose parent

add support to 'optional 'cdkStickyRegion' input '

add app-demo for sticky-header

fix bugs and deleted unused tag id in HTML files

modify

fix some code according to PR review comments

change some format to pass TSlint check

add '_' before private elements

delete @Injectable for StickyHeaderDirective. Because we do not need @Injectable

refine code

encapsulate 'set style for element'

change @Input()

Delete 'Observable.fromEvent(this.upperScrollableContainer, 'scroll')'

add const STICK_START_CLASS and STICK_END_CLASS

Add doc for [cdkStickyRegion] and 'unstuckElement()'. Delete 'detach()' function, add its content into 'ngOnDestroy()'.

change 'MdStickyHeaderModule' to 'CdkStickyHeaderModule';

encapsulate reset css style operation for sticky header.

delete unnecessary gloable variables

sticky-header-rebased

add one test &&

fixed bug 'sticky-header not working on iPhone', and bug 'reshape too obviously when being sticked'. &&

made some change according to the design doc('md-stick --> cdkSticky')

make the sticky element being scrolled up smoothly when being unsticked

Add code to support  optional parentRegion input

add

add unit test for sticky-header

add e2e/sticky-header files

e2e test

clear code

master

sticky-header-rebased

Add code to support  optional parentRegion input

add e2e/sticky-header files

e2e test

clear code

fix

encapsulate reset css style operation for sticky header.

sticky-header-rebased

Add code to support  optional parentRegion input

add e2e/sticky-header files

e2e test

clear code

master

sticky-header-rebased

Add code to support  optional parentRegion input

add e2e/sticky-header files

e2e test

clear code

fix

delete unused files

encapsulate reset css style operation for sticky header.

sticky-header-rebased

Add code to support  optional parentRegion input

add unit test for sticky-header

add e2e/sticky-header files

e2e test

clear code

master

sticky-header-rebased

Add code to support  optional parentRegion input

add e2e/sticky-header files

e2e test

clear code

fix

encapsulate reset css style operation for sticky header.

sticky-header-rebased

Add code to support  optional parentRegion input

add e2e/sticky-header files

e2e test

clear code

master

sticky-header-rebased

Add code to support  optional parentRegion input

add e2e/sticky-header files

e2e test

clear code

fix

clean unused files

delete sticky-header

delete styicky-heade demo

delete sticky-header lib

revert public_api

delete sticky-header e2e files

delete.firebasesrc

revert

revert

revert

revert

add css styles for selection-list

add selection-list structures in list.ts

initial version of selection-list all src/lib code

fix tslint error

fix tslint error

applied '[class.mat-list-item-content-reverse]="checkboxPosition == 'after'"', deleted comments in code

Deleted 'MdSelectionListCssMatStyler' class

Added doc for 'md-selection-option'

Added binding expression for 'attr.aria-selected' and 'attr.aria-disabled'

Added a value and a disabled @Input() property

Changed 'isSelected' to 'selected'. And added '@Input(selected)' for it.(Using 'coerceBooleanProperty')

changed '_slist' to 'selectionList' and deleted 'MdSelectionListCheckboxer' class

Deleted navList in selection-list-option

changed 'onchange()' to toggle(). And added doc for it

checkedItems -> selectedOptions

deleted 'pCheckbox' and store 'this' instead of HTMLelement in 'optionlist'

optimized toggle() with 'this._selected = !this._selected'

Added 'Tab' moves focus on selection-list, 'UP_ARROW' and 'DOWN_ARROW' moves focus within selection-list. And use 'SPACE' to select checkbox

Added another empty line at the end of each file

remove comment line in CSS file

Deleted 'webkit-justify-content' in CSS file

Deleted 'mat-list-item-content-reverse' to these existing styles; the 'mat-list-item-content-reverse' class should only have the extra styles you need to reverse the display

Deleted 'mat-list-item-content' and 'mat-list-item-content-reverse' and '<a>' styles in '.mat-selection-list'

Deleted unused 'mat-checkbox' class

add ".mat-list-option" class in css file

added 'mat-list-option' class

fix toggle() disabled

Deleted empty class

Deleted unused import

Removed 'if (this.selectable)' check

moved styles in '.mat-selection-list .mat-list-item' to '.mat-list-option'.

Deleted position, box-sizing, and height in '.mat-list-item-content-reverse' in list.scss file

put md-selection-list and md-list-option in separate files(selection-list.ts and list-option.ts)

# This is the commit message #2:

nit
# This is the commit message #3:

correct imports in index.ts


# This is the commit message #4:

use ' @ContentChildren(MdListOption) options;' instead of QueryList

* add lib files for sticky-header

add chose parent

add support to 'optional 'cdkStickyRegion' input '

add app-demo for sticky-header

fix bugs and deleted unused tag id in HTML files

modify

fix some code according to PR review comments

change some format to pass TSlint check

add '_' before private elements

delete @Injectable for StickyHeaderDirective. Because we do not need @Injectable

refine code

encapsulate 'set style for element'

change @Input()

Delete 'Observable.fromEvent(this.upperScrollableContainer, 'scroll')'

add const STICK_START_CLASS and STICK_END_CLASS

Add doc for [cdkStickyRegion] and 'unstuckElement()'. Delete 'detach()' function, add its content into 'ngOnDestroy()'.

change 'MdStickyHeaderModule' to 'CdkStickyHeaderModule';

encapsulate reset css style operation for sticky header.

delete unnecessary gloable variables

sticky-header-rebased

add one test &&

fixed bug 'sticky-header not working on iPhone', and bug 'reshape too obviously when being sticked'. &&

made some change according to the design doc('md-stick --> cdkSticky')

make the sticky element being scrolled up smoothly when being unsticked

Add code to support  optional parentRegion input

add

add unit test for sticky-header

add e2e/sticky-header files

e2e test

clear code

master

sticky-header-rebased

Add code to support  optional parentRegion input

add e2e/sticky-header files

e2e test

clear code

fix

encapsulate reset css style operation for sticky header.

sticky-header-rebased

Add code to support  optional parentRegion input

add e2e/sticky-header files

e2e test

clear code

master

sticky-header-rebased

Add code to support  optional parentRegion input

add e2e/sticky-header files

e2e test

clear code

fix

delete unused files

encapsulate reset css style operation for sticky header.

sticky-header-rebased

Add code to support  optional parentRegion input

add unit test for sticky-header

add e2e/sticky-header files

e2e test

clear code

master

sticky-header-rebased

Add code to support  optional parentRegion input

add e2e/sticky-header files

e2e test

clear code

fix

encapsulate reset css style operation for sticky header.

sticky-header-rebased

Add code to support  optional parentRegion input

add e2e/sticky-header files

e2e test

clear code

master

sticky-header-rebased

Add code to support  optional parentRegion input

add e2e/sticky-header files

e2e test

clear code

fix

clean unused files

delete sticky-header

delete styicky-heade demo

delete sticky-header lib

revert public_api

delete sticky-header e2e files

delete.firebasesrc

revert

revert

revert

revert

add css styles for selection-list

add selection-list structures in list.ts

initial version of selection-list all src/lib code

fix tslint error

fix tslint error

applied '[class.mat-list-item-content-reverse]="checkboxPosition == 'after'"', deleted comments in code

Deleted 'MdSelectionListCssMatStyler' class

Added doc for 'md-selection-option'

Added binding expression for 'attr.aria-selected' and 'attr.aria-disabled'

Added a value and a disabled @Input() property

Changed 'isSelected' to 'selected'. And added '@Input(selected)' for it.(Using 'coerceBooleanProperty')

changed '_slist' to 'selectionList' and deleted 'MdSelectionListCheckboxer' class

Deleted navList in selection-list-option

changed 'onchange()' to toggle(). And added doc for it

checkedItems -> selectedOptions

deleted 'pCheckbox' and store 'this' instead of HTMLelement in 'optionlist'

optimized toggle() with 'this._selected = !this._selected'

Added 'Tab' moves focus on selection-list, 'UP_ARROW' and 'DOWN_ARROW' moves focus within selection-list. And use 'SPACE' to select checkbox

Added another empty line at the end of each file

remove comment line in CSS file

Deleted 'webkit-justify-content' in CSS file

Deleted 'mat-list-item-content-reverse' to these existing styles; the 'mat-list-item-content-reverse' class should only have the extra styles you need to reverse the display

Deleted 'mat-list-item-content' and 'mat-list-item-content-reverse' and '<a>' styles in '.mat-selection-list'

Deleted unused 'mat-checkbox' class

add ".mat-list-option" class in css file

added 'mat-list-option' class

fix toggle() disabled

Deleted empty class

Deleted unused import

Removed 'if (this.selectable)' check

moved styles in '.mat-selection-list .mat-list-item' to '.mat-list-option'.

Deleted position, box-sizing, and height in '.mat-list-item-content-reverse' in list.scss file

put md-selection-list and md-list-option in separate files(selection-list.ts and list-option.ts)

nit

correct imports in index.ts

use ' @ContentChildren(MdListOption) options;' instead of QueryList

change to check 'focusedIndex != null'.

Set The tabindex of list option as -1 when the selection-list is disabled

change ['class': 'mat-list-item, mat-list-option',] to ['class': 'mat-list-item mat-list-option',];
Don't want a comma between class names.

fix typo in comments

fix

Binded 'aria-disabled' for selection-list.ts

rename to '_optionsChangeSubscription'

typo

Instead of defining the disabled getter/setter yourself, you can include it via mixin.

Removed ' selectable' property

Deleted unnecessary 'this._isValidIndex(optionIndex)' check

import switchMap

Added SwitchMerge

nit

revert
revert
revert2

revert3
r4
r5
r2
r3
r4
r5

revert

fix rxjs import

Changed to use 'RxChain' instead of directly importing 'observer/add/'

delete unusd import

Added exports for selectionlist

fix tslint check

fix tslint check

fix tslint check

Add tests for selection-list and list-option

fix typo in test

Added new test on native element's focus & blur

Added check expect(selectList.selected.length).toBe(0);before the toggle

nit

Added test on desecting an option

fix tslink check

fix typo in doc

refine docs

fix 'What happens if the selection list is disabled later? Would the list option become disabled?'

Changed all the test name to the format of 'should ...'

rename

Deleted unused '_tabOutSubscription'

return RxChain.from(this.options.changes)...

fix tsLint check

fix tslint

fix tslint error

test can not pass on travel CI

fix travelCI check

try to fix nativeElement focus test

revert

fix test

fix travis CI error

fixing travis
fixed~!
update fix

fix

fix
fix2
fix

added test check on 'aria-selected'

Added test checkou on 'aria-disabled'

reformat structure

changed to 'if (!fixture.componentInstance.isIE) { ... }'

Change 'platform.SAFARI || platform.EDGE || platform.FIREFOX' to '!platform.IS_TRIDENT'

fix travis check

Added aris-disabled test

fix travis test

put disabled style in theme.scss

use background color for disabled items

deselect --> deselected

destory -> destoryed

optimize

changed to "if (!this.disabled) {   ... }"

restructured test cases

change function to private

_keydown

protected -> private

indent

change 'select' to 'selectChange'

Better to delete if (this.selectionList.disabled) {...} part

Use this.disabled to consider the case when parent selectionList is disabled?

Deleted emty lines

It would be better not to mutate the option disabled state based on the parent state; this can be error prone, as it's easy to miss updating one when the other changes. It's better to rely on the disabled getter for the option to account for the parent state.

* fix after rebase

* fix

* change 'grey, 1000' to 'black'

* remove unused import

* fix test

* put selection-list.ts and list-option.ts into one file~ and fix the test

* fix google3

* fix

* Add imports

* fix

* Deleted unused import
2017-08-11 23:18:35 -07:00
Jeremy Elbourn 4d82f833c7 feat(cdk): move overlay into cdk (#6100) 2017-08-11 15:42:36 -07:00
mmalerba 0754320097 refactor(input): rename input-container to form-field... (#6331)
* refactor all communication between input-container and input into a
separate interface

* rename input-container to form-field

* alias mat-input-* classes with mat-form-field-* classes

* separate md-form-field into separate directory

* rebase and fix lint

* address comments

* addressed comments

* getter methods --> readonly properties
2017-08-10 11:13:15 -07:00
Kristiyan Kostadinov 5ccf25d5dd perf(observe-content): run outside Angular zone (#6352)
* Runs the underlying `MutationObserver` outside the Angular zone.
* Runs the debounce timeout outside the Angular zone.

via https://github.com/angular/flex-layout/pull/370.
2017-08-09 14:59:50 -07:00
Kristiyan Kostadinov 72c5d39fc3 feat(select): add ability to customize the select trigger (#3341)
Adds the `md-select-trigger` directive which allows users to customize the selected value. E.g. it is now possible to do something like this, if the user wanted to reverse the selected label for some reason:

```ts
<md-select placeholder="Food" [formControl]="control" #select="mdSelect">
  <md-select-trigger>
    {{ select.selected?.viewValue.split('').reverse().join('') }}
  </md-select-trigger>
  <md-option *ngFor="let food of foods" [value]="food.value">
    {{ food.viewValue }}
  </md-option>
</md-select>
```

Fixes #2275.
2017-08-09 14:59:08 -07:00
Paul Gschwendtner 2286ad5b98 test(): screenshot diff for button-toggle (#6374)
* Adds the button-toggle overview example to the e2e app and captures a screenshot diff for it.
2017-08-09 14:58:49 -07:00
Paul Gschwendtner d66d735aba chore: add md-table to universal app (#6356)
* Adds the md-table component to the universal app. This means that it will be verified by the prerender task on the CI.
2017-08-09 14:58:30 -07:00
tinayuangao d48b95723b demo(icon): Add an accessibility demo page for icon (#6348)
* demo(icon): Add an accessibility demo page for icon

* Changed to use cases in material.angular.io

* addressed comments
2017-08-09 14:57:59 -07:00
tinayuangao 0e4680f782 demo(progress-spinner): Add progress spinner accessibility demo page (#6347)
* demo(progress-spinner): Add progress spinner accessibility demo page

* address comments

* fix

* add aria-label

* portion of pizza eaten
2017-08-09 14:57:26 -07:00
Kristiyan Kostadinov fd5e5ff8ab fix: remove ripples in high contrast mode (#6355)
In high contrast mode the ripples are opaque, which causes them to obstruct the content. These changes hide ripple for high contrast users since it's primarily decorative.
2017-08-08 23:26:58 -07:00
Kristiyan Kostadinov 0d2ea1021c fix(paginator): underlying select vertical alignment (#6354)
Fixes the paginator's `md-select` not being align correctly.

Fixes #6338.
2017-08-08 23:26:17 -07:00
Carlos Galan Cladera b4e2488ea5 fix(theming): Light green 700 contrast should be white (#6346)
According to [Material Design Guidelines](https://material.io/guidelines/style/color.html#color-color-palette) Light Green 700 contrast color
should be white.

BREAKING CHANGE:

`$mat-light-green 700 contrast color now is white.
2017-08-08 23:24:58 -07:00
Austin f96ffeb772 bug(tabs): fix arrows not showing on reszize #6303 (#6304)
* bug(tabs): fix arrows not showing on reszize #6303

* chore(*): update to use host vs hostliener

* bug(tabs): address feedback in pr

* bug(tabs): address PR feedback
2017-08-08 23:23:43 -07:00
mmalerba cea4d9fa32 fix(radio): forward focus to native input (#6274)
* fix(radio): forward focus to native input

* add comment
2017-08-08 23:21:53 -07:00
Jeremy Elbourn 9df292fba8 feat: rename cdk/keyboard -> keycodes & cdk/observe-content -> observers (#6039) 2017-08-08 23:19:32 -07:00
Paul Gschwendtner fc98a1d0cf build: move changelog script to gulp task (#5472)
* Moves the changelog script to a gulp task that includes better instructions and error reporting.
2017-08-08 23:18:38 -07:00
Paul Gschwendtner 333ec80750 build: fix screenshot tool deployment (#6337)
* Currently the screenshot tool application is not built in the deploy script. This causes Firebase to throw an error because the target directory does not exist.
2017-08-08 13:26:33 -07:00
Scott 7bc648b3f3 feat(datepicker): export unexported components for potential extension (#6314)
Although the team has export those files, but users can't redeclare them in another NgModule for angular constraints. It's impossible for someone to extend the functionality or create a custom date(time)picker view without this patch.
2017-08-08 13:25:49 -07:00
Kristiyan Kostadinov 4a1f10ecd5 fix(dialog): support passing in dialog result through all MdDialogClose selectors (#6293)
Fixes not being able to pass in a dialog result through the `mdDialogClose`, `matDialogClose` and `mat-dialog-close` selectors, even though they are allowed by the `MdDialogClose` directive.

Fixes #6278.
2017-08-08 13:25:19 -07:00
Paul Gschwendtner 4ae1b0f372 feat(tab-nav-bar): allow disabling ripples for links (#6273)
* Adds a possibility to disable ripples for a tab-nav-bar with links.

Closes #6245
2017-08-08 13:24:49 -07:00
Scott c20bcf997a fix(xxx-intl): replace misused EventEmitter with Subject (#6313)
* fix(xxx-intl): replace misused EventEmitter with Subject

According to https://angular.io/api/core/EventEmitter#description, EventEmitter is not for services. And Subject is preferrable.

* test(xxx-intl): update the related tests

* refactor: remove spaces
2017-08-08 13:21:52 -07:00
Kristiyan Kostadinov 5ebca5ee81 feat(select): allow focusing items by typing (#2907)
* feat(select): allow focusing items by typing

Allows for users to skip to a select item by typing, similar to the native select.

Fixes #2668.

* refactor: address feedback

* chore: linting errors
2017-08-08 13:21:03 -07:00