Commit Graph

738 Commits

Author SHA1 Message Date
DoubleBird
a1a24edef2
perf(components): [loading] unmount instance when loading end (#7110)
Co-authored-by: 周陈旻琨 <zhouchenminkun@stary.com>
2022-04-12 02:02:55 +08:00
KAKI
e08e514414
fix(components): [table]emit "current-change" when currentRowKey changed (#6992) 2022-04-11 08:48:10 +08:00
云游君
33859cca5d
feat: add dark for custom button & adjust details (#7086) 2022-04-10 23:58:20 +08:00
JeremyWuuuuu
9a05d5cdc2
feat(components): [virtual-table] Table (#7083)
* feat(components): [virtual-table] Table

- Add composable for column management.

* Update table props
2022-04-10 17:50:18 +08:00
Xc
5849909577
fix: [dropdown] with dialog use zIndex loop (#7012)
Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-04-10 17:30:08 +08:00
bqy_fe
2f38edd715
fix(components): [select] inner input height is inconsistent with select (#6979)
* fix(components): [select] inner input height is inconsistent with select

* Update packages/constants/size.ts

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-04-10 14:48:01 +08:00
白雾三语
793ca8ae29
fix(components): [input] improved when both suffix and prefix are displayed (#7001)
* fix: [el-select-v2] 修復select-v2 v-model 不能正常的支持 Object

* feat: [el-select-v2] 修復select-v2 v-model 不能正常的支持 Object,并增加单元测试

* improvement(components): The input component text display is optimized

* docs(components): Modify the comment

* improvement(components): Set padding default value

* improvement(components): 修改了部分写法并增加了类型

* improvement(components): 添加注释

* improvement(components): Modify the comment

Co-authored-by: 白雾三语 <32354856+czh740132583@users.noreply.github.com>
2022-04-10 14:25:25 +08:00
btea
17397ce9c1
fix(components): [scrollbar] dynamic update scrollbar (#7050) 2022-04-10 14:09:12 +08:00
Xc
02530026e6
fix: popover esc after visible invalid (#7064)
* fix: popover esc after visible invalid

* fix: popover esc after visible invalid(#7058)

Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-04-10 14:08:38 +08:00
JeremyWuuuuu
993971e872
feat(components): [virtual-table] grid table (#7081)
- Add grid table props definitions
- Implemented TableGrid component
- Update Virtual Grid for rich typing
2022-04-10 14:05:12 +08:00
Xc
b2e9d630a6
chore(style): refine repetitive code (#7003)
* style: Refine repetitive code

* style: add default value

Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-04-10 14:04:46 +08:00
Wu Chengyu
dcbc0b156f
Update css.ts (#7009) 2022-04-10 13:59:22 +08:00
云游君
ee91b01400
feat(theme-chalk): dark bg color overlay for components (#7005)
* feat(theme-chalk): dark bg color overlay for components

* fix(theme-chalk): details of components

* fix(theme-chalk): box-shadow
2022-04-10 13:47:19 +08:00
JeremyWuuuuu
bf14b8f25f
feat(components): [virtual-table] TableHeaderCell (#7075)
- Add TableHeaderCell props definition
- Implement TableHeaderCell
- Extract some common props
- Fix components' name
2022-04-09 18:48:03 +08:00
JeremyWuuuuu
9b08619a69
feat(components): [virtual-table] table header row (#7072)
- Add table header row props definition
- Implement table header row
2022-04-09 17:02:08 +08:00
JeremyWuuuuu
c85d2cca3d
feat(components): [virtual-table] header (#7070)
- Add TableHeader props definition
- Implement TableHeader component
2022-04-09 15:16:22 +08:00
JeremyWuuuuu
aeb2b6fc4d
feat(components): [virtual-table] cell (#7068)
- Add Cell component props definition
- Implemented Cell component
2022-04-09 11:38:04 +08:00
三咲智子
2ca93aabd7
feat: publish eslint config and metadata (#7063) 2022-04-09 04:32:01 +08:00
JeremyWuuuuu
1aba790bdb
feat(components): [virtual-table] row (#7060)
- Implement TabelRow component
2022-04-08 17:57:36 +08:00
JeremyWuuuuu
0d84e44f15
feat(components): [virtual-table] row (#7047)
* feat(components): [virtual-table] row

- Define TableRow props
- Refine Table props

* Fix typing issue
2022-04-08 09:38:22 +08:00
JeremyWuuuuu
31feee871e
feat(components): [virtual-table] columns (#7027)
- Define column props and types
- Rearranged types
2022-04-06 22:01:53 +08:00
JeremyWuuuuu
144b0cd925
feat(components): [virtual-table] (#7024)
- Define Column type.
2022-04-06 18:28:32 +08:00
btea
c14ac56be7
fix(components): [image] add infinite prop (#7021) 2022-04-06 17:36:08 +08:00
JeremyWuuuuu
05e3f0c402
feat(components): [virtual-table] (#7014)
- Init Virtual Table
2022-04-06 09:59:33 +08:00
bqy_fe
b863db272e
feat(components): [tabs] add tab-change event (#6978) 2022-04-03 14:09:52 +08:00
btea
c0e6fd7d72
chore(components): [calender] remove import defineExpose (#6974) 2022-04-02 18:30:24 +08:00
虞金攀
904aa0e21b
feat(components): add tree select component (#6843)
* feat(ElTreeSelect): add tree select base component

* refactor(ElTreeSelect): use render function and move select/tree props to them self module

* fix(ElTreeSelect): init value not checked

* fix(ElTreeSelect): `toArray` ignores valid values

* fix(ElTreeSelect): expose not working when defined on mounted

* fix(ElTreeSelect): watch `modelValue` deep

* test(ElTreeSelect): add base unit test

* perf(ElTreeSelect): default slot should be a function

* fix(ElTreeSelect): `onNodeClick` can not call,

* test(ElTreeSelect): update unit test

* fix(ElTreeSelect): `onNodeClick` can not call,

* fix(ElTreeSelect): remove folder node when `checkStrictly` is false

* feat(ElTreeSelect): export `ElTreeSelect`

* fix(ElTreeSelect): `filterMethod` conflicts with `filterNodeMethod`

* docs(ElTreeSelect): add component docs

* fix(ElTreeSelect): fix lint

* docs(ElTreeSelect): fix lazy loading requires non-leaf nodes, and change mock labels

* docs(ElTreeSelect): the link address of the attributes is incorrect

* docs(ElTreeSelect): `dropdown` doesn't need the `-` symbol

* refactor(ElTreeSelect): use alias path and make sure vue is above to components

* refactor(ElTreeSelect): use a unified namespace for styles

* docs(ElTreeSelect): change option labels in default slots

* refactor(ElTreeSelect): import `ElOption` using unified entry and change the way to override the select click event

* style(ElTreeSelect): sort imports

* docs(ElTreeSelect): update the documentation for special codes

* refactor(ElTreeSelect): keep it consistent with the select style

* refactor(ElTreeSelect): use `isFunction` from `@element-plus/utils`

* refactor(ElTreeSelect): use single closing tag when no subset

* docs(ElTreeSelect): set `TreeSelect` promotion as `2.1.8`
2022-04-02 15:15:33 +08:00
bqy_fe
209f505a27
refactor(components): [calendar] refactor (#6682)
* refactor(components): [calendar] refactor

* fix: extract constant & rename type
2022-04-01 15:28:41 +08:00
msidolphin
5021214d77
feat(components): [el-virtual-list] support native behaviours (#6945) 2022-04-01 14:37:41 +08:00
btea
2e85acbf9e
fix(components): [select] value support object (#6933)
* fix(components): [select] value support object

* Update packages/components/select/src/select.vue

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-04-01 14:35:36 +08:00
白雾三语
c2ef5a82f5
fix: [el-select-v2] 修復select-v2 v-model 不能正常的支持 Object (#6888)
* fix: [el-select-v2] 修復select-v2 v-model 不能正常的支持 Object

* feat: [el-select-v2] 修復select-v2 v-model 不能正常的支持 Object,并增加单元测试
2022-03-31 20:45:50 +08:00
JeremyWuuuuu
337622ed95 feat(components): [tag] add new API for rounded
- Add new api `round` for rounded tag.
- Add documentation for rounded tag.
- Update document styles.
2022-03-31 17:27:49 +08:00
Zhongxiang Wang
41df8b724c
fix(components): [el-table] use table width as empty block width (#6694)
* fix(components): [table] fix wrong table width is set to resizeState

* fix(components): [table] add tableWidth as empty block width
2022-03-31 15:32:22 +08:00
LYlanfeng
c88e163931
fix(components): [update] fix onChange hook called twice (#6885)
second trigger is input.onchange event, because props has onChange bug not define in upload-content.vue props
2022-03-31 14:42:20 +08:00
msidolphin
d3756d941e
feat(components): [el-scrollbar] expose scrollTo method (#6663)
* feat(components): [el-scrollbar] expose scrollTo method

* chore: improve code
2022-03-31 14:25:58 +08:00
Xc
0c905bbf7e
fix: [ElMessage] grouping mode default type (#6836)
Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-03-31 10:46:53 +08:00
msidolphin
7684dddac4
feat(components): [el-table] add placeholder for tree table (#6905) 2022-03-31 10:27:21 +08:00
云游君
5d0ee3ab34
fix: remove default size warn by set componetSizes (#6908)
* fix: remove default size warn by set componetSizes

* fix: default avatar size
2022-03-31 10:12:52 +08:00
joson
cc9df6ea61
style: delete extra spaces (#6903)
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-03-31 09:11:29 +08:00
bqy_fe
8c26036e60
refactor(components): [image, image-viewer] refactor (#6704)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-30 21:44:30 +08:00
blackie
cd0f5ace61
refactor(components): [tabs] switch to script-setup syntax (#6468)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-30 02:58:57 +08:00
bqy_fe
c05bc511a8
fix(components): [autocomplete] can not fetch suggestions after clear (#6847)
* fix(components): [autocomplete] can not fetch suggestions after clear

* style: define valuePresented constant
2022-03-29 15:48:50 +08:00
Zhongxiang Wang
58ca971e39
fix(components): [el-input] change icon when showing password (#6846) 2022-03-29 15:39:48 +08:00
JeremyWuuuuu
f576d5a57b
feat(components): [tooltip-v2] documentation (#6870)
- Add tooltip-v2 documentation
- Complete tooltip-v2 implementation
2022-03-29 15:12:10 +08:00
btea
fa35d9d179
Revert "fix(components): [el-tabs] label slot not update (#6738)" (#6871)
This reverts commit ae33485f5a.
2022-03-28 22:26:15 +08:00
云游君
19a4e2d7ac
refactor(theme-chalk): overlay/mask/box-shadow css vars (#6848) 2022-03-27 23:23:14 +08:00
iamkun
703ab33e34
fix: time-picker spinner error style (#6850) 2022-03-27 15:52:18 +08:00
JeremyWuuuuu
12218c8454
feat(components): [tooltip-v2] implement tooltip-v2 (#6849)
- Finish implementing tooltip-v2
2022-03-27 10:55:03 +08:00
JeremyWuuuuu
7b166ed7fd
feat(components): [tooltip-v2] trigger implementation (#6844)
- Implement TooltipV2Trigger
- Implement TooltipV2Root
- Fix a potential mem leak issue in OnlyChild
- Add token for tooltip v2
2022-03-26 18:53:56 +08:00
JeremyWuuuuu
9919e0a867
feat(components): [tooltip-v2] add new component (#6838)
* feat(components): [tooltip-v2] add new component

- Init component

* Implement trigger and only child

* Fix typing issue
2022-03-26 13:33:24 +08:00