Commit Graph

66 Commits

Author SHA1 Message Date
bqy_fe
2f38edd715
fix(components): [select] inner input height is inconsistent with select (#6979)
* fix(components): [select] inner input height is inconsistent with select

* Update packages/constants/size.ts

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

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-04-10 14:48:01 +08:00
btea
2e85acbf9e
fix(components): [select] value support object (#6933)
* fix(components): [select] value support object

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

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

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-04-01 14:35:36 +08:00
三咲智子
184facdb4c
chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
Muyao
7b61eba9f3
fix(components): [el-select] reset selectedLabel when toggle multiple (#6769)
fix #6766
2022-03-24 15:19:44 +08:00
三咲智子
5d85fba20c
chore: self closing vue tag (#6603) 2022-03-13 16:16:11 -04: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
Alan Wang
e1447d9c7c
fix(components): [select] display error when setting persistent to false (#6522) 2022-03-11 14:36:15 +08:00
Alan Wang
73e60cd86a
test(components): [select] click icon twice (#6471) 2022-03-10 23:28:50 +08:00
gjfei
3cc4867f7a
fix(components): el-select-allow-dynamically-update-options (#6473)
* fix(components):[select] (#6458)

* fix(components): [select] allow create

* fix(components): [select] allow create code review
2022-03-10 15:50:46 +08:00
gjfei
593082ec65
fix(components):[select] namespace (#6486) 2022-03-10 15:39:42 +08:00
gjfei
68127aa442
fix(components):[select] (#6446) (#6474) 2022-03-08 14:09:37 +08:00
三咲智子
b8c38a9fe5
chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
msidolphin
166c5944d0
fix(components): [el-select] optimize prefix size & selected style (#6267)
* fix(components): [el-select] optimize prefix size & selected style

* fix: implement icon by mask

* chore: adjust multiple demo width
2022-03-07 16:13:05 +08:00
三咲智子
c72679e4e9
refactor(components)!: refactor form (#5401)
* refactor(components): refactor form

* refactor: resolve PR comments

* refactor(components): refactor isNested

* refactor: resolve PR comments
2022-03-06 22:20:56 +08:00
Alan Wang
a4679050ea
fix(components): [select] click icon not respond (#6441) 2022-03-06 18:00:00 +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
wzrove
40242b2730
style(components): [el-select] collapse-tags存在时,增加左边距 (#6037) 2022-02-15 11:14:29 +08:00
三咲智子
7abc200742
refactor(utils): improve escapeStringRegexp (#6013) 2022-02-13 22:48:42 +08:00
BeADre
99f378a63a
feat(components): [el-select] add effect and close #5956 (#5976) 2022-02-11 23:13:33 +08:00
jeremywu
1429a4e669
fix(components): [el-select] tag default theme (#5983)
- Fix the default theme for select tag
- Fix the input padding for inputable select
2022-02-11 19:55:34 +08:00
zeting
fc8291114e
fix(components): fix [el-select] infinite bounce (#5977)
修复了select组件  filterable 和multiple 属性激活是  当失去焦点后再次激活焦点会无限抖动的问题,并修复异常样式

# 5905

Co-authored-by: 袁泽庭 <chongyun@boomlink.com>
2022-02-11 18:18:39 +08:00
jeremywu
04df2a483a
fix(utils): restore scrollIntoView method (#5973) 2022-02-11 18:07:59 +08:00
msidolphin
7569ccaf90
fix: namespace typo (#5972)
* chore: typo

* chore: typo

* chore: typo
2022-02-11 18:07:14 +08:00
三咲智子
590538cd38
test: fix scrollIntoView (#5960) 2022-02-11 12:35:26 +08:00
三咲智子
6503e55277
refactor(utils): migrate utils (#5949)
* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils): remove

* refactor(utils): rename

* refactor(utils): move EVENT_CODE to constants

* refactor: remove generic
2022-02-11 11:03:15 +08:00
btea
cb98b7cf97
fix(components): [select] change the tagType and style default value (#5884)
* fix(components): [select] change the tagType and style default value

* chore: update
2022-02-11 11:01:53 +08:00
JacBiank
e901c58c63
fix(components): [el-select] (#5952) 2022-02-11 10:28:18 +08:00
bqy
28b82a5ffe
fix(components): [select] define nsInput & rename ns to nsSelect (#5953) 2022-02-11 09:56:53 +08:00
bqy
b99fd42e07
refactor(components): [select] use useNamespace (#5733)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-02-11 03:58:02 +08:00
jeremywu
bcd5c8b848
test(components): removing mock folder (#5911)
- Remove mock folder from the project root
- Add mock for each component test file accordingly
2022-02-10 16:35:44 +08:00
三咲智子
c1e5d724d8
refactor(utils-v2): refactor utils (#5699) 2022-02-09 16:59:08 +08:00
三咲智子
426a6a686c
feat: switch to lodash-unified (#5734)
* feat: switch to lodash-unified

* chore: move lodash mocks
2022-02-08 10:37:21 +08:00
jeremywu
44dc9a1cf5
test(components): remove all sleep statement in the tests (#5784) 2022-02-06 00:37:20 +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
msidolphin
8322bcf843
refactor(components): [el-pagination] optimize component style (#5666) 2022-01-27 16:52:45 +08:00
Alan Wang
7f025e1efc
fix(components): [el-select] hover index (#4423) 2022-01-19 16:59:03 +08:00
Alan Wang
260e491011
docs: [el-select]change default of reserve-keyword (#5355) 2022-01-19 15:17:19 +08:00
kooriookami
c2ee36a7fc
fix: tooltip with compoents add persistent (#5250) 2022-01-09 17:38:51 +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
Herrington Darkholme
f85621d209
fix(components): fix message warning (#4979) 2021-12-27 14:05:07 +08:00
Herrington Darkholme
0057fbfadc
fix(components): fix more size prop checks (#4975) 2021-12-26 15:45:58 +08:00
三咲智子
6287c1f92d
refactor(utils): remove isServer (#4792) 2021-12-12 23:28:03 +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
三咲智子
db1d9401fe
feat(components): [el-config-provider] add size (#4730) 2021-12-10 17:21:01 +08:00
Alan Wang
42430106f3
feat(components): [el-select] tag type (#4504) 2021-12-10 01:57:50 +08:00
三咲智子
5087026948
refactor: change icon package name (#4625) 2021-12-04 11:20:06 +08:00
三咲智子
bbd16a08e9
refactor(hooks): refactor hooks (#4253)
* refactor(hooks): remove use-css-var

* refactor(hooks): remove use-events

* refactor(hooks): remove use-migrating

* refactor(hooks): remove use-transition

* refactor(hooks): named export useAttrs

* refactor(hooks): named export useFocus

* refactor(hooks): refactor useFormItem

* refactor(hooks): refactor useGlobalConfig

* refactor(hooks): refactor useLocale

* refactor(hooks): refactor useLockscreen

* refactor(hooks): refactor useModal

* refactor(hooks): refactor useModelToggle

* refactor(hooks): refactor usePreventGlobal

* refactor(hooks): refactor useRestoreActive

* refactor(hooks): refactor useTeleport

* refactor(hooks): refactor useThrottleRender

* refactor(hooks): refactor useTimeout

* refactor(hooks): refactor useTransitionFallthrogh
2021-11-29 15:58:44 +08:00
C.Y.Kun
e51ce0dc17
fix(components): [ElSelect] fix group disabled don't work (#4481) 2021-11-21 19:14:29 +08:00
C.Y.Kun
87a06ddcdf
feat(components): [el-select] support suffix-icon (#4364) 2021-11-12 14:27:51 +08:00
Alan Wang
b13955648b
fix(components): [el-select] display false (#4036) 2021-11-05 18:53:01 +08:00