Commit Graph

2150 Commits

Author SHA1 Message Date
류한경
50ade1267e
fix(components): [form] align label width if it exists (#7826) 2022-05-22 22:35:51 +08:00
FunkyZc
10a64b65ff
feat(Dialog): expose dialogContentRef (#7633) 2022-05-22 08:17:05 +08:00
qiang
06612ccca3
fix(components): [menu] the styles link error (#7820) 2022-05-21 12:14:13 +08:00
Xc
d56520e4be
fix(radio-group): restore name (#7810)
* fix(radio-group): restore name

* fix(radio-group): restore name
2022-05-20 21:16:16 +08:00
류한경
ac83f03894
refactor(components): [steps] switch to script-setup syntax (#7783)
* refactor(components): [steps] switch to script-setup syntax

improvement(components): [steps] props type

improvement(components): [steps] unnecessary type

* fix(comoponents): [steps] import error

* fix(comoponents): [steps] import error
2022-05-20 19:39:34 +08:00
류한경
1d417f4087
refactor(components): [step] switch to script-setup syntax (#7782)
* refactor(components): [step] switch to script-setup syntax

* improvement(components): [step] props type

* improvement(components): [step] unnecessary type
2022-05-20 18:14:07 +08:00
opengraphica
e1b88263e3
feat(components): [popper] focus trap and a11y (#7736)
* feat(components): [popper] fix focus traps

* feat(components): [popper] add focus trap tests

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-05-20 18:13:27 +08:00
msidolphin
6f04af6c39
feat(components): [table] ensure minimum-size doesn't follow the content (#7627)
* feat(components): [table] ensure minimum-size doesn't follow the content

* chore: add version tag
2022-05-20 17:57:21 +08:00
云游君
d441ee48ef
refactor(theme-chalk): [table] remove useless style (#7807) 2022-05-20 17:46:10 +08:00
三咲智子
517efb99dc
fix: improve deps (#7763) 2022-05-20 17:41:27 +08:00
JeremyWuuuuu
c3486bcdce fix(components): [dialog/drawer] header slot
- Fix header slot rendering for both dialog and drawer.
- Change the deprecation for `title` slot to **3.0.0**.
2022-05-20 17:31:11 +08:00
Anas Boudih
e0a2544f70
refactor(components): [pagination/sizes] switch to script-setup syntax (#7749)
* refactor(components): [pagination/sizes] switch to script-setup syntax

* fix(components): [pagination/sizes] cast props to const

* fix(components): [pagination/sizes] remove prop default

Co-authored-by: metanas <matanas@pre-history.com>
2022-05-20 15:42:30 +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
btea
82030446c7
fix(hooks): use-form-item circular reference (#7793) 2022-05-20 15:27:21 +08:00
Carter Li
6cc11662a6
fix(components): [popper] provide formItemContext conditionally (#7790) 2022-05-20 12:01:19 +08:00
bqy_fe
488eaf5211
fix(components): [time-picker] can not hide panel when click frequently (#7779) 2022-05-20 08:26:12 +08:00
Anas Boudih
f245986996
refactor(components): [pagination/next] switch to script-setup syntax (#7748)
* refactor(components): [pagination/next] switch to script-setup syntax

* fix(components): [pagination/next] move emits

Co-authored-by: metanas <matanas@pre-history.com>
2022-05-19 22:21:09 +08:00
Anas Boudih
82484bab98
refactor(components): [pagination/prev] switch to script-setup syntax (#7745)
* refactor(components): [pagination/prev] switch to script-setup syntax

* fix(components): [pagination/prev] cast props to const

* fix(components): [pagination/prev] extract emits to utility file

* fix(components): [pagination/prev] remove prop default

Co-authored-by: metanas <matanas@pre-history.com>
2022-05-19 22:20:55 +08:00
云游君
eafb60f89f
fix(theme-chalk): [DatetimePicker] change inner to wrapper & use css var (#7703)
* fix(theme-chalk): [DatetimePicker] change inner to wrapper & use css var for width

* test: use wrapper to fix test
2022-05-19 13:57:15 +08:00
bqy_fe
fe302da668
fix(components): [form-item] label is not vertically centered (#7780) 2022-05-19 09:53:07 +08:00
Anas Boudih
353b56e2c8
refactor(components): [pagination/total] switch to script-setup syntax (#7750)
* refactor(components): [pagination/total] switch to script-setup syntax

* fix(components): [pagination/total] cast props to const

Co-authored-by: metanas <matanas@pre-history.com>
2022-05-19 09:18:39 +08:00
Anas Boudih
37ac01d025
refactor(components): [pagination/jumper] switch to script-setup syntax (#7747)
Co-authored-by: metanas <matanas@pre-history.com>
2022-05-19 09:02:40 +08:00
Anas Boudih
66bf5c1280
refactor(components): [pagination/pager] switch to script-setup syntax (#7746)
* refactor(components): [pagination/pager] switch to script-setup syntax

* fix(components): [pagination/pager] cast props to const

Co-authored-by: metanas <matanas@pre-history.com>
2022-05-19 09:01:00 +08:00
JeremyWuuuuu
5bfa42cfed
feat(components): [button] restore type="text" (#7761) 2022-05-18 00:39:31 +08:00
renovate[bot]
0a79c3e33b
chore(deps): update all non-major dependencies (#7754)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-05-17 21:46:20 +08:00
Delyan Haralanov
c99592502f
test: remove deprecated done callback (#7741)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-05-17 20:32:52 +08:00
btea
a859adc9d5
refactor(components): [container] switch to script-setup syntax (#7725)
* refactor(components): [container] switch to script-setup syntax

* refactor: remove uncessary default
2022-05-17 14:25:34 +08: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
btea
792265d56a
fix(components): [table-v2] don't spread headerClass (#7729) 2022-05-17 09:25:32 +08:00
Carter Li
2577b06328
feat(components): [input-number] add :value-on-clear and make it nullable (#7724) 2022-05-17 01:16:44 +08:00
Anas Boudih
9edd89c642
refactor(components): [collection] switch to script-setup syntax (#7710)
Co-authored-by: metanas <matanas@pre-history.com>
2022-05-16 22:33:46 +08:00
Anas Boudih
c77155b899
refactor(components): [timeline] switch to script-setup syntax (#7705)
Co-authored-by: metanas <matanas@pre-history.com>
2022-05-16 21:17:36 +08:00
류한경
9d6329cb99
refactor(components): [main] switch to script-setup syntax (#7707)
* refactor(components): [main] switch to script-setup syntax

* refactor(components): [main] switch to script-setup syntax
2022-05-16 21:11:59 +08:00
btea
60483d4100
fix(components): [cascader] disabled option can't trigger cancel checked (#7604) 2022-05-16 21:11:07 +08:00
lily-elephant
89b3239528
fix(components): date-picker add keydown events(#7506) (#7536)
* fix(components): date-picker add keyup events(#7506)

* Update picker.vue

feat(components): keyup变更为keydown

* Update picker.vue

fix(components): picker delete superfluous code

* Update picker.vue

fix(components): emit事件

* feat: date-picker & timer-picker add unit test

* feat: picker add unit test expected results

* Update time-picker.test.ts

feat: 去除lint error
2022-05-16 21:10:06 +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
云游君
7a45b88783
fix(components): [date-picker] date-table-cell namespace (#7684)
* fix(components): date-table-cell & scrollbar namespace

* fix(components): revert scroll className & add comment
2022-05-16 20:58:50 +08:00
류한경
6521dbb42a
fix(components): [upload] show close tip text (#7696) 2022-05-16 20:58:25 +08:00
류한경
6307bdd049
improvement(components) [divider] add separator role (#7678) 2022-05-14 14:41:18 +08:00
JeremyWuuuuu
5d2daca248
docs(components): [button] link button (#7694)
- Update docs for link button.
- Update vp-translation wrong usage of button.
- Update doc show cases examples.
- Update commit hash value for `link button`
2022-05-14 12:58:09 +08:00
Xc
ad3d998752
feat(components): [button] add link api (#7652)
* feat: button add link type

* fix: code lint

* feat: button add link api

* docs: edit word

Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-05-14 12:20:02 +08:00
三咲智子
21a7089ec5
refactor(build): use type unsafe (#7523)
* refactor(build): use type unsafe

* fix: windows
2022-05-13 16:55:10 +08:00
Hangyeong
eb6bb6265d
fix(components): tabs focus visible (#7665) 2022-05-13 08:42:49 +08:00
Carter Li
325f84d44f
feat(components): menu add more controllable styles (#7549)
1. add some css variables
2. support specifying level padding
3. small code refactor
4. deprecate `background-color` etc
2022-05-12 22:38:26 +08:00
Xc
c0681cf18f
fix: check-strictly bug (#7422) 2022-05-11 10:05:57 +08:00
Xc
07d934e29f
fix(components): [select] in form change size (#7599)
* fix: select in form change size

* fix: unuser
2022-05-11 08:21:52 +08:00
opengraphica
42ff59fc39
feat(components): [date-picker] work with modal focus trap; a11y controls and attributes (#7598)
* feat(components): [date-picker] a11y controls and attributes

* feat(components): [date-picker] keyboard controls for picker

* feat(components): [date-picker] unit test complete

* feat(components): [date-picker] remove immediate watch date
2022-05-10 21:51:17 +08:00
opengraphica
9c51dab123
feat(components): [dialog] a11y and focus trap on dialog components (#7550)
* feat(components): [dialog] a11y and focus trap on dialog components

* feat(components): [dialog] remove default browser focus style

* feat(components): [dialog] clean up async and comment
2022-05-10 17:58:18 +08:00
Satrong
339c619f64
fix(theme-chalk): [input] add not-allowed when disabled (#7612) 2022-05-10 16:47:18 +08:00
云游君
446e54b0e7
fix: datepicker range default height by map.get (#7608) 2022-05-10 12:25:59 +08:00
Zhongxiang Wang
5e63d1ed36
fix(theme-chalk): [input] fix unexpected var name of input-inner-height (#7600) 2022-05-10 09:48:23 +08:00
云游君
0795254a67
docs: add how to custom namespace & example (#7596) 2022-05-10 08:04:37 +08:00
云游君
4873d833e9
fix(components): input textarea padding & label line-height (#7570)
* fix(components): input textarea padding & label line-height

* fix(components): form label top align by line-height
2022-05-09 19:39:23 +08:00
云游君
92d3fcee3c
fix(components): date picker range input__inner inherit height (#7586) 2022-05-09 17:48:31 +08:00
Hangyeong
4011e71395
fix(components): circle progress 0 percent transition effect (#7562) 2022-05-09 17:46:09 +08:00
云游君
f30b994d66
fix(components): select v2 remote method trigger reset value when blur (#7569) 2022-05-09 10:46:44 +08:00
张奎安
db091c4d0c
fix(component): cascader searching placeholder does not disappear (#7540) 2022-05-09 09:58:51 +08:00
Xc
c3d5106f6d
fix: tree-select nodeKey default selected (#7172) (#7181)
Fix the problem that nodeKey initialization is invalid
2022-05-09 09:36:53 +08:00
Jobin
a196b3a1e3
fix(components): [el-tree-v2]prop icon support Component. fix [#7517] (#7518)
* fix(components): [el-tree-v2]prop `icon` support Component. fix [#7517]

* fix(components): [el-tree-v2]prop `icon` support Component. fix [#7517]
2022-05-08 13:44:23 +08:00
云游君
5edc3a3adf
fix(components): input internal autofill border color (#7561) 2022-05-08 13:42:59 +08:00
JeremyWuuuuu
16abb4ca41
improvement(components): [virtual-table] (#7557)
- Add method `scrollToRow` to VirtualTable.
- Restore missing `cellProps` attribute.
- Add example for **Manual Scroll**.
- Add example for **Cross Hovering**.
- Update documentation accordingly.
2022-05-07 19:06:57 +08:00
JeremyWuuuuu
9b3a88811d
improvement(components): [virtual-table] (#7548)
- Add example for selection.
- Add example for inline editing.
2022-05-07 11:47:52 +08:00
JeremyWuuuuu
090706250b
feat(components): [auto-resizer] new component (#7541)
* feat(components): [auto-resizer] new component

- Add new component AutoResizer for skip passing width/height.
- Update documentation for AutoResizer.
- Update FAQs for TableV2.
- Update interfaces for TableV2.

* Fix linter error

* Fix linter issue
2022-05-07 09:47:32 +08:00
云游君
431033b00f
fix(theme-chalk): datetime picker time panel bg (#7543) 2022-05-07 02:26:41 +08:00
三咲智子
5bc6e0ce18
fix(theme-chalk): [button] auto insert space (#7539) 2022-05-06 21:56:07 +08:00
JeremyWuuuuu
52a528fde7
fix(components): [virtual-table] horizontal scroll (#7538) 2022-05-06 21:28:57 +08:00
三咲智子
d8775701d5
refactor(components): [popconfirm] refactor to script-setup (#7522)
* refactor(components): [popconfirm] refactor to script-setup

* refactor: improve ref
2022-05-06 20:16:23 +08:00
JeremyWuuuuu
9a88fb4e46
fix(components): [popper] appendToBody API deprecation (#7534)
* fix(components): [popper] appendToBody API deprecation

- Remove `appendToBody` for components still using it.

* Remove duplicated attribute
2022-05-06 18:41:50 +08:00
JeremyWuuuuu
5daf53e8e1
refactor(components)!: remove deprecated warning (#7528) 2022-05-06 13:19:01 +08:00
JeremyWuuuuu
119024eff0
fix(components): [popconfirm] text button type (#7526) 2022-05-06 13:17:35 +08:00
JeremyWuuuuu
7dc51f57e6
fix(components): [pickers] text button issue (#7530) 2022-05-06 13:16:44 +08:00
JeremyWuuuuu
a4aad5a9c0
feat(components): [button] update text button (#7515) 2022-05-05 23:53:47 +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
云游君
6f9d55471b
docs: add dark mode usage & compile dark/css-vars.css (#7513)
* docs: add dark mode usage & compile dark/css-vars.css

* docs: add example link
2022-05-05 19:56:10 +08:00
bqy_fe
675311b7db
fix(components): [input] when textarea resize is both, the wordLimit position inaccurate (#7445) 2022-05-05 09:52:37 +08:00
Xc
334117c2cb
fix(components): [select] The problem that the size changes and the height does not change (#7471)
* fix: select size height change

* fix: add select size test

* fix: del unuse
2022-05-05 09:49:07 +08:00
JeremyWuuuuu
14cfb0500f
docs(components): [virtualized-table] finishing leftovers (#7496)
- Finishing the documentation examples
- Add APIs to the documentation
- Fix some issue while updating the documentations
2022-05-05 00:54:49 +08:00
云游君
b92b229327
fix: table/dropdown/step dark details (#7483)
* docs: add box-shadow for home cards when dark

* fix: table bg color by not mix fill-color blank

* fix: card bg-color by use mixins

* fix(components): dark details

* docs: adjust config provider example spacing

* fix: table header bg color

* fix: step icon bg color & caret button divider

Co-authored-by: huangzz <1073555675@qq.com>
2022-05-04 13:57:43 +08:00
云游君
8a4bf644ad
fix(theme-chalk): dark mode details (#7460) 2022-05-03 14:02:56 +08:00
Herb Brewer
1700cdc05e
fix(components): [select]label is not shown when value is a object (#7054) 2022-05-03 00:01:08 +08:00
kooriookami
4dc6106660
fix(components): [descriptions] style (#7474) 2022-05-02 23:39:01 +08:00
Xc
654428d144
fix: input-number precision accuracy (#7398)
Enhanced precision processing.
2022-05-02 16:38:08 +08:00
三咲智子
84c0b6a37f
refactor(components): [tabs] refactor register pane (#7449) 2022-05-02 15:13:34 +08:00
三咲智子
879be3ce28
fix(components): [image] fix attrs (#7451)
closes #7242
2022-05-02 14:49:25 +08:00
云游君
281249c113
feat: add custom mix function for colors (#7459) 2022-05-01 20:43:30 +08:00
Satrong
cca6361a55
refactor(theme-chalk): [tabs] use font-size-base (#7416) 2022-05-01 18:45:02 +08:00
云游君
49c7ef2633
feat(docs): use home svg layers for dark (#7408)
* feat(docs): use home svg layers for dark

* fix: people leg color & shadow color

* fix: add shadow for right layer

* fix: dot position in screen
2022-05-01 14:30:14 +08:00
handsomeFu
6b9ac43419
fix(components): [pagination] fix typo (#7420) 2022-05-01 06:42:41 +08:00
joson
9aa6cc1912
feat(components): [switch] add size (#7377)
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-05-01 05:58:43 +08:00
JeremyWuuuuu
46d04c7ddd
docs(components): [virtual-table] spans (#7441) 2022-04-29 17:57:39 +08:00
joson
f8eee1e668
style(components): [upload] dragger unlimited width (#7330)
* style(components): [upload] dragger unlimited width

* style(components): [upload] only modify the style when dragged

* style(components): [upload] set variables for dragger padding

* style(components): [upload] use getCssVar

Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-04-28 00:06:31 +08:00
opengraphica
16989d8187
feat(components): [slider] aria keyboard controls and attrs (#7389)
* feat(components): [slider] aria keyboard controls and attrs

fix #7350

* feat(components): [slider] fix lint error in slider types

* feat(components): [slider] change start value for home/end unit test

* feat(components): prevent scrolling on touch screen for runway

* feat(components): [slider] type-o in locale prop

* fix(components): [slider] PR comments r1

* fix(components): [slider] linting errors
2022-04-27 21:38:47 +08:00
JeremyWuuuuu
dc98974db9
docs(components): [virtual-table] filtering (#7401)
- Add example for adding filter.
- Export header cell slot renderer interface.
2022-04-27 15:41:22 +08:00
Xc
28e87550e9
fix(components): [autocomplete] fetch-suggestions support AsyncFunction (#7315)
* fix: promise fetch bug

* fix: fetchSuggestions is AsyncFunction

* refactor: improve promise

* fix: del unuse

Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-27 02:14:45 +08:00
JeremyWuuuuu
1037eb75b4
docs(components): [virtual-table] grouping header (#7397) 2022-04-26 19:21:12 +08:00
云游君
3d1b3d4a58
refactor(theme-chalk): scss css var namespace (#7344)
* refactor(theme-chalk): scss css var namespace

* fix(theme-chalk): compile getCssVar

* fix(theme-chalk): more --el namespace replace & getCssVarWithDefault

* fix(theme-chalk): use cssVarBlockName & cssVar rewrite button css vars

* fix(theme-chalk): replace empty svg fill color with ns

* chore: use cssVarName for --el-color-white

* chore: fix namespace reactive

* chore: use defaultNamespace
2022-04-26 17:19:09 +08:00
三咲智子
c75b20fa64
refactor(components): [autocomplete] improve typings (#7381)
* refactor(components): [autocomplete] improve typings

* fix: rename
2022-04-26 12:54:46 +08:00
joson
76297424cd
fix(components): [el-select-v2] clear created options (#7305) 2022-04-26 09:13:56 +08:00
JeremyWuuuuu
3f394971dc
fix(components): [col] component typing issue (#7376)
- Add `push` and `pull` to `ColSizeObject`
2022-04-25 23:22:19 +08:00
TANGENNT
9b399385e0
fix(directives): use standard wheel event with passive option (#7256)
Both DOMMouseScroll and mousewheel event are non-standard now. And "[Violation]" warning will be
printed in console without setting `passive: true`.

fix #7016 #2016
2022-04-25 23:19:59 +08:00