35 Commits

Author SHA1 Message Date
rzzf
d5c8de0b5f fix(components): [mention] remove the whole input containing a split (#23753) 2026-03-11 10:30:30 +08:00
E66
d473123ba3 fix(components): [mention] avoid selecting disabled items by pressing Enter (#23645)
* Update mention-dropdown.vue

* fix(components): [mention] disabled item selected on enter

* Update mention-dropdown.vue

* test(components): [mention] add test cases for disabled options

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

Co-authored-by: rzzf <cszhjh@gmail.com>

* Apply suggestion from @rzzf

Co-authored-by: rzzf <cszhjh@gmail.com>

* Apply suggestion from @rzzf

Co-authored-by: rzzf <cszhjh@gmail.com>

* Apply suggestion from @rzzf

Co-authored-by: rzzf <cszhjh@gmail.com>

* Apply suggestion from @rzzf

Co-authored-by: rzzf <cszhjh@gmail.com>

* Apply suggestion from @rzzf

Co-authored-by: rzzf <cszhjh@gmail.com>

* Update mention.test.tsx

* Update packages/components/mention/__tests__/mention.test.tsx

---------

Co-authored-by: rzzf <cszhjh@gmail.com>
2026-02-12 18:15:57 +08:00
keeplearning66
1bdfcc3b0d chore: supplement deprecation annotations (#23570)
* chore: supplement deprecation annotations

* chore: update
2026-02-01 14:19:59 +08:00
btea
598af41d99 feat(build): add supply-validator-plugin plugin (#23458)
* feat(hooks): add useValidator hook

* fix: lint

* feat: add plugin

* chore: add dep

* fix: update

* chore: update script

* fix: remove never used `mergeDefaults`
2026-01-22 12:55:10 +08:00
E66
99befe08f0 refactor(components): [mention] use type-based definitions (#23440) 2026-01-18 18:41:34 +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
Rainbow
56f05a6522 feat(components): [mention/menu/dropdown/pagination] add popper-style (#22278)
* feat: add popper-style

* fix: update

* docs: update version number
2025-09-29 14:51:22 +08:00
一只前端汪
7c16480bcd refactor(style): Update Eslint to V9 and Prettier to V3 (#21949)
* refactor(style): Update Eslint to V9 and Prettier to V3

* fix: vscode color

* fix: vscode color

* chore: remove Useless dependence and old config file

* chore: format

* Merge branch 'dev' into eslintV9

* fix: fix

* fix: ssr test

* fix: ssr test

* fix: use defineConfig

* fix: prettier format and ignore docs dist

* fix: index.mjs => index.js

* fix: Vscode color

* fix: prettier ignore global.d.ts

* fix: format

---------

Co-authored-by: 2586740555 <15972343+CYJ090915@user.noreply.gitee.com>
2025-09-29 14:14:30 +08:00
sea
6d8045e625 improvement(components): trigger enter open tooltip (#19830)
* feat(components): [autocomplete] trigger-on-enter attributes

* feat: update test

* feat: update

* feat: update

* test: update

* chore: fix

Co-authored-by: Dsaquel <291874700n@gmail.com>

* chore: deplace preventDefault for date pickers

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-09-21 11:04:46 +02:00
qiang
9043e16d94 fix: the KeyboardEvent.code is always empty string on Android (#22228)
closed #20330
2025-09-21 01:23:38 +02:00
Rainbow
66c37f139f feat(components): [mention] support props prop (#21980)
* feat(components): [mention] support props prop

* feat: update

* feat: update

* feat: update

* feat: update

* feat: update

* docs: update

* feat: update

* Apply suggestions from code review

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* docs: update version number

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-09-10 22:13:10 +08:00
Zhong
4845caab13 fix(components): [mention] correct cursor position (#22070)
* fix(components): [mention] correct cursor position

* test: add test

* fix: use wrapper as a reference
2025-09-08 12:30:05 +02:00
56jun
e4d3ce2970 feat(components): [mention] add whole-remove event (#21050)
* feat(components): [mention] 添加mention-remove事件,当props.whole为真且移除提及项时触发

* feat(components): [mention] 添加whole-remove事件,当props.whole为真且移除提及项时触发

* feat(components): [mention]添加 whole-remove事件,并更新了文档说明

* feat(components): [mention]添加 whole-remove事件,并更新了文档说明

* feat(components): [mention]添加 whole-remove事件,并更新了文档说明

* feat(components): [mention]添加 whole-remove事件,并更新了文档说明

* Update docs/en-US/component/mention.md

---------

Co-authored-by: btea <2356281422@qq.com>
2025-07-10 16:40:18 +08: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
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
kooriookami
afd36831f7 fix(components): [mention] fix missing input emit (#20651) 2025-05-08 11:00:55 +08:00
w2xi
ec5a5001c4 fix(components): [mention] the input event is not be triggered when selecting a mention (#20549)
fix(components): [mention] the input event is not be triggered when selecting a mention (close #20548)
2025-04-27 09:00:42 +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
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
sea
31f08e0954 test: use test fn replace sleep (#19977)
* test: use test fn replace sleep

* test: update
2025-02-26 16:21:04 +08:00
btea
13506ffb81 fix(types): packing unexpected types (#19419)
* fix(types): packing unexpected types

* fix: update

* fix: autocomplete

* fix: update mention & transfer
2024-12-27 17:15:42 +08:00
DDDDD12138
0e9c6c062d fix(components): prevent blur event when is disabled (#19320)
fix: prevent blur event when is disabled
2024-12-25 21:55:44 +08:00
qiang
343cacf5cc fix(components): numpadEnter does not work like the Enter (#18855) 2024-11-14 21:14:51 +08:00
sea
a7a3b59023 fix(components): [mention] ref dom array order error when list changes (#18787)
* fix(components): [mention] ref dom array order error when list changes

* chore: update index
2024-11-08 21:10:46 +08:00
btea
2cb7d1cb03 fix(components): [mention] keyboard control options not work as expected (#18751)
* fix(components): [mention] keyboard control options not work as expected

* fix: use mousemove instead of mouseenter

* chore: update
2024-11-05 12:42:48 +08:00
Summer
bd245cabdc feat(components): [mention] explicit export dropdownVisible (#18460)
* feat(components): [mention] explicit export dropdownVisible

* feat(components): [mention] mention component docs update

* docs: unify format

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2024-10-09 21:56:08 +08:00
Summer
7e4682a2ee fix(components): [mention] native event triggered twice (#18453) 2024-10-09 21:54:50 +08:00
qiang
3a37320944 fix(components): [mention] replace props.disabled with useFormDisabled (#18119)
* fix(components): [mention] replace props.disabled with useFormDisabled

* test: add test
2024-09-02 17:51:05 +08:00
btea
d7e5f193cd fix: the disabled state should not trigger focus (#18108) 2024-08-31 19:48:48 +08:00
qiang
d59cdc9855 feat(components): [mention] accessibility enhancement (#17848) 2024-08-13 17:59:57 +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