@jetbrains/ring-ui 6.0.9 → 6.0.10
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.
|
@@ -26,7 +26,6 @@ export interface InputBaseProps {
|
|
|
26
26
|
error?: ReactNode | null | undefined;
|
|
27
27
|
borderless?: boolean | null | undefined;
|
|
28
28
|
onClear?: ((e: React.MouseEvent<HTMLButtonElement>) => void) | null | undefined;
|
|
29
|
-
loading?: boolean | null | undefined;
|
|
30
29
|
icon?: string | ComponentType | null | undefined;
|
|
31
30
|
height?: ControlsHeight | undefined;
|
|
32
31
|
afterInput?: ReactNode;
|
|
@@ -813,7 +813,7 @@ export default class Select extends Component {
|
|
|
813
813
|
case Type.INPUT: return (<>
|
|
814
814
|
<div ref={this.nodeRef} className={classNames(classes, styles.inputMode)} data-test={dataTests('ring-select', dataTest)}>
|
|
815
815
|
{shortcutsEnabled && (<Shortcuts map={this.getShortcutsMap()} scope={this.shortcutsScope}/>)}
|
|
816
|
-
<Input {...ariaProps}
|
|
816
|
+
<Input {...ariaProps} height={this.props.height} autoComplete="off" id={this.props.id} onClick={this._clickHandler} inputRef={composeRefs(this.filterRef, this.props.filterRef)} disabled={this.props.disabled} value={this.state.filterValue} borderless={this.props.type === Type.INPUT_WITHOUT_CONTROLS} style={style} size={Size.FULL} onChange={this._filterChangeHandler} onFocus={this._focusHandler} onBlur={this._blurHandler}
|
|
817
817
|
// Input with error style without description
|
|
818
818
|
error={this.props.error != null ? '' : null} label={this.props.type === Type.INPUT ? this._getLabel() : null} placeholder={this.props.inputPlaceholder} onKeyDown={this.props.onKeyDown} data-test="ring-select__focus" enableShortcuts={shortcutsEnabled
|
|
819
819
|
? Object.keys({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetbrains/ring-ui",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.10",
|
|
4
4
|
"description": "JetBrains UI library",
|
|
5
5
|
"author": "JetBrains",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"@types/chai-enzyme": "^0.6.13",
|
|
109
109
|
"@types/enzyme": "^3.10.18",
|
|
110
110
|
"@types/markdown-it": "^13.0.7",
|
|
111
|
-
"@types/react": "^18.2.
|
|
111
|
+
"@types/react": "^18.2.61",
|
|
112
112
|
"@types/react-dom": "^18.2.19",
|
|
113
113
|
"@types/sinon": "^17.0.3",
|
|
114
114
|
"@types/sinon-chai": "^3.2.12",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
|
|
118
118
|
"acorn": "^8.11.3",
|
|
119
119
|
"babel-plugin-require-context-hook": "^1.0.0",
|
|
120
|
-
"caniuse-lite": "^1.0.
|
|
120
|
+
"caniuse-lite": "^1.0.30001593",
|
|
121
121
|
"chai": "^5.1.0",
|
|
122
122
|
"chai-as-promised": "^7.1.1",
|
|
123
123
|
"chai-dom": "^1.10.0",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"eslint-plugin-bdd": "^2.1.1",
|
|
132
132
|
"eslint-plugin-import": "^2.29.1",
|
|
133
133
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
134
|
-
"eslint-plugin-react": "^7.
|
|
134
|
+
"eslint-plugin-react": "^7.34.0",
|
|
135
135
|
"eslint-plugin-storybook": "^0.8.0",
|
|
136
136
|
"events": "^3.3.0",
|
|
137
137
|
"glob": "^10.3.10",
|