Evan You
42d80b5888
wip(ssr): component hydration
2020-02-13 23:31:03 -05:00
Evan You
6b505dcd23
wip(ssr): basic element hydration
2020-02-13 17:47:00 -05:00
Evan You
8e19424c04
refactor(security): mark potential unsafe code paths
2020-02-12 15:00:32 -05:00
Evan You
d866d389f3
chore: fix import path + comment
2020-02-12 12:12:53 -05:00
Evan You
27913e661a
feat(compiler-dom/runtime-dom): stringify eligible static trees
2020-02-12 11:56:42 -05:00
Jonas
5495c70c4a
fix(transition-group): handle multiple move-classes ( #679 )
...
fix #678
2020-02-10 09:36:19 -05:00
Evan You
c952321fcf
wip(compiler-ssr): v-model static types + textarea
2020-02-05 14:23:03 -05:00
Jacek Karczmarczyk
1b2878d80f
chore: update runtime-dom/README example to latest signature ( #693 ) [ci skip]
2020-02-04 09:24:29 -05:00
Evan You
e6e2c58234
fix(runtime-dom/ssr): properly handle xlink and boolean attributes
2020-01-28 22:03:53 -05:00
Evan You
6f43c4b516
wip(ssr): vdom serialization
2020-01-28 18:48:27 -05:00
Evan You
d293876c34
release: v3.0.0-alpha.4
2020-01-27 16:20:00 -05:00
Evan You
da25517377
wip(ssr): initial work on server-renderer
2020-01-27 16:00:17 -05:00
Evan You
c07751fd36
refactor: adjust createApp
related API signatures
...
BREAKING CHANGE: `createApp` API has been adjusted.
- `createApp()` now accepts the root component, and optionally a props
object to pass to the root component.
- `app.mount()` now accepts a single argument (the root container)
- `app.unmount()` no longer requires arguments.
New behavior looks like the following:
``` js
const app = createApp(RootComponent)
app.mount('#app')
app.unmount()
```
2020-01-27 16:00:17 -05:00
Evan You
48152bc88e
fix(runtime-dom): should not access document in non-browser env
...
fix #657
2020-01-25 22:31:38 -05:00
Evan You
b41677bf42
release: v3.0.0-alpha.3
2020-01-22 11:10:30 -05:00
yang
98d50d874d
fix(transition): handle multiple transition classes ( #638 ) ( #645 )
...
fix #638
2020-01-20 12:44:01 -05:00
likui
04ac6c467a
feat(runtime-core): support app.unmount(container) ( #601 )
...
close #593
2020-01-16 12:23:47 -05:00
Evan You
9f65d811af
release: v3.0.0-alpha.2
2020-01-13 17:44:30 -05:00
Yu Zong
54bb820f73
types: update jsx support ( #587 )
2020-01-06 16:19:18 -05:00
Evan You
1bb1271b5e
release: v3.0.0-alpha.1
2020-01-02 18:25:17 -05:00
Chris Fritz
1c4cdd841d
refactor(createComponent): rename to defineComponent ( #549 )
2019-12-22 10:58:12 -05:00
Evan You
bdbfead1e0
chore: adjust package.json
2019-12-19 14:19:58 -05:00
djy0
fc48e43ac7
chore: fix typo [ci skip] ( #547 )
2019-12-18 11:45:28 -05:00
Evan You
69c9dbc825
feat(sfc): scopeId runtime support
2019-12-17 12:31:38 -05:00
Evan You
35858cec8c
build: adjust global names + allow inline overrides of build flags
2019-12-15 15:37:43 -05:00
Evan You
136ab753b3
build: adjust esm formats
2019-12-10 22:14:02 -05:00
Evan You
8ed04ed503
build: release script
2019-12-10 21:29:52 -05:00
Haoqun Jiang
d1527fbee4
test: add test for runtime-dom/modules/class ( #75 )
2019-12-09 14:52:20 -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
52239d137c
types: fix class module transition class typing
2019-11-29 11:53:54 -05:00
Evan You
800b0f0e7a
feat(transition): TransitionGroup
2019-11-28 18:41:01 -05:00
Evan You
460b053f74
test: improve events module test stability
2019-11-26 18:06:55 -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
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
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
Cédric Exbrayat
8688acc36f
refactor(runtime-dom): avoid unnecessary checks in patchDOMProp ( #452 )
2019-11-14 11:27:23 -05:00
Cédric Exbrayat
fe66194a77
feat(vModel): handle true-value and false-value for checkbox ( #449 )
2019-11-12 16:24:39 -05:00
Evan You
2b2727e62c
feat(runtime-dom/style): support CSS variables and auto prefixing
2019-11-08 22:38:04 -05:00
Cr
34e2725e9b
feat(runtime-dom): support !important for patchStyle. ( #422 )
2019-11-08 22:06:53 -05:00
Evan You
7fa676e55f
feat(v-on): adjust key modifier behavior to match 2.x
2019-11-08 17:50:59 -05:00
Evan You
d7eab51315
refactor: move dom tag config to shared
...
Otherwise runtime-dom cjs & esm builds will import compiler-dom
2019-11-06 15:22:46 -05:00
Evan You
dfc7c0f12a
refactor: adjust internal vnode types + more dts tests
2019-11-04 18:38:55 -05:00
Evan You
90b9884eb4
refactor: rename/re-organize files
2019-11-02 12:18:35 -04:00
Evan You
5eee1152ca
types: (wip) improve dts output
2019-11-01 11:32:53 -04:00
Evan You
34989ef7fe
chore: license
2019-10-28 11:15:17 -04:00
Evan You
07ce2c5fa7
perf: improve directive runtime performance
2019-10-26 16:00:07 -04:00
Evan You
6a92bbd9c0
feat(runtime-dom): support using mount target innerHTML as template
2019-10-24 21:58:34 -04:00
Evan You
af57ad110f
chore: revert prettier
2019-10-22 11:53:32 -04:00
Evan You
b5886189ba
types: massive refactor
2019-10-22 11:53:32 -04:00
Evan You
bb85aefc03
chore: move dom element config to compiler-dom
2019-10-21 16:25:16 -04:00
Jooger
67eb29f63b
refactor(errorHandlling): handle array in callWithAsyncErrorHandling ( #332 )
2019-10-21 13:59:10 -04:00
Evan You
58593c4714
feat(v-on): cache handlers
2019-10-18 21:51:34 -04:00
Evan You
e98a85f3cb
refactor: applyDirectives -> withDirectives
2019-10-18 16:35:01 -04:00
Evan You
cba34453db
refactor(v-on): avoid empty modifier guard with only key modifier
2019-10-18 16:20:45 -04:00
xiaoboost
32499b16e7
types: improve typing ( #309 )
2019-10-16 10:31:40 -04:00
Dmitry Sharshakov
0bac763f5a
feat(directives): add support for function directives ( #252 )
2019-10-16 02:12:26 -04:00
宋铄运
db5c343c33
test(runtime-dom): add test coverage for v-on runtime guards, fix "exact" guard ( #298 )
2019-10-15 17:08:43 -04:00
Carlos Rodrigues
0b2573f3d1
types(runtime-dom): cast to the correct eventType instead of any ( #292 )
2019-10-15 12:26:19 -04:00
Evan You
2d6d5d4517
chore: move events.spec.ts
2019-10-14 17:46:30 -04:00
Evan You
2b3d5b3f96
chore: move vModel.spec.ts
2019-10-14 17:45:15 -04:00
Evan You
8df3e0a41e
refactor: move looseEqual to vModel
2019-10-14 17:40:56 -04:00
Stanislav Lashmanov
b4eeb2fa1b
test(runtime-dom): vModel tests ( #255 )
2019-10-14 17:07:34 -04:00
月迷津渡
66023a8886
feat: runtime component name validation ( #217 )
2019-10-14 15:36:29 -04:00
Evan You
37cbd0098d
chore: lint + include tsx files for lint
2019-10-14 15:07:43 -04:00
宋铄运
57a94b530d
feat(dom): transform + runtime for v-on ( #213 )
2019-10-14 00:33:23 -04:00
fisker Cheung
9371e65187
refactor(runtime-dom): use findIndex
instead of loop ( #244 )
2019-10-12 19:32:47 -04:00
Evan You
a7eefaff1e
refactor(runtime-dom): remove xlink support since it's been deprecated
2019-10-12 19:25:04 -04:00
Evan You
14aabf0f98
feat(v-model): number/trim modifier + array checkbox support
2019-10-11 20:35:25 -04:00
Evan You
59e18e5478
fix(runtime-dom): cast to true for boolean props
2019-10-11 18:59:39 -04:00
Evan You
b0156b5df3
chore: improve formatting
2019-10-11 18:07:18 -04:00
Evan You
a42ad6cc9d
feat(runtime-dom): v-model directive runtime
2019-10-11 17:55:34 -04:00
Evan You
ba4e6e5b4d
test: make dom events spec more stable
2019-10-10 22:02:41 -04:00
Evan You
d376439167
wip(compiler-dom): v-model runtime
2019-10-10 18:02:51 -04:00
Evan You
145559e170
chore: remove debugger
2019-10-10 15:37:28 -04:00
Evan You
46d875f4e8
fix(runtime-core): use correct parentNode when patching dynamicChildren ( close #98 )
2019-10-10 14:49:35 -04:00
Stanislav Lashmanov
08df965e3c
feat(runtime-dom): support event options ( #149 )
2019-10-09 15:05:21 -04:00
Evan You
8da5b007b1
types: improve typing
2019-10-08 12:43:13 -04:00
Evan You
caaeaff2fd
refactor(runtime-dom/events): use more explicit variable name to avoid shadowing
2019-10-07 10:57:35 -04:00
Stanislav Lashmanov
6d5c12b63a
fix(runtime-dom/events): fix wrong scope for event value ( #117 )
2019-10-07 10:56:24 -04:00
Carlos Rodrigues
23ff681418
chore: fix comment typos ( #94 )
2019-10-05 10:35:19 -04:00
Evan You
b378b17076
chore: remove unnecessary code
2019-09-12 00:37:44 -04:00
Evan You
42967f1f5a
wip: pass proper args to patchDOMProp
2019-09-11 11:10:13 -04:00
Evan You
2677c91aba
wip: pass suspense down as argument
2019-09-11 11:10:13 -04:00
Evan You
02bb156314
wip: somewhat working suspense
2019-09-11 11:10:13 -04:00
Evan You
3904678306
types: use stricter HostNode typings
2019-09-06 16:58:32 -04:00
Evan You
360f3b4f37
types: improve type exports
2019-09-06 12:58:31 -04:00
Evan You
b2d269a651
build: use api-extractor for type rollup
2019-09-03 12:16:22 -04:00
Evan You
32713f8fce
feat: createApp / appContext
2019-09-02 16:09:34 -04:00
Evan You
09593c94c3
feat: error handling in scheduler
2019-08-30 15:15:23 -04:00
Evan You
966d7b5487
feat: error handling for setup / render / watch / event handlers
2019-08-30 15:05:39 -04:00
Evan You
5a754aac81
test: test for setup()
2019-08-26 18:08:56 -04:00
Evan You
13f5067656
chore: comments
2019-08-21 16:17:02 -04:00
Evan You
bb2ff037b9
build: bump rollup version
2019-08-20 10:34:25 -04:00
Evan You
aacad85058
test: fix reactivity tests
2019-08-20 09:58:10 -04:00
Evan You
8f9afdff64
feat: template ref handling + ref unmount
2019-08-19 18:06:20 -04:00
Evan You
645c1eceea
wip: update test runtime
2019-06-20 21:28:37 +08:00
Evan You
5228f0343b
wip: setup context + emit
2019-06-19 16:43:34 +08:00
Evan You
7fe82b1199
wip: svg & parent chain
2019-06-03 09:43:28 +08:00
Evan You
e665a133e9
types: bump TS version + type test for createComponent
2019-05-30 22:09:48 +08:00
Evan You
453cdcd600
wip: portal
2019-05-29 16:10:25 +08:00
Evan You
b69ea00f5c
wip: minimal component implementation
2019-05-28 13:27:31 +08:00
Evan You
e4ce78c8c9
wip: diffKeyedChildren
2019-05-27 13:48:40 +08:00
Evan You
3f3e42b8cb
wip: compare perf
2019-05-26 15:38:55 +08:00
Evan You
b3f8b5ae0a
wip: add types to refactored runtime-core
2019-05-26 15:19:44 +08:00
Evan You
35effdee5a
feat: simplify prop/attr checking
2019-03-10 06:09:59 +08:00
Evan You
daf166553b
refactor: also check for event timestamp
2019-01-23 19:08:51 -05:00
Evan You
16270edda5
refactor: cache calls to performance.now
2019-01-23 18:52:05 -05:00
Evan You
360a10fff2
refactor: drop event delegation and use simple async edge case fix
2019-01-22 16:03:37 -05:00
Evan You
9449dfb352
refactor: events tweak
2018-12-19 18:14:41 -05:00
Evan You
157971b3cb
fix: domProps handling
2018-11-03 06:31:54 +09:00
Evan You
d70b7d6dd5
wip: error handling and nextTick for time slicing
2018-11-03 06:31:31 +09:00
Evan You
6ba02827b1
feat: experimental time-slicing
2018-11-03 06:31:30 +09:00
Evan You
e6be55a498
chore: relax render type for tsx
2018-11-03 05:59:45 +09:00
Evan You
c9b33a9e69
feat: delegate pointer events
2018-10-28 15:23:37 -04:00
Evan You
6982f755fd
build: update runtime-dom global name
2018-10-26 17:51:09 -04:00
Evan You
e05673f4d3
refactor: rename packages
2018-10-26 15:44:50 -04:00
Evan You
d1bc6ee8d6
chore: setup all packages
2018-09-19 12:26:50 -04:00
Evan You
3401f6b460
init (graduate from prototype)
2018-09-19 11:35:38 -04:00