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
jiaxiang
440691805b
docs(components): fix type error of the tree-v2 filter demo ( #18927 )
2024-11-17 20:09:24 +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
jiaxiang
23ce3ff8f1
chore: fix type error of the tree customNodeClass demo ( #18920 )
...
chore: fix type error of the tree demo
2024-11-16 21:52:39 +08:00
thinkasany
28106bd3ec
docs(components): use ""
replace null for no icon setting ( #18824 )
...
* docs(components): use replace null for no icon setting
* docs: fix
2024-11-08 14:53:18 +08:00
chenweiyi
3eb734ccc4
feat(components): [skeleton] throttle
supports values as object ( #17041 )
...
* fix(components): [skeleton] `throttle` property not working
* fix: lint fix
* feat: add func & doc & test
* feat: remove test modify
* feat: increase document examples, improve document descriptions
* fix(components): [skeleton] `throttle` property not working
* fix: lint fix
* feat: add func & doc & test
* feat: remove test modify
* feat: increase document examples, improve document descriptions
* feat: 重构`useThrottleRender`钩子以提高代码可读性和效率
- 简化了对`throttle`参数的判断逻辑,通过`isNumber`函数判断是否为数字
- 将`leadingDispatch`和`trailingDispatch`函数合并为`dispatcher`函数,根据传入的类型判断执行逻辑
- 优化了`watch`回调函数,使用`dispatcher`函数替代重复的判断逻辑
* feat: 写法优化
* feat: 引入`isObject`函数替代原有的`typeof throttle === 'object'`判断方式
* feat: 优化骨架屏文档结构和示例
* feat: 完善文字描述和修改对应的文件名
* Update docs/en-US/component/skeleton.md
Co-authored-by: btea <2356281422@qq.com>
* Update docs/en-US/component/skeleton.md
Co-authored-by: btea <2356281422@qq.com>
* feat: Optimize code writing
* Update docs/en-US/component/skeleton.md
Co-authored-by: btea <2356281422@qq.com>
* Update docs/en-US/component/skeleton.md
* feat: modify doc
* feat: md
* feat: 补充 useThrottleRender 钩子的测试用例
* feat: 将 SkeletonThrottle 类型移动到hook中, 重命名为 ThrottleType 以提高通用性
---------
Co-authored-by: btea <2356281422@qq.com>
2024-11-07 21:31:16 +08:00
thinkasany
6fa9f78a65
docs: fix type error for autocomplete ( #18762 )
2024-11-05 21:27:56 +08:00
thinkasany
6b1e951368
feat(components): segmented support vertical direction ( #18653 )
...
* feat(components): segmented support vertical direction
* fix(components): improve
* fix(components): empty commit
* fix(components): update api to direction
* chore(components): use n.m
* fix(components): improve
* fix(components): fix
* fix(components): fix
* Update docs/examples/segmented/custom-direction.vue
Co-authored-by: btea <2356281422@qq.com>
* Update docs/examples/segmented/custom-direction.vue
Co-authored-by: btea <2356281422@qq.com>
* fix(components): lint fix
---------
Co-authored-by: btea <2356281422@qq.com>
2024-10-31 22:52:43 +08:00
guze2003
c8d0d35e3f
feat(components): [input-number] add prefix and suffix ( #17993 )
...
* feat(components): [input-number] add prefix and suffix
* Update docs/en-US/component/input-number.md
Co-authored-by: btea <2356281422@qq.com>
* Update docs/en-US/component/input-number.md
Co-authored-by: btea <2356281422@qq.com>
* Update docs/en-US/component/input-number.md
Co-authored-by: btea <2356281422@qq.com>
* Update docs/en-US/component/input-number.md
Co-authored-by: btea <2356281422@qq.com>
* Update docs/en-US/component/input-number.md
Co-authored-by: btea <2356281422@qq.com>
* Update docs/en-US/component/input-number.md
Co-authored-by: btea <2356281422@qq.com>
* Update docs/en-US/component/input-number.md
Co-authored-by: btea <2356281422@qq.com>
* Update packages/components/input-number/src/input-number.vue
Co-authored-by: btea <2356281422@qq.com>
* Update packages/components/input-number/src/input-number.vue
Co-authored-by: btea <2356281422@qq.com>
* feat(components): [input-number] add prefix and suffix
* feat(components): [input-number] add prefix and suffix
* feat(components): [input-number] add prefix and suffix
---------
Co-authored-by: btea <2356281422@qq.com>
2024-09-23 15:14:29 +08:00
qiang
e3bb681984
fix(components): [table] the disabled checkbox are selected ( #18034 )
...
* fix(components): [table] non selectable items are selected
closed #18021
* docs: update
2024-09-13 14:13:33 +08:00
kimverchan
647af2cd22
feat(components): [collapse] collpase item supports custom icon ( #18215 )
...
* feat(components): [collapse] Collpase item supports custom icon
* docs(components): [collapse] update collpase custom docs
2024-09-12 22:13:25 +08:00
Haceral
4246d1e468
feat(components): [check-tag] add disabled prop ( #17936 )
...
* feat(components): [check-tag] add `disabled` prop
* style(components): [check-tag] add styles when disabled
* chore(components): [check-tag] update doc
* fix(components): [check-tag] fix bg-color in disabled
When the check-tag type is `primary` and it is unchecked, keep the background
color consistent with the `info` type. this ensures visual consistency.
* chore(components): [check-tag] update doc
Co-authored-by: btea <2356281422@qq.com>
* chore(components): [check-tag] formatting document content
* update doc
Co-authored-by: qiang <qw13131wang@gmail.com>
---------
Co-authored-by: Haceral <18274416193@163.com>
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-30 18:41:11 +08:00
Simplifer
0e022f326b
chore(docs): [table] fix typo ( #18020 )
...
Update tree-and-lazy.vue
chore: date => data
2024-08-27 06:11:21 +00:00
Mutter
7c442f172b
docs(components): [table-v2] refine inline editing examples ( #18018 )
2024-08-27 09:40:11 +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
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
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
知晓同丶
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
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
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
daoyi.tian
48dfe3a69a
feat(components): [table] tree children add check strictly ( #13519 )
...
* feat(components): [table] tree children add check strictly
* fix(components): [table] remove utils console
* fix(components): [table] error of selector state
* docs: update
* fix: remove unnecessary changes
* fix: the toggleRowStatus has not been processed to selectable
* docs: update
* fix: the rowIndex error
---------
Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-05 12:10:17 +08:00
赵添
f5c6310d93
docs(components): [mention] example error ( #17760 )
2024-08-05 02:20:39 +00:00
wzc520pyfm
707e0c9f00
docs(components): [dropdown] add placement property example doc ( #12617 )
...
Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-05 07:36:12 +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
k983551019
3e6acead57
docs: format the tree-select component code ( #17726 )
...
style: Modify code format
2024-07-31 13:48:17 +00:00
btea
f6bfe8ec3d
chore: [table] fix warn info & ts error ( #17271 )
2024-07-28 22:25:21 +08:00
Oliver Mak
9fe6eab4c7
docs: [menu] fix invalid HTML code in the example ( #17594 )
...
* docs(components): [menu] Fix invalid HTML code
* docs(components): [menu] No need extra class for CSS
2024-07-28 20:08:54 +08:00
xion
0f8684310b
docs(docs): [skeleton] fix layout error in example ( #17291 )
2024-07-20 11:27:46 +08:00
Panzer_Jack
dbfa93bab1
feat(components): [date-picker] type
add months
params ( #17342 )
...
* feat(components): [date-picker] `type` add `months` params
closed #17317
* feat(components): [date-picker] optimized code
* docs(components): [date-picker] enhanced multiple selection example
* test(components): [date-picker] add test
---------
Co-authored-by: Panzer_Jack <shenchang@bilibili.com>
2024-07-19 11:47:25 +08:00
sea
2082247ebb
docs(components): [radio & checkbox] add using value
tip and perf examples ( #17051 )
...
docs: [radio & checkbox] add using `value` tip and perf examples
2024-07-13 09:59:31 +08:00
kooriookami
8c2868e72e
docs(form): beautify the demo ( #17309 )
...
docs(components): beautify the demo
2024-06-24 09:06:40 +00:00
星如雨
91ee8606fb
feat(components): [form-item]: add label-position
prop ( #17111 )
...
* feat(components): [form-item]: add `label-position` prop
* docs(components): form-item label-position docs
* test(components): form-item
closed form-item label-position test
* Update docs/en-US/component/form.md
Co-authored-by: btea <2356281422@qq.com>
* Update docs/en-US/component/form.md
Co-authored-by: btea <2356281422@qq.com>
* Update docs/en-US/component/form.md
Co-authored-by: btea <2356281422@qq.com>
* fix(components): form-item line-height is overridden by the form style
fix(components): form-item label-position style is invalid when label-width is auto
* docs(components): update form and form-item alignment examples
* Update docs/en-US/component/form.md
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
* Update docs/en-US/component/form.md
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
---------
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2024-06-24 16:43:02 +08:00
yang
a8a2298a6d
feat(pagination) : add size
prop ( #16858 )
...
* fix(components): [table]
closed #11023
* fix(components): add component prop 'size' and related style supplement
BREAKING CHANGE :
size
closed #16830
* Update component documentation
* Update documentation and tests
* Optimized using useFormSize
* Keep the 'small' api for now
* Eliminate unwanted code
* Eliminate the impact of errors
* Remove 'ref'
* Update docs/examples/pagination/more-elements.vue
Co-authored-by: qiang <qw13131wang@gmail.com>
* Modify documents and declarations
* Eliminate uselessness
* Update packages/components/pagination/src/pagination.ts
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
* Update docs/en-US/component/pagination.md
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
* Update packages/components/pagination/src/pagination.ts
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
* Adjust public access
* pass Lint
* Modify attribute acquisition
* change the source of 'size'
* remove `pagination-font-size-large`
* Lift response
* Update packages/theme-chalk/src/common/var.scss
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
* Update pagination.ts
* Update docs/examples/pagination/more-elements.vue
---------
Co-authored-by: yang <29636098325@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2024-06-21 11:29:51 +08:00
sea
d937918717
docs(examples): [table] column width shows full ( #17114 )
...
docs: [table] column width shows full
2024-06-07 20:31:59 +08:00
xx
bb6033de40
docs: [table] add example with show overflow tooltip ( #17098 )
...
docs: ✏️ add table with show overflow tooltip
#17091
2024-06-07 20:18:47 +08:00
kooriookami
1148ccd2d6
feat(components): [select & select-v2] add label slot ( #16960 )
2024-05-28 14:50:22 +08:00
sea / 神秘海
5991e28b80
docs(examples): [tree] fix online display abnormality ( #16977 )
...
docs: [tree] fix online display abnormality
2024-05-25 12:29:13 +08:00
Tony Li
63ec01e2c6
docs(examples): [form] remove unused ref ( #16888 )
...
* 增加和 ref="form" 对应的 form
<el-form
ref="form"
style="max-width: 600px"
:model="sizeForm"
label-width="auto"
:label-position="labelPosition"
:size="size"
>
这里 ref="form" 的 form 原来没定义
* 删去没用到的 ref="form"
* chore: remove unnecessary whitespace
---------
Co-authored-by: Zhongxiang Wang <yhen@all-my-life.cn>
2024-05-20 08:14:56 +08:00
sea / 神秘海
052af0c5eb
docs(examples): delete form validate return and perfect types ( #16778 )
...
* docs: delete form exampls validate return value
* docs: delete form exampls validate return value
* update form.md
* docs: delete form validate return
2024-05-12 10:23:50 +08:00
sea / 神秘海
11680a077a
docs(examples): change el-date-picker label to aria-label ( #16740 )
...
docs: change label to aria-label
2024-05-03 09:28:35 +08:00
sea / 神秘海
8662178484
docs: change some examples label to aria-label ( #16733 )
2024-05-01 17:23:32 +08:00
sea / 神秘海
f6240ca0ad
docs(examples): perfect some type ( #16732 )
...
docs: perfect some type
2024-04-30 21:19:51 +08:00
一只前端汪
f45f0b4368
fix(components): [table] return type of function summary-method supports VNode ( #16648 )
...
* fix(components): [table] return type of function summary-method
* fix: type
2024-04-25 17:58:14 +08:00
sea / 神秘海
76c2cbbeb2
docs(components): [table-v2] fix dynamic-height examples error ( #16635 )
...
docs: fix dynamic-height examples error
2024-04-24 17:47:53 +08:00
zeyong tsai
b974fcbc51
docs(examples): [input-number] decrease slot name typo ( #16606 )
2024-04-22 14:54:13 +08:00
sea
ade87f6729
docs(examples): standardize unified code format and fix some type ( #16370 )
...
* docs: standardize unified example code format and fix some example type
* docs: update some example type
* Update docs/examples/descriptions/sizes.vue
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
* docs: update example-page-header
* docs: update example-page-header
---------
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2024-04-15 16:29:21 +08:00
bhwa23
dc69729161
feat(components): [badge] add dotClass、dotStyle、offset props ( #16434 )
...
* feat: 🎸 [badge] add color prop
add color prop to set badge background color
* feat: 🎸 [badge] add dotClass dotStyle offset props
* docs: ✏️ [badge] add dotClass dotStyle offset props
* feat: 🎸 [badge] unify style
* style: 💄 [badge] format
* docs: ✏️ update badge.md
* docs: ✏️ update badge props desc
* Update docs/en-US/component/badge.md
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
* refactor: 💡 [badge] refactor style
* fix: 🐛 [badge] dotStyle has higher precedence than color
---------
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2024-04-12 14:35:55 +08:00
kooriookami
1163d27f71
feat(components): add empty-values and value-on-clear props ( #16361 )
...
* feat(components): add empty values
* feat(hooks): update
* feat(components): update
* feat(components): update
* feat: update
* feat(components): update
* feat(components): update
* feat(components): update
* feat: update doc
* feat: add doc
2024-04-12 13:33:21 +08:00
kooriookami
546b21ea82
feat(components): [segmented] new component ( #16258 )
...
* feat(components): [segmented] new component
* feat(components): [segmented]
* feat(components): update
* feat(components): update
* feat(theme-chalk): update
* feat(components): update
* feat: update
* feat: update
* feat(components): add focus-visible
* feat(theme-chalk): update
* feat(components): fix test
* docs: docs
* feat(components): update
* feat: add icon
2024-04-11 18:48:52 +08:00