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
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
36bd70670e
refactor: replace typeof fn with the built-in isFunction ( #18705 )
2024-10-30 08:42:04 +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
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
qiang
845c07adef
feat(components): [date-picker] accessibility enhancement ( #18109 )
...
* feat(components): [date-picker] accessibility enhancement
closed #14150
* docs: update
* test: add test
* chore: change prevent to passive
* fix: long press the clear icon to open the time panel
* fix: cannot read $el
* fix: cannot read $el
* docs: updata
2024-10-27 12:14:53 +08:00
dopamine
cd517d6743
chore(components): [select-v2] remove ts-nocheck comments in select-v2 ( #16746 )
...
* chore: remove ts-nocheck comments in select-v2
* take the review comments
* improve emits type
* the keys of emits use camelCase instead of kebab-case
* apply suggestions from code review
Co-authored-by: btea <2356281422@qq.com>
* reduce duplicate ESLint comments
* use more succinct syntax to define props
* revert emits to kebab-case
* fix: type checking failed
* chore: illustrate why return early in validateIcon
* fix: signature with duplicate parameter names
Co-authored-by: qiang <qw13131wang@gmail.com>
---------
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2024-09-23 13:45:35 +08:00
dopamine
8618a6bcd0
refactor: import shared utilities from @element-plus/utils ( #18048 )
...
chore: import shared utilities from `@element-plus/utils`
2024-08-29 09:04:03 +08:00
thinkasany
b1b69ed235
chore(utils): improve code style for global-node ( #17675 )
...
refactor: improve code style for global-node
2024-07-30 15:07:59 +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
wzc520pyfm
98ce640684
test(utils): [vue] add icon,install,vnode and global-node test ( #16216 )
...
* test(utils): [vue] add icon,install,vnode and global-node test
* test(utils): [global-node] remove repeat code of useless
2024-04-30 10:37:27 +08:00
btea
d0eb6c3d1a
feat: support node 18+ & update tsx and vitest ( #16190 )
...
* feat: support node 18+ & update tsx and vitest
* chore: update
* chore: remove
* fix: update dep
* test: fix autocomplete
* test: update
* test: update
* chore: update
* chore: update
* chore: update
2024-04-11 17:48:34 +08:00
wzc520pyfm
223d0da28a
test(utils): [vue] add refs, size and validator test ( #16201 )
2024-03-23 09:43:03 +08:00
赵添
f7fa14836a
fix(components): [anchor] querySelector error ( #16078 )
2024-03-08 15:25:39 +08:00
赵添
bd3593140b
style(components): [anchor] marker transition change ( #16023 )
...
* style(components): [anchor] marker transition change
* fix(components): [anchor] clear animate scroll
2024-03-04 09:58:19 +08:00
赵添
25bebce59d
feat(components): anchor component ( #15670 )
...
* feat(components): anchor component
* fix(components): [anchor] marker opacity style
* test(components): [anchor] update snapshots
* fix(components): [anchor] style change and add version tag
* docs(components): [anchor] affix mode demo add affix offset
* fix(components): [anchor] change api
* fix: slot name change
* fix: scrollTo method change
* fix: delete getCurrentAnchor api
* style: text overflow
* docs: change toc to anchor
* refactor: useEventListener
* fix: update
* fix: update
2024-02-27 14:22:26 +08:00
qiang
f83761dd2a
style(eslint-config): add eslint rules to restrict the imports of lodash ( #15773 )
...
* style(eslint-config): add eslint rules to restrict the imports of lodash
* fix: lint error
* test(components): [infinite-scroll] test error
* test(components): [infinite-scroll] test error
2024-02-03 12:10:23 +08:00
qiang
240fe6b8e0
fix(components): [collapse] SSR hydration error caused by random ID ( #15500 )
2024-01-15 03:24:50 +08:00
btea
105d79b0d9
refactor: extract isClient and isNumber isBoolean ( #12504 )
...
* refactor: extract isClient and isNumber isBoolean
* test: update test
* refactor: extract isClient to browser
2023-04-20 20:00:49 +08:00
Hefty
c92652d241
fix(components): [input] Write Chinese in parenthesis, letters repeat ( #12154 )
...
* fix(components): [input] Write chinese in parenthesis, letters repeat
closed #11723
* fix: remove redundant |
2023-04-15 10:55:56 +08:00
Naeemo
1ef66c2e34
refactor(components): [backtop] use scrollTo with smooth ( #11103 )
2023-01-04 18:01:38 +08:00
kooriookami
42fb53aaa6
perf(utils): addUnit support string number ( #10362 )
2022-11-02 16:48:55 +08:00
Xc
b45346cc93
fix(utils): [vnode] flattedChildren support subTree ( #10298 )
2022-10-31 16:21:50 +08:00
BTB
19bd02b6bb
fix: withInstallDirective
type error ( #9946 )
...
Co-authored-by: zz <2418184580@qq.com>
2022-09-28 16:46:14 +08:00
三咲智子
ab19e8f2e6
perf(components): [tabs] improve order performance
2022-09-16 22:51:44 +08:00
LIUCHAO
1c94256c19
refactor(utils): refactor flattedChildren
( #9748 )
2022-09-14 11:23:46 +08:00
qiang
c4d0c6f90a
refactor(components): [tabs] improve types ( #9561 )
...
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-09-06 16:26:17 +00:00
zz
1884b1d7c8
refactor(utils): refine iconPropType
( #9515 )
2022-08-29 03:23:35 +00:00
zz
3be8b536b8
fix(utils): fix iconPropType
( #9506 )
2022-08-28 19:13:58 +08:00
zz
f5fa7e741f
refactor(utils): refactor iconPropType
( #9502 )
2022-08-28 13:20:07 +08:00
zz
0bb66e3149
refactor(utils): drop resize-event
( #8618 )
2022-08-08 17:44:09 +08:00
LIUCHAO
7bb6b6d99f
refactor(utils): drop off/on/once, use EventListener instead ( #8960 )
...
* refactor(utils): drop off/on/once, use EventListener instead
* refactor(utils): use useEventListener
* refactor(utils): use useEventListener
* style(components): [roving-focus-group] useEventListener pass ref
2022-07-26 23:01:07 +08:00
jarven
48d0edfe99
fix(hooks): [use-lockscreen] fix namespace ( #8711 )
2022-07-26 18:12:14 +08:00
zz
50f9a6c7c2
fix(utils): fix type error ( #8779 )
2022-07-13 19:48:11 +09:00
三咲智子
7097940f4a
refactor: add ts-nocheck and check all files ( #8401 )
2022-06-22 08:04:42 +08:00
zz
ed174ff73f
refactor(components): [popover] switch to script-setup syntax ( #8273 )
2022-06-22 01:01:11 +08:00
三咲智子
9bc89d089d
refactor(utils): import path ( #8235 )
2022-06-13 09:11:23 +08:00
msidolphin
742bc0d192
fix(components): [el-table] hide tooltip when table is scrolling ( #8012 )
2022-06-02 10:58:44 +08:00
三咲智子
362c7f6b3c
refactor(utils): ep prop ( #8018 )
2022-06-01 08:00:27 +00:00
三咲智子
7e0f6d71a5
fix(utils): type error ( #7939 )
2022-05-30 11:51:50 +08:00
JeremyWuuuuu
66a6d0dc70
chore(components): [date-picker] extract props ( #7894 )
...
- Extract props on basic-year-table
- Update the function signature of utils.castArray
2022-05-25 23:05:17 +08:00
云游君
7a45b88783
fix(components): [date-picker] date-table-cell namespace ( #7684 )
...
* fix(components): date-table-cell & scrollbar namespace
* fix(components): revert scroll className & add comment
2022-05-16 20:58:50 +08:00
三咲智子
84c0b6a37f
refactor(components): [tabs] refactor register pane ( #7449 )
2022-05-02 15:13:34 +08:00
三咲智子
9de79794a3
refactor(utils): move function ( #7336 )
2022-04-23 21:59:17 +08:00
JeremyWuuuuu
658d396ff7
feat(components): [virtual-list] renderers
...
- Add Footer renderer.
- Add footer rendering for table-v2.
- Update table-v2.scss for footer rendering.
- Update utils typing.
2022-04-21 16:37:07 +08:00
三咲智子
1d13ebb05d
feat: drop jest ( #7248 )
...
* feat: drop jest
* test: remove ssr
* test: rename
* chore: update tsconfig
2022-04-19 16:51:44 +08:00
Delyan Haralanov
de0ee53cf0
test(components): switch all components to vitest ( #7205 )
...
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-19 12:46:57 +08:00
三咲智子
cb64881a1d
test: add utils ( #7127 )
2022-04-12 22:50:34 +08:00
三咲智子
b2bfb6f159
fix: vitest
2022-04-12 01:38:15 +08:00
JeremyWuuuuu
5e68255e11
fix(utils): circular reference ( #7057 )
...
- Fix circular referencing in refs.ts
2022-04-08 14:29:52 +08:00