@vaadin/number-field
Advanced tools
Comparing version 23.1.0-alpha3 to 23.1.0-alpha4
{ | ||
"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', | ||
}); |
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
33283
+ Added@vaadin/component-base@23.1.0-alpha4(transitive)
+ Added@vaadin/field-base@23.1.0-alpha4(transitive)
+ Added@vaadin/icon@23.1.0-alpha4(transitive)
+ Added@vaadin/input-container@23.1.0-alpha4(transitive)
+ Added@vaadin/vaadin-lumo-styles@23.1.0-alpha4(transitive)
+ Added@vaadin/vaadin-material-styles@23.1.0-alpha4(transitive)
+ Added@vaadin/vaadin-themable-mixin@23.1.0-alpha4(transitive)
- Removed@vaadin/component-base@23.1.0-alpha3(transitive)
- Removed@vaadin/field-base@23.1.0-alpha3(transitive)
- Removed@vaadin/icon@23.1.0-alpha3(transitive)
- Removed@vaadin/input-container@23.1.0-alpha3(transitive)
- Removed@vaadin/vaadin-lumo-styles@23.1.0-alpha3(transitive)
- Removed@vaadin/vaadin-material-styles@23.1.0-alpha3(transitive)
- Removed@vaadin/vaadin-themable-mixin@23.1.0-alpha3(transitive)