infinity-ui-elements 1.9.24 → 1.9.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -3962,7 +3962,7 @@ const Radio = React.forwardRef(({ label, errorText, size = "medium", validationS
3962
3962
  }
3963
3963
  }, children: radioContent }), shouldShowError && (jsx(FormFooter, { helperText: errorText, validationState: "negative", size: size, isDisabled: isDisabled }))] }));
3964
3964
  }
3965
- return (jsxs("div", { className: cn("inline-flex flex-col w-full", containerClassName), children: [radioContent, shouldShowError && (jsx(FormFooter, { helperText: errorText, validationState: "negative", size: size, isDisabled: isDisabled }))] }));
3965
+ return (jsxs("div", { className: cn(`inline-flex flex-col ${variant === "default" ? "w-auto" : "w-full"}`, containerClassName), children: [radioContent, shouldShowError && (jsx(FormFooter, { helperText: errorText, validationState: "negative", size: size, isDisabled: isDisabled }))] }));
3966
3966
  });
3967
3967
  Radio.displayName = "Radio";
3968
3968