@abgov/react-components 5.4.0 → 5.5.0

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/index.mjs CHANGED
@@ -286,7 +286,7 @@ function GoAButton({
286
286
  type,
287
287
  size,
288
288
  variant,
289
- disabled,
289
+ disabled: disabled || void 0,
290
290
  leadingicon: leadingIcon,
291
291
  trailingicon: trailingIcon,
292
292
  width,
@@ -3409,9 +3409,10 @@ function GoAText(props) {
3409
3409
  return /* @__PURE__ */ jsx(
3410
3410
  "goa-text",
3411
3411
  {
3412
- as: props.as || "div",
3412
+ as: props.as,
3413
3413
  size: props.size,
3414
- maxwidth: props.maxWidth || "65ch",
3414
+ maxwidth: props.maxWidth,
3415
+ color: props.color,
3415
3416
  mt: props.mt,
3416
3417
  mb: props.mb,
3417
3418
  ml: props.ml,