@vitessce/feature-list 3.3.1 → 3.3.2
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/dist/index.js
CHANGED
|
@@ -29552,7 +29552,9 @@ function FeatureListSubscriber(props) {
|
|
|
29552
29552
|
enableMultiSelect = false,
|
|
29553
29553
|
showTable = false,
|
|
29554
29554
|
sort: sort2 = "alphabetical",
|
|
29555
|
-
sortKey = null
|
|
29555
|
+
sortKey = null,
|
|
29556
|
+
closeButtonVisible,
|
|
29557
|
+
downloadButtonVisible
|
|
29556
29558
|
} = props;
|
|
29557
29559
|
const loaders = useLoaders();
|
|
29558
29560
|
const [{
|
|
@@ -29611,6 +29613,8 @@ function FeatureListSubscriber(props) {
|
|
|
29611
29613
|
info: `${commaNumber(numGenes)} ${pluralize(variablesLabel, numGenes)}`,
|
|
29612
29614
|
theme,
|
|
29613
29615
|
isScroll: true,
|
|
29616
|
+
closeButtonVisible,
|
|
29617
|
+
downloadButtonVisible,
|
|
29614
29618
|
removeGridComponent,
|
|
29615
29619
|
isReady,
|
|
29616
29620
|
urls,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureListSubscriber.d.ts","sourceRoot":"","sources":["../src/FeatureListSubscriber.js"],"names":[],"mappings":"AAaA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH;IAlByB,KAAK,EAAnB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;IAEU,mBAAmB;IAErB,KAAK,EAAnB,MAAM;IACQ,sBAAsB,EAApC,MAAM;IAEQ,4BAA4B,EAA1C,MAAM;IAES,iBAAiB,EAAhC,OAAO;IAEQ,SAAS,EAAxB,OAAO;IAC0B,IAAI,EAArC,cAAc,GAAC,UAAU;IAGkB,OAAO,EAAlD,cAAc,GAAC,eAAe,GAAC,IAAI;
|
|
1
|
+
{"version":3,"file":"FeatureListSubscriber.d.ts","sourceRoot":"","sources":["../src/FeatureListSubscriber.js"],"names":[],"mappings":"AAaA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH;IAlByB,KAAK,EAAnB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;IAEU,mBAAmB;IAErB,KAAK,EAAnB,MAAM;IACQ,sBAAsB,EAApC,MAAM;IAEQ,4BAA4B,EAA1C,MAAM;IAES,iBAAiB,EAAhC,OAAO;IAEQ,SAAS,EAAxB,OAAO;IAC0B,IAAI,EAArC,cAAc,GAAC,UAAU;IAGkB,OAAO,EAAlD,cAAc,GAAC,eAAe,GAAC,IAAI;gBAqH7C"}
|
|
@@ -27,7 +27,7 @@ import FeatureListOptions from './FeatureListOptions.js';
|
|
|
27
27
|
* @param {'featureIndex'|'featureLabels'|null} props.sortKey The information to use for sorting.
|
|
28
28
|
*/
|
|
29
29
|
export function FeatureListSubscriber(props) {
|
|
30
|
-
const { coordinationScopes, removeGridComponent, variablesLabelOverride, theme, title: titleOverride, enableMultiSelect = false, showTable = false, sort = 'alphabetical', sortKey = null, } = props;
|
|
30
|
+
const { coordinationScopes, removeGridComponent, variablesLabelOverride, theme, title: titleOverride, enableMultiSelect = false, showTable = false, sort = 'alphabetical', sortKey = null, closeButtonVisible, downloadButtonVisible, } = props;
|
|
31
31
|
const loaders = useLoaders();
|
|
32
32
|
// Get "props" from the coordination space.
|
|
33
33
|
const [{ dataset, obsType, featureType, featureSelection: geneSelection, featureFilter: geneFilter, obsColorEncoding: cellColorEncoding, }, { setFeatureSelection: setGeneSelection, setFeatureFilter: setGeneFilter, setFeatureHighlight: setGeneHighlight, setObsColorEncoding: setCellColorEncoding, }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType.FEATURE_LIST], coordinationScopes);
|
|
@@ -61,5 +61,5 @@ export function FeatureListSubscriber(props) {
|
|
|
61
61
|
// Virtual scroll is used but this allows for the same styling as a scroll component
|
|
62
62
|
// even though this no longer uses the TitleInfo component's
|
|
63
63
|
// scroll css (SelectableTable is virtual scroll).
|
|
64
|
-
isScroll: true, removeGridComponent: removeGridComponent, isReady: isReady, urls: urls, options: (_jsx(FeatureListOptions, { featureListSort: featureListSort, setFeatureListSort: setFeatureListSort, featureListSortKey: featureListSortKey || initialSortKey, setFeatureListSortKey: setFeatureListSortKey, showFeatureTable: showFeatureTable, setShowFeatureTable: setShowFeatureTable, hasFeatureLabels: Boolean(featureLabelsMap), primaryColumnName: primaryColumnName })), children: _jsx(FeatureList, { hasColorEncoding: cellColorEncoding === 'geneSelection', showFeatureTable: showFeatureTable, geneList: geneList, featureListSort: featureListSort, featureListSortKey: featureListSortKey || initialSortKey, featureLabelsMap: featureLabelsMap, featureType: featureType, geneSelection: geneSelection, geneFilter: geneFilter, setGeneSelection: setGeneSelectionAndColorEncoding, setGeneFilter: setGeneFilter, setGeneHighlight: setGeneHighlight, enableMultiSelect: enableMultiSelect, hasFeatureLabels: Boolean(featureLabelsMap), primaryColumnName: primaryColumnName }) }));
|
|
64
|
+
isScroll: true, closeButtonVisible: closeButtonVisible, downloadButtonVisible: downloadButtonVisible, removeGridComponent: removeGridComponent, isReady: isReady, urls: urls, options: (_jsx(FeatureListOptions, { featureListSort: featureListSort, setFeatureListSort: setFeatureListSort, featureListSortKey: featureListSortKey || initialSortKey, setFeatureListSortKey: setFeatureListSortKey, showFeatureTable: showFeatureTable, setShowFeatureTable: setShowFeatureTable, hasFeatureLabels: Boolean(featureLabelsMap), primaryColumnName: primaryColumnName })), children: _jsx(FeatureList, { hasColorEncoding: cellColorEncoding === 'geneSelection', showFeatureTable: showFeatureTable, geneList: geneList, featureListSort: featureListSort, featureListSortKey: featureListSortKey || initialSortKey, featureLabelsMap: featureLabelsMap, featureType: featureType, geneSelection: geneSelection, geneFilter: geneFilter, setGeneSelection: setGeneSelectionAndColorEncoding, setGeneFilter: setGeneFilter, setGeneHighlight: setGeneHighlight, enableMultiSelect: enableMultiSelect, hasFeatureLabels: Boolean(featureLabelsMap), primaryColumnName: primaryColumnName }) }));
|
|
65
65
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/feature-list",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.2",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"react-virtualized": "^9.22.2",
|
|
23
23
|
"uuid": "^9.0.0",
|
|
24
24
|
"react-aria": "^3.28.0",
|
|
25
|
-
"@vitessce/constants-internal": "3.3.
|
|
26
|
-
"@vitessce/utils": "3.3.
|
|
27
|
-
"@vitessce/vit-s": "3.3.
|
|
25
|
+
"@vitessce/constants-internal": "3.3.2",
|
|
26
|
+
"@vitessce/utils": "3.3.2",
|
|
27
|
+
"@vitessce/vit-s": "3.3.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@testing-library/jest-dom": "^5.16.4",
|
|
@@ -43,6 +43,8 @@ export function FeatureListSubscriber(props) {
|
|
|
43
43
|
showTable = false,
|
|
44
44
|
sort = 'alphabetical',
|
|
45
45
|
sortKey = null,
|
|
46
|
+
closeButtonVisible,
|
|
47
|
+
downloadButtonVisible,
|
|
46
48
|
} = props;
|
|
47
49
|
|
|
48
50
|
const loaders = useLoaders();
|
|
@@ -108,6 +110,8 @@ export function FeatureListSubscriber(props) {
|
|
|
108
110
|
// even though this no longer uses the TitleInfo component's
|
|
109
111
|
// scroll css (SelectableTable is virtual scroll).
|
|
110
112
|
isScroll
|
|
113
|
+
closeButtonVisible={closeButtonVisible}
|
|
114
|
+
downloadButtonVisible={downloadButtonVisible}
|
|
111
115
|
removeGridComponent={removeGridComponent}
|
|
112
116
|
isReady={isReady}
|
|
113
117
|
urls={urls}
|