@jetbrains/ring-ui 4.0.57 → 4.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.
@@ -12,7 +12,7 @@ export default class ButtonGroup extends PureComponent {
12
12
  static propTypes = {
13
13
  children: PropTypes.node,
14
14
  className: PropTypes.string
15
- }
15
+ };
16
16
 
17
17
  render() {
18
18
  const {className} = this.props;
@@ -7,7 +7,7 @@ import styles from './button-group.css';
7
7
  export default class Caption extends PureComponent {
8
8
  static propTypes = {
9
9
  className: PropTypes.node
10
- }
10
+ };
11
11
 
12
12
  render() {
13
13
  const {className} = this.props;
@@ -166,7 +166,7 @@ class ButtonController extends RingAngularComponent {
166
166
  }
167
167
 
168
168
  $compile(icon)($scope);
169
- }
169
+ };
170
170
  }
171
171
 
172
172
  function changeTheme(element, data) {
@@ -364,7 +364,7 @@ class DialogService extends RingAngularComponent {
364
364
 
365
365
  unregister = () => {
366
366
  Reflect.deleteProperty(this, 'ctrl');
367
- }
367
+ };
368
368
  }
369
369
 
370
370
  class DialogInSidebarService extends DialogService {
@@ -192,5 +192,5 @@ export default class HTTP {
192
192
  method: 'POST',
193
193
  ...params
194
194
  })
195
- )
195
+ );
196
196
  }
@@ -54,7 +54,7 @@ export default class Permissions {
54
54
  query
55
55
  }
56
56
  })
57
- )
57
+ );
58
58
 
59
59
  /**
60
60
  * Returns function, which cuts off prefix from server-side permission name
@@ -522,10 +522,6 @@ export default class Select extends Component {
522
522
  return getSelectedIndex(selected, data, this.props.multiple);
523
523
  }
524
524
 
525
- popupRef = el => {
526
- this._popup = el;
527
- };
528
-
529
525
  _getResetOption() {
530
526
  const isOptionsSelected = this.state.selected && this.state.selected.length;
531
527
  const hasTagsResetProp = this.props.tags && this.props.tags.reset;
@@ -70,6 +70,11 @@ export default class TagsInput extends PureComponent {
70
70
  placeholder: 'Select an option'
71
71
  };
72
72
 
73
+ constructor(props) {
74
+ super(props);
75
+ this.ngModelStateField = TagsInput.ngModelStateField;
76
+ }
77
+
73
78
  state = {
74
79
  tags: [],
75
80
  prevTags: null,
@@ -102,8 +107,6 @@ export default class TagsInput extends PureComponent {
102
107
  this.node = node;
103
108
  };
104
109
 
105
- ngModelStateField = TagsInput.ngModelStateField;
106
-
107
110
  getInputNode() {
108
111
  if (!this.input) {
109
112
  this.input = this.select.filter;
@@ -39,7 +39,7 @@ class RgTemplateController extends RingAngularComponent {
39
39
  if (rgTemplateClass) {
40
40
  this.$inject.$element.contents().addClass(rgTemplateClass);
41
41
  }
42
- }
42
+ };
43
43
 
44
44
  cleanup() {
45
45
  if (this.currentScope) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetbrains/ring-ui",
3
- "version": "4.0.57",
3
+ "version": "4.0.58",
4
4
  "description": "JetBrains UI library",
5
5
  "author": "JetBrains",
6
6
  "license": "Apache-2.0",
@@ -66,10 +66,10 @@
66
66
  "readmeFilename": "README.md",
67
67
  "devDependencies": {
68
68
  "@babel/cli": "^7.16.0",
69
- "@babel/eslint-parser": "^7.16.0",
69
+ "@babel/eslint-parser": "^7.16.3",
70
70
  "@jetbrains/eslint-config": "^5.3.1",
71
- "@jetbrains/generator-ring-ui": "^4.0.44",
72
- "@jetbrains/stylelint-config": "^3.0.1",
71
+ "@jetbrains/generator-ring-ui": "^4.0.45",
72
+ "@jetbrains/stylelint-config": "^3.0.2",
73
73
  "@primer/octicons": "^16.1.1",
74
74
  "@storybook/addon-a11y": "6.3.12",
75
75
  "@storybook/addon-docs": "6.3.12",
@@ -100,13 +100,13 @@
100
100
  "cheerio": "^0.22.0",
101
101
  "core-js": "^3.19.1",
102
102
  "enzyme": "^3.11.0",
103
- "eslint": "^7.32.0",
103
+ "eslint": "^8.2.0",
104
104
  "eslint-import-resolver-webpack": "^0.13.2",
105
105
  "eslint-plugin-angular": "^4.1.0",
106
106
  "eslint-plugin-bdd": "^2.1.1",
107
- "eslint-plugin-import": "^2.25.2",
108
- "eslint-plugin-jsx-a11y": "^6.4.1",
109
- "eslint-plugin-react": "^7.26.1",
107
+ "eslint-plugin-import": "^2.25.3",
108
+ "eslint-plugin-jsx-a11y": "^6.5.1",
109
+ "eslint-plugin-react": "^7.27.0",
110
110
  "events": "^3.3.0",
111
111
  "html-webpack-plugin": "^5.5.0",
112
112
  "husky": "^7.0.4",
@@ -121,7 +121,7 @@
121
121
  "karma-teamcity-reporter": "^2.0.0",
122
122
  "karma-webpack": "^5.0.0",
123
123
  "lerna": "^4.0.0",
124
- "lint-staged": "^11.2.6",
124
+ "lint-staged": "^12.0.2",
125
125
  "merge-options": "^3.0.4",
126
126
  "mocha": "^9.1.3",
127
127
  "pinst": "^2.1.6",
@@ -134,12 +134,12 @@
134
134
  "sinon": "^12.0.1",
135
135
  "sinon-chai": "^3.7.0",
136
136
  "storage-mock": "^2.1.0",
137
- "stylelint": "^14.0.1",
137
+ "stylelint": "^14.1.0",
138
138
  "svg-inline-loader": "^0.8.2",
139
139
  "teamcity-service-messages": "^0.1.11",
140
- "terser-webpack-plugin": "^5.2.4",
140
+ "terser-webpack-plugin": "^5.2.5",
141
141
  "wallaby-webpack": "^3.9.16",
142
- "webpack": "^5.62.1",
142
+ "webpack": "^5.64.1",
143
143
  "webpack-cli": "^4.9.1",
144
144
  "xmlappend": "^1.0.4",
145
145
  "yo": "^4.3.0"
@@ -148,14 +148,14 @@
148
148
  "core-js": ">=3.0.0",
149
149
  "react": ">=16.8.0",
150
150
  "react-dom": ">=16.8.0",
151
- "webpack": "^5.62.1"
151
+ "webpack": "^5.64.1"
152
152
  },
153
153
  "dependencies": {
154
154
  "@babel/core": "^7.16.0",
155
155
  "@jetbrains/angular-elastic": "^2.5.1",
156
156
  "@jetbrains/babel-preset-jetbrains": "^2.3.1",
157
157
  "@jetbrains/icons": "^3.18.0",
158
- "@jetbrains/logos": "^1.4.25",
158
+ "@jetbrains/logos": "^1.4.26",
159
159
  "@jetbrains/postcss-require-hover": "^0.1.2",
160
160
  "@ungap/url-search-params": "^0.2.2",
161
161
  "babel-loader": "^8.2.3",
@@ -171,7 +171,7 @@
171
171
  "deep-equal": "^2.0.4",
172
172
  "element-resize-detector": "^1.2.3",
173
173
  "es6-error": "^4.1.1",
174
- "eslint-plugin-react-hooks": "^4.2.0",
174
+ "eslint-plugin-react-hooks": "^4.3.0",
175
175
  "extricate-loader": "^3.0.0",
176
176
  "fastdom": "^1.0.10",
177
177
  "file-loader": "^6.2.0",
@@ -180,7 +180,7 @@
180
180
  "highlight.js": "^10.7.2",
181
181
  "html-loader": "^3.0.1",
182
182
  "interpolate-loader": "^2.0.1",
183
- "just-debounce-it": "^2.1.1",
183
+ "just-debounce-it": "^3.0.1",
184
184
  "memoize-one": "^6.0.0",
185
185
  "postcss": "^8.3.11",
186
186
  "postcss-calc": "^8.0.0",
@@ -207,5 +207,5 @@
207
207
  "node": ">=7.4",
208
208
  "npm": ">=6.0.0"
209
209
  },
210
- "gitHead": "736f0f0c8252b75e92b902a12cea670c864787ad"
210
+ "gitHead": "a1299b85b8923a53c56dfeea7035efa33e4ce35a"
211
211
  }