Commit Graph

3577 Commits

Author SHA1 Message Date
Evan You
c1cd42e627 fix(runtime-core): fix v-on object kebab-case event emit matching
fix #3527
2021-04-01 19:47:58 -04:00
HcySunYang
995d76bd12
fix(runtime-core): fix render function + optimized slot edge case (#3523)
fix #2893

Manually rendering the optimized slots should allow subsequent updates to exit the optimization mode correctly
2021-04-01 19:28:58 -04:00
Cédric Exbrayat
c90fb945f4
refactor(sfc-playground): modes declaration (#3522) 2021-04-01 18:37:50 -04:00
Evan You
7f7dcc9f7d fix(compiler-sfc): fix wrong scopeId for nested <script setup> components 2021-04-01 18:11:04 -04:00
edison
8c57b9131d
chore(types): use NormalizedStyle for consistency (#2590) 2021-04-01 11:29:24 +08:00
Evan You
4dc457dae5 workflow(sfc-playground): make it work in safari and ff 2021-03-31 15:23:01 -04:00
Evan You
5ee7e6bc70 workflow(sfc-playground): support import map 2021-03-31 13:31:00 -04:00
Evan You
e097bd4dd5 chore(sfc-playground): use svg logo 2021-03-31 12:36:45 -04:00
Evan You
7bc5fd9a04 chore(sfc-playground): teardown preview update watcher 2021-03-31 12:22:25 -04:00
Evan You
ebf396251c chore(sfc-playground): responsive 2021-03-30 22:10:18 -04:00
Evan You
9d39cd46e9 workflow(sfc-playground): support selecting versions 2021-03-30 22:00:46 -04:00
Evan You
ad6c124e6c release: v3.0.10 2021-03-30 20:05:45 -04:00
Evan You
9cf75258c8 fix(runtime-core): fix dev fragment root flag check 2021-03-30 19:55:05 -04:00
Evan You
66b94dc5e1 chore: use alias instead of module field
...before we figure out what is the ideal behavior when adding exports field
2021-03-30 19:51:55 -04:00
Evan You
58e2376c4d refactor(ssr): adjust ssr scope id logic for client-compiled render functions 2021-03-30 19:30:05 -04:00
Evan You
5e54081d5b fix(ssr): fix scopeId inheritance across mixed parent chain
fix #3513
2021-03-30 18:39:42 -04:00
Evan You
6cab91dfe8 workflow(sfc-playground): clear errors in edge cases 2021-03-30 12:49:50 -04:00
Evan You
b6298dbd01 workflow(sfc-playground): warn on <style module> usage 2021-03-30 12:39:08 -04:00
Evan You
c771b1dc80 workflow(sfc-playground): add ssr compile output 2021-03-30 12:36:59 -04:00
edison
2e50acfbb8
perf(runtime-core): optimize the performance of getTypeIndex (#3206) 2021-03-30 10:53:14 -04:00
Evan You
c8df6185fe chore: bump vite 2021-03-29 21:44:12 -04:00
Evan You
b39208cf06 perf(compiler-sfc): skip srcset transform if all candidates are external 2021-03-29 19:15:57 -04:00
HcySunYang
33ba0e3229
fix(runtime-dom): fix event listeners call in firefox <= 53 (#3501)
fix #3485
2021-03-29 19:15:12 -04:00
Jonas Kruckenberg
42b68c773d
fix(compiler-sfc): fix missing whitespace issue in srcsets (#3132)
fix #3069
2021-03-29 18:28:22 -04:00
Calvin Liang
0fe567abfc
fix(compiler-core): properly transform replaced nodes (#2927) 2021-03-29 18:08:10 -04:00
HcySunYang
5db2b141dc
fix(types): add a type-only differentiator to assist Mixin's type infer (#3481)
fix #3468
2021-03-29 18:07:36 -04:00
liaoliao666
c61e767422
fix(reactivity): should not trigger when setting value to same proxy (#2904) 2021-03-29 17:52:57 -04:00
Kael
4f26835dac
fix(types/tsx): make JSX.Element extend VNode (#3171) 2021-03-29 17:38:25 -04:00
dependabot-preview[bot]
d09045282c build(deps): bump @babel/types from 7.13.12 to 7.13.13
Bumps [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types) from 7.13.12 to 7.13.13.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.13/packages/babel-types)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 20:41:27 +00:00
Evan You
bb8cdcad9f fix(compiler-sfc): support proper type arguments for defineEmit helper
fix #2874
2021-03-29 16:38:07 -04:00
Evan You
2793bc0918 chore(sfc-playground): use type defineEmit 2021-03-29 16:36:40 -04:00
Evan You
f5827fdf78 fix(compiler-sfc): do not resolve assets from setup bindings
when not using script setup

fix #3270, fix #3275
2021-03-29 16:11:38 -04:00
Evan You
4d9f9fdf9d workflow(sfc-playground): make warnings dismissable 2021-03-29 16:11:38 -04:00
Evan You
7ab519cc96 workflow(sfc-playground): pass along analyzed bindings when compiling template 2021-03-29 16:11:38 -04:00
Evan You
4d2853ef57 workflow(sfc-playground): display analyzed bindings in js output 2021-03-29 16:11:38 -04:00
HcySunYang
555b016dcb
fix(compiler-core): allow PascalCase dynamic component tag usage (#3508)
fix #3507
2021-03-29 15:18:25 -04:00
HcySunYang
3736496006
fix(runtime-core): avoid unmount teleport's children multiple times (#3499)
fix #3497
2021-03-29 15:15:08 -04:00
Evan You
117a61bc17 chore(sfc-playground): fix clipboard usage 2021-03-29 10:54:32 -04:00
Evan You
24a90abeda chore(sfc-playground): logo, responsive 2021-03-29 10:33:19 -04:00
dependabot-preview[bot]
4a24a6b0a2 build(deps-dev): bump @rollup/plugin-replace from 2.4.1 to 2.4.2
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/replace-v2.4.1...replace-v2.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 06:55:45 +00:00
Evan You
3aaa53748b workflow(sfc-playground): tweaks and commit links 2021-03-29 02:07:04 -04:00
Evan You
69b4727204 fix(compiler-sfc): fix function scope variable declaration marking 2021-03-29 00:32:46 -04:00
Evan You
bb937e9033 workflow(sfc-playground): attach filename 2021-03-29 00:32:28 -04:00
Evan You
ce5e0b67a9 workflow(sfc-playground): fix download 2021-03-28 23:48:01 -04:00
Evan You
9613969ffc workflow(sfc-playground): share and download buttons 2021-03-28 23:36:36 -04:00
Evan You
aa8bf1b7a3 workflow(sfc-playground): improve module rewrite 2021-03-28 21:55:22 -04:00
Evan You
3ac661b896 chore: force refresh playground editor on startup 2021-03-28 18:50:12 -04:00
Evan You
d1bf35c8b8 workflow(sfc-playground): support multiple files 2021-03-28 18:41:33 -04:00
Evan You
2e3984fd5b chore: default code for sfc playground 2021-03-28 02:24:25 -04:00
Evan You
94e6461808 chore: add sfc playground to coverage exclude list 2021-03-28 02:20:11 -04:00