Tycho
ea943afe40
fix(runtime-dom): prevent unnecessary updates in v-model checkbox when value is unchanged ( #12146 )
...
close #12144
2024-10-11 21:00:08 +08:00
edison
e16e9a7341
fix(custom-element): properly remove hyphenated attribute ( #12143 )
...
close #12139
2024-10-11 09:52:06 +08:00
Evan You
ea3efa09e0
fix(custom-element): properly set kebab-case props on Vue custom elements
...
close #12030
close #12032
2024-09-27 09:25:00 +08:00
btea
7a00f6f093
chore: remove unused argument ( #12006 )
2024-09-24 18:01:20 +08:00
Alex Liu
f927a4ae6f
fix(transition): respect `duration` setting even when it is `0` ( #11967 )
2024-09-20 16:47:01 +08:00
linzhe
f2d8019188
fix(custom-element): handle nested customElement mount w/ shadowRoot false ( #11861 )
...
close #11851
close #11871
2024-09-13 20:18:10 +08:00
edison
7571f20bc3
fix(TransitionGroup): not warn unkeyed text children with whitespece preserve ( #11888 )
...
close #11885
2024-09-13 18:37:42 +08:00
Oliver Bucher
3634f7a4c1
fix(types): add HTMLDialogElement missing close event ( #11811 )
...
Co-authored-by: Evan You <evan@vuejs.org>
2024-09-05 20:52:37 +08:00
白雾三语
c74176ec7b
fix(types): added name attribute support to details tag ( #11823 )
...
close #11821
2024-09-05 17:53:05 +08:00
Evan You
40193696b3
chore(build): use /*@__PURE__*/ annotation consistently
2024-09-04 20:24:33 +08:00
Evan You
4eee630b31
fix(build): improve built-in components treeshakability
2024-09-04 20:22:33 +08:00
Alex Liu
c3ce9fe3d8
fix(runtime-dom): avoid unnecessary prop patch for checkbox ( #11657 )
...
close #11647
2024-09-03 21:10:18 +08:00
Hanse Kim
b1be9bd64f
fix(runtime-dom): prevent unnecessary DOM update from v-model ( #11656 )
...
close #11647
2024-09-03 17:44:07 +08:00
chirokas
d86fe0ec00
feat(types): add loading prop to iframe ( #11767 )
2024-09-02 17:10:14 +08:00
edison
f1d1831f07
fix(custom-element): handle keys set on custom elements ( #11655 )
...
close #11641
2024-08-29 15:09:15 +08:00
Evan You
ac9e7e8bfa
test: adjust coverage config, use v8 coverage
2024-08-29 10:41:29 +08:00
Evan You
d875de54e9
fix(runtime-dom): setting innerHTML when patching props should go through trusted types
2024-08-28 17:37:39 +08:00
Andy Li
5e0f6d5f8f
fix(types/custom-element): `defineCustomElement` with required props ( #11578 )
2024-08-16 16:22:03 +08:00
Evan You
e19fc27042
fix(custom-element): keep instance.isCE for backwards compat
2024-08-15 15:18:19 +08:00
Tycho
fee669764f
fix(types): add fallback stub for DOM types when DOM lib is absent ( #11598 )
2024-08-13 22:06:10 +08:00
Tycho
d0f882d5bb
chore: add explicit type annotation to `initDirectivesForSSR` ( #11596 )
2024-08-13 22:02:57 +08:00
Evan You
90caac473d
test(custom-element): test custom element hydration w/ declarative shadow dom
2024-08-10 16:39:20 +08:00
Kevin Deng 三咲智子
928af5fe2f
refactor(types): enable `isolatedDeclarations` ( #11178 )
2024-08-08 23:05:21 +08:00
Evan You
506c4c53fd
fix(custom-element): delete prop on attribute removal
...
close #11276
2024-08-08 18:37:54 +08:00
Evan You
a07e7bf553
fix(custom-element): support early-set domProps for async custom elements
...
close #11081
close #11082
2024-08-08 16:26:48 +08:00
Evan You
775103af37
feat(custom-element): useHost() helper
2024-08-08 12:35:00 +08:00
Evan You
eaf5455d77
chore: Merge branch 'main' into minor
2024-08-07 18:25:58 +08:00
Evan You
197afc2c1f
chore: fix useShadowRoot warning method name
2024-08-07 17:21:36 +08:00
Evan You
6758c3cd04
feat(custom-element): support configurable app instance in defineCustomElement
...
Support configuring via `configureApp` option:
```js
defineCustomElement({
// ...
}, {
configureApp(app) {
// ...
}
})
```
close #4356
close #4635
2024-08-07 16:08:06 +08:00
linzhe
fdc2a31dbd
fix(runtime-dom): apply css vars before mount ( #11538 )
...
fix #11533
2024-08-07 11:51:44 +08:00
Evan You
63689ed776
fix(custom-element): reflect prop default value on custom element
...
close #9006
close #10537
2024-08-07 02:51:29 +08:00
Evan You
bcb9a70290
types: custom element interface should be internal
2024-08-07 02:33:20 +08:00
Evan You
37ccb9b9a0
fix(custom-element): delay mounting of custom elements with async parent
...
close #8127
close #9341
close #9351
the fix is based on #9351 with reused tests
2024-08-07 02:18:54 +08:00
白雾三语
03a9ea2b88
feat(custom-element): support css `:host` selector by applying css vars on host element ( #8830 )
...
close #8826
2024-08-06 23:33:57 +08:00
edison
917c0631cc
chore: fix typo ( #11522 )
2024-08-06 18:20:40 +08:00
Evan You
bb4a02a70c
feat(custom-element): support nonce option for injected style tags
...
close #6530
2024-08-06 15:41:54 +08:00
Evan You
60a88a2b12
feat(custom-element): support passing custom-element-specific options via 2nd argument of defineCustomElement
2024-08-06 15:37:28 +08:00
Evan You
56c76a8b05
feat(custom-element): inject child components styles to custom element shadow root ( #11517 )
...
close #4662
close #7941
close #7942
2024-08-05 20:49:28 +08:00
Evan You
b74687c0bb
refactor: isCE -> ce
2024-08-05 16:33:48 +08:00
Evan You
6e541db29f
chore: warn style injection in shadowRoot: false mode
2024-08-05 16:33:05 +08:00
Andy Li
e94b01bd8a
fix(types/custome-element): `defineCustomElement` props inference with array emits ( #11384 )
...
close #11353
2024-08-05 11:14:36 +08:00
郝晨光
af838c1b5e
feat(custom-element): support for expose on customElement ( #6256 )
...
close #5540
2024-08-03 14:48:21 +08:00
Evan You
5a1a89bd61
feat(custom-element): useShadowRoot() helper
...
close #6113
close #8195
2024-08-03 14:19:19 +08:00
Evan You
e181bff6dc
feat(custom-element): support emit with options
...
In a custom element created via `defineCustomElement`, if the first
event argument is an object, it will be used as the options object
for the emitted CustomEvent. The entire argument list is still exposed
via the CustomEvent's `detail` property.
```js
emit('event', { bubbles: true })
```
close #7605
2024-08-03 13:46:58 +08:00
Evan You
7f2c505f92
fix(custom-element): ignore scoped id
2024-08-03 13:40:57 +08:00
Evan You
37d2ce5d8e
feat(custom-element): support shadowRoot: false in defineCustomElement()
...
close #4314
close #4404
2024-08-03 13:14:22 +08:00
Haoqun Jiang
6d4eb94853
feat(runtime-dom): Trusted Types compatibility ( #10844 )
2024-08-02 12:46:12 +08:00
Evan You
66579ea544
chore: Merge branch 'main' into minor
2024-07-19 18:07:42 +08:00
Tycho
5df67e3675
fix(runtime-dom): handle undefined values in v-html ( #11403 )
2024-07-19 16:52:03 +08:00
Evan You
f15ba2c2e2
chore: Merge branch 'main' into minor
2024-07-17 17:32:31 +08:00