cyx
cd419aec3c
fix(runtime-dom): unify behavior for v-show + style display binding ( #10075 )
...
close #10074
2024-01-11 17:11:35 +08:00
白雾三语
c379bc29ef
fix(types): allow `null` type for textarea value ( #9997 )
...
close #9904
2024-01-08 22:58:27 +08:00
zhoulixiang
2701355e8e
fix(hydration): avoid hydration mismatch warning for styles with different order ( #10011 )
...
close #10000
close #10006
2024-01-08 16:36:27 +08:00
三咲智子 Kevin Deng
bfe6b459d3
style: update format & lint config ( #9162 )
...
Co-authored-by: 丶远方 <yangpanteng@gmail.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Guo Xingjun <99574369+Plumbiu@users.noreply.github.com>
2023-12-26 19:39:47 +08:00
Evan You
95f6fffea2
chore: Merge branch 'main' into minor
2023-12-19 18:16:16 +08:00
Thorsten Lünborg
04d2c05054
fix(runtime-dom): cache event handlers by key/modifiers ( #9851 )
...
close #9849
2023-12-16 21:54:37 +08:00
Evan You
9f64d2b681
chore: Merge branch 'main' into minor
2023-12-16 14:37:21 +08:00
丶远方
0a387dfb1d
fix(sfc/cssVars): fix loss of CSS v-bind variables when setting inline style with string value ( #9824 )
...
close #9821
2023-12-15 09:56:01 +08:00
Mehmet
fd0b6ba016
feat(types): export AriaAttributes type ( #8909 )
2023-12-11 22:05:48 +08:00
Evan You
982a145d38
chore: Merge branch 'main' into minor
2023-12-11 22:03:28 +08:00
丶远方
0d61b429ec
fix(types): add `xmlns:xlink` to `SVGAttributes` ( #9300 )
...
close #9299
2023-12-08 22:16:25 +08:00
Fabian Gündel
d42b6ba3f5
feat: MathML support ( #7836 )
...
close #7820
2023-12-08 18:25:01 +08:00
Evan You
5b002869c5
fix(runtime-dom): fix width and height prop check condition
...
close #9762
2023-12-07 10:09:26 +08:00
sunjiang0018
af909b7d45
chore: fix typo ( #9752 ) [ci skip]
2023-12-05 12:05:53 +08:00
Carlos Rodrigues
43c3cfdec5
fix(types): improve return type withKeys and withModifiers ( #9734 )
2023-12-04 07:59:01 +08:00
Evan You
da4a4fb5e8
perf(runtime-dom): cache modifier wrapper functions
...
close #8882
2023-11-30 19:00:00 +08:00
Evan You
6fcec3b2c7
chore: fix width/height check condition
2023-11-30 18:34:06 +08:00
Evan You
9845f1d2a1
chore: optimize widht/height element check
2023-11-30 17:59:27 +08:00
Evan You
38aaa8c886
perf: optimize on* prop check
2023-11-30 17:52:51 +08:00
zhoulixiang
bfc1838f31
fix(runtime-dom): set width/height with units as attribute ( #8781 )
...
Technically, width / height on `<img>`, `<video>` etc must be integers and cannot contain units. When set as a DOM property, the DOM force converts strings with units to 0. However, this is such a common mistake that most browsers nowadays supports such usage, and it makes sense for Vue to at least let it be set as an attribute.
2023-11-30 17:27:23 +08:00
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