Commit Graph

1390 Commits

Author SHA1 Message Date
sea
e12910b477 test: other branch commit pr.new (#19921)
* fix(components): [upload] unable to delete files in removeFile (#19437)

* fix(components): [upload] unable to delete files in removeFile

* fix(components): [upload] remove file when fileList does not use v-model

* Update packages/components/upload/src/use-handlers.ts

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

---------

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

* fix(components): [page-header] use `$slots` instead of `useSlots` (#19455)

* fix(components): [page-header] use `$slots` instead of `useSlots`

closed #19453

* test(components): [page-header] add classes slots rendering case

* fix(components): [select] input width fills the remaining width (#19292)

* fix(components): [select] input width fills the remaining width

closed #17886

* fix: type

* feat(components): [select, select-v2] add loading class to validateIcon (#19379)

fix(components): [select, select-v2] add loading class to validateIcon

* chore: update doc (#19479)

* perf(components): [table] prioritize use rowKey to determine whether it is selected (#19451)

* perf(components): [table] use rowKey to determine whether it is selected

* chore: revert includes

* perf: use includes replace isEqual

* feat(components): [table] add allow-drag-last-column prop (#19374)

* chore: Update changelog 2.9.2 (#19491)

chore: update changelog 2.9.2

* chore: format dropdown docs (#19495)

* fix(components): [description] `labelWidth` is invalid when no border (#19162)

* fix(components): [description] `labelWidth` is invalid when no border

* test: add test case

* fix(hooks): [use-lockscreen] remove hiddenCls (#19429)

* fix(hooks): [use-lockscreen] remove hiddenCls

* fix(hooks): [useLockscreen] unit test

* test(hooks): [useLockscreen] should not cleanup when not all unmounted

* test(hooks): [useLockscreen] update test

* test(hooks): [useLockscreen] update test

* feat(components): [dialog/drawer] add custom sub classes (#19099)

* feat(components): [dialog/drawer] add custom sub classes

* docs(components): add custom classes for drawer/dialog slots

* docs(components): [dialog/drawer] keep same description

* test: add dialog/drawer sub classes

* refactor: sync typo docs with props

* chore: change release version

* chore: rename

* chore: fix doc

---------

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

* chore: upgrade puppeteer to 23.11.1 (#19500)

* ci: update test-ssr.yml (#19521)

* fix(components): [form] on post rules update reset field (#19129)

* fix(components): [form] track rules on post update

closed #19109

* fix(components): [form] ensure reset field state if no rules

closed #19128

* test: add validate on rule change case

* chore: on rules update reset field error

* chore: fixup

---------

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

* fix(components): [tabs] set modelValue synchronously if beforeLeave is not set or is synchronous (#19387)

* fix: [tabs] sync modelValue if beforeLeave is not set or is synchronous

* feat: add unit test

* feat(i18n): add Hindi language (#19483)

* feat(i18n): add Hindi language

* feat(i18n): update component and hindi translations

* feat(i18n): update lint

* docs: [collapse] change event parameter type error (#19539)

* chore: fix handleChange type error

* Update docs/examples/collapse/custom-icon.vue

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* fix(components): [select] make sure the e-tag is not obstructed(#19529) (#19534)

Co-authored-by: baiwusanyu-c <chenzhihui@chabaidao.com>

* ci: run pkg.new when push (#19544)

* docs: [button] add description (#19536)

* ci: stop run pkg.new when push (#19545)

* improvement(components): [text] add the title attribute (#19496)

* improvement(components): [text] keep the inherited title attribute (#19551)

* improvement(components): [text] keep the inherited title attribute

* fix: content update recalculation

* fix(components): [dialog] fix scroll bar not resetting to top on reopen (#19471)

* fix(components): [dialog] Fix scroll bar not resetting to top on reopen

closed #19420

* fix(components): update

* fix(components): [dialog] update

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* test: [table] add show-overflow-tooltip trigger (#19556)

* test: [table] add show-overflow-tooltip trigger

* test: [table] add show-overflow-tooltip trigger

* feat(i18n): add Norsk(no) language (#19523)

* chore: update doc ui (#19586)

* style(components): [dialog] no rounded when in fullscreen (#19583)

* feat(component): [time-select] add include end time attribute (#19253)

* feat: [time-select] init includeEndTime 🚧

* test: time-select includeEndTime 🚧

* refactor: renaming & cleanup

* test(components): [time-select] add includeEndTime cases 

* docs(components): [time-select] add `includeEndTime` attribute

* chore: change release version

* chore: set `includeEndTime` default to false

* docs: fix props typo

* chore: remove useless assignment

* chore: rename optionValue to currentTime

* chore: update release version

* Revert "ci: update test-ssr.yml" (#19610)

Revert "ci: update test-ssr.yml (#19521)"

This reverts commit eab540a3f7.

* chore: Update changelog 2.9.3 (#19611)

chore: update changelog 2.9.3

* chore: [time-picker] correct typo in `timePickerRangeTriggerProps` (#19487)

* fix: correct typo in timePickerRangeTriggerProps

* chore: deprecate misspelled export `timePickerRngeTriggerProps`

---------

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

* chore(docs): implement dynamic links for playground based on preview state (#19612)

* docs: [calendar] add exposes (#19593)

* docs: [calendar] add exposes

* Apply suggestions from code review

add translation characters

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

* docs: [calendar] format the exposes table

---------

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

* feat(components): [image-viewer] add showPreview method (#19466)

* feat(components): [image-viewer] add showPreview method

* docs(components): [image] update showPreview method version to 2.9.4

* chore: enable fileNesting config (#19615)

* docs(components): [table-v2] add `indent-size` (#19621)

docs(components): [table-v2] add `indent-size`

Co-authored-by: gongbei <gongbei@wps.cn>

* chore: [message-box] remove @ts-nocheck directive (#19277)

* chore: [message-box] remove @ts-nocheck directive

* fix: type

* Update packages/components/message-box/src/index.vue

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

---------

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

* feat(locale): add language Chinese Hongkong and Chinese Macau (#19608)

* feat(components): [select] add popup-scroll event (#19589)

* feat(components): [select] add popup-scroll event

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

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

* chore: format

---------

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

* docs: add code file-title and icon (#19638)

* docs: add code file-title and icon

* chore: update deps

* docs: add lang records (#19650)

* chore: [tree] remove unused arg (#19255)

* feat(i18n): add Telugu language (#19624)

* feat(i18n): add Telugu language

* chore(i18n): added missing keys in Telugu locale

* chore: format telugu locale file.

* chore(locale): fix lint in te.ts

* docs: add lang records

* feat(components): [image-viewer] add `progress` slot and `show-progress` props (#19465)

* refactor(components): simplify computed properties in image-viewer

* feat(components): [image-viewer] add progress number

* test(components): remove console logs from image-viewer tests

* feat(components): [image-viewer] update progress display and style

* test(components): update progress selector in image-viewer tests

* feat(components): [image-viewer] add slot support for progress display

* docs(components): [image] add progress content description

* docs(components): update docs

* feat(components): [image] simplify progress slot binding

* docs(components): update

* Update packages/components/image-viewer/__tests__/image-viewer.test.tsx

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

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

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

* docs: update progress version in image documentation

* Update packages/components/image-viewer/src/image-viewer.vue

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

* feat: add showProgress props

* docs: add demo

* docs: update v

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

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

---------

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

* fix(components): [table-footer] update cols width on layout change (#19064)

fix(components): [table-footer]

update cols width on layout change

closed #19054

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

* fix(ci): types & dark theme sync with pr (#19668)

ci: set whole pr bundle

* fix(ci): move all bundle to docs dist (#19671)

* docs: format table-v2 & use actions/upload-artifact v4 (#19670)

* docs: format table-v2

* chore: update actions/upload-artifact

* chore: update

* chore: update

* feat(components): [image-viewer] add toolbar slot (#19497)

* feat(components): [image-viewer] add toolbar slot

* feat(docs): add docs

* docs: update

* docs: update

* docs: update image viewer API types for clarity

* docs: update custom toolbar version in image documentation to 2.9.4

* Update docs/examples/image/custom-toolbar.vue

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

* style: remove dividers

* revert: style

* docs: format

---------

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

* docs: [menu] `left-and-right` example style tag add scoped (#19654)

Update left-and-right.vue

防止文档演示项目整页元素布局样式被修改

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

* docs: [tree-v2] fix style error and remove annotation (#19681)

* docs: [transfer] fix type error (#19682)

* 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>

* fix(components): [table] selection-change event emit incorrectly (#19618)

* feat(components): [table] fix 'selection-change' event emit incorrectly

* fix(components): [table] add test case

* docs: [timeline] fix type error (#19688)

* docs: [timeline] fix type error

* Update docs/examples/timeline/custom-node.vue

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

* Update docs/examples/timeline/custom-node.vue

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

---------

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

* docs: [dropdown] add `button-props` prop (#19694)

docs: [dropdown] add `button-props` prop

Co-authored-by: Bruce Lu <smallbone.lu@gmail.com>

* docs: [tabs] fix type error (#19690)

* docs: [switch] fix type error (#19704)

* fix(components): [table] The index parameter of the selectable function is undefined (#19587)

* fix(components): [table] first record can not be checked

* fix(components): [table] last commit doesnt work for others index

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* test(components): [table] add test cases

* test(components): [table] modify the test case of the last submission

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>

* fix(components): [autocomplete] prevent closing if focus is inside popper content (#19522)

fix: [autocomplete] prevent closing if focus is inside popper content

* docs: [layout] add a tip for layout column (#19669)

docs: layout add tip

* docs: [checkbox] fix intermediate example type error (#19713)

docs: [checkbox] fix type error

* docs: [input-number] fix type error (#19712)

* docs: fix Exposes error (#19733)

* feat(components): [table] add tooltip-formatter table & table-column prop (#19524)

* feat(components): [table] add `tooltip-formatter` table-column prop

closed #19507

* docs: add example

* docs: demo remove tooltip formatter index

* refactor(components): refactor code

* docs: simpify tooltip demo

* fix: fix warning error

* feat(components): add table tooltip-formatter prop & merge slot

* refactor: reuse variables

* test: add tooltip-formatter test

* docs: upgrade version

* feat(components): [table] add `tooltip-formatter` table-column prop

closed #19507

* docs: add example

* docs: demo remove tooltip formatter index

* refactor(components): refactor code

* docs: simpify tooltip demo

* fix: fix warning error

* feat(components): add table tooltip-formatter prop & merge slot

* refactor: reuse variables

* test: add tooltip-formatter test

* docs: upgrade version

* refactor: change parameter to obj args

* fix: property change to prop

* fix: export `TableOverflowTooltipFormatterData`

* refactor: `TableOverflowTooltipFormatterData` to `TableTooltipData`

* fix: remove useless import

* fix: refactor code

---------

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

* docs: search input default focus (#19724)

* docs: search input default focus

* fix(docs): ensure search input is focused after component mounts

* revert: update

* Update docs/.vitepress/vitepress/components/globals/overview.vue

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

* Update docs/.vitepress/vitepress/components/globals/overview.vue

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

* docs: update

---------

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

* fix(components): [input] refused to apply inline style because it violates csp (#19541)

fix(components): [input] CSP support #15065

`element.setAttribute('style', 'css code')` violate Content Security Policy (CSP)
using `element.style.setProperty()` instead

* docs: [tooltip] fix type error (#19687)

* docs: fix type error

* docs: [tooltip] remove unnecessary width and height in mousemove handler

* fix: update

* fix: update

* fix(components): [table-v2] make the fixed columns scroll like mainTable (#19104)

fix(components): [table-v2] Make the fixed columns scroll like mainTable

Make the fixed columns behave like the mainTable, where the rows containing fixedData stick in
place, and the rest of the rows scroll.

closed #19103

* fix(components): [cascader-panel] lazy return children can't get value (#19100)

* fix(components): [cascader-panel] lazy return children can't get value

fix #9157

closed #9157

* fix: update

* fix(components): [table] fix the logic of `selection` column when `fixed` state changes dynamically (#19703)

* fix(components): [table] selection column fixed left

* fix(components): [table] optimize function

* fix(components): [table] add dynamic columns test case

* fix(components): [table] the toggleTreeExpansion failed to trigger load function (#18728)

* feat(components): [table] fix lazy loading

* Modify the function usage

* chore: format `dropdown.md` (#19758)

chore: format dropdown.md

* feat(locale): export zhHk/zhMo (#19762)

* docs: [calendar] add CalendarDateType Type Declarations (#19766)

docs: [calendar] add Type Declarations

* chore: update doc (#19770)

* fix(components): [table-v2] reset `lastVisitedColumnIdx` if width change (#19757)

fix(components): [table-v2] reset lastVisitedColumnIdx if width change

* ci: fix corepack matching keyid error (#19783)

* docs: [scrollbar] fix type error (#19697)

* docs: [scrollbar] fix type error

* refactor(docs): improve code structure and type annotations in examples

* Update docs/examples/scrollbar/manual-scroll.vue

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

* fix(docs): replace lodash isNumber with typeof check

* fix(docs): update

---------

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

* chore(components): [cascader-node] remove ts-nocheck and fix type error (#19776)

* chore(components): [CascaderNode] remove ts-nocheck and fix type error

* chore: format

---------

Co-authored-by: warmthsea <2586244885@qq.com>

* feat(locale): export Norsk(no) (#19747)

feat(locale): export Norsk(no)

Added Norwegian language reference

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

* feat(locale): export missing language (#19790)

feat(locale): export missing locale

* chore: Update changelog 2.9.4 (#19792)

chore: update changelog 2.9.4

* docs: optimization API style (#19793)

* docs: optimization API style

* chore: Transfer

* chore: update

* fix: update

* chore(components): [tree] remove ts-nocheck and fix type error (#19777)

* chore(components): [tree] remove ts-nocheck and fix type error

* refactor: refactor

---------

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

* chore: update doc (#19831)

* fix(components): [message-box] init validator (#19832)

* fix(components): [message-box] init validator
* fix: update

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

* docs: [message-box] update options default value (#19833)

* refactor(components): [menu] change to `script setup` writing  and optimizing code (#19816)

* refactor(components): [menu] refactor

* Update packages/components/menu/src/menu-collapse-transition.vue

* refactor(components): migrate ElMenuItem to Composition API

* fix: update

* chore: chore

* refactor: refactor

* revert: revert

* refactor: refactor

* revert: revert

* fix: Expose

* Update packages/components/menu/src/menu-item.vue

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

---------

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

* refactor: [menu] add necessary braces (#19840)

* fix(components): [tree-select] dynamic bind class invalid (#19803)

* test: [tree-select] dynamic class case (#19859)

* chore: change create issue use (#19865)

* feat(components): [dropdown] add `persistent` prop (#19797)

* feat(components): add persistent attribute

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

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

* fix: docs

---------

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

* fix(components): [table] compatible with window non-existence (#19837)

ElTable's doLayout method is debounced and scheduled (relying on setTimeout) which causes problems in testing(Vitest). Sometimes the testing environment(jsdom) is destroyed before doLayout() executes which causes error due to requestAnimationFrame not existing.
To mitigate this issue can check if the window exists which is a good indication that jsdom has not been thorn down yet.

* feat(components): [menu] add `persistent` prop (#19874)

feat(components): [menu] add persistent prop

* refactor: [time-picker] optimize type declaration (#19875)

chore: [time-picker] optimize type declaration

* fix(components): [select] solve memory leak (#19709)

fix(components): solve memory leak

Watching the value of an attribute of an option can lead to a memory leak

closed #19680

Co-authored-by: 张东 <A80784@internet.com>

* chore: [tree] export types (#19846)

* chore: [tree] export type and fix the type error of the docs

* revert: revert

* revert: revert

* 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>

* fix(components): [steps] update border-color to support safari (#19726)

* fix(components): [description] tsx rendering functional component error (#19879)

* fix(components): [description] tsx render

* fix: update

* fix: update

* test: add test case

* fix(components): [cascader] prevent default behavior when pressing a key to toggle suggestion list (#19897)

fix(components): [cascader] suggestion key-down scroll warn

* feat(components): [message-box] support custom close icon in message-box (#18168)

* fix(components): [message-box] vue warning when closeIcon is component (#19901)

* docs: [button] update default value and description (#19903)

* fix(components): [select] ensure scrollbar syncs when scrolling to selected option (#19636)

* fix: ensure scrollbar syncs when scrolling to selected option

* feat: update scrollbar when drop-down menu is displayed

* fix(components): [tree-select] search solve memory leak (#19895)

* fix(components): [tree-select] search solve memory leak

* feat: update

* fix: test

* chore: update test

* feat(components): [slider] add `persistent` prop (#19889)

* feat(components): [Slider] add persistent prop

* fix(components): [slider] update persistent prop

* fix(components): [slider] rename persistent prop to tooltipPersistent

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

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

* chore: formatted

* fix(components): [slider] update description for persistent prop

---------

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

* docs(components): [dropdown] update description and example (#19908)

docs(components): [dropdown]update description and example

* docs(components): [tree] change `customized-node` example (#19907)

* test: other branch commit pr.new

* ci: update

---------

Co-authored-by: ly-yewu <leiyu_yewu@cmss.chinamobile.com>
Co-authored-by: leiyu <leiyu@cmss.chinamobile.com>
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
Co-authored-by: Lo <l709937065@gmail.com>
Co-authored-by: 0song <82012629+0song@users.noreply.github.com>
Co-authored-by: Element <wallement@gmail.com>
Co-authored-by: Liao-js <43257608+Liao-js@users.noreply.github.com>
Co-authored-by: DDDDD12138 <43703884+DDDDD12138@users.noreply.github.com>
Co-authored-by: steveWang13 <107922326+steveWang13@users.noreply.github.com>
Co-authored-by: jiaxiang <zj.x9872@foxmail.com>
Co-authored-by: 白雾三语 <32354856+baiwusanyu-c@users.noreply.github.com>
Co-authored-by: baiwusanyu-c <chenzhihui@chabaidao.com>
Co-authored-by: 晚风予星 <75473409+lxKylin@users.noreply.github.com>
Co-authored-by: Meet you <wjp_github@163.com>
Co-authored-by: xingyixiang <452282988@qq.com>
Co-authored-by: changehu <814394170@qq.com>
Co-authored-by: iamkun <kunhello@outlook.com>
Co-authored-by: betavs <34408516+betavs@users.noreply.github.com>
Co-authored-by: LAMMU <38106851+LAMMUpro@users.noreply.github.com>
Co-authored-by: jiaxiang <zjx9987@gmail.com>
Co-authored-by: baclona <853940223@qq.com>
Co-authored-by: gongbei <gongbei@wps.cn>
Co-authored-by: Mark J <markpro.code@gmail.com>
Co-authored-by: Mouli Bheemaneti <57999522+moulibheemaneti@users.noreply.github.com>
Co-authored-by: Jiankian <i@anline.cn>
Co-authored-by: David Kitano <63226115+DavidKitano@users.noreply.github.com>
Co-authored-by: Nick Wu <38874640+wNing50@users.noreply.github.com>
Co-authored-by: smallbone <lue2048@163.com>
Co-authored-by: Bruce Lu <smallbone.lu@gmail.com>
Co-authored-by: 伊墨 <1905672206@qq.com>
Co-authored-by: 知晓同丶 <zhixiaotong.me@qq.com>
Co-authored-by: hanchao-c0ldwave <hanchao@cmss.chinamobile.com>
Co-authored-by: coderchang <coderchang0105@gmail.com>
Co-authored-by: pengpeng <30883395+webvs2@users.noreply.github.com>
Co-authored-by: Delyan Haralanov <purepear@gmail.com>
Co-authored-by: 锌小子 <2252647301@qq.com>
Co-authored-by: 张东 <A80784@internet.com>
Co-authored-by: DiamondYuan <541832074@qq.com>
Co-authored-by: xion <65892539+xionkq@users.noreply.github.com>
Co-authored-by: zhuft-moon <zhufengting_yewu@cmss.chinamobile.com>
Co-authored-by: dengguangmiaoyyds <gujiao_yewu@cmss.chinamobile.com>
2025-02-21 11:10:37 +08:00
btea
5d6e9298d2 docs(components): [anchor] add selectScrollTop prop (#19293)
* docs(components): [anchor] add `scrollTop` prop

* feat: rename
2024-12-26 14:42:21 +08:00
伊墨
2c9d70dc94 feat(components): [select-v2] add fit-input-width prop (#18834)
* feat(components): [select-v2] add `width` prop

* feat(components): [select-v2] change `width` prop to `fit-input-width`

* docs(components): add description

* test(components): [select-v2] fix errors caused by canvas

* chore(components): optimize code and change documents

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

* feat: [select-v2] listen for `fit-input-width`

* fix: change the default value of the `fit-input-width` prop

* fix: the width did not change when remote search or creating temporary option

* docs: change document and example code

---------

Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: btea <2356281422@qq.com>
2024-12-24 16:39:43 +08:00
阿菜 Cai
3bcad6d83d docs: [select] remove demos sass (#19365)
fix(docs): [select] remove demos sass,  enable run in playground
2024-12-23 17:49:16 +08:00
妙码生花
f378bafc7b docs(components): [config-provider] example error (#19355)
* docs(components): [config-provider] example error

* chore: format

---------

Co-authored-by: btea <2356281422@qq.com>
2024-12-22 21:06:42 +08:00
renovate[bot]
a0c2048264 chore(deps): update dependency @crowdin/cli to v4 (#19282)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-22 20:59:54 +08:00
ve
973fa1a5ac docs(components): [message-box] add description of props modalClass (#17843) 2024-12-19 20:23:36 +08:00
btea
a1f03539a6 docs(components): [dialog] update demo (#19296)
* docs(components): [dialog] update demo

* chore: update ci

* chore: reset
2024-12-18 08:06:40 +08:00
btea
bca0399c75 docs: remove dialog example animation (#19275) 2024-12-17 09:29:14 +08:00
ZhouJin
5a025e55bd docs(components): [segmented] item maybe declared in the upper scope (#19291)
docs(components): [segmented] 'item' maybe declared in the upper scope

Co-authored-by: 周进 <w857035085@126.com>
2024-12-17 08:21:03 +08:00
Noblet Ouways
b3515ccd5d docs: add Playground link in navbar (#19278) 2024-12-15 10:27:28 +08:00
VisualYuki
63cb03cf4e docs(components): update Dialog (#19200)
* docs(components): update Dialog

add fullscreen, modal, events, slot

* docs(components): update text

---------

Co-authored-by: btea <2356281422@qq.com>
2024-12-14 10:17:41 +08:00
0song
6bc382fd33 chore: update doc (#19238) 2024-12-11 11:41:29 +00:00
JingGaoWei
c6e0d4746e docs: [container] update example (#19219)
* Update layout-am.vue

* Update docs/examples/container/layout-am.vue

---------

Co-authored-by: btea <2356281422@qq.com>
2024-12-11 15:03:26 +08:00
Jeff
d9da5341d2 docs: [tooltip] improve document content and examples (#19204)
docs: [Tooltip] Improve document content and examples
2024-12-10 21:38:35 +08:00
星如雨
ae22c959ac feat(components): [badge] add content slot (#18922)
* feat(components): [badge] add `icon` prop and slot

* feat(components): [badge] remove icon prop

* feat(components): [badge] update badge icon slot test

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

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

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

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

* feat(components): [badge] update icon slot to content

* fix(components): [badge] remove legacy icon styles

* fix(docs): [badge] punctuation at the end of sentences in a document

* feat(components): [badge] `value` as the value of the `content` slot

* feat(docs): [badge] update badge's doc

* fix(docs): [badge] content slot value type

---------

Co-authored-by: btea <2356281422@qq.com>
2024-12-10 13:57:36 +08:00
Jeff
866f45aaac docs:[card] delete excess for card doc (#19185)
docs: delete excess for card doc
2024-12-09 16:19:53 +08:00
btea
d99d0b14a4 feat(components): [tree-v2] filter-method support third parameter (#19177) 2024-12-09 16:19:11 +08:00
hanchao-c0ldwave
bd4800bf38 feat(components): [dropdown] add triggerKeys attribute (#19124)
* feat(components): [dropdown] add triggerKeys attribute

Add a triggerKeys property to the dropdown to allow users to customize the triggerKeys, thereby
addressing interaction issues when el-input is used as the trigger element.

closed #19102

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

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

* fix: rename triggerKeys to dropdownTriggerKeys

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

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

* Update packages/components/dropdown/src/dropdown.ts

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

* fix: remove redundant logic

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2024-12-08 17:03:41 +08:00
qiang
8304d69118 docs: add an overview icon for InputTag (#19110) 2024-12-04 18:48:24 +08:00
0song
88da2215e2 chore: update doc (#19088) 2024-12-03 05:25:35 +00:00
jiaxiang
93b3d14e99 docs: [tree-v2] fix props.class type in zh-CN (#19072)
docs: [tree-v2] fix props.class type
2024-12-03 08:03:11 +08:00
DDDDD12138
0aee33e240 docs: [table] correct array type display (#19084) 2024-12-03 07:54:14 +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
qiang
990aa4b768 feat(components): [select] add tabindex attribute (#19034) 2024-11-28 13:54:05 +08:00
0song
8df0d61f38 chore: update doc (#19017)
* chore: update images

* chore: update images

* chore: update doc
2024-11-26 11:12:48 +00:00
DDDDD12138
e3290e112d docs: [menu-item] update route attr types (#19008) 2024-11-26 09:06:54 +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
知晓同丶
512d31cb79 docs: makeup built-in zoom-in-left transition (#18987) 2024-11-22 15:11:50 +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
sea
e271f0cf85 docs(components): [table-v2] unified display style of parameters (#18937)
* docs(components): [table-v2] unified display style of parameters

* Update docs/en-US/component/table-v2.md

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

* feat: update

---------

Co-authored-by: btea <2356281422@qq.com>
2024-11-21 17:54:55 +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
刺·猬
5d54ece420 docs(locale): add Malay(ms) translation (#18950)
* feat(locale): add locale: ms

* feat(locale): add Malay(ms) translation

feat(locale): add Malay(ms) translation

* docs(locale): add Malay(ms) translation
2024-11-20 12:45:34 +08:00
0song
b951e1a48d chore: update doc (#18946) 2024-11-19 11:35:49 +00: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
jiaxiang
440691805b docs(components): fix type error of the tree-v2 filter demo (#18927) 2024-11-17 20:09:24 +08:00
jiaxiang
8f134d7fbe chore: fix type error of the tree-v2 props.value docs (#18926) 2024-11-17 20:07:08 +08:00
sea
768f5999f8 improvement(components): [tooltip] dom ref types (#18923) 2024-11-17 14:14:25 +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
0song
755f62bb1d chore: update ui (#18914) 2024-11-15 05:44:22 +00: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
thinkasany
a9e6345464 docs: support vitepress vp-code-group (#18869)
* feat(style): support vitepress vp-code-group

* docs: update

* docs: update
2024-11-12 20:08:37 +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
btea
03380de918 docs: optimize sidebar style (#18842)
* docs: optimize sidebar style

* docs: update
2024-11-09 13:59:26 +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
qiang
ead1002533 chore(deps): update vite related dependency for play and docs (#18809)
* chore(deps): update vite related dependency for play and docs

* fix: type error

* fix: unocss

* chore: add port

* fix: types

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2024-11-08 09:38:27 +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