Commit Graph

73 Commits

Author SHA1 Message Date
Tadas 4b479db61d
fix(transition): reflow before leave-active class after leave-from (#12288)
re-fix #2593
2024-11-15 21:36:21 +08:00
Alex Liu f927a4ae6f
fix(transition): respect `duration` setting even when it is `0` (#11967) 2024-09-20 16:47:01 +08:00
edison 7571f20bc3
fix(TransitionGroup): not warn unkeyed text children with whitespece preserve (#11888)
close #11885
2024-09-13 18:37:42 +08:00
Evan You 40193696b3
chore(build): use /*@__PURE__*/ annotation consistently 2024-09-04 20:24:33 +08:00
Evan You 4eee630b31
fix(build): improve built-in components treeshakability 2024-09-04 20:22:33 +08:00
Evan You ac9e7e8bfa
test: adjust coverage config, use v8 coverage 2024-08-29 10:41:29 +08:00
Kevin Deng 三咲智子 928af5fe2f
refactor(types): enable `isolatedDeclarations` (#11178) 2024-08-08 23:05:21 +08:00
Vadim Kruglov 65109a70f1
fix(transition): transition is breaking/flickering when enter is canceled (#10688)
Co-authored-by: Vadim Kruglov <vadim.kruglov@libertexgroup.com>
2024-04-22 15:10:08 +08:00
edison 140a7681cc
fix(TransitionGroup): avoid set transition hooks for comment nodes and text nodes (#9421)
close #4621
close #4622
close #5153
close #5168
close #7898
close #9067
2024-04-14 23:16:01 +08:00
三咲智子 Kevin Deng bfe6b459d3
style: update format & lint config (#9162)
Co-authored-by: 丶远方 <yangpanteng@gmail.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Guo Xingjun <99574369+Plumbiu@users.noreply.github.com>
2023-12-26 19:39:47 +08:00
丶远方 2ffe3d5b3e
refactor: use symbol for private properties (#8681) 2023-08-22 16:57:15 +08:00
Evan You 96c76facb7 fix(transition): handle possible auto value for transition/animation durations
close #8409
2023-06-14 12:12:22 +08:00
Evan You 3a6f5eb0f7 fix(build): ensure BaseTransition functions can be tree-shaken 2023-02-02 21:38:57 +08:00
René Koller efe2efd210
fix(compat): fix custom transition classes in compat mode (#7435)
fix #6253
2023-02-01 03:21:50 -05:00
Evan You ce363e55a8 chore: fix assertNumber for undefined value 2022-11-14 16:57:44 +08:00
Evan You 7d0c63ff43 fix(custom-elements): use strict number casting
close #4946
close #2598
close #2604

This commit also refactors internal usage of previous loose
implementation of `toNumber` to the stricter version where applicable.
Use of `looseToNumber` is preserved for `v-model.number` modifier to
ensure backwards compatibility and consistency with Vue 2 behavior.
2022-11-14 16:20:12 +08:00
webfansplz 183e4e6152
refactor(types): use template literal types insteads of any (#4166) 2022-10-26 04:31:09 -04:00
edison dddbd96dfe
fix(transition): fix cancel leave regression (#5974)
fix #5973
2022-05-22 20:02:15 -04:00
Evan You 59cf2958e7 fix(transition): handle edge case of cancel leave before next frame
fix #4462
2022-05-12 15:39:34 +08:00
Che Guevara 595a93715b
refactor(types): use `DOMRect` instead of the `Position` type (#5012) 2021-12-05 23:19:47 -05:00
Evan You 47f488350c chore: run updated prettier 2021-07-19 18:24:18 -04:00
Evan You 071986a2c6 fix(transition): fix higher order transition components with merged listeners
fix #3227
2021-05-28 15:42:08 -04:00
Evan You c55f3ed0e8 wip: fix render fn compat detection 2021-04-11 11:15:40 -04:00
Evan You a2f441dc0e wip: refactor compat check utils 2021-04-09 23:51:50 -04:00
Evan You 7a25cbb7a7 wip: fix compat utils usage 2021-04-09 23:21:54 -04:00
Evan You cf6bcdf895 wip: transition group root compat 2021-04-07 16:19:25 -04:00
Evan You 9828ef0845 wip: transition class compat 2021-04-07 16:19:24 -04:00
Evan You cbaa380506 fix(transition): ensure manual style manipulation in transition leave hooks work
ref #2720
2020-12-03 16:10:22 -05:00
luwuer 3f8f9b67b3
fix(transition): ensure styles from *-leave-active trigger transition (#2716)
fix #2712
2020-12-03 10:37:47 -05:00
luwuer e2618a632d
fix(transition): respect rules in *-leave-from transition class (#2597)
fix #2593
2020-12-02 14:41:20 -05:00
Evan You eaf8a67c72 fix(transition): avoid invoking stale transition end callbacks
fix #2482
2020-12-02 12:15:57 -05:00
Evan You f28ca55692 fix(runtime-dom): use correct import source 2020-11-03 09:54:22 -05:00
Evan You ad199e1a25 fix(build): make transition tree-shakeable again 2020-07-20 16:17:14 -04:00
Evan You 7886c267f7 refactor: remove unused inheritRef option
This is technically a breaking change, but the option was not meant for public use
and ended up not solving the problem it was introduced for.
2020-07-01 15:40:11 -04:00
Evan You 86d3972855 fix(transition-group): vue 2 compatible handling of transition-group w/ multiple v-for children
fix #1126
2020-06-29 18:16:10 -04:00
Evan You d32aed0906 chore: add display names for dom transition components 2020-06-29 18:16:09 -04:00
underfin d4cd12887e
fix(BaseTransition): collect correct children with slot passthrough in `Transition` (#1456)
fix #1455
2020-06-29 12:04:28 -04:00
Evan You bf84ac8396 fix(transition): enter/leave hook timing consistency with v2
close #1145
2020-06-25 17:56:36 -04:00
underfin 299fda46a1
test(TransitionGroup): test for `TransitionGroup` (#1269) 2020-06-25 16:38:22 -04:00
Evan You 7ae70ea44c fix(transition): fix appear hooks handling 2020-06-25 16:02:28 -04:00
Evan You acd3156d2c fix(transition): fix dom transition cancel hooks not being called 2020-06-25 15:03:58 -04:00
Evan You 80c868aefe workflow: setup eslint for prohibited syntax and globals
fix #1285
2020-06-10 16:54:23 -04:00
Evan You 38f2d23a60 feat(runtime-core): add inheritRef option + make <transition> & <keep-alive> inherit refs 2020-05-22 10:26:17 -04:00
underfin d73a508a73
fix(Transition): fix validate duration (#1188) 2020-05-18 10:09:10 -04:00
underfin 697de07e63
fix(transition): should reset enter class after appear (#1152) 2020-05-11 12:30:10 -04:00
Evan You f05aeea7ae fix(transitionGroup): fix transition children resolving condition 2020-05-04 17:09:19 -04:00
underfin 26a50ce67f
fix(transitionGroup): inner children should skip comment node (#1105) 2020-05-04 10:41:48 -04:00
underfin 8ed3455251
fix(transition-group): should collect raw children with Fragment (#1046)
fix #1045
2020-04-30 15:06:50 -04:00
Evan You 0869443d01 chore: import toRaw from @vue/reactivity 2020-04-14 09:59:02 -04:00
Evan You 42278317e1 fix(transition): should ship props declarations in production 2020-04-07 17:19:37 -04:00