Evan You
c5c354d593
feat: new scoped slot syntax implementation update per rfc
6 years ago
Evan You
aef5b4e478
fix(ssr): should render 0 as valid value for style property with unit
6 years ago
Evan You
584e89da4a
feat: support slot-props and its shorthand
See https://github.com/vuejs/vue/issues/9306 for more details.
6 years ago
Evan You
4f61d5b73b
chore: fix flow
6 years ago
Evan You
bc97ff956e
chore: reset CommonJS dist files overwritten by merge
6 years ago
Evan You
794ad0dae3
refactor: additional tweaks after revert
6 years ago
Evan You
6a2994e8f0
revert: feat: support scoped-slot usage with $slot
This reverts commit 7988a5541c
.
6 years ago
Evan You
6fe07ebf5a
chore: merge branch '2.6' into dev
6 years ago
Evan You
99343f9b48
build: release 2.5.22
6 years ago
Evan You
06dbb2ab2e
build: build 2.5.22
6 years ago
Evan You
7ac8f63a05
chore: remove residual files from dist
6 years ago
Evan You
0d2e9c46f1
fix(core): dedupe lifecycle hooks during options merge
The fix landed in #9199 causes further extended constructors used as
mixins to drop options from its inheritance chain, so a different fix
is needed.
6 years ago
Evan You
edf7df0c83
fix(core): dedupe lifecycle hooks during options merge
The fix landed in #9199 causes further extended constructors used as
mixins to drop options from its inheritance chain, so a different fix
is needed.
6 years ago
hikerpig
743edacdb6
fix(core): fix merged twice bug when passing extended constructor to mixins ( #9199 )
fix #9198
6 years ago
Adrien Baron
d21e931396
fix(async component): memory leak after synchronous async loading ( #9275 )
fix #9229
6 years ago
Evan You
17d8bcb60e
fix(ssr): should not render invalid numeric style values
Reverts part of 7d9cfebe - browsers only auto append units to
numbers when in quirksmode, so in standard mode, numbers set to
style properties that require units are invalid and should not
be rendered.
6 years ago
Evan You
7d9cfebe39
fix(ssr): properly handle invalid and numeric style properties
Ignores values that are not string or numbers, and append px as default
unit to appropriate properties.
There will still be certain cases where the user simply provides an
invalid string value to a property which will be too costly to detect
(it's possible by using the `cssstyle` package, but very heavy). But
in such cases the user would already notice the style is not working
on the client, so it's not really worth it for the perf implications.
fix #9231
6 years ago
Evan You
fe2b27ffb9
types: typing for Vue.observable
6 years ago
Evan You
142cf6c489
types: update typing for vue-template-compiler
6 years ago
Evan You
a4ed58c076
feat(compiler): expose generateCodeFrame method
6 years ago
hikerpig
537161779e
fix(core): fix merged twice bug when passing extended constructor to mixins ( #9199 )
fix #9198
6 years ago
Evan You
c50bbde41c
feat: add Vue.observable() for explicitly creating observable objects
6 years ago
Evan You
ce7ca7bde9
refactor: should also fire handler if timestamp was same
6 years ago
Evan You
3a1a935960
refactor: do not override scoped slots when exposing normal slots
6 years ago
Evan You
3504d7f6d6
refactor: better solution for async edge case.
Revert event delegation related changes.
6 years ago
Evan You
90fe749091
build: trigger regression tests from 2.6 feature branch
6 years ago
Evan You
b32c4b6935
fix: ensure proxied normal slot uses correct key
6 years ago
Evan You
d855027741
test: more test cases for $slot usage detection
6 years ago
Evan You
1e5174d213
test: add more test case for watch option
6 years ago
Evan You
8b382b3efb
fix: allow _ in watch paths (element compat)
6 years ago
Evan You
5fb23d4e29
fix: ensure only nromalize a scoped slot when it is present
6 years ago
Evan You
4c2c6f03dc
build: fix dev:cjs script
6 years ago
Evan You
8eea6b07c4
refactor: avoid using immutable object for $slot
libs like Avoiraz assumes $slots is mutable, need backwards
compat.
6 years ago
Evan You
3be1c5d67e
feat(config): expose config.useEventDelegation and default to false
6 years ago
Evan You
02f897a4bc
chore: fix flow
6 years ago
Evan You
d2902ca8ec
feat: support .property shorthand syntax for v-bind.prop modifier
close #7582
6 years ago
Evan You
23a145952c
refactor: adjust #7941 for slots unification
6 years ago
Eduardo San Martin Morote
fb6aa06090
feat(functional): add scopedSlots to context in functional components ( #7941 )
6 years ago
Evan You
5d52262f1c
feat(core): expose all slots on $scopedSlots as functions
After this change, users using render functions can always make use
of slots via `this.$scopedSlots` without worrying about whether the
slot is being passed in as scoped or not.
This should also make it easier to migrate to 3.0 where all slots are
exposed as functions that return Array of VNodes on `this.$slots`.
6 years ago
vue-bot
cf42f8e870
chore: update sponsors [ci skip] ( #9296 )
[automated] Patreon sponsors update
6 years ago
Evan You
7988a5541c
feat: support scoped-slot usage with $slot
6 years ago
Evan You
9132730035
refactor(codegen): simplify conditions
6 years ago
Evan You
583dd01158
refactor(parser): move element self processing to after children
This allows element processing logic to be based on its sub tree
content, e.g. $slot usage detection
6 years ago
Evan You
d278da20a0
test: fix LRU upgrade
6 years ago
Evan You
bbfeb039f3
build: bump dev deps
6 years ago
Evan You
ab2b1f16f4
chore: update sponsors
6 years ago
Evan You
75a2b4cd42
chore: update sponsors
6 years ago
Evan You
05fbc3602f
chore: update backers
6 years ago
Evan You
c117e8f25e
chore: update backers
6 years ago
Evan You
ce35159d6d
chore: fix types
6 years ago