@jetbrains/ring-ui 5.0.70 → 5.0.72

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.
@@ -16,6 +16,7 @@
16
16
  }
17
17
 
18
18
  .headingWrapperButton {
19
+ min-width: 0;
19
20
  max-width: 100%;
20
21
  margin: 0;
21
22
  padding: 0;
@@ -830,7 +830,7 @@ export default class Select extends Component {
830
830
  case Type.INLINE:
831
831
  return (<div className={classes} ref={this.nodeRef} data-test={dataTests('ring-select', dataTest)}>
832
832
  {shortcutsEnabled && (<Shortcuts map={this.getShortcutsMap()} scope={this.shortcutsScope}/>)}
833
- <Anchor {...ariaProps} id={this.props.id} onClick={this._clickHandler} data-test="ring-select__focus" disabled={this.props.disabled} active={this.state.showPopup}>
833
+ <Anchor {...ariaProps} className={this.props.buttonClassName ?? undefined} id={this.props.id} onClick={this._clickHandler} data-test="ring-select__focus" disabled={this.props.disabled} active={this.state.showPopup}>
834
834
  {this._getPlaceholder()}
835
835
  </Anchor>
836
836
  {this._renderPopup()}
@@ -920,7 +920,7 @@ class Select extends Component {
920
920
  };
921
921
  }
922
922
  renderSelect(activeItemId) {
923
- var _this$props$label3, _this$props$label4, _this$_popup5, _this$_popup5$list;
923
+ var _this$props$label3, _this$props$label4, _this$_popup5, _this$_popup5$list, _this$props$buttonCla;
924
924
  const dataTest = this.props['data-test'];
925
925
  const {
926
926
  selectedLabel
@@ -1017,6 +1017,7 @@ class Select extends Component {
1017
1017
  map: this.getShortcutsMap(),
1018
1018
  scope: this.shortcutsScope
1019
1019
  }), /*#__PURE__*/React.createElement(Anchor, _extends({}, ariaProps, {
1020
+ className: (_this$props$buttonCla = this.props.buttonClassName) !== null && _this$props$buttonCla !== void 0 ? _this$props$buttonCla : undefined,
1020
1021
  id: this.props.id,
1021
1022
  onClick: this._clickHandler,
1022
1023
  "data-test": "ring-select__focus",