@vaadin/custom-field
Advanced tools
Comparing version 23.2.0-alpha2 to 23.2.0-alpha3
{ | ||
"name": "@vaadin/custom-field", | ||
"version": "23.2.0-alpha2", | ||
"version": "23.2.0-alpha3", | ||
"publishConfig": { | ||
@@ -36,26 +36,26 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/component-base": "23.2.0-alpha2", | ||
"@vaadin/field-base": "23.2.0-alpha2", | ||
"@vaadin/vaadin-lumo-styles": "23.2.0-alpha2", | ||
"@vaadin/vaadin-material-styles": "23.2.0-alpha2", | ||
"@vaadin/vaadin-themable-mixin": "23.2.0-alpha2" | ||
"@vaadin/component-base": "23.2.0-alpha3", | ||
"@vaadin/field-base": "23.2.0-alpha3", | ||
"@vaadin/vaadin-lumo-styles": "23.2.0-alpha3", | ||
"@vaadin/vaadin-material-styles": "23.2.0-alpha3", | ||
"@vaadin/vaadin-themable-mixin": "23.2.0-alpha3" | ||
}, | ||
"devDependencies": { | ||
"@esm-bundle/chai": "^4.3.4", | ||
"@vaadin/combo-box": "23.2.0-alpha2", | ||
"@vaadin/date-picker": "23.2.0-alpha2", | ||
"@vaadin/email-field": "23.2.0-alpha2", | ||
"@vaadin/form-layout": "23.2.0-alpha2", | ||
"@vaadin/list-box": "23.2.0-alpha2", | ||
"@vaadin/number-field": "23.2.0-alpha2", | ||
"@vaadin/password-field": "23.2.0-alpha2", | ||
"@vaadin/polymer-legacy-adapter": "23.2.0-alpha2", | ||
"@vaadin/select": "23.2.0-alpha2", | ||
"@vaadin/combo-box": "23.2.0-alpha3", | ||
"@vaadin/date-picker": "23.2.0-alpha3", | ||
"@vaadin/email-field": "23.2.0-alpha3", | ||
"@vaadin/form-layout": "23.2.0-alpha3", | ||
"@vaadin/list-box": "23.2.0-alpha3", | ||
"@vaadin/number-field": "23.2.0-alpha3", | ||
"@vaadin/password-field": "23.2.0-alpha3", | ||
"@vaadin/polymer-legacy-adapter": "23.2.0-alpha3", | ||
"@vaadin/select": "23.2.0-alpha3", | ||
"@vaadin/testing-helpers": "^0.3.2", | ||
"@vaadin/text-area": "23.2.0-alpha2", | ||
"@vaadin/text-field": "23.2.0-alpha2", | ||
"@vaadin/time-picker": "23.2.0-alpha2", | ||
"@vaadin/text-area": "23.2.0-alpha3", | ||
"@vaadin/text-field": "23.2.0-alpha3", | ||
"@vaadin/time-picker": "23.2.0-alpha3", | ||
"sinon": "^13.0.2" | ||
}, | ||
"gitHead": "c9b8113d0fa9a602f8b9cb915c1826355af2e8df" | ||
"gitHead": "06e5875be93ca50da2846dafc65a8531010c0576" | ||
} |
@@ -39,2 +39,7 @@ /** | ||
/** | ||
* Fired whenever the field is validated. | ||
*/ | ||
export type CustomFieldValidatedEvent = CustomEvent<{ valid: boolean }>; | ||
/** | ||
* Fired on Tab keydown triggered from the internal inputs, meaning focus will not leave the inputs. | ||
@@ -52,2 +57,4 @@ */ | ||
'internal-tab': CustomFieldInternalTabEvent; | ||
validated: CustomFieldValidatedEvent; | ||
} | ||
@@ -98,2 +105,3 @@ | ||
* @fires {CustomEvent} value-changed - Fired when the `value` property changes. | ||
* @fires {CustomEvent} validated - Fired whenever the field is validated. | ||
*/ | ||
@@ -100,0 +108,0 @@ declare class CustomField extends FieldMixin(FocusMixin(ThemableMixin(ElementMixin(HTMLElement)))) { |
@@ -53,2 +53,3 @@ /** | ||
* @fires {CustomEvent} value-changed - Fired when the `value` property changes. | ||
* @fires {CustomEvent} validated - Fired whenever the field is validated. | ||
* | ||
@@ -378,3 +379,5 @@ * @extends HTMLElement | ||
this.inputs.forEach((input, id) => (input.value = valuesArray[id])); | ||
this.inputs.forEach((input, id) => { | ||
input.value = valuesArray[id]; | ||
}); | ||
if (oldValue !== undefined) { | ||
@@ -381,0 +384,0 @@ this.validate(); |
38151
650
4
7
21
126
+ Added@vaadin/component-base@23.2.0-alpha3(transitive)
+ Added@vaadin/field-base@23.2.0-alpha3(transitive)
+ Added@vaadin/icon@23.2.0-alpha3(transitive)
+ Added@vaadin/vaadin-lumo-styles@23.2.0-alpha3(transitive)
+ Added@vaadin/vaadin-material-styles@23.2.0-alpha3(transitive)
+ Added@vaadin/vaadin-themable-mixin@23.2.0-alpha3(transitive)
- Removed@vaadin/component-base@23.2.0-alpha2(transitive)
- Removed@vaadin/field-base@23.2.0-alpha2(transitive)
- Removed@vaadin/icon@23.2.0-alpha2(transitive)
- Removed@vaadin/vaadin-lumo-styles@23.2.0-alpha2(transitive)
- Removed@vaadin/vaadin-material-styles@23.2.0-alpha2(transitive)
- Removed@vaadin/vaadin-themable-mixin@23.2.0-alpha2(transitive)