element-plus/packages/components
三咲智子 cb6300c739
refactor(components): [dialog] refactor (#6300)
* refactor(components): [dialog] refactor

- fix TS type.
- enhance prop type `beforeClose`
- move `token.ts` to `@element-plus/tokens`

* refactor: resolve review comments

* test: fix slots
2022-03-01 23:43:50 +08:00
..
affix refactor(components): [affix] use vueuse utils (#6295) 2022-03-01 23:27:00 +08:00
alert refactor(components): [alert] switch to script-setup syntax (#6066) 2022-02-16 21:48:05 -05:00
aside/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
autocomplete refactor(components): [autocomplete] refactor autocomplete (#6067) 2022-03-01 11:48:57 +08:00
avatar refactor(components): [avatar] switch to script-setup syntax (#6070) 2022-02-23 16:38:36 +08:00
backtop refactor(components): [backtop] use JSX in Unit test (#6160) 2022-02-23 16:59:29 +08:00
badge feat(components): [badge] expose content (#6247) 2022-02-23 16:34:32 +08:00
base/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
breadcrumb refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
breadcrumb-item/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
button feat(components): [button] add icon slot (#6343) 2022-03-01 00:11:24 +08:00
button-group/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
calendar refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
card refactor(components): [card] switch to script-setup syntax (#6071) 2022-02-23 20:52:27 +08:00
carousel refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
carousel-item/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
cascader refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
cascader-panel fix(utils): restore scrollIntoView method (#5973) 2022-02-11 18:07:59 +08:00
check-tag refactor(components): [check-tag] switch to script-setup syntax (#6296) 2022-03-01 21:59:38 +08:00
checkbox refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +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 refactor(components): [col] refactor (#6303) 2022-03-01 23:21:42 +08:00
collapse refactor(components): [collapse] refactor (#6307) 2022-03-01 20:44:32 +08:00
collapse-item/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
collapse-transition refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
collection refactor(components): popper composables (#5035) 2022-01-04 09:15:15 +08:00
color-picker refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
config-provider refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
container refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
date-picker refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
descriptions refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
descriptions-item/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
dialog refactor(components): [dialog] refactor (#6300) 2022-03-01 23:43:50 +08:00
divider refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
drawer refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
dropdown fix(components): [el-dropdown-menu] adjust html tag (#6231) 2022-02-24 11:11:44 +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 refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
focus-trap refactor(components): [dialog] refactor (#6300) 2022-03-01 23:43:50 +08:00
footer/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
form test: fix scrollIntoView (#5960) 2022-02-11 12:35:26 +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 refactor(components): refactor icon (#5934) 2022-02-13 23:26:44 +08:00
image refactor(utils): extract isElement (#6292) 2022-02-26 15:00:57 +08:00
image-viewer feat(components): [el-image] support append preview to body (#5883) 2022-02-11 15:16:45 +08:00
infinite-scroll refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
input fix(components): [el-input] missing margin between two icons (#5942) (#6017) 2022-02-15 16:00:32 +08:00
input-number refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
link refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
loading refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
main/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
menu fix(components): set flex-shrink for first child of submenu title (#6315) 2022-03-01 15:41:01 +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 refactor(utils): extract isElement (#6292) 2022-02-26 15:00:57 +08:00
message-box fix(components): [message-box]add type declaration of button-size (#6344) 2022-03-01 23:14:16 +08:00
notification refactor(utils): extract isElement (#6292) 2022-02-26 15:00:57 +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 refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
page-header refactor(components): [page-header] switch to script-setup syntax (#6321) 2022-03-01 22:16:46 +08:00
pagination refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
popconfirm feat(components): [el-popconfirm] support persistent (#6207) 2022-02-22 10:48:59 +08:00
popover feat: [el-popover] add before-enter、before-leave (#6203) 2022-02-21 17:08:21 +08:00
popper refactor(utils): extract isElement (#6292) 2022-02-26 15:00:57 +08:00
progress refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
radio refactor(components): [radio,radio-button,radio-group] use useNamespace (#5731) 2022-02-13 18:58:45 +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 fix(components): [el-rate] allow-half show two icon (#6076) 2022-02-16 10:41:59 +08:00
result refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
roving-focus-group refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
row feat(components): [el-row] enhancement for supporting space-evenly (#6223) 2022-02-23 10:46:06 +08:00
scrollbar fix(components): [el-table] avoid scrollbar not display (#5920) 2022-02-11 15:17:34 +08:00
select style(components): [el-select] collapse-tags存在时,增加左边距 (#6037) 2022-02-15 11:14:29 +08:00
select-v2 feat(components): [el-select] add effect and close #5956 (#5976) 2022-02-11 23:13:33 +08:00
skeleton refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
skeleton-item/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
slider refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
slot refactor(components): [slot] refactor (#6302) 2022-03-01 21:51:16 +08:00
space refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
step/style fix(components): style path error for radio button (#3079) 2021-08-26 16:20:55 +08:00
steps refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +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 fix(components): [el-switch] increase the word count of (in)active-text (#6140) 2022-02-21 10:16:21 +08:00
tab-pane/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
table fix(components): [el-table] fix clearFilter failure problem (#6212) 2022-02-23 10:47:25 +08:00
table-column/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
tabs refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
tag refactor(components): [tag] switch to script-setup syntax (#6288) 2022-02-26 11:37:40 +08:00
teleport refactor(components): [teleport] refactor (#6301) 2022-03-01 23:22:23 +08:00
time-picker fix(components): [el-time-picker] lags when open range picker (#6249) 2022-02-24 11:12:46 +08:00
time-select feat(components): [el-select] add effect and close #5956 (#5976) 2022-02-11 23:13:33 +08:00
timeline refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
timeline-item/style refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00
tooltip refactor(components): [slot] refactor (#6302) 2022-03-01 21:51:16 +08:00
transfer refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
tree fix: el-tree isLeaf type is string (#5954) 2022-02-11 18:18:24 +08:00
tree-v2 refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
upload refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
virtual-list refactor(utils): migrate utils (#5949) 2022-02-11 11:03:15 +08:00
visual-hidden refactor(components): popper composables (#5035) 2022-01-04 09:15:15 +08:00
index.ts feat(components): add virtual tree (#3398) 2021-09-27 11:12:50 +08:00
package.json chore(project): adjust dependency (#3595) 2021-09-24 09:28:21 +08:00