@vaadin/number-field
Advanced tools
Comparing version 24.0.0-alpha2 to 24.0.0-alpha3
{ | ||
"name": "@vaadin/number-field", | ||
"version": "24.0.0-alpha2", | ||
"version": "24.0.0-alpha3", | ||
"publishConfig": { | ||
@@ -38,8 +38,8 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/component-base": "24.0.0-alpha2", | ||
"@vaadin/field-base": "24.0.0-alpha2", | ||
"@vaadin/input-container": "24.0.0-alpha2", | ||
"@vaadin/vaadin-lumo-styles": "24.0.0-alpha2", | ||
"@vaadin/vaadin-material-styles": "24.0.0-alpha2", | ||
"@vaadin/vaadin-themable-mixin": "24.0.0-alpha2" | ||
"@vaadin/component-base": "24.0.0-alpha3", | ||
"@vaadin/field-base": "24.0.0-alpha3", | ||
"@vaadin/input-container": "24.0.0-alpha3", | ||
"@vaadin/vaadin-lumo-styles": "24.0.0-alpha3", | ||
"@vaadin/vaadin-material-styles": "24.0.0-alpha3", | ||
"@vaadin/vaadin-themable-mixin": "24.0.0-alpha3" | ||
}, | ||
@@ -55,3 +55,3 @@ "devDependencies": { | ||
], | ||
"gitHead": "0c16c01a6807e629a84f5a982793afecc1a7ced0" | ||
"gitHead": "7a013a3c5a56abd61dd4f7773c6ec77c3541bdf2" | ||
} |
@@ -73,6 +73,6 @@ /** | ||
/** | ||
* Set to true to display value increase/decrease controls. | ||
* @attr {boolean} has-controls | ||
* Set to true to show increase/decrease buttons. | ||
* @attr {boolean} step-buttons-visible | ||
*/ | ||
hasControls: boolean; | ||
stepButtonsVisible: boolean; | ||
@@ -79,0 +79,0 @@ /** |
@@ -103,3 +103,3 @@ /** | ||
on-touchend="_decreaseButtonTouchend" | ||
hidden$="[[!hasControls]]" | ||
hidden$="[[!stepButtonsVisible]]" | ||
aria-hidden="true" | ||
@@ -117,3 +117,3 @@ slot="prefix" | ||
on-touchend="_increaseButtonTouchend" | ||
hidden$="[[!hasControls]]" | ||
hidden$="[[!stepButtonsVisible]]" | ||
aria-hidden="true" | ||
@@ -140,6 +140,6 @@ slot="suffix" | ||
/** | ||
* Set to true to display value increase/decrease controls. | ||
* @attr {boolean} has-controls | ||
* Set to true to show increase/decrease buttons. | ||
* @attr {boolean} step-buttons-visible | ||
*/ | ||
hasControls: { | ||
stepButtonsVisible: { | ||
type: Boolean, | ||
@@ -146,0 +146,0 @@ value: false, |
{ | ||
"$schema": "https://json.schemastore.org/web-types", | ||
"name": "@vaadin/number-field", | ||
"version": "24.0.0-alpha2", | ||
"version": "24.0.0-alpha3", | ||
"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/24.0.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.", | ||
"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/24.0.0-alpha3/#/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": [ | ||
@@ -213,4 +213,4 @@ { | ||
{ | ||
"name": "has-controls", | ||
"description": "Set to true to display value increase/decrease controls.", | ||
"name": "step-buttons-visible", | ||
"description": "Set to true to show increase/decrease buttons.", | ||
"value": { | ||
@@ -468,4 +468,4 @@ "type": [ | ||
{ | ||
"name": "hasControls", | ||
"description": "Set to true to display value increase/decrease controls.", | ||
"name": "stepButtonsVisible", | ||
"description": "Set to true to show increase/decrease buttons.", | ||
"value": { | ||
@@ -472,0 +472,0 @@ "type": [ |
{ | ||
"$schema": "https://json.schemastore.org/web-types", | ||
"name": "@vaadin/number-field", | ||
"version": "24.0.0-alpha2", | ||
"version": "24.0.0-alpha3", | ||
"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/24.0.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.", | ||
"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/24.0.0-alpha3/#/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, | ||
@@ -73,4 +73,4 @@ "attributes": [ | ||
{ | ||
"name": "?hasControls", | ||
"description": "Set to true to display value increase/decrease controls.", | ||
"name": "?stepButtonsVisible", | ||
"description": "Set to true to show increase/decrease buttons.", | ||
"value": { | ||
@@ -77,0 +77,0 @@ "kind": "expression" |
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
60092
+ Added@vaadin/component-base@24.0.0-alpha3(transitive)
+ Added@vaadin/field-base@24.0.0-alpha3(transitive)
+ Added@vaadin/icon@24.0.0-alpha3(transitive)
+ Added@vaadin/input-container@24.0.0-alpha3(transitive)
+ Added@vaadin/vaadin-lumo-styles@24.0.0-alpha3(transitive)
+ Added@vaadin/vaadin-material-styles@24.0.0-alpha3(transitive)
+ Added@vaadin/vaadin-themable-mixin@24.0.0-alpha3(transitive)
- Removed@vaadin/component-base@24.0.0-alpha2(transitive)
- Removed@vaadin/field-base@24.0.0-alpha2(transitive)
- Removed@vaadin/icon@24.0.0-alpha2(transitive)
- Removed@vaadin/input-container@24.0.0-alpha2(transitive)
- Removed@vaadin/vaadin-lumo-styles@24.0.0-alpha2(transitive)
- Removed@vaadin/vaadin-material-styles@24.0.0-alpha2(transitive)
- Removed@vaadin/vaadin-themable-mixin@24.0.0-alpha2(transitive)