Commit Graph

1526 Commits

Author SHA1 Message Date
知晓同丶
73150c1214 refactor(components): improve alignment type definitions (#20695)
* refactor(components): improve alignment type definitions

* fix: rename Alignment to Align

* refactor: rename align to columnAlignment

* fix: use values to perf types

* fix: remove useless isValidColumnAlignment
2025-05-20 17:30:54 +08:00
忆白°
ca533d18f9 fix(components): [input-number] Improve modelValue prop type (#16124)
* fix(components): [input-number] Improve modelValue prop type

* Update packages/components/input-number/src/input-number.ts

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

---------

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2025-05-20 17:29:46 +08:00
kooriookami
bd17819bb4 feat(components): [alert] [result] [message] [message-box] [notification] add primary type (#20782)
feat(components): add primary type
2025-05-20 07:46:08 +08:00
Noblet Ouways
00eedd8a82 feat(components): [config-provider] support link config (#20773) 2025-05-19 17:32:53 +08:00
Noblet Ouways
9d932a2e3c docs: remove confusing dialog attributes (#20764)
Co-authored-by: Dsaquel <noblet.ouwaysgta5@gmail.com>
2025-05-18 08:01:18 +08:00
yuxuan-ctrl
90a3128ecf feature: generate-llms.txt for AI Knowledge (#20450)
* feat: generate-llms

* chore: 去除Console

* feat:  完善脚本,支持MD与示例组件代码映射生成llms文件

* refactor(docs): 重构LLMs生成逻辑并更新构建脚本

* fix(docs): 修正生成LLMs脚本的命令名称和标题处理逻辑

* refactor(docs): 优化标题提取逻辑
2025-05-16 19:17:11 +08:00
Noblet Ouways
822fc0fa2e docs: add missing button types (#20758)
* docs: add missing button types

* docs: add missing version for underline link

* pnpm format

* Revert "docs: add missing version for underline link"

This reverts commit 73e2e2d399.
2025-05-16 15:47:11 +08:00
sea
9a82272e1f docs: format lowercase title (#20756) 2025-05-15 23:29:49 +08:00
Liao-js
4e9b0893a3 feat(components): [collapse] add beforeCollapse prop (#20716)
* Revert "fix(components): [collapse] avoid direct activeNames changes (#20437)"

This reverts commit d8b44b6a2c.

* feat(components): [collapse] add beforeCollapse prop

* docs: update

* test: update

* test: update

* docs: update
2025-05-15 22:57:09 +08:00
Noblet Ouways
62e9801b76 docs: add check-on-click-leaf warnings (#20743) 2025-05-15 16:07:54 +08:00
Noblet Ouways
6c924a7066 feat(components): [config-provider] support more button config (#20726)
* feat(components): [config-provider] support more button config

* chore: add docs & test

* chore: remove empty string
2025-05-14 15:02:50 +08:00
kooriookami
386129f402 feat(components): [config-provider] add message plain config (#20723)
* feat(components): [config-provider] add message plain config

* feat: update
2025-05-14 15:02:21 +08:00
sea
fceed74826 docs: default time example visual display (#20714) 2025-05-13 11:48:05 +08:00
sea
6956491d94 feat(components): [tabs] update type and expose tabBarRef (#20670)
* feat(components): [tabs] update tabBarRef type and expose tabBarRef

* fix: update ins

* chore: update type

* docs: update

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

---------

Co-authored-by: xingyixiang <452282988@qq.com>
2025-05-09 14:37:13 +08:00
btea
6f0f4eae03 docs: [radio] add use fill & text-color example (#20686)
* docs: [radio] add use fill & text-color example

* chore: add file
2025-05-09 06:30:02 +00:00
Noblet Ouways
41d6351a3d fix(components): [loading] inherit app context (#20371)
* fix(components): [loading] inherit app context in ssr mode

* chore: get appContext inherit in childApp

* docs: add loading inheritance

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

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

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2025-05-09 09:17:06 +08:00
Xiao
8d2f08108b fix(components): [popper] fix arrow overflow issue (#20049)
* fix(components): [popper] fix arrow overflow issue

Add popperArrowProp to popperContentProps to ensure usePopper
correctly applies arrow options, preventing the arrow from
overflowing the popper container edges.

* fix(components): [popper] change arrowOffset to ref for reactivity

* feat(components): [tooltip] add arrow-offset property

- Allow users to control the padding of the tooltip arrow
- Prevents the arrow from touching the popper's edge

Reference: https://popper.js.org/docs/v2/modifiers/arrow/#padding

* fix(components): [popper] add reactive watch for arrowOffset prop

* feat(components): [popper] remove unused arrowOffset prop

Removes unused arrowOffset prop and related logic
- Removes arrowOffset from PopperContentInjectionContext
- Removes arrowOffset prop watching and state management
- Cleans up related test cases

* docs(components): [tooltip] update version requirement

update version requirement for arrow-offset prop

* docs(components): [tooltip] update `arrow-offset` version

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

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

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2025-05-07 10:02:28 +00:00
jiaxiang
37520f61b9 feat(components): [collapse] add expand icon position customization (#19537)
* feat(components): [collapse] add expand icon position customization

* chore: [collapse] update expand icon position options

* feat(docs): update custom icon position example

* fix(docs): update default expand icon position to 'right'

* fix: CollapseIconPositionType

* revert: revert

* docs: update

* docs: update custom icon position version to 2.9.6

* docs: update v

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

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

* chore(docs): format

* chore: update V

* fix: title slot isActive

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

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

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

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

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

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

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2025-05-06 15:36:54 +08:00
sea
9298b65629 docs: examples add overflow auto scroll (#20630) 2025-05-06 15:09:42 +08:00
sea
3892c0ca32 feat(components): [popover] append-to prop (#20596) 2025-05-02 16:12:56 +08:00
w2xi
2d076d87d5 feat(components): [collapse-item ] enhance title slot with isActive property (#20613) 2025-05-01 16:36:27 +08:00
w2xi
ab72948d6a docs(components): [collapse, collapse-item] update exposes (#20602)
* docs(components): [collapse, collapse-item] update exposes

* docs(components): [collapse] update type declarations
2025-04-30 22:31:32 +08:00
xinconan
aa6c510282 feat(components): [tabs] expose tabNavRef and tabListRef (#20552) 2025-04-29 13:45:52 +08:00
Kaine
d8b44b6a2c fix(components): [collapse] avoid direct activeNames changes (#20437)
fix(components): [collapse] Avoid direct activeNames changes

* refactor(components): [collapse] Removal of modelValue Modification in watch

* test(components): [collapse] Add new test cases for modelValue

* docs(components): [collapse] Adjust the default value of modelValue/v-model in the documentation

closed #20436
2025-04-28 10:19:13 +08:00
Noblet Ouways
0589201ad4 feat(components): [input-tag] add delimiter (#20532)
* feat(components): [input-tag] add delimiter

* chore: add missing bump version
2025-04-26 07:55:25 +08:00
w2xi
1e6efeee21 test(components): [notification] add cases for closeIcon prop (#20526)
* docs(components): [notification] update `closeIcon` prop

* test(components): [notification] add cases for `closeIcon` prop
2025-04-25 13:42:49 +08:00
Noblet Ouways
cae0590f6d docs: table-v2 add @end-reached parameter description (#20484) 2025-04-22 20:40:33 +08:00
w2xi
40e3626119 docs: update append-to prop type (#20516) 2025-04-22 16:58:16 +08:00
betavs
5f519a6f25 refactor(components): unify append-to prop type across multiple components (#20501)
* fix(components): [select] update `append-to` prop type

* fix(components): unify `append-to` prop type across multiple components

* docs: update `append-to` prop type
2025-04-22 09:29:19 +08:00
sea
3743cfa24e docs: add .example-showcase border-radius (#20510)
Update vp-demo.vue
2025-04-21 21:31:27 +08:00
comp-squirrel
4466ec1979 feat(components): [link] add control for when underlines should appear (#20480)
* feat(components): [link] add `always-underline` option

* docs(components): [link] update version tag

* style(components): [link] remove redundant styles

* feat(components): [link] control underline visibility timing

* chore(components): [link] add `useDeprecated` function

* chore(components): [link] remove TODO comments
2025-04-21 21:29:07 +08:00
betavs
7dd646e3c1 docs: [tour] supplementary missing attributes (#20504) 2025-04-21 19:29:59 +08:00
btea
e4d400ea9c docs: example sticky does not take effect (#20485) 2025-04-21 14:11:57 +08:00
betavs
78a208eda2 feat(components): [autocomplete] enable append-to prop (#20472) 2025-04-20 16:42:39 +08:00
Noblet Ouways
7f240f7c7a docs: attach nprogress on router event (#20438)
* docs: attach nprogress on router event

* chore: fix build

* chore: update
2025-04-18 17:59:57 +08:00
btea
05c6291fa7 docs(components): [switch] update before-change type (#20441) 2025-04-16 11:15:01 +08:00
Liao-js
7ce338a1a7 feat(components): [menu] expose updateActiveIndex (#20430) 2025-04-16 09:52:07 +08:00
sea
0072e9f2f1 docs: add right tab scroll (#20413) 2025-04-16 09:16:03 +08:00
Noblet Ouways
d8417b7ca0 chore: run prettier on commit (#20409)
* chore: run prettier on commit

* chore: add random unformatted file

* chore: upgrade lint-staged to 15.5.1
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2025-04-16 09:15:28 +08:00
Feynman
1993ca2e9c feat(components): [notification] add closeIcon option with default Close (#20402)
* feat(components): [notification] add `closeIcon` prop with default Close

* docs(components): [notification] update doc for `closeIcon` option
2025-04-15 09:08:23 +08:00
Noblet Ouways
72e202f74b feat(components): [card] add header-class and footer-class for slots (#20408) 2025-04-13 15:51:57 +08:00
sea
08976b6ed4 docs: fix the abnormal border display when zooming (#20399) 2025-04-12 06:09:58 +08:00
sea
56b732717a docs(components): [form] simplified validation example (#20398) 2025-04-11 14:14:24 +08:00
betavs
54b0aae060 refactor(components): [message] deprecate the center option (#20296) 2025-04-10 11:00:16 +08:00
Feynman
ee13188cca feat(components): [select-v2] add suffix-icon prop with default ArrowDown (#20370)
* feat(components): [select-v2] add suffixIcon prop with default ArrowDown

- Introduced a new `suffixIcon` prop to allow customization of the icon in the select component.
- Updated the icon rendering logic to utilize the `suffixIcon` prop instead of a hardcoded value.

* feat(docs): [select-v2] add suffix-icon prop for custom icon support

- Added a new `suffix-icon` prop to the select component, allowing users to customize the suffix icon.
- Updated documentation to reflect the new prop and its default value.

* chore: add version

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-04-09 08:10:30 +00:00
0song
b9a68b5451 chore: update doc (#20375) 2025-04-09 05:45:14 +00:00
btea
1b69cb9777 feat(components): [image] progress slot higher priority (#20353)
* feat(components): [image] `progress` slot higher priority

* fix: update

* chore: delete extra spaces

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-04-05 22:14:39 +08:00
btea
8a0a7fc45d docs: [image] update prop and example (#20349) 2025-04-05 19:37:14 +08:00
jiaxiang
8ef07ac296 docs: optimize contributors style (#20303)
* docs: optimize contributors style

* chore: remove import
2025-04-04 09:53:57 +08:00
DDDDD12138
4c8752c5da docs: resolve code copy button alignment issue (#20335)
fix(docs): resolve code copy button alignment issue
2025-04-03 14:23:07 +08:00