@jetbrains/ring-ui 5.0.76 → 5.0.78
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/query-assist/query-assist.css +2 -1
- package/components/select/select.css +2 -0
- package/components/table-legacy/table-legacy.css +0 -2
- package/components/user-card/card.d.ts +3 -1
- package/components/user-card/card.js +3 -1
- package/components/user-card/user-card.css +7 -0
- package/dist/_helpers/card.js +6 -2
- package/dist/style.css +1 -1
- package/dist/user-card/card.d.ts +3 -1
- package/package.json +8 -8
package/dist/user-card/card.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, PureComponent } from 'react';
|
|
1
|
+
import { HTMLAttributes, PureComponent, ReactElement } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
export interface UserCardUser {
|
|
4
4
|
name: string;
|
|
@@ -18,11 +18,13 @@ export interface UserCardWording {
|
|
|
18
18
|
export interface UserCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
19
19
|
user: UserCardUser;
|
|
20
20
|
wording: UserCardWording;
|
|
21
|
+
info?: ReactElement | readonly ReactElement[] | string;
|
|
21
22
|
'data-test'?: string | null | undefined;
|
|
22
23
|
}
|
|
23
24
|
export default class UserCard extends PureComponent<UserCardProps> {
|
|
24
25
|
static propTypes: {
|
|
25
26
|
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
27
|
+
info: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
26
28
|
className: PropTypes.Requireable<string>;
|
|
27
29
|
user: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
28
30
|
name: PropTypes.Validator<string>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetbrains/ring-ui",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.78",
|
|
4
4
|
"description": "JetBrains UI library",
|
|
5
5
|
"author": "JetBrains",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
"@types/react-dom": "^18.0.9",
|
|
108
108
|
"@types/sinon": "^10.0.13",
|
|
109
109
|
"@types/sinon-chai": "^3.2.9",
|
|
110
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
111
|
-
"@typescript-eslint/parser": "^5.
|
|
110
|
+
"@typescript-eslint/eslint-plugin": "^5.46.0",
|
|
111
|
+
"@typescript-eslint/parser": "^5.46.0",
|
|
112
112
|
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
|
|
113
113
|
"angular": "^1.8.3",
|
|
114
114
|
"angular-mocks": "^1.8.3",
|
|
@@ -150,14 +150,14 @@
|
|
|
150
150
|
"merge-options": "^3.0.4",
|
|
151
151
|
"mocha": "^10.1.0",
|
|
152
152
|
"pinst": "^3.0.0",
|
|
153
|
-
"puppeteer": "^19.
|
|
153
|
+
"puppeteer": "^19.4.0",
|
|
154
154
|
"raw-loader": "^4.0.2",
|
|
155
155
|
"react": "^18.2.0",
|
|
156
156
|
"react-dom": "^18.2.0",
|
|
157
157
|
"react-test-renderer": "^18.2.0",
|
|
158
158
|
"regenerator-runtime": "^0.13.11",
|
|
159
159
|
"rimraf": "^3.0.2",
|
|
160
|
-
"rollup": "^3.
|
|
160
|
+
"rollup": "^3.7.0",
|
|
161
161
|
"rollup-plugin-clear": "^2.0.7",
|
|
162
162
|
"rollup-plugin-styles": "^4.0.0",
|
|
163
163
|
"sinon": "^15.0.0",
|
|
@@ -167,10 +167,10 @@
|
|
|
167
167
|
"svg-inline-loader": "^0.8.2",
|
|
168
168
|
"teamcity-service-messages": "^0.1.14",
|
|
169
169
|
"terser-webpack-plugin": "^5.3.6",
|
|
170
|
-
"typescript": "~4.9.
|
|
170
|
+
"typescript": "~4.9.4",
|
|
171
171
|
"wallaby-webpack": "^3.9.16",
|
|
172
172
|
"webpack": "^5.75.0",
|
|
173
|
-
"webpack-cli": "^5.0.
|
|
173
|
+
"webpack-cli": "^5.0.1",
|
|
174
174
|
"xmlappend": "^1.0.4",
|
|
175
175
|
"yo": "^4.3.1"
|
|
176
176
|
},
|
|
@@ -259,5 +259,5 @@
|
|
|
259
259
|
"node": ">=14.0",
|
|
260
260
|
"npm": ">=6.0.0"
|
|
261
261
|
},
|
|
262
|
-
"gitHead": "
|
|
262
|
+
"gitHead": "36e0752525135f0dcfef94629ed3def722a4ce44"
|
|
263
263
|
}
|