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