Commit Graph

71 Commits

Author SHA1 Message Date
一只前端汪
7c16480bcd refactor(style): Update Eslint to V9 and Prettier to V3 (#21949)
* refactor(style): Update Eslint to V9 and Prettier to V3

* fix: vscode color

* fix: vscode color

* chore: remove Useless dependence and old config file

* chore: format

* Merge branch 'dev' into eslintV9

* fix: fix

* fix: ssr test

* fix: ssr test

* fix: use defineConfig

* fix: prettier format and ignore docs dist

* fix: index.mjs => index.js

* fix: Vscode color

* fix: prettier ignore global.d.ts

* fix: format

---------

Co-authored-by: 2586740555 <15972343+CYJ090915@user.noreply.gitee.com>
2025-09-29 14:14:30 +08:00
qiang
9043e16d94 fix: the KeyboardEvent.code is always empty string on Android (#22228)
closed #20330
2025-09-21 01:23:38 +02:00
知晓同丶
98041055b0 feat(components): [message] add placement option & method (#21747)
* feat(components): [message] add `placement` option & method

* fix: resolve test hanging issue caused by reactive circular dependency

* test: add test

* feat: add placement `top-left/top-right/bottom-left/bottom-right`

* refactor: split large normalizeOptions function

* docs: adjust description text

* chore: remove unused height expose

* refactor: simpify code

* style: opt-in center style & simplified animations

* style: replace :not(.center) with :is(.left,.right) for more explicit

* feat: add `placement` to `config-provider`

* fix: fix test warning when placement is undefined

* refactor: remove useless style & simpify types

* fix: avoid circular dependency

* chore: types related

* Update docs/examples/config-provider/message.vue

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* Update packages/components/config-provider/__tests__/config-provider.test.tsx

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* chore: make typecheck happy & format

* style: add top/bottom transition

* chore: format

---------

Co-authored-by: zhixiaotong <947803089@qq.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-08-19 15:16:49 +00:00
thinkasany
8120ae8bae refactor(components): [message] use MessageType replace messageType (#21579)
* fix(components): [message] use MessageType replace messageType

* chore: add notes

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-08-01 09:25:59 +00:00
yuhengshen
cfc661c626 feat(types): [components] add public prop types (#21222)
* feat(types): [utils] add ExtractPublicPropTypes type

* feat(types): [components] add props public type

* chore(types): use type-only import for Prop from 'vue'

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-07-07 00:51:32 +08:00
Noblet Ouways
2f17df1209 style(eslint-config): newline before import type (#21036)
* perf: change to import-x

* feat: add rules

* chore: fix rule

* chore: fix

* chore: fix

* chore: fix

* style: `pnpm lint:fix`

* Revert "style: `pnpm lint:fix`"

This reverts commit db0116a288.

* Revert "chore: fix"

This reverts commit 69c82a90c0.

* chore: fix

* style: `pnpm lint:fix`

* fix: lint

* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
btea
7c3a321e5f fix(components): [message] message method jump failed (#20818)
* revert: [message] `Message` interface

* refactor: update

* fix: update
2025-05-22 16:50:11 +08:00
kooriookami
bd17819bb4 feat(components): [alert] [result] [message] [message-box] [notification] add primary type (#20782)
feat(components): add primary type
2025-05-20 07:46:08 +08:00
kooriookami
386129f402 feat(components): [config-provider] add message plain config (#20723)
* feat(components): [config-provider] add message plain config

* feat: update
2025-05-14 15:02:21 +08:00
w2xi
8b12b76c2c refactor(components): [message] remove inferable return types (#20551) 2025-04-25 23:27:27 +08:00
伊墨
007635aa4a test(components): [message] add one test case for #20333 (#20513)
* test(components): [message] add one test case for #20333

* fix: error caused by other test cases

After running the test case "it should render vnode function", there is a message in the body
2025-04-21 20:56:26 +08:00
betavs
54b0aae060 refactor(components): [message] deprecate the center option (#20296) 2025-04-10 11:00:16 +08:00
w2xi
4e7058ee7d refactor(components): [message] use message type constants (#20355)
- Update tests to use `messageTypes` for dynamic type checking
- Refactor `Message` type definition to use mapped type for better scalability
2025-04-07 21:16:52 +08:00
DDDDD12138
27e3711968 fix(components): [message] fix consecutive closeAll method calls (#20334) 2025-04-04 22:32:06 +08:00
dopamine
7be4a3765e chore: emits smaller declaration files (#20109)
* Revert "fix(types): packing unexpected types (#19419)"

This reverts commit 13506ffb81.

* Revert "chore: add explicit type annoation (#19352)"

* fix(typescript): borken import paths in declaration files

* chore: emits smaller declaration files
2025-03-18 10:08:44 +08:00
dopamine
f4d3547fa5 chore: stop re-exporting isVNode (#19108) 2024-12-05 10:30:00 +08:00
Manshu Tusker
2dbe2bf4af fix(components): [message] max affects grouping display (#18189)
fix(components): [message] Fix message grouping with max limit

Prioritize grouping logic over max limit in message component

closed #18117
2024-09-06 09:02:45 +08:00
btea
93d28929fe feat(components): [config-provider] support more message config (#18106)
* feat(components): [config-provider] support more message config

* feat: more message-config params test

* fix: more test conflict

* chore: delete useless code

* chore: add tag

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2024-09-01 18:13:40 +08:00
kooriookami
dc19ddff10 feat(components): [message] add plain prop (#16214)
* feat(components): [message] add plain prop

* feat(components): update
2024-03-26 12:03:51 +08:00
kooriookami
d1a7fd102a style(components): [message] Update message style (#15912)
* style(components): [message] Update message style

* test(components): update test
2024-02-23 16:23:32 +08:00
betavs
668a6b00b1 fix(components): [message] type is not working after customizing icon (#15233) 2024-01-01 15:04:39 +08:00
jumtp
eb5d46d296 chore(test): [message] wrong tag typo (#14099)
fix(test-utils): [message.test] wrong tag
2023-08-26 02:06:30 +00:00
btea
105d79b0d9 refactor: extract isClient and isNumber isBoolean (#12504)
* refactor: extract isClient and isNumber isBoolean

* test: update test

* refactor: extract isClient to browser
2023-04-20 20:00:49 +08:00
Xc
430a167ec0 docs(components): [message] (#12295) 2023-04-07 00:46:20 +08:00
Jeremy
c2710d97d0 fix(components): [global-config] (#11847)
* fix(components): [loading]

* Remove inappropriate way of using injection in directives.

* chore: rewrite implementation

* fix(components): [global-config]

* Fix global config injection in global components.

* chore: fix format

* chore: remove .only modifier

* chore: fix failing tests
2023-03-06 23:20:21 +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
linxianxi
c8e771eace fix(components): [message] fix space when offset exists (#11268)
* fix(components): [message] fix space when offset exists
2023-01-15 17:03:46 +08:00
zz
ec0b8425a8 perf(components): [message] prefer function slots (#9625) 2022-09-05 10:16:20 +08:00
zz
f5fa7e741f refactor(utils): refactor iconPropType (#9502) 2022-08-28 13:20:07 +08:00
btea
ad940b5913 fix(components): [message] the value of exposeProxy may be null (#9378)
* fix(components): [message] the value of exposeProxy may be null

* feat: use exposed
2022-08-24 19:47:44 +08:00
gjfei
cf21d1cb52 fix(components): [message] fix message grouping styles (#8809) 2022-07-18 20:05:44 +09:00
btea
e6e6842805 fix(components): [message] set appentTo value (#8730)
* fix(components): [message] set appentTo value

* feat: update judge
2022-07-15 23:17:28 +08:00
三咲智子
2d951a2af7 fix(components): [message] fix z-index & offset (#8582) 2022-07-01 20:19:43 +08:00
Lete
65d198f0a0 feat(components): close all messages of the specified type (#8415) 2022-06-22 19:57:43 +08:00
三咲智子
37ed7a15ee fix(components): [message]: offset (#8379)
* fix(components): [message]: offset

closes #7217, #8368
2022-06-22 09:01:23 +08:00
三咲智子
786360b7dd refactor(components): [message] fix typings and switch to script setup (#8378) 2022-06-21 19:50:16 +08:00
三咲智子
1d13ebb05d feat: drop jest (#7248)
* feat: drop jest

* test: remove ssr

* test: rename

* chore: update tsconfig
2022-04-19 16:51:44 +08:00
Delyan Haralanov
de0ee53cf0 test(components): switch all components to vitest (#7205)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-19 12:46:57 +08:00
Xc
0c905bbf7e fix: [ElMessage] grouping mode default type (#6836)
Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-03-31 10:46:53 +08:00
三咲智子
184facdb4c chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
三咲智子
5d85fba20c chore: self closing vue tag (#6603) 2022-03-13 16:16:11 -04: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
a7f90cc517 fix(components): [message] offset error (#6497) 2022-03-10 08:39:56 +08:00
三咲智子
b8c38a9fe5 chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +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
btea
15895d6d4d refactor(utils): extract isElement (#6292) 2022-02-26 15:00:57 +08:00
JeremyWuuuuu
6aa69126b8 feat(components): [message] add vue context for message component (#6259) 2022-02-24 11:24:34 +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
三咲智子
c1e5d724d8 refactor(utils-v2): refactor utils (#5699) 2022-02-09 16:59:08 +08:00
三咲智子
b80e5c69e9 refactor(hooks): refactor popup manager to useZIndex (#5701) 2022-02-09 16:31:31 +08:00