Hotfix: Reintroduce deprecated UUI components - #23628
Conversation
|
Claude finished @nielslyngsoe's task in 3m 22s —— View job PR ReviewTarget: Re-implements two removed UUI v1 components (
Important
Suggestions
Request ChangesThe CSS nesting bug in |
There was a problem hiding this comment.
Pull request overview
This PR reintroduces several deprecated Umbraco UI (UUI v1) components into the backoffice’s external/uui compatibility layer, so older consumers can continue to compile and run while the codebase transitions to newer replacements.
Changes:
- Adds deprecated
uui-popovercustom element implementation and its close event. - Adds deprecated
uui-caretcustom element implementation. - Re-exports the deprecated components from
src/external/uui/index.tsbehind “remove in v18” TODO notes.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 9 comments.
| File | Description |
|---|---|
| src/Umbraco.Web.UI.Client/src/external/uui/UUIPopoverEvent.ts | Introduces deprecated popover close event type for compatibility. |
| src/Umbraco.Web.UI.Client/src/external/uui/uui-popover.element.ts | Reintroduces deprecated uui-popover element implementation and behavior. |
| src/Umbraco.Web.UI.Client/src/external/uui/uui-caret.element.ts | Reintroduces deprecated uui-caret element implementation. |
| src/Umbraco.Web.UI.Client/src/external/uui/index.ts | Exposes the deprecated components via the external UUI barrel exports. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|



Implementing and exporting deprecated components from UUI v.1