Commit Graph

2751 Commits

Author SHA1 Message Date
Evan You
9152a89016 fix(v-on): capitalize dynamic event names 2020-07-13 17:36:46 -04:00
Evan You
576344d2c3 refactor(compiler): extract isStaticExp util 2020-07-13 16:48:24 -04:00
Evan You
8b320cc12f fix(runtime-dom/v-on): only block event handlers based on attach timestamp
fix #1565
2020-07-13 14:50:11 -04:00
Evan You
6b63ba2f45 fix(compiler-dom): fix v-on .left .right modifier handling 2020-07-13 14:50:11 -04:00
dependabot-preview[bot]
d1586f420a
build(deps-dev): bump @rollup/plugin-node-resolve from 8.1.0 to 8.4.0 (#1572) 2020-07-13 16:45:46 +00:00
Pick
09f61b4049
types(runtime-core): adjust Renderer's type declaration (#1566) 2020-07-13 12:44:37 -04:00
ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎
836b273f5f
chore: format changelog (#1549) [ci skip] 2020-07-13 12:43:03 -04:00
Evan You
65beba98fe fix(slots): differentiate dynamic/static compiled slots
fix #1557
2020-07-13 12:36:41 -04:00
Evan You
ba3b3cdda9 fix(runtime-core/emits): merge emits options from mixins/extends
fix #1562
2020-07-13 11:55:46 -04:00
dependabot-preview[bot]
c2d3da9dc4
build(deps-dev): bump @rollup/plugin-commonjs from 13.0.0 to 13.0.1 (#1573) 2020-07-13 08:34:09 +00:00
Evan You
b9595e64cf feat: ssr support for <style vars> 2020-07-12 18:04:09 -04:00
Evan You
b6cdd5621e wip: template binding optimization 2020-07-10 22:12:25 -04:00
Evan You
b51b79f5c4 refactor: rename optimizeBindings -> optimizeImports 2020-07-10 20:43:52 -04:00
Evan You
5f271515cf refactor: shorten scoped css var / animation prefix 2020-07-10 18:47:31 -04:00
Evan You
73807aeaf7 types: fix jsx type collision with generated type after concatenation 2020-07-10 18:04:44 -04:00
Evan You
4c43d4e5b9 feat(compiler-sfc): <script setup> support (experimental)
This is the last commit for the feature which adds async/await detection.
2020-07-10 18:00:13 -04:00
Evan You
73bfce3706 refactor: only rewrite css varaiable in <style scoped> when vars is present 2020-07-10 17:10:48 -04:00
Evan You
f3cc41f0c8 feat(compiler-sfc): allow using :deep, :global & :slotted for short in <style scoped> 2020-07-10 16:47:36 -04:00
Evan You
bd5c3b96be feat(compiler-sfc): <style vars> CSS variable injection 2020-07-10 16:30:58 -04:00
Evan You
6647e34ce7 refactor: adjust useCSSVars scoped usage 2020-07-10 10:19:16 -04:00
Evan You
879ea17985 test: tests for useCSSVars 2020-07-10 09:44:00 -04:00
Evan You
bb47510aae wip: fix tests 2020-07-09 23:06:11 -04:00
Evan You
b4f7ab45ea refactor: simplify sfc script transform usage 2020-07-09 18:18:46 -04:00
Evan You
9f706a9f5e feat(runtime-dom): useCssVars 2020-07-09 16:25:29 -04:00
Evan You
18c537d3c2 wip: test for runtime props/emits extraction 2020-07-09 12:17:28 -04:00
Evan You
2c3cdab93d wip: generate runtime prop type checks in dev 2020-07-09 12:17:28 -04:00
Evan You
3e1cdba9db wip: tests for compileScriptSetup 2020-07-09 12:17:28 -04:00
Evan You
e4df2d7749 wip: export { x as default } handling 2020-07-09 12:17:28 -04:00
Evan You
a44d53003e wip: move type declarations out of setup 2020-07-09 12:17:28 -04:00
Evan You
c0d86070fd wip: extract runtime props/emits from type declarations 2020-07-09 12:17:28 -04:00
Evan You
608885350b wip: compileScript typed signature generation 2020-07-09 12:17:28 -04:00
Evan You
a47478caf4 wip: compileScriptSetup full js support 2020-07-09 12:17:28 -04:00
Evan You
6b32d16471 chore(template-explorer): tweak theme 2020-07-09 12:17:28 -04:00
Evan You
1359cc3a28 wip: compileScriptSetup 2020-07-09 12:17:28 -04:00
Evan You
1ad3f975ed wip: parser support for script setup 2020-07-09 12:17:28 -04:00
dependabot-preview[bot]
23b0d5adc0
build(deps-dev): bump @microsoft/api-extractor from 7.9.1 to 7.9.2 (#1551) 2020-07-09 08:48:26 +00:00
dependabot-preview[bot]
3c35937308
build(deps-dev): bump lodash from 4.17.15 to 4.17.19 (#1550) 2020-07-09 08:46:51 +00:00
Evan You
20df2f3817 release: v3.0.0-beta.20 2020-07-08 12:45:30 -04:00
Evan You
5e52f4e4d7 fix(compiler-dom): should ignore and warn side effect tags like script and style
This keeps behavior consistency with v2.
2020-07-08 12:32:07 -04:00
Evan You
903e8f697e fix(runtime-core): should allow v-model listeners to fallthrough, but ignore for warning
fix #1543
2020-07-08 11:56:47 -04:00
Carlos Rodrigues
1e90605c15
types(runtime-core): provide valid type for default $emit (#1498) 2020-07-08 11:51:03 -04:00
dependabot-preview[bot]
f0394e2a61
build(deps-dev): bump rollup from 2.20.0 to 2.21.0 (#1545)
Bumps [rollup](https://github.com/rollup/rollup) from 2.20.0 to 2.21.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.20.0...v2.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-08 11:49:32 -04:00
meteorlxy
220db9bcda
feat(types): expose WritableComputedRef (#1500) 2020-07-08 11:49:07 -04:00
Evan You
87c2a1e50f fix(compiler-core/v-on): bail caching for member expression handlers on components
to preserve correct arity when it is passed down.
fix #1541
2020-07-08 11:48:12 -04:00
Evan You
00f6031fbf test: assert vnode invalid key warning for NaN 2020-07-08 11:48:12 -04:00
Evan You
4b5ce8b456 refactor(compiler-core): remove unnecessary arg in cached handler codegen 2020-07-08 11:48:12 -04:00
Felix Rilling
829b35e426
chore: typo fixes (#1546)
* chore: fix typos in comments/JSDoc.

* chore: fix typo in internal function name.

* chore: fix typos in test comments/descriptions/variable names.
2020-07-08 12:32:42 +02:00
dependabot-preview[bot]
9b04ea3324
build(deps-dev): bump execa from 4.0.2 to 4.0.3 (#1544) 2020-07-08 08:18:05 +00:00
Evan You
fe9e227ae4 types: adjust resolveDynamicComponent return type 2020-07-07 12:43:05 -04:00
Evan You
d5ab70ba66 release: v3.0.0-beta.19 2020-07-07 10:04:31 -04:00