@jetbrains/ring-ui 5.0.50 → 5.0.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -800,7 +800,7 @@ export default class QueryAssist extends Component {
800
800
 
801
801
  <PopupMenu hidden={!this.state.showPopup} onCloseAttempt={this.closePopup} ref={this.popupRef} anchorElement={this.node} keepMounted attached className={this.props.popupClassName} directions={[PopupMenu.PopupProps.Directions.BOTTOM_RIGHT]} data={useCustomItemRender ? this.state.suggestions : this.renderSuggestions()} data-test="ring-query-assist-popup" hint={this.props.hint} hintOnSelection={this.props.hintOnSelection} left={this.getPopupOffset(this.state.suggestions)} maxHeight={PopupMenu.PopupProps.MaxHeight.SCREEN} onMouseDown={this.trackPopupMouseState} onMouseUp={this.trackPopupMouseState} onSelect={item => this.handleComplete(item)}/>
802
802
 
803
- {glass && huge && (<div className={styles.rightSearchButton}>
803
+ {glass && huge && (<div className={styles.rightSearchButton} data-test="query-assist-search-button">
804
804
  <Icon glyph={searchIcon} className={styles.rightSearchIcon} title={this.props.translations.searchTitle} onClick={this.handleApply} ref={this.glassRef} data-test="query-assist-search-icon"/>
805
805
  </div>)}
806
806
  </div>
@@ -860,7 +860,8 @@ class QueryAssist extends Component {
860
860
  onMouseUp: this.trackPopupMouseState,
861
861
  onSelect: item => this.handleComplete(item)
862
862
  }), glass && huge && /*#__PURE__*/React.createElement("div", {
863
- className: modules_da7ab055.rightSearchButton
863
+ className: modules_da7ab055.rightSearchButton,
864
+ "data-test": "query-assist-search-button"
864
865
  }, /*#__PURE__*/React.createElement(Icon, {
865
866
  glyph: searchIcon,
866
867
  className: modules_da7ab055.rightSearchIcon,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetbrains/ring-ui",
3
- "version": "5.0.50",
3
+ "version": "5.0.51",
4
4
  "description": "JetBrains UI library",
5
5
  "author": "JetBrains",
6
6
  "license": "Apache-2.0",
@@ -259,5 +259,5 @@
259
259
  "node": ">=14.0",
260
260
  "npm": ">=6.0.0"
261
261
  },
262
- "gitHead": "f9a86300840ce2acfa803bef4d7b2d554c481a9c"
262
+ "gitHead": "ded81421e50b16b0b3939a51b372fee92deae595"
263
263
  }