@jetbrains/ring-ui 6.0.13 → 6.0.14
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/data-list/data-list.d.ts +1 -1
- package/components/global/url.js +3 -2
- package/components/http/http.d.ts +2 -2
- package/components/island/adaptive-island-hoc.d.ts +1 -1
- package/components/island/island.d.ts +1 -1
- package/components/link/link.d.ts +2 -2
- package/components/shortcuts/shortcuts-hoc.d.ts +1 -1
- package/components/table/disable-hover-hoc.d.ts +1 -1
- package/components/table/table.d.ts +1 -1
- package/package.json +24 -24
|
@@ -22,7 +22,7 @@ export type DataListContainerProps<T extends SelectionItem> = DataListBaseProps<
|
|
|
22
22
|
export default class DataListContainer<T extends SelectionItem> extends Component<DataListContainerProps<T>> {
|
|
23
23
|
static propTypes: React.WeakValidationMap<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<SelectionItem, FocusableProps<SelectionItem>>> | undefined;
|
|
24
24
|
DataList: {
|
|
25
|
-
new (props: import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>
|
|
25
|
+
new (props: import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>): {
|
|
26
26
|
state: {
|
|
27
27
|
disabledHover: boolean;
|
|
28
28
|
};
|
package/components/global/url.js
CHANGED
|
@@ -107,8 +107,9 @@ export function parseQueryString(queryString) {
|
|
|
107
107
|
return urlParams;
|
|
108
108
|
}
|
|
109
109
|
function customEncodeURIComponent(str) {
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
return encodeURIComponent(String(str)).
|
|
111
|
+
replace(/%2C/g, ',').
|
|
112
|
+
replace(/%24/g, '$');
|
|
112
113
|
}
|
|
113
114
|
/**
|
|
114
115
|
* Takes a URL as input and a params object.
|
|
@@ -53,9 +53,9 @@ export default class HTTP implements Partial<HTTPAuth> {
|
|
|
53
53
|
* Usage: const {promise, abort} = http.abortify(http.get<{id: string}>)('http://test.com');
|
|
54
54
|
* @param method
|
|
55
55
|
*/
|
|
56
|
-
abortify: <T>(method: Method<T>) => (
|
|
56
|
+
abortify: <T>(method: Method<T>) => ((...p: Parameters<Method<T>>) => ({
|
|
57
57
|
promise: Promise<T>;
|
|
58
58
|
abort: () => void;
|
|
59
|
-
});
|
|
59
|
+
}));
|
|
60
60
|
}
|
|
61
61
|
export {};
|
|
@@ -3,7 +3,7 @@ export declare const PhaseContext: React.Context<number | null>;
|
|
|
3
3
|
type ScrollHandler = (element: Element) => void;
|
|
4
4
|
export declare const ScrollHandlerContext: React.Context<ScrollHandler | null>;
|
|
5
5
|
export default function adaptiveIslandHOC<P>(ComposedComponent: ComponentType<P>): {
|
|
6
|
-
new (props: P
|
|
6
|
+
new (props: P): {
|
|
7
7
|
state: {
|
|
8
8
|
phase: null;
|
|
9
9
|
};
|
|
@@ -14,7 +14,7 @@ export interface LinkBaseProps {
|
|
|
14
14
|
}
|
|
15
15
|
export type LinkProps<P extends ClickableLinkProps = ClickableLinkProps> = Omit<P, keyof LinkBaseProps> & LinkBaseProps;
|
|
16
16
|
export declare function linkHOC<P extends ClickableLinkProps>(ComposedComponent: ComponentType<P> | string): {
|
|
17
|
-
new (props: LinkProps<P>
|
|
17
|
+
new (props: LinkProps<P>): {
|
|
18
18
|
render(): React.JSX.Element;
|
|
19
19
|
context: unknown;
|
|
20
20
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<LinkProps<P>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
@@ -75,7 +75,7 @@ export declare function linkHOC<P extends ClickableLinkProps>(ComposedComponent:
|
|
|
75
75
|
contextType?: React.Context<any> | undefined;
|
|
76
76
|
};
|
|
77
77
|
declare const _default: {
|
|
78
|
-
new (props: LinkProps<ClickableLinkProps>
|
|
78
|
+
new (props: LinkProps<ClickableLinkProps>): {
|
|
79
79
|
render(): React.JSX.Element;
|
|
80
80
|
context: unknown;
|
|
81
81
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<LinkProps<ClickableLinkProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
@@ -9,7 +9,7 @@ export interface ShortcutsHOCProps {
|
|
|
9
9
|
rgShortcutsMap: ShortcutsMap;
|
|
10
10
|
}
|
|
11
11
|
export default function shortcutsHOC<P extends {}>(ComposedComponent: ComponentType<P> | string): {
|
|
12
|
-
new (props:
|
|
12
|
+
new (props: P & ShortcutsHOCProps): {
|
|
13
13
|
_shortcutsScopeUid: string;
|
|
14
14
|
render(): React.JSX.Element;
|
|
15
15
|
context: unknown;
|
|
@@ -4,7 +4,7 @@ export interface DisableHoverAddProps {
|
|
|
4
4
|
}
|
|
5
5
|
export type DisableHoverProps<P extends DisableHoverAddProps> = Omit<P, keyof DisableHoverAddProps>;
|
|
6
6
|
export default function disableHoverHOC<P extends DisableHoverAddProps>(ComposedComponent: ComponentType<P>): {
|
|
7
|
-
new (props: DisableHoverProps<P>
|
|
7
|
+
new (props: DisableHoverProps<P>): {
|
|
8
8
|
state: {
|
|
9
9
|
disabledHover: boolean;
|
|
10
10
|
};
|
|
@@ -97,7 +97,7 @@ export type TableAttrs<T extends SelectionItem> = DisableHoverProps<SelectionSho
|
|
|
97
97
|
export default class TableContainer<T extends SelectionItem> extends Component<TableAttrs<T>> {
|
|
98
98
|
static propTypes: React.WeakValidationMap<SelectionShortcutsProps<SelectionItem, FocusSensorProps<TableProps<SelectionItem>, HTMLTableRowElement, typeof Table>>> | undefined;
|
|
99
99
|
Table: {
|
|
100
|
-
new (props: DisableHoverProps<SelectionShortcutsProps<T, FocusSensorProps<TableProps<T>, HTMLTableRowElement, typeof Table>>>
|
|
100
|
+
new (props: DisableHoverProps<SelectionShortcutsProps<T, FocusSensorProps<TableProps<T>, HTMLTableRowElement, typeof Table>>>): {
|
|
101
101
|
state: {
|
|
102
102
|
disabledHover: boolean;
|
|
103
103
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetbrains/ring-ui",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.14",
|
|
4
4
|
"description": "JetBrains UI library",
|
|
5
5
|
"author": "JetBrains",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -87,19 +87,19 @@
|
|
|
87
87
|
"@rollup/plugin-json": "^6.1.0",
|
|
88
88
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
89
89
|
"@rollup/plugin-replace": "^5.0.5",
|
|
90
|
-
"@storybook/addon-a11y": "8.0.
|
|
91
|
-
"@storybook/addon-docs": "8.0.
|
|
90
|
+
"@storybook/addon-a11y": "8.0.5",
|
|
91
|
+
"@storybook/addon-docs": "8.0.5",
|
|
92
92
|
"@storybook/addon-essentials": "7.6.17",
|
|
93
93
|
"@storybook/addon-storyshots": "7.6.17",
|
|
94
94
|
"@storybook/addon-storyshots-puppeteer": "7.6.17",
|
|
95
|
-
"@storybook/addon-storysource": "8.0.
|
|
95
|
+
"@storybook/addon-storysource": "8.0.5",
|
|
96
96
|
"@storybook/addons": "7.6.17",
|
|
97
|
-
"@storybook/components": "8.0.
|
|
97
|
+
"@storybook/components": "8.0.5",
|
|
98
98
|
"@storybook/preview-api": "7.6.17",
|
|
99
99
|
"@storybook/react": "7.6.17",
|
|
100
100
|
"@storybook/react-webpack5": "7.6.17",
|
|
101
|
-
"@storybook/source-loader": "8.0.
|
|
102
|
-
"@storybook/theming": "8.0.
|
|
101
|
+
"@storybook/source-loader": "8.0.5",
|
|
102
|
+
"@storybook/theming": "8.0.5",
|
|
103
103
|
"@testing-library/react": "^14.2.2",
|
|
104
104
|
"@testing-library/user-event": "^14.5.2",
|
|
105
105
|
"@types/chai": "^4.3.14",
|
|
@@ -108,16 +108,16 @@
|
|
|
108
108
|
"@types/chai-enzyme": "^0.6.13",
|
|
109
109
|
"@types/enzyme": "^3.10.18",
|
|
110
110
|
"@types/markdown-it": "^13.0.7",
|
|
111
|
-
"@types/react": "^18.2.
|
|
112
|
-
"@types/react-dom": "^18.2.
|
|
111
|
+
"@types/react": "^18.2.74",
|
|
112
|
+
"@types/react-dom": "^18.2.24",
|
|
113
113
|
"@types/sinon": "^17.0.3",
|
|
114
114
|
"@types/sinon-chai": "^3.2.12",
|
|
115
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
116
|
-
"@typescript-eslint/parser": "^7.
|
|
115
|
+
"@typescript-eslint/eslint-plugin": "^7.5.0",
|
|
116
|
+
"@typescript-eslint/parser": "^7.5.0",
|
|
117
117
|
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
|
|
118
118
|
"acorn": "^8.11.3",
|
|
119
119
|
"babel-plugin-require-context-hook": "^1.0.0",
|
|
120
|
-
"caniuse-lite": "^1.0.
|
|
120
|
+
"caniuse-lite": "^1.0.30001606",
|
|
121
121
|
"chai": "^5.1.0",
|
|
122
122
|
"chai-as-promised": "^7.1.1",
|
|
123
123
|
"chai-dom": "^1.10.0",
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"eslint-plugin-react": "^7.34.1",
|
|
135
135
|
"eslint-plugin-storybook": "^0.8.0",
|
|
136
136
|
"events": "^3.3.0",
|
|
137
|
-
"glob": "^10.3.
|
|
137
|
+
"glob": "^10.3.12",
|
|
138
138
|
"html-webpack-plugin": "^5.6.0",
|
|
139
139
|
"husky": "^9.0.11",
|
|
140
140
|
"identity-obj-proxy": "^3.0.0",
|
|
@@ -151,29 +151,29 @@
|
|
|
151
151
|
"lint-staged": "^15.2.2",
|
|
152
152
|
"markdown-it": "^14.1.0",
|
|
153
153
|
"merge-options": "^3.0.4",
|
|
154
|
-
"mocha": "^10.
|
|
154
|
+
"mocha": "^10.4.0",
|
|
155
155
|
"pinst": "^3.0.0",
|
|
156
156
|
"prettier": "^3.2.5",
|
|
157
|
-
"puppeteer": "^22.6.
|
|
157
|
+
"puppeteer": "^22.6.1",
|
|
158
158
|
"raw-loader": "^4.0.2",
|
|
159
159
|
"react": "^18.2.0",
|
|
160
160
|
"react-dom": "^18.2.0",
|
|
161
161
|
"react-test-renderer": "^18.2.0",
|
|
162
162
|
"regenerator-runtime": "^0.14.1",
|
|
163
163
|
"rimraf": "^5.0.5",
|
|
164
|
-
"rollup": "^4.13.
|
|
164
|
+
"rollup": "^4.13.2",
|
|
165
165
|
"rollup-plugin-clear": "^2.0.7",
|
|
166
166
|
"rollup-plugin-styles": "^4.0.0",
|
|
167
167
|
"sinon": "^17.0.1",
|
|
168
168
|
"sinon-chai": "^3.7.0",
|
|
169
169
|
"storage-mock": "^2.1.0",
|
|
170
|
-
"storybook": "8.0.
|
|
170
|
+
"storybook": "8.0.5",
|
|
171
171
|
"storybook-addon-themes": "^6.1.0",
|
|
172
|
-
"stylelint": "^16.
|
|
172
|
+
"stylelint": "^16.3.1",
|
|
173
173
|
"svg-inline-loader": "^0.8.2",
|
|
174
174
|
"teamcity-service-messages": "^0.1.14",
|
|
175
175
|
"terser-webpack-plugin": "^5.3.10",
|
|
176
|
-
"typescript": "~5.4.
|
|
176
|
+
"typescript": "~5.4.4",
|
|
177
177
|
"wallaby-webpack": "^3.9.16",
|
|
178
178
|
"webpack": "^5.91.0",
|
|
179
179
|
"webpack-cli": "^5.1.4",
|
|
@@ -199,16 +199,16 @@
|
|
|
199
199
|
}
|
|
200
200
|
},
|
|
201
201
|
"dependencies": {
|
|
202
|
-
"@babel/core": "^7.24.
|
|
202
|
+
"@babel/core": "^7.24.4",
|
|
203
203
|
"@babel/preset-typescript": "^7.24.1",
|
|
204
204
|
"@jetbrains/babel-preset-jetbrains": "^2.3.2",
|
|
205
205
|
"@jetbrains/icons": "^4.1.0",
|
|
206
|
-
"@jetbrains/logos": "^2.2.
|
|
206
|
+
"@jetbrains/logos": "^2.2.28",
|
|
207
207
|
"@jetbrains/postcss-require-hover": "^0.1.2",
|
|
208
208
|
"@types/combokeys": "^2.4.9",
|
|
209
209
|
"@types/deep-equal": "^1.0.4",
|
|
210
210
|
"@types/element-resize-detector": "^1.1.6",
|
|
211
|
-
"@types/prop-types": "^15.7.
|
|
211
|
+
"@types/prop-types": "^15.7.12",
|
|
212
212
|
"@types/react-virtualized": "9.21.29",
|
|
213
213
|
"@types/util-deprecate": "^1.0.3",
|
|
214
214
|
"@ungap/url-search-params": "^0.2.2",
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
"change-case": "^4.1.1",
|
|
219
219
|
"classnames": "^2.5.1",
|
|
220
220
|
"combokeys": "^3.0.1",
|
|
221
|
-
"css-loader": "^6.
|
|
221
|
+
"css-loader": "^6.11.0",
|
|
222
222
|
"csstype": "^3.1.3",
|
|
223
223
|
"date-fns": "^3.6.0",
|
|
224
224
|
"deep-equal": "^2.2.3",
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
"postcss-font-family-system-ui": "^5.0.0",
|
|
238
238
|
"postcss-loader": "^8.1.1",
|
|
239
239
|
"postcss-modules-values-replace": "^4.2.0",
|
|
240
|
-
"postcss-preset-env": "^9.5.
|
|
240
|
+
"postcss-preset-env": "^9.5.4",
|
|
241
241
|
"prop-types": "^15.8.1",
|
|
242
242
|
"react-movable": "^3.2.0",
|
|
243
243
|
"react-virtualized": "^9.22.5",
|