// src/utils/convert-button-size.ts
var convertSizeStr = (size) => {
  switch (size) {
    case "small":
      return "1";
    case "medium":
      return "2";
    case "large":
      return "3";
    default:
      return "2";
  }
};
var convertSizeResponse = (size) => {
  if (typeof size === "string" || typeof size === "undefined") {
    return convertSizeStr(size);
  }
  const radixSize = {};
  let key = "initial";
  for (key in size) {
    radixSize[key] = convertSizeStr(size[key]);
  }
  return radixSize;
};
var convertSize = (size) => {
  if (typeof size === "string") {
    return convertSizeStr(size);
  }
  return convertSizeResponse(size);
};

export {
  convertSizeStr,
  convertSizeResponse,
  convertSize
};
//# sourceMappingURL=chunk-LQY4RKWI.js.map