9ac2da6c07
feat(components): add isDragging to useDraggable for dialog/message-box ( #21703 )
...
* feat(components): add isDragging to useDraggable for dialog/message-box
* refactor: perf code
2025-08-16 11:09:07 +02:00
ff525392ac
feat(components): [config-provider] support dialog
config ( #21684 )
...
* feat(components): [config-provider] support `dialog` config
* chore: remove comment
* fix: `props` take precedence over `globalConfig`
* fix: dialog-content use globalConfig
* revert: undo globalConfig & bump
* docs: supplement tag
---------
Co-authored-by: zhixiaotong <947803089@qq.com>
2025-08-10 14:26:21 +02:00
3182010562
feat(components): [dialog] add modal-penetrable
prop ( #21511 )
...
* feat(components): [dialog] add `modal-penetrable` prop
* refactor(components): [dialog] optimize code
* test(components): [dialog] update test
* test(components): [test] update test
2025-07-30 16:51:18 +08:00
39f439e436
feat(components): [dialog] add transition
prop ( #21479 )
...
* feat(components): [dialog] add `transition` prop
* fix: revert export
* chore: add test
* chore: remove useless mode
* refactor: use built-in utils & simpify code
* refactor: update use-dialog.ts
* refactor: update use-dialog.ts
* fix: add warn tip
* chore: change warn description
* refactor: remove classes & add doc tip
2025-07-24 11:47:40 +02:00
bc9a95d9ba
chore(components): fix typos ( #21473 )
2025-07-23 07:09:15 +08:00
c3711304e5
test(components): add close-on-press-escape
test case ( #21367 )
2025-07-16 09:10:46 +08:00
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
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 db0116a288299c507e3cfc4d7a22e2207265d920.
* Revert "chore: fix"
This reverts commit 69c82a90c01525e38180be4c21e8ef5602512318.
* chore: fix
* style: `pnpm lint:fix`
* fix: lint
* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
07a6613374
fix(components): [dialog] fix dialog zindex should update responsively ( #18520 )
...
Co-authored-by: btea <2356281422@qq.com>
2025-06-04 14:37:58 +08:00
9465d87212
fix(components): [dialog] fix draggable when window resize ( #20505 )
...
fix(components): [dialog] Fix draggable when window resize
closed #20500
2025-04-22 20:39:14 +08:00
5f519a6f25
refactor(components): unify append-to
prop type across multiple components ( #20501 )
...
* fix(components): [select] update `append-to` prop type
* fix(components): unify `append-to` prop type across multiple components
* docs: update `append-to` prop type
2025-04-22 09:29:19 +08:00
a846ad1d44
feat(components): [dialog] expose handleClose
( #20323 )
2025-04-02 09:55:33 +08:00
7be4a3765e
chore: emits smaller declaration files ( #20109 )
...
* Revert "fix(types): packing unexpected types (#19419 )"
This reverts commit 13506ffb814d2b1300bf57c06648b6b27281c7c5.
* 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
062ac99aec
fix(components): [dialog] fix scroll bar not resetting to top on reopen ( #19471 )
...
* fix(components): [dialog] Fix scroll bar not resetting to top on reopen
closed #19420
* fix(components): update
* fix(components): [dialog] update
---------
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-01-09 16:47:22 +08:00
5f72ca51cd
feat(components): [dialog/drawer] add custom sub classes ( #19099 )
...
* feat(components): [dialog/drawer] add custom sub classes
* docs(components): add custom classes for drawer/dialog slots
* docs(components): [dialog/drawer] keep same description
* test: add dialog/drawer sub classes
* refactor: sync typo docs with props
* chore: change release version
* chore: rename
* chore: fix doc
---------
Co-authored-by: btea <2356281422@qq.com>
2025-01-06 10:52:39 +08:00
c25026c542
chore(components): [dialog] add instance type ( #18127 )
...
refactor(components): [dialog] add instance type
2024-09-03 18:16:46 +08:00
6b7e204e5b
fix(components): [dialog] rename resetPostion to resetPosition ( #17900 )
...
* fix(components): [dialog] rename resetPostion to resetPosition
* chore: fix lint
* chore: reset CHANGELOG.en-US.md
---------
Co-authored-by: tolking <qw13131wang@gmail.com>
2024-08-21 22:34:12 +08:00
2d6c16fae9
fix(components): [dialog] error calling resetPostion before dialog is rendered ( #17855 )
...
fix: [Component][dialog]在dialog显示之前调用dialog.resetPostion()方法会抛异常 #17851
Co-authored-by: gao.dong <gao.dong@bestv.com.cn>
2024-08-13 10:06:38 +08:00
5973402fc0
fix(components): [dialog] appendTo type error ( #17814 )
...
closed #17810
2024-08-09 12:55:39 +08:00
79938178dd
build: use vue-tsc to generate dts ( #16111 )
...
* build: use vue-tsc to generate dts
* reduce inline type declaration
* fix: type checking failed
* apply suggestions from code review
* address PR comments
2024-08-07 12:01:46 +08:00
77920735cc
feat(hooks): use-draggable support resetPostion ( #17699 )
...
* feat(hooks): use-draggable support resetPostion
* Update docs/en-US/component/dialog.md
Co-authored-by: btea <2356281422@qq.com>
* fix: lint
---------
Co-authored-by: gao.dong <gao.dong@bestv.com.cn>
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-06 17:11:59 +08:00
270e1d01ba
fix(components): SSR hydration error caused by disabled prop of teleport ( #17551 )
...
* fix(components): sSR hydration error caused by disabled prop of teleport
* fix(components): [teleport] type error
* chore: type error
2024-08-04 13:50:09 +08:00
2564007850
refactor(components): optimize component boolean type ( #17622 )
...
* refactor(components): optimize component boolean type
* style(components): [overlay] fromat code
2024-07-25 14:17:23 +08:00
67cd7e95e6
feat(components): [dialog] Dialog can drag overflow the viewport ( #15643 )
...
* style(components): [dialog] Modify dialog style and docs
* chore: update
* feat(components): [dialog] add overflow prop
* feat(components): update
2024-01-25 15:03:34 +08:00
02090482ed
feat(components): [dialog] append dialog to any element ( #14317 )
...
* feat(components): [dialog] append dialog to any element
Add the ability to append dialog not just to body, but to any element
* fix(components): [dialog] fix appending to body when append-to is used
* docs(components): [dialog] add version to docs append-to attribute
2023-11-14 19:43:05 +08:00
b2e26e3828
fix(components): [dialog] consistent imports of lodash
2023-10-30 13:01:08 +08:00
fd5fc8e855
fix(components): [dialog] fix el-dialog z-index bug ( #14373 )
...
* Fix el-dialog z-index bug
* Update packages/components/dialog/src/use-dialog.ts
Co-authored-by: btea <2356281422@qq.com>
* chore: lint error
---------
Co-authored-by: qiang <qw13131wang@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2023-10-29 21:54:44 +08:00
268457135e
feat(components): added aria-level attributes for dialog and drawer headers; Fixed input-number's aria-valuenow being null ( #13822 )
...
* feat(components): [dialog] added dialog header aria-level attribute
To pass accessibility tests elements with role="heading" require aria-level
* feat(components): [drawer] added drawer header aria-level attribute
To pass accessibility tests elements with role="heading" require aria-level
* fix(components): [input-number] prevent aria-valuenow from being null
To pass accessibility tests aria-valuenow cannot be null
* fix(components): [input-number] fix number input when 0 and update test
Fixes a bug where number input's aria-valuenow will be set to '' when input's value is 0. Also
updates a failing test
* refactor(components): [dialog] change default aria-level to 2
* docs(components): dialog and drawer header aria-level docs update
* docs(components): change headerAriaLevel type to string
* docs(components): kebab-case for docs
2023-08-24 20:14:59 +08:00
6d4b81e290
test(components): add test case for delay of dialog ( #13773 )
2023-08-10 22:09:19 +08:00
77125639d3
docs(components): [dialog] use new display tag ( #13499 )
...
* docs(components): [dialog] use new display tag
* chore(components): [dialog] remove the incorrect deprecated comment
2023-07-20 20:09:07 +09:00
d4d24eb9d7
docs(components): [dialog] add deprecated describe ( #13143 )
2023-06-08 21:46:58 +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
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
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
715384bf4e
fix(components): [dialog] click allow focus out ( #10160 )
...
Co-authored-by: OpenGraphica <opengraphica@gmail.com>
2022-10-21 08:50:41 +08:00
a833206e5b
fix(components): [dialog] fix document click event invalid ( #6711 )
2022-09-22 12:37:04 +08:00
aa735d1f8e
fix(components): [dialog] bind $attrs
( #9455 )
2022-08-29 12:03:40 +08:00
adfe2444db
feat(components): [dialog] add align center prop ( #8947 )
2022-08-29 02:58:54 +00:00
f5fa7e741f
refactor(utils): refactor iconPropType
( #9502 )
2022-08-28 13:20:07 +08:00
6aa151fc2a
fix(components): [dialog] should emit open event after nextTick ( #9209 )
...
* fix(components): [dialog] should emit open event after nextTick
* test: update drawer unit test
2022-08-16 22:04:00 +08:00
d3291e3fc4
fix(components): [dialog] fix type error ( #8898 )
...
* fix(components): [dialog] fix type error
* fix(components): [dialog] use const assertion
2022-07-20 21:46:18 +08:00
7ad851241c
refactor(components): [dialog] use JSX in Unit test ( #8270 )
...
* refactor(components): [dialog] use JSX in Unit test
* fix(components): [dialog] fix type error
2022-07-10 19:40:10 +09:00
a4e6105827
fix(components): [dialog] make modelValue be an optional property ( #8598 )
2022-07-03 16:24:23 +08:00
e9b50baf7d
fix(components): [dialog] remove not used style props ( #8325 )
2022-07-03 09:37:28 +08:00
7097940f4a
refactor: add ts-nocheck and check all files ( #8401 )
2022-06-22 08:04:42 +08:00
4ac10cfb97
refactor(components): [dialog] using addUnit in the use-dialog ( #8304 )
2022-06-17 23:25:25 +08:00
769148b780
fix(components): [dialog] set destory-on-close drag position abnormal ( #7822 )
2022-05-24 13:44:10 +08:00
10a64b65ff
feat(Dialog): expose dialogContentRef ( #7633 )
2022-05-22 08:17:05 +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
c3486bcdce
fix(components): [dialog/drawer] header slot
...
- Fix header slot rendering for both dialog and drawer.
- Change the deprecation for `title` slot to **3.0.0**.
2022-05-20 17:31:11 +08:00