From 4c32664c342bdba8b21b05f1ae1de11b75055596 Mon Sep 17 00:00:00 2001 From: Lidiya Georgieva Date: Mon, 9 Mar 2026 16:19:04 +0200 Subject: [PATCH] feat(ui5-radio-button): add parts for overstyling JIRA: 3609 --- packages/main/src/RadioButton.ts | 4 ++++ packages/main/src/RadioButtonTemplate.tsx | 7 ++++--- packages/main/test/pages/RadioButton.html | 2 ++ .../main/test/pages/styles/RadioButton.css | 21 ++++++++++++++++++- 4 files changed, 30 insertions(+), 4 deletions(-) diff --git a/packages/main/src/RadioButton.ts b/packages/main/src/RadioButton.ts index 4df2410d4b7a..34bdb7aa25d6 100644 --- a/packages/main/src/RadioButton.ts +++ b/packages/main/src/RadioButton.ts @@ -68,6 +68,10 @@ let activeRadio: RadioButton; * @public * @csspart outer-ring - Used to style the outer ring of the `ui5-radio-button`. * @csspart inner-ring - Used to style the inner ring of the `ui5-radio-button`. + * @csspart ring - Used to style the ring of the `ui5-radio-button`. + * @csspart label - Used to style the label of the `ui5-radio-button`. + * @csspart radio-button-inner - Used to style the inner element of the `ui5-radio-button`. + * @csspart svg - Used to style the svg element of the `ui5-radio-button`. */ @customElement({ tag: "ui5-radio-button", diff --git a/packages/main/src/RadioButtonTemplate.tsx b/packages/main/src/RadioButtonTemplate.tsx index 40a5d018854b..cd16b1f2ccdf 100644 --- a/packages/main/src/RadioButtonTemplate.tsx +++ b/packages/main/src/RadioButtonTemplate.tsx @@ -5,6 +5,7 @@ import Label from "./Label.js"; export default function RadioButtonTemplate(this: RadioButton) { return (