* 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
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)
* 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
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`.
* fix for checkbox opacity issues in safari
* readio
* Revert "readio"
This reverts commit db62acfa8f654f4c8585bfd7f1fcb0dc5f04bb10.
* updates based on comment
* 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
* 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.