<commit_before>import React from 'react';
import styled from 'styled-components';

import Label from '../label/Label';
import getRadioFillVariables from './radio-fill-variables';
import { useTheme } from '../../util/useTheme';
import ValidationContext from '../ValidationContext';
import useUniqueId from '../../util/useUniqueId';

function radioFill(color) {
  return `
    background-color: ${color};
    border-radius: 50%;
    content: '';
    display: block;
    height: 13px;
    left: 3px;
    position: relative;
    width: 13px;
    top: 3px;
    transition: background 0.25s linear;
  `;
}

const RadioLabel = styled(Label)`
  align-items: flex-start;
  color: ${props => (props.disabled ? props.theme.colors.gray7 : 'inherit')};
  cursor: pointer;
  display: flex;
  font-size: ${props => props.theme.sizes.baseFontSize};
  font-weight: normal;
  line-height: ${props => props.theme.sizes.baseLineHeight};
  margin-right: 15px;
  margin-bottom: 10px;
  position: relative;
  padding: 10px 0 10px 10px;
  text-transform: none;

  &:last-of-type {
    margin-bottom: 0;
  }

  &:hover .es-radio__fill:before {
    ${props => !props.checked && radioFill(props.hoverFillColor)};
  }<commit_msg>Fix: really fixing the radio this time<commit_after>import React from 'react';
import styled from 'styled-components';

import Label from '../label/Label';
import getRadioFillVariables from './radio-fill-variables';
import { useTheme } from '../../util/useTheme';
import ValidationContext from '../ValidationContext';
import useUniqueId from '../../util/useUniqueId';

function radioFill(color) {
  return `
    background-color: ${color};
    border-radius: 50%;
    content: '';
    display: block;
    height: 13px;
    left: 3px;
    position: relative;
    width: 13px;
    top: 3px;
    transition: background 0.25s linear;
  `;
}

const RadioLabel = styled(Label)`
  align-self: flex-start;
  color: ${props => (props.disabled ? props.theme.colors.gray7 : 'inherit')};
  cursor: pointer;
  display: flex;
  font-size: ${props => props.theme.sizes.baseFontSize};
  font-weight: normal;
  line-height: ${props => props.theme.sizes.baseLineHeight};
  margin-right: 15px;
  margin-bottom: 10px;
  position: relative;
  padding: 10px 0 10px 10px;
  text-transform: none;

  &:last-of-type {
    margin-bottom: 0;
  }

  &:hover .es-radio__fill:before {
    ${props => !props.checked && radioFill(props.hoverFillColor)};
  }
{'fraction_non_alphanumeric': 0.15210222588623248, 'fraction_numerical': 0.01978565539983512, 'mean_word_length': 3.6763005780346822, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1466136', 'n_tokens_mistral': 824, 'n_tokens_neox': 778, 'n_words': 196}