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

Commit

Permalink
release v0.14.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Kisiela committed May 30, 2016
1 parent 9e4e5e9 commit b334be4
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 12 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,17 @@

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

## [0.14.1](https://github.com/formly-js/angular-formly-templates-material/compare/v0.14.1...v0.14.2) - 2016-05-30

### Added

- Support for higher versions of angular (#34)

### Fixed

- (label) missing left padding (#29)
- assumption of existence of `templateOptions` (#32)

## [0.14.1](https://github.com/formly-js/angular-formly-templates-material/compare/v0.14.0...v0.14.1) - 2016-01-27

### Added
Expand Down
14 changes: 7 additions & 7 deletions dist/formly-material.js
@@ -1,4 +1,4 @@
/*! angular-formly-material v0.14.1 | MIT | built with ♥ by Kamil Kisiela <mys.sterowiec@gmail.com> */
/*! angular-formly-material v0.14.2 | MIT | built with ♥ by Kamil Kisiela <mys.sterowiec@gmail.com> */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("angular"));
Expand Down Expand Up @@ -228,7 +228,7 @@ return /******/ (function(modules) { // webpackBootstrap
field.ngModelAttrs = {};
}

if (typeof field.templateOptions[name] !== 'undefined') {
if (field.templateOptions && typeof field.templateOptions[name] !== 'undefined') {
field.ngModelAttrs[name] = settings;
}
}
Expand Down Expand Up @@ -330,7 +330,7 @@ return /******/ (function(modules) { // webpackBootstrap
/* 9 */
/***/ function(module, exports) {

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";
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";

/***/ },
/* 10 */
Expand Down Expand Up @@ -359,7 +359,7 @@ return /******/ (function(modules) { // webpackBootstrap
/* 11 */
/***/ function(module, exports) {

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";
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";

/***/ },
/* 12 */
Expand Down Expand Up @@ -395,7 +395,7 @@ return /******/ (function(modules) { // webpackBootstrap
/* 13 */
/***/ function(module, exports) {

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";
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";

/***/ },
/* 14 */
Expand Down Expand Up @@ -681,7 +681,7 @@ return /******/ (function(modules) { // webpackBootstrap
// add only step attribute because min and max are both built-in
formlyConfigProvider.extras.fieldTransform.push(function (fields) {
return (0, _helpers.ngModelAttrsTransformer)(fields, function (field) {
return field.type === 'input' && field.templateOptions.type === 'number';
return field.type === 'input' && field.templateOptions && field.templateOptions.type === 'number';
}, 'step', {
attribute: 'step'
});
Expand Down Expand Up @@ -968,7 +968,7 @@ return /******/ (function(modules) { // webpackBootstrap

formlyConfigProvider.extras.fieldTransform.push(function (fields) {
return (0, _helpers.ngModelAttrsTransformer)(fields, function (field) {
return field.type === 'textarea' && field.templateOptions.grow === false;
return field.type === 'textarea' && field.templateOptions && field.templateOptions.grow === false;
}, 'grow', {
attribute: 'md-no-autogrow'
});
Expand Down
4 changes: 2 additions & 2 deletions dist/formly-material.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/formly-material.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.js
Expand Up @@ -3,7 +3,7 @@
Package.describe({
name: 'formly:angular-formly-templates-material',
summary: '(official): Material design templates for angular-formly',
version: '0.14.1',
version: '0.14.2',
documentation: 'README.md',
git: 'https://github.com/formly-js/angular-formly-templates-material.git'
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "angular-formly-material",
"version": "0.14.1",
"version": "0.14.2",
"description": "Material design templates for angular-formly",
"main": "dist/formly-material.js",
"scripts": {
Expand Down

0 comments on commit b334be4

Please sign in to comment.