Commit Graph

1565 Commits

Author SHA1 Message Date
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