Commit Graph

4699 Commits

Author SHA1 Message Date
qiang
5633dfe54b
fix(components): [autocomplete] the blur event is not triggered (#10091)
* fix(components): [autocomplete] the blur event is not triggered

closed #9183

* test(components): [autocomplete] add event:focus

* test(components): [autocomplete] add event:focus

* refactor(components): [autocomplete] optimize code
2023-03-01 14:48:39 +08:00
Jeremy
105d41799e
refactor(components): [color-picker] alpha-slider (#10332)
* refactor(components): [color-picker] alpha-slider

* Extract logic code out of color-picker/alpha-slider

* fix: exposing methods

* chore: expose refs

---------

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2023-03-01 14:32:26 +08:00
洪布斯
c88c6cdb8f
docs: error when frontmatter does not exist (#10561) 2023-03-01 14:23:44 +08:00
Jeremy
a30ae9d103
refactor(project): removing packages/tokens (#11769)
* refactor(tokens): remove tokens

* Remove tokens/breadcrumb.

* refactor(tokens): remove tokens/button

* refactor(tokens): remove tokens/carousel

* refactor(tokens): removing tokens/checkbox

* refactor(tokens): removing tokens/collapse

* refactor(tokens): removing tokens/dialog

* refactor(tokens): removing tokens/pagination

* refactor(tokens): removing tokens/radio

* refactor(tokens): removing tokens/row

* refactor(tokens): removing tokens/scrollbar

* refactor(tokens): removing tokens/slider

* refactor(tokens): removing tokens/tabs

* refactor(tokens): removing tokens/upload

* refactor(tokens): removing tokens/popper

* refactor(tokens): removing tokens/tooltip

* refactor(tokens): removing tokens/tooltip-v2

* refactor(tokens): removing tokens/date-picker

* refactor(project): removing tokens/experimentals

* Remove tokens/experimentals
* Remove package/tokens
* Remove tokens related parts

* refactor(project): removing packages/tokens completely

* chore: update import statement
2023-03-01 13:59:21 +08:00
Lck6de1p
61fb319315
refactor(tooltip): replace any to OnlyChildExpose (#11660)
feat(tooltip): replace  any to OnlyChildExpose
2023-02-28 23:21:03 +08:00
Travis
be0ed4de68
fix(components): [tabs] tab-bar need to adapt to tabs width change (#11731)
* fix(components): [tabs] tab-bar need to adapt to tabs width change

closed #11722

* perf(components): [tabs] tabBar -> tabBarRef
2023-02-28 13:19:19 +08:00
Jeremy
d58149f4bb
refactor(components): [config-provider] (#11749)
* refactor(components): [config-provider]

* Port useConfigProviders and tokens to components/.

* refactor(hooks): [global-config]

* Reimplement a few coupled hooks.
* Remove hooks/globa-config and tokens/&.
* Update import paths based on the changes.

* chore: fix a failing test case
2023-02-28 10:35:56 +08:00
井柏然
2f5629a2f8
fix(components): [select] support custom height (#10840) (#10847)
* fix(components): [select] support custom height (#10840)

fix(components): [select] support custom height (#10840)

* fix(components): [select] support custom height (#10840)
2023-02-27 22:05:14 +08:00
류한경
8de2c9c450
fix(components): [select] add popper-options prop (#11734) 2023-02-27 19:20:18 +09:00
Jeremy
11925c8231
refactor(tokens) - [form] (#11743)
* refactor(tokens): [form] - remove tokens/form

* Move content in tokens/form to components/form.
* Replace token imports in components/form.

* chore: remove form/tokens and replace imports

* refactor(components): [form/form-item]

* Move `useForm` related hooks to components/form
* Replace references to reduce circular dependencies.
2023-02-27 13:19:20 +08:00
qiang
3a1b683ee3
fix(components): [tabs] add deep attribute to watch (#11724) 2023-02-26 01:35:46 +08:00
btea
842fb2b286
fix(components): [select] fix the hoverIndex display error (#11297)
* fix(components): [select] fix the hoverIndex display error

* fix: update useSelect
2023-02-25 16:43:40 +08:00
Xc
df6074f8b8
style(components): [breadcrumb] item use inline-flex (#11683)
style(components): [breadcrumb] item use inline-felx
2023-02-25 15:50:40 +08:00
Xc
2726dc5c98
fix(components): adjust menu close api (#11682)
*When calling externally, you should only need to pass the index, and you don't need to execute emit.
2023-02-25 15:17:38 +08:00
jiangyeka
ce79ee1abe
docs: [form] add FormRules type assertion (#11711)
* feat(docs): [form] 完善文档的案例规则类型

* feat(docs): [form] 修改类型位置

---------

Co-authored-by: jinpeng <jinpeng@mbse.com.cn>
2023-02-24 19:14:51 +08:00
wonderl17
be9ef049f9
fix(docs): [search] fix navigate error when enter pressed (#11718) 2023-02-24 18:04:36 +08:00
wonderl17
8280a0b322
chore(components): [table] fix table config typo (#11700) 2023-02-24 18:36:23 +09:00
richex-cn
e46fd703a3
fix(components): [autocomplete] clearable and disabled props not working (#11714)
* fix(components): [autocomplete] clearable and disabled props not working

* fix(components): [autocomplete] add name props to input (#11714)
2023-02-24 15:14:04 +08:00
btea
a5e09ca178
docs(components): [date-picker] add popper-options prop (#11555)
* docs(components): [date-picker] add popper-options prop

* chore: format
2023-02-24 10:49:56 +09:00
btea
5ea5c88b90
chore: update contributing.md (#11708) 2023-02-24 10:40:47 +09:00
acyza
1b634705c8
fix(components): [tooltip] display tooltip correctly (#11643)
* fix(components): [tooltip] display tooltip correctly

* Update packages/hooks/use-popper/index.ts

Co-authored-by: Jeremy <15975785+jw-foss@users.noreply.github.com>

---------

Co-authored-by: Jeremy <15975785+jw-foss@users.noreply.github.com>
2023-02-22 12:27:48 +00:00
Mario34
d51b683be1
fix(components): [input-number] prevent input wheel events (#11677) 2023-02-22 20:27:01 +08:00
童欧巴
f9d4c8c083
refactor(components): [slider] remove useless code (#11681) 2023-02-22 19:21:52 +08:00
acyza
c1068870e3
docs(components): [table] 筛选demo在ElementPlusPlayground中无预览效果 (#11661) 2023-02-22 00:13:03 +08:00
0song
17de7e3056
chore: update doc (#11676) 2023-02-21 12:09:29 +00:00
wonderl17
d249ef92dd
fix(theme-chalk): [upload] wrong hover style when disabled (#11635)
* fix(theme-chalk): [upload] wrong hover style when disabled
2023-02-21 20:08:21 +09:00
btea
7914f10af7
feat(components): [tree-v2] add item-size attribute (#11522)
* feat(components): [tree-v2] add item-size attribute

* fix: modify internal variable name

* fix: extract itemSize prop

* test: add test case

* test: update test
2023-02-19 21:55:02 +08:00
Element
6c2dd5d3ff
chore: Update changelog 2.2.32 (#11655)
chore: update changelog 2.2.32
2023-02-19 12:25:16 +00:00
Xc
b15a57a895
fix(components): [dropdown] unmounted error (#11649) 2023-02-19 05:13:40 +08:00
btea
8dfbddb0da
fix(components): [cascader] add focus and blur event when set filterable (#11273)
* fix(components): [cascader] add focus and blur event when set filterable

* feat: add tabindex

* feat: update focus class

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

Co-authored-by: qiang <qw13131wang@gmail.com>

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2023-02-18 21:58:27 +08:00
Jacob Alspaw
e444e0c942
fix(components): [table] fix an undefined reference in table-layout (#11204)
Co-authored-by: zz <2418184580@qq.com>
2023-02-18 15:20:14 +08:00
Element
aebeabd984
chore: Update changelog 2.2.31 (#11639)
chore: update changelog 2.2.31
2023-02-17 14:24:15 +00:00
Xc
aba0d26537
docs(components): [cascader] (#11556)
* docs(components): [cascader]
* Update cascader docs with new syntax.

* docs(components): [cascader]
* Update cascader docs with new syntax.

* docs(components): [cascader]
* Update cascader docs with new syntax.

* docs(components): [cascader]

* docs(components): [cascader]

* docs(components): [cascader] add type declarations

* docs(components): [cascader] add type declarations

* docs(components): [cascader] add type declarations

* docs(components): [cascader] add type declarations
2023-02-17 13:59:52 +08:00
Giwayume
3d43d51503
fix(components): [dropdown] fix focus after close (#11586)
* fix(components): [dropdown] fix focus after close

closed #9837

* fix(components): [dropdown] fix linting

* fix(components): remove events on unmount

---------

Co-authored-by: OpenGraphica <opengraphica@gmail.com>
2023-02-17 12:35:45 +08:00
Dave
8055220c84
feat(components): [descriptions] render null when empty label (#11575) 2023-02-16 15:23:59 +00:00
热爱vue的小菜鸟
f19ae83e3c
fix(components): [tree] setCheckedKeys keys attribute add type (#11390)
* fix(components): [tree] setCheckedKeys keys attribute add type

* fix(components): [tree] setCheckedKeys keys attribute add type
2023-02-16 21:29:11 +08:00
井柏然
19e5bb8425
feat(components): [cascader] add togglePopperVisible for expose (#11559)
* feat(components): [cascader] add togglePopperVisible for expose

* feat(components): [cascader] add togglePopperVisible for expose
2023-02-14 23:54:42 +08:00
acyza
9d3d77c674
fix(components): [input] fix textarea autosize (#11376)
* fix(components): [input] fix textarea autosize
2023-02-14 23:51:32 +08:00
qiang
a6c7e44f48
docs(build): add a plugin to display tag (#11580) 2023-02-14 15:12:28 +00:00
qiang
ffb2c1f740
docs: special handling about SSR/SSG (#10689)
* docs(ssr): special handling about SSR/SSG

* docs: ssr

* fix: the RegExp is not perfect

* docs: update the use of Nuxt
2023-02-14 22:53:06 +08:00
Xc
b22b9d3d3a
docs(components): [divider] (#11558)
* Update divider docs with new syntax.
2023-02-14 22:31:33 +08:00
Jeremy
8c2a2a69dd
docs(components): [calendar] (#10977)
* docs(components): [calendar]

* Update calendar docs with new syntax.
* Update description for calendar APIs.

* chore: remove backquote for API names

* chore: update scoped slots

* chore: apply suggestion

---------

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2023-02-14 22:29:36 +08:00
0song
cc3cc854e8
chore: update doc (#11581) 2023-02-14 20:47:56 +08:00
wonderl17
af9302c887
fix(components): [select] i18n issue of select placeholder (#11508) 2023-02-13 23:06:57 +08:00
Jacob Alspaw
7b64807ff2
fix(components): [select] ensure select options respect filter query during initialization (#11205)
* fix(components): [select] ensure select options respect query immediately during initialization

When the select option is created, the option does not immediately calculate its `visible` state attribute. This can result in the visible select options being out of sync with the filter text. If the options are loaded asynchronously and a user is quick to enter filter text, then the options will show regardless of the filter value once they have completed loading. Fix this by updating the `visible` attribute immediately.

* fix: lint

---------

Co-authored-by: zz <2418184580@qq.com>
2023-02-12 20:39:11 +08:00
qiang
5c95932769
refactor(components): [menu] add deprecated mark to popperAppendToBody (#11509) 2023-02-12 14:57:21 +08:00
Xc
196e30715c
fix(components): [input] box-shadow noise (#11518) 2023-02-12 14:55:56 +08:00
Xc
06126ea571
docs(components): [input-number] (#11063)
* Update form docs with new syntax.
2023-02-12 01:33:19 +08:00
Xc
9de0a15b9a
docs(components): [form] (#11021)
* docs(components): [form]
* Update form docs with new syntax.

* docs(components): [form]
* Update form docs with new syntax.
2023-02-12 01:33:02 +08:00
Ali Khalouf
d0c4248a0e
fix: translate arabic language (#11510)
#fix translate arabic language
2023-02-11 23:50:51 +08:00