From 7f187ef9cf445e4d6bcd69d7ccfe7c4aafb3e61c Mon Sep 17 00:00:00 2001 From: Yogesh Kumar Baljeet Singh Date: Fri, 6 Jun 2025 17:51:18 +0200 Subject: [PATCH 1/2] change where `style` is applied --- chartlets.js/packages/lib/src/plugins/mui/RadioGroup.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chartlets.js/packages/lib/src/plugins/mui/RadioGroup.tsx b/chartlets.js/packages/lib/src/plugins/mui/RadioGroup.tsx index d721352a..c4d72a99 100644 --- a/chartlets.js/packages/lib/src/plugins/mui/RadioGroup.tsx +++ b/chartlets.js/packages/lib/src/plugins/mui/RadioGroup.tsx @@ -6,7 +6,7 @@ import MuiFormControlLabel from "@mui/material/FormControlLabel"; import MuiFormLabel from "@mui/material/FormLabel"; import { Tooltip } from "./Tooltip"; -import type { ComponentState, ComponentProps } from "@/index"; +import type { ComponentProps, ComponentState } from "@/index"; interface RadioState extends ComponentState { type: "Radio"; @@ -54,13 +54,14 @@ export function RadioGroup({ }; return ( - + {label} {radioButtons && From 52e1bef42577272b671c9912fe903aa7fe49c1ce Mon Sep 17 00:00:00 2001 From: Yogesh Kumar Baljeet Singh Date: Fri, 6 Jun 2025 17:52:18 +0200 Subject: [PATCH 2/2] update CHANGES.md --- chartlets.js/CHANGES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chartlets.js/CHANGES.md b/chartlets.js/CHANGES.md index 4582dd84..75f38343 100644 --- a/chartlets.js/CHANGES.md +++ b/chartlets.js/CHANGES.md @@ -3,6 +3,8 @@ * Implemented dynamic resizing for Vega Charts when the side panel's width changes. See https://github.com/xcube-dev/xcube/issues/1134 + +* Styles are now correctly applied to `RadioGroup` component. ## Version 0.1.5 (from 2025/03/21)