chore(components): remove deprecated 2.8.0 (#17735)

* chore(components): remove deprecated 2.8.0

* chore(components): update
This commit is contained in:
kooriookami
2024-08-02 11:08:24 +08:00
committed by GitHub
parent 0456c790db
commit 0f8282520f
23 changed files with 18 additions and 239 deletions

View File

@ -43,7 +43,7 @@
:readonly="readonly"
:autocomplete="autocomplete"
:tabindex="tabindex"
:aria-label="label || ariaLabel"
:aria-label="ariaLabel"
:placeholder="placeholder"
:style="inputStyle"
:form="form"
@ -123,7 +123,7 @@
:readonly="readonly"
:autocomplete="autocomplete"
:style="textareaStyle"
:aria-label="label || ariaLabel"
:aria-label="ariaLabel"
:placeholder="placeholder"
:form="form"
:autofocus="autofocus"
@ -185,7 +185,6 @@ import {
useAttrs,
useComposition,
useCursor,
useDeprecated,
useFocusController,
useNamespace,
} from '@element-plus/hooks'
@ -517,17 +516,6 @@ onMounted(() => {
nextTick(resizeTextarea)
})
useDeprecated(
{
from: 'label',
replacement: 'aria-label',
version: '2.8.0',
scope: 'el-input',
ref: 'https://element-plus.org/en-US/component/input.html',
},
computed(() => !!props.label)
)
defineExpose({
/** @description HTML input element */
input,