renovate[bot]
16a6438236
chore(deps): update lint ( #9627 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-18 10:33:24 +08:00
Evan You
5d077c8754
fix(types): revert class type restrictions
...
reverts #8012 due to breakage in downstream types
2023-11-13 15:23:16 +08:00
Evan You
2424013059
fix(types): widen ClassValue type
2023-11-10 15:36:30 +08:00
Basil Gor
46e33744c8
fix(types): more precise types for class bindings ( #8012 )
2023-11-10 15:15:54 +08:00
Evan You
5a41231352
chore: fix formatting + remove duplicated property in jsx type
2023-11-10 15:01:05 +08:00
bqy_fe
58e2a94871
fix(types): update jsx type definitions ( #8607 )
2023-11-10 14:30:45 +08:00
Yuchao
17aa92b79b
fix(types): allow falsy value types in `StyleValue` ( #7954 )
...
close #7955
2023-11-10 14:23:54 +08:00
Rudy
5d932a8e6d
fix(types): defineCustomElement using defineComponent return type with emits ( #7937 )
...
close #7782
2023-11-10 13:52:54 +08:00
白雾三语
40f4b77bb5
fix(v-model): avoid overwriting number input with same value ( #7004 )
...
close #7003
2023-11-09 15:14:38 +08:00
Kaine
72fdafa0cf
types(runtime-dom): update aria-relevant type ( #9043 )
2023-10-30 15:15:17 +08:00
白雾三语
26ca89e5cf
fix(types): support contenteditable="plaintext-only" ( #8796 )
2023-10-20 17:35:53 +08:00
丶远方
2ffe3d5b3e
refactor: use symbol for private properties ( #8681 )
2023-08-22 16:57:15 +08:00
丶远方
24d98f0327
perf(custom-element): cancel `MutationObserver` listener when disconnected ( #8666 )
2023-07-12 11:13:20 +08:00
Anthony Fu
438027cf9e
perf: mark `defineComponent` as side-effects-free ( #8512 )
2023-07-11 17:52:43 +08:00
Kid
ceb0732e0b
fix(types/jsx): add `inert` attribute and missing `hidden` values ( #8090 )
2023-07-11 17:30:01 +08:00
JayMe DotDot
364dc53c7c
fix(types): support correct types for style on svg elements ( #6322 )
2023-07-10 17:59:44 +08:00
Innei
68d6b43f7e
fix(types/jsx): add missing loading attr for img element ( #6160 )
2023-07-10 17:58:53 +08:00
OrbisK
7121c925c5
types: update `TextareaHTMLAttributes` and `InputHTMLAttributes` ( #6294 )
...
* types: update `TextareaHTMLAttributes` and `InputHTMLAttributes`
add `InputTypeHTMLAttribute` (from `@types/react`) to `InputHTMLAttributes['type' ]`
* chore: format
---------
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-07-09 13:05:18 +08:00
Evan You
96c76facb7
fix(transition): handle possible auto value for transition/animation durations
...
close #8409
2023-06-14 12:12:22 +08:00
linghaoSu
4495373d28
fix(runtime-dom): check attribute value when setting option value ( #8246 )
...
fix #8227
2023-05-08 15:26:14 +08:00
ntnyq
bf16697e25
chore: fix broken vite plugin url in warning message ( #8224 )
2023-05-08 14:47:02 +08:00
Evan You
bdf557f6f2
fix(types): retain type parameters order for public types
2023-04-05 22:30:50 +08:00
三咲智子 Kevin Deng
5a2f5d59cf
feat(types/slots): support slot presence / props type checks via `defineSlots` macro and `slots` option ( #7982 )
2023-04-03 16:49:16 +08:00
Haoqun Jiang
ffe679c490
fix(types/jsx): move JSX DOM types back to `@vue/runtime-dom` ( #7979 )
2023-03-29 20:22:29 +08:00
Evan You
58e5c51149
build: upgrade to TypeScript 5.x
2023-03-23 17:11:35 +08:00
Evan You
eb0c1e7025
build: remove api-extractor
2023-02-03 15:57:00 +08:00
Evan You
124373db50
wip: isolatedModules + use rollup-plugin-esbuild
2023-02-03 04:30:19 +08:00
Evan You
3a6f5eb0f7
fix(build): ensure BaseTransition functions can be tree-shaken
2023-02-02 21:38:57 +08:00
René Koller
efe2efd210
fix(compat): fix custom transition classes in compat mode ( #7435 )
...
fix #6253
2023-02-01 03:21:50 -05:00
yurj26
b7cfa6f539
fix(runtime-dom): style update error when component use shorthand properties ( #7425 )
...
* fix(runtime-dom): style update error when component use shorthand properties
* test(runtime-dom): style update with shorthand properties
2023-01-09 15:16:08 +01:00
Evan You
ce363e55a8
chore: fix assertNumber for undefined value
2022-11-14 16:57:44 +08:00
Evan You
7d0c63ff43
fix(custom-elements): use strict number casting
...
close #4946
close #2598
close #2604
This commit also refactors internal usage of previous loose
implementation of `toNumber` to the stricter version where applicable.
Use of `looseToNumber` is preserved for `v-model.number` modifier to
ensure backwards compatibility and consistency with Vue 2 behavior.
2022-11-14 16:20:12 +08:00
ysy945
67890daad1
fix(custom-elements): custom element should re-instantiate when inserted again ( #6966 )
...
fix #6934
2022-11-11 04:06:21 -05:00
Thorsten Lünborg
55382aed58
fix(custom-elements): define declared properties in constructor ( #5328 )
2022-11-11 02:46:01 -05:00
Evan You
89f37ceb62
fix(custom-elements): fix number type props casting check
...
fix #5793
adapted from #5794
2022-11-11 15:20:28 +08:00
Evan You
afe889999c
fix(custom-elements): properties set pre-upgrade should not show up in $attrs
2022-11-11 14:42:42 +08:00
Evan You
5e50909100
fix(custom-elements): should not reflect non-decalred properties set before upgrade
2022-11-11 14:14:55 +08:00
Thorsten Lünborg
665f2ae121
fix(custom-elements): fix event emitting for async custom elements ( #5601 )
...
fix #5599
2022-11-10 23:33:17 -05:00
Thorsten Lünborg
0b39e46192
fix(custom-elements): also dispatch hyphenated version of emitted events ( #5378 )
...
fix #5373
2022-11-10 23:01:10 -05:00
Thorsten Lünborg
192dcb648c
fix(custom-elements): ensure custom elements can inherit provides from ancestors ( #5098 )
...
fix #5096
2022-11-10 21:33:17 -05:00
Evan You
42239cf284
fix(teleport/css-v-bind): fix css v-bind for teleported content
...
fix #4605
close #4609 (used tests from this PR)
2022-11-10 14:41:45 +08:00
skirtle
9a816dcec0
dx(runtime-dom): warn when a style value ends in a semicolon ( #7062 )
2022-11-09 08:16:34 -05:00
Rudy
e4de623ea7
fix(types): support inferring injected properties in options api ( #6804 )
...
close #3031
close #5931
2022-11-08 01:09:53 -05:00
Thorsten Lünborg
f67bb500b6
fix(runtime-dom): ensure customElement handles empty props correctly. ( #6182 )
...
fix Scoped attribute in Vue file affects the use of web component #6163,#6895
2022-11-01 09:49:06 +01:00
webfansplz
183e4e6152
refactor(types): use template literal types insteads of any ( #4166 )
2022-10-26 04:31:09 -04:00
Thorsten Lünborg
b0b74a160c
fix(runtime-core): custom-element: ensure number casting of camelCase props. ( fix : #5374 ) ( #5377 )
2022-10-22 11:20:46 +02:00
Evan You
5ee40532a6
fix(runtime-dom): fix event timestamp check in iframes
...
fix #2513
fix #3933
close #5474
2022-10-14 16:00:03 +08:00
Evan You
b1817fe9ee
fix(runtime-dom): fix unnecessary warning when setting coerced dom property value
...
fix #6616
2022-09-27 16:39:15 +08:00
Evan You
ab8bfac0a1
chore: remove no longer used cloneNode implementation in nodeOps
2022-09-27 16:17:14 +08:00
Kid
96ba71d0cf
chore: fix typos ( #6708 )
2022-09-24 15:13:39 +08:00