Commit Graph

206 Commits

Author SHA1 Message Date
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