0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/integrations
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
..
alpinejs [ci] release (#5995) 2023-01-30 12:38:31 -05:00
cloudflare [ci] release (#6287) 2023-02-23 14:50:11 -06:00
deno [ci] release (#6287) 2023-02-23 14:50:11 -06:00
image [ci] release (#6287) 2023-02-23 14:50:11 -06:00
lit [Lit] render DSD attributes based on shadowRootOptions (#6351) 2023-02-24 12:10:56 -06:00
mdx [ci] release (#6287) 2023-02-23 14:50:11 -06:00
netlify [ci] release (#6287) 2023-02-23 14:50:11 -06:00
node [ci] release (#6287) 2023-02-23 14:50:11 -06:00
partytown [ci] release (#5948) 2023-01-24 11:38:06 -05:00
preact [ci] release (#6200) 2023-02-13 15:26:13 -05:00
prefetch [ci] release (#5995) 2023-01-30 12:38:31 -05:00
react [ci] release (#5995) 2023-01-30 12:38:31 -05:00
sitemap [ci] release (#6287) 2023-02-23 14:50:11 -06:00
solid [ci] release (#6094) 2023-02-02 15:38:04 -05:00
svelte [ci] release (#6287) 2023-02-23 14:50:11 -06:00
tailwind [ci] release (#6287) 2023-02-23 14:50:11 -06:00
turbolinks [ci] release (#5995) 2023-01-30 12:38:31 -05:00
vercel [ci] release (#6287) 2023-02-23 14:50:11 -06:00
vue [ci] release (#6287) 2023-02-23 14:50:11 -06:00