@vaadin/number-field
Advanced tools
Comparing version 22.0.0-alpha9 to 22.0.0-beta1
{ | ||
"name": "@vaadin/number-field", | ||
"version": "22.0.0-alpha9", | ||
"version": "22.0.0-beta1", | ||
"publishConfig": { | ||
@@ -35,8 +35,8 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/component-base": "22.0.0-alpha9", | ||
"@vaadin/field-base": "22.0.0-alpha9", | ||
"@vaadin/input-container": "22.0.0-alpha9", | ||
"@vaadin/vaadin-lumo-styles": "22.0.0-alpha9", | ||
"@vaadin/vaadin-material-styles": "22.0.0-alpha9", | ||
"@vaadin/vaadin-themable-mixin": "22.0.0-alpha9" | ||
"@vaadin/component-base": "22.0.0-beta1", | ||
"@vaadin/field-base": "22.0.0-beta1", | ||
"@vaadin/input-container": "22.0.0-beta1", | ||
"@vaadin/vaadin-lumo-styles": "22.0.0-beta1", | ||
"@vaadin/vaadin-material-styles": "22.0.0-beta1", | ||
"@vaadin/vaadin-themable-mixin": "22.0.0-beta1" | ||
}, | ||
@@ -48,3 +48,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "6e8c899dc65918f97e3c0acb2076122c4b2ef274" | ||
"gitHead": "4cf8a9d0504994200c610e44b3676114fef49c1e" | ||
} |
@@ -38,27 +38,14 @@ /** | ||
* | ||
* The following shadow DOM parts are available for styling: | ||
* `<vaadin-number-field>` provides the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`. | ||
* See [`<vaadin-text-field>`](#/elements/vaadin-text-field) for the styling documentation. | ||
* | ||
* Part name | Description | ||
* ----------------|---------------- | ||
* `label` | The label element wrapper | ||
* `input-field` | The element that wraps prefix, textarea and suffix | ||
* `error-message` | The error message element wrapper | ||
* `helper-text` | The helper text element wrapper | ||
* In addition to `<vaadin-text-field>` parts, the following parts are available for theming: | ||
* | ||
* The following state attributes are available for styling: | ||
* Part name | Description | ||
* ------------------|------------------------- | ||
* `increase-button` | Increase ("plus") button | ||
* `decrease-button` | Decrease ("minus") button | ||
* | ||
* Attribute | Description | Part name | ||
* --------------------|-------------------------------------------|---------- | ||
* `disabled` | Set when the element is disabled | :host | ||
* `has-value` | Set when the element has a value | :host | ||
* `has-label` | Set when the element has a label | :host | ||
* `has-helper` | Set when the element has helper text | :host | ||
* `has-error-message` | Set when the element has an error message | :host | ||
* `invalid` | Set when the element is invalid | :host | ||
* `focused` | Set when the element is focused | :host | ||
* `focus-ring` | Set when the element is keyboard focused | :host | ||
* `readonly` | Set when the element is readonly | :host | ||
* Note, the `input-prevented` state attribute is not supported by `<vaadin-number-field>`. | ||
* | ||
* See [Styling Components](https://vaadin.com/docs/latest/ds/customization/styling-components) documentation. | ||
* | ||
* @fires {Event} input - Fired when the value is changed by the user: on every typing keystroke, and the value is cleared using the clear button. | ||
@@ -65,0 +52,0 @@ * @fires {Event} change - Fired when the user commits a value change. |
@@ -28,24 +28,13 @@ /** | ||
* | ||
* The following shadow DOM parts are available for styling: | ||
* `<vaadin-number-field>` provides the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`. | ||
* See [`<vaadin-text-field>`](#/elements/vaadin-text-field) for the styling documentation. | ||
* | ||
* Part name | Description | ||
* ----------------|---------------- | ||
* `label` | The label element wrapper | ||
* `input-field` | The element that wraps prefix, textarea and suffix | ||
* `error-message` | The error message element wrapper | ||
* `helper-text` | The helper text element wrapper | ||
* In addition to `<vaadin-text-field>` parts, the following parts are available for theming: | ||
* | ||
* The following state attributes are available for styling: | ||
* Part name | Description | ||
* ------------------|------------------------- | ||
* `increase-button` | Increase ("plus") button | ||
* `decrease-button` | Decrease ("minus") button | ||
* | ||
* Attribute | Description | Part name | ||
* --------------------|-------------------------------------------|---------- | ||
* `disabled` | Set when the element is disabled | :host | ||
* `has-value` | Set when the element has a value | :host | ||
* `has-label` | Set when the element has a label | :host | ||
* `has-helper` | Set when the element has helper text | :host | ||
* `has-error-message` | Set when the element has an error message | :host | ||
* `invalid` | Set when the element is invalid | :host | ||
* `focused` | Set when the element is focused | :host | ||
* `focus-ring` | Set when the element is keyboard focused | :host | ||
* `readonly` | Set when the element is readonly | :host | ||
* Note, the `input-prevented` state attribute is not supported by `<vaadin-number-field>`. | ||
* | ||
@@ -249,3 +238,3 @@ * See [Styling Components](https://vaadin.com/docs/latest/ds/customization/styling-components) documentation. | ||
); | ||
this.addController(new AriaLabelController(this.inputElement, this._labelNode)); | ||
this.addController(new AriaLabelController(this, this.inputElement, this._labelNode)); | ||
} | ||
@@ -252,0 +241,0 @@ |
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
32601
595
+ Added@vaadin/component-base@22.0.0-beta1(transitive)
+ Added@vaadin/field-base@22.0.0-beta1(transitive)
+ Added@vaadin/icon@22.0.0-beta1(transitive)
+ Added@vaadin/input-container@22.0.0-beta1(transitive)
+ Added@vaadin/vaadin-lumo-styles@22.0.0-beta1(transitive)
+ Added@vaadin/vaadin-material-styles@22.0.0-beta1(transitive)
+ Added@vaadin/vaadin-themable-mixin@22.0.0-beta1(transitive)
- Removed@vaadin/component-base@22.0.0-alpha9(transitive)
- Removed@vaadin/field-base@22.0.0-alpha9(transitive)
- Removed@vaadin/icon@22.0.0-alpha9(transitive)
- Removed@vaadin/input-container@22.0.0-alpha9(transitive)
- Removed@vaadin/vaadin-lumo-styles@22.0.0-alpha9(transitive)
- Removed@vaadin/vaadin-material-styles@22.0.0-alpha9(transitive)
- Removed@vaadin/vaadin-themable-mixin@22.0.0-alpha9(transitive)