keeplearning66
1bdfcc3b0d
chore: supplement deprecation annotations ( #23570 )
...
* chore: supplement deprecation annotations
* chore: update
2026-02-01 14:19:59 +08:00
lw56777
3c06466ee3
refactor(components): [input-number] use type-based definitions ( #23404 )
...
* refactor(components): [input-number] InputNumberProps
* refactor(components): [input-number] update props and types
* fix: docs size
* fix: Add deprecated label to InputNumberProps
* fix: docs
* Update packages/components/input-number/src/input-number.vue
Co-authored-by: rzzf <cszhjh@gmail.com >
* Update packages/components/input-number/src/input-number.vue
Co-authored-by: rzzf <cszhjh@gmail.com >
* Update packages/components/input-number/src/input-number.vue
* fix: participants for btea
---------
Co-authored-by: rzzf <cszhjh@gmail.com >
2026-01-18 16:26:53 +08:00
rzzf
f959095ec3
test(components): [input-number] avoid reusing Event instance in test ( #23258 )
2025-12-30 20:03:18 +08:00
dopamine
0ca1570aa1
chore: upgrade to Vue 3.5 ( #22096 )
...
* chore: upgrade deps
* chore: replace __ExtractPublicPropTypes with ExtractPublicPropTypes
* fix: get rid of type errors
* fix: resolve test errors with @vue/test-utils v2.4.6
* fix: resolve test errors with Vue 3.5.22
* ci: set pnpm flag
* chore: update the Vue peer dependency version
* Apply suggestion from @tolking
Co-authored-by: qiang <qw13131wang@gmail.com >
* docs: update example code
Co-authored-by: warmthsea <2586244885@qq.com >
* chore: remove csstype (#22487 )
* chore: fix merge code type error
* chore: fix test:ssr error
- Cannot read properties of undefined (reading 'getSSRProps')
* chore: fix typecheck:vitest error
* chore: update pnpm yaml file
* test: fix collapse accordion error
* chore: update deps
* chore: fix type error
* chore: lock file
* chore: sync change
sync with the remove of vue macro
* refactor: use computed instead of eagerComputed
* fix: timeline.test.tsx typecheck
* chore: clean lock file
try dont throw CodeFactor issues in ci
did:
- rm pnpm-lock.yaml
- rm -rf ./**/node_modules
- pnpm store prune
- pnpm cache delete
- pnpm install
Also stay in 3.1.0 for vue-tsc in order to avoid the warnings of
template refs, see https://github.com/vuejs/language-tools/issues/5815
* chore: format code
---------
Co-authored-by: Dsaquel <291874700n@gmail.com >
Co-authored-by: qiang <qw13131wang@gmail.com >
Co-authored-by: warmthsea <2586244885@qq.com >
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com >
Co-authored-by: btea <2356281422@qq.com >
2025-12-16 09:34:03 +08:00
Jeff
663607ad8b
test(components): add case about the disabled value of component has the highest priority ( #23042 )
...
* test: button add form disabled case
* test: cascader add test case
* test: checkbox add test case
* test: colorPicker add test case
* test: inputNumber add test case
* test: input add test case
* test: radio add test case
* feat: rate add test case
* test: segemented add test case
* test: select add test case
* test: selectV2 add test case
* test: slider add test case
* test: switch add test case
* test: timeselect add test case
* Update packages/components/button/__tests__/button.test.tsx
Co-authored-by: btea <2356281422@qq.com >
* test: modify desc
* test(components): clean annotation
* Update packages/components/time-select/__tests__/time-select.test.tsx
Co-authored-by: rzzf <cszhjh@gmail.com >
* Update packages/components/time-select/__tests__/time-select.test.tsx
Co-authored-by: rzzf <cszhjh@gmail.com >
---------
Co-authored-by: btea <2356281422@qq.com >
Co-authored-by: rzzf <cszhjh@gmail.com >
2025-12-11 13:11:08 +08:00
btea
2d64179491
refactor!: the disabled value of component has the highest priority ( #18739 )
...
* refactor!: the disabled value of component has the highest priority
* fix: update
* fix: compatible with switch loading
* feat: apply to cascader, select, select-v2
* fix: update
* fix: update selectv2
* fix: update autocomplete
* fix: date-picker-panel
* fix: update rate/slider/upload
* fix: slider error
* fix: update checkbox
* fix: checkbox error
2025-12-01 21:20:57 +08:00
betavs
f30bfaa09b
fix(components): [input-number] correct condition for user input reset ( #21283 )
2025-11-14 17:53:16 +08:00
Carl Chen
9b9fd97da1
fix(components): [input-number] fix step-strictly precision ( #14359 )
...
fix(components): [el-input-number] fix step-strictly precision
Co-authored-by: qiang <qw13131wang@gmail.com >
2025-10-16 22:12:37 +08:00
Zhong
2c27be46af
fix(components): [input-number] arrow key repeat and disabled-scientific not working ( #22382 )
...
* fix(components): [input-number] resolve keyboard control anomaly
* fix: commpatible
* Update packages/components/input-number/src/input-number.vue
Co-authored-by: qiang <qw13131wang@gmail.com >
* fix: update
* fix: update
---------
Co-authored-by: qiang <qw13131wang@gmail.com >
2025-10-04 10:20:01 +08:00
qiang
9043e16d94
fix: the KeyboardEvent.code is always empty string on Android ( #22228 )
...
closed #20330
2025-09-21 01:23:38 +02:00
btea
5e402ac252
fix(components): [input-number] dynamic precision render value ( #21558 )
...
* fix(components): [input-number] dynamic precision render value
* chore: test case
2025-07-31 15:44:12 +08:00
snowbitx
da67d58a97
feat(components): [input-number] add disabled-scientific prop ( #21319 )
...
* feat(components): [input-number] add disableScientific prop
* chore: useless change
* Update basic.vue
* Update basic.vue
* Update docs/en-US/component/input-number.md
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* refactor: merge events
* test: add test case
* chore: tweaks
* Update notes
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update docs/en-US/component/input-number.md
Co-authored-by: btea <2356281422@qq.com >
* chore: rename prop
---------
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
Co-authored-by: Dsaquel <291874700n@gmail.com >
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: btea <2356281422@qq.com >
2025-07-18 22:38:49 +08:00
snowbitx
da08a2ffaf
feat(components): [input-number] add align prop ( #21291 )
...
* feat(components): [input-number] add align prop
* refactor: change implementation
* refactor: simplify SCSS
* test: add align prop class test
* test: fix type error
* Update packages/components/input-number/src/input-number.ts
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* Update docs/en-US/component/input-number.md
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* chore: useless change
---------
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
2025-07-17 15:45:24 +08:00
btea
de625a1403
feat(components): [input-number] change the min and max default value ( #21302 )
...
* feat(components): [input-number] change the min and max default value
* docs: update
2025-07-11 00:16:29 +02:00
btea
7c1e171bab
feat(components): [input-number] warn when exceeds the safe integer ( #19405 )
2025-07-11 00:15:18 +02:00
yuhengshen
cfc661c626
feat(types): [components] add public prop types ( #21222 )
...
* feat(types): [utils] add ExtractPublicPropTypes type
* feat(types): [components] add props public type
* chore(types): use type-only import for Prop from 'vue'
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
---------
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
2025-07-07 00:51:32 +08:00
fratzinger
bc7773b673
feat(components): [input] native inputmode prop for el-input & el-input-number ( #14997 )
...
* feat(components): add native inputmode for el-input
* feat(components): add native inputmode for el-input-number
Please enter the commit message for your changes. Lines starting
* chore: rm "props" in template
2025-06-20 20:24:26 +08:00
Noblet Ouways
2f17df1209
style(eslint-config): newline before import type ( #21036 )
...
* perf: change to import-x
* feat: add rules
* chore: fix rule
* chore: fix
* chore: fix
* chore: fix
* style: `pnpm lint:fix`
* Revert "style: `pnpm lint:fix`"
This reverts commit db0116a288 .
* Revert "chore: fix"
This reverts commit 69c82a90c0 .
* chore: fix
* style: `pnpm lint:fix`
* fix: lint
* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
DDDDD12138
4e821c5552
fix(components): [input-number] clear display content after non-numeric input ( #19538 )
...
fix: clear display content after non-numeric input
2025-05-29 15:36:37 +08:00
忆白°
ca533d18f9
fix(components): [input-number] Improve modelValue prop type ( #16124 )
...
* fix(components): [input-number] Improve modelValue prop type
* Update packages/components/input-number/src/input-number.ts
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com >
---------
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com >
2025-05-20 17:29:46 +08:00
dopamine
7be4a3765e
chore: emits smaller declaration files ( #20109 )
...
* Revert "fix(types): packing unexpected types (#19419 )"
This reverts commit 13506ffb81 .
* Revert "chore: add explicit type annoation (#19352 )"
* fix(typescript): borken import paths in declaration files
* chore: emits smaller declaration files
2025-03-18 10:08:44 +08:00
thinkasany
7dbac0e1bc
chore: use event constants instead string ( #20104 )
...
* chore: use UPDATE_MODEL_EVENT constants
* chore: update INPUT_EVENT & CHANGE_EVENT
2025-03-12 15:52:07 +08:00
sea
244e811b44
chore(eslint-config): add line-between-blocks rules ( #20051 )
2025-03-08 08:55:02 +08:00
btea
81d5b4beda
chore: [input-number] add comment ( #19044 )
...
* chore: [input-number] add comment
* Update packages/components/input-number/src/input-number.vue
Co-authored-by: qiang <qw13131wang@gmail.com >
---------
Co-authored-by: qiang <qw13131wang@gmail.com >
2024-11-29 07:59:32 +08:00
雨溪
f7ffee32d9
fix(components): [input-number] Chinese can be displayed in the numeric input box ( #19018 )
2024-11-28 21:11:46 +08:00
Aaron-zon
da7c8cec1d
test(components): [input-number] ensure that length restriction exceptions can be caught ( #18988 )
...
fix(components): ensure that length restriction exceptions can be caught
2024-11-22 16:02:45 +08:00
guze2003
c8d0d35e3f
feat(components): [input-number] add prefix and suffix ( #17993 )
...
* feat(components): [input-number] add prefix and suffix
* Update docs/en-US/component/input-number.md
Co-authored-by: btea <2356281422@qq.com >
* Update docs/en-US/component/input-number.md
Co-authored-by: btea <2356281422@qq.com >
* Update docs/en-US/component/input-number.md
Co-authored-by: btea <2356281422@qq.com >
* Update docs/en-US/component/input-number.md
Co-authored-by: btea <2356281422@qq.com >
* Update docs/en-US/component/input-number.md
Co-authored-by: btea <2356281422@qq.com >
* Update docs/en-US/component/input-number.md
Co-authored-by: btea <2356281422@qq.com >
* Update docs/en-US/component/input-number.md
Co-authored-by: btea <2356281422@qq.com >
* Update packages/components/input-number/src/input-number.vue
Co-authored-by: btea <2356281422@qq.com >
* Update packages/components/input-number/src/input-number.vue
Co-authored-by: btea <2356281422@qq.com >
* feat(components): [input-number] add prefix and suffix
* feat(components): [input-number] add prefix and suffix
* feat(components): [input-number] add prefix and suffix
---------
Co-authored-by: btea <2356281422@qq.com >
2024-09-23 15:14:29 +08:00
KESHAOYE
18a77d5829
fix(components): step-strictly is true and should keep the initial value and step matching ( #18277 )
...
* fix(components): 修复step-strictly为true时初次渲染组件v-model与输入框中显示的值不同的问题
When step strictly is set to true, the initial rendering of component v-model differs from the value
displayed in the input box。See issue # 18275 for details。
closed #18275
* fix: unit test error
* test(components): [input-number] test cases with fixes added
2024-09-17 13:36:36 +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
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