@douglasneuroinformatics/libui 4.9.0 → 4.9.1

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.
@@ -2973,7 +2973,10 @@ var BooleanFieldRadio = ({
2973
2973
  [match3, setValue]
2974
2974
  );
2975
2975
  return /* @__PURE__ */ jsxs39(FieldGroup, { name, children: [
2976
- /* @__PURE__ */ jsx114(Label3, { children: label }),
2976
+ /* @__PURE__ */ jsxs39(FieldGroup.Row, { children: [
2977
+ /* @__PURE__ */ jsx114(Label3, { children: label }),
2978
+ /* @__PURE__ */ jsx114(FieldGroup.Description, { description })
2979
+ ] }),
2977
2980
  /* @__PURE__ */ jsxs39(
2978
2981
  RadioGroup4,
2979
2982
  {
@@ -2982,30 +2985,13 @@ var BooleanFieldRadio = ({
2982
2985
  value: stringifyBoolean(value),
2983
2986
  onValueChange: handleValueChange,
2984
2987
  children: [
2985
- /* @__PURE__ */ jsx114(FieldGroup.Description, { description }),
2986
2988
  /* @__PURE__ */ jsxs39(FieldGroup.Row, { children: [
2987
2989
  /* @__PURE__ */ jsx114(RadioGroup4.Item, { id: `${name}-true`, value: "true" }),
2988
- /* @__PURE__ */ jsx114(
2989
- Label3,
2990
- {
2991
- "aria-disabled": disabled || readOnly,
2992
- className: "text-muted-foreground font-normal",
2993
- htmlFor: `${name}-true`,
2994
- children: options?.true ?? t("form.radioLabels.true")
2995
- }
2996
- )
2990
+ /* @__PURE__ */ jsx114(Label3, { "aria-disabled": disabled || readOnly, className: "text-muted-foreground", htmlFor: `${name}-true`, children: options?.true ?? t("form.radioLabels.true") })
2997
2991
  ] }),
2998
2992
  /* @__PURE__ */ jsxs39(FieldGroup.Row, { children: [
2999
2993
  /* @__PURE__ */ jsx114(RadioGroup4.Item, { id: `${name}-false`, value: "false" }),
3000
- /* @__PURE__ */ jsx114(
3001
- Label3,
3002
- {
3003
- "aria-disabled": disabled || readOnly,
3004
- className: "text-muted-foreground font-normal",
3005
- htmlFor: `${name}-false`,
3006
- children: options?.false ?? t("form.radioLabels.false")
3007
- }
3008
- )
2994
+ /* @__PURE__ */ jsx114(Label3, { "aria-disabled": disabled || readOnly, className: "text-muted-foreground", htmlFor: `${name}-false`, children: options?.false ?? t("form.radioLabels.false") })
3009
2995
  ] })
3010
2996
  ]
3011
2997
  }