Commit Graph

246 Commits

Author SHA1 Message Date
三咲智子
b51c37ad29
docs: improve API format (#6799) 2022-03-24 15:35:15 +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
三咲智子
9c029b414d
docs: [upload] improve typings (#6764) 2022-03-23 18:50:36 +08:00
BaboonKing
cc48cee966
docs: fix link error (#6753) 2022-03-22 17:16:34 +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
云游君
aeee7339f4
refactor: css vars for reset.scss & reset for docs & fix cards (#6698) 2022-03-18 23:53:11 +08:00
blackie
458e301a52
fix(components): [result] rename slot's name from 'subTitle' to 'sub-title' (#6636)
* fix(components): [result] rename slot's name

* docs(components): [result] update doc
2022-03-15 16:59:50 +08:00
云游君
2caac7906e
refactor(docs): adjust style details & fix pages width (#6624)
* refactor(docs): adjust style details

* refactor(docs): add toc width

* refactor(docs): remove unused var

* fix(docs): typography & button etc pages width unify
2022-03-14 23:41:39 +08:00
云游君
d3a66b8767
refactor(components): [rate] use css var & disable to disabled & star-color to fill-color (#6601)
* refactor(components): [rate] use css var & disable to disabled

* refactor(components): [rate] remove getIconStyle

* refactor(components): [rate] rename star-color to fill-color

* fix(test-utils): rate vitest by css vars

* refactor: use ns.is('', state)
2022-03-14 19:34:49 +08:00
三咲智子
5d85fba20c
chore: self closing vue tag (#6603) 2022-03-13 16:16:11 -04:00
msidolphin
d435a6a6fc
feat(components): [el-table] exposes scroll methods (#6539)
* feat(components): [el-table] exposes scroll methods

* chore: improve code
2022-03-13 23:00:58 +08:00
blackie
468d4ba162
refactor(components): [skeleton] switch to script-setup syntax (#6395)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-13 20:53:05 +08:00
Jason Ren
bf8eec1314
docs: [layout] fix a mistyped value (#6576) 2022-03-13 15:32:50 +08:00
云游君
93ee392932
fix(components): [upload] photo-wall wrap (#6546)
* fix(components): upload photo-wall wrap

* refactor(components): upload conent with props by tsx

* fix: type generate for upload sfc tsx

* Revert "fix: type generate for upload sfc tsx"

This reverts commit beeb9fb1642a875278ab9bf92f8ae4b7ae971013.

* Revert "refactor(components): upload conent with props by tsx"

This reverts commit 425e4a9f34693d9828bc8cf2e5ef2d75c5037864.

* fix: upload content type by as any

* refactor: extract uploadContentProps to object

* refactor(components): upload use tamplate instead of h

* Update packages/components/upload/src/upload.vue

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>

* refactor(components): remove useless key in upload-content

* refactor(components): fix type

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-03-12 16:57:48 +08:00
三咲智子
da6d2dc84b
feat(components): [message] support re-render vnode (#6527)
* feat(components): [message] support re-render vnode

* docs: improve api reference

* test: add message vnode render function
2022-03-11 20:19:31 +08:00
Alan Wang
103bb1b104
feat(components): [cascader]add collapse-tags-tooltip (#6331) 2022-03-11 15:58:00 +08:00
Alan Wang
a3e3acc0fc
feat(components): [select-v2]add collapse-tags-tooltip (#6532)
* feat(components): [select-v2]add collapse-tags-tooltip

* feat(components): [select-v2]set fallback-placements

* feat(components): [select-v2]add collapse-tags-tooltip

* feat(components): [select-v2]set fallback-placements

* feat(components): [select-v2]add v-if on tooltip
2022-03-11 15:56:35 +08:00
Alan Wang
57d08f9a78
feat(components): [select]add collapse-tags-tooltip (#6245)
* feat(components): [select]add collapse-tags-tooltip

* feat(components): [select] collapse-tags-tooltip set width

* feat(components): [select] collapse-tags-tooltip set fallback-placements

* feat(components): [select] resolve conflicts

* feat(components): [select] add v-if on tooltip
2022-03-11 15:56:23 +08:00
云游君
195224f745
docs: separate layout examples (#6526) 2022-03-11 00:13:29 +08:00
Lay Hunt
0d6cfc60b8
docs(theme-chalk): update the modification guide introduced by webpack on demand (#6496) 2022-03-10 15:42:56 +08:00
msidolphin
505616c2ab
feat: [el-table] support always show scrollbar & get selection rows (#6469) 2022-03-08 14:28:58 +08:00
三咲智子
b8c38a9fe5
chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
三咲智子
eab6be93e7
refactor(docs): [form] improve docs and typings (#6447) 2022-03-07 13:37:13 +08:00
C.Y.Kun
13ffea1114
refactor(components): refactor upload (#6014)
* refactor(components): refactor ElUpload

* refactor(components): refactor upload

* test: use jsx

* refactor: resolve review comments

* fix: ts error

* refactor: re-order imports

* refactor: rename

* fix: infinity watch

* refactor: rename

* refactor: address PR comments

Co-authored-by: Kevin <sxzz@sxzz.moe>
2022-03-05 23:09:31 +08:00
JeremyWuuuuu
11d3db586c
feat(components): [el-messagebox] add context for message box (#6379)
- Add context for message box
- Update documentation based on changes
2022-03-05 19:40:35 +08:00
Carter Li
4412ace887
feat(components): export prop persistent in el-select (#6428)
Ref: https://github.com/element-plus/element-plus/issues/6378#issuecomment-1058968214
2022-03-04 17:52:10 +08:00
JeremyWuuuuu
69de57b8d4
feat(components): [el-notification] add context for notification (#6368)
- Add context for notify method
- Add documentation for adding appContext for notification
- Fix a bug which message[type] method connot get context
- Enhance documentation for ElMessage
2022-03-02 11:12:26 +08:00
JeremyWuuuuu
d5f6f795cd
feat(components): [el-notification] add context for notification (#6367)
- Add context for notify method
- Add documentation for adding appContext for notification
- Fix a bug which message[type] method connot get context
- Enhance documentation for ElMessage
2022-03-02 10:55:51 +08:00
JeremyWuuuuu
f6a58ce66c
fix(components): [el-dialog] revert focus trapping feature (#6346)
* fix(components): [el-dialog] revert focus trapping feature

- Revert focus trapping

* Remove focus trap documentation
2022-03-01 00:45:42 +08:00
三咲智子
dbbfa34bec
feat(components): [button] add icon slot (#6343) 2022-03-01 00:11:24 +08:00
三咲智子
de1ae87010
docs: fix link (#6336) 2022-02-28 18:29:11 +08:00
JeremyWuuuuu
722ad0ba54
chore(project): Add gogo code migration to readme (#6325)
- Add gogo code migration tool descriptions to readme
- Add gogo code migration tool to migration.md
2022-02-28 14:25:26 +08:00
JeremyWuuuuu
6aa69126b8
feat(components): [message] add vue context for message component (#6259) 2022-02-24 11:24:34 +08:00
三咲智子
7289f99848
docs: refactor resource (#6260)
* docs: refactor resource

* docs: change shadow
2022-02-24 11:04:56 +08:00
blackie
c7d738e468
refactor(components): [button-group] switch to script-setup syntax (#6256) 2022-02-24 10:15:28 +08:00
paul
f68aa3cf05
feat(components): [el-row] enhancement for supporting space-evenly (#6223)
Co-authored-by: gp5251 <gp5251@qq.com>
2022-02-23 10:46:06 +08:00
云游君
f0e4b3a184
fix(docs): remove fixed variables & add color palette (#6216) 2022-02-22 16:42:54 +08:00
啝裳
31839aa92c
docs: update Using Nuxt.js (#6214) 2022-02-22 15:52:03 +08:00
JeremyWuuuuu
d2e9de9511
feat(components): [el-dialog] enhancement for dialog a11y (#6087)
* feat(components): [el-dialog] enhancement for dialog a11y

- Refactor dialog to script setup

* Separates dialog and its content into different components

* Remove unused code & fix a potential bug in focus-trap component

* Update dialog-content.vue

Co-authored-by: bqy <1743369777@qq.com>
2022-02-22 12:49:28 +08:00
msidolphin
108f7dd5df
feat(components): [el-popconfirm] support persistent (#6207) 2022-02-22 10:48:59 +08:00
啝裳
87617892e9
docs: [el-popover] add trigger=contextmenubefore-enterbefore-leave (#6108)
* docs: [el-popover] add before-enter、before-leave

* docs: [el-popover] add `trigger=contextmenu`

* docs: update
2022-02-21 17:10:55 +08:00
Ghislain B
769833954a
docs(components): [el-popover] add missing effect option (#6135)
* docs(components): [popover] add missing `effect` option

* Update popover.md

Co-authored-by: Ghislain Beaulac <Ghislain.Beaulac@se.com>
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-02-21 14:56:44 +08:00
Alan Wang
4159bfa500
fix(docs): [popover] add description of teleported (#6137) 2022-02-21 10:16:42 +08:00
msidolphin
78b24dfdfd
fix(components): [el-table] optimize popover performance (#6170) 2022-02-21 09:21:59 +08:00
weidehai
7e9ff25aea
test(components): [el-tooltip] add unit test about appendTo (#6178) 2022-02-21 09:12:29 +08:00
btea
2dd396f644
chore(docs): update rate.md (#6077) 2022-02-16 10:40:30 +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
BeADre
99f378a63a
feat(components): [el-select] add effect and close #5956 (#5976) 2022-02-11 23:13:33 +08:00
C.Y.Kun
f9a6bd8444
docs(components): update docs (#5854)
* docs(components): update docs
2022-02-11 20:29:52 +08:00
0song
39cb432cd9
docs: update empty component docs (#5959) 2022-02-11 12:16:18 +08:00
msidolphin
2ed6fc4cee
docs: [el-image] add preview-append-to-body (#5901)
* docs: [el-image] add preview-append-to-body

* chore: rename
2022-02-11 11:41:29 +08:00
weidehai
8945e21ec7
feat(components): [el-time-picker] add visibleChange event (#5704) 2022-02-11 11:24:46 +08:00
Calum Knott
4f58afb7dd
docs: [select-v2] simplify description (#5893)
Co-authored-by: Kevin <sxzz@sxzz.moe>
2022-02-11 00:42:45 +08:00
啝裳
bbe1cdcb13
docs: tabpane name support number type (#5916) 2022-02-10 23:26:04 +08:00
weidehai
0fce1f1a58
chore(docs): fix input document (#5937) 2022-02-10 23:10:01 +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
iamkun
6ff6270cdc
docs: update theming doc (#5806) 2022-02-08 03:54:30 +08:00
iamkun
02d82bae4a
chore: update icon doc (#5808) 2022-02-08 02:39:24 +08:00
三咲智子
f811ebbacf
docs: update migration (#5793) 2022-02-06 13:20:37 +08:00
三咲智子
8d1e66a5bf
docs: [config-provider] add slot scope (#5792) 2022-02-06 09:20:37 +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
C.Y.Kun
b46bdae9e6
docs(components): check docs before stable (#5740) 2022-01-31 23:43:56 +08:00
Chen_Z
cf094c4e1b
fix(docs): fix el-tree props disabled type (#5540) 2022-01-28 16:23:29 +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
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
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
三咲智子
0464c06d92
fix(build): locale export default (#5576) 2022-01-24 23:37:19 +08:00
三咲智子
0cb14b3f61
docs: remove vue-cli related (#5571) 2022-01-23 12:35:51 -05:00
hy
b687074a43
docs: [el-progress] fix default slot description (#5564)
Co-authored-by: hy <zihong2020@foxmail.com>
2022-01-24 00:40:13 +08:00
msidolphin
13de0524eb
feat(components): [el-button] support for customize loading component (#5505) 2022-01-21 23:11:35 -03:00
weidehai
47fdd4f542
chore(docs): fix tooltip document (#5421) 2022-01-20 15:28:18 +08:00
msidolphin
1fdd2cee8f
feat(components): [tree] node-click passes event object (#4312)
re 4307
2022-01-19 17:13:18 +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
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
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
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
kooriookami
f632072186
feat: dropdown add popper-options prop (#5396) 2022-01-16 13:56:16 +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
iamkun
71a7755527
docs: update timepicker doc (#5326) 2022-01-12 08:43:21 +08:00
iamkun
bb1e86a1f8 docs: update tooltip doc 2022-01-12 00:58:29 +08:00
jeremywu
60487af6ba
docs(components): [el-tooltip] enhance el-tooltip documentations (#5298)
- Add APIs that are already in the code to the documentation
- Enhance some documentation to notice users about the feature
2022-01-11 14:34: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
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
jeremywu
12b80c097b
feat(docs): Add migration chapter (#5205)
- Add example for migration document.
2022-01-07 16:09:32 +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
C.Y.Kun
09b71b9f31
docs(components): config-provider add size and zIndex (#5157) 2022-01-06 02:33:21 +08:00
啝裳
f5af4ad423
docs: update message (#5156) 2022-01-05 18:08:27 +08:00
handsomeFu
caa6982e47
fix(docs): correct minor typos (#5140) 2022-01-05 14:12:35 +08:00
C.Y.Kun
9128d631ea
docs(guide): remove app.config.globalProperties.$ELEMENT (#5133) 2022-01-05 03:44:08 +08:00
msidolphin
339bdfb31c
docs: [el-tree-v2] fix vitepresss compile issue (#5127) 2022-01-04 16:02:30 +08:00
msidolphin
d8fb83c0f4
refactor(components): [layout] optimize performance (#4600) 2022-01-04 15:06:18 +08:00
Alan Wang
a6ef40d1de
docs: [datetimePicker]add guide of value-format (#5082) 2022-01-04 10:56:55 +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
云游君
59759c9546
refactor(docs): add spacing for switch example (#5092) 2021-12-31 21:34:55 +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