@jetbrains/ring-ui 5.1.10 → 5.1.11

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.
@@ -151,7 +151,7 @@ export class Table extends PureComponent {
151
151
  return null;
152
152
  }
153
153
  const { ref, ...restProps } = props;
154
- const row = (<Row innerRef={ref} key={getItemKey(value)} level={getItemLevel(value)} item={value} showFocus={selection.isFocused(value)} autofocus={selection.isFocused(value)} focused={selection.isFocused(value)} selectable={selectable && isItemSelectable(value)} selected={selectable && selection.isSelected(value)} onFocus={this.onRowFocus} onSelect={this.onRowSelect} onDoubleClick={onItemDoubleClick} onClick={onItemClick} collapsible={isItemCollapsible(value)} parentCollapsible={isParentCollapsible(value)} collapsed={isItemCollapsed(value)} onCollapse={onItemCollapse} onExpand={onItemExpand} showDisabledSelection={isDisabledSelectionVisible(value)} checkboxTooltip={getCheckboxTooltip(value)} className={classNames(getItemClassName(value), { [style.draggingRow]: isDragged })} metaColumnClassName={getMetaColumnClassName(value)} draggable={draggable} alwaysShowDragHandle={alwaysShowDragHandle} dragHandleTitle={dragHandleTitle} columns={columns} data-test={getItemDataTest(value)} {...restProps}/>);
154
+ const row = (<Row innerRef={ref} key={getItemKey(value)} level={getItemLevel(value)} item={value} showFocus={selection.isFocused(value)} autofocus={selection.isFocused(value)} focused={focused && selection.isFocused(value)} selectable={selectable && isItemSelectable(value)} selected={selectable && selection.isSelected(value)} onFocus={this.onRowFocus} onSelect={this.onRowSelect} onDoubleClick={onItemDoubleClick} onClick={onItemClick} collapsible={isItemCollapsible(value)} parentCollapsible={isParentCollapsible(value)} collapsed={isItemCollapsed(value)} onCollapse={onItemCollapse} onExpand={onItemExpand} showDisabledSelection={isDisabledSelectionVisible(value)} checkboxTooltip={getCheckboxTooltip(value)} className={classNames(getItemClassName(value), { [style.draggingRow]: isDragged })} metaColumnClassName={getMetaColumnClassName(value)} draggable={draggable} alwaysShowDragHandle={alwaysShowDragHandle} dragHandleTitle={dragHandleTitle} columns={columns} data-test={getItemDataTest(value)} {...restProps}/>);
155
155
  return isDragged
156
156
  ? (<table style={{ ...props.style }} className={style.draggingTable}>
157
157
  <tbody>{row}</tbody>
@@ -278,7 +278,7 @@ var Table = /*#__PURE__*/function (_PureComponent) {
278
278
  item: value,
279
279
  showFocus: selection.isFocused(value),
280
280
  autofocus: selection.isFocused(value),
281
- focused: selection.isFocused(value),
281
+ focused: focused && selection.isFocused(value),
282
282
  selectable: selectable && isItemSelectable(value),
283
283
  selected: selectable && selection.isSelected(value),
284
284
  onFocus: _this2.onRowFocus,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetbrains/ring-ui",
3
- "version": "5.1.10",
3
+ "version": "5.1.11",
4
4
  "description": "JetBrains UI library",
5
5
  "author": "JetBrains",
6
6
  "license": "Apache-2.0",
@@ -84,13 +84,13 @@
84
84
  "@rollup/plugin-babel": "^6.0.4",
85
85
  "@rollup/plugin-json": "^6.0.1",
86
86
  "@rollup/plugin-node-resolve": "^15.2.3",
87
- "@rollup/plugin-replace": "^5.0.3",
88
- "@storybook/addon-a11y": "7.4.6",
89
- "@storybook/addon-docs": "7.4.6",
90
- "@storybook/addon-essentials": "7.4.6",
87
+ "@rollup/plugin-replace": "^5.0.4",
88
+ "@storybook/addon-a11y": "7.5.0",
89
+ "@storybook/addon-docs": "7.5.0",
90
+ "@storybook/addon-essentials": "7.5.0",
91
91
  "@storybook/addon-storyshots": "7.4.5",
92
92
  "@storybook/addon-storyshots-puppeteer": "7.4.6",
93
- "@storybook/addon-storysource": "7.4.6",
93
+ "@storybook/addon-storysource": "7.5.0",
94
94
  "@storybook/addons": "7.4.6",
95
95
  "@storybook/html": "7.4.5",
96
96
  "@storybook/html-webpack5": "^7.4.6",
@@ -100,17 +100,17 @@
100
100
  "@storybook/theming": "7.4.6",
101
101
  "@testing-library/react": "^14.0.0",
102
102
  "@testing-library/user-event": "^14.5.1",
103
- "@types/chai": "^4.3.7",
104
- "@types/chai-as-promised": "^7.1.6",
103
+ "@types/chai": "^4.3.8",
104
+ "@types/chai-as-promised": "^7.1.7",
105
105
  "@types/chai-dom": "0.0.10",
106
106
  "@types/chai-enzyme": "^0.6.11",
107
107
  "@types/enzyme": "^3.10.14",
108
- "@types/react": "^18.2.27",
109
- "@types/react-dom": "^18.2.12",
108
+ "@types/react": "^18.2.28",
109
+ "@types/react-dom": "^18.2.13",
110
110
  "@types/sinon": "^10.0.19",
111
111
  "@types/sinon-chai": "^3.2.10",
112
- "@typescript-eslint/eslint-plugin": "^6.7.5",
113
- "@typescript-eslint/parser": "^6.7.5",
112
+ "@typescript-eslint/eslint-plugin": "^6.8.0",
113
+ "@typescript-eslint/parser": "^6.8.0",
114
114
  "@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
115
115
  "acorn": "^8.10.0",
116
116
  "angular": "^1.8.3",
@@ -118,7 +118,7 @@
118
118
  "angular-route": "^1.8.3",
119
119
  "babel-plugin-react-docgen": "^4.2.1",
120
120
  "babel-plugin-require-context-hook": "^1.0.0",
121
- "caniuse-lite": "^1.0.30001547",
121
+ "caniuse-lite": "^1.0.30001551",
122
122
  "chai": "^4.3.10",
123
123
  "chai-as-promised": "^7.1.1",
124
124
  "chai-dom": "^1.10.0",
@@ -165,19 +165,19 @@
165
165
  "rollup": "^3.29.4",
166
166
  "rollup-plugin-clear": "^2.0.7",
167
167
  "rollup-plugin-styles": "^4.0.0",
168
- "sinon": "^16.1.0",
168
+ "sinon": "^16.1.3",
169
169
  "sinon-chai": "^3.7.0",
170
170
  "storage-mock": "^2.1.0",
171
- "storybook": "^7.4.6",
171
+ "storybook": "^7.5.0",
172
172
  "storybook-addon-themes": "^6.1.0",
173
173
  "storybook-zeplin": "^2.0.2",
174
- "stylelint": "^15.10.3",
174
+ "stylelint": "^15.11.0",
175
175
  "svg-inline-loader": "^0.8.2",
176
176
  "teamcity-service-messages": "^0.1.14",
177
177
  "terser-webpack-plugin": "^5.3.9",
178
178
  "typescript": "~5.2.2",
179
179
  "wallaby-webpack": "^3.9.16",
180
- "webpack": "^5.88.2",
180
+ "webpack": "^5.89.0",
181
181
  "webpack-cli": "^5.1.4",
182
182
  "xmlappend": "^1.0.4"
183
183
  },
@@ -201,14 +201,14 @@
201
201
  }
202
202
  },
203
203
  "dependencies": {
204
- "@babel/core": "^7.23.0",
205
- "@babel/preset-typescript": "^7.23.0",
204
+ "@babel/core": "^7.23.2",
205
+ "@babel/preset-typescript": "^7.23.2",
206
206
  "@jetbrains/babel-preset-jetbrains": "^2.3.2",
207
207
  "@jetbrains/icons": "^3.22.0",
208
208
  "@jetbrains/logos": "^2.2.22",
209
209
  "@jetbrains/postcss-require-hover": "^0.1.2",
210
210
  "@types/combokeys": "^2.4.7",
211
- "@types/deep-equal": "^1.0.2",
211
+ "@types/deep-equal": "^1.0.3",
212
212
  "@types/element-resize-detector": "^1.1.4",
213
213
  "@types/google.analytics": "0.0.43",
214
214
  "@types/prop-types": "^15.7.8",
@@ -232,7 +232,7 @@
232
232
  "extricate-loader": "^3.0.0",
233
233
  "fastdom": "^1.0.11",
234
234
  "file-loader": "^6.2.0",
235
- "focus-trap": "^7.5.3",
235
+ "focus-trap": "^7.5.4",
236
236
  "highlight.js": "^10.7.2",
237
237
  "html-loader": "^4.2.0",
238
238
  "interpolate-loader": "^2.0.1",