placement="left"
visible={this.state.tooltipVisible}>
<Link
- className="navbar-search-item-link"
data-key={component.key}
onClick={this.props.onClose}
- onMouseEnter={this.handleMouseEnter}
to={getProjectUrl(component.key)}>
- <span className="navbar-search-item-icons little-spacer-right">
- {component.isFavorite && <FavoriteIcon favorite={true} size={12} />}
- {!component.isFavorite && component.isRecentlyBrowsed && <ClockIcon size={12} />}
- <QualifierIcon className="little-spacer-right" qualifier={component.qualifier} />
+ <span className="navbar-search-item-link" onMouseEnter={this.handleMouseEnter}>
+ <span className="navbar-search-item-icons little-spacer-right">
+ {component.isFavorite && <FavoriteIcon favorite={true} size={12} />}
+ {!component.isFavorite && component.isRecentlyBrowsed && <ClockIcon size={12} />}
+ <QualifierIcon className="little-spacer-right" qualifier={component.qualifier} />
+ </span>
+
+ {component.match ? (
+ <span
+ className="navbar-search-item-match"
+ dangerouslySetInnerHTML={{ __html: component.match }}
+ />
+ ) : (
+ <span className="navbar-search-item-match">{component.name}</span>
+ )}
+
+ {this.renderOrganization(component)}
+ {this.renderProject(component)}
</span>
-
- {component.match ? (
- <span
- className="navbar-search-item-match"
- dangerouslySetInnerHTML={{ __html: component.match }}
- />
- ) : (
- <span className="navbar-search-item-match">{component.name}</span>
- )}
-
- {this.renderOrganization(component)}
- {this.renderProject(component)}
</Link>
</Tooltip>
</li>
visible={false}
>
<Link
- className="navbar-search-item-link"
data-key="foo"
onClick={[MockFunction]}
- onMouseEnter={[Function]}
onlyActiveOnIndex={false}
style={Object {}}
to={
}
>
<span
- className="navbar-search-item-icons little-spacer-right"
+ className="navbar-search-item-link"
+ onMouseEnter={[Function]}
>
- <FavoriteIcon
- favorite={true}
- size={12}
- />
- <QualifierIcon
- className="little-spacer-right"
- qualifier="TRK"
- />
- </span>
- <span
- className="navbar-search-item-match"
- >
- foo
+ <span
+ className="navbar-search-item-icons little-spacer-right"
+ >
+ <FavoriteIcon
+ favorite={true}
+ size={12}
+ />
+ <QualifierIcon
+ className="little-spacer-right"
+ qualifier="TRK"
+ />
+ </span>
+ <span
+ className="navbar-search-item-match"
+ >
+ foo
+ </span>
</span>
</Link>
</Tooltip>
visible={false}
>
<Link
- className="navbar-search-item-link"
data-key="foo"
onClick={[MockFunction]}
- onMouseEnter={[Function]}
onlyActiveOnIndex={false}
style={Object {}}
to={
}
>
<span
- className="navbar-search-item-icons little-spacer-right"
+ className="navbar-search-item-link"
+ onMouseEnter={[Function]}
>
- <QualifierIcon
- className="little-spacer-right"
- qualifier="TRK"
+ <span
+ className="navbar-search-item-icons little-spacer-right"
+ >
+ <QualifierIcon
+ className="little-spacer-right"
+ qualifier="TRK"
+ />
+ </span>
+ <span
+ className="navbar-search-item-match"
+ dangerouslySetInnerHTML={
+ Object {
+ "__html": "f<mark>o</mark>o",
+ }
+ }
/>
</span>
- <span
- className="navbar-search-item-match"
- dangerouslySetInnerHTML={
- Object {
- "__html": "f<mark>o</mark>o",
- }
- }
- />
</Link>
</Tooltip>
</li>
visible={false}
>
<Link
- className="navbar-search-item-link"
data-key="foo"
onClick={[MockFunction]}
- onMouseEnter={[Function]}
onlyActiveOnIndex={false}
style={Object {}}
to={
}
>
<span
- className="navbar-search-item-icons little-spacer-right"
- >
- <ClockIcon
- size={12}
- />
- <QualifierIcon
- className="little-spacer-right"
- qualifier="TRK"
- />
- </span>
- <span
- className="navbar-search-item-match"
+ className="navbar-search-item-link"
+ onMouseEnter={[Function]}
>
- foo
+ <span
+ className="navbar-search-item-icons little-spacer-right"
+ >
+ <ClockIcon
+ size={12}
+ />
+ <QualifierIcon
+ className="little-spacer-right"
+ qualifier="TRK"
+ />
+ </span>
+ <span
+ className="navbar-search-item-match"
+ >
+ foo
+ </span>
+ <div
+ className="navbar-search-item-right text-muted-2"
+ >
+ bar
+ </div>
</span>
- <div
- className="navbar-search-item-right text-muted-2"
- >
- bar
- </div>
</Link>
</Tooltip>
</li>
visible={false}
>
<Link
- className="navbar-search-item-link"
data-key="foo"
onClick={[MockFunction]}
- onMouseEnter={[Function]}
onlyActiveOnIndex={false}
style={Object {}}
to={
}
>
<span
- className="navbar-search-item-icons little-spacer-right"
- >
- <ClockIcon
- size={12}
- />
- <QualifierIcon
- className="little-spacer-right"
- qualifier="TRK"
- />
- </span>
- <span
- className="navbar-search-item-match"
+ className="navbar-search-item-link"
+ onMouseEnter={[Function]}
>
- foo
+ <span
+ className="navbar-search-item-icons little-spacer-right"
+ >
+ <ClockIcon
+ size={12}
+ />
+ <QualifierIcon
+ className="little-spacer-right"
+ qualifier="TRK"
+ />
+ </span>
+ <span
+ className="navbar-search-item-match"
+ >
+ foo
+ </span>
</span>
</Link>
</Tooltip>
visible={false}
>
<Link
- className="navbar-search-item-link"
data-key="qwe"
onClick={[MockFunction]}
- onMouseEnter={[Function]}
onlyActiveOnIndex={false}
style={Object {}}
to={
}
>
<span
- className="navbar-search-item-icons little-spacer-right"
+ className="navbar-search-item-link"
+ onMouseEnter={[Function]}
>
- <ClockIcon
- size={12}
- />
- <QualifierIcon
- className="little-spacer-right"
- qualifier="BRC"
- />
- </span>
- <span
- className="navbar-search-item-match"
- >
- qwe
+ <span
+ className="navbar-search-item-icons little-spacer-right"
+ >
+ <ClockIcon
+ size={12}
+ />
+ <QualifierIcon
+ className="little-spacer-right"
+ qualifier="BRC"
+ />
+ </span>
+ <span
+ className="navbar-search-item-match"
+ >
+ qwe
+ </span>
+ <div
+ className="navbar-search-item-right text-muted-2"
+ >
+ foo
+ </div>
</span>
- <div
- className="navbar-search-item-right text-muted-2"
- >
- foo
- </div>
</Link>
</Tooltip>
</li>
visible={false}
>
<Link
- className="navbar-search-item-link"
data-key="foo"
onClick={[MockFunction]}
- onMouseEnter={[Function]}
onlyActiveOnIndex={false}
style={Object {}}
to={
}
>
<span
- className="navbar-search-item-icons little-spacer-right"
+ className="navbar-search-item-link"
+ onMouseEnter={[Function]}
>
- <ClockIcon
- size={12}
- />
- <QualifierIcon
- className="little-spacer-right"
- qualifier="TRK"
- />
- </span>
- <span
- className="navbar-search-item-match"
- >
- foo
+ <span
+ className="navbar-search-item-icons little-spacer-right"
+ >
+ <ClockIcon
+ size={12}
+ />
+ <QualifierIcon
+ className="little-spacer-right"
+ qualifier="TRK"
+ />
+ </span>
+ <span
+ className="navbar-search-item-match"
+ >
+ foo
+ </span>
</span>
</Link>
</Tooltip>
visible={false}
>
<Link
- className="navbar-search-item-link"
data-key="foo"
onClick={[MockFunction]}
- onMouseEnter={[Function]}
onlyActiveOnIndex={false}
style={Object {}}
to={
}
>
<span
- className="navbar-search-item-icons little-spacer-right"
- >
- <QualifierIcon
- className="little-spacer-right"
- qualifier="TRK"
- />
- </span>
- <span
- className="navbar-search-item-match"
+ className="navbar-search-item-link"
+ onMouseEnter={[Function]}
>
- foo
+ <span
+ className="navbar-search-item-icons little-spacer-right"
+ >
+ <QualifierIcon
+ className="little-spacer-right"
+ qualifier="TRK"
+ />
+ </span>
+ <span
+ className="navbar-search-item-match"
+ >
+ foo
+ </span>
</span>
</Link>
</Tooltip>
visible={false}
>
<Link
- className="navbar-search-item-link"
data-key="foo"
onClick={[MockFunction]}
- onMouseEnter={[Function]}
onlyActiveOnIndex={false}
style={Object {}}
to={
}
>
<span
- className="navbar-search-item-icons little-spacer-right"
- >
- <QualifierIcon
- className="little-spacer-right"
- qualifier="TRK"
- />
- </span>
- <span
- className="navbar-search-item-match"
+ className="navbar-search-item-link"
+ onMouseEnter={[Function]}
>
- foo
+ <span
+ className="navbar-search-item-icons little-spacer-right"
+ >
+ <QualifierIcon
+ className="little-spacer-right"
+ qualifier="TRK"
+ />
+ </span>
+ <span
+ className="navbar-search-item-match"
+ >
+ foo
+ </span>
</span>
</Link>
</Tooltip>