Commit Graph

67 Commits

Author SHA1 Message Date
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
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
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
云游君
2f146e8624
fix(theme-chalk): input-number controls increase/decrease height (#5088) 2021-12-31 17:24:38 +08:00
iamkun
262e38a943
doc: update table demo (#5060) 2021-12-30 19:47:57 +08:00
三咲智子
d28d0701d7
docs: improve code (#5040)
* docs: remove unused code

* refactor(docs): improve code
2021-12-30 19:00:11 +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
啝裳
15cfc90d04
docs: adjust space and form size order (#5045) 2021-12-30 14:52:03 +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
Satrong
9d68e29248
docs: [el-input] add password type (#5002)
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-12-28 15:47:10 +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
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
SongWuKong
9abe74baa8
chore(docs): modify tooltip base style (#4900)
* chore(docs): modify tooltip base style
2021-12-21 14:56:47 +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
Soul
f387feab42
docs: [el-form] typo (#4897) 2021-12-20 11:21:01 +08:00
Soul
a7e72c08ff
docs: [el-time-picker] update default value (#4898)
already disabledTime '18:40', it might mislead reader.
2021-12-20 11:15:41 +08:00
云游君
59a0c4cf7a
refactor(docs): use setup sugar simplify input demo (#4845) 2021-12-15 17:32:09 +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
云游君
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
Alan Wang
d6d74c510a
docs: [el-cascader] add guidance on how to set props (#4689) 2021-12-10 18:31:15 +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
imguolao
124b4b8abc
fix(docs): fix code not working in Codepen (#4678) (#4679)
fix #4678
2021-12-07 17:37:46 +08:00
Alan Wang
b7ea88193b
refactor(components): refactor drawer (#4282)
Co-authored-by: Kevin <sxzz@sxzz.moe>
2021-12-04 23:19:34 +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
muhammadcahya
44cd5d243f
fix(locale): improve Indonesian (Bahasa) translations and fix typo (#4476) 2021-11-23 00:19:51 +08:00
云游君
e68b6c05d7
refactor(style): rename to text-color bg-color (#4468)
* refactor(style): rename -font to -text-color & -background to -bg-color

* refactor(style): rename bg-color text-color

* refactor(style): rename 'color' to 'text-color'
2021-11-22 11:19:44 +08:00
云游君
5a166b4ba5
feat(components): add custom color for button & rename css var bg-color (#3664) 2021-11-19 20:22:16 +08:00
Aex
bf0484f6e1
fix(docs): el-image picture icon (#4433) 2021-11-17 12:12:21 +08:00
liuyutao
7541a6f9c8
docs: [el-table] optimize lazy example
change tree to row
2021-11-12 14:22:01 +08:00
Alan Wang
1b763f91a8
docs(components): [el-image] initial index demo (#4283) 2021-11-09 10:30:34 +08:00
表弟
b81bf53f0a
feat(components): [el-message] merge the same content messages(#3836) (#3988)
* style(components): [el-message-box] string does not wrap(#3856)

* feat(components): [el-message] merge the same content messages(#3836)

* feat(components): [el-message] merge the same content messages(#3836)

* feat(components): [el-message] merge the same content messages(#3836)

* refactor(components): el-swtich custom texts and icons

* fix: test

* fix: font size

* fix: example margin

* feat(components): el-switch add inline-prompt support

* revert: paly

* docs: update icons

* feat: add inner text

* fix: switch test

* refactor: icon inline

* feat(components): [el-message] merge the same content messages(#3836)

* feat(components): [el-message] merge the same content messages(#3836)

Co-authored-by: Aex <adaex@qq.com>
2021-11-05 18:55:40 +08:00
msidolphin
e5e9d654a4
fix(components): [el-table] development environment warning issues (#4167)
fix #4166
2021-11-05 18:34:47 +08:00
msidolphin
66043aa3b5
refactor(components): [el-config-provider] improve componomponent extendiability (#4175)
re #4146

added button configuration
added useGlobalConfig hook
2021-11-05 18:10:07 +08:00
Aex
f78407a409
fix(components): empty icon component judgment (#4178)
* fix(components): empty icon component judgment

* revert: globals components

* fix(components): el-icon missing import

* fix: use shallowRef for icon components

* refactor: remove shallowRef

* fix: remove unused code

* fix: social-link icon size

* fix: time picker icon

* fix: v-if judge
2021-11-05 17:44:02 +08:00
Greper
23325a942a
feat(components): [el-tree] allow tree node to have customizable class (#3912)
* feat(components): [el-tree] custom node class

* Update packages/components/tree/src/tree.type.ts

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

* refactor: [el-tree] getNodeClass use isString & isFunction

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-11-02 22:36:47 +08:00
Aex
fa46dbd0b4
fix(components): el-loading spinner directive (#4133) 2021-11-01 15:16:11 +08:00
msidolphin
93a1aa9b2f
feat(components): [el-date-picker] support customized cell content (#4078)
re #4056
2021-10-30 21:39:11 +08:00
Aex
cd646824c2
feat(components): el-switch add inline content support (#4091)
* refactor(components): el-swtich custom texts and icons

* fix: test

* fix: font size

* fix: example margin

* feat(components): el-switch add inline-prompt support

* revert: paly

* docs: update icons

* feat: add inner text

* fix: switch test

* refactor: icon inline
2021-10-30 21:23:29 +08:00