Commit Graph

13 Commits

Author SHA1 Message Date
Noblet Ouways
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 db0116a288.

* Revert "chore: fix"

This reverts commit 69c82a90c0.

* chore: fix

* style: `pnpm lint:fix`

* fix: lint

* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
Rhodi
c043e5fc81 fix(components): [collapse] resolve space key conflict and improve accessibility (#20529)
* fix(components): resolve space key conflict and improve accessibility

- Replace native `<button>` with `<div role="button">` in collapse header
- Refactor keyboard event handling for Enter/Space triggers
- Add event propagation control for nested input elements
- Implement ARIA-compliant focus management
- Prevent unintended collapse toggling during input interactions

closed #20520

* fix: update based on review comments

* fix: update base on review comments
2025-06-06 15:44: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
w2xi
2d076d87d5 feat(components): [collapse-item ] enhance title slot with isActive property (#20613) 2025-05-01 16:36:27 +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
Jeremy
4ff8f28ebc refactor(components): [collapse] (#10289)
* refactor(components): [collapse]

* Extract logic code out of component file.
* Extract DOM code out of component file.
* Reorganize code for better readabilities.

* chore: apply suggestions

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-11-01 00:27:47 +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
bqy
e083447b48 refactor(components): [collapse] refactor (#6307)
* refactor(components): [collapse] refactor

* refactor(components): [collapse] refactor

* refactor: rename

Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-01 20:44:32 +08:00
Alan Wang
7246b07011 fix(components): [el-collapse] watch modelValue invalid (#4593) 2022-01-19 17:31:51 +08:00
三咲智子
0636e1e240 style: add import and stricter lint (#3440)
* style: add import lint

* chore: apply eslint rules

* chore: add stricter lint

* chore: lint all files

* auto fix

* manually fix

* restore build-indices.ts
2021-09-17 15:27:31 +08:00
三咲智子
55348b30b6 style: use prettier (#3228)
* style: use prettier

* style: just prettier format, no code changes

* style: eslint fix
object-shorthand, prefer-const

* style: fix no-void

* style: no-console
2021-09-04 19:29:28 +08:00
jeremywu
b0f4fc5f23 refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00