summaryrefslogtreecommitdiff
path: root/packages/integrations/lit/test/server.test.js (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-08-19Remove @astrojs/lit (#11680)Gravatar Matthew Phillips 1-134/+0
* Remove @astrojs/lit This removes the Lit integration as an official integration. The reasons for doing so in 5.0: - Only 1% of Astro users use this integration. - SSR support in Lit is at a lower-level of support due to be a Labs project: https://lit.dev/docs/libraries/labs/, and has been in this state since we added support a couple of years ago. - The maintenance cost of fixing bugs in this integration is too high given the low usage. Some PRs for upgrading Lit versions have taken quite a long time. We can't justify the core team being responsible for this going forward. - There used to be community contributions to fix bugs but this has fallen off for various reasons. Given that, this PR removes the integration as one that is officially supported by the Astro core team. Interested community members are encouraged to fork the integration and continue the development in another repository. * Remove e2e tests and examples * Update lockfile * Remove ssr-lit.test.js * Remove error for no client entrypoint * Remove auto selection of the Lit renderer * Remove lit package.json * Remove lit fixture
2024-08-08update formatter config (#11640)Gravatar Darius 1-5/+5
* update formatter config * format --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-02-21chore: use biome to sort imports - only test files (#10180)Gravatar Emanuele Stoppa 1-3/+3
* chore: use biome to sort imports * do the sorting * Update package.json Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> --------- Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-02-02chore(@astrojs/integrations/lit): use Node.js for testing (#9944)Gravatar Mohamed 1-12/+13
2023-11-08Fix Lit integration hydration ordering (#9018)Gravatar Augustine Kim 1-0/+3
* Provide renderer instance to `customElementHostStack` * Add changeset
2023-04-05Fix lit integration nested component rendering (#6752)Gravatar Augustine Kim 1-0/+24
* Provide renderInfo to renderShadow * Add test for rendering nested components * Add changeset
2023-03-29Update lit-ssr dependency (#6681)Gravatar Elliott Marquez 1-2/+8
* update lit-ssr dependency * delete unnecessary lit shim checks * delete another unused lit shim feature * fix sass build * bump lit and polyfill versions to match ssr req * shim HTMLElement in test * remove lit global shim workarounds * re-shim Astro's ce.define * remove fix window test and shim HTML Element * Update .changeset/gold-windows-fly.md Co-authored-by: Augustine Kim <ajk830@gmail.com> * fix window check test * implement suggestoins --------- Co-authored-by: Augustine Kim <ajk830@gmail.com>
2023-02-24[ci] formatGravatar natemoo-re 1-3/+6
2023-02-24[Lit] render DSD attributes based on `shadowRootOptions` (#6351)Gravatar Reece McDonald 1-0/+11
* [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](https://github.com/lit/lit/blob/b0c3f82ef0f97326a205e77e7e1043b75a5cc53f/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-01[Lit] Forwards compatiblity for streaming Declarative Shadow DOM (#6055)Gravatar Elliott Marquez 1-1/+1
* Forwards compatiblity for streaming DSD * add shadowrootmode * update tests * add changeset
2022-12-19Fix spelling mistakes found by codespell and mwic (#5627)Gravatar Anders Kaseorg 1-1/+1
2022-05-16[ci] formatGravatar matthewp 1-55/+61
2022-05-16test(@astrojs/lit): adding tests (#3375)Gravatar Daniel Vivar 1-0/+80
* test(@astrojs/lit): adding tests * changeset