<commit_before>/* VisibilityIcon - visually represent public vs private */
import PropTypes from 'prop-types';
import React from 'react';

import MIcon from 'components/MIcon';

const toIcon = {
  private: 'lock',
  team: 'people',
};

export default function VisibilityIcon({ drop = false, label }) {
  return (
    <MIcon drop={drop ? '4px' : undefined} style={{ opacity: 0.5 }} title={label}>
      {toIcon[label]}
    </MIcon>
  );
}

VisibilityIcon.propTypes = {
  drop: PropTypes.bool,
  label: PropTypes.string,
};<commit_msg>tweak transparency on privacy icons<commit_after>/* VisibilityIcon - visually represent public vs private */
import PropTypes from 'prop-types';
import React from 'react';

import MIcon from 'components/MIcon';

const toIcon = {
  private: 'lock',
  team: 'people',
};

export default function VisibilityIcon({ drop = false, label }) {
  return (
    <MIcon drop={drop ? '4px' : undefined} style={{ opacity: 0.3 }} title={label}>
      {toIcon[label]}
    </MIcon>
  );
}

VisibilityIcon.propTypes = {
  drop: PropTypes.bool,
  label: PropTypes.string,
};
{'fraction_non_alphanumeric': 0.14522058823529413, 'fraction_numerical': 0.0055147058823529415, 'mean_word_length': 4.112676056338028, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '520160', 'n_tokens_mistral': 340, 'n_tokens_neox': 341, 'n_words': 100}