@neovici/cosmoz-input
Advanced tools
Comparing version 1.6.2 to 1.7.0
@@ -21,3 +21,4 @@ import { html } from 'lit-html'; // eslint-disable-line object-curly-newline | ||
max, | ||
step | ||
step, | ||
maxlength | ||
} = host, | ||
@@ -30,3 +31,3 @@ { onChange, onFocus, onInput } = useInput(host), | ||
?readonly=${ readonly } ?aria-disabled=${ disabled } ?disabled=${ disabled } | ||
.value=${ live(value ?? '') } | ||
.value=${ live(value ?? '') } maxlength=${ifDefined(maxlength)} | ||
@beforeinput=${ onBeforeInput } @input=${ onInput } | ||
@@ -33,0 +34,0 @@ @change=${ onChange } @focus=${ onFocus } @blur=${ onFocus } |
@@ -17,3 +17,4 @@ import { html } from 'lit-html'; // eslint-disable-line object-curly-newline | ||
rows, | ||
cols | ||
cols, | ||
maxlength | ||
} = host, | ||
@@ -28,3 +29,3 @@ { onChange, onFocus, onInput } = useInput(host); | ||
?readonly=${ readonly } ?aria-disabled=${ disabled } ?disabled=${ disabled } | ||
.value=${ live(value ?? '') } @input=${ onInput } | ||
.value=${ live(value ?? '') } maxlength=${ifDefined(maxlength)} @input=${ onInput } | ||
@change=${ onChange } @focus=${ onFocus } @blur=${ onFocus }>` | ||
@@ -31,0 +32,0 @@ , host); |
{ | ||
"name": "@neovici/cosmoz-input", | ||
"version": "1.6.2", | ||
"version": "1.7.0", | ||
"description": "A input web component", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -28,2 +28,3 @@ import { html, nothing } from 'lit-html'; | ||
'disabled', | ||
'maxlength', | ||
'invalid', | ||
@@ -30,0 +31,0 @@ 'no-label-float', |
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
12853
333