refactor(esl-image): officially deprecate ESLImage#3742
Conversation
There was a problem hiding this comment.
Pull request overview
This PR deprecates the legacy ESLImage custom element and removes it from the primary ESL “all” entrypoints, while keeping it available for the website demo app via explicit legacy imports.
Changes:
- Mark
ESLImageas deprecated in its JSDoc. - Remove
esl-imageexports/styles frompackages/esl/src/all.tsandpackages/esl/src/all.less. - Re-add legacy
ESLImageexports/styles explicitly inpackages/esl-websitefor demos.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/esl/src/esl-image/core/esl-image.ts | Adds a deprecation notice to the ESLImage public API docs. |
| packages/esl/src/all.ts | Stops re-exporting legacy esl-image from the main barrel entrypoint. |
| packages/esl/src/all.less | Stops including legacy esl-image styles in the aggregated LESS bundle. |
| packages/esl-website/src/lib.ts | Re-exports ESLImage via a deep import for website demos. |
| packages/esl-website/src/lib.less | Re-imports legacy esl-image LESS for website demos. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Coverage Impact This PR will not change total coverage. 🚦 See full report on Qlty Cloud »🛟 Help
|

No description provided.