Commit Graph

29 Commits

Author SHA1 Message Date
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