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

Commit 2576a2f

Browse files
author
Kent C. Dodds
committed
6.21.0
1 parent 0ffca14 commit 2576a2f

File tree

5 files changed

+19
-8
lines changed

5 files changed

+19
-8
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# 6.21.0
2+
3+
## New Features
4+
5+
- Adding the ability to pass a `class` to be used on the `ng-transclude` `div` in the `formly-form`. Thanks
6+
[@DevanB](https://github.com/DevanB) for your first open source contribution! [#398](/../../issues/398)
7+
18
# 6.21.0-beta.1
29

310
## New Features

dist/formly.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! angular-formly version 6.21.0-beta.1 built with ♥ by Astrism <[email protected]>, Kent C. Dodds <[email protected]> (ó ì_í)=óò=(ì_í ò)
1+
//! angular-formly version 6.21.0 built with ♥ by Astrism <[email protected]>, Kent C. Dodds <[email protected]> (ó ì_í)=óò=(ì_í ò)
22

33
(function webpackUniversalModuleDefinition(root, factory) {
44
if(typeof exports === 'object' && typeof module === 'object')
@@ -147,7 +147,7 @@ return /******/ (function(modules) { // webpackBootstrap
147147

148148
ngModule.constant('formlyApiCheck', _providersFormlyApiCheck2['default']);
149149
ngModule.constant('formlyErrorAndWarningsUrlPrefix', _otherDocsBaseUrl2['default']);
150-
ngModule.constant('formlyVersion', ("6.21.0-beta.1")); // <-- webpack variable
150+
ngModule.constant('formlyVersion', ("6.21.0")); // <-- webpack variable
151151

152152
ngModule.provider('formlyUsability', _providersFormlyUsability2['default']);
153153
ngModule.provider('formlyConfig', _providersFormlyConfig2['default']);
@@ -445,7 +445,7 @@ return /******/ (function(modules) { // webpackBootstrap
445445
Object.defineProperty(exports, "__esModule", {
446446
value: true
447447
});
448-
exports["default"] = "https://github.com/formly-js/angular-formly/blob/" + ("6.21.0-beta.1") + "/other/ERRORS_AND_WARNINGS.md#";
448+
exports["default"] = "https://github.com/formly-js/angular-formly/blob/" + ("6.21.0") + "/other/ERRORS_AND_WARNINGS.md#";
449449
module.exports = exports["default"];
450450

451451
/***/ },
@@ -2012,7 +2012,7 @@ return /******/ (function(modules) { // webpackBootstrap
20122012
if (attrs.hasOwnProperty('isFieldGroup') && el.parent().parent().hasClass('formly')) {
20132013
parentFormAttributes = copyAttributes(el.parent().parent()[0].attributes);
20142014
}
2015-
return '\n <' + rootEl + ' class="formly"\n name="' + getFormName() + '"\n role="form" ' + parentFormAttributes + '>\n <' + fieldRootEl + ' formly-field\n ng-repeat="field in fields ' + getTrackBy() + '"\n ' + getHideDirective() + '="!field.hide"\n class="formly-field"\n options="field"\n model="field.model || model"\n fields="fields"\n form="theFormlyForm"\n form-id="' + getFormName() + '"\n form-state="options.formState"\n form-options="options"\n index="$index">\n </' + fieldRootEl + '>\n <div ng-transclude></div>\n </' + rootEl + '>\n ';
2015+
return '\n <' + rootEl + ' class="formly"\n name="' + getFormName() + '"\n role="form" ' + parentFormAttributes + '>\n <' + fieldRootEl + ' formly-field\n ng-repeat="field in fields ' + getTrackBy() + '"\n ' + getHideDirective() + '="!field.hide"\n class="formly-field"\n options="field"\n model="field.model || model"\n fields="fields"\n form="theFormlyForm"\n form-id="' + getFormName() + '"\n form-state="options.formState"\n form-options="options"\n index="$index">\n </' + fieldRootEl + '>\n <div ng-transclude class="' + getTranscludeClass() + '"></div>\n </' + rootEl + '>\n ';
20162016

20172017
function getRootEl() {
20182018
return attrs.rootEl || 'ng-form';
@@ -2047,6 +2047,10 @@ return /******/ (function(modules) { // webpackBootstrap
20472047
return formName;
20482048
}
20492049

2050+
function getTranscludeClass() {
2051+
return attrs.transcludeClass || '';
2052+
}
2053+
20502054
function copyAttributes(attributes) {
20512055
var excluded = ['model', 'form', 'fields', 'options', 'name', 'role', 'class', 'data-model', 'data-form', 'data-fields', 'data-options', 'data-name'];
20522056
var arrayAttrs = [];

dist/formly.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.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.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-formly",
3-
"version": "6.21.0-beta.1",
3+
"version": "6.21.0",
44
"author": "Astrism <[email protected]>",
55
"contributors": [
66
"Astrism <[email protected]>",

0 commit comments

Comments
 (0)