Skip to content
This repository was archived by the owner on Jan 22, 2018. It is now read-only.

Commit b334be4

Browse files
author
Kamil Kisiela
committed
release v0.14.2
1 parent 9e4e5e9 commit b334be4

File tree

6 files changed

+23
-12
lines changed

6 files changed

+23
-12
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [0.14.1](https://github.com/formly-js/angular-formly-templates-material/compare/v0.14.1...v0.14.2) - 2016-05-30
6+
7+
### Added
8+
9+
- Support for higher versions of angular (#34)
10+
11+
### Fixed
12+
13+
- (label) missing left padding (#29)
14+
- assumption of existence of `templateOptions` (#32)
15+
516
## [0.14.1](https://github.com/formly-js/angular-formly-templates-material/compare/v0.14.0...v0.14.1) - 2016-01-27
617

718
### Added

dist/formly-material.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! angular-formly-material v0.14.1 | MIT | built with ♥ by Kamil Kisiela <[email protected]> */
1+
/*! angular-formly-material v0.14.2 | MIT | built with ♥ by Kamil Kisiela <[email protected]> */
22
(function webpackUniversalModuleDefinition(root, factory) {
33
if(typeof exports === 'object' && typeof module === 'object')
44
module.exports = factory(require("angular"));
@@ -228,7 +228,7 @@ return /******/ (function(modules) { // webpackBootstrap
228228
field.ngModelAttrs = {};
229229
}
230230

231-
if (typeof field.templateOptions[name] !== 'undefined') {
231+
if (field.templateOptions && typeof field.templateOptions[name] !== 'undefined') {
232232
field.ngModelAttrs[name] = settings;
233233
}
234234
}
@@ -330,7 +330,7 @@ return /******/ (function(modules) { // webpackBootstrap
330330
/* 9 */
331331
/***/ function(module, exports) {
332332

333-
module.exports = "<label for=\"{{id}}\" ng-style=\"['input', 'textarea', 'select'].indexOf(options.type) === -1 && {'font-size':'12px', 'color': 'rgb(117, 117, 117)'}\">\r\n {{to.label}}\r\n</label>\r\n<formly-transclude></formly-transclude>\r\n";
333+
module.exports = "<label for=\"{{id}}\" ng-style=\"['input', 'textarea', 'select'].indexOf(options.type) === -1 && {'font-size':'12px', 'color': 'rgb(117, 117, 117)', 'padding-left': '3px'}\">\n {{to.label}}\n</label>\n<formly-transclude></formly-transclude>\n";
334334

335335
/***/ },
336336
/* 10 */
@@ -359,7 +359,7 @@ return /******/ (function(modules) { // webpackBootstrap
359359
/* 11 */
360360
/***/ function(module, exports) {
361361

362-
module.exports = "<formly-transclude></formly-transclude>\r\n<div ng-messages=\"fc.$error\" ng-show=\"showError\">\r\n <div ng-repeat=\"(name, message) in ::options.validation.messages\"\r\n ng-message-exp=\"name\">\r\n {{message(fc.$viewValue, fc.$modelValue, this)}}\r\n </div>\r\n</div>\r\n";
362+
module.exports = "<formly-transclude></formly-transclude>\n<div ng-messages=\"fc.$error\" ng-show=\"showError\">\n <div ng-repeat=\"(name, message) in ::options.validation.messages\"\n ng-message-exp=\"name\">\n {{message(fc.$viewValue, fc.$modelValue, this)}}\n </div>\n</div>\n";
363363

364364
/***/ },
365365
/* 12 */
@@ -395,7 +395,7 @@ return /******/ (function(modules) { // webpackBootstrap
395395
/* 13 */
396396
/***/ function(module, exports) {
397397

398-
module.exports = "<md-divider ng-if=\"to.divider === 'before'\"></md-divider>\r\n<formly-transclude></formly-transclude>\r\n<md-divider ng-if=\"to.divider !== 'before'\"></md-divider>\r\n";
398+
module.exports = "<md-divider ng-if=\"to.divider === 'before'\"></md-divider>\n<formly-transclude></formly-transclude>\n<md-divider ng-if=\"to.divider !== 'before'\"></md-divider>\n";
399399

400400
/***/ },
401401
/* 14 */
@@ -681,7 +681,7 @@ return /******/ (function(modules) { // webpackBootstrap
681681
// add only step attribute because min and max are both built-in
682682
formlyConfigProvider.extras.fieldTransform.push(function (fields) {
683683
return (0, _helpers.ngModelAttrsTransformer)(fields, function (field) {
684-
return field.type === 'input' && field.templateOptions.type === 'number';
684+
return field.type === 'input' && field.templateOptions && field.templateOptions.type === 'number';
685685
}, 'step', {
686686
attribute: 'step'
687687
});
@@ -968,7 +968,7 @@ return /******/ (function(modules) { // webpackBootstrap
968968

969969
formlyConfigProvider.extras.fieldTransform.push(function (fields) {
970970
return (0, _helpers.ngModelAttrsTransformer)(fields, function (field) {
971-
return field.type === 'textarea' && field.templateOptions.grow === false;
971+
return field.type === 'textarea' && field.templateOptions && field.templateOptions.grow === false;
972972
}, 'grow', {
973973
attribute: 'md-no-autogrow'
974974
});

dist/formly-material.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/formly-material.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Package.describe({
44
name: 'formly:angular-formly-templates-material',
55
summary: '(official): Material design templates for angular-formly',
6-
version: '0.14.1',
6+
version: '0.14.2',
77
documentation: 'README.md',
88
git: 'https://github.com/formly-js/angular-formly-templates-material.git'
99
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-formly-material",
3-
"version": "0.14.1",
3+
"version": "0.14.2",
44
"description": "Material design templates for angular-formly",
55
"main": "dist/formly-material.js",
66
"scripts": {

0 commit comments

Comments
 (0)