astro/packages
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
..
astro Enable named slots in renderers (#3652) 2022-06-23 10:10:54 -05:00
astro-prism [ci] update lockfile (#3153) 2022-04-20 09:42:31 -04:00
astro-rss [ci] update lockfile (#3495) 2022-06-01 10:39:32 -05:00
create-astro Enables eslint on the full repo and adds a rule for no only() tests (#3659) 2022-06-22 15:59:49 +00:00
integrations Enable named slots in renderers (#3652) 2022-06-23 10:10:54 -05:00
markdown/remark Enables eslint on the full repo and adds a rule for no only() tests (#3659) 2022-06-22 15:59:49 +00:00
telemetry [ci] release (#3615) 2022-06-21 09:43:19 -04:00
webapi Enable named slots in renderers (#3652) 2022-06-23 10:10:54 -05:00