hunk.code_window: export type MenuListComponentProps = CommonProps &
     MenuListProps &
     MenuListState;
   export const menuListCSS = ({ maxHeight }: MenuListComponentProps) => ({
     maxHeight,
     overflowY: 'auto',
     paddingBottom: spacing.baseUnit,
     paddingTop: spacing.baseUnit,
     position: 'relative', // required for offset[Height, Top] > keyboard scroll
  
hunk.labels: keep keep keep replace replace keep keep keep keep
hunk.after_edit: export const menuListCSS = () => ({
     flex: '0 1 100%',
  
hunk.file_path: src/components/Menu.js
hunk.type: replace
file: // @flow
  import React, { type ElementRef } from 'react';
  import AutosizeInput from 'react-input-autosize';
  
  import { colors, spacing } from '../theme';
  
  import type { PropsWithStyles, ClassNamesState } from '../types';
  
  export type InputProps = PropsWithStyles & {
    cx: (?string | null, ?ClassNamesState, ?string) => string | void,
    /** Reference to the internal element */
    innerRef: (ElementRef<*>) => void,
    /** Set whether the input should be visible. Does not affect input size. */
    isHidden: boolean,
    /** Whether the input is disabled */
    isDisabled?: boolean,
    className?: string,
  };
  
  export const css = ({ isDisabled }: InputProps) => ({
    margin: spacing.baseUnit / 2,
    paddingBottom: spacing.baseUnit / 2,
    paddingTop: spacing.baseUnit / 2,
    visibility: isDisabled ? 'hidden' : 'visible',
    color: colors.text,
  });
  const inputStyle = isHidden => ({
    background: 0,
    border: 0,
    fontSize: 'inherit',
    opacity: isHidden ? 0 : 1,
    outline: 0,
    padding: 0,
    color: 'inherit',
  });
  
  const Input = ({
    className,
    cx,
    getStyles,
    innerRef,
    isHidden,
    isDisabled,
    ...props
  }: InputProps) => (
    <div css={getStyles('input', props)}>
      <AutosizeInput
        className={cx(null, { 'input': true }, className)}
        inputRef={innerRef}
        inputStyle={inputStyle(isHidden)}
        disabled={isDisabled}
        {...props}
      />
    </div>
  );
  
  export default Input;
  