Commit Graph

962 Commits

Author SHA1 Message Date
fisker Cheung b87c05159b style(runtime-core): remove a unnecessary continue (#505) 2019-11-28 10:45:48 -05:00
fisker Cheung 92b02dc48f chore: comment typo (#506) 2019-11-28 10:01:53 +01:00
Evan You 32602ccee1 test(transition): in-out, appear & persisted 2019-11-27 17:54:41 -05:00
Evan You 7aac3418c0 test(transition): test for mode: out-in 2019-11-27 15:25:18 -05:00
Evan You 7209fb66c2 test: wip more tests for BaseTransition 2019-11-27 12:17:16 -05:00
Gabriel Loiácono fbcc47841b fix(runtime-core): fix error when passed plugin is undefined (#502) 2019-11-27 09:18:03 -05:00
Gabriel Loiácono d4f4c7c4d4 fix(runtime-core): renderList with default value when source is undefined (#498) 2019-11-26 21:00:32 -05:00
Evan You bb39910e8e test: wip tests for BaseTransition 2019-11-26 18:07:05 -05:00
Evan You 460b053f74 test: improve events module test stability 2019-11-26 18:06:55 -05:00
Evan You 43097987cf feat(core): respect $stable slots flag per RFC 2019-11-26 10:03:36 -05:00
Gabriel Loiácono 009dc80674 perf(compiler-core): set simple expression outside map (#485) 2019-11-26 09:02:22 -05:00
JiZhi fc28a677bc chore: fix warn typo (#496) 2019-11-26 09:27:51 +01:00
Rustin d5f4cc9c42 chore: fix comment typo (#499)
* chore(typo): fix comment typo

* chore(typo): fix comment typo of KeepAlive
2019-11-26 09:26:03 +01:00
Evan You c6fb506fc0 feat(transition): compat with keep-alive 2019-11-25 17:35:15 -05:00
Evan You 16ea2993d6 test: fix resolveDyanmicComponent test 2019-11-25 12:51:57 -05:00
Evan You 08a3d95e52 fix: resolveDynamicComponent should use context instance 2019-11-25 11:41:28 -05:00
Evan You 01eb3c12e9 feat(transition): warn non-animatable component root node 2019-11-25 11:41:28 -05:00
Gabriel Loiácono be4c22e423 chore(compiler-dom): changed function to arrow function (#487) 2019-11-24 22:11:15 -05:00
likui 00857ac816 feat(core): support v-show directive (#310) 2019-11-24 22:04:26 -05:00
Evan You 1765985ec2 feat(transition): support in templates 2019-11-24 18:37:59 -05:00
Evan You a834807942 refactor: rename transition components 2019-11-24 16:00:46 -05:00
Evan You bdafa1dfc4 refactor: adjust warning for fn props and component with many props 2019-11-23 22:17:46 -05:00
Gabriel Loiácono f399b5476f refactor(transition): avoid repeated code (#483) 2019-11-23 00:02:39 -05:00
Evan You 55b7bf991d fix(transition): handle errors in CSSTransition onEnter & onLeave 2019-11-22 23:42:04 -05:00
Evan You a6aa64b0cc refactor: tweaks 2019-11-22 23:32:53 -05:00
Evan You 1b8236615e feat(transition): handle persisted mode 2019-11-22 23:21:53 -05:00
Evan You 24b4120c21 types: fix dts 2019-11-22 18:09:26 -05:00
Evan You 5c691aebfd feat(transition): handle cancel hooks 2019-11-22 17:10:17 -05:00
Evan You 231b940103 chore: remove unnecessary type annotations 2019-11-22 15:35:41 -05:00
Evan You be9b4b2527 feat(transition): handle transition classes when patching classes 2019-11-22 15:35:41 -05:00
Evan You 7859e4bce3 feat(transition): CSS transition for runtime-dom 2019-11-22 15:35:41 -05:00
ztplz 2d40466d35 chore: remove unused parameter type definitions (#481) 2019-11-22 15:35:58 -05:00
Evan You 21c41b3228 types: fix Transition exported typing 2019-11-21 10:21:09 -05:00
Evan You 79f23a2f77 feat(transition): support component child 2019-11-20 22:46:32 -05:00
Evan You 93561b080e feat(transition): base transition component 2019-11-20 22:46:32 -05:00
Evan You 061a7576de build: mark maxCRNameLength computation as pure 2019-11-19 19:04:59 -05:00
likui 1efb35e324 fix(compiler-sfc): should ignore nodes with no children (#464) 2019-11-19 09:10:59 -05:00
QuincyChen 4e538ac465 feat(compiler-sfc): add cache for parsing sfc (#453) 2019-11-18 13:29:04 -05:00
Evan You 9e16ea3d30 test: update snapshots 2019-11-17 21:29:12 -05:00
Evan You e89d009937 fix(compiler): include createTextVNode helper for hoisted static content (fix #465) 2019-11-17 21:26:25 -05:00
JiZhi f838715b7c test(runtime-core): add tests for scheduler (#462) 2019-11-16 16:32:06 -05:00
Evan You 1de072567d perf(compiler): pre-compute maxCRNameLength for perf 2019-11-16 16:19:47 -05:00
Gabriel Loiácono 2780e0df4c perf(compiler-core): add perf optimization to parseText (#458) 2019-11-15 17:48:01 -05:00
Evan You 353b06df77 perf(compiler): should only perform assertions during tests
Compiler assertions are made to ensure implementation correctness,
but they have performance costs that should not affect users
during development.
2019-11-15 17:29:08 -05:00
Evan You 51d57b4566 perf(compiler): minor perf tweaks 2019-11-15 16:47:55 -05:00
Evan You 4fef8f342a perf(compiler): improve perf of parseTextData 2019-11-15 16:17:52 -05:00
Gabriel Loiácono 96623d0d52 perf(compiler-dom): generate modifiers in a function (#459) 2019-11-15 15:37:02 -05:00
JiZhi aa6c67ee2e fix(scheduler): warn recursive updates in postFlushCbs as well (#456) 2019-11-14 12:06:23 -05:00
Evan You 4b2610c468 fix: handle empty lines in codeframe 2019-11-14 11:50:16 -05:00
likui 7f6abda6dd feat(compiler-sfc): warn duplicate block (#451) 2019-11-14 11:50:13 -05:00