@jetbrains/ring-ui 5.0.57 → 5.0.58

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,8 +26,7 @@ export default class Shortcuts extends PureComponent {
26
26
  this.turnShorcutsOn();
27
27
  }
28
28
  if (prevProps.map !== map) {
29
- this.turnShorcutsOff();
30
- this.turnShorcutsOn();
29
+ shortcuts.bindMap(map, this.props);
31
30
  }
32
31
  }
33
32
  componentWillUnmount() {
@@ -24,8 +24,7 @@ class Shortcuts extends PureComponent {
24
24
  this.turnShorcutsOn();
25
25
  }
26
26
  if (prevProps.map !== map) {
27
- this.turnShorcutsOff();
28
- this.turnShorcutsOn();
27
+ shortcutsInstance.bindMap(map, this.props);
29
28
  }
30
29
  }
31
30
  componentWillUnmount() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetbrains/ring-ui",
3
- "version": "5.0.57",
3
+ "version": "5.0.58",
4
4
  "description": "JetBrains UI library",
5
5
  "author": "JetBrains",
6
6
  "license": "Apache-2.0",
@@ -77,7 +77,7 @@
77
77
  "@babel/eslint-parser": "^7.19.1",
78
78
  "@jetbrains/eslint-config": "^5.4.1",
79
79
  "@jetbrains/stylelint-config": "^3.0.2",
80
- "@primer/octicons": "^17.8.0",
80
+ "@primer/octicons": "^17.9.0",
81
81
  "@rollup/plugin-babel": "^6.0.2",
82
82
  "@rollup/plugin-node-resolve": "^15.0.1",
83
83
  "@rollup/plugin-replace": "^5.0.1",
@@ -123,7 +123,7 @@
123
123
  "core-js": "^3.26.0",
124
124
  "cpy-cli": "^3.1.1",
125
125
  "enzyme": "^3.11.0",
126
- "eslint": "^8.26.0",
126
+ "eslint": "^8.27.0",
127
127
  "eslint-import-resolver-webpack": "^0.13.2",
128
128
  "eslint-plugin-angular": "^4.1.0",
129
129
  "eslint-plugin-bdd": "^2.1.1",
@@ -194,7 +194,7 @@
194
194
  }
195
195
  },
196
196
  "dependencies": {
197
- "@babel/core": "^7.19.6",
197
+ "@babel/core": "^7.20.2",
198
198
  "@babel/preset-typescript": "^7.18.6",
199
199
  "@jetbrains/babel-preset-jetbrains": "^2.3.2",
200
200
  "@jetbrains/icons": "^3.19.1",
@@ -208,7 +208,7 @@
208
208
  "@types/react-virtualized": "9.21.20",
209
209
  "@types/util-deprecate": "^1.0.0",
210
210
  "@ungap/url-search-params": "^0.2.2",
211
- "babel-loader": "^9.0.1",
211
+ "babel-loader": "^9.1.0",
212
212
  "babel-plugin-transform-define": "^2.1.0",
213
213
  "browserslist": "^4.16.6",
214
214
  "change-case": "^4.1.1",
@@ -218,7 +218,7 @@
218
218
  "css-loader": "^6.7.1",
219
219
  "csstype": "^3.1.1",
220
220
  "date-fns": "^2.29.3",
221
- "deep-equal": "^2.0.4",
221
+ "deep-equal": "^2.1.0",
222
222
  "element-resize-detector": "^1.2.4",
223
223
  "es6-error": "^4.1.1",
224
224
  "eslint-plugin-react-hooks": "^4.6.0",
@@ -259,5 +259,5 @@
259
259
  "node": ">=14.0",
260
260
  "npm": ">=6.0.0"
261
261
  },
262
- "gitHead": "da492ebed178d0c81fa4303eb4a608f7c0b0bb01"
262
+ "gitHead": "0d3f4e3d132fac9391739c4790470391aaf74591"
263
263
  }