@vitessce/scatterplot-gating 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.
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { B as BaseDecoder } from "./index-f4743608.js";
2
+ import { B as BaseDecoder } from "./index-db49eef4.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -121175,16 +121175,16 @@ function addDecoder(cases, importFn) {
121175
121175
  }
121176
121176
  cases.forEach((c2) => registry$1.set(c2, importFn));
121177
121177
  }
121178
- addDecoder([void 0, 1], () => import("./raw-268e3c0d.js").then((m2) => m2.default));
121179
- addDecoder(5, () => import("./lzw-476a6015.js").then((m2) => m2.default));
121178
+ addDecoder([void 0, 1], () => import("./raw-e380bba5.js").then((m2) => m2.default));
121179
+ addDecoder(5, () => import("./lzw-ba7d74c9.js").then((m2) => m2.default));
121180
121180
  addDecoder(6, () => {
121181
121181
  throw new Error("old style JPEG compression is not supported.");
121182
121182
  });
121183
- addDecoder(7, () => import("./jpeg-3383b938.js").then((m2) => m2.default));
121184
- addDecoder([8, 32946], () => import("./deflate-636556e0.js").then((m2) => m2.default));
121185
- addDecoder(32773, () => import("./packbits-724e9549.js").then((m2) => m2.default));
121186
- addDecoder(34887, () => import("./lerc-c057e1dc.js").then((m2) => m2.default));
121187
- addDecoder(50001, () => import("./webimage-534d8cfd.js").then((m2) => m2.default));
121183
+ addDecoder(7, () => import("./jpeg-8eab1ac6.js").then((m2) => m2.default));
121184
+ addDecoder([8, 32946], () => import("./deflate-77b61410.js").then((m2) => m2.default));
121185
+ addDecoder(32773, () => import("./packbits-ad44bc57.js").then((m2) => m2.default));
121186
+ addDecoder(34887, () => import("./lerc-5d8884d4.js").then((m2) => m2.default));
121187
+ addDecoder(50001, () => import("./webimage-d4200105.js").then((m2) => m2.default));
121188
121188
  function decodeRowAcc(row, stride) {
121189
121189
  let length2 = row.length - stride;
121190
121190
  let offset5 = 0;
@@ -149242,6 +149242,8 @@ function GatingSubscriber(props2) {
149242
149242
  const {
149243
149243
  uuid,
149244
149244
  coordinationScopes,
149245
+ closeButtonVisible,
149246
+ downloadButtonVisible,
149245
149247
  removeGridComponent,
149246
149248
  theme,
149247
149249
  disableTooltip = false,
@@ -149562,6 +149564,8 @@ function GatingSubscriber(props2) {
149562
149564
  {
149563
149565
  title,
149564
149566
  info: `${commaNumber(cellsCount)} ${pluralize(obsType, cellsCount)}`,
149567
+ closeButtonVisible,
149568
+ downloadButtonVisible,
149565
149569
  removeGridComponent,
149566
149570
  urls,
149567
149571
  theme,
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { G } from "./index-f4743608.js";
1
+ import { G } from "./index-db49eef4.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-f4743608.js";
1
+ import { B as BaseDecoder } from "./index-db49eef4.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-f4743608.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-db49eef4.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-f4743608.js";
1
+ import { B as BaseDecoder } from "./index-db49eef4.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-f4743608.js";
1
+ import { B as BaseDecoder } from "./index-db49eef4.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-f4743608.js";
1
+ import { B as BaseDecoder } from "./index-db49eef4.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-f4743608.js";
1
+ import { B as BaseDecoder } from "./index-db49eef4.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1 +1 @@
1
- {"version":3,"file":"GatingSubscriber.d.ts","sourceRoot":"","sources":["../src/GatingSubscriber.js"],"names":[],"mappings":"AAkCA;;;;;;;;;;;;KAYK;AACL;IAV2B,IAAI,EAAlB,MAAM;IACQ,KAAK,EAAnB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;IAES,cAAc,EAA7B,OAAO;IACS,mBAAmB;IAErB,kBAAkB,EAAhC,MAAM;gBA4ZlB"}
1
+ {"version":3,"file":"GatingSubscriber.d.ts","sourceRoot":"","sources":["../src/GatingSubscriber.js"],"names":[],"mappings":"AAkCA;;;;;;;;;;;;KAYK;AACL;IAV2B,IAAI,EAAlB,MAAM;IACQ,KAAK,EAAnB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;IAES,cAAc,EAA7B,OAAO;IACS,mBAAmB;IAErB,kBAAkB,EAAhC,MAAM;gBAgalB"}
@@ -22,7 +22,7 @@ import GatingScatterplotOptions from './GatingScatterplotOptions.js';
22
22
  * when using dynamic opacity mode.
23
23
  */
24
24
  export function GatingSubscriber(props) {
25
- const { uuid, coordinationScopes, removeGridComponent, theme, disableTooltip = false, title: titleOverride,
25
+ const { uuid, coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, disableTooltip = false, title: titleOverride,
26
26
  // Average fill density for dynamic opacity calculation.
27
27
  averageFillDensity, } = props;
28
28
  const loaders = useLoaders();
@@ -192,7 +192,7 @@ export function GatingSubscriber(props) {
192
192
  }, [obsXY, obsIndex, featureValueTransform,
193
193
  gatingFeatureSelectionX, gatingFeatureSelectionY, obsType,
194
194
  ]);
195
- return (_jsxs(TitleInfo, { title: title, info: `${commaNumber(cellsCount)} ${plur(obsType, cellsCount)}`, removeGridComponent: removeGridComponent, urls: urls, theme: theme, isReady: isReady, options: (_jsx(ScatterplotOptions, { observationsLabel: obsType, cellRadius: cellRadiusFixed, setCellRadius: setCellRadiusFixed, cellRadiusMode: cellRadiusMode, setCellRadiusMode: setCellRadiusMode, cellOpacity: cellOpacityFixed, setCellOpacity: setCellOpacityFixed, cellOpacityMode: cellOpacityMode, setCellOpacityMode: setCellOpacityMode, cellSetLabelsVisible: cellSetLabelsVisible, setCellSetLabelsVisible: setCellSetLabelsVisible, cellSetLabelSize: cellSetLabelSize, setCellSetLabelSize: setCellSetLabelSize, cellSetPolygonsVisible: cellSetPolygonsVisible, setCellSetPolygonsVisible: setCellSetPolygonsVisible, cellColorEncoding: cellColorEncoding, setCellColorEncoding: setCellColorEncoding, geneExpressionColormap: geneExpressionColormap, setGeneExpressionColormap: setGeneExpressionColormap, geneExpressionColormapRange: geneExpressionColormapRange, setGeneExpressionColormapRange: setGeneExpressionColormapRange, children: _jsx(GatingScatterplotOptions, { featureType: featureType, gatingFeatureSelectionX: gatingFeatureSelectionX, setGatingFeatureSelectionX: setGatingFeatureSelectionX, gatingFeatureSelectionY: gatingFeatureSelectionY, setGatingFeatureSelectionY: setGatingFeatureSelectionY, gatingFeatureValueTransform: featureValueTransform, setGatingFeatureValueTransform: (newValue) => {
195
+ return (_jsxs(TitleInfo, { title: title, info: `${commaNumber(cellsCount)} ${plur(obsType, cellsCount)}`, closeButtonVisible: closeButtonVisible, downloadButtonVisible: downloadButtonVisible, removeGridComponent: removeGridComponent, urls: urls, theme: theme, isReady: isReady, options: (_jsx(ScatterplotOptions, { observationsLabel: obsType, cellRadius: cellRadiusFixed, setCellRadius: setCellRadiusFixed, cellRadiusMode: cellRadiusMode, setCellRadiusMode: setCellRadiusMode, cellOpacity: cellOpacityFixed, setCellOpacity: setCellOpacityFixed, cellOpacityMode: cellOpacityMode, setCellOpacityMode: setCellOpacityMode, cellSetLabelsVisible: cellSetLabelsVisible, setCellSetLabelsVisible: setCellSetLabelsVisible, cellSetLabelSize: cellSetLabelSize, setCellSetLabelSize: setCellSetLabelSize, cellSetPolygonsVisible: cellSetPolygonsVisible, setCellSetPolygonsVisible: setCellSetPolygonsVisible, cellColorEncoding: cellColorEncoding, setCellColorEncoding: setCellColorEncoding, geneExpressionColormap: geneExpressionColormap, setGeneExpressionColormap: setGeneExpressionColormap, geneExpressionColormapRange: geneExpressionColormapRange, setGeneExpressionColormapRange: setGeneExpressionColormapRange, children: _jsx(GatingScatterplotOptions, { featureType: featureType, gatingFeatureSelectionX: gatingFeatureSelectionX, setGatingFeatureSelectionX: setGatingFeatureSelectionX, gatingFeatureSelectionY: gatingFeatureSelectionY, setGatingFeatureSelectionY: setGatingFeatureSelectionY, gatingFeatureValueTransform: featureValueTransform, setGatingFeatureValueTransform: (newValue) => {
196
196
  setFeatureValueTransform(newValue);
197
197
  setTargetX(null);
198
198
  setTargetY(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/scatterplot-gating",
3
- "version": "3.3.1",
3
+ "version": "3.3.2",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -20,11 +20,11 @@
20
20
  "d3-array": "^2.4.0",
21
21
  "lodash-es": "^4.17.21",
22
22
  "react-aria": "^3.28.0",
23
- "@vitessce/scatterplot": "3.3.1",
24
- "@vitessce/utils": "3.3.1",
25
- "@vitessce/sets-utils": "3.3.1",
26
- "@vitessce/vit-s": "3.3.1",
27
- "@vitessce/constants-internal": "3.3.1"
23
+ "@vitessce/scatterplot": "3.3.2",
24
+ "@vitessce/utils": "3.3.2",
25
+ "@vitessce/sets-utils": "3.3.2",
26
+ "@vitessce/vit-s": "3.3.2",
27
+ "@vitessce/constants-internal": "3.3.2"
28
28
  },
29
29
  "devDependencies": {
30
30
  "react": "^18.0.0",
@@ -49,6 +49,8 @@ export function GatingSubscriber(props) {
49
49
  const {
50
50
  uuid,
51
51
  coordinationScopes,
52
+ closeButtonVisible,
53
+ downloadButtonVisible,
52
54
  removeGridComponent,
53
55
  theme,
54
56
  disableTooltip = false,
@@ -352,6 +354,8 @@ export function GatingSubscriber(props) {
352
354
  <TitleInfo
353
355
  title={title}
354
356
  info={`${commaNumber(cellsCount)} ${plur(obsType, cellsCount)}`}
357
+ closeButtonVisible={closeButtonVisible}
358
+ downloadButtonVisible={downloadButtonVisible}
355
359
  removeGridComponent={removeGridComponent}
356
360
  urls={urls}
357
361
  theme={theme}