丶远方
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
ysj16
0dba5d44e6
fix(TransitionGroup): ignore comment node when warn (fix#869) ( #875 )
2020-03-24 12:09:42 -04:00
Evan You
0dc2478569
fix(transition): fix duration prop validation
...
fix #868
2020-03-23 11:13:37 -04:00
Evan You
b8c1be18f3
refactor(types): use stricter settings
...
fix #847
2020-03-23 11:08:22 -04:00
Jonas
5495c70c4a
fix(transition-group): handle multiple move-classes ( #679 )
...
fix #678
2020-02-10 09:36:19 -05:00
yang
98d50d874d
fix(transition): handle multiple transition classes ( #638 ) ( #645 )
...
fix #638
2020-01-20 12:44:01 -05:00
hujiulong
7522d4d61a
types(transition): props should be declared by generic ( #514 )
2019-12-03 10:12:54 -05:00
Evan You
22957436e8
chore: default transition css prop to true
2019-11-29 17:38:29 -05:00
Evan You
6d254da532
feat(transition): add runtime props validation for TransitionGroup
2019-11-29 16:47:41 -05:00
Evan You
0e3e07079a
feat(transition): properly handle transition & transition-group in compiler
2019-11-29 12:42:04 -05:00
Evan You
800b0f0e7a
feat(transition): TransitionGroup
2019-11-28 18:41:01 -05:00