@basic-ui/material 1.0.0-alpha.54 → 1.0.0-alpha.55

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.
@@ -784,7 +784,7 @@ const BaseButton = /*#__PURE__*/react$1.forwardRef((props, ref) => {
784
784
  isGroupedButton,
785
785
  ...otherProps
786
786
  } = props;
787
- const sizeStyle = sizeStyles[size];
787
+ const sizeStyle = sizeStyles[size] ?? sizeStyles['sm'];
788
788
  const iconOnly = isIconVariant(variantProp);
789
789
  const contentButton = !iconOnly;
790
790
  return /*#__PURE__*/jsxRuntime.jsx(Box, {