Skip to content

Commit

Permalink
chore(mdl selectfield): release 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mebibou committed Nov 2, 2016
1 parent 89763ef commit a263b92
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .jscsrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"validateQuoteMarks": "'",
"requireDotNotation": false,
"requireCamelCaseOrUpperCaseIdentifiers": null,
"closureCamelCase": true,
"jsDoc": {
"checkAnnotations": {
"preset": "closurecompiler",
Expand All @@ -20,4 +21,4 @@
"checkTypes": "strictNativeCase",
"enforceExistence": "exceptExports"
}
}
}
2 changes: 1 addition & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
"globals": {
"componentHandler": true
}
}
}
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<a name="1.0.3"></a>
# 1.0.3 (2016-11-02)

### Bug Fixes

* fix issue with "is-invalid" being removed if already present when loading component, closes [#25](https://github.com/mebibou/mdl-selectfield/issues/25)

<a name="1.0.2"></a>
# 1.0.2 (2016-06-08)

Expand Down Expand Up @@ -40,4 +47,4 @@
<a name="0.0.1"></a>
# 0.0.1 (2015-09-19)

Initial Release of plugin created from material design lite
Initial Release of plugin created from material design lite
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mdl-selectfield",
"version": "1.0.2",
"version": "1.0.3",
"homepage": "https://github.com/mebibou/mdl-selectfield",
"authors": [
"Guillaume Royer <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion dist/mdl-selectfield.css
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,12 @@
background: transparent;
font-size: 16px;
text-align: left;
color: inherit;
border: none;
border-bottom: 1px solid rgba(0,0,0, 0.12);
border-radius: 0;
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
appearance: none; }
.mdl-selectfield.is-focused .mdl-selectfield__select {
outline: none; }
Expand Down
5 changes: 5 additions & 0 deletions dist/mdl-selectfield.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,13 @@
this.select_.addEventListener('blur', this.boundBlurHandler);
this.select_.addEventListener('reset', this.boundResetHandler);

var invalid = this.element_.classList
.contains(this.CssClasses_.IS_INVALID);
this.updateClasses_();
this.element_.classList.add(this.CssClasses_.IS_UPGRADED);
if (invalid) {
this.element_.classList.add(this.CssClasses_.IS_INVALID);
}
}
}
};
Expand Down
2 changes: 1 addition & 1 deletion dist/mdl-selectfield.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/mdl-selectfield.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/mdl-selectfield.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/mdl-selectfield.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mdl-selectfield",
"version": "1.0.2",
"version": "1.0.3",
"description": "mdl-selectfield for material-design-lite",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/selectfield/selectfield.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ $selectfield-error-color: unquote("rgb(222, 50, 38)") !default;
background: $selectfield-background-color;
font-size: $selectfield-font-size;
text-align: left;
color: inherit;
border: none;
border-bottom: 1px solid $selectfield-bottom-border-color;
border-radius: 0;
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
appearance: none;

.mdl-selectfield.is-focused & {
Expand Down

0 comments on commit a263b92

Please sign in to comment.