keeplearning66
1bdfcc3b0d
chore: supplement deprecation annotations ( #23570 )
...
* chore: supplement deprecation annotations
* chore: update
2026-02-01 14:19:59 +08:00
snowbitx
7f5b855a65
refactor(components): [cascader] use type-based definitions ( #23478 )
...
* refactor(components): [cascader] use type-based definitions
* fix: remove CascaderPanelPropsPublic
* chore: remove ExtractPublicPropTypes
* chore: tweaks
---------
Co-authored-by: Dsaquel <291874700n@gmail.com >
2026-01-19 22:04:20 +00:00
btea
561595dfcc
fix(components): [cascader] the prefix slot content is covered by tags ( #23236 )
...
* fix(components): [cascader] the prefix slot content is covered by tags
* fix: update
* fix: update
* fix: apply rabbit suggestion
2025-12-29 18:26:39 +01: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
rzzf
85ac706325
feat(components): [cascader] expose focus and blur methods ( #22737 )
2025-11-10 12:57:57 +08:00
Rainbow
df830df442
fix(components): [cascader/autocomplete] make debounce prop reactive ( #22477 )
...
* fix(components): [cascader/autocomplete] make debounce prop reactive
* fix: update
* test: update
---------
Co-authored-by: btea <2356281422@qq.com >
2025-10-16 10:12:43 +08:00
Rainbow
ee4a7a687c
fix(components): [cascader] issue with expanding levels during search ( #21686 )
...
* fix(components): [cascader] issue with expanding levels during search
* test: add test case
---------
Co-authored-by: Dsaquel <291874700n@gmail.com >
Co-authored-by: liuxianheng <dfwl-liuxianheng@dfwlg.com >
2025-10-09 23:02:08 +02:00
btea
046815e33d
feat(components): [cascader] lazyLoad support reject ( #22283 )
...
* feat(components): [cascader] `lazyLoad` support reject
* feat: update
* fix: update
* feat: remove unnecessary change
* test: add new test
* fix: update
* feat: update
* docs: update
* docs: update
2025-09-29 12:27:16 +02: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
Zhong
a4cdb69638
fix(components): replace KeyboardEvent.code with getEventCode ( #22268 )
...
fix(components): replace `event.code` with `getEventCode`
2025-09-21 20:57:25 +08:00
Zhong
f0bd4335f5
fix(components): [cascader] resolve visibleChange not triggered on Popper hide ( #22206 )
...
* fix(components): [cascader] resolve `visibleChange` not triggered on Popper hide
* test: update
* chore: rerun ci
2025-09-21 11:11:58 +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
Noblet Ouways
67a36d163d
refactor(components): [cascader] externalize tooltip tag from v-for ( #22191 )
...
* refactor(components): [cascader] externalize tooltip tag
* chore: rename allPresentTags => tags
* chore: remove useless `isCollapseTag` property
Co-authored-by: btea <2356281422@qq.com >
---------
Co-authored-by: btea <2356281422@qq.com >
2025-09-19 12:38:53 +08:00
btea
6252d87e6a
test(components): [cascader] dynamic maxCollapseTags ( #22103 )
2025-09-10 17:27:43 +08:00
btea
a9e20d3b9f
fix(components): [cascader] response to change in maxCollapseTags ( #22087 )
2025-09-09 22:50:03 +02:00
Zhong
df88ec60ec
chore(components): improve types and JSDoc for better code hints ( #21998 )
2025-09-02 09:02:00 +08:00
thinkasany
1671338036
refactor(components): [cascader] adjust the ts type ( #21966 )
2025-08-31 15:42:03 +08:00
Kylin
b887cd1917
refactor(components): [cascader] adjust the ts type ( #21963 )
...
* refactor(components): [cascader] adjust the ts type
* refactor(components): [cascader] adjust the State position
2025-08-30 12:27:23 +08:00
Noblet Ouways
68a6b13f57
fix(components): [cascader] allow object type in modelValue ( #21880 )
...
fix(components): [cascader] allow object type as modelValue
closed #21868
2025-08-24 20:10:03 +02:00
oooh
3cb37d47b4
fix(components): [cascader] keep panel open on checkOnClickNode ( #21831 )
...
* fix(components): cascader-panel checkOnClickNode bug
* fix: cascader-panel bug
* test: add test case
* chore: keep previous state
---------
Co-authored-by: Dsaquel <291874700n@gmail.com >
2025-08-24 22:33:02 +08:00
Noblet Ouways
96c5d8ae8c
fix(components): [cascader] treat tagTooltipRef as array ( #21826 )
...
* fix(components): [cascader] treat ̀tagTooltipRef` as array
* Update packages/components/cascader/src/cascader.vue
Co-authored-by: btea <2356281422@qq.com >
* chore: typecheck
---------
Co-authored-by: btea <2356281422@qq.com >
2025-08-21 10:50:36 +02:00
Noblet Ouways
7644c1fe4a
feat(components): [cascader/select/date-picker] add popper-style ( #21807 )
...
* feat(components): add popper style
* test: enforce ci passing
* chore: handle select-v2 & apply review
Co-authored-by: btea <2356281422@qq.com >
* chore: bump for select component
---------
Co-authored-by: btea <2356281422@qq.com >
2025-08-21 10:46:06 +02:00
Zhong
c33aeb4762
fix(components): [cascader] correctly handle focus and blur events ( #21510 )
...
* fix(components): [cascader] correctly handle focus and blur events
* fix: 正确 event type
Co-authored-by: qiang <qw13131wang@gmail.com >
* chore: rerun ci
* fix: close popper on blur
---------
Co-authored-by: qiang <qw13131wang@gmail.com >
2025-08-18 18:48:40 +02:00
Noblet Ouways
c83b99d2f2
feat(components): unify clear btn display on focus ( #21732 )
...
* feat(components): unify clear btn display on focus
* test: add tests
* chore: apply review
2025-08-18 10:54:32 +02:00
Coder Goo
bf0568cacf
feat(components): add custom clear icon ( #21699 )
...
* feat(components): add custom clear icon function
added `clear-icon` property to Cascader, Input, and InputTag components to customize the clear icon.
* Update docs/en-US/component/cascader.md
Co-authored-by: btea <2356281422@qq.com >
* Update docs/en-US/component/cascader.md
Co-authored-by: btea <2356281422@qq.com >
* feat(components): add custom clear icon use case
* docs(components): reduce cascader clear-icon use case options
* Update packages/components/input-tag/src/input-tag.vue
Co-authored-by: btea <2356281422@qq.com >
* Update packages/components/input/src/input.vue
Co-authored-by: btea <2356281422@qq.com >
---------
Co-authored-by: btea <2356281422@qq.com >
2025-08-15 18:47:30 +02:00
Noblet Ouways
bce22dd10d
fix(components): allow null type on empty-values components ( #21582 )
...
* fix(components): allow null type on empty-values components
* refactor(hooks): [empty-values]: allow plain null for `value-on-clear`
2025-08-01 12:27:19 +02:00
Noblet Ouways
907b7b2766
feat(components): [cascader] add check-on-click-leaf attribute ( #21508 )
...
* feat(components): [cascader] add `check-on-click-leaf` attribute
* chore: chore
2025-08-01 10:31:17 +08:00
Zhong
ffbb9e49ad
feat(components): [cascader] add effect prop ( #21507 )
...
* feat(components): [cascader] add effect prop
* fix(components): [cascader] use light as the default value
2025-07-27 20:54:33 +08:00
zepeng
d688af16b0
feat(components): [cascader] add show-checked-strategy prop ( #16922 )
...
* feat(components): [cascader] add showCheckedStrategy prop
* fix(components): [cascader] fix props
* feat(components): [cascader] add `show-checked-strategy` documentation
* Update docs/en-US/component/cascader.md
Co-authored-by: btea <2356281422@qq.com >
* fix(components): [cascader] replace inline props with variables
---------
Co-authored-by: btea <2356281422@qq.com >
2025-07-24 21:27:38 +02:00
Zhong
283fa72bc9
feat(components): [cascader] add header and footer slot ( #21486 )
...
* feat(components): [cascader] add header and footer slot
* docs(components): [cascader] simplify the code
* docs(components): [cascader] merge header and footer example
* docs(components): [cascader] add clear case
2025-07-24 12:03:41 +00:00
snowbitx
7ec0f3a442
feat(components): [cascader] add checkOnClickNode and prefix prop ( #21089 )
...
* feat(components): [cascader] Hide radio in single mode
* feat(components): [cascader] Renamed prop to \`selectOnClick\`
* feat(components): [cascader] Update doc
* feat(components): [cascader] Adjust how data is fetched
* feat(components): [cascader] update type
* Update packages/components/cascader-panel/src/node-content.ts
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* feat(components): [cascader] Merge and fix v-model bug
* feat(components): [cascader] Renamed to checkOnClickNode
* feat(components): [cascader] Renamed to checkOnClickNode
* feat(components): [cascader] merge
* feat(components): [cascader] Add a check
* feat(components): [cascader] Add test case
* feat(components): [cascader] Fix type error
* feat(components): [cascader] Add checkOnClickNode, showRadio props
* feat(components): [cascader] Update doc
* Update packages/components/cascader/src/cascader.ts
Done, thanks!
Co-authored-by: btea <2356281422@qq.com >
* fix: showRadio defaults checkOnClickNode
* test: showRadio fallback behavior
* refactor: rename prop and support checkOnClickNode for multiple mode
* doc:update
* Update packages/components/cascader-panel/src/config.ts
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* docs: tweak props
* docs: update doc
* chore: update doc & fix toggle check
* Update docs/en-US/component/cascader.md
Co-authored-by: btea <2356281422@qq.com >
* Update docs/en-US/component/cascader.md
Co-authored-by: btea <2356281422@qq.com >
* Update docs/en-US/component/cascader.md
Co-authored-by: btea <2356281422@qq.com >
* Update cascader-panel.test.tsx
---------
Co-authored-by: WANGXIAOYU1995 <109521682+WANGXIAOYU1995@users.noreply.github.com >
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
Co-authored-by: btea <2356281422@qq.com >
Co-authored-by: Dsaquel <291874700n@gmail.com >
2025-07-22 17:23:20 +08:00
btea
7b6858374a
fix(components): [cascader] dynamic options render error ( #21405 )
...
* fix(components): [cascader] dynamic optios render error
* fix: remove debugger
* fix: update
* test: dynamic options
2025-07-19 03:21:57 +02:00
Zhong
58a5852d2d
refactor(components): improve component boolean type ( #21260 )
2025-07-06 14:56:17 +02:00
Noblet Ouways
4f8cca0f6c
feat(components): [select/select-v2/cascader] expose more tag options ( #21157 )
...
* feat(components): [select/select-v2] bind `data` for tag slot
* chore: remove console.log
* feat: expose `deleteTag` aswell
---------
Co-authored-by: warmthsea <2586244885@qq.com >
2025-06-29 13:17:20 +00:00
jiaxiang
29f5783d81
refactor(components): [cascader-panel] remove @ts-nocheck and optimize code ( #20014 )
...
* refactor(components): [CascaderPanel] remove tsnocheck and optimize code
* chore: chore
* revert: revert
* chore: add menu type
* chore: remove tsnocheck
* revert: revert
* revert: revert
* refactor: use setup syntax
* fix: type
* chore: add line
* chore: chore
* chore: add update:modelValue Events
* chore: format
* chore: revert
* chore: chore
* fix: error
* chore: remove any and code loss
* fix: code loss
* fix: code loss
---------
Co-authored-by: warmthsea <2586244885@qq.com >
2025-06-23 17:09:40 +08:00
WANGXIAOYU1995
4f56d01f04
feat(components): [cascader] add tag slot ( #20994 )
...
* feat(components): [cascader] add showFirstOnly to show top-level label
* feat(components): [cascader] add unit test cases
* Revert "feat(components): [cascader] add unit test cases"
This reverts commit 8cbb9d44ee .
* Revert "feat(components): [cascader] add showFirstOnly to show top-level label"
This reverts commit 5ca520dff8 .
* feat(components): [cascader] Added a new slot `tag`
* Revert "feat(components): [cascader] Added a new slot `tag`"
This reverts commit 99062da169 .
* feat(components): [cascader] Added a new slot `tag`
* feat(components): [cascader] Optimize slot and update doc
* Update packages/components/cascader/src/cascader.vue
Good catch, committed.
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* Update docs/en-US/component/form.md
Sure, I’ve committed the suggestion. Thanks again!
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* feat(components): [cascader] Add test case
* feat(components): [cascader] update to expose tree node info
* feat(components): [cascader] update 'presentTags' and docs
* feat(components): [cascader] optimize code
* feat(components): [cascader] update doc
* feat(components): [cascader] update function name
* Update packages/components/cascader/src/cascader.vue
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* Update packages/components/cascader/src/cascader.vue
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* chore: minor tweaks
* feat(components): [cascader] Update test case
* docs: update Cascader Slots
---------
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
Co-authored-by: Dsaquel <291874700n@gmail.com >
Co-authored-by: warmthsea <2586244885@qq.com >
2025-06-18 15:51:59 +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
Robert Zeng
0d466303c0
feat(components): [cascader]add a props to control tooltip maxHeight ( #20933 )
...
* feat(components): [cascader]add a props to control tooltip maxHeight
* fix(components): [cascader] fix max-height setting of scrollbar
* docs(components): [cascader]add props maxCollapseTagsTooltipHeight docs
* feat(components): [cascader]add unit test
* feat(components): [cascader]remove extra logic of max tooltip height
* fix(components): [cascader]remove props defalut value
* docs(components): [cascader]add version for the new props
Co-authored-by: btea <2356281422@qq.com >
* docs(components): [cascader]fix lint
* test(components): [cascader]optimize max height props test case
* test(components): [cascader]optimize component import
* Update packages/components/cascader/src/cascader.vue
* fix: lint
---------
Co-authored-by: btea <2356281422@qq.com >
2025-06-12 21:39:39 +08:00
Noblet Ouways
c493763f70
fix(components): [cascader-panel] check if children label are comments ( #20899 )
...
* fix(components): [cascader-panel] check if children label are comments
* refactor: better
* chore: fix type
Co-authored-by: dopamine <coderzyou@gmail.com >
* chore: fix type v2
Co-authored-by: btea <2356281422@qq.com >
* chore: review & test
Co-authored-by: btea <2356281422@qq.com >
---------
Co-authored-by: dopamine <coderzyou@gmail.com >
Co-authored-by: btea <2356281422@qq.com >
2025-06-04 12:19:49 +08:00
btea
1e0297b118
test(components): [cascader] with placelhoder pass empty string ( #20902 )
2025-06-02 10:20:08 +02:00
btea
0a85cc0a10
fix(components): [cascader] placeholder should be blank if pass a empty string ( #20896 )
...
fix(components): [cascader] placeholder should be blank if pass a empty
2025-05-30 16:47:03 +08:00
betavs
420d4ff75c
fix(components): [cascader] safeguard arrow modifier access in popper options ( #20732 )
...
fix(components): [cascader] safeguard arrow modifier
2025-05-14 06:31:48 +00: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
sea
b2a1da6bfe
fix(components): [cascader] prevent default behavior when pressing a key to toggle suggestion list ( #19897 )
...
fix(components): [cascader] suggestion key-down scroll warn
2025-02-18 18:42:39 +08:00
DiamondYuan
7700838ed3
feat(components): [cascader] add suggestion slot ( #19866 )
...
* feat(components): [cascader] add suggestion-item slot
* docs: add version to suggestion item slot demo
Co-authored-by: btea <2356281422@qq.com >
* Update docs/en-US/component/cascader.md
---------
Co-authored-by: btea <2356281422@qq.com >
2025-02-18 11:37:18 +08:00
David Kitano
40a616ea1a
feat(components): [cascader] add prefix slot ( #19631 )
...
* feat(components): [cascader] add prefix slot
* docs(components): [cascader] add preview slot
* Revert "docs(components): [cascader] add preview slot"
This reverts commit 1a40ca13ea .
* docs(components): [cascader] revert for typo
* fix(components): do not render prefix if prefix slot is not used
* docs(components): [cascader] prefix version number added
Co-authored-by: btea <2356281422@qq.com >
* docs(components): [cascader] format docs
---------
Co-authored-by: btea <2356281422@qq.com >
2025-01-18 09:23:33 +08:00
jiaxiang
8942354083
fix(components): [cascader] multiple selection mode tag causes height change ( #18285 )
...
* fix(style): [cascader] fix style
* fix(style): [cascader] gap
* fix: update
* style: update
* fix: update
* style: update
* fix: update
* style: update
* style: update
2024-11-22 22:18:41 +08:00
qiang
343cacf5cc
fix(components): numpadEnter does not work like the Enter ( #18855 )
2024-11-14 21:14:51 +08:00