Commit Graph

5906 Commits

Author SHA1 Message Date
蓝桥春雪
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
ddeerdevil
2a032217c7
fix(utils):[vue] ensure flattedChildren traverse component's subTree (#18649)
* fix(utils):[vue] 在h函数中组件的chidlren是数组时,会导致tabs等组件渲染错误

* fix(utils):[vue] add flattedChildren tests & fix lint error

* test(utils): [vue] fix tests's lint errors(element-plus:#18649)
2024-11-02 21:00:55 +08:00
Element
d54923ffb2
chore: Update changelog 2.8.7 (#18742)
chore: update changelog 2.8.7
2024-11-01 14:51:02 +00:00
thinkasany
9adbb1cf85
docs(components): add direction api description for segmented (#18733)
* docs(components): add direction api description for segmented

* docs(components): update

* chore: code format

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2024-11-01 17:17:49 +08:00
dopamine
a9f15b6f12
fix: downgrade vue-tsc to 2.0.28 (#18737) 2024-11-01 15:36:10 +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
jiaxiang
dab6b73040
refactor: replace type checking with built-in functions (#18720)
* refactor: replace typeof string with the built-in isString

* refactor: replace typeof boolean with the built-in isBoolean

* refactor: replace typeof undefined with the built-in isUndefined

* chore: style

* chore: style
2024-10-31 09:21:21 +08:00
jiaxiang
eb899f0702
refactor: replace typeof number with the built-in isNumber (#18706)
* refactor: replace typeof number with the built-in isNumber

* style: format
2024-10-30 14:54:49 +08:00
0song
fff8c4a28b
chore: update doc (#18710) 2024-10-30 05:42:01 +00:00
jiaxiang
36bd70670e
refactor: replace typeof fn with the built-in isFunction (#18705) 2024-10-30 08:42:04 +08:00
qiang
a6430f5b98
fix(components): [select] error parameters of getValueIndex (#14173)
* fix(components): [select] error arguments of getValueIndex

closed #14139 #18247

* test: fix test

* style(components): [select] optimize code format
2024-10-29 14:43:24 +08:00
Jungzl
7bba5332f1
chore: update dependencies (#18573)
* chore: update dependencies

typescript: v5.5
vue-tsc: v2
eslint: v8-latest
@commitlint/*: v18

* fix: apply suggestions

* fix: ignore some ts errors
2024-10-29 10:01:58 +08:00
jiaxiang
e306995707
fix(components): [select-v2] group label overflow hidden (#18551)
fix(components): [select-v2] overflow hidden
2024-10-28 17:29:44 +08:00
jiaxiang
10fcc59ed4
refactor: replace Array.isArray with the built-in isArray (#18671)
chore(components): [descriptions] isArray replace Array.isArray
2024-10-28 15:36:44 +08:00
Liao-js
72c3ce1eea
style(components): [popper] popper border error (#18635) 2024-10-27 17:38:01 +08:00
qiang
f2a65850b4
fix(hooks): [useId] SSR hydration error caused by id in vue@3.5+ (#18647) 2024-10-27 15:49:43 +08:00
btea
0705f30364
docs(components): [tree] declare data type (#18660) 2024-10-27 15:15:17 +08:00
jiaxiang
36193cc8d9
fix(components): [slider] no render popper dom when showTooltip is false (#18667)
refactor(components): [slider] no render popper and showTooltip is false
2024-10-27 14:38:21 +08:00
Zhong
d7dfce37e7
chore(components): [tour] remove redundant check for 'open' variable (#18668)
refactor(components): [tour] remove redundant check for 'open' variable

The check for 'open.value == true' was unnecessary since 'open' is already verified to be non-null
earlier in the code.
2024-10-27 14:32:08 +08:00
btea
9c168ecf36
ci: update action vertion (#18663) 2024-10-27 14:23:24 +08:00