@vitessce/statistical-plots 3.8.13 → 3.9.0

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-SxljTded.js";
2
- import { B as BaseDecoder } from "./index-BmYvVUY8.js";
2
+ import { B as BaseDecoder } from "./index-9fVs96zH.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -279,6 +279,7 @@ const CoordinationType$1 = {
279
279
  OBS_SET_HIGHLIGHT: "obsSetHighlight",
280
280
  OBS_SET_EXPANSION: "obsSetExpansion",
281
281
  OBS_SET_COLOR: "obsSetColor",
282
+ FEATURE_COLOR: "featureColor",
282
283
  FEATURE_HIGHLIGHT: "featureHighlight",
283
284
  FEATURE_SELECTION: "featureSelection",
284
285
  FEATURE_SET_SELECTION: "featureSetSelection",
@@ -865,6 +866,8 @@ const COMPONENT_COORDINATION_TYPES = {
865
866
  CoordinationType$1.OBS_SET_FILTER,
866
867
  CoordinationType$1.OBS_SET_HIGHLIGHT,
867
868
  CoordinationType$1.OBS_SET_COLOR,
869
+ CoordinationType$1.FEATURE_COLOR,
870
+ CoordinationType$1.FEATURE_FILTER_MODE,
868
871
  CoordinationType$1.FEATURE_HIGHLIGHT,
869
872
  CoordinationType$1.FEATURE_SELECTION,
870
873
  CoordinationType$1.FEATURE_VALUE_COLORMAP,
@@ -1079,6 +1082,8 @@ const COMPONENT_COORDINATION_TYPES = {
1079
1082
  CoordinationType$1.SPATIAL_SPOT_STROKE_WIDTH,
1080
1083
  CoordinationType$1.SPATIAL_LAYER_COLOR,
1081
1084
  CoordinationType$1.OBS_COLOR_ENCODING,
1085
+ CoordinationType$1.FEATURE_COLOR,
1086
+ CoordinationType$1.FEATURE_FILTER_MODE,
1082
1087
  CoordinationType$1.FEATURE_VALUE_COLORMAP,
1083
1088
  CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
1084
1089
  CoordinationType$1.FEATURE_SELECTION,
@@ -38725,6 +38730,90 @@ ListItemText.propTypes = {
38725
38730
  */
38726
38731
  sx: _pt.oneOfType([_pt.arrayOf(_pt.oneOfType([_pt.func, _pt.object, _pt.bool])), _pt.func, _pt.object])
38727
38732
  };
38733
+ function getListItemIconUtilityClass(slot) {
38734
+ return generateUtilityClass("MuiListItemIcon", slot);
38735
+ }
38736
+ const listItemIconClasses = generateUtilityClasses("MuiListItemIcon", ["root", "alignItemsFlexStart"]);
38737
+ const useUtilityClasses$10 = (ownerState) => {
38738
+ const {
38739
+ alignItems,
38740
+ classes: classes2
38741
+ } = ownerState;
38742
+ const slots = {
38743
+ root: ["root", alignItems === "flex-start" && "alignItemsFlexStart"]
38744
+ };
38745
+ return composeClasses(slots, getListItemIconUtilityClass, classes2);
38746
+ };
38747
+ const ListItemIconRoot = styled("div", {
38748
+ name: "MuiListItemIcon",
38749
+ slot: "Root",
38750
+ overridesResolver: (props, styles2) => {
38751
+ const {
38752
+ ownerState
38753
+ } = props;
38754
+ return [styles2.root, ownerState.alignItems === "flex-start" && styles2.alignItemsFlexStart];
38755
+ }
38756
+ })(memoTheme(({
38757
+ theme
38758
+ }) => ({
38759
+ minWidth: 56,
38760
+ color: (theme.vars || theme).palette.action.active,
38761
+ flexShrink: 0,
38762
+ display: "inline-flex",
38763
+ variants: [{
38764
+ props: {
38765
+ alignItems: "flex-start"
38766
+ },
38767
+ style: {
38768
+ marginTop: 8
38769
+ }
38770
+ }]
38771
+ })));
38772
+ const ListItemIcon = /* @__PURE__ */ React.forwardRef(function ListItemIcon2(inProps, ref2) {
38773
+ const props = useDefaultProps({
38774
+ props: inProps,
38775
+ name: "MuiListItemIcon"
38776
+ });
38777
+ const {
38778
+ className,
38779
+ ...other
38780
+ } = props;
38781
+ const context2 = React.useContext(ListContext);
38782
+ const ownerState = {
38783
+ ...props,
38784
+ alignItems: context2.alignItems
38785
+ };
38786
+ const classes2 = useUtilityClasses$10(ownerState);
38787
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemIconRoot, {
38788
+ className: clsx(classes2.root, className),
38789
+ ownerState,
38790
+ ref: ref2,
38791
+ ...other
38792
+ });
38793
+ });
38794
+ ListItemIcon.propTypes = {
38795
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
38796
+ // │ These PropTypes are generated from the TypeScript type definitions. │
38797
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
38798
+ // └─────────────────────────────────────────────────────────────────────┘
38799
+ /**
38800
+ * The content of the component, normally `Icon`, `SvgIcon`,
38801
+ * or a `@mui/icons-material` SVG icon element.
38802
+ */
38803
+ children: _pt.node,
38804
+ /**
38805
+ * Override or extend the styles applied to the component.
38806
+ */
38807
+ classes: _pt.object,
38808
+ /**
38809
+ * @ignore
38810
+ */
38811
+ className: _pt.string,
38812
+ /**
38813
+ * The system prop that allows defining system overrides as well as additional CSS styles.
38814
+ */
38815
+ sx: _pt.oneOfType([_pt.arrayOf(_pt.oneOfType([_pt.func, _pt.object, _pt.bool])), _pt.func, _pt.object])
38816
+ };
38728
38817
  function getScrollbarSize(win = window) {
38729
38818
  const documentWidth = win.document.documentElement.clientWidth;
38730
38819
  return win.innerWidth - documentWidth;
@@ -38976,7 +39065,7 @@ function getDividerUtilityClass(slot) {
38976
39065
  return generateUtilityClass("MuiDivider", slot);
38977
39066
  }
38978
39067
  const dividerClasses = generateUtilityClasses("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]);
38979
- const useUtilityClasses$10 = (ownerState) => {
39068
+ const useUtilityClasses$$ = (ownerState) => {
38980
39069
  const {
38981
39070
  absolute,
38982
39071
  children: children2,
@@ -39190,7 +39279,7 @@ const Divider$1 = /* @__PURE__ */ React.forwardRef(function Divider2(inProps, re
39190
39279
  textAlign: textAlign2,
39191
39280
  variant
39192
39281
  };
39193
- const classes2 = useUtilityClasses$10(ownerState);
39282
+ const classes2 = useUtilityClasses$$(ownerState);
39194
39283
  return /* @__PURE__ */ jsxRuntimeExports.jsx(DividerRoot, {
39195
39284
  as: component,
39196
39285
  className: clsx(classes2.root, className),
@@ -39272,90 +39361,6 @@ Divider$1.propTypes = {
39272
39361
  */
39273
39362
  variant: _pt.oneOfType([_pt.oneOf(["fullWidth", "inset", "middle"]), _pt.string])
39274
39363
  };
39275
- function getListItemIconUtilityClass(slot) {
39276
- return generateUtilityClass("MuiListItemIcon", slot);
39277
- }
39278
- const listItemIconClasses = generateUtilityClasses("MuiListItemIcon", ["root", "alignItemsFlexStart"]);
39279
- const useUtilityClasses$$ = (ownerState) => {
39280
- const {
39281
- alignItems,
39282
- classes: classes2
39283
- } = ownerState;
39284
- const slots = {
39285
- root: ["root", alignItems === "flex-start" && "alignItemsFlexStart"]
39286
- };
39287
- return composeClasses(slots, getListItemIconUtilityClass, classes2);
39288
- };
39289
- const ListItemIconRoot = styled("div", {
39290
- name: "MuiListItemIcon",
39291
- slot: "Root",
39292
- overridesResolver: (props, styles2) => {
39293
- const {
39294
- ownerState
39295
- } = props;
39296
- return [styles2.root, ownerState.alignItems === "flex-start" && styles2.alignItemsFlexStart];
39297
- }
39298
- })(memoTheme(({
39299
- theme
39300
- }) => ({
39301
- minWidth: 56,
39302
- color: (theme.vars || theme).palette.action.active,
39303
- flexShrink: 0,
39304
- display: "inline-flex",
39305
- variants: [{
39306
- props: {
39307
- alignItems: "flex-start"
39308
- },
39309
- style: {
39310
- marginTop: 8
39311
- }
39312
- }]
39313
- })));
39314
- const ListItemIcon = /* @__PURE__ */ React.forwardRef(function ListItemIcon2(inProps, ref2) {
39315
- const props = useDefaultProps({
39316
- props: inProps,
39317
- name: "MuiListItemIcon"
39318
- });
39319
- const {
39320
- className,
39321
- ...other
39322
- } = props;
39323
- const context2 = React.useContext(ListContext);
39324
- const ownerState = {
39325
- ...props,
39326
- alignItems: context2.alignItems
39327
- };
39328
- const classes2 = useUtilityClasses$$(ownerState);
39329
- return /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemIconRoot, {
39330
- className: clsx(classes2.root, className),
39331
- ownerState,
39332
- ref: ref2,
39333
- ...other
39334
- });
39335
- });
39336
- ListItemIcon.propTypes = {
39337
- // ┌────────────────────────────── Warning ──────────────────────────────┐
39338
- // │ These PropTypes are generated from the TypeScript type definitions. │
39339
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
39340
- // └─────────────────────────────────────────────────────────────────────┘
39341
- /**
39342
- * The content of the component, normally `Icon`, `SvgIcon`,
39343
- * or a `@mui/icons-material` SVG icon element.
39344
- */
39345
- children: _pt.node,
39346
- /**
39347
- * Override or extend the styles applied to the component.
39348
- */
39349
- classes: _pt.object,
39350
- /**
39351
- * @ignore
39352
- */
39353
- className: _pt.string,
39354
- /**
39355
- * The system prop that allows defining system overrides as well as additional CSS styles.
39356
- */
39357
- sx: _pt.oneOfType([_pt.arrayOf(_pt.oneOfType([_pt.func, _pt.object, _pt.bool])), _pt.func, _pt.object])
39358
- };
39359
39364
  function getMenuItemUtilityClass(slot) {
39360
39365
  return generateUtilityClass("MuiMenuItem", slot);
39361
39366
  }
@@ -179150,22 +179155,22 @@ function addDecoder(cases2, importFn) {
179150
179155
  }
179151
179156
  cases2.forEach((c2) => registry$1.set(c2, importFn));
179152
179157
  }
179153
- addDecoder([void 0, 1], () => import("./raw-B56udEa5.js").then((m2) => m2.default));
179154
- addDecoder(5, () => import("./lzw-ahoob13H.js").then((m2) => m2.default));
179158
+ addDecoder([void 0, 1], () => import("./raw-BY6qb5oD.js").then((m2) => m2.default));
179159
+ addDecoder(5, () => import("./lzw-D4ly43Bg.js").then((m2) => m2.default));
179155
179160
  addDecoder(6, () => {
179156
179161
  throw new Error("old style JPEG compression is not supported.");
179157
179162
  });
179158
- addDecoder(7, () => import("./jpeg-CnRvmB8H.js").then((m2) => m2.default));
179159
- addDecoder([8, 32946], () => import("./deflate-BuiHI4Et.js").then((m2) => m2.default));
179160
- addDecoder(32773, () => import("./packbits-Ckd3nQz8.js").then((m2) => m2.default));
179163
+ addDecoder(7, () => import("./jpeg-Wvr1Cm-A.js").then((m2) => m2.default));
179164
+ addDecoder([8, 32946], () => import("./deflate-Bj5O1nfg.js").then((m2) => m2.default));
179165
+ addDecoder(32773, () => import("./packbits-2vnLiyhJ.js").then((m2) => m2.default));
179161
179166
  addDecoder(
179162
179167
  34887,
179163
- () => import("./lerc-DdM66WTL.js").then(async (m2) => {
179168
+ () => import("./lerc-bi6D1HS5.js").then(async (m2) => {
179164
179169
  await m2.zstd.init();
179165
179170
  return m2;
179166
179171
  }).then((m2) => m2.default)
179167
179172
  );
179168
- addDecoder(50001, () => import("./webimage-CKIhq6Gi.js").then((m2) => m2.default));
179173
+ addDecoder(50001, () => import("./webimage-0VOGQ7_T.js").then((m2) => m2.default));
179169
179174
  function decodeRowAcc(row, stride) {
179170
179175
  let length2 = row.length - stride;
179171
179176
  let offset2 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b, f, C, e, a, i, D, h, E, F, c, d, T, V } from "./index-BmYvVUY8.js";
1
+ import { b, f, C, e, a, i, D, h, E, F, c, d, T, V } from "./index-9fVs96zH.js";
2
2
  export {
3
3
  b as CellSetCompositionBarPlotSubscriber,
4
4
  f as CellSetExpressionPlot,
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BmYvVUY8.js";
1
+ import { B as BaseDecoder } from "./index-9fVs96zH.js";
2
2
  const dctZigZag = new Int32Array([
3
3
  0,
4
4
  1,
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-BmYvVUY8.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-9fVs96zH.js";
3
3
  const LercParameters = {
4
4
  AddCompression: 1
5
5
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BmYvVUY8.js";
1
+ import { B as BaseDecoder } from "./index-9fVs96zH.js";
2
2
  const MIN_BITS = 9;
3
3
  const CLEAR_CODE = 256;
4
4
  const EOI_CODE = 257;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BmYvVUY8.js";
1
+ import { B as BaseDecoder } from "./index-9fVs96zH.js";
2
2
  class PackbitsDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  const dataView = new DataView(buffer);
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BmYvVUY8.js";
1
+ import { B as BaseDecoder } from "./index-9fVs96zH.js";
2
2
  class RawDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  return buffer;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BmYvVUY8.js";
1
+ import { B as BaseDecoder } from "./index-9fVs96zH.js";
2
2
  class WebImageDecoder extends BaseDecoder {
3
3
  constructor() {
4
4
  super();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/statistical-plots",
3
- "version": "3.8.13",
3
+ "version": "3.9.0",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -28,13 +28,13 @@
28
28
  "react-aria": "^3.28.0",
29
29
  "internmap": "^2.0.3",
30
30
  "uuid": "^9.0.0",
31
- "@vitessce/styles": "3.8.13",
32
- "@vitessce/constants-internal": "3.8.13",
33
- "@vitessce/utils": "3.8.13",
34
- "@vitessce/sets-utils": "3.8.13",
35
- "@vitessce/vega": "3.8.13",
36
- "@vitessce/vit-s": "3.8.13",
37
- "@vitessce/gl": "3.8.13"
31
+ "@vitessce/styles": "3.9.0",
32
+ "@vitessce/sets-utils": "3.9.0",
33
+ "@vitessce/constants-internal": "3.9.0",
34
+ "@vitessce/utils": "3.9.0",
35
+ "@vitessce/vega": "3.9.0",
36
+ "@vitessce/vit-s": "3.9.0",
37
+ "@vitessce/gl": "3.9.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "react": "18.3.1",