@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.
- package/components/button-group/button-group.js +1 -1
- package/components/button-group/caption.js +1 -1
- package/components/button-ng/button-ng.js +1 -1
- package/components/dialog-ng/dialog-ng.js +1 -1
- package/components/http/http.js +1 -1
- package/components/permissions/permissions.js +1 -1
- package/components/select/select.js +0 -4
- package/components/tags-input/tags-input.js +5 -2
- package/components/template-ng/template-ng.js +1 -1
- package/package.json +17 -17
package/components/http/http.js
CHANGED
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetbrains/ring-ui",
|
|
3
|
-
"version": "4.0.
|
|
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.
|
|
69
|
+
"@babel/eslint-parser": "^7.16.3",
|
|
70
70
|
"@jetbrains/eslint-config": "^5.3.1",
|
|
71
|
-
"@jetbrains/generator-ring-ui": "^4.0.
|
|
72
|
-
"@jetbrains/stylelint-config": "^3.0.
|
|
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": "^
|
|
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.
|
|
108
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
109
|
-
"eslint-plugin-react": "^7.
|
|
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": "^
|
|
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
|
|
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.
|
|
140
|
+
"terser-webpack-plugin": "^5.2.5",
|
|
141
141
|
"wallaby-webpack": "^3.9.16",
|
|
142
|
-
"webpack": "^5.
|
|
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.
|
|
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.
|
|
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.
|
|
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": "^
|
|
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": "
|
|
210
|
+
"gitHead": "a1299b85b8923a53c56dfeea7035efa33e4ce35a"
|
|
211
211
|
}
|