Commit Graph

22 Commits

Author SHA1 Message Date
snowbitx
d64028509a feat(components): [radio-group] support options with el-radio-button (#22285)
* feat(components): [radio-group] support options with el-radio-button

* chore: rename prop

* chore: add doc

* Update radio-group.vue

* Update radio.test.tsx

* Update radio.test.tsx

* refactor: change prop name and enum
2025-09-30 11:15:48 +08:00
Zhong
676385a009 fix(components): [checkbox-group/radio-group] avoid passing alias fields to component (#22346)
* fix(components): [checkbox-group/radio-group] avoid passing alias fields to component

* test: fix case
2025-09-29 14:32:02 +08:00
一只前端汪
7c16480bcd refactor(style): Update Eslint to V9 and Prettier to V3 (#21949)
* refactor(style): Update Eslint to V9 and Prettier to V3

* fix: vscode color

* fix: vscode color

* chore: remove Useless dependence and old config file

* chore: format

* Merge branch 'dev' into eslintV9

* fix: fix

* fix: ssr test

* fix: ssr test

* fix: use defineConfig

* fix: prettier format and ignore docs dist

* fix: index.mjs => index.js

* fix: Vscode color

* fix: prettier ignore global.d.ts

* fix: format

---------

Co-authored-by: 2586740555 <15972343+CYJ090915@user.noreply.gitee.com>
2025-09-29 14:14:30 +08:00
snowbitx
f74e403299 feat(components): [radio-group] support options prop rendering (#21543)
* feat(components): [radio-group] support options

* test: add test case

* docs: tweak doc

* Update basic-usage.vue

* docs: tweak doc

* Update packages/components/radio/src/radio-group.vue

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

* chore: label prop

* Update packages/components/radio/src/radio-group.ts

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

* Update packages/components/radio/src/radio-group.vue

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

* refactor: use ts logic

* Update form.md

* Update message.ts

* refactor: fix effect lost

* refactor: use template logic and update version

* Update radio-group.ts

* Update options.vue

* Update options.vue

* refactor: rename props and  support additional attributes and  render

* chore: default key

* chore: use optionProps

* chore: fix build error

* chore: fix build error

* chore: fix build error

* chore: fix build error

* chore: fix build error

* Update radio-group.vue

* Update basic.vue

* refactor: refer checkbox

* Update pnpm-lock.yaml

* Update pnpm-workspace.yaml

* Update package.json

* Update package.json

* chore: ts error

* Update radio-group.ts

* Update radio-group.ts

* refactor: add more attr support and update version

* refactor: props consistent with select

* Update radio.md

* Update packages/components/radio/src/radio-group.vue

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

* Update packages/components/radio/src/radio-group.vue

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

* chore: type with single line

* chore: fix build error

* chore: delete radioRenderer testcase

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2025-09-04 17:26:57 +08:00
qi
b55163fde7 fix(components): [radio] change not trigger (#17047) 2024-08-07 16:02:02 +08:00
sea
d913ba74c8 fix(components): [radio-button] model-value click style lost and format test file (#16692)
* fix(components): [radio-button] model-value click style lost

* refactor: radio button model value style

* style: delete test and format

* style: back old

---------

Co-authored-by: 云游君 <me@yunyoujun.cn>
2024-07-15 19:21:44 +08:00
kooriookami
29ae802fae chore(components): fix test warning (#16688) 2024-04-28 14:56:16 +08:00
kooriookami
3ca4473aeb feat(components): [checkbox & radio] Use value instead of label act as value (#15525)
* feat(components): [checkbox & radio] Use value instead of label

* feat(components): update

* feat(components): update

* feat(components): update

* feat(components): update

* feat(components): update

* feat(components): update test

* feat(components): true-value false-value

* feat(components): update
2024-02-28 12:48:07 +08:00
LIUCHAO
ad0cb8bf97 fix(components): [radio] fix type error (#9879) 2022-09-23 21:07:14 +08:00
Xc
468c3a3274 revert(components): [radio] revert input id (#8677)
* Revert "fix(components): [radio] fix typo (#8556)"

This reverts commit b922b9ea01.

* Revert "fix(components): [radio] Divide attrs into label and input (#8476)"

This reverts commit 2d8a9e4256.
2022-07-07 12:06:55 +08:00
Xc
2d8a9e4256 fix(components): [radio] Divide attrs into label and input (#8476)
* fix(components): [radio] the id attribute acts on the input

* fix(components): [radio] labelAttrs save listeners

* fix(components): [radio] the id attribute acts on the input
2022-06-28 22:57:18 +08:00
三咲智子
7097940f4a refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
Xc
40fb6b8303 refactor(components): [radio] use JSX in Unit test (#8019) 2022-06-01 13:08:01 +08:00
JeremyWuuuuu
9105bd666b fix(components): [radio-group] unique id (#7859) 2022-05-23 10:27:27 +00:00
Xc
b0646b3767 refactor(components): [radio] switch to script-setup synatx (#7701)
* refactor: radio script setup

* refactor: radio script setup
2022-05-17 12:28:20 +08:00
JeremyWuuuuu
f3a8856c63 improvement(theme-chalk): visual enhancement (#7563)
* improvement(theme-chalk): visual enhancement

- Add visual enhancement for keyboard nagivation on form items.

* Fix linter issue

* Fix switch active text issue

* Fix bordered radio demo issue
2022-05-16 21:01:41 +08:00
opengraphica
7173e402b7 feat(components): [form-item] auto attach labels to inputs (#7450)
* feat(components): [form-item] auto attach labels to inputs

* feat(components): [form-item] auto-attach up through select

* feat(components): [form-item] auto id complete for all inputs

* feat(components): [form-item] fix lint, remove unused usePopper hook

* feat(components): [form-item] PR comments
2022-05-05 22:04:32 +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
三咲智子
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
三咲智子
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