@vaadin/text-area
Advanced tools
Comparing version 24.5.4 to 24.5.5
{ | ||
"name": "@vaadin/text-area", | ||
"version": "24.5.4", | ||
"version": "24.5.5", | ||
"publishConfig": { | ||
@@ -41,13 +41,13 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/a11y-base": "~24.5.4", | ||
"@vaadin/component-base": "~24.5.4", | ||
"@vaadin/field-base": "~24.5.4", | ||
"@vaadin/input-container": "~24.5.4", | ||
"@vaadin/vaadin-lumo-styles": "~24.5.4", | ||
"@vaadin/vaadin-material-styles": "~24.5.4", | ||
"@vaadin/vaadin-themable-mixin": "~24.5.4", | ||
"@vaadin/a11y-base": "~24.5.5", | ||
"@vaadin/component-base": "~24.5.5", | ||
"@vaadin/field-base": "~24.5.5", | ||
"@vaadin/input-container": "~24.5.5", | ||
"@vaadin/vaadin-lumo-styles": "~24.5.5", | ||
"@vaadin/vaadin-material-styles": "~24.5.5", | ||
"@vaadin/vaadin-themable-mixin": "~24.5.5", | ||
"lit": "^3.0.0" | ||
}, | ||
"devDependencies": { | ||
"@vaadin/chai-plugins": "~24.5.4", | ||
"@vaadin/chai-plugins": "~24.5.5", | ||
"@vaadin/testing-helpers": "^1.0.0", | ||
@@ -60,3 +60,3 @@ "sinon": "^18.0.0" | ||
], | ||
"gitHead": "0993b6e95bd5826642065356b8f5854a65a6b677" | ||
"gitHead": "864c93992c6466634ad47975dc6aceca3bbf8506" | ||
} |
@@ -158,3 +158,2 @@ /** | ||
// browser might adjust the scroll position before we can restore the measured height of the textarea. | ||
inputField.style.display = 'block'; | ||
inputField.style.height = inputFieldHeight; | ||
@@ -166,2 +165,3 @@ | ||
// Clear the height of the textarea to allow measuring a reduced scroll height | ||
input.style.alignSelf = 'flex-start'; | ||
input.style.height = 'auto'; | ||
@@ -178,3 +178,3 @@ } | ||
input.style.removeProperty('max-width'); | ||
inputField.style.removeProperty('display'); | ||
input.style.removeProperty('align-self'); | ||
inputField.style.removeProperty('height'); | ||
@@ -181,0 +181,0 @@ inputField.scrollTop = scrollTop; |
{ | ||
"$schema": "https://json.schemastore.org/web-types", | ||
"name": "@vaadin/text-area", | ||
"version": "24.5.4", | ||
"version": "24.5.5", | ||
"description-markup": "markdown", | ||
@@ -11,3 +11,3 @@ "contributions": { | ||
"name": "vaadin-text-area", | ||
"description": "`<vaadin-text-area>` is a web component for multi-line text input.\n\n```html\n<vaadin-text-area label=\"Comment\"></vaadin-text-area>\n```\n\n### Prefixes and suffixes\n\nThese are child elements of a `<vaadin-text-area>` that are displayed\ninline with the input, before or after.\nIn order for an element to be considered as a prefix, it must have the slot\nattribute set to `prefix` (and similarly for `suffix`).\n\n```html\n<vaadin-text-area label=\"Description\">\n <div slot=\"prefix\">Details:</div>\n <div slot=\"suffix\">The end!</div>\n</vaadin-text-area>\n```\n\n### Styling\n\nThe following custom properties are available for styling:\n\nCustom property | Description | Default\n-------------------------------|----------------------------|---------\n`--vaadin-field-default-width` | Default width of the field | `12em`\n\n`<vaadin-text-area>` 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.5.4/#/elements/vaadin-text-field) for the styling documentation.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.", | ||
"description": "`<vaadin-text-area>` is a web component for multi-line text input.\n\n```html\n<vaadin-text-area label=\"Comment\"></vaadin-text-area>\n```\n\n### Prefixes and suffixes\n\nThese are child elements of a `<vaadin-text-area>` that are displayed\ninline with the input, before or after.\nIn order for an element to be considered as a prefix, it must have the slot\nattribute set to `prefix` (and similarly for `suffix`).\n\n```html\n<vaadin-text-area label=\"Description\">\n <div slot=\"prefix\">Details:</div>\n <div slot=\"suffix\">The end!</div>\n</vaadin-text-area>\n```\n\n### Styling\n\nThe following custom properties are available for styling:\n\nCustom property | Description | Default\n-------------------------------|----------------------------|---------\n`--vaadin-field-default-width` | Default width of the field | `12em`\n\n`<vaadin-text-area>` 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.5.5/#/elements/vaadin-text-field) for the styling documentation.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.", | ||
"attributes": [ | ||
@@ -14,0 +14,0 @@ { |
{ | ||
"$schema": "https://json.schemastore.org/web-types", | ||
"name": "@vaadin/text-area", | ||
"version": "24.5.4", | ||
"version": "24.5.5", | ||
"description-markup": "markdown", | ||
@@ -19,3 +19,3 @@ "framework": "lit", | ||
"name": "vaadin-text-area", | ||
"description": "`<vaadin-text-area>` is a web component for multi-line text input.\n\n```html\n<vaadin-text-area label=\"Comment\"></vaadin-text-area>\n```\n\n### Prefixes and suffixes\n\nThese are child elements of a `<vaadin-text-area>` that are displayed\ninline with the input, before or after.\nIn order for an element to be considered as a prefix, it must have the slot\nattribute set to `prefix` (and similarly for `suffix`).\n\n```html\n<vaadin-text-area label=\"Description\">\n <div slot=\"prefix\">Details:</div>\n <div slot=\"suffix\">The end!</div>\n</vaadin-text-area>\n```\n\n### Styling\n\nThe following custom properties are available for styling:\n\nCustom property | Description | Default\n-------------------------------|----------------------------|---------\n`--vaadin-field-default-width` | Default width of the field | `12em`\n\n`<vaadin-text-area>` 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.5.4/#/elements/vaadin-text-field) for the styling documentation.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.", | ||
"description": "`<vaadin-text-area>` is a web component for multi-line text input.\n\n```html\n<vaadin-text-area label=\"Comment\"></vaadin-text-area>\n```\n\n### Prefixes and suffixes\n\nThese are child elements of a `<vaadin-text-area>` that are displayed\ninline with the input, before or after.\nIn order for an element to be considered as a prefix, it must have the slot\nattribute set to `prefix` (and similarly for `suffix`).\n\n```html\n<vaadin-text-area label=\"Description\">\n <div slot=\"prefix\">Details:</div>\n <div slot=\"suffix\">The end!</div>\n</vaadin-text-area>\n```\n\n### Styling\n\nThe following custom properties are available for styling:\n\nCustom property | Description | Default\n-------------------------------|----------------------------|---------\n`--vaadin-field-default-width` | Default width of the field | `12em`\n\n`<vaadin-text-area>` 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.5.5/#/elements/vaadin-text-field) for the styling documentation.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.", | ||
"extension": true, | ||
@@ -22,0 +22,0 @@ "attributes": [ |
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