JeremyWuuuuu
5e68255e11
fix(utils): circular reference ( #7057 )
...
- Fix circular referencing in refs.ts
2022-04-08 14:29:52 +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
三咲智子
28c3634cda
fix: move @types/lodash to dep ( #7046 )
...
* fix: move @types/lodash to dep
* fix: deps
2022-04-08 00:37:46 +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
云游君
316efcc045
feat(theme-chalk): dark palette & common color mixins ( #6999 )
...
* feat(theme-chalk): dark palette & common color mixins
* chore: move layouts var
* feat: add dark transparent colors for designer
* refactor: remove example-showcase dark bg
2022-04-04 22:46:00 +08:00
renovate[bot]
51bd286b6d
chore(deps): update all non-major dependencies ( #6995 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-04 15:54:28 +08:00
云游君
0529352776
feat(theme-chalk): card support dark ( #6975 )
...
* feat(theme-chalk): card support dark
* refactor: move dark css-vars to one file
2022-04-04 13:33:39 +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
Zhongxiang Wang
ec559688f9
fix(theme-chalk): [el-table] fix custom header background of fixed column ( #6931 )
...
* fix(components): [el-table] fix custom header bg of fixed column
* fix(components): [el-table] fix custom header bg of fixed column
* fix(components): [el-table] fix custom header bg of fixed column
2022-04-01 17:01:05 +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
三咲智子
d6a4415306
chore: upgrade deps ( #6937 )
...
* chore: upgrade deps
* chore: upgrade deps
2022-04-01 10:33:16 +08:00
troy
d0280b5eff
fix(components): [input] 添加prepend或append插槽后, clearable无法显示 ( #6756 )
2022-03-31 21:08:35 +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
Chingiz Mammadov
7a4fc4cefb
locale: Added Azerbaijani language ( #6878 )
...
* locale: Added Azerbaijani language
* fix: Formatted locale file
* docs: added azerbaijani language to supported language list
* fix: Fixed TYPO
2022-03-30 09:26: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
renovate[bot]
65149ab551
fix(deps): update all non-major dependencies ( #6893 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-30 02:42:23 +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
bqy_fe
c9c1301e3b
fix(components): [table-column] does not render defualt slot when children are comment nodes ( #6745 )
2022-03-25 19:08:25 +08:00
bqy_fe
210e4c9dd3
fix(components): [tree-v2] fix setCheckedKeys([]) can't clear halfCheckedKeys ( #6819 )
2022-03-25 17:59:04 +08:00
JeremyWuuuuu
0ff293b3e9
chore(hooks): [floating] fix eslint warnigns ( #6827 )
...
- Update importing order
2022-03-25 17:39:01 +08:00
JeremyWuuuuu
da992a97b2
feat(hooks): [floating] add use-floating ( #6822 )
...
* feat(hooks): [floating] add use-floating
- Implement floating-ui vue with composition API
- Add test for the hook.
* Update coordinate type
2022-03-25 15:43:54 +08:00
Xc
2b40ea8145
fix: Cascader Unexpected display 'No Data' ( #6815 )
...
Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-03-25 15:43:35 +08:00
三咲智子
184facdb4c
chore: add eslint rule sort imports ( #6823 )
2022-03-25 15:35:56 +08:00
bqy_fe
6eead7cc2f
fix(components): [autocomplete] fix can not fetch suggestions when after clear ( #6820 )
2022-03-25 15:30:24 +08:00
Xc
e5b1606b74
perf(components): [input-number] components review ( #6683 )
...
* perf: input-number components review
* perf: delete never used , perf calculation formula
* perf: input-number review
* perf: input-number review
* perf: input-number review
* perf: input-number review
Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-03-25 15:20:40 +08:00
JeremyWuuuuu
c098496f0a
feat(project): adapt floating ui ( #6812 )
...
- Add floating UI as dependency
2022-03-24 21:52:23 +08:00
JeremyWuuuuu
5afe23c18c
refactor(components): [el-popper] refactor popper to script setups ( #6725 )
...
- Update legacy syntax to script setup for popper
- Update tests due to changes
- Move popper/token to element-plus/tokens
2022-03-24 21:22:46 +08:00
三咲智子
2c72c2ef37
fix: import dayjs
2022-03-24 20:57:45 +08:00
JeremyWuuuuu
f2d23ba049
fix(components): [el-form] clear validate after reset fields
...
- Enhancement for #6758
- Add test case against changes
2022-03-24 20:54:18 +08:00
云游君
f74f4e94d2
refactor(theme-chalk): remove default size class & simplify button css ( #6782 )
...
* refactor(theme-chalk): [button] remove default size class & simplify css
* test: fix test caused by size remove default
* fix: adapt for form default & remove tag default button m 0
* fix: add uno.css & bem for tag
2022-03-24 19:42:09 +08:00
btea
cffc865f21
fix(components): [cascader] loading icon position ( #6802 )
2022-03-24 18:29:47 +08:00
三咲智子
8639b58583
fix(components): [form] clear validate after resetFields ( #6758 )
2022-03-24 15:40:42 +08:00
msidolphin
e77957f8ba
fix(components): [el-table] filter failed when tableLayout is auto ( #6798 )
2022-03-24 15:22:20 +08:00
msidolphin
2759ecf5b2
fix(components): [el-table] cannot scroll when tableLayout is auto ( #6790 )
...
* fix(components): [el-table] cannot scroll when tableLayout is auto
* chore: improve code
2022-03-24 15:20:55 +08:00
Muyao
7b61eba9f3
fix(components): [el-select] reset selectedLabel when toggle multiple ( #6769 )
...
fix #6766
2022-03-24 15:19:44 +08:00
JeremyWuuuuu
daa62d6170
feat(components): [el-config-provider] add config items ( #6797 )
...
- Add `a11y` to global config
- Add `keyboardNavigation` to global config
- Enhance config provider injection test
2022-03-24 15:19:32 +08:00
JeremyWuuuuu
b051efd1b7
feat(components): [el-config-provider] experimental feature toggle ( #6794 )
...
- Add experimental feature toggle to config provider
- Add experimental feature toggle documentation
- Update test cases against feature toggle
2022-03-24 13:48:58 +08:00
Yuyao Nie
1db4ae09ac
chore(components): [table] filter out invalid className ( #6717 )
...
* chore(components): [table] filter out invalid className
* chore(components): [table] modify codes by comments
2022-03-23 23:22:42 +08:00
gjfei
e179ee6960
refactor(components): [time-picker] use useNamespace ( #6523 )
...
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-23 22:58:43 +08:00
gjfei
0e274ad7d4
feat(components): [dropdown] add buttonProps ( #6183 ) ( #6185 )
2022-03-23 19:26:46 +08:00
三咲智子
74a4614605
feat: export constants ( #6763 )
2022-03-23 18:42:12 +08:00
三咲智子
a9e579fef5
refactor(components): [upload] improve code and typings ( #6762 )
2022-03-23 18:36:31 +08:00
三咲智子
8ae7acc68e
fix(components): [form] add debounce for validate state ( #6779 )
2022-03-23 18:35:25 +08:00
三咲智子
3d77bcd29b
fix: global config when undefined ( #6777 )
...
closes #6760
2022-03-23 18:30:50 +08:00
Hefty
bbcd54ce7f
fix(components): [message-box] textarea can not use multiline text ( #6774 )
...
fix : #6765
2022-03-23 18:15:10 +08:00
Hefty
35ad87ef0b
fix(components): [input] textarea border does not display on ios ( #6768 )
...
fix : #6752
2022-03-23 18:13:39 +08:00
YunYouJun
0574c7eaca
refactor(theme-chalk): use getCssVar instead of var(--el) & fix details
2022-03-23 17:10:40 +08:00
bqy_fe
7218ee19a7
refactor(components): [empty] refactor ( #6703 )
2022-03-22 17:48:58 +08:00
Hefty
0d11c121b6
fix(components): [time-picker] cancel button not work correctly ( #6735 )
2022-03-22 17:03:39 +08:00
Hefty
ae33485f5a
fix(components): [el-tabs] label slot not update ( #6738 )
2022-03-22 17:01:13 +08:00
Delyan Haralanov
b61dc63375
fix(components): [dropdown] ignore show/hide timeouts for click trigger ( #6720 )
2022-03-21 21:52:58 +08:00
云游君
e4c6f6d0d9
refactor(theme-chalk): use css var instead of component hex colors ( #6727 )
...
* refactor(theme-chalk): use css var instead of component hex colors
* refactor(theme-chalk): hex colors to css var & use mixin as namespace
2022-03-21 21:41:33 +08:00
renovate[bot]
8f1e6168b1
chore(deps): update all non-major dependencies ( #6729 )
2022-03-21 17:40:56 +08:00
Carter Li
bdbb70b49c
feat(components): [autocomplete] fetchSuggestions supports Promise ( #6695 )
2022-03-21 15:51:39 +08:00
btea
d083be90c9
feat(components): [cascader] add tag-type attribute ( #6726 )
...
* feat(components): [cascader] add tag-type attribute
* chore: add comment
2022-03-21 12:42:03 +08:00
JeremyWuuuuu
3be9aee6b4
chore(components): [el-breadcrumb] enhancement ( #6713 )
...
- Remove some unnecessary code for breadcrumb
- Update tests
2022-03-19 12:17:15 +08:00
Hefty
e464348655
fix(style): [el-checkbox-group] vertical align in form-item ( #6688 )
2022-03-19 09:35:34 +08:00
Hefty
acecd8e668
fix(components): [el-input] keydown event validator warming ( #6691 )
2022-03-19 09:28:28 +08:00
云游君
aeee7339f4
refactor: css vars for reset.scss & reset for docs & fix cards ( #6698 )
2022-03-18 23:53:11 +08:00
JeremyWuuuuu
3f72ec5818
test(ssr): add ssr testing cases ( #6657 )
...
* test(ssr): add ssr testing cases
- Add cases for backtop, badge, breadcrumb, button, calendar
- Fix a issue which caused backtop not SSR renderable
* Update card, carousel cascader test cases
* Add more cases
2022-03-18 11:56:41 +08:00
JeremyWuuuuu
6b74660a20
chore(components): [el-carousel] code style refactor ( #6693 )
...
* chore(components): [el-carousel] code style refactor
- Remove duplicated code
- Simplified the code for components
* Wrap resize handle into shallowRef
* Export CourouselItemState type
* Enhance itemInStage method
* Refine code
2022-03-17 22:20:25 +08:00
卜启缘
176bc652ea
refactor(components): [carousel] refactor ( #6681 )
...
* refactor(components): [carousel] refactor
* fix: build error
2022-03-17 12:21:06 +08:00
blackie
cc8ee8e031
fix(components): [menu-item] add fallback-placement ( #6684 )
2022-03-17 10:17:11 +08:00
Xc
c6b69e217d
fix: input-number in step-strictly onChange bug ( #6662 )
...
Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-03-16 21:53:57 +08:00
Hefty
23d49c06c2
fix(components): [el-dialog] DoneFn parameter should be optional ( #6675 )
2022-03-16 21:09:12 +08:00
JeremyWuuuuu
6995b80b78
test(components): [el-form-item] test enhancement ( #6677 )
...
- Extract success handler for form item validation
- Add test cases against form validation emit events
2022-03-16 21:08:58 +08:00
LYlanfeng
597f9c5c2c
fix(components): [form-item] emit validate when passed not triggered ( #6671 )
2022-03-16 18:09:27 +08:00
JeremyWuuuuu
adf1ecf3eb
fix(components): [el-form] validation with callbacks throws ( #6669 )
...
* fix(components): [el-form] validation with callbacks throws
- Fix Form component's validation with callbacks still throws error
- Fix FormItem component's validation with callbacks still throws error
- Update test cases to make sure this functionality's integrity
* Fix linter
2022-03-16 15:43:49 +08:00
Zhongxiang Wang
9843fb1d69
fix(components): [table] not scroll empty block when scrolling table ( #6615 )
...
* fix(components): [table] not scroll empty block when scrolling table
* fix(components): [table] fix unexpected gap
* fix(components): [table] fix unexpected gap
2022-03-16 10:47:30 +08:00
云游君
4c7638dd5a
fix(docs): build without window and Element error ( #6656 )
2022-03-15 22:13:01 +08:00
Yuyao Nie
8b4d55ff9e
fix(components): [menu] do not handle resize of child vnode ( #6131 )
2022-03-15 20:46:22 +08:00
JeremyWuuuuu
6eb8cfa1ef
chore(ssr): moveout ssr testing files ( #6655 )
...
- Move testing files to ssr-testing/
2022-03-15 20:18:06 +08:00
JeremyWuuuuu
6aeb2d7aab
feat(components): [el-result] warn users using subTitle as slots ( #6651 )
...
* feat(components): [el-result] warn users using subTitle as slots
- Add deprecation warning for el-result sub-title slots
- Update documentation with a slotted sub title
* Fix useDeprecated typing issue
2022-03-15 19:50:50 +08:00
xc
dba6a63e20
fix: selet-v2 value-key mode selected style and onClonse bug ( #6602 )
...
* fix: selet-v2 value-key mode selected style and onClonse bug
* style: format
Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-03-15 19:36:41 +08:00
三咲智子
bb939c6a58
refactor(build): move to internal package ( #6585 )
...
* refactor(build): move to internal package
* ci: fix
* chore: fix
* fix: docs
* chore: add fast-glob to root package
* chore: fix PR comments
* build: add tsx
* refactor: re-organize
* refactor: improve log
2022-03-15 19:23:38 +08:00
JeremyWuuuuu
2d3d09b545
test(ssr): add ssr testing cases ( #6647 )
2022-03-15 19:21:54 +08:00