btea
15895d6d4d
refactor(utils): extract isElement
( #6292 )
2022-02-26 15:00:57 +08:00
JeremyWuuuuu
6aa69126b8
feat(components): [message] add vue context for message component ( #6259 )
2022-02-24 11:24:34 +08:00
三咲智子
aaf90d99d0
test: switch to vitest ( #5991 )
...
* test: use vitest
* test: add script and ci
* chore: improve tsconfig
* refactor: use-form-item
* fix: remove unused
* chore: improve scripts
* test: improve mock
* refactor: change coverage
2022-02-21 14:28:22 +08:00
三咲智子
7abc200742
refactor(utils): improve escapeStringRegexp ( #6013 )
2022-02-13 22:48:42 +08:00
jeremywu
04df2a483a
fix(utils): restore scrollIntoView method ( #5973 )
2022-02-11 18:07:59 +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
三咲智子
b80e5c69e9
refactor(hooks): refactor popup manager to useZIndex ( #5701 )
2022-02-09 16:31:31 +08:00
三咲智子
426a6a686c
feat: switch to lodash-unified ( #5734 )
...
* feat: switch to lodash-unified
* chore: move lodash mocks
2022-02-08 10:37:21 +08:00
Delyan Haralanov
5286713dcb
feat(components): [el-dialog] remove width validator ( #5329 ) ( #5568 )
2022-01-24 00:40:29 +08:00
btea
15ffab1255
refactor(utils): remove isServer ( #5173 )
2022-01-06 12:00:57 +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
三咲智子
bd0a634069
refactor(utils)!: remove global config ( #5093 )
2022-01-01 00:43:08 -05:00
三咲智子
4335b01d6c
refactor(utils)!: refactor global config ( #4793 )
...
* refactor(utils)!: remove global config
* refactor(utils): named export PopupManager
* fix tests
2021-12-30 19:31:35 +08:00
btea
dda60bd200
chore(utils): remove unnecessary as string ( #4805 )
2021-12-13 13:44:29 +08:00
三咲智子
6287c1f92d
refactor(utils): remove isServer ( #4792 )
2021-12-12 23:28:03 +08:00
云游君
4560adfdf8
refactor(style): adjust component size to large/default/small ( #4491 )
...
* refactor(style): adjust component size to large/default/small
* refactor(components): avatar size & use flex instead of block
* refactor(components): adjust check button size
* refactor(components): adjust tag size
* refactor(components): adjust size doc
* fix(components): datetime-picker demo style width
* refactor(components): color-picker size & block to flex
* refactor(components): adjust slider input size
* refactor(components): adjust radio input size for demo
* refactor(components): adjust select size & docs
* refactor(components): adjust form radio size & docs
* refactor(components): add windicss for docs
* refactor(components): adjust skeleton avatar size to css var
* refactor(components): simplify typography size demo
* refactor(components): adjust dropdown size & demo
* refactor(components): adjust descriptions size
* fix(components): datetime-picker showcase class pollute global button
* chore(ci): upgrade docs dependencies to fix ci
* fix(ci): add highlight because vitepress not export it
* fix(ci): disable line for no-console
* fix(ci): remove mini to fix test
* fix(style): code font size
* fix(style): button span flex style
* fix(style): button padding horizontal default 15px
* refactor(components): adjust tag padding size & demo
* refactor(components): adjust form line-height for input
* refactor(components): adjust dropdown menu size & button padding
* fix(style): picker separator block to flex center
* fix: dropdown button span items-center
* style: adjust input-with-icon & size demo & fix input vitepress load
* chore: upgrade dependencies
* chore: upgrade dependencies
* ci: fix website build
* ci: regenerate pnpm-lock.yaml
* ci: use dev pnpm-lock
* ci: update pnpm-lock.yaml
2021-12-12 17:54:21 +08:00
云游君
3fa3e9ff6b
refactor(utils): use @ctrl/tinycolor instead of custom color.ts ( #4682 )
2021-12-12 16:14:42 +08:00
三咲智子
b6c077e2c1
refactor: improve types ( #4746 )
2021-12-10 17:21:53 +08:00
三咲智子
db1d9401fe
feat(components): [el-config-provider] add size ( #4730 )
2021-12-10 17:21:01 +08:00
三咲智子
5087026948
refactor: change icon package name ( #4625 )
2021-12-04 11:20:06 +08:00
Alan Wang
16e1056e01
fix(components): [el-date-picker] can't use numpadEnter ( #4563 )
...
* fix(components): [el-date-picker] can't use numpadEnter
* fix(components): [el-date-picker]enter to close when input.value is null
* fix(components): [el-date-picker] add test
2021-12-01 16:29:49 +08:00
三咲智子
57dd10ad49
fix(utils): setTimeout & config-provider type ( #4598 )
...
* fix(utils): setTimeout type
* fix(components): export config-provider types
2021-12-01 15:58:53 +08:00
kooriookami
94e0421623
fix: coler picker support touch ( #4477 )
...
* fix: coler picker support touch
* fix: update
* fix: add getClientXY util
* fix: move getClientXY to util/dom
2021-11-22 17:01:09 +08:00
云游君
5a166b4ba5
feat(components): add custom color for button & rename css var bg-color ( #3664 )
2021-11-19 20:22:16 +08:00
C.Y.Kun
4f8ec9eae2
chore(utils): update types ( #4275 )
2021-11-11 22:27:21 +08:00
SongWuKong
708b58d191
fix(components): [el-cascader] can not use keyboard select node( #3254 ) ( #3260 )
...
* fix(components): [el-cascader] can not use keyboard select node(#3254 )
* fix(components): [el-cascader] add filterable keyboard selection test
* fix: switch case block
2021-10-31 00:25:24 +08:00
三咲智子
a902be5917
refactor(utils)!: remove resize-observer-polyfill ( #4058 )
...
* refactor(utils): remove resize-observer-polyfill
* test: add resize-observer-polyfill for tests only
2021-10-30 21:48:25 +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
三咲智子
4e99d0b5ba
build!: simplify build & support esm import ( #4018 )
...
* build!: simplify build & support native esm import
* build: refactor build
* refactor: reorganize files
* refactor: refactor build
* build: improve perf
* fix: scripts
* build: add rollup-plugin-filesize
* chore: scripts ignore no-console
* build: disable tree-shaking
* build: improve code
* build: add sourcemap
* build: add banner
* refactor: remove annotation
* build!: improve esm exports (#3871 )
* build: improve esm import
* refactor: change mjs for esm version
* chore: improve exports map
* fix: add sideEffects
* refactor: improve alias
* build: upgrade dependencies
2021-10-25 17:07:48 +08:00
jeremywuuuuu
3786ba9993
fix(utils): remove $ from util
...
- Replace $ with unref from vue
- Remove $ from `@element-plus/utils/util` to prevent ref sugar issue
2021-10-20 06:14:18 -04:00
btea
bccca92dfd
refactor(utils): dom and add test ( #3950 )
...
* refactor(utils): getAttribute replace className
* test: add dom test
* fix(utils): update trimArr and test
* chore: includes replace indexOf
* chore: modify judge
2021-10-20 10:04:54 +08:00
jeremywu
16f069ebbe
Revert "build!: simplify build & support native esm import ( #3900 )" ( #3945 )
...
* Revert "build!: simplify build & support native esm import (#3900 )"
This reverts commit fb94222bb4
.
* remove module
* Fix linter
* Add @element-plus/icons as dependency
* update pnpm lock file
* temporary lock element-plus at 1.1.0-beta.20
2021-10-20 09:42:32 +08:00
btea
208be236cd
fix(utils): svg classname deal ( #3926 )
2021-10-19 13:26:30 +08:00
btea
3c98dd627f
refactor(utils): addClass and removeClass ( #3858 )
2021-10-18 16:33:34 +08:00
波比小金刚
fdfe38deb0
refactor(utils): use built-in throwError function ( #3916 )
2021-10-18 16:30:45 +08:00
三咲智子
12bf28e8c8
refactor(components): refactor image-viewer ( #3810 )
...
* refactor(components): refactor image-viewer
* fix: remove unused
* refactor: improve type
2021-10-18 16:24:52 +08:00
三咲智子
ffe6d251c6
refactor(components): refactor input ( #3805 )
...
* refactor(input): rename
* refactor(input): with-install
* refactor(input): kebab-case
* refactor(components): refactor input
* fix: fix test import
* refactor(components): [el-input] refactor export named
* refactor: improve types
* refactor: improve types
2021-10-18 16:21:30 +08:00
三咲智子
fb94222bb4
build!: simplify build & support native esm import ( #3900 )
...
* build: refactor build
* refactor: reorganize files
* refactor: refactor build
* build: improve perf
* fix: scripts
* build: add rollup-plugin-filesize
* chore: scripts ignore no-console
* build: disable tree-shaking
* build: improve code
* build: add sourcemap
* build: add banner
* refactor: remove annotation
2021-10-18 14:45:57 +08:00
三咲智子
cf112c5866
refactor(utils): improve props validator warning ( #3847 )
...
* refactor(utils): improve props validator warning
* Update props.ts
* refactor: improve buildProps
* fix: test
Co-authored-by: Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>
2021-10-15 18:24:49 +08:00
deepthan
e8043abca8
fix: capitalize the first letter of the error message ( #3882 )
...
* Fix: fix erros message typo
Co-authored-by: linkun.he <helinkun@ithinkdt.com>
Co-authored-by: Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>
2021-10-15 17:51:15 +08:00
三咲智子
4e458fe586
refactor(utils): improve defineProps ( #3811 )
...
* refactor(utils): improve defineProps
* refactor(utils): improve defineProps
2021-10-08 14:58:48 +08:00
三咲智子
3cf091f2d5
refactor(components): refactor image ( #3770 )
2021-10-06 20:17:18 +08:00
三咲智子
edb5726c2d
refactor(utils): refactor buildProps & replace buildProp ( #3775 )
2021-10-06 19:56:24 +08:00
三咲智子
3b9e63d587
refactor(components): refactor space ( #3757 )
2021-10-06 19:34:32 +08:00
btea
fd06ac17c1
refactor(utils): refactor aria color ( #3742 )
2021-09-30 15:07:44 +08:00
三咲智子
bf8697cc0e
feat(utils): add buildProps ( #3718 )
2021-09-29 09:52:58 +08:00
三咲智子
ab8982379e
build: refactor each package build ( #3709 )
2021-09-28 20:28:47 +08:00
btea
ea31eeabed
chore(project): revise rm rf to rimraf ( #3680 )
2021-09-27 16:38:15 +08:00
云游君
51cc956589
feat(utils): extract color to utils & fix submenu color ( #3638 )
2021-09-26 12:01:20 +08:00