@jetbrains/ring-ui 5.0.70 → 5.0.71
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.
|
@@ -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()}
|
package/dist/select/select.js
CHANGED
|
@@ -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",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetbrains/ring-ui",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.71",
|
|
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": "
|
|
262
|
+
"gitHead": "5027a18cb3c30434258d27235707c9ad23b13364"
|
|
263
263
|
}
|