Commit Graph

311 Commits

Author SHA1 Message Date
Brian Nenninger c400fa2fa9 Make sure div is always removed after tests. (#705) 2016-06-17 11:28:50 -07:00
Robert Messerle 497a3c147f feat(tabs): adds focus/select events (#649)
closes #569
2016-06-15 11:47:23 -07:00
Paul Gschwendtner afed81884f fix(checkbox): prevent double click events (#672)
* fix(slide-toggle and checkbox): visual hidden input should not bubble click

* Currently the (click) event gets called twice.
  This is caused by the bubbling of the (click) event on the input.

Fixes #671.

* update(): move input click into component source

* Moved input click event into component source file.
* Added comment for the issue cause.

* fix(checkbox): do not trigger the click event twice
2016-06-15 08:37:57 -07:00
Paul Gschwendtner 5c4dc049f4 fix(toolbar): disable view encapsulation. (#678)
* Disables the view encapsulation for the toolbar component.
  To be consistent with other components and simplify custom styling.

Fixes #676.
2016-06-13 11:46:04 -07:00
Hans f7bf1483a9 chore: add root to the sourcemap so it won't use absolute pathing (#636) 2016-06-10 10:22:41 -07:00
Jeremy Elbourn fbdb35b4e9 fix: resolve errors w/ Closure Compiler. (#659) 2016-06-10 10:21:01 -07:00
Kara ce27341c2e fix(theme): fix card and list colors for dark themes (#667)
Closes #350
2016-06-10 10:14:43 -07:00
Randy Aldrich e808452ed6 fix(release): make resource-inlining regex non-greedy (#653)
Change the template regex to support minified js files. This partially addresses inlining resources for an angular-cli prod build.
(cherry picked from commit ba47c8d)
2016-06-08 09:49:37 -07:00
Robert Messerle 4bee1783b2 adds stylelint config settings (#590) 2016-06-07 17:54:49 -07:00
Jeremy Elbourn 89ab2f59cb fix(overlay): add a z-index. (#615) 2016-06-07 17:42:00 -07:00
Joey Perrott a5944da0b6 fix(spinner): omit min/max/value for indeterminate and correctly set mode (#640)
Set initial value of mdProgressCircle as undefined, set value as undefined when mode is set to indeterminate.
2016-06-07 17:10:26 -07:00
Hans 31f0c7ff0e fix(radio): fix the baseline of radio buttons (#642) 2016-06-07 17:08:28 -07:00
Robert Messerle 3c3bf0d7e3 refactor(tabs): simplifies tab existence check (#648) 2016-06-07 11:18:42 -07:00
Robert Messerle 231467d22f fix(tabs): adds support for async tabs (#639)
closes #574
2016-06-06 17:10:41 -07:00
Hans a6e74ce91f fix(button): add the focus() method to buttons. (#643)
Fixes #510.
2016-06-06 16:31:53 -07:00
Hans a68597ef1c fix: remove duplicated typing. TS stdlib provides enough for e2e tests (#637) 2016-06-06 16:31:10 -07:00
Robert Messerle 750a8e358b fix(tabs): removes minimum height (#641)
closes #570
2016-06-06 13:51:03 -07:00
Paul Gschwendtner bbd96e86e7 fix(slide-toggle): apply typography styles to slide-toggle (#634)
* The slide-toggle didn't apply any typography styles to the content element
   Now it applies the configurable typography variables.

Fixes #633.
2016-06-06 09:39:46 -07:00
Jeremy Elbourn 7419a12d29 chore: block import of entire rxjs library (#625) 2016-06-03 15:27:17 -07:00
vikerman f7f0b4adc8 fix(sidenav): resolve compilation errors for latest Typescript 1.9 (#627) 2016-06-03 13:55:01 -07:00
Ivey Padgett 013eabd672 feat(button-toggle): add initial button-toggle (#517)
* md-toggle initial prototype

* Use directives, no sass nesting, and private event emitter

* Move toggle and radio dispatcher into shared unique selection dispatcher

* Rename toggles to button-toggles

* Update toggle to look more like radio after updates

* Update child name from parent name

* TSLint fixes

* Misc style fixes for PR.

* Update comment
* Remove unused `_buttonToggles`
* Use string literals for button toggle type
* Move instantiation into the constructor
* Add `isSingleSelection` getter

* Move click event binding to component

* Add missing tests to button toggles

* Exclusive toggle should deselect all when group value is cleared
* Button toggles should be checked when the checkbox is interacted with

* Remove onClick()

* Remove click event

* Remove unnecessary getters and setters.

* Add icons to demo app

* Add missing semicolon

* Change eventemitter to private in button toggle class

* Get native elements in tests from debug elements

* Move internal to end of comment and use BooleanFieldValue

* Fix typo in test description.

* vertical align middle all children in button toggle
2016-06-03 13:19:03 -07:00
vikerman e366fa0fbc fix(core): resolve compilation errors for latest Typescript 1.9 (#624) 2016-06-03 11:57:08 -07:00
Kristiyan Kostadinov 63f43bd1f0 perf(progress-circle): clean up animation on destroy (#617)
The indeterminate animation is based on an interval that keeps running, even after the element has been destroyed.
This change cleans up when the element is destroyed.

Also adds an extra null check for `performance.now`.
2016-06-03 09:07:03 -07:00
Jeremy Elbourn fda56173f8 fix: remove circular deps and ci check (#608) 2016-06-02 15:51:17 -07:00
Martin Mädler 8ccc49bc82 fix(radio): support aria-label(ledby) on md-radio (#586) (#596) 2016-06-02 15:15:32 -07:00
Jeremy Elbourn b24d321213 fix(button): focus state matches spec (#467)
* fix(button): focus state matches spec

* change all buttons to use the same focus styling technique
2016-06-02 09:32:03 -07:00
Sendil Kumar N 0a9fb83b1c fix(checkbox): checkbox animation works in Safari (#594)
* fix for checkbox opacity issues in safari

* readio

* Revert "readio"

This reverts commit db62acfa8f654f4c8585bfd7f1fcb0dc5f04bb10.

* updates based on comment
2016-06-02 09:28:28 -07:00
Hans 2d9f4c4d43 chore(doc): update the instructions for setting up dev env. (#603)
ref. #550
2016-06-01 14:06:45 -07:00
Jeremy Elbourn 5bcf4bed13 chore: bump version to alpha.5-2 w/ md-line fix (#607) 2016-06-01 13:56:23 -07:00
Kara Erickson 43806f6aa6 feat(grid-list): add header and footer support 2016-06-01 10:02:35 -07:00
Paul Gschwendtner 55cc197cd4 fix: add event object for slide-toggle and checkbox. (#554)
* update(): add event object for slide-toggle and checkbox.

Closes #552.

* Fix Linters... again :P

* update(): Address comments from @jelborun
2016-05-31 13:12:29 -07:00
Jesse Palmer e1ff20220f docs: fix typo in dev environment guide (#580) 2016-05-31 10:23:18 -07:00
Paul Gschwendtner 421828a87c fix(demo-app): resolve mapping paths in relative. (#566)
* Currently, the demo app is mapping its core and components absolutely (`/`), which is working perfectly for the served application
* This commit changes the absolute mapping paths to relative paths.
  This allows developers, to serve the demo-app also in sub-directories.

Also this is required for some bundlers, for example SystemJS Builder is not able to build a bundle of the demo app, with absolute paths, because the
baseURL may be different.

References #553
2016-05-30 14:25:30 -07:00
Kara Erickson bab7f01cc6 test(grid-list): add unit tests for grid-list 2016-05-28 07:39:56 -07:00
Paul Gschwendtner d037ed3ea8 fix: visually hidden inputs should not bubble change event (#551)
* fix(): visual hidden inputs should not bubble change event

* Currently the change event of the visual hidden inputs will bubble up and emit its event object to the component's `change` output.

This is currently an issue of Angular 2
- See https://github.com/angular/angular/issues/4059

To prevent the events from bubbling up, we have to stop propagation on
change.

Fixes #544.
2016-05-27 11:40:18 -07:00
Sendil Kumar N 6b86df0d91 fix(progress-bar): determinate state reflects value (#542)
Fixes #519
2016-05-27 11:32:01 -07:00
Kara b47097d8d2 fix(grid-list): account for gutter in total list height (#545) 2016-05-27 10:26:22 -07:00
Jeremy Elbourn efd1be2ea4 fix: remove @internal where it would make tsc fail (#538) 2016-05-27 10:04:23 -07:00
Jeremy Elbourn fd02b10b12 fix: include scss sources in packages (#536) 2016-05-27 09:59:08 -07:00
Jeremy Elbourn 1f46a4b3ee chore: remove extra . from stylelint npm script 2016-05-26 12:17:24 -07:00
Sendil Kumar N 8f9bc7795b chore: add stylelint checks to CI (#532) 2016-05-26 10:58:46 -07:00
Sendil Kumar N 632e90cb73 protractor-accessibility-plugin for audit on CI (#521) 2016-05-26 09:43:14 -07:00
Jeremy Elbourn 3b527e8721 feat(overlay): add connected overlay directive (#496) 2016-05-25 18:37:05 -07:00
Robert Messerle c923f56c6e fix(radio): model should update before change event is fired (#456)
closes #448
2016-05-25 18:06:41 -07:00
Jeremy Elbourn 5367a69b01 chore: bump version alpha.5 and update changelog (#529) 2016-05-25 17:48:24 -07:00
Jeremy Elbourn dc104b0e8e chore: rename "tab-group" to "tabs" (#528) 2016-05-25 16:47:38 -07:00
Robert Messerle 9a33da671c docs(tabs): adds README file (#527) 2016-05-25 16:45:39 -07:00
Kara Erickson 31bf7eff67 fix(grid-list): make dir optional 2016-05-25 15:43:31 -07:00
Robert Messerle 7a9df1eddc fix(checkbox): change event should now fire on first change
closes #481
2016-05-25 14:51:55 -07:00
Robert Messerle 357ee4cdf7 fix(sidenav): switches to translate3d() for content positioning (#484)
* fix(sidenav): overflow should be set to auto rather than scroll

* fix(sidenav): switches to `translate3d()` for content positioning
2016-05-25 10:42:02 -07:00