angular-material
Advanced tools
Changelog
AngularJS Material 1.1.4 (2017-04-20)
<a name="1.1.3"></a>
Changelog
Angular Material 1.1.2 (2017-01-30)
ui-sref-opts
on md-nav-item
(#9782) (af041da), closes #9481md-require-match
no longer matches if the search text is empty.md-selected-text
now only accepts text. It used to accept and render html but this was an XSS vulnerability.
It was fixed in: block xss on md-select-label (#10023) (f7ecb4f).We have added a new md-selected-html
API for md-select
. It accepts an expression to be evaluated
that will return a string to be displayed as a placeholder in the select input box when it is
closed. The value will be treated as html. The value must either be explicitly marked as
trustedHtml or the ngSanitize module must be loaded.
Given the following code:
<md-select ng-model="selectedItem" md-selected-text="getSelectedText()">
angular
.module('selectDemoSelectedText', ['ngMaterial'])
.controller('SelectedTextController', function($scope) {
$scope.items = [1, 2, 3, 4, 5, 6, 7];
$scope.selectedItem = undefined;
$scope.getSelectedText = function() {
if ($scope.selectedItem !== undefined) {
return "You have selected: Item <strong>" + $scope.selectedItem + "</strong>";
} else {
return "Please select an item";
}
};
});
Change it to this:
<md-select ng-model="selectedItem" md-selected-html="getSelectedText()">
angular
.module('selectDemoSelectedText', ['ngMaterial', 'ngSanitize'])
.controller('SelectedTextController', function($scope) {
$scope.items = [1, 2, 3, 4, 5, 6, 7];
$scope.selectedItem = undefined;
$scope.getSelectedText = function() {
if ($scope.selectedItem !== undefined) {
return "You have selected: Item <strong>" + $scope.selectedItem + "</strong>";
} else {
return "Please select an item";
}
};
});
<a name="1.1.1"></a>
Changelog
Angular Material 1.1.1 (2016-09-01)
We continue to maintain our momentum with Angular Material. Today we published a patch release for Angular Material; a patch that contains more than 60 improvements and fixes.
--
--
layout="column"
md-card-title-media
to use flexbox CSS--
md-no-asterisk
attribute works. (#9347) (f265a0e), closes #9339Thanks to the great contributors who helped with this v1.1.1 patch release:
<img alt="akaij" src="https://avatars.githubusercontent.com/u/5215129?v=3&s=117" width="117"> |<img alt="bradrich" src="https://avatars.githubusercontent.com/u/3429878?v=3&s=117" width="117"> |<img alt="clshortfuse" src="https://avatars.githubusercontent.com/u/9271155?v=3&s=117" width="117"> |<img alt="crisbeto" src="https://avatars.githubusercontent.com/u/4450522?v=3&s=117" width="117"> |<img alt="DevVersion" src="https://avatars.githubusercontent.com/u/4987015?v=3&s=117" width="117"> |<img alt="EladBezalel" src="https://avatars.githubusercontent.com/u/6004537?v=3&s=117" width="117"> | :---: |:---: |:---: |:---: |:---: |:---: | akaij |bradrich |clshortfuse |crisbeto |DevVersion |EladBezalel |
<img alt="enne30" src="https://avatars.githubusercontent.com/u/9323005?v=3&s=117" width="117"> |<img alt="hansl" src="https://avatars.githubusercontent.com/u/681969?v=3&s=117" width="117"> |<img alt="j3ski" src="https://avatars.githubusercontent.com/u/7190937?v=3&s=117" width="117"> |<img alt="jelbourn" src="https://avatars.githubusercontent.com/u/838736?v=3&s=117" width="117"> |<img alt="leibale" src="https://avatars.githubusercontent.com/u/7086055?v=3&s=117" width="117"> |<img alt="norkunas" src="https://avatars.githubusercontent.com/u/2722872?v=3&s=117" width="117"> | :---: |:---: |:---: |:---: |:---: |:---: | enne30 |hansl |j3ski |jelbourn |leibale |norkunas |
<img alt="ThomasBurleson" src="https://avatars.githubusercontent.com/u/210413?v=3&s=117" width="117"> |<img alt="topherfangio" src="https://avatars.githubusercontent.com/u/54370?v=3&s=117" width="117"> | :---: |:---: | ThomasBurleson |topherfangio |
<a name"1.1.0"></a>
Changelog
1.1.0 (2016-08-14)
BREAKING CHANGE
The <md-select>
's, <md-option>
component now acts more like
the default <option>
attribute of a standard HTML <select>
by
treating empty value
and ng-value
attributes as a special
"reset" case that allows the input to return to the default state
(i.e. the floating label returns to the placeholder position).
If you use the value
or ng-value
attributes with no value
as follows and expect it to be a valid option,
<md-option value="">All options</md-option>
you will need to update your option to have a value like one of the following:
<md-option value="null">All options</md-option>
<md-option value="undefined">All options</md-option>
<md-option ng-value="''">All options</md-option>
Fixes #9718.
mdFontIcon
and mdFontSet
attributes (5c2a06f3, closes #4961)md-no-focus-style
attribute on md-button
is now a
class (.md-no-focus
)Closes #8691. Closes #8734 (d04dfc5d)
build:
docs:
refactor rtl-prop mixin to add less CSS (9a2c47de, closes #9217, #9218)
autocomplete:
backdrop:
bottomsheet: gridlist has spacing issue within a list item. (87aa4cf0, closes #8914)
build:
button: alignment between anchor buttons and normal buttons (af923e2f, closes #2440, #9183)
card:
checkbox:
chips:
colors:
content: Reduce iOS flicker when scrolling. (4e2722cd, closes #7078, #8680)
datepicker:
dialog:
gestures: detect touch action and provide polyfill. (d3cb371d, closes #7311, #7857)
icon:
input:
layout: improve responsive switches from layout column to row (93e2488a, closes #6528, #7327)
list:
mdAria: apply aria-label to buttons correctly (563b232d, closes #8789, #8793)
navbar: clear the selected nav-item if it is null (83b7e663, closes #8703)
menu:
menu-item: properly compile when used with ng-repeat (bfad5e4d, closes #8697, #8852, #8850)
menuBar: menuBar should query for uncompiled md-button directives. (3654d724, closes #6802, #8242, #8709)
panel:
progress-circular: wrapper not expanding layout (ff100188, closes #9031, #9033)
progress-linear: stop the CSS animations when the element is disabled (f3369ebb, closes #8764, #8776)
radio: ng-disabled on radio-group should notify child radio buttons. (9d6e3386, closes #8939, #8942)
release: version parser is fixed for rc.#
syntax (8568ceea)
ripple: fix ripple artifacts in Chrome v51 (15da974d, closes #8824)
select:
showHide: don't call getComputedStyle on comment node (f969ae52, closes #9243, #9244)
site: Fix navigation toggle to properly open on page refresh. (ec2726e0, closes #8841, #8842)
slider-rtl: added rtl support for slider (302f9dc3, closes #7434)
subheader:
switch: fix switch drag functionality. (911ec721, closes #4719, #2338, #6715)
tabs: properly detect text changes (121a39d5, closes #8667, #8803)
textarea:
theming: potentially generating invalid CSS (aea54376, closes #8953)
toast: apply theming correctly to custom toasts (995dc496, closes #8777, #8799)
toolbar:
tooltip:
virtual-repeat:
Thanks to the great contributors who helped with this release (after the rc.5 release):
<img alt="Aaron-Hartwig" src="https://avatars.githubusercontent.com/u/5115774?v=3&s=117" width="117"> |<img alt="AdriVanHoudt" src="https://avatars.githubusercontent.com/u/2361826?v=3&s=117" width="117"> |<img alt="areologist" src="https://avatars.githubusercontent.com/u/4918688?v=3&s=117" width="117"> |<img alt="barryvdh" src="https://avatars.githubusercontent.com/u/973269?v=3&s=117" width="117"> |<img alt="bradrich" src="https://avatars.githubusercontent.com/u/3429878?v=3&s=117" width="117"> |<img alt="chrisguerrero" src="https://avatars.githubusercontent.com/u/3720304?v=3&s=117" width="117"> | :---: |:---: |:---: |:---: |:---: |:---: | Aaron-Hartwig |AdriVanHoudt |areologist |barryvdh |bradrich |chrisguerrero |
<img alt="clshortfuse" src="https://avatars.githubusercontent.com/u/9271155?v=3&s=117" width="117"> |<img alt="crisbeto" src="https://avatars.githubusercontent.com/u/4450522?v=3&s=117" width="117"> |<img alt="cyx8808" src="https://avatars.githubusercontent.com/u/9927197?v=3&s=117" width="117"> |<img alt="danjarvis" src="https://avatars.githubusercontent.com/u/116640?v=3&s=117" width="117"> |<img alt="david-gang" src="https://avatars.githubusercontent.com/u/1292882?v=3&s=117" width="117"> |<img alt="davidenke" src="https://avatars.githubusercontent.com/u/275960?v=3&s=117" width="117"> | :---: |:---: |:---: |:---: |:---: |:---: | clshortfuse |crisbeto |cyx8808 |danjarvis |david-gang |davidenke |
<img alt="DavidFrahm" src="https://avatars.githubusercontent.com/u/889791?v=3&s=117" width="117"> |<img alt="DevVersion" src="https://avatars.githubusercontent.com/u/4987015?v=3&s=117" width="117"> |<img alt="dirkharbinson" src="https://avatars.githubusercontent.com/u/6855986?v=3&s=117" width="117"> |<img alt="EladBezalel" src="https://avatars.githubusercontent.com/u/6004537?v=3&s=117" width="117"> |<img alt="epelc" src="https://avatars.githubusercontent.com/u/5204642?v=3&s=117" width="117"> |<img alt="fhernandezn" src="https://avatars.githubusercontent.com/u/12898908?v=3&s=117" width="117"> | :---: |:---: |:---: |:---: |:---: |:---: | DavidFrahm |DevVersion |dirkharbinson |EladBezalel |epelc |fhernandezn |
<img alt="IPRIT" src="https://avatars.githubusercontent.com/u/1553519?v=3&s=117" width="117"> |<img alt="isaaclyman" src="https://avatars.githubusercontent.com/u/9139369?v=3&s=117" width="117"> |<img alt="ivoviz" src="https://avatars.githubusercontent.com/u/1143746?v=3&s=117" width="117"> |<img alt="jelbourn" src="https://avatars.githubusercontent.com/u/838736?v=3&s=117" width="117"> |<img alt="jsr6720" src="https://avatars.githubusercontent.com/u/502432?v=3&s=117" width="117"> |<img alt="keenondrums" src="https://avatars.githubusercontent.com/u/12794628?v=3&s=117" width="117"> | :---: |:---: |:---: |:---: |:---: |:---: | IPRIT |isaaclyman |ivoviz |jelbourn |jsr6720 |keenondrums |
<img alt="marcysutton" src="https://avatars.githubusercontent.com/u/1045233?v=3&s=117" width="117"> |<img alt="martineckardt" src="https://avatars.githubusercontent.com/u/10773395?v=3&s=117" width="117"> |<img alt="MattCatz" src="https://avatars.githubusercontent.com/u/14895427?v=3&s=117" width="117"> |<img alt="mkowalchuk" src="https://avatars.githubusercontent.com/u/1266924?v=3&s=117" width="117"> |<img alt="Nickproger" src="https://avatars.githubusercontent.com/u/1409078?v=3&s=117" width="117"> |<img alt="ofirmgr" src="https://avatars.githubusercontent.com/u/9841636?v=3&s=117" width="117"> | :---: |:---: |:---: |:---: |:---: |:---: | marcysutton |martineckardt |MattCatz |mkowalchuk |Nickproger |ofirmgr |
<img alt="oliversalzburg" src="https://avatars.githubusercontent.com/u/1658949?v=3&s=117" width="117"> |<img alt="robertmesserle" src="https://avatars.githubusercontent.com/u/571363?v=3&s=117" width="117"> |<img alt="soul-wish" src="https://avatars.githubusercontent.com/u/1968098?v=3&s=117" width="117"> |<img alt="SpikesCafe-google" src="https://avatars.githubusercontent.com/u/16656302?v=3&s=117" width="117"> |<img alt="ThomasBurleson" src="https://avatars.githubusercontent.com/u/210413?v=3&s=117" width="117"> |<img alt="timlevett" src="https://avatars.githubusercontent.com/u/3534544?v=3&s=117" width="117"> | :---: |:---: |:---: |:---: |:---: |:---: | oliversalzburg |robertmesserle |soul-wish |SpikesCafe-google |ThomasBurleson |timlevett |
<img alt="topherfangio" src="https://avatars.githubusercontent.com/u/54370?v=3&s=117" width="117"> |<img alt="x87" src="https://avatars.githubusercontent.com/u/5698288?v=3&s=117" width="117"> | :---: |:---: | topherfangio |x87 |
<a name"1.1.0-rc.5"></a>
Changelog
1.1.0-rc.5 (2016-06-03)
With this release we have merged many of the pending Pull requests and added some notable changes:
md-nav-bar
and md-panel
componentsmd-tabs
componentThanks to the great contributors who helped with this release:
<img alt="247GradLabs" src="https://avatars.githubusercontent.com/u/19302650?v=3&s=117" width="117"> |<img alt="AaronBuxbaum" src="https://avatars.githubusercontent.com/u/5578581?v=3&s=117" width="117"> |<img alt="andresgottlieb" src="https://avatars.githubusercontent.com/u/1126905?v=3&s=117" width="117"> |<img alt="aortyl" src="https://avatars.githubusercontent.com/u/10928389?v=3&s=117" width="117"> |<img alt="areologist" src="https://avatars.githubusercontent.com/u/4918688?v=3&s=117" width="117"> |<img alt="BevanR" src="https://avatars.githubusercontent.com/u/325176?v=3&s=117" width="117"> | :---: |:---: |:---: |:---: |:---: |:---: | 247GradLabs |AaronBuxbaum |andresgottlieb |aortyl |areologist |BevanR |
<img alt="bvahdat" src="https://avatars.githubusercontent.com/u/3122177?v=3&s=117" width="117"> |<img alt="chrisconover" src="https://avatars.githubusercontent.com/u/694311?v=3&s=117" width="117"> |<img alt="code-tree" src="https://avatars.githubusercontent.com/u/11289719?v=3&s=117" width="117"> |<img alt="crisbeto" src="https://avatars.githubusercontent.com/u/4450522?v=3&s=117" width="117"> |<img alt="daniel-nagy" src="https://avatars.githubusercontent.com/u/1622446?v=3&s=117" width="117"> |<img alt="david-gang" src="https://avatars.githubusercontent.com/u/1292882?v=3&s=117" width="117"> | :---: |:---: |:---: |:---: |:---: |:---: | bvahdat |chrisconover |code-tree |crisbeto |daniel-nagy |david-gang |
<img alt="davidenke" src="https://avatars.githubusercontent.com/u/275960?v=3&s=117" width="117"> |<img alt="DerekLouie" src="https://avatars.githubusercontent.com/u/709204?v=3&s=117" width="117"> |<img alt="DevVersion" src="https://avatars.githubusercontent.com/u/4987015?v=3&s=117" width="117"> |<img alt="EladBezalel" src="https://avatars.githubusercontent.com/u/6004537?v=3&s=117" width="117"> |<img alt="Emeegeemee" src="https://avatars.githubusercontent.com/u/4241156?v=3&s=117" width="117"> |<img alt="epelc" src="https://avatars.githubusercontent.com/u/5204642?v=3&s=117" width="117"> | :---: |:---: |:---: |:---: |:---: |:---: | davidenke |DerekLouie |DevVersion |EladBezalel |Emeegeemee |epelc |
<img alt="ErinCoughlan" src="https://avatars.githubusercontent.com/u/2660421?v=3&s=117" width="117"> |<img alt="gkalpak" src="https://avatars.githubusercontent.com/u/8604205?v=3&s=117" width="117"> |<img alt="gmoothart" src="https://avatars.githubusercontent.com/u/3227?v=3&s=117" width="117"> |<img alt="ivoviz" src="https://avatars.githubusercontent.com/u/1143746?v=3&s=117" width="117"> |<img alt="jelbourn" src="https://avatars.githubusercontent.com/u/838736?v=3&s=117" width="117"> |<img alt="julienmartin" src="https://avatars.githubusercontent.com/u/1759785?v=3&s=117" width="117"> | :---: |:---: |:---: |:---: |:---: |:---: | ErinCoughlan |gkalpak |gmoothart |ivoviz |jelbourn |julienmartin |
<img alt="KarenParker" src="https://avatars.githubusercontent.com/u/16341592?v=3&s=117" width="117"> |<img alt="mgilson" src="https://avatars.githubusercontent.com/u/5216702?v=3&s=117" width="117"> |<img alt="neko1235" src="https://avatars.githubusercontent.com/u/13606126?v=3&s=117" width="117"> |<img alt="Nickproger" src="https://avatars.githubusercontent.com/u/1409078?v=3&s=117" width="117"> |<img alt="petebacondarwin" src="https://avatars.githubusercontent.com/u/15655?v=3&s=117" width="117"> |<img alt="programmist" src="https://avatars.githubusercontent.com/u/527082?v=3&s=117" width="117"> | :---: |:---: |:---: |:---: |:---: |:---: | KarenParker |mgilson |neko1235 |Nickproger |petebacondarwin |programmist |
<img alt="robertmesserle" src="https://avatars.githubusercontent.com/u/571363?v=3&s=117" width="117"> |<img alt="solojavier" src="https://avatars.githubusercontent.com/u/1088010?v=3&s=117" width="117"> |<img alt="soooooot" src="https://avatars.githubusercontent.com/u/1481589?v=3&s=117" width="117"> |<img alt="Splaktar" src="https://avatars.githubusercontent.com/u/3506071?v=3&s=117" width="117"> |<img alt="StefanFeederle" src="https://avatars.githubusercontent.com/u/11903965?v=3&s=117" width="117"> |<img alt="ThomasBurleson" src="https://avatars.githubusercontent.com/u/210413?v=3&s=117" width="117"> | :---: |:---: |:---: |:---: |:---: |:---: | robertmesserle |solojavier |soooooot |Splaktar |StefanFeederle |ThomasBurleson |
<img alt="tirana" src="https://avatars.githubusercontent.com/u/5245919?v=3&s=117" width="117"> |<img alt="topherfangio" src="https://avatars.githubusercontent.com/u/54370?v=3&s=117" width="117"> |<img alt="voyti" src="https://avatars.githubusercontent.com/u/6819634?v=3&s=117" width="117"> | :---: |:---: |:---: | tirana |topherfangio |voyti |
start
and end
positions. (7f776a14, closes #7263, #7318)<a name"1.1.0-rc4"></a>
Changelog
1.0.8 (2016-04-28, Patch release)
md-no-select-click
attribute (9624dac1, closes #5351)hidden
will be skipped by the input-container
Fixes #2153
Closes #6425
(e7c51e3e)
newVersion
value to node string to update package.json (0e13786b, closes #7810)<a name"1.0.7"></a>