File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ shadow DOM. Automatically forwards all slots and attributes to your Svelte app.
12
12
* 🌟 ** Light DOM:** Allows you to render your Svelte 3 components as custom elements in the light DOM as usual (without
13
13
requiring use of the shadow DOM). Doing so allows you to take full advantage of global styles while still maintaining
14
14
encapsulation of your component specific styles, utilizing web fonts and so on.
15
+ * 🎰 ** Slot Support:** Supports default and named slots in the light DOM on initial page load, including nesting.
15
16
* 🏃♂️ ** Instant:** Proactively renders the Svelte component _ immediately_ into the light DOM as soon as the
16
17
parser encounters the custom element while dynamically re-rendering slot content as the parser moves along. This
17
18
reduces CLS (Cumulative Layout Shift) and makes it interactive more quickly _without_ having to wait for the document
@@ -93,6 +94,7 @@ On the immediate horizon:
93
94
- [x] Better support for slots during early execution of IIFE compiled packages, i.e. use ` MutationObserver ` to watch
94
95
for light DOM slots during initial parsing (see https://github.com/patricknelson/svelte-retag/issues/7)
95
96
- [x] Support Lit-style lowercase props (see https://github.com/patricknelson/svelte-retag/pull/9 )
97
+ - [ ] Add demos (see https://github.com/patricknelson/svelte-retag/issues/11 )
96
98
- [ ] Lower priority: Support context (see https://github.com/patricknelson/svelte-retag/issues/10 )
97
99
98
100
Milestones:
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " svelte-retag" ,
3
- "version" : " 1.0.1 " ,
3
+ "version" : " 1.0.2 " ,
4
4
"description" : " Light DOM custom element wrapper for Svelte 3 with Vite HMR support" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments