@rehagro/ui 1.0.44 → 1.0.45

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.js CHANGED
@@ -978,12 +978,15 @@ var sizeClasses2 = {
978
978
  };
979
979
  var radiusClasses2 = {
980
980
  none: "rh-rounded-none",
981
- xxs: "rh-rounded-xxs",
982
- xs: "rh-rounded-xs",
983
- sm: "rh-rounded-sm",
984
- md: "rh-rounded-md",
985
- lg: "rh-rounded-lg",
986
- xl: "rh-rounded-xl",
981
+ // IconButton is a square control, so it uses the same compact radius
982
+ // scale as the native implementation. The global web radius tokens are
983
+ // larger (md = 16px), which makes a 32px icon button look circular.
984
+ xxs: "rh-rounded-[2px]",
985
+ xs: "rh-rounded-[4px]",
986
+ sm: "rh-rounded-[8px]",
987
+ md: "rh-rounded-[12px]",
988
+ lg: "rh-rounded-[16px]",
989
+ xl: "rh-rounded-[24px]",
987
990
  full: "rh-rounded-full"
988
991
  };
989
992
  var IconButton = React9.forwardRef(function IconButton2({