<commit_before>import React, { Component } from "react";
import PropTypes from "prop-types";
import { ThemeContext } from "@hig/theme-context";

import { cx, css } from "emotion";

import stylesheet from "./Spacer.stylesheet";
import { AVAILABLE_SIZES } from "./availableSizes";

export default class Spacer extends Component {
  static propTypes = {
    /** Used for passing custom values to the spacer, in lieu of a fixed amount */
    size: PropTypes.string,
    /** Sets the size of the spacer */
    spacing: PropTypes.oneOf(AVAILABLE_SIZES)
  };

  static defaultProps = {
    spacing: "m"
  };

  render() {
    const { size, spacing } = this.props;
    return (
      <ThemeContext.Consumer>
        {({ resolvedRoles }) => {
          const styles = stylesheet({ size, spacing }, resolvedRoles);
          return <div className={cx(css(styles.spacer), "hig__spacer-v1")} />;
        }}
      </ThemeContext.Consumer>
    );
  }
}<commit_msg>fix: remove spacer classname<commit_after>import React, { Component } from "react";
import PropTypes from "prop-types";
import { ThemeContext } from "@hig/theme-context";

import { css } from "emotion";

import stylesheet from "./Spacer.stylesheet";
import { AVAILABLE_SIZES } from "./availableSizes";

export default class Spacer extends Component {
  static propTypes = {
    /** Used for passing custom values to the spacer, in lieu of a fixed amount */
    size: PropTypes.string,
    /** Sets the size of the spacer */
    spacing: PropTypes.oneOf(AVAILABLE_SIZES)
  };

  static defaultProps = {
    spacing: "m"
  };

  render() {
    const { size, spacing } = this.props;
    return (
      <ThemeContext.Consumer>
        {({ resolvedRoles }) => {
          const styles = stylesheet({ size, spacing }, resolvedRoles);
          return <div className={css(styles.spacer)} />;
        }}
      </ThemeContext.Consumer>
    );
  }
}
{'fraction_non_alphanumeric': 0.12916887241926944, 'fraction_numerical': 0.0005293806246691371, 'mean_word_length': 3.0471092077087794, 'pattern_counts': {'":': 0, '<': 9, '<?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': '5911748', 'n_tokens_mistral': 564, 'n_tokens_neox': 550, 'n_words': 163}