66 Commits

Author SHA1 Message Date
41e65b79bb refactor(components): [message-box] remove duplicates conditional (#21634)
refactor(components): [message-box] rm redundant conditional expression
2025-08-05 22:32:51 +02:00
bc9a95d9ba chore(components): fix typos (#21473) 2025-07-23 07:09:15 +08:00
58a5852d2d refactor(components): improve component boolean type (#21260) 2025-07-06 14:56:17 +02:00
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
4e2a64d721 fix(components): [message-box] ElMessageBoxOptions type missing modalClass (#20135)
fix(components): [MessageBox]ElMessageBoxOptions type add modalClass
2025-03-15 23:30:22 +08:00
sea
244e811b44 chore(eslint-config): add line-between-blocks rules (#20051) 2025-03-08 08:55:02 +08:00
47e10798fb fix(components): [message-box] vue warning when closeIcon is component (#19901) 2025-02-19 09:55:01 +08:00
8c7a43f1fc feat(components): [message-box] support custom close icon in message-box (#18168) 2025-02-18 19:00:22 +08:00
sea
5ed153bb64 fix(components): [message-box] init validator (#19832)
* fix(components): [message-box] init validator
* fix: update

---------
Co-authored-by: xingyixiang <452282988@qq.com>
2025-02-11 17:21:29 +08:00
f63da8f5a3 chore: [message-box] remove @ts-nocheck directive (#19277)
* chore: [message-box] remove @ts-nocheck directive

* fix: type

* Update packages/components/message-box/src/index.vue

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

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2025-01-13 21:34:07 +08:00
f4d3547fa5 chore: stop re-exporting isVNode (#19108) 2024-12-05 10:30:00 +08:00
dab6b73040 refactor: replace type checking with built-in functions (#18720)
* refactor: replace typeof string with the built-in isString

* refactor: replace typeof boolean with the built-in isBoolean

* refactor: replace typeof undefined with the built-in isUndefined

* chore: style

* chore: style
2024-10-31 09:21:21 +08:00
36bd70670e refactor: replace typeof fn with the built-in isFunction (#18705) 2024-10-30 08:42:04 +08:00
e671076556 chore: fix typo in messageBox.ts comments (#18612) 2024-10-21 19:58:42 +08:00
ab494bb48a fix(components): [message-box] vue wraning when button state is loading (#17603) 2024-07-20 11:16:06 +08:00
e63ff37972 feat(components): [message-box] add loading-icon to confirmbtn,cancelbtn (#17360)
* feat(components): [message-box] add loading-icon to confirmbtn,cancelbtn

closed #17358

* chore(components): [message-box] add loading-icon type to messagebox opt

* docs(components): [message-box] add loading-icon to options

* docs(components): [message-box] add version for options

---------

Co-authored-by: btea <2356281422@qq.com>
2024-07-07 08:36:49 +08:00
e75cee1ce4 fix(compoents): [message-box] adapt Parameters extraction rules (#16592)
fix type error when use Parameters<ElMessageBoxShortcutMethod>
2024-04-29 16:31:47 +08:00
ee7a21f670 feat(components): [message-box] MessageBox can drag overflow the viewport (#15674)
feat(components): [message-box] can drag overflow the viewport
2024-01-26 10:20:08 +08:00
6222629007 refactor(components): [message-box] remove useRestoreActive (#11646) 2023-05-28 09:57:29 +08:00
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
69746e6f36 fix: [message-box] lock scroll (#11921)
* Closes #11919
2023-03-09 10:13:46 +08:00
ff673f72b8 fix(components): [global-config] global injection (#11899)
* fix(components): [global-config] global injection

* Fix global injection cannot receive configs

* chore: fix formats

* fix: implementation defect
2023-03-08 23:12:17 +08:00
3eda7fc603 fix(components): [overlay] namespace issue (#11881)
* Fix namespace issue on global components overlay.
* Closes #11877
2023-03-07 22:51:31 +08:00
b29d0b9869 fix(components): [global-config] (#11866)
* fix(components): [global-config]

* Fix size injection for global components.

* chore: remove unused
2023-03-07 21:40:29 +08:00
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
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
04820a4dcf feat(components): [message-box] add append-to option (#10071) 2022-10-18 21:47:26 +08:00
zz
6eded0bae8 feat(components): [message-box] allow pass function to message option (#9405)
* feat(components): [message-box] allow pass function to `message` option

* chore: update docs

* chore: update docs
2022-09-04 20:38:18 +08:00
3a6fc23f49 fix(components): [message-box] fix Wrong type checking (#8399)
* fix(components): [message-box] fix Wrong type checking
2022-08-22 23:01:24 +08:00
7bb6b6d99f refactor(utils): drop off/on/once, use EventListener instead (#8960)
* refactor(utils): drop off/on/once, use EventListener instead

* refactor(utils): use useEventListener

* refactor(utils): use useEventListener

* style(components): [roving-focus-group] useEventListener  pass ref
2022-07-26 23:01:07 +08:00
5d88f628bb feat(components): [message-box] add autofocus attribute (#8445)
* feat(components): [message-box] add autofocus attribute

* fix: autofocus to be true by default

* docs: message-box autofocus default value

* chore: remove useless comment

* fix: focusStartRef value el
2022-06-26 04:32:05 +08:00
7097940f4a refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
9da7564856 fix(components): [message-box] the focus error when used ElMessageBox (#8336)
* fix: issue #8292 MessageBox Customization error focus

* perf: boxType exclude prompt
2022-06-19 12:02:10 +08:00
e1b88263e3 feat(components): [popper] focus trap and a11y (#7736)
* feat(components): [popper] fix focus traps

* feat(components): [popper] add focus trap tests

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-05-20 18:13:27 +08:00
9c51dab123 feat(components): [dialog] a11y and focus trap on dialog components (#7550)
* feat(components): [dialog] a11y and focus trap on dialog components

* feat(components): [dialog] remove default browser focus style

* feat(components): [dialog] clean up async and comment
2022-05-10 17:58:18 +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
de0ee53cf0 test(components): switch all components to vitest (#7205)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-04-19 12:46:57 +08:00
317d2d2a45 chore: fix lint issue (#7130) 2022-04-12 22:20:21 +08:00
f333ab898b refactor(components): [message-box] use useNamespace (#5721) 2022-04-12 21:36:24 +08:00
184facdb4c chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
bbcd54ce7f fix(components): [message-box] textarea can not use multiline text (#6774)
fix: #6765
2022-03-23 18:15:10 +08:00
5d85fba20c chore: self closing vue tag (#6603) 2022-03-13 16:16:11 -04:00
b8c38a9fe5 chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
11d3db586c feat(components): [el-messagebox] add context for message box (#6379)
- Add context for message box
- Update documentation based on changes
2022-03-05 19:40:35 +08:00
56a5ef5fb1 fix(components): [message-box]add type declaration of button-size (#6344)
Co-authored-by: Wiens <Huangwenxu@yimian.com.cn>
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-01 23:14:16 +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
fb50b4ff8d fix(components): [Dialog & MessageBox] support draggable (#5369)
* feat: add use-draggable

* feat: msgbox add draggable

* feat: update

* feat: update

* feat: update

* feat: update

* feat: update

* feat: update
2022-02-03 21:04:25 +08:00
46b2d7099b fix(components): [el-message-box] add default value to button-size (#5620)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-01-25 20:59:57 +08:00