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

Commit 297a835

Browse files
author
Kamil Kisiela
committed
release v0.12.0
1 parent 420fd3a commit 297a835

File tree

7 files changed

+10
-19
lines changed

7 files changed

+10
-19
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Change Log
33

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

6-
[Unreleased](https://github.com/formly-js/angular-formly-templates-material/compare/v0.11.0...HEAD)
7-
---------------------------------------------------------------------------------------------------
6+
[0.12.0](https://github.com/formly-js/angular-formly-templates-material/compare/v0.11.0...v0.12.0) - 2015-12-30
7+
---------------------------------------------------------------------------------------------------------------
88

99
### Added
1010

dist/formly-material.js

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* angular-formly-material JavaScript Library v0.11.0
2+
* angular-formly-material JavaScript Library v0.12.0
33
*
44
* @license MIT (http://license.angular-formly.com)
55
*
@@ -647,10 +647,6 @@ return /******/ (function(modules) { // webpackBootstrap
647647
var _helpers = __webpack_require__(4);
648648

649649
exports['default'] = function (formlyConfigProvider) {
650-
function onlyNumberType(check) {
651-
return check.shape.onlyIf(['type'], check.oneOf(['number'])).optional;
652-
}
653-
654650
formlyConfigProvider.setType({
655651
template: _inputHtml2['default'],
656652
name: 'input',
@@ -668,9 +664,8 @@ return /******/ (function(modules) { // webpackBootstrap
668664
apiCheck: function apiCheck(check) {
669665
return {
670666
templateOptions: {
671-
step: onlyNumberType(check),
672-
min: onlyNumberType(check),
673-
max: onlyNumberType(check)
667+
type: check.string,
668+
step: check.number.optional
674669
}
675670
};
676671
}

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.

docs/types/input.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,4 @@ only if templateOptions.type is 'number'
3535

3636
#### templateOptions.min *: number*
3737

38-
only if templateOptions.type is 'number'
39-
4038
#### templateOptions.max *: number*
41-
42-
only if templateOptions.type is 'number'

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.11.0',
6+
version: '0.12.0',
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.11.0",
3+
"version": "0.12.0",
44
"description": "Material design templates for angular-formly",
55
"main": "dist/formly-material.js",
66
"scripts": {

0 commit comments

Comments
 (0)