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
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
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
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
7c1e171bab
feat(components): [input-number] warn when exceeds the safe integer ( #19405 )
2025-07-11 00:15:18 +02:00
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
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
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 db0116a288299c507e3cfc4d7a22e2207265d920.
* Revert "chore: fix"
This reverts commit 69c82a90c01525e38180be4c21e8ef5602512318.
* chore: fix
* style: `pnpm lint:fix`
* fix: lint
* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
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
7be4a3765e
chore: emits smaller declaration files ( #20109 )
...
* Revert "fix(types): packing unexpected types (#19419 )"
This reverts commit 13506ffb814d2b1300bf57c06648b6b27281c7c5.
* 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
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
244e811b44
chore(eslint-config): add line-between-blocks
rules ( #20051 )
2025-03-08 08:55:02 +08:00
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
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
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
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
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
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
29ae802fae
chore(components): fix test warning ( #16688 )
2024-04-28 14:56:16 +08:00
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
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
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
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
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
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
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
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
b5bf0ebf30
fix(components): [input-number] modelValue incorrect update ( #12007 )
2023-03-16 00:22:37 +08:00
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
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
d51b683be1
fix(components): [input-number] prevent input wheel events ( #11677 )
2023-02-22 20:27:01 +08:00
06126ea571
docs(components): [input-number] ( #11063 )
...
* Update form docs with new syntax.
2023-02-12 01:33:19 +08:00
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
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
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
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
ae4679ac30
fix(components): [input-number] correct input event behavior ( #9850 )
2022-09-21 06:16:14 +00:00
b076b61c01
feat(components): [input-number] add new prop readonly
( #9545 )
2022-08-31 11:47:26 +08:00
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
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
ffd83fda93
refactor(components): [input-number] switch to script-setup syntax ( #7888 )
2022-05-29 03:55:04 +08:00
cce4694eb8
refactor(components): [input-number] use JSX in Unit test ( #7890 )
2022-05-28 09:13:34 +08:00
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