Commit Graph

2701 Commits

Author SHA1 Message Date
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
Xc
d1e615eca7 docs(components): [input] (#10513)
* docs(components): [input]
* Update input doc
* Add description for input props
* Add exposes attribute to doc
* Add a11y tag

* docs(components): [input]
2022-11-09 23:57:22 +08:00
Xc
d72fd34b58 fix(components): [focus-trap] input select text (#10535) 2022-11-09 15:47:49 +08:00
kooriookami
ed417d0fe0 style(components): [select-v2] Uniform style consistent with select (#10501) 2022-11-09 12:27:20 +08:00
류한경
10737d2495 fix(components): [dropdown-item] prevent click if disabled (#10532) 2022-11-08 23:37:12 +08:00
faga
d2fb4ffc50 fix(component): [table] can't select row children (#10221)
* fix: table select children

* fix: table select children

* test(components): selectable tree table

* fix: toggle multiple-layer tree

* fix(components): [table]

toggleRowStatus fix

* chore: suggest code style

* chore: isArray instead of row.children

* chore: fix unit test error

* chore: select event trigger only once

* style: code style change

* chore: code style change

* chore: code integration

* chore: code style change

* chore: code style change

* chore: code style change

* chore: [table] code style change

* style: [table] brace style

Co-authored-by: faga <lzc295592@163.com>
2022-11-05 17:18:37 +08:00
zz
fe66c08fa5 fix(components): [cascader] remove extra space in the search text (#10439)
* fix(components): [cascader] remove extra space in the search text

* chore: optimize condition with computed
2022-11-05 14:08:25 +08:00
Jeremy
8ccb7df2df docs(components): [alert] (#10373)
* docs(components): [alert]

* Update alert doc.
* Add comment for alert props.
* Reorganize code.
2022-11-03 20:38:41 +08:00
Xc
e7843c02c4 refactor(components): [input] export instance type (#10368) 2022-11-02 22:32:06 +08:00
Jeremy
dd65c73870 docs(components): [affix] (#10345)
docs(components): [affix]

* Add lost exposed API to documentation.
* Refine code.
* Add descriptions for APIs.
* Refine implementation for `FunctionType` and `EnumType`.
* Update affix documentation based on the changes above.

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-11-01 21:52:16 +08:00
init-qy
d8ee83dd4a fix(components): [tree-v2] default icon render test (#10342)
Co-authored-by: zz <2418184580@qq.com>
Co-authored-by: init-qy <953218204@qq.com>
2022-11-01 12:03:19 +08:00
init-qy
1753e1dedc fix(components): [tree-v2] add missing icon (#10340)
Co-authored-by: init-qy <953218204@qq.com>
2022-11-01 02:37:13 +00: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
Xc
b45346cc93 fix(utils): [vnode] flattedChildren support subTree (#10298) 2022-10-31 16:21:50 +08:00
zz
93f2a1d950 fix(components): [carousel] missing root ref (#10312) 2022-10-30 16:27:44 +08:00
init-qy
48f837baf9 fix(components): [upload] add uid for file handleStart (#9876) 2022-10-28 14:47:15 +08:00
Xc
43b5ea1bfa fix(components): [date-picker] monthRange mode switching month sync (#10292) 2022-10-28 13:56:30 +08:00
btea
874aa0a284 refactor(components): [select] use util function (#10286) 2022-10-27 21:41:27 +08:00
zz
c5aa563bc7 fix(components): [cascader] consistent component height (#10214) 2022-10-27 15:21:34 +08:00
Danny Hebert
edd8b3cebe feat(components): [dropdown] add props for teleported API (#10012) 2022-10-27 15:19:49 +08:00
Xc
1f22916ad7 fix(components): [tooltip] remove deprecated api (#10264) 2022-10-27 15:16:29 +08:00
jarven
a8c6df5958 fix(components): [input-number] increase and decrease error (#10067)
fix(components): [input-number]  increase and decrease error (#10063)
2022-10-27 15:11:29 +08:00
btea
b3be81dc50 fix(components): [checkbox] circular reference (#10278) 2022-10-27 14:05:10 +08:00
zz
4a26aa4ebd fix(components): [form] throw non-validation error (#10255) 2022-10-26 23:18:35 +08:00
btea
6d839aeb96 fix(components): [select] blur trigger remote event should pass string (#10218) 2022-10-26 16:39:05 +08:00
zz
af874ea93e refactor(components): [tabs] simplify logic with hooks (#10224) 2022-10-26 13:01:22 +08:00
Jeremy
bfb8e26ed8 refactor(components): [carousel-item] (#10219)
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-10-26 13:00:42 +08:00
qiang
a7df71885c fix(components): [popper] enable the adaptive configuration (#10104) 2022-10-26 13:00:00 +08:00
Jeremy
904605587f refactor(components): [carousel] (#10188)
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-10-24 12:47:42 +00:00
tinyfind
9285109a0c fix(components): [table] fixed column supported in grouped header (#10096)
* fix(components): [table] fixed column supported in grouped header

* fix(components): [table] fixed column supported in grouped header

* fix(components): [table] fixed column supported in grouped header

* fix(components): [table] fixed column supported in grouped header
2022-10-23 19:56:20 +08:00
zz
dec859a3df fix(components): [popover] abnormal style when effect is dark (#10190) 2022-10-22 21:12:15 +08:00
zz
99fe8b2588 fix(components): [select-v2] empty value should be undefined (#10189) 2022-10-22 21:11:41 +08:00
Jeremy
d3a32cdd0b refactor(components): [calendar] (#10163)
* refactor(components): [calendar]

* Eliminate long function by extracting code as function calls.

* chore: move t out of use-calendar logic
2022-10-22 11:39:18 +08:00
snowingfox
60e5db1e49 refactor(components): [tree-v2] switch to script-setup syntax (#10133) 2022-10-21 09:47:18 +08:00
Jeremy
0a73b244cb refactor(components): [calendar] (#10158)
* Extract calendar common logic to dedicated file.
* Reorganize code for better readability.
2022-10-21 09:13:19 +08:00
Giwayume
715384bf4e fix(components): [dialog] click allow focus out (#10160)
Co-authored-by: OpenGraphica <opengraphica@gmail.com>
2022-10-21 08:50:41 +08:00
Jeremy
c7b8cf7e54 refactor(components): [calendar] (#10155)
* refactor(components): [calendar]

* Extract date-table logic code into a dedicated file.

* chore: add an alias type export
2022-10-20 12:03:02 +00:00
Jeremy
4150baa7a3 refactor(components): [button] (#10152)
* refactor(components): [button]

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

* chore: remove export of button group instance
2022-10-20 17:14:02 +08:00
Jeremy
84a867f847 refactor(components): [backtop] (#10151)
* refactor(components): [backtop]

* Extract logic code from component itself.
* Reorganize code for better readability.

* chore: remove handleScrollThrottled from being returned
2022-10-20 14:02:56 +08:00
Xc
aafdafa555 fix(components): [cascader] modelValue update problem (#10119)
* fix(components): [cascader] modelValue update problem

* fix(components): [cascader-panel] modelValue update

* fix(components): [cascader] use cloneDeep
2022-10-19 15:27:17 +08:00
Simon He
36b6106eff fix(components): [switch] clipped text (#10081)
Co-authored-by: holazz <2418184580@qq.com>
2022-10-19 05:03:46 +00:00
tinyfind
2fb99b01e1 fix(components): [table] fix merge cell cannot show side shadow (#10095) 2022-10-19 10:15:59 +08:00
Danny Hebert
04820a4dcf feat(components): [message-box] add append-to option (#10071) 2022-10-18 21:47:26 +08:00
qiang
01ce124940 fix(components): [autocomplete] optimize the select event type (#10105)
closed #8787
2022-10-18 18:46:52 +08:00
Simon He
bae2a62ba0 fix(component): [table] row-key due to current-change trigger (#10060)
fix: table row-key due to current-change trigger
2022-10-18 12:23:29 +08:00
LIUCHAO
48b40a5f27 fix(components): [table-v2] fix scroll to bottom (#9959)
closed 9953
2022-10-18 12:15:21 +08:00
ntnyq
cc8bfa128c fix(components): [date-picker] fix readonly picker can be triggered (#9931)
fix(components): [date-picker] fix readonly pick can be triggered
2022-10-18 12:10:18 +08:00
Hefty
8dafd0aa53 perf(components): [input] remove useless calculation (#10092)
No need to calculate icon offset after change to the `flex` layout
2022-10-14 18:16:48 +08:00
Hefty
2d69499935 fix(components): [input] missing native form attribute (#10093)
* fix(components): [input] missing native form attribute

closed #9827

* fix: change form prop default value to undefined
2022-10-14 18:15:57 +08:00
Giwayume
8f1285f880 fix(components): [time-picker] fix popup not showing (#9941)
* fix(components): [time-picker] fix popup not showing

* fix(components): [focus-trap] track last active element automatically

* fix(components): linting

* fix(components): add preventDefault to focusout-prevented

* fix(components): sSR and typecheck

* fix(components): focus trap attach document events in mount

* fix(components): remove document undefined check

* fix(components): [select] fix click scrollbar closes popup

* fix(components): allow focus-trap to refocus after pick

Co-authored-by: OpenGraphica <opengraphica@gmail.com>
2022-10-13 14:42:27 +08:00