Commit Graph

91 Commits

Author SHA1 Message Date
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
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
云游君
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
云游君
2b209fd760
fix(components): input-number/input/dropdown/select/badge details (#4866) 2021-12-28 19:38:23 +08:00
Alan Wang
a8619057c1
docs: [el-upload]add description of handleRemove() (#4983) 2021-12-27 16:39:31 +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
C.Y.Kun
575835a2f8
docs(components): use script setup replace defineComponent (#4849)
* docs(components): use `script setup` replace `defineComponent`

* docs(components): use setup sugar simplify `checkbox` demo

* docs(components): use setup sugar simplify `collapse` demo

* docs(components): use setup sugar simplify `color-picker` demo

* docs(components): use setup sugar simplify `config-provider` demo

* docs(components): use setup sugar simplify `container` demo

* docs(components): use setup sugar simplify `date-picker` demo

* docs(components): use setup sugar simplify `datetime-picker` demo

* docs(components): use setup sugar simplify `dialog` demo

* docs(components): use setup sugar simplify `drawer` demo

* docs(components): use setup sugar simplify `dropdown` demo

* docs(components): use setup sugar simplify `image` demo

* docs(components): use setup sugar simplify `infinite-scroll` demo

* docs(components): use setup sugar simplify `input-number` demo

* docs(components): use setup sugar simplify `loading` demo

* docs(components): use setup sugar simplify `menu` demo

* docs(components): use setup sugar simplify `message` demo

* docs(components): use setup sugar simplify `message-box` demo

* docs(components): use setup sugar simplify `notification` demo

* docs(components): use setup sugar simplify `page-header` demo

* docs(components): use setup sugar simplify `pagination` demo

* docs(components): use setup sugar simplify `popover` demo

* docs(components): use setup sugar simplify `progress` demo

* docs(components): use setup sugar simplify `radio` demo

* docs(components): use setup sugar simplify `rate` demo

* docs(components): use setup sugar simplify `scrollbar` demo

* docs(components): use setup sugar simplify `select` demo

* docs(components): use setup sugar simplify `select-v2` demo

* docs(components): use setup sugar simplify `skeleton` demo

* docs(components): use setup sugar simplify `slider` demo

* docs(components): use setup sugar simplify `space` demo

* docs(components): use setup sugar simplify `step` demo

* docs(components): use setup sugar simplify `switch` demo

* docs(components): use setup sugar simplify `tabs` demo

* docs(components): use setup sugar simplify `tag` demo

* docs(components): use setup sugar simplify `time-picker` demo

* docs(components): use setup sugar simplify `time-select` demo

* docs(components): use setup sugar simplify `timeline` demo

* docs(components): use setup sugar simplify `tooltip` demo

* docs(components): use setup sugar simplify `transfer` demo

* docs(components): use setup sugar simplify `transition` demo

* docs(components): use setup sugar simplify `tree` demo

* docs(components): use setup sugar simplify `table` demo

* docs(components): Escape character

* docs(components): use setup sugar simplify `tree-v2` demo

* docs(components): use setup sugar simplify `upload` demo

* docs(components): use `ref` to replace `reactive`

* docs(ci): use `playground` to replace `codepen`

* docs(ci): change icon from `codepen`  to `ep`

* docs(components): `sass` to `css`

* fix(components): add button CssVar

* docs(ci): change `Edit in Codepen.io` to `Edit in Playground`

* docs(ci): add vitepress i18
2021-12-21 15:51:33 +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
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
云游君
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
云游君
7caa13e80c
feat(style): add scrollbar for docs (#4800)
* feat(style): add scrollbar for docs

* fix(style): adjust scrollbar color
2021-12-13 00:07:28 +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
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
Alan Wang
60bdd14317
fix(components): [el-tooltip] fallback placement (#4771) 2021-12-10 18:32:30 +08:00
Alan Wang
d6d74c510a
docs: [el-cascader] add guidance on how to set props (#4689) 2021-12-10 18:31:15 +08:00
Alan Wang
42430106f3
feat(components): [el-select] tag type (#4504) 2021-12-10 01:57:50 +08:00
Alan Wang
82478eaaa0
docs: [el-date-picker] add example of how to use prefix-icon (#4736) 2021-12-10 01:53:55 +08:00
Alan Wang
0b269e76a1
feat(components): [el-divider] support setting the dividing line style (#4435)
* feat(components): [el-divider] support setting the dividing line style

* Update divider.md
2021-12-09 20:41:38 +08:00
Wisdom
bee6466a5d
fix(docs): replace @element-plus/icons with @element-plus/icons-vue (#4704) 2021-12-08 23:15:17 +08:00
三咲智子
5087026948
refactor: change icon package name (#4625) 2021-12-04 11:20:06 +08:00
msidolphin
12855f0d73
docs: [el-tree-v2] fixed the description of props.value (#4376) 2021-12-04 02:04:38 +08:00
三咲智子
151be696dd
feat(docs): add auto import and update icon (#4554) 2021-11-29 15:59:32 +08:00
卡西猫倒
acae6c83cb
docs(components): [el-upload] add upload 'file' slot (#4446) 2021-11-21 19:29:03 +08:00
刘小灰
61ef932e15
docs: button-group add type attribute (#4473) 2021-11-21 19:15:14 +08:00
云游君
5a166b4ba5
feat(components): add custom color for button & rename css var bg-color (#3664) 2021-11-19 20:22:16 +08:00
btea
db14d393c0
chore(docs): popover hide-after default value (#4400) 2021-11-16 10:56:22 +08:00
C.Y.Kun
87a06ddcdf
feat(components): [el-select] support suffix-icon (#4364) 2021-11-12 14:27:51 +08:00
bobo leng
a026f10056
docs: [el-switch] improve the description of inline-prompt
* docs(components): adjust description of Switch props #4297

* docs(components): update description of inline-prompt prop #4297

* docs(components): amend wording #4297
2021-11-11 11:40:22 +08:00
msidolphin
75c6ea967a
refactor: [el-config-provider] change default autoInsertSpace to false (#4330) 2021-11-10 15:21:20 +08:00
kooriookami
5a5c9453a3
style: fix style of document (#4329) 2021-11-10 09:38:05 +08:00
btea
dc5db7f2df
docs: fix popper.js docs link (#4281) 2021-11-09 11:08:24 +08:00
Alan Wang
1b763f91a8
docs(components): [el-image] initial index demo (#4283) 2021-11-09 10:30:34 +08:00