element-plus/packages/components
jeremywu 19bc41f965
feat(hooks): extracting size injection for form items (#3383)
* feat(hooks): extracting size injection for form items

- Extract common code for form items
- Apply extracted code for el-button

* - Address import order

* Update packages/hooks/use-form-item/index.ts

Co-authored-by: 三咲智子 <sxzz@sxzz.moe>

* - Fix type annotation for fallbacks

* - Use MaybeRef to mark type of local fallbacks

Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2021-09-13 23:14:48 +08:00
..
affix refactor(components): refactor affix (#3368) 2021-09-13 12:02:18 +08:00
alert refactor(components): refactor alert (#3365) 2021-09-13 10:48:10 +08:00
aside/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
autocomplete refactor(utils): refactor throwError (#3301) 2021-09-10 10:01:17 +08:00
avatar refactor(components): refactor avatar (#3364) 2021-09-13 10:46:12 +08:00
backtop refactor(utils): refactor throwError (#3301) 2021-09-10 10:01:17 +08:00
badge fix(components): [el-badge] add export type (#3376) 2021-09-13 13:19:24 +08:00
base/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
breadcrumb style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
breadcrumb-item/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
button feat(hooks): extracting size injection for form items (#3383) 2021-09-13 23:14:48 +08:00
button-group/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
calendar feat(components): [el-calendar] add prev-year and next-year (#3360) 2021-09-12 18:43:44 +08:00
card refactor(components): refactor card (#3367) 2021-09-13 10:51:11 +08:00
carousel refactor(utils): improve debug warn (#3302) 2021-09-09 11:49:48 +08:00
carousel-item/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
cascader fix(components): [el-cascader] event renamed to e (#3344) 2021-09-11 15:55:33 +08:00
cascader-panel style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
check-tag refactor(utils): refactor with-install (#3355) 2021-09-12 19:18:14 +08:00
checkbox style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
checkbox-button/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
checkbox-group/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
col style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
collapse style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
collapse-item/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
collapse-transition style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
color-picker style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
config-provider feat(hooks): extracting size injection for form items (#3383) 2021-09-13 23:14:48 +08:00
container style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
date-picker style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
descriptions style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
descriptions-item/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
dialog fix(components): [el-dialog] fix emits (#3375) 2021-09-13 13:19:06 +08:00
divider refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
drawer refactor(components): refactor dialog (#3369) 2021-09-13 12:01:37 +08:00
dropdown style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
dropdown-item/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
dropdown-menu/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
empty style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
footer/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
form Revert "fix(components): [el-form]: ensure form validation always triggers callback (#3294)" (#3324) 2021-09-10 12:02:52 +08:00
form-item/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
header/style fix missing folders and umd locale builds and i18n docs for umd builds 2021-08-25 17:07:06 +08:00
icon style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
image feat(components): image-viewer component support slot (#3345) 2021-09-11 19:47:47 +08:00
image-viewer feat(components): image-viewer component support slot (#3345) 2021-09-11 19:47:47 +08:00
infinite-scroll refactor(utils): drop ie support (#3304) 2021-09-10 15:00:39 +08:00
input style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
input-number feat(components): [el-input-number] add focus & blur methods (#3337) 2021-09-12 19:24:17 +08:00
link style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
loading fix(components): rename loading directive instance name (#3336) 2021-09-12 18:33:24 +08:00
main/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
menu fix(components): [el-menu] fix the infinite loop (#3263) 2021-09-06 23:05:23 +08:00
menu-item/style fix missing folders and umd locale builds and i18n docs for umd builds 2021-08-25 17:07:06 +08:00
menu-item-group/style fix missing folders and umd locale builds and i18n docs for umd builds 2021-08-25 17:07:06 +08:00
message style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
message-box style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
notification style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
option/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
option-group/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
overlay style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
page-header style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
pagination refactor(utils): improve debug warn (#3302) 2021-09-09 11:49:48 +08:00
popconfirm style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
popover refactor(utils): improve debug warn (#3302) 2021-09-09 11:49:48 +08:00
popper refactor(utils): refactor throwError (#3301) 2021-09-10 10:01:17 +08:00
progress style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
radio style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
radio-button/style fix(components): style path error for radio button (#3079) 2021-08-26 16:20:55 +08:00
radio-group/style fix missing folders and umd locale builds and i18n docs for umd builds 2021-08-25 17:07:06 +08:00
rate style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
result style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
row style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
scrollbar refactor(utils): improve debug warn (#3302) 2021-09-09 11:49:48 +08:00
select refactor(utils): drop ie support (#3304) 2021-09-10 15:00:39 +08:00
select-v2 style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
skeleton style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
skeleton-item/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
slider refactor(utils): refactor throwError (#3301) 2021-09-10 10:01:17 +08:00
space style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
step/style fix(components): style path error for radio button (#3079) 2021-08-26 16:20:55 +08:00
steps style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
sub-menu/style fix missing folders and umd locale builds and i18n docs for umd builds 2021-08-25 17:07:06 +08:00
switch refactor(utils): refactor throwError (#3301) 2021-09-10 10:01:17 +08:00
tab-pane/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
table fix: [el-table] default-expand-all doesn't work (#3321) 2021-09-12 18:00:22 +08:00
table-column/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
tabs refactor(utils): refactor throwError (#3301) 2021-09-10 10:01:17 +08:00
tag style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
time-picker style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
time-select style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
timeline feat(components): [el-timeline] add hollow prop (#3229) 2021-09-05 11:07:24 +08:00
timeline-item/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
tooltip refactor(utils): refactor throwError (#3301) 2021-09-10 10:01:17 +08:00
transfer style: use prettier (#3228) 2021-09-04 19:29:28 +08:00
tree refactor(utils): improve debug warn (#3302) 2021-09-09 11:49:48 +08:00
upload feat(components): [el-upload] clearFiles support filter status (#1501) 2021-09-13 03:13:11 +08:00
virtual-list fix(components): [el-virtual-scrollbar] fix move bug (#3379) 2021-09-13 18:07:51 +08:00
index.ts refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
package.json chore: add @vueuse/core (#3370) 2021-09-13 10:37:43 +08:00