@vaadin/number-field
Advanced tools
Comparing version 23.2.0-alpha5 to 23.2.0-alpha6
{ | ||
"name": "@vaadin/number-field", | ||
"version": "23.2.0-alpha5", | ||
"version": "23.2.0-alpha6", | ||
"publishConfig": { | ||
@@ -38,8 +38,8 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/component-base": "23.2.0-alpha5", | ||
"@vaadin/field-base": "23.2.0-alpha5", | ||
"@vaadin/input-container": "23.2.0-alpha5", | ||
"@vaadin/vaadin-lumo-styles": "23.2.0-alpha5", | ||
"@vaadin/vaadin-material-styles": "23.2.0-alpha5", | ||
"@vaadin/vaadin-themable-mixin": "23.2.0-alpha5" | ||
"@vaadin/component-base": "23.2.0-alpha6", | ||
"@vaadin/field-base": "23.2.0-alpha6", | ||
"@vaadin/input-container": "23.2.0-alpha6", | ||
"@vaadin/vaadin-lumo-styles": "23.2.0-alpha6", | ||
"@vaadin/vaadin-material-styles": "23.2.0-alpha6", | ||
"@vaadin/vaadin-themable-mixin": "23.2.0-alpha6" | ||
}, | ||
@@ -55,3 +55,3 @@ "devDependencies": { | ||
], | ||
"gitHead": "c6247fd741d61096d75a71feda4a1faf88b6f0ce" | ||
"gitHead": "61f1fb56953434e97d34a8819640064301dd3d8a" | ||
} |
@@ -236,2 +236,16 @@ /** | ||
/** | ||
* Override a method from `InputConstraintsMixin` | ||
* to additionally check for bad user input. | ||
* | ||
* @override | ||
*/ | ||
checkValidity() { | ||
if (this.inputElement && this.inputElement.validity.badInput) { | ||
return false; | ||
} | ||
return super.checkValidity(); | ||
} | ||
/** @private */ | ||
@@ -238,0 +252,0 @@ _decreaseButtonTouchend(e) { |
{ | ||
"$schema": "https://json.schemastore.org/web-types", | ||
"name": "@vaadin/number-field", | ||
"version": "23.2.0-alpha5", | ||
"version": "23.2.0-alpha6", | ||
"description-markup": "markdown", | ||
@@ -11,3 +11,3 @@ "contributions": { | ||
"name": "vaadin-number-field", | ||
"description": "`<vaadin-number-field>` is an input field web component that only accepts numeric input.\n\n```html\n<vaadin-number-field label=\"Balance\"></vaadin-number-field>\n```\n\n### Styling\n\n`<vaadin-number-field>` provides the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`.\nSee [`<vaadin-text-field>`](https://cdn.vaadin.com/vaadin-web-components/23.2.0-alpha5/#/elements/vaadin-text-field) for the styling documentation.\n\nIn addition to `<vaadin-text-field>` parts, the following parts are available for theming:\n\nPart name | Description\n------------------|-------------------------\n`increase-button` | Increase (\"plus\") button\n`decrease-button` | Decrease (\"minus\") button\n\nNote, the `input-prevented` state attribute is only supported when `allowedCharPattern` is set.\n\nSee [Styling Components](https://vaadin.com/docs/latest/ds/customization/styling-components) documentation.", | ||
"description": "`<vaadin-number-field>` is an input field web component that only accepts numeric input.\n\n```html\n<vaadin-number-field label=\"Balance\"></vaadin-number-field>\n```\n\n### Styling\n\n`<vaadin-number-field>` provides the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`.\nSee [`<vaadin-text-field>`](https://cdn.vaadin.com/vaadin-web-components/23.2.0-alpha6/#/elements/vaadin-text-field) for the styling documentation.\n\nIn addition to `<vaadin-text-field>` parts, the following parts are available for theming:\n\nPart name | Description\n------------------|-------------------------\n`increase-button` | Increase (\"plus\") button\n`decrease-button` | Decrease (\"minus\") button\n\nNote, the `input-prevented` state attribute is only supported when `allowedCharPattern` is set.\n\nSee [Styling Components](https://vaadin.com/docs/latest/ds/customization/styling-components) documentation.", | ||
"attributes": [ | ||
@@ -14,0 +14,0 @@ { |
{ | ||
"$schema": "https://json.schemastore.org/web-types", | ||
"name": "@vaadin/number-field", | ||
"version": "23.2.0-alpha5", | ||
"version": "23.2.0-alpha6", | ||
"description-markup": "markdown", | ||
@@ -19,3 +19,3 @@ "framework": "lit", | ||
"name": "vaadin-number-field", | ||
"description": "`<vaadin-number-field>` is an input field web component that only accepts numeric input.\n\n```html\n<vaadin-number-field label=\"Balance\"></vaadin-number-field>\n```\n\n### Styling\n\n`<vaadin-number-field>` provides the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`.\nSee [`<vaadin-text-field>`](https://cdn.vaadin.com/vaadin-web-components/23.2.0-alpha5/#/elements/vaadin-text-field) for the styling documentation.\n\nIn addition to `<vaadin-text-field>` parts, the following parts are available for theming:\n\nPart name | Description\n------------------|-------------------------\n`increase-button` | Increase (\"plus\") button\n`decrease-button` | Decrease (\"minus\") button\n\nNote, the `input-prevented` state attribute is only supported when `allowedCharPattern` is set.\n\nSee [Styling Components](https://vaadin.com/docs/latest/ds/customization/styling-components) documentation.", | ||
"description": "`<vaadin-number-field>` is an input field web component that only accepts numeric input.\n\n```html\n<vaadin-number-field label=\"Balance\"></vaadin-number-field>\n```\n\n### Styling\n\n`<vaadin-number-field>` provides the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`.\nSee [`<vaadin-text-field>`](https://cdn.vaadin.com/vaadin-web-components/23.2.0-alpha6/#/elements/vaadin-text-field) for the styling documentation.\n\nIn addition to `<vaadin-text-field>` parts, the following parts are available for theming:\n\nPart name | Description\n------------------|-------------------------\n`increase-button` | Increase (\"plus\") button\n`decrease-button` | Decrease (\"minus\") button\n\nNote, the `input-prevented` state attribute is only supported when `allowedCharPattern` is set.\n\nSee [Styling Components](https://vaadin.com/docs/latest/ds/customization/styling-components) documentation.", | ||
"extension": true, | ||
@@ -22,0 +22,0 @@ "attributes": [ |
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
59237
1301
+ Added@vaadin/component-base@23.2.0-alpha6(transitive)
+ Added@vaadin/field-base@23.2.0-alpha6(transitive)
+ Added@vaadin/icon@23.2.0-alpha6(transitive)
+ Added@vaadin/input-container@23.2.0-alpha6(transitive)
+ Added@vaadin/vaadin-lumo-styles@23.2.0-alpha6(transitive)
+ Added@vaadin/vaadin-material-styles@23.2.0-alpha6(transitive)
+ Added@vaadin/vaadin-themable-mixin@23.2.0-alpha6(transitive)
- Removed@vaadin/component-base@23.2.0-alpha5(transitive)
- Removed@vaadin/field-base@23.2.0-alpha5(transitive)
- Removed@vaadin/icon@23.2.0-alpha5(transitive)
- Removed@vaadin/input-container@23.2.0-alpha5(transitive)
- Removed@vaadin/vaadin-lumo-styles@23.2.0-alpha5(transitive)
- Removed@vaadin/vaadin-material-styles@23.2.0-alpha5(transitive)
- Removed@vaadin/vaadin-themable-mixin@23.2.0-alpha5(transitive)