@abgov/react-components 5.4.1 → 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.js CHANGED
@@ -288,7 +288,7 @@ function GoAButton({
288
288
  type,
289
289
  size,
290
290
  variant,
291
- disabled,
291
+ disabled: disabled || void 0,
292
292
  leadingicon: leadingIcon,
293
293
  trailingicon: trailingIcon,
294
294
  width,
@@ -3411,9 +3411,10 @@ function GoAText(props) {
3411
3411
  return /* @__PURE__ */ jsxRuntime.jsx(
3412
3412
  "goa-text",
3413
3413
  {
3414
- as: props.as || "div",
3414
+ as: props.as,
3415
3415
  size: props.size,
3416
- maxwidth: props.maxWidth || "65ch",
3416
+ maxwidth: props.maxWidth,
3417
+ color: props.color,
3417
3418
  mt: props.mt,
3418
3419
  mb: props.mb,
3419
3420
  ml: props.ml,