Commit Graph

495 Commits

Author SHA1 Message Date
Ihor Sychevskyi
34c6192f4a
chore: update links (http=https) (#12911) 2022-12-27 10:19:37 +01:00
Evan You
04b4703de7 fix(sfc): fix sfc name inference type check
fix #12637
2022-07-12 17:39:49 +08:00
Evan You
06594f68b7 wip: port @vue/component-compiler-utils 2022-06-10 16:50:17 +08:00
Evan You
ff4f1fdf37 refactor: move more ssr logic into server-renderer package 2022-05-31 17:38:27 +08:00
Evan You
d6bdff8903 refactor: move src types folder 2022-05-31 16:33:48 +08:00
Evan You
9f74f2048d refactor: move to monorepo 2022-05-31 15:32:44 +08:00
Evan You
2acb5474bc types: generate types for v3 apis 2022-05-30 21:36:07 +08:00
Evan You
6c1d2efd04 wip: setup() tests 2022-05-28 20:33:12 +08:00
Evan You
cfc2c59132 chore: use isFunction 2022-05-27 23:52:22 +08:00
Evan You
1f1046b7e5 wip: rename dir to v3 2022-05-27 17:27:17 +08:00
Evan You
05aaa33a45 wip: computed tests passing 2022-05-26 02:14:14 +08:00
Evan You
e1e5a75540 wip: fix entry with compiler 2022-05-25 15:07:46 +08:00
Evan You
f50a1b84d9 wip(vca): partial ref and watch implementation 2022-05-24 21:49:16 +08:00
Evan You
797e72e6fd build: use __DEV__ flag 2022-05-24 08:56:11 +08:00
Evan You
72aed6a149 workflow: remove eslint, apply prettier 2022-05-23 17:21:17 +08:00
Evan You
23bd3b2ca3 types: fix types 2022-05-20 11:11:47 +08:00
David Welch
ec1f7309f3 chore: merge 2022-04-29 14:06:13 -06:00
Carlos Rodrigues
8e047df75a update deps and other code -- still need to fix some issues with testing - basically dependencies issues 2022-04-29 19:54:08 +01:00
Carlos Rodrigues
da64b4a41f Merge branch 'dev' into move_to_typescript
# Conflicts:
#	dist/vue.common.dev.js
#	dist/vue.common.prod.js
#	dist/vue.esm.browser.js
#	dist/vue.esm.browser.min.js
#	dist/vue.esm.js
#	dist/vue.js
#	dist/vue.min.js
#	dist/vue.runtime.common.dev.js
#	dist/vue.runtime.common.prod.js
#	dist/vue.runtime.esm.js
#	dist/vue.runtime.js
#	dist/vue.runtime.min.js
#	packages/vue-server-renderer/basic.js
#	packages/vue-server-renderer/build.dev.js
#	packages/vue-server-renderer/build.prod.js
#	packages/vue-server-renderer/client-plugin.js
#	packages/vue-server-renderer/server-plugin.js
#	packages/vue-template-compiler/browser.js
#	packages/vue-template-compiler/build.js
#	packages/weex-template-compiler/build.js
#	packages/weex-vue-framework/index.js
#	src/compiler/codegen/index.ts
#	src/core/components/keep-alive.ts
#	src/core/instance/lifecycle.js
#	src/core/instance/render-helpers/render-slot.ts
#	src/core/instance/state.ts
#	src/core/observer/watcher.ts
#	src/core/vdom/helpers/normalize-scoped-slots.ts
#	src/core/vdom/patch.ts
#	src/platforms/web/runtime/modules/events.ts
#	src/platforms/weex/entry-framework.ts
#	src/server/webpack-plugin/client.js
#	src/server/webpack-plugin/server.ts
#	src/server/webpack-plugin/util.ts
#	yarn.lock
2022-04-29 19:40:58 +01:00
Roy Eden
515467a618
feat(compiler): condenses staticClass whitespace (fix #12113) (#12195)
* feat(compiler): template staticClass no longer preserves whitespace

Template static classes used to preserve whitespace after compilation, resulting in builds that had
bigger file outputs with whitespace in component's staticClass attributes

fix #12113

* refactor(refactor(web-compiler): removed ignore in regex): Removed ignore flag in regex

fix #12113

* test(ssr-string.spec.js): Removed newline character, as whitespace is purged in static classes

There's no need to escape newlines in static classes, as they're now replaced with a single
whitespace character

fix #12113

* test(directives/class.spec.js): Added whitespace to test

fix #12113

* Apply suggestions from code review

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
2021-09-08 11:23:49 +02:00
zrh122
3d29ba863b
fix(v-on): add removing all dom event listeners when vnode destroyed (#10085) 2021-08-05 11:21:12 +02:00
pikax
f22b2165f4 chore: improve some types and remove @ts-ignore 2021-04-13 16:21:54 +01:00
pikax
b5f39bf02c dedup functions 2021-04-07 19:11:31 +01:00
pikax
69a1bc909b eslint fixes 2021-04-06 17:21:58 +01:00
pikax
0af78c57b3 remove @flow 2021-04-06 17:11:58 +01:00
pikax
63f9077de4 import as types 2021-04-03 17:29:42 +01:00
pikax
65b683a5e1 fix build 2021-04-03 16:36:50 +01:00
pikax
af9fc2bcff chore: move to typescript 2021-04-03 15:07:44 +01:00
Eduardo San Martin Morote
af5e05d87e
fix: give correct namespace in foreignObject (#11576)
Fix #11575
2021-03-30 12:11:55 +02:00
Volodymyr I
7e5dc6bd9e
fix(ssr): inheritAttrs false adds attributes to html (#11706) 2021-03-30 11:49:40 +02:00
Alex Addams
0664cb0143
fix(v-pre): do not alter attributes (#10088)
* fix(v-pre): do not alter attributes

close #10087

* fix(v-pre): do not alter attributes

remove component and replace option from unit test

* refactor: use or

* perf: check boolean before index

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
2020-09-21 17:42:08 +02:00
Nowres Rafid
cd57393fd3
fix(attrs): do not consider translate attribute as boolean (#11392)
when present, translate attribute had translate as it's value, which is not valid, the value should
remain as specified by the user, that's why we removed it form isBooleanAttr map

fix #11391
2020-09-21 16:51:39 +02:00
Daniel Jun Suguimoto
b8bd149d8a
fix(ssr): textarea keeps undefined/null values (#11121)
* fix(ssr): textarea keeps undefined/null values

* refactor(ssr): Code review changes for null values in textareas
2020-09-21 16:04:58 +02:00
Tim Gates
2be3b10dc1
chore: typo unnecesarry -> unnecessary (#11286) 2020-04-06 23:54:14 +02:00
阿豪
6390f70c2e
chore(platforms/web/server/util): Removes duplicate values from the attr list (#11064) 2020-02-11 09:50:22 -05:00
7006
6b4c0f9c89 chore: typo in comment 2019-12-05 14:39:22 +01:00
Evan You
f11449d916 fix(core): only unset dom prop when not present
fix #9650
2019-03-20 14:13:23 +08:00
DSha
4de4649d96 fix(transition): fix appear check for transition wrapper components (#9668) 2019-03-14 15:45:42 +08:00
Evan You
7591b9dc6d fix: event timeStamp check for Qt
fix #9681
2019-03-13 17:19:02 +08:00
Evan You
8a80a23ecb fix: avoid errors thrown during dom props update
breaking the entire app

fix #9459
2019-02-21 14:00:28 -05:00
Evan You
cd3d202edb refactor: simplify conditions 2019-02-21 13:31:58 -05:00
Evan You
0bad7e2a35 fix: bail out of event blocking for iOS bug
close #9462
2019-02-09 01:16:41 -05:00
Evan You
dae7e4182f fix: skip microtask fix if event is fired from different document
fix #9448
2019-02-06 15:57:06 -05:00
Evan You
7bc88f30c3 fix: skip microtask fix in Firefix <= 53
fix #9446
2019-02-06 15:04:24 -05:00
nciont
0fb03b7831 fix: avoid blocking first input event in IE when it shouldn't (#9297)
- the original bug in #7138 only happens for `<textarea>`
- the bug doesn't happen if placeholder has empty value

fix #9042, fix #9383
2019-02-04 17:39:41 -05:00
Filipe Amaral
539e481f38 fix: fix v-bind:style for camelCase properties with !important (#9386) 2019-01-31 10:08:35 -05:00
Evan You
e632e9a075 fix: allow more enumerated values for contenteditable
close #9397
2019-01-31 09:56:18 -05:00
Evan You
770c6ed64f refactor: extend dom-props update skip to more all keys except value 2019-01-24 15:47:58 -05:00
Evan You
1868561442 fix: fix checkbox event edge case in Firefox 2019-01-24 15:43:06 -05:00
Evan You
60a277ca31 chore: update comment 2019-01-23 18:44:21 -05:00