Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/number-field

Package Overview
Dependencies
Maintainers
12
Versions
410
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/number-field - npm Package Compare versions

Comparing version 23.4.0-alpha1 to 23.4.0-alpha2

16

package.json
{
"name": "@vaadin/number-field",
"version": "23.4.0-alpha1",
"version": "23.4.0-alpha2",
"publishConfig": {

@@ -38,8 +38,8 @@ "access": "public"

"@polymer/polymer": "^3.0.0",
"@vaadin/component-base": "23.4.0-alpha1",
"@vaadin/field-base": "23.4.0-alpha1",
"@vaadin/input-container": "23.4.0-alpha1",
"@vaadin/vaadin-lumo-styles": "23.4.0-alpha1",
"@vaadin/vaadin-material-styles": "23.4.0-alpha1",
"@vaadin/vaadin-themable-mixin": "23.4.0-alpha1"
"@vaadin/component-base": "23.4.0-alpha2",
"@vaadin/field-base": "23.4.0-alpha2",
"@vaadin/input-container": "23.4.0-alpha2",
"@vaadin/vaadin-lumo-styles": "23.4.0-alpha2",
"@vaadin/vaadin-material-styles": "23.4.0-alpha2",
"@vaadin/vaadin-themable-mixin": "23.4.0-alpha2"
},

@@ -55,3 +55,3 @@ "devDependencies": {

],
"gitHead": "a7cdbab591c62ee8dbc0e91fee877fbbf4b92bad"
"gitHead": "3fa9a5d13db6baf0307f863669ab2f3f5114c6a0"
}

@@ -273,5 +273,8 @@ /**

_decreaseButtonTouchend(e) {
// Cancel the following click and focus events
e.preventDefault();
this._decreaseValue();
// Cancel the following click and focus events. If the event is not cancelable,
// it means scrolling is in progress, therefore we shouldn't update field value.
if (e.cancelable) {
e.preventDefault();
this._decreaseValue();
}
}

@@ -281,5 +284,8 @@

_increaseButtonTouchend(e) {
// Cancel the following click and focus events
e.preventDefault();
this._increaseValue();
// Cancel the following click and focus events. If the event is not cancelable,
// it means scrolling is in progress, therefore we shouldn't update field value.
if (e.cancelable) {
e.preventDefault();
this._increaseValue();
}
}

@@ -286,0 +292,0 @@

{
"$schema": "https://json.schemastore.org/web-types",
"name": "@vaadin/number-field",
"version": "23.4.0-alpha1",
"version": "23.4.0-alpha2",
"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.4.0-alpha1/#/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/styling/custom-theme/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.4.0-alpha2/#/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/styling/custom-theme/styling-components) documentation.",
"attributes": [

@@ -14,0 +14,0 @@ {

{
"$schema": "https://json.schemastore.org/web-types",
"name": "@vaadin/number-field",
"version": "23.4.0-alpha1",
"version": "23.4.0-alpha2",
"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.4.0-alpha1/#/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/styling/custom-theme/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.4.0-alpha2/#/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/styling/custom-theme/styling-components) documentation.",
"extension": true,

@@ -22,0 +22,0 @@ "attributes": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc