@vaadin/text-area
Advanced tools
Comparing version 24.4.0-dev.b3e1d14600 to 24.4.0-rc1
{ | ||
"name": "@vaadin/text-area", | ||
"version": "24.4.0-dev.b3e1d14600", | ||
"version": "24.4.0-rc1", | ||
"publishConfig": { | ||
@@ -41,9 +41,9 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/a11y-base": "24.4.0-dev.b3e1d14600", | ||
"@vaadin/component-base": "24.4.0-dev.b3e1d14600", | ||
"@vaadin/field-base": "24.4.0-dev.b3e1d14600", | ||
"@vaadin/input-container": "24.4.0-dev.b3e1d14600", | ||
"@vaadin/vaadin-lumo-styles": "24.4.0-dev.b3e1d14600", | ||
"@vaadin/vaadin-material-styles": "24.4.0-dev.b3e1d14600", | ||
"@vaadin/vaadin-themable-mixin": "24.4.0-dev.b3e1d14600", | ||
"@vaadin/a11y-base": "24.4.0-rc1", | ||
"@vaadin/component-base": "24.4.0-rc1", | ||
"@vaadin/field-base": "24.4.0-rc1", | ||
"@vaadin/input-container": "24.4.0-rc1", | ||
"@vaadin/vaadin-lumo-styles": "24.4.0-rc1", | ||
"@vaadin/vaadin-material-styles": "24.4.0-rc1", | ||
"@vaadin/vaadin-themable-mixin": "24.4.0-rc1", | ||
"lit": "^3.0.0" | ||
@@ -60,3 +60,3 @@ }, | ||
], | ||
"gitHead": "502d4f5b03f770a83d270d98078cde230254dd0e" | ||
"gitHead": "a81e3b927d44c56613fa4e1307494a2acc81005f" | ||
} |
@@ -8,3 +8,2 @@ # @vaadin/text-area | ||
[![npm version](https://badgen.net/npm/v/@vaadin/text-area)](https://www.npmjs.com/package/@vaadin/text-area) | ||
[![Discord](https://img.shields.io/discord/732335336448852018?label=discord)](https://discord.gg/PHmkCKC) | ||
@@ -11,0 +10,0 @@ ```html |
/** | ||
* @license | ||
* Copyright (c) 2021 - 2023 Vaadin Ltd. | ||
* Copyright (c) 2021 - 2024 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
@@ -64,2 +64,12 @@ */ | ||
pattern: string; | ||
/** | ||
* Scrolls the textarea to the start if it has a vertical scrollbar. | ||
*/ | ||
scrollToStart(): void; | ||
/** | ||
* Scrolls the textarea to the end if it has a vertical scrollbar. | ||
*/ | ||
scrollToEnd(): void; | ||
} |
/** | ||
* @license | ||
* Copyright (c) 2021 - 2023 Vaadin Ltd. | ||
* Copyright (c) 2021 - 2024 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
@@ -182,2 +182,16 @@ */ | ||
/** | ||
* Scrolls the textarea to the start if it has a vertical scrollbar. | ||
*/ | ||
scrollToStart() { | ||
this._inputField.scrollTop = 0; | ||
} | ||
/** | ||
* Scrolls the textarea to the end if it has a vertical scrollbar. | ||
*/ | ||
scrollToEnd() { | ||
this._inputField.scrollTop = this._inputField.scrollHeight; | ||
} | ||
/** | ||
* Returns true if the current textarea value satisfies all constraints (if any). | ||
@@ -184,0 +198,0 @@ * @return {boolean} |
/** | ||
* @license | ||
* Copyright (c) 2021 - 2023 Vaadin Ltd. | ||
* Copyright (c) 2021 - 2024 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* @license | ||
* Copyright (c) 2021 - 2023 Vaadin Ltd. | ||
* Copyright (c) 2021 - 2024 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* @license | ||
* Copyright (c) 2021 - 2023 Vaadin Ltd. | ||
* Copyright (c) 2021 - 2024 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* @license | ||
* Copyright (c) 2021 - 2023 Vaadin Ltd. | ||
* Copyright (c) 2021 - 2024 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* @license | ||
* Copyright (c) 2017 - 2023 Vaadin Ltd. | ||
* Copyright (c) 2017 - 2024 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* @license | ||
* Copyright (c) 2017 - 2023 Vaadin Ltd. | ||
* Copyright (c) 2017 - 2024 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* @license | ||
* Copyright (c) 2017 - 2023 Vaadin Ltd. | ||
* Copyright (c) 2017 - 2024 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* @license | ||
* Copyright (c) 2017 - 2023 Vaadin Ltd. | ||
* Copyright (c) 2017 - 2024 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
@@ -5,0 +5,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
68639
21
1446
60
+ Added@vaadin/a11y-base@24.4.0-rc1(transitive)
+ Added@vaadin/component-base@24.4.0-rc1(transitive)
+ Added@vaadin/field-base@24.4.0-rc1(transitive)
+ Added@vaadin/icon@24.4.0-rc1(transitive)
+ Added@vaadin/input-container@24.4.0-rc1(transitive)
+ Added@vaadin/vaadin-lumo-styles@24.4.0-rc1(transitive)
+ Added@vaadin/vaadin-material-styles@24.4.0-rc1(transitive)
+ Added@vaadin/vaadin-themable-mixin@24.4.0-rc1(transitive)
- Removed@vaadin/a11y-base@24.4.0-dev.b3e1d14600(transitive)
- Removed@vaadin/component-base@24.4.0-dev.b3e1d14600(transitive)
- Removed@vaadin/field-base@24.4.0-dev.b3e1d14600(transitive)
- Removed@vaadin/icon@24.4.0-dev.b3e1d14600(transitive)
- Removed@vaadin/input-container@24.4.0-dev.b3e1d14600(transitive)
- Removed@vaadin/vaadin-lumo-styles@24.4.0-dev.b3e1d14600(transitive)
- Removed@vaadin/vaadin-material-styles@24.4.0-dev.b3e1d14600(transitive)
- Removed@vaadin/vaadin-themable-mixin@24.4.0-dev.b3e1d14600(transitive)
Updated@vaadin/a11y-base@24.4.0-rc1