<commit_before>var builder = require('focus').component.builder;
var React = require('react');
var type = require('focus').component.types;
var {pluck, sortBy} = require('lodash/collection');

var headerMixin = {
  /** @inheriteddoc */
  getDefaultProps: function getMenuDefaultProps() {
    return {
      /**
       * Selector for the domNode on which the scroll is attached.
       * @type {string}
       */
      scrollTargetSelector: undefined,
      /**
       * Default style of the component.s
       * @type {Object}
       */
      style: {},
      /**
       * Default size of the bar. Should be present in sizeMap.
       * @type {String}
       */
      size: 'tall',
      /**
       * Map which defines sizes exists for the components and their border.
       * @type {Object}
       */
       sizeMap: {
         'small': {
           'sizeBorder': 800
         },
         'medium': {
           'sizeBorder': 500
         },
         'tall': {
           'sizeBorder': 300
         }
       },
      /**
       * A way to redefine the process size of the element.
       * @type {function}
       */
      processSize: undefined,
      /**
       * A handler to notify other elements that the size has changed.
       * @type {[type]}
       */
      notifySizeChange: undefined
    };
  },
  /** @inheritdoc */
  propTypes: {
    size: type('string'),
    scrollTargetSelector: type('string'),
    style: type('object'),
    sizeMap: type('object'),
    notifySizeChange: type('function'),
    processSize: type('function')
  },<commit_msg>[header]<commit_after>var builder = require('focus').component.builder;
var React = require('react');
var type = require('focus').component.types;
var {pluck, sortBy} = require('lodash/collection');

var headerMixin = {
  /** @inheriteddoc */
  getDefaultProps: function getMenuDefaultProps() {
    return {
      /**
       * Selector for the domNode on which the scroll is attached.
       * @type {string}
       */
      scrollTargetSelector: undefined,
      /**
       * Default style of the component.s
       * @type {Object}
       */
      style: {},
      /**
       * Default size of the bar. Should be present in sizeMap.
       * @type {String}
       */
      size: 'tall',
      /**
       * Map which defines sizes exists for the components and their border.
       * @type {Object}
       */
       sizeMap: {
         'small': {
           'sizeBorder': 800
         },
         'medium': {
           'sizeBorder': 500
         },
         'tall': {
           'sizeBorder': 300
         }
       },
      /**
       * A way to redefine the process size of the element.
       * @type {function}
       */
      processSize: undefined,
      /**
       * A handler to notify other elements that the size has changed.
       * @type {[type]}
       */
      notifySizeChange: undefined
    };
  },
  /** @inheritdoc */
  propTypes: {
    size: type('string'),
    scrollTargetSelector: type('string'),
    style: type('object'),
    sizeMap: type('object'),
    notifySizeChange: type(['function', 'object']),
    processSize: type(['function', 'object'])
  },
{'fraction_non_alphanumeric': 0.136986301369863, 'fraction_numerical': 0.005734310289901242, 'mean_word_length': 1.9209302325581394, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3366547', 'n_tokens_mistral': 889, 'n_tokens_neox': 869, 'n_words': 246}