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

@vaadin/number-field

Package Overview
Dependencies
Maintainers
14
Versions
414
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.1.0-alpha3 to 23.1.0-alpha4

16

package.json
{
"name": "@vaadin/number-field",
"version": "23.1.0-alpha3",
"version": "23.1.0-alpha4",
"publishConfig": {

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

"@polymer/polymer": "^3.0.0",
"@vaadin/component-base": "23.1.0-alpha3",
"@vaadin/field-base": "23.1.0-alpha3",
"@vaadin/input-container": "23.1.0-alpha3",
"@vaadin/vaadin-lumo-styles": "23.1.0-alpha3",
"@vaadin/vaadin-material-styles": "23.1.0-alpha3",
"@vaadin/vaadin-themable-mixin": "23.1.0-alpha3"
"@vaadin/component-base": "23.1.0-alpha4",
"@vaadin/field-base": "23.1.0-alpha4",
"@vaadin/input-container": "23.1.0-alpha4",
"@vaadin/vaadin-lumo-styles": "23.1.0-alpha4",
"@vaadin/vaadin-material-styles": "23.1.0-alpha4",
"@vaadin/vaadin-themable-mixin": "23.1.0-alpha4"
},

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

},
"gitHead": "8c9e64e8dfa158dd52a9bf6da351ff038c88ca85"
"gitHead": "aacdb7fe09811894751f0378ff7fb66071892c71"
}

@@ -89,3 +89,3 @@ /**

listener: (this: NumberField, ev: NumberFieldEventMap[K]) => void,
options?: boolean | AddEventListenerOptions
options?: boolean | AddEventListenerOptions,
): void;

@@ -96,3 +96,3 @@

listener: (this: NumberField, ev: NumberFieldEventMap[K]) => void,
options?: boolean | EventListenerOptions
options?: boolean | EventListenerOptions,
): void;

@@ -99,0 +99,0 @@ }

@@ -141,3 +141,3 @@ /**

value: false,
reflectToAttribute: true
reflectToAttribute: true,
},

@@ -150,3 +150,3 @@

type: Number,
observer: '_minChanged'
observer: '_minChanged',
},

@@ -159,3 +159,3 @@

type: Number,
observer: '_maxChanged'
observer: '_maxChanged',
},

@@ -170,4 +170,4 @@

value: 1,
observer: '_stepChanged'
}
observer: '_stepChanged',
},
};

@@ -207,3 +207,3 @@ }

}
`
`,
];

@@ -241,3 +241,3 @@ }

this.ariaTarget = input;
})
}),
);

@@ -297,3 +297,3 @@ this.addController(new LabelledInputController(this.inputElement, this._labelController));

if (!this.value) {
if ((this.min == 0 && incr < 0) || (this.max == 0 && incr > 0) || (this.max == 0 && this.min == 0)) {
if ((this.min === 0 && incr < 0) || (this.max === 0 && incr > 0) || (this.max === 0 && this.min === 0)) {
incr = 0;

@@ -329,3 +329,3 @@ value = 0;

const newValue = this._getIncrement(incr, value);
if (!this.value || incr == 0 || this._incrementIsInsideTheLimits(incr, value)) {
if (!this.value || incr === 0 || this._incrementIsInsideTheLimits(incr, value)) {
this._setValue(newValue);

@@ -332,0 +332,0 @@ }

@@ -54,3 +54,3 @@ /**

registerStyles('vaadin-number-field', [inputFieldShared, fieldButton, numberField], {
moduleId: 'lumo-number-field'
moduleId: 'lumo-number-field',
});

@@ -31,3 +31,3 @@ /**

registerStyles('vaadin-number-field', [inputFieldShared, fieldButton, numberField], {
moduleId: 'material-number-field'
moduleId: 'material-number-field',
});
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