Commit Graph

27 Commits

Author SHA1 Message Date
Andrew Seguin 85fb00a151 feat(pagination): initial pagination component (#5156) 2017-06-23 11:51:39 -07:00
Elad Bezalel 61d979e66e feat(directionality): a provider to get directionality (#4044)
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes #3600
2017-06-19 16:30:41 -07:00
Kara a5551081e7 chore(): add license comments to src files (#5130) 2017-06-14 10:15:08 -07:00
Joey Perrott cac7610460 feat(expansion-panel): introduce expansion panel" 2017-06-07 16:54:31 -07:00
Andrew Seguin 7db2762d78 feat(data-table): minimal beginning implementation (#4468)
* feat(cdk-table): initial version

* add files

* remove unnecessary deps

* add test

* add tests

* edit comments

* minor style changes

* changes due to comments

* add test for column classes

* add OnPush to rest of components

* remove double quotes from colors.ts

* lint fies

* add comments to demo css

* comments

* split directives into separate files

* lint

* add content check in tests

* renaming directives

* remove fdescribe

* rename private placeholders; adjust comments; change CollectionViewer

* lint

* change jasmine array param

* remove unnecessary import from spec

* move out of core; add console warning about instability

* move jasmine-matchers

* fix demo
2017-05-25 17:50:32 -06:00
mmalerba 123d7eced4 feat(datepicker): merge datepicker branch into master (#4404) 2017-05-12 09:40:51 -07:00
Paul Gschwendtner c94f471926 fix: remove deprecated forRoot functions (#3539)
* In beta.2 the `forRoot` calls have been deprecated, and it was stated that those will be removed in the next release (https://goo.gl/2yFPFc)
2017-04-28 14:31:05 -07:00
Jeremy Elbourn bd48f39b6c chore: add MdCommonModule for all components (#4208)
I will move the run-time sanity checks from CompatibilityModule to here
once #4178 is merged.
2017-04-27 11:07:48 -07:00
Jeremy Elbourn 3f5894efc7 fix: deprecate MaterialModule (#3840)
We've found that, with the current state of tree-shaking in the world,
that using an aggregate NgModule like `MaterialModule` leads to tools
not being able to eliminate code for components that aren't used.

In order to ensure that users end up with the smallest code size
possible, we're deprecating MaterialModule, to be removed in the a
subsequent release.

To replace `MaterialModule`, users can create their own "Material"
modul within their application (e.g., `GmailMaterialModule`) that
imports only the set of components actually used in the application.
2017-04-04 17:22:04 -07:00
Kristiyan Kostadinov 5c1474d610 chore: remove dom projection service (#3656)
Gets rid of the `DomProjection` service which isn't being used anymore.

Fixes #3649.
2017-03-20 15:54:16 -07:00
Kristiyan Kostadinov a7a3967f9c fix(snack-bar): SimpleSnackBar not being exported (#3016)
* Fixes the `SimpleSnackBar` class not being exported.
* Moves the `MdSnackBarModule` to the `index.ts` for consistency with other modules.

Fixes #3010.
2017-02-10 05:34:31 +08:00
mmalerba 8a6d9022e0 feat(style): add directive to determine how elements were focused. (#2646) 2017-02-03 16:11:37 -08:00
Jeremy Elbourn 042072992e chore: make compatibility mode work for apps with multiple modules (#2093) 2017-01-20 09:41:22 -08:00
Jeremy Elbourn b49bfce5a9 feat: remove the need for forRoot on material NgModules (#2556) 2017-01-10 17:22:42 -08:00
tinayuangao 221c234a71 fix(progress-spinner): Rename ProgressCircle to ProgressSpinner (#2300)
* Rename ProgressCircle to ProgressSpinner

* Make old selectors work

* Added progres-circle file
2016-12-20 20:05:13 -08:00
Elad Bezalel 7ab4430905 fix(tabs): observing tab header label changes to recalculate width (#2186)
- Uses observe-changes directive that emit an event when the mutation observer notifies a change

fixes #2155
2016-12-20 15:45:19 -08:00
mmalerba ca2046b967 feat(input): create md-input-container to eventually replace md-input (#2052)
* created md-input-wrapper and removed useless inputs

* added demo

* remove ControlValueAccessor and start migrating input

* finished converting most input attrs

* typescript fixed, css needs work

* removed duplicate directives.

* fix scss

* set up demo area

* Fix disabled state

* fixed some small bugs and converted more of demo

* demo card #1 converted

* finished converting demo

* subscribe to ngModel changes

* updated other demos to use new input

* undo accidental changes to other inputs

* working through tests

* fixed all tests

* fixed lint issues

* fix firefox type=date issue

* try removing ie11 checks, see if we need them

* added md-input back to baseline demo

* started md-input directive

* more refactoring

* fixed demos, tests still broken

* remove useless imports

* fix tests

* fix tests for ff & ie

* move input feature detection into service

* addressed some comments

* s/input-wrapper/input-container

* s/NgModel/NgControl

* remove FeatureDetector

* s/MdPlatformModule/PlatformModule

* Remove some problematic privates and add mat- versions of everything

* fix import
2016-12-09 15:17:10 -08:00
Kara 4c49f5fd6e chore(autocomplete): add autocomplete scaffold (#2092) 2016-12-07 13:24:19 -08:00
Jeremy Elbourn 4d678d4f03 chore: add style compatibility modes and mat- prefix (#1932)
* wip no-conflict

* add to modules

* re-adding export
2016-12-02 13:32:59 -08:00
Paul Gschwendtner 4b7e52d30a fix(interactivity-checker): improve robustness of isTabbable (#1950)
* fix(focus-trap): improve robustness

* Address feedback

* Remove extra blank line.

* Address additional feedback

* Change timeout delay
2016-11-30 11:52:02 -08:00
Topher Fangio edf5cdfaf2 feat(chips): Initial skeleton/demo. (#1855)
Create the initial Chips skeleton with a very basic working demo
of static, styled chips.

References #120.
2016-11-28 17:01:54 -08:00
Hans 522324c396 feat(projection): Host Projection service (#1756) 2016-11-15 20:14:31 -08:00
Jeremy Elbourn ec1e180778 feat(core): directive to add extra classes to components for m1 compat (#1498)
* feat(core): directive to add extra classes to components for m1 compatibility

* fix e2e tests for menu
2016-10-19 14:01:48 -07:00
Jeremy Elbourn d442798ba4 fix(aot): add constant for a11y providers, use in core module (#1369) 2016-09-29 23:48:42 +01:00
Jeremy Elbourn 276d07da03 fix(aot): fix aot error w/ live announcer (#1355) 2016-09-28 15:23:22 +01:00
Joey Perrott a732e88939 feat(md-snack-bar): Create initial MdSnackBar. (#1296) 2016-09-23 15:42:24 -07:00
Hans b5c8c63a27 feat(packaging): move packaging to a single "@angular/material" (#1286) 2016-09-22 13:24:12 -07:00