<commit_before>import React from 'react'
import MenuHeader from '../MenuHeader/MenuHeader.js'
import MenuContainer from '../Menu/MenuContainer.js'
import SearchLayer from '../SearchLayer/SearchLayer.js'
import { withContentRect } from 'react-measure'

const SidebarLeft = withContentRect(['bounds', 'client'])(({
    measureRef,
    measure,
    contentRect,
    onKeyUpSearch,
    showMenu,
    onClickMenuHeader,
    onBtnCleanSearch,
    searchString,
}) => {
    var cssClass = 'sidebar-left allow-transition'
    if (!showMenu) {
        cssClass += ' hide-sidebar'
    }
    return (
            <div ref={measureRef} className={cssClass}>
                <MenuHeader onClickMenuHeader={onClickMenuHeader}/>
                <MenuContainer sidebarLeftWidth={contentRect.client.width} sidebarLeftHeight={contentRect.client.height}/>
                <SearchLayer onKeyUpSearch={onKeyUpSearch} onBtnCleanSearch={onBtnCleanSearch} searchString={searchString}/>
            </div>
    )
})

export default SidebarLeft<commit_msg>Change Modal CSS classes<commit_after>import React from 'react'
import MenuHeader from '../MenuHeader/MenuHeader.js'
import MenuContainer from '../Menu/MenuContainer.js'
import SearchLayer from '../SearchLayer/SearchLayer.js'
import { withContentRect } from 'react-measure'

const SidebarLeft = withContentRect(['bounds', 'client'])(({
    measureRef,
    measure,
    contentRect,
    onKeyUpSearch,
    showMenu,
    onClickMenuHeader,
    onBtnCleanSearch,
    searchString,
}) => {
    var cssClass = 'sidebar-left allow-transition'
    if (!showMenu) {
        cssClass += ' hide-modal'
    }
    return (
            <div ref={measureRef} className={cssClass}>
                <MenuHeader onClickMenuHeader={onClickMenuHeader}/>
                <MenuContainer sidebarLeftWidth={contentRect.client.width} sidebarLeftHeight={contentRect.client.height}/>
                <SearchLayer onKeyUpSearch={onKeyUpSearch} onBtnCleanSearch={onBtnCleanSearch} searchString={searchString}/>
            </div>
    )
})

export default SidebarLeft
{'fraction_non_alphanumeric': 0.11417513304305757, 'fraction_numerical': 0.0, 'mean_word_length': 3.4377682403433476, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, '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': '6634534', 'n_tokens_mistral': 573, 'n_tokens_neox': 564, 'n_words': 116}