Commit Graph

3733 Commits

Author SHA1 Message Date
btea
bd2a88b0e3 test(components): [notification] dangerouslyUseHTMLString test case (#19131) 2024-12-05 10:30:16 +08:00
dopamine
f4d3547fa5 chore: stop re-exporting isVNode (#19108) 2024-12-05 10:30:00 +08:00
wzc520pyfm
718ffcfb85 chore(components): improve type for popper effect (#17860)
* chore(components): improve type for popper effect

Abort #17758 #17751 #17040 #17030

* chore: use `NonNullable<unknown>` instead of `{}`

* chore(components): extract a common type for popper effect

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-12-05 09:44:47 +08:00
Noblet Ouways
1b6b451e36 fix(components) [notification] display html as string (#19068)
* fix(components): [notification]

html as string case

closed #19067

* fix(components): [notification] missing test function returning vnode

* fix(components): [notification] handle vnode message
2024-12-04 17:34:37 +08:00
qiang
72a0eebf4f fix(components): [input-tag] trigger the add of tag when Chinese is Composing (#19079)
fix(components): [input-tag] trigger the add of tag when is Composing
2024-12-03 07:49:03 +08:00
qiang
d416dd74b0 feat(components): [input-tag] new component (#18885)
* feat(components): [input-tag] add input-tag component

* feat: styles

* test: add test

* docs: add docs

* docs: updata

* docs: uopdata

* docs: updata

* fix: optimize the style when input too long text

* feat: add draggable attribute

* fix: regain focus after dragged

* fix: regain focus on dragend

* refactor: useDragTag

* fix: style of disabled

* refactor: rename event name

* refactor: move useCalcInputWidth to hooks

* feat: add aria-label
2024-11-29 10:50:21 +08:00
thinkasany
1cf151575d fix(components): [time-picker] click the Cancel button twice to close time picker (#18938)
* fix(components): [time-picker] Cancel button twice to close

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

* Update packages/components/time-picker/src/time-picker-com/panel-time-range.vue

---------

Co-authored-by: xingyixiang <452282988@qq.com>
Co-authored-by: cdk1025 <cdk1025@foxmail.com>
2024-11-29 10:20:37 +08:00
伊墨
8363b72be4 fix(components): [notification] type declaration error and four types of methods are missing context parameters (#18951)
* fix(components): [notification] type declaration error

* feat(components): four types of methods add context parameters

* test: [notification] add test case
2024-11-29 09:58:35 +08:00
Noblet Ouways
3c734df53e fix(components): [time-picker] add passive modifier on touchstart event (#19046)
fix(components): [time-picker]

add passive modifier on touchstart event

closed #19045
2024-11-29 09:22:01 +08:00
btea
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
qiang
5a87198d08 build(build): [package] remove imports with side effects (#18670)
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2024-11-28 21:06:07 +08:00
qiang
990aa4b768 feat(components): [select] add tabindex attribute (#19034) 2024-11-28 13:54:05 +08:00
sea
803c37dc69 chore(deps): update gulp-sass use new Sass JS API (#19024) 2024-11-27 23:45:59 +08:00
DDDDD12138
41c70ce573 style(components): [table] use --font-size-base for default font size (#18725)
* style(components): [table] use '-font-size-base' for default font size

* Update packages/theme-chalk/src/common/var.scss

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

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-11-27 23:40:14 +08:00
btea
a2f43777c3 fix(components): [table] fixed column style when lazyload title (#19020) 2024-11-27 10:26:10 +08:00
dopamine
976f5e5088 fix(components): [select] change states.filtertedOptionsCount to filteredOptionsCount.value (#19010) 2024-11-26 10:04:02 +08:00
qiang
6c6e4c67e2 fix(components): [input] the cursor error when click show-password (#19003)
closed #18387, #18831
2024-11-24 20:02:02 +08:00
Evan
349a2e9c16 feat(components): [transfer] add custom empty slot for transfer panels (#18929)
* feat(components): [transfer] add custom empty slot for transfer panels

* docs: [transfer] add description and example

* test(components): add transfer component test

* docs: add version tag

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

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

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2024-11-24 03:46:48 +00:00
btea
e28e0f303e chore: format code (#18999) 2024-11-23 22:51:12 +08:00
DDDDD12138
776ae477fe fix(components): [date-picker] resolve v-model type inconsistency (#18888)
* fix(components): [date-picker] resolve  v-model type inconsistency

* test: add unit test form CommonPicker
2024-11-23 17:44:43 +08:00
btea
ad2f8507a0 fix(components): [select] the disabled state should render the input tag (#18443)
* fix(components): [select] the disabled state should render the input tag

* fix: sync select
2024-11-22 22:40:47 +08:00
btea
20ad79cc98 chore(components): [time-picker] fix ts error (#18993)
chore: fix ts error
2024-11-22 22:36:33 +08:00
Jungzl
9f0132ace8 fix(components): [calendar] respect table semantics (#18552) 2024-11-22 22:34:19 +08:00
btea
a699b21876 style(components): [button] keep default hover color of link unchanged (#17050)
* style(components): [button] keep default hover color of link unchanged

* style: use var

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2024-11-22 22:31:16 +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
知晓同丶
209a803df8 fix(components): [tree-select] expose selectedLabel (#18981)
fix(components): [tree-select] Completion select exposed function
2024-11-22 20:04:39 +08:00
Aaron-zon
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
知晓同丶
9bf729fbeb feat(components): [tree-v2] add slot empty (#18980)
* feat(components): [tree-v2] add slot `empty`

* prettier format

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

* fix: prettier format

* test: add test case

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2024-11-21 20:49:50 +08:00
Aaron-zon
2bef172a07 test(components): fix test cases in select.test.ts (#18969) 2024-11-21 20:30:33 +08:00
blesstosam
f1e95dc3a9 feat(components): [table] expose scroll event (#12524)
* feat(components): [table] expose scroll event

* chore: update doc
2024-11-20 21:49:22 +08:00
Delyan Haralanov
76a586d62e fix(components): [tag] make stubbed Transition work in tests (#18928) 2024-11-20 20:59:30 +08:00
qiang
b80744c045 fix(components): [image-viewer] unable to capture focus (#17919)
* fix(components): [image-viewer] unable to capture focus

closed #7180

* fix: error

* fix: style

* fix: add release-requested
2024-11-20 09:33:59 +08:00
刺·猬
84fb6933c3 feat(i18n): add Malay(ms) translation (#18932) 2024-11-19 13:27:17 +00:00
thinkasany
55dd94b395 fix(types): improve styles type by CSSProperties (#18942) 2024-11-19 21:21:28 +08:00
DDDDD12138
b724f7f87a feat(components): [notification] add support for message as a Function (#18558)
* feat(components): [Notification] add support for message as a Function

* feat: add example of Notification with VNode

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

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

* feat: update version

---------

Co-authored-by: btea <2356281422@qq.com>
2024-11-19 15:15:28 +08:00
sea
768f5999f8 improvement(components): [tooltip] dom ref types (#18923) 2024-11-17 14:14:25 +08:00
sea
300b58c548 fix(components): [select] keep the selected label (#18549)
* fix(components): [select] keep the selected label

* style: op code & fix eslint warn

* fix: update

* feat: update cu
Co-authored-by: dopamine <coderzyou@gmail.com>

* feat: update cu

Co-authored-by: dopamine <coderzyou@gmail.com>

* feat: update cu

Co-authored-by: dopamine <coderzyou@gmail.com>

* update select.test.ts

Co-authored-by: dopamine <coderzyou@gmail.com>

* chore: delete useless code

---------

Co-authored-by: dopamine <coderzyou@gmail.com>
2024-11-17 14:06:44 +08:00
jiaxiang
e0777ef567 feat(components): [tree-v2] add props.class prop (#18911)
* feat(components): [tree-v2] allow tree node to have customizable class

* docs: update docs

* docs: add demo

* docs: update

* fix: update
2024-11-16 23:44:06 +08:00
betavs
f0f578d713 fix(components): [table] repeat setting the height style (#16054) 2024-11-15 09:30:51 +08:00
Manshu Tusker
0cc526e1c1 fix(components): [select-v2] resolve overlap of tags and placeholder (#18388)
* fix(components): [select-v2] resolve overlap of tags and placeholder

closed #18382

* Update packages/components/select-v2/src/useSelect.ts

ok

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

---------

Co-authored-by: btea <2356281422@qq.com>
2024-11-14 21:24:48 +08:00
qiang
343cacf5cc fix(components): numpadEnter does not work like the Enter (#18855) 2024-11-14 21:14:51 +08:00
Harry Li
6a3dccaad8 feat(components): [description-item] add labelWidth prop (#18673)
* feat(components): [description-item] add labelWidth prop

* feat(docs): [description-item] add labelWidth prop in api

* feat(components): [descriptions] add test code for

* fix(components): [descriptions] more maintainable width compute

* feat(docs): [descriptions] add version tips for label-width prop

* feat(docs): [descriptions] update label-width support version

* chore: code format

* feat(components): [descriptions] add labelWidth to descriptions

* feat(components): [descriptions] add test code for labelWidth

* feat(components): [descriptions] add docs for new labelWidth props

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2024-11-13 17:34:37 +08:00
Stephen.K
9e763f77fa fix(components): time-picker disabled-[hours/minutes/seconds] (#13364) (#14216)
* fix(components): time-picker disabled-[hours/minutes/seconds] (#13364)

* feat(components): callback compareDate not support range time picker

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-11-13 17:10:19 +08:00
ToyCat93
90c45e108d fix(components): [pagination] input style loss (#18878) 2024-11-13 10:33:14 +08:00
蓝桥春雪
62bade4fda fix(components): [select & select-v2] status-icon is invalid (#18101)
fix(components): [select & select-v2] The check result icon is still displayed when status-icon is false

Co-authored-by: 蓝桥春雪 <yj.wang3@sinitek.com>
2024-11-12 20:17:29 +08:00
sea
84f5d6f13a fix(components): [select] getValueIndex empty error (#18867)
* fix(components): [select] getValueIndex judgment error

* feat: update
2024-11-12 15:57:27 +08:00
DDDDD12138
4f04bcd46f feat(components): [select] add offset and show-arrow prop (#18837)
feat: add show-arrow prop to control dropdown arrow visibility
2024-11-11 17:10:48 +08:00
xingyixiang
ffb30818cf fix(components): [table] failed to insert tooltip when show-overflow-tooltip is enabled (#18317)
* fix:The namespace of the showOverflowTooltip is invalid.

* fix(components): [scrollbar] multiple rendering

* fix(components): [scrollbar] multiple rendering

* fix(components): [scrollbar] multiple rendering

* Update packages/components/scrollbar/src/bar.vue

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

* test(components): [scrollbar] adjusting style attributes

* fix(components): [table] Failed to insert node when show-overflow-tooltip is enabled

* fix(components): [table] Failed to insert node when show-overflow-tooltip is enabled

* fix(components): [table] Failed to insert node when show-overflow-tooltip is enabled

* fix(components): [table] Failed to insert node when show-overflow-tooltip is enabled

---------

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2024-11-10 16:02:34 +08:00
btea
c0f071e464 fix(components): [table] table-layout:auto fixed column misalignment (#18736)
* fix(components): [table] `table-layout:auto` fixed column misalignment

* fix: update

* fix: update

* fix: update

* Update packages/components/table/src/table-header/index.ts

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

* Update packages/components/table/src/table-header/index.ts

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

* fix: lint

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-11-10 14:39:45 +08:00