Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
fix: Set css states on the right element (#5436)
Oleg Isonen348a48eae872
diff --git a/packages/sdk-components-react-radix/src/radio-group.ws.ts b/packages/sdk-components-react-radix/src/radio-group.ws.tsindex ca81dd4580..d73e4bca98 100644--- a/packages/sdk-components-react-radix/src/radio-group.ws.ts+++ b/packages/sdk-components-react-radix/src/radio-group.ws.ts@@ -16,10 +16,6 @@ export const metaRadioGroup: WsComponentMeta = {children: ["instance"],descendants: [radix.RadioGroupItem],},- states: [- { label: "Checked", selector: "[data-state=checked]" },- { label: "Unchecked", selector: "[data-state=unchecked]" },- ],presetStyle: {div,},@@ -34,6 +30,10 @@ export const metaRadioGroupItem: WsComponentMeta = {children: ["instance"],descendants: [radix.RadioGroupIndicator],},+ states: [+ { label: "Checked", selector: "[data-state=checked]" },+ { label: "Unchecked", selector: "[data-state=unchecked]" },+ ],presetStyle: {button: [button, buttonReset].flat(),},@@ -47,6 +47,10 @@ export const metaRadioGroupIndicator: WsComponentMeta = {category: "none",children: ["instance"],},+ states: [+ { label: "Checked", selector: "[data-state=checked]" },+ { label: "Unchecked", selector: "[data-state=unchecked]" },+ ],presetStyle: {span,},