54 Commits

Author SHA1 Message Date
ceabde2558 fix(components): [scrollbar] resize according to container size (#21694)
fix: 21693
2025-08-12 08:46:20 +08:00
bf892d8d3d fix(components): [scrollbar] wrap resize scroll distance state change (#21491) 2025-07-24 14:56:25 +02:00
e22cb8cc82 refactor(components): [scrollbar] Simplifying updateTriggerStatus (#21485)
* refactor(components): [scrollbar] Simplifying updateTriggerStatus

* Update packages/components/scrollbar/src/scrollbar.vue

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

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-07-24 20:22:01 +08:00
d255a3e5ed refactor(components): [scrollbar] Simplifying shouldSkipDirection (#21484) 2025-07-24 11:19:20 +08:00
6593d815e6 feat(components): [scrollbar] add distance prop (#21261)
* feat(components): [scrollbar] add `distance` prop

* feat: update trigger end logic

* refactor: code

* refactor: reduce code

* chore: update check

* refactor: rename

* Update docs/en-US/component/scrollbar.md
2025-07-23 10:37:13 +02:00
cfc661c626 feat(types): [components] add public prop types (#21222)
* feat(types): [utils] add ExtractPublicPropTypes type

* feat(types): [components] add props public type

* chore(types): use type-only import for Prop from 'vue'

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

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-07-07 00:51:32 +08:00
58a5852d2d refactor(components): improve component boolean type (#21260) 2025-07-06 14:56:17 +02:00
419b3e02f4 refactor(components): [scrollbar] remove ts-nocheck (#21233) 2025-07-04 09:17:01 +08:00
2f17df1209 style(eslint-config): newline before import type (#21036)
* perf: change to import-x

* feat: add rules

* chore: fix rule

* chore: fix

* chore: fix

* chore: fix

* style: `pnpm lint:fix`

* Revert "style: `pnpm lint:fix`"

This reverts commit db0116a288299c507e3cfc4d7a22e2207265d920.

* Revert "chore: fix"

This reverts commit 69c82a90c01525e38180be4c21e8ef5602512318.

* chore: fix

* style: `pnpm lint:fix`

* fix: lint

* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
0b6e8af510 fix(components): [scrollbar] horizontal scroll drag invalid (#20953)
* fix(components): [scrollbar] horizontal scroll drag invalid

* fix: horizontal scroll
2025-06-07 16:26:53 +02:00
02e050a17b feat(components): [scrollbar] add end-reached event (#20812)
* feat(components): [scrollbar] add `end-reached` attribute

* chore: cleanup

* wip

* wip

* wip

* Revert "wip"

This reverts commit e0da0a2d5345fd133176a5a7895f612a74c17920.

* Revert "wip"

This reverts commit 805988eec71e10287012a91cbd0d3269f9541d0b.

* Revert "wip"

This reverts commit 4f15391dd268eec45e006d292f9fde0dde90de71.

* Revert "chore: cleanup"

This reverts commit c0a82c4d56410389bb7e64657907ce7ffb6de82c.

* Revert "feat(components): [scrollbar] add `end-reached` attribute"

This reverts commit 92e9533d1bbb6631d6f816a5894cf978ad4dada4.

* chore: add emit attempt

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

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

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

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

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

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

* Update packages/components/scrollbar/src/scrollbar.vue

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

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

* fix: update

* fix: update test

* docs: format

* fix: drag scroll

---------

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: warmthsea <2586244885@qq.com>
2025-05-28 21:32:42 +02:00
bc2047d0b6 fix(components): [scrollbar] stop click when click scrollbar (#20316)
* fix(components): [scrollbar] stop click when click scrollbar

* fix: test typo
2025-04-10 18:29:48 +08:00
7be4a3765e chore: emits smaller declaration files (#20109)
* Revert "fix(types): packing unexpected types (#19419)"

This reverts commit 13506ffb814d2b1300bf57c06648b6b27281c7c5.

* Revert "chore: add explicit type annoation (#19352)"

* fix(typescript): borken import paths in declaration files

* chore: emits smaller declaration files
2025-03-18 10:08:44 +08:00
sea
244e811b44 chore(eslint-config): add line-between-blocks rules (#20051) 2025-03-08 08:55:02 +08:00
f51162f559 fix(components): [scrollbar] compatibility with wrapRef does not exist (#18311) 2024-09-19 17:35:59 +08:00
1d26af3066 feat(components): [scrollbar] add tabindex to scrollbar wrap content (#14320)
* feat(components): [scrollbar] add tabindex to scrollbar wrap content

* refactor(components): [scrollbar] set default tabindex to undefined

* refactor(components): [table] change bodyTabindex to scrollbarTabindex

* refactor(components): [scrollbar] remove unnecessary props

* docs(components): add version tags
2024-09-09 17:36:11 +08:00
79938178dd build: use vue-tsc to generate dts (#16111)
* build: use vue-tsc to generate dts

* reduce inline type declaration

* fix: type checking failed

* apply suggestions from code review

* address PR comments
2024-08-07 12:01:46 +08:00
2fce7b469b fix(components): [scrollbar] restore scroll position in onActivated hook (#11363) 2024-07-27 22:21:35 +08:00
bd1613d599 feat(hooks): add use-aria hooks (#16598)
* feat(hooks): add use-aria hooks

* feat(components): update

* feat(hooks): update

* feat(hooks): update
2024-04-23 13:56:44 +08:00
5e3fa20774 fix(components): [scrollbar] multiple rendering (#15822)
* 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

---------

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2024-02-08 17:59:02 +08:00
ca8846c532 feat(components): [select] accessibility enhancement (#14503)
* feat: accessibility enhancement

* fix: adjusting the attributes of Scrollbar

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

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

* docs: updata

* fix(components): [select] aria-selected error

---------

Co-authored-by: btea <2356281422@qq.com>
2023-10-12 09:29:00 -05:00
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
a30ae9d103 refactor(project): removing packages/tokens (#11769)
* refactor(tokens): remove tokens

* Remove tokens/breadcrumb.

* refactor(tokens): remove tokens/button

* refactor(tokens): remove tokens/carousel

* refactor(tokens): removing tokens/checkbox

* refactor(tokens): removing tokens/collapse

* refactor(tokens): removing tokens/dialog

* refactor(tokens): removing tokens/pagination

* refactor(tokens): removing tokens/radio

* refactor(tokens): removing tokens/row

* refactor(tokens): removing tokens/scrollbar

* refactor(tokens): removing tokens/slider

* refactor(tokens): removing tokens/tabs

* refactor(tokens): removing tokens/upload

* refactor(tokens): removing tokens/popper

* refactor(tokens): removing tokens/tooltip

* refactor(tokens): removing tokens/tooltip-v2

* refactor(tokens): removing tokens/date-picker

* refactor(project): removing tokens/experimentals

* Remove tokens/experimentals
* Remove package/tokens
* Remove tokens related parts

* refactor(project): removing packages/tokens completely

* chore: update import statement
2023-03-01 13:59:21 +08:00
Xc
cb490ae3c1 docs(components): [scrollbar] (#10564)
* docs(components): [scrollbar]
2022-11-13 19:51:13 +08:00
d365ad811e refactor(components): [el-table] using flex to refactor table (#8690) 2022-07-11 02:08:21 +08:00
7097940f4a refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
efbd80ff80 refactor(components): [scrollbar] simplify emits type checking (#8281) 2022-06-16 05:15:37 +08:00
zz
b4a89eba0c fix(components): [scrollbar] expose wrap ref (#8035) 2022-06-01 16:48:43 +08:00
zz
54efcfbdfd refactor(components): [scrollbar] switch to script-setup syntax (#7986) 2022-05-31 07:55:03 +08:00
zz
eb9d7c99a5 refactor(components): [scrollbar] use JSX in Unit test (#7987) 2022-05-31 05:42:28 +08:00
77c7225a9d docs(components): [virtual-table] basic usage (#7352)
- Add entry for table-v2
- Add basic usage for table-v2
2022-04-24 13:44:40 +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
de0ee53cf0 test(components): switch all components to vitest (#7205)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-19 12:46:57 +08:00
17397ce9c1 fix(components): [scrollbar] dynamic update scrollbar (#7050) 2022-04-10 14:09:12 +08:00
d3756d941e feat(components): [el-scrollbar] expose scrollTo method (#6663)
* feat(components): [el-scrollbar] expose scrollTo method

* chore: improve code
2022-03-31 14:25:58 +08:00
184facdb4c chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
5d85fba20c chore: self closing vue tag (#6603) 2022-03-13 16:16:11 -04:00
f504ad77fe fix(components): [el-table] scrollbar cannot display when resize table (#6369)
* fix(components): [el-table] scrollbar cannot display when resize table

* fix: add flexDirection

* fix: adjust to inline-block

* fix: revert flex
2022-03-06 18:09:53 +08:00
43c41015eb fix(components): [el-table] avoid scrollbar not display (#5920)
* fix(components): [el-table] avoid scrollbar not display

* chore: optimize code
2022-02-11 15:17:34 +08:00
6503e55277 refactor(utils): migrate utils (#5949)
* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils): remove

* refactor(utils): rename

* refactor(utils): move EVENT_CODE to constants

* refactor: remove generic
2022-02-11 11:03:15 +08:00
c1e5d724d8 refactor(utils-v2): refactor utils (#5699) 2022-02-09 16:59:08 +08:00
bqy
97658e2e5c refactor(components): [scrollbar] use useNamespace (#5732) 2022-01-31 23:03:28 +08:00
0d8f08ab9b perf(components): [el-scrollbar] prevent re-render when scrolling (#5670)
* perf(components): [el-scrollbar] prevent re-render when scrolling

* chore: improve code
2022-01-27 17:10:44 +08:00
136dd297c5 fix(components): [el-scrollbar] fix cannot selection issue (#5330)
fix #5301
2022-01-18 10:41:57 +08:00
164f4249d1 fix(components): [ElScrollbar] fix useResizeObserver watch undefined (#4576) 2021-11-30 15:49:35 +08:00
bc869e3368 refactor(components): refactor scrollbar 2021-11-12 06:55:58 +08:00
0369fa8fac refactor(components): refactor scrollbar 2021-11-12 06:55:58 +08:00
0139d24583 chore: remove useless css prefix & utils (#4075) 2021-10-29 19:16:53 +08:00
57519896c5 fix: [el-scrollbar] cascade selector of cascader is stuck after clicking (#3546)
* fix: [el-scrollbar] cascade selector of cascader is stuck after clicking

* fix: [el-scrollbar] cascade selector of cascader is stuck after clicking

* fix: [el-scrollbar] cascade selector of cascader is stuck after clicking
2021-09-22 15:44:20 +08:00
c86c2b0fe9 style: eslint enable prefer-template (#3414)
* style: eslint enable prefer-template

* chore: apply eslint rules
2021-09-17 09:18:24 +08:00