@jetbrains/ring-ui-built 7.0.51 → 7.0.53
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/_helpers/title.js +2 -0
- package/components/auth/auth.js +0 -1
- package/components/auth/auth__core.js +0 -1
- package/components/auth/background-flow.js +0 -1
- package/components/auth/iframe-flow.js +0 -1
- package/components/auth/response-parser.d.ts +1 -2
- package/components/auth/response-parser.js +1 -2
- package/components/auth/token-validator.d.ts +1 -2
- package/components/auth/token-validator.js +1 -2
- package/components/auth/window-flow.js +0 -1
- package/components/data-list/data-list.js +2 -1
- package/components/data-list/item.d.ts +3 -1
- package/components/data-list/item.js +3 -0
- package/components/data-list/selection.d.ts +12 -2
- package/components/data-list/selection.js +68 -17
- package/components/data-list/title.d.ts +1 -0
- package/components/header/header.js +0 -1
- package/components/header/smart-profile.js +0 -1
- package/components/header/smart-services.js +0 -1
- package/components/http/http.d.ts +1 -2
- package/components/http/http.js +1 -2
- package/components/http/http.mock.js +0 -1
- package/components/hub-source/hub-source__user.js +0 -1
- package/components/island/adaptive-island-hoc.js +1 -1
- package/components/island/header.js +16 -7
- package/components/loader/loader.js +1 -4
- package/components/loader-screen/loader-screen.js +0 -1
- package/components/login-dialog/login-dialog.js +0 -1
- package/components/login-dialog/service.js +0 -1
- package/components/old-browsers-message/white-list.js +2 -2
- package/components/style.css +1 -1
- package/components/table/selection.d.ts +2 -2
- package/components/table/simple-table.js +1 -1
- package/components/table/smart-table.js +1 -1
- package/components/table/table.js +1 -1
- package/components/tooltip/tooltip.js +1 -0
- package/package.json +1 -2
@@ -15,12 +15,12 @@ export interface CloneWithConfig<T> {
|
|
15
15
|
focused?: T | null | undefined;
|
16
16
|
}
|
17
17
|
export default class Selection<T extends SelectionItem> {
|
18
|
-
|
18
|
+
protected _rawData: readonly T[];
|
19
19
|
protected _getChildren: (item: T) => readonly T[];
|
20
20
|
protected _data: Set<T>;
|
21
21
|
protected _selected: Set<T>;
|
22
22
|
protected _focused: T | null;
|
23
|
-
|
23
|
+
protected _getKey: (item: T) => string | number;
|
24
24
|
protected _isItemSelectable: (item: T) => boolean | undefined;
|
25
25
|
constructor({ data, selected, focused, getKey, getChildren, isItemSelectable, }?: TableSelectionConfig<T>);
|
26
26
|
protected _buildData(data: readonly T[] | null | undefined): Set<T>;
|
@@ -18,7 +18,6 @@ import 'combokeys';
|
|
18
18
|
import '../global/sniffer.js';
|
19
19
|
import 'sniffr';
|
20
20
|
import '../loader/loader.js';
|
21
|
-
import '../global/data-tests.js';
|
22
21
|
import '../loader/loader__core.js';
|
23
22
|
import '../global/dom.js';
|
24
23
|
import './header.js';
|
@@ -35,6 +34,7 @@ import '../control-help/control-help.js';
|
|
35
34
|
import './header-cell.js';
|
36
35
|
import '@jetbrains/icons/unsorted-12px';
|
37
36
|
import '@jetbrains/icons/chevron-12px-down';
|
37
|
+
import '../global/data-tests.js';
|
38
38
|
import './selection-shortcuts-hoc.js';
|
39
39
|
import './disable-hover-hoc.js';
|
40
40
|
import './row-with-focus-sensor.js';
|
@@ -17,7 +17,6 @@ import 'combokeys';
|
|
17
17
|
import '../global/sniffer.js';
|
18
18
|
import 'sniffr';
|
19
19
|
import '../loader/loader.js';
|
20
|
-
import '../global/data-tests.js';
|
21
20
|
import '../loader/loader__core.js';
|
22
21
|
import '../global/dom.js';
|
23
22
|
import './header.js';
|
@@ -35,6 +34,7 @@ import '../_helpers/table.js';
|
|
35
34
|
import './header-cell.js';
|
36
35
|
import '@jetbrains/icons/unsorted-12px';
|
37
36
|
import '@jetbrains/icons/chevron-12px-down';
|
37
|
+
import '../global/data-tests.js';
|
38
38
|
import './selection-shortcuts-hoc.js';
|
39
39
|
import './disable-hover-hoc.js';
|
40
40
|
import './row-with-focus-sensor.js';
|
@@ -20,7 +20,6 @@ import 'core-js/modules/es.regexp.exec.js';
|
|
20
20
|
import 'combokeys';
|
21
21
|
import '../global/sniffer.js';
|
22
22
|
import 'sniffr';
|
23
|
-
import '../global/data-tests.js';
|
24
23
|
import '../loader/loader__core.js';
|
25
24
|
import '../global/dom.js';
|
26
25
|
import '../checkbox/checkbox.js';
|
@@ -36,6 +35,7 @@ import '../control-help/control-help.js';
|
|
36
35
|
import './header-cell.js';
|
37
36
|
import '@jetbrains/icons/unsorted-12px';
|
38
37
|
import '@jetbrains/icons/chevron-12px-down';
|
38
|
+
import '../global/data-tests.js';
|
39
39
|
import './row.js';
|
40
40
|
import '@jetbrains/icons/chevron-right';
|
41
41
|
import '@jetbrains/icons/chevron-down';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@jetbrains/ring-ui-built",
|
3
|
-
"version": "7.0.
|
3
|
+
"version": "7.0.53",
|
4
4
|
"description": "JetBrains UI library",
|
5
5
|
"author": {
|
6
6
|
"name": "JetBrains"
|
@@ -116,7 +116,6 @@
|
|
116
116
|
"date-fns": "^4.1.0",
|
117
117
|
"dequal": "^2.0.3",
|
118
118
|
"element-resize-detector": "^1.2.4",
|
119
|
-
"es6-error": "^4.1.1",
|
120
119
|
"fastdom": "^1.0.12",
|
121
120
|
"focus-trap": "^7.6.5",
|
122
121
|
"highlight.js": "^10.7.2",
|