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

Commit

Permalink
release v0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Kisiela committed Dec 29, 2015
1 parent 420fd3a commit 297a835
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 19 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Change Log

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

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

### Added

Expand Down
11 changes: 3 additions & 8 deletions dist/formly-material.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* angular-formly-material JavaScript Library v0.11.0
* angular-formly-material JavaScript Library v0.12.0
*
* @license MIT (http://license.angular-formly.com)
*
Expand Down Expand Up @@ -647,10 +647,6 @@ return /******/ (function(modules) { // webpackBootstrap
var _helpers = __webpack_require__(4);

exports['default'] = function (formlyConfigProvider) {
function onlyNumberType(check) {
return check.shape.onlyIf(['type'], check.oneOf(['number'])).optional;
}

formlyConfigProvider.setType({
template: _inputHtml2['default'],
name: 'input',
Expand All @@ -668,9 +664,8 @@ return /******/ (function(modules) { // webpackBootstrap
apiCheck: function apiCheck(check) {
return {
templateOptions: {
step: onlyNumberType(check),
min: onlyNumberType(check),
max: onlyNumberType(check)
type: check.string,
step: check.number.optional
}
};
}
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.

4 changes: 0 additions & 4 deletions docs/types/input.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,4 @@ only if templateOptions.type is 'number'

#### templateOptions.min *: number*

only if templateOptions.type is 'number'

#### templateOptions.max *: number*

only if templateOptions.type is 'number'
2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Package.describe({
name: 'formly:angular-formly-templates-material',
summary: '(official): Material design templates for angular-formly',
version: '0.11.0',
version: '0.12.0',
documentation: 'README.md',
git: 'https://github.com/formly-js/angular-formly-templates-material.git'
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-formly-material",
"version": "0.11.0",
"version": "0.12.0",
"description": "Material design templates for angular-formly",
"main": "dist/formly-material.js",
"scripts": {
Expand Down

0 comments on commit 297a835

Please sign in to comment.