RealityBoy
068df682de
fix(components): [el-menu] compatible menu.value
is null ( #9566 )
2022-08-31 19:33:52 +08:00
zz
3be8b536b8
fix(utils): fix iconPropType
( #9506 )
2022-08-28 19:13:58 +08:00
zz
f5fa7e741f
refactor(utils): refactor iconPropType
( #9502 )
2022-08-28 13:20:07 +08:00
RealityBoy
b121012a70
feat(components): [menu] add expand-close-icon
、expand-open-icon
、collapse-close-icon
、collapse-open-icon
props ( #9444 )
...
* feat(components): [menu] add some Icon prop
* chore: types update
* Update sub-menu.ts
2022-08-26 11:25:22 +08:00
RealityBoy
88ba661f69
fix(components): [el-menu] childNodes is null ( #9408 )
2022-08-23 18:03:04 +08:00
zz
b7fe5df6f9
fix(components): [menu] resize event infinite invoke ( #9342 )
...
* fix(components): [menu] resize event infinite invoke
* chore: update
* Update menu.ts
* Update menu.ts
* chore: update
* chore: update
* chore: update test case
* chore: optimize
* Update menu.ts
Co-authored-by: RealityBoy <1923740402@qq.com>
2022-08-19 18:33:50 +08:00
zz
50da145b2b
fix(components): [menu] expand active menu item ( #9069 )
...
* fix(components): [menu] expand active menu item
* chore: update
2022-07-28 12:57:58 +08:00
RealityBoy
a30b40b1f6
fix: [el-menu] horizontal mode menu drag causes browser crash ( #9027 )
2022-07-26 16:40:39 +08:00
zz
9f5be85a48
fix(components): [menu] resize when dynamic data in horizontal mode ( #8616 )
2022-07-21 17:03:58 +08:00
ParkerFiend
609ee571b4
fix(components): [menu] fix infinite flicker after choosing subMenu ( #8533 )
...
* fix(components): [menu] fix infinite flicker after choosing subMenu
closed #8525 , #8487
2022-07-01 22:01:35 +08:00
三咲智子
7097940f4a
refactor: add ts-nocheck and check all files ( #8401 )
2022-06-22 08:04:42 +08:00
Carter Li
325f84d44f
feat(components): menu add more controllable styles ( #7549 )
...
1. add some css variables
2. support specifying level padding
3. small code refactor
4. deprecate `background-color` etc
2022-05-12 22:38:26 +08:00
云游君
3d1b3d4a58
refactor(theme-chalk): scss css var namespace ( #7344 )
...
* refactor(theme-chalk): scss css var namespace
* fix(theme-chalk): compile getCssVar
* fix(theme-chalk): more --el namespace replace & getCssVarWithDefault
* fix(theme-chalk): use cssVarBlockName & cssVar rewrite button css vars
* fix(theme-chalk): replace empty svg fill color with ns
* chore: use cssVarName for --el-color-white
* chore: fix namespace reactive
* chore: use defaultNamespace
2022-04-26 17:19:09 +08:00
三咲智子
1d13ebb05d
feat: drop jest ( #7248 )
...
* feat: drop jest
* test: remove ssr
* test: rename
* chore: update tsconfig
2022-04-19 16:51:44 +08:00
Delyan Haralanov
de0ee53cf0
test(components): switch all components to vitest ( #7205 )
...
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-19 12:46:57 +08:00
iamkun
9dd5550bf3
refactor: refactor menu to support namespace ( #7131 )
2022-04-13 18:49:12 +08:00
三咲智子
184facdb4c
chore: add eslint rule sort imports ( #6823 )
2022-03-25 15:35:56 +08:00
blackie
cc8ee8e031
fix(components): [menu-item] add fallback-placement ( #6684 )
2022-03-17 10:17:11 +08:00
Yuyao Nie
8b4d55ff9e
fix(components): [menu] do not handle resize of child vnode ( #6131 )
2022-03-15 20:46:22 +08:00
三咲智子
b8c38a9fe5
chore: enhance eslint rules ( #6476 )
...
* chore: enhance eslint rules
* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
Yuyao Nie
a54a0f9283
fix(components): set flex-shrink for first child of submenu title ( #6315 )
...
* fix(components): set flex-shrink for first child of submenu title
* chore(components): modify code according to reviews
2022-03-01 15:41:01 +08:00
msidolphin
4b6e9889de
feat(components): [el-menu] support customize popper offset ( #6049 )
...
* feat(components): [el-menu] support customize popper offset
* docs: improve docs
2022-02-15 11:06:21 +08:00
啝裳
f8bcf51962
fix: delete alteredCollapse in menu ( #5889 )
2022-02-11 14:52:00 +08:00
三咲智子
6503e55277
refactor(utils): migrate utils ( #5949 )
...
* refactor(utils-v2): migrate utils
* refactor(utils-v2): migrate utils
* refactor(utils-v2): migrate utils
* refactor(utils): remove
* refactor(utils): rename
* refactor(utils): move EVENT_CODE to constants
* refactor: remove generic
2022-02-11 11:03:15 +08:00
三咲智子
c1e5d724d8
refactor(utils-v2): refactor utils ( #5699 )
2022-02-09 16:59:08 +08:00
jeremywu
44dc9a1cf5
test(components): remove all sleep statement in the tests ( #5784 )
2022-02-06 00:37:20 +08:00
kooriookami
c2ee36a7fc
fix: tooltip with compoents add persistent ( #5250 )
2022-01-09 17:38:51 +08:00
msidolphin
d61cf39cf3
chore(components): add shadow to panels ( #5146 )
...
* chore(components): add shadow to panels
* fix: improve menu test
2022-01-08 19:52:50 +08:00
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
云游君
3fa3e9ff6b
refactor(utils): use @ctrl/tinycolor instead of custom color.ts ( #4682 )
2021-12-12 16:14:42 +08:00
三咲智子
5087026948
refactor: change icon package name ( #4625 )
2021-12-04 11:20:06 +08:00
C.Y.Kun
b12e82b8fc
fix(components): [ElMenu] the collapsible menu switch will disappear ( #4575 )
2021-11-29 19:29:41 +08:00
啝裳
23958e4a75
fix(components): [el-menu] menu-collapse onLeave lose done ( #4517 )
2021-11-24 17:31:18 +08:00
云游君
e68b6c05d7
refactor(style): rename to text-color bg-color ( #4468 )
...
* refactor(style): rename -font to -text-color & -background to -bg-color
* refactor(style): rename bg-color text-color
* refactor(style): rename 'color' to 'text-color'
2021-11-22 11:19:44 +08:00
Aex
2036755e3c
fix(components): h
function children parameter usage ( #4238 )
...
* fix(components): `h` function children parameter usage
* fix: usage
* fix: icon align
2021-11-05 18:24:19 +08:00
SongWuKong
c728e25cea
fix(components): [el-menu] icon style ( #4122 )
2021-10-31 01:35:50 +08:00
renovate[bot]
5b5e9ab81d
chore(deps): update dependency eslint-plugin-vue to v8 ( #4105 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-10-30 18:13:00 +08:00
啝裳
7332b46131
fix(components): [el-menu] trigger hover, open and close events no work ( #4077 )
2021-10-30 13:40:19 +08:00
Aex
4510816802
refactor(componentes): deprecate the icon font of some components ( #4067 )
...
* refactor(components): [el-breadcumb] icon
* refactor(components): el-tabs icon
* refactor(components): color picker icon
* refactor(components): menus icon
* refactor(components): loading spinner icon
* fix(components): panel-data-pick elicon import
* refactor(components): dropdown item icon
* refactor(components): tabs plus icon
* fix: message & tabs icon test
* fix(components): breadcrumb docs
* fix(components): colorPicker docs
* fix(components): loading docs
Co-authored-by: imswk <syfzxx@vip.qq.com>
2021-10-28 23:37:26 +08:00
Aex
883fd8d6ef
epic: refactor icons ( #3492 )
...
* refactor(components): el-alert icon (#3441 )
* refactor(components): el-alert icon
* fix: el-alert test
* fix: [el-alert] lint error
* feat(utils): add icon util
* refactor(components): el-alert icon
* refactor(utils): icon
* test: update alert test
* refactor: remove el-icon in util
* refactor(components): el-notification icon (#3512 )
* chore: temp save changes
* refactor: update icon
* fix: var
* docs: update icon
* fix: type class error
* style: remove unused class
* fix: update icon type
* docs: update icon
* fix: update iconComponent
* refactor(components): el-dialog icon (#3505 )
* refactor(components): [el-dialog] icon
* fix: typo
* refactor: dialog icon ref
* refactor: dialog icon
* style: update close button size
* refactor(components): el-message-box icon (#3507 )
* refactor(components): message-box icon
* refactor(components): message icon
* fix: test
* refactor: update ref
* fix: test
* docs: update icon
* fix: delete unused code
* docs: update type
* fix: update close button size
* fix: type
* fix: icon type class
* fix: icon type
* fix: update type class
* refactor(components): el-popconfirm icon (#3513 )
* refactor(components): el-popconfirm icon
* fix: space styles
* docs: update example
* docs: update example for trigger event
* refactor(components): el-page-header icon (#3518 )
* refactor(components): el-page-header icon
* docs: update icon
* fix: space errors
* refactor(components): el-steps icon (#3520 )
* refactor(components): el-backtop icon (#3514 )
* refactor(components): el-backtop icon
* fix: update font size
* refactor(components): el-button icon (#3536 )
* refactor(components): el-button icon
* fix: update example
* refactor(components): el-button icon
* refactor: style simplify
Co-authored-by: imswk <syfzxx@vip.qq.com>
* refactor(components): el-tree icon (#3590 )
Co-authored-by: qianjie <qianjie@patsnap.com>
* refactor(components): el-avatar icon (#3599 )
Co-authored-by: qianjie <qianjie@patsnap.com>
* refactor(components): el-carousel icon (#3602 )
Co-authored-by: qianjie <qianjie@patsnap.com>
* refactor(components): el-progress icon (#3607 )
Co-authored-by: qianjie <qianjie@patsnap.com>
* refactor(components): el-result icon (#3609 )
Co-authored-by: qianjie <qianjie@patsnap.com>
* refactor(components): el-timeline icon (#3646 )
Co-authored-by: qianjie <qianjie@patsnap.com>
* refactor(components): el-table icon (#3611 )
Co-authored-by: qianjie <qianjie@patsnap.com>
* chore: add vue to gitignore
* fix: buildProp error
* refactor(components): el-pagination icon (#3605 )
* test: el-menu deprecated icon font (#3794 )
* test: el-loading deprecated icon font (#3795 )
* chore: Update changelog 1.1.0-beta.20 (#3838 )
* fix: about custom extension of table column (#3437 )
* refactor(components): el-autocomplete icon (#3783 )
* refactor(components): el-dropdown icon (#3517 )
* refactor(components): el-dropdown icon
* fix: arrow down icon size
* style: revert
* fix: font-size
* refactor(components): el-link icon (#3538 )
* refactor(components): el-link icon
* refactor: update example
* fix: import icons
* docs: add tip
* refactor: update link icon
* fix: icon align
* fix: typo
* refactor(components): el-select icon (#3780 )
* refactor(components): el-input icon (#3565 )
* refactor(components): input icon
* docs: update example
* refactor(components): el-select icon
* docs: icon usage
* fix: input style
* fix: add scoped
* docs: fix icon
* fix: icon align
* fix: icon align
* fix: typo
* fix: typo
* refactor(components): el-input-number icon (#3566 )
* refactor(components): el-input-number icon
* fix: icon align
* refactor(components): el-tag icon (#3793 )
* refactor(components): el-tag icon
* fix: icon align
* fix: icon margin
* refactor(components): el-switch icon (#3787 )
* refactor(components): el-switch icon
* fix: icon align
* docs: add icon usage
* refactor(components): el-collapse icon (#3788 )
* refactor(components): el-collapse icon
* docs: update icon demo
* fix: typo
* refactor(components): el-uplod icon (#3598 )
* refactor(components): el-uplod icon
* docs: update icon useage
* docs: fix icon
* docs: fix icon
* docs: update upload-filled icon
* fix: icon align
* fix: item icon align
* refactor(components): el-select-v2 icon (#3781 )
* refactor(components): el-select-v2 icon
* revert: play/main.ts
* fix: icon style
* fix: icon solt
* refactor(components): el-cascader icon (#3785 )
* refactor(components): input icon
* docs: update example
* refactor(components): el-select icon
* refactor(components): el-cascader icon
* refactor(components): el-tag icon
* fix: icon align
* fix: icon margin
* docs: icon usage
* fix: input style
* fix: add scoped
* test: remove unuesd code
* fix: cascader-panel
* fix: icon style
* fix: icon animation
* refactor(components): el-drawer icon (#3796 )
* refactor(components): el-drawer icon
* fix: close icon size
* fix: close icon align
* refactor(components): el-transfer icon (#3792 )
* refactor(components): el-transfer icon
* fix: icon align
* refactor(components): el-image-viewer icon (#3797 )
* refactor(components): el-image-view icon
* fix: icon size
* docs: update domo
* style: format vue
* fix: fullscreen icon
* Add cursor for icons
Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
* refactor(components): rate-icon (#3891 )
* refactor(components): el-rate icon
* docs: update example
* docs: update
* test: update
* docs: update
* fix: variable rename
* fix: demo update
* fix: allow half bug
* refactor(components): el-time-picker icon (#3834 )
* refactor(components): el-button icon
* refactor(components): date-picker icon
* refactor(components): input icon
* docs: update example
* refactor(components): el-select icon
* refactor(components): el-time-select icon
* fix: icon width
* docs: icon usage
* fix: input style
* fix: add scoped
* fix: icon size
* docs: icon display
* fix: icon in button
* docs: fix error
* refactor(components): el-time-picker icon
* fix: var
* fix: icon align
* test: delete unused code
* test: fix error
* fix: remove unused code
* docs: fix typo
* docs: update icon
* fix: default prefix icon
* fix: range picker icon align
* Update cursor for picker
Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
* fix(components): el-input close icon
* chore: delete fonts
* fix: copy full style
Co-authored-by: imswk <syfzxx@vip.qq.com>
Co-authored-by: bastarder <85257684@qq.com>
Co-authored-by: qianjie <qianjie@patsnap.com>
Co-authored-by: Element <wallement@gmail.com>
Co-authored-by: Alan Wang <948467222@qq.com>
Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-10-27 23:17:13 +08:00
啝裳
9108fade83
feat(components): [el-menu] add ellipsis prop ( #3870 )
2021-10-14 14:58:50 +08:00
三咲智子
edb5726c2d
refactor(utils): refactor buildProps & replace buildProp ( #3775 )
2021-10-06 19:56:24 +08:00
Kevin
cd2bd26d63
test: upgrade @vue/test-utils to v2.0.0-rc.15
2021-10-06 17:19:00 +08:00
啝裳
37000b7727
feat(components): [el-menu] expose handleResize ( #3723 )
2021-09-29 10:59:10 +08:00
三咲智子
c68d59c6a0
refactor(components): refactor menu ( #3639 )
...
* refactor(menu): rename to kebab-case
* refactor(menu): rename RootMenuProvider to MenuProvider
* refactor(menu): rename menu.type to types
* refactor(menu): extract menu props and emits
* refactor(menu): change sub-menu.vue to ts
* refactor(menu): extract menu-item-group props and emits
* refactor(menu): extract menu-item props and emits
* refactor(menu): extract sub-menu props and emits
* refactor(menu): rename type RegisterMenuItem to MenuItemRegistered
* refactor(menu): MenuProvider ref to reactive
* refactor(menu): MenuProvider remove methods
* refactor(menu): change submenus to subMenus
* refactor(menu): remove RootMenuProps type
* refactor(menu): MenuProvider improve types & rename submenu to subMenu
* refactor(menu): menu add block to provide
* refactor(menu): menu improve expose
* refactor(menu): menu improve render types
* refactor(menu): menu refactor types & change handle(Sub)MenuItemClick params
* refactor(menu): menu refactor types
* refactor(menu): menu-item-group improve types
* refactor(menu): menu-item improve types
* refactor(menu): sub-menu improve types
* refactor(menu): use-menu improve types
* refactor(menu): sub-menu fix types
* refactor(menu): menu-collapse-transition improve types
* refactor(menu): menu-item-group improve template
* refactor(menu): menu-item rename emit param
* refactor(menu): finally improve types
* fix lint
* chore: re-order import
* chore: remove reactive
2021-09-28 10:59:22 +08:00
云游君
51cc956589
feat(utils): extract color to utils & fix submenu color ( #3638 )
2021-09-26 12:01:20 +08:00
啝裳
4dd3806f47
fix: [el-menu] using v-for causing render loop ( #3617 )
...
* fix: [el-menu] using v-for causing render loop
* fix: [el-menu] using v-for causing render loop
* perf: improve perf
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-09-24 21:08:23 +08:00
jeremywu
3138dea797
fix(components): sub components no install issue ( #3615 )
...
- Add noop install for all sub components for supress the warning
2021-09-24 19:11:56 +08:00
云游君
35c90180d1
refactor(components): use css var to set menu global style ( #3539 )
...
* refactor(components): use css var to set menu global style
* fix(components): remove useless value & change camelCase & test file
* test: comment code that can not test final style
* test: fix unused-vars lint
* feat: add computed for useMenuCssVar
* test(components): revert test file
* fix(components): use computed value
2021-09-22 18:41:32 +08:00
三咲智子
0636e1e240
style: add import and stricter lint ( #3440 )
...
* style: add import lint
* chore: apply eslint rules
* chore: add stricter lint
* chore: lint all files
* auto fix
* manually fix
* restore build-indices.ts
2021-09-17 15:27:31 +08:00