jeremywu
dd19cae2bc
refactor(components): popper composables ( #5035 )
...
* refactor(components): popper composables
- Refactor popper composables
* updates
* updates for tooltip
* Updates for popper. TODO: fix controlled tooltip animation
* Fix controlled mode popper animation issue
* Add new feature for customizing tooltip theme
* Fix popover and popconfirm error
* - Add Collection component for wrapping a collection of component
- Add FocusTrap component for trap focus for popups
- Add RovingFocus component for roving focus component type
- Adjust dropdown component based on these newly added components
- Add popper-trigger component for placing the trigger
- TODO: Finish current dropdown component, and all component's tests plus documents
* Refactor popper
* Complete organizing popper
* Almost finish dropdown
* Update popper tests
* update only-child test
* Finish focus trap component test
* Finish tooltip content test
* Finish tooltip trigger tests
* Finish tooltip tests
* finish tests for Collection and RovingFocusGroup
* Fix test cases for timeselect & select & popover
* Fix popover, popconfirm, menu bug and test cases
* Fix select-v2 test error caused by updating popper
* Fix date-picker test issue for updating popper
* fix test cases
* Fix eslint
* Rebase dev & fix tests
* Remove unused code
2022-01-04 09:15:15 +08:00
三咲智子
bd0a634069
refactor(utils)!: remove global config ( #5093 )
2022-01-01 00:43:08 -05:00
云游君
2f146e8624
fix(theme-chalk): input-number controls increase/decrease height ( #5088 )
2021-12-31 17:24:38 +08:00
renovate[bot]
e1c01db42c
chore(deps): update dependency gulp-sass to v5.1.0 ( #5066 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-31 10:44:22 +08:00
三咲智子
4335b01d6c
refactor(utils)!: refactor global config ( #4793 )
...
* refactor(utils)!: remove global config
* refactor(utils): named export PopupManager
* fix tests
2021-12-30 19:31:35 +08:00
jeremywu
f024ddc941
feat(style): update cascader radio button padding size ( #5057 )
2021-12-30 19:25:37 +08:00
Carter Li
7ea5c85138
fix(components): [time-picker] improve typings ( #4810 )
2021-12-30 19:03:34 +08:00
kooriookami
10e231168a
style: update descriptions style ( #5025 )
...
* style: update descriptions style
* style: update
* style: update demo
* style: update
* style: update
* style: update
* style: update
* style: update
* feat: update
2021-12-30 17:46:33 +08:00
msidolphin
d4b8199618
fix(components): adjust style of the radio and form ( #5047 )
2021-12-30 17:45:49 +08:00
iamkun
fce6acb5ca
refactor(style): adjust table size to large/default/small ( #5036 )
...
* feat: update table css
* feat: update table css
* feat: update table css
* feat: update table css
2021-12-30 17:32:24 +08:00
云游君
bd75d831f2
fix(theme-chalk): auto menu item height & add css var, close #4864 ( #5034 )
2021-12-30 17:28:49 +08:00
云游君
047dbccf3d
fix: adjust tag icon size & add checkbox with-border demo ( #5033 )
2021-12-30 17:26:32 +08:00
云游君
5067dd3b70
fix(theme-chalk): upload progress & menu padding style & pagination align ( #5011 )
...
* fix: upload progress margin
* fix: menu example style
* fix: picker & radio padding, button form details
* fix(theme-chalk): pagination align
2021-12-29 16:21:29 +08:00
Alan Wang
49ec0d6206
fix(components): [el-input-number]set undefined to modelValue ( #4869 )
2021-12-29 14:27:23 +08:00
云游君
2b209fd760
fix(components): input-number/input/dropdown/select/badge details ( #4866 )
2021-12-28 19:38:23 +08:00
ITKHMER
0a7be517e2
fix(locale): update translation/spelling of Khmer ( #4930 )
...
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-12-28 16:12:51 +08:00
Soul
2481d35d66
fix(components): [el-upload] improve image style ( #4902 )
2021-12-28 16:06:14 +08:00
msidolphin
679e7ef285
fix(components): [el-drawer] fix content cannot scroll issue ( #5001 )
...
fix #4999
2021-12-28 15:04:38 +08:00
C.Y.Kun
369aee6292
feat(components): [ElCheckboxGroup] add Fragment ( #4743 )
2021-12-28 08:51:44 +08:00
云游君
7c651828e3
fix: message-box confirm button style ( #4988 )
2021-12-27 19:39:30 +08:00
BigPengZai
a24ddd3682
fix(components): [el-loading] fix the overlap problem
...
* fix(components): [el-loading] fix overlap bug
2021-12-27 17:23:26 +08:00
Alan Wang
a8619057c1
docs: [el-upload]add description of handleRemove() ( #4983 )
2021-12-27 16:39:31 +08:00
Red Rabbit
61abb754da
fix(components): [el-step] 移除在simple模式下多余的点 ( #4944 )
2021-12-27 16:16:02 +08:00
Delyan Haralanov
542ea5ee7e
feat(components): [date/time-picker] add id attribute to the inputs ( #4972 )
...
* feat(components): [date/time-picker] add id attribute to the inputs
* docs(components): [date/time-picker] add id to attributes
2021-12-27 16:04:39 +08:00
Herrington Darkholme
f85621d209
fix(components): fix message warning ( #4979 )
2021-12-27 14:05:07 +08:00
Herrington Darkholme
0057fbfadc
fix(components): fix more size prop checks ( #4975 )
2021-12-26 15:45:58 +08:00
Herrington Darkholme
343b7e333f
fix(components): always emit scroll with scrollTop number ( #4974 )
2021-12-26 15:44:47 +08:00
Herrington Darkholme
d03d8cc20a
fix(components): change size mini to small ( #4947 )
2021-12-26 15:08:39 +08:00
Herrington Darkholme
b431838d60
fix(core): fix unit testing warning ( #4948 )
2021-12-26 15:08:04 +08:00
Alan Wang
794127b205
feat: [el-popconfirm]add debounce of confirm() and cancel() ( #4943 )
2021-12-24 09:06:20 +08:00
Herrington Darkholme
1682b18684
test(components): fix time picker default value in cancel test ( #4938 )
2021-12-23 13:32:30 +08:00
Herrington Darkholme
931bc691e0
test(components): remove more sleep from input test ( #4937 )
2021-12-23 13:26:23 +08:00
Ryan2128
bbed5a5e96
fix(components): [select-v2] missing validate action when clear ( #4892 )
...
* fix(components): [select-v2] missing validate action when clear
- Fix the bug that missing validate when clear
- Add the same icon and style as the select component
* docs: [select-v2] fix demo render error
2021-12-22 17:37:42 +08:00
Herrington Darkholme
ee5a822bf2
test(components): remove several sleep from test code ( #4924 )
2021-12-22 13:42:20 +08:00
云游君
0870bb968c
fix: tag in select style ( #4914 )
...
* fix: tag in select style
* fix: extract common style from select to fix select
2021-12-21 15:47:20 +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
SongWuKong
8f57bf610e
fix(components): [el-popper] onVisibilityChange ( #4907 )
2021-12-21 14:03:51 +08:00
啝裳
fa751a6ae0
perf: [el-switch] activeIcon and inactiveIcon type ( #4899 )
2021-12-21 11:47:04 +08:00
João Gonçalves
0a43be5939
feat(components): [el-dropdown] add new "popper-class" prop ( #4909 )
...
Co-authored-by: João Gonçalves <joaogoncalves@pixelmatters.com>
2021-12-21 09:44:37 +08:00
Alan Wang
23712260f0
docs: [el-upload]add example of setting on-exceed to cover the old file ( #4861 )
...
* docs: [el-upload]add example of seting on-exceed to cover the old file
* Update packages/components/upload/src/useHandlers.ts
Co-authored-by: btea <2356281422@qq.com>
* Update docs/examples/upload/limit-cover.vue
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: btea <2356281422@qq.com>
2021-12-21 09:27:52 +08:00
云游君
2e75c3e086
chore: move \@ctrl/tinycolor to dependencies ( #4842 )
2021-12-15 23:15:19 +08:00
云游君
74785ca472
refactor(components): set messagebox button size be default ( #4846 )
2021-12-15 17:32:22 +08:00
云游君
efb48a61fd
fix(style): adjust component size & demo ( #4801 )
...
* fix(style): adjust button size & demo spacing
* fix(style): adjust input padding & with prefix/suffix
* fix(style): adjust button padding horizontal
* fix(style): adjust form margin & font-size
* refactor(docs): use setup simplify form examples
2021-12-15 16:36:49 +08:00
Alan Wang
b741ab5e67
fix(components): [el-form] vertical aligin ( #4717 )
2021-12-15 16:32:14 +08:00
cregis0073
13145de1e8
fix(theme-chalk): Put back !optional to @extend ( #4835 )
2021-12-15 16:28:09 +08:00
btea
dda60bd200
chore(utils): remove unnecessary as string ( #4805 )
2021-12-13 13:44:29 +08:00
三咲智子
6287c1f92d
refactor(utils): remove isServer ( #4792 )
2021-12-12 23:28:03 +08:00
云游君
7666e247c3
fix(style): custom icon size ( #4798 )
2021-12-12 22:33:48 +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
云游君
3fa3e9ff6b
refactor(utils): use @ctrl/tinycolor instead of custom color.ts ( #4682 )
2021-12-12 16:14:42 +08:00
三咲智子
d14609954b
fix(build): circular dependency ( #4791 )
2021-12-12 13:39:54 +08:00
renovate[bot]
a8462cf49d
chore(deps): update dependency rollup to v2.61.1 ( #4789 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-12-11 21:14:57 +08:00
btea
81efc44c3b
fix(components): [date-picker] filter custom content comment ( #4651 )
2021-12-11 12:35:47 +08:00
msidolphin
4f6cac4252
fix: [el-date-picker] focus input box when focus method is called ( #4343 )
...
fix #4327
2021-12-11 06:56:40 +08:00
C.Y.Kun
13375ef887
fix(components): [ElDatePicker] click clear is invalid ( #4768 )
2021-12-10 21:21:21 +08:00
Alan Wang
60bdd14317
fix(components): [el-tooltip] fallback placement ( #4771 )
2021-12-10 18:32:30 +08:00
C.Y.Kun
6113e9e539
refactor(components): refactor switch ( #4271 )
2021-12-10 18:30:15 +08:00
Carter Li
fcd11d9bb0
fix(components): [table-column, time-picker] improve typings ( #4761 )
2021-12-10 18:14:31 +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
Alan Wang
35b1f24f8e
fix(components): [el-menu] third-party icons are hidden ( #4754 )
2021-12-10 18:10:42 +08:00
三咲智子
3d019cfbac
refactor(components): refactor loading ( #4750 )
2021-12-10 17:52:11 +08:00
三咲智子
b6c077e2c1
refactor: improve types ( #4746 )
2021-12-10 17:21:53 +08:00
三咲智子
db1d9401fe
feat(components): [el-config-provider] add size ( #4730 )
2021-12-10 17:21:01 +08:00
Kevin
aa5be28c0c
refactor(components): refactor progress
2021-12-10 03:15:16 +08:00
Alanscut
16ea1bfecc
refactor(components): refactor progress
2021-12-10 03:15:16 +08:00
Alan Wang
8600be1cd1
refactor(components): refactor calendar ( #4325 )
...
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-12-10 02:41:46 +08:00
Alan Wang
42430106f3
feat(components): [el-select] tag type ( #4504 )
2021-12-10 01:57:50 +08:00
云游君
15251c3639
fix(style): override el-icon display in el-input__icon ( #4684 )
...
* fix(style): override el-icon display in el-input__icon
* fix(style): use double class selector to override input icon style
* Update packages/theme-chalk/src/input.scss
Co-authored-by: Aex <adaex@qq.com>
2021-12-09 22:56:35 +08:00
Alan Wang
0b269e76a1
feat(components): [el-divider] support setting the dividing line style ( #4435 )
...
* feat(components): [el-divider] support setting the dividing line style
* Update divider.md
2021-12-09 20:41:38 +08:00
Alan Wang
59ea340e7e
fix(components): [el-input-number]set value equal to min will update ( #4650 )
2021-12-08 09:05:52 +08:00
spx
5beaf750f3
feat(components): [el-dialog] support custom close icon ( #4514 )
...
[el-dialog] support custom close icon
2021-12-07 17:51:15 +08:00
Zapic
d2ab3844b6
fix(hooks): [lockscreen] body lock remove unexpected ( #4693 ) ( #4694 )
...
Co-authored-by: KawaiiZapic <kawaiizapic@zapic.moe>
2021-12-07 17:25:50 +08:00
Alan Wang
812b1b8b80
fix(components): [el-input-number]raise native form validation error ( #4706 )
2021-12-07 17:21:48 +08:00
张仕春
f0162167aa
fix(components): [el-table] tooltip wrong style
...
fix #4697
2021-12-07 16:23:11 +08:00
云游君
e01a236849
refactor(style): rename -color-base to --el-bg-color ( #4615 )
2021-12-05 12:59:18 +08:00
三咲智子
b153aaa7a5
fix(hooks): return key name if not defined ( #4664 )
2021-12-04 23:40:06 +08:00
Alan Wang
b7ea88193b
refactor(components): refactor drawer ( #4282 )
...
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-12-04 23:19:34 +08:00
btea
73038fccce
fix(components): [el-message] fit badge error type ( #4662 )
2021-12-04 22:16:33 +08:00
三咲智子
5087026948
refactor: change icon package name ( #4625 )
2021-12-04 11:20:06 +08:00
三咲智子
7647c9e685
fix(hooks): fix translate option ( #4619 )
2021-12-04 11:15:49 +08:00
云游君
240f65c2a3
fix(style): icon font-size inherit ( #4565 )
2021-12-04 01:32:13 +08:00
btea
3c4d4a841c
fix(components): [el-button] computed type ( #4641 )
2021-12-04 01:23:40 +08:00
Oscar Albareda
e68a5968f1
fix(locale): update ca ( #4644 )
2021-12-02 20:05:10 +08:00
Alan Wang
54583bbec7
fix(components): [el-config-provider] autoInsertSpace false ( #4629 )
2021-12-02 20:00:56 +08:00
云游君
db4db285ac
fix(components): dropdown menu divided style, close #4631 ( #4638 )
2021-12-02 19:51:23 +08:00
C.Y.Kun
f1c9be0bbc
fix(hooks): rename ConfigProvdierContext
to ConfigProviderContext
( #4620 )
2021-12-01 22:26:57 +08:00
Alan Wang
16e1056e01
fix(components): [el-date-picker] can't use numpadEnter ( #4563 )
...
* fix(components): [el-date-picker] can't use numpadEnter
* fix(components): [el-date-picker]enter to close when input.value is null
* fix(components): [el-date-picker] add test
2021-12-01 16:29:49 +08:00
C.Y.Kun
0009de4be0
feat(components): [ElCalender] add internationalization ( #4582 )
...
* feat(components): [ElCalender] add internationalization
* perf(components): [ElCalender] remove redundant `ref`
2021-12-01 16:26:51 +08:00
Esteban Fuentealba
f2b08cb025
fix(theme-chalk): add !optional to @extend
2021-12-01 16:26:00 +08:00
三咲智子
57dd10ad49
fix(utils): setTimeout & config-provider type ( #4598 )
...
* fix(utils): setTimeout type
* fix(components): export config-provider types
2021-12-01 15:58:53 +08:00
Alan Wang
d09267b7d4
fix(components): [el-dropdown] icon vertical center ( #4431 )
2021-11-30 16:21:15 +08:00
Alan Wang
49b0acf33a
fix(components): [el-tag] icon-center ( #4438 )
2021-11-30 16:10:36 +08:00
C.Y.Kun
164f4249d1
fix(components): [ElScrollbar] fix useResizeObserver watch undefined ( #4576 )
2021-11-30 15:49:35 +08:00
btea
aae2514a87
improvement(components): [el-cascader-panel] unref store ( #4544 )
2021-11-30 11:38:21 +08:00
C.Y.Kun
b12e82b8fc
fix(components): [ElMenu] the collapsible menu switch will disappear ( #4575 )
2021-11-29 19:29:41 +08:00
云游君
ad3ea51b83
fix(style): input inner padding right when has suffix ( #4574 )
2021-11-29 19:27:39 +08:00
三咲智子
bbd16a08e9
refactor(hooks): refactor hooks ( #4253 )
...
* refactor(hooks): remove use-css-var
* refactor(hooks): remove use-events
* refactor(hooks): remove use-migrating
* refactor(hooks): remove use-transition
* refactor(hooks): named export useAttrs
* refactor(hooks): named export useFocus
* refactor(hooks): refactor useFormItem
* refactor(hooks): refactor useGlobalConfig
* refactor(hooks): refactor useLocale
* refactor(hooks): refactor useLockscreen
* refactor(hooks): refactor useModal
* refactor(hooks): refactor useModelToggle
* refactor(hooks): refactor usePreventGlobal
* refactor(hooks): refactor useRestoreActive
* refactor(hooks): refactor useTeleport
* refactor(hooks): refactor useThrottleRender
* refactor(hooks): refactor useTimeout
* refactor(hooks): refactor useTransitionFallthrogh
2021-11-29 15:58:44 +08:00
云游君
17d6287d6c
fix(components): confirm button style when in message-box ( #4564 )
2021-11-29 13:24:32 +08:00
renovate[bot]
023bc0685d
chore(deps): update dependency prettier to v2.5.0 ( #4536 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-11-28 20:20:09 +08:00
王永辉
0feacce078
Update item.vue ( #4555 )
...
remove useless code
2021-11-28 14:14:31 +08:00