"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 Input_theme_exports = {};
__export(Input_theme_exports, {
  default: () => Input_theme_default
});
module.exports = __toCommonJS(Input_theme_exports);
const Input = ({
  colors,
  fontSizes,
  fontWeights,
  lineHeights,
  borders,
  radii,
  spacing
}) => ({
  width: 320,
  height: 52,
  font: {
    color: {
      default: colors.text.secondary,
      focus: colors.text.primary
    },
    size: fontSizes.small,
    weight: fontWeights.regular,
    lineHeight: lineHeights.small
  },
  border: {
    width: borders.small,
    radius: radii.small,
    color: {
      default: colors.elements.lineAndBorders,
      typed: colors.text.primary
    }
  },
  padding: {
    top: spacing.small,
    right: spacing.small,
    bottom: spacing.small,
    left: spacing.small
  },
  label: {
    color: {
      default: colors.text.secondary,
      focus: colors.text.primary
    },
    padding: {
      right: spacing.xxxsmall,
      left: spacing.xxxsmall
    },
    font: {
      size: {
        default: fontSizes.small,
        typed: fontSizes.xsmall
      },
      weight: fontWeights.regular,
      lineHeight: {
        default: lineHeights.small,
        typed: lineHeights.xsmall
      }
    }
  },
  helper: {
    color: {
      default: colors.text.secondary,
      focus: colors.text.primary
    },
    margin: {
      top: spacing.xxxsmall
    },
    font: {
      size: fontSizes.xsmall,
      weight: fontWeights.regular,
      lineHeight: lineHeights.xsmall
    }
  }
});
var Input_theme_default = Input;
