@lion/field
Advanced tools
Comparing version 0.11.0 to 0.11.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.11.1](https://github.com/ing-bank/lion/compare/@lion/field@0.11.0...@lion/field@0.11.1) (2020-03-02) | ||
### Bug Fixes | ||
* normalize subclasser apis ([ce0630f](https://github.com/ing-bank/lion/commit/ce0630f32b2206813e5cfd2c7842b2faa5141591)) | ||
# [0.11.0](https://github.com/ing-bank/lion/compare/@lion/field@0.10.1...@lion/field@0.11.0) (2020-03-01) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@lion/field", | ||
"version": "0.11.0", | ||
"version": "0.11.1", | ||
"description": "Fields are the most fundamental building block of the Form System", | ||
@@ -47,3 +47,3 @@ "author": "ing-bank", | ||
}, | ||
"gitHead": "04db59c9675b9e56b50dfc147201eea530b1d754" | ||
"gitHead": "0c0f67a9a5fbc72a81fd58c63efadbcd596c9822" | ||
} |
@@ -279,6 +279,6 @@ import { html, css, nothing, dedupeMixin, SlotMixin } from '@lion/core'; | ||
<div class="form-field__group-one"> | ||
${this.groupOneTemplate()} | ||
${this._groupOneTemplate()} | ||
</div> | ||
<div class="form-field__group-two"> | ||
${this.groupTwoTemplate()} | ||
${this._groupTwoTemplate()} | ||
</div> | ||
@@ -288,11 +288,11 @@ `; | ||
groupOneTemplate() { | ||
_groupOneTemplate() { | ||
return html` | ||
${this.labelTemplate()} ${this.helpTextTemplate()} | ||
${this._labelTemplate()} ${this._helpTextTemplate()} | ||
`; | ||
} | ||
groupTwoTemplate() { | ||
_groupTwoTemplate() { | ||
return html` | ||
${this.inputGroupTemplate()} ${this.feedbackTemplate()} | ||
${this._inputGroupTemplate()} ${this._feedbackTemplate()} | ||
`; | ||
@@ -302,3 +302,3 @@ } | ||
// eslint-disable-next-line class-methods-use-this | ||
labelTemplate() { | ||
_labelTemplate() { | ||
return html` | ||
@@ -312,3 +312,3 @@ <div class="form-field__label"> | ||
// eslint-disable-next-line class-methods-use-this | ||
helpTextTemplate() { | ||
_helpTextTemplate() { | ||
return html` | ||
@@ -321,11 +321,11 @@ <small class="form-field__help-text"> | ||
inputGroupTemplate() { | ||
_inputGroupTemplate() { | ||
return html` | ||
<div class="input-group"> | ||
${this.inputGroupBeforeTemplate()} | ||
${this._inputGroupBeforeTemplate()} | ||
<div class="input-group__container"> | ||
${this.inputGroupPrefixTemplate()} ${this.inputGroupInputTemplate()} | ||
${this.inputGroupSuffixTemplate()} | ||
${this._inputGroupPrefixTemplate()} ${this._inputGroupInputTemplate()} | ||
${this._inputGroupSuffixTemplate()} | ||
</div> | ||
${this.inputGroupAfterTemplate()} | ||
${this._inputGroupAfterTemplate()} | ||
</div> | ||
@@ -336,3 +336,3 @@ `; | ||
// eslint-disable-next-line class-methods-use-this | ||
inputGroupBeforeTemplate() { | ||
_inputGroupBeforeTemplate() { | ||
return html` | ||
@@ -345,3 +345,3 @@ <div class="input-group__before"> | ||
inputGroupPrefixTemplate() { | ||
_inputGroupPrefixTemplate() { | ||
return !Array.from(this.children).find(child => child.slot === 'prefix') | ||
@@ -357,3 +357,3 @@ ? nothing | ||
// eslint-disable-next-line class-methods-use-this | ||
inputGroupInputTemplate() { | ||
_inputGroupInputTemplate() { | ||
return html` | ||
@@ -366,3 +366,3 @@ <div class="input-group__input"> | ||
inputGroupSuffixTemplate() { | ||
_inputGroupSuffixTemplate() { | ||
return !Array.from(this.children).find(child => child.slot === 'suffix') | ||
@@ -378,3 +378,3 @@ ? nothing | ||
// eslint-disable-next-line class-methods-use-this | ||
inputGroupAfterTemplate() { | ||
_inputGroupAfterTemplate() { | ||
return html` | ||
@@ -388,3 +388,3 @@ <div class="input-group__after"> | ||
// eslint-disable-next-line class-methods-use-this | ||
feedbackTemplate() { | ||
_feedbackTemplate() { | ||
return html` | ||
@@ -391,0 +391,0 @@ <div class="form-field__feedback"> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
167162