Commit Graph

1818 Commits

Author SHA1 Message Date
三咲智子
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
btea
cb98b7cf97
fix(components): [select] change the tagType and style default value (#5884)
* fix(components): [select] change the tagType and style default value

* chore: update
2022-02-11 11:01:53 +08:00
bqy
553f5ffb96
refactor(components): [dropdown,dropdown-item,dropdown-menu] use useNamespace (#5719) 2022-02-11 10:51:38 +08:00
bqy
7e803e92f4
refactor(components): [pagination] use useNamespace (#5725) 2022-02-11 10:50:00 +08:00
JacBiank
e901c58c63
fix(components): [el-select] (#5952) 2022-02-11 10:28:18 +08:00
msidolphin
bc7317203b
fix(components): [el-time-picker] border overlap in hover state (#5950) 2022-02-11 10:13:35 +08:00
bqy
28b82a5ffe
fix(components): [select] define nsInput & rename ns to nsSelect (#5953) 2022-02-11 09:56:53 +08:00
virgosoy
3a7ba03171
fix(components): [el-popconfirm] fix onConfirm and onCancel type bug (#5948) 2022-02-11 09:17:45 +08:00
三咲智子
f3e9e53f3d
fix(hooks): namespace.is default state (#5941) 2022-02-11 09:09:21 +08:00
bqy
eb1adcd491
refactor(components): [steps] use useNamespace (#5944) 2022-02-11 04:02:21 +08:00
bqy
a995d4487b
refactor(components): [popper] use useNamespace (#5728) 2022-02-11 04:01:18 +08:00
bqy
b99fd42e07
refactor(components): [select] use useNamespace (#5733)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-02-11 03:58:02 +08:00
bqy
d132e6e000
refactor(components): [tree] use useNamespace (#5754) 2022-02-11 03:57:10 +08:00
bqy
115a40ce7a
refactor(components): [slider] use useNamespace (#5743) 2022-02-11 03:52:41 +08:00
bqy
b5644360ba
refactor(components): [select-v2] use useNamespace (#5738) 2022-02-11 01:36:17 +08:00
bqy
1d8584d627
fix(components): [dialog] fix dialog not fill full screen after drag (#5875) 2022-02-11 00:07:06 +08:00
bqy
09ebf1bed8
refactor(components): [tooltip] use useNamespace (#5752) 2022-02-11 00:06:05 +08:00
bqy
067c5ae669
refactor(components): [transfer] use useNamespace (#5753) 2022-02-10 23:46:57 +08:00
bqy
95608a8463
refactor(components): [tree-v2] use useNamespace (#5757) 2022-02-10 23:41:41 +08:00
bqy
ac4b582187
refactor(components): [upload] use useNamespace (#5758) 2022-02-10 23:39:52 +08:00
啝裳
81bca48fd4
fix: value does not exist, warning appears (#5906) 2022-02-10 23:29:04 +08:00
啝裳
d5e586b51b
feat: tabpane name support number type (#5915)
* feat: tabpane name support number type

* fix: update
2022-02-10 23:25:39 +08:00
jeremywu
bcd5c8b848
test(components): removing mock folder (#5911)
- Remove mock folder from the project root
- Add mock for each component test file accordingly
2022-02-10 16:35:44 +08:00
msidolphin
40b0f963c6
fix(components): [el-slider] sync manually updated value (#5876) 2022-02-10 09:41:19 +08:00
msidolphin
04ed04effd
feat(components): [el-table] support tableLayout (#5860)
* feat(components): [el-table] support tableLayout

* fix: typo

* fix: remove unused var

* fix: optimize code

* fix: typo
2022-02-10 09:35:29 +08:00
啝裳
118ca6cb7c
fix(utils-v2): add Function type to iconPropType (#5890) 2022-02-09 22:13:50 +08:00
ioslh
a8a8cd8f08
fix(docs): [pagination] example bugfix according to new usage (#5833) 2022-02-09 18:28:39 +08:00
三咲智子
f73387f9ee
fix(utils): undefined when omiting prop default (#5868) 2022-02-09 17:14:50 +08:00
三咲智子
0f3f8ce8f4
chore: upgrade deps (#5885)
* chore: improve workspace config

* chore: upgrade cool/check-user-permission to v2

* chore: upgrade deps
2022-02-09 17:09:55 +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
QuXiaoMing
1add6d2c70
fix(components): [el-popover] update popperInstance when props change (#5835)
Co-authored-by: xiaoming <xiaoming@mgtv.com>
2022-02-09 16:05:02 +08:00
msidolphin
21c646d4da
fix(components): [el-table] group header not supported fixed column (#5873)
fix #5864
2022-02-09 15:09:25 +08:00
mawi1512
129a2d72e5
fix(components): [el-dropdown] use custom attributes for dropdown items (#5779)
* fix(components): [el-dropdown] use custom attributes for dropdown items

* fix: forward props and attrs
2022-02-09 15:07:20 +08:00
bqy
99d3f0902b
refactor(components): [space] use useNamespace (#5749) 2022-02-09 12:13:38 +08:00
核心已转储
8f91f98796
fix(compnents): [el-input-number] cannot read properties of null (reading 'setAttribute') #5691
* fix(components): [input-number]  exist#5691
2022-02-09 10:50:14 +08:00
bqy
14474efccb
fix(hooks): [use-namespace] cannot be used in nested hooks (#5795) 2022-02-09 00:35:29 +08:00
bqy
352530b548
refactor(components): [dialog] use useNamespace (#5761) 2022-02-09 00:26:33 +08:00
bqy
cc7384854b
refactor(components): [message] use useNamespace (#5720) 2022-02-09 00:25:19 +08:00
bqy
6ec9da0563
refactor(components): [popconfirm] use useNamespace (#5726) 2022-02-09 00:24:36 +08:00
bqy
25caa3fd07
refactor(components): [collapse,collapse-item] use useNamespace (#5715)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-02-09 00:23:34 +08:00
bqy
c54f446197
refactor(components): [progress] use useNamespace (#5729) 2022-02-08 11:38:42 +08:00
bqy
258622fdac
refactor(components): [col] use useNamespace (#5714) 2022-02-08 11:36:46 +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
三咲智子
b63956c325
refactor: add transition namespace (#5829) 2022-02-08 09:09:54 +08:00
bqy
a84facfa4f
refactor(components): [notification] use useNamespace (#5722) 2022-02-08 05:51:03 +08:00
bqy
4db23d2426
refactor(components): [teleport] use useNamespace (#5751) 2022-02-08 05:44:50 +08:00
bqy
76e48e37cd
refactor(components): [overlay] use useNamespace (#5723) 2022-02-08 05:43:15 +08:00
bqy
d210f267ac
refactor(components): [page-header] use useNamespace (#5724) 2022-02-08 05:27:13 +08:00
bqy
fae48c8817
refactor(components): [color-picker] use useNamespace (#5718) 2022-02-08 05:21:17 +08:00
bqy
e1f78d9c04
refactor(components): [collapse-transition] use useNamespace (#5716) 2022-02-08 04:34:06 +08:00
msidolphin
baf6bc0260
fix: [el-pagination] fix justify alignment (#5814)
fix #5807
2022-02-07 16:46:26 +08:00
msidolphin
b2ff01a60f
fix(components): [el-popconfirm] revert component name (#5815) 2022-02-07 16:43:56 +08:00
jeremywu
44dc9a1cf5
test(components): remove all sleep statement in the tests (#5784) 2022-02-06 00:37:20 +08:00
jeremywu
dbb00ef4b6
fix(components): [el-popper] append to body compatability (#5755)
* fix(components): [el-popper] append to body compatability

- Add a new hook for deprecation warning
- Add deprecation warnings for previous used `append-to-body` API
- Add test for the API.

* Address PR comments

* Update documentations for deprecated

* Fix formatting issue
2022-02-04 14:59:58 +08:00
kooriookami
fb50b4ff8d
fix(components): [Dialog & MessageBox] support draggable (#5369)
* feat: add use-draggable

* feat: msgbox add draggable

* feat: update

* feat: update

* feat: update

* feat: update

* feat: update

* feat: update
2022-02-03 21:04:25 +08:00
bqy
4501b6dd66
refactor(components): [skeleton,skeleton-item] use useNamespace (#5739) 2022-01-31 23:41:56 +08:00
C.Y.Kun
e62e29ef5b
fix(components): [popover] after-enter/leave events not trigger (#5681) 2022-01-31 23:07:09 +08:00
C.Y.Kun
1a24e85248
fix(components): [cascader] Unable to use spaces when filtering (#5676) 2022-01-31 23:03:58 +08:00
bqy
97658e2e5c
refactor(components): [scrollbar] use useNamespace (#5732) 2022-01-31 23:03:28 +08:00
kooriookami
e89804196b
style: fix popper style (#5736) 2022-01-31 22:59:06 +08:00
三咲智子
efbe852d1c
fix: upgrade vueuse (#5698) 2022-01-29 22:26:31 +08:00
Carter Li
2b38b5f5a5
fix(components): fix #5582 (#5583) 2022-01-28 15:25:15 +08:00
kooriookami
eb6553bedf
fix(components): [image-viewer] fix some bugs and improve style (#5673)
* fix: fix ElImageViewer

* fix: update

* perf: perf zoomRate
2022-01-28 15:21:43 +08:00
msidolphin
17fd183f87
fix(theme-chalk): [el-pagination] quick button disabled state (#5672) 2022-01-27 17:36:26 +08:00
msidolphin
0d8f08ab9b
perf(components): [el-scrollbar] prevent re-render when scrolling (#5670)
* perf(components): [el-scrollbar] prevent re-render when scrolling

* chore: improve code
2022-01-27 17:10:44 +08:00
msidolphin
8322bcf843
refactor(components): [el-pagination] optimize component style (#5666) 2022-01-27 16:52:45 +08:00
G-G
696c20dd60
fix(theme-chalk): el-breadcrumb__item style (#5597)
* fix(theme-chalk): el-breadcrumb__item style

Change the style of el-breadcrumb__item,It wasn't aligned before

fix #5594

* docs(docs): docs edit describe

docs edit describe  Change separator-class to separator-icon

* docs(docs): docs edit describe

docs edit describe  Change 'iconfont' to 'svg icon'

Co-authored-by: 赵雅国 <zhao.yaguo@shinewingdigital.com>
2022-01-27 16:27:30 +08:00
msidolphin
77a3d5c7c1
refactor(components): [el-pagination] adjust component size (#5640)
* refactor(components): [el-pagination] adjust component size

* fix: background size

* chore: improve doc style
2022-01-26 14:29:48 +08:00
msidolphin
f860941d8e
fix(components): [el-table] hover not working in fixed mode (#5638) 2022-01-26 14:06:22 +08:00
msidolphin
043d20403f
fix(components): [el-table] fix invalid maxHeight issue (#5584)
* fix(components): [el-table] fix invalid maxHeight issue

fix #5580

* fix: remove native scrollbar
2022-01-26 14:05:35 +08:00
msidolphin
51c3f09483
refactor(components): [el-tag] use namespace (#5643)
* refactor(components): [el-tag] use namespace

* chore: optimize code
2022-01-26 14:00:57 +08:00
btea
4be0d47d70
refactor(components): [drawer] use useNamespace (#5596) 2022-01-26 09:36:35 +08:00
MoConWu
5ee184fdfd
feat(theme-chalk): css var for empty & rate (#5359)
* 更新var.scss,提取empty的fill-color

将fill的color提取出来,作为变量,方便后续修改,修改如下:
    'fill-color-0': var(--el-color-white),
    'fill-color-1': #FCFCFD,
    'fill-color-2': #F8F9FB,
    'fill-color-3': #F7F8FC,
    'fill-color-4': #EEEFF3,
    'fill-color-5': #EDEEF2,
    'fill-color-6': #E9EBEF,
    'fill-color-7': #E5E7E9,
    'fill-color-8': #E0E3E9,
    'fill-color-9': #D5D7DE,

* 修改Empty的fillcolor作为变量引用,方便后续的色彩搭配更改

修改Empty的fillcolor作为变量引用,方便后续的色彩搭配更改

* 修改rate下的配色提取到变量里

修改rate下的配色提取到变量里,提取如下:
    'void-color': #c6d1de,
    'rate-color': #F7BA2A,

* 提取rate的色彩作为变量

提取rate的色彩作为变量

* 修改rate的色彩变量

修改和提取rate变量为:
    'void-color': #c6d1de,
    'star-color': #F7BA2A,
    'disable-void-color': #EFF2F7,
    'text-color': #1f2d3d,

* replace space to enter

替換空格为回车

* lint change

lint change

* Missing Pretty error

color 颜色小写

* Add CustomStyles infomation

Add CustomStyles infomation

* Change CustomStyles

Change CustomStyles

* Add CustomStyles

Add CustomStyles

* Change rate to empty

Change rate to empty

* Modify CustomStyles after Bottom content

Modify CustomStyles after Bottom content

* Change Custom styles

Change Custom styles

* feat: format rate.md
2022-01-26 02:10:19 +08:00
btea
46b2d7099b
fix(components): [el-message-box] add default value to button-size (#5620)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-01-25 20:59:57 +08:00
btea
2def078e7c
fix(components): [el-transfer] can't find clearQuery (#5438) 2022-01-25 20:00:51 +08:00
kooriookami
7032e75721
style&doc(components): [el-tooltip] improve style and doc (#5598)
* style: change style

* style: remove useless style

* style: update

* docs: update
2022-01-25 16:10:49 +08:00
BigPengZai
38a1a02680
fix(components): [el-popover] hide-after bug (#5386)
fix [el-popover] hide-after bug

fix #5372
2022-01-25 12:07:24 +08:00
JeremyWuuuuu
a34ad9c53d fix(components): [el-checkbox] is-disabled class is added unexpectedly
- Fix the regression error which cause non-grouped chekcbox has unexpected `is-disabled` class
2022-01-25 11:51:43 +08:00
iamkun
94311a8e39
refactor: refactor carousel to support namespace (#5553) 2022-01-25 00:53:20 +08:00
btea
fec3d0c69d
refactor(components): [checkbox] use useNamespace (#5493) 2022-01-24 18:13:44 +08:00
Delyan Haralanov
5286713dcb
feat(components): [el-dialog] remove width validator (#5329) (#5568) 2022-01-24 00:40:29 +08:00
iamkun
9d317c8f8c
refactor: refactor autocomplete to support namespace (#5550) 2022-01-23 17:55:23 +08:00
iamkun
0ecb3faf23
refactor: refactor backtop to support namespace (#5552) 2022-01-23 17:53:51 +08:00
btea
d7297131cf
refactor(components): [image, image-viewer] use useNamespace (#5513) 2022-01-22 17:35:50 +08:00
btea
3956faacba
fix(components): [el-pagination] jumper prohibit decimal (#5512) 2022-01-22 17:34:29 +08:00
Alan Wang
5762aed58f
fix(components): [el-cascader] checkStrict and lazyLoad need click twice (#4182) 2022-01-22 10:50:24 +08:00
Alan Wang
11d2fe00d2
fix(components): [el-select-v2]set v-model has error (#5128)
* fix(components): [el-select-v2]set v-model has error

* fix(components): [el-select-v2]set v-model has error
2022-01-22 10:43:46 +08:00
Alan Wang
8033c7c5ea
fix(components): [infinite-scroll] Infinite scroll (#5393) 2022-01-22 10:39:35 +08:00
Alan Wang
22d2df4267
fix(components): [el-tree] accordion attribute error at third level (#3862) 2022-01-22 10:38:30 +08:00
msidolphin
2f521c419c
refactor(components): [el-table] use namespace (#5528) 2022-01-22 10:37:59 +08:00
msidolphin
6d779fd5c7
fix(components): [el-select-v2] optimize component size (#5531) 2022-01-22 10:13:53 +08:00
msidolphin
13de0524eb
feat(components): [el-button] support for customize loading component (#5505) 2022-01-21 23:11:35 -03:00
三咲智子
7bd0936349
refactor(build): switch to @vitejs/plugin-vue (#5504) 2022-01-21 23:05:03 -03:00
三咲智子
585797abf5
fix: add export file extension, closes #5522 (#5544) 2022-01-22 09:54:47 +08:00
三咲智子
9d0aed77ad
fix: upgrade vueuse, closes #5313, #5362 (#5543) 2022-01-22 09:54:23 +08:00
msidolphin
b0ce4f528c
fix(components): [el-message] style conflict (#5530) 2022-01-21 16:47:57 +08:00
三咲智子
b6ac078b97
fix(components): fix sub-menu style (#5516) 2022-01-21 09:33:34 +08:00
msidolphin
aa5aa29073
chore: improve table style (#5511) 2022-01-20 18:03:55 +08:00
kooriookami
55512a8d7d
fix: slider tooltip (#5508) 2022-01-20 16:23:20 +08:00
Valar103769
c552c3b700
refactor(components): [calendar] add namespace (#5496) 2022-01-20 06:04:41 +08:00
btea
62a38138f6
refactor(components): [container] use useNamespace (#5498) 2022-01-20 06:02:05 +08:00
btea
a80e295194
refactor(components): [descriptions] use useNamespace (#5499) 2022-01-20 06:00:53 +08:00
Alan Wang
1285697a7f
fix(components): [el-color-picker] active-change triggered incorrectly (#4729) 2022-01-19 17:49:06 +08:00
Alan Wang
7246b07011
fix(components): [el-collapse] watch modelValue invalid (#4593) 2022-01-19 17:31:51 +08:00
msidolphin
1fdd2cee8f
feat(components): [tree] node-click passes event object (#4312)
re 4307
2022-01-19 17:13:18 +08:00
msidolphin
13be920c9a
refactor: [el-table] refactoring table with el-scrollbar (#5384)
* refactor: [el-table] refactoring table with el-scrollbar

* refactor: remove gutter

* fix: remove unused

* fix: optimize code
2022-01-19 17:12:58 +08:00
Alan Wang
d05acba3d0
fix(components): [el-cascader] suddenly jump to the left (#4516) 2022-01-19 17:05:11 +08:00
Alan Wang
7f025e1efc
fix(components): [el-select] hover index (#4423) 2022-01-19 16:59:03 +08:00
Alan Wang
a73f34844c
fix(components): [el-date-picker]make defaultValue be reactive (#4808)
* fix(components): [el-date-picker]make defaultValue be reactive

* fix(components): [el-date-picker]change toRefs to toRef

* Update packages/components/date-picker/__tests__/date-picker.spec.ts

Co-authored-by: btea <2356281422@qq.com>

* update date-picker.spec.ts

Co-authored-by: btea <2356281422@qq.com>
2022-01-19 16:48:22 +08:00
三咲智子
d1ddd215f3
chore: upgrade dependencies (#5490) 2022-01-19 16:22:13 +08:00
Alan Wang
acf8fbd8ee
fix(components): [el-input-number]do not change undefined to NaN (#5049)
* fix(components): [el-input-number]do not change undefined to NaN

* fix(components): [el-input-number]change null
2022-01-19 15:27:29 +08:00
Alan Wang
260e491011
docs: [el-select]change default of reserve-keyword (#5355) 2022-01-19 15:17:19 +08:00
Alan Wang
db41ec5d5e
feat(components): [el-dropdown]add handleOpen and handleClose methods (#5444)
* feat(components): [el-dropdown]add handleOpen and handleClose methods

* feat(components): [el-dropdown]add handleOpen and handleClose methods

* feat(components): [el-dropdown]add handleOpen and handleClose methods
2022-01-19 15:04:44 +08:00
三咲智子
68bbd0e79a
refactor(components): use useNamespace is (#5468) 2022-01-19 15:04:01 +08:00
Valar103769
0fed0f469e
refactor(components): [input, input-number] add namespace (#5488) 2022-01-19 14:38:53 +08:00
三咲智子
58463b9ba4
refactor(components): [affix] add namespace & instance type (#5474) 2022-01-19 11:37:37 +08:00
三咲智子
3cef197e65
refactor(components): [badge] add namespace & instance type (#5473) 2022-01-19 11:37:11 +08:00
三咲智子
c08cc54eda
refactor(components): [breadcrumb] add namespace & instance type (#5472) 2022-01-19 10:42:48 +08:00
三咲智子
6f25f6ecd4
refactor(components): [alert] add namespace & instance type (#5459) 2022-01-19 10:26:31 +08:00
三咲智子
df3be7c661
feat(hooks): [use-namespace] add bm (#5475) 2022-01-19 00:06:19 +08:00
liangjunjie
1a9a609444
fix(components): [el-avatar] fix avatar default size (#5129) 2022-01-18 22:30:59 +08:00
程成
9460e42ac6
fix(components): [el-image] image load error (#4820)
Co-authored-by: C.Y.Kun <30518686+emojiiii@users.noreply.github.com>
2022-01-18 22:26:28 +08:00
三咲智子
75758d83b2
feat(hooks): [use-namespace] add is (#5466) 2022-01-18 21:04:56 +08:00
三咲智子
2ab6940431
refactor(components): [avatar] add namespace & instance type (#5461) 2022-01-18 18:36:26 +08:00
三咲智子
280aa9a245
refactor(components): [divider] add namespace & instance type (#5462) 2022-01-18 18:19:23 +08:00
三咲智子
3843293034
refactor(components): [rate] add namespace & instance type (#5456) 2022-01-18 18:14:17 +08:00
kooriookami
3204ac036d
style: tooltip padding (#5433) 2022-01-18 16:53:15 +08:00
三咲智子
1f4386b3e0
refactor(components): refactor timeline (#5458)
Co-authored-by: Alanscut <wp_scut@163.com>
2022-01-18 16:22:02 +08:00
三咲智子
2e21b0daa8
refactor(components): refactor check-tag (#5451)
* refactor(components): refactor check-tag

* fix: tests
2022-01-18 15:31:00 +08:00
三咲智子
1197202d71
refactor(components): [row] add namespace & instance type (#5454)
* refactor(components): [row] add namespace & instance type

* refactor: remove useless annotation
2022-01-18 15:24:12 +08:00
三咲智子
59551fe866
refactor(components): [icon] add namespace & instance type (#5452)
* refactor(components): [icon] add namespace & instance type

* refactor(components): use addUnit

* refactor: improve code
2022-01-18 15:23:11 +08:00
三咲智子
4b6f9c82d7
refactor(components): [switch] add namespace (#5455) 2022-01-18 15:22:37 +08:00
三咲智子
c6acc8ecc8
refactor(components): [result] add namespace & instance type (#5453) 2022-01-18 15:00:46 +08:00
三咲智子
2dd3848084
refactor(components): [link] add namespace & instance type (#5449) 2022-01-18 14:52:29 +08:00
三咲智子
cc4cebf465
refactor(components): [card] add namespace & instance type (#5445) 2022-01-18 14:45:04 +08:00
三咲智子
6107740866
refactor(components): [empty] add namespace & instance type (#5446) 2022-01-18 14:38:14 +08:00
Alan Wang
4f9f27d40d
feat: [el-select-v2]add reserve-keyword and change docs (#5308)
* feat: [el-select-v2]add reserve-keyword and change docs

* fix(components): [el-select-v2]add test case
2022-01-18 11:24:54 +08:00
msidolphin
9117cb6fff
fix(components): [el-time-picker] fix adjust scroll position fail issue (#5312) 2022-01-18 10:53:47 +08:00
msidolphin
3a857c0695
fix: [el-table] fix checkbox cleared when data reference is not changed (#5443)
fix #5390
2022-01-18 10:43:02 +08:00
msidolphin
3037fdc8c5
fix(components): [el-popover] revert hide method (#5344)
fix #5334
2022-01-18 10:42:21 +08:00
msidolphin
136dd297c5
fix(components): [el-scrollbar] fix cannot selection issue (#5330)
fix #5301
2022-01-18 10:41:57 +08:00
msidolphin
8a9747310e
feat(components): [el-date-picker] add panel change event (#5304)
* feat(components): [el-date-picker] add panel change event

* docs: [el-date-picker] add panel change event
2022-01-18 10:37:27 +08:00
msidolphin
1888d3c06b
fix: [input-number] modelValue change to non-required (#4338)
fix #4323
2022-01-18 10:36:26 +08:00
msidolphin
300a570b5a
fix(components): [el-table] fixed column position error issue (#5430) 2022-01-18 10:33:04 +08:00
三咲智子
58c4040b45
fix(hooks): component size (#5402) 2022-01-17 17:20:26 +08:00
Valar103769
3fabe492e9
chore(docs): fix buildThemeChalk comment (#5426) 2022-01-17 15:43:07 +08:00
Alan Wang
64a55e3562
fix(components): [el-select] suffix-icon disabled (#5354) 2022-01-17 15:14:25 +08:00
Alan Wang
984e0c2578
feat(components): [el-drawer] add footer slot (#5404)
* feat: [el-drawer]add footer slot

* feat(components): [el-drawer]add footer slot

* feat(components): [el-drawer]add cancel and confirm function
2022-01-17 14:58:06 +08:00
三咲智子
4d470d062c
fix(components): time picker when midnight (#5403) 2022-01-17 10:35:26 +08:00
kooriookami
f632072186
feat: dropdown add popper-options prop (#5396) 2022-01-16 13:56:16 +08:00
iamkun
9929c0fba4
feat: support custom namespace (#5377) 2022-01-15 18:12:48 +08:00
kooriookami
0745e29b0d
fix: fix space style (#5387) 2022-01-14 16:41:13 +08:00
kooriookami
3ed376f044
style: msgbox (#5371) 2022-01-14 09:22:44 +08:00
ElsaOOo
98108da10f
fix(components): fix TreeOptionProps types (#4813) 2022-01-14 01:41:36 +08:00
Alan Wang
708542eca6
fix(components): [el-dropdown-menu] size (#5343) 2022-01-12 22:59:54 +08:00
Alan Wang
27af1050d6
fix(components): [el-cascader] inline style (#5339) 2022-01-12 14:28:36 +08:00
Alan Wang
2cf215e3c4
feat(components): [el-time-select] support custom format (e.g. 12-hour) (#5309) 2022-01-12 11:11:43 +08:00
msidolphin
1f71d3c80c
fix: [el-calendar] selected wrong date when change the month/year (#5297) 2022-01-11 14:29:06 +08:00
0song
2606778d30
fix: fix DateRangePicker custom style & class bug (#5300) 2022-01-11 14:27:45 +08:00
jeremywu
a2cfb64028
fix(components): [el-tooltip] restoring append-to API (#5296)
- Restore `append-to` API
- Add test against `append-to` API
2022-01-11 11:02:32 +08:00
msidolphin
82182a91aa
fix(components): [el-date-picker] panel position error after view switch (#5277)
* fix(components): [el-date-picker] panel position error after view switch

* fix: [el-popper] zIndex not update issue
2022-01-11 10:40:40 +08:00
kooriookami
57e0d1d1bb
fix(style): [el-dropdown] fix doc style (#5266)
* fix: update style

* style: update

* feat: update test
2022-01-11 10:29:25 +08:00
jeremywu
df57ddfe39
fix(components): [el-dropdown] cannot be closed by clicking outside (#5287)
- Fix the issue that dropdown with trigger 'click' cannot be closed when clicking outside content
- Fix the same issue for popover popconfirm
- Remove useless code from `el-tooltip-content` which can be much simpler
- Use `onClick` to replace `onMousedown` because `onMousedown` is triggered prior than `onClick`
- Adjust test cases against these changes above
2022-01-11 10:24:48 +08:00
msidolphin
180e21dc56
fix(components): [el-tree] fix safari drop animation issue (#5294) 2022-01-11 10:21:13 +08:00
Delyan Haralanov
979165a2ac
feat(components): [el-tabs] add active-bar width transition (#5206) (#5223) 2022-01-10 09:55:11 +08:00
kooriookami
43ad4aa072
fix: dropdowm item can not click (#5257) 2022-01-10 09:48:59 +08:00
btea
e3417babe2
test(components): [el-config-provider] use useFakeTimers (#5228)
* fix(components): modify config-provider sleep time

* test: use useFakeTimers
2022-01-09 20:45:01 -05:00
kooriookami
c2ee36a7fc
fix: tooltip with compoents add persistent (#5250) 2022-01-09 17:38:51 +08:00
Carter Li
5062ff106b
fix(components): make Datepicker value-format="x" emit number timestamp value (#5187) 2022-01-09 12:42:08 +08:00
btea
70fa3e7f26
feat(components): [el-message] config-provider message max attr (#5063)
* feat(components): [el-message] config-provider message max attr

* chore: update test

* feat: update test and message-method

* chore: format config-provider.md

* test: add multiple config-provider

* test: config-provider nesting
2022-01-08 20:03:13 +08:00
Zapic
53fe828273
feat(components): [el-cascader] cascader panel loading placeholder (#5064)
Co-authored-by: KawaiiZapic <kawaiizapic@zapic.moe>
2022-01-08 19:55:59 +08:00
msidolphin
b5ae3e80bb
fix(components): [el-transfer] improve styles (#5139) 2022-01-08 19:53:52 +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
Alan Wang
0508c6fadd
fix(components): [el-pagination] layout error (#5181) 2022-01-08 19:49:46 +08:00
msidolphin
53c3724b85
fix(components): [el-date-picker] ignore special flag (#5200)
fix #5067
2022-01-08 19:41:56 +08:00
btea
b8b60248a6
feat(components): [el-tag] adjust icon size (#5207)
* feat(components): [el-tag] adjust icon size

* feat: font-size
2022-01-08 19:40:53 +08:00
三咲智子
035cb53028
feat: export popup manager (#5220) 2022-01-08 19:36:28 +08:00
三咲智子
81e6c377ba
fix(hooks): provide root locale (#5218)
* fix: provide root locale

* refactor(locale): refactor locale

* fix: tests

* revert: play
2022-01-08 19:36:13 +08:00
kooriookami
f5b7e3accc
fix(components): [el-form] fix form style (#5145)
* style: fix form style

* feat: update

* feat: update

* feat: update

* feat: update spell

* feat: update
2022-01-08 19:34:09 +08:00
kooriookami
ae36824189
fix: fix el-input-number inputting will trigger form validate (#4838) 2022-01-07 16:37:58 +08:00
msidolphin
ab783fa8d6
fix(components): [el-table] improve scrollable condition (#5149) 2022-01-07 16:36:31 +08:00
msidolphin
c24bebbe5d
fix(components): [el-date-picker] fix footer style (#5144) 2022-01-07 16:30:06 +08:00
神楽坂みずき
e7d71cce2b
fix(components): width reset to empty string should be parsed to auto (#5186)
fix #4878
2022-01-07 16:02:32 +08:00
msidolphin
2af36e42b2
feat(components): checkbox & radio support small size (#5189) 2022-01-07 15:58:59 +08:00
kooriookami
b33fed911b
feat(components): [el-slider] slider add size prop (#5091)
* feat: slider add size

* feat: update

* feat: update

* feat: update
2022-01-07 15:44:43 +08:00
kooriookami
fb76382dd1
feat(components): [el-switch] switch add size prop (#5101)
* feat: switch add size

* feat: update

* feat: update
2022-01-07 15:43:53 +08:00
kooriookami
9e53873742
feat(components): [el-rate] rate add size prop (#5102)
* feat: rate add size

* feat: update test

* feat: update
2022-01-07 15:43:38 +08:00
Delyan Haralanov
d329984166
feat(components): [el-message-box] add role="dialog" attribute (#5190) 2022-01-07 09:38:25 +08:00
btea
15ffab1255
refactor(utils): remove isServer (#5173) 2022-01-06 12:00:57 +08:00
Alan Wang
bf1f52b87e
fix(components): [el-select-v2] tag overflow (#5160) 2022-01-06 08:40:48 +08:00
msidolphin
e3e59afc75
refactor: [el-table] using sticky position refactor fixed column (#4414)
* refactor: [el-table] using sticky position refactor fixed column

re #4399

* fix: solve the misalignment issue

* fix: optimize code
2022-01-05 15:13:01 +08:00
msidolphin
d8fb83c0f4
refactor(components): [layout] optimize performance (#4600) 2022-01-04 15:06:18 +08:00
jeremywu
11752052dc
fix(components): popper content fallback placements (#5119)
- Fix popper content don't fallback to correct placement
2022-01-04 11:00:00 +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
云游君
2f146e8624
fix(theme-chalk): input-number controls increase/decrease height (#5088) 2021-12-31 17:24:38 +08:00
renovate[bot]
e1c01db42c
chore(deps): update dependency gulp-sass to v5.1.0 (#5066)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-31 10:44:22 +08: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
jeremywu
f024ddc941
feat(style): update cascader radio button padding size (#5057) 2021-12-30 19:25:37 +08:00
Carter Li
7ea5c85138
fix(components): [time-picker] improve typings (#4810) 2021-12-30 19:03:34 +08:00
kooriookami
10e231168a
style: update descriptions style (#5025)
* style: update descriptions style

* style: update

* style: update demo

* style: update

* style: update

* style: update

* style: update

* style: update

* feat: update
2021-12-30 17:46:33 +08:00
msidolphin
d4b8199618
fix(components): adjust style of the radio and form (#5047) 2021-12-30 17:45:49 +08:00
iamkun
fce6acb5ca
refactor(style): adjust table size to large/default/small (#5036)
* feat: update table css

* feat: update table css

* feat: update table css

* feat: update table css
2021-12-30 17:32:24 +08:00
云游君
bd75d831f2
fix(theme-chalk): auto menu item height & add css var, close #4864 (#5034) 2021-12-30 17:28:49 +08:00
云游君
047dbccf3d
fix: adjust tag icon size & add checkbox with-border demo (#5033) 2021-12-30 17:26:32 +08:00
云游君
5067dd3b70
fix(theme-chalk): upload progress & menu padding style & pagination align (#5011)
* fix: upload progress margin

* fix: menu example style

* fix: picker & radio padding, button form details

* fix(theme-chalk): pagination align
2021-12-29 16:21:29 +08:00
Alan Wang
49ec0d6206
fix(components): [el-input-number]set undefined to modelValue (#4869) 2021-12-29 14:27:23 +08:00
云游君
2b209fd760
fix(components): input-number/input/dropdown/select/badge details (#4866) 2021-12-28 19:38:23 +08:00
ITKHMER
0a7be517e2
fix(locale): update translation/spelling of Khmer (#4930)
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-12-28 16:12:51 +08:00
Soul
2481d35d66
fix(components): [el-upload] improve image style (#4902) 2021-12-28 16:06:14 +08:00
msidolphin
679e7ef285
fix(components): [el-drawer] fix content cannot scroll issue (#5001)
fix #4999
2021-12-28 15:04:38 +08:00
C.Y.Kun
369aee6292
feat(components): [ElCheckboxGroup] add Fragment (#4743) 2021-12-28 08:51:44 +08:00
云游君
7c651828e3
fix: message-box confirm button style (#4988) 2021-12-27 19:39:30 +08:00
BigPengZai
a24ddd3682
fix(components): [el-loading] fix the overlap problem
* fix(components): [el-loading] fix overlap  bug
2021-12-27 17:23:26 +08:00
Alan Wang
a8619057c1
docs: [el-upload]add description of handleRemove() (#4983) 2021-12-27 16:39:31 +08:00
Red Rabbit
61abb754da
fix(components): [el-step] 移除在simple模式下多余的点 (#4944) 2021-12-27 16:16:02 +08:00
Delyan Haralanov
542ea5ee7e
feat(components): [date/time-picker] add id attribute to the inputs (#4972)
* feat(components): [date/time-picker] add id attribute to the inputs

* docs(components): [date/time-picker] add id to attributes
2021-12-27 16:04:39 +08:00
Herrington Darkholme
f85621d209
fix(components): fix message warning (#4979) 2021-12-27 14:05:07 +08:00
Herrington Darkholme
0057fbfadc
fix(components): fix more size prop checks (#4975) 2021-12-26 15:45:58 +08:00
Herrington Darkholme
343b7e333f
fix(components): always emit scroll with scrollTop number (#4974) 2021-12-26 15:44:47 +08:00
Herrington Darkholme
d03d8cc20a
fix(components): change size mini to small (#4947) 2021-12-26 15:08:39 +08:00
Herrington Darkholme
b431838d60
fix(core): fix unit testing warning (#4948) 2021-12-26 15:08:04 +08:00
Alan Wang
794127b205
feat: [el-popconfirm]add debounce of confirm() and cancel() (#4943) 2021-12-24 09:06:20 +08:00
Herrington Darkholme
1682b18684
test(components): fix time picker default value in cancel test (#4938) 2021-12-23 13:32:30 +08:00
Herrington Darkholme
931bc691e0
test(components): remove more sleep from input test (#4937) 2021-12-23 13:26:23 +08:00
Ryan2128
bbed5a5e96
fix(components): [select-v2] missing validate action when clear (#4892)
* fix(components): [select-v2] missing validate action when clear

- Fix the bug that missing validate when clear
- Add the same icon and style as the select component

* docs: [select-v2] fix demo render error
2021-12-22 17:37:42 +08:00
Herrington Darkholme
ee5a822bf2
test(components): remove several sleep from test code (#4924) 2021-12-22 13:42:20 +08:00
云游君
0870bb968c
fix: tag in select style (#4914)
* fix: tag in select style

* fix: extract common style from select to fix select
2021-12-21 15:47:20 +08:00
msidolphin
1d0d0053fc
fix: [el-checkbox-group]: default value adjusted to empty array (#4316)
fix #4300
2021-12-21 14:38:54 +08:00
SongWuKong
8f57bf610e
fix(components): [el-popper] onVisibilityChange (#4907) 2021-12-21 14:03:51 +08:00
啝裳
fa751a6ae0
perf: [el-switch] activeIcon and inactiveIcon type (#4899) 2021-12-21 11:47:04 +08:00
João Gonçalves
0a43be5939
feat(components): [el-dropdown] add new "popper-class" prop (#4909)
Co-authored-by: João Gonçalves <joaogoncalves@pixelmatters.com>
2021-12-21 09:44:37 +08:00
Alan Wang
23712260f0
docs: [el-upload]add example of setting on-exceed to cover the old file (#4861)
* docs: [el-upload]add example of seting on-exceed to cover the old file

* Update packages/components/upload/src/useHandlers.ts

Co-authored-by: btea <2356281422@qq.com>

* Update docs/examples/upload/limit-cover.vue

Co-authored-by: btea <2356281422@qq.com>

Co-authored-by: btea <2356281422@qq.com>
2021-12-21 09:27:52 +08:00
云游君
2e75c3e086
chore: move \@ctrl/tinycolor to dependencies (#4842) 2021-12-15 23:15:19 +08:00
云游君
74785ca472
refactor(components): set messagebox button size be default (#4846) 2021-12-15 17:32:22 +08:00
云游君
efb48a61fd
fix(style): adjust component size & demo (#4801)
* fix(style): adjust button size & demo spacing

* fix(style): adjust input padding & with prefix/suffix

* fix(style): adjust button padding horizontal

* fix(style): adjust form margin & font-size

* refactor(docs): use setup simplify form examples
2021-12-15 16:36:49 +08:00
Alan Wang
b741ab5e67
fix(components): [el-form] vertical aligin (#4717) 2021-12-15 16:32:14 +08:00
cregis0073
13145de1e8
fix(theme-chalk): Put back !optional to @extend (#4835) 2021-12-15 16:28:09 +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
云游君
7666e247c3
fix(style): custom icon size (#4798) 2021-12-12 22:33:48 +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
三咲智子
d14609954b
fix(build): circular dependency (#4791) 2021-12-12 13:39:54 +08:00
renovate[bot]
a8462cf49d
chore(deps): update dependency rollup to v2.61.1 (#4789)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-12-11 21:14:57 +08:00
btea
81efc44c3b
fix(components): [date-picker] filter custom content comment (#4651) 2021-12-11 12:35:47 +08:00
msidolphin
4f6cac4252
fix: [el-date-picker] focus input box when focus method is called (#4343)
fix #4327
2021-12-11 06:56:40 +08:00
C.Y.Kun
13375ef887
fix(components): [ElDatePicker] click clear is invalid (#4768) 2021-12-10 21:21:21 +08:00
Alan Wang
60bdd14317
fix(components): [el-tooltip] fallback placement (#4771) 2021-12-10 18:32:30 +08:00