Commit Graph

59 Commits

Author SHA1 Message Date
dopamine
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
kooriookami
0f8282520f
chore(components): remove deprecated 2.8.0 (#17735)
* chore(components): remove deprecated 2.8.0

* chore(components): update
2024-08-02 11:08:24 +08:00
kooriookami
29ae802fae
chore(components): fix test warning (#16688) 2024-04-28 14:56:16 +08:00
kooriookami
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
kooriookami
d2b8633f98
fix(components): [checkbox] fix true-value and false-value (#16051)
* fix(components): [checkbox] fix true-value and false-value

closed #16049

* fix(components): update test
2024-03-06 16:51:20 +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
kooriookami
01c99477a6
feat(components): [checkbox] Checkbox can uncheck exceed max value (#15513)
* feat(components): [checkbox] Checkbox can uncheck exceed max value

closed #15494

* feat(components): add test
2024-01-16 16:35:57 +08:00
Karolis_Stoncius_Sneakybox
9e08fef52c
fix(components): [checkbox] indeterminate checkbox a11y fix (#14322) 2023-10-12 08:55:23 -05:00
btea
e32cef1d1b
refactor(components): [checkbox] set the label default value to undefined (#14011)
* fix(components): [checkbox] allow the label value to be number 0

* fix: update computed

* test: add test case

* fix: update
2023-10-11 15:00:09 +08:00
一只前端汪
95e411ee08
fix(components): [radio checkbox] fix click event triggered twice (#13936)
fix(components): [radio checkbox] @click event triggered twice
2023-08-15 21:44:21 +08:00
Jeremy
4c27822ef0
fix(components): circular referencing issue (#11777)
* fix(components): circular referencing issue

* Move sizes related into hooks.
* Remove size definitions in forms only re-exports.

* chore: fix failing tests
2023-03-01 16:44:09 +08:00
Jeremy
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
Jeremy
11925c8231
refactor(tokens) - [form] (#11743)
* refactor(tokens): [form] - remove tokens/form

* Move content in tokens/form to components/form.
* Replace token imports in components/form.

* chore: remove form/tokens and replace imports

* refactor(components): [form/form-item]

* Move `useForm` related hooks to components/form
* Replace references to reduce circular dependencies.
2023-02-27 13:19:20 +08:00
Dinq
3780064ce7
style(components): [checkbox] fix checkbox-button class var spelling (#11044)
Co-authored-by: din <amifed.me@gmail.com>
2023-01-04 18:03:28 +08:00
Xc
15d146949f
docs(components): [checkbox] (#10888)
* docs(components): [checkbox]
* Adjust API style
* classname
2022-12-09 14:46:27 +08:00
init-qy
4b0db5d8a1
fix(components): [checkbox] wrong checked status when label is Object (#9863)
* fix(components): [checkbox] wrong checked status when label is Object

* fix(components): [checkbox] add unit test for label is object

* fix(components): [checkbox] add unit test for label is object

Co-authored-by: init-qy <953218204@qq.com>
2022-11-10 12:10:18 +08:00
btea
b3be81dc50
fix(components): [checkbox] circular reference (#10278) 2022-10-27 14:05:10 +08:00
Qiang
7641f2455c
fix(components): the label causes the click event to trigger twice (#9991)
Co-authored-by: qiang <itaco@qq.com>
2022-10-10 19:30:00 +08:00
zz
174a98b21f
fix(components): [checkbox] fix injection warn (#9813) 2022-09-18 18:41:17 +08:00
MonsterPi
49109158c8
refactor(components): [checkbox] refactor (#9594)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-09-16 20:53:11 +08:00
Xc
3f588b0406
fix(components): [checkbox] label is object in group (#9271)
* fix(components): [checkbox] label is object in group

* fix(components): [checkbox] abbreviated code
2022-08-25 21:59:03 +08:00
zz
2d450be082
fix(components): [checkbox] injected form context may be undefined (#8865)
* fix(components): [checkbox] injected form context may be undefined

* chore: fix error
2022-08-05 21:45:17 +08:00
zz
0cabd42412
refactor(components): [checkbox] use JSX in Unit test (#9009) 2022-07-25 22:28:08 +09:00
LIUCHAO
44f48c65af
fix(components): [checkbox] fix type error (#8937)
* fix(components): [checkbox] fix type error

* fix(components): [checkbox] fix type error
2022-07-25 20:40:07 +09:00
Hefty
72d0bc2177
fix(components): add validate-event for form types component (#8173)
* fix(components): add validate-event for form types component

* chore: format code
2022-07-02 21:01:05 +08:00
zz
a894fbf990
refactor(components): [transfer] switch to script-setup syntax (#8343)
* refactor(components): [transfer] switch to script-setup syntax

* chore: improve code

* chore: improve type

* fix: lost reactivity

* chore: fix data error

* chore: simplify code
2022-06-27 22:08:03 +08:00
三咲智子
7097940f4a
refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
ytx
12b6d443c6
fix(components): [checkbox-group] fix Wrong type checking (#8195)
el-checkbox-group uses the emit type of el-checkbox,
resulting in a type check error in the console during development
2022-06-13 21:32:25 +08:00
一昂
18891d79e9
test(components): [checkbox] add data type (#8077) 2022-06-03 22:41:26 +08:00
Xc
8ef2bf70e2
refactor(components): [checkbox-button] switch to script-setup syntax (#7827) 2022-05-24 16:51:19 +08:00
Xc
452f9fc4f9
refactor(components): [checkbox-group] switch to script-setup syntax (#7825)
* refactor(components): [checkbox-group] switch to script-setup syntax

* refactor(components): [checkbox-group] switch to script-setup syntax

* refactor(components): [checkbox-group] switch to script-setup syntax
2022-05-24 15:49:12 +08:00
Xc
d96470f9d2
refactor(components): [checkbox] switch to script-setup syntax (#7794)
* refactor: checkbox switch to script-setup syntax

* refactor: checkbox use useSizeProps and edit test
2022-05-20 15:35:02 +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
三咲智子
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
gjfei
d3915ed493
fix(components): [el-checkbox] modelValue (#6168) (#6169) 2022-03-07 16:58:14 +08:00
三咲智子
c72679e4e9
refactor(components)!: refactor form (#5401)
* refactor(components): refactor form

* refactor: resolve PR comments

* refactor(components): refactor isNested

* refactor: resolve PR comments
2022-03-06 22:20:56 +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
JeremyWuuuuu
a34ad9c53d fix(components): [el-checkbox] is-disabled class is added unexpectedly
- Fix the regression error which cause non-grouped chekcbox has unexpected `is-disabled` class
2022-01-25 11:51:43 +08:00
btea
fec3d0c69d
refactor(components): [checkbox] use useNamespace (#5493) 2022-01-24 18:13:44 +08:00
C.Y.Kun
369aee6292
feat(components): [ElCheckboxGroup] add Fragment (#4743) 2021-12-28 08:51:44 +08:00
msidolphin
1d0d0053fc
fix: [el-checkbox-group]: default value adjusted to empty array (#4316)
fix #4300
2021-12-21 14:38:54 +08:00
云游君
4560adfdf8
refactor(style): adjust component size to large/default/small (#4491)
* refactor(style): adjust component size to large/default/small

* refactor(components): avatar size & use flex instead of block

* refactor(components): adjust check button size

* refactor(components): adjust tag size

* refactor(components): adjust size doc

* fix(components): datetime-picker demo style width

* refactor(components): color-picker size & block to flex

* refactor(components): adjust slider input size

* refactor(components): adjust radio input size for demo

* refactor(components): adjust select size & docs

* refactor(components): adjust form radio size & docs

* refactor(components): add windicss for docs

* refactor(components): adjust skeleton avatar size to css var

* refactor(components): simplify typography size demo

* refactor(components): adjust dropdown size & demo

* refactor(components): adjust descriptions size

* fix(components): datetime-picker showcase class pollute global button

* chore(ci): upgrade docs dependencies to fix ci

* fix(ci): add highlight because vitepress not export it

* fix(ci): disable line for no-console

* fix(ci): remove mini to fix test

* fix(style): code font size

* fix(style): button span flex style

* fix(style): button padding horizontal default 15px

* refactor(components): adjust tag padding size & demo

* refactor(components): adjust form line-height for input

* refactor(components): adjust dropdown menu size & button padding

* fix(style): picker separator block to flex center

* fix: dropdown button span items-center

* style: adjust input-with-icon & size demo & fix input vitepress load

* chore: upgrade dependencies

* chore: upgrade dependencies

* ci: fix website build

* ci: regenerate pnpm-lock.yaml

* ci: use dev pnpm-lock

* ci: update pnpm-lock.yaml
2021-12-12 17:54:21 +08:00
iceman
70b754fe93
refactor(components): [el-checkbox] simplify the value (#4674)
Co-authored-by: iceman <dd>
2021-12-10 18:13:35 +08:00
三咲智子
db1d9401fe
feat(components): [el-config-provider] add size (#4730) 2021-12-10 17:21:01 +08:00
C.Y.Kun
5e3a86eaa9
fix(components): [el-checkbox] tabindex property doesn't work (#4286) 2021-11-08 13:13:47 +08:00