17 Commits

Author SHA1 Message Date
Noblet Ouways
a5d2064936 chore: refine process.env judgment (#23019)
* Revert "chore: only show warnings in dev mode (#22675)"

This reverts commit 1f7cdc3915.

* chore: single condition

* Revert "chore(build): replace process (#21584)"

This reverts commit 86f49acafd.
2025-12-09 13:07:23 +08:00
sea
1f7cdc3915 chore: only show warnings in dev mode (#22675)
* chore: only show warnings in dev mode

* chore: test

* chore: test2

* chore: test3

* chore: test3

* chore: update 4

* chore: update

* chore: update

* chore: update

* chore: update

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

* chore: add security checks to all process

---------

Co-authored-by: btea <2356281422@qq.com>
2025-11-10 09:25:01 +08:00
qiang
b881ef25cb refactor(hooks): [useFocusController] add disabled attribute (#21032)
refactor(hooks): [useFocusController] add disabled prop

Co-authored-by: warmthsea <2586244885@qq.com>
2025-07-01 08:41:35 +00: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
qiang
9539c19b40 style(eslint-config): add rules to restrict the imports of element-plus (#20959)
* style(eslint-config): add rules to restrict the imports of element-plus

* chore: added validation for tsx files

* chore: revert the shell
2025-06-13 17:07:39 +08:00
qiang
14806fe8f8 fix(hooks): [use-focus-controller] repeatedly trigger focus when clicked (#17148)
* fix(components): [input] the focus event is triggered twice

closed #16959, #16961

* fix(hooks): [use-focus-controller] repeatedly trigger focus when clicked

* chore: remove @click.stop
2025-06-12 21:55:22 +08:00
sea
2c29081621 fix(hooks): [use-focus-controller] form-disabled-status not trigger blur (#20891)
* fix(components): [input] form-disabled-status blur not validate

* fix: update hooks

Co-authored-by: xingyixiang <452282988@qq.com>

* test: add form disabled case

* fix: test import

* Update packages/hooks/use-focus-controller/index.ts

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

* refactor: import path

---------

Co-authored-by: xingyixiang <452282988@qq.com>
Co-authored-by: btea <2356281422@qq.com>
2025-06-04 10:44:53 +08:00
btea
d9ed47ec64 fix(components): useProp import circular dep (#20574) 2025-04-27 21:51:02 +08:00
DDDDD12138
16d7e64b24 fix(component): resolve 'cursor' style loss caused by 'pointer-events: none' (#19464)
* feat: remove tabindex when disabled

* fix: resolve 'cursor' style loss caused by 'pointer-events: none'

* Update packages/components/mention/src/mention.vue

Co-authored-by: qiang <qw13131wang@gmail.com>

* chore: update use-focus-controller watch

* chore: remove unnecessary styles

* feat: [select] restore and remove cursor: not-allowed

* feat: override input:disabled use agent stylesheet

* Update packages/theme-chalk/src/select.scss

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

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2025-04-17 07:48:53 +08:00
btea
d7e5f193cd fix: the disabled state should not trigger focus (#18108) 2024-08-31 19:48:48 +08:00
btea
19eaae7171 fix: the disabled state should not trigger focus (#18012)
* fix: the disabled state should not trigger focus

* fix: update

* chore: update

* chore: update test

* Update packages/hooks/__tests__/use-focus-controller.test.tsx

Co-authored-by: qiang <qw13131wang@gmail.com>

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-26 20:46:15 +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
赵添
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
wzc520pyfm
a9b91d1f0f fix(components): [select-v2] corrent focus to input when select clicked (#17362)
* fix(components): [select-v2] fix remote init

remote-search scenarios shoule be not initialized

* Revert "fix(components): [select-v2] fix remote init"

This reverts commit d8326888e3df96dee482b9c8098738bc698215af.

* fix(components): [select-v2] no trigger init-states when filter/remote

* test(components): [select-v2] add test for no init when remote search

* fix(components): [select-v2] add back the necessary condition

* fix(components): [select-v2] correct input focus

input shoule be fouce when click el-select

* fix(components): [select-v2] focus first and then completed taggle-menu
2024-07-30 10:49:46 +08:00
qiang
351774f418 feat(components): [color-picker] add focus and blur event (#14244)
* feat(components): [color-picker] add focus blur event

* docs: updata
2023-10-11 14:13:59 +00:00
qiang
014a99e3e7 fix(hooks): [use-focus-controller] remove unnecessary role attributes (#13749)
fix(hooks): [a11y] remove unnecessary role attributes
2023-07-28 21:25:33 +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