-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: custom elements rework #8457
Merged
dummdidumm
merged 42 commits into
sveltejs:version-4
from
dummdidumm:custom-elements-rework
May 2, 2023
+969
−449
Merged
Changes from 7 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
52f911c
wip
dummdidumm 1131584
handle boolean attributes
dummdidumm 82de3f6
introduce svelte:option cePropsDefinition
dummdidumm a4102f0
lint, cleanup, fix test
dummdidumm 00d0405
handle dynamic slot content
dummdidumm 07af512
inline styles for custom elements mode
dummdidumm 62e6d06
remove unused styles param
dummdidumm 868fb23
mount and render after a tick
dummdidumm a31d4a5
use $set, remove lowercase property handling in favor of attribute co…
dummdidumm 931b7f5
cePropsDefinition -> ceProps
dummdidumm 1241f43
test for context
dummdidumm 765023d
fix: html space entities lost in component slot (#8464)
xxkl1 75aec41
breaking: send in/out to transition fn (#8318)
tivac c729829
chore: remove node<14 tests (#8482)
dummdidumm eedacc9
chore: simplify Svelte 4 CI (#8487)
benmccann abd760d
chore: bump engines field (#8489)
benmccann 1e2cfa4
chore: upgrade to TypeScript 5 (#8488)
benmccann 42e0f7d
chore: Svelte 4 dependency upgrades (#8486)
benmccann c9ccd6e
chore: upgrade rollup (#8491)
benmccann 149c100
Merge branch 'version-4' into custom-elements-rework
dummdidumm 96e9768
handle event listener registration before mount; handle unregister
dummdidumm 840a7be
implement shadowdom option
dummdidumm 573784c
chore: run fewer CI jobs (#8496)
benmccann d6bcddd
breaking: improve types for `createEventDispatcher` (#7224)
ivanhofer 56a6738
breaking: conditional ActionReturn type if Parameter is void (#7442)
tanhauhau 9460616
feat: add `a11y-no-static-element-interactions` compiler rule (#8251)
timmcca-be 88728e3
fix: bind null option and input values consistently (#8328)
theodorejb d1a9722
feat: add a11y `no-noninteractive-element-interactions` (#8391)
ngtr6788 e790740
Merge branch 'version-4' into custom-elements-rework
dummdidumm daadae9
changelog
dummdidumm 39333b1
chore: remove Node 8 and 10 logic (#8503)
baseballyama 662804e
chore: produce single bundle for runtime with multiple entrypoints (#…
gtm-nayan 350c6c3
breaking: update onMount type definition to prevent async function re…
chrskerr 1f93e30
Merge branch 'version-4' into custom-elements-rework
dummdidumm 9eb73e0
Merge branch 'version-4' into custom-elements-rework
dummdidumm b63a6aa
Merge branch 'custom-elements-rework' of https://github.com/dummdidum…
dummdidumm 00e6df8
add custom element version as static property for later custom regist…
dummdidumm 1e82718
Merge branch 'version-4' into custom-elements-rework
dummdidumm 5804b69
ceProps -> customElement.props, tag -> customElement/customElement.ta…
dummdidumm ad00392
lint, tests
dummdidumm 424fcbc
hide from public type definition
dummdidumm 8fe3c3a
fix rollup config
dummdidumm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe give specific explanation of why it failed, eg