Commit Graph

56 Commits (6e1c89f4487b869989b6011c124a4aea5313c3af)

Author SHA1 Message Date
Paolo Ricciuti 90807ca18d
fix: properly hydrate dynamic css props components and remove element removal (#16118)
5 months ago
Paolo Ricciuti fbb6444fd8
fix: allow using typescript in `customElement.extend` option (#16001)
6 months ago
Paolo Ricciuti d1141a19b5
feat: functional template generation (#15538)
6 months ago
Rich Harris b82692af2f
feat: add `idPrefix` to `render` (#15428)
9 months ago
Dominic Gannaway 36ef59df1f
chore: improve test cases (#14984)
10 months ago
Simon H 88a15cd706
chore: TS fixes cleanup (#14750)
11 months ago
Taku Fukada c79b909458
fix: remove 'implements' from class declaration (#14749)
11 months ago
Simon H a2539cfe1f
fix: correctly set custom element props (#14508)
11 months ago
Simon H cfc1fb7de8
chore: provide links to documentation for errors/warnings (#14629)
11 months ago
Ben McCann 4c88431228
fix: upgrade to esm-env 1.2.1 to fix issues with non-Vite setups (#14470)
12 months ago
Simon H 7d11fa8da2
fix: recognize all custom element prop definitions (#14084)
1 year ago
Dominic Gannaway cdec39afac
fix: ensure custom element attribute/prop changes are in their own context (#14016)
1 year ago
Dominic Gannaway 0466e40680
breaking: use `<svelte-css-wrapper>` instead of `<div>` for style props (#13499)
1 year ago
adiGuba 9627426f7f
fix: ensure single script and scripts in loops execute properly (#13386)
1 year ago
Simon H d338e8083f
fix: simplify and robustify appending styles (#13303)
1 year ago
James Glenn c229e0f80b
feat: a11y warning for `<button>` / `<a>` without aria-label and content (#13130)
1 year ago
Maxime LUCE 5210ae2610
fix: allow component to be mounted in iframe (#13225)
1 year ago
Paolo Ricciuti 09dff9bde2
fix: allow custom element events on slot to bubble inside custom element (#13222)
1 year ago
Simon H c372dd864d
fix: ensure inner script tags are properly removed (#13152)
1 year ago
Dominic Gannaway 2d37826ee1
fix: ensure $host rune correctly compiles in variable declarations (#13127)
1 year ago
Theodor Steiner 7ae21ea97d
feat: make <svelte:option> customElement configuration's tag property optional (#12751) (#12754)
1 year ago
Dominic Gannaway ba116a1b43
fix: propagate custom element component prop changes (#12774)
1 year ago
Dominic Gannaway d8954d7add
fix: ensure custom elements do not sync flush on mount (#12787)
1 year ago
Dominic Gannaway c32a91891f
fix: ensure event handlers referencing $host are not hoisted (#12775)
1 year ago
Simon H 0f41689916
chore: unskip more tests (#12621)
1 year ago
Dominic Gannaway afa3128d2f
breaking: avoid flushing queued updates on mount/hydrate (#12602)
1 year ago
Rich Harris 8d139210b7
Revert "breaking: avoid flushing queued updates on mount/hydrate" (#12593)
1 year ago
Dominic Gannaway 20b879717a
breaking: avoid flushing queued updates on mount/hydrate (#12587)
1 year ago
Damian Stasik 84325bf89b
chore: use JSDoc type imports in more files (#12239)
1 year ago
Simon H d959d4afbe
fix: make media bindings more robust (#12206)
1 year ago
Paolo Ricciuti 6655f2c5d2
feat: better dynamic component css props (#11792)
1 year ago
Dominic Gannaway 7714c934fe
chore: deprecate html in favour of body for render() (#11927)
1 year ago
FoHoOV b963e53fc9
fix: parse ongotpointercapture and onlostpointercapture events correctly (#11790)
2 years ago
Dominic Gannaway 44115840bd
chore: cleanup more tests (#11738)
2 years ago
Paolo Ricciuti 34079a0ec5
fix: restore value after attribute removal during hydration (#11465)
2 years ago
Simon H eb7e32c168
fix: collect all necessary setters of html elements (#11371)
2 years ago
Rich Harris 8e17428316
chore: tidy up messages (#11327)
2 years ago
Rich Harris 476f2172b6
fix: mark `accessors` and `immutable` as deprecated (#11277)
2 years ago
Rich Harris 7b55bd4d89
chore: markdown warnings (#11302)
2 years ago
Rich Harris fd5f5bb85d
monkey-patch console.log and console.warn for all tests (#11265)
2 years ago
Rich Harris 42ce8d74e1
breaking: warn on self-closing non-void HTML tags (#11114)
2 years ago
Simon H 5a1c756a4e
fix: execute sole static script tag (#11095)
2 years ago
Simon H 22494be9ec
feat: introduce `$host` rune, deprecate `createEventDispatcher` (#11059)
2 years ago
Rich Harris eaa243d2da
chore: reshuffle some code (#10967)
2 years ago
Rich Harris 2079e675ea
replace skip_if_ssr and skip_if_hydrate with modes (#10956)
2 years ago
Rich Harris 4fcedb2fb1
chore: simplify hydration (#10943)
2 years ago
Simon H fff3320517
chore: custom elements validation (#10720)
2 years ago
Simon H 767b5a8824
chore: remove obsolete test (#10679)
2 years ago
Rich Harris 6afaf75a37
fix: synchronise element bindings (#10512)
2 years ago
Simon H 08978bfae8
fix: don't execute scripts inside `@html` when instantiated on the client (#10556)
2 years ago