Commit Graph

64 Commits

Author SHA1 Message Date
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
kooriookami
29ae802fae
chore(components): fix test warning (#16688) 2024-04-28 14:56:16 +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
Canroc
73de14fbfb
fix(components): [input-number] fix binding wheel event warning (#16495)
* fix(components): [input-number] fix binding wheel event warning

* remove unnecessary code

---------

Co-authored-by: chibaopeng <15640244455@163.com>
2024-04-18 18:00:08 +08:00
dopamine
22ac4c56f2
fix(components): [input-number] fix cascading style order (#16308)
fix(components): [number-input] fix cascading style order
2024-04-02 14:42:33 +08:00
selicens
1ec6fe5830
feat(components): [input-number] support slot custom icons (#16275)
* feat(components): support slot custom icons

* chore:add version identifier

Co-authored-by: btea <2356281422@qq.com>

* chore: adjusting Layout

* docs: add version

* chore: rename slots

* test: update test cases

* docs: uodate description

* chore: rename

---------

Co-authored-by: btea <2356281422@qq.com>
2024-03-29 14:10:29 +08:00
希亚的西红柿
33f41f7795
fix(components): [input-number] fix default value reset error (#15725) (#15725)
* fix(components): [input-number] fix default value reset error

* test(components): [input-number] fix value default value reset error
2024-02-27 17:48:17 +08:00
dopamine
9c9ebec0ea
fix(components): [number-input] cannot scroll the container when the mouse pointer over an input (#15211) 2024-02-04 11:06:39 +08:00
一只前端汪
d553ae3920
fix(components): [input-number] Displayed values is different from modelValue when use model-value (#15184)
* fix(components): [input-number] Displayed values error

* feat: remove await

* fix: remove async

* fix: arrange

* feat: add tset case
2023-12-28 14:58:10 +08:00
kooriookami
b7a05e7687
fix(components): [input-number] Fix not trigger change event and incorrect value display (#15066)
* fix(components): [input-number] Fix not trigger change event

closed #14967

* fix(components): [input-number]

* test(components): update test

* fix(components): fix #14438
2023-12-12 12:08:16 +08:00
Karolis_Stoncius_Sneakybox
268457135e
feat(components): added aria-level attributes for dialog and drawer headers; Fixed input-number's aria-valuenow being null (#13822)
* feat(components): [dialog] added dialog header aria-level attribute

To pass accessibility tests elements with role="heading" require aria-level

* feat(components): [drawer] added drawer header aria-level attribute

To pass accessibility tests elements with role="heading" require aria-level

* fix(components): [input-number] prevent aria-valuenow from being null

To pass accessibility tests aria-valuenow cannot be null

* fix(components): [input-number] fix number input when 0 and update test

Fixes a bug where number input's aria-valuenow will be set to '' when input's value is 0. Also
updates a failing test

* refactor(components): [dialog] change default aria-level to 2

* docs(components): dialog and drawer header aria-level docs update

* docs(components): change headerAriaLevel type to string

* docs(components): kebab-case for docs
2023-08-24 20:14:59 +08:00
20savage
701940731a
fix(components): [input-number] add Judging if the max is greater than the min (#12741)
fix(components): update Judging if the max is greater than the min

closed #12741
2023-05-13 11:15:52 +08:00
Mario34
b5bf0ebf30
fix(components): [input-number] modelValue incorrect update (#12007) 2023-03-16 00:22:37 +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
Mario34
d51b683be1
fix(components): [input-number] prevent input wheel events (#11677) 2023-02-22 20:27:01 +08:00
Xc
06126ea571
docs(components): [input-number] (#11063)
* Update form docs with new syntax.
2023-02-12 01:33:19 +08:00
sleepyShen1989
930dd4f76b
fix(components): [input-number] fix args order (#11020)
closed https://github.com/element-plus/element-plus/issues/11015
2022-12-20 10:23:31 +08:00
Stephen.K
c39d591251
fix(components): input-number 0 can not triger change event (#10980)
* fix(components): input-number 0 can not triger change event

* fix(components): use isNumber(userInput)

* test(components): change event add input 0 case
2022-12-16 08:50:17 +08:00
kooriookami
3e9a2c5cd1
fix(components): [input-number] Fix decrease and increase disabled (#10787) 2022-11-27 09:01:30 +08:00
白雾三语
1d20619c50
fix(components): [input-number] Input actions can update values (#10329)
* fix(components): [input-number] Input actions can update values

* fix(components): [input-number] added unit test

* fix(components): [input-number] format

* fix(components): [input-number] update

Co-authored-by: chenzhihui <18281682921@qqcom>
2022-11-21 21:20:47 +08:00
jarven
a8c6df5958
fix(components): [input-number] increase and decrease error (#10067)
fix(components): [input-number]  increase and decrease error (#10063)
2022-10-27 15:11:29 +08:00
三咲智子
31f530a06c
refactor(directives): [repeat-click] refactor (#9853) 2022-09-21 15:01:49 +08:00
zz
ae4679ac30
fix(components): [input-number] correct input event behavior (#9850) 2022-09-21 06:16:14 +00:00
zz
b076b61c01
feat(components): [input-number] add new prop readonly (#9545) 2022-08-31 11:47:26 +08:00
Hefty
72d0bc2177
fix(components): add validate-event for form types component (#8173)
* fix(components): add validate-event for form types component

* chore: format code
2022-07-02 21:01:05 +08:00
sorry
d20e58ecbb
fix(components): [input-number] Fix value decimals miss prop precision (#8587)
* fix(components): [input-number] Fix value decimals miss prop precision
2022-07-02 15:38:07 +08:00
류한경
86ef8abbb7
refactor(components): [input-number] convert to a constant (#8066) 2022-06-03 01:39:00 +08:00
zz
ffd83fda93
refactor(components): [input-number] switch to script-setup syntax (#7888) 2022-05-29 03:55:04 +08:00
zz
cce4694eb8
refactor(components): [input-number] use JSX in Unit test (#7890) 2022-05-28 09:13:34 +08:00
zz
efdab3ba8b
refactor(components): [input-number] export component instance type (#7886)
* refactor(components): [input-number] export component instance type

* chore: fix props
2022-05-26 02:31:52 +00:00
Xc
a1bc742f7f
fix(components): [input-number] enhanced precision (#7777)
* fix: input-number enhanced precision

* Update packages/components/input-number/src/input-number.vue

use explicit conversion

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>

* Update packages/components/input-number/src/input-number.vue

use explicit conversion

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>

* fix: input-number enhanced precision processing

* fix(input-number): enhanced precision

* fix(input-number): ebhanced precision

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-05-24 13:42:09 +08:00
Carter Li
2577b06328
feat(components): [input-number] add :value-on-clear and make it nullable (#7724) 2022-05-17 01:16:44 +08:00
opengraphica
7173e402b7
feat(components): [form-item] auto attach labels to inputs (#7450)
* feat(components): [form-item] auto attach labels to inputs

* feat(components): [form-item] auto-attach up through select

* feat(components): [form-item] auto id complete for all inputs

* feat(components): [form-item] fix lint, remove unused usePopper hook

* feat(components): [form-item] PR comments
2022-05-05 22:04:32 +08:00
Xc
654428d144
fix: input-number precision accuracy (#7398)
Enhanced precision processing.
2022-05-02 16:38:08 +08:00
三咲智子
1d13ebb05d
feat: drop jest (#7248)
* feat: drop jest

* test: remove ssr

* test: rename

* chore: update tsconfig
2022-04-19 16:51:44 +08:00
Delyan Haralanov
de0ee53cf0
test(components): switch all components to vitest (#7205)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-19 12:46:57 +08:00
三咲智子
184facdb4c
chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
Xc
e5b1606b74
perf(components): [input-number] components review (#6683)
* perf: input-number components review

* perf: delete never used , perf calculation formula

* perf: input-number review

* perf: input-number review

* perf: input-number review

* perf: input-number review

Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-03-25 15:20:40 +08:00
Xc
c6b69e217d
fix: input-number in step-strictly onChange bug (#6662)
Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-03-16 21:53:57 +08:00
三咲智子
b8c38a9fe5
chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
三咲智子
c72679e4e9
refactor(components)!: refactor form (#5401)
* refactor(components): refactor form

* refactor: resolve PR comments

* refactor(components): refactor isNested

* refactor: resolve PR comments
2022-03-06 22:20:56 +08:00
三咲智子
6503e55277
refactor(utils): migrate utils (#5949)
* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils): remove

* refactor(utils): rename

* refactor(utils): move EVENT_CODE to constants

* refactor: remove generic
2022-02-11 11:03:15 +08:00
三咲智子
c1e5d724d8
refactor(utils-v2): refactor utils (#5699) 2022-02-09 16:59:08 +08:00
核心已转储
8f91f98796
fix(compnents): [el-input-number] cannot read properties of null (reading 'setAttribute') #5691
* fix(components): [input-number]  exist#5691
2022-02-09 10:50:14 +08:00
Alan Wang
acf8fbd8ee
fix(components): [el-input-number]do not change undefined to NaN (#5049)
* fix(components): [el-input-number]do not change undefined to NaN

* fix(components): [el-input-number]change null
2022-01-19 15:27:29 +08:00
Valar103769
0fed0f469e
refactor(components): [input, input-number] add namespace (#5488) 2022-01-19 14:38:53 +08:00
msidolphin
1888d3c06b
fix: [input-number] modelValue change to non-required (#4338)
fix #4323
2022-01-18 10:36:26 +08:00
kooriookami
ae36824189
fix: fix el-input-number inputting will trigger form validate (#4838) 2022-01-07 16:37:58 +08:00
Alan Wang
49ec0d6206
fix(components): [el-input-number]set undefined to modelValue (#4869) 2021-12-29 14:27:23 +08:00