@jetbrains/ring-ui-built 7.0.52 → 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/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/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/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 -1
@@ -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';
|