"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var RadioGroup_theme_exports = {};
__export(RadioGroup_theme_exports, {
  default: () => RadioGroup_theme_default
});
module.exports = __toCommonJS(RadioGroup_theme_exports);
const RadioGroup = ({
  radii,
  colors,
  fontWeights,
  spacing,
  borders,
  fontSizes
}) => ({
  button: {
    border: {
      radius: radii.circle,
      width: borders.small,
      color: colors.elements.backgroundAndDisabled
    },
    backgroundColor: "transparent",
    padding: {
      right: spacing.large,
      left: spacing.large
    },
    height: {
      normal: 40,
      small: 32
    }
  },
  radio: {
    size: 20,
    backgroundColor: colors.vibin,
    border: {
      radius: radii.circle
    }
  },
  font: {
    size: fontSizes.small,
    color: colors.text.primary
  },
  hover: {
    backgroundColor: colors.elements.backgroundAndDisabled
  },
  disabled: {
    backgroundColor: colors.steady
  },
  checked: {
    backgroundColor: colors.primary,
    font: {
      color: colors.white,
      weight: fontWeights.bold
    },
    hover: {
      backgroundColor: colors.primary
    }
  }
});
var RadioGroup_theme_default = RadioGroup;
