<commit_before>define(
  'ephox.alloy.toolbar.MoreToolbar',

  [
    'ephox.alloy.toolbar.MoreOverflow',
    'ephox.alloy.toolbar.Overflowing',
    'ephox.alloy.toolbar.ToolbarSpecs',
    'ephox.boulder.api.FieldSchema',
    'ephox.boulder.api.ValueSchema',
    'ephox.compass.Arr',
    'ephox.highway.Merger',
    'ephox.peanut.Fun'
  ],

  function (MoreOverflow, Overflowing, ToolbarSpecs, FieldSchema, ValueSchema, Arr, Merger, Fun) {
    var make = function (spec) {
      var detail = ValueSchema.asStructOrDie('toolbar.spec', ToolbarSpecs.toolbarSchema(), spec);


      var groups = Arr.map(detail.groups(), ToolbarSpecs.buildGroup);

      var postprocess = function () {

      };

     // Maybe default some arguments here
      return Merger.deepMerge(spec, {
        dom: {
          tag: 'div',
          styles: {
            // display: 'flex'
          }
        },
        keying: {
          mode: 'cyclic'
        },
        components: [
          {
            uiType: 'container',
            components: groups,
            dom: {
              styles: {
                display: 'flex'
              }
            },
            replacing: { }
          }
        ],
        behaviours: [
          MoreOverflow
        ],
        'more-overflowing': {
          initGroups: groups,
          drawer: {
            uiType: 'container',
            replacing: { },
            dom: {
              styles: {
                background: 'black',
                color: 'white',
                display: 'flex',
                'flex-wrap': 'wrap'
              }
            },
            sliding: {
              mode: 'height',
              // FIX: hard-coded demo styles
              closedStyle: 'demo-sliding-closed',
              openStyle: 'demo-sliding-open',
              shrinkingStyle: 'demo-sliding-height-shrinking',
              growingStyle: 'demo-sliding-height-growing'
            }
          },
          button: {
            // FIX: Structify
            text: 'Toggle',<commit_msg>VAN-44-wheel: basic styles to show size of toolbar<commit_after>define(
  'ephox.alloy.toolbar.MoreToolbar',

  [
    'ephox.alloy.toolbar.MoreOverflow',
    'ephox.alloy.toolbar.Overflowing',
    'ephox.alloy.toolbar.ToolbarSpecs',
    'ephox.boulder.api.FieldSchema',
    'ephox.boulder.api.ValueSchema',
    'ephox.compass.Arr',
    'ephox.highway.Merger',
    'ephox.peanut.Fun'
  ],

  function (MoreOverflow, Overflowing, ToolbarSpecs, FieldSchema, ValueSchema, Arr, Merger, Fun) {
    var make = function (spec) {
      var detail = ValueSchema.asStructOrDie('toolbar.spec', ToolbarSpecs.toolbarSchema(), spec);


      var groups = Arr.map(detail.groups(), ToolbarSpecs.buildGroup);

      var postprocess = function () {

      };

     // Maybe default some arguments here
      return Merger.deepMerge(spec, {
        dom: {
          tag: 'div',
          styles: {
            // display: 'flex'
          }
        },
        keying: {
          mode: 'cyclic'
        },
        components: [
          {
            uiType: 'container',
            components: groups,
            dom: {
              styles: {
                display: 'flex',
                background: '#333'
              }
            },
            replacing: { }
          }
        ],
        behaviours: [
          MoreOverflow
        ],
        'more-overflowing': {
          initGroups: groups,
          drawer: {
            uiType: 'container',
            replacing: { },
            dom: {
              styles: {
                background: 'white',
                color: 'black',
                display: 'flex',
                'flex-wrap': 'wrap'
              }
            },
            sliding: {
              mode: 'height',
              // FIX: hard-coded demo styles
              closedStyle: 'demo-sliding-closed',
              openStyle: 'demo-sliding-open',
              shrinkingStyle: 'demo-sliding-height-shrinking',
              growingStyle: 'demo-sliding-height-growing'
            }
          },
          button: {
            // FIX: Structify
            text: 'Toggle',
{'fraction_non_alphanumeric': 0.1213439690597051, 'fraction_numerical': 0.001208605269518975, 'mean_word_length': 1.3863898500576701, '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': '3098914', 'n_tokens_mistral': 1180, 'n_tokens_neox': 1174, 'n_words': 208}