Commit Graph

89 Commits

Author SHA1 Message Date
qiang
845c07adef
feat(components): [date-picker] accessibility enhancement (#18109)
* feat(components): [date-picker] accessibility enhancement

closed #14150

* docs: update

* test: add test

* chore: change prevent to passive

* fix: long press the clear icon to open the time panel

* fix: cannot read $el

* fix: cannot read $el

* docs: updata
2024-10-27 12:14:53 +08:00
Lo
5917190205
feat(components): [input] show pwd visible icon when the input is readonly (#18458)
feat(components): [input] show pwd visible icon when input is readonly
2024-10-15 13:35:34 +08:00
btea
d7e5f193cd
fix: the disabled state should not trigger focus (#18108) 2024-08-31 19:48:48 +08:00
btea
344c218d01
test(components): [pagination/input] test case (#18080) 2024-08-29 20:20:58 +08:00
dopamine
8618a6bcd0
refactor: import shared utilities from @element-plus/utils (#18048)
chore: import shared utilities from `@element-plus/utils`
2024-08-29 09:04:03 +08:00
blesstosam
1d81c3982d
chore(components): [input] remove repeated export of InputInstance (#17907)
* chore: remove repeated export of InputInstance

* chore: recover settings.json

* fix: lint error

* fix: test

---------

Co-authored-by: WL01-10045094 <weilei@weileideMacBook-Pro.local>
2024-08-16 10:42:05 +08:00
qiang
dc8cb90130
fix(components): [input] blur event fails when using textarea (#17836)
closed #17825
2024-08-10 11:02:28 +08:00
qiang
949479699b
refactor(hooks): determine the focus by event listening (#17719)
* refactor(hooks): determine the focus by event listening

* test: skip the focus test

* test: fix test

* feat(hooks): add beforeFocus

* fix: optimize blur

* chore(components): [mention] remove focus & blur
2024-08-07 18:35:30 +08:00
dopamine
79938178dd
build: use vue-tsc to generate dts (#16111)
* build: use vue-tsc to generate dts

* reduce inline type declaration

* fix: type checking failed

* apply suggestions from code review

* address PR comments
2024-08-07 12:01:46 +08:00
kooriookami
0f8282520f
chore(components): remove deprecated 2.8.0 (#17735)
* chore(components): remove deprecated 2.8.0

* chore(components): update
2024-08-02 11:08:24 +08:00
赵添
0456c790db
feat: add mention component (#17586)
* feat: add mention component

* fix: build error

* fix: build error

* feat: delete as a whole

* fix: update docs

* fix: update global.d.ts

* fix: update

* fix: update code

* fix: update code

* fix: update code

* fix: rename

* fix: update code

* fix: upload code

* fix: update code

* fix: fixed cursor position abnormality

* fix: update code

* fix: docs add avatar

* fix: tooltip position is wrong when placing on top

* feat: add overview icon

* fix: overview icon color
2024-08-02 11:00:26 +08:00
qiang
233d38b631
refactor(hooks): rewrite composition as a composable function (#14240)
* refactor(hooks): rewrite composition as a composable function

* fix(components): [select] avoid navigateOptions when composing Chinese

* fix: error

* chore: change afterComposition
2024-07-28 21:11:20 +08:00
chouchouji
2564007850
refactor(components): optimize component boolean type (#17622)
* refactor(components): optimize component boolean type

* style(components): [overlay] fromat code
2024-07-25 14:17:23 +08:00
sleepyShen1989
56d1afa283
fix(components): [input] add prop "row" explicit declare (#17085) 2024-07-21 13:23:04 +08:00
btea
39ac0b5a0d
fix(components): [input] class bind error corresponding to dynamic slot (#17194) 2024-06-15 12:40:06 +08:00
btea
73968424d7
feat(components): [input] add is-focus class name when textarea focus (#17049) 2024-06-03 11:44:18 +08:00
kooriookami
bd1613d599
feat(hooks): add use-aria hooks (#16598)
* feat(hooks): add use-aria hooks

* feat(components): update

* feat(hooks): update

* feat(hooks): update
2024-04-23 13:56:44 +08:00
Xc
beaac3736c
fix(components): [input] type hidden use class (#15865) 2024-02-20 13:02:20 +08:00
YoungDan-hero
5ae172962b
fix(components): [input] resolve input attributes issue for textarea (#15514)
fix(components): resolve input attributes issue for textarea

The minlength and maxlength attributes were not working properly when the input type was set to textarea. This commit fixes this issue, ensuring these attributes function as expected for textarea inputs.
2024-01-15 17:06:54 +08:00
afe1
49ca14fecd
fix(components): [input] remove useless contants (#15351)
* fix(components): [input] remove useless contants

* fix: remove useless contants
2024-01-04 20:52:17 +08:00
류한경
62206bb0c0
fix(components): [input] remove unnecessary properties (#15220) 2023-12-22 09:56:46 +08:00
一只前端汪
c4dac14f1b
refactor(components): [input] get maxlength and minlength from props instead of attrs (#15212)
* refactor(components): [input] get maxlength and minlength from props

* refactor: remove default
2023-12-21 14:30:57 +08:00
btea
e5a3a13760
fix(components): [input] input-style rendering error (#15174)
fix(components): [el-input] input-style rendering error
2023-12-17 12:49:28 +08:00
Hefty
09bb91abef
fix(components): [input] missing autofocus types (#14246)
* fix(components): [input] missing autofocus types

closed #14243

* fix: autofocus default to false
2023-09-14 10:25:51 +08:00
Evan Liu
55272b51c3
chore(components): [input] fix inputStyle comment typo (#13768) 2023-07-29 08:55:02 +08:00
btea
8fc38655b0
refactor(components): [input] extract InputInstance (#13620) 2023-07-18 17:37:21 +08:00
qiang
704399fadd
fix(components): [input] lose focus when click suffix icon (#13264)
* feat(hooks): add useFocusController

* fix(components): [input] lose focus when click suffix icon

closed #13153, #13159

* refactor(hooks): use-focus-controller

* test: fix test

* test: update

* fix(theme-chalk): [input] add cursor style to the wrapper
2023-07-13 16:41:18 +08:00
wzc520pyfm
03e2a15411
fix(components): [input] fix formatter and parse problem (#12622)
* fix(components): [input] fix formatter and parse problem

closed #12613

* fix(components): [input] fix input value problem

* fix(components): [input] update return value for input event emit

* test(components): [input] add test for formatter and parser
2023-06-04 13:51:44 +08:00
btea
105d79b0d9
refactor: extract isClient and isNumber isBoolean (#12504)
* refactor: extract isClient and isNumber isBoolean

* test: update test

* refactor: extract isClient to browser
2023-04-20 20:00:49 +08:00
井柏然
6c20f21831
fix(components): [input] textarea height calc (#12087) 2023-03-23 16:42:16 +00:00
Hefty
6026035c8e
fix(components): [input] scrollbar not hide after autosize (#10137)
* fix(components): [input] scrollbar not hide after autoresize

closed #8825

* chore: add note for force repaint

* chore: remove useless type

* fix: duplicate call calcTextareaHeight
2023-03-20 09:51:57 +08:00
btea
b38607f53b
fix(components): [input] update input value length calculate (#11816)
* fix(components): [input] update input value length calculate

* fix: update test
2023-03-10 14:52:40 +08:00
Jeremy
4c27822ef0
fix(components): circular referencing issue (#11777)
* fix(components): circular referencing issue

* Move sizes related into hooks.
* Remove size definitions in forms only re-exports.

* chore: fix failing tests
2023-03-01 16:44:09 +08:00
Jeremy
11925c8231
refactor(tokens) - [form] (#11743)
* refactor(tokens): [form] - remove tokens/form

* Move content in tokens/form to components/form.
* Replace token imports in components/form.

* chore: remove form/tokens and replace imports

* refactor(components): [form/form-item]

* Move `useForm` related hooks to components/form
* Replace references to reduce circular dependencies.
2023-02-27 13:19:20 +08:00
acyza
9d3d77c674
fix(components): [input] fix textarea autosize (#11376)
* fix(components): [input] fix textarea autosize
2023-02-14 23:51:32 +08:00
acyza
55bfb50a4d
fix(components): [input] use v-if throw exception (#11187)
* fix(components): [input] use v-if throw exception

* fix(components): [input] remove the non-null assertion
2023-02-05 19:35:32 +08:00
Xc
8ee73a4183
fix(components): [input] prefix and suffix add click focus event (#10674) 2022-11-20 15:00:19 +08:00
iamkun
2167a01822
docs: fix error text (#10587) 2022-11-12 09:52:31 +08:00
Xc
d1e615eca7
docs(components): [input] (#10513)
* docs(components): [input]
* Update input doc
* Add description for input props
* Add exposes attribute to doc
* Add a11y tag

* docs(components): [input]
2022-11-09 23:57:22 +08:00
Xc
e7843c02c4
refactor(components): [input] export instance type (#10368) 2022-11-02 22:32:06 +08:00
Hefty
8dafd0aa53
perf(components): [input] remove useless calculation (#10092)
No need to calculate icon offset after change to the `flex` layout
2022-10-14 18:16:48 +08:00
Hefty
2d69499935
fix(components): [input] missing native form attribute (#10093)
* fix(components): [input] missing native form attribute

closed #9827

* fix: change form prop default value to undefined
2022-10-14 18:15:57 +08:00
Xc
7b2f1c5bb9
fix(components): [input] memory leak (#9965) 2022-10-02 09:23:53 +08:00
Xc
fa312f0b85
fix(components): [input] formatted values are out of sync (#9501)
Co-authored-by: RealityBoy <1923740402@qq.com>
2022-08-31 13:45:38 +08:00
zz
f5fa7e741f
refactor(utils): refactor iconPropType (#9502) 2022-08-28 13:20:07 +08:00
류한경
9d8bad8419
fix(components): [input] fix type error (#8731) 2022-07-10 15:09:50 +08:00
三咲智子
7097940f4a
refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
btea
bf2d671142
refactor(components): [input] fix ts error (#8200) 2022-06-13 14:49:18 +08:00
류한경
94808e8ec9
fix(components): [input] hide eye icon if no value (#8096) 2022-06-08 09:24:15 +08:00
opengraphica
42ff59fc39
feat(components): [date-picker] work with modal focus trap; a11y controls and attributes (#7598)
* feat(components): [date-picker] a11y controls and attributes

* feat(components): [date-picker] keyboard controls for picker

* feat(components): [date-picker] unit test complete

* feat(components): [date-picker] remove immediate watch date
2022-05-10 21:51:17 +08:00