Commit Graph

5914 Commits

Author SHA1 Message Date
iamkun
f9c078ee7b
Merge pull request #17982 from element-plus/dev
D2M
2024-08-23 22:31:30 +08:00
Element
bf00437265
chore: Update changelog 2.8.1 (#17992)
chore: update changelog 2.8.1
2024-08-23 14:20:58 +00:00
Kaine
10bc510772
fix(theme-chalk): replace margin with padding (#15499) 2024-08-23 09:41:08 +08:00
Typed SIGTERM
5f32318377
feat(components): [popconfirm] add actions slot (#17957)
* feat(components): [popconfirm] add actions slot

close #4733

* feat(components): [popconfirm] pass handlers to actions slot

* docs(components): [popconfirm] tweak example

* chore: tweak

* chore: tweak

* chore: update test

---------

Co-authored-by: btea <2356281422@qq.com>
2024-08-23 08:29:34 +08:00
guze2003
00e1ccc2b1
feat(components): [descriptions] add rowspan (#10314)
* feat(components): [descriptions] add rowspan

* fix: type error

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

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

* chore: format

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2024-08-22 21:39:09 +08:00
sea
bdfe30cfa0
chore(components): [dialog] change border-radius to base (#17975)
* style(components): [dialog] change border-radius to base

* style(components): [dialog] change border-radius to base
2024-08-22 16:29:20 +08:00
blesstosam
c657bbe28b
refactor(components): [carousel] use var to replace raw string (#17958) 2024-08-22 15:07:30 +08:00
qiang
7b6e2c2600
docs: rendering example demos on the server side (#17472)
* docs: rendering example demos on the server side

* fix: render error

* chore: update dependencies

* chore: return all teleports
2024-08-22 14:33:13 +08:00
Haceral
9234661993
style(components): [select] add a unique class name for the clear icon (#17575)
Co-authored-by: Haceral <18274416193@163.com>
2024-08-22 09:35:44 +08:00
于智勇
6b7e204e5b
fix(components): [dialog] rename resetPostion to resetPosition (#17900)
* fix(components): [dialog] rename resetPostion to resetPosition

* chore: fix lint

* chore: reset CHANGELOG.en-US.md

---------

Co-authored-by: tolking <qw13131wang@gmail.com>
2024-08-21 22:34:12 +08:00
tkitesy
bd95cc8a46
perf(components): [virtual-list] wrap row with Fragment and set key on it (#8284)
fix(components): [virtual-list] wrap row with Fragment and set key on it

closed #8279

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-21 10:52:12 +08:00
DDDDD12138
b600da6b58
fix(components): add segmented component type to global.d.ts file (#17949)
fix(components): add segmented component type to `global.d.ts` file
2024-08-20 17:34:17 +08:00
Kylin
97652eb14b
refactor(components): [affix] optimized code logic (#17929)
* perf(components): [affix] optimized code logic

* perf(components): [affix] restore the original writing
2024-08-20 11:42:06 +08:00
Simon He
4984d1b014
fix(components): tree nodesMap leak (#10195)
Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-18 15:27:34 +08:00
wzc520pyfm
ec9cfe81dd
fix(components): [segmented] fix async disabled style of selected item (#17716)
* fix(components): [segmented] fix async disabled style of selected item

closed #17715

* fix(components): [segmented] fix async disabled style of selected item

* test(components): [segmented] updated count of disabled test

* chore(components): [segmented] remove redundant code
2024-08-18 11:32:02 +08:00
qiang
ae8328fb9c
fix(components): [table] use isEqual to determine whether it is selected (#17885)
* fix(components): [table] use isEqual to determine whether it is selected

closed #10199, #10263

* test: add test

* test: add test
2024-08-18 11:28:36 +08:00
btea
8fd40c900c
ci: automatically comment when adding conclict label (#17895)
* ci: automatically comment when adding conclict label

* chore: use maintain-one-comment

* chore: update
2024-08-17 17:37:17 +08:00
qi
5b9f446900
fix(components): [button] use tag and disabled comp click triggered (#17804)
* fix(components): [button] use tag and disabled comp click triggered

* refactor: optimize code
2024-08-16 11:01:07 +08:00
blesstosam
1d81c3982d
chore(components): [input] remove repeated export of InputInstance (#17907)
* chore: remove repeated export of InputInstance

* chore: recover settings.json

* fix: lint error

* fix: test

---------

Co-authored-by: WL01-10045094 <weilei@weileideMacBook-Pro.local>
2024-08-16 10:42:05 +08:00
momei
b4c969ca29
fix(components): [time-picker] avoid update initial value when using disabledHours & isRange (#17813)
* fix(components): [time-picker] fix wrong trigger

* fix(components): [time-picker] add test for time-picker

* fix(components): [time-picker] add a test for time-picker

* fix(components): [time-picker] add test for time-picker
2024-08-15 22:50:43 +08:00
Zeng Fanhao
b809dcde4d
fix(components): [table] emptyText/sumText empty string is invalid (#8340)
Co-authored-by: RealityBoy <1923740402@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-15 21:25:26 +08:00
qiang
deb0be1777
fix(components): [table] toggleRowSelection restores previous behavior (#17884)
closed #17870
2024-08-15 21:05:48 +08:00
Kylin
797e39dbe7
chore(components): [select] remove unnecessary assertions (#17893)
perf(components): remove unnecessary assertions
2024-08-14 17:30:31 +08:00
sea
b93e59b065
fix(components): [tree] FireFox dargging dataTransfer judge (#17849)
* feat(components): [tree] FireFox dargging dataTransfer judge

* feat: add remark
2024-08-14 11:47:26 +08:00
qiang
2f69776b30
fix(components): [select] binding click event is invalid (#17876)
* fix(components): [select] binding click event is invalid

closed #17863

* chore: typo
2024-08-14 10:50:23 +08:00
Myo Naing Winn
c2ad4f222c
feat(i18n): add Burmese(my) translation (#17765)
* chore(locale): add non-existing Burmese(my) translations

* chore(locale): remove the suffix comments of the translated items

* chore: format

* chore(locale): update Burmese translation of Breadcrumb

* chore(locale): update Burmese translation of Dropdown, uplod and
readability of Colorpicker, Datepicker, Pagination

---------

Co-authored-by: Myo Naing Win <myo-naing-win@mki.co.jp>
Co-authored-by: btea <2356281422@qq.com>
2024-08-14 02:26:17 +00:00
betavs
8c9165a93a
fix(components): [tree] instance type missing (#17882) 2024-08-13 20:28:52 +08:00
qiang
d59cdc9855
feat(components): [mention] accessibility enhancement (#17848) 2024-08-13 17:59:57 +08:00
Hazel
aca1b0ac58
docs(components): [Space] typo (#10509)
* docs(components):[Space]

* docs(components):[Space]

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-13 15:54:24 +08:00
MARIOMARUI
1794a1cf07
style(theme-chalk): [input-number] fix controlled comps style (#10639)
style(theme-chalk): fix controlled comps style

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-13 11:46:23 +08:00
momei
4f207b0257
style(components): [popper] fix arrow style (#17826) 2024-08-13 10:36:52 +08:00
ntnyq
770ec04694
feat(components): [description] export props types (#17859) 2024-08-13 10:26:06 +08:00
donga-gao
2d6c16fae9
fix(components): [dialog] error calling resetPostion before dialog is rendered (#17855)
fix: [Component][dialog]在dialog显示之前调用dialog.resetPostion()方法会抛异常 #17851

Co-authored-by: gao.dong <gao.dong@bestv.com.cn>
2024-08-13 10:06:38 +08:00
qiang
c0f06a4fc4
docs: remove tip about client-only (#17852) 2024-08-13 08:40:30 +08:00
btea
e608456ad2
feat(components): [cascader] support placement & fallback-placements (#17840) 2024-08-12 09:10:58 +08:00
xingyixiang
9aa70ecd4e
fix(components): [date-picker] disabledDate is invalid when selecting year or month picker (#15848)
* fix(components): [date-picker] props.disabledDate is invalid
when selecting year or month picker

* test(components): [date-picker] props disabledDate

* fix(components): [date-picker] props.disabledDate is invalid

* fix: test

* fix: error

* fix: Disable time validation for date selectors of years and months

* fix: test

* fix: [date-picker] props.disabledDate is invalid

* fix: [date-picker] props.disabledDate is invalid

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-11 19:25:01 +08:00
btea
e815102d70
test(components): default slot test case with type of month or year (#17837) 2024-08-10 11:57:12 +08:00
qiang
dc8cb90130
fix(components): [input] blur event fails when using textarea (#17836)
closed #17825
2024-08-10 11:02:28 +08:00
iamkun
fe415dab9c
Merge pull request #17820 from element-plus/dev
D2M
2024-08-09 14:47:54 +08:00
Element
6d773919e7
chore: Update changelog 2.8.0 (#17821)
chore: update changelog 2.8.0
2024-08-09 06:41:47 +00:00
0song
799430651f
chore: update doc UI (#17819) 2024-08-09 06:29:44 +00:00
知晓同丶
5973402fc0
fix(components): [dialog] appendTo type error (#17814)
closed #17810
2024-08-09 12:55:39 +08:00
知晓同丶
839a702af7
feat(components): [date-picker] add icon slots (#17453)
* feat(components): [date-picker] add icon slots

* chore: update date-picker.md

* feat: add `prev-year`、`next-year` with year range

* Apply suggestions from code review

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-09 12:53:26 +08:00
lyric-zemin
d608f25170
fix(components): [date-picker] Return to normal when reopened (#11802)
* fix(components): [date-picker] Return to normal when reopened

closed #11612

* fix(components): [date-picker] Return to normal when reopened

* test(components): [date-picker] update test

* fix: repeatedly calling the onReset function

---------

Co-authored-by: wu.zeMin <244@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-09 12:49:14 +08:00
btea
2c1b1ca62c
fix(components): [date-picker] slot not take effect when type is month (#17748)
* fix(components): [date-picker] slot not take effect when type is month

* feat: type year support slot

* fix: type

* fix: update

* style: update

* fix: test
2024-08-09 11:15:53 +08:00
myron
0ef4b492b8
fix(components): fixed add listeners not remove on beforeunmount (#17344)
* fix(components): fixed add listeners not remove on beforeunmount

* docs(ci):  close vue hoistStatic mode compile

* Update packages/components/popper/src/trigger.vue

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

* Update packages/components/time-picker/src/common/picker.vue

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

* Update packages/components/tooltip/src/content.vue

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

* Update packages/components/tooltip/src/content.vue

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

* Update packages/components/popper/src/trigger.vue

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

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

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

* Update packages/components/popper/src/trigger.vue

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

* ci: update full bundle vue compiler config, fixed hoistStatic error

* style: eslint fix

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-09 09:40:20 +08:00
Manshu Tusker
7c9414a3c7
fix(components): [statistic] fix excessive decimals when value is NAN (#17798)
fix(components): [statistic]Fix excessive decimals when value is NAN

When the value is NAN, correct the display issue that shows unnecessary decimal points.

closed #17784
2024-08-08 19:38:35 +08:00
Robert Zeng
8692965e80
feat(components): [date-picker] add type yearrange for DatePicker (#14804)
* fix(components): fix bug #14637

* refactor(components): [el-button]update props autoBlur name

* docs(components): [el-button] update docs ablout props clickAutoBlur

* fix(components): [date-picker]  fix bug  #14728

* feat(components): [date-picker] add yearrange

* feat(components): [date-picker] update yearrange codes

* feat(components): [date-picker]fix select range ui bug

* refactor(components): [date-picker]convert setup() to setup, add TS type

* refactor(components): refactor pane-year-range

* refactor(components): [date-picker] refactor panel-year-range styles

* docs(components): [date-picker] update year-range docs #6388 #2487 #7051

* style(components): [date-picker] remove repeat css

* feat(components): [date-picker]add yearrange unit test

* fix(components): [date-picker] fix  unit test case failed error

* fix(components): [date-picker] resolve some pr problems

* docs(components): [yearrange] update docs

* fix(docs): [yearrange] update example of year-range

* refactor(components): [date-picker] resolve some code review suggestions

* fix(components): [date-picker] resolve some CR problems

* refactor(components): [date-picker] resolve some CR conversations

* refactor(components): [date-picker] uniform date compute logic

* fix(components): [date-picker] error occurs when mannul input the date

* refactor(components): [date-picker] resolve some CR conversations

* refactor(components): [date-picker] resolve some CR conversations

* refactor(components): [date-picker] resolve some CR conversations

* refactor(components): [date-picker] optimize YearTableClick func

---------

Co-authored-by: 曾咏波 <cherishtheyouth@qq.com>
Co-authored-by: yongbo.zeng_U+ <yongbo.zeng@united-imaging.com>
Co-authored-by: upthen <zyb.6616@icloud.com>
2024-08-08 11:32:58 +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
Liao-js
c1863f508c
fix(components): [upload] remove file when fileList does not use v-model (#16715) 2024-08-07 17:03:26 +08:00