Commit Graph

5925 Commits

Author SHA1 Message Date
刺·猬
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
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
thinkasany
2a1fe4d6ee
ci: remove need reproduction label (#18930)
ci: remove  label
2024-11-18 22:06:30 +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
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
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
Element
f180e0c236
chore: Update changelog 2.8.8 (#18918)
chore: update changelog 2.8.8
2024-11-15 10:21:56 +00:00
0song
755f62bb1d
chore: update ui (#18914) 2024-11-15 05:44:22 +00: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
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
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
thinkasany
a88ace35ba
ci: remove needs more info label when edited (#18864)
ci: remove 'needs more info' label when edited
2024-11-12 08:59:47 +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
btea
03380de918
docs: optimize sidebar style (#18842)
* docs: optimize sidebar style

* docs: update
2024-11-09 13:59:26 +08:00
dopamine
a2ea613317
refactor(components): [select] simplify code (#18810)
* refactor(componetns): [select] simplify code

* apply the suggestion from code review
2024-11-09 08:54:38 +08:00
sea
a7a3b59023
fix(components): [mention] ref dom array order error when list changes (#18787)
* fix(components): [mention] ref dom array order error when list changes

* chore: update index
2024-11-08 21:10:46 +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
btea
906141b4d2
improvement: [select] optimize the effect of keyboard switching options (#18773)
* improvement: [select] optimize the effect of keyboard switching options

* fix: apply to select-v2
2024-11-07 21:57:38 +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
伊墨
89731b7d1f
docs(components): correct the select and select-v2 documents (#18804) 2024-11-07 13:48:50 +08:00
DDDDD12138
38b691093d
fix(components): [segmented] invisible active indicator after clearing selection (#18818)
fix(components): [segmented] invisible active indicator after clear
2024-11-07 13:39:54 +08:00
thinkasany
ff2211d673
chore: remove deprecated package @types/sass (#18786) 2024-11-07 12:27:12 +08:00
btea
6b5c12b275
feat(components): [select-v2] add append-to prop (#18798)
* feat(components): [select-v2] add `append-to` prop

* docs: update
2024-11-06 08:59:28 +08:00
Jungzl
e63a545acb
docs: use native fetch for changelogs (#18768) 2024-11-05 23:00:35 +08:00
thinkasany
6fa9f78a65
docs: fix type error for autocomplete (#18762) 2024-11-05 21:27:56 +08:00
thinkasany
98c742272d
docs: improve mirror registry (#18788) 2024-11-05 18:57:13 +08:00
thinkasany
602622ba8a
chore: add deps/types for commitlint scope (#18778)
* chore: add site/demo/type for commitlint type-enum

* demo: test

* fix(types): test

* fix(types): test

* fix(deps): test

* chore: update
2024-11-05 16:13:29 +08:00
btea
2cb7d1cb03
fix(components): [mention] keyboard control options not work as expected (#18751)
* fix(components): [mention] keyboard control options not work as expected

* fix: use mousemove instead of mouseenter

* chore: update
2024-11-05 12:42:48 +08:00
DDDDD12138
fe881ff337
fix(components): [picker] fix popup not opening when editable is false (#18767) 2024-11-05 11:32:35 +08:00
sea
70b5d4fa9d
fix(theme-chalk): sass !global assignments deprecation warning (#18711)
fix(theme-chalk):  `!global assignments` deprecation warning

Co-authored-by: btea <2356281422@qq.com>
2024-11-05 10:46:46 +08:00
qiang
f23e4b294e
chore: gen script does not support hyphens (#18704)
* chore: gen script does not support hyphens

* chore: optimize regular matching

* chore: optimize regular matching

* chore: updata template

* feat: generate style files

* chore: add instance
2024-11-04 21:19:29 +08:00
何凯
7121b57d77
docs: describes the pnpm version for debugging source code (#18769) 2024-11-04 17:41:41 +08:00
Zhong
d59acf696e
fix(components): [select] prevent keyboard from deleting disabled option (#18752)
* fix(components): [Select] prevent backspace from delete disabled option

* fix(components): [select] prevent keyboard from deleting disabled option
2024-11-04 15:32:33 +08:00
thinkasany
6962715993
chore: upgrade dayjs from 1.11.3 to 1.11.13 (#18765)
* chore: upgrade dayjs from 1.11.3 to 1.11.13

* chore: rerun ci

* chore: fix ci
2024-11-04 14:40:35 +08:00
DDDDD12138
aeccfdf8cd
chore(play): update logo link (#18761)
fix: fix logo not showing in development play
2024-11-04 12:40:08 +08:00
thinkasany
f16d9a1aef
chore: upgrade dayjs 1.11.3 to 1.11.13 (#18738)
Co-authored-by: upthen <163709439+upthen@users.noreply.github.com>
2024-11-04 10:22:15 +08:00