Ryan Gossiaux
91a7660f08
Type <Render> using $$Props
2022-03-18 11:19:25 -07:00
Ryan Gossiaux
3014990142
Do not pass static down to underlying HTML elements
...
Since it was not explicitly exported it appeared in $$restProps. Harmless, but clutters up the HTML.
2022-03-06 15:51:39 -08:00
Ryan Gossiaux
87aadf2490
Fix style attribute getting wiped away incorrectly
...
This fixes an issue where any update to a component would un-set the `style` attribute, which interacts poorly with actions that use inline styles (like Popper)
2022-02-25 18:41:12 -08:00
Ryan Gossiaux
495fa64bf9
Support style as a function
...
Seems useful to add.
Also improve the prop typing of <Render>, marginally, though as these types do not carry over to end users yet, it's just cosmetic for now.
2022-02-01 12:38:35 -08:00
Ryan Gossiaux
6d2aa60d22
Use new TS option to preserve imports in tests
...
These assertions were here to prevent imports (needed for svelte-inine-compile) from being removed.
2022-01-17 23:59:29 -05:00
Ryan Gossiaux
d21287eace
Support Features rendering / static/unmount props
...
Fixes #1
2021-12-22 11:55:52 -08:00
Ryan Gossiaux
6bb8554890
Rename slot to slotProps in <Render>
...
Conflicted with Svelte's use of the `slot` attribute
2021-12-20 18:26:12 -08:00
Ryan Gossiaux
dccb6fbbd9
Implement initial Render component
...
This supports everything except the RenderStrategy/hidden/unmount type stuff, while I'll add in a later commit.
2021-12-20 15:45:22 -08:00
Ryan Gossiaux
82b138f0ae
Run prettier over everything and fix some imports
2021-12-13 18:22:16 -08:00
Ryan Gossiaux
db9ec57065
Initial commit with files
...
Still need to fix the imports
2021-12-13 17:13:47 -08:00