astro/packages
Reece McDonald 26bf12ef3c
[Lit] render DSD attributes based on shadowRootOptions (#6351)
* [Lit] render DSD attributes based on `shadowRootOptions`

## Changes

- Update `@astrojs/lit`’s `server.js` to properly render elements with `delegatesFocus: false` set in their `shadowRootOptions`.
- Logic is based on `@lit-labs/ssr` [latest implementation as found here](b0c3f82ef0/packages/labs/ssr/src/lib/render-value.ts (L738))

## Testing

A test was added to ensure an element with `delegatesFocus` set to true has this attribute properly included in the rendered static markup.

* chore: add changeset
2023-02-24 12:10:56 -06:00
..
astro fix: bump undici to v5.20.0 (#6355) 2023-02-24 12:10:33 -06:00
astro-prism [ci] release (#5948) 2023-01-24 11:38:06 -05:00
astro-rss [ci] release (#6269) 2023-02-17 14:48:21 +01:00
create-astro [ci] release (#6287) 2023-02-23 14:50:11 -06:00
integrations [Lit] render DSD attributes based on shadowRootOptions (#6351) 2023-02-24 12:10:56 -06:00
markdown [ci] release (#6279) 2023-02-17 13:44:15 -05:00
telemetry fix(cookies): Update Undici to 5.20 and fix cookies behaviour (#6323) 2023-02-21 14:18:17 +01:00
webapi fix: bump undici to v5.20.0 (#6355) 2023-02-24 12:10:33 -06:00