astro/packages/integrations
Nate Moore 7373d61cdc
Enable named slots in renderers (#3652)
* feat: pass all slots to renderers

* refactor: pass `slots` as top-level props

* test: add named slot test for frameworks

* fix: nested hydration, slots that are not initially rendered

* test: add nested-recursive e2e test

* fix: render unmatched custom element children

* chore: update lockfile

* fix: unrendered slots for client:only

* fix(lit): ensure lit integration uses new slots API

* chore: add changeset

* chore: add changesets

* fix: lit slots

* feat: convert dash-case or snake_case slots to camelCase for JSX

* feat: remove tmpl special logic

* test: add slot components-in-markdown test

* refactor: prefer Object.entries.map() to for/of loop

Co-authored-by: Nate Moore <nate@astro.build>
2022-06-23 10:10:54 -05:00
..
cloudflare feat: update @astrojs/cloudflare readme (#3616) 2022-06-16 15:16:25 -05:00
deno Enables eslint on the full repo and adds a rule for no only() tests (#3659) 2022-06-22 15:59:49 +00:00
lit Enable named slots in renderers (#3652) 2022-06-23 10:10:54 -05:00
netlify Enables eslint on the full repo and adds a rule for no only() tests (#3659) 2022-06-22 15:59:49 +00:00
node [ci] format 2022-06-06 16:49:53 +00:00
partytown [ci] release (#3684) 2022-06-23 09:14:17 -04:00
preact Enable named slots in renderers (#3652) 2022-06-23 10:10:54 -05:00
react Enable named slots in renderers (#3652) 2022-06-23 10:10:54 -05:00
sitemap Enables eslint on the full repo and adds a rule for no only() tests (#3659) 2022-06-22 15:59:49 +00:00
solid Enable named slots in renderers (#3652) 2022-06-23 10:10:54 -05:00
svelte Enable named slots in renderers (#3652) 2022-06-23 10:10:54 -05:00
tailwind [ci] format 2022-06-06 16:49:53 +00:00
turbolinks [ci] release (#3378) 2022-05-17 11:50:18 -04:00
vercel Enables eslint on the full repo and adds a rule for no only() tests (#3659) 2022-06-22 15:59:49 +00:00
vue Enable named slots in renderers (#3652) 2022-06-23 10:10:54 -05:00