diff --git a/packages/main/src/TextArea.ts b/packages/main/src/TextArea.ts
index 5e5631dbb386..81cd6e12c57c 100644
--- a/packages/main/src/TextArea.ts
+++ b/packages/main/src/TextArea.ts
@@ -66,25 +66,14 @@ type ExceededText = {
* When empty, it can hold a placeholder similar to a ui5-input
.
* You can define the rows of the ui5-textarea
and also determine specific behavior when handling long texts.
*
- *
ui5-textarea
exposes the following CSS Shadow Parts:
- * import "@ui5/webcomponents/dist/TextArea";
*
* @constructor
- * @author SAP SE
- * @alias sap.ui.webc.main.TextArea
- * @extends sap.ui.webc.base.UI5Element
- * @tagname ui5-textarea
+ * @extends UI5Element
* @public
+ * @csspart textarea - Used to style the native textarea
*/
@customElement({
tag: "ui5-textarea",
@@ -99,7 +88,6 @@ type ExceededText = {
/**
* Fired when the text has changed and the focus leaves the component.
*
- * @event sap.ui.webc.main.TextArea#change
* @public
*/
@event("change")
@@ -108,7 +96,6 @@ type ExceededText = {
* Fired when the value of the component changes at each keystroke or when
* something is pasted.
*
- * @event sap.ui.webc.main.TextArea#input
* @since 1.0.0-rc.5
* @public
*/
@@ -118,11 +105,9 @@ class TextArea extends UI5Element implements IFormElement {
/**
* Defines the value of the component.
*
- * @type {string}
- * @name sap.ui.webc.main.TextArea.prototype.value
* @formEvents change input
* @formProperty
- * @defaultvalue ""
+ * @default ""
* @public
*/
@property()
@@ -132,9 +117,7 @@ class TextArea extends UI5Element implements IFormElement {
* maxlength
property is set,
* the component turns into "Warning" state once the characters exceeds the limit.
* In this case, only the "Error" state is considered and can be applied.
- * @type {sap.ui.webc.base.types.ValueState}
- * @name sap.ui.webc.main.TextArea.prototype.valueState
- * @defaultvalue "None"
+ *
+ * @default "None"
* @since 1.0.0-rc.7
* @public
*/
@@ -201,9 +177,7 @@ class TextArea extends UI5Element implements IFormElement {
* height
property wins over the rows
property, if both are set.value
can have.
*
- * @type {sap.ui.webc.base.types.Integer}
- * @name sap.ui.webc.main.TextArea.prototype.maxlength
- * @defaultValue null
+ * @default null
* @public
*/
@property({ validator: Integer, defaultValue: null })
@@ -229,10 +201,7 @@ class TextArea extends UI5Element implements IFormElement {
* If set to true
the characters exceeding the maxlength
value are selected on
* paste and the counter below the component displays their number.
*
- * @type {boolean}
- * @name sap.ui.webc.main.TextArea.prototype.showExceededText
-
- * @defaultvalue false
+ * @default false
* @public
*/
@property({ type: Boolean })
@@ -241,9 +210,8 @@ class TextArea extends UI5Element implements IFormElement {
/**
* Enables the component to automatically grow and shrink dynamically with its content.
* valueStateMessage
would be displayed if the component has
* valueState
of type Information
, Warning
or Error
.
- * @type {HTMLElement[]}
- * @name sap.ui.webc.main.TextArea.prototype.valueStateMessage
+ *
* @since 1.0.0-rc.7
- * @slot
* @public
*/
@slot()
@@ -353,9 +312,7 @@ class TextArea extends UI5Element implements IFormElement {
/**
* The slot is used to render native input
HTML element within Light DOM to enable form submit,
* when name
property is set.
- * @type {HTMLElement[]}
- * @name sa.ui.webc.main.TextArea.prototype.formSupport
- * @slot
+ *
* @private
*/
@slot()