@jetbrains/ring-ui 5.0.26 → 5.0.28
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/auth/auth__core.js +1 -1
- package/components/button/button.d.ts +1 -1
- package/components/code/code.d.ts +2 -2
- package/components/confirm-service/confirm-service.d.ts +7 -1
- package/components/confirm-service/confirm-service.js +7 -5
- package/components/date-picker/consts.d.ts +1 -1
- package/components/date-picker/date-input.d.ts +2 -2
- package/components/date-picker/date-picker.d.ts +5 -5
- package/components/date-picker/date-popup.d.ts +5 -5
- package/components/date-picker/day.d.ts +6 -6
- package/components/date-picker/month-names.d.ts +2 -2
- package/components/date-picker/month-slider.d.ts +1 -1
- package/components/date-picker/month.d.ts +1 -1
- package/components/date-picker/months.d.ts +1 -1
- package/components/date-picker/years.d.ts +1 -1
- package/components/dialog/dialog.d.ts +1 -1
- package/components/dropdown/dropdown.d.ts +2 -2
- package/components/error-message/error-message.d.ts +1 -1
- package/components/global/rerender-hoc.d.ts +1 -1
- package/components/grid/col.d.ts +4 -4
- package/components/header/profile.d.ts +1 -1
- package/components/header/tray-icon.d.ts +1 -1
- package/components/http/http.d.ts +10 -8
- package/components/http/http.js +17 -5
- package/components/icon/icon.d.ts +1 -1
- package/components/link/clickableLink.d.ts +1 -1
- package/components/link/link.d.ts +2 -2
- package/components/radio/radio.d.ts +2 -2
- package/components/select/select.css +2 -0
- package/components/shortcuts/shortcuts-hoc.d.ts +1 -1
- package/components/tab-trap/tab-trap.d.ts +1 -1
- package/components/table-legacy/table-legacy.css +1 -1
- package/components/tabs/collapsible-tabs.d.ts +2 -2
- package/components/tabs/custom-item.d.ts +1 -1
- package/components/tabs/dumb-tabs.d.ts +1 -1
- package/components/tabs/tab-link.d.ts +1 -1
- package/components/tabs/tab.d.ts +1 -1
- package/components/tag/tag.d.ts +1 -1
- package/components/tags-input/tags-input.d.ts +2 -2
- package/components/user-card/card.d.ts +2 -2
- package/dist/auth/auth__core.js +1 -1
- package/dist/button/button.d.ts +1 -1
- package/dist/code/code.d.ts +2 -2
- package/dist/confirm-service/confirm-service.d.ts +7 -1
- package/dist/confirm-service/confirm-service.js +11 -7
- package/dist/date-picker/consts.d.ts +1 -1
- package/dist/date-picker/date-input.d.ts +2 -2
- package/dist/date-picker/date-picker.d.ts +5 -5
- package/dist/date-picker/date-popup.d.ts +5 -5
- package/dist/date-picker/day.d.ts +6 -6
- package/dist/date-picker/month-names.d.ts +2 -2
- package/dist/date-picker/month-slider.d.ts +1 -1
- package/dist/date-picker/month.d.ts +1 -1
- package/dist/date-picker/months.d.ts +1 -1
- package/dist/date-picker/years.d.ts +1 -1
- package/dist/dialog/dialog.d.ts +1 -1
- package/dist/dropdown/dropdown.d.ts +2 -2
- package/dist/error-message/error-message.d.ts +1 -1
- package/dist/global/rerender-hoc.d.ts +1 -1
- package/dist/grid/col.d.ts +4 -4
- package/dist/header/profile.d.ts +1 -1
- package/dist/header/tray-icon.d.ts +1 -1
- package/dist/http/http.d.ts +10 -8
- package/dist/http/http.js +19 -7
- package/dist/icon/icon.d.ts +1 -1
- package/dist/link/clickableLink.d.ts +1 -1
- package/dist/link/link.d.ts +2 -2
- package/dist/radio/radio.d.ts +2 -2
- package/dist/shortcuts/shortcuts-hoc.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/tab-trap/tab-trap.d.ts +1 -1
- package/dist/tabs/collapsible-tabs.d.ts +2 -2
- package/dist/tabs/custom-item.d.ts +1 -1
- package/dist/tabs/dumb-tabs.d.ts +1 -1
- package/dist/tabs/tab-link.d.ts +1 -1
- package/dist/tabs/tab.d.ts +1 -1
- package/dist/tag/tag.d.ts +1 -1
- package/dist/tags-input/tags-input.d.ts +2 -2
- package/dist/user-card/card.d.ts +2 -2
- package/package.json +28 -27
|
@@ -13,7 +13,7 @@ export interface TabTrapProps extends HTMLAttributes<HTMLElement> {
|
|
|
13
13
|
*/
|
|
14
14
|
export default class TabTrap extends Component<TabTrapProps> {
|
|
15
15
|
static propTypes: {
|
|
16
|
-
children: PropTypes.Validator<
|
|
16
|
+
children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
17
17
|
trapDisabled: PropTypes.Requireable<boolean>;
|
|
18
18
|
autoFocusFirst: PropTypes.Requireable<boolean>;
|
|
19
19
|
focusBackOnClose: PropTypes.Requireable<boolean>;
|
|
@@ -15,7 +15,7 @@ export interface CollapsibleTabsProps {
|
|
|
15
15
|
export declare const CollapsibleTabs: {
|
|
16
16
|
({ children, selected, onSelect, moreClassName, moreActiveClassName, morePopupClassName, morePopupBeforeEnd, morePopupItemClassName, initialVisibleItems }: CollapsibleTabsProps): JSX.Element;
|
|
17
17
|
propTypes: {
|
|
18
|
-
children: PropTypes.Validator<
|
|
18
|
+
children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
19
19
|
selected: PropTypes.Requireable<string>;
|
|
20
20
|
onSelect: PropTypes.Validator<(...args: any[]) => any>;
|
|
21
21
|
moreClassName: PropTypes.Requireable<string>;
|
|
@@ -29,7 +29,7 @@ export declare const CollapsibleTabs: {
|
|
|
29
29
|
declare const _default: React.MemoExoticComponent<{
|
|
30
30
|
({ children, selected, onSelect, moreClassName, moreActiveClassName, morePopupClassName, morePopupBeforeEnd, morePopupItemClassName, initialVisibleItems }: CollapsibleTabsProps): JSX.Element;
|
|
31
31
|
propTypes: {
|
|
32
|
-
children: PropTypes.Validator<
|
|
32
|
+
children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
33
33
|
selected: PropTypes.Requireable<string>;
|
|
34
34
|
onSelect: PropTypes.Validator<(...args: any[]) => any>;
|
|
35
35
|
moreClassName: PropTypes.Requireable<string>;
|
|
@@ -4,6 +4,6 @@ import { TabProps } from './tab';
|
|
|
4
4
|
export declare const CustomItem: {
|
|
5
5
|
({ children }: TabProps): ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
6
6
|
propTypes: {
|
|
7
|
-
children: PropTypes.Validator<
|
|
7
|
+
children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
8
8
|
};
|
|
9
9
|
};
|
package/dist/tabs/dumb-tabs.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ declare class Tabs extends PureComponent<TabsProps> {
|
|
|
17
17
|
selected: PropTypes.Requireable<string>;
|
|
18
18
|
className: PropTypes.Requireable<string>;
|
|
19
19
|
href: PropTypes.Requireable<string>;
|
|
20
|
-
children: PropTypes.Validator<
|
|
20
|
+
children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
21
21
|
onSelect: PropTypes.Requireable<(...args: any[]) => any>;
|
|
22
22
|
'data-test': PropTypes.Requireable<string>;
|
|
23
23
|
autoCollapse: PropTypes.Requireable<boolean>;
|
package/dist/tabs/tab-link.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare namespace TabLink {
|
|
|
11
11
|
var propTypes: {
|
|
12
12
|
isSelected: PropTypes.Requireable<boolean>;
|
|
13
13
|
collapsed: PropTypes.Requireable<boolean>;
|
|
14
|
-
title: PropTypes.Requireable<
|
|
14
|
+
title: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike | ((...args: any[]) => any)>>;
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
17
|
declare const _default: React.MemoExoticComponent<typeof TabLink>;
|
package/dist/tabs/tab.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export interface TabProps {
|
|
|
17
17
|
}
|
|
18
18
|
export default class Tab extends PureComponent<TabProps> {
|
|
19
19
|
static propTypes: {
|
|
20
|
-
title: PropTypes.Validator<
|
|
20
|
+
title: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike | ((...args: any[]) => any)>>>;
|
|
21
21
|
id: PropTypes.Requireable<string>;
|
|
22
22
|
className: PropTypes.Requireable<string>;
|
|
23
23
|
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
package/dist/tag/tag.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export default class Tag extends PureComponent<TagProps> {
|
|
|
30
30
|
static propTypes: {
|
|
31
31
|
onRemove: PropTypes.Requireable<(...args: any[]) => any>;
|
|
32
32
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
33
|
-
rgTagIcon: PropTypes.Requireable<PropTypes.ReactComponentLike
|
|
33
|
+
rgTagIcon: PropTypes.Requireable<NonNullable<PropTypes.ReactComponentLike | null | undefined>>;
|
|
34
34
|
icon: PropTypes.Requireable<string>;
|
|
35
35
|
avatar: PropTypes.Requireable<string>;
|
|
36
36
|
rgTagTitle: PropTypes.Requireable<string>;
|
|
@@ -62,9 +62,9 @@ export default class TagsInput extends PureComponent<TagsInputProps, TagsInputSt
|
|
|
62
62
|
autoOpen: PropTypes.Requireable<boolean>;
|
|
63
63
|
renderOptimization: PropTypes.Requireable<boolean>;
|
|
64
64
|
legacyMode: PropTypes.Requireable<boolean>;
|
|
65
|
-
filter: PropTypes.Requireable<boolean | PropTypes.InferProps<{
|
|
65
|
+
filter: PropTypes.Requireable<NonNullable<boolean | PropTypes.InferProps<{
|
|
66
66
|
fn: PropTypes.Requireable<(...args: any[]) => any>;
|
|
67
|
-
}>>;
|
|
67
|
+
}> | null | undefined>>;
|
|
68
68
|
loadingMessage: PropTypes.Requireable<string>;
|
|
69
69
|
notFoundMessage: PropTypes.Requireable<string>;
|
|
70
70
|
allowAddNewTags: PropTypes.Requireable<boolean>;
|
package/dist/user-card/card.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export default class UserCard extends PureComponent<UserCardProps> {
|
|
|
24
24
|
static propTypes: {
|
|
25
25
|
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
26
26
|
className: PropTypes.Requireable<string>;
|
|
27
|
-
user: PropTypes.Validator<PropTypes.InferProps<{
|
|
27
|
+
user: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
28
28
|
name: PropTypes.Validator<string>;
|
|
29
29
|
login: PropTypes.Validator<string>;
|
|
30
30
|
avatarUrl: PropTypes.Validator<string>;
|
|
@@ -33,7 +33,7 @@ export default class UserCard extends PureComponent<UserCardProps> {
|
|
|
33
33
|
online: PropTypes.Requireable<boolean>;
|
|
34
34
|
banned: PropTypes.Requireable<boolean>;
|
|
35
35
|
banReason: PropTypes.Requireable<string>;
|
|
36
|
-
}
|
|
36
|
+
}>>>;
|
|
37
37
|
wording: PropTypes.Requireable<PropTypes.InferProps<{
|
|
38
38
|
banned: PropTypes.Validator<string>;
|
|
39
39
|
online: PropTypes.Validator<string>;
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetbrains/ring-ui",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.28",
|
|
4
4
|
"description": "JetBrains UI library",
|
|
5
5
|
"author": "JetBrains",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
|
+
"packageManager": "npm@8.11.0",
|
|
7
8
|
"files": [
|
|
8
9
|
"babel.config.js",
|
|
9
10
|
"components",
|
|
@@ -76,38 +77,38 @@
|
|
|
76
77
|
"@babel/eslint-parser": "^7.18.9",
|
|
77
78
|
"@jetbrains/eslint-config": "^5.4.1",
|
|
78
79
|
"@jetbrains/stylelint-config": "^3.0.2",
|
|
79
|
-
"@primer/octicons": "^17.
|
|
80
|
+
"@primer/octicons": "^17.5.0",
|
|
80
81
|
"@rollup/plugin-babel": "^5.3.1",
|
|
81
|
-
"@rollup/plugin-node-resolve": "^
|
|
82
|
+
"@rollup/plugin-node-resolve": "^14.1.0",
|
|
82
83
|
"@rollup/plugin-replace": "^4.0.0",
|
|
83
84
|
"@storybook/addon-a11y": "6.5.10",
|
|
84
85
|
"@storybook/addon-docs": "6.5.10",
|
|
85
|
-
"@storybook/addon-essentials": "6.5.
|
|
86
|
+
"@storybook/addon-essentials": "6.5.11",
|
|
86
87
|
"@storybook/addon-storyshots": "6.5.10",
|
|
87
|
-
"@storybook/addon-storyshots-puppeteer": "6.5.
|
|
88
|
+
"@storybook/addon-storyshots-puppeteer": "6.5.11",
|
|
88
89
|
"@storybook/addon-storysource": "6.5.10",
|
|
89
90
|
"@storybook/addons": "6.5.10",
|
|
90
|
-
"@storybook/builder-webpack5": "6.5.
|
|
91
|
+
"@storybook/builder-webpack5": "6.5.11",
|
|
91
92
|
"@storybook/client-api": "6.5.10",
|
|
92
93
|
"@storybook/core": "6.5.10",
|
|
93
|
-
"@storybook/html": "6.5.
|
|
94
|
+
"@storybook/html": "6.5.11",
|
|
94
95
|
"@storybook/manager-webpack5": "6.5.10",
|
|
95
|
-
"@storybook/react": "6.5.
|
|
96
|
-
"@storybook/source-loader": "6.5.
|
|
96
|
+
"@storybook/react": "6.5.11",
|
|
97
|
+
"@storybook/source-loader": "6.5.11",
|
|
97
98
|
"@storybook/theming": "6.5.10",
|
|
98
|
-
"@testing-library/react": "^13.
|
|
99
|
+
"@testing-library/react": "^13.4.0",
|
|
99
100
|
"@testing-library/user-event": "^14.4.3",
|
|
100
101
|
"@types/chai": "^4.3.3",
|
|
101
102
|
"@types/chai-as-promised": "^7.1.5",
|
|
102
103
|
"@types/chai-dom": "0.0.10",
|
|
103
104
|
"@types/chai-enzyme": "^0.6.8",
|
|
104
105
|
"@types/enzyme": "^3.10.12",
|
|
105
|
-
"@types/react": "^18.0.
|
|
106
|
+
"@types/react": "^18.0.19",
|
|
106
107
|
"@types/react-dom": "^18.0.6",
|
|
107
108
|
"@types/sinon": "^10.0.13",
|
|
108
109
|
"@types/sinon-chai": "^3.2.8",
|
|
109
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
110
|
-
"@typescript-eslint/parser": "^5.
|
|
110
|
+
"@typescript-eslint/eslint-plugin": "^5.37.0",
|
|
111
|
+
"@typescript-eslint/parser": "^5.37.0",
|
|
111
112
|
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
|
|
112
113
|
"angular": "^1.8.3",
|
|
113
114
|
"angular-mocks": "^1.8.3",
|
|
@@ -119,24 +120,24 @@
|
|
|
119
120
|
"chai-dom": "^1.10.0",
|
|
120
121
|
"chai-enzyme": "1.0.0-beta.1",
|
|
121
122
|
"cheerio": "^0.22.0",
|
|
122
|
-
"core-js": "^3.25.
|
|
123
|
+
"core-js": "^3.25.1",
|
|
123
124
|
"cpy-cli": "^3.1.1",
|
|
124
125
|
"enzyme": "^3.11.0",
|
|
125
|
-
"eslint": "^8.23.
|
|
126
|
+
"eslint": "^8.23.1",
|
|
126
127
|
"eslint-import-resolver-webpack": "^0.13.2",
|
|
127
128
|
"eslint-plugin-angular": "^4.1.0",
|
|
128
129
|
"eslint-plugin-bdd": "^2.1.1",
|
|
129
130
|
"eslint-plugin-import": "^2.26.0",
|
|
130
131
|
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
131
|
-
"eslint-plugin-react": "^7.31.
|
|
132
|
+
"eslint-plugin-react": "^7.31.8",
|
|
132
133
|
"events": "^3.3.0",
|
|
133
134
|
"glob": "^8.0.3",
|
|
134
135
|
"html-webpack-plugin": "^5.5.0",
|
|
135
136
|
"husky": "^8.0.1",
|
|
136
137
|
"identity-obj-proxy": "^3.0.0",
|
|
137
138
|
"imports-loader": "^4.0.1",
|
|
138
|
-
"jest": "~29.0.
|
|
139
|
-
"jest-environment-jsdom": "^29.0.
|
|
139
|
+
"jest": "~29.0.3",
|
|
140
|
+
"jest-environment-jsdom": "^29.0.3",
|
|
140
141
|
"jest-teamcity": "^1.10.0",
|
|
141
142
|
"karma": "^6.4.0",
|
|
142
143
|
"karma-chrome-launcher": "3.1.1",
|
|
@@ -144,19 +145,19 @@
|
|
|
144
145
|
"karma-sourcemap-loader": "^0.3.8",
|
|
145
146
|
"karma-teamcity-reporter": "^2.0.0",
|
|
146
147
|
"karma-webpack": "^5.0.0",
|
|
147
|
-
"lerna": "^5.
|
|
148
|
+
"lerna": "^5.5.1",
|
|
148
149
|
"lint-staged": "^13.0.3",
|
|
149
150
|
"merge-options": "^3.0.4",
|
|
150
151
|
"mocha": "^10.0.0",
|
|
151
152
|
"pinst": "^3.0.0",
|
|
152
|
-
"puppeteer": "^17.
|
|
153
|
+
"puppeteer": "^17.1.3",
|
|
153
154
|
"raw-loader": "^4.0.2",
|
|
154
155
|
"react": "^18.2.0",
|
|
155
156
|
"react-dom": "^18.2.0",
|
|
156
157
|
"react-test-renderer": "^18.2.0",
|
|
157
158
|
"regenerator-runtime": "^0.13.9",
|
|
158
159
|
"rimraf": "^3.0.2",
|
|
159
|
-
"rollup": "^2.
|
|
160
|
+
"rollup": "^2.79.0",
|
|
160
161
|
"rollup-plugin-clear": "^2.0.7",
|
|
161
162
|
"rollup-plugin-styles": "^4.0.0",
|
|
162
163
|
"sinon": "^14.0.0",
|
|
@@ -165,8 +166,8 @@
|
|
|
165
166
|
"stylelint": "^14.11.0",
|
|
166
167
|
"svg-inline-loader": "^0.8.2",
|
|
167
168
|
"teamcity-service-messages": "^0.1.14",
|
|
168
|
-
"terser-webpack-plugin": "^5.3.
|
|
169
|
-
"typescript": "~4.
|
|
169
|
+
"terser-webpack-plugin": "^5.3.6",
|
|
170
|
+
"typescript": "~4.8.3",
|
|
170
171
|
"wallaby-webpack": "^3.9.16",
|
|
171
172
|
"webpack": "^5.74.0",
|
|
172
173
|
"webpack-cli": "^4.10.0",
|
|
@@ -193,11 +194,11 @@
|
|
|
193
194
|
}
|
|
194
195
|
},
|
|
195
196
|
"dependencies": {
|
|
196
|
-
"@babel/core": "^7.
|
|
197
|
+
"@babel/core": "^7.19.0",
|
|
197
198
|
"@babel/preset-typescript": "^7.18.6",
|
|
198
199
|
"@jetbrains/babel-preset-jetbrains": "^2.3.2",
|
|
199
200
|
"@jetbrains/icons": "^3.19.1",
|
|
200
|
-
"@jetbrains/logos": "^2.2.
|
|
201
|
+
"@jetbrains/logos": "^2.2.4",
|
|
201
202
|
"@jetbrains/postcss-require-hover": "^0.1.2",
|
|
202
203
|
"@types/combokeys": "^2.4.6",
|
|
203
204
|
"@types/deep-equal": "^1.0.1",
|
|
@@ -237,7 +238,7 @@
|
|
|
237
238
|
"postcss-font-family-system-ui": "^5.0.0",
|
|
238
239
|
"postcss-loader": "^7.0.1",
|
|
239
240
|
"postcss-modules-values-replace": "^3.4.0",
|
|
240
|
-
"postcss-preset-env": "^7.8.
|
|
241
|
+
"postcss-preset-env": "^7.8.1",
|
|
241
242
|
"prop-types": "^15.8.1",
|
|
242
243
|
"react-markdown": "^8.0.3",
|
|
243
244
|
"react-movable": "^3.0.4",
|
|
@@ -258,5 +259,5 @@
|
|
|
258
259
|
"node": ">=14.0",
|
|
259
260
|
"npm": ">=6.0.0"
|
|
260
261
|
},
|
|
261
|
-
"gitHead": "
|
|
262
|
+
"gitHead": "4d402ffedfa3c78b53a51d2b9847bb780b8814da"
|
|
262
263
|
}
|